make color-fractory somewhat work on web #2

Merged
lisyarus merged 8 commits from yulya3102/psemek:web-runtime into master 2026-07-03 19:32:11 +00:00
Contributor

This isn't fully working yet, but at least it doesn't crashes. No sound and some weirdness with fonts, but we're getting there.

This isn't fully working yet, but at least it doesn't crashes. No sound and some weirdness with fonts, but we're getting there.
yulya3102 added 5 commits 2026-07-03 12:21:29 +00:00
yulya3102 force-pushed web-runtime from 3d70c41bf4 to 8adb68630e 2026-07-03 12:28:44 +00:00 Compare
yulya3102 changed title from WIP: make color-fractory somewhat work on web to make color-fractory somewhat work on web 2026-07-03 13:07:11 +00:00
requested review from lisyarus 2026-07-03 13:07:35 +00:00
Owner

Let's not touch the gles32 code and instead create a new API backend specifically for Emscripten.

  • Revert changes to libs/gfx/api/gles32
  • Put the attached json to libs/gfx
  • Create libs/gfx/api/gles30-emscripten dir similar to gl33 and gles32 and put the attached gl.cpp and gl.hpp in there
  • In root CMakeLists, set PSEMEK_GL_API to gles30-emscripten when building for Emscripten
  • Add -sFULL_ES3 linker flag, as said here
Let's not touch the gles32 code and instead create a new API backend specifically for Emscripten. - Revert changes to `libs/gfx/api/gles32` - Put the attached json to `libs/gfx` - Create `libs/gfx/api/gles30-emscripten` dir similar to `gl33` and `gles32` and put the attached `gl.cpp` and `gl.hpp` in there - In root CMakeLists, set `PSEMEK_GL_API` to `gles30-emscripten` when building for Emscripten - Add `-sFULL_ES3` linker flag, as said [here](https://emscripten.org/docs/porting/multimedia_and_graphics/OpenGL-support.html)
Owner

Updated GL files

Updated GL files
yulya3102 added 3 commits 2026-07-03 18:25:27 +00:00
lisyarus added 1 commit 2026-07-03 19:31:30 +00:00
lisyarus merged commit 5126dc74f8 into master 2026-07-03 19:32:11 +00:00
yulya3102 deleted branch web-runtime 2026-07-03 20:35:50 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lisyarus/psemek#2
No description provided.