OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_H_ | 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ |
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ | 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 virtual void SetUp(); | 60 virtual void SetUp(); |
61 }; | 61 }; |
62 | 62 |
63 class GLES2DecoderManualInitTest : public GLES2DecoderWithShaderTest { | 63 class GLES2DecoderManualInitTest : public GLES2DecoderWithShaderTest { |
64 public: | 64 public: |
65 GLES2DecoderManualInitTest() {} | 65 GLES2DecoderManualInitTest() {} |
66 | 66 |
67 // Override default setup so nothing gets setup. | 67 // Override default setup so nothing gets setup. |
68 virtual void SetUp(); | 68 virtual void SetUp(); |
| 69 |
| 70 void DirtyStateMaskTest(GLuint color_bits, |
| 71 bool depth_mask, |
| 72 GLuint front_stencil_mask, |
| 73 GLuint back_stencil_mask); |
| 74 void EnableDisableTest(GLenum cap, bool enable, bool expect_set); |
69 }; | 75 }; |
70 | 76 |
71 } // namespace gles2 | 77 } // namespace gles2 |
72 } // namespace gpu | 78 } // namespace gpu |
73 | 79 |
74 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ | 80 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ |
OLD | NEW |