summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-27 23:33:48 -0700
committerMathias Agopian <mathias@google.com>2009-10-28 14:49:44 -0700
commit85ade33edcc7d9be462ad7b8455d27f6654aca5e (patch)
tree71756ba5ab83253d2fa611dcce3083de11eb948e /opengl/tests/gl_basic/gl_basic.cpp
parent763ccae7d734cc7e55772936dc3f101a2bf453d4 (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/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions