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

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

Issue 74563002: AndroidVideoEncodeAccelerator is born! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 | 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 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 // Propagate relevant command line switches. 1105 // Propagate relevant command line switches.
1106 static const char* const kSwitchNames[] = { 1106 static const char* const kSwitchNames[] = {
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 #if defined(ENABLE_WEBRTC)
1116 switches::kDisableWebRtcHWEncoding,
1117 #endif
1115 switches::kEnableLogging, 1118 switches::kEnableLogging,
1116 switches::kEnableShareGroupAsyncTextureUpload, 1119 switches::kEnableShareGroupAsyncTextureUpload,
1117 switches::kGpuStartupDialog, 1120 switches::kGpuStartupDialog,
1118 switches::kGpuSandboxAllowSysVShm, 1121 switches::kGpuSandboxAllowSysVShm,
1119 switches::kLoggingLevel, 1122 switches::kLoggingLevel,
1120 switches::kNoSandbox, 1123 switches::kNoSandbox,
1121 switches::kReduceGpuSandbox, 1124 switches::kReduceGpuSandbox,
1122 switches::kTestGLLib, 1125 switches::kTestGLLib,
1123 switches::kTraceStartup, 1126 switches::kTraceStartup,
1124 switches::kV, 1127 switches::kV,
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1241 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1244 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1242 ClientIdToShaderCacheMap::iterator iter = 1245 ClientIdToShaderCacheMap::iterator iter =
1243 client_id_to_shader_cache_.find(client_id); 1246 client_id_to_shader_cache_.find(client_id);
1244 // If the cache doesn't exist then this is an off the record profile. 1247 // If the cache doesn't exist then this is an off the record profile.
1245 if (iter == client_id_to_shader_cache_.end()) 1248 if (iter == client_id_to_shader_cache_.end())
1246 return; 1249 return;
1247 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1250 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1248 } 1251 }
1249 1252
1250 } // namespace content 1253 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private.cc ('k') | content/browser/resources/gpu/info_view.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698