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

Side by Side Diff: gpu/command_buffer/tests/gl_tests_main.cc

Issue 19607005: Use a direct include of the message_loop header in dbus/, device/, extensions/, google_apis/, gpu/,… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
OLDNEW
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 "base/at_exit.h" 5 #include "base/at_exit.h"
6 #include "base/command_line.h" 6 #include "base/command_line.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #if defined(OS_MACOSX) 8 #if defined(OS_MACOSX)
9 #include "base/mac/scoped_nsautorelease_pool.h" 9 #include "base/mac/scoped_nsautorelease_pool.h"
10 #endif 10 #endif
11 #include "gpu/command_buffer/client/gles2_lib.h" 11 #include "gpu/command_buffer/client/gles2_lib.h"
12 #include "gpu/command_buffer/tests/gl_test_utils.h" 12 #include "gpu/command_buffer/tests/gl_test_utils.h"
13 #include "gpu/config/gpu_util.h" 13 #include "gpu/config/gpu_util.h"
14 #include "ui/gl/gl_surface.h" 14 #include "ui/gl/gl_surface.h"
15 15
16 #if defined(OS_ANDROID) 16 #if defined(OS_ANDROID)
17 #include "base/android/jni_android.h" 17 #include "base/android/jni_android.h"
(...skipping 19 matching lines...) Expand all
37 #endif 37 #endif
38 gfx::GLSurface::InitializeOneOff(); 38 gfx::GLSurface::InitializeOneOff();
39 ::gles2::Initialize(); 39 ::gles2::Initialize();
40 gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess()); 40 gpu::ApplyGpuDriverBugWorkarounds(CommandLine::ForCurrentProcess());
41 base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_UI; 41 base::MessageLoop::Type message_loop_type = base::MessageLoop::TYPE_UI;
42 base::MessageLoop main_message_loop(message_loop_type); 42 base::MessageLoop main_message_loop(message_loop_type);
43 return GLTestHelper::RunTests(argc, argv); 43 return GLTestHelper::RunTests(argc, argv);
44 } 44 }
45 45
46 46
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gpu_scheduler_unittest.cc ('k') | gpu/config/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698