OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "gpu/command_buffer/common/gl_mock.h" | 8 #include "gpu/command_buffer/common/gl_mock.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 void DoDeleteProgram(GLuint client_id, GLuint service_id); | 275 void DoDeleteProgram(GLuint client_id, GLuint service_id); |
276 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id); | 276 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id); |
277 void DoDeleteShader(GLuint client_id, GLuint service_id); | 277 void DoDeleteShader(GLuint client_id, GLuint service_id); |
278 void DoDeleteTexture(GLuint client_id, GLuint service_id); | 278 void DoDeleteTexture(GLuint client_id, GLuint service_id); |
279 | 279 |
280 void DoTexImage2D( | 280 void DoTexImage2D( |
281 GLenum target, GLint level, GLenum internal_format, | 281 GLenum target, GLint level, GLenum internal_format, |
282 GLsizei width, GLsizei height, GLint border, | 282 GLsizei width, GLsizei height, GLint border, |
283 GLenum format, GLenum type, | 283 GLenum format, GLenum type, |
284 uint32 shared_memory_id, uint32 shared_memory_offset); | 284 uint32 shared_memory_id, uint32 shared_memory_offset); |
| 285 void DoTexImage2DSameSize( |
| 286 GLenum target, GLint level, GLenum internal_format, |
| 287 GLsizei width, GLsizei height, GLint border, |
| 288 GLenum format, GLenum type, |
| 289 uint32 shared_memory_id, uint32 shared_memory_offset); |
285 void DoRenderbufferStorage( | 290 void DoRenderbufferStorage( |
286 GLenum target, GLenum internal_format, GLenum actual_format, | 291 GLenum target, GLenum internal_format, GLenum actual_format, |
287 GLsizei width, GLsizei height, GLenum error); | 292 GLsizei width, GLsizei height, GLenum error); |
288 void DoFramebufferRenderbuffer( | 293 void DoFramebufferRenderbuffer( |
289 GLenum target, | 294 GLenum target, |
290 GLenum attachment, | 295 GLenum attachment, |
291 GLenum renderbuffer_target, | 296 GLenum renderbuffer_target, |
292 GLuint renderbuffer_client_id, | 297 GLuint renderbuffer_client_id, |
293 GLuint renderbuffer_service_id, | 298 GLuint renderbuffer_service_id, |
294 GLenum error); | 299 GLenum error); |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
468 protected: | 473 protected: |
469 virtual void SetUp() OVERRIDE; | 474 virtual void SetUp() OVERRIDE; |
470 virtual void TearDown() OVERRIDE; | 475 virtual void TearDown() OVERRIDE; |
471 | 476 |
472 }; | 477 }; |
473 | 478 |
474 } // namespace gles2 | 479 } // namespace gles2 |
475 } // namespace gpu | 480 } // namespace gpu |
476 | 481 |
477 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 482 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
OLD | NEW |