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

Side by Side Diff: content/browser/gpu/gpu_process_host.cc

Issue 10351002: ui: Move surface/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix gpu DEPS 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
« no previous file with comments | « content/DEPS ('k') | content/browser/renderer_host/accelerated_surface_container_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/browser/gpu/gpu_process_host.h" 5 #include "content/browser/gpu/gpu_process_host.h"
6 6
7 #include "base/base_switches.h" 7 #include "base/base_switches.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/bind_helpers.h" 9 #include "base/bind_helpers.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 24 matching lines...) Expand all
35 #include "ipc/ipc_switches.h" 35 #include "ipc/ipc_switches.h"
36 #include "ui/gfx/gl/gl_context.h" 36 #include "ui/gfx/gl/gl_context.h"
37 #include "ui/gfx/gl/gl_implementation.h" 37 #include "ui/gfx/gl/gl_implementation.h"
38 #include "ui/gfx/gl/gl_switches.h" 38 #include "ui/gfx/gl/gl_switches.h"
39 39
40 #if defined(TOOLKIT_GTK) 40 #if defined(TOOLKIT_GTK)
41 #include "ui/gfx/gtk_native_view_id_manager.h" 41 #include "ui/gfx/gtk_native_view_id_manager.h"
42 #endif 42 #endif
43 43
44 #if defined(OS_WIN) && !defined(USE_AURA) 44 #if defined(OS_WIN) && !defined(USE_AURA)
45 #include "ui/gfx/surface/accelerated_surface_win.h" 45 #include "ui/surface/accelerated_surface_win.h"
46 #endif 46 #endif
47 47
48 using content::BrowserThread; 48 using content::BrowserThread;
49 using content::ChildProcessHost; 49 using content::ChildProcessHost;
50 50
51 bool GpuProcessHost::gpu_enabled_ = true; 51 bool GpuProcessHost::gpu_enabled_ = true;
52 bool GpuProcessHost::hardware_gpu_enabled_ = true; 52 bool GpuProcessHost::hardware_gpu_enabled_ = true;
53 53
54 namespace { 54 namespace {
55 55
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 const IPC::ChannelHandle& channel_handle, 798 const IPC::ChannelHandle& channel_handle,
799 base::ProcessHandle renderer_process_for_gpu, 799 base::ProcessHandle renderer_process_for_gpu,
800 const content::GPUInfo& gpu_info) { 800 const content::GPUInfo& gpu_info) {
801 callback.Run(channel_handle, gpu_info); 801 callback.Run(channel_handle, gpu_info);
802 } 802 }
803 803
804 void GpuProcessHost::CreateCommandBufferError( 804 void GpuProcessHost::CreateCommandBufferError(
805 const CreateCommandBufferCallback& callback, int32 route_id) { 805 const CreateCommandBufferCallback& callback, int32 route_id) {
806 callback.Run(route_id); 806 callback.Run(route_id);
807 } 807 }
OLDNEW
« no previous file with comments | « content/DEPS ('k') | content/browser/renderer_host/accelerated_surface_container_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698