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 "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 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 void DoDeleteBuffer(GLuint client_id, GLuint service_id); | 200 void DoDeleteBuffer(GLuint client_id, GLuint service_id); |
201 void DoDeleteFramebuffer( | 201 void DoDeleteFramebuffer( |
202 GLuint client_id, GLuint service_id, | 202 GLuint client_id, GLuint service_id, |
203 bool reset_draw, GLenum draw_target, GLuint draw_id, | 203 bool reset_draw, GLenum draw_target, GLuint draw_id, |
204 bool reset_read, GLenum read_target, GLuint read_id); | 204 bool reset_read, GLenum read_target, GLuint read_id); |
205 void DoDeleteProgram(GLuint client_id, GLuint service_id); | 205 void DoDeleteProgram(GLuint client_id, GLuint service_id); |
206 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id); | 206 void DoDeleteRenderbuffer(GLuint client_id, GLuint service_id); |
207 void DoDeleteShader(GLuint client_id, GLuint service_id); | 207 void DoDeleteShader(GLuint client_id, GLuint service_id); |
208 void DoDeleteTexture(GLuint client_id, GLuint service_id); | 208 void DoDeleteTexture(GLuint client_id, GLuint service_id); |
209 | 209 |
| 210 void DoCompressedTexImage2D( |
| 211 GLenum target, GLint level, GLenum format, |
| 212 GLsizei width, GLsizei height, GLint border, |
| 213 GLsizei size, uint32 bucket_id); |
210 void DoTexImage2D( | 214 void DoTexImage2D( |
211 GLenum target, GLint level, GLenum internal_format, | 215 GLenum target, GLint level, GLenum internal_format, |
212 GLsizei width, GLsizei height, GLint border, | 216 GLsizei width, GLsizei height, GLint border, |
213 GLenum format, GLenum type, | 217 GLenum format, GLenum type, |
214 uint32 shared_memory_id, uint32 shared_memory_offset); | 218 uint32 shared_memory_id, uint32 shared_memory_offset); |
215 void DoTexImage2DSameSize( | 219 void DoTexImage2DSameSize( |
216 GLenum target, GLint level, GLenum internal_format, | 220 GLenum target, GLint level, GLenum internal_format, |
217 GLsizei width, GLsizei height, GLint border, | 221 GLsizei width, GLsizei height, GLint border, |
218 GLenum format, GLenum type, | 222 GLenum format, GLenum type, |
219 uint32 shared_memory_id, uint32 shared_memory_offset); | 223 uint32 shared_memory_id, uint32 shared_memory_offset); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 protected: | 528 protected: |
525 virtual void SetUp() OVERRIDE; | 529 virtual void SetUp() OVERRIDE; |
526 virtual void TearDown() OVERRIDE; | 530 virtual void TearDown() OVERRIDE; |
527 | 531 |
528 }; | 532 }; |
529 | 533 |
530 } // namespace gles2 | 534 } // namespace gles2 |
531 } // namespace gpu | 535 } // namespace gpu |
532 | 536 |
533 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 537 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
OLD | NEW |