-
Notifications
You must be signed in to change notification settings - Fork 19
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
[Tizen] Support EmbedderExternalTextureGL for impeller #368
[Tizen] Support EmbedderExternalTextureGL for impeller #368
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought about declaring emebedder_tizen.h and proceeded with POC, but it actually made the code more complicated. I think this PR is probably the best(?).
I was thinking in minimizing code diffs. My review may not be about code readability or efficiency.
My hope is that this commit will be cherry-picked without conflict when migrating to the next version. :)
@swift-kim Do you have any suggestion? |
@xiaowei-guan Nope. The current structure looks okay to me. IMO readability is more important than minimizing the code diff. |
Hi @swift-kim |
I don't quite agree on this but either way should be okay. I'm just afraid that the texture-related code is already complicated and the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@xiaowei-guan I think, it is better to reconsider adding embedder_tizen.h by looking at conflicts that arise due to code diff when upgrading the engine and embedder later.
Yes, we need consider this problem. I think we can also consider trying to submit the code to the official repository. |
Do you have any plan? |
This is my plan:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look easy. I think contributing to the official repository is a very good. I don't think you really need embedder implementations for windows and linux if you just add EmbedderExternalTextureGL. I think it's okay if there is an appropriate test case.(embedder_gl_unittests.cc)
How about you suggest EmbedderExternalTextureGL first?
Ok, we can try just add EmbedderExternalTextureGL for impeller. I will add test case later. |
@JSUYA Contributing to the upstream is not very easy as they don't usually accept pull requests that are not used by any of the 1st-party platforms. I'm not sure if this policy has changed. |
flutter-tizen/embedder#15
To reduce modifying the flutter engine source code, try to just add code.
Actually, we can change file "embedder_external_texture_gl" to "embedder_external_texture_gl_skia"