Commit Graph
91 Commits
Author SHA1 Message Date
Daemo f1c7f8ab27 Added mlx_set_image_rectangle 2026-08-10 16:02:24 +02:00
Daemo 9800d2f78d Added mlx_set_window_icon 2026-08-10 15:32:18 +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 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 1566fbfc00 fixing image resize 2026-02-05 15:18:03 +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 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 025db7c2c8 yes 2025-03-14 12:41:51 +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 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
kbz_8 62bd63c364 adding multiple hooks supports for events and loop 2024-12-17 02:33:04 +01:00
kbz_8 30f4602b1c fixing gcc/msvc error 2024-12-17 01:40:58 +01:00
kbz_8 393735b1d6 fixing gcc/msvc error 2024-12-17 01:03:00 +01:00
kbz_8 d40264891c fixing gcc/msvc error 2024-12-17 00:59:54 +01:00
kbz_8 c636229875 working on endianness with vulkan images 2024-12-17 00:11:21 +01:00
kbz_8 a85ad6378e fixing bug in texture clear 2024-12-16 19:07:16 +01:00
kbz_8 623021a669 implementing last functions, adding put pixel region 2024-12-16 16:13:44 +01:00
kbz_8 feb3fcbd1f finxing memory usages 2024-12-16 01:24:25 +01:00
kbz_8 5b726fe74a adding missing function implementation 2024-12-15 03:53:56 +01:00
kbz_8 5a36b90a72 reworking application and bridge 2024-12-15 03:35:17 +01:00
kbz_8 7bd2b9c4c7 working on garbage collection, fixing small issues with font destroy 2024-12-14 01:39:50 +01:00
kbz_8 f78c3e9f0f fixing valgrind issues, injecting garbage collector inside vulkan's funtions 2024-12-13 02:51:52 +01:00
kbz_8 34ea0822a7 moving experimental features to a new folder 2024-12-04 18:34:53 +01:00
kbz_8 999ef64d0a working on subpass dependencies 2024-12-04 15:38:47 +01:00
kbz_8 33260f316f yes 2024-12-04 15:14:56 +01:00
kbz_8 3122576f04 enabling pre compiled header 2024-12-04 15:04:51 +01:00