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

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: rebase Created 5 years, 7 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 985 matching lines...) Expand 10 before | Expand all | Expand 10 after
1090 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1089 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1091 ClientIdToShaderCacheMap::iterator iter = 1090 ClientIdToShaderCacheMap::iterator iter =
1092 client_id_to_shader_cache_.find(client_id); 1091 client_id_to_shader_cache_.find(client_id);
1093 // If the cache doesn't exist then this is an off the record profile. 1092 // If the cache doesn't exist then this is an off the record profile.
1094 if (iter == client_id_to_shader_cache_.end()) 1093 if (iter == client_id_to_shader_cache_.end())
1095 return; 1094 return;
1096 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1095 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1097 } 1096 }
1098 1097
1099 } // namespace content 1098 } // 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