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

Issue 2580143003: [SPv2] Disable CompositingRecorder collapsing for SPv2 (Closed)

Created:
4 years ago by trchen
Modified:
4 years ago
Reviewers:
chrishtr, pdr.
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SPv2] Disable CompositingRecorder collapsing for SPv2 CompositingRecorder collapses its begin/end display items if there is only one drawing display item in between. This won't work if the display item may be layerized and the compositing operation is backdrop-dependent. For example: <drawing content="X"/> <composite blend=multiply> <drawing content="Y"/> </composite> Will be collapsed as: <drawing content="X"/> <drawing content="saveLayer(blend=multiply); Y; restore();"/> However the result will be incorrect if the second drawing display item gets layerized. This CL disables this optimization in SPv2. BUG=674805, 675805 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/89df64fbe6300c209e5a3f7e2f7a30a51be8b706 Cr-Commit-Position: refs/heads/master@{#439887}

Patch Set 1 #

Patch Set 2 : rebase & fix unittests #

Total comments: 1

Patch Set 3 : update layout test expectations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -46 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-slimming-paint-v2 View 1 2 8 chunks +37 lines, -35 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintControllerPaintTest.cpp View 1 2 chunks +7 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (16 generated)
trchen
Fixes css3/blending/mix-blend-mode-with-squashing-layer.html Will affect layerization in subtle way. I expect it introduce more rounding image ...
4 years ago (2016-12-17 05:57:41 UTC) #3
pdr.
LGTM https://codereview.chromium.org/2580143003/diff/20001/third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp File third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp (right): https://codereview.chromium.org/2580143003/diff/20001/third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp#newcode55 third_party/WebKit/Source/platform/graphics/paint/CompositingRecorder.cpp:55: if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled() && lastDisplayItem && Please add a ...
4 years ago (2016-12-19 22:06:44 UTC) #6
chrishtr
We will need to implement this optimization for SPv2. Please file a bug.
4 years ago (2016-12-19 22:32:14 UTC) #7
trchen
Okay I just updated the layout test expectations. Now all the unsupported effects (namely, all ...
4 years ago (2016-12-20 02:09:28 UTC) #14
pdr.
On 2016/12/20 at 02:09:28, trchen wrote: > Okay I just updated the layout test expectations. ...
4 years ago (2016-12-20 02:58:58 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2580143003/40001
4 years ago (2016-12-20 21:58:43 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-20 22:06:26 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-20 22:08:44 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/89df64fbe6300c209e5a3f7e2f7a30a51be8b706
Cr-Commit-Position: refs/heads/master@{#439887}

Powered by Google App Engine
This is Rietveld 408576698