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

Issue 1312423006: Remove dependency on m_previousPositionFromPaintInvalidationBacking for spv2 (Closed)

Created:
5 years, 3 months ago by Xianzhu
Modified:
5 years, 3 months ago
Reviewers:
pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, blink-reviews-rendering, dshwang, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove dependency on m_previousPositionFromPaintInvalidationBacking for spv2 - Set layer needsRepaint when any paint invalidation flag is set, so that we can check paint offset changes during paint. - Always use paintsWithTransform in paintLayer to avoid paint offset changes of descendants when the layer is moved-only. BUG=508383, 510908 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202486

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Rebase #

Patch Set 4 : #

Patch Set 5 : Based on https://codereview.chromium.org/1340133003/ #

Total comments: 1

Patch Set 6 : Keep setNeedsRepaint in LayoutObject::invalidateDisplayItemClients() #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : Track paint offset invalidations #

Patch Set 10 : TestExpectations #

Total comments: 2

Patch Set 11 : Update TestExpectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -19 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 10 2 chunks +96 lines, -1 line 0 comments Download
M Source/core/layout/LayoutObject.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -2 lines 0 comments Download
M Source/core/layout/LayoutObject.cpp View 1 2 3 4 5 6 7 3 chunks +13 lines, -3 lines 0 comments Download
M Source/core/paint/DeprecatedPaintLayer.cpp View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download
M Source/core/paint/LayoutObjectDrawingRecorder.h View 1 2 3 4 5 6 7 8 3 chunks +7 lines, -7 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.cpp View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (5 generated)
pdr.
Mind if I fold this patch into one I'm working on to not paint non-comp ...
5 years, 3 months ago (2015-09-13 23:29:59 UTC) #2
Xianzhu
On 2015/09/13 23:29:59, pdr wrote: > Mind if I fold this patch into one I'm ...
5 years, 3 months ago (2015-09-14 17:32:06 UTC) #3
Xianzhu
The following solution might work for paint-offset-change detection for line boxes: 1. Add another constructor ...
5 years, 3 months ago (2015-09-14 19:49:02 UTC) #4
Xianzhu
According to the try bot results, this CL works better on https://codereview.chromium.org/1340133003/. Will look into ...
5 years, 3 months ago (2015-09-15 01:27:10 UTC) #5
pdr.
https://codereview.chromium.org/1312423006/diff/80001/Source/core/layout/LayoutObject.cpp File Source/core/layout/LayoutObject.cpp (left): https://codereview.chromium.org/1312423006/diff/80001/Source/core/layout/LayoutObject.cpp#oldcode1202 Source/core/layout/LayoutObject.cpp:1202: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { Restoring this (instead of the setNeedsRepaint ...
5 years, 3 months ago (2015-09-15 03:03:59 UTC) #6
Xianzhu
There seems no real failures now. The paint-invalidation-object mismatches are because - Orders of paint ...
5 years, 3 months ago (2015-09-17 03:51:39 UTC) #7
Xianzhu
Ptal. I have checked the results of all failures, and there seemed no real painting ...
5 years, 3 months ago (2015-09-17 18:21:34 UTC) #8
pdr.
This is great and with this patch we are one line away from non-composited scrolling ...
5 years, 3 months ago (2015-09-17 19:04:58 UTC) #9
Xianzhu
https://codereview.chromium.org/1312423006/diff/180001/Source/core/layout/LayoutObject.cpp File Source/core/layout/LayoutObject.cpp (right): https://codereview.chromium.org/1312423006/diff/180001/Source/core/layout/LayoutObject.cpp#newcode3135 Source/core/layout/LayoutObject.cpp:3135: // Setting layer-needs-repaint doesn't mean we'll fully repaint the ...
5 years, 3 months ago (2015-09-17 19:16:50 UTC) #10
pdr.
On 2015/09/17 at 19:16:50, wangxianzhu wrote: > https://codereview.chromium.org/1312423006/diff/180001/Source/core/layout/LayoutObject.cpp > File Source/core/layout/LayoutObject.cpp (right): > > https://codereview.chromium.org/1312423006/diff/180001/Source/core/layout/LayoutObject.cpp#newcode3135 ...
5 years, 3 months ago (2015-09-17 19:46:35 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312423006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312423006/180001
5 years, 3 months ago (2015-09-17 20:09:58 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/115112)
5 years, 3 months ago (2015-09-17 21:10:59 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312423006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312423006/200001
5 years, 3 months ago (2015-09-17 21:24:47 UTC) #18
commit-bot: I haz the power
5 years, 3 months ago (2015-09-18 00:56:57 UTC) #19
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=202486

Powered by Google App Engine
This is Rietveld 408576698