gallium: prepare for per-rendertarget blend enables, writemasks, blend funcs
authorRoland Scheidegger <sroland@vmware.com>
Wed, 20 Jan 2010 17:26:49 +0000 (18:26 +0100)
committerRoland Scheidegger <sroland@vmware.com>
Wed, 20 Jan 2010 17:26:49 +0000 (18:26 +0100)
commitbef610f693266c338b99511b4d1eea5d5b97644e
treebef0799e1011b972727f5c254a09c7abe5ebc748
parent5a99ca490fee65d37a4c7469888680b412d27f7f
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.
src/gallium/auxiliary/cso_cache/cso_context.c
src/gallium/include/pipe/p_state.h
src/mesa/state_tracker/st_atom_blend.c
src/mesa/state_tracker/st_cb_clear.c