commit | 85ade33edcc7d9be462ad7b8455d27f6654aca5e | [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 | 71756ba5ab83253d2fa611dcce3083de11eb948e | |
parent | 763ccae7d734cc7e55772936dc3f101a2bf453d4 [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.