1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 14:50: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:
Emil Ernerfeldt
2024-01-29 18:06:21 +01:00
committed by GitHub
parent 1d1b07c6b2
commit 21253d844e
6 changed files with 55 additions and 27 deletions

View File

@@ -45,6 +45,7 @@ bytemuck = "1.7"
log = { version = "0.4", features = ["std"] }
thiserror.workspace = true
type-map = "0.5.0"
web-time.workspace = true
wgpu = { workspace = true, features = ["wgsl"] }
#! ### Optional dependencies