summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_pixel_test.h
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 13:13:21 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-04-26 13:13:21 +0000
commit44e9a2fe0aa46ac1b8f2d7a861aa211bba252096 (patch)
treeda5994ca0ed4058d3aa259ea7851331000d29907 /cc/test/layer_tree_pixel_test.h
parenta23f62e6e57a92d3f75b5ff600d351f01b6b7d4b (diff)
downloadchromium_src-44e9a2fe0aa46ac1b8f2d7a861aa211bba252096.zip
chromium_src-44e9a2fe0aa46ac1b8f2d7a861aa211bba252096.tar.gz
chromium_src-44e9a2fe0aa46ac1b8f2d7a861aa211bba252096.tar.bz2
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 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@196713 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_pixel_test.h')
-rw-r--r--cc/test/layer_tree_pixel_test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h
index ceddfab..4700ebd 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<cc::ContextProvider>
OffscreenContextProviderForCompositorThread() OVERRIDE;
- virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
- bool result) OVERRIDE;
+
+ void ReadbackResult(scoped_ptr<SkBitmap> bitmap);
virtual void BeginTest() OVERRIDE;
virtual void SetupTree() OVERRIDE;