I had a question about glFlush(), transfered to you by Pascal Chery.
Anthony Berthet replied:
You can use as well apphints to completely flush the commands, but this will reduce the performance. With default settings, glFinish(), Flush() will not have impact.
You can use the apphint - FlushBehaviour.
Set it as -
FlushBehaviour=2 in /etc/powervr.ini on the target file system(EVM) to change the glFLush()/Finish behaviour.
FlushBehaviour=2 will make a glFinish() call start the rendering and wait for it to finish. However the absolute way to ensure rendering has taken place (for debug only) is to a call to glReadPixels().
FlushBehaviour=1 allows glFlush/glFinish behaviour to be changed to kick TA.
I don't understand the difference between FlushBehaviour=2 and FlushBehaviour=1.
I try both but it seems to be the same behaviour.
Can you explain more FlushBehaviour=1 ? What do you mean when you said 'to kick TA' ?