aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BlurTest.cpp
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-06 07:01:45 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-09-06 07:01:45 +0000
commit6fc1b4998917791a73bf54428513940fe77dc058 (patch)
treeb1ddfb23e9d31f61bdfb8573074a6c2d2b0eefa6 /tests/BlurTest.cpp
parentd4594876674a87c25e0c31233d90c283631689ea (diff)
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@11126 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/BlurTest.cpp')
-rw-r--r--tests/BlurTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/BlurTest.cpp b/tests/BlurTest.cpp
index 285c418158..70e9e4694f 100644
--- a/tests/BlurTest.cpp
+++ b/tests/BlurTest.cpp
@@ -156,7 +156,7 @@ static void test_blur_drawing(skiatest::Reporter* reporter) {
// Use SkBlurMask::BlurGroundTruth to blur a 'width' x 'height' solid
// white rect. Return the right half of the middle row in 'result'.
-static void ground_truth_2d(int width, int height,
+static void ground_truth_2d(int width, int height,
SkScalar sigma,
int* result, int resultCount) {
SkMask src, dst;
@@ -202,7 +202,7 @@ static float gaussian(int x, SkScalar sigma) {
// Perform a brute force convolution of a step function with a Gaussian.
// Return the right half in 'result'
-static void brute_force_1d(SkScalar stepMin, SkScalar stepMax,
+static void brute_force_1d(SkScalar stepMin, SkScalar stepMax,
SkScalar gaussianSigma,
int* result, int resultCount) {
@@ -218,7 +218,7 @@ static void brute_force_1d(SkScalar stepMin, SkScalar stepMax,
}
}
-static void blur_path(SkCanvas* canvas, const SkPath& path,
+static void blur_path(SkCanvas* canvas, const SkPath& path,
SkScalar gaussianSigma) {
SkScalar midX = path.getBounds().centerX();
@@ -255,7 +255,7 @@ static void readback(SkCanvas* canvas, int* result, int resultCount) {
}
}
-// Draw a blurred version of the provided path.
+// Draw a blurred version of the provided path.
// Return the right half of the middle row in 'result'.
static void cpu_blur_path(const SkPath& path, SkScalar gaussianSigma,
int* result, int resultCount) {
@@ -270,7 +270,7 @@ static void cpu_blur_path(const SkPath& path, SkScalar gaussianSigma,
}
#if SK_SUPPORT_GPU
-static void gpu_blur_path(GrContextFactory* factory, const SkPath& path,
+static void gpu_blur_path(GrContextFactory* factory, const SkPath& path,
SkScalar gaussianSigma,
int* result, int resultCount) {