raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.04k stars 1.09k forks source link

[RFE] Support libglvnd for ES2 and EGL #556

Open kwizart opened 5 years ago

kwizart commented 5 years ago

I wonder if it makes sense to support libglvnd for the userland part and EGL/GLES2 libraries (at least).

This way, it would be possible to switch to the appropriate libGL when using v3d or the raspberry-pi-vc userspace or even use softpipe driver (when using vncserver).

popcornmix commented 5 years ago

There is more involved with using the firmware gl driver than just switching to different EGL/GLES2 libs (e.g. dispmanx calls to create a surface).

It's not something we are likely to do (the future is the arm side driver) but if you were interested in creating a PR we'd look into it.

kwizart commented 5 years ago

I've made a quick test on raspbian 10 and I'm not sure to understand how is possible to switch between v3d/vc4 (libdrm/mesa) over the firmware version (in /boot/config.txt) without libglvnd support (or similar feature).

XECDesign commented 5 years ago

More discussion here: https://github.com/RPi-Distro/repo/issues/134#issuecomment-477633553