Bug 1407

Summary: Re-enable Raspberry Pi armv6hf Broadcom DispmanX incl. its X11 Overlay
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: embeddedAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major CC: xerxes
Priority: P4    
Version: 2.4.0   
Hardware: embedded_arm   
OS: linux   
Type: DEFECT SCM Refs:
d3f454a3d8d608f9efe90987af3f08db89ad6e25 164db661e2688bfbc53fec3357fc6885b14ab893
Workaround: ---

Description Sven Gothel 2019-12-04 16:15:48 CET
VC4: Broadcom uses libbrcmEGL.so, libbrcmGLESv2.so, libbrcmOpenVG.so and libbrcmWFC.so since 7 Jul 2016

Raspbian integration (two libGLES side-by-side)
anholt/mesa#24

Old library names before 7 Jul 2016 can not be included because it would pull in libEGL.so.1 and cause JogAmp to choose software rendering using "llvm pipe" from mesa.

+++++

VC4: Only load Broadcom EGL driver when guessVCIVUsed

Broadcom VC IV can be used from
both console and from inside X11

When used from inside X11
rendering is done on an DispmanX overlay surface
while keeping an X11 nativewindow under as input.

When Broadcom VC IV is guessed
only the Broadcom DispmanX EGL driver is loaded.
Therefore standard TYPE_X11 EGL can not be used.

+++

Above authored by Xerxes https://github.com/sgothel/jogl/pull/106
Comment 1 Sven Gothel 2019-12-04 16:18:35 CET
Merged Xerxes pull request, which he tested manually on said configuration.