From 2364ee7117c948b080f7c31e68487975a5fda408 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Fri, 26 Apr 2013 13:18:59 +0000 Subject: Revert 196713 "cc: Async readback." Oops, wrong version landed! > cc: Async readback. > > Provide a path to get a readback of a layer's subtree via an > asynchronous mechanism. > > This path is used for all the cc pixel tests, to show that it > works. Also by some unit tests: > > LayerTreeHostTestAsyncReadback.GLRenderer_RunSingleThread > LayerTreeHostTestAsyncReadback.GLRenderer_RunMultiThread > LayerTreeHostTestAsyncReadback.SoftwareRenderer_RunSingleThread > LayerTreeHostTestAsyncReadback.SoftwareRenderer_RunMultiThread > LayerTreeHostTestAsyncReadbackLayerDestroyed.RunSingleThread > LayerTreeHostTestAsyncReadbackLayerDestroyed.RunMultiThread > > BUG=179896 > > Review URL: https://chromiumcodereview.appspot.com/14060015 TBR=danakj@chromium.org Review URL: https://codereview.chromium.org/14512003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196715 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/test/layer_tree_pixel_test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/test/layer_tree_pixel_test.h') diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h index 4700ebd..ceddfab 100644 --- a/cc/test/layer_tree_pixel_test.h +++ b/cc/test/layer_tree_pixel_test.h @@ -25,8 +25,8 @@ class LayerTreePixelTest : public LayerTreeTest { OffscreenContextProviderForMainThread() OVERRIDE; virtual scoped_refptr OffscreenContextProviderForCompositorThread() OVERRIDE; - - void ReadbackResult(scoped_ptr bitmap); + virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, + bool result) OVERRIDE; virtual void BeginTest() OVERRIDE; virtual void SetupTree() OVERRIDE; -- cgit v1.1