diff options
author | Eric Anholt <eric@anholt.net> | 2008-06-03 09:27:37 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-06-03 14:44:53 -0700 |
commit | 6a9eb08a872ac0388aad2c901888888964f14559 (patch) | |
tree | 3235568afb683bb4741e1565f5f5052294762d5f /libdrm/intel/intel_bufmgr_gem.h | |
parent | 867c2bb461e4bf7765fdbf502f625b739ceecb96 (diff) |
Import bufmgr code to libdrm. Not yet hooked up to the build.
Diffstat (limited to 'libdrm/intel/intel_bufmgr_gem.h')
-rw-r--r-- | libdrm/intel/intel_bufmgr_gem.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libdrm/intel/intel_bufmgr_gem.h b/libdrm/intel/intel_bufmgr_gem.h new file mode 100644 index 00000000..36caeba2 --- /dev/null +++ b/libdrm/intel/intel_bufmgr_gem.h @@ -0,0 +1,16 @@ + +#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_bufmgr *intel_bufmgr_gem_init(int fd, int batch_size); + +void +intel_gem_enable_bo_reuse(dri_bufmgr *bufmgr); + +#endif /* INTEL_BUFMGR_GEM_H */ |