mesa/src/glx
Mike Blumenkrantz 9b7bb6cc9f gallium: install gallium-$version.so to libdir
Installing this private library into the default library
search path avoids needing to rely on -Wl,-rpath,
which is inconsistently implemented as either DT_RUNPATH
or DT_RPATH on different distributions; in particular,
on distributions that implement it as DT_RPATH,
it interferes with use of LD_LIBRARY_PATH and has semantics
that are difficult to reason about, and is incompatible with
Steam's container runtime (which has the known limitation that
it only implements DT_RUNPATH and not DT_RPATH).

To avoid third-party developers being tempted to link to the
unstable libgallium, give it a name that varies with each Mesa release,
so that there is no obvious way for third-party software to link to it.
This is similar to the way the proprietary Nvidia driver sets up its similar
implementation-detail libraries such as libnvidia-glcore.so.535.183.01.

Fixes: 50fc7cc2 ("glx: directly link to gallium")

Acked-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30328>
2024-07-24 12:15:55 +00:00
..
apple build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
tests glx: directly link to gallium 2024-07-18 20:30:43 +00:00
windows build: pass licensing information in SPDX form 2024-06-29 12:42:49 -07:00
applegl_glx.c
clientattrib.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
clientinfo.c glx: fix typos 2023-04-26 23:52:21 +00:00
compsize.c
create_context.c glx: fix dead code when gc var cannot be null due to earlier check 2023-07-25 08:55:56 +00:00
dri2.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
dri2.h gallium/dri: Switch xf86drm.h for util/libdrm.h to allow for the no-op shim to be used. 2024-03-15 10:50:12 +00:00
dri2_glx.c glx: directly link to gallium 2024-07-18 20:30:43 +00:00
dri2_priv.h glx: directly link to gallium 2024-07-18 20:30:43 +00:00
dri3_glx.c loader/glx: move multibuffers check to loader 2024-07-18 21:58:49 +00:00
dri3_priv.h loader/glx: move multibuffers check to loader 2024-07-18 21:58:49 +00:00
dri_common.c egl,gbm,glx: fix log message spam 2024-07-22 10:09:34 +00:00
dri_common.h glx: directly link to gallium 2024-07-18 20:30:43 +00:00
dri_common_interop.c mesa_interface: Move out of GL/internal/ 2024-07-17 23:47:05 +00:00
dri_common_query_renderer.c mesa_interface: Move out of GL/internal/ 2024-07-17 23:47:05 +00:00
drisw_glx.c loader/glx: move multibuffers check to loader 2024-07-18 21:58:49 +00:00
drisw_priv.h glx: directly link to gallium 2024-07-18 20:30:43 +00:00
driwindows_glx.c dri: rename 'implicit' param from earlier series 2024-05-07 15:19:23 +00:00
eval.c
g_glxglvnddispatchfuncs.c mesa/st, dri2, wgl, glx: Restore flush_objects interop backward compat 2023-11-21 23:15:32 +00:00
g_glxglvnddispatchindices.h glx: Export the MESA GL Interop functions through glXGetProcAddress 2023-08-19 01:08:30 +00:00
glx_error.c
glx_error.h
glx_pbuffer.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
glx_query.c
glxclient.h dri: rename 'implicit' param from earlier series 2024-05-07 15:19:23 +00:00
glxcmds.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
glxconfig.c glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
glxconfig.h glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
glxcurrent.c
glxext.c glx: fix build -D glx-direct=false 2024-06-14 16:24:33 +00:00
glxextensions.c glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
glxextensions.h glx: Delete support for GLX_OML_swap_method. 2023-10-20 10:03:43 +00:00
glxglvnd.c
glxglvnd.h
glxglvnddispatchfuncs.h
glxhash.c
glxhash.h
indirect_glx.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
indirect_init.h
indirect_texture_compression.c
indirect_transpose_matrix.c
indirect_vertex_array.c glx: fix typos 2023-04-26 23:52:21 +00:00
indirect_vertex_array.h
indirect_vertex_array_priv.h glx: fix typos 2023-04-26 23:52:21 +00:00
indirect_vertex_program.c
indirect_window_pos.c
meson.build gallium: install gallium-$version.so to libdir 2024-07-24 12:15:55 +00:00
packrender.h
packsingle.h
pixel.c glx: fix typos 2023-04-26 23:52:21 +00:00
pixelstore.c
query_renderer.c
render2.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
renderpix.c
single2.c
singlepix.c
vertarr.c apple: Extended Apple feature support using GLX_USE_APPLE. 2024-03-18 18:06:45 +00:00
xfont.c treewide: Replace usage of macro DEBUG with MESA_DEBUG when possible 2024-03-22 18:22:34 +00:00