libglvnd-1.7.0

Introduction to libglvnd

libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors. It allows multiple drivers from different vendors to coexist on the same filesystem, and determines which vendor to dispatch each API call to at runtime.

[Note]

Note

Development versions of GLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

libglvnd Dependencies

Required

Xorg Libraries

Installation of libglvnd

Install libglvnd by running the following commands:

mkdir build &&
cd    build

meson setup .. --prefix=/usr

ninja

Now as the root user:

ninja install

32-bit Installation of libglvnd

First clean the build directory:

rm -rf *

Install lib32-libglvnd by running the following commands:

CC="gcc -m32" CXX="g++ -m32"         \
PKG_CONFIG_PATH=/usr/lib32/pkgconfig \
meson setup .. --prefix=/usr         \
               --libdir=/usr/lib32

ninja

Now as the root user:

DESTDIR=$PWD/DESTDIR ninja install
cp -vr DESTDIR/usr/lib32/* /usr/lib32
rm -rf DESTDIR
ldconfig

Contents

Installed Programs: None
Installed Libraries: libEGL.so, libGL.so, libGLESv1_CM.so, libGLESv2.so, libGLX.so, libGLdispatch.so, and libOpenGL.so
Installed Directories: /usr/include/{EGL,GL,GLES2,KHR,glvnd}

Short Descriptions

libEGL.so

contains EGL window-system API functions

libGL.so

is a wrapper library to libGLdispatch.so and libGLX.so

libGLESv1_CM.so

is a wrapper library to libGLdispatch.so which expose OpenGL ES entrypoints

libGLESv2.so

is a wrapper library to libGLdispatch.so which expose OpenGL ES entrypoints

libGLX.so

manages loading GLX vendor libraries and dispatching GLX core and extension functions to the right vendor

libGLdispatch.so

implements core GL dispatching and TLS

libOpenGL.so

is a wrapper library to libGLdispatch.so which exposes OpenGL 4.5 core and compatibility entry points