The book "Open GL ES 3.0 Programming Guide" by Dan Ginsburg et al has example programs and implementations using a variety of platforms. For Linux, it only gives an implementation for the X11 platform (esUtil_X11.c). Based on the kmscube code, I have created an alpha version that gives an implementation for the DRM/KMS platform (esUtil_DRM.c). This runs fullscreen with no X11 or Wayland. Yes, it follows on from the thread [Full screen OpenGL ES on Pi 4][https://www.raspberrypi.org/forums/view ... p?t=243707].
It is at [esUtil.c for DRM. Adapted from OpenGL ES Programming Guide to use Linux DRM instead of X11][https://github.com/jannewmarch/opengles-DRM]. It has only been tested on the RPi 4 using the programs in the book. Comments, forks, code fixes welcome!