The EGL implementation on the RPi allocates a front and a back DispmanX resources for each EGLSurface, which we composite along the others.
b4659eb rpi: Add support for EGL buffers
src/rpi-bcm-stubs.h | 7 ++
src/rpi-renderer.c | 271 +++++++++++++++++++++++++++++++++++++++++++++------
2 files changed, 250 insertions(+), 28 deletions(-)
Upstream: cgit.freedesktop.org