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

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

Issue 333253002: Add VaapiVideoEncodeAccelerator for HW-accelerated video encode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fixes Created 6 years, 6 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 | 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 963 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 switches::kDisableBreakpad, 974 switches::kDisableBreakpad,
975 switches::kDisableGpuSandbox, 975 switches::kDisableGpuSandbox,
976 switches::kDisableGpuWatchdog, 976 switches::kDisableGpuWatchdog,
977 switches::kDisableLogging, 977 switches::kDisableLogging,
978 switches::kDisableSeccompFilterSandbox, 978 switches::kDisableSeccompFilterSandbox,
979 #if defined(ENABLE_WEBRTC) 979 #if defined(ENABLE_WEBRTC)
980 switches::kDisableWebRtcHWEncoding, 980 switches::kDisableWebRtcHWEncoding,
981 #endif 981 #endif
982 switches::kEnableLogging, 982 switches::kEnableLogging,
983 switches::kEnableShareGroupAsyncTextureUpload, 983 switches::kEnableShareGroupAsyncTextureUpload,
984 #if defined(OS_CHROMEOS)
985 switches::kEnableVaapiAcceleratedVideoEncode,
986 #endif
984 switches::kGpuStartupDialog, 987 switches::kGpuStartupDialog,
985 switches::kGpuSandboxAllowSysVShm, 988 switches::kGpuSandboxAllowSysVShm,
986 switches::kGpuSandboxFailuresFatal, 989 switches::kGpuSandboxFailuresFatal,
987 switches::kGpuSandboxStartAfterInitialization, 990 switches::kGpuSandboxStartAfterInitialization,
988 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 991 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
989 switches::kLoggingLevel, 992 switches::kLoggingLevel,
990 switches::kNoSandbox, 993 switches::kNoSandbox,
991 switches::kTestGLLib, 994 switches::kTestGLLib,
992 switches::kTraceStartup, 995 switches::kTraceStartup,
993 switches::kV, 996 switches::kV,
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1115 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1113 ClientIdToShaderCacheMap::iterator iter = 1116 ClientIdToShaderCacheMap::iterator iter =
1114 client_id_to_shader_cache_.find(client_id); 1117 client_id_to_shader_cache_.find(client_id);
1115 // If the cache doesn't exist then this is an off the record profile. 1118 // If the cache doesn't exist then this is an off the record profile.
1116 if (iter == client_id_to_shader_cache_.end()) 1119 if (iter == client_id_to_shader_cache_.end())
1117 return; 1120 return;
1118 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1121 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1119 } 1122 }
1120 1123
1121 } // namespace content 1124 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.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