targets/vdpau-nouveau: convert to static/shared pipe-drivers
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 12 Jun 2014 14:41:29 +0000 (15:41 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 22 Jun 2014 22:05:49 +0000 (23:05 +0100)
commit9df2c4956b6fc4fff1497923d42011c16e777322
tree74d4e3ed92d980e68aedde023a86df01bea2e7a7
parent8b2e0ddf8a0e8a9b30fccf07051fbf20c1798c0d
targets/vdpau-nouveau: convert to static/shared pipe-drivers

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 <maarten.lankhorst@canonical.com>
Cc: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
19 files changed:
configure.ac
src/gallium/Automake.inc
src/gallium/auxiliary/vl/vl_winsys.h
src/gallium/auxiliary/vl/vl_winsys_dri.c
src/gallium/targets/Makefile.am
src/gallium/targets/dri-vdpau.dyn [new file with mode: 0644]
src/gallium/targets/omx-nouveau/Makefile.am
src/gallium/targets/r600/omx/Makefile.am
src/gallium/targets/r600/vdpau/Makefile.am
src/gallium/targets/r600/xvmc/Makefile.am
src/gallium/targets/radeonsi/omx/Makefile.am
src/gallium/targets/radeonsi/vdpau/Makefile.am
src/gallium/targets/vdpau-nouveau/Makefile.am [deleted file]
src/gallium/targets/vdpau-nouveau/target.c [deleted file]
src/gallium/targets/vdpau.sym [deleted file]
src/gallium/targets/vdpau/Makefile.am [new file with mode: 0644]
src/gallium/targets/vdpau/target.c [new file with mode: 0644]
src/gallium/targets/vdpau/vdpau.sym [new file with mode: 0644]
src/gallium/targets/xvmc-nouveau/Makefile.am