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_unittest_base.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/string_number_conversions.h" | 11 #include "base/string_number_conversions.h" |
12 #include "gpu/command_buffer/common/gl_mock.h" | |
13 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 12 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
14 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 13 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
15 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 14 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
16 #include "gpu/command_buffer/service/context_group.h" | 15 #include "gpu/command_buffer/service/context_group.h" |
17 #include "gpu/command_buffer/service/program_manager.h" | 16 #include "gpu/command_buffer/service/program_manager.h" |
18 #include "gpu/command_buffer/service/vertex_attrib_manager.h" | 17 #include "gpu/command_buffer/service/vertex_attrib_manager.h" |
19 #include "gpu/command_buffer/service/test_helper.h" | 18 #include "gpu/command_buffer/service/test_helper.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "ui/gl/gl_implementation.h" | 20 #include "ui/gl/gl_implementation.h" |
| 21 #include "ui/gl/gl_mock.h" |
22 | 22 |
23 using ::gfx::MockGLInterface; | 23 using ::gfx::MockGLInterface; |
24 using ::testing::_; | 24 using ::testing::_; |
25 using ::testing::DoAll; | 25 using ::testing::DoAll; |
26 using ::testing::InSequence; | 26 using ::testing::InSequence; |
27 using ::testing::MatcherCast; | 27 using ::testing::MatcherCast; |
28 using ::testing::Pointee; | 28 using ::testing::Pointee; |
29 using ::testing::Return; | 29 using ::testing::Return; |
30 using ::testing::SetArrayArgument; | 30 using ::testing::SetArrayArgument; |
31 using ::testing::SetArgPointee; | 31 using ::testing::SetArgPointee; |
(...skipping 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1374 SetupDefaultProgram(); | 1374 SetupDefaultProgram(); |
1375 } | 1375 } |
1376 | 1376 |
1377 // Include the auto-generated part of this file. We split this because it means | 1377 // Include the auto-generated part of this file. We split this because it means |
1378 // we can easily edit the non-auto generated parts right here in this file | 1378 // we can easily edit the non-auto generated parts right here in this file |
1379 // instead of having to edit some template or the code generator. | 1379 // instead of having to edit some template or the code generator. |
1380 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h" | 1380 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_0_autogen.h" |
1381 | 1381 |
1382 } // namespace gles2 | 1382 } // namespace gles2 |
1383 } // namespace gpu | 1383 } // namespace gpu |
OLD | NEW |