diff options
author | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 01:56:37 +0000 |
---|---|---|
committer | reveman@chromium.org <reveman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-11 01:56:37 +0000 |
commit | 4e472a4fe3a3c2ecbf143b1ba29643d0a7e3252d (patch) | |
tree | 921fbbee1b520dbac199208c5287346abce3d607 /cc/test/fake_tile_manager.h | |
parent | 51f63438920434df1ee9b0c9d289be721e80c5a0 (diff) | |
download | chromium_src-4e472a4fe3a3c2ecbf143b1ba29643d0a7e3252d.zip chromium_src-4e472a4fe3a3c2ecbf143b1ba29643d0a7e3252d.tar.gz chromium_src-4e472a4fe3a3c2ecbf143b1ba29643d0a7e3252d.tar.bz2 |
cc: Prevent usage of rasterize on-demand with delegating renderer.
PictureDrawQuads are not yet supported by the delegating renderer.
Generating this type of quads for on-demand raster of tiles cause
invalid IPC to be sent to the parent compositor and the renderer
to be killed.
This makes us activate with low-res or checkerboard tiles until
PictureDrawQuads are properly supported by the delegating renderer.
BUG=340695
TEST=cc_unittests --gtest_filter=*RasterizeOnDemand*
Review URL: https://codereview.chromium.org/157743007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.h')
-rw-r--r-- | cc/test/fake_tile_manager.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cc/test/fake_tile_manager.h b/cc/test/fake_tile_manager.h index 552c0f8..710b400 100644 --- a/cc/test/fake_tile_manager.h +++ b/cc/test/fake_tile_manager.h @@ -19,7 +19,11 @@ class FakeTileManager : public TileManager { ResourceProvider* resource_provider); FakeTileManager(TileManagerClient* client, ResourceProvider* resource_provider, + bool allow_on_demand_raster); + FakeTileManager(TileManagerClient* client, + ResourceProvider* resource_provider, size_t raster_task_limit_bytes); + virtual ~FakeTileManager(); bool HasBeenAssignedMemory(Tile* tile); void AssignMemoryToTiles( @@ -27,7 +31,7 @@ class FakeTileManager : public TileManager { void CheckForCompletedTasks(); - virtual ~FakeTileManager(); + void DidFinishRunningTasksForTesting(); virtual void Release(Tile* tile) OVERRIDE; |