All of lore.kernel.org
 help / color / mirror / Atom feed
* How to obtain a drm lease from X for overlay planes as well as a primary plane?
@ 2021-08-10 16:57 John Cox
  2021-08-11  9:43 ` Daniel Vetter
  0 siblings, 1 reply; 8+ messages in thread
From: John Cox @ 2021-08-10 16:57 UTC (permalink / raw)
  To: dri-devel

Hi all

I am on a Raspberry Pi, I want to display fullscreen video and have a
couple of overlay planes to display controls / subtitles etc. The h/w
can certainly do this.  I need to be able to do this from a starting
point where X is running.

I can successfully find X's output & crtc and grab that using
xcb_randr_create_lease and use that handle to display video. So far so
good.  But I also want to have overlay planes for subtitles etc.  The
handle I've got from the lease only seems to have a PRIMARY & a CURSOR
plane attached so I can't get anything there.

How should I be going about getting some more planes to use for
overlays? Pointers to documentation / examples gratefully received - so
far my google-foo has failed to find anything that works.

I'm sorry if this is the wrong place to ask, but if there is a better
place please say and I'll go there.

Many thanks

John Cox

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-12  9:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-10 16:57 How to obtain a drm lease from X for overlay planes as well as a primary plane? John Cox
2021-08-11  9:43 ` Daniel Vetter
2021-08-11 10:19   ` John Cox
2021-08-11 10:22     ` Simon Ser
2021-08-11 10:21   ` Simon Ser
2021-08-11 11:40     ` John Cox
2021-08-11 21:44       ` Simon Ser
2021-08-12  9:41         ` John Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.