9e685bc569
[oden-js] Fix various bugs in module loader
2023-06-24 11:03:07 -07:00
db8a5f8eed
[oden][oden-js] Rework modules
...
Damn this is a lot
2023-06-24 08:45:39 -07:00
aa90cea4a3
[oden] lol sprite API
2023-06-23 06:25:45 -07:00
c7903382a0
[oden-js] Convert Option<>
2023-06-23 05:48:26 -07:00
af12dccd5d
[oden-js] Functions up to 8 args
2023-06-23 05:42:05 -07:00
fd7e19e529
[oden] Remove magic
2023-06-22 05:15:59 -07:00
e36ab17235
[oden-js] Ensure callbacks have 'static lifetime
...
Because we smuggle them through we need to make sure they're not
holding references that will go invalid- we can make no promises about
how long they stay alive. Although maybe bounding to context lifetime
is OK? But anyway.
2023-06-21 22:04:17 -07:00
14f9eb655f
[oden] Oh boy here we go
2023-06-21 21:57:32 -07:00
8218b88820
[oden] Extract graphics module
2023-06-21 12:11:53 -07:00
611322d9a3
[oden] Graphics is a module now
2023-06-21 06:33:39 -07:00
c574fd8cb8
[oden] Native Modules
2023-06-21 06:19:14 -07:00
3b02faf9b4
[oden] It's a start
2023-06-20 06:33:29 -07:00
83a0950153
[oden-js] TryFromValue for Value
2023-06-20 06:17:34 -07:00
a48a9efdb4
Some notes
2023-06-20 05:35:36 -07:00
8d7dd789ed
[oden] JavaScript, god help me
2023-06-19 13:46:09 -07:00
16e6f1304c
[oden-js] Get module exports
2023-06-19 13:24:35 -07:00
0c8367d29f
[oden-js-sys] Add functions to get more information of modules
...
Adopt https://github.com/bellard/quickjs/pull/35
2023-06-19 12:51:35 -07:00
156b6d6691
[oden] Start messing with the script
2023-06-19 08:31:24 -07:00
9f808cea31
[oden] The big lifetime removal
...
It turns out that rust can't really reason about the relationship
between the runtime lifetime and the context lifetime in a way that is
actually usable. This removes the lifetime stuff in favor of reference
counting the runtime itself, via a block that we embed in the
pointer. This, I think, it the least worst option here.
2023-06-19 08:28:26 -07:00
898b1fe129
[oden] Grab my incomplete QuickJS wrapper
2023-06-18 06:31:37 -07:00
aa70df41a3
[oden] Cleaner textures
2023-06-17 11:43:26 -07:00
f5da9ed0fb
[oden] Textures
...
Maybe I can figure it out from here
2023-06-17 09:36:55 -07:00
e6034cefbe
[oden] Buffers and Indices
2023-06-17 08:38:46 -07:00
8f6a337727
[oden] Pipelines
2023-06-17 08:14:46 -07:00
f0778f047a
[oden] Challenge for step 2
2023-06-17 07:36:09 -07:00
a03c119b4c
[oden] Following the wgpu tutorial
...
https://sotrh.github.io/learn-wgpu/beginner/tutorial2-surface/#render
2023-05-31 17:04:20 -07:00