| Index: ui/ozone/platform/dri/hardware_display_plane.h
|
| diff --git a/ui/ozone/platform/dri/hardware_display_plane.h b/ui/ozone/platform/dri/hardware_display_plane.h
|
| index 1a37b486265f0733521807e4d08b54f3b99d479f..dd79f7680233dfb151b83b5437d2ec4b7e02101e 100644
|
| --- a/ui/ozone/platform/dri/hardware_display_plane.h
|
| +++ b/ui/ozone/platform/dri/hardware_display_plane.h
|
| @@ -30,11 +30,15 @@ class HardwareDisplayPlane {
|
|
|
| bool Initialize();
|
|
|
| + bool CanUseForCrtc(uint32_t crtc_id);
|
| bool SetPlaneData(uint32_t crtc_id,
|
| uint32_t framebuffer,
|
| const gfx::Rect& crtc_rect,
|
| const gfx::Rect& src_rect);
|
|
|
| + bool in_use() const { return in_use_; }
|
| + void set_in_use(bool in_use) { in_use_ = in_use; }
|
| +
|
| private:
|
| struct Property {
|
| Property();
|
| @@ -52,6 +56,7 @@ class HardwareDisplayPlane {
|
|
|
| ScopedDrmPlanePtr plane_;
|
| uint32_t plane_id_;
|
| + bool in_use_;
|
|
|
| Property crtc_prop_;
|
| Property fb_prop_;
|
|
|