| Index: gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| index 6dbcdccdf27a7b33fa95b19a5ecb2e691fd6e3f7..8b02ad93b005a09e65b1fb3d6f27c41cddd1e434 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest_autogen.h
|
| @@ -751,7 +751,9 @@ TEST_F(GLES2ImplementationTest, GenTransformFeedbacks) {
|
| }
|
| // TODO(zmo): Implement unit test for GetActiveAttrib
|
| // TODO(zmo): Implement unit test for GetActiveUniform
|
| +// TODO(zmo): Implement unit test for GetActiveUniformBlockiv
|
| // TODO(zmo): Implement unit test for GetActiveUniformBlockName
|
| +// TODO(zmo): Implement unit test for GetActiveUniformsiv
|
| // TODO(zmo): Implement unit test for GetAttachedShaders
|
| // TODO(zmo): Implement unit test for GetAttribLocation
|
|
|
| @@ -984,9 +986,11 @@ TEST_F(GLES2ImplementationTest, GetTexParameteriv) {
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| EXPECT_EQ(static_cast<Result::Type>(1), result);
|
| }
|
| +// TODO(zmo): Implement unit test for GetTransformFeedbackVarying
|
| // TODO(zmo): Implement unit test for GetUniformBlockIndex
|
| // TODO(zmo): Implement unit test for GetUniformfv
|
| // TODO(zmo): Implement unit test for GetUniformiv
|
| +// TODO(zmo): Implement unit test for GetUniformIndices
|
| // TODO(zmo): Implement unit test for GetUniformLocation
|
|
|
| TEST_F(GLES2ImplementationTest, GetVertexAttribfv) {
|
| @@ -2032,6 +2036,17 @@ TEST_F(GLES2ImplementationTest, Uniform4uiv) {
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| }
|
|
|
| +TEST_F(GLES2ImplementationTest, UniformBlockBinding) {
|
| + struct Cmds {
|
| + cmds::UniformBlockBinding cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init(1, 2, 3);
|
| +
|
| + gl_->UniformBlockBinding(1, 2, 3);
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| TEST_F(GLES2ImplementationTest, UniformMatrix2fv) {
|
| GLfloat data[2][4] = {{0}};
|
| struct Cmds {
|
|
|