| 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 GLint GetGLError(); | 286 GLint GetGLError(); |
| 287 | 287 |
| 288 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id); | 288 void DoBindBuffer(GLenum target, GLuint client_id, GLuint service_id); |
| 289 void DoBindFramebuffer(GLenum target, GLuint client_id, GLuint service_id); | 289 void DoBindFramebuffer(GLenum target, GLuint client_id, GLuint service_id); |
| 290 void DoBindRenderbuffer(GLenum target, GLuint client_id, GLuint service_id); | 290 void DoBindRenderbuffer(GLenum target, GLuint client_id, GLuint service_id); |
| 291 void DoRenderbufferStorageMultisampleCHROMIUM(GLenum target, | 291 void DoRenderbufferStorageMultisampleCHROMIUM(GLenum target, |
| 292 GLsizei samples, | 292 GLsizei samples, |
| 293 GLenum internal_format, | 293 GLenum internal_format, |
| 294 GLenum gl_format, | 294 GLenum gl_format, |
| 295 GLsizei width, | 295 GLsizei width, |
| 296 GLsizei height, | 296 GLsizei height); |
| 297 bool expect_bind); | |
| 298 void RestoreRenderbufferBindings(); | 297 void RestoreRenderbufferBindings(); |
| 299 void EnsureRenderbufferBound(bool expect_bind); | 298 void EnsureRenderbufferBound(bool expect_bind); |
| 300 void DoBindTexture(GLenum target, GLuint client_id, GLuint service_id); | 299 void DoBindTexture(GLenum target, GLuint client_id, GLuint service_id); |
| 301 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id); | 300 void DoBindVertexArrayOES(GLuint client_id, GLuint service_id); |
| 302 void DoBindSampler(GLuint unit, GLuint client_id, GLuint service_id); | 301 void DoBindSampler(GLuint unit, GLuint client_id, GLuint service_id); |
| 303 void DoBindTransformFeedback( | 302 void DoBindTransformFeedback( |
| 304 GLenum target, GLuint client_id, GLuint service_id); | 303 GLenum target, GLuint client_id, GLuint service_id); |
| 305 | 304 |
| 306 bool DoIsBuffer(GLuint client_id); | 305 bool DoIsBuffer(GLuint client_id); |
| 307 bool DoIsFramebuffer(GLuint client_id); | 306 bool DoIsFramebuffer(GLuint client_id); |
| (...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 794 if (arg[i] != array[i]) | 793 if (arg[i] != array[i]) |
| 795 return false; | 794 return false; |
| 796 } | 795 } |
| 797 return true; | 796 return true; |
| 798 } | 797 } |
| 799 | 798 |
| 800 } // namespace gles2 | 799 } // namespace gles2 |
| 801 } // namespace gpu | 800 } // namespace gpu |
| 802 | 801 |
| 803 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 802 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| OLD | NEW |