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

Issue 207513002: Compute style-determined compositing reasons during recalc style (Closed)

Created:
6 years, 9 months ago by abarth-chromium
Modified:
6 years, 9 months ago
Reviewers:
esprehn, ojan
CC:
blink-reviews, jamesr, krit, jbroman, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, abarth-chromium, blink-layers+watch_chromium.org, Rik, rwlbuis, jchaffraix+rendering, pdr., danakj, Stephen Chennney, rune+blink, Ian Vollick, esprehn
Visibility:
Public.

Description

Compute style-determined compositing reasons during recalc style There's no need to constantly recompute this data. It's already determined by the style information, so we might as well just compute it once during style recalc. Note: We're still computing all the direct compositing reasons during style recalc (via updateLayerCompositingState in RenderLayer::styleChanged), but now we skip recomputing the style determined reasons again when updating layout and compositing. ASSERTs verify that we get the same answer as before. This CL reduces the amount of time spent in the compositing update for dragging the drawer in the Polymer calculator by 3%. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169766

Patch Set 1 #

Patch Set 2 : Cleaner #

Total comments: 4

Patch Set 3 : No longer friends #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -28 lines) Patch
M LayoutTests/compositing/will-change/gpu-rasterization-hint.html View 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M Source/core/rendering/RenderLayer.cpp View 1 2 chunks +6 lines, -3 lines 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.h View 1 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/rendering/compositing/CompositingReasonFinder.cpp View 1 2 3 chunks +12 lines, -10 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/compositing/RenderLayerCompositor.cpp View 1 1 chunk +8 lines, -5 lines 0 comments Download
M Source/platform/graphics/CompositingReasons.h View 1 2 chunks +2 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
abarth-chromium
Not quite ready for review yet, but getting closer. :)
6 years, 9 months ago (2014-03-21 01:39:47 UTC) #1
abarth-chromium
This CL deletes about 3% of the profile on the calculator. I'll clean it up ...
6 years, 9 months ago (2014-03-21 01:52:32 UTC) #2
abarth-chromium
This CL is ready to review now.
6 years, 9 months ago (2014-03-21 14:12:50 UTC) #3
ojan
lgtm https://codereview.chromium.org/207513002/diff/20001/LayoutTests/compositing/will-change/gpu-rasterization-hint.html File LayoutTests/compositing/will-change/gpu-rasterization-hint.html (right): https://codereview.chromium.org/207513002/diff/20001/LayoutTests/compositing/will-change/gpu-rasterization-hint.html#newcode84 LayoutTests/compositing/will-change/gpu-rasterization-hint.html:84: // Force an update of the compositing triggers. ...
6 years, 9 months ago (2014-03-21 17:12:06 UTC) #4
abarth-chromium
https://codereview.chromium.org/207513002/diff/20001/LayoutTests/compositing/will-change/gpu-rasterization-hint.html File LayoutTests/compositing/will-change/gpu-rasterization-hint.html (right): https://codereview.chromium.org/207513002/diff/20001/LayoutTests/compositing/will-change/gpu-rasterization-hint.html#newcode84 LayoutTests/compositing/will-change/gpu-rasterization-hint.html:84: // Force an update of the compositing triggers. On ...
6 years, 9 months ago (2014-03-21 17:16:13 UTC) #5
abarth-chromium
The CQ bit was checked by abarth@chromium.org
6 years, 9 months ago (2014-03-21 17:43:21 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/207513002/40001
6 years, 9 months ago (2014-03-21 17:43:23 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 18:47:28 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-21 18:47:29 UTC) #9
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-21 19:01:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/abarth@chromium.org/207513002/40001
6 years, 9 months ago (2014-03-21 19:01:40 UTC) #11
commit-bot: I haz the power
6 years, 9 months ago (2014-03-21 19:49:34 UTC) #12
Message was sent while issue was closed.
Change committed as 169766

Powered by Google App Engine
This is Rietveld 408576698