jPCT-AE - a 3d engine for Android > Support

Upload and render concurrently

(1/1)

Thomas.:
How can I upload textures to GPU and render concurrently?

EgonOlsen:
You can't. OpenGL is state based. Uploading textures changes this state and if you are rendering in between, all goes boom.

Thomas.:
But full HD movie can play in window and together render something on background (or upload textures). And it has no any dependency on CPU usage...



edit: If someone wanted my Floating calculator, I can upload to the play store...

EgonOlsen:
But that's not happening in the same context. You can't mix states within one context. If you, for example, are rendering using one texture, you can't upload another one in parallel, because you would have to switch texture state to do that, which will screw up the rendering. In addition, some operations are not allowed within certain states.

Navigation

[0] Message Index

Go to full version