Skip to content

Support Vulkan #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DisDis opened this issue Jun 10, 2020 · 3 comments
Closed

Support Vulkan #63

DisDis opened this issue Jun 10, 2020 · 3 comments

Comments

@DisDis
Copy link
Contributor

DisDis commented Jun 10, 2020

https://github.com/ardera/flutter-pi/tree/engine-binaries
I know flutter engine can work with Vulkan, if it is compiled with flag.
(I have builded engine 1 year ago, also i have experimented with release mode and snapshot, but result is fail.)
I am ready try install RaPi V3D 4.2 (if i find it :) )

RaPi4 has early support Vulkan now.
https://www.youtube.com/watch?v=ygBB3D5vryw
https://www.raspberrypi.org/blog/vulkan-update-now-with-added-source-code/
But this gives a performance boost.

@ardera
Copy link
Owner

ardera commented Jun 10, 2020

While the engine may support vulkan, the API that flutter provides to embedders does not. It only provides software rendering and opengl (& gl es) support.

If the flutter team decides to add vulkan support to the embedder API, I'll consider this, but even then its not sure. The EGL & GL combo is really nice, advanced and widely used for embedded graphics. It also has a lot of extensions for this use case.

I'm gonna close this for now. If you'd like to create a feature request for the flutter developers to expose vulkan via the embedder api, you can do that & link that issue here.

If that feature makes it into the engine I'm gonna reopen this.

@ardera ardera closed this as completed Jun 10, 2020
@doesnotexist
Copy link

Looks like vulkan rendering is supported now:
c0a1ca0

@ardera
Copy link
Owner

ardera commented Oct 4, 2022

@doesnotexist Yep, though only in that specific refactor branch. There's also a wiki article about it: https://github.com/ardera/flutter-pi/wiki/Running-flutter-pi-with-vulkan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants