intel: Make more consistent use of _mesa_is_{user,winsys}_fbo()
authorPaul Berry <stereotype441@gmail.com>
Wed, 18 Jul 2012 19:54:48 +0000 (12:54 -0700)
committerPaul Berry <stereotype441@gmail.com>
Thu, 26 Jul 2012 17:48:36 +0000 (10:48 -0700)
commitc738ea1191cd1b5a0dc60b0e6d05fd918083e961
treef91987757f43432ec049683086e424ffc0ff4ec1
parent284ad9c3b29a6d6f0bade050ea9e949d67967983
intel: Make more consistent use of _mesa_is_{user,winsys}_fbo()

A lot of code was still differentiating between between winsys and
user fbos by testing the fbo's name against zero.  This converts
everything in the i915 and 965 drivers over to use _mesa_is_user_fbo()
and _mesa_is_winsys_fbo().

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/intel_tris.c
src/mesa/drivers/dri/i965/brw_blorp_blit.cpp
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_buffers.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_pixel_bitmap.c
src/mesa/drivers/dri/intel/intel_pixel_copy.c
src/mesa/drivers/dri/intel/intel_tex_copy.c