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

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

Issue 2440853002: Mac: Add command line flag to disable AVFoundation layers (Closed)
Patch Set: Fix formatting Created 4 years, 1 month 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 | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('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 <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <list> 10 #include <list>
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 switches::kNoSandbox, 136 switches::kNoSandbox,
137 switches::kProfilerTiming, 137 switches::kProfilerTiming,
138 switches::kTestGLLib, 138 switches::kTestGLLib,
139 switches::kTraceConfigFile, 139 switches::kTraceConfigFile,
140 switches::kTraceStartup, 140 switches::kTraceStartup,
141 switches::kTraceToConsole, 141 switches::kTraceToConsole,
142 switches::kUseGpuInTests, 142 switches::kUseGpuInTests,
143 switches::kV, 143 switches::kV,
144 switches::kVModule, 144 switches::kVModule,
145 #if defined(OS_MACOSX) 145 #if defined(OS_MACOSX)
146 switches::kDisableAVFoundationOverlays,
146 switches::kDisableRemoteCoreAnimation, 147 switches::kDisableRemoteCoreAnimation,
147 switches::kEnableSandboxLogging, 148 switches::kEnableSandboxLogging,
148 switches::kShowMacOverlayBorders, 149 switches::kShowMacOverlayBorders,
149 #endif 150 #endif
150 #if defined(USE_OZONE) 151 #if defined(USE_OZONE)
151 switches::kOzonePlatform, 152 switches::kOzonePlatform,
152 #endif 153 #endif
153 #if defined(USE_X11) && !defined(OS_CHROMEOS) 154 #if defined(USE_X11) && !defined(OS_CHROMEOS)
154 switches::kX11Display, 155 switches::kX11Display,
155 #endif 156 #endif
(...skipping 1009 matching lines...) Expand 10 before | Expand all | Expand 10 after
1165 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1166 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1166 ClientIdToShaderCacheMap::iterator iter = 1167 ClientIdToShaderCacheMap::iterator iter =
1167 client_id_to_shader_cache_.find(client_id); 1168 client_id_to_shader_cache_.find(client_id);
1168 // If the cache doesn't exist then this is an off the record profile. 1169 // If the cache doesn't exist then this is an off the record profile.
1169 if (iter == client_id_to_shader_cache_.end()) 1170 if (iter == client_id_to_shader_cache_.end())
1170 return; 1171 return;
1171 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1172 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1172 } 1173 }
1173 1174
1174 } // namespace content 1175 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | gpu/ipc/service/image_transport_surface_overlay_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698