Re-org of st_create_framebuffer() and renderbuffer format selection.
authorBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 21:55:57 +0000 (14:55 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Wed, 12 Dec 2007 21:55:57 +0000 (14:55 -0700)
commit20eae595faa20dba8a59d8a4bfd01aa6b458cecd
tree3b34a809024e6a3447d94525d7eeef25c6d7f014
parenta51d0e419a285c5445061a38fdaf3aca02ad2c3c
Re-org of st_create_framebuffer() and renderbuffer format selection.

st_create_framebuffer() now takes pipe_formats for the color, depth, stencil
buffers.
This avoids a round-about chain of calls to pipe->is_format_supported() for
window renderbuffers (their format never changes).
Renderbuffer format selection code in st_format.c is simpler now too.
src/mesa/drivers/dri/intel_winsys/intel_screen.c
src/mesa/pipe/softpipe/sp_surface.c
src/mesa/pipe/xlib/xm_api.c
src/mesa/state_tracker/st_cb_fbo.c
src/mesa/state_tracker/st_cb_fbo.h
src/mesa/state_tracker/st_format.c
src/mesa/state_tracker/st_format.h
src/mesa/state_tracker/st_framebuffer.c
src/mesa/state_tracker/st_public.h