targets/vdpau-nouveau: convert to static/shared pipe-drivers

Graphics / Mesa 3D Graphics Library / Mesa - Emil Velikov [gmail.com] - 22 June 2014 17:05 UTC

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.

Add SPLIT_TARGETS to guard the other VL targets.

Note: symlink handling is rather ugly and will need an update to work with BSD and other non-linux platforms.

v2: Split the conversion into per-target basis.

Cc: Maarten Lankhorst Cc: Ilia Mirkin

9df2c49 targets/vdpau-nouveau: convert to static/shared pipe-drivers
configure.ac | 5 +-
src/gallium/Automake.inc | 3 +-
src/gallium/auxiliary/vl/vl_winsys.h | 2 +
src/gallium/auxiliary/vl/vl_winsys_dri.c | 24 ++++-
src/gallium/targets/Makefile.am | 8 +-
src/gallium/targets/dri-vdpau.dyn | 4 +
src/gallium/targets/omx-nouveau/Makefile.am | 2 +
src/gallium/targets/r600/omx/Makefile.am | 2 +
src/gallium/targets/r600/vdpau/Makefile.am | 2 +
src/gallium/targets/r600/xvmc/Makefile.am | 2 +
src/gallium/targets/radeonsi/omx/Makefile.am | 2 +
src/gallium/targets/radeonsi/vdpau/Makefile.am | 2 +
src/gallium/targets/vdpau-nouveau/Makefile.am | 46 ----------
src/gallium/targets/vdpau-nouveau/target.c | 18 ----
src/gallium/targets/vdpau.sym | 8 --
src/gallium/targets/vdpau/Makefile.am | 111 ++++++++++++++++++++++++
src/gallium/targets/vdpau/target.c | 1 +
src/gallium/targets/vdpau/vdpau.sym | 8 ++
src/gallium/targets/xvmc-nouveau/Makefile.am | 2 +
19 files changed, 172 insertions(+), 80 deletions(-)

Upstream: cgit.freedesktop.org


  • Share