| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 #include "gpu/command_buffer/service/gpu_preferences.h" | 54 #include "gpu/command_buffer/service/gpu_preferences.h" |
| 55 #include "gpu/command_buffer/service/gpu_switches.h" | 55 #include "gpu/command_buffer/service/gpu_switches.h" |
| 56 #include "gpu/config/gpu_driver_bug_list.h" | 56 #include "gpu/config/gpu_driver_bug_list.h" |
| 57 #include "gpu/ipc/host/shader_disk_cache.h" | 57 #include "gpu/ipc/host/shader_disk_cache.h" |
| 58 #include "gpu/ipc/service/switches.h" | 58 #include "gpu/ipc/service/switches.h" |
| 59 #include "ipc/ipc_channel_handle.h" | 59 #include "ipc/ipc_channel_handle.h" |
| 60 #include "ipc/message_filter.h" | 60 #include "ipc/message_filter.h" |
| 61 #include "media/base/media_switches.h" | 61 #include "media/base/media_switches.h" |
| 62 #include "media/media_features.h" | 62 #include "media/media_features.h" |
| 63 #include "mojo/edk/embedder/embedder.h" | 63 #include "mojo/edk/embedder/embedder.h" |
| 64 #include "services/resource_coordinator/memory/coordinator/coordinator_impl.h" |
| 65 #include "services/resource_coordinator/tracing/agent_set_impl.h" |
| 64 #include "services/service_manager/public/cpp/binder_registry.h" | 66 #include "services/service_manager/public/cpp/binder_registry.h" |
| 65 #include "services/service_manager/public/cpp/interface_provider.h" | 67 #include "services/service_manager/public/cpp/interface_provider.h" |
| 66 #include "services/service_manager/runner/common/client_util.h" | 68 #include "services/service_manager/runner/common/client_util.h" |
| 67 #include "ui/display/display_switches.h" | 69 #include "ui/display/display_switches.h" |
| 68 #include "ui/gfx/switches.h" | 70 #include "ui/gfx/switches.h" |
| 69 #include "ui/gl/gl_switches.h" | 71 #include "ui/gl/gl_switches.h" |
| 70 #include "ui/latency/latency_info.h" | 72 #include "ui/latency/latency_info.h" |
| 71 | 73 |
| 72 #if defined(OS_ANDROID) | 74 #if defined(OS_ANDROID) |
| 73 #include "base/android/build_info.h" | 75 #include "base/android/build_info.h" |
| (...skipping 1132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1206 if (!cache.get()) | 1208 if (!cache.get()) |
| 1207 return; | 1209 return; |
| 1208 | 1210 |
| 1209 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, | 1211 cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, |
| 1210 weak_ptr_factory_.GetWeakPtr())); | 1212 weak_ptr_factory_.GetWeakPtr())); |
| 1211 | 1213 |
| 1212 client_id_to_shader_cache_[client_id] = cache; | 1214 client_id_to_shader_cache_[client_id] = cache; |
| 1213 } | 1215 } |
| 1214 | 1216 |
| 1215 } // namespace content | 1217 } // namespace content |
| OLD | NEW |