diff options
| author | 2011-05-26 16:51:47 -0700 | |
|---|---|---|
| committer | 2011-05-26 16:53:26 -0700 | |
| commit | e324197ecd14591d7db0572f50c0d21bbd269bb4 (patch) | |
| tree | d6aecfb32305759211c116bc654b173b524b2582 /libs/utils/AssetManager.cpp | |
| parent | 27ac64eceee8d4e392983861c6bc6bd620e4c6f7 (diff) | |
DO NOT MERGE Correctly implement the CLEAR xfermode.
This bug is a regression from the software pipeline and prevents
applications from implementing an "eraser" type tool (for instance
a drawing/painting apps.) This issue affects external applications
when they turn on hardware acceleration.
The previous implementation was using glBlendFunc with the parameters
GL_ZERO/GL_ZERO which doesn't work for text, paths and other alpha
sources (anti-aliasing.) The correct implementation is GL_ZERO/
GL_ONE_MINUS_SRC_ALPHA.
Change-Id: I1446e83480e46174b880120069d76fcad14ba300
Diffstat (limited to 'libs/utils/AssetManager.cpp')
0 files changed, 0 insertions, 0 deletions