History log of /external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f612e55e45402c14b2099238e8d41e911932fd26 28-Jul-2012 Brian Paul <brianp@vmware.com> st/mesa: undo a couple static asserts

Hmm, gcc didn't catch these mistakes, but MSVC did.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
322a2938f320f8a39cb6d86f249a339625a8772a 27-Jul-2012 Brian Paul <brianp@vmware.com> st/mesa: use STATIC_ASSERT in a few places
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
47e3896dfd89a26abbe4ca2469c2480f3982b204 16-Feb-2011 Luca Barbieri <luca@luca-barbieri.com> gallium: implement clamping controls (ARB_color_buffer_float)

BTW this changes the gallium interface.
Some rather cosmetic changes by Marek.

Squashed commit of the following:

commit 513b37d484f0318311e84bb86ed4c93cdff71f13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:54 2010 +0200

mesa/st: respect fragment clamping in st_DrawPixels

commit 546a31e42cad459d7a7a10ebf77fc5ffcf89e9b8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:17:28 2010 +0200

mesa/st: support fragment and vertex color clamping

commit c406514a1fbee6891da4cf9ac3eebe4e4407ec13
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Tue Aug 24 21:56:37 2010 +0200

mesa/st: expose ARB_color_buffer_float if unclamping is supported

commit d0c5ea11b6f75f3da2f4ca989115f150ebc7cf8d
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 17:53:41 2010 +0200

mesa/st: use unclamped colors

This assumes that Gallium is to be interpreted as given drivers the
responsibility to clamp these colors if necessary.

commit aef5c3c6be6edd076e955e37c80905bc447f8a82
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:12:34 2010 +0200

mesa, mesa/st: handle read color clamping properly

We set IMAGE_CLAMP_BIT in the caller based on _ClampReadColor, where
the operation mandates it. (see the removed XXX comment. -Marek)

TODO: did I get the set of operations mandating it right?

commit 76bdfcfe3ff4145a1818e6cb6e227b730a5f12d8
Author: Luca Barbieri <luca@luca-barbieri.com>
Date: Thu Aug 26 18:18:25 2010 +0200

gallium: add color clamping to the interface
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
f9995b30756140724f41daf963fa06167912be7f 12-Oct-2010 Kristian Høgsberg <krh@bitplanet.net> Drop GLcontext typedef and use struct gl_context instead
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
9846b0627149e221c9fbd7c3379e33fb68e68511 01-Aug-2010 Vinson Lee <vlee@vmware.com> mesa: Remove inclusion of compiler.h from mtypes.h.

mtypes.h does not use any symbols from compiler.h.

Also add the required headers for files that depended on symbols from
compiler.h but were indirectly including compiler.h through mtypes.h.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
dfc02e3784e521c07a22ff2ffc4bf02f022e9898 10-Feb-2010 Roland Scheidegger <sroland@vmware.com> st/mesa: more fixes for stencil ref change.

compiles. Might need to do something to make it possible to save/restore
stencil ref.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
1a859ecf4a4728cb321b1f68d51491cd285a3c03 09-Feb-2010 Roland Scheidegger <sroland@vmware.com> gallium: don't put stencil ref value in pipe_depth_stencil_alpha_state

This will make driver's life a bit harder, however it makes sense that stencil
reference value is not part of the pipe_depth_stencil_alpha_state, because
it often (there are some algorithms which require this) changes more frequently
than the rest of the dsa state. This is also encouraged by some graphic APIs.
Treat it similar to pipe_blend_color.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
4456006ba626890172289111403e469f49106e18 01-Oct-2009 Keith Whitwell <keithw@vmware.com> gallium: remove depth.occlusion_count flag

This was redundant as drivers can just keep track of whether they are
inside a begin/end query pair. We want to add more query types later
and also support nested queries, none of which map well onto a flag like
this. No driver appeared to be using the flag.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
f1a083d4b8c86e0ba335ab162f60b6f2b8391c31 02-Mar-2009 Brian Paul <brianp@vmware.com> gallium: only enable depth test if a depth bufffer is available
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
026465b9b1aebab98b6d519b75fe96d0ca9f4f51 27-Feb-2009 Brian Paul <brianp@vmware.com> gallium: fix state tracker's stencil buffer test

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
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
2b32c7dff51fa9853ba528744bd191400aa4b206 19-Feb-2009 Brian Paul <brianp@vmware.com> mesa: support GL_EXT_stencil_two_side in gallium/mesa state tracker

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...
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
d6888e811d24eaa7e8d9093be606394f00435c05 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: it's a reference value, not a reference number
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
a7e72231e3c76a9410d192441da309002ea6422d 26-Jan-2009 Zack Rusin <zackr@vmware.com> gallium: standardize naming of masks
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
54507125e735ffa595e252282eaabf38095c21e1 02-May-2008 Alan Hourihane <alanh@tungstengraphics.com> Some changed for non-C99 compilers
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
cf9b07ea3474cd33e797eeb10b3fd73ad54ae8d5 04-Apr-2008 Roland Scheidegger <sroland@tungstengraphics.com> gallium: fix two-side stencil handling

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).
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
d453042bc67cc94bb215d229b60e8cd70a80ff8d 25-Mar-2008 Brian Paul <brian.paul@tungstengraphics.com> gallium: don't enable stencil test if no stencil buffer.

Also, if not doing two-sided stencil, set back-face state = front-face state.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
339e7ec6805e6de8794514c0a935081b5d36d38f 12-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: rework CSO-related code in state tracker

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...
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
bfe79babf99e6b9435195178d1ea64687c60d161 17-Dec-2007 Keith Whitwell <keith@tungstengraphics.com> gallium: incorporate alpha state into depth_stencil state object.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
ecb5e14e8688e31446fdcbdea59d25ea628fb211 11-Dec-2007 Keith Whitwell <keith@tungstengraphics.com> gallium: remove clear values from depth, stencil state
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
b18763141d651ae1112e80bb7ef3e813c8ce1d18 08-Nov-2007 Brian <brian.paul@tungstengraphics.com> Replace gl_stencil_func_to_sp() and gl_depth_func_to_sp() with st_compare_func_to_pipe()
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
a6c0c5532f7bfa50ae54c36cf4d74ad4b9f926f8 20-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Convert depth_stencil state to the new semantics.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
d6ac959833a8e40a27907940969c622692f749b1 17-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Combing depth and stencil objects and making them immutable.

Converting depth and stencil objects into a single state object
(d3d10 like) and making it immutable.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
4185da4681405f3cc4d0cc601d428f2f44d0dda8 25-Aug-2007 keithw <keithw@keithw-laptop.(none)> add names to tracked state atoms to improve debug
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
563479552e2f491fb94e7fac5772f3c72cee962a 13-Jul-2007 Brian <brian.paul@tungstengraphics.com> Added basic occlusion counting
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
efe6c50089e945902917c8091c92ce3a6155caac 19-Jun-2007 Brian <brian.paul@tungstengraphics.com> Define just one set of PIPE_FUNC_LESS, GREATER, EQUAL, etc tokens.

Used for depth test, alpha test, stencil test, shadow test, etc.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
943964a1e5bad86bdceb0a06d60fb3b302ebce6a 14-Jun-2007 Keith Whitwell <keith@tungstengraphics.com> Rename directories again?!

Some git wierdness going on.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c
6393cda6766b707ef01e925d378239a66d143ae0 14-Jun-2007 Keith Whitwell <keith@tungstengraphics.com> Renamed softpipe directories and files to something less confusing.

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.
/external/mesa3d/src/mesa/state_tracker/st_atom_depth.c