| Index: src/gpu/gl/GrGLCaps.cpp
|
| diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
|
| index 168acdec735db31e89c8389f1fd12073642f31b9..5a0864e8cf773e31f14f8d4e6dab42e36069429d 100644
|
| --- a/src/gpu/gl/GrGLCaps.cpp
|
| +++ b/src/gpu/gl/GrGLCaps.cpp
|
| @@ -52,6 +52,7 @@ GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions,
|
| fRGBAToBGRAReadbackConversionsAreSlow = false;
|
| fDoManualMipmapping = false;
|
| fSRGBDecodeDisableSupport = false;
|
| + fSRGBDecodeDisableAffectsMipmaps = false;
|
|
|
| fBlitFramebufferFlags = kNoSupport_BlitFramebufferFlag;
|
|
|
| @@ -609,6 +610,8 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
|
| }
|
|
|
| fSRGBDecodeDisableSupport = ctxInfo.hasExtension("GL_EXT_texture_sRGB_decode");
|
| + fSRGBDecodeDisableAffectsMipmaps = fSRGBDecodeDisableSupport &&
|
| + kChromium_GrGLDriver != ctxInfo.driver();
|
|
|
| // Requires fTextureRedSupport, fTextureSwizzleSupport, msaa support, ES compatibility have
|
| // already been detected.
|
|
|