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
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
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
gingerBill
6b7c04e046
Improve utilities
2022-04-15 11:33:28 +01:00
gingerBill
cfeb16f917
Add more proc groups
2022-04-15 11:20:42 +01:00
gingerBill
9a2d9002e6
Minor fixes and add use of proc groups where better suited
2022-04-15 11:14:59 +01:00
gingerBill
ea0b02d9b9
Add Buffer contentsAsSlice and contentsAsType
2022-04-14 16:42:24 +01:00
gingerBill
0d621511e5
Correct signature types
2022-04-14 16:16:53 +01:00
gingerBill
e53c858855
Add NS.Block to allow for the creation of block-like lambdas in Odin
2022-04-14 15:47:49 +01:00
gingerBill
51db46551e
Add MetalKit; Add NSApplication NSMenu NSMenuItem; Improve Metal classes
2022-04-14 15:03:47 +01:00
Jeroen van Rijn
376327c87b
[vendor:easy_font] API improvements.
...
Add `print(x, y, text, color, quad_buffer)` version that takes `[]quad`.
(Same internal memory layout as []u8 API, but more convenient for the caller.)
Add optional `scale := f32(1.0)` param to `print` to embiggen the glyph quads.
```odin
// Example for use with vendor:raylib
quads: [999]easy_font.Quad = ---
color := rl.GREEN
c := transmute(easy_font.Color)color
num_quads := easy_font.print(10, 60, TEXT, c, quads[:])
for q in quads[:num_quads] {
tl := q.tl.v
br := q.br.v
color = transmute(rl.Color)q.tl.c
r := rl.Rectangle{x = tl.x, y = tl.y, width = br.x - tl.x, height = br.y - tl.y}
// Yes, we could just use the `color` from above, but this shows how to get it back from the vertex.
// And in practice this code will likely not live as close to the `easy_font` call.
rl.DrawRectangleRec(r, color)
}
```
2022-04-03 18:53:27 +02:00
Florian Behr
f4daf46ff4
Fixes for stb_easy_font
2022-04-03 15:18:01 +02:00
Wes Hardee
f89ebce807
Add foreign imports for Darwin to vendor:stb
2022-03-22 15:55:37 -05:00
gingerBill
1d147ba993
Fix typo
2022-03-14 12:44:35 +00:00
WalterPlinge
7e8b9862b9
update vulkan generator
...
change procedure file generation
- group procedure types together
- sort groups by procedure names
- overload function `load_proc_addresses`
- kept original as `custom`
- added `global`, `instance`, and `device` variants for simpler loading
- added `device_vtable` variant to support multiple devices
2022-03-04 16:16:31 +00:00
Sébastien Marie
dfe2c0a600
remove some leftover semi-colons before EOF
2022-03-03 15:57:55 +00:00
gingerBill
16c6dbcbe5
Merge pull request #1579 from semarie/vendors
...
Vendors libraries portability and examples/all splitting
2022-03-03 12:09:46 +00:00
gingerBill
92a78c83d9
Merge pull request #1571 from SrMordred/patch-4
...
Fixing bindings
2022-03-03 12:08:17 +00:00
Sébastien Marie
3dcea60f5b
vendor: ENet: follow strict-style and remove optional semi-colon
2022-03-03 09:27:10 +00:00
Sébastien Marie
f126e05034
stb, miniaudio: use default builtin variables of make for CC and AR
2022-03-03 07:36:47 +00:00
Sébastien Marie
793117ed63
vendor: sdl2: simplify foreign import
2022-03-02 18:50:37 +00:00
Sébastien Marie
5b783d6376
vendor: raylib: simplify foreign import
2022-03-02 18:44:29 +00:00