OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/string_tokenizer.h" | 7 #include "base/string_tokenizer.h" |
8 #include "gpu/command_buffer/common/gl_mock.h" | 8 #include "gpu/command_buffer/common/gl_mock.h" |
9 #include "gpu/command_buffer/common/types.h" | 9 #include "gpu/command_buffer/common/types.h" |
10 #include "gpu/command_buffer/service/gl_utils.h" | 10 #include "gpu/command_buffer/service/gl_utils.h" |
11 #include "gpu/GLES2/gles2_command_buffer.h" | |
12 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
13 | 12 |
14 #include <string.h> | 13 #include <string.h> |
15 | 14 |
16 using ::testing::_; | 15 using ::testing::_; |
17 using ::testing::DoAll; | 16 using ::testing::DoAll; |
18 using ::testing::InSequence; | 17 using ::testing::InSequence; |
19 using ::testing::MatcherCast; | 18 using ::testing::MatcherCast; |
20 using ::testing::Pointee; | 19 using ::testing::Pointee; |
21 using ::testing::Return; | 20 using ::testing::Return; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 InSequence sequence; | 169 InSequence sequence; |
171 | 170 |
172 EXPECT_CALL(*gl, GetString(GL_EXTENSIONS)) | 171 EXPECT_CALL(*gl, GetString(GL_EXTENSIONS)) |
173 .WillOnce(Return(reinterpret_cast<const uint8*>(extensions))) | 172 .WillOnce(Return(reinterpret_cast<const uint8*>(extensions))) |
174 .RetiresOnSaturation(); | 173 .RetiresOnSaturation(); |
175 } | 174 } |
176 | 175 |
177 } // namespace gles2 | 176 } // namespace gles2 |
178 } // namespace gpu | 177 } // namespace gpu |
179 | 178 |
OLD | NEW |