OSDN Git Service

Use snapshot alpha for layers
authorChris Craik <ccraik@google.com>
Sat, 16 Mar 2013 00:24:33 +0000 (17:24 -0700)
committerChris Craik <ccraik@google.com>
Wed, 20 Mar 2013 22:24:26 +0000 (15:24 -0700)
commit47ab7d6612e2b5b8b66fb261dafef7c91264e173
tree079c3b7ec1046c5c2823be60147de587a0b84351
parentb936b7748de030872e5f4fdc470e6bca66b557bc
Use snapshot alpha for layers

Removes mMultipliedAlpha, using the snapshot alpha for all
non-overlapping display list alpha control.

Additionally, fixes opacity issues where children of
hasOverlappingRendering=false displaylists (both hw layer sublists and
other sublists with hasOverlappingRendering=false)

Change-Id: I1d0e561a4d4965d06c2a6827c7a31e6dbf731b86
core/jni/android_view_GLES20Canvas.cpp
libs/hwui/DeferredDisplayList.cpp
libs/hwui/DisplayList.cpp
libs/hwui/DisplayList.h
libs/hwui/DisplayListOp.h
libs/hwui/DisplayListRenderer.cpp
libs/hwui/DisplayListRenderer.h
libs/hwui/OpenGLRenderer.cpp
libs/hwui/OpenGLRenderer.h