| Index: ui/ozone/platform/drm/gpu/hardware_display_plane.h
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane.h b/ui/ozone/platform/drm/gpu/hardware_display_plane.h
|
| index a7b23f4d1d4a85622ebe00b13281100c0d723cb3..90050f98a89d68ed138f643a440df7d94b94ef57 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_plane.h
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane.h
|
| @@ -8,6 +8,8 @@
|
| #include <stddef.h>
|
| #include <stdint.h>
|
|
|
| +#include <xf86drmMode.h>
|
| +
|
| #include <vector>
|
|
|
| #include "base/macros.h"
|
| @@ -27,11 +29,14 @@ class HardwareDisplayPlane {
|
|
|
| bool Initialize(DrmDevice* drm,
|
| const std::vector<uint32_t>& formats,
|
| + const std::vector<drm_format_modifier>& format_info,
|
| bool is_dummy,
|
| bool test_only);
|
|
|
| bool IsSupportedFormat(uint32_t format);
|
|
|
| + std::vector<uint64_t> ModifiersForFormat(uint32_t format);
|
| +
|
| bool CanUseForCrtc(uint32_t crtc_index);
|
|
|
| bool in_use() const { return in_use_; }
|
| @@ -58,6 +63,7 @@ class HardwareDisplayPlane {
|
| bool in_use_ = false;
|
| Type type_ = kPrimary;
|
| std::vector<uint32_t> supported_formats_;
|
| + std::vector<drm_format_modifier> supported_format_modifiers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(HardwareDisplayPlane);
|
| };
|
|
|