aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-26 07:06:02 +0000
committerGravatar skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-26 07:06:02 +0000
commite16efc1882ab34a0bb3ae361a2d37f840044cf87 (patch)
tree10e58bef0f4eb0050356be133ad49cc7fd927f84 /src/gpu
parent4899712109a428445f7639e900925e9cbc970749 (diff)
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@7406 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/FlingState.cpp2
-rw-r--r--src/gpu/GrAAConvexPathRenderer.cpp1
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.cpp1
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.h1
-rw-r--r--src/gpu/GrAllocPool.cpp2
-rw-r--r--src/gpu/GrAllocPool.h1
-rw-r--r--src/gpu/GrAtlas.h2
-rw-r--r--src/gpu/GrClipData.cpp1
-rw-r--r--src/gpu/GrClipMaskCache.cpp1
-rw-r--r--src/gpu/GrGpu.cpp1
-rw-r--r--src/gpu/GrGpuVertex.h1
-rw-r--r--src/gpu/GrMemory.cpp2
-rw-r--r--src/gpu/GrMemoryPool.cpp1
-rw-r--r--src/gpu/GrPathRenderer.cpp1
-rw-r--r--src/gpu/GrPathRenderer.h1
-rw-r--r--src/gpu/GrPlotMgr.h1
-rw-r--r--src/gpu/GrRectanizer.cpp2
-rw-r--r--src/gpu/GrRectanizer.h2
-rw-r--r--src/gpu/GrRectanizer_fifo.cpp2
-rw-r--r--src/gpu/GrSWMaskHelper.cpp1
-rw-r--r--src/gpu/GrSurface.cpp1
-rw-r--r--src/gpu/GrTBSearch.h1
-rw-r--r--src/gpu/GrTHashCache.h1
-rw-r--r--src/gpu/GrTextContext.cpp1
-rw-r--r--src/gpu/GrTextStrike.cpp2
-rw-r--r--src/gpu/GrTextStrike.h1
-rw-r--r--src/gpu/GrTextStrike_impl.h1
-rw-r--r--src/gpu/SkGrFontScaler.cpp3
-rw-r--r--src/gpu/SkGrPixelRef.cpp1
-rw-r--r--src/gpu/effects/GrTextureStripAtlas.h1
-rw-r--r--src/gpu/gl/GrGLCaps.cpp1
-rw-r--r--src/gpu/gl/GrGLContextInfo.cpp1
-rw-r--r--src/gpu/gl/GrGLInterface.cpp1
-rw-r--r--src/gpu/gl/GrGLUtil.cpp1
-rw-r--r--src/gpu/gl/GrGpuGL.h1
-rw-r--r--src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp1
-rw-r--r--src/gpu/gl/debug/GrTextureUnitObj.cpp1
37 files changed, 0 insertions, 47 deletions
diff --git a/src/gpu/FlingState.cpp b/src/gpu/FlingState.cpp
index 8d9e1c5607..f0db5016bd 100644
--- a/src/gpu/FlingState.cpp
+++ b/src/gpu/FlingState.cpp
@@ -123,5 +123,3 @@ float GrAnimateFloat::evaluate() {
}
return fValue0 + t * (fValue1 - fValue0);
}
-
-
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp
index e0a80d3399..4efc43a0db 100644
--- a/src/gpu/GrAAConvexPathRenderer.cpp
+++ b/src/gpu/GrAAConvexPathRenderer.cpp
@@ -501,4 +501,3 @@ bool GrAAConvexPathRenderer::onDrawPath(const SkPath& origPath,
return true;
}
-
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 347e4b5bee..df7aca8984 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -624,4 +624,3 @@ bool GrAAHairLinePathRenderer::onDrawPath(const SkPath& path,
drawState->setVertexEdgeType(oldEdgeType);
return true;
}
-
diff --git a/src/gpu/GrAAHairLinePathRenderer.h b/src/gpu/GrAAHairLinePathRenderer.h
index 20be696745..7d1a6db5d2 100644
--- a/src/gpu/GrAAHairLinePathRenderer.h
+++ b/src/gpu/GrAAHairLinePathRenderer.h
@@ -48,4 +48,3 @@ private:
#endif
-
diff --git a/src/gpu/GrAllocPool.cpp b/src/gpu/GrAllocPool.cpp
index 39f8350c16..971f8ee116 100644
--- a/src/gpu/GrAllocPool.cpp
+++ b/src/gpu/GrAllocPool.cpp
@@ -116,5 +116,3 @@ void GrAllocPool::validate() const {
}
#endif
-
-
diff --git a/src/gpu/GrAllocPool.h b/src/gpu/GrAllocPool.h
index 3489cb9563..4f58f006df 100644
--- a/src/gpu/GrAllocPool.h
+++ b/src/gpu/GrAllocPool.h
@@ -61,4 +61,3 @@ private:
};
#endif
-
diff --git a/src/gpu/GrAtlas.h b/src/gpu/GrAtlas.h
index 005598e28d..40a21545e1 100644
--- a/src/gpu/GrAtlas.h
+++ b/src/gpu/GrAtlas.h
@@ -79,5 +79,3 @@ private:
};
#endif
-
-
diff --git a/src/gpu/GrClipData.cpp b/src/gpu/GrClipData.cpp
index 7c84c18a9b..ce9dcdf44f 100644
--- a/src/gpu/GrClipData.cpp
+++ b/src/gpu/GrClipData.cpp
@@ -32,4 +32,3 @@ void GrClipData::getConservativeBounds(const GrSurface* surface,
devBounds.roundOut(devResult);
}
-
diff --git a/src/gpu/GrClipMaskCache.cpp b/src/gpu/GrClipMaskCache.cpp
index b7cfb65087..470cc4a256 100644
--- a/src/gpu/GrClipMaskCache.cpp
+++ b/src/gpu/GrClipMaskCache.cpp
@@ -19,4 +19,3 @@ GrClipMaskCache::GrClipMaskCache()
void GrClipMaskCache::push() {
SkNEW_PLACEMENT(fStack.push_back(), GrClipStackFrame);
}
-
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index d6a6e44ca8..2eb5ad756c 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -557,4 +557,3 @@ void GrGpu::releaseIndexArray() {
fIndexPool->putBack(bytes);
--fIndexPoolUseCnt;
}
-
diff --git a/src/gpu/GrGpuVertex.h b/src/gpu/GrGpuVertex.h
index a5e39e8ab2..19a0b01e54 100644
--- a/src/gpu/GrGpuVertex.h
+++ b/src/gpu/GrGpuVertex.h
@@ -94,4 +94,3 @@ struct GrGpuTextVertex {
};
#endif
-
diff --git a/src/gpu/GrMemory.cpp b/src/gpu/GrMemory.cpp
index f6d3c7f06e..bf96b0bc31 100644
--- a/src/gpu/GrMemory.cpp
+++ b/src/gpu/GrMemory.cpp
@@ -24,5 +24,3 @@ void GrFree(void* ptr) {
::free(ptr);
}
}
-
-
diff --git a/src/gpu/GrMemoryPool.cpp b/src/gpu/GrMemoryPool.cpp
index 2518a7486f..fc777e0db0 100644
--- a/src/gpu/GrMemoryPool.cpp
+++ b/src/gpu/GrMemoryPool.cpp
@@ -159,4 +159,3 @@ void GrMemoryPool::validate() {
GrAssert(prev == fTail);
#endif
}
-
diff --git a/src/gpu/GrPathRenderer.cpp b/src/gpu/GrPathRenderer.cpp
index 1daa6c9f2f..e0d2682bcd 100644
--- a/src/gpu/GrPathRenderer.cpp
+++ b/src/gpu/GrPathRenderer.cpp
@@ -12,4 +12,3 @@ SK_DEFINE_INST_COUNT(GrPathRenderer)
GrPathRenderer::GrPathRenderer() {
}
-
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
index fa2112c410..ebd464ffb3 100644
--- a/src/gpu/GrPathRenderer.h
+++ b/src/gpu/GrPathRenderer.h
@@ -179,4 +179,3 @@ private:
};
#endif
-
diff --git a/src/gpu/GrPlotMgr.h b/src/gpu/GrPlotMgr.h
index 6dd7114c06..4f79a2135e 100644
--- a/src/gpu/GrPlotMgr.h
+++ b/src/gpu/GrPlotMgr.h
@@ -74,4 +74,3 @@ private:
};
#endif
-
diff --git a/src/gpu/GrRectanizer.cpp b/src/gpu/GrRectanizer.cpp
index 652cc29742..75ff92c7ee 100644
--- a/src/gpu/GrRectanizer.cpp
+++ b/src/gpu/GrRectanizer.cpp
@@ -119,5 +119,3 @@ bool GrRectanizerPow2::addRect(int width, int height, GrIPoint16* loc) {
GrRectanizer* GrRectanizer::Factory(int width, int height) {
return SkNEW_ARGS(GrRectanizerPow2, (width, height));
}
-
-
diff --git a/src/gpu/GrRectanizer.h b/src/gpu/GrRectanizer.h
index 0be83249b3..44d14a1c03 100644
--- a/src/gpu/GrRectanizer.h
+++ b/src/gpu/GrRectanizer.h
@@ -52,5 +52,3 @@ private:
};
#endif
-
-
diff --git a/src/gpu/GrRectanizer_fifo.cpp b/src/gpu/GrRectanizer_fifo.cpp
index aab012de6a..b6ef1d9a88 100644
--- a/src/gpu/GrRectanizer_fifo.cpp
+++ b/src/gpu/GrRectanizer_fifo.cpp
@@ -119,5 +119,3 @@ bool GrRectanizerFIFO::addRect(int width, int height, GrIPoint16* loc) {
GrRectanizer* GrRectanizer::Factory(int width, int height) {
return SkNEW_ARGS(GrRectanizerFIFO, (width, height));
}
-
-
diff --git a/src/gpu/GrSWMaskHelper.cpp b/src/gpu/GrSWMaskHelper.cpp
index 0a4fe6a8dd..6d27d873b3 100644
--- a/src/gpu/GrSWMaskHelper.cpp
+++ b/src/gpu/GrSWMaskHelper.cpp
@@ -214,4 +214,3 @@ void GrSWMaskHelper::DrawToTargetWithPathMask(GrTexture* texture,
target->drawRect(dstRect, NULL, srcRects, NULL);
drawState->disableStage(kPathMaskStage);
}
-
diff --git a/src/gpu/GrSurface.cpp b/src/gpu/GrSurface.cpp
index 3fd90d912c..47d9959d26 100644
--- a/src/gpu/GrSurface.cpp
+++ b/src/gpu/GrSurface.cpp
@@ -8,4 +8,3 @@
#include "GrSurface.h"
SK_DEFINE_INST_COUNT(GrSurface)
-
diff --git a/src/gpu/GrTBSearch.h b/src/gpu/GrTBSearch.h
index 1d77c958c1..cee4f2a414 100644
--- a/src/gpu/GrTBSearch.h
+++ b/src/gpu/GrTBSearch.h
@@ -43,4 +43,3 @@ int GrTBSearch(const ELEM array[], int count, KEY target) {
}
#endif
-
diff --git a/src/gpu/GrTHashCache.h b/src/gpu/GrTHashCache.h
index c75a5a79ce..b73b5748f5 100644
--- a/src/gpu/GrTHashCache.h
+++ b/src/gpu/GrTHashCache.h
@@ -243,4 +243,3 @@ bool GrTHashTable<T, Key, kHashBits>::contains(T* elem) const {
#endif
#endif
-
diff --git a/src/gpu/GrTextContext.cpp b/src/gpu/GrTextContext.cpp
index fd7a6891e8..9daa31572f 100644
--- a/src/gpu/GrTextContext.cpp
+++ b/src/gpu/GrTextContext.cpp
@@ -263,4 +263,3 @@ HAS_ATLAS:
#endif
fCurrVertex += 4;
}
-
diff --git a/src/gpu/GrTextStrike.cpp b/src/gpu/GrTextStrike.cpp
index 4b55810660..4b4298a96c 100644
--- a/src/gpu/GrTextStrike.cpp
+++ b/src/gpu/GrTextStrike.cpp
@@ -207,5 +207,3 @@ bool GrTextStrike::getGlyphAtlas(GrGlyph* glyph, GrFontScaler* scaler) {
glyph->fAtlas = fAtlas = atlas;
return true;
}
-
-
diff --git a/src/gpu/GrTextStrike.h b/src/gpu/GrTextStrike.h
index 701acea7ab..25ced6de9b 100644
--- a/src/gpu/GrTextStrike.h
+++ b/src/gpu/GrTextStrike.h
@@ -112,4 +112,3 @@ private:
};
#endif
-
diff --git a/src/gpu/GrTextStrike_impl.h b/src/gpu/GrTextStrike_impl.h
index a3f37b3a7b..48323bcc25 100644
--- a/src/gpu/GrTextStrike_impl.h
+++ b/src/gpu/GrTextStrike_impl.h
@@ -103,4 +103,3 @@ GrGlyph* GrTextStrike::getGlyph(GrGlyph::PackedID packed,
}
#endif
-
diff --git a/src/gpu/SkGrFontScaler.cpp b/src/gpu/SkGrFontScaler.cpp
index dc637a8176..acecbd955a 100644
--- a/src/gpu/SkGrFontScaler.cpp
+++ b/src/gpu/SkGrFontScaler.cpp
@@ -199,6 +199,3 @@ bool SkGrFontScaler::getGlyphPath(uint16_t glyphID, SkPath* path) {
}
return false;
}
-
-
-
diff --git a/src/gpu/SkGrPixelRef.cpp b/src/gpu/SkGrPixelRef.cpp
index 081c09f91c..f8160ab9fe 100644
--- a/src/gpu/SkGrPixelRef.cpp
+++ b/src/gpu/SkGrPixelRef.cpp
@@ -177,4 +177,3 @@ bool SkGrPixelRef::onReadPixels(SkBitmap* dst, const SkIRect* subset) {
kSkia8888_PM_GrPixelConfig,
buffer, dst->rowBytes());
}
-
diff --git a/src/gpu/effects/GrTextureStripAtlas.h b/src/gpu/effects/GrTextureStripAtlas.h
index 1e1e5088c7..9ac356b4cc 100644
--- a/src/gpu/effects/GrTextureStripAtlas.h
+++ b/src/gpu/effects/GrTextureStripAtlas.h
@@ -179,4 +179,3 @@ private:
};
#endif
-
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index ec80cda760..b140a100da 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -426,4 +426,3 @@ void GrGLCaps::print() const {
GrPrintf("Two Format Limit: %s\n", (fTwoFormatLimit ? "YES": "NO"));
GrPrintf("Fragment coord conventions support: %s\n", (fFragCoordsConventionSupport ? "YES": "NO"));
}
-
diff --git a/src/gpu/gl/GrGLContextInfo.cpp b/src/gpu/gl/GrGLContextInfo.cpp
index 060d236b22..7a33ac7fee 100644
--- a/src/gpu/gl/GrGLContextInfo.cpp
+++ b/src/gpu/gl/GrGLContextInfo.cpp
@@ -83,4 +83,3 @@ bool GrGLContextInfo::initialize(const GrGLInterface* interface) {
bool GrGLContextInfo::isInitialized() const {
return kNone_GrGLBinding != fBindingInUse;
}
-
diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp
index 297e1fc1d9..61020bc2e3 100644
--- a/src/gpu/gl/GrGLInterface.cpp
+++ b/src/gpu/gl/GrGLInterface.cpp
@@ -346,4 +346,3 @@ bool GrGLInterface::validate(GrGLBinding binding) const {
return true;
}
-
diff --git a/src/gpu/gl/GrGLUtil.cpp b/src/gpu/gl/GrGLUtil.cpp
index 55236aab14..3f110cc49f 100644
--- a/src/gpu/gl/GrGLUtil.cpp
+++ b/src/gpu/gl/GrGLUtil.cpp
@@ -205,4 +205,3 @@ GrGLVendor GrGLGetVendor(const GrGLInterface* gl) {
GR_GL_CALL_RET(gl, v, GetString(GR_GL_VENDOR));
return GrGLGetVendorFromString((const char*) v);
}
-
diff --git a/src/gpu/gl/GrGpuGL.h b/src/gpu/gl/GrGpuGL.h
index 97b95d05b5..fd391d80b9 100644
--- a/src/gpu/gl/GrGpuGL.h
+++ b/src/gpu/gl/GrGpuGL.h
@@ -362,4 +362,3 @@ private:
};
#endif
-
diff --git a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
index 19fe44f6d8..bc1e0ee6c3 100644
--- a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
+++ b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp
@@ -153,4 +153,3 @@ const GrGLInterface* GrGLCreateANGLEInterface() {
glInterface.get()->ref();
return glInterface.get();
}
-
diff --git a/src/gpu/gl/debug/GrTextureUnitObj.cpp b/src/gpu/gl/debug/GrTextureUnitObj.cpp
index b7c7b0ca57..316dcecd93 100644
--- a/src/gpu/gl/debug/GrTextureUnitObj.cpp
+++ b/src/gpu/gl/debug/GrTextureUnitObj.cpp
@@ -29,4 +29,3 @@ void GrTextureUnitObj::setTexture(GrTextureObj *texture) {
fTexture->setBound(this);
}
}
-