Commit graph

32 commits

Author SHA1 Message Date
Aitor Moreno
ef95e3ecb0 ♻️ Refactor tile iteration 2025-05-19 16:24:52 +02:00
Belén Albeza
8afd217a80
🔧 Enable back clippy rules (#6492)
* 🔧 Fix lint script (rust)

* 🔧 Temporarily add clippy rules to ignore so lint script passes

* 💄 Fix clippy rule crate_in_macro_def

* 💄 Fix clippy rule redundant-static-lifetimes

* 💄 Fix clippy rule unnecessary_cast

* 💄 Fix clippy rule nonminimal_bool

* 💄 Fix clippy rule redundant_pattern_matching

* 💄 Fix clippy rule assign_op_pattern

* 💄 Fix clippy rule needless_lifetimes

* 💄 Fix clippy rule for_kv_map

* 💄 Fix clippy rule ptr_arg

* 💄 Fix clippy rule match_like_matches_macro

* 💄 Fix clippy rule macro_metavars_in_unsafe

* 💄 Fix clippy rule map_clone

* 💄 Fix clippy rule wrong_self_convention

* 💄 Fix clippy rule vec_box

* 💄 Fix clippy rule useless_format

* 💄 Fix clippy rule unwrap_or_default

* 💄 Fix clippy rule unused_unit

* 💄 Fix clippy rule unnecessary_to_owned

* 💄 Fix clippy rule too_many_arguments

* 💄 Fix clippy rule slow_vector_initialization

* 💄 Fix clippy rule single_match

* 💄 Fix clippy rule redundant_field_names

* 💄 Fix clippy rule rendudant_closure

* 💄 Fix clippy rule needless_return

* 💄 Fix clippy rule needless_range_loop

* 💄 Fix clippy rule needless_borrows_for_generic_args

* 💄 Fix clippy rule needless-borrow

* 💄 Fix clippy rule missing_transmute_annotations

* 💄 Fix clippy rule map_entry

* 💄 Fix clippy rule manual_map

* 💄 Fix clippy rule len_zero

* 💄 Fix clippy rule from_over_into

* 💄 Fix clippy rule field_reassign_with_default

* 💄 Fix clippy rule enum_variant_names

* 💄 Fix clippy rule derivable_impls

* 💄 Fix clippy rule clone_on_copy

* 💄 Fix clippy rule box_collection

* 🔧 Make lint script also check test config target

* 🔧 Remove cargo-watch as a lib dependency

* 💄 Fix clippy rule for join_bounds

* 🔧 Fix lint script return code

---------

Co-authored-by: alonso.torres <alonso.torres@kaleidos.net>
2025-05-19 11:14:55 +02:00
Alejandro Alonso
03b4fe3558 🎉 Add shapes buffer to improve memory allocation 2025-05-09 15:00:02 +02:00
Aitor Moreno
caf13eb774 ♻️ Refactor how rebuild_tiles works 2025-04-24 07:34:35 +02:00
alonso.torres
daf048e258 Reparent modifiers 2025-04-16 11:27:51 +02:00
Alejandro Alonso
6953a57333 🎉 Avoid full tiles rebuild on set modifiers 2025-03-28 11:55:54 +01:00
Alejandro Alonso
7728d5b317 🎉 Improve performance reducing unnecessary calls to set-objects 2025-03-27 15:47:03 +01:00
Aitor Moreno
084816fb9f 🎉 Tile rendering system 2025-03-20 11:14:14 +01:00
elenatorro
3a8ba4cbee 🔧 Avoid using global static mut variables when possible 2025-03-07 15:07:31 +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
AzazelN28
10b32de447 ♻️ Refactor panning/zoom rendering 2025-01-13 15:53:23 +01:00
Belén Albeza
21da6ddd4a 🐛 Fix blend mode against background 2024-12-11 16:52:13 +01:00
Belén Albeza
db9c93f3bf Render with dpr 2024-11-27 12:38:17 +01:00
Belén Albeza
5ce6cbff6f ♻️ Refactor navigate() method 2024-11-26 16:13:14 +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
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
AzazelN28
f7ff3129ed 🎉 Render only visible shapes 2024-11-21 16:05:14 +01:00
Belén Albeza
dfe8f97f8d 🐛 Fix surface not being resized when viewport dimensions changed 2024-11-21 14:16:07 +01:00
Alejandro Alonso
ec8799d806 🎉 Improve performace for zoom and pan with wasm render 2024-11-21 12:05:38 +01:00
AzazelN28
2db1740ce8 🎉 Improve frame rendering 2024-11-20 14:09:18 +01:00
Belén Albeza
42211c4ed6 ♻️ Move shape render methods to RenderState 2024-11-15 14:56:21 +01:00
Belén Albeza
f56a665206 🐛 Fix drawing multiple shapes with different blend modes 2024-11-15 14:40:07 +01:00
Belén Albeza
263d7eb313 Draw fills offscreen to support blend mode when multiple fills 2024-11-15 08:51:37 +01:00
Belén Albeza
3eb24e7f5f ♻️ Refactor State (wasm) 2024-11-14 12:08:50 +01:00
Belén Albeza
3e06c17a38 ♻️ Refactor RenderState and GpuState 2024-11-14 11:47:10 +01:00
Belén Albeza
e45e8158b0 ♻️ Refactor current_shape in rust_wasm 2024-11-13 15:00:20 +01:00
Belén Albeza
669bca5fa5 ♻️ Remove unneeded display list for shapes 2024-11-13 10:59:03 +01:00
Alejandro Alonso
65ee2f9081 🎉 Save shape data in rust memory 2024-11-12 12:13:06 +01:00