GPURequestAdapterOptions constructor

GPURequestAdapterOptions({
  1. String powerPreference,
  2. bool forceFallbackAdapter,
})

powerPreference is "low-power" or "high-performance", and forceFallbackAdapter asks for the software implementation — which is how whoever is chasing a driver bug gets a second opinion on the same machine.

Implementation

external factory GPURequestAdapterOptions({
  String powerPreference,
  bool forceFallbackAdapter,
});