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>
This commit is contained in:
@@ -69,10 +69,9 @@ pipe_loader_configuration(struct pipe_loader_device *dev,
|
||||
}
|
||||
|
||||
struct pipe_screen *
|
||||
pipe_loader_create_screen(struct pipe_loader_device *dev,
|
||||
const char *library_paths)
|
||||
pipe_loader_create_screen(struct pipe_loader_device *dev)
|
||||
{
|
||||
return dev->ops->create_screen(dev, library_paths);
|
||||
return dev->ops->create_screen(dev);
|
||||
}
|
||||
|
||||
struct util_dl_library *
|
||||
|
Reference in New Issue
Block a user