Log in or register to post comments

Vuforia 6 rendering on main thread?

March 29, 2017 - 2:19am #1

Hi there.

Not 100% sure here, so apologies if a) there is already a discussion / docs for this, of b) if I have completely the wrong end of the stick.

When using Vuforia 5, 'renderFrameVuforia' was called on a background thread?

Now when using Vuforia 6, 'renderFrameVuforia' is called on the main thread?

 

Cheers

Simon 

Vuforia 6 rendering on main thread?

May 9, 2017 - 6:37am #2

Hey, 

No the renderFrameVuforia method should be called on a different thread.

What can occur is the first time this method is called a defaultFramBuffer must be created and to do so Vuforia calls a method called createFrameBuffer which is called on the main thread in order to safely allocate the OpenGL ES storage. The render thread is blocked during this call to the main thread thus ensuring no concurrent use of the OpenGL ES Context.

Log in or register to post comments