diff options
author | Eric Anholt <eric@anholt.net> | 2007-08-16 14:32:53 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-08-16 14:38:33 -0700 |
commit | 3e168a0ec840af65863e197f4a884aae905b213e (patch) | |
tree | 5d838ff3e80734ff90de6583809a0f0f66d9d8aa /src/mesa/drivers/dri/common/dri_bufmgr.h | |
parent | b6ad5e7de8dc84ee42eeeb62d2112f096413b335 (diff) |
Convert TTM code to require the server provide buffers for front/back/depth.
This removes the use of fake buffers from the driver, such that it could
probably be removed from the interface. It also should assist in proper
synchronization of access.
Diffstat (limited to 'src/mesa/drivers/dri/common/dri_bufmgr.h')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.h b/src/mesa/drivers/dri/common/dri_bufmgr.h index 0f8e27923b..3be342926f 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr.h +++ b/src/mesa/drivers/dri/common/dri_bufmgr.h @@ -192,5 +192,7 @@ dri_bufmgr *dri_bufmgr_fake_init(unsigned long low_offset, void *low_virtual, unsigned int cookie), void *driver_priv); void dri_bufmgr_destroy(dri_bufmgr *bufmgr); +dri_bo *dri_ttm_bo_create_from_handle(dri_bufmgr *bufmgr, const char *name, + unsigned int handle); #endif |