1. 13 10月, 2020 1 次提交
  2. 10 10月, 2020 1 次提交
    • G
      Migration to PlatformDispatcher and multi-window (#20496) · 85b0031f
      Greg Spencer 提交于
      This is a PR for converting the dart:ui code in the engine to use a multi-window API. The goal here is to convert from the window singleton to an API that has the concept of multiple windows. Also, I'm matching up the new PlatformDispatcher class to talk directly to the PlatformConfiguration class in the engine. I'm not attempting to actually enable creating multiple windows here, just migrate to an API that has a concept of multiple windows. The multi-window API in this PR currently only ever creates one window.
      
      The design doc for this change is here.
      
      The major changes in this PR:
      
      Move the platfom-specific attributes out of Window, and into the new PlatformDispatcher class that holds all of the platform state, so that the platform code need only update the configuration on this class.
      Create FlutterView, FlutterWindow, and SingletonFlutterWindow classes to separate out the concepts of a view (of which there may be multiple in a window), a window (of which there may be multiple on a screen, and they host views), and a window where there is only ever expected to be one (this hosts the entire API of the former Window class, and will eventually be the type of the window singleton).
      Next step after this PR lands:
      
      Remove the Window class entirely (it is replaced by SingletonFlutterWindow). Some minor changes in the Framework are needed to switch to using SingletonFlutterWindow directly first.
      
      The Window class still exists in this PR, but will be removed as soon as the framework is converted to point to the SingletonFlutterWindow class instead. They share the same API, just have different names (Window is currently a subclass of SingletonFlutterWindow). The intention is that the Window name will be freed up to use as a widget class name in the framework for managing windows. The singleton called window will remain, and keep the same API it has now.
      85b0031f
  3. 15 8月, 2020 1 次提交
  4. 07 8月, 2020 1 次提交
  5. 04 8月, 2020 1 次提交
    • D
      fuchsia: Remove dead code / break dependencies (#19396) · 12a37478
      David Worsham 提交于
      The fuchsia code around metrics and sizing was just sending this
      information through a side-channel, when the engine already had the
      information available. So, delete all of it to make future CLs simpler.
      
      Additionally, the SceneUpdateContext has many unneccesary dependencies
      re: metrics and PaintTasks. Break those to make future CLs simpler.
      
      Tested: Ran all unittests and ran workstation on Fuchsia
      BUG: 53062, 53063
      12a37478
  6. 01 8月, 2020 1 次提交
  7. 31 7月, 2020 1 次提交
    • G
      Fix lint errors in lib/ui (#19988) · a6cd3ebc
      Greg Spencer 提交于
      This fixes all of the lint errors in lib/ui, except for a few (three, I think) where it would have changed the API, converting non-const references to pointers. For those, I just did NOLINT on the particular line instead of ignoring the whole file.
      a6cd3ebc
  8. 23 7月, 2020 1 次提交
  9. 20 6月, 2020 1 次提交
  10. 19 6月, 2020 1 次提交
  11. 16 6月, 2020 1 次提交
  12. 02 5月, 2020 1 次提交
  13. 22 4月, 2020 1 次提交
  14. 11 10月, 2019 1 次提交
  15. 31 8月, 2019 1 次提交
  16. 17 8月, 2019 1 次提交
  17. 03 8月, 2019 1 次提交
  18. 07 6月, 2019 1 次提交
  19. 10 4月, 2019 1 次提交
    • C
      Rename the blink namespace to flutter. (#8517) · eec74e5c
      Chinmay Garde 提交于
      Some components in the Flutter engine were derived from the forked blink codebase. While the forked components have either been removed or rewritten, the use of the blink namespace has mostly (and inconsistently) remained. This renames the blink namesapce to flutter for consistency. There are no functional changes in this patch.
      eec74e5c
  20. 15 3月, 2019 1 次提交
  21. 07 3月, 2019 1 次提交
  22. 02 3月, 2019 2 次提交
  23. 25 1月, 2019 1 次提交
  24. 17 1月, 2019 2 次提交
  25. 17 11月, 2018 1 次提交
    • J
      Keep a copy of each engine's description that can be accessed outside the... · 3978f075
      Jason Simmons 提交于
      Keep a copy of each engine's description that can be accessed outside the engine's UI thread (#6885)
      
      The service protocol's ListViews method needs to return description data for
      each engine in the process.  Previously ListViews would queue a task to each
      UI thread to gather this data.  However, the UI thread might be blocked from
      executing tasks (e.g. if the Dart isolate is paused), resulting in a deadlock.
      
      This change provides a copy of the engine's description data to the
      ServiceProtocol's global list of engines, allowing ListViews to run without
      accessing any UI threads.
      
      Fixes https://github.com/flutter/flutter/issues/24400
      3978f075
  26. 08 11月, 2018 1 次提交
  27. 19 10月, 2018 1 次提交
  28. 18 10月, 2018 1 次提交
  29. 11 10月, 2018 1 次提交
  30. 01 8月, 2018 1 次提交
  31. 27 7月, 2018 1 次提交
  32. 24 7月, 2018 1 次提交
  33. 17 7月, 2018 1 次提交
  34. 14 7月, 2018 2 次提交
  35. 20 6月, 2018 1 次提交
  36. 19 6月, 2018 2 次提交