Sanitizing source files in Housekeeper-Nightly
authorskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 1 Apr 2014 03:07:47 +0000 (03:07 +0000)
committerskia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 1 Apr 2014 03:07:47 +0000 (03:07 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@14002 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrPictureUtils.cpp
src/gpu/SkGpuDevice.cpp

index 20b8828..e8c3b50 100644 (file)
@@ -8,7 +8,7 @@
 #include "GrPictureUtils.h"
 #include "SkDevice.h"
 
-// The GrGather device performs GPU-backend-specific preprocessing on 
+// The GrGather device performs GPU-backend-specific preprocessing on
 // a picture. The results are stored in a GPUAccelData.
 //
 // Currently the only interesting work is done in drawDevice (i.e., when a
@@ -27,7 +27,7 @@ public:
         fInfo.fRestoreOpID = 0;
         fInfo.fHasNestedLayers = false;
 
-        fEmptyBitmap.setConfig(SkImageInfo::Make(fInfo.fSize.fWidth, 
+        fEmptyBitmap.setConfig(SkImageInfo::Make(fInfo.fSize.fWidth,
                                                  fInfo.fSize.fHeight,
                                                  kUnknown_SkColorType,
                                                  kIgnore_SkAlphaType));
@@ -187,11 +187,11 @@ private:
 //      GrGatherDevice dev(w, h, picture, accelData);
 //      GrGatherCanvas canvas(..., picture);
 //      canvas.gather();
-// 
-// which is all just to fill in 'accelData'     
+//
+// which is all just to fill in 'accelData'
 class SK_API GrGatherCanvas : public SkCanvas {
 public:
-    GrGatherCanvas(GrGatherDevice* device, SkPicture* pict) 
+    GrGatherCanvas(GrGatherDevice* device, SkPicture* pict)
         : INHERITED(device)
         , fPicture(pict) {
     }
@@ -232,8 +232,8 @@ private:
     typedef SkCanvas INHERITED;
 };
 
-// GatherGPUInfo is only intended to be called within the context of SkGpuDevice's 
-// EXPERIMENTAL_optimize method. 
+// GatherGPUInfo is only intended to be called within the context of SkGpuDevice's
+// EXPERIMENTAL_optimize method.
 void GatherGPUInfo(SkPicture* pict, GPUAccelData* accelData) {
     if (0 == pict->width() || 0 == pict->height()) {
         return ;
@@ -244,4 +244,3 @@ void GatherGPUInfo(SkPicture* pict, GPUAccelData* accelData) {
 
     canvas.gather();
 }
-
index 1769f2b..052e669 100644 (file)
@@ -1983,12 +1983,12 @@ bool SkGpuDevice::EXPERIMENTAL_drawPicture(SkPicture* picture) {
         for (int i = 0; i < gpuData->numSaveLayers(); ++i) {
             const GPUAccelData::SaveLayerInfo& info = gpuData->saveLayerInfo(i);
 
-            SkDebugf("%d: Width: %d Height: %d SL: %d R: %d hasNestedLayers: %s\n", 
+            SkDebugf("%d: Width: %d Height: %d SL: %d R: %d hasNestedLayers: %s\n",
                                             i,
-                                            info.fSize.fWidth, 
-                                            info.fSize.fHeight, 
-                                            info.fSaveLayerOpID, 
-                                            info.fRestoreOpID, 
+                                            info.fSize.fWidth,
+                                            info.fSize.fHeight,
+                                            info.fSaveLayerOpID,
+                                            info.fRestoreOpID,
                                             info.fHasNestedLayers ? "T" : "F");
         }
         gPrintedAccelData = true;