Skip to content

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

Open

Description

@Neilcc

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions