bwikbs / engine Goto Github PK
View Code? Open in Web Editor NEWThis project forked from flutter-tizen/engine
The Flutter engine
Home Page: https://flutter.dev
License: BSD 3-Clause "New" or "Revised" License
This project forked from flutter-tizen/engine
The Flutter engine
Home Page: https://flutter.dev
License: BSD 3-Clause "New" or "Revised" License
From : flutter-tizen/flutter-tizen#21
Investigate whether the APIs in the above issue can be removed.(or if necessary).
EGL
ecore wayland
tdm
tbm
ecore_device_name_get
_ZTHN4dart8OSThread18current_vm_thread_E
ecore_device_class_get
ecore_device_subclass_get
__dlog_print
std::unique_ptr<AndroidShellHolder> AndroidShellHolder::Spawn(
std::shared_ptr<PlatformViewAndroidJNI> jni_facade,
const std::string& entrypoint,
const std::string& libraryUrl) const {
FML_DCHECK(shell_ && shell_->IsSetup())
<< "A new Shell can only be spawned "
"if the current Shell is properly constructed";
// Pull out the new PlatformViewAndroid from the new Shell to feed to it to
// the new AndroidShellHolder.
//
// It's a weak pointer because it's owned by the Shell (which we're also)
// making below. And the AndroidShellHolder then owns the Shell.
fml::WeakPtr<PlatformViewAndroid> weak_platform_view;
// Take out the old AndroidContext to reuse inside the PlatformViewAndroid
// of the new Shell.
PlatformViewAndroid* android_platform_view = platform_view_.get();
// There's some indirection with platform_view_ being a weak pointer but
// we just checked that the shell_ exists above and a valid shell is the
// owner of the platform view so this weak pointer always exists.
FML_DCHECK(android_platform_view);
std::shared_ptr<flutter::AndroidContext> android_context =
android_platform_view->GetAndroidContext();
FML_DCHECK(android_context);
// This is a synchronous call, so the captures don't have race checks.
Shell::CreateCallback<PlatformView> on_create_platform_view =
[&jni_facade, android_context, &weak_platform_view](Shell& shell) {
std::unique_ptr<PlatformViewAndroid> platform_view_android;
platform_view_android = std::make_unique<PlatformViewAndroid>(
shell, // delegate
shell.GetTaskRunners(), // task runners
jni_facade, // JNI interop
android_context // Android context
);
weak_platform_view = platform_view_android->GetWeakPtr();
auto display = Display(jni_facade->GetDisplayRefreshRate());
shell.OnDisplayUpdates(DisplayUpdateType::kStartup, {display});
return platform_view_android;
};
Shell::CreateCallback<Rasterizer> on_create_rasterizer = [](Shell& shell) {
return std::make_unique<Rasterizer>(shell);
};
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.