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

Issue 2565643002: [5/5] Add translated rasterization for PictureLayerImpl (Closed)

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

Description

[5/5] Add translated rasterization for PictureLayerImpl This CL implements raster translation update policy in PictureLayerImpl, so that raster translation is only recomputed when there are changes that would typically recompute the raster scale. Also when a pending layer gets a new raster translation that results in a slot conflict with its twins, this CL make sure all tiles are generated for the new tiling and old ones are evicted. This CL completes the fractional translated layer series. The end-to-end result is that indirectly composited Blink layers would be rasterized in its target space, similar to how non-composited layers are rendered. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2565643002 Cr-Commit-Position: refs/heads/master@{#470722} Committed: https://chromium.googlesource.com/chromium/src/+/7b14a47b548f3d100a6bd6b163832b71e0236afd

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase && add unittests for slot conflict resolution and raster translation update policy #

Total comments: 11

Patch Set 3 : all done #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : rebase #

Patch Set 7 : forgot to update cc_perftests too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+220 lines, -32 lines) Patch
M cc/layers/picture_layer_impl.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/layers/picture_layer_impl.cc View 1 2 3 4 5 5 chunks +52 lines, -11 lines 0 comments Download
M cc/layers/picture_layer_impl_perftest.cc View 1 2 3 4 5 6 3 chunks +14 lines, -11 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 2 3 4 5 3 chunks +147 lines, -6 lines 0 comments Download
M cc/test/fake_picture_layer_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/tiles/picture_layer_tiling_set.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 36 (20 generated)
enne (OOO)
https://codereview.chromium.org/2565643002/diff/1/cc/layers/picture_layer_impl.cc File cc/layers/picture_layer_impl.cc (right): https://codereview.chromium.org/2565643002/diff/1/cc/layers/picture_layer_impl.cc#newcode912 cc/layers/picture_layer_impl.cc:912: if (high_res && high_res->raster_transform().translation() != raster_translation) { This logic ...
3 years, 11 months ago (2017-01-03 22:54:00 UTC) #3
enne (OOO)
https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode5010 cc/layers/picture_layer_impl_unittest.cc:5010: // Mark some arbitrary flags on the tiles for ...
3 years, 8 months ago (2017-03-29 13:28:59 UTC) #6
trchen
https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode5010 cc/layers/picture_layer_impl_unittest.cc:5010: // Mark some arbitrary flags on the tiles for ...
3 years, 8 months ago (2017-03-30 21:48:47 UTC) #7
enne (OOO)
https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode5101 cc/layers/picture_layer_impl_unittest.cc:5101: // Verifies the active tiles get evicted due to ...
3 years, 8 months ago (2017-03-30 21:55:24 UTC) #8
trchen
All done. Thanks for reviewing the long series! https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc File cc/layers/picture_layer_impl_unittest.cc (right): https://codereview.chromium.org/2565643002/diff/20001/cc/layers/picture_layer_impl_unittest.cc#newcode5010 cc/layers/picture_layer_impl_unittest.cc:5010: // ...
3 years, 8 months ago (2017-03-30 22:40:48 UTC) #9
enne (OOO)
lgtm
3 years, 8 months ago (2017-03-31 14:29:48 UTC) #10
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/2565643002/120001
3 years, 7 months ago (2017-05-08 20:24:22 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/288385)
3 years, 7 months ago (2017-05-09 01:24:17 UTC) #19
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/2565643002/120001
3 years, 7 months ago (2017-05-09 05:44:15 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/288923)
3 years, 7 months ago (2017-05-09 07:27:34 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/2565643002/120001
3 years, 7 months ago (2017-05-09 19:09:47 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/449121)
3 years, 7 months ago (2017-05-09 20:59:09 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/2565643002/120001
3 years, 7 months ago (2017-05-10 01:45:34 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 03:48:46 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/2565643002/120001
3 years, 7 months ago (2017-05-10 20:12:25 UTC) #33
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 21:54:53 UTC) #36
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/7b14a47b548f3d100a6bd6b16383...

Powered by Google App Engine
This is Rietveld 408576698