-
Notifications
You must be signed in to change notification settings - Fork 7
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
Using Impeller as a rendering runtime #15
Comments
The Android embedder source code ( |
I temporarily disabled Impeller due to a build error: 0b43118508f2a495a7255c350e6dd2b7f6579172. Please re-enable it for testing. |
The build error will be fixed by flutter/engine@c294429. |
Currently blocked by flutter/flutter#112230. |
Vulkan for Impeller has been disabled on engine build: flutter-tizen/engine@02e4b7b. Need to re-enable by applying these patches if you're going to work on it. I couldn't find a way to override |
Impeller build now requires glibc 2.30 (Tizen 6.0). glibc 2.24 (Tizen 5.5) is not compatible: In file included from ../../flutter/impeller/core/shader_types.cc:5:
In file included from ../../flutter/impeller/core/shader_types.h:15:
../../flutter/impeller/geometry/half.h:19:22: error: _Float16 is not supported on this target
using InternalHalf = _Float16;
^
1 error generated. I'll add a temporary workaround to bypass the error. |
The Impeller support for desktop platforms has landed to the embedder API:
I think we can now start evaluating Impeller on Tizen using the OpenGL backend. cc @haesik |
We don't currently recommend shipping production applications with the OpenGL backend. |
It's possible to enable vulkan backend on Tizen, we need time to investigate about impeller |
These patches are for running the impeller that @xiaowei-guan worked on in the 3.21 candidate branch. We can discuss these patches once 3.22 migration is completed. |
@xiaowei-guan If you really need |
Hello, @JSUYA
Embedder create different texture based on the
yes, we can move all these code to embedder_tizen.h first. Later we can redesign the interface to fit Tizen and other platform.
I think we can separate the EmbedderExternalTextureGLImpellerSurface(/PixelBuffer), but can't differentiate them at the gn level. |
We don't have either Vulkan or GLES fully wired up in the embedder API (contributions welcome!) but if possible, I would recommend using Vulkan where supported. Almost all of our engineering effort is going into Metal and Vulkan support, whereas GLES is intended to be the broadly supported compatibility backend that isn't necessarily the most performant. |
About Impeller: https://medium.com/flutter/announcing-flutter-3-3-at-flutter-vikings-6f213e068793#8c9a
The code: https://github.com/flutter/engine/tree/main/impeller
Wiki page: https://github.com/flutter/flutter/wiki/Impeller
I don't even currently know how it works, but I'm wondering if Impeller can be enabled for Tizen and how effective it will be on Tizen devices. Apparently the repository has GLES as one of its supported backends.
The text was updated successfully, but these errors were encountered: