commit | 2ad8ec50a5aa91ad4881602467d41c8a54cbf6e4 | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Tue Oct 27 23:33:48 2009 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Oct 28 14:49:44 2009 -0700 |
tree | b4e55573b45d314a2b80998d2796fca7aaf45363 | |
parent | d5493f3f5e7e971a98dd508874613a6a68196cd2 [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.