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 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 .WillOnce(Return(GL_NO_ERROR)) | 376 .WillOnce(Return(GL_NO_ERROR)) |
377 .RetiresOnSaturation(); | 377 .RetiresOnSaturation(); |
378 } | 378 } |
379 }; | 379 }; |
380 | 380 |
381 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h" | 381 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h" |
382 | 382 |
383 } // namespace gles2 | 383 } // namespace gles2 |
384 } // namespace gpu | 384 } // namespace gpu |
385 | 385 |
OLD | NEW |