summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc22
1 files changed, 21 insertions, 1 deletions
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 916f2aa..352b76a 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions.cc
@@ -185,6 +185,27 @@ INSTANTIATE_TEST_CASE_P(Service,
GLES2DecoderTestWithBlendEquationAdvanced,
::testing::Bool());
+class GLES2DecoderTestWithEXTMultisampleCompatibility
+ : public GLES2DecoderTest {
+ public:
+ GLES2DecoderTestWithEXTMultisampleCompatibility() {}
+
+ void SetUp() override {
+ InitState init;
+ init.gl_version = "opengl es 3.1";
+ init.has_alpha = true;
+ init.has_depth = true;
+ init.request_alpha = true;
+ init.request_depth = true;
+ init.bind_generates_resource = true;
+ init.extensions = "GL_EXT_multisample_compatibility ";
+ InitDecoder(init);
+ }
+};
+INSTANTIATE_TEST_CASE_P(Service,
+ GLES2DecoderTestWithEXTMultisampleCompatibility,
+ ::testing::Bool());
+
TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, GenDeletePaths) {
static GLuint kFirstClientID = client_path_id_ + 88;
static GLsizei kPathCount = 58;
@@ -997,4 +1018,3 @@ TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering,
} // namespace gles2
} // namespace gpu
-