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

Issue 1890603002: Partly revert https://codereview.chromium.org/1860273003/ where paint follows (Closed)

Created:
4 years, 8 months ago by Xianzhu
Modified:
4 years, 8 months ago
Reviewers:
pdr., ojan
CC:
blink-reviews, chromium-reviews, krit, f(malita), fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Partly revert https://codereview.chromium.org/1860273003/ where paint follows Restored updateLifecycleToCompositingCleanPlusScrolling() to updateAllLifecyclePhases() where paint follows, because some paint code may depend on the result of lifecycle phases between CompositingUpdateClean and InPaint. For example, we update table collapsed borders and layer empty phase information during paint invalidtion, which are needed by paint. BUG=602961, 591468, 603230 Committed: https://crrev.com/f07d9b4a2ebb30cb77d3cca7d59e1f3c674e81eb Cr-Commit-Position: refs/heads/master@{#387178}

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -6 lines) Patch
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Xianzhu
4 years, 8 months ago (2016-04-13 19:25:43 UTC) #3
pdr.
https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode622 third_party/WebKit/Source/core/frame/LocalFrame.cpp:622: // TODO(wangxianzhu): Don't need synchronized painting. Nit: Don't -> ...
4 years, 8 months ago (2016-04-13 22:11:03 UTC) #4
Xianzhu
https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode622 third_party/WebKit/Source/core/frame/LocalFrame.cpp:622: // TODO(wangxianzhu): Don't need synchronized painting. On 2016/04/13 22:11:02, ...
4 years, 8 months ago (2016-04-13 22:51:45 UTC) #5
pdr.
On 2016/04/13 at 22:51:45, wangxianzhu wrote: > https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp > File third_party/WebKit/Source/core/frame/LocalFrame.cpp (right): > > https://codereview.chromium.org/1890603002/diff/20001/third_party/WebKit/Source/core/frame/LocalFrame.cpp#newcode622 ...
4 years, 8 months ago (2016-04-13 23:13:12 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1890603002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1890603002/40001
4 years, 8 months ago (2016-04-13 23:14:22 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-14 00:50:12 UTC) #9
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f07d9b4a2ebb30cb77d3cca7d59e1f3c674e81eb Cr-Commit-Position: refs/heads/master@{#387178}
4 years, 8 months ago (2016-04-14 00:51:08 UTC) #11
ojan
Before synchronized paint, we didn't have to paint in this code path, right? What changed? ...
4 years, 8 months ago (2016-04-14 02:23:35 UTC) #13
Xianzhu
On 2016/04/14 02:23:35, ojan wrote: > Before synchronized paint, we didn't have to paint in ...
4 years, 8 months ago (2016-04-14 02:33:50 UTC) #14
ojan
On 2016/04/14 at 02:33:50, wangxianzhu wrote: > On 2016/04/14 02:23:35, ojan wrote: > > Before ...
4 years, 8 months ago (2016-04-14 03:24:12 UTC) #15
Xianzhu
On 2016/04/14 03:24:12, ojan wrote: > On 2016/04/14 at 02:33:50, wangxianzhu wrote: > > On ...
4 years, 8 months ago (2016-04-14 04:39:26 UTC) #16
ojan
On 2016/04/14 at 04:39:26, wangxianzhu wrote: > On 2016/04/14 03:24:12, ojan wrote: > > On ...
4 years, 8 months ago (2016-04-14 05:18:57 UTC) #17
Xianzhu
4 years, 8 months ago (2016-04-14 05:47:04 UTC) #18
Message was sent while issue was closed.
On 2016/04/14 05:18:57, ojan wrote:
> On 2016/04/14 at 04:39:26, wangxianzhu wrote:
> > On 2016/04/14 03:24:12, ojan wrote:
> > > On 2016/04/14 at 02:33:50, wangxianzhu wrote:
> > > > On 2016/04/14 02:23:35, ojan wrote:
> > > > > Before synchronized paint, we didn't have to paint in this code path,
> right?
> > > > > What changed?
> > > > > 
> > > > > Not criticizing. Just trying to understand.
> > > > 
> > > > In the cases changed in this CL, we do special painting after the
document
> > > cycle update intentionally (not related to synchronized painting). Before
> > > synchronized painting, updateAllLifecyclePhases() stopped at
> > > PaintInvalidationClean, which met the requirement of the later special
> > > paintings. With synchronized painting, updateAllLifecyclePhases() also
does
> > > painting which is unnecessary for the later special paintings. Update to
> > > PaintInvalidationClean (spv1) or UpdatePaintPropertiesClean (spv2) is
enough
> for
> > > the cases.
> > > 
> > > So the plan is to do a followup patch that makes these cases go to
> > > UpdatePaintPropertiesClean?
> > 
> > Perhaps, or if we prove the synchronized painting is harmless we can also
keep
> them as-is. crbug.com/603230 is for the follow-up.
> 
> Synchronized painting does recording, right? I don't see how that could
possibly
> be harmless for performance unless recording is 10x faster than I last
> encountered.

I meant "perhaps, in those cases, if proved".
Comments on the bug are appreciated.

Powered by Google App Engine
This is Rietveld 408576698