summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CanvasContext.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2019-03-07 17:18:25 -0800
committerJohn Reck <jreck@google.com>2019-03-07 17:18:25 -0800
commit0b19a7370a1121219cef2d34b69676e1dee4c547 (patch)
tree4fe7f256822f7a91dfa8efff935cb51267ccfd32 /libs/hwui/renderthread/CanvasContext.h
parent4348a4d7078dd4a2d786464db170f817ee19f6b1 (diff)
Re-enable empty damage drop optimization
Fixes: 113796161 Test: device seemed to behave correctly? Change-Id: Id43e1eaad29d07c06c1003c0653e5d1ee7084cfe
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.h')
-rw-r--r--libs/hwui/renderthread/CanvasContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h
index db97763acd8b..4da0eac85bb0 100644
--- a/libs/hwui/renderthread/CanvasContext.h
+++ b/libs/hwui/renderthread/CanvasContext.h
@@ -217,6 +217,7 @@ private:
void freePrefetchedLayers();
bool isSwapChainStuffed();
+ bool surfaceRequiresRedraw();
SkRect computeDirtyRect(const Frame& frame, SkRect* dirty);