Commit Graph

42 Commits

Author SHA1 Message Date
iciuperca
c644f79573 Avoid loop index shadowing
The inner loop uses the same index variable name "i" as the parent.

This causes an error message with -vet -strict-style
2024-04-09 18:24:57 +01:00
gingerBill
131c71ea76 Merge pull request #3142 from jay-j/feature/gl-allow-geometry-shaders
Expose OpenGL shader procs to allow creation of pipelines with geometry shaders
2024-02-07 16:09:58 +00:00
gingerBill
3e7e779abf Replace core:* to base:* where appropriate 2024-01-28 22:18:51 +00:00
jay-j
b46b3010ec Expose OpenGL shader procedures to allow creation of shader pipelines with geometry shaders 2024-01-26 19:43:47 -08:00
gingerBill
9aed26a234 Remove the use of import within when 2023-08-04 15:54:44 +01:00
hikari
ce1ee962f5 OpenGL: updated README 2022-12-06 00:00:05 +02:00
Michael Kutowski
8daecf7532 Update constants.odin 2022-11-15 01:06:03 +01:00
Michael Kutowski
11d665c25a Update enums.odin 2022-11-15 01:05:38 +01:00
Jeroen van Rijn
0ca8a5e186 Add vendor:zlib to examples/all; prefix vendor packages. 2022-09-21 16:45:01 +02:00
Joakim Hentula
0efc79bcb9 Add GL_DEBUG config that falls back to ODIN_DEBUG to preserve previous behaviour, but allows debug builds without OpenGL debug features 2022-09-02 13:30:45 +01:00
gingerBill
e91f8feedf Keep -vet happy 2022-07-18 15:12:54 +01:00
Phil
0a8e6169d7 remove unneeded semicolons 2022-06-28 11:36:50 -07:00
Phil
b89bb87759 Add OpenGL bindless textures ARB api to vendor 2022-06-27 14:50:24 -07: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
gingerBill
3d7d347192 Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings 2022-01-20 19:56:05 +00:00
kleeon
750ee4ecdb Fixed wrong function name in README.md 2021-12-30 15:49:07 +03:00
gingerBill
de435c9318 Remove unneeded semicolons from vendor:OpenGL 2021-11-21 14:52:40 +00:00
gingerBill
42b9ce636f Remove #force_inline from all wrappers 2021-11-21 13:59:28 +00:00
gingerBill
c722665c32 Merge pull request #1230 from jockus/master
Convert all vendor:OpenGL functions taking GLboolean to bool
2021-10-26 21:04:20 +01:00
jockus
2f4f6894bd Convert all vendor:OpenGL functions taking GLboolean to bool, assert on bool type size matching sizeof(unsigned char) as per the C headers 2021-10-20 15:40:55 +01:00
gingerBill
fc33cf6846 Set VertexAttribPointer related calls to use uintptr instead of rawptr for the byte offset parameter 2021-10-13 16:15:01 +01:00
gingerBill
4eda1b0598 Update appropriate parameters to the corresponding boolean types 2021-09-15 14:21:31 +01:00
gingerBill
344abf2cb2 Make core and vendor adhere to -vet, -strict-style, and -disallow-do 2021-09-11 16:40:19 +01:00
gingerBill
720884e0f1 Strip even more semicolons if followed by a } or ) on the same line 2021-08-31 23:47:57 +01:00
gingerBill
b450a853d5 Strip unneeded semicolons from vendor library 2021-08-31 22:26:58 +01:00
gingerBill
d399d2256b Change to [^][N] to just [^] 2021-08-31 20:39:32 +01:00
gingerBill
98dd59e412 Fix return value 2021-08-25 22:28:15 +01:00
gingerBill
4489df2871 Make sync_t distinct 2021-08-24 00:22:11 +01:00
gingerBill
766c17a6a3 Change [^][1]T usage to [^]T 2021-08-24 00:20:51 +01:00
gingerBill
018f8a82d6 Correct indentation 2021-08-24 00:19:47 +01:00
gingerBill
d5a0c004b6 More [^][N]T usage for UniformNuiv 2021-08-24 00:16:39 +01:00
gingerBill
0b6e45c9a2 More [^][N]T usage 2021-08-24 00:15:34 +01:00
gingerBill
5c41f64829 Improve signatures for [^][N*M]T like matrix parameters 2021-08-24 00:14:09 +01:00
gingerBill
ad56cf0038 Change some usages of [^]T to ^[N]T where appropriate 2021-08-24 00:06:49 +01:00
gingerBill
58b5e92c2f Update more uses of [^]T types 2021-08-23 23:57:16 +01:00
gingerBill
0a0752db7c Correct int to i32 usage 2021-08-23 23:46:36 +01:00
gingerBill
49fbdd6188 Add more indirect command structs to the procedure calls 2021-08-23 23:45:00 +01:00
gingerBill
1048553e78 More corrections; Add DrawArraysIndirectCommand and DrawElementsIndirectCommand data structures 2021-08-23 23:02:19 +01:00
gingerBill
63282290db Remove dead procedure 2021-08-23 21:42:11 +01:00
gingerBill
7a1498e7dc Remove space prefix 2021-08-23 21:40:17 +01:00
gingerBill
0d3cbb8883 Add vendor:OpenGL
Based off a heavily modified version of: https://github.com/vassvik/odin-gl
2021-08-23 21:33:39 +01:00