aboutsummaryrefslogtreecommitdiff
path: root/vendor/wasm
Commit message (Collapse)AuthorAgeFilesLines
* Added CheckFramebufferStatus to WebGL bindingsKarl Zylinski2025-12-291-0/+1
|
* More webgl bindings and fixesKarl Zylinski2025-12-271-1/+14
|
* More allocator-aware webgl bindings and added more missing bindings.Karl Zylinski2025-12-262-1/+61
|
* WebGL: Add GetActiveAttrib bindingKarl Zylinski2025-12-261-1/+43
|
* Fix some webgl bindingsAlex Riedl2025-08-092-9/+59
|
* Update webgl.odinMichael Lee2025-04-291-1/+1
|
* Fix incorrect parameter typesMichael Lee2025-04-281-3/+3
|
* webgl: add `BlendEquationSeparate` and `GetParameter4i`Laytan Laats2025-03-122-11/+13
| | | | | | | | | `GetParameter4i` can be used to retrieve the current scissor rect, or the curent viewport, which was previously impossible. Also adds `BlendEquationSeparate` which seemed to be missing. Also removes an instance of `do`.
* Clean-up `libc` usagegingerBill2024-09-221-1/+1
|
* Move `vendor:wasm/js` to `core:sys/wasm/js`gingerBill2024-09-228-2728/+0
|
* Rename `runtime.js` to `odin.js`gingerBill2024-09-222-3/+3
|
* Remove unused importsgingerBill2024-09-222-4/+1
|
* Use `.shift()` insteadgingerBill2024-09-201-3/+2
|
* Update wasm's runtime.jsgingerBill2024-09-202-45/+124
|
* Fix 128-bit integer support for wasm targetsgingerBill2024-09-201-1/+5
|
* Add fmt tagsgingerBill2024-09-191-4/+4
|
* Moved all packages in core, base, vendor, tests and examples to use new #+ ↵Karl Zylinski2024-09-147-7/+7
| | | | file tag syntax.
* Merge pull request #4008 from Daxode/wasm-quality-of-lifeLaytan2024-08-021-0/+2
|\ | | | | Quality of Life changes to wgpu/js
| * Quality of life changes to wgpu/wasm stuffdaniel-andersen2024-08-021-0/+2
| |
* | Fix: remove extra `usage` in webgl.odin:250marcosantos982024-08-021-1/+1
|/ | | | | | Compilation error when using webgl.BufferSubDataSlice. The `usage` parameter is nowhere to be found. This is probably a copy-pasta leftover.
* Add `vendor:wgpu`Laytan Laats2024-06-121-7/+37
|
* wasm: fix runtime.js even more for wasm64p32Laytan Laats2024-05-311-29/+63
| | | | | | | | - make the int size configurable in the `runWasm` call, no more constants to hunt down and change - make storeU64 and storeI64 handle bigints, this is needed in the odin_dom library - fix alignment issues within init_event_raw
* wasm: fix the WheelEvent not storing data properlyLaytan Laats2024-05-301-6/+6
| | | | | A `WheelEvent` is also an instanceof `MouseEvent` so it was never hitting the if statement for the `WheelEvent`.
* correctly load/store uint&int in the runtime.js for wasm64p32Laytan Laats2024-05-171-13/+45
|
* fix wasm runtime.js storeString to support UnicodeLaytan Laats2024-04-131-2/+5
|
* fix `_end` being called before the actual end when using the step functionLaytan Laats2024-04-081-3/+11
|
* fix js_wasm `time.tick_now`, `performance.now()` returns a floatLaytan Laats2024-04-081-1/+1
|
* USe `intrinsics.matrix_flatten` in `webgl2.odin`Damian Tarnawski2024-02-051-6/+7
|
* Change ClearMask to ColorMask in webgl.odinKay2024-02-021-2/+2
| | | https://registry.khronos.org/OpenGL-Refpages/gl4/html/glColorMask.xhtml
* Merge pull request #2978 from thetarnav/patch-2gingerBill2024-01-314-30/+32
|\ | | | | Many small typos and fixes to wasm bindings
| * Correct wasm page_allocator switch casesDamian Tarnawski2024-01-181-2/+2
| |
| * Fix window_get_scroll proc not returning loaded valuesDamian Tarnawski2024-01-181-2/+2
| |
| * Add missing Resize_Non_Zeroed case to page allocatorDamian Tarnawski2024-01-181-1/+1
| |
| * Fix uniform matrix functions in WebGLInterfaceDamian Tarnawski2024-01-161-2/+2
| |
| * Hoist STRING_SIZE constantDamian Tarnawski2024-01-071-1/+2
| |
| * Fix typo in WebGLInterface classDamian Tarnawski2024-01-071-3/+3
| |
| * Fix copyTexSubImage2D and copyTexSubImage3D method callsDamian Tarnawski2024-01-071-3/+3
| |
| * Fix WebGLInterface function namesDamian Tarnawski2024-01-071-2/+2
| |
| * Pass `height` to `webgl.readPixels`Damian Tarnawski2024-01-061-1/+1
| |
| * Correct glIsEnabled in wasm.webglDamian Tarnawski2024-01-062-1/+2
| |
| * Correct spelling of FramebufferRenderbufferDamian Tarnawski2024-01-061-2/+2
| |
| * Fix scroll and visibilitychange event handlingDamian Tarnawski2023-11-251-5/+5
| |
| * Fix set_element_value_string parameter nameDamian Tarnawski2023-11-251-1/+1
| |
| * Fix alignmentDamian Tarnawski2023-11-251-2/+2
| |
| * Correct some typos in runtime.jsDamian Tarnawski2023-11-251-4/+4
| |
* | Replace `core:*` to `base:*` where appropriategingerBill2024-01-282-2/+2
|/
* Replace Math.random with crypto.getRandomValues for _system_numberDamian Tarnawski2023-10-271-1/+0
|
* Use wasmMemoryInterface for rand_bytesDamian Tarnawski2023-10-271-1/+1
|
* Add system_random and random_bytes for js targetDamian Tarnawski2023-10-271-0/+6
|
* Correct loadI64 and storeI64 methods in runtime.jsDamian Tarnawski2023-10-221-4/+2
|