| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file is auto-generated. DO NOT EDIT! | 5 // This file is auto-generated. DO NOT EDIT! |
| 6 | 6 |
| 7 // It is included by gles2_cmd_decoder_unittest_2.cc | 7 // It is included by gles2_cmd_decoder_unittest_2.cc |
| 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ | 8 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ |
| 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ | 9 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ |
| 10 | 10 |
| (...skipping 1608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1619 EXPECT_EQ(GL_INVALID_VALUE, GetGLError()); | 1619 EXPECT_EQ(GL_INVALID_VALUE, GetGLError()); |
| 1620 } | 1620 } |
| 1621 // TODO(gman): SwapBuffers | 1621 // TODO(gman): SwapBuffers |
| 1622 // TODO(gman): GetMaxValueInBuffer | 1622 // TODO(gman): GetMaxValueInBuffer |
| 1623 // TODO(gman): GenSharedIds | 1623 // TODO(gman): GenSharedIds |
| 1624 | 1624 |
| 1625 // TODO(gman): DeleteSharedIds | 1625 // TODO(gman): DeleteSharedIds |
| 1626 | 1626 |
| 1627 // TODO(gman): RegisterSharedIds | 1627 // TODO(gman): RegisterSharedIds |
| 1628 | 1628 |
| 1629 // TODO(gman): CommandBufferEnable |
| 1629 | 1630 |
| 1630 TEST_F(GLES2DecoderTest2, CommandBufferEnableValidArgs) { | |
| 1631 SpecializedSetup<CommandBufferEnable, 0>(); | |
| 1632 CommandBufferEnable cmd; | |
| 1633 cmd.Init(GLES2_ALLOW_BUFFERS_ON_MULTIPLE_TARGETS, 2); | |
| 1634 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); | |
| 1635 EXPECT_EQ(GL_NO_ERROR, GetGLError()); | |
| 1636 } | |
| 1637 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ | 1631 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_2_AUTOGEN_H_ |
| 1638 | 1632 |
| OLD | NEW |