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

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

Issue 1335873002: Initialize default texture for GL_TEXTURE_3D and GL_TEXTURE_2D_ARRAY (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gpu_unittests Created 5 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
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
index 916f2aa76b18b4e2320d690100557bbc324b3988..5d776a5594f6fabbf5069a0317d42e7051d266ae 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
@@ -143,6 +143,7 @@ class GLES2DecoderTestWithCHROMIUMPathRendering : public GLES2DecoderTest {
init.extensions = "GL_NV_path_rendering";
base::CommandLine command_line(0, NULL);
command_line.AppendSwitch(switches::kEnableGLPathRendering);
+ command_line.AppendSwitch(switches::kEnableUnsafeES3APIs);
Zhenyao Mo 2015/09/14 21:12:06 No, don't append this. ES2 is still our shipping c
qiankun 2015/09/15 09:14:58 Done.
InitDecoderWithCommandLine(init, &command_line);
EXPECT_CALL(*gl_, GenPathsNV(1))

Powered by Google App Engine
This is Rietveld 408576698