aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-05 02:01:40 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-10-05 02:01:40 +0000
commitdda28c9bde2a34b98e1383532c210270dacb7ca8 (patch)
treea421b4f07599d8b1d38f44c7cde71f6ceb18f265 /src/effects
parentb1a72cb90a9b515978bc9abda1f267f31a544e08 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5821 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkMatrixConvolutionImageFilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp
index 781facf4d1..234a74ac05 100644
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp
@@ -410,7 +410,7 @@ int encodeXY(int x, int y) {
SkASSERT(x >= 1 && y >= 1 && x * y <= 32);
if (y < x)
return 0x40 | encodeXY(y, x);
- else
+ else
return (0x40 >> x) | (y - x);
}
@@ -491,7 +491,7 @@ bool GrMatrixConvolutionEffect::isEqual(const GrCustomStage& sBase) const {
GR_DEFINE_CUSTOM_STAGE_TEST(GrMatrixConvolutionEffect);
-// A little bit less than the minimum # uniforms required by DX9SM2 (32).
+// A little bit less than the minimum # uniforms required by DX9SM2 (32).
// Allows for a 5x5 kernel (or 25x1, for that matter).
#define MAX_KERNEL_SIZE 25