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

Issue 1907053004: cc: Make CallFunctionForEveryLayer use LayerListIterator (Closed)

Created:
4 years, 8 months ago by sunxd
Modified:
4 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make CallFunctionForEveryLayer use LayerListIterator Now that we have a main thread and impl thread layer list iterator. We should use the iterator to perform those methods on every layer. The old traversal way should be abandoned. CallFunctionForEveryLayer is expected to call function for all mask_layers and replica_layers. BUG=603181 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/859104151c4a26dc2c9d1e3337253ef8ddc126f3 Cr-Commit-Position: refs/heads/master@{#389487}

Patch Set 1 #

Patch Set 2 : Recover CallFunctionForEveryLayer #

Total comments: 1

Patch Set 3 : FindLayers should skip layers instead of returning when switching from call-function to iteration l… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -120 lines) Patch
M cc/debug/debug_rect_history.cc View 1 3 chunks +3 lines, -6 lines 0 comments Download
M cc/debug/invalidation_benchmark.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/debug/rasterize_and_record_benchmark_impl.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M cc/layers/layer_proto_converter.cc View 1 1 chunk +1 line, -2 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 1 chunk +22 lines, -25 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host_common.h View 1 3 chunks +13 lines, -43 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 1 chunk +2 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_serialization.cc View 1 2 chunks +4 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 3 chunks +6 lines, -12 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
sunxd
4 years, 8 months ago (2016-04-21 21:16:16 UTC) #4
jaydasika
On 2016/04/21 21:16:16, sunxd wrote: Instead of checking for masks and replicas everywhere, I have ...
4 years, 8 months ago (2016-04-21 21:49:25 UTC) #5
ajuma
There seem to be a lot of places where we want to call a function ...
4 years, 8 months ago (2016-04-21 21:50:00 UTC) #6
sunxd
On 2016/04/21 21:50:00, ajuma wrote: > There seem to be a lot of places where ...
4 years, 8 months ago (2016-04-22 14:43:58 UTC) #7
sunxd
4 years, 8 months ago (2016-04-22 14:44:54 UTC) #8
Ian Vollick
On 2016/04/22 14:44:54, sunxd wrote: lgtm % ajuma/jaydasika, though you'll need to update your CL's ...
4 years, 8 months ago (2016-04-22 15:57:28 UTC) #9
jaydasika
lgtm
4 years, 8 months ago (2016-04-22 16:27:19 UTC) #10
ajuma
lgtm too
4 years, 8 months ago (2016-04-22 17:23:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053004/20001
4 years, 8 months ago (2016-04-22 17:40:46 UTC) #13
sunxd
4 years, 8 months ago (2016-04-22 18:40:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (JOB_FAILED, http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/85131)
4 years, 8 months ago (2016-04-22 19:06:35 UTC) #17
Ian Vollick
https://codereview.chromium.org/1907053004/diff/20001/cc/trees/draw_property_utils.cc File cc/trees/draw_property_utils.cc (right): https://codereview.chromium.org/1907053004/diff/20001/cc/trees/draw_property_utils.cc#newcode429 cc/trees/draw_property_utils.cc:429: effect_tree)) I believe that this should be a continue, ...
4 years, 8 months ago (2016-04-23 00:50:24 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053004/40001
4 years, 8 months ago (2016-04-25 14:20:08 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/127062)
4 years, 8 months ago (2016-04-25 14:27:10 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053004/40001
4 years, 8 months ago (2016-04-25 14:39:41 UTC) #25
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_x86-generic_chromium_compile_only_ng/builds/127081)
4 years, 8 months ago (2016-04-25 14:46:44 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1907053004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1907053004/40001
4 years, 8 months ago (2016-04-25 15:48:41 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-25 16:07:30 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-04-25 16:09:25 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/859104151c4a26dc2c9d1e3337253ef8ddc126f3
Cr-Commit-Position: refs/heads/master@{#389487}

Powered by Google App Engine
This is Rietveld 408576698