Search code examples
androidopengl-esegl

Android OpenGl: How change single TextureView bitmap?


I have a list of photos in my activity. I should render those concurrently. so I find the best way to have 3 TextureView at first and change the position of them on scrolling the list. If I create EGLThread each time, It runs correctly, but it has a little delay to update the texture. so I need to have EGLThreads permanently, but I don't know to change the bitmap of each EGLThread. I try so many codes but I couldn't find the solution.


Solution

  • I solved. should run code in postRunnable in EGLThread