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

Issue 1060973003: compositor-worker: Force elements to grow a layer when a CompositorProxy is created. (Closed)

Created:
5 years, 8 months ago by sadrul
Modified:
5 years, 8 months ago
Reviewers:
Ian Vollick, esprehn
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-rendering, blink-reviews-style_chromium.org, Rik, danakj, dglazkov+blink, Dominik Röttsches, dshwang, krit, eae+blinkwatch, f(malita), jbroman, jchaffraix+rendering, Justin Novosad, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, sof, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

compositor-worker: Force elements to grow a layer when a CompositorProxy is created. Notable changes: . A new StyleChangeReason is added as CompositorProxy. . A new CompositingReason is added as CompositingReasonCompositorProxy. . ComputedStyle keeps track of whether the element has a compositor proxy in StyleRareNonInheritedData::m_hasCompositorProxy. BUG=436952 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193506

Patch Set 1 #

Patch Set 2 : test #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 8

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : . #

Patch Set 12 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -8 lines) Patch
A LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html View 1 2 3 4 5 6 7 8 9 1 chunk +37 lines, -0 lines 0 comments Download
A LayoutTests/fast/compositorworker/resources/proxy-idle.js View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/CompositorProxy/proxy-forces-layer.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -2 lines 0 comments Download
M Source/core/dom/StyleChangeReason.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/StyleChangeReason.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/layout/LayoutBox.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutInline.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/LayoutTableRow.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -1 line 0 comments Download
M Source/core/layout/compositing/CompositingReasonFinder.cpp View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/style/StyleRareNonInheritedData.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/style/StyleRareNonInheritedData.cpp View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M Source/platform/graphics/CompositingReasons.h View 1 2 3 chunks +6 lines, -2 lines 0 comments Download
M Source/platform/graphics/CompositingReasons.cpp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
sadrul
5 years, 8 months ago (2015-04-07 16:32:59 UTC) #2
Ian Vollick
This looks pretty reasonable (though I would love Elliott's opinion), but as we chatted offline, ...
5 years, 8 months ago (2015-04-07 16:40:15 UTC) #3
sadrul
https://codereview.chromium.org/1060973003/diff/60001/Source/core/dom/CompositorProxy.cpp File Source/core/dom/CompositorProxy.cpp (right): https://codereview.chromium.org/1060973003/diff/60001/Source/core/dom/CompositorProxy.cpp#newcode119 Source/core/dom/CompositorProxy.cpp:119: element.setHasCompositorProxy(true); On 2015/04/07 16:40:15, vollick wrote: > Where do ...
5 years, 8 months ago (2015-04-07 16:43:23 UTC) #4
esprehn
High level comment: you want to use ElementFlags. This is a rare feature on a ...
5 years, 8 months ago (2015-04-07 17:59:49 UTC) #5
sadrul
On 2015/04/07 17:59:49, esprehn wrote: > High level comment: you want to use ElementFlags. This ...
5 years, 8 months ago (2015-04-07 20:04:07 UTC) #6
sadrul
vollick@ Re our offline discussion: (1) looks like terminating the worker-thread (which is equivalent to ...
5 years, 8 months ago (2015-04-07 22:45:24 UTC) #7
Ian Vollick
On 2015/04/07 22:45:24, sadrul wrote: > vollick@ Re our offline discussion: (1) looks like terminating ...
5 years, 8 months ago (2015-04-07 22:52:32 UTC) #8
sadrul
On 2015/04/07 22:52:32, vollick wrote: > On 2015/04/07 22:45:24, sadrul wrote: > > vollick@ Re ...
5 years, 8 months ago (2015-04-07 22:59:13 UTC) #9
esprehn
On 2015/04/07 at 22:59:13, sadrul wrote: > ... > > On a sidenote: what happens ...
5 years, 8 months ago (2015-04-08 00:13:10 UTC) #10
esprehn
You can't have a 300ms wait in a test. https://codereview.chromium.org/1060973003/diff/140001/LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html File LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html (right): https://codereview.chromium.org/1060973003/diff/140001/LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html#newcode8 LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html:8: ...
5 years, 8 months ago (2015-04-08 00:17:14 UTC) #11
Ian Vollick
On 2015/04/08 00:13:10, esprehn wrote: > On 2015/04/07 at 22:59:13, sadrul wrote: > > ...
5 years, 8 months ago (2015-04-08 02:33:10 UTC) #12
sadrul
https://codereview.chromium.org/1060973003/diff/140001/LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html File LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html (right): https://codereview.chromium.org/1060973003/diff/140001/LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html#newcode8 LayoutTests/fast/compositorworker/compositor-proxy-disconnect-worker-terminate.html:8: testRunner.dumpAsText(); On 2015/04/08 00:17:13, esprehn wrote: > doesn't testharness ...
5 years, 8 months ago (2015-04-08 02:35:04 UTC) #13
esprehn
On 2015/04/08 at 02:33:10, vollick wrote: > On 2015/04/08 00:13:10, esprehn wrote: > > ...
5 years, 8 months ago (2015-04-08 02:36:46 UTC) #14
Ian Vollick
On 2015/04/08 02:36:46, esprehn wrote: > On 2015/04/08 at 02:33:10, vollick wrote: > > On ...
5 years, 8 months ago (2015-04-08 02:37:38 UTC) #15
esprehn
lgtm okay
5 years, 8 months ago (2015-04-09 19:32:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1060973003/220001
5 years, 8 months ago (2015-04-10 02:05:54 UTC) #19
commit-bot: I haz the power
5 years, 8 months ago (2015-04-10 03:57:25 UTC) #20
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193506

Powered by Google App Engine
This is Rietveld 408576698