summaryrefslogtreecommitdiff
path: root/opengl/libagl/matrix.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2009-10-27 23:33:48 -0700
committer Mathias Agopian <mathias@google.com> 2009-10-28 14:49:44 -0700
commit2ad8ec50a5aa91ad4881602467d41c8a54cbf6e4 (patch)
treeb4e55573b45d314a2b80998d2796fca7aaf45363 /opengl/libagl/matrix.cpp
parentd5493f3f5e7e971a98dd508874613a6a68196cd2 (diff)
fix [2071412] work around mdp 32-bits fade limitation
in the case where we fade a 32-bits surface (ie: GL_MODULATE w/ a,a,a,a + blending), we first make a copy of the background into a RGB buffer, then we blend the 32-bits surface as usual (without the alpha component), and finally blend the copy of the background on top with 1-a. This uses a lot of bandwidth, but no CPU time.
Diffstat (limited to 'opengl/libagl/matrix.cpp')
0 files changed, 0 insertions, 0 deletions