Index: include/gpu/GrTexture.h |
diff --git a/include/gpu/GrTexture.h b/include/gpu/GrTexture.h |
index 2eccd575ef47f4040ab57f403c31a86df4b2118f..211f1937da72b32740e769014a7735ee89b3fadd 100644 |
--- a/include/gpu/GrTexture.h |
+++ b/include/gpu/GrTexture.h |
@@ -53,7 +53,7 @@ protected: |
private: |
void computeScratchKey(GrScratchKey*) const override; |
size_t onGpuMemorySize() const override; |
- void dirtyMipMaps(bool mipMapsDirty, bool sRGBCorrect); |
+ void dirtyMipMaps(bool mipMapsDirty); |
enum MipMapsStatus { |
kNotAllocated_MipMapsStatus, |
@@ -61,10 +61,10 @@ private: |
kValid_MipMapsStatus |
}; |
- GrSLType fSamplerType; |
- MipMapsStatus fMipMapsStatus; |
- int fMaxMipMapLevel; |
- bool fMipMapsAreSRGBCorrect; |
+ GrSLType fSamplerType; |
+ MipMapsStatus fMipMapsStatus; |
+ int fMaxMipMapLevel; |
+ SkSourceGammaTreatment fGammaTreatment; |
friend class GrTexturePriv; |