Sorta random. I see skia and skiko in a bunch of p...
# compose-desktop
c
Sorta random. I see skia and skiko in a bunch of places. I'm ignorant to what they are and what they mean. Any reasoning behind the name? skiko is an interesting name to me. lol
j
https://skia.org/ skiko == skia + kotlin
✔️ 6
b
Skia is the "canvas" that Compose UI uses to do it's drawing (All the material widgets, etc.). So, the exciting thing about skiko adding web/ios targets, is that it's one step closer to Compose UI / Material widgets working on those platforms.
👍 1
And Skia is also used in Flutter, so if all goes well, we should see comparable performance to Flutter in the web/iOS targets. Eventually. 🤞🏻
👍 1
c
oh. the name skiko makes a lot more sense. thanks jake. and gotcha skia is what compose uses to draw. 👍
j
Regular Android views also use skia
today i learned 3
c
flutter uses skia? i thought flutter shipped with a vm that does its own thing.
or is the point of this that "everything on android. at some level. draws via skia"
j
Flutter ships skia
Chrome ships skia
Android embeds Skia
Everyone uses Skia
c
oh neat.
e
not just Google either. well, Google probably has the most users - I don't remember if they acquired Skia for Android and then Chrome adopted it or if it was the other way around, something like that. it's a good cross-platform 2D renderer, even LibreOffice uses it. https://www.collaboraoffice.com/success-story/implementing-vulkan-capable-libreoffice-user-interface-using-the-skia-library/
1
🆒 2
c
now i see how i was confused. i thought skia was like romain guys side project that he tweets about on twitter. but thats filament. man i was confused. okay. skia is some low level 2d renderer used in a ton of places. got it. thanks all!
e
Filament isn't only Romain's baby, https://github.com/google/filament/graphs/contributors (but he's definitely involved). although aside from DAZ Studio I'm not sure who its users are…
k
Somebody decided to revive Skija (which was the precursor to Skiko) and keep it alive - https://github.com/HumbleUI/skija
b
Strange, couldn't they just call skiko from Java?
👍🏻 1
k
No idea. I came across it as a new dependency of https://github.com/jfree/skijagraphics2d which seems to be a semi-limbo bridge between Java2D and Compose. Just filed https://github.com/jfree/skijagraphics2d/issues/7 to suggest switching to Skiko instead.
I must have missed it earlier when it came out. This one might not be just a fork, but also a precursor to Skija from Jetbrains - https://tonsky.me/blog/skija/