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 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h" |
6 | 6 |
7 #include "base/atomicops.h" | 7 #include "base/atomicops.h" |
| 8 #include "gpu/command_buffer/common/gl_mock.h" |
8 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
10 #include "gpu/command_buffer/common/gl_mock.h" | |
11 #include "gpu/command_buffer/common/id_allocator.h" | 11 #include "gpu/command_buffer/common/id_allocator.h" |
12 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | |
13 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 12 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
14 #include "gpu/command_buffer/service/context_group.h" | 13 #include "gpu/command_buffer/service/context_group.h" |
| 14 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
15 #include "gpu/command_buffer/service/mailbox_manager.h" | 15 #include "gpu/command_buffer/service/mailbox_manager.h" |
| 16 #include "gpu/command_buffer/service/program_manager.h" |
| 17 #include "gpu/command_buffer/service/stream_texture_manager_mock.h" |
16 #include "gpu/command_buffer/service/stream_texture_mock.h" | 18 #include "gpu/command_buffer/service/stream_texture_mock.h" |
17 #include "gpu/command_buffer/service/stream_texture_manager_mock.h" | |
18 #include "gpu/command_buffer/service/program_manager.h" | |
19 #include "gpu/command_buffer/service/test_helper.h" | 19 #include "gpu/command_buffer/service/test_helper.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 20 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "ui/gfx/gl/gl_implementation.h" | 21 #include "ui/gl/gl_implementation.h" |
22 #include "ui/gfx/gl/gl_surface_stub.h" | 22 #include "ui/gl/gl_surface_stub.h" |
23 | 23 |
24 #if !defined(GL_DEPTH24_STENCIL8) | 24 #if !defined(GL_DEPTH24_STENCIL8) |
25 #define GL_DEPTH24_STENCIL8 0x88F0 | 25 #define GL_DEPTH24_STENCIL8 0x88F0 |
26 #endif | 26 #endif |
27 | 27 |
28 using ::gfx::MockGLInterface; | 28 using ::gfx::MockGLInterface; |
29 using ::testing::_; | 29 using ::testing::_; |
30 using ::testing::DoAll; | 30 using ::testing::DoAll; |
31 using ::testing::InSequence; | 31 using ::testing::InSequence; |
32 using ::testing::Invoke; | 32 using ::testing::Invoke; |
(...skipping 7006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7039 // TODO(gman): TexImage2DImmediate | 7039 // TODO(gman): TexImage2DImmediate |
7040 | 7040 |
7041 // TODO(gman): TexSubImage2DImmediate | 7041 // TODO(gman): TexSubImage2DImmediate |
7042 | 7042 |
7043 // TODO(gman): UseProgram | 7043 // TODO(gman): UseProgram |
7044 | 7044 |
7045 // TODO(gman): SwapBuffers | 7045 // TODO(gman): SwapBuffers |
7046 | 7046 |
7047 } // namespace gles2 | 7047 } // namespace gles2 |
7048 } // namespace gpu | 7048 } // namespace gpu |
OLD | NEW |