Skia and flutter/impeller

1,994 views
Skip to first unread message

mattl...@live.com

unread,
Aug 22, 2023, 4:44:08 PM8/22/23
to skia-discuss
Hi folks, I am loving the skia life here but people are asking me about how it relates to the impeller engine used in flutter. So I thought I would ask you folks to see what the story is. I can see a few places in impeller using skia, and there is what appears to be the image and render to screen apis using skia? 

Does this make impeller a layer on top of skia? Or is there bigger plans to eventually replace skia? Android/Chrome use skia today so might not be a replacement?

Heather Miller

unread,
Aug 24, 2023, 12:07:33 AM8/24/23
to skia-d...@googlegroups.com
Impeller is Flutter's new renderer, built inside their team for their purposes. We continue to partner closely with them and ship Skia on some of their platforms, but where they are using Impeller, it is a replacement rather than a layer. Interestingly, the startup performance problems Impeller sought to solve are also addressed in our new GPU architecture, Graphite. Android and Chrome continue to ship Skia!

On Tue, Aug 22, 2023 at 4:44 PM mattl...@live.com <mattl...@live.com> wrote:
Hi folks, I am loving the skia life here but people are asking me about how it relates to the impeller engine used in flutter. So I thought I would ask you folks to see what the story is. I can see a few places in impeller using skia, and there is what appears to be the image and render to screen apis using skia? 

Does this make impeller a layer on top of skia? Or is there bigger plans to eventually replace skia? Android/Chrome use skia today so might not be a replacement?

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/f1c8a2b9-7d52-4ce6-ae76-c96db4958cb5n%40googlegroups.com.

Mike Reed

unread,
Aug 24, 2023, 9:17:59 AM8/24/23
to skia-d...@googlegroups.com, Brian Salomon
That is a really good reply. 

On Aug 24, 2023, at 12:07 AM, 'Heather Miller' via skia-discuss <skia-d...@googlegroups.com> wrote:



Daljit

unread,
Aug 27, 2023, 4:50:57 PM8/27/23
to skia-discuss
What is the status of Graphite? I suppose it is still in an experimental stage, but is there any documentation on how to build/use it? Also, will the Ganesh backend be deprecated?

mattl...@live.com

unread,
Aug 29, 2023, 7:35:56 AM8/29/23
to skia-discuss
Awesome! What I see here is that skia is amazing and the flutter could not handle so much power! Thanks for the reply, looking forward to keeping up with skia dev. 

Zhuo Wang

unread,
Oct 29, 2023, 11:30:25 AM10/29/23
to skia-discuss
" Interestingly, the startup performance problems Impeller sought to solve are also addressed in our new GPU architecture " 

hi, could u explain more about this? do u mean Graphite will use static shaders as well? i.e.  Graphite won't generate shaders at runtime like before?

Brian Osman

unread,
Oct 29, 2023, 9:15:48 PM10/29/23
to skia-d...@googlegroups.com
Graphite does generate shaders are runtime, however:
1) It generally generates far fewer shaders than Ganesh.
2) It is designed so that you can enumerate the set of features you will use, and the library will be able to pre-compile (at startup -- and eventually ahead-of-time) all of the shaders that will be used (without needing to "record" content from an application).

Zhuo Wang

unread,
Oct 31, 2023, 2:14:41 AM10/31/23
to skia-discuss
thanks for reply. that sounds great.
Reply all
Reply to author
Forward
0 new messages