Optionalvideo: HTMLVideoElementReadonlycanvasReadonlyrendererOptional ReadonlyvideoOptionalwidth: numberOptionalheight: numberExecute all buffered draw commands.
Ordering contract: GPU-accelerated commands (drawImage, fillRect, strokeRect) are rendered first, then Canvas 2D helper operations (text/path) are composited on top. Callers must ensure fillText/strokeText are issued AFTER all drawImage calls within a single frame.
Return true when the renderer's committed surface is no longer trustworthy and the owner should redraw even if its frame inputs are unchanged.
Implementations that report true should keep doing so until a subsequent
successful flush() commits a fresh frame.
Optionalarg1: number
Draw a sub-renderer's content onto this renderer.
The source image is read from
image.canvas.