r/FlutterDev • • Jul 11 '22

Tooling NativeShell for Flutter

https://matejknopp.com/post/introducing-nativeshell/
36 Upvotes

11 comments sorted by

View all comments

Show parent comments

2

u/airflow_matt Jul 11 '22

You can not do that at embedder level. At this point if you want to significantly change the rendering you'd need to fork the engine.

I don't think the embedder API (which desktop embedders use) even supports vulkan at this point.

2

u/anlumo Jul 11 '22

No, it's implemented. The Vulkan support in the embedder is just not used by any of the official ones.

1

u/airflow_matt Jul 11 '22

Thank you. Missed that. Still, pragmatically this would require forking the embedders at very least. Linux embedder is built on Gtk3, which doesn't support vulkan. Windows embedded uses Angle. Writing full features embedder is a deceptively large task, especially when considering things like keyboard handling / IME.

2

u/anlumo Jul 11 '22

Yes, if it would have been easy I'd already have done it. That's why I'm asking.

I looked into the problem and came to the same conclusions as you, but additionally accessibility also is an issue solved by the embedders.