Render CoreGraphics to OpenGL texture on IOS
Using CoreGraphics on iOS is very easy to sue, but it is possible to get the output of CoreGraphics and put it into OpenGL Textures?


The final goal is to use CGContextDrawPDFPage to render very performant pdf's and write it into a specific texture id with OpenGL.
    glBindTexture(GL_TEXTURE_2D, TextureNativeId);

It does look like CoreGraphics is not able to render directly into a specific "native texture id".





Render CoreGraphics to OpenGL texture on IOS
===

Using CoreGraphics on iOS is very easy to sue, but it is possible to get the output of CoreGraphics and put it into OpenGL Textures?


The final goal is to use CGContextDrawPDFPage to render very performant pdf's and write it into a specific texture id with OpenGL.
    glBindTexture(GL_TEXTURE_2D, TextureNativeId);

It does look like CoreGraphics is not able to render directly into a specific "native texture id".




