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/test_helper.h" | 5 #include "gpu/command_buffer/service/test_helper.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <algorithm> | 8 #include <algorithm> |
9 | 9 |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
11 #include "base/string_tokenizer.h" | 11 #include "base/string_tokenizer.h" |
12 #include "gpu/command_buffer/common/gl_mock.h" | |
13 #include "gpu/command_buffer/common/types.h" | 12 #include "gpu/command_buffer/common/types.h" |
14 #include "gpu/command_buffer/service/gl_utils.h" | 13 #include "gpu/command_buffer/service/gl_utils.h" |
15 #include "gpu/command_buffer/service/program_manager.h" | 14 #include "gpu/command_buffer/service/program_manager.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
| 16 #include "ui/gl/gl_mock.h" |
17 | 17 |
18 using ::testing::_; | 18 using ::testing::_; |
19 using ::testing::DoAll; | 19 using ::testing::DoAll; |
20 using ::testing::InSequence; | 20 using ::testing::InSequence; |
21 using ::testing::MatcherCast; | 21 using ::testing::MatcherCast; |
22 using ::testing::Pointee; | 22 using ::testing::Pointee; |
23 using ::testing::Return; | 23 using ::testing::Return; |
24 using ::testing::SetArrayArgument; | 24 using ::testing::SetArrayArgument; |
25 using ::testing::SetArgumentPointee; | 25 using ::testing::SetArgumentPointee; |
26 using ::testing::StrEq; | 26 using ::testing::StrEq; |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 .Times(1) | 487 .Times(1) |
488 .RetiresOnSaturation(); | 488 .RetiresOnSaturation(); |
489 | 489 |
490 SetupProgramSuccessExpectations( | 490 SetupProgramSuccessExpectations( |
491 gl, attribs, num_attribs, uniforms, num_uniforms, service_id); | 491 gl, attribs, num_attribs, uniforms, num_uniforms, service_id); |
492 } | 492 } |
493 | 493 |
494 } // namespace gles2 | 494 } // namespace gles2 |
495 } // namespace gpu | 495 } // namespace gpu |
496 | 496 |
OLD | NEW |