OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "app/gfx/gl/gl_mock.h" |
7 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 8 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
8 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
9 #include "gpu/command_buffer/service/gl_mock.h" | |
10 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" | 10 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 11 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
12 #include "gpu/command_buffer/service/context_group.h" | 12 #include "gpu/command_buffer/service/context_group.h" |
13 #include "gpu/command_buffer/service/program_manager.h" | 13 #include "gpu/command_buffer/service/program_manager.h" |
14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
15 | 15 |
16 using ::gles2::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; |
25 using ::testing::StrEq; | 25 using ::testing::StrEq; |
26 | 26 |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 .WillOnce(Return(GL_NO_ERROR)) | 205 .WillOnce(Return(GL_NO_ERROR)) |
206 .RetiresOnSaturation(); | 206 .RetiresOnSaturation(); |
207 } | 207 } |
208 }; | 208 }; |
209 | 209 |
210 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h" | 210 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h" |
211 | 211 |
212 } // namespace gles2 | 212 } // namespace gles2 |
213 } // namespace gpu | 213 } // namespace gpu |
214 | 214 |
OLD | NEW |