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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 }; | 75 }; |
76 | 76 |
77 class GLES3DecoderTest : public GLES2DecoderTest { | 77 class GLES3DecoderTest : public GLES2DecoderTest { |
78 public: | 78 public: |
79 GLES3DecoderTest() {} | 79 GLES3DecoderTest() {} |
80 | 80 |
81 // Override default setup so ES3 capabilities are enabled by default. | 81 // Override default setup so ES3 capabilities are enabled by default. |
82 void SetUp() override; | 82 void SetUp() override; |
83 }; | 83 }; |
84 | 84 |
| 85 class GLES3DecoderWithESSL3ShaderTest : public GLES2DecoderWithShaderTestBase { |
| 86 public: |
| 87 GLES3DecoderWithESSL3ShaderTest() { shader_language_version_ = 300; } |
| 88 void SetUp() override; |
| 89 }; |
| 90 |
85 } // namespace gles2 | 91 } // namespace gles2 |
86 } // namespace gpu | 92 } // namespace gpu |
87 | 93 |
88 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ | 94 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ |
OLD | NEW |