[vlc-devel] [PATCH v2] linux: kernel mode setting (KMS) vout plugin

Rémi Denis-Courmont remi at remlab.net
Wed Jun 6 19:23:35 CEST 2018


Le tiistaina 5. kesäkuuta 2018, 15.23.04 EEST Juha-Pekka Heikkila a écrit :
> > In my understanding, this should probably eventually be split to a
> > separate> vout window plugin to support EGL/GBM over KMS too.
> 
> It can be done but I don't know what is the benefit of doing this?

The main benefit of moving the KMS part to vout window is that the code could 
potentially be shared by any other front-end vout display able to use the DRI 
card file descriptor, presumably EGL-GBM. (Or maybe VA-DRM? I don't know if 
that's theoretically possible.)

In principles, it also lets the VLC core know the window size and the list of 
fullscreen outputs properly. But otherwise, it is agreeably mostly useless as 
long as there is only one simple DRM buffer front-end.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list