| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 #include "ipc/message_filter.h" | 65 #include "ipc/message_filter.h" |
| 66 #include "media/base/media_switches.h" | 66 #include "media/base/media_switches.h" |
| 67 #include "media/media_features.h" | 67 #include "media/media_features.h" |
| 68 #include "mojo/edk/embedder/embedder.h" | 68 #include "mojo/edk/embedder/embedder.h" |
| 69 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" | 69 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" |
| 70 #include "services/service_manager/public/cpp/connection.h" | 70 #include "services/service_manager/public/cpp/connection.h" |
| 71 #include "services/service_manager/public/cpp/interface_provider.h" | 71 #include "services/service_manager/public/cpp/interface_provider.h" |
| 72 #include "services/service_manager/public/cpp/interface_registry.h" | 72 #include "services/service_manager/public/cpp/interface_registry.h" |
| 73 #include "services/service_manager/runner/common/client_util.h" | 73 #include "services/service_manager/runner/common/client_util.h" |
| 74 #include "ui/display/display_switches.h" | 74 #include "ui/display/display_switches.h" |
| 75 #include "ui/events/latency_info.h" | |
| 76 #include "ui/gfx/switches.h" | 75 #include "ui/gfx/switches.h" |
| 77 #include "ui/gl/gl_switches.h" | 76 #include "ui/gl/gl_switches.h" |
| 77 #include "ui/latency/latency_info.h" |
| 78 | 78 |
| 79 #if defined(OS_ANDROID) | 79 #if defined(OS_ANDROID) |
| 80 #include "base/android/build_info.h" | 80 #include "base/android/build_info.h" |
| 81 #endif | 81 #endif |
| 82 | 82 |
| 83 #if defined(OS_WIN) | 83 #if defined(OS_WIN) |
| 84 #include "base/win/windows_version.h" | 84 #include "base/win/windows_version.h" |
| 85 #include "content/common/sandbox_win.h" | 85 #include "content/common/sandbox_win.h" |
| 86 #include "sandbox/win/src/sandbox_policy.h" | 86 #include "sandbox/win/src/sandbox_policy.h" |
| 87 #include "ui/gfx/switches.h" | 87 #include "ui/gfx/switches.h" |
| (...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 GetShaderCacheFactorySingleton()->Get(client_id); | 1211 GetShaderCacheFactorySingleton()->Get(client_id); |
| 1212 if (!cache.get()) | 1212 if (!cache.get()) |
| 1213 return; | 1213 return; |
| 1214 | 1214 |
| 1215 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); | 1215 cache->set_shader_loaded_callback(base::Bind(&HostLoadedShader, host_id_)); |
| 1216 | 1216 |
| 1217 client_id_to_shader_cache_[client_id] = cache; | 1217 client_id_to_shader_cache_[client_id] = cache; |
| 1218 } | 1218 } |
| 1219 | 1219 |
| 1220 } // namespace content | 1220 } // namespace content |
| OLD | NEW |