multithreading - load textures into a thread blocks the mainUI in android -


i try load bitmaps , display them textures (opengles2.0). make runnable thread, , once loaded bitmap sent textures. thread runnable, main ui thread freezes while during loading of pictures. don't understand , pretty lost it… clues ?

sounds you're calling mythread.run() instead of mythread.start()

run() executes in calling thread, start() makes new thread , calls run inside of that.

if that's not case, can't without relevant code.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -