by Const-me · 8y ago · 0 comments
RPi is more compatible i.e. the software stack supports OpenGL.
But for cases where it’s OK to code against GLES, Mali-T764 is awesome. I once used NanoVG to build a very nice looking rich GUI, with alpha transparency, animated state transitions, etc. Moreover, it consumes practically no CPU time, because everything is hardware accelerated.
Yeah, pretty much all of them are proprietary.
Edit: grammar 0: https://wiki.qt.io/RaspberryPi2EGLFS
1. Licensing. Their commercial license was prohibitively expensive for the project. And their open source license was too limited for our purposes.
2. I wanted the software to work on top of bare Linux kernel, i.e. no desktop managers, no compositors, no mouse pointer. Also I needed to render different stuff to 2 displays at the same time, QT can’t do that.
The GUI wasn’t too complex, just a handful of screens on a 7” 800x480 DSI touch screen, plus simple 2D vector graphics on an external 4k HDMI display. That is why I was able to use lower-level stack without spending too much time on it. I only used C++ for DRM/KMS and NanoVG, everything higher level is in C#, running on .NET Core.
BTW, the most time-consuming part was on-screen keyboard for the “Connect to WiFi” screen, and soft keyboards are only available in commercial QT.
Also, does it have hardware support for HEVC? My poor RBP 2 can't handle HEVC at all.