CI / core (push) Successful in 1m37s
GPUI's vsync thread invalidates the window at every vsync, minimised too, and each WM_PAINT went through GPUI, which has no frame to draw then, and DefWindowProc: the UI thread spent more minimised than visible (budget 3). A subclass validates the paint while the window is iconic. On the manual checks machine (240 Hz), minimised: 3.03 % of one core before, 0.22 % after; the window draws again on restore. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0192He3DgZBggc9wJG9c1nqA
38 lines
1.2 KiB
TOML
38 lines
1.2 KiB
TOML
[package]
|
|
name = "arena-tracker"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
|
|
[features]
|
|
profile = ["gpui-kit/profiler"]
|
|
|
|
[dependencies]
|
|
arena-tracker-core = { path = "../core" }
|
|
base64 = { version = "0.23.1", default-features = false, features = ["std"] }
|
|
gpui-kit = "=0.9.1"
|
|
# Decodes the banner's splash at low priority (the same version as GPUI's and the core's).
|
|
image = { version = "0.25.10", default-features = false, features = ["jpeg"] }
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
raw-window-handle = "0.6"
|
|
windows = { version = "0.62", features = [
|
|
"Win32_Graphics_Gdi",
|
|
"Win32_Security",
|
|
"Win32_System_LibraryLoader",
|
|
"Win32_System_Registry",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
# The GPUI that gpui-kit pins (upgrade them together), for its test context. Not gpui-kit's own
|
|
# test-support: its gpui-fast features would force older wgpu and others into Cargo.lock.
|
|
gpui = { package = "gpui-pre", version = "=0.3.12", features = ["test-support"] }
|
|
# Splits the Arena champ select capture into its frames (the same version as the core's).
|
|
serde_json = "1.0.154"
|
|
|
|
[build-dependencies]
|
|
embed-resource = "3.0.12"
|