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

Issue 2565903002: [SPv2] Add createOpacityOnlyEffect test helper (Closed)

Created:
4 years ago by trchen
Modified:
4 years ago
Reviewers:
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] Add createOpacityOnlyEffect test helper This CL adds a test helper header platform/testing/PaintPropertyTestHelpers.h for common operations that are used in SPv2-related tests. createOpacityOnlyEffect is added to create effect nodes with only opacity, other optional effects are assigned a no-op value, and local transform space and clip are inherited from parent. As a side change, rootPaintChunkProperties is also moved to the helper header and renamed to defaultPaintChunkProperties. CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/546898952c07ec24c20a83b68c68995357e2e203 Cr-Commit-Position: refs/heads/master@{#437994}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 1

Patch Set 3 : rebase && git cl format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -204 lines) Patch
M third_party/WebKit/Source/platform/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp View 1 4 chunks +10 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/GeometryMapperTest.cpp View 1 14 chunks +37 lines, -44 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintChunkerTest.cpp View 1 2 14 chunks +58 lines, -66 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintControllerTest.cpp View 47 chunks +67 lines, -82 lines 0 comments Download
A third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h View 1 2 1 chunk +36 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 24 (19 generated)
trchen
Tired of rebasing every single test when new attribute getting added to property nodes? Today ...
4 years ago (2016-12-10 00:01:55 UTC) #3
pdr.
LGTM, power to the people! https://codereview.chromium.org/2565903002/diff/20001/third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h File third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h (right): https://codereview.chromium.org/2565903002/diff/20001/third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h#newcode14 third_party/WebKit/Source/platform/testing/PaintPropertyTestHelpers.h:14: static inline PassRefPtr<EffectPaintPropertyNode> createOpacityOnlyEffect(PassRefPtr<const ...
4 years ago (2016-12-12 18:47:09 UTC) #12
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/2565903002/40001
4 years ago (2016-12-13 02:31:14 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-13 02:38:21 UTC) #22
commit-bot: I haz the power
4 years ago (2016-12-13 02:42:50 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/546898952c07ec24c20a83b68c68995357e2e203
Cr-Commit-Position: refs/heads/master@{#437994}

Powered by Google App Engine
This is Rietveld 408576698