mesa/i965: Refactor brw_is_front_buffer_{drawing,reading} to common code
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 17 Sep 2015 14:26:45 +0000 (10:26 -0400)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Oct 2015 18:36:37 +0000 (11:36 -0700)
commitea8b77e892cdf6aa4cdd8a9ff312c422b3509ae7
treed476e36db757f6deb485fc560d63dceb689472da
parent5c4ef9f1d2ae6a1824119aa246eaea727e294e3a
mesa/i965: Refactor brw_is_front_buffer_{drawing,reading} to common code

There are multiple similar implementations of these functions, and a
later patch was going to add another.

v2: Move removing intel_framebuffer to a different patch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/intel_buffers.c
src/mesa/drivers/dri/i965/intel_buffers.h
src/mesa/main/framebuffer.c
src/mesa/main/framebuffer.h