63 Commits (4e09c47190eea65aa4919316506bd3f6935ad72e)

Author SHA1 Message Date
A.Olokhtonov fea2874004 Merge scale and move local history, fixing undo for image move/scale 2 months ago
A.Olokhtonov 29ec265632 Keep multiple current strokes ("prestrokes") per player in a queue 2 months ago
A.Olokhtonov bdc3bdc9a1 Undo for all available actions 2 months ago
A.Olokhtonov 49620ff8fb Fix image selection order, fix image upload typo. Bind hotkeys to switch between tools 2 months ago
A.Olokhtonov ea409f76c4 Basic snapping to grid is kinda working (needs more testing). Deleted obsolete shaders and debug options 5 months ago
A.Olokhtonov 8b4b4e09f7 Basic line drawing is back IN 5 months ago
A.Olokhtonov 0ffac004c0 Eraser works again! Offline though 5 months ago
A.Olokhtonov 21aecb7d08 Make image move and image scale work in multiplayer. Add width and height to image event and fix late-arriving bitmaps breaking things 5 months ago
A.Olokhtonov 45bac3395a Clean up image move/scale logic a little bit. Remove obsolete cursor.js file 5 months ago
A.Olokhtonov 9d6f333778 Resize images (local only) 5 months ago
A.Olokhtonov 254268c309 Move images (local only) 5 months ago
A.Olokhtonov c1583cb8fb Resize handles for images 5 months ago
A.Olokhtonov 8a15093147 The images are in 6 months ago
A.Olokhtonov 903660adbc Marginally better grid level transitions 6 months ago
Aleksey Olokhtonov 90f0beb4f9 Undo is back in! 6 months ago
A.Olokhtonov bf2eace6fe Grid background pattern 6 months ago
A.Olokhtonov eafe860990 Zoom without the mousewheel by holding down Z 6 months ago
A.Olokhtonov eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size 6 months ago
A.Olokhtonov 30559b0381 The dots are now zoomable 6 months ago
A.Olokhtonov ee42e400c4 Dots pattern with fancy fadeout 6 months ago
A.Olokhtonov 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. 8 months ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 8 months ago
aolo2 dfecad2c99 Fix strokes being added to storage even when skipped by SN logic 10 months ago
aolo2 704c833c16 First working draft of pressure hanlding 10 months ago
aolo2 71f1016a40 Store WASM-processed data in WASM memory 10 months ago
A.Olokhtonov 3bf812df39 Move point writes to WASM, already a lot faster!!!! 10 months ago
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 10 months ago
A.Olokhtonov 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 10 months ago
A.Olokhtonov ab7545918b Fix state.me not being set when joining new desk 10 months ago
A.Olokhtonov 08ba8a7687 Fix GC pauses! 10 months ago
A.Olokhtonov 1f983f3389 Fix multiplayer, add mouse wheel panning 10 months ago
A.Olokhtonov c893a73ec5 You can draw once again! 10 months ago
A.Olokhtonov 847fb70381 Don't repeat points segment points. Introduce "tv" (typedvector) 10 months ago
A.Olokhtonov 9bbab32369 Try to speed up the LOD calculation with a cache (kinda succesfull, but not really) 11 months ago
A.Olokhtonov a60c3d1948 Recompute LODs and instance data on demand - ??? - it works??? 11 months ago
A.Olokhtonov 248501e50f Remove recursive allocations from process_rdp 11 months ago
A.Olokhtonov 1438b0ad73 LODs work! Need to fix that memory usage though 11 months ago
A.Olokhtonov 60fc48b1e7 Fix dynamic draw to use indexed, and thus the same shader as main 11 months ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 12 months ago
A.Olokhtonov a991cf3247 BVH construction and modification 12 months ago
A.Olokhtonov 7e3b6156c0 Render stroke_id to a small texture 1 year ago
A.Olokhtonov 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) 1 year ago
A.Olokhtonov 14faef4146 Better draw->move cancellation. Instead of not registering short strokes, cancel them for all users if we registered a second finger during the time window. 1 year ago
A.Olokhtonov c5928dd5bd Do not upload whole static buffer, instead use glBufferSubData. This commit fixes lag (and skipped iinputs) when other people are drawing 1 year ago
A.Olokhtonov eefbb8ef75 Do not upload buffers each frame (DUH!), re-introduce dynamic data, set headers in caddy to enable precise timings 1 year ago
A.Olokhtonov c1fd46da53 We have achieved good AA! 1 year ago
A.Olokhtonov 01db70cab0 Good speed (quad per line segment). Need to figure out rounding 1 year ago
A.Olokhtonov e3ae4cf6cd Upload whole point buffer, and align its size to 8K 1 year ago
A.Olokhtonov 46587068e6 Limit max points per quad, fix wrong rounding of texture size 1 year ago
A.Olokhtonov f72cbf5941 SDF bull fixed boxes + passed stroke width to shader 1 year ago