cats-oss/android-gpuimage

Why does GLTextureView's render thread is not constructed on handler thread

Neilcc opened this issue · 0 comments

Future Task

Why does GLTextureView's render thread is not constructed on handler thread

What is the motivation?

I'm trying use GLTextureView to render some custom shader.
There is some 'shaking' effect when it render continuously.
It seem's that the sync signal between GLTextureView and Android's vsync and renderthread do not work properly.

What kind of solution can be considered?

Could this be solved by add choreographer to GLTextureView's render thread, and sync every frame by choreographer's callback? Why does GLTextureView use thread directly other than handler thread in the first time ?

Please add relevant labels
GLTextureView RenderThread HandlerThread