Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 10 Oct 2013 07:01:40 +0000 (07:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 10 Oct 2013 07:01:40 +0000 (07:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@11691 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/fontcache.cpp
src/gpu/GrClipMaskManager.cpp
src/gpu/gl/GrGLSL.cpp

index ecaa354b61b50b0ea754b1f5facd6cfbb8198bff..cb73e9137769ca2dce201816a0ef528a2b79843c 100644 (file)
@@ -10,7 +10,7 @@
 #include "SkGraphics.h"
 #include "SkTypeface.h"
 
-// GM to stress the GPU font cache 
+// GM to stress the GPU font cache
 
 const char* gFamilyNames[] = {
     "sans-serif", "serif", "monospace"
@@ -45,7 +45,7 @@ public:
             SkSafeUnref(fTypefaces[i]);
         }
     }
-    
+
 protected:
     virtual SkString onShortName() SK_OVERRIDE {
         return SkString("fontcache");
@@ -64,7 +64,7 @@ protected:
             }
         }
     }
-    
+
     virtual void onDraw(SkCanvas* canvas) SK_OVERRIDE {
         SkScalar y = 32;
         SkPaint paint;
@@ -78,29 +78,29 @@ protected:
         for (size_t i = 0; i < 2; ++i) {
             paint.setTypeface(fTypefaces[i]);
             SkScalar x = 20;
-            
+
             for (size_t j = 0; j < SK_ARRAY_COUNT(gTextSizes); ++j) {
                 paint.setTextSize(gTextSizes[j]);
                 x = draw_string(canvas, text, x, y, paint) + 19;
             }
             y += 32;
         }
-        
+
         // force a flush
         canvas->flush();
-        
+
         // draw again, and more to overflow the cache
         for (size_t i = 0; i < TYPEFACE_COUNT; ++i) {
             paint.setTypeface(fTypefaces[i]);
             SkScalar x = 20;
-            
+
             for (size_t j = 0; j < SK_ARRAY_COUNT(gTextSizes); ++j) {
                 paint.setTextSize(gTextSizes[j]);
                 x = draw_string(canvas, text, x, y, paint) + 19;
             }
             y += 32;
         }
-        
+
     }
 
     virtual uint32_t onGetFlags() const SK_OVERRIDE {
@@ -117,4 +117,3 @@ private:
 //////////////////////////////////////////////////////////////////////////////
 
 DEF_GM( return SkNEW(FontCacheGM); )
-
index 1a10336172a0fcdd9f2101aafd45361b104653ec..3709acfc6a2b52c5e0a4c0fcdb6ff12db30336ae 100644 (file)
@@ -1037,4 +1037,3 @@ void GrClipMaskManager::adjustPathStencilParams(GrStencilSettings* settings) {
         this->adjustStencilParams(settings, clipMode, stencilBits);
     }
 }
-
index 3dfd5e50edb085cabc825a9014cc48f7f916672a..f0088fcdf87be0ef0841987ff345a0abe8df5b50 100644 (file)
@@ -89,4 +89,3 @@ void GrGLSLMulVarBy4f(SkString* outAppend,
     }
     outAppend->appendf("%s *= %s;\n", vec4VarName, mulFactor.c_str());
 }
-