I am trying to use amd pinned memory opengl extension to optimize video decoding. I have a ring of n buffer containing 4K aligned memory and containing the updated movie frame. what is the best options to minimize upload time :
1)- create n pixel buffer object pinned to GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD of each frame ...
2)- create one pixel buffer object and change each frame the current pointer with glbufferdata and GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD
3)- create two or Three pixel buffer object and do the same turning around with the two or three buffers ?