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

Issue 1172693002: remove subclassing from ImageFilter::Proxy (Closed)

Created:
5 years, 6 months ago by reed1
Modified:
5 years, 6 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

remove subclassing from ImageFilter::Proxy BUG=skia: Committed: https://skia.googlesource.com/skia/+/2c55d7b7f3c2c834085d019bf6b1519b315c8aa1

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -76 lines) Patch
M include/core/SkBitmapDevice.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkDevice.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M include/core/SkImageFilter.h View 1 2 3 4 5 2 chunks +19 lines, -12 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 3 chunks +2 lines, -3 lines 0 comments Download
M src/core/SkDeviceImageFilterProxy.h View 1 1 chunk +0 lines, -47 lines 0 comments Download
M src/core/SkImageFilter.cpp View 1 1 chunk +23 lines, -0 lines 4 comments Download
M src/effects/SkPictureImageFilter.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrLayerHoister.cpp View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M src/gpu/SkGpuDevice.cpp View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M tests/ImageFilterTest.cpp View 1 2 3 4 5 chunks +4 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
reed1
5 years, 6 months ago (2015-06-09 14:10:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172693002/60001
5 years, 6 months ago (2015-06-09 14:10:32 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 6 months ago (2015-06-09 14:10:33 UTC) #5
Stephen White
https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h#newcode82 include/core/SkImageFilter.h:82: typedef SkImageFilterProxy Proxy; Could we just nest the Proxy ...
5 years, 6 months ago (2015-06-09 14:17:53 UTC) #7
reed1
On 2015/06/09 14:17:53, Stephen White wrote: > https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h > File include/core/SkImageFilter.h (right): > > https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h#newcode82 ...
5 years, 6 months ago (2015-06-09 14:19:48 UTC) #8
reed1
On 2015/06/09 14:19:48, reed1 wrote: > On 2015/06/09 14:17:53, Stephen White wrote: > > > ...
5 years, 6 months ago (2015-06-09 14:20:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172693002/80001
5 years, 6 months ago (2015-06-09 14:23:52 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1172693002/100001
5 years, 6 months ago (2015-06-09 14:24:46 UTC) #14
reed1
https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h File include/core/SkImageFilter.h (right): https://codereview.chromium.org/1172693002/diff/60001/include/core/SkImageFilter.h#newcode82 include/core/SkImageFilter.h:82: typedef SkImageFilterProxy Proxy; On 2015/06/09 14:17:53, Stephen White wrote: ...
5 years, 6 months ago (2015-06-09 14:28:21 UTC) #15
Stephen White
LGTM https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter.cpp#newcode529 src/core/SkImageFilter.cpp:529: #include "SkBitmapDevice.h" Nit: move this to top-of-file?
5 years, 6 months ago (2015-06-09 15:17:04 UTC) #16
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://skia.googlesource.com/skia/+/2c55d7b7f3c2c834085d019bf6b1519b315c8aa1
5 years, 6 months ago (2015-06-09 15:18:45 UTC) #17
robertphillips
https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter.cpp File src/core/SkImageFilter.cpp (right): https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter.cpp#newcode532 src/core/SkImageFilter.cpp:532: SkBaseDevice::CreateInfo cinfo(SkImageInfo::MakeN32Premul(w, h), What about the SkTileImageFilter? https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter.cpp#newcode536 src/core/SkImageFilter.cpp:536: ...
5 years, 6 months ago (2015-06-09 17:07:30 UTC) #18
Stephen White
5 years, 6 months ago (2015-06-10 14:42:45 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter...
File src/core/SkImageFilter.cpp (right):

https://codereview.chromium.org/1172693002/diff/100001/src/core/SkImageFilter...
src/core/SkImageFilter.cpp:532: SkBaseDevice::CreateInfo
cinfo(SkImageInfo::MakeN32Premul(w, h),
On 2015/06/09 17:07:29, robertphillips wrote:
> What about the SkTileImageFilter?

SkTileImageFilter always does an extractSubset() of its input, which I believe
makes it tiling-safe, even on GPU.

At any rate, this code is not new -- Mike just moved it here from
SkDeviceImageFilterProxy.

Powered by Google App Engine
This is Rietveld 408576698