| 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 b177e98530aff5510c21e61aabd93af080bf9c74..d38411295ffa8b210ef4368632c1d85cf994f2e3 100644
|
| --- a/gpu/command_buffer/service/feature_info.cc
|
| +++ b/gpu/command_buffer/service/feature_info.cc
|
| @@ -511,8 +511,11 @@ void FeatureInfo::InitializeFeatures() {
|
| (extensions.Contains("GL_ARB_depth_texture") ||
|
| extensions.Contains("GL_OES_depth_texture") ||
|
| extensions.Contains("GL_ANGLE_depth_texture") ||
|
| - gl_version_info_->is_es3 ||
|
| gl_version_info_->is_desktop_core_profile)) {
|
| + // Note that we don't expose depth_texture extenion on top of ES3 if
|
| + // the depth_texture extension isn't exposed by the ES3 driver.
|
| + // This is because depth textures are filterable under linear mode in
|
| + // ES2 + extension, but not in core ES3.
|
| enable_depth_texture = true;
|
| feature_flags_.angle_depth_texture =
|
| extensions.Contains("GL_ANGLE_depth_texture");
|
|
|