summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2017-06-14 20:31:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-06-14 20:31:11 +0000
commit2d41b97bc34c5368db828e532e270405e7b134da (patch)
tree8656719f25b6a5303e0537bc13fb0e52c89c5a9a /libs/hwui/renderthread/RenderProxy.h
parentbce79b1bdc8e020d75c93a608ed1f29b66a10ab3 (diff)
parentf0d3971021c26baa0e0b1721e71c99a2f98dae1b (diff)
Merge "Add a workaround for simulate secondary display" into oc-dev am: 31443a17e8
am: f0d3971021 Change-Id: I5ee14c0887eaeac267c815851ae6f9e8ee47d80f
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.h')
-rw-r--r--libs/hwui/renderthread/RenderProxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h
index e1e2808e734f..31f0ce67e1a7 100644
--- a/libs/hwui/renderthread/RenderProxy.h
+++ b/libs/hwui/renderthread/RenderProxy.h
@@ -138,6 +138,8 @@ public:
static int copyGraphicBufferInto(GraphicBuffer* buffer, SkBitmap* bitmap);
static void onBitmapDestroyed(uint32_t pixelRefId);
+
+ ANDROID_API static void disableVsync();
private:
RenderThread& mRenderThread;
CanvasContext* mContext;