22 Commits (500fd71d3e0b5796e3821f356f41cb28c9fa3610)

Author SHA1 Message Date
A.Olokhtonov 777772530f Batching is close to working. Not quite though 10 months ago
A.Olokhtonov ce824a8e31 Pass stroke widths to wasm (not actually writing any values right now, 10 months ago
Aleksey Olokhtonov 0c21579694 Boudning boxes debug draw. Fix missing mipmap warning. Fix dynamic stroke not drawing on empty canvas 11 months ago
A.Olokhtonov acb9aaa83d Fix misallocation of pressures tv_array 1 year ago
A.Olokhtonov c6f8bc4b5a Fix first stroke preview not showing 1 year ago
A.Olokhtonov 5871833cd1 (Probably) fix the nasty WASM mis-allocations 1 year ago
A.Olokhtonov eb66ffbcad Significantly improve stroke smoothing and pressure handling. "Fix" issue with underallocation of WASM memory by doubling the size 1 year ago
A.Olokhtonov 221e2a5aed Fix bvh fullnodes returning full buffer instead of tv_data. Skip handling of empty strokes 1 year ago
A.Olokhtonov acdbf73a26 Add new strokes to fullnodes. Strokes appear one too late though 1 year ago
A.Olokhtonov 6d9791d3e0 Cache full stroke lists in BVH levels (massive speedup!). Remove "line_threshold" array, since it has very little effect. 1 year ago
A.Olokhtonov 4f84509b16 Multithreading works! Kinda sorta (slows down in chrome, out of bounds accesses on phone) 2 years ago
A.Olokhtonov 2c01d315d6 A small test WASM module to demonstrate how to use shared memory and run multiple threads in WASM without Emscripten 2 years ago
A.Olokhtonov 6f78c0ae21 AoS -> SoA for point coordinates 2 years ago
A.Olokhtonov 58f2a60295 Fix wrong wasm allocation, remove unused js LOD code, take radius of stroke into account when doing LOD, reduce EPS for LOD 2 years ago
aolo2 704c833c16 First working draft of pressure hanlding 2 years ago
aolo2 71f1016a40 Store WASM-processed data in WASM memory 2 years ago
A.Olokhtonov 8abe88373f Skip copying out segments and segments_from. Use wasm_points and wasm_ids as is 2 years ago
A.Olokhtonov 3bf812df39 Move point writes to WASM, already a lot faster!!!! 2 years ago
A.Olokhtonov c9d1706b6e Fix final (???) WASM issue 2 years ago
A.Olokhtonov 1960bdebe9 LOD generation has been wassembled! (a little borked for now though) 2 years ago
A.Olokhtonov cf11f6c701 Successfull sum function in wasm :D 2 years ago
A.Olokhtonov 28fec7f306 Redraw HTML on canvas move, first draft of wasm LOD core 2 years ago