• Stars
    star
    154
  • Rank 242,095 (Top 5 %)
  • Language
    C++
  • Created about 6 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A minimal Flutter Embedder from Scratch.

Notes:

  • This is the companion repository for the Flutter on Raspberry Pi (mostly) from Scratch article.
  • This repository is only meant to showcase what a minimal embedder might look like. It is not production ready (and never will be)!
  • Though this repository is based off of the Raspberry Pi Cross Compilation SDK and GN Sysroot repository. You dont have to use this toolchain or GN.

Flutter on Raspberry Pi

Flutter Embedder for Pi using Broadcom APIs directly.

Prerequisites

  • The libflutter_engine.so, icudtl.dat and flutter_embedder.h files for the Raspberry Pi placed in the out/ directory.

Usage for Raspberry Pi

  • Download the prepared toolchain, sysroot and related tools to the out directory ./tools/setup_sdk.sh.
    • This takes a while and downloads upto 1 GB of data from cloud storage.
  • Prepare the build output directory out with paths to your toolchain using ./tools/setup_gn.sh.
  • Build using ninja -C out on your host.
    • Hack and repeat.
  • Push your executable to the Raspberry Pi and run.
    • You should probably mount the out directory to the remote Raspberry Pi using SSHFS. That way, the build artifacts automatically end up getting pushed to the Pi.

More Repositories

1

hierarchydetective

The Missing View Hierarchy Debugger
Objective-C
394
star
2

flutter_wayland

A Flutter Embedder that talks to Wayland directly.
C++
60
star
3

fluttercast

A Flutter Embedder that talks RFB.
C++
39
star
4

OpenGLESDashDocset

Dash DocSets for OpenGL ES (1.1, 2.0, 3.0, 3.1 & 3.2) and EGL (1.4)
HTML
24
star
5

raspberrypi_cross_compilation_sdk

A GN Cross Compilation Buildroot (for targets like the Raspberry Pi)
Shell
23
star
6

doxygen2docset

From Doxygen documentation, create a Docset for use in Dash or Zeal.
C++
15
star
7

sft

A software renderer.
C++
10
star
8

wgsl_sandbox

Experiments compiling the Impeller Entity Shaders to WGSL.
GLSL
8
star
9

flutter_swift_embedder

A Flutter Project with a Swift Embedder
Shell
7
star
10

epoxy

IDL and Code Generator for Dart FFI Bindings.
C++
6
star
11

impeller.dev

Makefile
4
star
12

cookieoverflow_commerce

Online Auctions
Ruby
3
star
13

fxtweet

Simple JavaFX Twitter Client
Java
3
star
14

SpriteKitUI

UI Components for SpriteKit
Objective-C
3
star
15

CoreVideoPixelFormatDump

Describe Supported CoreVideo Pixel Formats
Objective-C
3
star
16

rcov_notifier

Get RCov notifications via Growl
Ruby
2
star
17

flutter_native_extensions

Flutter Native Extensions Prototype
C
2
star
18

flutter_docker

Dockerfile for working with Flutter Linux engine variants.
1
star
19

flutter_doxygen

Makefile
1
star
20

flutter_example_service

An example Flutter service.
Dart
1
star
21

slack_general_leaver

JavaScript
1
star
22

kinect_admin

Hacking on the Kinect
Objective-C
1
star
23

glesbc

OpenGL ES 2.0 Backwards Compatibility
C++
1
star
24

sqlite

The Amalgamated SQLite3 sources along with a one-step mechanism to update them.
C
1
star
25

documentxchange

Web application for document sharing built using ASP.NET MVC
JavaScript
1
star
26

csp_easy

Easy Content Security Policy Management
Ruby
1
star
27

CaptureKit

Efficiently capture videos of UIKit hierarchies
Objective-C
1
star
28

5DollarsPlz

Seans get rich (reasonably) quick scheme.
Objective-C
1
star
29

stream_prettifier

Colorize Streams
Ruby
1
star
30

stator

C++
1
star
31

linkersandbox

C++
1
star
32

TraceFiend

OpenGL GLTrace File Viewer
C++
1
star
33

smart_ms

SMS Backup, Threading and Search
Ruby
1
star
34

ClangPlugin

XCode Project for Clang Plugins
C++
1
star
35

csp_easy_testbench

CSP Easy TestBench
Ruby
1
star
36

mice

HTML5 Mice
JavaScript
1
star
37

malioc_impeller_reports

GLSL
1
star
38

i_am_here

Titanium Mobile Android & iPhone Application
JavaScript
1
star
39

flutter_starter

Starter project for Flutter
Dart
1
star
40

eyeball

C++
1
star
41

flutter_dylinkios_sample

A sample project the uses dart:ffi to call a function in an iOS dynamic library.
HTML
1
star
42

solar_flare

SolarFlare
Java
1
star
43

radar

Experiments in User Interfaces and Composition
C++
1
star
44

new_cpp_project

Personal C++ Project Template
CMake
1
star
45

rest_in_peace

Minimal web framework with a focus on simplicity. Powered by Sinatra and DataMapper.
Ruby
1
star
46

globetrotter

Globetrotting
JavaScript
1
star