i965/bufmgr: Delete alloc_for_render
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>
This commit is contained in:
committed by
Kenneth Graunke
parent
538fa87f40
commit
6308121475
@@ -375,15 +375,6 @@ err:
|
||||
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)
|
||||
|
||||
@@ -141,16 +141,6 @@ struct brw_bo {
|
||||
*/
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user