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

Issue 2566613002: [4/5] Add translated rasterization support for PictureLayerTilingSet & below (Closed)

Created:
4 years ago by trchen
Modified:
3 years, 8 months ago
Reviewers:
enne (OOO)
CC:
cc-bugs_chromium.org, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[4/5] Add translated rasterization support for PictureLayerTilingSet & below This CL extends PictureLayerTiling to support tiles rasterized with scale and translation. Tilings still use only the scale factor as their key. It is an error to have tilings with the same scale but a different translation in the same PictureLayerTilingSet. This CL implements a policy to evict old tiling when syncing from a tiling set with a slot conflict. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2566613002 Cr-Commit-Position: refs/heads/master@{#463022} Committed: https://chromium.googlesource.com/chromium/src/+/45739334a54b563922c9af81bfa2519787d453fa

Patch Set 1 #

Total comments: 4

Patch Set 2 : rebase & add unitests for coverage verification and slot conflict resolution #

Total comments: 4

Patch Set 3 : comments added #

Patch Set 4 : rebase #

Patch Set 5 : add test rebaseline #

Patch Set 6 : rebaseline test #

Patch Set 7 : rebase && 1 more test expectation #

Patch Set 8 : still need that rebaseline #

Unified diffs Side-by-side diffs Delta from patch set Stats (+724 lines, -409 lines) Patch
M cc/benchmarks/rasterize_and_record_benchmark_impl.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 5 chunks +15 lines, -11 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 96 chunks +235 lines, -207 lines 0 comments Download
M cc/test/fake_picture_layer_tiling_client.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M cc/tiles/picture_layer_tiling.h View 1 2 7 chunks +24 lines, -6 lines 0 comments Download
M cc/tiles/picture_layer_tiling.cc View 1 2 19 chunks +65 lines, -45 lines 0 comments Download
M cc/tiles/picture_layer_tiling_set.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/tiles/picture_layer_tiling_set.cc View 1 2 11 chunks +21 lines, -15 lines 0 comments Download
M cc/tiles/picture_layer_tiling_set_unittest.cc View 1 2 20 chunks +106 lines, -33 lines 0 comments Download
M cc/tiles/picture_layer_tiling_unittest.cc View 1 2 18 chunks +151 lines, -31 lines 0 comments Download
M cc/tiles/tile.h View 1 2 4 chunks +9 lines, -5 lines 0 comments Download
M cc/tiles/tile.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M cc/tiles/tile_manager.cc View 1 2 3 4 5 6 7 chunks +12 lines, -11 lines 0 comments Download
M cc/tiles/tile_manager_unittest.cc View 1 2 3 4 15 chunks +42 lines, -22 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_picture.cc View 1 2 6 chunks +25 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/animations/skew-notsequential-compositor-expected.png View 1 2 3 4 5 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/css3/blending/background-blend-mode-overlapping-accelerated-elements-expected.png View 1 2 3 4 5 6 Binary file 0 comments Download

Messages

Total messages: 42 (23 generated)
enne (OOO)
More testing! https://codereview.chromium.org/2566613002/diff/1/cc/tiles/picture_layer_tiling.cc File cc/tiles/picture_layer_tiling.cc (right): https://codereview.chromium.org/2566613002/diff/1/cc/tiles/picture_layer_tiling.cc#newcode416 cc/tiles/picture_layer_tiling.cc:416: gfx::RectF content_rect = coverage_to_content_.TransformRect(gfx::RectF(coverage_rect_)); Iterator changes definitely ...
3 years, 11 months ago (2017-01-03 22:53:53 UTC) #3
trchen
https://codereview.chromium.org/2566613002/diff/1/cc/tiles/picture_layer_tiling.cc File cc/tiles/picture_layer_tiling.cc (right): https://codereview.chromium.org/2566613002/diff/1/cc/tiles/picture_layer_tiling.cc#newcode416 cc/tiles/picture_layer_tiling.cc:416: gfx::RectF content_rect = coverage_to_content_.TransformRect(gfx::RectF(coverage_rect_)); On 2017/01/03 22:53:53, enne wrote: ...
3 years, 8 months ago (2017-03-28 21:44:01 UTC) #5
enne (OOO)
lgtm % request for comments https://codereview.chromium.org/2566613002/diff/20001/cc/tiles/picture_layer_tiling.cc File cc/tiles/picture_layer_tiling.cc (right): https://codereview.chromium.org/2566613002/diff/20001/cc/tiles/picture_layer_tiling.cc#newcode47 cc/tiles/picture_layer_tiling.cc:47: DCHECK_GE(raster_transform.translation().x(), 0.f); Can you ...
3 years, 8 months ago (2017-03-29 12:57:37 UTC) #7
trchen
https://codereview.chromium.org/2566613002/diff/20001/cc/tiles/picture_layer_tiling.cc File cc/tiles/picture_layer_tiling.cc (right): https://codereview.chromium.org/2566613002/diff/20001/cc/tiles/picture_layer_tiling.cc#newcode47 cc/tiles/picture_layer_tiling.cc:47: DCHECK_GE(raster_transform.translation().x(), 0.f); On 2017/03/29 12:57:37, enne wrote: > Can ...
3 years, 8 months ago (2017-03-30 22:17:32 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/60001
3 years, 8 months ago (2017-04-04 17:35:30 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/7506)
3 years, 8 months ago (2017-04-04 19:05:03 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/60001
3 years, 8 months ago (2017-04-04 23:25:35 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_trusty_blink_rel on master.tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_trusty_blink_rel/builds/7546)
3 years, 8 months ago (2017-04-05 01:07:55 UTC) #17
trchen
The layout test failure was some rounding difference in texture sampling (pics uploaded). Likely due ...
3 years, 8 months ago (2017-04-05 20:43:45 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/100001
3 years, 8 months ago (2017-04-05 20:44:53 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/422922)
3 years, 8 months ago (2017-04-05 20:50:32 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/100001
3 years, 8 months ago (2017-04-05 21:55:25 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/423165)
3 years, 8 months ago (2017-04-05 23:08:06 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/100001
3 years, 8 months ago (2017-04-05 23:10:32 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/423267)
3 years, 8 months ago (2017-04-06 01:29:36 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/120001
3 years, 8 months ago (2017-04-07 04:57:47 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/424441)
3 years, 8 months ago (2017-04-07 06:46:23 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2566613002/140001
3 years, 8 months ago (2017-04-07 20:07:26 UTC) #39
commit-bot: I haz the power
3 years, 8 months ago (2017-04-07 22:36:27 UTC) #42
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/45739334a54b563922c9af81bfa2...

Powered by Google App Engine
This is Rietveld 408576698