[Mesa-dev] [PATCH 00/14] vl dri3 support for vaapi and vdpau

Christian König deathsimple at vodafone.de
Wed May 11 18:11:59 UTC 2016


Am 11.05.2016 um 17:06 schrieb Leo Liu:
> This series implement DRI3 supports for VA-API and VDPAU. It implements
> supports for DRI3 Open, PixmapFromBuffer, BufferFromPixmap, and for
> PRESENT including PresentPixmap, PresentNotifyMSC, PresentIdleNotify,
> PresentConfigureNotify and PresentCompleteNotify.
>
> It has been tested with player mpv and vlc with various clips from
> 480p to 4K with framerate from 24 to 60. Also includes window mode
> and fullscreen w/wo compositing manager. The test also includes VA-API
> glx extension.
>
> There's still some future work like DRI_PRIME different GPU support
> to be added.
>
> Leo Liu (14):
>    vl: add DRI3 support infrastructure
>    vl/dri3: implement dri3 screen create and destroy
>    vl/dri3: set drawable geometry
>    vl/dri3: register present events
>    vl/dri3: implement flushing for queued events
>    vl/dri3: add back buffers support
>    vl/dri3: implement function for flush frontbuffer
>    vl/dri3: implement funciton for get dirty area
>    vl/dri3: add support for resizing
>    vl/dri3: implement DRI3 BufferFromPixmap
>    st/va: add dri3 support
>    vl/dri3: handle PresentCompleteNotify event
>    vl/dri3: implement functions for get and set timestamp
>    st/vdpau: add dri3 support

Very nice work, for the series Reviewed-by: Christian König 
<christian.koenig at amd.com>

We could clean up the implementation in VDPAU a bit now as well, but 
that is something for a follow up patch set.

Regards,
Christian.

>
>   configure.ac                              |   7 +-
>   src/gallium/auxiliary/Makefile.sources    |   5 +
>   src/gallium/auxiliary/vl/vl_winsys.h      |   5 +
>   src/gallium/auxiliary/vl/vl_winsys_dri3.c | 703 ++++++++++++++++++++++++++++++
>   src/gallium/state_trackers/va/context.c   |   6 +-
>   src/gallium/state_trackers/vdpau/device.c |   6 +-
>   6 files changed, 729 insertions(+), 3 deletions(-)
>   create mode 100644 src/gallium/auxiliary/vl/vl_winsys_dri3.c
>



More information about the mesa-dev mailing list