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

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

Issue 2543033002: Add texture swizzle back to command buffer. (Closed)
Patch Set: add swizzle value negative test Created 4 years 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.h
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.h
index 9eab7fc9536af41f4d48fb71c9a57c4e1ffac885..72577a3d8863195a74fd2eea475396dd9ef5de8f 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest.h
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest.h
@@ -78,6 +78,15 @@ class GLES3DecoderTest : public GLES2DecoderTest {
void SetUp() override;
};
+class WebGL2DecoderTest : public GLES2DecoderTest {
+ public:
+ WebGL2DecoderTest() { shader_language_version_ = 300; }
+
+ // Override default setup so ES3 capabilities are enabled by default
+ // and WebGL2 specific rules are enforced.
+ void SetUp() override;
+};
+
class GLES3DecoderWithShaderTest : public GLES2DecoderWithShaderTest {
public:
GLES3DecoderWithShaderTest() { shader_language_version_ = 300; }
« no previous file with comments | « gpu/command_buffer/service/gles2_cmd_decoder.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698