| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 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/service_manager/public/cpp/binder_registry.h" | 64 #include "services/service_manager/public/cpp/binder_registry.h" | 
| 65 #include "services/service_manager/public/cpp/connection.h" |  | 
| 66 #include "services/service_manager/public/cpp/interface_provider.h" | 65 #include "services/service_manager/public/cpp/interface_provider.h" | 
| 67 #include "services/service_manager/runner/common/client_util.h" | 66 #include "services/service_manager/runner/common/client_util.h" | 
| 68 #include "ui/display/display_switches.h" | 67 #include "ui/display/display_switches.h" | 
| 69 #include "ui/gfx/switches.h" | 68 #include "ui/gfx/switches.h" | 
| 70 #include "ui/gl/gl_switches.h" | 69 #include "ui/gl/gl_switches.h" | 
| 71 #include "ui/latency/latency_info.h" | 70 #include "ui/latency/latency_info.h" | 
| 72 | 71 | 
| 73 #if defined(OS_ANDROID) | 72 #if defined(OS_ANDROID) | 
| 74 #include "base/android/build_info.h" | 73 #include "base/android/build_info.h" | 
| 75 #endif | 74 #endif | 
| (...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1182   if (!cache.get()) | 1181   if (!cache.get()) | 
| 1183     return; | 1182     return; | 
| 1184 | 1183 | 
| 1185   cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, | 1184   cache->set_shader_loaded_callback(base::Bind(&GpuProcessHost::LoadedShader, | 
| 1186                                                weak_ptr_factory_.GetWeakPtr())); | 1185                                                weak_ptr_factory_.GetWeakPtr())); | 
| 1187 | 1186 | 
| 1188   client_id_to_shader_cache_[client_id] = cache; | 1187   client_id_to_shader_cache_[client_id] = cache; | 
| 1189 } | 1188 } | 
| 1190 | 1189 | 
| 1191 }  // namespace content | 1190 }  // namespace content | 
| OLD | NEW | 
|---|