| Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| index 2acbc6356399a37b7ac65b97a4f2a95461dddfeb..a0fe8d276224a919a63eff92ab22014c2cbfa713 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| @@ -1451,6 +1451,17 @@ TEST_F(GLES2ImplementationTest, DrawElementsInstancedANGLEClientSideBuffers) {
|
| EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| }
|
|
|
| +TEST_F(GLES2ImplementationTest, DrawRangeElementsServiceSideBuffers) {
|
| + struct Cmds {
|
| + cmds::DrawRangeElements cmd;
|
| + };
|
| + Cmds expected;
|
| + expected.cmd.Init(GL_POINTS, 10, 19, 10, GL_UNSIGNED_INT, 8088);
|
| + gl_->DrawRangeElements(
|
| + GL_POINTS, 10, 19, 10, GL_UNSIGNED_INT, reinterpret_cast<void*>(8088));
|
| + EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
|
| +}
|
| +
|
| TEST_F(GLES2ImplementationTest, GetVertexBufferPointerv) {
|
| static const float verts[1] = { 0.0f, };
|
| const GLuint kAttribIndex1 = 1;
|
|
|