Commit Graph
35 Commits
Author SHA1 Message Date
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
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
kbz_8 9c4aaea79f removing now useless image optimisation flag 2025-10-22 17:02:41 +02:00
kbz_8 c7fba85393 fixing image set pixel 2025-06-23 20:35:36 +02:00
kbz_8 025db7c2c8 yes 2025-03-14 12:41:51 +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 b432e3e2e1 fixing possible segmentation fault in Texture::SetLinearRegion 2025-01-07 15:59: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 62bd63c364 adding multiple hooks supports for events and loop 2024-12-17 02:33:04 +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 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 5f46c8cb55 fixing bug with image recreation 2024-11-05 11:50:40 +01:00
kbz_8 e8de2c169d adding clear color in mlx_clear_window 2024-11-04 21:21:46 +01:00
kbz_8 028cb57ff4 working on texts and fonts 2024-10-27 01:14:07 +02:00
kbz_8 0304834008 fixing put pixel, adding scene change checker 2024-10-21 01:48:01 +02:00
kbz_8 386d9abe4b yes 2024-10-19 00:43:39 +02:00
kbz_8 99437a6d6a adding shaders compilation in makefile 2024-09-22 21:39:20 +02:00
kbz_8 ad35eee0b6 fixing release compilation issue 2024-09-21 12:56:21 +02:00
kbz_8 904b6d31ac adding debug vulkan resources names 2024-09-21 12:18:42 +02:00
kbz_8 2e08c37624 fixing bugs 2024-09-20 21:43:23 +02:00
kbz_8 092e5acd9b fixing vulkan loader, moving vulkan pfns to RenderCore 2024-09-20 16:14:14 +02:00
kbz_8 7f2d60f21d fixing compilation issues 2024-09-14 09:55:19 +02:00
kbz_8 8ad6d84bd2 fixing compilation issues, working on textures 2024-09-04 02:35:01 +02:00
kbz_8 a455d7704d adding depth buffer, ci skip 2024-09-02 13:02:32 +02:00
kbz_8 f65ac577bc big refactoring ! ci skip 2024-09-02 09:44:42 +02:00