| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 namespace base { | 25 namespace base { |
| 26 struct FileDescriptor; | 26 struct FileDescriptor; |
| 27 } | 27 } |
| 28 | 28 |
| 29 namespace gfx { | 29 namespace gfx { |
| 30 class Point; | 30 class Point; |
| 31 class Rect; | 31 class Rect; |
| 32 } | 32 } |
| 33 | 33 |
| 34 namespace service_manager { | |
| 35 class Connection; | |
| 36 } | |
| 37 | |
| 38 namespace ui { | 34 namespace ui { |
| 39 | 35 |
| 40 class DrmDeviceManager; | 36 class DrmDeviceManager; |
| 41 class DrmGpuDisplayManager; | 37 class DrmGpuDisplayManager; |
| 42 class DrmWindow; | |
| 43 class DrmWindowProxy; | |
| 44 class GbmBuffer; | 38 class GbmBuffer; |
| 45 class ScanoutBufferGenerator; | 39 class ScanoutBufferGenerator; |
| 46 class ScreenManager; | 40 class ScreenManager; |
| 47 | 41 |
| 48 struct GammaRampRGBEntry; | 42 struct GammaRampRGBEntry; |
| 49 struct OverlayPlane; | 43 struct OverlayPlane; |
| 50 | 44 |
| 51 // Holds all the DRM related state and performs all DRM related operations. | 45 // Holds all the DRM related state and performs all DRM related operations. |
| 52 // | 46 // |
| 53 // The DRM thread is used to insulate DRM operations from potential blocking | 47 // The DRM thread is used to insulate DRM operations from potential blocking |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 // The mojo implementation requires a BindingSet because the DrmThread serves | 135 // The mojo implementation requires a BindingSet because the DrmThread serves |
| 142 // requests from two different client threads. | 136 // requests from two different client threads. |
| 143 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; | 137 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; |
| 144 | 138 |
| 145 DISALLOW_COPY_AND_ASSIGN(DrmThread); | 139 DISALLOW_COPY_AND_ASSIGN(DrmThread); |
| 146 }; | 140 }; |
| 147 | 141 |
| 148 } // namespace ui | 142 } // namespace ui |
| 149 | 143 |
| 150 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 144 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| OLD | NEW |