Move GL graphics data code into the GL renderer