windows_gpu_recovery 0.1.0
windows_gpu_recovery: ^0.1.0 copied to clipboard
Flutter Windows plugin that recovers from EGL_CONTEXT_LOST / D3D11 device removed (DXGI_ERROR_DEVICE_REMOVED) after system sleep or GPU driver reset. Uses a sentinel D3D11 device for detection and a V [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add windows_gpu_recoveryThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
windows_gpu_recovery: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:windows_gpu_recovery/windows_gpu_recovery.dart';