-
Notifications
You must be signed in to change notification settings - Fork 1
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
Experiment: JS + WebGL build #1
Conversation
Awesome! Thanks for hooking this up |
It looks like I can install
|
Ah, I suspect it's missing an We moved Revery to SDL2 recently, and the |
Was able to repro on my Mac; trying out the upgrade |
I just updated to latest revery commit in 41a3472, doesn't seem to fix it though |
(Also cmd+q no longer quits after upgrading to latest revery btw) |
Hmm, ya - it seems like we're missing a path we need still in the And thanks for catching the |
It's interesting - it looks like the |
Okay cool, I can investigate what those differences are. I'll track it in: #2 |
Cool thank you @kyldvs ! Curious what the delta is that is causing the issue. |
Hey @kyldvs ! chesster is looking great 😄
I went through the exercise of adding the JS build back to our
revery-quick-start
- and thought it'd be fun to see if your app worked in the browser too.There's a couple minor workarounds I needed due to bugs in Revery:
borderRadius
in the WebGL builds - there's a crash when compiling the shader in WebGL 1.0 (should not be necessary once we have Skia)js.json
sandbox plus a few assets specific to the JS buildTo run the JS build:
esy '@js' install
esy '@js' run
And then you'll get a URL to test from
http-server
.No pressure to bring this in - just fun to experiment with!