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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
775 switches::kDisableBreakpad, | 775 switches::kDisableBreakpad, |
776 switches::kDisableGLMultisampling, | 776 switches::kDisableGLMultisampling, |
777 switches::kDisableGpuSandbox, | 777 switches::kDisableGpuSandbox, |
778 switches::kReduceGpuSandbox, | 778 switches::kReduceGpuSandbox, |
779 switches::kDisableSeccompFilterSandbox, | 779 switches::kDisableSeccompFilterSandbox, |
780 switches::kEnableGpuSandbox, | 780 switches::kEnableGpuSandbox, |
781 switches::kDisableGpuSwitching, | 781 switches::kDisableGpuSwitching, |
782 switches::kDisableGpuVsync, | 782 switches::kDisableGpuVsync, |
783 switches::kDisableGpuWatchdog, | 783 switches::kDisableGpuWatchdog, |
784 switches::kDisableImageTransportSurface, | 784 switches::kDisableImageTransportSurface, |
| 785 switches::kDisableAcceleratedVideoDecode, |
785 switches::kDisableLogging, | 786 switches::kDisableLogging, |
786 switches::kEnableGPUServiceLogging, | 787 switches::kEnableGPUServiceLogging, |
787 switches::kEnableLogging, | 788 switches::kEnableLogging, |
788 #if defined(OS_MACOSX) | 789 #if defined(OS_MACOSX) |
789 switches::kEnableSandboxLogging, | 790 switches::kEnableSandboxLogging, |
790 #endif | 791 #endif |
791 switches::kGpuNoContextLost, | 792 switches::kGpuNoContextLost, |
792 switches::kGpuStartupDialog, | 793 switches::kGpuStartupDialog, |
793 switches::kLoggingLevel, | 794 switches::kLoggingLevel, |
794 switches::kNoSandbox, | 795 switches::kNoSandbox, |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
858 const IPC::ChannelHandle& channel_handle, | 859 const IPC::ChannelHandle& channel_handle, |
859 base::ProcessHandle renderer_process_for_gpu, | 860 base::ProcessHandle renderer_process_for_gpu, |
860 const content::GPUInfo& gpu_info) { | 861 const content::GPUInfo& gpu_info) { |
861 callback.Run(channel_handle, gpu_info); | 862 callback.Run(channel_handle, gpu_info); |
862 } | 863 } |
863 | 864 |
864 void GpuProcessHost::CreateCommandBufferError( | 865 void GpuProcessHost::CreateCommandBufferError( |
865 const CreateCommandBufferCallback& callback, int32 route_id) { | 866 const CreateCommandBufferCallback& callback, int32 route_id) { |
866 callback.Run(route_id); | 867 callback.Run(route_id); |
867 } | 868 } |
OLD | NEW |