fyne-io / fyne

Cross platform GUI toolkit in Go inspired by Material Design
https://fyne.io/
Other
25.26k stars 1.4k forks source link

Support for Tizen (Linux OS used for Samsung wearable) #564

Open dolanor opened 4 years ago

dolanor commented 4 years ago

Hi,

Since fyne seems to be based on EFL from what I read, would it be possible to develop some Tizen app for Samsung Galaxy smart watches and wearables in general based on fyne (even if it would only imply UI for now).

andydotxyz commented 4 years ago

Whilst we used to be based on EFL we no longer are. The runtime dependencies are now just an OpenGL layer - so it may still be possible.

We would need to look into the graphical libraries available, but assuming that the EFL apps are operating on GL (rather than software rendering) then we should be able to do something :)

dolanor commented 4 years ago

Thanks for the amazingly quick reply!

If I remember of the beginning of the EFL, rasterman liked to have no dependencies to GL and still fast rendering on software. But since it's no longer just his project, maybe it is rendered on GL. So for fyne, if Tizen supports apps that do GL rendering, it would be ok?

andydotxyz commented 4 years ago

If that is the case then it is, in theory, possible. To make it work we may need to introduce some new device support - the technologies would all be in our driver list but the combination may not work. And we would need to add "compiling a tizen binary" to our tooling which may not be trivial.

dolanor commented 4 years ago

Ok. I understand. You can close it or leave it open if you want to keep that goal for the future. But it might be too far away.

Thanks

andydotxyz commented 4 years ago

I don't know how far off it might be - we have some Tizen developers who might be able to assist. Now that we have ARM and iOS/Android support it is a logical extension...

andydotxyz commented 3 years ago

From the docs it seems that we should be able to run with GLES from Tizen 2.3 https://docs.tizen.org/application/native/guides/graphics/opengl/.

We will need to add to the gomobile driver support for Tizen to do this. If anyone has development devices we can use then we may be able to get this under way :).