summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_atom_framebuffer.c
AgeCommit message (Collapse)Author
2008-05-02Some changed for non-C99 compilersAlan Hourihane
2008-04-14gallium: fix multi drawbuffer fb stateBrian
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-03-20gallium: assign framebuffer width, heightBrian
2008-03-19gallium: need to set/save framebuffer state in st_context since we use it ↵Brian Paul
elsewhere
2008-03-19gallium: implement CSO save/restore functions for use by meta operations ↵Brian
(blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
2008-01-23gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian
now.
2007-10-30Set _NEW_BUFFERS in glRead/DrawBuffer().Brian
Previously, we set _NEW_PIXEL and _NEW_COLOR in these functions, respectively. That correponds to the GL attribute groups, but doesn't make much sense otherwise. This could improve validation efficiency in a few places too. It looks like all the drivers are already checking for _NEW_BUFFERS in the right places (since that's the bit for FBO state) so we can trim out _NEW_PIXEL and _NEW_COLOR at any time.
2007-10-20renderbuffer tweaks in update_framebuffer_state()Brian
2007-10-17Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)Brian
2007-09-19Fix window resizes.Michel Dänzer
The memcmp is insufficient for eliminating redundant framebuffer state changes.
2007-08-25add names to tracked state atoms to improve debugkeithw
2007-08-09Checkpoint intel_renderbuffer removal.Brian
Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
2007-07-31fix assertionsBrian
2007-07-30remove some obsolete xmesa remnantsBrian
2007-07-30Lots of improvements to the surface-related code.Brian
Z testing now works with i915 driver. Add gl_renderbuffer::surface pointer (and reverse pointer). Remove intel_surface and xmesa_surface types - no longer used.
2007-06-25code for functional Z buffer surfaceBrian
2007-06-20checkpoint: implement z/depth testingBrian
2007-06-19Re-org of surface/framebuffer state.Brian
We should be able to render to any depth/format of X window now.
2007-06-15framebuffer stateBrian