mirror of
https://github.com/flectar/mail.git
synced 2026-11-11 17:57:54 +00:00
12 lines
498 B
Plaintext
12 lines
498 B
Plaintext
export global RendererSettings {
|
|
in property <string> preferred: "cpu";
|
|
in property <string> active: "cpu";
|
|
in property <bool> gpu-supported: false;
|
|
in property <bool> available: true;
|
|
in property <string> error;
|
|
// GPU startup failed, so this process fell back to CPU.
|
|
in property <bool> gpu-failed: false;
|
|
out property <bool> restart-required: RendererSettings.gpu-supported && RendererSettings.preferred != RendererSettings.active;
|
|
callback choose(string);
|
|
}
|