Commit Graph

778 Commits

Author SHA1 Message Date
Laytan
500c117312 Merge pull request #4008 from Daxode/wasm-quality-of-life
Quality of Life changes to wgpu/js
2024-08-02 13:51:47 +02:00
daniel-andersen
723e6d19be right number whoops! 2024-08-02 13:38:36 +02: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
daniel-andersen
e7041f785a Quality of life changes to wgpu/wasm stuff 2024-08-02 11:04:10 +02:00
Alex Macafee
1f2ab84e82 Use GuiControlProperty instead of c.int 2024-07-31 19:08:08 +10:00
Alex Macafee
92831d7ca3 Remove GuiStyleProp 2024-07-31 18:58:43 +10:00
Alex Macafee
f33b4ecd3e Update Raygui Style set/get functions 2024-07-31 18:48:16 +10:00
Jeroen van Rijn
33d6677514 Merge pull request #3951 from Kelimion/lua_test
Add Lua example to `vendor:lua` as well as basic tests.
2024-07-24 17:50:49 +02:00
gingerBill
527c0b3202 Change lib for lz4 2024-07-23 00:19:42 +01:00
gingerBill
12b971746c vendor:compress/lz4
Bindings to lz4 library
2024-07-22 22:42:29 +01:00
Jeroen van Rijn
f78a792d48 Add Lua example to vendor\lua as well as basic tests. 2024-07-20 18:30:41 +02:00
Jeroen van Rijn
9d6ed991cb Remove LUA panic for non-big-3 OS 2024-07-20 14:33:34 +02:00
Jeroen van Rijn
2385e1ddd9 Update LUA imports for Darwin. 2024-07-20 14:24:01 +02:00
flysand7
15997d2a90 [vendor/x11]: Fix missing argument in XDefaultDepth, wrong types in CreateSimpleWindow 2024-07-20 12:47:00 +11:00
Laytan
7134015f56 improve WGPU / GLFW / Wayland story by weak linking and adjusting docs 2024-07-18 19:28:15 +02:00
Jeroen van Rijn
5520b45457 Add glfw LICENSE file 2024-07-16 22:59:32 +02:00
gingerBill
f66133959f Merge pull request #3933 from laytan/fix-some-bugs-with-disable-assert
fix some bugs with -disable-assert
2024-07-16 17:54:21 +01:00
Laytan Laats
28fac62a02 fix some bugs with -disable-assert 2024-07-16 18:44:18 +02:00
gingerBill
df56655ab1 Fix formatting inconsistencies 2024-07-16 14:03:02 +01:00
gingerBill
6702f07762 rawptr -> cstring 2024-07-16 14:02:07 +01:00
gingerBill
8642d719f0 Imply #no_capture to all variadic parameters 2024-07-14 12:19:47 +01:00
gingerBill
c7bd954752 Add more uses of #no_capture 2024-07-14 11:56:04 +01:00
Tadeo hepperle
75076e2d64 RenderPassEncoderSetPushConstants should take a rawptr instead of cstring for the data 2024-07-13 16:01:33 +02:00
xzores
b4683f4399 Update stb_truetype.odin 2024-07-12 23:57:45 +02:00
gingerBill
7e41340510 Unify IUnknown COM interface 2024-07-10 15:20:07 +01:00
IllusionMan1212
0c27d95679 vendor/x11: some XKB extension procedures and constants 2024-07-08 21:00:19 +02:00
Laytan Laats
bcdb202639 vendor/fontstash: fix 'AddFont' proc group for JS target 2024-07-04 16:50:58 +02:00
Feoramund
bb6cbf6559 Fix SDL constants 2024-07-03 15:22:39 -04:00
gingerBill
8b49549fd3 Merge pull request #3859 from laytan/wasm-stbtt-object-linking-preopens
wasm: support `vendor:stb/truetype` and `vendor:fontstash`
2024-07-02 22:14:54 +01:00
Laytan Laats
761a50e145 vendor/wgpu: fix linker errors with empty project 2024-07-02 22:37:02 +02:00
Laytan Laats
0ef5191540 use slice.ptr_swap instead of alloca 2024-07-02 20:11:44 +02:00
Laytan Laats
10c68a8951 wasm: support vendor:stb/truetype and vendor:fontstash 2024-07-02 16:03:42 +02:00
gingerBill
e296d6fb90 Fix loads of indentation issues with mixing spaces and tabs 2024-06-29 19:50:51 +01:00
gingerBill
103eccf104 More style improvements 2024-06-29 19:23:58 +01:00
gingerBill
5413a8b744 Even more style fixes 2024-06-29 19:11:36 +01:00
gingerBill
3f9a58808c More style improvements 2024-06-29 19:07:34 +01:00
gingerBill
96330996a6 Fix indentation 2024-06-29 18:51:39 +01:00
Matthew Pohlmann
4bf9de7237 SupportedLimitsExtras.chain should be a ChainedStructOut to properly chain from SupportedLimits 2024-06-27 21:53:16 -07:00
Matthew Pohlmann
0a504c2647 Some fixes to wgpu_native.
1. LogCallback should have the "c" calling convention and takes a
   userdata pointer like other callbacks.
2. DevicePoll's wrappedSubmissionIndex argument is an optional in/out
   parameter. The previous wrapper method was broken since it passed a
   non-nil structure to the underlying API with invalid members.
2024-06-27 21:41:48 -07:00
Tadeo hepperle
b834bd32f5 fix typo 2024-06-26 20:31:43 +02:00
Tadeo hepperle
67e69f7196 Merge branch 'master' into fix-vulkan-codegen-arrays-as-proc-args 2024-06-26 19:31:00 +02:00
Tadeo hepperle
18dadd94e3 fix proc parsing 2024-06-26 19:30:21 +02:00
Jeroen van Rijn
e42029c5ed wgpu ld -> dl 2024-06-25 01:35:26 +02:00
Jeroen van Rijn
8eafd9eb82 wgpu import 2024-06-23 22:19:29 +02:00
gingerBill
8b446fc88d Fix wgpu paths for Windows 2024-06-20 12:18:26 +01:00
gingerBill
7184792f7a Merge pull request #3740 from laytan/wgpu
Add `vendor:wgpu`
2024-06-20 11:39:58 +01:00
Fabian Sperber
0e9bf86123 Fix d3d11 IInfoQueue_VTable & Add LoadLibraryExW
- wrong order & was missing PushStorageFilter & PushRetrievalFilter
2024-06-19 22:22:26 +02:00
gingerBill
a67df07392 Merge pull request #3742 from karl-zylinski/fix-raymath-matrix-to-float
Make rl.MatrixToFloatV do same thing in Odin as in C
2024-06-12 23:15:48 +01:00
Karl Zylinski
c7ea4ec71c rlgl: Pull in raylib and expose missing types, so it is the same as rlgl.h. This makes rlgl less stand-alone, but I left some notes in rlgl.odin how to easily make it stand-alone if one really wants to. 2024-06-12 21:13:12 +02:00
Karl Zylinski
d37b5a7b67 Make rl.MatrixToFloatV transpose the matrix before transmuting it to [16]f32, so it does the same thing as the raymath version implemented in C. 2024-06-12 19:54:14 +02:00