i965: Expose and refactor brw_update_renderbuffer_surfaces()
authorTopi Pohjolainen <topi.pohjolainen@intel.com>
Thu, 19 Mar 2015 09:09:54 +0000 (11:09 +0200)
committerTopi Pohjolainen <topi.pohjolainen@intel.com>
Wed, 29 Apr 2015 21:28:47 +0000 (00:28 +0300)
commitc15e20d8f6f6d632ad55d444149c2a12d0dcc515
treebb434bddcb72b6d1ee9d02fdd67d630152bf08e5
parentc8b0d890c0b7e6aa5ed326b94ac30dcb7278e7ea
i965: Expose and refactor brw_update_renderbuffer_surfaces()

Note that brw_update_renderbuffer_surfaces() already had a helper
variable which was used in parallel to direct access of the current
draw buffer of the context.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c