-
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
Return Image handle instead of window (EFL) #233
Comments
@JSUYA |
Hi. I'm glad that you finally joined my team and thank you for filing a suggestion! (Maybe this issue is related to #94.) According to your approach, should the app always pass its window handle (as a parent window) to the embedder regardless of the app's scenario (add to app or normal)? If so, we might also be able to reduce the launching time overhead by removing the call to |
Thank you :)
I will check it.
In this case, we need the parent's handle, which will contain the evas_image, not the window handle. (Of course, it can be a window)
Yes, we don't have to create unnecessary windows. The container to contain the evas image is created in the app code. |
@JSUYA Thanks for the clarification, but what I meant was: Do you plan to make an app pass an Evas object handle to the embedder even if the app does not use the add to app feature? |
@JSUYA Just forget everything I said above.. I glanced at your profile and had no idea who you are. 😢 |
If the application does not use add to app feature, we do not need to pass the parent object. |
related issue flutter-tizen/flutter-tizen#351 |
Nice to meet you devs. I'm studying flutter and have a question, so I'm making a sample and writing my opinion here :)
Currently, AddtoApp of flutter-tizen can be implemented by using a window handle. (ecore_wl2, elm_win)
To add the rendered flutter output to the elementary widget, it was not appropriate to use elm_win.
(I tried using other types of windows, but it didn't work as intended. (ELM_WIN_INLINED_IMAGE type of elm_win))
I made a sample by modifying the evas_gl.cc code to use the evas image handle.
The user can get the image handle after set the parent window or parent widget appropriately. And they can add it somewhere.
Below is a sample of this idea.
If a suitable interface and sample code to add parent are presented, users can expect to output FlutterView(?) in EFL-based apps.
(Of course, this is not a nice interface unless multi-instance (maybe FlutterGroup?) is applied.)
sample)

https://github.com/JSUYA/engine/tree/jsuya/flutter-2.8.1-tizen/dev/evas_image
The text was updated successfully, but these errors were encountered: