Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc |
index 9497dbcf072594fd85e283cd94b06328fab9de18..dc086f3e28edcfa7007ad2f67d076583d2aad255 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_1.cc |
@@ -59,6 +59,22 @@ void GLES2DecoderTestBase::SpecializedSetup<CheckFramebufferStatus, 0>( |
}; |
template <> |
+void GLES2DecoderTestBase::SpecializedSetup<Clear, 0>(bool valid) { |
+ if (valid) { |
+ SetupExpectationsForApplyingDefaultDirtyState(); |
+ } |
+}; |
+ |
+template <> |
+void GLES2DecoderTestBase::SpecializedSetup<ColorMask, 0>( |
+ bool /* valid */) { |
+ // We bind a framebuffer color the colormask test since the framebuffer |
+ // will be considered RGB. |
+ DoBindFramebuffer(GL_FRAMEBUFFER, client_framebuffer_id_, |
+ kServiceFramebufferId); |
+}; |
+ |
+template <> |
void GLES2DecoderTestBase::SpecializedSetup<CopyTexImage2D, 0>( |
bool valid) { |
if (valid) { |