Called to prepare the buffer for render and preroll.
render
preroll
This function is called before synchronisation is performed.