summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_driver.c
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-12-04 21:42:51 +0800
committerChia-I Wu <olv@lunarg.com>2010-12-04 23:46:38 +0800
commit859106f196ade77f59f8787b071739901cd1a843 (patch)
tree632ca04f16bcf6ad64614b3cf86b278181591099 /src/gallium/state_trackers/xorg/xorg_driver.c
parent0ee73edeccd21034e03e9e43dd0d09fa6fbf7842 (diff)
st/vega: Fix pipe blend state for various blend modes.
rgb_src_factor and rgb_dst_factor should be PIPE_BLENDFACTOR_ONE for VG_BLEND_SRC_IN and VG_BLEND_DST_IN respectively. VG_BLEND_SRC_OVER can be supported only when the fb has no alpha channel. VG_BLEND_DST_OVER and VG_BLEND_ADDITIVE have to be supported with a shader. Note that Porter-Duff blending rules assume premultiplied alpha.
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_driver.c')
0 files changed, 0 insertions, 0 deletions