Commit Graph

18 Commits

Author SHA1 Message Date
fendevel
eeb7e775f3 webgl: Add bindings, fix Tex*Image*D 2026-02-28 00:37:34 +00:00
Karl Zylinski
3f9aefda20 Added CheckFramebufferStatus to WebGL bindings 2025-12-29 17:34:01 +01:00
Karl Zylinski
7dee25bdcc More allocator-aware webgl bindings and added more missing bindings. 2025-12-26 23:34:45 +01:00
Karl Zylinski
7e39239907 WebGL: Add GetActiveAttrib binding 2025-12-26 23:02:35 +01:00
Alex Riedl
277c6cac71 Fix some webgl bindings 2025-08-09 10:47:07 -05:00
Michael Lee
9c5fa073df Update webgl.odin 2025-04-29 10:52:11 -05:00
Michael Lee
808eec8e23 Fix incorrect parameter types 2025-04-28 20:24:41 -05:00
Laytan Laats
b76fd84084 webgl: add BlendEquationSeparate and GetParameter4i
`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`.
2025-03-12 18:39:57 +01:00
marcosantos98
3bfccde6f9 Fix: remove extra usage in webgl.odin:250
Compilation error when using webgl.BufferSubDataSlice.
The `usage` parameter is nowhere to be found.
This is probably a copy-pasta leftover.
2024-08-02 10:50:16 +01:00
Kay
89a2fdd106 Change ClearMask to ColorMask in webgl.odin
https://registry.khronos.org/OpenGL-Refpages/gl4/html/glColorMask.xhtml
2024-02-02 23:42:37 -06:00
Damian Tarnawski
909a5016ee Correct glIsEnabled in wasm.webgl 2024-01-06 22:17:01 +01:00
Rehkitzdev
1097192554 added webgl GetParameter 2023-10-08 04:02:55 +02:00
gingerBill
5a6d5374d7 Update WebGL procedures to contextless calling convention 2023-06-22 14:30:02 +01:00
Rehkitzdev
b52bf11ea5 fixed webgl BindFramebuffer parameter 2023-05-31 21:44:30 +02: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
80360f3f51 Add vendor packages for the js_wasm32 target 2021-11-09 18:26:42 +00:00