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

Leo Liu leo.liu at amd.com
Wed May 11 15:06:22 UTC 2016


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

 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

-- 
2.7.4



More information about the mesa-dev mailing list