~thong-u/unoptimized/+git/libglvnd:master

Last commit made on 2024-05-17
Get this branch:
git clone -b master https://git.launchpad.net/~thong-u/unoptimized/+git/libglvnd

Branch merges

Branch information

Name:
master
Repository:
lp:~thong-u/unoptimized/+git/libglvnd

Recent commits

606f662... by Kyle Brenneman

Merge branch 'haiku-bugfix' into 'master'

Haiku: guard calls to fRenderer in HGL

See merge request glvnd/libglvnd!293

9d7f6af... by Alexander von Gluck <email address hidden>

Haiku: guard calls to fRenderer in HGL

* Prevents dereferencing fRenderer when an EGL renderer is not found
* Add nice error text back to OpenGL view to give the user some feedback

908086d... by Kyle Brenneman

Merge branch 'master' into 'master'

tests: Add _GLOBAL_OFFSET_TABLE_ to PLATFORM_SYMBOLS

See merge request glvnd/libglvnd!291

a094592... by Matt Turner <email address hidden>

tests: Add _GLOBAL_OFFSET_TABLE_ to PLATFORM_SYMBOLS

On PA-RISC, the _GLOBAL_OFFSET_TABLE_ symbol is always exposed. See

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/elf32-hppa.c;h=2e653083ce05a77b3e33c056e2f9a51b327c2b22#l1001
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/hppa/dl-machine.h;h=9e98366ea3b09612d54a3e956d5c35c1bdc86560#l80

5d1da69... by Kyle Brenneman

Merge branch 'configure.ac-64-bit-file-API' into 'master'

configure.ac: enable 64-bit file API where availablie

See merge request glvnd/libglvnd!288

956d2d3... by Sergei Trofimovich

configure.ac: enable 64-bit file API where availablie

Without the change `scandir()` fails on `i686-unknown-linux` if
`egl_vendor.d` contents contains files with inodes that overflow 32-bit
values. In my case it is `btrfs`:

    $ ls -i egl_vendor.d/
    5053988166 50_mesa.json

On `libEGL.so` I see the following symbol change (as reported by `nm`):

    - U fopen@GLIBC_2.1
    - U fstat@GLIBC_2.33
    - U scandir@GLIBC_2.0
    + U fopen64@GLIBC_2.1
    + U fstat64@GLIBC_2.33
    + U scandir64@GLIBC_2.2

The fix allowed to run 32-bit `es2gears_wayland` from `mesa-demos`
without failures.

62176c2... by Kyle Brenneman

Merge branch 'loongarch-meson' into 'master'

meson.build: wire loongson64_tsd

See merge request glvnd/libglvnd!286

ce2d1eb... by Icenowy Zheng <email address hidden>

meson.build: wire loongarch64_tsd dispatch type

The loongarch64_tsd dispatch type is currently not used when libglvnd is
built with Meson, although it's used by default on autotools.

Wire it in the top-level meson.build.

Signed-off-by: Icenowy Zheng <email address hidden>

f88aeaf... by Kyle Brenneman

Merge branch 'fix-platform-device-last-error' into 'master'

Fix error reporting for EGL_PLATFORM_DEVICE_EXT

See merge request glvnd/libglvnd!284

cc26398... by Kyle Brenneman <email address hidden>

EGL: Fix error reporting for EGL_PLATFORM_DEVICE_EXT

In eglGetPlatformDisplay, if the platform is EGL_PLATFORM_DEVICE_EXT and
the native display is a valid EGLDeviceEXT handle, then as an
optimization, libglvnd will dispatch to whichever vendor owns that
device, rather than iterating through all of them.

If the vendor's eglGetPlatformDisplay implementation returns
EGL_NO_DISPLAY, then libglvnd would return that to the caller, but it
does not correctly pass through the vendor's last EGL error code.

Add a call to __eglSetLastVendor in that case, so that the next call to
eglGetError() will correctly go to that vendor.