experimenting with gl.viewport and gl.clear api