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

Issue 2382563002: Revert changes is the use of CompositingReasonOutOfFlowClipping

Created:
4 years, 2 months ago by Stephen Chennney
Modified:
4 years, 2 months ago
Reviewers:
flackr, Ian Vollick
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, Xianzhu, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert changes in the use of CompositingReasonOutOfFlowClipping Patch https://codereview.chromium.org/2259493004 changed the logic for applying CompositingReasonOutOfFlowClipping, resulting in broken rendering of the gmail Send bar for long messages. This patch restores the origin logic, updated for the new compositing of opaque scrollers. R=flackr@chromium.org BUG=650446 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add check for composited scrolling ancestor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -2 lines) Patch
M third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp View 1 1 chunk +10 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositingRequirementsUpdater.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (9 generated)
Stephen Chennney
Not ready to land. I need to verify the prefer-compositing-to-lcd-text codepath and I need to ...
4 years, 2 months ago (2016-09-28 20:45:23 UTC) #3
flackr
https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp#newcode145 third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp:145: if (checkForClipParent && layer->clipParent()) To restore the original logic ...
4 years, 2 months ago (2016-09-29 14:21:20 UTC) #5
Stephen Chennney
https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp#newcode145 third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp:145: if (checkForClipParent && layer->clipParent()) Still working on this, but ...
4 years, 2 months ago (2016-09-30 17:12:25 UTC) #6
flackr
https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp#newcode145 third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp:145: if (checkForClipParent && layer->clipParent()) On 2016/09/30 at 17:12:25, Stephen ...
4 years, 2 months ago (2016-09-30 20:13:17 UTC) #8
Stephen Chennney
On 2016/09/30 20:13:17, flackr wrote: > https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp > File > third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp > (right): > > ...
4 years, 2 months ago (2016-10-03 19:54:58 UTC) #9
flackr
On 2016/10/03 at 19:54:58, schenney wrote: > On 2016/09/30 20:13:17, flackr wrote: > > https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp ...
4 years, 2 months ago (2016-10-03 20:21:51 UTC) #10
Ian Vollick
https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp File third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp (right): https://codereview.chromium.org/2382563002/diff/1/third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp#newcode145 third_party/WebKit/Source/core/layout/compositing/CompositingReasonFinder.cpp:145: if (checkForClipParent && layer->clipParent()) On 2016/09/30 20:13:16, flackr wrote: ...
4 years, 2 months ago (2016-10-03 21:09:15 UTC) #11
Stephen Chennney
Added the check for a composited scrolling ancestor, but only for the path where the ...
4 years, 2 months ago (2016-10-04 19:06:29 UTC) #15
flackr
On 2016/10/04 at 19:06:29, schenney wrote: > Added the check for a composited scrolling ancestor, ...
4 years, 2 months ago (2016-10-04 19:13:33 UTC) #16
Stephen Chennney
4 years, 2 months ago (2016-10-04 19:21:17 UTC) #17
On 2016/10/04 19:13:33, flackr wrote:
> On 2016/10/04 at 19:06:29, schenney wrote:
> > Added the check for a composited scrolling ancestor, but only for the path
> where the layer itself is not scrolling.
> > 
> > Maybe land it as is to fix the regression, and see what falls out.
> 
> I'd suggest readding the original code to fix the regression, i.e.:
> if ((m_compositingTriggers & OverflowScrollTrigger) && layer->clipParent())
>   directReasons |= CompositingReasonOutOfFlowClipping
> and the change to CompositingRequirementsUpdater.cpp
> 
> This should fix any regression on high dpi right?
> 
> And then we could follow up with fixing it for the composite opaque scrollers
> case with appropriate tests since this case is harder - we promote some but
not
> all scrollers.

Seems reasonable. Gmail is not getting promoted scrolling on low-DPI anyway, for
reasons I am still yet to investigate.

Powered by Google App Engine
This is Rietveld 408576698