I would like to resize the image using OpenGL. I would prefer this in Java, but C ++ is fine too.
I'm really new to all of this, so here is the process in words, as I see it:
- upload texture image to ogl
- set some things regarding state and filtering
- draw a texture of different sizes on a different texture.
- get texture data into an array or something.
Do you think it will be faster to use OpenGL and GPU than to use processor-based BLIT library?
Thank!
source
share