summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-09-11 21:36:05 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-09-11 21:36:05 +0000
commita0c211120adaa7b135b2d08e8ccc1fc380832817 (patch)
treefc18a887e3ebac520ee8821efba0145c9ad9a731 /libs/hwui/renderthread/RenderProxy.cpp
parenta2ff4ce0a0bcacbbb8f8d40b49cac9b56e87871c (diff)
parentfacdce3ab2bc237146424de838e202a444b55a7b (diff)
Merge "Fix flicker from multiwindow resize" into oc-mr1-dev
am: facdce3ab2 Change-Id: I217c2db8adcb5b2b9ad2ffcd3226176c7e7c08c4
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.cpp')
-rw-r--r--libs/hwui/renderthread/RenderProxy.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.cpp b/libs/hwui/renderthread/RenderProxy.cpp
index 7fe966dde316..9048bd14b35c 100644
--- a/libs/hwui/renderthread/RenderProxy.cpp
+++ b/libs/hwui/renderthread/RenderProxy.cpp
@@ -551,20 +551,8 @@ void RenderProxy::drawRenderNode(RenderNode* node) {
staticPostAndWait(task);
}
-CREATE_BRIDGE5(setContentDrawBounds, CanvasContext* context, int left, int top,
- int right, int bottom) {
- args->context->setContentDrawBounds(args->left, args->top, args->right, args->bottom);
- return nullptr;
-}
-
void RenderProxy::setContentDrawBounds(int left, int top, int right, int bottom) {
- SETUP_TASK(setContentDrawBounds);
- args->context = mContext;
- args->left = left;
- args->top = top;
- args->right = right;
- args->bottom = bottom;
- staticPostAndWait(task);
+ mDrawFrameTask.setContentDrawBounds(left, top, right, bottom);
}
CREATE_BRIDGE1(serializeDisplayListTree, CanvasContext* context) {