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

Unified Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc

Issue 2444813002: Remove unsafe mode to enable es3 api by default for WebGL2 and ES3 context (Closed)
Patch Set: fix a bug Created 4 years, 2 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
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
index 5b0036a401f9ade9f75317bf615e5a3475166810..e5ab0074172fac54748806fd82d94f5241a52d15 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc
@@ -742,7 +742,6 @@ TEST_P(GLES2DecoderTest, CopyTexImage2DGLError) {
TEST_P(GLES2DecoderManualInitTest, CopyTexImage2DUnsizedInternalFormat) {
base::CommandLine command_line(0, NULL);
- command_line.AppendSwitch(switches::kEnableUnsafeES3APIs);
InitState init;
init.gl_version = "OpenGL ES 3.0";
init.extensions = "GL_APPLE_texture_format_BGRA8888 GL_EXT_sRGB";
@@ -833,7 +832,6 @@ TEST_P(GLES2DecoderManualInitTest, CopyTexImage2DUnsizedInternalFormat) {
TEST_P(GLES2DecoderManualInitTest, CopyTexImage2DUnsizedInternalFormatES3) {
base::CommandLine command_line(0, NULL);
- command_line.AppendSwitch(switches::kEnableUnsafeES3APIs);
InitState init;
init.gl_version = "OpenGL ES 3.0";
init.extensions = "GL_APPLE_texture_format_BGRA8888";
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder_unittest_programs.cc ('k') | gpu/command_buffer/service/gpu_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698