Add support for glReadPixels.