Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Issue 157743007: cc: Prevent usage of rasterize on-demand with delegating renderer. (Closed)

Created:
6 years, 10 months ago by reveman
Modified:
6 years, 10 months ago
Reviewers:
danakj, piman
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

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* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250273

Patch Set 1 #

Total comments: 5

Patch Set 2 : remove RendererCapabilities::allow_rasterize_on_demand #

Patch Set 3 : add unit tests #

Patch Set 4 : one more unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+120 lines, -23 lines) Patch
M cc/output/delegating_renderer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/output/renderer.h View 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/renderer.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/output/software_renderer.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/tile_manager.h View 3 chunks +5 lines, -1 line 0 comments Download
M cc/resources/tile_manager.cc View 6 chunks +10 lines, -5 lines 0 comments Download
M cc/resources/tile_manager_unittest.cc View 1 2 5 chunks +51 lines, -6 lines 0 comments Download
M cc/test/fake_tile_manager.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M cc/test/fake_tile_manager.cc View 1 2 4 chunks +20 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 4 chunks +10 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
reveman
Please take a look asap.
6 years, 10 months ago (2014-02-08 06:39:55 UTC) #1
danakj
https://codereview.chromium.org/157743007/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/157743007/diff/1/cc/resources/tile_manager.cc#newcode315 cc/resources/tile_manager.cc:315: bool allow_rasterize_on_demand = How about setting allow_rasterize_on_demand = false ...
6 years, 10 months ago (2014-02-10 16:39:43 UTC) #2
reveman
https://codereview.chromium.org/157743007/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): https://codereview.chromium.org/157743007/diff/1/cc/resources/tile_manager.cc#newcode315 cc/resources/tile_manager.cc:315: bool allow_rasterize_on_demand = On 2014/02/10 16:39:43, danakj wrote: > ...
6 years, 10 months ago (2014-02-10 17:16:03 UTC) #3
danakj
LGTM, but is there a test we can add for this? https://codereview.chromium.org/157743007/diff/1/cc/resources/tile_manager.cc File cc/resources/tile_manager.cc (right): ...
6 years, 10 months ago (2014-02-10 17:46:22 UTC) #4
piman
lgtm
6 years, 10 months ago (2014-02-10 19:23:29 UTC) #5
reveman
Added some unit tests.
6 years, 10 months ago (2014-02-10 21:04:05 UTC) #6
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-10 21:04:19 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/157743007/240001
6 years, 10 months ago (2014-02-10 21:05:48 UTC) #8
danakj
Thanks for the tests LGTM
6 years, 10 months ago (2014-02-10 21:08:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/157743007/240001
6 years, 10 months ago (2014-02-10 22:51:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/157743007/240001
6 years, 10 months ago (2014-02-10 23:46:52 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-11 01:56:39 UTC) #12
Message was sent while issue was closed.
Change committed as 250273

Powered by Google App Engine
This is Rietveld 408576698