summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2018-09-21 00:58:05 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-09-21 00:58:05 +0000
commitc49e5b78f6a6f041da3537cf748563de923bf3b4 (patch)
tree3e58aaaa8455a04a56363ee9914e274b170e0458 /libs/hwui/renderthread/RenderProxy.cpp
parent4f797ff273d1b5a3a93bec223599f6aaff520c1c (diff)
parent28a4d9935c214374cbd487d3419abb80f57d6f80 (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.cpp7
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;
}