diff options
author | Chia-I Wu <[email protected]> | 2010-12-03 20:35:56 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-12-04 13:20:32 +0800 |
commit | 3b4c8886539b02653761f092a387c27b5c562496 (patch) | |
tree | 6b1e469552523b0f33c9176935cdcd54581df7c5 /src/driclient | |
parent | a09baf166826aba5be7dcf2347047129730f1628 (diff) |
st/vega: Refactor blend shaders.
Add a helper function, blend_generic, that supports all blend modes and
per-channel alpha. Make other blend generators a wrapper to it.
Both the old and new code expects premultiplied colors, yet the input is
non-premultiplied. Per-channel alpha is also not used for stencil
image. They still need to be fixed.
Diffstat (limited to 'src/driclient')
0 files changed, 0 insertions, 0 deletions