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

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

Issue 1097913002: Remove kIgnoreResolutionLimitsForAcceleratedVideoDecode flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 "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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 #endif 84 #endif
85 switches::kEnableLogging, 85 switches::kEnableLogging,
86 switches::kEnableShareGroupAsyncTextureUpload, 86 switches::kEnableShareGroupAsyncTextureUpload,
87 #if defined(OS_CHROMEOS) 87 #if defined(OS_CHROMEOS)
88 switches::kDisableVaapiAcceleratedVideoEncode, 88 switches::kDisableVaapiAcceleratedVideoEncode,
89 #endif 89 #endif
90 switches::kGpuStartupDialog, 90 switches::kGpuStartupDialog,
91 switches::kGpuSandboxAllowSysVShm, 91 switches::kGpuSandboxAllowSysVShm,
92 switches::kGpuSandboxFailuresFatal, 92 switches::kGpuSandboxFailuresFatal,
93 switches::kGpuSandboxStartEarly, 93 switches::kGpuSandboxStartEarly,
94 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
95 switches::kLoggingLevel, 94 switches::kLoggingLevel,
96 switches::kEnableLowEndDeviceMode, 95 switches::kEnableLowEndDeviceMode,
97 switches::kDisableLowEndDeviceMode, 96 switches::kDisableLowEndDeviceMode,
98 switches::kNoSandbox, 97 switches::kNoSandbox,
99 switches::kProfilerTiming, 98 switches::kProfilerTiming,
100 switches::kTestGLLib, 99 switches::kTestGLLib,
101 switches::kTraceStartup, 100 switches::kTraceStartup,
102 switches::kTraceToConsole, 101 switches::kTraceToConsole,
103 switches::kV, 102 switches::kV,
104 switches::kVModule, 103 switches::kVModule,
(...skipping 986 matching lines...) Expand 10 before | Expand all | Expand 10 after
1091 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1090 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1092 ClientIdToShaderCacheMap::iterator iter = 1091 ClientIdToShaderCacheMap::iterator iter =
1093 client_id_to_shader_cache_.find(client_id); 1092 client_id_to_shader_cache_.find(client_id);
1094 // If the cache doesn't exist then this is an off the record profile. 1093 // If the cache doesn't exist then this is an off the record profile.
1095 if (iter == client_id_to_shader_cache_.end()) 1094 if (iter == client_id_to_shader_cache_.end())
1096 return; 1095 return;
1097 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1096 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1098 } 1097 }
1099 1098
1100 } // namespace content 1099 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698