diff options
| author | Romain Guy <romainguy@google.com> | 2013-02-27 11:53:12 -0800 |
|---|---|---|
| committer | Romain Guy <romainguy@google.com> | 2013-02-27 11:53:12 -0800 |
| commit | 758724fd09a1599f2c55130f81953cfa6c17c300 (patch) | |
| tree | ca84f352115851317bf012534a69d748def6092e /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | c0e55bd3cfe1d7be2276e4f528fee2231763a5c1 (diff) | |
Don't increment the paint's generation ID when drawing bitmaps
When the renderer draws a bitmap as part of a display list with an
alpha < 1.0f, the paint is temporarily modified to alter the opacity
of the bitmap. This has the side effect of increasing the paint's
generation ID counter which can break paint caching.
Change-Id: I5055d059ad1639829fa50af3d946e296c4dab877
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
