| OLD | NEW |
| 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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 switches::kDisableImageTransportSurface, | 827 switches::kDisableImageTransportSurface, |
| 828 switches::kDisableAcceleratedVideoDecode, | 828 switches::kDisableAcceleratedVideoDecode, |
| 829 switches::kDisableLogging, | 829 switches::kDisableLogging, |
| 830 switches::kEnableGPUServiceLogging, | 830 switches::kEnableGPUServiceLogging, |
| 831 switches::kEnableLogging, | 831 switches::kEnableLogging, |
| 832 #if defined(OS_MACOSX) | 832 #if defined(OS_MACOSX) |
| 833 switches::kEnableSandboxLogging, | 833 switches::kEnableSandboxLogging, |
| 834 #endif | 834 #endif |
| 835 switches::kGpuNoContextLost, | 835 switches::kGpuNoContextLost, |
| 836 switches::kGpuStartupDialog, | 836 switches::kGpuStartupDialog, |
| 837 switches::kGpuSwitching, | |
| 838 switches::kLoggingLevel, | 837 switches::kLoggingLevel, |
| 839 switches::kNoSandbox, | 838 switches::kNoSandbox, |
| 840 switches::kTestGLLib, | 839 switches::kTestGLLib, |
| 841 switches::kTraceStartup, | 840 switches::kTraceStartup, |
| 842 switches::kV, | 841 switches::kV, |
| 843 switches::kVModule, | 842 switches::kVModule, |
| 844 switches::kEnableUIReleaseFrontSurface, | 843 switches::kEnableUIReleaseFrontSurface, |
| 845 #if defined(USE_AURA) | 844 #if defined(USE_AURA) |
| 846 switches::kUIPrioritizeInGpuProcess, | 845 switches::kUIPrioritizeInGpuProcess, |
| 847 #endif | 846 #endif |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 const IPC::ChannelHandle& channel_handle, | 903 const IPC::ChannelHandle& channel_handle, |
| 905 base::ProcessHandle renderer_process_for_gpu, | 904 base::ProcessHandle renderer_process_for_gpu, |
| 906 const content::GPUInfo& gpu_info) { | 905 const content::GPUInfo& gpu_info) { |
| 907 callback.Run(channel_handle, gpu_info); | 906 callback.Run(channel_handle, gpu_info); |
| 908 } | 907 } |
| 909 | 908 |
| 910 void GpuProcessHost::CreateCommandBufferError( | 909 void GpuProcessHost::CreateCommandBufferError( |
| 911 const CreateCommandBufferCallback& callback, int32 route_id) { | 910 const CreateCommandBufferCallback& callback, int32 route_id) { |
| 912 callback.Run(route_id); | 911 callback.Run(route_id); |
| 913 } | 912 } |
| OLD | NEW |