i965/bufmgr: s/BO_ALLOC_FOR_RENDER/BO_ALLOC_BUSY/
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 19 Aug 2017 22:03:39 +0000 (15:03 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 21 Aug 2017 03:14:49 +0000 (20:14 -0700)
commitc366943ebffefc4a8acb3fdd08dd45934098595b
tree781147350375d95a26c1beac02d47c4480fd11c3
parentcadcd89278edcda8aba28a38da2ea6690207b38b
i965/bufmgr: s/BO_ALLOC_FOR_RENDER/BO_ALLOC_BUSY/

"Alloc for render" is a terrible name for a flag because it means
basically nothing.  What the flag really does is allocate a busy BO
which someone theorized at one point in time would be more efficient if
you're planning to immediately render to it.  If the flag really means
"alloc a busy BO" we should just call it that.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_bufmgr.c
src/mesa/drivers/dri/i965/brw_bufmgr.h
src/mesa/drivers/dri/i965/intel_mipmap_tree.c
src/mesa/drivers/dri/i965/intel_screen.c