| Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| index 1cf65b1df31988343a6d9379158f0b9e59bd4485..e31447d4c81668115784bca1efe364aad36c878d 100644
|
| --- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| +++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
|
| @@ -551,7 +551,7 @@ void GLES2DecoderTestBase::ResetDecoder() {
|
| .Times(1)
|
| .RetiresOnSaturation();
|
| }
|
| - if (group_->feature_info()->IsES3Capable()) {
|
| + if (group_->feature_info()->IsES3Enabled()) {
|
| // fake default transform feedback.
|
| EXPECT_CALL(*gl_, DeleteTransformFeedbacks(1, _))
|
| .Times(1)
|
| @@ -1399,6 +1399,16 @@ void GLES2DecoderTestBase::DoFramebufferRenderbuffer(
|
| EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
|
| }
|
|
|
| +GLenum GLES2DecoderTestBase::DoCheckFramebufferStatus(GLenum target) {
|
| + auto* result = static_cast<cmds::CheckFramebufferStatus::Result*>(
|
| + shared_memory_address_);
|
| + *result = 0;
|
| + cmds::CheckFramebufferStatus cmd;
|
| + cmd.Init(GL_FRAMEBUFFER, shared_memory_id_, shared_memory_offset_);
|
| + EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
|
| + return *result;
|
| +}
|
| +
|
| void GLES2DecoderTestBase::DoVertexAttribPointer(
|
| GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset) {
|
| EXPECT_CALL(*gl_,
|
|
|