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

Issue 1782713003: [SPv2] Reverse PaintArtifactCompositor clip layer origin undo order (Closed)

Created:
4 years, 9 months ago by trchen
Modified:
4 years, 9 months ago
Reviewers:
pdr., jbroman
CC:
jbroman, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), Justin Novosad, kinuko+watch, pdr+graphicswatchlist_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

[SPv2] Reverse PaintArtifactCompositor clip layer origin undo order As cc::Layer doesn't support shifted layer bounds, we bake the layer origin into transform and paint with an offset. When adding a child layer to a parent with such baked-in origin, we need to offset it first. Before this change the combined matrix looked like: [ transform ] * [ -parent layer origin ] * [ layer origin ] When it should be: [ -parent layer origin ] * [ transform ] * [ layer origin ] TEST=virtual/spv2/fast/overflow/overflow-update-transform.html Committed: https://crrev.com/5897d3e9488dc8596a646fd931ac7e32ec3cb6e3 Cr-Commit-Position: refs/heads/master@{#380558}

Patch Set 1 #

Patch Set 2 : do the right thing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp View 1 2 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (10 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782713003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782713003/1
4 years, 9 months ago (2016-03-10 05:53:39 UTC) #2
trchen
4 years, 9 months ago (2016-03-10 05:54:09 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/128531)
4 years, 9 months ago (2016-03-10 06:39:23 UTC) #6
pdr.
On 2016/03/10 at 06:39:23, commit-bot wrote: > Dry run: Try jobs failed on following builders: ...
4 years, 9 months ago (2016-03-10 21:10:12 UTC) #7
trchen
On 2016/03/10 21:10:12, pdr wrote: > On 2016/03/10 at 06:39:23, commit-bot wrote: > > Dry ...
4 years, 9 months ago (2016-03-10 22:59:15 UTC) #9
trchen
On 2016/03/10 22:59:15, trchen wrote: > On 2016/03/10 21:10:12, pdr wrote: > > On 2016/03/10 ...
4 years, 9 months ago (2016-03-10 23:06:36 UTC) #10
trchen
This time I'm pretty sure we caught the culprit. :)
4 years, 9 months ago (2016-03-11 02:09:55 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782713003/20001
4 years, 9 months ago (2016-03-11 02:10:32 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/181239)
4 years, 9 months ago (2016-03-11 02:18:25 UTC) #16
pdr.
LGTM I'm surprised there's no preTranslate on gfx::Transform. I grepped around and only found one ...
4 years, 9 months ago (2016-03-11 03:53:22 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782713003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782713003/20001
4 years, 9 months ago (2016-03-11 05:39:07 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-11 06:41:19 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5897d3e9488dc8596a646fd931ac7e32ec3cb6e3 Cr-Commit-Position: refs/heads/master@{#380558}
4 years, 9 months ago (2016-03-11 06:43:00 UTC) #23
jbroman
4 years, 9 months ago (2016-03-11 18:54:42 UTC) #24
Message was sent while issue was closed.
Ah, that makes much more sense than the original CL, as I vividly remember
thinking about and unit testing the order of those transforms.

This I believe is an issue, but I would have liked to see a unit test in this CL
as well.

Powered by Google App Engine
This is Rietveld 408576698