| Index: gpu/command_buffer/service/feature_info.cc
|
| diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
|
| index e5768267828ed7eb2eb309374a22e7836fb29a22..941be24aedc94c9c1eb4f22db13eb4845ba3b055 100644
|
| --- a/gpu/command_buffer/service/feature_info.cc
|
| +++ b/gpu/command_buffer/service/feature_info.cc
|
| @@ -845,10 +845,11 @@ void FeatureInfo::InitializeFeatures() {
|
| enable_immutable_texture_format_bgra_on_es3) ||
|
| (gl_version_info_->is_es3 &&
|
| !enable_texture_format_bgra8888);
|
| - if (extensions.Contains("GL_EXT_texture_storage") ||
|
| - extensions.Contains("GL_ARB_texture_storage") ||
|
| - support_texture_storage_on_es3 ||
|
| - gl_version_info_->is_desktop_core_profile) {
|
| + if (!workarounds_.disable_texture_storage &&
|
| + (extensions.Contains("GL_EXT_texture_storage") ||
|
| + extensions.Contains("GL_ARB_texture_storage") ||
|
| + support_texture_storage_on_es3 ||
|
| + gl_version_info_->is_desktop_core_profile)) {
|
| feature_flags_.ext_texture_storage = true;
|
| AddExtensionString("GL_EXT_texture_storage");
|
| validators_.texture_parameter.AddValue(GL_TEXTURE_IMMUTABLE_FORMAT_EXT);
|
|
|