We attempt to wait for flushes of RemoteImageBufferProxy on a background thread, but the 'didFlush' IPC message is received on the main thread. This can mean it gets delayed (and we don't know the flush is completed) if the main thread is otherwise busy. This delays first-paint on CPLT.
<rdar://problem/108642579>
Pull request: https://github.com/WebKit/WebKit/pull/13261
Committed 263572@main (4d14bfb53b47): <https://commits.webkit.org/263572@main> Reviewed commits have been landed. Closing PR #13261 and removing active labels.
Re-opened since this is blocked by bug 256210
Pull request: https://github.com/WebKit/WebKit/pull/13653
Committed 263993@main (d2f31696424a): <https://commits.webkit.org/263993@main> Reviewed commits have been landed. Closing PR #13653 and removing active labels.