Add OpenGL renderer but do not set it as default yet
Remove src parameter from draw calls: you must use display lists for src to allow for better optimization in opengl
Use glGetAttribLocation instead of hardcoded vertex attrib locations.