-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking issue for WebGL / WebAssembly #740
Comments
Currently I think blazor Server not worth supporting as of now. |
Going to note what ive managed to complete in the Compiling with Emscripten works, OpenGL functions run, SDL code runs current blocker seems to be a hard to isolate runtime bug making some native functions just stop working sometimes |
I think this is absolutely a target for 3.0. I have managed to hack together a fully working sample against 2.X, and most of the issues encountered here were as a result of the really shoddy retro-fitted mechanisms in SilkTouch (raise your pitch forks at yours truly, it's my fault haha) for AOT support which 3.0 is already designed against. This will be through Emscripten as this has been the most promising avenue of enquiry thus far. |
Came across the post referenced here a while back. I haven't actually used Silk.NET but I was trying to solve the same problems porting to WASM for other libraries (SDL, MonoGame, etc). I've gotten a bit further than this and set up a working sample that avoids some of the mentioned problems (having to use I've also set up a branch on it for MonoGame, where that library used dynamic linking to load SDL (which doesn't work on Emscripten), therefore showing a way around those issues via function pointers/delegates without requiring super complex changes. It's not in the repo, but I've also had lots of luck using The README file in the repo explains the full set of changes and references back to that blog post where relevant to show alternatives. Hope this helps. |
This issue partially relies on the idea of (GL) API interfaces.
The text was updated successfully, but these errors were encountered: