Hi everyone, I am doing some work with OpenGL/Surf...
# coroutines
c
Hi everyone, I am doing some work with OpenGL/SurfaceTexture on Android and am considering having a dedicated thread for these operations. I have a reference implementation (written in Java) where this is the approach. Is there a more Kotlin-idiomatic way of doing this? Some alternatives I should consider? I appreciate your thoughts, thanks.
d
Tricky. OpenGL might be a bit too strict for coroutines. You could use a custom single threaded dispatcher but I'm not sure if it gives much value.
c
@Dominaezzz thanks for replying, I think you’re right