summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_output_surface_client.h
diff options
context:
space:
mode:
authorbrianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 10:06:05 +0000
committerbrianderson@chromium.org <brianderson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-26 10:06:05 +0000
commit3dc0c77486b217a40c817e4942a11dfd48651533 (patch)
tree6c12d3d3f59cb6bf8e5ec841307b32c1c826d444 /cc/test/fake_output_surface_client.h
parentb5556b29fb292017f98224b4dc8894bd16bc7272 (diff)
downloadchromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.zip
chromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.tar.gz
chromium_src-3dc0c77486b217a40c817e4942a11dfd48651533.tar.bz2
cc: Move scheduling logic out of OutputSurface
This moves the vsync throttling enabled/disabled logic and the synthetic/emulated BeginFrame logic out of OutputSurface and moves it to the Scheduler. This then allows us to also remove the retroactive BeginFrame logic from OutputSurface since the Scheduler also has retroactive BeginFrame logic. BUG=246861 BUG=251909 Review URL: https://codereview.chromium.org/221833009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@266348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_output_surface_client.h')
-rw-r--r--cc/test/fake_output_surface_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/test/fake_output_surface_client.h b/cc/test/fake_output_surface_client.h
index 4f0486a..0548bde 100644
--- a/cc/test/fake_output_surface_client.h
+++ b/cc/test/fake_output_surface_client.h
@@ -20,6 +20,8 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
virtual void DeferredInitialize() OVERRIDE;
virtual void ReleaseGL() OVERRIDE {}
+ virtual void CommitVSyncParameters(base::TimeTicks timebase,
+ base::TimeDelta interval) OVERRIDE {}
virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) OVERRIDE {}
virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE;
virtual void DidSwapBuffers() OVERRIDE {}