Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest_context_lost.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698