I need to display 2d images in opengl using textures.
Image sizes are not necessarily equal to 2.
I was thinking of creating a larger texture and limiting the display to the part that I used, but the image data will be shared with openCV, so I donβt want to copy pixel data at a time to a larger texture.
EDIT - it turns out that even the simplest Intel on board graphics for Windows supports textures without texture.
EDIT2 - and even if you donβt have arb texture size, if you reduce the image size and scale it to the window size, it will be very fast even at the hardware level of low level
source
share