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

Issue 253633003: add asAShadowBlur for android to drawlooper (Closed)

Created:
6 years, 8 months ago by reed1
Modified:
6 years, 7 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

add asAShadowBlur for android to drawlooper BUG=skia: R=djsollen@google.com, scroggo@google.com Committed: https://code.google.com/p/skia/source/detail?r=14431

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebase, add asABlur to SkMaskFilter #

Total comments: 1

Patch Set 3 : #

Total comments: 1

Patch Set 4 : add unittests (and fix bugs in layerdrawlooper) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+374 lines, -56 lines) Patch
M include/core/SkDrawLooper.h View 1 2 chunks +21 lines, -0 lines 0 comments Download
M include/core/SkMaskFilter.h View 1 2 2 chunks +13 lines, -0 lines 0 comments Download
M include/effects/SkBlurDrawLooper.h View 1 2 chunks +4 lines, -1 line 0 comments Download
M include/effects/SkEmbossMaskFilter.h View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M include/effects/SkLayerDrawLooper.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/core/SkDrawLooper.cpp View 1 chunk +4 lines, -0 lines 0 comments Download
M src/core/SkMaskFilter.cpp View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/effects/SkBlurDrawLooper.cpp View 1 3 chunks +56 lines, -33 lines 0 comments Download
M src/effects/SkBlurMask.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M src/effects/SkBlurMask.cpp View 1 1 chunk +14 lines, -10 lines 0 comments Download
M src/effects/SkBlurMaskFilter.cpp View 1 2 3 3 chunks +20 lines, -6 lines 0 comments Download
M src/effects/SkEmbossMaskFilter.cpp View 1 2 3 3 chunks +4 lines, -2 lines 0 comments Download
M src/effects/SkLayerDrawLooper.cpp View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download
M tests/BlurTest.cpp View 1 2 3 2 chunks +184 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
reed1
Things still to do: 1. write some tests 2. confirm the math in both Convert ...
6 years, 8 months ago (2014-04-25 21:35:08 UTC) #1
scroggo
https://codereview.chromium.org/253633003/diff/1/include/core/SkDrawLooper.h File include/core/SkDrawLooper.h (right): https://codereview.chromium.org/253633003/diff/1/include/core/SkDrawLooper.h#newcode107 include/core/SkDrawLooper.h:107: virtual bool asABlurShadow(BlurShadowRec*) const; Does this need to be ...
6 years, 7 months ago (2014-04-28 13:28:05 UTC) #2
djsollen
https://codereview.chromium.org/253633003/diff/1/include/core/SkDrawLooper.h File include/core/SkDrawLooper.h (right): https://codereview.chromium.org/253633003/diff/1/include/core/SkDrawLooper.h#newcode94 include/core/SkDrawLooper.h:94: SkScalar fRadius; As we discussed offline, I think this ...
6 years, 7 months ago (2014-04-28 13:55:40 UTC) #3
reed1
ptal https://codereview.chromium.org/253633003/diff/1/src/effects/SkBlurDrawLooper.cpp File src/effects/SkBlurDrawLooper.cpp (right): https://codereview.chromium.org/253633003/diff/1/src/effects/SkBlurDrawLooper.cpp#newcode88 src/effects/SkBlurDrawLooper.cpp:88: buffer.writeScalar(fDy); On 2014/04/28 13:55:40, djsollen wrote: > should ...
6 years, 7 months ago (2014-04-28 20:59:26 UTC) #4
scroggo
lgtm https://codereview.chromium.org/253633003/diff/10001/src/effects/SkBlurDrawLooper.cpp File src/effects/SkBlurDrawLooper.cpp (right): https://codereview.chromium.org/253633003/diff/10001/src/effects/SkBlurDrawLooper.cpp#newcode74 src/effects/SkBlurDrawLooper.cpp:74: fSigma = buffer.readScalar(); Did you say chrome never ...
6 years, 7 months ago (2014-04-28 21:19:12 UTC) #5
djsollen
lgtm https://codereview.chromium.org/253633003/diff/30001/src/effects/SkBlurDrawLooper.cpp File src/effects/SkBlurDrawLooper.cpp (right): https://codereview.chromium.org/253633003/diff/30001/src/effects/SkBlurDrawLooper.cpp#newcode98 src/effects/SkBlurDrawLooper.cpp:98: if (fSigma <= 0 || (fBlurFlags & fBlurFlags ...
6 years, 7 months ago (2014-04-29 12:53:36 UTC) #6
reed1
The CQ bit was checked by reed@google.com
6 years, 7 months ago (2014-04-29 13:54:45 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/reed@google.com/253633003/50001
6 years, 7 months ago (2014-04-29 13:55:02 UTC) #8
reed1
The CQ bit was unchecked by reed@google.com
6 years, 7 months ago (2014-04-29 15:18:53 UTC) #9
reed1
6 years, 7 months ago (2014-04-29 15:20:44 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 manually as r14431 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698