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

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

Issue 1325433003: command_buffer: Add support for creating non-WebGL ES 3 contexts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 5 years, 4 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.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
index b66d675a1f9d20e8c02279d152818c3d21bc7930..691f27204d31708812fa21496816c9d5356c3c73 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc
@@ -93,7 +93,7 @@ void GLES3DecoderTest::SetUp() {
InitState init;
init.gl_version = "OpenGL ES 3.0";
init.bind_generates_resource = true;
- init.webgl_version = 2;
+ init.context_type = ContextCreationAttribHelper::CONTEXT_TYPE_OPENGLES3;
InitDecoderWithCommandLine(init, &command_line);
}

Powered by Google App Engine
This is Rietveld 408576698