-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Build gles3 and gles2 and EGL on arm linux with VideoCore GPU (Raspberry Pi) #492
base: dev
Are you sure you want to change the base?
Conversation
Uses OpenGLES 3 or 2 with EGL Updated sokol from https://github.com/floooh/sokol/tree/gles2
36643cc
to
c8b4c86
Compare
Thanks for submitting this! Could you give a shot at creating a github workflow for building the Raspberry Pi variant, so that we can make sure this target stays working through our CI? You can reference the existing workflow files here: https://github.com/skylersaleh/SkyEmu/tree/dev/.github/workflows |
So for the action we can do : Other possibilities are: Anyway will probably remove the GPU detection code and just have explicit options |
If GLES2.0 works reliably on the Pi 3-5, it might be the way to go. I don't use any features that OpenGL ES 3.x provides and the GLES 2.x path should work very similarly to the WebGL path which gets a lot of testing. |
WRT, the broken ios, android, and web builds. There is some patches in sokol_app (and maybe sokol_gfx) that never made it upstream. You'll have to port them to the updated versions of the libraries if you want to upgrade the library versions. The patches should be pretty simple and easy to pull out by diffing the source files in my repo against the upstream sokol source code of the matching release or by looking back at the history of those files in my repo. |
This reverts commit 3a3b4d1.
The IOS and Android builds are passing now. The web build is building but failing on permissions on the deploy step (expected?) |
Awesome, so it is ready for me to review? |
Yes it's ready for review |
Builds and runs smoothly on Raspberry Pi 5