diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-12 03:05:59 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-12 03:05:59 +0000 |
commit | d94273125984e108018064962408589bdc942f59 (patch) | |
tree | b575486d9a0ac58a2c78e67bb1386422d113dad2 | |
parent | e93a4c0fea42da5cd57506ab75eb6df3dff4762c (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@14168 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | src/core/SkDevice.cpp | 1 | ||||
-rw-r--r-- | src/gpu/GrLayerCache.h | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/core/SkDevice.cpp b/src/core/SkDevice.cpp index f8a7115aa8..36a8a754c0 100644 --- a/src/core/SkDevice.cpp +++ b/src/core/SkDevice.cpp @@ -143,4 +143,3 @@ bool SkBaseDevice::EXPERIMENTAL_drawPicture(SkCanvas* canvas, SkPicture* picture // The base class doesn't perform any accelerated picture rendering return false; } - diff --git a/src/gpu/GrLayerCache.h b/src/gpu/GrLayerCache.h index f671195b35..414b87dbb3 100644 --- a/src/gpu/GrLayerCache.h +++ b/src/gpu/GrLayerCache.h @@ -47,9 +47,9 @@ private: // // Atlased layers get a ref to their atlas GrTexture and their GrAtlasLocation // is filled in. -// In this case GrCachedLayer is roughly equivalent to a GrGlyph in the font +// In this case GrCachedLayer is roughly equivalent to a GrGlyph in the font // caching system. -// +// // Non-atlased layers get a ref to the GrTexture in which they reside. // TODO: can we easily reuse the empty space in the non-atlased GrTexture's? struct GrCachedLayer { @@ -65,7 +65,7 @@ public: } // This call takes over the caller's ref - void setTexture(GrTexture* texture) { + void setTexture(GrTexture* texture) { if (NULL != fTexture) { fTexture->unref(); } @@ -78,9 +78,9 @@ private: uint32_t fPictureID; // fLayerID is only valid when fPicture != kInvalidGenID in which case it // is the index of this layer in the picture (one of 0 .. #layers). - int fLayerID; + int fLayerID; - // fTexture is a ref on the atlasing texture for atlased layers and a + // fTexture is a ref on the atlasing texture for atlased layers and a // ref on a GrTexture for non-atlased textures. In both cases, if this is // non-NULL, that means that the texture is locked in the texture cache. GrTexture* fTexture; |