Commit graph

66 commits

Author SHA1 Message Date
elenatorro
0dbf00a767 🔧 Use with_state and with_current_state macros allowing static_mut_refs only on STATE 2025-03-07 15:24:04 +01:00
elenatorro
3a8ba4cbee 🔧 Avoid using global static mut variables when possible 2025-03-07 15:07:31 +01:00
Belén Albeza
aa468e2153
🎉 Render plain text
* 🎉 Serialize text content (wasm)

* ♻️ Refactor functions in main to wasm module

* 🎉 Stub rendering of paragraph text (wasm)

* 📎 Clean up commented code
2025-03-04 11:54:52 +01:00
alonso.torres
80d5272248 Serialize layout data 2025-02-25 15:43:12 +01:00
alonso.torres
c48d862d0f 🐛 Fix problem with gradient in strokes 2025-02-25 11:29:57 +01:00
alonso.torres
8c1e18b1cd 🐛 Fix problem with images 2025-02-20 17:57:36 +01:00
Alonso Torres
6cb1aa24cd
Add constraints calculation on WASM (#5894)
*  Add constraints calculation on WASM

*  Fix after review
2025-02-19 10:40:04 +01:00
alonso.torres
400e5f60f2 🐛 Fix problem with cache 2025-02-18 10:00:57 +01:00
Alejandro Alonso
64e6d0b1f8 🐛 Fix wasm glitches 2025-02-13 15:16:45 +01:00
AzazelN28
f8d58cb74e 🎉 Feat masks 2025-02-13 12:54:18 +01:00
alonso.torres
3dcabc9502 Use skia matrix for internal data 2025-02-11 16:49:43 +01:00
alonso.torres
1bb337c3dd Add support for WASM transforms 2025-02-11 12:36:44 +01:00
Alejandro
8f11a925df
🎉 Non blocking render wasm (#5726) 2025-02-10 11:46:56 +01:00
Alejandro
09131f7533
🎉 Render drop shadows (wasm) (#5693)
Co-authored-by: Belén Albeza <belen@hey.com>
2025-01-28 15:10:06 +01:00
Alejandro Alonso
79df616108 🎉 Basic wasm support for svg attrs and svg defs 2025-01-22 15:47:36 +01:00
Alejandro Alonso
751df46dc9 🎉 Basic wasm fonts support 2025-01-22 15:46:23 +01:00
Alejandro Alonso
6335a183ba 🎉 Improve error messages 2025-01-22 15:46:23 +01:00
Belén Albeza
2f80d337ad 🐛 Fix WebGL warning when switching pages 2025-01-20 12:41:39 +01:00
Belén Albeza
4d4bf1edd1
Merge pull request #5529 from penpot/azazeln28-refactor-panning-perf
♻️ Refactor panning perf
2025-01-14 15:26:03 +01:00
Belén Albeza
6e7a8c239c 🎉 Implement rounded corners 2025-01-14 11:26:38 +01:00
AzazelN28
10b32de447 ♻️ Refactor panning/zoom rendering 2025-01-13 15:53:23 +01:00
Alejandro Alonso
7cc33b1a1a 🎉 Render wasm blur support 2025-01-13 07:48:11 +01:00
Belén Albeza
4e5f67676c 🎉 Implement boolean operations (wasm) 2025-01-09 17:14:48 +01:00
Alejandro Alonso
13ec04dd65 🎉 Stroke caps support for wasm render 2025-01-09 11:58:36 +01:00
Alejandro Alonso
2467e033b7 🎉 Stroke style support for wasm render 2025-01-03 16:39:55 +01:00
Alejandro Alonso
beb9120b2b 🎉 Basic strokes wasm support 2025-01-03 08:32:05 +01:00
Belén Albeza
21da6ddd4a 🐛 Fix blend mode against background 2024-12-11 16:52:13 +01:00
Belén Albeza
9f7428d44a ♻️ Fix visibility of Shape properties 2024-12-10 16:07:33 +01:00
Belén Albeza
967bc75a1c ♻️ Move rendering a single shape to the shape itself 2024-12-10 15:29:49 +01:00
Alejandro Alonso
307329cf2e 🎉 Render wasm ellipses support 2024-12-10 14:31:26 +01:00
Belén Albeza
33e70a4108
Merge pull request #5410 from penpot/superalex-radial-gradients-wasm-render
🎉 Support for radial gradients with wasm render
2024-12-10 14:18:09 +01:00
Alejandro Alonso
e1d9efea7f 🎉 Suport for show-content in render wasm 2024-12-10 10:28:11 +01:00
Alejandro Alonso
09aa4529f8 🎉 Support for radial gradients with wasm render 2024-12-10 07:05:59 +01:00
Belén Albeza
99bb3ee962 🎉 Render path fills 2024-12-09 16:06:15 +01:00
Belén Albeza
0bfcc1f854 🎉 Deserialize shape data in wasm 2024-12-09 15:48:45 +01:00
AzazelN28
22b01c63b5 🎉 Serialize data in clojure 2024-12-09 15:48:44 +01:00
Alejandro Alonso
07215357d6 🎉 Hidden layer support for wasm render 2024-12-05 15:10:15 +01:00
Belén Albeza
6623963a7f Use a static Vec<u8> to handle shared memory 2024-12-04 09:47:31 +01:00
Belén Albeza
58c4e53ee4 ♻️ Refactor image fills 2024-12-03 14:34:07 +01:00
Belén Albeza
7105e49ac2 ♻️ Refactor adding gradient stops 2024-12-03 13:49:29 +01:00
Alejandro Alonso
0a3c6f38ef 🎉 Render wasm fill images 2024-12-03 13:08:19 +01:00
Alejandro Alonso
a4cfaa542c 🎉 Refactor memory managemnt for color linear gradient stops 2024-12-02 12:54:56 +01:00
Belén Albeza
00ab9ad3f0 ♻️ Refactor blend mode and fills into their own submodules 2024-11-29 11:46:45 +01:00
Belén Albeza
2d4281bdf2 Use u32 as color args for wasm 2024-11-29 11:34:18 +01:00
Belén Albeza
c8e322cd58 🎉 Render liner gradient fills 2024-11-28 16:51:28 +01:00
Belén Albeza
db9c93f3bf Render with dpr 2024-11-27 12:38:17 +01:00
Belén Albeza
3e99de19f5 ♻️ Refactor debug options into its own struct, along with dpr 2024-11-25 16:01:19 +01:00
Alejandro Alonso
d09e5ef9b3 🎉 Shape opacity for wasm render 2024-11-25 09:26:49 +01:00
Alejandro Alonso
0b5e915af9 🎉 Improve performace for zoom and pan with wasm render 2024-11-22 09:46:46 +01:00
Belén Albeza
6fd6074934 💄 Format rust code 2024-11-21 17:23:49 +01:00