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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 | 249 |
250 void DoCompressedTexImage2D( | 250 void DoCompressedTexImage2D( |
251 GLenum target, GLint level, GLenum format, | 251 GLenum target, GLint level, GLenum format, |
252 GLsizei width, GLsizei height, GLint border, | 252 GLsizei width, GLsizei height, GLint border, |
253 GLsizei size, uint32 bucket_id); | 253 GLsizei size, uint32 bucket_id); |
254 void DoTexImage2D( | 254 void DoTexImage2D( |
255 GLenum target, GLint level, GLenum internal_format, | 255 GLenum target, GLint level, GLenum internal_format, |
256 GLsizei width, GLsizei height, GLint border, | 256 GLsizei width, GLsizei height, GLint border, |
257 GLenum format, GLenum type, | 257 GLenum format, GLenum type, |
258 uint32 shared_memory_id, uint32 shared_memory_offset); | 258 uint32 shared_memory_id, uint32 shared_memory_offset); |
| 259 void DoTexImage2DConvertInternalFormat( |
| 260 GLenum target, GLint level, GLenum call_internal_format, |
| 261 GLsizei width, GLsizei height, GLint border, |
| 262 GLenum format, GLenum type, |
| 263 uint32 shared_memory_id, uint32 shared_memory_offset, |
| 264 GLenum expected_internal_format); |
259 void DoRenderbufferStorage( | 265 void DoRenderbufferStorage( |
260 GLenum target, GLenum internal_format, GLenum actual_format, | 266 GLenum target, GLenum internal_format, GLenum actual_format, |
261 GLsizei width, GLsizei height, GLenum error); | 267 GLsizei width, GLsizei height, GLenum error); |
262 void DoFramebufferRenderbuffer( | 268 void DoFramebufferRenderbuffer( |
263 GLenum target, | 269 GLenum target, |
264 GLenum attachment, | 270 GLenum attachment, |
265 GLenum renderbuffer_target, | 271 GLenum renderbuffer_target, |
266 GLuint renderbuffer_client_id, | 272 GLuint renderbuffer_client_id, |
267 GLuint renderbuffer_service_id, | 273 GLuint renderbuffer_service_id, |
268 GLenum error); | 274 GLenum error); |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
559 protected: | 565 protected: |
560 virtual void SetUp() OVERRIDE; | 566 virtual void SetUp() OVERRIDE; |
561 virtual void TearDown() OVERRIDE; | 567 virtual void TearDown() OVERRIDE; |
562 | 568 |
563 }; | 569 }; |
564 | 570 |
565 } // namespace gles2 | 571 } // namespace gles2 |
566 } // namespace gpu | 572 } // namespace gpu |
567 | 573 |
568 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 574 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
OLD | NEW |