mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Postpone call to get_current_texture (#3914)
This should help slightly with CPU/GPU parallelism when vsync is on. I also return the time spent on vsync, which can help users figure out how much CPU wall-time was used on non-vsync stuff
This commit is contained in:
@@ -53,6 +53,7 @@ glow = "0.13"
|
||||
puffin = "0.18"
|
||||
raw-window-handle = "0.6.0"
|
||||
thiserror = "1.0.37"
|
||||
web-time = "0.2" # Timekeeping for native and web
|
||||
wgpu = { version = "0.19.1", default-features = false, features = [
|
||||
# Make the renderer `Sync` even on wasm32, because it makes the code simpler:
|
||||
"fragile-send-sync-non-atomic-wasm",
|
||||
|
||||
Reference in New Issue
Block a user