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

Issue 26009004: Implement crop rect support for SkRectShaderImageFilter (Closed)

Created:
7 years, 2 months ago by Stephen White
Modified:
7 years, 2 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Implement crop rect support for SkRectShaderImageFilter: remove fRect and use the cropRect from SkImageFilter in its place. R=reed@google.com Committed: https://code.google.com/p/skia/source/detail?r=11720

Patch Set 1 #

Total comments: 2

Patch Set 2 : Revert external Create() API to take an SkRect. #

Patch Set 3 : Updated to new CropRect API #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -19 lines) Patch
M include/effects/SkRectShaderImageFilter.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/effects/SkRectShaderImageFilter.cpp View 1 2 3 chunks +23 lines, -17 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Stephen White
7 years, 2 months ago (2013-10-04 19:10:22 UTC) #1
reed1
https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h File include/effects/SkRectShaderImageFilter.h (right): https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h#newcode24 include/effects/SkRectShaderImageFilter.h:24: static SkRectShaderImageFilter* Create(SkShader* s, const SkIRect& rect); General question: ...
7 years, 2 months ago (2013-10-07 18:14:23 UTC) #2
Stephen White
https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h File include/effects/SkRectShaderImageFilter.h (right): https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h#newcode24 include/effects/SkRectShaderImageFilter.h:24: static SkRectShaderImageFilter* Create(SkShader* s, const SkIRect& rect); On 2013/10/07 ...
7 years, 2 months ago (2013-10-07 19:04:28 UTC) #3
reed1
On 2013/10/07 19:04:28, Stephen White wrote: > https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h > File include/effects/SkRectShaderImageFilter.h (right): > > https://codereview.chromium.org/26009004/diff/1/include/effects/SkRectShaderImageFilter.h#newcode24 ...
7 years, 2 months ago (2013-10-07 19:33:09 UTC) #4
Stephen White
On 2013/10/07 19:33:09, reed1 wrote: > On 2013/10/07 19:04:28, Stephen White wrote: > > > ...
7 years, 2 months ago (2013-10-07 20:36:25 UTC) #5
reed1
On 2013/10/07 20:36:25, Stephen White wrote: > On 2013/10/07 19:33:09, reed1 wrote: > > On ...
7 years, 2 months ago (2013-10-07 20:42:25 UTC) #6
reed1
Regardless of the filterBounds api, I presume we should (now) keep the float-rect on the ...
7 years, 2 months ago (2013-10-07 20:43:15 UTC) #7
Stephen White
On 2013/10/07 20:42:25, reed1 wrote: > On 2013/10/07 20:36:25, Stephen White wrote: > > On ...
7 years, 2 months ago (2013-10-07 21:06:37 UTC) #8
Stephen White
On 2013/10/07 21:06:37, Stephen White wrote: > On 2013/10/07 20:42:25, reed1 wrote: > > On ...
7 years, 2 months ago (2013-10-07 21:09:21 UTC) #9
Stephen White
On 2013/10/07 20:43:15, reed1 wrote: > Regardless of the filterBounds api, I presume we should ...
7 years, 2 months ago (2013-10-08 14:39:45 UTC) #10
Stephen White
On 2013/10/08 14:39:45, Stephen White wrote: > On 2013/10/07 20:43:15, reed1 wrote: > > Regardless ...
7 years, 2 months ago (2013-10-08 14:42:45 UTC) #11
Stephen White
Patch set 3: Updated to ToT, and CropRect API.
7 years, 2 months ago (2013-10-10 18:16:08 UTC) #12
reed1
lgtm
7 years, 2 months ago (2013-10-10 18:46:13 UTC) #13
Stephen White
7 years, 2 months ago (2013-10-10 21:36:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 manually as r11720 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698