1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00

eframe: Remove warm-starting (#3574)

This was an ill-supported feature with little benefit or use.
This commit is contained in:
Emil Ernerfeldt
2023-11-19 11:21:38 +01:00
committed by GitHub
parent 74862bd129
commit a23b959fd4
5 changed files with 7 additions and 75 deletions

View File

@@ -212,18 +212,6 @@ pub trait App {
fn persist_egui_memory(&self) -> bool {
true
}
/// If `true` a warm-up call to [`Self::update`] will be issued where
/// `ctx.memory(|mem| mem.everything_is_visible())` will be set to `true`.
///
/// This can help pre-caching resources loaded by different parts of the UI, preventing stutter later on.
///
/// In this warm-up call, all painted shapes will be ignored.
///
/// The default is `false`, and it is unlikely you will want to change this.
fn warm_up_enabled(&self) -> bool {
false
}
}
/// Selects the level of hardware graphics acceleration.