Commit Graph

227 Commits

Author SHA1 Message Date
Jeroen van Rijn
233b32fd3e Correct return value. 2022-05-25 00:47:29 +02: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
e43eccbb91 Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-21 13:02:03 +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
Jeroen van Rijn
b84561f2b8 Merge pull request #1800 from DaseinPhaos/master
add constants for DXGI_ERROR and DXGI_STATUS
2022-05-21 13:03:35 +02:00
Jeroen van Rijn
d10a2bc5d5 Format DXGI constants 2022-05-21 12:59:16 +02:00
gingerBill
94fda3d48d Rename to runWasm 2022-05-21 11:41:50 +01:00
gingerBill
5cf4f565d6 Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-21 11:39:47 +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
Luxko
a5bf3b0bc5 add dxgi HRESULT constants 2022-05-21 15:53:20 +09:00
gingerBill
836c325021 Merge pull request #1755 from bkrypt/update_miniaudio
Update `vendor/miniaudio` to v0.11.9
2022-05-19 20:53:19 +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
33895b6d92 Convert all uses of *_from_slice to *_from_bytes where appropriate 2022-05-16 01:43:43 +01:00
gingerBill
0d4e710b96 Add vendor:ggpo 2022-05-09 23:32:23 +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
gingerBill
0cf37bde8b Update foreign import for OpenEXRCore for non-windows platforms 2022-05-04 17:51:36 +01:00
gingerBill
1146604344 Add LICENSE.md 2022-05-03 14:52:09 +01:00
gingerBill
971d498e79 Change path 2022-05-03 14:21:24 +01:00
gingerBill
6e7a50c02f Add .lib for vendor:openexr 2022-05-03 14:11:26 +01:00
gingerBill
97717d65ef Add vendor:openexr
No foreign library yet
2022-05-02 16:09:09 +01:00
bkrypt
be9b935953 Fix indentation 2022-04-30 20:43:22 +02:00
bkrypt
9e69452327 Remove unnecessary value (count) from enum 2022-04-30 20:42:42 +02:00
bkrypt
4911df9f99 Remove unneeded semicolons 2022-04-29 21:39:10 +02:00
bkrypt
a223340c44 Update vendor/miniaudio to v0.11.9 2022-04-29 21:13:25 +02:00
awwdev
e9cfcf9ecc fix typo in TexImage3D 2022-04-29 11:26:57 +02:00
awwdev
789ab99c4d replaced a few [^]u8 with cstring 2022-04-29 11:21:23 +02:00
Karl Zylinski
03c9212600 Added some additional IID versions of Direct3D 12 UUIDs that I missed during my first pass. All are accounted for now. 2022-04-27 22:30:28 +02:00
Karl Zylinski
5650087aa3 Merge remote-tracking branch 'origin/master' into d3d12-binding-fixes 2022-04-27 20:50:54 +02:00
Karl Zylinski
67689ecb21 Typo fix in d3d12.odin 2022-04-27 20:47:05 +02:00
Karl Zylinski
cd13dedb36 D3D12 binding fixes: Added dxgi.IID versions of all the UUIDs in d3d12.odin so that the IIDs can be used to fetch interfaces properly. Also fixed an issue where GetDesc, GetCPUDescriptorHandleForHeapStart and GetGPUDescriptorHandleForHeapStart had the wrong signature due to an old D3D12 header bug, more info: https://stackoverflow.com/questions/34118929/getcpudescriptorhandleforheapstart-stack-corruption 2022-04-27 20:12:44 +02:00
gingerBill
3bd7122959 Fix #1720 2022-04-26 11:42:01 +01:00
gingerBill
989641a616 Update Vulkan generation and package 2022-04-15 12:14:12 +01:00
gingerBill
fc3f62e3ed Minor rearrangement 2022-04-15 11:50:08 +01:00