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

Issue 1870793004: Move common logic between BoxReflectFilterOperation and FEBoxReflect into BoxReflection. (Closed)

Created:
4 years, 8 months ago by jbroman
Modified:
4 years, 8 months ago
Reviewers:
Stephen White
CC:
jbroman, blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-paint_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, eae+blinkwatch, f(malita), jchaffraix+rendering, Justin Novosad, kinuko+watch, leviw+renderwatch, pdr+graphicswatchlist_chromium.org, pdr+renderingwatchlist_chromium.org, rwlbuis, Stephen Chennney, slimming-paint-reviews_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@no-filter-outsets-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move common logic between BoxReflectFilterOperation and FEBoxReflect into BoxReflection. This avoids duplication between these classes, and encapsulates the parameters of a filter-based reflection effect into a nice little self-contained class. BUG=436475 Committed: https://crrev.com/03ed0066d50f0ace7020d3c1bf7b6da1ac3dca77 Cr-Commit-Position: refs/heads/master@{#387934}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : move filter building back into SkiaImageFilterBuilder #

Total comments: 2

Patch Set 5 : merge with master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+173 lines, -99 lines) Patch
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 3 4 2 chunks +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/BoxReflection.h View 1 2 3 1 chunk +74 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/graphics/BoxReflection.cpp View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/GraphicsTypes.h View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.h View 3 chunks +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FEBoxReflect.cpp View 1 2 3 3 chunks +6 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h View 1 3 chunks +7 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp View 1 2 chunks +2 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/FilterOperationsTest.cpp View 1 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.h View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/filters/SkiaImageFilterBuilder.cpp View 1 2 3 4 3 chunks +9 lines, -31 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
jbroman
I intend to add the mask image as well, and the amount of redundant places ...
4 years, 8 months ago (2016-04-12 19:52:46 UTC) #2
Stephen White
https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h File third_party/WebKit/Source/platform/graphics/BoxReflection.h (right): https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h#newcode22 third_party/WebKit/Source/platform/graphics/BoxReflection.h:22: class PLATFORM_EXPORT BoxReflection { <bikeshed> Could this be BoxReflectParams ...
4 years, 8 months ago (2016-04-13 15:35:51 UTC) #3
jbroman
A few responses. If you still want to change, I won't resist much more. :) ...
4 years, 8 months ago (2016-04-13 17:59:15 UTC) #4
Stephen White
https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h File third_party/WebKit/Source/platform/graphics/BoxReflection.h (right): https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h#newcode22 third_party/WebKit/Source/platform/graphics/BoxReflection.h:22: class PLATFORM_EXPORT BoxReflection { On 2016/04/13 17:59:15, jbroman wrote: ...
4 years, 8 months ago (2016-04-13 18:07:35 UTC) #5
jbroman
4 years, 8 months ago (2016-04-13 22:24:31 UTC) #6
jbroman
https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h File third_party/WebKit/Source/platform/graphics/BoxReflection.h (right): https://codereview.chromium.org/1870793004/diff/40001/third_party/WebKit/Source/platform/graphics/BoxReflection.h#newcode50 third_party/WebKit/Source/platform/graphics/BoxReflection.h:50: PassRefPtr<SkImageFilter> createImageFilter(PassRefPtr<SkImageFilter> input) const; On 2016/04/13 at 18:07:35, Stephen ...
4 years, 8 months ago (2016-04-13 22:24:52 UTC) #7
Stephen White
LGTM https://codereview.chromium.org/1870793004/diff/60001/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h File third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h (right): https://codereview.chromium.org/1870793004/diff/60001/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h#newcode330 third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h:330: const BoxReflection& reflection() const { return m_reflection; } ...
4 years, 8 months ago (2016-04-14 13:49:21 UTC) #8
jbroman
https://codereview.chromium.org/1870793004/diff/60001/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h File third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h (right): https://codereview.chromium.org/1870793004/diff/60001/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h#newcode330 third_party/WebKit/Source/platform/graphics/filters/FilterOperation.h:330: const BoxReflection& reflection() const { return m_reflection; } On ...
4 years, 8 months ago (2016-04-14 15:33:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870793004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870793004/60001
4 years, 8 months ago (2016-04-18 14:30:13 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_gn/builds/20698) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-18 14:32:24 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1870793004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1870793004/80001
4 years, 8 months ago (2016-04-18 14:45:33 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 8 months ago (2016-04-18 17:23:05 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-18 17:24:52 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/03ed0066d50f0ace7020d3c1bf7b6da1ac3dca77
Cr-Commit-Position: refs/heads/master@{#387934}

Powered by Google App Engine
This is Rietveld 408576698