Commit Graph

28 Commits

Author SHA1 Message Date
gingerBill
4fac7a8f27 Update wasm/README.md 2022-06-01 10:40:59 +01:00
gingerBill
25dae06b6a Remove loader.mjs 2022-06-01 10:32:24 +01:00
gingerBill
f3432e6bb5 Rename to CreateProgramFromStrings 2022-05-21 21:31:24 +01:00
gingerBill
43b350c590 Add more procedures for window related positions 2022-05-21 21:31:05 +01:00
gingerBill
c2c66aad60 Add Context_Menu event kind; Fix event_prevent_default() 2022-05-21 17:29:19 +01:00
gingerBill
d7681d5b06 Add utilities for Rects 2022-05-21 17:24:03 +01:00
gingerBill
c902615192 Improve writeToConole logic for the console.log difference between stdout and stderr 2022-05-21 17:03:44 +01:00
gingerBill
2895830ce6 Add wasm/js/general.odin 2022-05-21 16:37:12 +01:00
gingerBill
1eef9552b4 Fix typo 2022-05-21 16:35:27 +01:00
gingerBill
577fa2d29b Update time procedures for js targets 2022-05-21 16:35:06 +01:00
gingerBill
72fcf16a39 Rename to writeToConsole 2022-05-21 16:15:20 +01:00
gingerBill
b9d523e0b2 Add color when writing to stderr 2022-05-21 16:11:10 +01:00
gingerBill
f3d225ca4f Improve addConsoleLine 2022-05-21 16:00:36 +01:00
gingerBill
d84d2f85e8 Add WebGL helper (CreateProgramHelper) 2022-05-21 15:34:12 +01:00
gingerBill
dfbe68bcfe Begin to add support for experimental wasm64 2022-05-21 13:30:43 +01:00
gingerBill
e48f41165c Begin work on Atomics for wasm32 (wait and notify intrinsics) 2022-05-21 12:58:48 +01:00
gingerBill
2612f241c9 Minor clean up 2022-05-21 12:14:12 +01:00
gingerBill
0f1153fae2 Add page_alloc and page_allocator 2022-05-21 12:11:22 +01:00
gingerBill
94fda3d48d Rename to runWasm 2022-05-21 11:41:50 +01:00
gingerBill
c20b5cbd10 Change wasm/js/runtime.mjs to a normal .js file; Add interfaces and functions to a global odin variable 2022-05-21 11:39:35 +01:00
gingerBill
3bb31093fa Add documentation for CreateCurrentContextById and SetCurrentContextById 2022-05-18 13:08:31 +01:00
gingerBill
214b43974d Add WebGL ContextAttributes 2022-05-18 13:06:29 +01:00
gingerBill
55556aea77 Add WebGL runtime into the js/runtime.mjs; Allow for multiple WebGL contexts 2022-05-18 12:31:25 +01:00
gingerBill
205aa10b88 Improve events handling 2022-05-09 22:08:14 +01:00
gingerBill
6f1cc3946b Begin work on Event System for js_wasm32 target 2022-05-09 16:58:34 +01:00
ryuukk
d0240b8981 [WASM] Added missing zoffset parameters to some gl functions 2021-12-15 06:12:26 +01:00
Rehkitzdev
b7c78da1fb Fix storeInt call in webgl glue code 2021-12-11 18:38:32 +01:00
gingerBill
80360f3f51 Add vendor packages for the js_wasm32 target 2021-11-09 18:26:42 +00:00