summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 05:33:40 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 05:33:40 +0000
commit4d7e46a8652f5acccd71d6453a118eb7d6aeeb52 (patch)
treec49ada416983cc2eceb450dd64d931c28d93828e /cc/test/pixel_test.cc
parent876937d2934cbd46110d9847bfb121b10cc51c95 (diff)
downloadchromium_src-4d7e46a8652f5acccd71d6453a118eb7d6aeeb52.zip
chromium_src-4d7e46a8652f5acccd71d6453a118eb7d6aeeb52.tar.gz
chromium_src-4d7e46a8652f5acccd71d6453a118eb7d6aeeb52.tar.bz2
Replaces uses of the WGC3DSwapBuffersClient with LTHSingleThreadClient
This converts users of the WebGraphicsContext3DSwapBuffersClient mechanism over to using callbacks from cc::LayerTreeHostSingleThreadClient instead. This mechanism is a way to implement flow control when using single threaded compositing by keeping track of the number of pending SwapBuffers calls. WGC3DSwapBuffersClient hooked into the context directly to observer these calls, but intercepted the calls at an awkward place. This instead gets callbacks directly from the compositor when using the single threaded path. R=piman BUG=181120 Review URL: https://codereview.chromium.org/59033012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r--cc/test/pixel_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index 0e09d8a..f798013 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -52,6 +52,7 @@ class PixelTest::PixelTestRendererClient
virtual void ReleaseGL() OVERRIDE {}
virtual void SetNeedsRedrawRect(gfx::Rect damage_rect) OVERRIDE {}
virtual void BeginImplFrame(const BeginFrameArgs& args) OVERRIDE {}
+ virtual void DidSwapBuffers() OVERRIDE {}
virtual void OnSwapBuffersComplete() OVERRIDE {}
virtual void ReclaimResources(const CompositorFrameAck* ack) OVERRIDE {}
virtual void DidLoseOutputSurface() OVERRIDE {}