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

Issue 2032213002: cc: Put to_target and to_screen behind an accessor. (Closed)

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

Description

cc: Put to_target and to_screen behind an accessor. Target-related information will eventually be removed from transform tree and computed when needed. This CL wraps the target-related information in transform tree in an accessor, so that we can hide the implementations of the accessor, thus we can make the code work with either the old way or the new way of computing the information each time we need it. BUG=597721 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/2c5f8d42b4bc2282953fb4c724831b8d7aac98f1 Cr-Commit-Position: refs/heads/master@{#398989}

Patch Set 1 #

Patch Set 2 : Put target_id behind accessor #

Total comments: 3

Patch Set 3 : Add a cache structure to transform tree #

Patch Set 4 : Rename ids to node_ids #

Total comments: 6

Patch Set 5 : Resolve comments #

Total comments: 1

Patch Set 6 : Delete obsolete comments #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+356 lines, -202 lines) Patch
M cc/proto/property_tree.proto View 1 2 3 chunks +11 lines, -6 lines 0 comments Download
M cc/trees/draw_property_utils.cc View 1 2 3 4 5 6 17 chunks +29 lines, -24 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 4 6 chunks +47 lines, -12 lines 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 4 5 25 chunks +176 lines, -64 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 3 4 5 6 1 chunk +11 lines, -7 lines 0 comments Download
M cc/trees/property_tree_unittest.cc View 1 2 3 4 21 chunks +80 lines, -87 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 37 (17 generated)
sunxd
4 years, 6 months ago (2016-06-03 17:27:01 UTC) #3
ajuma
It'd be nice to enforce the use of the accessors (right now the fields are ...
4 years, 6 months ago (2016-06-03 19:35:29 UTC) #4
sunxd
4 years, 6 months ago (2016-06-07 19:21:08 UTC) #5
ajuma
Just a few nits: https://codereview.chromium.org/2032213002/diff/60001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2032213002/diff/60001/cc/trees/property_tree.cc#newcode1424 cc/trees/property_tree.cc:1424: cached_data_.pop_back(); Can we just read ...
4 years, 6 months ago (2016-06-07 19:51:01 UTC) #6
sunxd
https://codereview.chromium.org/2032213002/diff/60001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2032213002/diff/60001/cc/trees/property_tree.cc#newcode1424 cc/trees/property_tree.cc:1424: cached_data_.pop_back(); On 2016/06/07 19:51:01, ajuma wrote: > Can we ...
4 years, 6 months ago (2016-06-07 20:34:22 UTC) #7
ajuma
Thanks, lgtm https://codereview.chromium.org/2032213002/diff/80001/cc/trees/property_tree.cc File cc/trees/property_tree.cc (right): https://codereview.chromium.org/2032213002/diff/80001/cc/trees/property_tree.cc#newcode1423 cc/trees/property_tree.cc:1423: // delete the node created when initializing ...
4 years, 6 months ago (2016-06-07 20:39:19 UTC) #8
sunxd
4 years, 6 months ago (2016-06-07 20:47:20 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032213002/100001
4 years, 6 months ago (2016-06-07 21:02:46 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/196547)
4 years, 6 months ago (2016-06-07 21:29:58 UTC) #16
sunxd
Hi jbroman@, Can you review the changes under third_party/WebKit/Source/platform/graphics/? Thanks!
4 years, 6 months ago (2016-06-07 23:15:11 UTC) #19
jbroman
lgtm
4 years, 6 months ago (2016-06-08 14:39:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032213002/100001
4 years, 6 months ago (2016-06-08 14:43:00 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/235470)
4 years, 6 months ago (2016-06-08 16:33:55 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032213002/120001
4 years, 6 months ago (2016-06-08 17:15:17 UTC) #27
sunxd
4 years, 6 months ago (2016-06-08 17:15:19 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/226612)
4 years, 6 months ago (2016-06-08 19:41:11 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2032213002/120001
4 years, 6 months ago (2016-06-09 17:53:02 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 6 months ago (2016-06-09 20:05:57 UTC) #34
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 20:06:18 UTC) #35
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 20:07:09 UTC) #37
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/2c5f8d42b4bc2282953fb4c724831b8d7aac98f1
Cr-Commit-Position: refs/heads/master@{#398989}

Powered by Google App Engine
This is Rietveld 408576698