diff options
author | Derek Sollenberger <djsollen@google.com> | 2014-02-05 16:47:00 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2014-02-07 13:33:29 -0500 |
commit | d44fbe55a9f434cb5bb0e34c143ba1445141990d (patch) | |
tree | 782e860830dd48fb9b7e667d64a038a45045b936 /libs/hwui/DisplayList.cpp | |
parent | 8eea3ea5591e59f55cbb4f6b2b7e9363a285ced3 (diff) | |
download | frameworks_base-d44fbe55a9f434cb5bb0e34c143ba1445141990d.zip frameworks_base-d44fbe55a9f434cb5bb0e34c143ba1445141990d.tar.gz frameworks_base-d44fbe55a9f434cb5bb0e34c143ba1445141990d.tar.bz2 |
Keep the SkPaint used when creating a layer.
This will allow us to inspect the paint for thing other than
color and xfermode, such as SkColorFilters and SkShaders.
bug: 10650594
Change-Id: I2c3ddd07a3966e1e77af34136307e2b59b2898c1
Diffstat (limited to 'libs/hwui/DisplayList.cpp')
-rw-r--r-- | libs/hwui/DisplayList.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/DisplayList.cpp b/libs/hwui/DisplayList.cpp index fd3dae7..23ed274 100644 --- a/libs/hwui/DisplayList.cpp +++ b/libs/hwui/DisplayList.cpp @@ -451,8 +451,7 @@ void DisplayList::setViewProperties(OpenGLRenderer& renderer, T& handler, } SaveLayerOp* op = new (handler.allocator()) SaveLayerOp( - 0, 0, mRight - mLeft, mBottom - mTop, - mAlpha * 255, SkXfermode::kSrcOver_Mode, saveFlags); + 0, 0, mRight - mLeft, mBottom - mTop, mAlpha * 255, saveFlags); handler(op, PROPERTY_SAVECOUNT, mClipToBounds); } } |