Commit graph

585 commits

Author SHA1 Message Date
Yousef Khadadeh
e1e93b8a31 Setting text box input no longer involves repeatedly setting it each frame 2026-03-01 12:09:27 +03:00
Yousef Khadadeh
8c11141ac5 Start switching to callbacks on SDL input events 2026-02-28 22:47:35 +03:00
Yousef Khadadeh
ae88521b32 Start work on touchscreen support 2026-02-27 16:16:51 +03:00
Yousef Khadadeh
815737ce3e Get android release build working 2026-02-26 20:58:56 +03:00
Yousef Khadadeh
1c81296e91 Remove SDL android project files to fix compile errors 2026-02-26 20:34:25 +03:00
Yousef Khadadeh
f225c421fc Set an update sleep duration to save battery 2026-02-25 18:57:55 +03:00
Yousef Khadadeh
711eb48f15 Dont block on SwapBuffer for Vsync 2026-02-25 15:25:00 +03:00
Yousef Khadadeh
3e69d2af56 Fixed drawData mistake 2026-02-25 13:29:46 +03:00
Yousef Khadadeh
23dbfcfede DrawData is passed to main draw function 2026-02-25 13:26:35 +03:00
Yousef Khadadeh
8ce9bd8aa3 Divide window safe area by gui scale 2026-02-24 21:25:35 +03:00
Yousef Khadadeh
b8b00145af GUI rendered in usable window area, and multiplayer working on android 2026-02-24 21:13:34 +03:00
Yousef Khadadeh
18b73a5926 Remove testing println statements 2026-02-24 17:25:13 +03:00
Yousef Khadadeh
ab13ccd595 Starting work on Android port 2026-02-24 17:21:41 +03:00
Yousef Khadadeh
5d1b7678f0 Add automatically generated mipmaps to smallest mipmap level to improve tiny image quality 2026-02-20 00:01:28 +03:00
Yousef Khadadeh
e20ae17759 Improve scaled down image quality 2026-02-19 23:50:03 +03:00
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
a2d8b938ed Changed update date 2026-02-09 12:08:34 +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
d648350c6a
Update Emscripten build instructions 2026-02-06 06:12:24 +00: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