diff options
author | Chris Craik <ccraik@google.com> | 2015-04-28 17:47:20 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2015-04-28 17:47:20 -0700 |
commit | 8df5ffa9ae0667d9e0241adf4675753156fcef84 (patch) | |
tree | 5b59aa1d6cd6733a28bd316afff67091d9856db7 /libs/hwui/DeferredDisplayList.cpp | |
parent | 340b198ccbd1a05e67d586c345139617d4b84ce0 (diff) | |
download | frameworks_base-8df5ffa9ae0667d9e0241adf4675753156fcef84.zip frameworks_base-8df5ffa9ae0667d9e0241adf4675753156fcef84.tar.gz frameworks_base-8df5ffa9ae0667d9e0241adf4675753156fcef84.tar.bz2 |
Remove concept of layer alpha override
bug:19412691
Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
Diffstat (limited to 'libs/hwui/DeferredDisplayList.cpp')
-rw-r--r-- | libs/hwui/DeferredDisplayList.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/hwui/DeferredDisplayList.cpp b/libs/hwui/DeferredDisplayList.cpp index c78971a..dd6af03 100644 --- a/libs/hwui/DeferredDisplayList.cpp +++ b/libs/hwui/DeferredDisplayList.cpp @@ -638,8 +638,7 @@ void DeferredDisplayList::flush(OpenGLRenderer& renderer, Rect& dirty) { DEFER_LOGD("--flushing"); renderer.eventMark("Flush"); - // save and restore (with draw modifiers) so that reordering doesn't affect final state - DrawModifiers restoreDrawModifiers = renderer.getDrawModifiers(); + // save and restore so that reordering doesn't affect final state renderer.save(SkCanvas::kMatrix_SaveFlag | SkCanvas::kClip_SaveFlag); if (CC_LIKELY(mAvoidOverdraw)) { @@ -654,7 +653,6 @@ void DeferredDisplayList::flush(OpenGLRenderer& renderer, Rect& dirty) { replayBatchList(mBatches, renderer, dirty); renderer.restoreToCount(1); - renderer.setDrawModifiers(restoreDrawModifiers); DEFER_LOGD("--flush complete, returning %x", status); clear(); |