Login  Register

Re: Copying pixel data to texture faster than glTexSubImage2D?

Posted by gouessej on Oct 21, 2013; 10:41pm
URL: https://forum.jogamp.org/Copying-pixel-data-to-texture-faster-than-glTexSubImage2D-tp4030321p4030322.html

Hi

Rather use direct NIO buffers. You can directly manipulate the NIO buffer created by the data model of the buffered image, look at the source code of GLJPanel and AWTTextureIO, Sven can probably show you exactly where he does something similar. There are probably other ways to do that, by using a FBO for example.
Julien Gouesse | Personal blog | Website