| Index: ui/ozone/platform/drm/gpu/drm_window.h
|
| diff --git a/ui/ozone/platform/drm/gpu/drm_window.h b/ui/ozone/platform/drm/gpu/drm_window.h
|
| index 629fbdcd7badd1721f9dac2c27560750c6ff9f2f..263531355403dc981702eb223890fcbd9ac707fc 100644
|
| --- a/ui/ozone/platform/drm/gpu/drm_window.h
|
| +++ b/ui/ozone/platform/drm/gpu/drm_window.h
|
| @@ -96,6 +96,15 @@ class OZONE_EXPORT DrmWindow {
|
| void GetVSyncParameters(
|
| const gfx::VSyncProvider::UpdateVSyncCallback& callback) const;
|
|
|
| + // Returns optimal buffer configuration which can be supported by the display
|
| + // on which this window is shown.
|
| + OverlayBufferConfiguration GetOverlayBufferConfiguration(
|
| + const gfx::Rect& display_bounds,
|
| + const gfx::RectF& crop_rect,
|
| + const gfx::Size& current_buffer_size,
|
| + uint32_t z_order,
|
| + bool video_content);
|
| +
|
| private:
|
| // Draw the last set cursor & update the cursor plane.
|
| void ResetCursor(bool bitmap_only);
|
|
|