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 UI_GL_GPU_SWITCHING_MANAGER_H_ | 5 #ifndef UI_GL_GPU_SWITCHING_MANAGER_H_ |
6 #define UI_GL_GPU_SWITCHING_MANAGER_H_ | 6 #define UI_GL_GPU_SWITCHING_MANAGER_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 gfx::GpuPreference gpu_switching_option_; | 57 gfx::GpuPreference gpu_switching_option_; |
58 bool gpu_switching_option_set_; | 58 bool gpu_switching_option_set_; |
59 | 59 |
60 bool supports_dual_gpus_; | 60 bool supports_dual_gpus_; |
61 bool supports_dual_gpus_set_; | 61 bool supports_dual_gpus_set_; |
62 | 62 |
63 size_t gpu_count_; | 63 size_t gpu_count_; |
64 | 64 |
65 struct PlatformSpecific; | 65 struct PlatformSpecific; |
66 | 66 |
67 ObserverList<GpuSwitchingObserver> observer_list_; | 67 base::ObserverList<GpuSwitchingObserver> observer_list_; |
68 | 68 |
69 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager); | 69 DISALLOW_COPY_AND_ASSIGN(GpuSwitchingManager); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace ui | 72 } // namespace ui |
73 | 73 |
74 #endif // UI_GL_GPU_SWITCHING_MANAGER_H_ | 74 #endif // UI_GL_GPU_SWITCHING_MANAGER_H_ |
OLD | NEW |