History log of /external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a21df965075f6fa1bf27039490ad65b9f78548e6 24-Mar-2012 Dave Airlie <airlied@redhat.com> st/mesa: add ARB_blend_func_extended support to state tracker.

This adds the blend mode mapping, it also uses the var->index in the
glsl to tgsi convertor - this is the other half of my using 4 in the GLSL
compiler.

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
3538bffa7287ebef5f2dc4d2e4491aaf6e68b09e 09-Sep-2011 Ian Romanick <ian.d.romanick@intel.com> st/mesa: Remove support for GL_EXT_blend_logic_op

It was broken, and it isn't really useful anyway.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Marek Olšák <maraeo@gmail.com>
Cc: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
99feecc7d1d0a6efb2511859973d6029d9fed9fd 14-Jun-2011 Brian Paul <brianp@vmware.com> st/mesa: replace st->ctx with ctx
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.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_blend.c
a476ca1fd1b4e76e31c9babfd7fb2a54a09f21d3 10-Feb-2011 Fabian Bieler <der.fabe@gmx.net> st/mesa: Use blend equation and function of first render target for all render targets if ARB_draw_buffers_blend is not supported

If EXT_draw_buffers2 is supported but ARB_draw_buffers_blend isn't
_mesa_BlendFuncSeparateEXT only sets up the blend equation and function for the
first render target. This patch makes sure that update_blend doesn't try to use
the data from other rendertargets in such cases.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
74713e2d293f9e796a4053a5a99ee5cb7df5c740 11-Jan-2011 Brian Paul <brianp@vmware.com> mesa: begin implementation of GL_ARB_draw_buffers_blend
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.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_blend.c
127328bfadaa5f080730fd41f404f1bc74f490d3 17-May-2010 Roland Scheidegger <sroland@vmware.com> mesa/st: adapt to interface changes

adapt to blit changes, and also handle a bit more msaa state in theory
(incomplete, doesn't handle resolves in any way for now).
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
9bc80ff17496feda3b47cf40e577976237f87957 26-Jan-2010 Roland Scheidegger <sroland@vmware.com> mesa/st: code cleanups for new blend functionality

minor code changes, style and comment fixes
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
5fae36147e1067ac8b1eb5bcade2f9b1dbf29aa4 25-Jan-2010 Roland Scheidegger <sroland@vmware.com> st/mesa: handle EXT_draw_buffers2 per rendertarget blend enables / colormasks

uses the new gallium per-rt blend functionality
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
bef610f693266c338b99511b4d1eea5d5b97644e 20-Jan-2010 Roland Scheidegger <sroland@vmware.com> gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs

GL 3.0 (EXT_draw_buffers2) and other APIs allow independent blend enables and
write masks per render target, ARB_draw_buffers_blend (and other APIs) also
allow independent blend functions. Things like dithering, logic ops however
are not extended to be per rendertarget, that might be conceptually possible
however it doesn't look like any API wants to expose this.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
fd5511d27fc44096117c47ab503fb5b47f993061 30-Dec-2009 Brian Paul <brianp@vmware.com> mesa: implement per-buffer color masking

This is part of the GL_EXT_draw_buffers2 extension and part of GL 3.0.

The ctx->Color.ColorMask field is now a 2-D array. Until drivers are
modified to support per-buffer color masking, they can just look at
the 0th color mask.

The new _mesa_ColorMaskIndexed() function will be called by
glColorMaskIndexedEXT() or glColorMaski().
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
5e49037caa4cf9062efd0bbebf67b467684b633b 02-May-2008 Alan Hourihane <alanh@tungstengraphics.com> revert mode change back to 644
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
54507125e735ffa595e252282eaabf38095c21e1 02-May-2008 Alan Hourihane <alanh@tungstengraphics.com> Some changed for non-C99 compilers
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
7d95efde0a0e13e13c59444703bc47eb13926385 19-Mar-2008 Brian <brian.paul@tungstengraphics.com> gallium: implement CSO save/restore functions for use by meta operations (blit, gen-mipmaps, quad-clear, etc)

Also, additional cso_set_*() functions for viewport, framebuffer, blend color,
etc. state.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.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_blend.c
ce0f2e88e3f71427dabf0dc37900ce0b47ae8003 16-Oct-2007 Brian <brian.paul@tungstengraphics.com> fix blend term translation bug, rename some funcs
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
c8650b087440c7ba5ad0d8652dc916852e55bc1d 19-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Avoid redundant reallocation of the template.

cso already allocated the template for us. Returning 0 means
we have no driver specific representation and just want
the template on the bind.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
c0bf7322088715bb411068c3d631b0c4be8cdff5 19-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Redo the cso cache to map driver data in a lot more pleasing way.

Drivers can now create whatever they want from the state template. We
use cso_state object to store the template (necessary during lookups),
and the driver data. Convert blend state to the new semantics.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
e16c045b83f5c5b4f4064df67623bb76b46b6619 17-Sep-2007 Zack Rusin <zack@tungstengraphics.com> Implementing a better hash, removing state_tracker dependency from the cache.

Replacing mesa's main hash with one that handles collisions, moving state_tracker
related caching to the state tracker to keep cso cache independent of it. Cleanups.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
9780327c5d95586a88fce94d7b47342355ead118 14-Sep-2007 Zack Rusin <zack@tungstengraphics.com> First stab at immutable state objects (create/bind/delete)

We want our state objects to be immutable, handled via the
create/bind/delete calls instead of struct propagation.
Only implementing the blend state to see how it would look like
and work.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.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_blend.c
86352ff70d8c9a31fe0ebb4d02ce4bb4644fe54a 12-Jul-2007 Brian <brian.paul@tungstengraphics.com> Added colormask, dither, multisample state. Implement colormasking stage.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
284efcfc27aaeb447e0898ae3342e9fee20c584a 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> hook in state tracking for blend color
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.c
111880798a7b67b79af3f7986e3297268c4b778a 04-Jul-2007 Brian <brian.paul@tungstengraphics.com> Blend MIN/MAX modes are special: the src/dest terms are always one.
/external/mesa3d/src/mesa/state_tracker/st_atom_blend.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_blend.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_blend.c