Gallium3D VDPAU & XvMC Support Are Now Single Libraries
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.
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.
1 Comment