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

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

Issue 374553002: VAVEA: Turn VAAPI encoder flag into a kill switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 switches::kDisableGpuSandbox, 877 switches::kDisableGpuSandbox,
878 switches::kDisableGpuWatchdog, 878 switches::kDisableGpuWatchdog,
879 switches::kDisableLogging, 879 switches::kDisableLogging,
880 switches::kDisableSeccompFilterSandbox, 880 switches::kDisableSeccompFilterSandbox,
881 #if defined(ENABLE_WEBRTC) 881 #if defined(ENABLE_WEBRTC)
882 switches::kDisableWebRtcHWEncoding, 882 switches::kDisableWebRtcHWEncoding,
883 #endif 883 #endif
884 switches::kEnableLogging, 884 switches::kEnableLogging,
885 switches::kEnableShareGroupAsyncTextureUpload, 885 switches::kEnableShareGroupAsyncTextureUpload,
886 #if defined(OS_CHROMEOS) 886 #if defined(OS_CHROMEOS)
887 switches::kEnableVaapiAcceleratedVideoEncode, 887 switches::kDisableVaapiAcceleratedVideoEncode,
888 #endif 888 #endif
889 switches::kGpuStartupDialog, 889 switches::kGpuStartupDialog,
890 switches::kGpuSandboxAllowSysVShm, 890 switches::kGpuSandboxAllowSysVShm,
891 switches::kGpuSandboxFailuresFatal, 891 switches::kGpuSandboxFailuresFatal,
892 switches::kGpuSandboxStartEarly, 892 switches::kGpuSandboxStartEarly,
893 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 893 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
894 switches::kLoggingLevel, 894 switches::kLoggingLevel,
895 switches::kLowEndDeviceMode, 895 switches::kLowEndDeviceMode,
896 switches::kNoSandbox, 896 switches::kNoSandbox,
897 switches::kTestGLLib, 897 switches::kTestGLLib,
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1085 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1086 ClientIdToShaderCacheMap::iterator iter = 1086 ClientIdToShaderCacheMap::iterator iter =
1087 client_id_to_shader_cache_.find(client_id); 1087 client_id_to_shader_cache_.find(client_id);
1088 // If the cache doesn't exist then this is an off the record profile. 1088 // If the cache doesn't exist then this is an off the record profile.
1089 if (iter == client_id_to_shader_cache_.end()) 1089 if (iter == client_id_to_shader_cache_.end())
1090 return; 1090 return;
1091 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1091 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1092 } 1092 }
1093 1093
1094 } // namespace content 1094 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698