Sanitizing source files in Skia_Periodic_House_Keeping
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 29 Sep 2012 02:01:02 +0000 (02:01 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Sat, 29 Sep 2012 02:01:02 +0000 (02:01 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@5735 2bbb7eff-a529-9590-31e7-b0007b416f81

experimental/Intersection/EdgeWalker_TestUtility.cpp
include/gpu/SkGpuDevice.h
src/gpu/SkGpuDevice.cpp
src/ports/SkFontHost_mac_coretext.cpp

index 9ff03f7efeec5a32a2cb4ef2c4bf022300a44ced..397bfcacbc41705fab2a2202592c42d55fd18633 100644 (file)
@@ -81,7 +81,7 @@ static int pathsDrawTheSame(const SkPath& one, const SkPath& two,
         bits.setConfig(SkBitmap::kARGB_8888_Config, bitWidth * 2, bitHeight);
         bits.allocPixels();
     }
-    
+
     SkRect larger = one.getBounds();
     larger.join(two.getBounds());
     SkScalar largerWidth = larger.width();
index c9d54e58e39b05c5fd7b26de58600078aea391c2..790d4a9ca135a8e8ad14b213244cb63aab9f094f 100644 (file)
@@ -170,10 +170,10 @@ private:
                          const SkMatrix& m,
                          const GrTextureParams& params,
                          GrPaint* grPaint);
-    void drawBitmapCommon(const SkDraw&, 
+    void drawBitmapCommon(const SkDraw&,
                           const SkBitmap& bitmap,
                           const SkRect* srcRectPtr,
-                          const SkMatrix&, 
+                          const SkMatrix&,
                           const SkPaint&);
 
     /**
index ee09371e91bbfa8a3e4c5de63a84fb9746140c11..5b210b2932ac7d625fd804b669cad45a197105f6 100644 (file)
@@ -1353,9 +1353,9 @@ void SkGpuDevice::drawTiledBitmap(const SkDraw& draw,
     for (int x = 0; x <= nx; x++) {
         for (int y = 0; y <= ny; y++) {
             SkRect tileR;
-            tileR.set(SkIntToScalar(x * tileSize), 
+            tileR.set(SkIntToScalar(x * tileSize),
                       SkIntToScalar(y * tileSize),
-                      SkIntToScalar((x + 1) * tileSize), 
+                      SkIntToScalar((x + 1) * tileSize),
                       SkIntToScalar((y + 1) * tileSize));
 
             if (!SkRect::Intersects(tileR, clipRect)) {
@@ -1367,7 +1367,7 @@ void SkGpuDevice::drawTiledBitmap(const SkDraw& draw,
             }
 
             SkBitmap tmpB;
-            SkIRect iTileR;     
+            SkIRect iTileR;
             tileR.roundOut(&iTileR);
             if (bitmap.extractSubset(&tmpB, iTileR)) {
                 // now offset it to make it "local" to our tmp bitmap
@@ -1472,7 +1472,7 @@ void SkGpuDevice::internalDrawBitmap(const SkDraw& draw,
     bool needsTextureDomain = false;
     if (params.isBilerp()) {
         // Need texture domain if drawing a sub rect.
-        needsTextureDomain = srcRect.width() < bitmap.width() || 
+        needsTextureDomain = srcRect.width() < bitmap.width() ||
                              srcRect.height() < bitmap.height();
         if (m.rectStaysRect() && draw.fMatrix->rectStaysRect()) {
             // sampling is axis-aligned
index 1847562824dbeafd73916068ba30019ea19dc354..8e9eb80dfb680eb1bc9a9989fd939944bb688c44 100644 (file)
@@ -747,7 +747,7 @@ CGRGBPixel* Offscreen::getCG(const SkScalerContext_Mac& context, const SkGlyph&
         doLCD = true;
         doAA = true;
     }
-    
+
     //FIXME: lcd smoothed un-hinted rasterization unsupported. Tracked by
     //http://code.google.com/p/skia/issues/detail?id=915
     if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) {
@@ -1205,7 +1205,7 @@ void SkScalerContext_Mac::generateImage(const SkGlyph& glyph, SkMaskGamma::PreBl
     //FIXME: lcd smoothed un-hinted rasterization unsupported. Tracked by
     //http://code.google.com/p/skia/issues/detail?id=915
     bool generateA8FromLCD = fRec.getHinting() != SkPaint::kNo_Hinting;
-    
+
     // Draw the glyph
     size_t cgRowBytes;
     CGRGBPixel* cgPixels = fOffscreen.getCG(*this, glyph, cgGlyph, &cgRowBytes, generateA8FromLCD);