diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-03-30 01:54:54 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-03-30 01:54:54 -0400 |
commit | c3c2ae466cfa1d4e079f6f0396e8f0f68ecb84b8 (patch) | |
tree | a1417fd4328176658d4baf1e54510de7e2bc06f8 /libdrm/intel/intel_bufmgr_priv.h | |
parent | 48b5f095340e3d1b747fbececbab07e992ab344f (diff) | |
parent | e2d7dfb61ad7a97367f050150160c205614d152e (diff) |
Merge branch 'master' into r6xx-r7xx-support
Diffstat (limited to 'libdrm/intel/intel_bufmgr_priv.h')
-rw-r--r-- | libdrm/intel/intel_bufmgr_priv.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libdrm/intel/intel_bufmgr_priv.h b/libdrm/intel/intel_bufmgr_priv.h index 76d31e47..82d87b4c 100644 --- a/libdrm/intel/intel_bufmgr_priv.h +++ b/libdrm/intel/intel_bufmgr_priv.h @@ -51,6 +51,16 @@ struct _drm_intel_bufmgr { drm_intel_bo *(*bo_alloc)(drm_intel_bufmgr *bufmgr, const char *name, unsigned long size, unsigned int alignment); + /** + * Allocate a buffer object, hinting that it will be used as a render target. + * + * This is otherwise the same as bo_alloc. + */ + drm_intel_bo *(*bo_alloc_for_render)(drm_intel_bufmgr *bufmgr, + const char *name, + unsigned long size, + unsigned int alignment); + /** Takes a reference on a buffer object */ void (*bo_reference)(drm_intel_bo *bo); |