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

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

Issue 12387099: first attempt to plumb fast blur code into skia mask filter (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: revert bench changes Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/core/SkMaskFilter.cpp » ('j') | src/effects/SkBlurMask.cpp » ('J')
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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 @param specular coefficient for specular highlights (e.g. 8) 48 @param specular coefficient for specular highlights (e.g. 8)
49 @param blurRadius amount to blur before applying lighting (e.g. 3) 49 @param blurRadius amount to blur before applying lighting (e.g. 3)
50 @return the emboss maskfilter 50 @return the emboss maskfilter
51 */ 51 */
52 static SkMaskFilter* CreateEmboss( const SkScalar direction[3], 52 static SkMaskFilter* CreateEmboss( const SkScalar direction[3],
53 SkScalar ambient, SkScalar specular, 53 SkScalar ambient, SkScalar specular,
54 SkScalar blurRadius); 54 SkScalar blurRadius);
55 55
56 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP() 56 SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP()
57 private: 57 private:
58
58 SkBlurMaskFilter(); // can't be instantiated 59 SkBlurMaskFilter(); // can't be instantiated
59 }; 60 };
60 61
61 #endif 62 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkMaskFilter.cpp » ('j') | src/effects/SkBlurMask.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698