Rock 3A support OpenGLES 3.2.
In order to have 3D HW acceleration (aka OpenGLES 3) with legacy kernel you need the following steps:
- Set up RGA
- Set up libmali for rk3568 (X11)
- Set up X11 glamor
- Build and install this SDL here:
https://github.com/avafinger/SDL
Rockchip had 1.,2. and 3. with pre-built deb packages but for some reason they removed it or moved it to somewhere else.
While i worked on this, someone ported this work to buildroot , so i think you can find everything there.
If you want OpenGLES and SDL with mainline kernel, there seems to be a working panfrost but i haven’t follow this work. With panfrost you just need to build a stock SDL with latest mesa, i think.
Good luck.