diff options
author | Eric Anholt <eric@anholt.net> | 2008-05-02 11:52:52 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-05-02 12:58:25 -0700 |
commit | 89bba44e969f15bf20da6d700c493237b095a588 (patch) | |
tree | 8660dc28a50401231119ed49ee997ccea98b92de /src/mesa/drivers/dri/intel/intel_bufmgr_gem.h | |
parent | 3323ccb803282dddcf1e403df33d00eaa0fbd0f8 (diff) |
Add intel_bufmgr_gem for new graphics execution manager.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_bufmgr_gem.h')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_bufmgr_gem.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_gem.h b/src/mesa/drivers/dri/intel/intel_bufmgr_gem.h new file mode 100644 index 0000000000..a28f5ae814 --- /dev/null +++ b/src/mesa/drivers/dri/intel/intel_bufmgr_gem.h @@ -0,0 +1,19 @@ + +#ifndef INTEL_BUFMGR_GEM_H +#define INTEL_BUFMGR_GEM_H + +#include "dri_bufmgr.h" + +extern dri_bo *intel_gem_bo_create_from_handle(dri_bufmgr *bufmgr, const char *name, + unsigned int handle); + +dri_fence *intel_gem_fence_create_from_arg(dri_bufmgr *bufmgr, const char *name, + drm_fence_arg_t *arg); + + +dri_bufmgr *intel_bufmgr_gem_init(int fd, int batch_size); + +void +intel_gem_enable_bo_reuse(dri_bufmgr *bufmgr); + +#endif /* INTEL_BUFMGR_GEM_H */ |