diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-04 03:02:32 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-04 03:02:32 +0000 |
commit | ade9a3485e78d471f5f0902e9e50a2ec74c88e76 (patch) | |
tree | 812c5c5907c2b84a3b4f6f4902d4e7b876b31ce6 /src | |
parent | 3b987595293de5a6fadd0f7c8c00eaedf5aca660 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13651 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/GrAtlas.cpp | 8 | ||||
-rw-r--r-- | src/gpu/GrAtlas.h | 2 | ||||
-rw-r--r-- | src/utils/debugger/SkDebugCanvas.h | 4 | ||||
-rw-r--r-- | src/utils/debugger/SkDrawCommand.h | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp index c2fcf46f68..668a73a695 100644 --- a/src/gpu/GrAtlas.cpp +++ b/src/gpu/GrAtlas.cpp @@ -89,9 +89,9 @@ bool GrPlot::addSubImage(int width, int height, const void* image, return true; } -void GrPlot::resetRects() { - SkASSERT(NULL != fRects); - fRects->reset(); +void GrPlot::resetRects() { + SkASSERT(NULL != fRects); + fRects->reset(); } /////////////////////////////////////////////////////////////////////////////// @@ -134,7 +134,7 @@ void GrAtlasMgr::moveToHead(GrPlot* plot) { if (fPlotList.head() == plot) { return; } - + fPlotList.remove(plot); fPlotList.addToHead(plot); }; diff --git a/src/gpu/GrAtlas.h b/src/gpu/GrAtlas.h index ee4ead92a0..7219ab24c2 100644 --- a/src/gpu/GrAtlas.h +++ b/src/gpu/GrAtlas.h @@ -32,7 +32,7 @@ class GrAtlas; class GrPlot { public: SK_DECLARE_INTERNAL_LLIST_INTERFACE(GrPlot); - + int getOffsetX() const { return fOffset.fX; } int getOffsetY() const { return fOffset.fY; } diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h index 8c1f72f968..b9780369d1 100644 --- a/src/utils/debugger/SkDebugCanvas.h +++ b/src/utils/debugger/SkDebugCanvas.h @@ -281,13 +281,13 @@ private: */ int fOutstandingSaveCount; - /** + /** The active saveLayer commands at a given point in the renderering. Only used when "mega" visualization is enabled. */ SkTDArray<SkDrawCommand*> fActiveLayers; - /** + /** The active cull commands at a given point in the rendering. Only used when "mega" visualization is enabled. */ diff --git a/src/utils/debugger/SkDrawCommand.h b/src/utils/debugger/SkDrawCommand.h index a4f50c9737..3c40393fe7 100644 --- a/src/utils/debugger/SkDrawCommand.h +++ b/src/utils/debugger/SkDrawCommand.h @@ -44,7 +44,7 @@ public: // The next "active" system is only used by save, saveLayer, restore, // pushCull and popCull. It is used in two ways: - // To determine which saveLayers are currently active (at a + // To determine which saveLayers are currently active (at a // given point in the rendering). // save just return a kPushLayer action but don't track active state // restore just return a kPopLayer action |