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

Issue 2249463002: Update blurred rrect mask filter creation method to also handle caching (Closed)

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

Description

Update blurred rrect mask filter creation method to also handle caching The caching of the mask will also be required for the vertex attribute path so I moved that into the helper. The parameters computed by ComputeBlurredRRectParams will be needed to construct the coverage geometry by the vertex attribute path so I moved that out of the helper. This is split out of https://codereview.chromium.org/2245653002/ (Start using vertex attributes for nine-patch blurred rrect draws) BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2249463002 Committed: https://skia.googlesource.com/skia/+/d39430d0574513438b5831947052353290204a06

Patch Set 1 #

Patch Set 2 : Calm some compilers #

Total comments: 6

Patch Set 3 : Remove 3* in key computation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -58 lines) Patch
M src/effects/SkBlurMaskFilter.cpp View 1 2 2 chunks +68 lines, -58 lines 0 comments Download

Messages

Total messages: 26 (18 generated)
robertphillips
4 years, 4 months ago (2016-08-14 21:32:20 UTC) #5
bsalomon
https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp File src/effects/SkBlurMaskFilter.cpp (right): https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp#newcode1023 src/effects/SkBlurMaskFilter.cpp:1023: builder[0] = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); Why 3*? https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp#newcode1029 src/effects/SkBlurMaskFilter.cpp:1029: builder[index++] = ...
4 years, 4 months ago (2016-08-15 13:55:23 UTC) #14
robertphillips
https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp File src/effects/SkBlurMaskFilter.cpp (right): https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp#newcode1023 src/effects/SkBlurMaskFilter.cpp:1023: builder[0] = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); On 2016/08/15 13:55:23, bsalomon wrote: > ...
4 years, 4 months ago (2016-08-15 17:41:37 UTC) #15
bsalomon
https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp File src/effects/SkBlurMaskFilter.cpp (right): https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp#newcode1023 src/effects/SkBlurMaskFilter.cpp:1023: builder[0] = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); On 2016/08/15 17:41:37, robertphillips wrote: > ...
4 years, 4 months ago (2016-08-15 17:57:56 UTC) #16
robertphillips
https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp File src/effects/SkBlurMaskFilter.cpp (right): https://codereview.chromium.org/2249463002/diff/20001/src/effects/SkBlurMaskFilter.cpp#newcode1023 src/effects/SkBlurMaskFilter.cpp:1023: builder[0] = 3*SkScalarCeilToInt(xformedSigma-1/6.0f); On 2016/08/15 17:57:56, bsalomon wrote: > ...
4 years, 4 months ago (2016-08-15 18:30:38 UTC) #17
bsalomon
lgtm
4 years, 4 months ago (2016-08-15 19:02:55 UTC) #18
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/2249463002/40001
4 years, 4 months ago (2016-08-15 19:36:09 UTC) #24
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 19:37:04 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/d39430d0574513438b5831947052353290204a06

Powered by Google App Engine
This is Rietveld 408576698