Login  Register

Re: Best image type for best performance

Posted by Chen norris on Apr 30, 2018; 5:36pm
URL: https://forum.jogamp.org/Best-image-type-for-best-performance-tp4038843p4038845.html

Once again, perfect solution provided by Mr Gouesse

Just replaced all the stuff generating a BufferedImage with awtGlReadBufferUtil.readPixelsToBufferedImage by a simple awtGlReadBufferUtil.readPixels and it's running twice faster now ^^
All I have to try now is to see if it's possible to easily resize a TextureData to see if it makes me gain a bit more FPS (resizing my reflection texture was something I made to speed up a little my app)

Anyway, thanks a lot for your solution