| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc
|
| index 21526b1fda623bdc6d1142e1a5e03ae4c97efed1..d230be78fb2bbf075c241bb770a0575bf5c89847 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_framebuffers.cc
|
| @@ -927,6 +927,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualAlphaMatchesRequestedAlpha) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_alpha = true;
|
| init.request_alpha = true;
|
| init.bind_generates_resource = true;
|
| @@ -953,6 +954,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualAlphaDoesNotMatchRequestedAlpha) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_alpha = true;
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| @@ -978,6 +980,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualDepthMatchesRequestedDepth) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_depth = true;
|
| init.request_depth = true;
|
| init.bind_generates_resource = true;
|
| @@ -1004,6 +1007,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualDepthDoesNotMatchRequestedDepth) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_depth = true;
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| @@ -1029,6 +1033,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualStencilMatchesRequestedStencil) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_stencil = true;
|
| init.request_stencil = true;
|
| init.bind_generates_resource = true;
|
| @@ -1055,6 +1060,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, ActualStencilDoesNotMatchRequestedStencil) {
|
| InitState init;
|
| + init.gl_version = "3.0";
|
| init.has_stencil = true;
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| @@ -1398,6 +1404,7 @@
|
| RenderbufferStorageMultisampleCHROMIUMGLError) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| DoBindRenderbuffer(
|
| @@ -1422,6 +1429,7 @@
|
| RenderbufferStorageMultisampleCHROMIUMBadArgs) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| DoBindRenderbuffer(
|
| @@ -1456,6 +1464,7 @@
|
| TEST_P(GLES2DecoderManualInitTest, RenderbufferStorageMultisampleCHROMIUM) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| InitDecoder(init);
|
| DoBindRenderbuffer(
|
| GL_RENDERBUFFER, client_renderbuffer_id_, kServiceRenderbufferId);
|
| @@ -1473,6 +1482,7 @@
|
| RenderbufferStorageMultisampleCHROMIUMRebindRenderbuffer) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| InitDecoder(init);
|
| DoBindRenderbuffer(
|
| GL_RENDERBUFFER, client_renderbuffer_id_, kServiceRenderbufferId);
|
| @@ -1491,6 +1501,7 @@
|
| RenderbufferStorageMultisampleEXTNotSupported) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| DoBindRenderbuffer(
|
| @@ -1775,6 +1786,7 @@
|
| UnClearedAttachmentsGetClearedOnReadPixelsAndDrawBufferGetsRestored) {
|
| InitState init;
|
| init.extensions = "GL_EXT_framebuffer_multisample";
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
| const GLuint kFBOClientTextureId = 4100;
|
| @@ -2265,6 +2277,7 @@
|
| TEST_P(GLES2DecoderManualInitTest, ReadFormatExtension) {
|
| InitState init;
|
| init.extensions = "GL_OES_read_format";
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
|
|
| @@ -2323,6 +2336,7 @@
|
|
|
| TEST_P(GLES2DecoderManualInitTest, NoReadFormatExtension) {
|
| InitState init;
|
| + init.gl_version = "2.1";
|
| init.bind_generates_resource = true;
|
| InitDecoder(init);
|
|
|
|
|