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_unittest_base.h" | 5 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/string_number_conversions.h" | 10 #include "base/string_number_conversions.h" |
11 #include "gpu/command_buffer/common/gl_mock.h" | 11 #include "gpu/command_buffer/common/gl_mock.h" |
12 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 12 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
13 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 13 #include "gpu/command_buffer/common/gles2_cmd_utils.h" |
14 #include "gpu/command_buffer/service/cmd_buffer_engine.h" | 14 #include "gpu/command_buffer/service/cmd_buffer_engine.h" |
15 #include "gpu/command_buffer/service/context_group.h" | 15 #include "gpu/command_buffer/service/context_group.h" |
16 #include "gpu/command_buffer/service/program_manager.h" | 16 #include "gpu/command_buffer/service/program_manager.h" |
17 #include "gpu/command_buffer/service/test_helper.h" | 17 #include "gpu/command_buffer/service/test_helper.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 #include "ui/gfx/gl/gl_implementation.h" | 19 #include "ui/gl/gl_implementation.h" |
20 | 20 |
21 using ::gfx::MockGLInterface; | 21 using ::gfx::MockGLInterface; |
22 using ::testing::_; | 22 using ::testing::_; |
23 using ::testing::DoAll; | 23 using ::testing::DoAll; |
24 using ::testing::InSequence; | 24 using ::testing::InSequence; |
25 using ::testing::MatcherCast; | 25 using ::testing::MatcherCast; |
26 using ::testing::Pointee; | 26 using ::testing::Pointee; |
27 using ::testing::Return; | 27 using ::testing::Return; |
28 using ::testing::SetArrayArgument; | 28 using ::testing::SetArrayArgument; |
29 using ::testing::SetArgPointee; | 29 using ::testing::SetArgPointee; |
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1317 num_vertices, buffer_id, GL_NO_ERROR); | 1317 num_vertices, buffer_id, GL_NO_ERROR); |
1318 } | 1318 } |
1319 | 1319 |
1320 void GLES2DecoderWithShaderTestBase::SetUp() { | 1320 void GLES2DecoderWithShaderTestBase::SetUp() { |
1321 GLES2DecoderTestBase::SetUp(); | 1321 GLES2DecoderTestBase::SetUp(); |
1322 SetupDefaultProgram(); | 1322 SetupDefaultProgram(); |
1323 } | 1323 } |
1324 | 1324 |
1325 } // namespace gles2 | 1325 } // namespace gles2 |
1326 } // namespace gpu | 1326 } // namespace gpu |
OLD | NEW |