43 Commits (68c892ba5fc6dd1177a6c1dedabf7dea09e643d7)

Author SHA1 Message Date
A.Olokhtonov 48e9dd9a3e Remove stupid try catch from webgl_draw 7 months ago
A.Olokhtonov 221e2a5aed Fix bvh fullnodes returning full buffer instead of tv_data. Skip handling of empty strokes 7 months ago
A.Olokhtonov c3f66d966c Determinitstic zooming 7 months ago
A.Olokhtonov f6573e7bb9 Correcty complute total point count. Only call glClear once workers have finished LOD. Only allow next draw() call after we finished rendering frame 8 months ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 8 months ago
A.Olokhtonov 6f19e6c954 Uneven capsules (and a very naive shader) to draw getter variable-width lines 10 months ago
aolo2 704c833c16 First working draft of pressure hanlding 10 months ago
A.Olokhtonov 99bd99a465 Follow and unfollow players like in Figma 10 months ago
A.Olokhtonov ee1d1471f4 Pretty(er) player cursor: bright colors and an actual icon 10 months ago
A.Olokhtonov d8a5cd3fca Draw player pointers as colored squares with html 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 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 31a0b0113a Prototype: separate per-quad data using instanced rendeding and per-stroke data using a texture 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 fdca3e6b07 Fix epsilon calculation for RDP 11 months ago
A.Olokhtonov 7b53c7215e Fix predraw artifacts by making the lines too fat at far zoomout 11 months ago
A.Olokhtonov 72eedf9b48 Fix dynamic data 12 months ago
A.Olokhtonov a991cf3247 BVH construction and modification 12 months ago
aolo2 1691bd07ae Milton blackboard import 12 months ago
A.Olokhtonov 7752e41bf5 Separate CPU and GPU timings in debug window 12 months ago
A.Olokhtonov 1bc6f2c3fe No clipping at zoom < 0.3. Really fast 1 year ago
A.Olokhtonov 316d0fedc9 Use correct rendering order.. 1 year ago
A.Olokhtonov e86ffd6508 Depth prepass with simplified opaque shapes 1 year ago
A.Olokhtonov 7e3b6156c0 Render stroke_id to a small texture 1 year ago
A.Olokhtonov 0d8667aa3a Use TypedArray for culling. This is up to 10 times faster! 1 year ago
A.Olokhtonov e41997563f Faster clipping 1 year ago
A.Olokhtonov 46cd48fecd Cull segments, switch to indexed drawing (only for static data for now) 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 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
A.Olokhtonov 69feb482a2 sdf bullshit (almost working) 1 year ago
A.Olokhtonov 6f446b7d13 Fwidth in the shader for "more gooder" AA 2 years ago
A.Olokhtonov 8b3f28337e SDF town 2 years ago
A.Olokhtonov 8557c5d47e Caps and joints via fragment shader 2 years ago
A.Olokhtonov 31b18e69a0 Images moving around, paste image from clipboard 2 years ago
A.Olokhtonov ac0d8f7605 Betta websocket reconnect 2 years ago