Login  Register

Re: Multithreading

Posted by Haroogan on Jan 09, 2011; 4:18pm
URL: https://forum.jogamp.org/Multithreading-tp2221001p2221816.html

Could you make it more detailed, especially about "writing data to mapped ByteBuffer" in secondary thread... I guess you mean that glMapBuffer will return me ByteBuffer, which references some memory on graphics card and I should use this ByteBuffer in the secondary thread to write data to it? If yes, then how will OpenGL know how much memory to allocate for this ByteBuffer?