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 10959061: Revert 158076 - Implement blacklist's force GPU capability in dual GPU machines. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 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 | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_util.h » ('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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 switches::kDisableImageTransportSurface, 827 switches::kDisableImageTransportSurface,
828 switches::kDisableAcceleratedVideoDecode, 828 switches::kDisableAcceleratedVideoDecode,
829 switches::kDisableLogging, 829 switches::kDisableLogging,
830 switches::kEnableGPUServiceLogging, 830 switches::kEnableGPUServiceLogging,
831 switches::kEnableLogging, 831 switches::kEnableLogging,
832 #if defined(OS_MACOSX) 832 #if defined(OS_MACOSX)
833 switches::kEnableSandboxLogging, 833 switches::kEnableSandboxLogging,
834 #endif 834 #endif
835 switches::kGpuNoContextLost, 835 switches::kGpuNoContextLost,
836 switches::kGpuStartupDialog, 836 switches::kGpuStartupDialog,
837 switches::kGpuSwitching,
838 switches::kLoggingLevel, 837 switches::kLoggingLevel,
839 switches::kNoSandbox, 838 switches::kNoSandbox,
840 switches::kTestGLLib, 839 switches::kTestGLLib,
841 switches::kTraceStartup, 840 switches::kTraceStartup,
842 switches::kV, 841 switches::kV,
843 switches::kVModule, 842 switches::kVModule,
844 switches::kEnableUIReleaseFrontSurface, 843 switches::kEnableUIReleaseFrontSurface,
845 #if defined(USE_AURA) 844 #if defined(USE_AURA)
846 switches::kUIPrioritizeInGpuProcess, 845 switches::kUIPrioritizeInGpuProcess,
847 #endif 846 #endif
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 const IPC::ChannelHandle& channel_handle, 903 const IPC::ChannelHandle& channel_handle,
905 base::ProcessHandle renderer_process_for_gpu, 904 base::ProcessHandle renderer_process_for_gpu,
906 const content::GPUInfo& gpu_info) { 905 const content::GPUInfo& gpu_info) {
907 callback.Run(channel_handle, gpu_info); 906 callback.Run(channel_handle, gpu_info);
908 } 907 }
909 908
910 void GpuProcessHost::CreateCommandBufferError( 909 void GpuProcessHost::CreateCommandBufferError(
911 const CreateCommandBufferCallback& callback, int32 route_id) { 910 const CreateCommandBufferCallback& callback, int32 route_id) {
912 callback.Run(route_id); 911 callback.Run(route_id);
913 } 912 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698