shouldUseGpuSurface property
bool
get
shouldUseGpuSurface
Whether the view should prefer the GPU/raster path (not cell painter).
True when preference allows GPU, latch is clear, and attach succeeded.
Real Texture requires textureId >= 0; raster path uses -1 with
gpuReady and draws via RasterPresentPainter.
Implementation
bool get shouldUseGpuSurface =>
preferGpuSurface != false && !usePainterFallback && gpuReady;