Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@10398 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h
index acb7ade..1fb575c 100644
--- a/include/gpu/GrTexture.h
+++ b/include/gpu/GrTexture.h
@@ -43,11 +43,11 @@
bool isSetFlag(GrTextureFlags flags) const {
return 0 != (fDesc.fFlags & flags);
}
-
+
void dirtyMipMaps(bool mipMapsDirty) {
fMipMapsDirty = mipMapsDirty;
}
-
+
bool mipMapsAreDirty() const {
return fMipMapsDirty;
}
@@ -144,7 +144,7 @@
GrTexture(GrGpu* gpu, bool isWrapped, const GrTextureDesc& desc)
: INHERITED(gpu, isWrapped, desc)
- , fRenderTarget(NULL)
+ , fRenderTarget(NULL)
, fMipMapsDirty(true) {
// only make sense if alloc size is pow2
@@ -164,7 +164,7 @@
// for this texture if the texture is power of two sized.
int fShiftFixedX;
int fShiftFixedY;
-
+
bool fMipMapsDirty;
virtual void internal_dispose() const SK_OVERRIDE;
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 98db317..cc99943 100644
--- a/src/gpu/gl/GrGpuGL.cpp
+++ b/src/gpu/gl/GrGpuGL.cpp
@@ -1553,7 +1553,7 @@
if (NULL == bound || !bound->isEmpty()) {
rt->flagAsNeedingResolve(bound);
}
-
+
GrTexture *texture = rt->asTexture();
if (texture) {
texture->dirtyMipMaps(true);
@@ -2029,9 +2029,9 @@
};
newTexParams.fMinFilter = glMinFilterModes[params.filterMode()];
newTexParams.fMagFilter = glMagFilterModes[params.filterMode()];
-
+
#ifndef SKIA_IGNORE_GPU_MIPMAPS
- if (params.filterMode() == GrTextureParams::kMipMap_FilterMode &&
+ if (params.filterMode() == GrTextureParams::kMipMap_FilterMode &&
texture->mipMapsAreDirty()) {
// GL_CALL(Hint(GR_GL_GENERATE_MIPMAP_HINT,GR_GL_NICEST));
GL_CALL(GenerateMipmap(GR_GL_TEXTURE_2D));