diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-06 08:23:28 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-04-06 08:23:28 +0200 |
commit | 33ff3e6ab288b40a7fd1a56a3f97a4b234e7c3b0 (patch) | |
tree | 82f9d9cf18ade6d88606f387d60c293dca2a97df | |
parent | b9f6109ab2ce745a3ae59e324722912f7ae2f2e7 (diff) |
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>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.c | 9 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_bufmgr.h | 10 |
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 81d3743caa..587f2642cb 100644 --- a/src/mesa/drivers/dri/i965/brw_bufmgr.c +++ b/src/mesa/drivers/dri/i965/brw_bufmgr.c @@ -379,15 +379,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 974f7d9e20..fb1059c173 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. |