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/gles2_cmd_format.h" | 8 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
10 #include "gpu/command_buffer/service/buffer_manager.h" | 10 #include "gpu/command_buffer/service/buffer_manager.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 | 237 |
238 void DoCompressedTexImage2D( | 238 void DoCompressedTexImage2D( |
239 GLenum target, GLint level, GLenum format, | 239 GLenum target, GLint level, GLenum format, |
240 GLsizei width, GLsizei height, GLint border, | 240 GLsizei width, GLsizei height, GLint border, |
241 GLsizei size, uint32 bucket_id); | 241 GLsizei size, uint32 bucket_id); |
242 void DoTexImage2D( | 242 void DoTexImage2D( |
243 GLenum target, GLint level, GLenum internal_format, | 243 GLenum target, GLint level, GLenum internal_format, |
244 GLsizei width, GLsizei height, GLint border, | 244 GLsizei width, GLsizei height, GLint border, |
245 GLenum format, GLenum type, | 245 GLenum format, GLenum type, |
246 uint32 shared_memory_id, uint32 shared_memory_offset); | 246 uint32 shared_memory_id, uint32 shared_memory_offset); |
| 247 void DoTexImage2DConvertInternalFormat( |
| 248 GLenum target, GLint level, GLenum requested_internal_format, |
| 249 GLsizei width, GLsizei height, GLint border, |
| 250 GLenum format, GLenum type, |
| 251 uint32 shared_memory_id, uint32 shared_memory_offset, |
| 252 GLenum expected_internal_format); |
247 void DoRenderbufferStorage( | 253 void DoRenderbufferStorage( |
248 GLenum target, GLenum internal_format, GLenum actual_format, | 254 GLenum target, GLenum internal_format, GLenum actual_format, |
249 GLsizei width, GLsizei height, GLenum error); | 255 GLsizei width, GLsizei height, GLenum error); |
250 void DoFramebufferRenderbuffer( | 256 void DoFramebufferRenderbuffer( |
251 GLenum target, | 257 GLenum target, |
252 GLenum attachment, | 258 GLenum attachment, |
253 GLenum renderbuffer_target, | 259 GLenum renderbuffer_target, |
254 GLuint renderbuffer_client_id, | 260 GLuint renderbuffer_client_id, |
255 GLuint renderbuffer_service_id, | 261 GLuint renderbuffer_service_id, |
256 GLenum error); | 262 GLenum error); |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
545 protected: | 551 protected: |
546 virtual void SetUp() OVERRIDE; | 552 virtual void SetUp() OVERRIDE; |
547 virtual void TearDown() OVERRIDE; | 553 virtual void TearDown() OVERRIDE; |
548 | 554 |
549 }; | 555 }; |
550 | 556 |
551 } // namespace gles2 | 557 } // namespace gles2 |
552 } // namespace gpu | 558 } // namespace gpu |
553 | 559 |
554 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 560 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
OLD | NEW |