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

Issue 512293002: Fix paint invalidation when composited layers change from paints-into-ancestor to self-painting. (Closed)

Created:
6 years, 3 months ago by chrishtr
Modified:
6 years, 3 months ago
Reviewers:
Ian Vollick, pdr.
CC:
abarth-chromium, blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Fix paint invalidation when composited layers change from paints-into-ancestor to self-painting. Previously it was the case that we would update the setting before issuing the paint invalidation. This doesn't work, because the paint invalidation code uses the current state to find the right invalidation backing, not the previous state. BUG=405250 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181114

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added a test. #

Patch Set 3 : Added comment. #

Patch Set 4 : Added doctype. #

Patch Set 5 : Fix nits. #

Patch Set 6 : Fixed test. #

Patch Set 7 : Fix test. #

Messages

Total messages: 20 (0 generated)
chrishtr
chrishtr@chromium.org changed reviewers: + pdr@chromium.org, vollick@chromium.org
6 years, 3 months ago (2014-08-28 17:11:32 UTC) #1
chrishtr
Working now on a way to write a test for the "ancestor reasons" case. Ian, ...
6 years, 3 months ago (2014-08-28 17:11:32 UTC) #2
chrishtr
Added final test, please review.
6 years, 3 months ago (2014-08-28 20:07:18 UTC) #3
pdr.
https://codereview.chromium.org/512293002/diff/1/LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html File LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html (right): https://codereview.chromium.org/512293002/diff/1/LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html#newcode1 LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html:1: <style> Nits: Add <!DOCTYPE html>, remove extra space between ...
6 years, 3 months ago (2014-08-28 20:21:14 UTC) #4
chrishtr
https://codereview.chromium.org/512293002/diff/1/LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html File LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html (right): https://codereview.chromium.org/512293002/diff/1/LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html#newcode1 LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html:1: <style> On 2014/08/28 20:21:13, pdr wrote: > Nits: Add ...
6 years, 3 months ago (2014-08-28 20:27:56 UTC) #5
pdr.
On 2014/08/28 20:27:56, chrishtr wrote: > That would invalidate more than necessary. Only if we ...
6 years, 3 months ago (2014-08-28 20:47:14 UTC) #6
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 3 months ago (2014-08-28 20:49:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/512293002/80001
6 years, 3 months ago (2014-08-28 20:49:50 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 3 months ago (2014-08-28 21:49:53 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 22:44:19 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/21469)
6 years, 3 months ago (2014-08-28 22:44:20 UTC) #11
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 3 months ago (2014-08-29 00:44:46 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/512293002/100001
6 years, 3 months ago (2014-08-29 00:45:48 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 3 months ago (2014-08-29 01:55:53 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-29 02:28:59 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/22611)
6 years, 3 months ago (2014-08-29 02:29:00 UTC) #16
chrishtr
The CQ bit was checked by chrishtr@chromium.org
6 years, 3 months ago (2014-08-29 16:43:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/chrishtr@chromium.org/512293002/120001
6 years, 3 months ago (2014-08-29 16:44:03 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 3 months ago (2014-08-29 17:57:26 UTC) #19
commit-bot: I haz the power
6 years, 3 months ago (2014-08-29 18:33:41 UTC) #20
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as 181114

Powered by Google App Engine
This is Rietveld 408576698