Commit graph

497 commits

Author SHA1 Message Date
Yousef Khadadeh
1f80107005 Clear image cache when tabbing out of canvas 2026-02-19 22:29:24 +03:00
Yousef Khadadeh
c7024578af Small optimizations to image resource display calculations 2026-02-19 22:02:18 +03:00
Yousef Khadadeh
fbc079154e Remove unneeded variable 2026-02-19 16:13:48 +03:00
Yousef Khadadeh
fec602e46a New ImageResourceDisplay implementation that should decrease RAM usage 2026-02-19 15:21:47 +03:00
Yousef Khadadeh
a69d9e3c6c Erase cached mipmap levels after a long time of not being used 2026-02-17 14:41:08 +03:00
Yousef Khadadeh
462443ed0a Removed selection glow code, and moved surface creation code to function 2026-02-16 21:27:42 +03:00
Yousef Khadadeh
9216be3b7c Use manual mipmaps to improve image draw performance 2026-02-16 18:19:17 +03:00
Yousef Khadadeh
ddface1de6 Reset default smoothness 2026-02-12 16:18:46 +03:00
Yousef Khadadeh
52dd4c112c Decrease default smoothness for brush strokes 2026-02-12 16:17:09 +03:00
Yousef Khadadeh
51b10e4925 Revert floating point determinism attempt 2026-02-12 15:31:07 +03:00
Yousef Khadadeh
a935c48e13 Remove warning from double to float conversion 2026-02-12 14:28:50 +03:00
Yousef Khadadeh
75fedd545d Workaround floating point determinism by using doubles 2026-02-12 14:23:24 +03:00
Yousef Khadadeh
f1c1d6a15f Remove redundant clear cache surfaces 2026-02-10 16:56:50 +03:00
Yousef Khadadeh
dac81495e4 Fixed canvas scale up over network 2026-02-10 16:55:02 +03:00
Yousef Khadadeh
7e6175da4b Dont draw player cursors in screenshots 2026-02-10 16:28:18 +03:00
Yousef Khadadeh
a3bde62835 Renamed functions and added a fix for a bug in bring to front/push to back undo 2026-02-10 13:12:53 +03:00
Yousef Khadadeh
9d539367ec Fixed erase_it_list order, and fixed Emscripten bug 2026-02-10 11:33:19 +03:00
Yousef Khadadeh
ed931f0a78 Prevent undo/redo when Edit tool selects an object 2026-02-09 14:30:03 +03:00
Yousef Khadadeh
e505e08b53 Remove disable driver workaround on Emscripten 2026-02-09 14:27:54 +03:00
Yousef Khadadeh
2c55de1b95 Fixed mistake in ifdef 2026-02-08 20:54:44 +03:00
Yousef Khadadeh
994301c294 Fixed gaps between triangles in brush stroke accurate draw 2026-02-08 20:24:23 +03:00
Yousef Khadadeh
af32fd46c1 Fixed issues with emscripten build 2026-02-08 19:07:55 +03:00
Yousef Khadadeh
6b3ac4dc04 Added optimization to clip brush strokes from camera view 2026-02-08 13:27:18 +03:00
Yousef Khadadeh
f2f215fa91 Fixed bug with cache not updating 2026-02-07 18:57:32 +03:00
Yousef Khadadeh
89925763cd Calculate accurate brush stroke data in parallel before drawing 2026-02-07 18:49:56 +03:00
Yousef Khadadeh
fd1f76520b Brush strokes now have accurate_draw 2026-02-07 16:03:02 +03:00
Yousef Khadadeh
435ee25848 Update emsdk version, and enable multithreading on web 2026-02-06 08:55:51 +03:00
Yousef Khadadeh
216469fab0 Change cliprect calculation 2026-02-05 16:42:57 +03:00
Yousef Khadadeh
4124104fbc Delete all draw cache on quit 2026-02-04 19:19:29 +03:00
Yousef Khadadeh
fcda17c7d3 Delete window cache surface on quit 2026-02-04 19:15:58 +03:00
Yousef Khadadeh
41633b1e56 Disable driver correctness workarounds, as they are causing issues on windows 2026-02-04 12:32:07 +03:00
Yousef Khadadeh
730a2f1986 Revert Windows using Vulkan (Vulkan has the same glitches OpenGL has on windows) 2026-02-04 11:57:04 +03:00
Yousef Khadadeh
6c038a7e0f Get Ganesh Vulkan backend working again, and make it the default on windows 2026-02-04 10:53:23 +03:00
Yousef Khadadeh
93733c225c Fix compilation error on Windows 2026-02-03 14:31:33 +03:00
Yousef Khadadeh
842896dc15 Change version number to v0.4.1 and updated SDL 2026-02-03 12:16:39 +03:00
Yousef Khadadeh
b5c3c77a95 Fix segfault when sending elements to front/back of multiple layers 2026-02-02 13:36:52 +03:00
Yousef Khadadeh
e750d857da Add parallelization to transform calculation 2026-01-31 14:03:00 +03:00
Yousef Khadadeh
726368fd6f Decrease lock size limits 2026-01-29 20:36:42 +03:00
Yousef Khadadeh
cf28a62e18 Size lock doesn't get removed when zooming in/out too much 2026-01-29 20:33:22 +03:00
Yousef Khadadeh
8a4d9a4f07 Add size lock 2026-01-29 11:48:08 +03:00
Yousef Khadadeh
a73f5e2122 Can edit stroke colors through selection 2026-01-27 16:55:09 +03:00
Yousef Khadadeh
f6c4eeb9f3 Reorganize cache code and call flushAndSubmit in main 2026-01-27 12:40:39 +03:00
Yousef Khadadeh
f46d25b8e6 Save tool configuration, and put close popup infront of other popups 2026-01-26 19:08:36 +03:00
Yousef Khadadeh
2e9e8eaf8b Added cache related settings 2026-01-24 12:31:55 +03:00
Yousef Khadadeh
428a56e0d1 Show close popup even if gui is disabled 2026-01-23 09:40:50 +03:00
Yousef Khadadeh
5db4b745c6 Move objects with arrow keys 2026-01-23 09:37:57 +03:00
Yousef Khadadeh
fe4716765c Added screen space cache 2026-01-21 13:11:01 +03:00
Yousef Khadadeh
5143557e78 Pressing quit checks for close popup, and close popup has scroll bar 2026-01-20 18:40:14 +03:00
Yousef Khadadeh
f362f02967 Reassign net IDs on move component undo 2026-01-20 16:16:33 +03:00
Yousef Khadadeh
0821f0840e Added bring to front and send to back 2026-01-20 11:59:03 +03:00