OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ |
6 #define UI_OZONE_PLATFORM_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ | 6 #define UI_OZONE_PLATFORM_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ |
7 | 7 |
| 8 #include "ui/ozone/ozone_export.h" |
8 #include "ui/ozone/platform/dri/hardware_display_plane_manager.h" | 9 #include "ui/ozone/platform/dri/hardware_display_plane_manager.h" |
9 | 10 |
10 namespace ui { | 11 namespace ui { |
11 | 12 |
12 class HardwareDisplayPlaneManagerLegacy : public HardwareDisplayPlaneManager { | 13 class OZONE_EXPORT HardwareDisplayPlaneManagerLegacy |
| 14 : public HardwareDisplayPlaneManager { |
13 public: | 15 public: |
14 HardwareDisplayPlaneManagerLegacy(); | 16 HardwareDisplayPlaneManagerLegacy(); |
15 ~HardwareDisplayPlaneManagerLegacy() override; | 17 ~HardwareDisplayPlaneManagerLegacy() override; |
16 | 18 |
17 bool Commit(HardwareDisplayPlaneList* plane_list) override; | 19 bool Commit(HardwareDisplayPlaneList* plane_list) override; |
18 | 20 |
19 private: | 21 private: |
20 bool SetPlaneData(HardwareDisplayPlaneList* plane_list, | 22 bool SetPlaneData(HardwareDisplayPlaneList* plane_list, |
21 HardwareDisplayPlane* hw_plane, | 23 HardwareDisplayPlane* hw_plane, |
22 const OverlayPlane& overlay, | 24 const OverlayPlane& overlay, |
23 uint32_t crtc_id, | 25 uint32_t crtc_id, |
24 const gfx::Rect& src_rect, | 26 const gfx::Rect& src_rect, |
25 CrtcController* crtc) override; | 27 CrtcController* crtc) override; |
26 | 28 |
27 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerLegacy); | 29 DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlaneManagerLegacy); |
28 }; | 30 }; |
29 | 31 |
30 } // namespace ui | 32 } // namespace ui |
31 | 33 |
32 #endif // UI_OZONE_PLATFORM_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ | 34 #endif // UI_OZONE_PLATFORM_DRI_HARDWARE_DISPLAY_PLANE_MANAGER_ATOMIC_H_ |
OLD | NEW |