A failed attempt at integrating jetpack compose with arc framebuffers
Currently, I am unsure how arc(Sdl) and skiko contexts are handled and if they clash within the same thread/window, thus causing the crashes
Also, Skiko seems to be broken on windows, hence requiring the hack of creating a Skija DirectContext then stealing its pointer to pass to Skiko. This may or may not have caused some issues
To run, use the gradle run
task
Main class can be changed by editing
mainClass.set("me.mars.MainKt")
to any other main class
Main
contains the attempt to render jetpack compose to a separate FrameBuffer
MainNoFBO
contains the half-successful attempt of rendering to the default application framebuffer