- 13 11月, 2018 3 次提交
-
-
由 Michael Goderbauer 提交于
-
由 Dan Field 提交于
* Avoid announcing text field when it lacks a11y focus
-
由 Amir Hardon 提交于
We were leaking the texture after the view was disposed.
-
- 10 11月, 2018 4 次提交
-
-
由 Dan Field 提交于
-
由 Amir Hardon 提交于
Right now we do it whenever the platform views preview flag is on. This is less efficient, filed https://github.com/flutter/flutter/issues/24133 to only do this when there's a platform view in the tree.
-
由 Amir Hardon 提交于
-
由 Amir Hardon 提交于
The `id` parameter of onDispose is passed as the method argument and not as part of a map.
-
- 09 11月, 2018 5 次提交
-
-
由 Amir Hardon 提交于
Moved the frame buffer specific logic from IOSGLContext to IOSGLRenderTarget. use recording canvases for overlays Support platform view overlays with gl rendering. This also changes the overlay canvases (for both software and gl rendering) be recording canvases, and only rasterize them after finishing the paint traversal.
-
由 Amir Hardon 提交于
Handing a UIView refererence directly to the engine makes it challenging for plugin authors to retain a controller for that UIView (e.g the controller that talks over the platform channel) for as long as the embedded view is needed. We instead make the factory return a FlutterPlatformView which is a wrapper around the UIView that the engine retains as long as the platform view instance is needed. This allows plugin authors to keep their control logic in the FlutterPlatformView and know that the engine is responsible for retaining the reference.
-
由 Dan Field 提交于
* Don't block the platfrorm thread on simulator mDNS publishing
-
由 Amir Hardon 提交于
-
由 Amir Hardon 提交于
When we visit a PlatformViewLayer during the paint traversal it replaces the PaintContext's canvas with a new one that is painted ontop of the embedded view. We need to make sure that operations applied by parent layers are also applied to the new canvas. To achieve this we collect all the canvases in a SkNWayCanvas and use this canvas by non leaf nodes. Leaf nodes still paint only to the "current" canvas. This PR moves the overlay canvas creation from the paint phase to the preroll phase, collects them into a SkNWayCanvas and set it in PaintContext. To keep this PR focused, I only used the internal_nodes_canvas in the tranform_layer. Will followup with a PR that changes all internal layers to use the internal_nodes_canvas.
-
- 08 11月, 2018 4 次提交
-
-
由 Dan Field 提交于
-
由 Mehmet Fidanboylu 提交于
-
由 Michael Goderbauer 提交于
-
由 Todd Volkert 提交于
This also removes unused imports and sorts imports correctly
-
- 07 11月, 2018 2 次提交
-
-
由 Dan Field 提交于
* fix setInitialRoute
-
由 Amir Hardon 提交于
-
- 06 11月, 2018 1 次提交
-
-
由 Amir Hardon 提交于
When the flag is true, we currently use a single thread configuration, and disabled the raster cache for opacity layers. The flag's name is 'io.flutter_embedded_views_preview'.
-
- 03 11月, 2018 1 次提交
-
-
由 Stanislav Baranov 提交于
-
- 02 11月, 2018 1 次提交
-
-
由 Amir Hardon 提交于
The overlay surfaces are going to be the same IOSSurface implementation with the platform views controller set to null (so these are surfaces that don't support embedding platform views to them). * Adds a FlutterOverlayView which is a UIView that's showing an overlay surface. * Creates an overlay surface for each embedded UIView (done in FlutterPlatformViewsController). * Changes CompositeEmbeddedView to return a new canvas. * Makes the PlatformViewLayer replace the PaintContext's canvas with the canvas for the overlay view. * Changed canvas in PaintContext to be a pointer so it can be changed. TBD in following PRs: * Copy the current canvas state when replacing a canvas in PaintContext. * Make FlutterOverlayView work with a GL backend (currently it only works with software rendering)
-
- 01 11月, 2018 3 次提交
-
-
由 Amir Hardon 提交于
-
由 Amir Hardon 提交于
Also tracks the order of embedded views from frame to frame, and only removes and reattaches subviews if there is a structural change to the UIView hierarchy.
-
由 Amir Hardon 提交于
This PR breaks PlatformViewsController's construction dependency on FlutterView, which allows making FlutterEngine its owner instead of FlutterViewController. Also renamed the FlutterScreenshotDelegate to FlutterViewEngineDelegate which is FlutterView's delegate to the engine, and expanded it to provide a view embedder.
-
- 31 10月, 2018 2 次提交
-
-
由 Amir Hardon 提交于
This allows the framework to decide whether and when a touch event sequence arrives to the embedded view. Which gives the framework the ability to manage hit testing and gesture disambiguation for embedded UIViews. We achieve this by wrapping each embedded UIView with another UIView that has a custom UIGestureRecognizer that delays touch events from being delivered, and another UIGestureRecognizer that makes sure to let Flutter know of events that are hit tested to the embedded view.
-
由 Dan Field 提交于
* Ensure Simulator publishes mDNS records on loopback interface.
-
- 30 10月, 2018 1 次提交
-
-
由 Dan Field 提交于
-
- 29 10月, 2018 1 次提交
-
-
由 Mehmet Fidanboylu 提交于
-
- 27 10月, 2018 6 次提交
-
-
由 Chinmay Garde 提交于
-
由 Dan Field 提交于
* Update FlutterPlugin.h docs, suppress warning for older API
-
由 Amir Hardon 提交于
-
由 Amir Hardon 提交于
For flow to manipulate the embedded UIViews during the paint traversal it needs some hook in PaintContext. This PR introduces a ViewEmbeder interface that is implemented by the iOS PlatformViewsController and plumbs it into PaintContext. The ViewEmbedder interface is mainly a place holder at this point, as this PR is focused on just the plumbing.
-
由 Dan Field 提交于
* Create FlutterEngine to manage a Shell to support maintaining execution state across instances of FlutterViewControllers * Refactor PlatformViewIOS to support adding or removing a FlutterViewController dynamically * Refactor FlutterDartHeadlessCodeRunner to implement FlutterEngine * Refactor FlutterViewController to accept a FlutterEngine at initialization or to create one for backwards compatibility; any Shell related responsibilities are now passed through to the Engine instance * Remove FlutterNavigationController (unused) * Update all public Objective C doc comments to be consistent and formatable * Add public documentation to all public headers
-
由 Stanislav Baranov 提交于
-
- 25 10月, 2018 4 次提交
-
-
由 Jonah Williams 提交于
-
由 Amir Hardon 提交于
Adds a FlutterPlatformViewFactory protocol - a simple factory protocol to be implemented by plugins that exposes a UIView for embedding in Flutter apps. * Adds a FlutterPlatformView protocol, which is used to associate a dispose callback with a `UIView` created by a FlutterPlatformViewFactory. * Exposes a registerViewFactory method in FlutterPluginRegistrar. * Implements the `flutter/platform_views` system channel on iOS, allowing Dart code to ask for creation/destruction of UIViews.
-
由 Dan Field 提交于
-
由 Chinmay Garde 提交于
-
- 24 10月, 2018 2 次提交
-
-
由 Chinmay Garde 提交于
-
由 James Clarke 提交于
Fix Windows embedding. Appears that #6523 or #6525 introduced a bug for embedder scenarios causing the window native library to be incorrectly initialized and thus incapable of correctly resolving GL functions. This change fixes that. (#6624)
-