submit abstract method
Submits everything recorded. When present is given, its texture is
published as the surface's image. Completes once the GPU has finished,
with false when it reported a failure.
Implementation
Future<bool> submit({GpuSurfaceFrame? present});