intel: update intel_create_renderbuffer(format), add XRGB support
authorBrian Paul <brianp@vmware.com>
Fri, 30 Oct 2009 01:12:50 +0000 (19:12 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Oct 2009 01:12:50 +0000 (19:12 -0600)
commit4a253431abf43a0638afb43605b44a8742b72a60
treebecebaeac66a2b5d5e0932254f712046ff862edd
parentf920d496e1b5b01a3ba9bcd7dcff5c19bc109da2
intel: update intel_create_renderbuffer(format), add XRGB support

Pass a gl_format to intel_create_renderbuffer() instead of GLenum.
Add cases for MESA_FORMAT_XRGB8888 textures and renderbuffers.
However, we don't yet create any renderbuffers or textures with that
format.  It seems the default alpha value is zero instead of one.
Need to investigate that first.
12 files changed:
src/mesa/drivers/dri/i915/i830_texstate.c
src/mesa/drivers/dri/i915/i830_vtbl.c
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i915/i915_vtbl.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_fbo.h
src/mesa/drivers/dri/intel/intel_pixel_draw.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/drivers/dri/intel/intel_tex_format.c