diff options
author | John Reck <jreck@google.com> | 2018-05-03 14:40:56 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2018-05-03 15:25:19 -0700 |
commit | d9d7f127b5f07df9434aff67374a0012b1750cd4 (patch) | |
tree | 5be03d634c7b14030e4dd111aecd4b046e70b3fe /libs/hwui/renderthread/RenderProxy.cpp | |
parent | ba720d098ebd6bbc1b376bb0945c76dcda3820b6 (diff) |
Delete a bunch of code
This removes the duality of DisplayList, removing a small amount of
overhead
Test: buids & hwuiunit passes
Change-Id: I8bb3a20e9ead1caec4b4a8a3e9f2c08f717a7096
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 0caf59b42202..4d1e1e8fb04b 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -66,10 +66,7 @@ void RenderProxy::setSwapBehavior(SwapBehavior swapBehavior) { bool RenderProxy::loadSystemProperties() { return mRenderThread.queue().runSync([this]() -> bool { - bool needsRedraw = false; - if (Caches::hasInstance()) { - needsRedraw = Properties::load(); - } + bool needsRedraw = Properties::load(); if (mContext->profiler().consumeProperties()) { needsRedraw = true; } |