| 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> |
| 11 | 11 |
| 12 #include "base/files/scoped_file.h" | 12 #include "base/files/scoped_file.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
| 15 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
| 16 #include "mojo/public/cpp/bindings/binding_set.h" | 16 #include "mojo/public/cpp/bindings/binding_set.h" |
| 17 #include "services/service_manager/public/cpp/connection.h" | |
| 18 #include "ui/gfx/native_pixmap_handle.h" | 17 #include "ui/gfx/native_pixmap_handle.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 20 #include "ui/gfx/vsync_provider.h" | 19 #include "ui/gfx/vsync_provider.h" |
| 21 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" | 20 #include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
| 22 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" | 21 #include "ui/ozone/public/interfaces/device_cursor.mojom.h" |
| 23 #include "ui/ozone/public/swap_completion_callback.h" | 22 #include "ui/ozone/public/swap_completion_callback.h" |
| 24 | 23 |
| 25 namespace base { | 24 namespace base { |
| 26 struct FileDescriptor; | 25 struct FileDescriptor; |
| 27 } | 26 } |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // The mojo implementation requires a BindingSet because the DrmThread serves | 138 // The mojo implementation requires a BindingSet because the DrmThread serves |
| 140 // requests from two different client threads. | 139 // requests from two different client threads. |
| 141 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; | 140 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; |
| 142 | 141 |
| 143 DISALLOW_COPY_AND_ASSIGN(DrmThread); | 142 DISALLOW_COPY_AND_ASSIGN(DrmThread); |
| 144 }; | 143 }; |
| 145 | 144 |
| 146 } // namespace ui | 145 } // namespace ui |
| 147 | 146 |
| 148 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 147 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| OLD | NEW |