Commit graph

63 commits

Author SHA1 Message Date
Alejandro Alonso
7728d5b317 🎉 Improve performance reducing unnecessary calls to set-objects 2025-03-27 15:47:03 +01:00
Andrey Antukh
ebf3730454
Normalize the content prop from bool type (#6162)
Make it the same as path shape, because they are essentially the
same data type
2025-03-27 11:15:48 +01:00
Alonso Torres
83d41dba6f
Serialization of grid layout data (#6148)
*  Add serializators for grid layout properties

*  Extract serializers for wasm api module
2025-03-26 12:10:31 +01:00
Alejandro
065b50f5a2
🐛 Fix asynchronous content dependant rendering (#6142)
* 🐛 Fix custom fonts rendering

* 🐛 Fix asynchronous content dependant rendering

* 🎉 Renaming clear_cache to clear_drawing_cache
2025-03-25 09:49:47 +01:00
alonso.torres
a830c27ceb Improvements on flex layout positioning 2025-03-21 10:18:34 +01:00
Aitor Moreno
084816fb9f 🎉 Tile rendering system 2025-03-20 11:14:14 +01:00
Alonso Torres
fa0da3a695
Flex layout modifiers wasm implementation
*  Flex layout modifiers wasm implementation

*  Flex auto modifiers propagation
2025-03-17 10:46:32 +01:00
Belén Albeza
eb6d2fb0eb
🎉 Store custom fonts (ttfs) and use them to write texts (wasm) (#6050) 2025-03-14 12:45:15 +01:00
alonso.torres
ba4554da79 🐛 Fix problem with reverse config in flex 2025-03-07 09:23:07 +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
Elena Torró
e30834bb2d
Enable WEBGL_debug_renderer_info extension before initializing the render (#5959) 2025-02-26 11:32:27 +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
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
ce67550195
🐛 Avoid extra render calls on page initialization with wasm render (#5701) 2025-01-29 10:50:27 +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
e7c06fed22 🎉 Improve clipping objects for wasm render 2025-01-24 09:15:41 +01:00
AzazelN28
fb4e92d0e8 ♻️ Refactor to make it more ECS friendly 2025-01-22 15:47:36 +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
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
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
4c83899d69 Only take fills for non-groups 2024-12-09 16:17:55 +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
AzazelN28
f564b4e66d 🎉 Add debug options to wasm 2024-12-05 16:36:42 +01:00
Alejandro Alonso
07215357d6 🎉 Hidden layer support for wasm render 2024-12-05 15:10:15 +01:00
Alejandro
7c7ede9d0c
Merge pull request #5403 from penpot/ladybenko-wasm-save-buffer-pointer
Wasm save buffer pointer
2024-12-05 08:58:35 +01:00
Belén Albeza
0828d2e092
Merge pull request #5411 from penpot/niwinz-routing-refactor
♻️ Refactor application routing
2024-12-04 15:31:07 +01:00
Belén Albeza
6623963a7f Use a static Vec<u8> to handle shared memory 2024-12-04 09:47:31 +01:00
Alejandro Alonso
0a3c6f38ef 🎉 Render wasm fill images 2024-12-03 13:08:19 +01:00