| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 GLenum target, | 341 GLenum target, |
| 342 GLenum attachment, | 342 GLenum attachment, |
| 343 GLenum renderbuffer_target, | 343 GLenum renderbuffer_target, |
| 344 GLuint renderbuffer_client_id, | 344 GLuint renderbuffer_client_id, |
| 345 GLuint renderbuffer_service_id, | 345 GLuint renderbuffer_service_id, |
| 346 GLenum error); | 346 GLenum error); |
| 347 void DoFramebufferTexture2D( | 347 void DoFramebufferTexture2D( |
| 348 GLenum target, GLenum attachment, GLenum tex_target, | 348 GLenum target, GLenum attachment, GLenum tex_target, |
| 349 GLuint texture_client_id, GLuint texture_service_id, | 349 GLuint texture_client_id, GLuint texture_service_id, |
| 350 GLint level, GLenum error); | 350 GLint level, GLenum error); |
| 351 GLenum DoCheckFramebufferStatus(GLenum target); |
| 351 void DoVertexAttribPointer( | 352 void DoVertexAttribPointer( |
| 352 GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset); | 353 GLuint index, GLint size, GLenum type, GLsizei stride, GLuint offset); |
| 353 void DoVertexAttribDivisorANGLE(GLuint index, GLuint divisor); | 354 void DoVertexAttribDivisorANGLE(GLuint index, GLuint divisor); |
| 354 | 355 |
| 355 void DoEnableDisable(GLenum cap, bool enable); | 356 void DoEnableDisable(GLenum cap, bool enable); |
| 356 | 357 |
| 357 void DoEnableVertexAttribArray(GLint index); | 358 void DoEnableVertexAttribArray(GLint index); |
| 358 | 359 |
| 359 void DoBufferData(GLenum target, GLsizei size); | 360 void DoBufferData(GLenum target, GLsizei size); |
| 360 | 361 |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 }; | 768 }; |
| 768 | 769 |
| 769 // SpecializedSetup specializations that are needed in multiple unittest files. | 770 // SpecializedSetup specializations that are needed in multiple unittest files. |
| 770 template <> | 771 template <> |
| 771 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid); | 772 void GLES2DecoderTestBase::SpecializedSetup<cmds::LinkProgram, 0>(bool valid); |
| 772 | 773 |
| 773 } // namespace gles2 | 774 } // namespace gles2 |
| 774 } // namespace gpu | 775 } // namespace gpu |
| 775 | 776 |
| 776 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 777 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| OLD | NEW |