Permalink
Browse files
Use eglGetPlatformDisplayEXT for ARM Mali Midgard DRM drivers.
When using ARM Mali Midgard Wayland/DRM drivers r12p0, eglGetDisplay does not work in DRM mode. Only eglGetPlatformDisplayEXT works. There's still some issues unresolved, though, with these drivers. Currently, the benchmarks only work when run like this: glmark2-es --visual-config alpha:0:stencil:1 Also removed the code testing each possible DRM driver. Manual copy of @elmarco code fix. Signed-off-by: Myy <myy@miouyouyou.fr>
- Loading branch information
Showing
with
36 additions
and 27 deletions.
- +22 −6 src/gl-state-egl.cpp
- +11 −0 src/gl-state-egl.h
- +3 −21 src/native-state-drm.cpp