working on implementing OpenGLImageRenderer