| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 switches::kHeadless, | 143 switches::kHeadless, |
| 144 switches::kLoggingLevel, | 144 switches::kLoggingLevel, |
| 145 switches::kEnableLowEndDeviceMode, | 145 switches::kEnableLowEndDeviceMode, |
| 146 switches::kDisableLowEndDeviceMode, | 146 switches::kDisableLowEndDeviceMode, |
| 147 switches::kNoSandbox, | 147 switches::kNoSandbox, |
| 148 switches::kProfilerTiming, | 148 switches::kProfilerTiming, |
| 149 switches::kTestGLLib, | 149 switches::kTestGLLib, |
| 150 switches::kTraceConfigFile, | 150 switches::kTraceConfigFile, |
| 151 switches::kTraceStartup, | 151 switches::kTraceStartup, |
| 152 switches::kTraceToConsole, | 152 switches::kTraceToConsole, |
| 153 switches::kUseFakeJpegDecodeAccelerator, |
| 153 switches::kUseGpuInTests, | 154 switches::kUseGpuInTests, |
| 154 switches::kV, | 155 switches::kV, |
| 155 switches::kVModule, | 156 switches::kVModule, |
| 156 #if defined(OS_MACOSX) | 157 #if defined(OS_MACOSX) |
| 157 switches::kDisableAVFoundationOverlays, | 158 switches::kDisableAVFoundationOverlays, |
| 158 switches::kDisableRemoteCoreAnimation, | 159 switches::kDisableRemoteCoreAnimation, |
| 159 switches::kEnableSandboxLogging, | 160 switches::kEnableSandboxLogging, |
| 160 switches::kShowMacOverlayBorders, | 161 switches::kShowMacOverlayBorders, |
| 161 #endif | 162 #endif |
| 162 #if defined(USE_OZONE) | 163 #if defined(USE_OZONE) |
| (...skipping 1048 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 GetShaderCacheFactorySingleton()->Get(client_id); | 1212 GetShaderCacheFactorySingleton()->Get(client_id); |
| 1212 if (!cache.get()) | 1213 if (!cache.get()) |
| 1213 return; | 1214 return; |
| 1214 | 1215 |
| 1215 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); | 1216 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); |
| 1216 | 1217 |
| 1217 client_id_to_shader_cache_[client_id] = cache; | 1218 client_id_to_shader_cache_[client_id] = cache; |
| 1218 } | 1219 } |
| 1219 | 1220 |
| 1220 } // namespace content | 1221 } // namespace content |
| OLD | NEW |