OSDN Git Service

egl: add glvnd symbols check
authorEric Engestrom <eric.engestrom@intel.com>
Thu, 11 Oct 2018 17:38:52 +0000 (18:38 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 10 Jul 2019 11:27:51 +0000 (11:27 +0000)
commitc78d2d98409200f0b40d2e7bb7d143afbf1f0895
tree58ddf5098168f1049c021a33580ecebc283ff2e2
parentba18b968e8745119f66f293a9366c6708c4ed3b8
egl: add glvnd symbols check

According to the spec [1], `__egl_Main` is the only symbol that needs to
be exported. We don't want applications directly linking against
libEGL_mesa.so (apps should always go through libEGL.so, regardless of
who is providing it), so we shouldn't export any other symbols either.

[1] https://github.com/NVIDIA/libglvnd/blob/master/include/glvnd/libeglabi.h
    (this header is the closest there is to a spec)

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/egl-glvnd-symbols.txt [new file with mode: 0644]
src/egl/meson.build