On 07/16/16 at 09:46pm, Julien Cristau wrote: > On Sat, Jul 16, 2016 at 10:20:12 +0200, Víctor M. Jáquez L. wrote: > > > On 07/15/16 at 10:33pm, Julien Cristau wrote: > > > On Wed, Jul 6, 2016 at 18:46:32 +0200, ydir...@free.fr wrote: > > > > > > > In fact, it looks like libkms was built in the past, but is explicitely > > > > disabled now. There is probably a reason for this, but there is no more > > > > information than that in the changelog, and no README.Debian. > > > > > > > > Could we please have more insight about why this decision was made ? > > > > > > > libkms wasn't used/useful then, I'd need some convincing to re-enable > > > it. > > > > Perhaps it won't be useful in desktop systems or servers, but, as far as I > > see, it is useful in embedded, if you want to draw without any display > > server. > > > > But I agree, I only have one modest example: kmssink, a simple GStreamer > > video > > sink, targeted precisely to embedded systems. > > > Where can I see that code? Why can't it use libdrm directly? > "embedded" is not an explanation.
Here's the code of gstkmssink https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/kms libkms API is used mostly by the buffer allocator: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/sys/kms/gstkmsallocator.c vmjl