xserver-xsdl
xserver-xsdl copied to clipboard
Is it possible to implement opengl calls using gl4es?
I made an app a while back that sets up linux on android without root. It was supposed to let you run pc apps on android using box86 and wine. Most apps work great but when using anything that needs opengl, it just crashes. I searched about this topic and found an old issue saying i should use llvmpipe and do it in software rendering. Well, i did that but its just painfully slow and nearly unusable if you dont put the resolution and details of your games to 640x480x16 on low. Thats where gl4es comes in. Its a translation library that takes normal desktop opengl 2.1 calls and translates them to opengl es. On SBCs like the raspberry pi it can simply be a replacement for libGL.so.1 but on android, it needs to be inside of the x server. Thats why I would like to know how I could embed it in XSDL to make it opengl compatible with good performance.
Some kind of software layer needs to be implemented to permit access to the GPU, i would say
It is possible now
So has it been implemented? Or is it still on the list of things to come?
It is not implemented in xsdl but you can compile mesa with alexvorxx turnip+zink drivers or use virgl renderer with virgl overlay APK and a mesa compiled with virgl drivers
It is not implemented in xsdl but you can compile mesa with alexvorxx turnip+zink drivers or use virgl renderer with virgl overlay APK and a mesa compiled with virgl drivers
turnip+zink will work only on snapdragon devices, and will work with XServer XSDL only inside Xephyr since XServer XSDL does not support the GLX extention