summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2017-04-06 08:23:28 +0200
committerKenneth Graunke <[email protected]>2017-04-10 14:33:14 -0700
commit6308121475d4718c9c543d1f7a95d832ff55c2d7 (patch)
treec9afebaa4bf27259ae871a6dae7645efe587460c /src/mesa/drivers
parent538fa87f40709f2cafb561056ea3ca5c46f8c85e (diff)
i965/bufmgr: Delete alloc_for_render
Entirely unused, mesa instead used the BO_ALLOC_FOR_RENDER flag. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_bufmgr.c9
-rw-r--r--src/mesa/drivers/dri/i965/brw_bufmgr.h10
2 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.c b/src/mesa/drivers/dri/i965/brw_bufmgr.c
index b12cd3acfc3..01cccf6ffd9 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.c
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c
@@ -376,15 +376,6 @@ err:
}
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)
{
diff --git a/src/mesa/drivers/dri/i965/brw_bufmgr.h b/src/mesa/drivers/dri/i965/brw_bufmgr.h
index 974f7d9e20c..fb1059c1732 100644
--- a/src/mesa/drivers/dri/i965/brw_bufmgr.h
+++ b/src/mesa/drivers/dri/i965/brw_bufmgr.h
@@ -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.