In DirectDraw/Direct3D I used offscreen surfaces for sprites. I would load the image onto the surface which was in hardware memory. I would then say I want to copy a portion (0,0) to (64,64) to the back surface. I could also choose (50,50) to (200, 200), etc. This worked well for sprite maps as there are several images usually in one loaded image. Are there offscreen surfaces or something similar, and what OpenGL version? I’m aiming for OpenGL 1.1-1.5 for this 2d project.
So, assuming this is my only way, how would I use GL_QUADS to take a portion of an image such as (50,50) to (200,100) for example and texture map that to a quad? The only examples I see on the internet are texture mapping an entire image to a quad, but this will be rare in my project. Any suggestions would be great. Thanks.