kumquat-buildroot/package/mesa3d
Joseph Kogut 8e79f54323 package/mesa3d: reorder platforms to fix EGL
Mesa chooses the first platform specified in -Dplatforms as the default
EGL native platform. [0]

    Configure Options

    -D platforms=...
        List the platforms (window systems) to support. Its argument is
        a comma separated string such as -D platforms=x11,drm. It
        decides the platforms a driver may support. The first listed
        platform is also used by the main library to decide the native
        platform.

This has the effect of breaking EGL applications running on X11 and
possibly Wayland when the first platform specified isn't x11 or wayland,
and EGL_PLATFORM isn't set.

Reorder the specified platforms to use x11, wayland, and drm before
surfaceless, as this is the order chosen by other common distributions,
such as Arch Linux [1], Debian [2], and Fedora [3].

Users preferring drm or surfaceless over x11 or wayland likely know how
to override the native EGL platform, and likely have x11 and wayland
disabled anyway.

[0] https://www.mesa3d.org/egl.html
[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/mesa#n45
[2] fb8c1efb57/debian/rules (L38)
[3] https://src.fedoraproject.org/rpms/mesa/blob/master/f/mesa.spec#_337

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-05-16 10:00:09 +02:00
..
0001-musl.patch
0003-meson-Set-proper-value-for-LIBCLC_INCLUDEDIR.patch
0004-c99_math-import-isinf-for-uclibc-based-toolchains.patch
0005-vc4_bufmgr-fix-time_t-printf.patch
0006-pan_bo.h-add-time.h-include-for-time_t.patch
0007-v3d_bufmgr-fix-time_t-printf.patch
0007-vc4-add-meson-option-to-disable-optional-neon-suppor.patch
Config.in package/mesa3d: select LIBDRM_FREEDRENO for freedreno 2020-04-11 10:32:21 +02:00
mesa3d.hash package/{mesa3d, mesa3d-headers}: bump version to 20.0.7 2020-05-15 21:57:59 +02:00
mesa3d.mk package/mesa3d: reorder platforms to fix EGL 2020-05-16 10:00:09 +02:00