Logo
Explore Help
Sign In
robbitay/CWasm
1
Fork 0
You've already forked CWasm
Code Issues Releases Activity
9 Commits 1 Branch 0 Tags
b62f0d279b2c5981f8765dcb26278bc620db9268
Commit Graph

5 Commits

Author SHA1 Message Date
Taylor Robbins
b62f0d279b Add cAllocMem to cwasm.c which the javascript side can use to allocate memory from an opaque Arena pointer that was passed to it. Used this to implement jsGlGetParameterString, jsGlGetShaderInfoLog, and jsGlGetProgramInfoLog in gl_functions.js. Added NotNull macro and fixed bug in ScratchBegin macro. Added a bool return for App_Initialize which allows us to stop the main loop from beginning (which prevents log spew when something goes wrong) 2025-09-01 21:53:24 -07:00
Taylor Robbins
7c61189d3a Added texture related functions to gl_functions.js 2025-09-01 20:46:25 -07:00
Taylor Robbins
81f5457b61 Added some more WebGL functions to gl_functions.js. Made the test_app render something more interesting. Added a bool return from App_UpdateAndRender which allows it to request that the application loop ends. 2025-09-01 19:21:47 -07:00
Taylor Robbins
42cf6d9e9f Added a bunch of WebGL functions related to shader uniforms to gl_functions.js 2025-09-01 18:50:14 -07:00
Taylor Robbins
b548b7bb26 Set up a basic "front-end" for the webassembly module to be tested locally from a data folder (I use python -m http.server). The WebAssembly application is now responsible for all setup/rendering through the WebGL2 context. 2025-09-01 12:13:56 -07:00
Powered by Gitea
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API