extern
surface render - sync with closure compiler