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

Side by Side Diff: src/effects/SkBlurMask.h

Issue 16750002: Remove the non-separable blur because it is no longer used. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 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 | « gm/blurrect.cpp ('k') | src/effects/SkBlurMask.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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkBlurMask_DEFINED 10 #ifndef SkBlurMask_DEFINED
(...skipping 18 matching lines...) Expand all
29 kHigh_Quality //!< three pass box blur (similar to gaussian) 29 kHigh_Quality //!< three pass box blur (similar to gaussian)
30 }; 30 };
31 31
32 static bool BlurRect(SkMask *dst, const SkRect &src, 32 static bool BlurRect(SkMask *dst, const SkRect &src,
33 SkScalar radius, Style style, 33 SkScalar radius, Style style,
34 SkIPoint *margin = NULL, 34 SkIPoint *margin = NULL,
35 SkMask::CreateMode createMode=SkMask::kComputeBoundsAnd RenderImage_CreateMode); 35 SkMask::CreateMode createMode=SkMask::kComputeBoundsAnd RenderImage_CreateMode);
36 static bool Blur(SkMask* dst, const SkMask& src, 36 static bool Blur(SkMask* dst, const SkMask& src,
37 SkScalar radius, Style style, Quality quality, 37 SkScalar radius, Style style, Quality quality,
38 SkIPoint* margin = NULL); 38 SkIPoint* margin = NULL);
39 static bool BlurSeparable(SkMask* dst, const SkMask& src,
40 SkScalar radius, Style style, Quality quality,
41 SkIPoint* margin = NULL);
42
43 39
44 // the "ground truth" blur does a gaussian convolution; it's slow 40 // the "ground truth" blur does a gaussian convolution; it's slow
45 // but useful for comparison purposes. 41 // but useful for comparison purposes.
46 42
47 static bool BlurGroundTruth(SkMask* dst, const SkMask& src, 43 static bool BlurGroundTruth(SkMask* dst, const SkMask& src,
48 SkScalar provided_radius, Style style, 44 SkScalar provided_radius, Style style,
49 SkIPoint* margin = NULL); 45 SkIPoint* margin = NULL);
50
51 private:
52 static bool Blur(SkMask* dst, const SkMask& src,
53 SkScalar radius, Style style, Quality quality,
54 SkIPoint* margin, bool separable);
55 }; 46 };
56 47
57 #endif 48 #endif
OLDNEW
« no previous file with comments | « gm/blurrect.cpp ('k') | src/effects/SkBlurMask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698