aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_depth.c
Commit message (Collapse)AuthorAgeFilesLines
* gallium: only enable depth test if a depth bufffer is availableBrian Paul2009-03-021-3/+5
|
* gallium: fix state tracker's stencil buffer testBrian Paul2009-02-271-1/+1
| | | | | | | | Need to check ctx->DrawBuffer->Visual.stencilBits not ctx->Visual.stencilBits because the later only applies to the window system buffers, not user-created FBOs. This, plus the previous commit, fixes progs/tests/fbotexture.c
* mesa: support GL_EXT_stencil_two_side in gallium/mesa state trackerBrian Paul2009-02-191-25/+27
| | | | | | | | Since Ian's patch of a few weeks ago, we can enable all three variations of two-sided stencil. Update the state tracker to handle the extra back- face state and turn on the EXT. Note: there's a new Glean test for two-sided stencil now...
* gallium: it's a reference value, not a reference numberZack Rusin2009-01-271-1/+1
|
* gallium: standardize naming of masksZack Rusin2009-01-271-4/+4
|
* Some changed for non-C99 compilersAlan Hourihane2008-05-021-5/+5
|
* gallium: fix two-side stencil handlingRoland Scheidegger2008-04-041-1/+2
| | | | | | | | | | | Previously all drivers were in twosided mode since they checked for stencil.enable[1] flag which was a copy of stencil.enable[0]. Note that drivers should not reference stencil[1] state (other than the enable) if twosided stenciling is disabled (for now the stencil state is still copied but for instance clear_with_quads won't provide useful values in there). Also, use _TestTwoSide instead of TestTwoSide since results would be bogus otherwise if using APIs with implicit two side stencil enable (i.e. core ogl 2.0).
* gallium: don't enable stencil test if no stencil buffer.Brian Paul2008-03-241-1/+4
| | | | Also, if not doing two-sided stencil, set back-face state = front-face state.
* gallium: rework CSO-related code in state trackerBrian2008-03-111-33/+27
| | | | | | | | | | Use the code in cso_context.c rather than st_cache.c. Basically, binding of state objects now goes through the CSO module. But Vertex/fragment shaders go through pipe->bind_fs/vs_state() since they're not cached by the CSO module at this time. Also, update softpipe driver to handle NULL state objects in various places. This happens during context destruction. May need to update other drivers...
* gallium: incorporate alpha state into depth_stencil state object.Keith Whitwell2007-12-171-24/+31
|
* gallium: remove clear values from depth, stencil stateKeith Whitwell2007-12-111-2/+0
|
* Replace gl_stencil_func_to_sp() and gl_depth_func_to_sp() with ↵Brian2007-11-081-35/+14
| | | | st_compare_func_to_pipe()
* Convert depth_stencil state to the new semantics.Zack Rusin2007-09-201-5/+5
|
* Combing depth and stencil objects and making them immutable.Zack Rusin2007-09-181-16/+92
| | | | | Converting depth and stencil objects into a single state object (d3d10 like) and making it immutable.
* add names to tracked state atoms to improve debugkeithw2007-08-251-0/+1
|
* Added basic occlusion countingBrian2007-07-131-0/+4
|
* Define just one set of PIPE_FUNC_LESS, GREATER, EQUAL, etc tokens.Brian2007-06-181-8/+8
| | | | Used for depth test, alpha test, stencil test, shadow test, etc.
* Rename directories again?!Keith Whitwell2007-06-141-13/+13
| | | | Some git wierdness going on.
* Renamed softpipe directories and files to something less confusing.Keith Whitwell2007-06-141-0/+88
softpipe/state_tracker --> state_tracker/ softpipe/ --> pipe/ softpipe/generic --> pipe/softpipe/ I don't think pipe is a great name, but I disliked all the others too. Luckily it's fairly easy to rename with git, so this can be revisited later.