summaryrefslogtreecommitdiffstats
path: root/cc/test/test_context_support.h
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 06:06:21 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-16 06:06:21 +0000
commitfb6afd4b79c14b6c3fca792cbf87e4e89a5ab14d (patch)
treeb3cdb040daf1a7f3f4142b0e8fbd2d17c2edf77d /cc/test/test_context_support.h
parentac771fb36ba22c29b71877bdd3a9f356944c6ba4 (diff)
downloadchromium_src-fb6afd4b79c14b6c3fca792cbf87e4e89a5ab14d.zip
chromium_src-fb6afd4b79c14b6c3fca792cbf87e4e89a5ab14d.tar.gz
chromium_src-fb6afd4b79c14b6c3fca792cbf87e4e89a5ab14d.tar.bz2
Add future sync point methods to ContextSupport.
This way they can be used by the compositor or another consumer. BUG=365454 Review URL: https://codereview.chromium.org/362863002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283372 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_context_support.h')
-rw-r--r--cc/test/test_context_support.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/test/test_context_support.h b/cc/test/test_context_support.h
index adacf06..1349053 100644
--- a/cc/test/test_context_support.h
+++ b/cc/test/test_context_support.h
@@ -25,6 +25,8 @@ class TestContextSupport : public gpu::ContextSupport {
virtual void SetSurfaceVisible(bool visible) OVERRIDE;
virtual void Swap() OVERRIDE;
virtual void PartialSwapBuffers(const gfx::Rect& sub_buffer) OVERRIDE;
+ virtual uint32 InsertFutureSyncPointCHROMIUM() OVERRIDE;
+ virtual void RetireSyncPointCHROMIUM(uint32 sync_point) OVERRIDE;
virtual void SetSwapBuffersCompleteCallback(
const base::Closure& callback) OVERRIDE;
virtual void ScheduleOverlayPlane(int plane_z_order,