Gallium3D VDPAU & XvMC Support Are Now Single Libraries

Written by Michael Larabel in Mesa on 23 June 2014 at 01:21 AM EDT. 1 Comment
MESA
The start of the Gallium3D "mega drivers" patches by Emil Velikov are starting to land in Mesa. First up, the patches to consolidate the Gallium3D VDPAU and XvMC support into single libraries for supporting multiple drivers.

First in the patch was creating a single VDPAU library, "Create a single library (for the vdpau api) thus reducing the overall size of mesa. Current commit converts vdpau-nouveau, with upcomming commits handling the rest. The library can be built with the relevant pipe-drivers statically linked in, or loaded as shared modules. Currently we default to static." Emil followed up to convert the R600 VDPAU target and then the RadeonSI VDPAU target.

Emil then did a similar treatment to Gallium3D's XvMC state tracker support. There's now a single XvMC Gallium3D library, "Similar to vdpau targets, we're going to convert the individual target libraries into a single one. The library can be built with the relevant pipe-drivers statically linked in, or loaded as shared modules. Currently we default to static." With support as well for R600 XvMC.

With having a single VDPAU library and thus reducing the disk installation foot-print, hopefully more distribution vendors will opt to ship the Gallium3D Video Decode and Presentation API for Unix support by default... This has been one of the reasons for now why Ubuntu hasn't enabled Gallium3D's VDPAU support. Coincidentally, coming up this week I do have a number of VDPAU benchmarking articles coming out.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week