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

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

Issue 10411066: Revert 137988 - VAVDA is the hardware video decode accelerator for Chrome on Linux and ChromeOS for… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | « no previous file | content/common/gpu/media/DEPS » ('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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 switches::kDisableGpuSwitching, 737 switches::kDisableGpuSwitching,
738 switches::kDisableGpuVsync, 738 switches::kDisableGpuVsync,
739 switches::kDisableGpuWatchdog, 739 switches::kDisableGpuWatchdog,
740 switches::kDisableImageTransportSurface, 740 switches::kDisableImageTransportSurface,
741 switches::kDisableLogging, 741 switches::kDisableLogging,
742 switches::kEnableGPUServiceLogging, 742 switches::kEnableGPUServiceLogging,
743 switches::kEnableLogging, 743 switches::kEnableLogging,
744 #if defined(OS_MACOSX) 744 #if defined(OS_MACOSX)
745 switches::kEnableSandboxLogging, 745 switches::kEnableSandboxLogging,
746 #endif 746 #endif
747 #if defined(OS_CHROMEOS)
748 switches::kEnableVaapi,
749 #endif
750 switches::kGpuNoContextLost, 747 switches::kGpuNoContextLost,
751 switches::kGpuStartupDialog, 748 switches::kGpuStartupDialog,
752 switches::kLoggingLevel, 749 switches::kLoggingLevel,
753 switches::kNoSandbox, 750 switches::kNoSandbox,
754 switches::kTestGLLib, 751 switches::kTestGLLib,
755 switches::kTraceStartup, 752 switches::kTraceStartup,
756 switches::kV, 753 switches::kV,
757 switches::kVModule, 754 switches::kVModule,
758 }; 755 };
759 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 756 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
808 const IPC::ChannelHandle& channel_handle, 805 const IPC::ChannelHandle& channel_handle,
809 base::ProcessHandle renderer_process_for_gpu, 806 base::ProcessHandle renderer_process_for_gpu,
810 const content::GPUInfo& gpu_info) { 807 const content::GPUInfo& gpu_info) {
811 callback.Run(channel_handle, gpu_info); 808 callback.Run(channel_handle, gpu_info);
812 } 809 }
813 810
814 void GpuProcessHost::CreateCommandBufferError( 811 void GpuProcessHost::CreateCommandBufferError(
815 const CreateCommandBufferCallback& callback, int32 route_id) { 812 const CreateCommandBufferCallback& callback, int32 route_id) {
816 callback.Run(route_id); 813 callback.Run(route_id);
817 } 814 }
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698