Giter Club home page Giter Club logo

engine's People

Contributors

aam avatar abarth avatar bkonyi avatar cbracken avatar chinmaygarde avatar collinjackson avatar dnfield avatar eseidelgoogle avatar esprehn avatar gaaclarke avatar garyqian avatar goderbauer avatar hixie avatar iansf avatar iskakaushik avatar jamesr avatar jason-simmons avatar johnmccutchan avatar jonahwilliams avatar liyuqian avatar matthew-carroll avatar mpcomplete avatar nona-google avatar ojanvafai avatar raphlinus avatar rmacnak-google avatar skia-flutter-autoroll avatar stuartmorgan avatar vlidholt avatar yjbanov avatar

engine's Issues

Multi-window support

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);
  };

Unmanaged API issue

From : flutter-tizen/flutter-tizen#21
Investigate whether the APIs in the above issue can be removed.(or if necessary).

EGL

  • eglBindAPI
  • eglGetConfigs
  • eglCreateContext
  • eglMakeCurrent
  • eglGetProcAddress
  • eglCreateWindowSurface
  • eglCreatePbufferSurface
  • eglGetDisplay
  • eglChooseConfig
  • eglGetError
  • eglInitialize
  • eglGetCurrentDisplay
  • eglSwapBuffers

ecore wayland

  • ecore_wl2_window_geometry_set
  • ecore_wl2_window_new
  • ecore_wl2_window_show
  • ecore_wl2_window_free
  • ecore_wl2_sync
  • ecore_wl2_window_type_set
  • ecore_wl2_shutdown
  • ecore_wl2_display_connect
  • ecore_wl2_egl_window_native_get
  • ecore_wl2_egl_window_create
  • ecore_wl2_egl_window_destroy
  • ecore_wl2_window_position_set
  • ecore_wl2_init
  • ecore_wl2_display_get
  • ecore_wl2_window_alpha_set
  • ecore_wl2_display_destroy
  • ecore_wl2_window_id_get
  • ECORE_WL2_EVENT_WINDOW_VISIBILITY_CHANGE

tdm

  • tdm_client_create
  • tdm_client_vblank_set_enable_fake
  • tdm_client_vblank_wait
  • tdm_client_destroy
  • tdm_client_output_create_vblank
  • tdm_client_vblank_destroy
  • tdm_client_handle_events
  • tdm_client_get_output

tbm

  • tbm_surface_internal_unref
  • tbm_surface_internal_ref
  • tbm_surface_internal_is_valid

ecore_device_name_get
_ZTHN4dart8OSThread18current_vm_thread_E
ecore_device_class_get
ecore_device_subclass_get
__dlog_print

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.