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

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

Issue 474723002: Enable remote CoreAnimation API by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add_flag
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
« no previous file with comments | « no previous file | ui/base/cocoa/remote_layer_api.mm » ('j') | ui/base/cocoa/remote_layer_api.mm » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode, 853 switches::kIgnoreResolutionLimitsForAcceleratedVideoDecode,
854 switches::kLoggingLevel, 854 switches::kLoggingLevel,
855 switches::kLowEndDeviceMode, 855 switches::kLowEndDeviceMode,
856 switches::kNoSandbox, 856 switches::kNoSandbox,
857 switches::kTestGLLib, 857 switches::kTestGLLib,
858 switches::kTraceStartup, 858 switches::kTraceStartup,
859 switches::kTraceToConsole, 859 switches::kTraceToConsole,
860 switches::kV, 860 switches::kV,
861 switches::kVModule, 861 switches::kVModule,
862 #if defined(OS_MACOSX) 862 #if defined(OS_MACOSX)
863 switches::kEnableRemoteCoreAnimation, 863 switches::kDisableRemoteCoreAnimation,
864 switches::kEnableSandboxLogging, 864 switches::kEnableSandboxLogging,
865 #endif 865 #endif
866 #if defined(USE_AURA) 866 #if defined(USE_AURA)
867 switches::kUIPrioritizeInGpuProcess, 867 switches::kUIPrioritizeInGpuProcess,
868 #endif 868 #endif
869 #if defined(USE_OZONE) 869 #if defined(USE_OZONE)
870 switches::kOzonePlatform, 870 switches::kOzonePlatform,
871 #endif 871 #endif
872 #if defined(USE_X11) && !defined(OS_CHROMEOS) 872 #if defined(USE_X11) && !defined(OS_CHROMEOS)
873 switches::kX11Display, 873 switches::kX11Display,
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1046 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader"); 1046 TRACE_EVENT0("gpu", "GpuProcessHost::OnCacheShader");
1047 ClientIdToShaderCacheMap::iterator iter = 1047 ClientIdToShaderCacheMap::iterator iter =
1048 client_id_to_shader_cache_.find(client_id); 1048 client_id_to_shader_cache_.find(client_id);
1049 // If the cache doesn't exist then this is an off the record profile. 1049 // If the cache doesn't exist then this is an off the record profile.
1050 if (iter == client_id_to_shader_cache_.end()) 1050 if (iter == client_id_to_shader_cache_.end())
1051 return; 1051 return;
1052 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader); 1052 iter->second->Cache(GetShaderPrefixKey() + ":" + key, shader);
1053 } 1053 }
1054 1054
1055 } // namespace content 1055 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | ui/base/cocoa/remote_layer_api.mm » ('j') | ui/base/cocoa/remote_layer_api.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698