Hi there!
I’m writing an article about shaders and how to use them in Compose Multiplatform projects. I’ll be adding a diagram that outlines the main building blocks of CMP, and I just wanted to confirm that it’s accurate and I’m not saying anything incorrect. Could someone please validate the diagram shown here? Thanks a lot!
i
Ivan Matkov
08/12/2024, 8:37 AM
In terms of what APIs you're using for shaders - yes.
I'm not sure what level of details you need to show here, but there are a few important details:
• Android SDK uses skia under the hood too
• skia/skiko is abstraction for canvas drawings above DirectX/OpenGL/Metal/etc, not for all platform APIs needed for Compose
• skiko doesn't have stable APIs, so we're trying to keep it as implementation details