Implement RenderTarget2D using OpenGL.