summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_framebuffer.c
AgeCommit message (Collapse)Author
2007-12-20gallium: make state tracker explictly ask for rendercache flushesKeith Whitwell
2007-12-19Fix problem with initial viewport/scissor size.Brian
If an app never called glViewport, the viewport size was always 0 by 0 pixels. Now pass initial size to st_create_framebuffer() and initialize the viewport and scissor bounds in st_make_current(). This could also be fixed by ensuring the gl_framebuffers passed to _mesa_make_current() were initialized to the right size. But that involves allocating the renderbuffers/pipe_surfaces earlier and that runs into some other issues ATM. Also remove obsolete createRenderbuffers param to st_create_framebuffer().
2007-12-12Re-org of st_create_framebuffer() and renderbuffer format selection.Brian
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.
2007-12-10Add 'type' parameter to is_format_supported() to specify texture vs. drawing ↵Brian
surface, etc. Additional types may be added in the future.
2007-12-07added ST_SURFACE_DEPTHBrian
2007-11-07New PIPE_FLUSH_WAIT flag for pipe->flush().Brian
The state tracker doesn't have to directly call winsys->wait_idle() anymore. glFlush and glFinish both go through pipe->flush() now.
2007-11-06Improved logic for setting up depth/stencil buffers in st_create_framebuffer()Brian
2007-11-06Handle the corner case of 24bit depth buffer with 0bit stencil buffer.José Fonseca
2007-11-05don't include mtypes.h in st_public.hBrian
2007-11-05Update xlib driver to use newer state tracker context/framebuffer functions.Brian
XMesaContext has an st_context * which contains a mesa context.
2007-11-05added st_notify_swapbuffers()Brian
2007-11-05added st_get_framebuffer_surface() and ST_SURFACE_x tokensBrian
2007-11-05added st_unreference_framebuffer()Brian
2007-11-05set stfb->Base.InitializedBrian
2007-11-05added st_resize_framebuffer()Brian
2007-11-05st_create_framebuffer() workingBrian
2007-11-05new file for st_framebuffer stuffBrian