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

Side by Side Diff: content/gpu/gpu_main.cc

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 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 | 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 <stdlib.h> 5 #include <stdlib.h>
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <windows.h> 8 #include <windows.h>
9 #endif 9 #endif
10 10
11 #include "base/environment.h" 11 #include "base/environment.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/rand_util.h" 13 #include "base/rand_util.h"
14 #include "base/stringprintf.h" 14 #include "base/stringprintf.h"
15 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
16 #include "base/win/scoped_com_initializer.h" 16 #include "base/win/scoped_com_initializer.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "content/common/gpu/gpu_config.h" 18 #include "content/common/gpu/gpu_config.h"
19 #include "content/gpu/gpu_child_thread.h"
20 #include "content/gpu/gpu_info_collector.h"
21 #include "content/gpu/gpu_process.h"
19 #include "content/public/common/content_client.h" 22 #include "content/public/common/content_client.h"
20 #include "content/public/common/content_switches.h" 23 #include "content/public/common/content_switches.h"
21 #include "content/public/common/main_function_params.h" 24 #include "content/public/common/main_function_params.h"
22 #include "content/gpu/gpu_child_thread.h"
23 #include "content/gpu/gpu_info_collector.h"
24 #include "content/gpu/gpu_process.h"
25 #include "crypto/hmac.h" 25 #include "crypto/hmac.h"
26 #include "ui/gfx/gl/gl_surface.h" 26 #include "ui/gl/gl_surface.h"
27 #include "ui/gfx/gl/gl_switches.h" 27 #include "ui/gl/gl_switches.h"
28 28
29 #if defined(OS_WIN) 29 #if defined(OS_WIN)
30 #include "content/common/gpu/media/dxva_video_decode_accelerator.h" 30 #include "content/common/gpu/media/dxva_video_decode_accelerator.h"
31 #include "sandbox/src/sandbox.h" 31 #include "sandbox/src/sandbox.h"
32 #endif 32 #endif
33 33
34 #if defined(USE_X11) 34 #if defined(USE_X11)
35 #include "ui/base/x/x11_util.h" 35 #include "ui/base/x/x11_util.h"
36 #endif 36 #endif
37 37
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 child_thread->Init(start_time); 157 child_thread->Init(start_time);
158 158
159 gpu_process.set_main_thread(child_thread); 159 gpu_process.set_main_thread(child_thread);
160 160
161 main_message_loop.Run(); 161 main_message_loop.Run();
162 162
163 child_thread->StopWatchdog(); 163 child_thread->StopWatchdog();
164 164
165 return 0; 165 return 0;
166 } 166 }
OLDNEW
« no previous file with comments | « content/gpu/gpu_info_collector_win.cc ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698