I am an employee of Adobe India.
I am trying out Skia for creating effects on video. For that I am prototyping with images and exploring the capabilities of Skia. For the time being I have few generic question regarding Skia GPU shaders. Following your suggestion earlier I was able to implement a custom shader using SkRuntimeEffect. I would like to get your inputs on the following.
1. In Skia documentation it is mentioned that SkRuntimeEffect and SkRuntimeShaderBuilder API is experimental and subjected to change. So if the API changes, will it be backward compatible or will it break the existing code? What will be your plan for the Skia users?
2. Is there a way to debug Skia GPU shader code? I understand that putting breakpoint in GPU code does not make sense. But, in general what should be the debugging strategy if I want to debug a custom shader? Also, if Skia recommends some way to sniff GPU performance like utilisation etc., I would like to know that.
3. We have also explored RenderScript also, which provides similar APIs for an android platform. Though Skia is cross platform, considering performance, compatibility, stability and future support from Google, which one is recommended by Google?
Your valuable inputs will helpful for our product.
Thanks in advance
Pavel