mesa: Factor out the fb initialization details from _mesa_new_framebuffer.
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 3 Feb 2010 11:21:04 +0000 (03:21 -0800)
committerBrian Paul <brianp@vmware.com>
Wed, 3 Feb 2010 15:30:09 +0000 (08:30 -0700)
commit2ec50d256d49ff3b987459ed42a5dc66f02a6b9d
tree6793b5d2593136120e5ee8716aaf20e52663f372
parent64da2aeebc04a98c999e4dac9290999d03c1e3d5
mesa: Factor out the fb initialization details from _mesa_new_framebuffer.

This should make things easier for drivers wanting to work with a
"subclass" of gl_framebuffer.

The complementary "_mesa_initialize_framebuffer" function is now
called "_mesa_initialize_window_framebuffer" for the sake of
symmetry.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/directfb/idirectfbgl_mesa.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/radeon/radeon_screen.c
src/mesa/drivers/dri/swrast/swrast.c
src/mesa/drivers/fbdev/glfbdev.c
src/mesa/drivers/windows/gdi/wmesa.c
src/mesa/drivers/x11/xm_api.c
src/mesa/main/framebuffer.c
src/mesa/main/framebuffer.h
src/mesa/state_tracker/st_framebuffer.c