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

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

Issue 2573933002: Restore switch kDisableWebRtcHWEncoding (Closed)
Patch Set: renew comments Created 3 years, 11 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
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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 switches::kCreateDefaultGLContext, 114 switches::kCreateDefaultGLContext,
115 switches::kDisableAcceleratedVideoDecode, 115 switches::kDisableAcceleratedVideoDecode,
116 switches::kDisableBreakpad, 116 switches::kDisableBreakpad,
117 switches::kDisableES3GLContext, 117 switches::kDisableES3GLContext,
118 switches::kDisableGpuSandbox, 118 switches::kDisableGpuSandbox,
119 switches::kDisableGpuWatchdog, 119 switches::kDisableGpuWatchdog,
120 switches::kDisableGLExtensions, 120 switches::kDisableGLExtensions,
121 switches::kDisableLogging, 121 switches::kDisableLogging,
122 switches::kDisableSeccompFilterSandbox, 122 switches::kDisableSeccompFilterSandbox,
123 #if BUILDFLAG(ENABLE_WEBRTC) 123 #if BUILDFLAG(ENABLE_WEBRTC)
124 switches::kDisableWebRtcHWVP8Encoding, 124 switches::kDisableWebRtcHWEncoding,
125 #endif 125 #endif
126 #if defined(OS_WIN) 126 #if defined(OS_WIN)
127 switches::kEnableAcceleratedVpxDecode, 127 switches::kEnableAcceleratedVpxDecode,
128 #endif 128 #endif
129 switches::kEnableHeapProfiling, 129 switches::kEnableHeapProfiling,
130 switches::kEnableLogging, 130 switches::kEnableLogging,
131 #if defined(OS_CHROMEOS) 131 #if defined(OS_CHROMEOS)
132 switches::kDisableVaapiAcceleratedVideoEncode, 132 switches::kDisableVaapiAcceleratedVideoEncode,
133 #endif 133 #endif
134 switches::kGpuDriverBugWorkarounds, 134 switches::kGpuDriverBugWorkarounds,
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1194 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1194 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1195 ClientIdToShaderCacheMap::iterator iter = 1195 ClientIdToShaderCacheMap::iterator iter =
1196 client_id_to_shader_cache_.find(client_id); 1196 client_id_to_shader_cache_.find(client_id);
1197 // If the cache doesn't exist then this is an off the record profile. 1197 // If the cache doesn't exist then this is an off the record profile.
1198 if (iter == client_id_to_shader_cache_.end()) 1198 if (iter == client_id_to_shader_cache_.end())
1199 return; 1199 return;
1200 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1200 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1201 } 1201 }
1202 1202
1203 } // namespace content 1203 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698