summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/RenderProxy.h
diff options
context:
space:
mode:
authorMihai Popa <popam@google.com>2018-02-23 16:10:11 +0000
committerJohn Reck <jreck@google.com>2018-02-26 11:23:27 -0800
commit9568800d90e917e28ae2bc4ae1ca5dcaaf60675b (patch)
tree43cc506388f3c094741838b830964c35d48f0777 /libs/hwui/renderthread/RenderProxy.h
parent99ef04f7173677ac52bf952979085e97e25f858c (diff)
[Magnifier-26] Wire up frame callback for realsies
Test: none yet Bug: 73810478 Bug: 72041926 Change-Id: I7154ed4b3d2cd820dc8c8ff55eed130be87d1606
Diffstat (limited to 'libs/hwui/renderthread/RenderProxy.h')
-rw-r--r--libs/hwui/renderthread/RenderProxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/hwui/renderthread/RenderProxy.h b/libs/hwui/renderthread/RenderProxy.h
index bc57d9255ad5..3425c5c68a72 100644
--- a/libs/hwui/renderthread/RenderProxy.h
+++ b/libs/hwui/renderthread/RenderProxy.h
@@ -115,6 +115,7 @@ public:
ANDROID_API void removeRenderNode(RenderNode* node);
ANDROID_API void drawRenderNode(RenderNode* node);
ANDROID_API void setContentDrawBounds(int left, int top, int right, int bottom);
+ ANDROID_API void setFrameCallback(std::function<void(int64_t)>&& callback);
ANDROID_API void addFrameMetricsObserver(FrameMetricsObserver* observer);
ANDROID_API void removeFrameMetricsObserver(FrameMetricsObserver* observer);