Download non-blocking textures on iPhone and other OpenGL ES platforms

I am doing some work that involves drawing real-time video frames in OpenGL ES. Right now I'm using glTexImage2D to transfer data in the absence of pixel buffers, etc. The answer below is that glTexImage2D always blocks, even if the reference to the texture object is not used for any drawing. Is there a way to do non-block texture loading using OpenGL ES (any version)?

Thanks a lot sean

+3
source share
1 answer

No, glTexImage2D blocks and will not return until the copy is complete.

, GL ES , , , sharig, .

0

Source: https://habr.com/ru/post/1746802/


All Articles