| 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 GLuint service_id, | 255 GLuint service_id, |
| 256 GLuint old_service_id, | 256 GLuint old_service_id, |
| 257 GLenum bind_target, | 257 GLenum bind_target, |
| 258 GLenum target, | 258 GLenum target, |
| 259 GLint level, | 259 GLint level, |
| 260 GLenum format, | 260 GLenum format, |
| 261 GLenum type, | 261 GLenum type, |
| 262 GLsizei width, | 262 GLsizei width, |
| 263 GLsizei height); | 263 GLsizei height); |
| 264 | 264 |
| 265 void SetupExpectationsForRestoreClearState( |
| 266 GLclampf restore_red, |
| 267 GLclampf restore_green, |
| 268 GLclampf restore_blue, |
| 269 GLclampf restore_alpha, |
| 270 GLuint restore_stencil, |
| 271 GLclampf restore_depth, |
| 272 bool restore_scissor_test); |
| 273 |
| 265 void SetupExpectationsForFramebufferClearing( | 274 void SetupExpectationsForFramebufferClearing( |
| 266 GLenum target, | 275 GLenum target, |
| 267 GLuint clear_bits, | 276 GLuint clear_bits, |
| 268 GLclampf restore_red, | 277 GLclampf restore_red, |
| 269 GLclampf restore_green, | 278 GLclampf restore_green, |
| 270 GLclampf restore_blue, | 279 GLclampf restore_blue, |
| 271 GLclampf restore_alpha, | 280 GLclampf restore_alpha, |
| 272 GLuint restore_stencil, | 281 GLuint restore_stencil, |
| 273 GLclampf restore_depth, | 282 GLclampf restore_depth, |
| 274 bool restore_scissor_test); | 283 bool restore_scissor_test); |
| (...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 protected: | 524 protected: |
| 516 virtual void SetUp() OVERRIDE; | 525 virtual void SetUp() OVERRIDE; |
| 517 virtual void TearDown() OVERRIDE; | 526 virtual void TearDown() OVERRIDE; |
| 518 | 527 |
| 519 }; | 528 }; |
| 520 | 529 |
| 521 } // namespace gles2 | 530 } // namespace gles2 |
| 522 } // namespace gpu | 531 } // namespace gpu |
| 523 | 532 |
| 524 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 533 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
| OLD | NEW |