OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/strings/string_number_conversions.h" | 8 #include "base/strings/string_number_conversions.h" |
9 #include "gpu/command_buffer/common/gles2_cmd_format.h" | 9 #include "gpu/command_buffer/common/gles2_cmd_format.h" |
10 #include "gpu/command_buffer/common/gles2_cmd_utils.h" | 10 #include "gpu/command_buffer/common/gles2_cmd_utils.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/gl_surface_mock.h" | 13 #include "gpu/command_buffer/service/gl_surface_mock.h" |
14 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h" | 14 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h" |
15 #include "gpu/command_buffer/service/gpu_switches.h" | 15 #include "gpu/command_buffer/service/gpu_switches.h" |
16 #include "gpu/command_buffer/service/mocks.h" | 16 #include "gpu/command_buffer/service/mocks.h" |
17 #include "testing/gtest/include/gtest/gtest.h" | 17 #include "testing/gtest/include/gtest/gtest.h" |
18 #include "ui/gl/gl_mock.h" | 18 #include "ui/gl/gl_mock.h" |
19 | 19 |
20 using ::gfx::MockGLInterface; | 20 using ::gl::MockGLInterface; |
21 using ::testing::_; | 21 using ::testing::_; |
22 using ::testing::DoAll; | 22 using ::testing::DoAll; |
23 using ::testing::InSequence; | 23 using ::testing::InSequence; |
24 using ::testing::Invoke; | 24 using ::testing::Invoke; |
25 using ::testing::MatcherCast; | 25 using ::testing::MatcherCast; |
26 using ::testing::Mock; | 26 using ::testing::Mock; |
27 using ::testing::Pointee; | 27 using ::testing::Pointee; |
28 using ::testing::Return; | 28 using ::testing::Return; |
29 using ::testing::SaveArg; | 29 using ::testing::SaveArg; |
30 using ::testing::SetArrayArgument; | 30 using ::testing::SetArrayArgument; |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 // so that we can shut down cleanly. | 264 // so that we can shut down cleanly. |
265 ClearCurrentDecoderError(); | 265 ClearCurrentDecoderError(); |
266 } | 266 } |
267 | 267 |
268 INSTANTIATE_TEST_CASE_P(Service, | 268 INSTANTIATE_TEST_CASE_P(Service, |
269 GLES2DecoderLostContextTest, | 269 GLES2DecoderLostContextTest, |
270 ::testing::Bool()); | 270 ::testing::Bool()); |
271 | 271 |
272 } // namespace gles2 | 272 } // namespace gles2 |
273 } // namespace gpu | 273 } // namespace gpu |
OLD | NEW |