Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Apr 2013 07:01:48 +0000 (07:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 18 Apr 2013 07:01:48 +0000 (07:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@8732 2bbb7eff-a529-9590-31e7-b0007b416f81

bench/DeferredSurfaceCopyBench.cpp
bench/PerlinNoiseBench.cpp
gm/xfermodes2.cpp

index 9c23b67..ac58856 100644 (file)
@@ -84,4 +84,3 @@ static SkBenchmark* Fact1(void* p) { return new DeferredSurfaceCopyBench(p, true
 
 static BenchRegistry gReg0(Fact0);
 static BenchRegistry gReg1(Fact1);
-
index 3275302..d151825 100644 (file)
@@ -57,4 +57,3 @@ private:
 ///////////////////////////////////////////////////////////////////////////////
 
 DEF_BENCH( return new PerlinNoiseBench(p); )
-
index 1ed6cd4..51c69f6 100644 (file)
@@ -98,20 +98,20 @@ private:
         SkAutoLockPixels bgAlp(bg);
         memcpy(bg.getPixels(), kCheckData, sizeof(kCheckData));
         bg.setIsOpaque(true);
-        
+
         fBG.reset(SkShader::CreateBitmapShader(bg,
                                                SkShader::kRepeat_TileMode,
                                                SkShader::kRepeat_TileMode));
         SkMatrix lm;
         lm.setScale(SkIntToScalar(16), SkIntToScalar(16));
         fBG->setLocalMatrix(lm);
-        
+
         SkBitmap dstBmp;
         dstBmp.setConfig(SkBitmap::kARGB_8888_Config, kSize, kSize);
         dstBmp.allocPixels();
         SkAutoLockPixels dstAlp(dstBmp);
         SkPMColor* pixels = reinterpret_cast<SkPMColor*>(dstBmp.getPixels());
-        
+
         for (int y = 0; y < kSize; ++y) {
             int c = y * (1 << kShift);
             SkPMColor rowColor = SkPackARGB32(c, c, 0, c/2);
@@ -127,7 +127,7 @@ private:
         srcBmp.allocPixels();
         SkAutoLockPixels srcAlp(srcBmp);
         pixels = reinterpret_cast<SkPMColor*>(srcBmp.getPixels());
-        
+
         for (int x = 0; x < kSize; ++x) {
             int c = x * (1 << kShift);
             SkPMColor colColor = SkPackARGB32(c, 0, c, c/2);
@@ -139,12 +139,12 @@ private:
                                                 SkShader::kClamp_TileMode,
                                                 SkShader::kClamp_TileMode));
     }
-    
+
     enum {
         kShift = 2,
         kSize = 256 >> kShift,
     };
-    
+
     SkAutoTUnref<SkShader> fBG;
     SkAutoTUnref<SkShader> fSrc;
     SkAutoTUnref<SkShader> fDst;