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

Issue 1973083002: Use element id's for animations (Closed)

Created:
4 years, 7 months ago by Ian Vollick
Modified:
4 years, 5 months ago
CC:
darktears, blink-layers+watch_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-api_chromium.org, blink-reviews-layout_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj+watch_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, Eric Willigers, f(malita), jbauman+watch_chromium.org, jchaffraix+rendering, Justin Novosad, kalyank, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, piman+watch_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, sievers+watch_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use element id's for animations. The goal of this CL is to migrate cc's animation code away from layer id's in anticipation of SPv2. The ids chosen are a minor tweak on DOMNodeIds for blink. Other clients of cc may essentially continue using their respective layer id's as identifiers. cc itself remains ignorant of the semantic meaning of these ids, treating them as an opaque identifier. This change is extremely similar to loyso@'s earlier CL crrev.com/1944623002, the significant difference being the scheme for choosing the ids. Notable changes in this CL * Introduces an ElementId structure. * Augments DOMNodeIds in order to handle sub elements (eg, for scroll and link highlight layers). * Removal of ElementLayers from cc BUG=616542 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/51659f1ad58fc058ebb95907734ce6b2c887898d Committed: https://crrev.com/ef2ae922636be42ce063a534496f162c587d0e76 Cr-Original-Commit-Position: refs/heads/master@{#398366} Cr-Commit-Position: refs/heads/master@{#402863}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : just the good bits. #

Patch Set 7 : closer to working #

Patch Set 8 : poster circle now works. #

Patch Set 9 : closer to cc_unittests passing (8 fail, 6 crash. or vice versa. I forget.) #

Patch Set 10 : cc_unittests pass. #

Patch Set 11 : . #

Patch Set 12 : missed some files. #

Patch Set 13 : . #

Patch Set 14 : . #

Patch Set 15 : . #

Patch Set 16 : mollifying bots #

Patch Set 17 : . #

Patch Set 18 : ugh. #

Patch Set 19 : fix blink and webkit unit tests #

Patch Set 20 : Replace some removed tests. #

Patch Set 21 : . #

Patch Set 22 : Define custom hasher for ElementId #

Patch Set 23 : Use ElementId #

Patch Set 24 : self nits. #

Patch Set 25 : get element id's from scroll node data directly. #

Total comments: 20

Patch Set 26 : respond to reviewer feedback. #

Total comments: 2

Patch Set 27 : . #

Total comments: 20

Patch Set 28 : . #

Patch Set 29 : rebase #

Patch Set 30 : updated CompositorMutableStateTest. #

Total comments: 4

Patch Set 31 : address reviewer feedback #

Total comments: 4

Patch Set 32 : address reviewer feedback #

Patch Set 33 : . #

Patch Set 34 : . #

Patch Set 35 : . #

Patch Set 36 : . #

Total comments: 2

