| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 void SetCursor(const gfx::AcceleratedWidget& widget, | 87 void SetCursor(const gfx::AcceleratedWidget& widget, |
| 88 const std::vector<SkBitmap>& bitmaps, | 88 const std::vector<SkBitmap>& bitmaps, |
| 89 const gfx::Point& location, | 89 const gfx::Point& location, |
| 90 int32_t frame_delay_ms) override; | 90 int32_t frame_delay_ms) override; |
| 91 void MoveCursor(const gfx::AcceleratedWidget& widget, | 91 void MoveCursor(const gfx::AcceleratedWidget& widget, |
| 92 const gfx::Point& location) override; | 92 const gfx::Point& location) override; |
| 93 void CheckOverlayCapabilities( | 93 void CheckOverlayCapabilities( |
| 94 gfx::AcceleratedWidget widget, | 94 gfx::AcceleratedWidget widget, |
| 95 const std::vector<OverlayCheck_Params>& overlays, | 95 const std::vector<OverlayCheck_Params>& overlays, |
| 96 base::OnceCallback<void(gfx::AcceleratedWidget, | 96 base::OnceCallback<void(gfx::AcceleratedWidget, |
| 97 const std::vector<OverlayCheck_Params>&)> | 97 const std::vector<OverlayCheck_Params>&, |
| 98 const std::vector<OverlayCheckReturn_Params>&)> |
| 98 callback); | 99 callback); |
| 99 void RefreshNativeDisplays( | 100 void RefreshNativeDisplays( |
| 100 base::OnceCallback<void(const std::vector<DisplaySnapshot_Params>&)> | 101 base::OnceCallback<void(const std::vector<DisplaySnapshot_Params>&)> |
| 101 callback); | 102 callback); |
| 102 void ConfigureNativeDisplay(int64_t id, | 103 void ConfigureNativeDisplay(int64_t id, |
| 103 std::unique_ptr<const display::DisplayMode> mode, | 104 std::unique_ptr<const display::DisplayMode> mode, |
| 104 const gfx::Point& origin, | 105 const gfx::Point& origin, |
| 105 base::OnceCallback<void(int64_t, bool)> callback); | 106 base::OnceCallback<void(int64_t, bool)> callback); |
| 106 void DisableNativeDisplay(int64_t id, | 107 void DisableNativeDisplay(int64_t id, |
| 107 base::OnceCallback<void(int64_t, bool)> callback); | 108 base::OnceCallback<void(int64_t, bool)> callback); |
| (...skipping 29 matching lines...) Expand all Loading... |
| 137 // The mojo implementation requires a BindingSet because the DrmThread serves | 138 // The mojo implementation requires a BindingSet because the DrmThread serves |
| 138 // requests from two different client threads. | 139 // requests from two different client threads. |
| 139 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; | 140 mojo::BindingSet<ozone::mojom::DeviceCursor> bindings_; |
| 140 | 141 |
| 141 DISALLOW_COPY_AND_ASSIGN(DrmThread); | 142 DISALLOW_COPY_AND_ASSIGN(DrmThread); |
| 142 }; | 143 }; |
| 143 | 144 |
| 144 } // namespace ui | 145 } // namespace ui |
| 145 | 146 |
| 146 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ | 147 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ |
| OLD | NEW |