st/dri: Allow separate dri-targets
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 15 Jun 2014 23:20:07 +0000 (00:20 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 2 Jul 2014 09:52:52 +0000 (10:52 +0100)
commita66dd60547f928bb758ae94206a4a73541bfa2df
tree469f91fffa39c13658394d5d11e9e9608d1a713a
parent98204ea7d047f172bfaef3abb22a7aaef60efcda
st/dri: Allow separate dri-targets

With this commit we add a couple of DEFINES making the ST code
conditional, in a way that we can use it to gradually convert
the dri-targets from separate libraries into a single one.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Tested-by: Rob Clark <robclark@freedesktop.org>
Tested-by: Thomas Helland <thomashelland90 at gmail.com>
Acked-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/state_trackers/dri/common/dri_screen.c
src/gallium/state_trackers/dri/common/dri_screen.h
src/gallium/state_trackers/dri/drm/Makefile.am
src/gallium/state_trackers/dri/drm/SConscript
src/gallium/state_trackers/dri/drm/dri2.c
src/gallium/state_trackers/dri/sw/Makefile.am
src/gallium/state_trackers/dri/sw/SConscript