Commit Graph
139 Commits
Author SHA1 Message Date
Daemo 83b9f8f9da Fixed crash on NULL window titles + typo 2026-08-09 02:22:57 +02:00
Daemo f53d90e72c Added a header for event code definition and resize window event 2026-08-09 02:11:37 +02:00
DaemoandGitHub 63fe3088bf Fix inconsistencies with the FPS scheduler (#241)
The current Fps manager will sometime skip the intended delay and start
the next frame immediately, I'm not 100% sure why it happens, but I
rewrote most of it to stay consistent and improved the overall precision
by compensating for OS wake delay after sleep and finishing with a busy
wait
I also changed the behavior of mlx_set_fps_goal to allow zero/negative
values and treat them as uncapped (like most graphics libraries)
2026-08-08 15:45:56 +02:00
DaemoandGitHub c9df651a14 Optimized region drawing and fixed incorrect region clipping (#240)
Made small optimizations to Texture's SetRegion, SetLinearRegion,
GetRegion and Clear. They might not be super effective depending on how
the compiler already optimized them. The optimizations mainly focus on
removing the multiplication when transforming a position to an index by
using the row index rather than the y coordinate during iteration.
Also fixed regions not drawing properly when clipping against the sides
of a window and made GetRegion reject any region that isn't fully inside
of the window (previously accepted regions that clipped outside of the
right and bottom side, possibly leading to incorrect reads on the user
end due to desynchronized region dimensions)
2026-08-07 12:31:13 +02:00
DaemoandGitHub 2d0c02ae7e Fix freeze when resizing a window (#239)
Fixed an annoying bug where the application would freeze when resizing
the window
This pull request made it so the SDL window's resizing event now
broadcasts a new event specifically asking the swapchain to recreate
itself, which will in turn broadcast the original event when done. It
also removed the Event enum specific values, as they were irrelevant.
2026-08-07 00:18:52 +02:00
kbz_8 8b952f14c5 temp fix 2026-05-11 14:05:10 +02:00
kbz_8 492365f6dd swithing to manual surface management 2026-03-23 21:45:36 +01:00
kbz_8 564942ad35 fix 2026-03-23 21:45:36 +01:00
kbz_8 3a11c1d350 fixing file access 2026-03-03 12:10:18 +01:00
kbz_8 1566fbfc00 fixing image resize 2026-02-05 15:18:03 +01:00
kbz_8 6c1400e62c azy, 7h du matin, je sais pas écrire 2026-02-04 07:32:55 +01:00
kbz_8 25fb5285f7 fixed issue with default font loading 2026-02-04 07:32:55 +01:00
Yannisandkbz_8 87059f8ca3 Check if font file exists 2026-02-04 07:32:55 +01:00
kbz_8 7639c27df4 fixing put pixel resize issue 2026-02-03 11:58:06 +01:00
0verLighT 26c47c3a95 fix && ci (meson): trying to fix Vulkan issue in renderCore.cpp and add some windows test based from meson wrapdb CI
Signed-off-by: 0verLighT <alexandre@0verlight.com>
2026-01-27 20:47:11 +01:00
kbz_8 33ae4c3a37 fixing windows compilation issues, bumping version 2026-01-11 14:01:37 +01:00
0verLighTandkbz_8 e3ee9f0327 refactor(meson): delete all meson.build files in the runtime subfolders and regroup all sources in a meson.build file 2026-01-11 00:24:16 +01:00
0verLighTandkbz_8 807931fc8b feat(meson): adding meson.build 2026-01-11 00:24:16 +01:00
kbz_8 4adaccf72a removing garbage collector from SDL 2025-11-04 20:38:53 +01:00
kbz_8 ec019ba45c removing garbage file 2025-11-04 20:33:04 +01:00
kbz_8 9c4aaea79f removing now useless image optimisation flag 2025-10-22 17:02:41 +02:00
kbz_8 4f1cad4e72 fixing render finished semaphore based on max frame in flight issue 2025-10-22 13:30:55 +02:00
kbz_8 72d8ddae64 fixing descriptor pools issue, adding unit tests shortcut to makefile 2025-10-22 12:09:28 +02:00
kbz_8 19758b6d40 updating kvf 2025-09-24 19:39:22 +02:00
kbz_8 ab9d12ae17 fixing physical device selection under swiftshaders 2025-09-24 19:11:53 +02:00
kbz_8 324ef540fd adding headless mode 2025-09-24 09:54:44 +02:00
kbz_8 14dee628c4 starting to work on headless support 2025-06-24 07:10:02 +02:00
kbz_8 c94513107b fixing image set pixel 2025-06-23 20:40:42 +02:00
kbz_8 3e079cc0e9 fixing bug 2025-03-17 11:24:43 +01:00
kbz_8 025db7c2c8 yes 2025-03-14 12:41:51 +01:00
kbz_8 2c73362fce adding bindings 2025-03-13 16:58:10 +01:00
kbz_8 093dabcbbb adding hidden bindings 2025-03-13 00:39:01 +01:00
kbz_8 2345cf4417 adding secret bindings 2025-03-12 22:57:29 +01:00
kbz_8 2798a43674 yes 2025-03-12 21:37:59 +01:00
kbz_8andGitHub 90a8dad18c Revert "🐛 fix(Renderer/Image.cpp): bad moving_y bounds checking" 2025-02-24 08:11:18 +01:00
Arkturius 6a959d8469 🐛 fix(Renderer/Image.cpp): bad moving_y bounds checking 2025-02-22 16:39:09 +01:00
kbz_8 69502db0ee fixing error message 2025-01-24 20:23:28 +01:00
kbz_8 3f8955f4b1 fixing swapchain surface format selection 2025-01-21 20:59:57 +01:00
kbz_8 4462400b73 adding swapchain format to debug logs 2025-01-21 15:12:09 +01:00
kbz_8 2c710058f3 fixing too recent header 2025-01-12 21:13:30 +01:00
kbz_8 f4422c3174 fixing macOS issue 2025-01-11 23:04:58 +01:00
kbz_8 c8250629f3 fixing macOS issue 2025-01-11 22:42:40 +01:00
kbz_8 ef16cd3fdb fixing macOS issue 2025-01-11 22:28:39 +01:00
kbz_8 9443555cbb fixing macOS issue 2025-01-11 22:21:32 +01:00
kbz_8 deb6c20361 fixing transformations 2025-01-07 19:57:03 +01:00
kbz_8 b432e3e2e1 fixing possible segmentation fault in Texture::SetLinearRegion 2025-01-07 15:59:26 +01:00
kbz_8 1f482719e6 fixing things 2025-01-07 01:20:26 +01:00
kbz_8 ce530c765e wtf is hapenning 2024-12-28 15:42:38 +01:00
kbz_8 49002fdd98 fixing vicious bug in scene code 2024-12-27 23:28:51 +01:00
kbz_8 4e326db10d re-adding render to texture 2024-12-20 01:19:15 +01:00