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

Side by Side Diff: include/effects/SkBlurMaskFilter.h

Issue 2236493002: Revert of Create blurred RRect mask on GPU (rather than uploading it) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkMaskFilter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkBlurMaskFilter_DEFINED 8 #ifndef SkBlurMaskFilter_DEFINED
9 #define SkBlurMaskFilter_DEFINED 9 #define SkBlurMaskFilter_DEFINED
10 10
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 static SkMaskFilter* CreateEmboss(SkScalar blurSigma, const SkScalar directi on[3], 58 static SkMaskFilter* CreateEmboss(SkScalar blurSigma, const SkScalar directi on[3],
59 SkScalar ambient, SkScalar specular) { 59 SkScalar ambient, SkScalar specular) {
60 return MakeEmboss(blurSigma, direction, ambient, specular).release(); 60 return MakeEmboss(blurSigma, direction, ambient, specular).release();
61 } 61 }
62 SK_ATTR_DEPRECATED("use sigma version") 62 SK_ATTR_DEPRECATED("use sigma version")
63 static SkMaskFilter* CreateEmboss(const SkScalar direction[3], 63 static SkMaskFilter* CreateEmboss(const SkScalar direction[3],
64 SkScalar ambient, SkScalar specular, 64 SkScalar ambient, SkScalar specular,
65 SkScalar blurRadius); 65 SkScalar blurRadius);
66 #endif 66 #endif
67 67
68 static bool ComputeBlurredRRectParams(const SkRRect& rrect,
69 SkScalar sigma,
70 SkRRect* rrectToDraw,
71 SkISize* widthHeight,
72 SkScalar xs[4],
73 int* numXs,
74 SkScalar ys[4],
75 int* numYs);
76
77
78 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() 68 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
79 69
80 private: 70 private:
81 SkBlurMaskFilter(); // can't be instantiated 71 SkBlurMaskFilter(); // can't be instantiated
82 }; 72 };
83 73
84 #endif 74 #endif
OLDNEW
« no previous file with comments | « include/core/SkMaskFilter.h ('k') | src/core/SkMaskFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698