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

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

Issue 2549283002: Android: enable WebRTC HW H264 with a flag by default (Closed)
Patch Set: fix histograms value Created 4 years 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 switches::kCreateDefaultGLContext, 112 switches::kCreateDefaultGLContext,
113 switches::kDisableAcceleratedVideoDecode, 113 switches::kDisableAcceleratedVideoDecode,
114 switches::kDisableBreakpad, 114 switches::kDisableBreakpad,
115 switches::kDisableES3GLContext, 115 switches::kDisableES3GLContext,
116 switches::kDisableGpuSandbox, 116 switches::kDisableGpuSandbox,
117 switches::kDisableGpuWatchdog, 117 switches::kDisableGpuWatchdog,
118 switches::kDisableGLExtensions, 118 switches::kDisableGLExtensions,
119 switches::kDisableLogging, 119 switches::kDisableLogging,
120 switches::kDisableSeccompFilterSandbox, 120 switches::kDisableSeccompFilterSandbox,
121 #if BUILDFLAG(ENABLE_WEBRTC) 121 #if BUILDFLAG(ENABLE_WEBRTC)
122 switches::kDisableWebRtcHWEncoding, 122 switches::kDisableWebRtcHWVP8Encoding,
123 #endif 123 #endif
124 #if defined(OS_WIN) 124 #if defined(OS_WIN)
125 switches::kEnableAcceleratedVpxDecode, 125 switches::kEnableAcceleratedVpxDecode,
126 #endif 126 #endif
127 switches::kEnableHeapProfiling, 127 switches::kEnableHeapProfiling,
128 switches::kEnableLogging, 128 switches::kEnableLogging,
129 #if defined(OS_CHROMEOS) 129 #if defined(OS_CHROMEOS)
130 switches::kDisableVaapiAcceleratedVideoEncode, 130 switches::kDisableVaapiAcceleratedVideoEncode,
131 #endif 131 #endif
132 switches::kGpuDriverBugWorkarounds, 132 switches::kGpuDriverBugWorkarounds,
(...skipping 1059 matching lines...) Expand 10 before | Expand all | Expand 10 after
1192 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1192 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1193 ClientIdToShaderCacheMap::iterator iter = 1193 ClientIdToShaderCacheMap::iterator iter =
1194 client_id_to_shader_cache_.find(client_id); 1194 client_id_to_shader_cache_.find(client_id);
1195 // If the cache doesn't exist then this is an off the record profile. 1195 // If the cache doesn't exist then this is an off the record profile.
1196 if (iter == client_id_to_shader_cache_.end()) 1196 if (iter == client_id_to_shader_cache_.end())
1197 return; 1197 return;
1198 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1198 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1199 } 1199 }
1200 1200
1201 } // namespace content 1201 } // 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