What is the difference between these two imports? ...
# compose
n
What is the difference between these two imports?
Copy code
import org.jetbrains.skia
import org.jetbrains.skiko
As I understand it, Skia is a C++ library, and Skiko is Kotlin bindings for Skia. But what is
org.jetbrains.skia
? Even after looking at sources I still don't quite get it.
j
a ok
1
😂 4
c
And @Jacob Applin its an
a
and an
ko
😉
😵 1
n
Skia: https://skia.org
skiko: https://github.com/JetBrains/skiko
Duh, obviously. From more practical point of view. Skia is a C++ library while Skiko is Kotlin bindings for it. But I have no idea what is
org.jetbrains.skia
(even after looking at sources).
t
Skia is the graphics library: https://github.com/JetBrains/skia Skia is built using skia-pack on github actions: https://github.com/JetBrains/skia-pack Skia-pack binaries are used by Skiko which exposes them to Kotlin: https://github.com/JetBrains/skiko And skiko is then used in compose-multiplatform-core
❤️ 1
It seems skiko already supports linuxX64, and I opened a PR for linuxArm64 already.
e
Skiko exposes a lot of Skia bindings directly under the namespace
org.jetbrains.skia
. it's still Skiko.
🔥 2
n
> Skiko exposes a lot of Skia bindings directly under the namespace org.jetbrains.skia. it's still Skiko. > Oh, okay, now I kinda get it. Thanks!!
> It seems skiko already supports linuxX64 > @Ivan Matkov, is it true? I've seen a lot of TODO comments in
linuxMain
. And there is nothing about it in the README.
t
With my skiko PR I already got skiko rendering working on linuxArm64, so I guess the TODOs are not that important for basic rendering. So I assume linuxX64 also works
👍 1