summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/pipe-loader
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-04-04 15:45:08 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-05-02 21:48:25 +0100
commit658b36ff78a00dbbc1b9c9cb9adf4b984a89c45b (patch)
tree1e1f79237120f42a07492a27555ab65a0a767e03 /src/gallium/targets/pipe-loader
parenta50b02783bf926477e1edab5c039912802c67f61 (diff)
downloadexternal_mesa3d-658b36ff78a00dbbc1b9c9cb9adf4b984a89c45b.zip
external_mesa3d-658b36ff78a00dbbc1b9c9cb9adf4b984a89c45b.tar.gz
external_mesa3d-658b36ff78a00dbbc1b9c9cb9adf4b984a89c45b.tar.bz2
targets/pipe-loader: drop driver_descriptor symbol from swrast
The symbol is used for hardware only drivers. For swrast the loader uses swrast_create_screen. Add VISIBILITY_CFLAGS while we're here. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'src/gallium/targets/pipe-loader')
-rw-r--r--src/gallium/targets/pipe-loader/Makefile.am3
-rw-r--r--src/gallium/targets/pipe-loader/pipe_swrast.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/targets/pipe-loader/Makefile.am b/src/gallium/targets/pipe-loader/Makefile.am
index 76271a1..6a5b380 100644
--- a/src/gallium/targets/pipe-loader/Makefile.am
+++ b/src/gallium/targets/pipe-loader/Makefile.am
@@ -27,7 +27,8 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/include \
-I$(top_srcdir)/src/gallium/drivers \
-I$(top_srcdir)/src/gallium/winsys \
- $(LIBDRM_CFLAGS) \
+ $(LIBDRM_CFLAGS) \
+ $(VISIBILITY_CFLAGS) \
-DGALLIUM_RBUG \
-DGALLIUM_TRACE \
-DGALLIUM_GALAHAD
diff --git a/src/gallium/targets/pipe-loader/pipe_swrast.c b/src/gallium/targets/pipe-loader/pipe_swrast.c
index 092abf0..f7f354a 100644
--- a/src/gallium/targets/pipe-loader/pipe_swrast.c
+++ b/src/gallium/targets/pipe-loader/pipe_swrast.c
@@ -6,9 +6,6 @@
PUBLIC struct pipe_screen *
swrast_create_screen(struct sw_winsys *ws);
-PUBLIC
-DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL, NULL)
-
struct pipe_screen *
swrast_create_screen(struct sw_winsys *ws)
{