Patch Set 37 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+998 lines, -560 lines) Patch
M cc/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -0 lines 0 comments Download
M cc/animation/animation_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +3 lines, -1 line 0 comments Download
M cc/animation/animation_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +4 lines, -3 lines 0 comments Download
M cc/animation/animation_host_perftest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -1 line 0 comments Download
M cc/animation/animation_player.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 3 chunks +3 lines, -4 lines 0 comments Download
M cc/animation/animation_player_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 5 chunks +12 lines, -12 lines 0 comments Download
M cc/animation/element_animations_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +3 lines, -3 lines 0 comments Download
A cc/animation/element_id.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 1 chunk +81 lines, -0 lines 0 comments Download
A cc/animation/element_id.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +67 lines, -0 lines 0 comments Download
M cc/animation/scroll_offset_animations.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +1 line, -1 line 0 comments Download
M cc/blink/web_layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -2 lines 0 comments Download
M cc/blink/web_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -2 lines 0 comments Download
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +3 lines, -0 lines 0 comments Download
M cc/input/scroll_state_data.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -3 lines 0 comments Download
M cc/input/scroll_state_data.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +7 lines, -5 lines 0 comments Download
M cc/layers/layer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +26 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -3 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +9 lines, -6 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +2 lines, -2 lines 0 comments Download
M cc/layers/layer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +4 lines, -4 lines 0 comments Download
M cc/layers/layer_utils_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 15 chunks +34 lines, -28 lines 0 comments Download
M cc/proto/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
A + cc/proto/element_id.proto View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +7 lines, -6 lines 0 comments Download
M cc/proto/property_tree.proto View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +3 lines, -2 lines 0 comments Download
M cc/test/animation_test_common.h View 1 2 3 4 5 6 7 8 2 chunks +22 lines, -20 lines 0 comments Download
M cc/test/animation_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 5 chunks +30 lines, -29 lines 0 comments Download
M cc/test/animation_timelines_test_common.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 3 chunks +6 lines, -6 lines 0 comments Download
M cc/test/animation_timelines_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 5 chunks +9 lines, -9 lines 0 comments Download
M cc/test/layer_test_common.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +4 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +10 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 10 chunks +59 lines, -25 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 41 chunks +122 lines, -76 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +4 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 8 chunks +27 lines, -18 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 14 chunks +38 lines, -16 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 33 chunks +49 lines, -39 lines 0 comments Download
M cc/trees/layer_tree_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 4 chunks +10 lines, -12 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 12 chunks +53 lines, -52 lines 0 comments Download
M cc/trees/mutator_host_client.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M cc/trees/property_tree.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +2 lines, -1 line 0 comments Download
M cc/trees/property_tree.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 4 chunks +4 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/threaded/animations/cancel-unattached-animation.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/threaded/animations/resources/cancel-unattached-animation-frame.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 1 chunk +19 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/animation/CompositorAnimations.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +7 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.h View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/animation/KeyframeEffect.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/VisualViewport.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +44 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollState.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +4 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/animation/CompositorAnimationPlayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/CompositorElementId.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +25 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateProvider.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 5 chunks +7 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayer.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsLayerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorCompositorCoordinator.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 6 chunks +19 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 3 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/tests/CompositorWorkerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 6 chunks +10 lines, -13 lines 0 comments Download
M third_party/WebKit/public/platform/WebLayer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +3 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +2 lines, -0 lines 0 comments Download
M ui/compositor/layer_animator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 63 (23 generated)
loyso (OOO)
Simply speaking, this CL proposes to treat ElementId as: struct AnimationTargetId { int layer_id; int ...
4 years, 7 months ago (2016-05-13 05:44:25 UTC) #3
loyso (OOO)
Note that I want to rename ElementId into MutatorElementId. I would go with AnimationTarget but ...
4 years, 7 months ago (2016-05-13 06:14:04 UTC) #4
Ian Vollick
Sorry for the slow reply, I was on vacation yesterday. I should also mention that ...
4 years, 7 months ago (2016-05-17 21:56:01 UTC) #5
Ian Vollick
https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h File cc/animation/element_id.h (right): https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h#newcode33 cc/animation/element_id.h:33: struct CC_EXPORT ElementId { Why a struct? 1. Catch ...
4 years, 6 months ago (2016-06-01 18:08:25 UTC) #8
Ian Vollick
https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h File cc/animation/element_id.h (right): https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h#newcode33 cc/animation/element_id.h:33: struct CC_EXPORT ElementId { Why a struct? 1. Catch ...
4 years, 6 months ago (2016-06-01 18:08:26 UTC) #9
ajuma
I like this approach. https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h File cc/animation/element_id.h (right): https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h#newcode48 cc/animation/element_id.h:48: uint64_t value; On 2016/06/01 18:08:25, ...
4 years, 6 months ago (2016-06-01 23:53:42 UTC) #10
Ian Vollick
https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h File cc/animation/element_id.h (right): https://codereview.chromium.org/1973083002/diff/470001/cc/animation/element_id.h#newcode48 cc/animation/element_id.h:48: uint64_t value; On 2016/06/01 at 23:53:42, ajuma wrote: > ...
4 years, 6 months ago (2016-06-02 19:03:12 UTC) #11
ajuma
Thanks, lgtm https://codereview.chromium.org/1973083002/diff/490001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/1973083002/diff/490001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode1544 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:1544: m_graphicsLayer->setElementId(CompositorElementId(elementId)); Just for the sake of consistency, ...
4 years, 6 months ago (2016-06-02 19:37:27 UTC) #12
Ian Vollick
loyso, can you PTAL at this approach? +rbyers for public/platform/ +bokan for Source/web/ cc'd jbroman ...
4 years, 6 months ago (2016-06-02 19:56:30 UTC) #18
jbroman
https://codereview.chromium.org/1973083002/diff/510001/cc/animation/element_id.cc File cc/animation/element_id.cc (right): https://codereview.chromium.org/1973083002/diff/510001/cc/animation/element_id.cc#newcode16 cc/animation/element_id.cc:16: bool CC_EXPORT operator==(uint64_t o, const ElementId& e) { What's ...
4 years, 6 months ago (2016-06-02 20:20:22 UTC) #20
jbroman
That was a little more of a review than I intended, but since I had ...
4 years, 6 months ago (2016-06-02 20:21:14 UTC) #21
Rick Byers
On 2016/06/02 19:56:30, vollick wrote: > loyso, can you PTAL at this approach? > > ...
4 years, 6 months ago (2016-06-02 20:31:15 UTC) #22
esprehn
Can you write a better change description? :) Neither this, or the bug, have much ...
4 years, 6 months ago (2016-06-03 02:17:28 UTC) #23
loyso (OOO)
Well, it resembles my previous approaches: 1) crrev.com/1922393002 CC Animation: Unify ElementId in Blink Compositor ...
4 years, 6 months ago (2016-06-03 02:32:07 UTC) #24
loyso (OOO)
Overall approach looks good! https://codereview.chromium.org/1973083002/diff/510001/cc/animation/element_id.h File cc/animation/element_id.h (right): https://codereview.chromium.org/1973083002/diff/510001/cc/animation/element_id.h#newcode37 cc/animation/element_id.h:37: inline bool operator==(const ElementId& o) ...
4 years, 6 months ago (2016-06-03 02:45:34 UTC) #25
bokan
https://codereview.chromium.org/1973083002/diff/510001/third_party/WebKit/Source/web/LinkHighlightImpl.cpp File third_party/WebKit/Source/web/LinkHighlightImpl.cpp (right): https://codereview.chromium.org/1973083002/diff/510001/third_party/WebKit/Source/web/LinkHighlightImpl.cpp#newcode98 third_party/WebKit/Source/web/LinkHighlightImpl.cpp:98: m_compositorPlayer->attachElement(CompositorElementId(elementId)); Can't you just pass elementId here (and below) ...
4 years, 6 months ago (2016-06-03 15:09:21 UTC) #26
Ian Vollick
> Can you write a better change description? :) Neither this, or the bug, have ...
4 years, 6 months ago (2016-06-03 19:31:21 UTC) #28
bokan
thanks. Source/web lgtm
4 years, 6 months ago (2016-06-03 19:34:32 UTC) #29
Ian Vollick
On 2016/06/03 19:34:32, bokan wrote: > thanks. Source/web lgtm Unsurprisingly, big patch needs a big ...
4 years, 6 months ago (2016-06-03 19:57:41 UTC) #30
Ian Vollick
On 2016/06/03 19:57:41, vollick wrote: > On 2016/06/03 19:34:32, bokan wrote: > > thanks. Source/web ...
4 years, 6 months ago (2016-06-06 13:33:51 UTC) #31
jbroman
Seems reasonable to me. (I haven't inspected all of the details, but much of it ...
4 years, 6 months ago (2016-06-06 14:23:20 UTC) #32
Ian Vollick
https://codereview.chromium.org/1973083002/diff/570001/third_party/WebKit/Source/platform/graphics/CompositorElementId.h File third_party/WebKit/Source/platform/graphics/CompositorElementId.h (right): https://codereview.chromium.org/1973083002/diff/570001/third_party/WebKit/Source/platform/graphics/CompositorElementId.h#newcode14 third_party/WebKit/Source/platform/graphics/CompositorElementId.h:14: Primary = 1, On 2016/06/06 14:23:20, jbroman wrote: > ...
4 years, 6 months ago (2016-06-06 16:31:30 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973083002/590001
4 years, 6 months ago (2016-06-07 00:52:22 UTC) #36
Ian Vollick
On 2016/06/07 00:52:22, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 6 months ago (2016-06-07 12:20:23 UTC) #38
ajuma
https://codereview.chromium.org/1973083002/diff/590001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/1973083002/diff/590001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode1545 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:1545: m_graphicsLayer->setElementId(createCompositorElementId(elementId, CompositorSubElementId::Primary)); This is implicitly relying on Primary having ...
4 years, 6 months ago (2016-06-07 13:44:01 UTC) #39
Ian Vollick
https://codereview.chromium.org/1973083002/diff/590001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp File third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/1973083002/diff/590001/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp#newcode1545 third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp:1545: m_graphicsLayer->setElementId(createCompositorElementId(elementId, CompositorSubElementId::Primary)); On 2016/06/07 13:44:01, ajuma wrote: > This ...
4 years, 6 months ago (2016-06-07 14:30:08 UTC) #40
ajuma
Thanks for the explanations! lgtm
4 years, 6 months ago (2016-06-07 14:39:33 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973083002/650001
4 years, 6 months ago (2016-06-07 16:56:08 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/240318)
4 years, 6 months ago (2016-06-07 17:57:33 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1973083002/650001
4 years, 6 months ago (2016-06-07 18:22:29 UTC) #48
commit-bot: I haz the power
Committed patchset #34 (id:650001)
4 years, 6 months ago (2016-06-07 20:05:37 UTC) #50
commit-bot: I haz the power
Patchset 34 (id:??) landed as https://crrev.com/51659f1ad58fc058ebb95907734ce6b2c887898d Cr-Commit-Position: refs/heads/master@{#398366}
4 years, 6 months ago (2016-06-07 20:07:10 UTC) #52
Ian Vollick
A revert of this CL (patchset #34 id:650001) has been created in https://codereview.chromium.org/2049063002/ by vollick@chromium.org. ...
4 years, 6 months ago (2016-06-08 13:40:46 UTC) #53
Ian Vollick
I'm elated to say that I've now got a test for my fix. (See virtual/threaded/animations/ ...
4 years, 5 months ago (2016-06-29 15:22:12 UTC) #54
Ian Vollick
On 2016/06/29 at 15:22:12, vollick wrote: > I'm elated to say that I've now got ...
4 years, 5 months ago (2016-06-29 15:43:01 UTC) #55
ajuma
On 2016/06/29 15:22:12, vollick wrote: > I'm elated to say that I've now got a ...
4 years, 5 months ago (2016-06-29 15:53:02 UTC) #56
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/1973083002/710001
4 years, 5 months ago (2016-06-29 17:06:52 UTC) #59
commit-bot: I haz the power
Committed patchset #37 (id:710001)
4 years, 5 months ago (2016-06-29 17:54:44 UTC) #60
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-06-29 17:54:52 UTC) #61
commit-bot: I haz the power
4 years, 5 months ago (2016-06-29 17:56:51 UTC) #63
Message was sent while issue was closed.
Patchset 37 (id:??) landed as
https://crrev.com/ef2ae922636be42ce063a534496f162c587d0e76
Cr-Commit-Position: refs/heads/master@{#402863}

Powered by Google App Engine
This is Rietveld 408576698