Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Composition on a non-primary plane #13

Open
emersion opened this issue Sep 8, 2019 · 1 comment
Open

Composition on a non-primary plane #13

emersion opened this issue Sep 8, 2019 · 1 comment
Labels
enhancement New feature or request question Further information is requested
Milestone

Comments

@emersion
Copy link
Owner

emersion commented Sep 8, 2019

In some cases, it may be a good idea to perform composition on an overlay plane. Do we want to support this at all? How should the API look like?

Mind, some hardware has trouble changing the pixel format of the primary on flight without serious flicker

@emersion emersion added enhancement New feature or request question Further information is requested labels Sep 8, 2019
@emersion emersion added this to the Long-term milestone Oct 12, 2019
@emersion
Copy link
Owner Author

Mind, some hardware has trouble changing the pixel format of the primary on flight without serious flicker

The driver should reject the atomic commit in this case, and require ALLOW_MODESET. Modulo kernel bugs.


A use-case for this came up while discussing about AMD hardware. AMD has a primary plane which supports NV12, an overlay and a cursor plane. For a media player use-case, the following would be desirable:

  • NV12 video stream on primary plane.
  • UI on overlay plane (any composition work can happen here).
  • Cursor on cursor plane.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant