diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-01-30 13:11:45 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-30 18:44:38 +0000 |
commit | efe3dedbb3493b738abdb56041b093245e4e8711 (patch) | |
tree | 5f38ba81ebc59b48e4888a6e5779e6dbc049c5ad /include | |
parent | 08c5ec71303aa58d6f081914f3e868fa5cce9f4c (diff) |
Change shadow tessellators to use SkColor and move to util.
BUG=skia:6119
Change-Id: I4c4a8933c663ccc057596318a06c538175b9f16b
Reviewed-on: https://skia-review.googlesource.com/7726
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'include')
-rwxr-xr-x | include/gpu/effects/GrBlurredEdgeFragmentProcessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gpu/effects/GrBlurredEdgeFragmentProcessor.h b/include/gpu/effects/GrBlurredEdgeFragmentProcessor.h index 2e52485791..c9dd27679f 100755 --- a/include/gpu/effects/GrBlurredEdgeFragmentProcessor.h +++ b/include/gpu/effects/GrBlurredEdgeFragmentProcessor.h @@ -18,11 +18,11 @@ * If the primitive supports an implicit distance to the edge, the radius of the blur is specified * by r & g values of the color in 14.2 fixed point. For spot shadows, we increase the stroke width * to set the shadow against the shape. This pad is specified by b, also in 6.2 fixed point. + * The a value represents the max final alpha. * * When not using implicit distance, then b in the input color represents the input to the - * blur function. + * blur function, and r the max final alpha. * - * In either case, the a value represents the max final alpha. */ class GrBlurredEdgeFP : public GrFragmentProcessor { public: |