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

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

Issue 9814001: Add VAVDA, the VAAPI Video Decode Accelerator for Intel CPUs. (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
747 switches::kGpuNoContextLost, 750 switches::kGpuNoContextLost,
748 switches::kGpuStartupDialog, 751 switches::kGpuStartupDialog,
749 switches::kLoggingLevel, 752 switches::kLoggingLevel,
750 switches::kNoSandbox, 753 switches::kNoSandbox,
751 switches::kTestGLLib, 754 switches::kTestGLLib,
752 switches::kTraceStartup, 755 switches::kTraceStartup,
753 switches::kV, 756 switches::kV,
754 switches::kVModule, 757 switches::kVModule,
755 }; 758 };
756 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames, 759 cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 const IPC::ChannelHandle& channel_handle, 808 const IPC::ChannelHandle& channel_handle,
806 base::ProcessHandle renderer_process_for_gpu, 809 base::ProcessHandle renderer_process_for_gpu,
807 const content::GPUInfo& gpu_info) { 810 const content::GPUInfo& gpu_info) {
808 callback.Run(channel_handle, gpu_info); 811 callback.Run(channel_handle, gpu_info);
809 } 812 }
810 813
811 void GpuProcessHost::CreateCommandBufferError( 814 void GpuProcessHost::CreateCommandBufferError(
812 const CreateCommandBufferCallback& callback, int32 route_id) { 815 const CreateCommandBufferCallback& callback, int32 route_id) {
813 callback.Run(route_id); 816 callback.Run(route_id);
814 } 817 }
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