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

Issue 178013003: Drop background color optimization for composited layers (Closed)

Created:
6 years, 9 months ago by dshwang
Modified:
6 years, 9 months ago
CC:
blink-reviews, krit, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jbroman, blink-layers+watch_chromium.org, abarth-chromium, dglazkov+blink, Rik, jchaffraix+rendering, pdr., danakj, Stephen Chennney, rwlbuis, alokp
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Drop background color optimization for composited layers Rationale 1. GraphicsLayer deals with background-color layer as a contents layer, so a background-color layer is in trouble in terms of the correct order with negative z-order children. 2. CompositedLayerMapping has the big hack to decide the given layer can be background-color layer. Unfortunately, the big hack is incomplete and invasive. 3. Hybrid Accelerated Rasterization will cover this optimization in more generic way. 4. background-color layer covers very limited cases. A layer-promoted box object must not have children, not have decoration, only have a background-color property. BUG=114658, 340691 TEST=compositing/background-color/background-color-drawn-over-child.html, compositing/* Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168245

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comment for paintsIntoOwningLayer(). Fix errta. Update layouttests. #

Patch Set 3 : Rebase to upstream #

Total comments: 2

Patch Set 4 : Rename hasVisibleContentOrNonCompositingDescendantLayers() from paintsIntoOwningLayer() #

Patch Set 5 : Update more tests #

Total comments: 2

Patch Set 6 : Optimization by delaying O(n^2) paintsChildren(). containsPaintedContent() contains isSimpleContain… #

Patch Set 7 : #

Patch Set 8 : Further optimization. Avoid O(n^2) ASAP. #

Total comments: 1

Patch Set 9 : Don't use do-while. #

Total comments: 1

Patch Set 10 : CL to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+800 lines, -159 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 1 chunk +82 lines, -0 lines 0 comments Download
A LayoutTests/compositing/background-color/background-color-drawn-over-child.html View 1 1 chunk +49 lines, -0 lines 0 comments Download
A LayoutTests/compositing/background-color/background-color-drawn-over-child-expected.html View 1 chunk +40 lines, -0 lines 0 comments Download
M LayoutTests/compositing/columns/composited-in-paginated-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/contents-opaque/background-color-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/contents-opaque/body-background-painted-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/contents-opaque/body-background-skipped-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/contents-opaque/layer-opacity-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/contents-opaque/layer-transform-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/filters/sw-layer-overlaps-hw-shadow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/filters/sw-shadow-overlaps-hw-layer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/ancestor-overflow-change-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/clip-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/clip-inside-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/clip-with-shadow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/fixed-position-composited-switch-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/flipped-writing-mode-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-fixed-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-positioned-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-positioned-transition-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-transformed-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/become-composited-nested-iframes-expected.txt View 1 3 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/become-overlapped-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/composited-parent-iframe-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/connect-compositing-iframe-delayed-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/connect-compositing-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/connect-compositing-iframe2-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/connect-compositing-iframe3-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/enter-compositing-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/iframe-resize-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/iframe-size-from-zero-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/invisible-nested-iframe-hide-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/overlapped-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/overlapped-iframe-iframe-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/overlapped-nested-iframes-expected.txt View 1 3 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/iframes/resizer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/animation-overlap-with-children-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-and-transform-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-mismatch-containers-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-nonscrollable-body-overlap-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-out-of-view-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-out-of-view-positioning-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt View 1 3 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt View 1 3 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/fixed-position-under-transform-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overflow-scroll-overlap-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-animation-clipping-expected.txt View 1 3 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-animation-container-expected.txt View 1 2 6 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-animation-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-child-layer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-clipping-expected.txt View 1 2 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transformed-3d-expected.txt View 1 2 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transformed-and-clipped-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transformed-layer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transformed-layer-with-transform-body-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transformed-preserved-3d-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/overlap-transforms-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/scroll-partial-update-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/spanOverlapsCanvas-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/stacking-context-overlap-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/stacking-context-overlap-nested-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/layer-creation/translatez-overlap-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow-trumps-transform-style-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/clip-descendents-expected.txt View 1 4 chunks +8 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/content-gains-scrollbars-expected.txt View 1 4 chunks +5 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/overflow-scrollbar-layers-expected.txt View 1 4 chunks +5 lines, -0 lines 0 comments Download
M LayoutTests/compositing/overflow/resize-painting-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/compositing/rendering-contexts-expected.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/repaint/fixed-pos-inside-composited-intermediate-layer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/repaint/fixed-pos-with-composited-child-expected.txt View 1 2 chunks +3 lines, -0 lines 0 comments Download
M LayoutTests/compositing/repaint/repaint-into-ancestor-after-layout-expected.txt View 1 2 chunks +3 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-absolute-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-absolute-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-absolute-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-fixed-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-fixed-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-fixed-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-absolute-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-fixed-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-iframe-relative-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/rtl/rtl-relative-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/add-remove-squashed-layers-expected.txt View 1 6 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/move-squashing-layer-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-above-fixed-1-expected.txt View 1 8 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-above-fixed-2-expected.txt View 1 4 chunks +12 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-above-fixed-3-expected.txt View 1 3 chunks +22 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-animated-gif-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-compositing-hover-expected.txt View 1 8 chunks +16 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-onto-nephew-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-onto-transform-backing-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-simple-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-three-layers-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-transform-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-transform-repainting-child-expected.txt View 1 3 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squash-transform-repainting-transformed-child-expected.txt View 1 3 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squashed-layer-loses-graphicslayer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/squashing/squashed-repaints-expected.txt View 1 5 chunks +10 lines, -0 lines 0 comments Download
M LayoutTests/compositing/tiled-layers-hidpi-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/compositing/transitions/transitions-have-composited-layers-expected.txt View 1 1 chunk +6 lines, -0 lines 0 comments Download
M LayoutTests/compositing/will-change/composited-layers-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
M LayoutTests/css3/compositing/mix-blend-mode-composited-layers-expected.txt View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/css3/compositing/mix-blend-mode-composited-reason-children-expected.txt View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M LayoutTests/css3/compositing/mix-blend-mode-isolation-2-stacking-contexts-expected.txt View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M LayoutTests/css3/compositing/mix-blend-mode-isolation-remove-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/composited-layer-child-bounds-after-composited-to-sw-shadow-change-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/composited-layer-promotion-after-outset-overlap-change-using-composited-shadow-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/composited-layer-promotion-after-outset-overlap-change-using-sw-shadow-expected.txt View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/css3/filters/filtered-compositing-descendant-expected.txt View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/gpu/compositedscrolling/overflow/resize-painting-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/geometry/limit-layer-bounds-fixed-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/geometry/limit-layer-bounds-transformed-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/become-overlapped-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/composited-parent-iframe-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/connect-compositing-iframe-delayed-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/connect-compositing-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/connect-compositing-iframe2-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/connect-compositing-iframe3-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/enter-compositing-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/iframe-resize-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/iframe-size-from-zero-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/overlapped-iframe-expected.txt View 1 2 chunks +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/iframes/resizer-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/layer-creation/animation-overlap-with-children-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt View 1 3 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt View 1 3 chunks +14 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/layer-creation/overlap-transformed-preserved-3d-expected.txt View 1 1 chunk +8 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow-trumps-transform-style-expected.txt View 1 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/content-gains-scrollbars-expected.txt View 1 4 chunks +5 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/overflow-scrollbar-layers-expected.txt View 1 4 chunks +5 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/overflow/resize-painting-expected.txt View 1 1 chunk +1 line, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/rtl/rtl-iframe-absolute-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/rtl/rtl-iframe-fixed-overflow-scrolled-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/virtual/softwarecompositing/tiled-layers-hidpi-expected.txt View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.h View 1 2 3 4 5 3 chunks +4 lines, -8 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 8 9 11 chunks +50 lines, -114 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.h View 2 chunks +0 lines, -3 lines 0 comments Download
M Source/platform/graphics/GraphicsLayer.cpp View 2 chunks +0 lines, -22 lines 0 comments Download
M Source/web/tests/GraphicsLayerTest.cpp View 1 1 chunk +0 lines, -12 lines 0 comments Download
M public/platform/WebCompositorSupport.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
dshwang
I don't update TestExpectations and >130 tests' text results yet so that reviewers read CL ...
6 years, 9 months ago (2014-02-25 18:18:31 UTC) #1
dshwang
~130 tests' text results should be changed as follows: + (drawsContent 1) + (backgroundColor #FFFF00) ...
6 years, 9 months ago (2014-02-25 18:44:48 UTC) #2
abarth-chromium
This is exciting! We were looking at removing this optimization as well. It's a big ...
6 years, 9 months ago (2014-02-26 20:58:41 UTC) #3
abarth-chromium
Some context: 1) isSimpleContainerCompositingLayer is 2.5% of the main thread time on Silk's toggle_drawer test ...
6 years, 9 months ago (2014-02-26 21:05:26 UTC) #4
abarth-chromium
3) isSimpleContainerCompositingLayer is called during style recalc, but it looks at the decendants, which haven't ...
6 years, 9 months ago (2014-02-26 21:07:26 UTC) #5
jamesr
On 2014/02/26 21:05:26, abarth wrote: > Some context: > > 1) isSimpleContainerCompositingLayer is 2.5% of ...
6 years, 9 months ago (2014-02-26 21:09:04 UTC) #6
esprehn
On 2014/02/26 21:09:04, jamesr wrote: > On 2014/02/26 21:05:26, abarth wrote: > > Some context: ...
6 years, 9 months ago (2014-02-26 21:19:08 UTC) #7
jamesr
That's fine, so long as we do something somewhere. What I'm saying is that we ...
6 years, 9 months ago (2014-02-26 21:21:38 UTC) #8
dshwang
To clarify, I don't remove isSimpleContainerCompositingLayer(). I just rename it to paintsIntoOwningLayer(). In detail, isSimpleContainerCompositingLayer ...
6 years, 9 months ago (2014-02-26 21:54:46 UTC) #9
jamesr
For the record lgtm on the concept of removing #2, although someone else should look ...
6 years, 9 months ago (2014-02-26 22:00:18 UTC) #10
alokp
https://codereview.chromium.org/178013003/diff/1/Source/core/rendering/CompositedLayerMapping.h File Source/core/rendering/CompositedLayerMapping.h (right): https://codereview.chromium.org/178013003/diff/1/Source/core/rendering/CompositedLayerMapping.h#newcode267 Source/core/rendering/CompositedLayerMapping.h:267: bool paintsIntoOwningLayer() const; I do not understand what this ...
6 years, 9 months ago (2014-02-26 22:11:16 UTC) #11
enne (OOO)
lgtm % alokp's comments We shouldn't slow down the common case for a special case. ...
6 years, 9 months ago (2014-02-27 00:44:55 UTC) #12
dshwang
Thank you for review. On 2014/02/26 22:11:16, Alok Priyadarshi wrote: > https://codereview.chromium.org/178013003/diff/1/Source/core/rendering/CompositedLayerMapping.h#newcode267 > Source/core/rendering/CompositedLayerMapping.h:267: bool ...
6 years, 9 months ago (2014-02-27 15:36:25 UTC) #13
alokp
https://codereview.chromium.org/178013003/diff/40001/Source/core/rendering/compositing/CompositedLayerMapping.h File Source/core/rendering/compositing/CompositedLayerMapping.h (right): https://codereview.chromium.org/178013003/diff/40001/Source/core/rendering/compositing/CompositedLayerMapping.h#newcode266 Source/core/rendering/compositing/CompositedLayerMapping.h:266: // Returns true if this layer has content that ...
6 years, 9 months ago (2014-02-27 19:22:26 UTC) #14
dshwang
https://codereview.chromium.org/178013003/diff/40001/Source/core/rendering/compositing/CompositedLayerMapping.h File Source/core/rendering/compositing/CompositedLayerMapping.h (right): https://codereview.chromium.org/178013003/diff/40001/Source/core/rendering/compositing/CompositedLayerMapping.h#newcode266 Source/core/rendering/compositing/CompositedLayerMapping.h:266: // Returns true if this layer has content that ...
6 years, 9 months ago (2014-02-27 19:50:51 UTC) #15
alokp
https://codereview.chromium.org/178013003/diff/80001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/178013003/diff/80001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1598 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1598: bool CompositedLayerMapping::containsPaintedContent() const We already have too many functions ...
6 years, 9 months ago (2014-02-28 06:50:26 UTC) #16
dshwang
https://codereview.chromium.org/178013003/diff/80001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/178013003/diff/80001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1598 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1598: bool CompositedLayerMapping::containsPaintedContent() const On 2014/02/28 06:50:28, Alok Priyadarshi wrote: ...
6 years, 9 months ago (2014-02-28 10:59:51 UTC) #17
dshwang
Now containsPaintedContent() contains isSimpleContainerCompositingLayer() logic. I postpone O(n^2) paintsChildren() as far as possible for optimization. ...
6 years, 9 months ago (2014-02-28 11:54:50 UTC) #18
alokp
https://codereview.chromium.org/178013003/diff/140001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/178013003/diff/140001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1563 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1563: do { there is no need for do-while. We ...
6 years, 9 months ago (2014-02-28 19:07:00 UTC) #19
dshwang
On 2014/02/28 19:07:00, Alok Priyadarshi wrote: > https://codereview.chromium.org/178013003/diff/140001/Source/core/rendering/compositing/CompositedLayerMapping.cpp > File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): > > https://codereview.chromium.org/178013003/diff/140001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1563 ...
6 years, 9 months ago (2014-02-28 19:54:13 UTC) #20
alokp
lgtm. One minor nit. https://codereview.chromium.org/178013003/diff/160001/Source/core/rendering/compositing/CompositedLayerMapping.cpp File Source/core/rendering/compositing/CompositedLayerMapping.cpp (right): https://codereview.chromium.org/178013003/diff/160001/Source/core/rendering/compositing/CompositedLayerMapping.cpp#newcode1599 Source/core/rendering/compositing/CompositedLayerMapping.cpp:1599: if (paintsChildren()) nit: return paintsChildren()
6 years, 9 months ago (2014-02-28 22:57:52 UTC) #21
dshwang
On 2014/02/28 22:57:52, Alok Priyadarshi wrote: > lgtm. One minor nit. Thank you for your ...
6 years, 9 months ago (2014-03-01 13:09:04 UTC) #22
dshwang
The CQ bit was checked by dongseong.hwang@intel.com
6 years, 9 months ago (2014-03-01 13:09:17 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dongseong.hwang@intel.com/178013003/180001
6 years, 9 months ago (2014-03-01 13:09:26 UTC) #24
dshwang
abarth@, speaking toggle_drawer, jank result become a bit better. *RESULT jank: jank= "30.0429 ms" TO ...
6 years, 9 months ago (2014-03-01 13:29:48 UTC) #25
commit-bot: I haz the power
Change committed as 168245
6 years, 9 months ago (2014-03-01 14:44:51 UTC) #26
cbiesinger
I'm reverting this because it seems like this may have caused browser_test failures on mac: ...
6 years, 9 months ago (2014-03-03 16:39:40 UTC) #27
dshwang
On 2014/03/03 16:39:40, cbiesinger wrote: > I'm reverting this because it seems like this may ...
6 years, 9 months ago (2014-03-03 17:07:12 UTC) #28
cbiesinger
No, it's a timeout, I believe it's waiting for the page to load. I don't ...
6 years, 9 months ago (2014-03-03 17:09:59 UTC) #29
dshwang
On 2014/03/03 17:09:59, cbiesinger wrote: > No, it's a timeout, I believe it's waiting for ...
6 years, 9 months ago (2014-03-03 17:20:04 UTC) #30
cbiesinger
6 years, 9 months ago (2014-03-04 01:27:16 UTC) #31
Message was sent while issue was closed.
On 2014/03/03 17:20:04, dshwang wrote:
> On 2014/03/03 17:09:59, cbiesinger wrote:
> > No, it's a timeout, I believe it's waiting for the page to load. I don't
have
> > insight into how this change might cause that, but that's when it seems to
> have
> > started..
> 
> Aha, it's in-process tests. Thank you for that. I'll re-land after testing on
> mac. I need to borrow mac book..

I have no idea whether they are in-process - but apparently this patch did cause
some pages not to finish loading, which is what the tests were waiting for.
Reverting it did fix the tests.

Powered by Google App Engine
This is Rietveld 408576698