| 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 #ifndef GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ | 5 #ifndef GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ |
| 6 #define GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ | 6 #define GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <deque> | 10 #include <deque> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <unordered_map> | 13 #include <unordered_map> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "base/memory/ref_counted.h" | 17 #include "base/memory/ref_counted.h" |
| 18 #include "base/memory/weak_ptr.h" | 18 #include "base/memory/weak_ptr.h" |
| 19 #include "base/single_thread_task_runner.h" |
| 19 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 20 #include "gpu/command_buffer/common/activity_flags.h" | 21 #include "gpu/command_buffer/common/activity_flags.h" |
| 21 #include "gpu/command_buffer/common/constants.h" | 22 #include "gpu/command_buffer/common/constants.h" |
| 22 #include "gpu/command_buffer/service/gpu_preferences.h" | 23 #include "gpu/command_buffer/service/gpu_preferences.h" |
| 23 #include "gpu/config/gpu_driver_bug_workarounds.h" | 24 #include "gpu/config/gpu_driver_bug_workarounds.h" |
| 24 #include "gpu/config/gpu_feature_info.h" | 25 #include "gpu/config/gpu_feature_info.h" |
| 25 #include "gpu/gpu_export.h" | 26 #include "gpu/gpu_export.h" |
| 26 #include "gpu/ipc/service/gpu_memory_manager.h" | 27 #include "gpu/ipc/service/gpu_memory_manager.h" |
| 27 #include "ui/gfx/gpu_memory_buffer.h" | 28 #include "ui/gfx/gpu_memory_buffer.h" |
| 28 #include "ui/gfx/native_widget_types.h" | 29 #include "ui/gfx/native_widget_types.h" |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 // that any WeakPtrs to Controller are invalidated before its members | 185 // that any WeakPtrs to Controller are invalidated before its members |
| 185 // variable's destructors are executed, rendering them invalid. | 186 // variable's destructors are executed, rendering them invalid. |
| 186 base::WeakPtrFactory<GpuChannelManager> weak_factory_; | 187 base::WeakPtrFactory<GpuChannelManager> weak_factory_; |
| 187 | 188 |
| 188 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager); | 189 DISALLOW_COPY_AND_ASSIGN(GpuChannelManager); |
| 189 }; | 190 }; |
| 190 | 191 |
| 191 } // namespace gpu | 192 } // namespace gpu |
| 192 | 193 |
| 193 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ | 194 #endif // GPU_IPC_SERVICE_GPU_CHANNEL_MANAGER_H_ |
| OLD | NEW |