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

Issue 2608543002: Store compositor element id in paint properties for animated objects. (Closed)

Created:
3 years, 11 months ago by wkorman
Modified:
3 years, 11 months ago
Reviewers:
pdr., Xianzhu
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, Xianzhu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Store compositor element id in paint properties for animated objects. BUG=674258, 674317 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/8a4ccdb5a2bef0e128a64cea83fa9de3daf785a8 Cr-Commit-Position: refs/heads/master@{#441255}

Patch Set 1 #

Patch Set 2 : Move element id to paint property nodes. #

Total comments: 7

Patch Set 3 : Update toString. #

Patch Set 4 : Sync to head. #

Total comments: 5

Patch Set 5 : Feedback. #

Patch Set 6 : Hide create-dom-node method. #

Messages

Total messages: 53 (24 generated)
wkorman
3 years, 11 months ago (2016-12-28 19:22:38 UTC) #3
Xianzhu
In what cases will an object change its compositor element id? Do we need extra ...
3 years, 11 months ago (2016-12-28 19:33:43 UTC) #6
wkorman
Update -- I am going to rework this patch per discussion with chrishtr@ just now ...
3 years, 11 months ago (2016-12-28 20:47:22 UTC) #7
Xianzhu
On 2016/12/28 20:47:22, wkorman wrote: > > Do we need to check under-invalidation of paint ...
3 years, 11 months ago (2016-12-29 06:01:29 UTC) #10
wkorman
https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: if (style.hasCurrentTransformAnimation()) { To call out, I made a ...
3 years, 11 months ago (2016-12-29 20:22:55 UTC) #12
Xianzhu
https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: if (style.hasCurrentTransformAnimation()) { On 2016/12/29 20:22:54, wkorman wrote: > ...
3 years, 11 months ago (2016-12-29 20:40:38 UTC) #16
wkorman
https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:380: if (style.hasCurrentTransformAnimation()) { On 2016/12/29 at 20:40:38, Xianzhu wrote: ...
3 years, 11 months ago (2016-12-29 20:59:15 UTC) #17
wkorman
https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h File third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h (right): https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h#newcode163 third_party/WebKit/Source/platform/graphics/paint/EffectPaintPropertyNode.h:163: CompositorElementId m_compositorElementId; On 2016/12/29 at 20:40:38, Xianzhu wrote: > ...
3 years, 11 months ago (2016-12-29 20:59:47 UTC) #18
chrishtr
On 2016/12/29 at 20:59:15, wkorman wrote: > https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp > File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): > > https://codereview.chromium.org/2608543002/diff/20001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode380 ...
3 years, 11 months ago (2016-12-29 21:01:41 UTC) #19
wkorman
On 2016/12/29 at 21:01:41, chrishtr wrote: > On 2016/12/29 at 20:59:15, wkorman wrote: > > ...
3 years, 11 months ago (2016-12-29 21:06:55 UTC) #20
wkorman
On 2016/12/29 at 21:06:55, wkorman wrote: > Personally I much prefer the test fixture data ...
3 years, 11 months ago (2016-12-29 21:13:42 UTC) #21
chrishtr
On 2016/12/29 at 21:13:42, wkorman wrote: > On 2016/12/29 at 21:06:55, wkorman wrote: > > ...
3 years, 11 months ago (2016-12-29 21:28:44 UTC) #22
Xianzhu
lgtm. I think for the two test files, the pros are bigger than the cons. ...
3 years, 11 months ago (2016-12-30 01:51:42 UTC) #23
wkorman
On 2016/12/30 at 01:51:42, wangxianzhu wrote: > lgtm. > > I think for the two ...
3 years, 11 months ago (2016-12-30 08:15:59 UTC) #24
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/2608543002/40001
3 years, 11 months ago (2016-12-30 08:18:37 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/128960) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 11 months ago (2016-12-30 08:20:09 UTC) #28
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/2608543002/60001
3 years, 11 months ago (2016-12-30 22:49:47 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/333591)
3 years, 11 months ago (2016-12-30 22:54:56 UTC) #33
wkorman
chrishtr@ requesting OWNERS for platform/graphics/paint.
3 years, 11 months ago (2016-12-30 23:03:24 UTC) #34
wkorman
+pdr for platform OWNERS
3 years, 11 months ago (2017-01-03 19:43:51 UTC) #36
pdr.
LGTM just two minor comments. https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode497 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:497: CompositorElementId compositorElementId; Could you ...
3 years, 11 months ago (2017-01-03 21:29:04 UTC) #37
wkorman
https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode497 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:497: CompositorElementId compositorElementId; On 2017/01/03 at 21:29:04, pdr. wrote: > ...
3 years, 11 months ago (2017-01-03 22:04:40 UTC) #38
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/2608543002/80001
3 years, 11 months ago (2017-01-03 22:07:05 UTC) #41
wkorman
https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp File third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp (right): https://codereview.chromium.org/2608543002/diff/60001/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp#newcode851 third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp:851: void PaintPropertyTreeBuilder::updateCompositorElementId( On 2017/01/03 at 22:04:40, wkorman wrote: > ...
3 years, 11 months ago (2017-01-03 22:15:25 UTC) #43
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/2608543002/100001
3 years, 11 months ago (2017-01-03 22:16:09 UTC) #46
commit-bot: I haz the power
Committed patchset #6 (id:100001)
3 years, 11 months ago (2017-01-03 23:56:08 UTC) #49
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/8a4ccdb5a2bef0e128a64cea83fa9de3daf785a8 Cr-Commit-Position: refs/heads/master@{#441255}
3 years, 11 months ago (2017-01-03 23:57:42 UTC) #51
loyso (OOO)
On 2016/12/29 at 20:59:15, wkorman wrote: > Yes, we use DOMNodeIds::idForNode() which uses a WeakIdentifierMap, ...
3 years, 11 months ago (2017-01-05 03:50:43 UTC) #52
wkorman
3 years, 11 months ago (2017-01-05 20:28:49 UTC) #53
Message was sent while issue was closed.
On 2017/01/05 at 03:50:43, loyso wrote:
> esprehn@ insisted on DOMNodeids usage.
> See comments in prototype CLs:
> https://codereview.chromium.org/1944623002
> https://codereview.chromium.org/1921503008
> An alternate solution was to always assign some unique 32 bit id with optional
reverse mapping (id->blink::Element*), given that some subsystems run composited
animations
> on layers which have no source blink::Node (Android Link Highlights and
Programmatic scroll animator)

Ah, thanks for the change references, I hadn't seen those. What do we use today
for CompositorElementId for link highlights and programmatic scroll? In both
cases it seems like there should be some blink::Node that I'd think we could
logically consider canonical for that case (the anchor link, or the scrollable
view, for example).

Powered by Google App Engine
This is Rietveld 408576698