| OLD | NEW |
| 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 <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include <algorithm> | 9 #include <algorithm> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 switches::kHeadless, | 149 switches::kHeadless, |
| 150 switches::kLoggingLevel, | 150 switches::kLoggingLevel, |
| 151 switches::kEnableLowEndDeviceMode, | 151 switches::kEnableLowEndDeviceMode, |
| 152 switches::kDisableLowEndDeviceMode, | 152 switches::kDisableLowEndDeviceMode, |
| 153 switches::kNoSandbox, | 153 switches::kNoSandbox, |
| 154 switches::kProfilerTiming, | 154 switches::kProfilerTiming, |
| 155 switches::kTestGLLib, | 155 switches::kTestGLLib, |
| 156 switches::kTraceConfigFile, | 156 switches::kTraceConfigFile, |
| 157 switches::kTraceStartup, | 157 switches::kTraceStartup, |
| 158 switches::kTraceToConsole, | 158 switches::kTraceToConsole, |
| 159 switches::kUseFakeJpegDecodeAccelerator, |
| 159 switches::kUseGpuInTests, | 160 switches::kUseGpuInTests, |
| 160 switches::kV, | 161 switches::kV, |
| 161 switches::kVModule, | 162 switches::kVModule, |
| 162 #if defined(OS_MACOSX) | 163 #if defined(OS_MACOSX) |
| 163 switches::kDisableAVFoundationOverlays, | 164 switches::kDisableAVFoundationOverlays, |
| 164 switches::kDisableRemoteCoreAnimation, | 165 switches::kDisableRemoteCoreAnimation, |
| 165 switches::kEnableSandboxLogging, | 166 switches::kEnableSandboxLogging, |
| 166 switches::kShowMacOverlayBorders, | 167 switches::kShowMacOverlayBorders, |
| 167 #endif | 168 #endif |
| 168 #if defined(USE_OZONE) | 169 #if defined(USE_OZONE) |
| (...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 GetShaderCacheFactorySingleton()->Get(client_id); | 1207 GetShaderCacheFactorySingleton()->Get(client_id); |
| 1207 if (!cache.get()) | 1208 if (!cache.get()) |
| 1208 return; | 1209 return; |
| 1209 | 1210 |
| 1210 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); | 1211 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); |
| 1211 | 1212 |
| 1212 client_id_to_shader_cache_[client_id] = cache; | 1213 client_id_to_shader_cache_[client_id] = cache; |
| 1213 } | 1214 } |
| 1214 | 1215 |
| 1215 } // namespace content | 1216 } // namespace content |
| OLD | NEW |