Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp

Issue 2363773007: Command buffer should not report depth_texture on pure ES3 without depth_texture extension. (Closed)
Patch Set: fix unittests Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp b/third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp
index 17b3319638dd8a6e8eda386a02e1ed7dff0c5d93..f29ea4bfcf7c4637eafb3c54b0cbcc5b18b497be 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLDepthTexture.cpp
@@ -55,9 +55,7 @@ bool WebGLDepthTexture::supported(WebGLRenderingContextBase* context)
// textures unless a packed depth/stencil format is available.
if (!extensionsUtil->supportsExtension("GL_OES_packed_depth_stencil"))
return false;
- return extensionsUtil->supportsExtension("GL_CHROMIUM_depth_texture")
- || extensionsUtil->supportsExtension("GL_OES_depth_texture")
- || extensionsUtil->supportsExtension("GL_ARB_depth_texture");
+ return extensionsUtil->supportsExtension("GL_CHROMIUM_depth_texture");
}
const char* WebGLDepthTexture::extensionName()
« no previous file with comments | « gpu/command_buffer/service/texture_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698