| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ | 5 #ifndef SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ |
| 6 #define SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ | 6 #define SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/synchronization/waitable_event.h" | 9 #include "base/synchronization/waitable_event.h" |
| 10 #include "base/threading/non_thread_safe.h" | 10 #include "base/threading/non_thread_safe.h" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory_; | 126 gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory_; |
| 127 | 127 |
| 128 gpu::GpuPreferences gpu_preferences_; | 128 gpu::GpuPreferences gpu_preferences_; |
| 129 | 129 |
| 130 // Information about the GPU, such as device and vendor ID. | 130 // Information about the GPU, such as device and vendor ID. |
| 131 gpu::GPUInfo gpu_info_; | 131 gpu::GPUInfo gpu_info_; |
| 132 | 132 |
| 133 std::unique_ptr<ui::DisplayCompositor> display_compositor_; | 133 std::unique_ptr<ui::DisplayCompositor> display_compositor_; |
| 134 | 134 |
| 135 // The message-pipe used by the DisplayCompositor to request gpu memory |
| 136 // buffers. |
| 137 mojom::GpuServiceInternalPtr gpu_internal_; |
| 138 |
| 135 scoped_refptr<gpu::InProcessCommandBuffer::Service> gpu_command_service_; | 139 scoped_refptr<gpu::InProcessCommandBuffer::Service> gpu_command_service_; |
| 136 std::unique_ptr<gpu::SyncPointManager> owned_sync_point_manager_; | 140 std::unique_ptr<gpu::SyncPointManager> owned_sync_point_manager_; |
| 137 std::unique_ptr<gpu::GpuChannelManager> gpu_channel_manager_; | 141 std::unique_ptr<gpu::GpuChannelManager> gpu_channel_manager_; |
| 138 std::unique_ptr<media::MediaGpuChannelManager> media_gpu_channel_manager_; | 142 std::unique_ptr<media::MediaGpuChannelManager> media_gpu_channel_manager_; |
| 139 mojo::BindingSet<mojom::GpuServiceInternal> bindings_; | 143 mojo::BindingSet<mojom::GpuServiceInternal> bindings_; |
| 140 | 144 |
| 141 DISALLOW_COPY_AND_ASSIGN(GpuServiceInternal); | 145 DISALLOW_COPY_AND_ASSIGN(GpuServiceInternal); |
| 142 }; | 146 }; |
| 143 | 147 |
| 144 } // namespace ui | 148 } // namespace ui |
| 145 | 149 |
| 146 #endif // SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ | 150 #endif // SERVICES_UI_GPU_GPU_SERVICE_INTERNAL_H_ |
| OLD | NEW |