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" |
11 #include "gpu/command_buffer/service/buffer_manager.h" | 11 #include "gpu/command_buffer/service/buffer_manager.h" |
12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
13 #include "gpu/command_buffer/service/context_group.h" | 13 #include "gpu/command_buffer/service/context_group.h" |
14 #include "gpu/command_buffer/service/framebuffer_manager.h" | 14 #include "gpu/command_buffer/service/framebuffer_manager.h" |
15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 15 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
16 #include "gpu/command_buffer/service/program_manager.h" | 16 #include "gpu/command_buffer/service/program_manager.h" |
17 #include "gpu/command_buffer/service/query_manager.h" | 17 #include "gpu/command_buffer/service/query_manager.h" |
18 #include "gpu/command_buffer/service/renderbuffer_manager.h" | 18 #include "gpu/command_buffer/service/renderbuffer_manager.h" |
19 #include "gpu/command_buffer/service/shader_manager.h" | 19 #include "gpu/command_buffer/service/shader_manager.h" |
20 #include "gpu/command_buffer/service/test_helper.h" | 20 #include "gpu/command_buffer/service/test_helper.h" |
21 #include "gpu/command_buffer/service/texture_manager.h" | 21 #include "gpu/command_buffer/service/texture_manager.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 #include "ui/gfx/gl/gl_context_stub.h" | 23 #include "ui/gl/gl_context_stub.h" |
24 #include "ui/gfx/gl/gl_surface_stub.h" | 24 #include "ui/gl/gl_surface_stub.h" |
25 | 25 |
26 namespace gpu { | 26 namespace gpu { |
27 namespace gles2 { | 27 namespace gles2 { |
28 | 28 |
29 class GLES2DecoderTestBase : public testing::Test { | 29 class GLES2DecoderTestBase : public testing::Test { |
30 public: | 30 public: |
31 GLES2DecoderTestBase(); | 31 GLES2DecoderTestBase(); |
32 virtual ~GLES2DecoderTestBase(); | 32 virtual ~GLES2DecoderTestBase(); |
33 | 33 |
34 // Template to call glGenXXX functions. | 34 // Template to call glGenXXX functions. |
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 protected: | 516 protected: |
517 virtual void SetUp() OVERRIDE; | 517 virtual void SetUp() OVERRIDE; |
518 virtual void TearDown() OVERRIDE; | 518 virtual void TearDown() OVERRIDE; |
519 | 519 |
520 }; | 520 }; |
521 | 521 |
522 } // namespace gles2 | 522 } // namespace gles2 |
523 } // namespace gpu | 523 } // namespace gpu |
524 | 524 |
525 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ | 525 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_BASE_H_ |
OLD | NEW |