Login  Register

Re: Copying pixel data to texture faster than glTexSubImage2D?

Posted by gouessej on Oct 22, 2013; 8:39am
URL: https://forum.jogamp.org/Copying-pixel-data-to-texture-faster-than-glTexSubImage2D-tp4030321p4030324.html

Actually, the "pixel buffer" is not deprecated, it uses a software pixmap or a pbuffer depending on the platform. I advise you to look at the internal class OffscreenBackend within GLJPanel.

Moreover, keep in mind that FBOs and pbuffers are very slow on some hardwares (particularly Intel chips). Rather use vectorized data and optimize your rendering if it isn't faster enough. If you use vectorized data with a tool or a library that converts them into images, you won't get any speedup.
Julien Gouesse | Personal blog | Website