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

Issue 233063004: Suppress layer creation for descendants of GPU-rasterized layers (Closed)

Created:
6 years, 8 months ago by ajuma
Modified:
6 years, 8 months ago
CC:
blink-reviews, jamesr, krit, jbroman, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, danakj, Rik, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink, nduca, ernstm, Vangelis Kokkevis
Visibility:
Public.

Description

Suppress layer creation for descendants of GPU-rasterized layers This suppresses layer creation in descendants (in stacking order) of layers that are compositing for GPU-rasterization hints. More specifically, compositing for animations and for will-change is suppressed in these layers. BUG=313532 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171908

Patch Set 1 : #

Total comments: 4

Patch Set 2 : Address review comments #

Patch Set 3 : Rebased #

Total comments: 17

Patch Set 4 : Rebased #

Patch Set 5 : Address abarth's comments #

Total comments: 7

Patch Set 6 : Move assert disabler from RenderBlock to CompositedLayerMapping #

Patch Set 7 : Rebased #

Patch Set 8 : Move assert disabler in ~CompositedLayerMapping #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -58 lines) Patch
A LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html View 1 1 chunk +59 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/gpu-rasterization-hint-added-expected.txt View 4 1 chunk +20 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/gpu-rasterization-hint-removed.html View 1 1 chunk +59 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/gpu-rasterization-hint-removed-expected.txt View 4 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing.html View 1 1 chunk +92 lines, -0 lines 0 comments Download
A LayoutTests/compositing/will-change/gpu-rasterization-hint-suppresses-compositing-expected.txt View 4 1 chunk +18 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 4 5 6 8 chunks +29 lines, -13 lines 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -4 lines 0 comments Download
M Source/core/rendering/RenderLayerScrollableArea.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderObject.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositedLayerMapping.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.cpp View 1 2 3 4 3 chunks +23 lines, -5 lines 0 comments Download
M Source/core/rendering/compositing/CompositingRequirementsUpdater.cpp View 1 2 3 4 5 6 6 chunks +12 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M Source/core/rendering/style/RenderStyle.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/CompositingReasons.h View 4 chunks +40 lines, -34 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
ajuma
6 years, 8 months ago (2014-04-14 15:52:26 UTC) #1
Ian Vollick
https://codereview.chromium.org/233063004/diff/190001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html File LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html (right): https://codereview.chromium.org/233063004/diff/190001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html#newcode29 LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html:29: // Force an update of the compositing triggers. This ...
6 years, 8 months ago (2014-04-14 17:02:44 UTC) #2
ajuma
PTAL. https://codereview.chromium.org/233063004/diff/190001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html File LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html (right): https://codereview.chromium.org/233063004/diff/190001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html#newcode29 LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html:29: // Force an update of the compositing triggers. ...
6 years, 8 months ago (2014-04-14 18:09:33 UTC) #3
Ian Vollick
On 2014/04/14 18:09:33, ajuma wrote: > PTAL. > > https://codereview.chromium.org/233063004/diff/190001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html > File LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html > (right): ...
6 years, 8 months ago (2014-04-14 18:18:47 UTC) #4
Ian Vollick
The CQ bit was checked by vollick@chromium.org
6 years, 8 months ago (2014-04-14 18:18:53 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/233063004/210001
6 years, 8 months ago (2014-04-14 18:19:20 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-14 19:24:34 UTC) #7
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/compositing/CompositingReasonFinder.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 8 months ago (2014-04-14 19:24:34 UTC) #8
ajuma
The CQ bit was checked by ajuma@chromium.org
6 years, 8 months ago (2014-04-14 19:48:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/233063004/230001
6 years, 8 months ago (2014-04-14 19:48:24 UTC) #10
abarth-chromium
The CQ bit was unchecked by abarth@chromium.org
6 years, 8 months ago (2014-04-14 20:20:24 UTC) #11
abarth-chromium
https://codereview.chromium.org/233063004/diff/230001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html File LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html (right): https://codereview.chromium.org/233063004/diff/230001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html#newcode37 LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html:37: } Why do we need to force a compositing ...
6 years, 8 months ago (2014-04-14 20:25:53 UTC) #12
abarth-chromium
not lgtm https://codereview.chromium.org/233063004/diff/230001/Source/core/rendering/compositing/CompositingReasonFinder.cpp File Source/core/rendering/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/233063004/diff/230001/Source/core/rendering/compositing/CompositingReasonFinder.cpp#newcode152 Source/core/rendering/compositing/CompositingReasonFinder.cpp:152: directReasons = suppressStyleDeterminedReasonsIfPossible(layer, directReasons); Maybe it would ...
6 years, 8 months ago (2014-04-14 20:29:53 UTC) #13
ajuma
PTAL. https://codereview.chromium.org/233063004/diff/230001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html File LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html (right): https://codereview.chromium.org/233063004/diff/230001/LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html#newcode37 LayoutTests/compositing/will-change/gpu-rasterization-hint-added.html:37: } On 2014/04/14 20:25:53, abarth wrote: > Why ...
6 years, 8 months ago (2014-04-15 19:11:33 UTC) #14
abarth-chromium
LGTM I worry there's a minor bug (mentioned below). It would be good to test ...
6 years, 8 months ago (2014-04-17 17:29:51 UTC) #15
ajuma
https://codereview.chromium.org/233063004/diff/280001/Source/core/rendering/RenderBlock.cpp File Source/core/rendering/RenderBlock.cpp (right): https://codereview.chromium.org/233063004/diff/280001/Source/core/rendering/RenderBlock.cpp#newcode234 Source/core/rendering/RenderBlock.cpp:234: DisableCompositingQueryAsserts disabler; On 2014/04/17 17:29:51, abarth wrote: > Where ...
6 years, 8 months ago (2014-04-17 19:24:43 UTC) #16
abarth-chromium
Thanks!
6 years, 8 months ago (2014-04-17 19:52:50 UTC) #17
ajuma
The CQ bit was checked by ajuma@chromium.org
6 years, 8 months ago (2014-04-17 23:58:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajuma@chromium.org/233063004/340001
6 years, 8 months ago (2014-04-17 23:58:45 UTC) #19
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 00:08:29 UTC) #20
Message was sent while issue was closed.
Change committed as 171908

Powered by Google App Engine
This is Rietveld 408576698