Resize every surface attached to this engine (including the engine's own primary
surface). For DOM-canvas surfaces, snaps the swapchain backing store to the current
clientWidth × clientHeight × devicePixelRatio (capped by each surface's
maxDevicePixelRatio). For OffscreenCanvas surfaces this is a no-op per surface —
call setSurfaceSize on the specific surface instead, since an OffscreenCanvas
has no layout.
Resize every surface attached to this engine (including the engine's own primary surface). For DOM-canvas surfaces, snaps the swapchain backing store to the current
clientWidth × clientHeight × devicePixelRatio(capped by each surface'smaxDevicePixelRatio). ForOffscreenCanvassurfaces this is a no-op per surface — callsetSurfaceSizeon the specific surface instead, since anOffscreenCanvashas no layout.