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

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

Issue 1312833007: Revert of Reland [Startup Tracing] Add --trace-config-file flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | content/browser/plugin_process_host.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/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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 switches::kGpuSandboxAllowSysVShm, 106 switches::kGpuSandboxAllowSysVShm,
107 switches::kGpuSandboxFailuresFatal, 107 switches::kGpuSandboxFailuresFatal,
108 switches::kGpuSandboxStartEarly, 108 switches::kGpuSandboxStartEarly,
109 switches::kLoggingLevel, 109 switches::kLoggingLevel,
110 switches::kEnableLowEndDeviceMode, 110 switches::kEnableLowEndDeviceMode,
111 switches::kDisableLowEndDeviceMode, 111 switches::kDisableLowEndDeviceMode,
112 switches::kEnableMemoryBenchmarking, 112 switches::kEnableMemoryBenchmarking,
113 switches::kNoSandbox, 113 switches::kNoSandbox,
114 switches::kProfilerTiming, 114 switches::kProfilerTiming,
115 switches::kTestGLLib, 115 switches::kTestGLLib,
116 switches::kTraceConfigFile,
117 switches::kTraceStartup, 116 switches::kTraceStartup,
118 switches::kTraceToConsole, 117 switches::kTraceToConsole,
119 switches::kV, 118 switches::kV,
120 switches::kVModule, 119 switches::kVModule,
121 #if defined(OS_MACOSX) 120 #if defined(OS_MACOSX)
122 switches::kDisableRemoteCoreAnimation, 121 switches::kDisableRemoteCoreAnimation,
123 switches::kDisableMacOverlays, 122 switches::kDisableMacOverlays,
124 switches::kEnableSandboxLogging, 123 switches::kEnableSandboxLogging,
125 switches::kShowMacOverlayBorders, 124 switches::kShowMacOverlayBorders,
126 #endif 125 #endif
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1147 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1149 ClientIdToShaderCacheMap::iterator iter = 1148 ClientIdToShaderCacheMap::iterator iter =
1150 client_id_to_shader_cache_.find(client_id); 1149 client_id_to_shader_cache_.find(client_id);
1151 // If the cache doesn't exist then this is an off the record profile. 1150 // If the cache doesn't exist then this is an off the record profile.
1152 if (iter == client_id_to_shader_cache_.end()) 1151 if (iter == client_id_to_shader_cache_.end())
1153 return; 1152 return;
1154 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1153 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1155 } 1154 }
1156 1155
1157 } // namespace content 1156 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698