Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Neilcc opened this issue Feb 23, 2022 · 0 comments
Open

Comments

@Neilcc
Copy link

Neilcc commented Feb 23, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant