Entirely unused, mesa instead used the BO_ALLOC_FOR_RENDER flag.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
return NULL;
}
-struct brw_bo *
-brw_bo_alloc_for_render(struct brw_bufmgr *bufmgr,
- const char *name,
- unsigned long size, unsigned int alignment)
-{
- return bo_alloc_internal(bufmgr, name, size, BO_ALLOC_FOR_RENDER,
- I915_TILING_NONE, 0, alignment);
-}
-
struct brw_bo *
brw_bo_alloc(struct brw_bufmgr *bufmgr,
const char *name, unsigned long size, unsigned int alignment)
*/
struct brw_bo *brw_bo_alloc(struct brw_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.
- */
-struct brw_bo *brw_bo_alloc_for_render(struct brw_bufmgr *bufmgr,
- const char *name,
- unsigned long size,
- unsigned int alignment);
/**
* Allocate a tiled buffer object.