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

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

Issue 23503038: Make using virtual contexts a workaround flag rather than cmdline (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comment Created 7 years, 3 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
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/base64.h" 7 #include "base/base64.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 1096 matching lines...) Expand 10 before | Expand all | Expand 10 after
1107 switches::kDisableAcceleratedVideoDecode, 1107 switches::kDisableAcceleratedVideoDecode,
1108 switches::kDisableBreakpad, 1108 switches::kDisableBreakpad,
1109 switches::kDisableGLMultisampling, 1109 switches::kDisableGLMultisampling,
1110 switches::kDisableGpuSandbox, 1110 switches::kDisableGpuSandbox,
1111 switches::kDisableGpuWatchdog, 1111 switches::kDisableGpuWatchdog,
1112 switches::kDisableImageTransportSurface, 1112 switches::kDisableImageTransportSurface,
1113 switches::kDisableLogging, 1113 switches::kDisableLogging,
1114 switches::kDisableSeccompFilterSandbox, 1114 switches::kDisableSeccompFilterSandbox,
1115 switches::kEnableLogging, 1115 switches::kEnableLogging,
1116 switches::kEnableShareGroupAsyncTextureUpload, 1116 switches::kEnableShareGroupAsyncTextureUpload,
1117 switches::kEnableVirtualGLContexts,
1118 switches::kGpuStartupDialog, 1117 switches::kGpuStartupDialog,
1119 switches::kGpuSandboxAllowSysVShm, 1118 switches::kGpuSandboxAllowSysVShm,
1120 switches::kLoggingLevel, 1119 switches::kLoggingLevel,
1121 switches::kNoSandbox, 1120 switches::kNoSandbox,
1122 switches::kReduceGpuSandbox, 1121 switches::kReduceGpuSandbox,
1123 switches::kTestGLLib, 1122 switches::kTestGLLib,
1124 switches::kTraceStartup, 1123 switches::kTraceStartup,
1125 switches::kV, 1124 switches::kV,
1126 switches::kVModule, 1125 switches::kVModule,
1127 #if defined(OS_MACOSX) 1126 #if defined(OS_MACOSX)
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
1242 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1241 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1243 ClientIdToShaderCacheMap::iterator iter = 1242 ClientIdToShaderCacheMap::iterator iter =
1244 client_id_to_shader_cache_.find(client_id); 1243 client_id_to_shader_cache_.find(client_id);
1245 // If the cache doesn't exist then this is an off the record profile. 1244 // If the cache doesn't exist then this is an off the record profile.
1246 if (iter == client_id_to_shader_cache_.end()) 1245 if (iter == client_id_to_shader_cache_.end())
1247 return; 1246 return;
1248 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1247 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1249 } 1248 }
1250 1249
1251 } // namespace content 1250 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698