summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_renderer_client.h
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-21 01:11:57 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-21 01:11:57 +0000
commite7391c3bb6f2345e4ed1d6d9c9d1cf03f83ff48b (patch)
tree90d10d958d424e6d024500903eb1c84a3df4489a /cc/test/fake_renderer_client.h
parentf89ee437e25a2afde6f7dc2ca3d49fd462d23ea3 (diff)
downloadchromium_src-e7391c3bb6f2345e4ed1d6d9c9d1cf03f83ff48b.zip
chromium_src-e7391c3bb6f2345e4ed1d6d9c9d1cf03f83ff48b.tar.gz
chromium_src-e7391c3bb6f2345e4ed1d6d9c9d1cf03f83ff48b.tar.bz2
cc: Support on demand raster with gpu rasterization
Normal gpu rasterization happens on compositor thread, so on-demand rasteration must also be on compositor thread. So if impl-side painting is off or if gpu rasterization is on, then directly raster on compositor thread. BUG=383379 Review URL: https://codereview.chromium.org/334133002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278887 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_renderer_client.h')
-rw-r--r--cc/test/fake_renderer_client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_renderer_client.h b/cc/test/fake_renderer_client.h
index 9854b01..41ff5bc 100644
--- a/cc/test/fake_renderer_client.h
+++ b/cc/test/fake_renderer_client.h
@@ -15,6 +15,7 @@ class FakeRendererClient : public RendererClient {
// RendererClient methods.
virtual void SetFullRootLayerDamage() OVERRIDE;
+ virtual void RunOnDemandRasterTask(Task* on_demand_raster_task) OVERRIDE {}
// Methods added for test.
int set_full_root_layer_damage_count() const {