OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
Ami GONE FROM CHROMIUM
2012/04/09 02:41:47
CL description still needs update.
Pawel Osciak
2012/05/03 16:22:07
Done.
| |
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" |
11 #include "base/debug/trace_event.h" | 11 #include "base/debug/trace_event.h" |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
693 switches::kDisableGpuWatchdog, | 693 switches::kDisableGpuWatchdog, |
694 switches::kDisableImageTransportSurface, | 694 switches::kDisableImageTransportSurface, |
695 switches::kDisableLogging, | 695 switches::kDisableLogging, |
696 switches::kEnableGPUCommandLogging, | 696 switches::kEnableGPUCommandLogging, |
697 switches::kEnableGPUDebugging, | 697 switches::kEnableGPUDebugging, |
698 switches::kEnableGPUServiceLogging, | 698 switches::kEnableGPUServiceLogging, |
699 switches::kEnableLogging, | 699 switches::kEnableLogging, |
700 #if defined(OS_MACOSX) | 700 #if defined(OS_MACOSX) |
701 switches::kEnableSandboxLogging, | 701 switches::kEnableSandboxLogging, |
702 #endif | 702 #endif |
703 #if defined(OS_CHROMEOS) | |
704 switches::kEnableVaapi, | |
705 #endif | |
703 switches::kGpuNoContextLost, | 706 switches::kGpuNoContextLost, |
704 switches::kGpuStartupDialog, | 707 switches::kGpuStartupDialog, |
705 switches::kLoggingLevel, | 708 switches::kLoggingLevel, |
706 switches::kNoSandbox, | 709 switches::kNoSandbox, |
707 switches::kTestGLLib, | 710 switches::kTestGLLib, |
708 switches::kTraceStartup, | 711 switches::kTraceStartup, |
709 }; | 712 }; |
710 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, | 713 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, |
711 arraysize(kSwitchNames)); | 714 arraysize(kSwitchNames)); |
712 | 715 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
757 const IPC::ChannelHandle& channel_handle, | 760 const IPC::ChannelHandle& channel_handle, |
758 base::ProcessHandle renderer_process_for_gpu, | 761 base::ProcessHandle renderer_process_for_gpu, |
759 const content::GPUInfo& gpu_info) { | 762 const content::GPUInfo& gpu_info) { |
760 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info); | 763 callback.Run(channel_handle, renderer_process_for_gpu, gpu_info); |
761 } | 764 } |
762 | 765 |
763 void GpuProcessHost::CreateCommandBufferError( | 766 void GpuProcessHost::CreateCommandBufferError( |
764 const CreateCommandBufferCallback& callback, int32 route_id) { | 767 const CreateCommandBufferCallback& callback, int32 route_id) { |
765 callback.Run(route_id); | 768 callback.Run(route_id); |
766 } | 769 } |
OLD | NEW |