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

Issue 2615773003: Replace LayerImpl::sorting_context_id with transform reference. (Closed)

Created:
3 years, 11 months ago by wkorman
Modified:
3 years, 11 months ago
Reviewers:
ajuma, chrishtr, vmpstr
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, ericrk, f(malita), jbroman, Justin Novosad, kinuko+watch, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace LayerImpl::sorting_context_id with transform reference. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Total comments: 3

Patch Set 2 : Remove sorting_context_id from LayerImpl. #

Patch Set 3 : Sync to head. #

Total comments: 6

Patch Set 4 : Update tests. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -130 lines) Patch
M cc/layers/layer.cc View 1 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_impl.h View 1 2 3 3 chunks +5 lines, -8 lines 0 comments Download
M cc/layers/layer_impl.cc View 1 2 3 7 chunks +10 lines, -10 lines 0 comments Download
M cc/layers/layer_impl_test_properties.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_impl_test_properties.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 3 chunks +0 lines, -4 lines 0 comments Download
M cc/layers/nine_patch_layer_impl_unittest.cc View 1 2 3 2 chunks +10 lines, -2 lines 0 comments Download
M cc/layers/picture_layer_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/layers/solid_color_layer_impl_unittest.cc View 1 2 3 6 chunks +21 lines, -38 lines 2 comments Download
M cc/layers/surface_layer_impl_unittest.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M cc/layers/ui_resource_layer_impl_unittest.cc View 1 2 3 6 chunks +24 lines, -10 lines 0 comments Download
M cc/layers/video_layer_impl.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_json_parser_unittest.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_common_unittest.cc View 1 10 chunks +33 lines, -28 lines 0 comments Download
M cc/trees/layer_tree_impl.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_impl_unittest.cc View 1 4 chunks +8 lines, -6 lines 0 comments Download
M cc/trees/occlusion_tracker_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M cc/trees/property_tree_builder.cc View 1 2 4 chunks +23 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 2 3 3 chunks +0 lines, -3 lines 0 comments Download

Messages

Total messages: 40 (19 generated)
wkorman
I looked into this and believe that the 3d sorting context id is still used ...
3 years, 11 months ago (2017-01-05 00:04:28 UTC) #3
ajuma
https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (left): https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#oldcode1178 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:1178: // queried by RenderSurfaceImpl. In theory, I think looking ...
3 years, 11 months ago (2017-01-05 00:22:20 UTC) #4
chrishtr
https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (left): https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#oldcode1178 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:1178: // queried by RenderSurfaceImpl. On 2017/01/05 at 00:22:20, ajuma ...
3 years, 11 months ago (2017-01-05 01:04:03 UTC) #5
ajuma
https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (left): https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#oldcode1178 third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp:1178: // queried by RenderSurfaceImpl. On 2017/01/05 01:04:03, chrishtr wrote: ...
3 years, 11 months ago (2017-01-05 14:13:21 UTC) #6
chrishtr
On 2017/01/05 at 14:13:21, ajuma wrote: > https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp > File third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp (left): > > https://codereview.chromium.org/2615773003/diff/1/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp#oldcode1178 ...
3 years, 11 months ago (2017-01-05 17:34:00 UTC) #7
wkorman
On 2017/01/05 at 17:34:00, chrishtr wrote: > On 2017/01/05 at 14:13:21, ajuma wrote: > > ...
3 years, 11 months ago (2017-01-05 22:32:57 UTC) #8
ajuma
On 2017/01/05 22:32:57, wkorman wrote: > On 2017/01/05 at 17:34:00, chrishtr wrote: > > On ...
3 years, 11 months ago (2017-01-05 22:39:09 UTC) #9
wkorman
On 2017/01/05 at 22:39:09, ajuma wrote: > We need to keep the sorting_context_id on cc::Layer ...
3 years, 11 months ago (2017-01-05 22:43:38 UTC) #10
wkorman
Updated to replace LayerImpl::sorting_context_id with reference of transform node for same, PTAL.
3 years, 11 months ago (2017-01-06 02:40:28 UTC) #12
wkorman
+vmpstr who helped me out with solid_color_layer_impl_unittest.cc in case he wants to see what is ...
3 years, 11 months ago (2017-01-06 02:53:38 UTC) #16
ajuma
https://codereview.chromium.org/2615773003/diff/40001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2615773003/diff/40001/cc/layers/layer_impl.cc#newcode1056 cc/layers/layer_impl.cc:1056: return (!property_trees || Looking at LayerTreeImpl::property_trees, I don't think ...
3 years, 11 months ago (2017-01-06 14:59:55 UTC) #19
wkorman
https://codereview.chromium.org/2615773003/diff/40001/cc/layers/layer_impl.cc File cc/layers/layer_impl.cc (right): https://codereview.chromium.org/2615773003/diff/40001/cc/layers/layer_impl.cc#newcode1056 cc/layers/layer_impl.cc:1056: return (!property_trees || On 2017/01/06 at 14:59:55, ajuma wrote: ...
3 years, 11 months ago (2017-01-06 22:50:02 UTC) #20
ajuma
Thanks, lgtm https://codereview.chromium.org/2615773003/diff/60001/cc/layers/solid_color_layer_impl_unittest.cc File cc/layers/solid_color_layer_impl_unittest.cc (left): https://codereview.chromium.org/2615773003/diff/60001/cc/layers/solid_color_layer_impl_unittest.cc#oldcode103 cc/layers/solid_color_layer_impl_unittest.cc:103: TEST(SolidColorLayerImplTest, VerifyCorrectBlendModeInQuad) { On 2017/01/06 22:50:02, wkorman ...
3 years, 11 months ago (2017-01-06 23:47:08 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/2615773003/60001
3 years, 11 months ago (2017-01-07 00:32:05 UTC) #27
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/336909)
3 years, 11 months ago (2017-01-07 00:40:23 UTC) #29
chrishtr
lgtm
3 years, 11 months ago (2017-01-07 00:53:39 UTC) #30
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/2615773003/60001
3 years, 11 months ago (2017-01-07 00:55:39 UTC) #32
commit-bot: I haz the power
Prior attempt to commit was detected, but we were not able to check whether the ...
3 years, 11 months ago (2017-01-07 01:12:52 UTC) #35
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/2615773003/60001
3 years, 11 months ago (2017-01-07 02:02:36 UTC) #37
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/336977)
3 years, 11 months ago (2017-01-07 02:10:31 UTC) #39
wkorman
3 years, 11 months ago (2017-01-07 20:54:01 UTC) #40
Submitted as Cr-Commit-Position: refs/heads/master@{#442121} but something went
awry with the commit logging, so closing manually.

Powered by Google App Engine
This is Rietveld 408576698