Isaiah
125c899d62
thirdparty: add NDEBUG check before glGetErrorCode if-statement in sokol_gfx.h ( #24754 )
2025-06-19 10:23:37 +03:00
Delyan Angelov
37e5ead75d
thirdparty: print the glGetError() code on failure too in sokol_gfx.h, to make diagnostic easier
2025-06-18 07:57:28 +03:00
Delyan Angelov
3c9d37622c
thirdparty/sokol: allow -cflags -D_SGL_DEFAULT_MAX_VERTICES=4194304
to customize how many vertices you can send through gg/sokol in a frame
2025-01-06 13:46:27 +02:00
larpon
ef0457d6e3
sokol: update to match upstream at c0e0563 ( #21971 )
2024-08-01 01:44:50 +03:00
Delyan Angelov
3ee95d1040
sokol: reduce _SGL_DEFAULT_MAX_VERTICES back to 1<<17 (1<<22 in 811ac12
, leads to ~140MB of memory usage for gg/minimal.v, instead of just ~38MB)
2024-07-05 13:07:30 +03:00
Delyan Angelov
811ac125fa
examples: add an animated spirograph.v using gg
2024-07-05 11:29:47 +03:00
Alexander Medvednikov
549e11bfa1
string: optimize is_ascii()
2024-06-22 18:25:52 +03:00
Kim Shrier
5407dbbde7
sokol: fix audio example to work on FreeBSD ( #21558 )
2024-05-24 08:12:41 +03:00
Delyan Angelov
a7d8e848c2
thirdparty/sokol: bump _SGL_DEFAULT_MAX_VERTICES and _SGL_DEFAULT_MAX_COMMANDS again; mark them with __v_ start
and __v_ end
2024-04-23 12:21:19 +03:00
Turiiya
9c9608b4e6
thirdparty: add license information and source repo info to the READMEs in each subfolder ( #21135 )
2024-03-29 08:00:56 +02:00
Alexander Medvednikov
85533fe178
sokol, gg: min window width and height
2024-03-28 18:23:33 +03:00
Turiiya
f77bb32044
all: fix typos ( #21089 )
2024-03-25 12:18:27 +02:00
Larpon
790ea2f1bd
sokol, gg, examples: update to match uptream at 058a4c5 ( #20953 )
2024-03-05 17:04:05 +02:00
cui fliter
78602846e5
all: fix typos in comments ( #20963 )
2024-03-04 18:41:55 +02:00
Larpon
775b25e11b
sokol: update to match uptream at 9e0f1b4 ( #19687 )
2023-10-28 17:15:46 +03:00
Larpon
bbb4a802e6
sokol: update sokol_gfx.h
to match upstream @ d98c8b9 (fixes macOS compile error) ( #19590 )
2023-10-17 17:58:35 +03:00
Delyan Angelov
d20ed23365
thirdparty/sokol/sokol_gfx.h: fix whitespaces around the new glReadPixels XMACRO
2023-10-06 16:09:32 +03:00
Delyan Angelov
5e0c225472
thirdparty/sokol/sokol_gfx.h: ensure that glReadBuffer will be binded too, even on windows
2023-10-06 15:51:44 +03:00
Alexander Medvednikov
0bf85d049e
sokol: upgrade to latest version, fix all related issues
2023-10-05 20:22:49 +03:00
Alexander Medvednikov
bb280121e3
sokol: bring back command q on macos
2023-04-07 04:08:28 +02:00
Delyan Angelov
e854051c1f
thirdparty: update all sokol and fontstash headers with their upstream versions ( #16940 )
2023-01-11 11:29:38 +02:00
Wertzui123
a9d63d729e
sokol.sapp,gg: add a tool_type
field to gg.TouchPoint
(differenciate different types of touch input) ( #15822 )
2022-09-20 13:15:38 +03:00
Alexander Medvednikov
1aeca113d3
sokol: do not crash if an image cannot be rendered
2022-07-19 13:21:34 +03:00
Mehmet Ali
12d57e8e7b
sokol: add mouse cursor support ( #15111 )
2022-07-18 09:44:48 +03:00
Larpon
9f3b6e3e3a
android: provide more predictable logging, add comptime termux support ( #14984 )
2022-07-07 18:28:29 +03:00
Wertzui123
d71fd04c81
thirdparty/sokol: apply speaker/headset bug fix from latest upstream sokol_audio.h ( #14676 )
2022-06-04 20:24:07 +03:00
penguindark
22fce6a525
sokol: update sokol_gfx.h to the LAST version, and fix example 06 ( #13100 )
2022-01-08 20:29:29 +02:00
Larpon
3ae4513e2e
sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) ( #13044 )
2022-01-05 18:23:14 +02:00
Alexander Medvednikov
6176ce9f03
all: c2v fixes
2021-12-28 08:00:56 +03:00
Larpon
506924b01c
android: hide printf hijack for android logging behind define ( #12269 )
2021-10-22 19:59:25 +03:00
Alexander Medvednikov
a8ced46564
sokol: fix a typo
2021-10-19 17:18:49 +03:00
Alexander Medvednikov
d8ea9e4969
sokol: move _sapp_macos_resize_window
2021-10-19 16:58:39 +03:00
Alexander Medvednikov
45534b512b
time: move pure V function from time.c.v
2021-10-19 16:03:45 +03:00
Larpon
bff7cc5f20
thirdparty: remove patch marks in sokol_gfx.h ( #12198 )
2021-10-15 19:36:44 +03:00
Larpon
5bfa3d5530
sokol: add screenshot function to OpenGL based backends ( #12169 )
2021-10-13 21:22:58 +03:00
penguindark
e4bd2306da
sokol: upgrade to latest version, add program icon support ( #11559 )
...
* updated sokol_gfx.h to the last version: 16d7b2e
* merged sokol_app and update enums.v
* added missing icons structs
* try to fixing Mac keyboard problems
* added v patch marker to sokol_app.h
* upgrade for sokol_gl.h, sokol_fontstash.h
* manage sgl_load_default_pipeline
* added load_default_pipeline() for sokol coherence
* vfmt sapp_structs.c.v
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-09-21 09:55:06 +03:00
Alexander Medvednikov
c7a6d28e13
all: improve unused variable warning (fix x = 1
, x += 1
etc)
2021-04-23 13:33:48 +03:00
Alexander Medvednikov
711e309eef
gg: bring back native rendering on macos
2021-04-14 03:59:34 +03:00
Larpon
8caabf0e9e
sokol: update to floooh/sokol@c602d83 ( #9607 )
2021-04-07 20:39:23 +02:00
Alexander Medvednikov
138da8e130
stbi/sokol: fix png loading bug
2021-03-16 01:39:35 +03:00
R cqls
a08eb9cd8a
sokol: fix dragging events on macos in sokol_app.h ( #8817 )
2021-02-18 09:40:43 +02:00
R cqls
ba131ce914
gg: fix mouse_down on macos ( #8799 )
2021-02-17 06:56:58 +01:00
spaceface
4152c704f3
sokol: remove .lib
extensions in #pragma
directives ( #8639 )
...
fixes tcc on windows - this kind of fix has been done several times in the past, and should probably be upstreamed to sokol soon to prevent things from breaking every time we update the headers.
2021-02-09 11:36:01 +02:00
Alexander Medvednikov
45cc3ec664
sokol: remove an absolute import
2021-01-23 10:32:00 +01:00
Alexander Medvednikov
d991712b3c
gg: native rendering mode on macOS
2021-01-23 10:25:43 +01:00
Larpon
512f62b7a1
android: enable custom (e)println output via android log system ( #8135 )
2021-01-17 05:32:59 +01:00
Alexander Medvednikov
597314322f
sokol: fix a crash when handling a corrupt image
2020-12-28 01:01:33 +01:00
spaceface
6aadc828b1
sokol: fix compilation with tcc on windows ( #7476 )
2020-12-22 22:35:27 +02:00
Alexander Medvednikov
576396cf20
gg: fix cached images loaded from memory
2020-12-12 23:30:41 +01:00
Alexander Medvednikov
b6099cd978
sokol: soft full screen on macos
2020-11-21 14:24:01 +01:00