Index: src/gpu/GrTexturePriv.h |
diff --git a/src/gpu/GrTexturePriv.h b/src/gpu/GrTexturePriv.h |
index fee7ed1f960df51275118278c70a0595ae366c21..762890fcc003adff2fdd9a12c3a4760066d010c2 100644 |
--- a/src/gpu/GrTexturePriv.h |
+++ b/src/gpu/GrTexturePriv.h |
@@ -29,7 +29,9 @@ public: |
return 0 != (fTexture->fDesc.fFlags & flags); |
} |
- void dirtyMipMaps(bool mipMapsDirty) { fTexture->dirtyMipMaps(mipMapsDirty); } |
+ void dirtyMipMaps(bool mipMapsDirty, bool sRGBCorrect = false) { |
+ fTexture->dirtyMipMaps(mipMapsDirty, sRGBCorrect); |
+ } |
bool mipMapsAreDirty() const { |
return GrTexture::kValid_MipMapsStatus != fTexture->fMipMapsStatus; |
@@ -47,6 +49,10 @@ public: |
return fTexture->fMaxMipMapLevel; |
} |
+ bool mipMapsAreSRGBCorrect() const { |
+ return fTexture->fMipMapsAreSRGBCorrect; |
+ } |
+ |
static void ComputeScratchKey(const GrSurfaceDesc&, GrScratchKey*); |
private: |