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 "gpu/command_buffer/common/gl_mock.h" | |
8 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 7 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 8 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
10 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | 9 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 10 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
12 #include "gpu/command_buffer/service/context_group.h" | 11 #include "gpu/command_buffer/service/context_group.h" |
13 #include "gpu/command_buffer/service/program_manager.h" | 12 #include "gpu/command_buffer/service/program_manager.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 #include "ui/gl/gl_mock.h" |
15 | 15 |
16 using ::gfx::MockGLInterface; | 16 using ::gfx::MockGLInterface; |
17 using ::testing::_; | 17 using ::testing::_; |
18 using ::testing::DoAll; | 18 using ::testing::DoAll; |
19 using ::testing::InSequence; | 19 using ::testing::InSequence; |
20 using ::testing::MatcherCast; | 20 using ::testing::MatcherCast; |
21 using ::testing::Pointee; | 21 using ::testing::Pointee; |
22 using ::testing::Return; | 22 using ::testing::Return; |
23 using ::testing::SetArrayArgument; | 23 using ::testing::SetArrayArgument; |
24 using ::testing::SetArgumentPointee; | 24 using ::testing::SetArgumentPointee; |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 .WillOnce(Return(GL_NO_ERROR)) | 251 .WillOnce(Return(GL_NO_ERROR)) |
252 .RetiresOnSaturation(); | 252 .RetiresOnSaturation(); |
253 } | 253 } |
254 }; | 254 }; |
255 | 255 |
256 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h" | 256 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h" |
257 | 257 |
258 } // namespace gles2 | 258 } // namespace gles2 |
259 } // namespace gpu | 259 } // namespace gpu |
260 | 260 |
OLD | NEW |