Commit graph

1885 commits

Author SHA1 Message Date
3ac46bc8dc Make sure subscribed-to 'children' reactive values stay alive in ui::component_factory_base 2024-08-01 22:24:05 +03:00
9f063218bf Add debug markers to react::value internal nodes to track their lifetime 2024-08-01 22:23:18 +03:00
367f82a01f New UI library internals redesign: add global event_state, add delayed events queue, fix reshaping & subscribing to size_constraints 2024-07-31 15:55:23 +03:00
7151fef7a8 Redesign psemek::sdl2 cursor api 2024-07-30 23:51:49 +03:00
13862d8b47 Fix handling state in ui::impl::button_base 2024-07-30 23:51:28 +03:00
7346aff9f6 Fix ui::impl::box_layout_base handling added elements 2024-07-30 13:03:41 +03:00
9234a28344 Support animating UI components 2024-07-29 19:04:04 +03:00
ddaf2407a9 Fix math overflow crash in computing profiling statistics 2024-07-29 14:16:51 +03:00
3856fdd827 UI library wip: implement frame, extend & move 2024-07-29 13:24:14 +03:00
8cc3356eb1 Add ui::impl::renderer 2024-07-29 11:11:20 +03:00
d7b68e44a8 Fix updating size policies in ui::impl::box_layout_base 2024-07-29 11:11:10 +03:00
b32a891183 Bugfix in ui::impl::button_base 2024-07-29 11:09:33 +03:00
1ed8b28633 Bugfix in react::map_vector 2024-07-29 11:09:19 +03:00
ae815ec538 UI library wip: event handling, auto-layout, basic layouts & buttons 2024-07-28 19:28:38 +03:00
546c0f2a7b Support subscribing to react::value forever 2024-07-28 19:28:02 +03:00
018f3ae0b0 Replace ui::size_polygon with simpler 2d box 2024-07-21 14:32:57 +03:00
325dc01757 Separate show_mouse and relative_mouse_mode 2024-07-20 02:17:22 +03:00
d2ba791be1 Support subscribing to util::signal without the need to keep the subscription token 2024-07-19 21:14:38 +03:00
403e24bf4c Add null ecs handle for convenience 2024-07-19 00:35:37 +03:00
5df29246a5 Fix util::at(vector) 2024-07-17 19:43:54 +03:00
058505e9f0 Support explicitly creating & destroying profiler frames 2024-07-12 17:58:18 +03:00
54fb90214f Add missing non-template methods for hash table 2024-07-11 18:22:08 +03:00
99ca3ec2eb Bugfix in ecs query caches: store the component UUIDs in vectors instead of hash sets, because the order of components matters 2024-07-10 21:21:05 +03:00
e3750707bc Refactor geom::pointwise* and add geom::pointwise_pow 2024-07-04 22:58:18 +03:00
e55a98c2a0 Add ecs::accessor::contains(uuid) 2024-06-27 16:51:25 +03:00
b73a37deea Add vecr::closed(path) 2024-06-22 01:17:02 +03:00
bae1fb8c08 Support overall primitive alpha in vecr::renderer 2024-06-22 01:16:51 +03:00
b8ad66732a Add vecr::replace blend mode 2024-06-22 01:16:29 +03:00
17e23e41d4 Support specular highlight in vecr lighting colorizer 2024-06-22 01:16:15 +03:00
b290bfb063 Fix vecr::any unnecessarily moving objects 2024-06-22 01:15:48 +03:00
bced20ddc6 Add bt::by_index node 2024-06-19 16:39:33 +03:00
37a3d7f827 Fix ecs::dispatcher to work with ecs::without 2024-06-19 14:37:09 +03:00
bd202d08ae Add wgpu to windows packaging 2024-06-18 12:35:39 +03:00
7218730e7c Add wgpu to linux packaging 2024-06-18 12:35:22 +03:00
7537338bdb Create the packaging output directory before packaging 2024-06-18 12:35:12 +03:00
85031e0d59 Support globbing in psemek_package_files 2024-06-17 23:41:26 +03:00
faacf6dbc0 Tiny fix in ecs accessor is_empty constness 2024-06-16 20:41:39 +03:00
4b9591885a Fix audio::channel::is_stopped 2024-06-16 20:41:24 +03:00
aa32b09fca Support matrices in gltf_accessor_iterator 2024-06-08 17:33:14 +03:00
6d13bfa407 Load gltf skin names 2024-06-08 17:32:57 +03:00
b9a6fbf99f Add non-const accessors to gfx::gltf_animation channels 2024-06-08 17:07:41 +03:00
ea037acbc0 Use 5%-accurate log-bucketing statistics in profiler 2024-06-03 23:25:50 +03:00
30877401a3 Add log-bucketing statistics in util 2024-06-03 23:25:29 +03:00
6c5815ff76 Add util::spatial_array::empty 2024-06-03 23:25:14 +03:00
488290be4f Refactor util::statistics and use a more robust mean & variance computation algorithm 2024-06-03 21:00:19 +03:00
f8c52bcfe2 Use truncated normal distribution for percentile approximation in util::statistics_lite 2024-06-03 20:32:26 +03:00
47b772a432 Use statistics_lite in profiler by default 2024-06-03 18:15:52 +03:00
ad36acf238 Fix memory leak in wgpu lib 2024-06-03 18:15:33 +03:00
22a57f91db Huge refactor: use util::hash_table instead of std::unordered everywhere 2024-06-03 14:36:39 +03:00
e79266d7e2 Make util::hash_table::empty() const 2024-06-03 14:36:09 +03:00