Konkitoman
76d3873b47
Better names
2023-11-01 21:27:27 +02:00
Konkitoman
2b8e5b5896
Fix crash when rendering a sync viewport in a sync viewport
2023-11-01 21:00:14 +02:00
Emil Ernerfeldt
72a7ee4606
fix typo
2023-11-01 19:05:20 +01:00
Emil Ernerfeldt
e5dab1eec9
Less RefCell in parameters
2023-11-01 19:04:16 +01:00
Emil Ernerfeldt
7340acf7b3
Less RefCell in parameters
2023-11-01 19:03:43 +01:00
Emil Ernerfeldt
2eb1240648
Less RefCell in parameters
2023-11-01 19:02:46 +01:00
Emil Ernerfeldt
7c1af06cc9
Less RwLock
2023-11-01 19:00:57 +01:00
Emil Ernerfeldt
9fce858c5f
Less RwLock in parameters
2023-11-01 18:52:00 +01:00
Emil Ernerfeldt
3d1ee1bafa
Replace some Arc with Rc to make it clear what is thread-local
2023-11-01 18:45:16 +01:00
Emil Ernerfeldt
0c9673b75f
Fix broken doclinks
2023-11-01 18:44:06 +01:00
Emil Ernerfeldt
ec39563183
Use less RwLocks and Arcs in public interfaces
2023-11-01 18:43:13 +01:00
Emil Ernerfeldt
521678b5d9
Simplify another function signature
2023-11-01 18:35:17 +01:00
Emil Ernerfeldt
f6c5e71870
Simplify function signature
2023-11-01 18:27:02 +01:00
Emil Ernerfeldt
abc70ccf9c
Misc code cleanup
2023-11-01 18:19:19 +01:00
Emil Ernerfeldt
678a3b035e
Replace RwLock with RefCell in thread_local
2023-11-01 18:19:01 +01:00
Emil Ernerfeldt
9f926d4d03
Lint: vertical spacing
2023-11-01 17:13:11 +01:00
Emil Ernerfeldt
06af7490a6
Merge branch 'master' into multiples_viewports
2023-11-01 17:04:59 +01:00
Emil Ernerfeldt
f218825d94
Update ahash 0.8.3 -> 0.8.6 ( #3518 )
...
Updating crates.io index
Updating ahash v0.8.3 -> v0.8.6
Adding zerocopy v0.7.21
Adding zerocopy-derive v0.7.21
2023-11-01 17:04:48 +01:00
Emil Ernerfeldt
cc31695c03
Remove unused use statment
2023-11-01 17:02:02 +01:00
Emil Ernerfeldt
a57a3d03e9
Add to semicolons to silence clippy
2023-11-01 17:01:03 +01:00
Konkitoman
9b32dd7fb5
Refactor and update docs
2023-10-25 13:30:35 +03:00
Konkitoman
d6c2f3e8f3
Fix pixels per point for multiples viewports
...
Fix ./scripts/check.sh errors
2023-10-22 17:15:21 +03:00
Konkitoman
b4224566ed
Now all viewports repaint when pixels_per_point are changed
...
Added zoom shortcuts for viewports example
2023-10-20 20:52:34 +03:00
Konkitoman
239a807a8f
Fix default viewport size and added a range on pixels_per_point
2023-10-20 19:03:41 +03:00
Konkitoman
84ef02d9f5
eframe WGPU:
...
* Fix msaa and depth textures for multiples viewports
* Fix panic when the width or height was 0
2023-10-20 18:40:11 +03:00
Konkitoman
fb026298fe
Added pixels per point in viewports example
2023-10-20 15:39:35 +03:00
Konkitoman
cc78ecb7ba
Fix X11 invalid outer_position, inner_position, outer_size, inner_size, set_outer_position, set_inner_position and is making resizing smooter
2023-10-20 15:07:56 +03:00
Konkitoman
9e89188ebe
Fix trying to render not existent viewport resulting in 100% cpu usage
2023-10-19 20:05:21 +03:00
Konkitoman
f5e1d0869e
Fixing:
...
* Fix web
* Fix errors from ./scripts/check.sh
2023-10-19 18:50:48 +03:00
Konkitoman
ec37d3861a
Fix pure glow
2023-10-19 16:52:34 +03:00
Konkitoman
4f1696cf9c
big refractor
...
egui:
* removed FullOutput::repaint_after
* now for redraw only request_repaint_callback is used!
* now on every Context::request_repaint() will repaint only once
* exposed Context::requested_repaint and Context::requested_repaint_last_frame
eframe:
* now event result is returned as EventResult insted of Vec<EventResult>
* fix to many redraw requests
----:
* fix egui not waking when a repaint was from other thread
* now every thing feels more responsive!
2023-10-19 15:53:38 +03:00
Konkitoman
b1e7fafe70
egui:
...
* now every viewport has his own frame_nr
eframe:
* some refactoring
* now on Windows spinner will make the async viewport refresh, this problem was only for async viewport in Windows
* problem found there are two redraw systems, one was broken now is fixed, the one that was broken on Linux X11 was not needed, but for Windows both are needed!
1: The egui repaint_callback system
2: The egui repaint_after from FullOutput
2023-10-18 18:47:16 +03:00
Konkitoman
701d31a887
Viewports example:
...
* fix typo
* fix == instead of !=
* added a spinner, to see if the redraw request are working as supposed to!
2023-10-18 15:20:21 +03:00
Konkitoman
7f1a1e3b2e
Now in ViewportBuilder has close_button and drag_and_drop enabled by default!
...
Fix Windows not rendering a sync viewport in a sync viewport
2023-10-18 14:50:42 +03:00
Konkitoman
954366ef7f
eframe: refactor code to be more compact and faster
2023-10-11 21:08:07 +03:00
Clement Rey
fd75adb3a0
migrate to mime_guess2 ( #3456 )
2023-10-11 14:24:55 +02:00
Konkitoman
e21ed4ff1f
refactored the viewports example
...
I added drag and drop on every viewport, to make possible in the future to drag and drop between viewports
2023-10-09 21:21:46 +03:00
Emil Ernerfeldt
b5e3502067
Add link checking to CI ( #3445 )
...
* Add link checking to CI, plus another spell checker
* Only spell-check markdown
* Avoid rate-limiting
* Fix some links
* Disable cspell
2023-10-08 09:30:54 +02:00
Emil Ernerfeldt
4cbe930d9a
Update ureq, plist, ron ( #3446 )
...
* Update ureq to 2.8.0
* Update ron and plist
2023-10-07 19:12:27 +02:00
Emil Ernerfeldt
38b4234c32
Add #[inline] to all color-related function
2023-10-07 18:11:16 +02:00
Emil Ernerfeldt
2bc2fb9c39
Fix some lints found by clippy 1.73
2023-10-06 09:01:31 +02:00
Konkitoman
287f7041f6
Fix typos and expose Context::is_desktop
2023-09-30 10:22:17 +03:00
Konkitoman
424303650b
Update ViewportBuilder, documentation and implementation
2023-09-30 10:11:22 +03:00
Konkitoman
7caa042b92
Merge branch 'master' of https://github.com/emilk/egui into multiples_viewports
2023-09-30 09:39:45 +03:00
Konkitoman
73f14c9b0a
Update crates/eframe/src/native/run.rs
...
Co-authored-by: Emil Ernerfeldt <emil.ernerfeldt@gmail.com >
2023-09-28 19:04:37 +03:00
Emil Ernerfeldt
12b6f2c3a0
Fix doc-link to egui_extras::install_image_loaders
2023-09-28 13:58:35 +02:00
Emil Ernerfeldt
d975c1a401
Fix HTTP web demo ( #3407 )
...
* Revert ttf-parser from 0.19.2 to 0.19.1
0.19.2's doesn't work with wasm in debug builds
* Update to poll-promise 0.3.0
* Publish new web demo
* Fix typo in changelog
* Explain why image_viewer is not part of the official web demo app
* Fix typos
* Make rfd native-only dependency
2023-09-28 12:06:55 +02:00
Emil Ernerfeldt
5a0186fa2b
Release 0.23.0 - New image API
0.23.0
2023-09-28 08:44:33 +02:00
Emil Ernerfeldt
9b2bcdb4a2
New web demo for 0.23
2023-09-27 16:43:53 +02:00
Emil Ernerfeldt
9a947e5547
Final image API doc tweaks
2023-09-27 16:40:26 +02:00