Implement gl.viewport with example.