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

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

Issue 10824019: Tweak the GPU process sandbox to allow accelerated video decode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Addressed jln's comments. Created 8 years, 5 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
« no previous file with comments | « no previous file | content/common/sandbox_init_linux.cc » ('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 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/common/sandbox_init_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698