1. 13 11月, 2018 3 次提交
  2. 10 11月, 2018 4 次提交
  3. 09 11月, 2018 5 次提交
    • A
      Support platform view overlays with GL rendering (#6769) · 099b4eea
      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.
      099b4eea
    • A
      Make the FlutterPlatformViewFactory create FlutterPlatformViews. (#6782) · a0efb941
      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.
      a0efb941
    • D
      Fix mDNS publishing for iOS simulator (#6789) · 7ed4909f
      Dan Field 提交于
      * Don't block the platfrorm thread on simulator mDNS publishing
      7ed4909f
    • A
      Discard embedded UIViews on hot restart. (#6772) · 18ca035c
      Amir Hardon 提交于
      18ca035c
    • A
      Add an internal_nodes_canvas to PaintContext. (#6728) · 387ca2ef
      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.
      387ca2ef
  4. 08 11月, 2018 4 次提交
  5. 07 11月, 2018 2 次提交
  6. 06 11月, 2018 1 次提交
  7. 03 11月, 2018 1 次提交
  8. 02 11月, 2018 1 次提交
    • A
      Add an overlay surface on top of embedded UIViews. (#6726) · 9e1f546a
      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)
      9e1f546a
  9. 01 11月, 2018 3 次提交
  10. 31 10月, 2018 2 次提交
    • A
      Delay embedded UIViews touch events until the framework says so. (#6665) · 059876ea
      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.
      059876ea
    • D
      Ensure Simulator publishes mDNS records (#6696) · d8672baa
      Dan Field 提交于
      * Ensure Simulator publishes mDNS records on loopback interface.
      d8672baa
  11. 30 10月, 2018 1 次提交
  12. 29 10月, 2018 1 次提交
  13. 27 10月, 2018 6 次提交
  14. 25 10月, 2018 4 次提交
  15. 24 10月, 2018 2 次提交