My goal is to be able to leverage the GPU in a bac...
# android
t
My goal is to be able to leverage the GPU in a background thread to create an offscreen image that is rendered using the Skia Canvas class. Ideally I would have liked to use Compose multiplatform and its Skiko library to do this, but due to the limitations of its DirectContext class, its not possible to write an EGL surface into its Canvas. As a consequence, I've had to use native functionality to implement this. I have it working for the desktop using the LWJGL library. For Android I follow these steps, running from an event queue that is running in a background thread:
not kotlin but kotlin colored 2
🧵 2
Easier said than done. I've spent the last hour trying to open a topic in the Android channel. The GUI is unstable under windows.
It is a Kotlin question, in regards to Android.
Look at the code, it is entirely written in Kotlin.
Just telling me I'm doing something wrong without explaining how to fix it is no kind of help. NW, I'll delete my account.
Then why have an Android channel. A very similar question was asked on one of your channels and that is how I found slack. Sorry for bothering you.