diff options
author | Eric Anholt <[email protected]> | 2008-01-24 13:00:13 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2008-01-24 13:00:13 -0800 |
commit | f0310f76363712dcd6c5b89373330aef50b07efb (patch) | |
tree | 1986eb920ffb1df1c586c46db32c4335d7af46ca /src/mesa/drivers/dri/common | |
parent | 5f0d76204df30de7af9608cf21ddc3cf50eff7b1 (diff) |
Bufmgr cleanup from intel-batchbuffer branch of 2d driver.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr.c | 3 | ||||
-rw-r--r-- | src/mesa/drivers/dri/common/dri_bufmgr.h | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.c b/src/mesa/drivers/dri/common/dri_bufmgr.c index 18b12c63f72..8413a51577c 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr.c +++ b/src/mesa/drivers/dri/common/dri_bufmgr.c @@ -25,6 +25,9 @@ * */ +#include <string.h> +#include <stdlib.h> +#include <assert.h> #include "mtypes.h" #include "dri_bufmgr.h" diff --git a/src/mesa/drivers/dri/common/dri_bufmgr.h b/src/mesa/drivers/dri/common/dri_bufmgr.h index 36340d4d57d..08cf8ca3e15 100644 --- a/src/mesa/drivers/dri/common/dri_bufmgr.h +++ b/src/mesa/drivers/dri/common/dri_bufmgr.h @@ -197,9 +197,6 @@ void dri_bo_subdata(dri_bo *bo, unsigned long offset, void dri_bo_get_subdata(dri_bo *bo, unsigned long offset, unsigned long size, void *data); -dri_bufmgr *dri_bufmgr_ttm_init(int fd, unsigned int fence_type, - unsigned int fence_type_flush); - void dri_bufmgr_fake_contended_lock_take(dri_bufmgr *bufmgr); dri_bufmgr *dri_bufmgr_fake_init(unsigned long low_offset, void *low_virtual, unsigned long size, @@ -213,8 +210,6 @@ void dri_bo_fake_disable_backing_store(dri_bo *bo, void *ptr), void *ptr); void dri_bufmgr_destroy(dri_bufmgr *bufmgr); -dri_bo *dri_ttm_bo_create_from_handle(dri_bufmgr *bufmgr, const char *name, - unsigned int handle); void dri_emit_reloc(dri_bo *reloc_buf, uint64_t flags, GLuint delta, GLuint offset, dri_bo *target_buf); |