diff options
author | Derek Sollenberger <djsollen@google.com> | 2018-09-21 00:58:05 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-09-21 00:58:05 +0000 |
commit | c49e5b78f6a6f041da3537cf748563de923bf3b4 (patch) | |
tree | 3e58aaaa8455a04a56363ee9914e274b170e0458 /libs/hwui/renderthread/RenderProxy.cpp | |
parent | 4f797ff273d1b5a3a93bec223599f6aaff520c1c (diff) | |
parent | 28a4d9935c214374cbd487d3419abb80f57d6f80 (diff) |
Merge changes Ie9436715,Ib3054822
* changes:
Refactor RenderState and remove unused functionality.
Fix crash when EGLSurface is no longer valid.
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r-- | libs/hwui/renderthread/RenderProxy.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp index 7a5348ac85d9..6106e24c093b 100644 --- a/libs/hwui/renderthread/RenderProxy.cpp +++ b/libs/hwui/renderthread/RenderProxy.cpp @@ -345,13 +345,6 @@ int RenderProxy::copyHWBitmapInto(Bitmap* hwBitmap, SkBitmap* bitmap) { } } -void RenderProxy::onBitmapDestroyed(uint32_t pixelRefId) { - if (!RenderThread::hasInstance()) return; - RenderThread& thread = RenderThread::getInstance(); - thread.queue().post( - [&thread, pixelRefId]() { thread.renderState().onBitmapDestroyed(pixelRefId); }); -} - void RenderProxy::disableVsync() { Properties::disableVsync = true; } |