summaryrefslogtreecommitdiffstats
path: root/cc/trees/proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/trees/proxy.h')
-rw-r--r--cc/trees/proxy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/trees/proxy.h b/cc/trees/proxy.h
index f0fece4..703c07a 100644
--- a/cc/trees/proxy.h
+++ b/cc/trees/proxy.h
@@ -22,6 +22,7 @@ class Vector2d;
namespace cc {
class Thread;
+struct RenderingStats;
struct RendererCapabilities;
// Abstract class responsible for proxying commands from the main-thread side of
@@ -77,6 +78,8 @@ class CC_EXPORT Proxy {
// Returns false if the renderer couldn't be reinitialized.
virtual bool RecreateOutputSurface() = 0;
+ virtual void CollectRenderingStats(RenderingStats* stats) = 0;
+
virtual const RendererCapabilities& GetRendererCapabilities() const = 0;
virtual void SetNeedsAnimate() = 0;