egui/crates
Emil Ernerfeldt 4d1a736016
Add `WgpuConfiguration::desired_maximum_frame_latency` (#3874)
Setting `desired_maximum_frame_latency` to a low value should
theoretically lead to lower latency in winit apps using `egui-wgpu`
(e.g. in `eframe` with `wgpu` backend).

* Replaces https://github.com/emilk/egui/pull/3714
* See also https://github.com/gfx-rs/wgpu/pull/4899

----

It seems like `desired_maximum_frame_latency` has no effect on my Mac. I
lowered my monitor refresh-rate to 30Hz to test, and can see no
difference between `desired_maximum_frame_latency` of `0` or `3`.

Before when experimenting with changing the global `DESIRED_NUM_FRAMES`
in `wgpu` I saw a huge difference, so I wonder what has changed.

I verified that `set_maximum_drawable_count` is being called with either
`1` or `2`, but I perceive no difference between the two.
2024-01-24 09:36:17 +01:00
..
ecolor Use `Self` everywhere (#3787) 2024-01-08 17:41:21 +01:00
eframe Fix Android crash on resume (#3847) 2024-01-22 12:13:28 +01:00
egui Add some drag-and-drop-related APIs in `Response` and `Memory` (#3876) 2024-01-24 09:32:38 +01:00
egui-wgpu Add `WgpuConfiguration::desired_maximum_frame_latency` (#3874) 2024-01-24 09:36:17 +01:00
egui-winit `egui_winit`: Allow getting the `clipboard` and `allow_ime` state (#3724) 2024-01-23 12:49:28 +01:00
egui_demo_app Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_demo_lib Make `egui_plot::PlotMemory` public (#3871) 2024-01-23 09:47:47 +01:00
egui_extras Use a selectable label for syntax-highlighted text in egui_extras 2024-01-22 14:47:58 +01:00
egui_glow Update wgpu to 0.19 (#3824) 2024-01-19 10:14:13 +01:00
egui_plot Make `egui_plot::PlotMemory` public (#3871) 2024-01-23 09:47:47 +01:00
egui_web Fix typos (#2866) 2023-04-18 15:52:45 +02:00
emath Add `Align2::anchor_size` (#3863) 2024-01-22 16:47:50 +01:00
epaint Add `Align2::anchor_size` (#3863) 2024-01-22 16:47:50 +01:00