Login  Register

Re: JOGL and gl.glTexSubImage2D() performance issue on Linux

Posted by Umka on Nov 10, 2012; 12:30pm
URL: https://forum.jogamp.org/JOGL-and-gl-glTexSubImage2D-performance-issue-on-Linux-tp4026810p4026847.html

I found the issue. My mistake. I uploaded pixel data twice, once to pbo and another one using gl.glTexSubImage2D() variant that accepts pointer. Fix is to do it once and use gl.glTexSubImage2D(...offset).

Sorry :)