registerOutputSurface

Register the output surface.

Throws

if the renderer is not initialized or the caller doesn't run on the GL thread.