Skip to content

any guide to port this flutter-pi to other ARM SOC? #107

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
nanfang2000 opened this issue Oct 17, 2020 · 2 comments
Closed

any guide to port this flutter-pi to other ARM SOC? #107

nanfang2000 opened this issue Oct 17, 2020 · 2 comments

Comments

@nanfang2000
Copy link

I'm interested in implement the embedder to other SOC (also have opengles GPU).
Where is flutter-pi code that specified to Raspberry PI?

@ardera
Copy link
Owner

ardera commented Oct 19, 2020

There's not much about flutter-pi that's specific to Raspberry Pi. The things that are specific to Raspberry Pi:

  • The omxplayer_video_player plugin (Since omxplayer is only really supported on Raspberry Pi)
  • On Raspberry Pi, OpenGL reports some extensions as supported, even though they aren't. See my glGetString hack.

That's basically it. On most platforms, flutter-pi should work out of the box. (See the supported platforms section in the readme)

Other people use flutter-pi on Dragon Board 410c, NanoPi Fire 3 & ODROID C4 without modification. (Though to be fair, they did require some fixes since flutter-pi was relying on Raspberry Pi-specific behaviour some times.)

@nanfang2000
Copy link
Author

@ardera Thank you, I will try to run on my SBC. any good new or modification I will share.

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

2 participants