gallium: remove library_path argument from pipe_loader_create_screen()
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 14 Oct 2015 15:37:37 +0000 (16:37 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 21 Nov 2015 12:52:18 +0000 (12:52 +0000)
commit74d41a32bc179425e866f8afa33a222488ea7760
tree7f3c766ab1585845c4bb7b635d698adaebcb4427
parentcbc4d9730a7c48744fe7ac62d55b40a80e8fc2e2
gallium: remove library_path argument from pipe_loader_create_screen()

Currently the location is determined at configure/build time and
consistently copied across gallium. Just remove the extra argument, and
use PIPE_SEARCH_DIR where appropriate.

This will allow us to remove the duplication in the *configuration and
*screen_create APIs by moving util_dl_get_proc_address() and friends to
probe time.

v2: rebase on top of vl_winsys_drm.c addition

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Rob Clark <robclark@freedesktop.org>
21 files changed:
src/gallium/auxiliary/Makefile.am
src/gallium/auxiliary/pipe-loader/Makefile.am
src/gallium/auxiliary/pipe-loader/pipe_loader.c
src/gallium/auxiliary/pipe-loader/pipe_loader.h
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
src/gallium/auxiliary/pipe-loader/pipe_loader_priv.h
src/gallium/auxiliary/pipe-loader/pipe_loader_sw.c
src/gallium/auxiliary/vl/vl_winsys_dri.c
src/gallium/auxiliary/vl/vl_winsys_drm.c
src/gallium/state_trackers/clover/Makefile.am
src/gallium/state_trackers/clover/core/device.cpp
src/gallium/state_trackers/dri/Makefile.am
src/gallium/state_trackers/dri/dri2.c
src/gallium/state_trackers/xa/Makefile.am
src/gallium/state_trackers/xa/xa_tracker.c
src/gallium/targets/d3dadapter9/Makefile.am
src/gallium/targets/d3dadapter9/drm.c
src/gallium/tests/trivial/Makefile.am
src/gallium/tests/trivial/compute.c
src/gallium/tests/trivial/quad-tex.c
src/gallium/tests/trivial/tri.c