summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_framebuffer.c
AgeCommit message (Collapse)Author
2008-09-26st: add prototype for st_get_framebuffer_dimensions()Alan Hourihane
2008-09-26st: export st_get_framebuffer_dimensions() to retrieveAlan Hourihane
the width & height of the fb
2008-09-26st: change from ** to * for st_unreference_framebuffer()Alan Hourihane
2008-09-17gallium: clean-up/fix msaa override in state trackerBrian Paul
2008-08-28gallium: change the conditional which tests for combined Z+stencil buffersBrian Paul
The caller might be requesting 16-bit Z + 8-bit stencil be placed in a PIPE_FORMAT_S8Z24 or PIPE_FORMAT_Z24S8 buffer.
2008-08-15mesa: Issue PIPE_FLUSH_FRAME in glSwapBuffers/glFlush/glFinish.José Fonseca
2008-07-22add env var to override msaa visual selectionRoland Scheidegger
2008-06-27gallium: handle msaaRoland Scheidegger
2008-06-23gallium: Add accessor functions to get textures from a st_framebufferJakob Bornecrantz
2008-06-18gallium: added new st_set_framebuffer_surface()Brian Paul
This allows the winsys to explicitly specify gallium surfaces for a framebuffer object.
2008-06-09gallium: include scissor.hBrian Paul
2008-04-09gallium: more elaborate tracking of front color buffer stateBrian Paul
This fixes the case where the app calls SwapBuffers then calls glReadPixels to read the front color buffer. We now keep track of when the front buffer is a _logically_ copy of the back buffer (after SwapBuffers) and read from the back color buffer instead of the front.
2008-04-07gallium: accum buffer fixesBrian Paul
If the driver can't create a PIPE_FORMAT_R16G16B16A16_SNORM surface, create an accum surface using a shallower format and taller height. Since only the accum buffer code accesses the surface the actual format doesn't really matter, just that there's enough memory.
2008-03-26gallium: Change pipe->flush() interface to optionally return a fence.Michel Dänzer
The cell driver still uses an internal CELL_FLUSH_WAIT flag, in the long run proper fencing should be implemented for it.
2008-02-26gallium: #includes to silence warningsBrian
2008-02-26gallium: fix zero-sized viewport bugBrian
If st_create_framebuffer() is called with width=0, height=0 and the program never called glViewport, the viewport wasn't properly initalized. This fixes that.
2008-01-26gallium: add notify_swapbuffers_complete, use it to set surfaces to ↵Keith Whitwell
undefined state
2008-01-26gallium: specialize glFlush vs other flush semanticsKeith Whitwell
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