aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_framebuffer.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/gallium-0.1' into gallium-0.2Brian Paul2008-11-051-5/+5
|\ | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/rtasm/rtasm_execmem.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_log.c src/mesa/state_tracker/st_atom_framebuffer.c
| * gallium: add some checks for null surface pointers in state trackerBrian Paul2008-10-181-4/+4
| | | | | | | | Fixes some segfaults in low memory situations.
* | gallium: cleanup the after merge framebuffer update codeZack Rusin2008-09-211-10/+1
| | | | | | | | adjust it and make it behave like it used to
* | gallium: fix a fbo crashZack Rusin2008-09-211-1/+3
| | | | | | | | don't dirty the fb if we're rebining the frontbuffer
* | st: hash-warning not recognised on Windows.Michal Krol2008-09-161-0/+2
| |
* | st: adapt to new framebuffer struct, with one FIXME outstandingKeith Whitwell2008-09-111-13/+16
|/
* st: Silence compiler warnings on Windows.Michal Krol2008-07-151-1/+1
|
* gallium: fix render to depth textureBrian Paul2008-05-081-0/+5
|
* gallium: fix some render to texture bugsBrian Paul2008-05-071-2/+58
| | | | | | | | | | | | | | | Before, we were sometimes rendering into a stale texture because st_finalize_texture() would discard the old texture and create a new one. Moved st_update_framebuffer atom after texture validation so that we can create a new renderbuffer surface if the texture changes. Also, split texture validation into two parts: finalize_textures and update_textures. Do finalize_textures first to avoid getting into the situtation where we're doing a pipe->surface_copy() mid-way through state validation. Some debug code still in place, but disabled...
* Some changed for non-C99 compilersAlan Hourihane2008-05-021-5/+5
|
* gallium: fix multi drawbuffer fb stateBrian2008-04-141-6/+9
|
* gallium: more elaborate tracking of front color buffer stateBrian Paul2008-04-091-0/+8
| | | | | | | 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.
* gallium: assign framebuffer width, heightBrian2008-03-201-0/+3
|
* gallium: need to set/save framebuffer state in st_context since we use it ↵Brian Paul2008-03-191-8/+8
| | | | elsewhere
* gallium: implement CSO save/restore functions for use by meta operations ↵Brian2008-03-191-7/+2
| | | | | | | (blit, gen-mipmaps, quad-clear, etc) Also, additional cso_set_*() functions for viewport, framebuffer, blend color, etc. state.
* gallium: remove support for separate depth/stencil buffers. Always combined ↵Brian2008-01-231-7/+8
| | | | now.
* Set _NEW_BUFFERS in glRead/DrawBuffer().Brian2007-10-301-5/+1
| | | | | | | | | 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.
* renderbuffer tweaks in update_framebuffer_state()Brian2007-10-201-4/+5
|
* Update framebuffer state in response to _NEW_COLOR (set by glDrawBuffer)Brian2007-10-171-1/+5
|
* Fix window resizes.Michel Dänzer2007-09-191-1/+4
| | | | The memcmp is insufficient for eliminating redundant framebuffer state changes.
* add names to tracked state atoms to improve debugkeithw2007-08-251-0/+1
|
* Checkpoint intel_renderbuffer removal.Brian2007-08-091-12/+15
| | | | | | Remove surface ptr from gl_renderbuffer. Use st_renderbuffer in most places. More clean-up.
* fix assertionsBrian2007-07-311-2/+2
|
* remove some obsolete xmesa remnantsBrian2007-07-301-10/+0
|
* Lots of improvements to the surface-related code.Brian2007-07-301-5/+14
| | | | | | 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.
* code for functional Z buffer surfaceBrian2007-06-251-5/+5
|
* checkpoint: implement z/depth testingBrian2007-06-201-0/+14
|
* Re-org of surface/framebuffer state.Brian2007-06-191-5/+2
| | | | We should be able to render to any depth/format of X window now.
* framebuffer stateBrian2007-06-151-0/+78