738 Commits

Author SHA1 Message Date
xster
915e2ca178
FlutterEngineGroup for Android (#23675) 2021-01-19 12:29:02 -08:00
Michael Goderbauer
0123541c39
State Restoration for iOS (#23495) 2021-01-14 15:54:04 -08:00
gaaclarke
effb529ece
Added missing export for the flutter engine group. (#23689) 2021-01-14 13:19:03 -08:00
George Wright
a8a7534eab
Support Mice in iPadOS 13.4+ (#23636) 2021-01-14 11:15:29 -08:00
Jenn Magder
affaca375c
Revert "Support Mice in iPadOS 13.4+ (#23362)" (#23610)
This reverts commit 6c80aa777913914f9753e3c4efc1c3d4aa22f7a5.
2021-01-11 18:24:45 -08:00
gaaclarke
62e2529744
Started asserting that metal gpu contexts are shared (#23539)
Started asserting that metal gpu contexts are shared, added ability
for IOSContexts to store their skia contexts so we can make the OpenGL
code work like the Metal code.
2021-01-11 16:39:37 -08:00
George Wright
6c80aa7779
Support Mice in iPadOS 13.4+ (#23362) 2021-01-11 10:35:41 -08:00
Michael Goderbauer
40a262b67c
Update outdated links (#23513) 2021-01-08 10:14:01 -08:00
gaaclarke
ca156c5c72
started sharing GPU contexts between spawned engines (#23435)
* Lightweight flutter engines - started sharing GPU contexts between
spawned engines

* responded to feedback
2021-01-07 13:11:36 -08:00
Jason Simmons
83732f262c
Provide a runtime switch for selecting SkParagraph text layout (#23474) 2021-01-07 12:59:03 -08:00
Gary Qian
1c975f1e7c
AssetResolver updating in AssetManager for Dynamic features (#23130) 2020-12-23 17:39:55 -08:00
Zachary Anderson
de1de9d44f
Disable FlutterPluginAppLifeCycleDelegateTest testWillResignActive (#23166) 2020-12-17 20:34:08 -08:00
Chris Yang
a8c360dc24
Update FlutterPlatformViewsTests (#23158) 2020-12-17 17:34:02 -08:00
gaaclarke
78657edbb5
Added golden test to make sure that spawn engines work. (#23066) 2020-12-17 09:32:41 -08:00
gaaclarke
f37c8c5796
Implemented FlutterEngineGroup and Spawn API. (#22975) 2020-12-14 17:07:44 -08:00
Jenn Magder
2bc94c4013
Revert "Load iOS dart bundle by URL fallback (#22997)" (#23054)
This reverts commit 9df2157676abbdfbd3303327b59b1492a5d5769a.
2020-12-14 13:12:25 -08:00
gaaclarke
54aaac815f
Started tearing down the mock engine in tearDown in FlutterViewControllerTest (#23037) 2020-12-11 14:07:47 -08:00
gaaclarke
1b0dc61ef0
Stopped mocking the a flutter engine to make sure we delete the (#23013)
FlutterViewController.
2020-12-11 09:40:07 -08:00
Jenn Magder
9df2157676
Load iOS dart bundle by URL fallback (#22997) 2020-12-10 14:43:02 -08:00
Gary Qian
8d4b7f3a68
Add split AOT loading unit failure/error code path (#22857) 2020-12-08 22:58:01 -08:00
mikerreed
59b4baea51
Update sites to use new SkMatrix factories (#22871)
SkMatrix is deprecating some of its factories. This must moves flutter tests to the new ones.

No expected change in runtime.
2020-12-04 12:05:42 -05:00
zljj0818
48befc59d4
More rename from GPU thread to raster thread (#22819) 2020-12-03 15:03:02 -08:00
Gary Qian
fcbfa9f527
Split AOT Engine Runtime (#22624) 2020-12-02 13:28:01 -08:00
chunhtai
7d7a260198
Add static text trait to plain semantics object with label in iOS (#22811)
* Add static text trait to plain semantics object with label in iOS

* update

* format
2020-12-02 09:32:35 -08:00
Gary Qian
53fc019aab
Split AOT Android Embedder and shell (#22179) 2020-11-19 17:22:26 -08:00
Chris Yang
74d40c101f
PlatformViewsController: clear composition_order_ in the beginning of each frame. (#22574) 2020-11-19 09:53:03 -08:00
Wu Zhong
cfdcfca152
[iOS] Fix platfotm view called multiple times (#19292) 2020-11-18 11:43:02 -08:00
gaaclarke
1c3bc02649
started providing the GPU sync switch to external view embedders (#22302) 2020-11-17 18:43:01 -08:00
Chris Yang
92e5a95a14
PlatformViewsController always make sure the touch events are finished (#22406) 2020-11-13 15:38:01 -08:00
Kaushik Iska
38b6c22d5b
PlatformViewIOS CreateExternalViewEmbedder refactor (#22353) 2020-11-13 04:58:44 -08:00
gaaclarke
2ed204e425
Reland deeplinking with info.plist check (#22356) 2020-11-10 15:29:02 -08:00
Kaushik Iska
caf678d30f
Move common graphics utils to //flutter/common/graphics (#22320) 2020-11-10 12:34:02 -08:00
Chris Yang
2560b5321a
[PlatformViewsController] Clear root_views_ in Reset (#22403) 2020-11-09 12:34:01 -08:00
Chris Yang
fb72023d38
Reland "Do not involve external_view_embedder in submit frame process if threads are not merged. #22275" (#22372) 2020-11-06 21:04:02 -08:00
Gary Qian
e231e3bc93
Remove extra method in ComputePlatformResolvedLocale (#22362) 2020-11-06 16:34:45 -08:00
Chris Bracken
74472ce6da
Revert "Rasterizer is initialized with an external view embedder (#22348)" (#22367)
This reverts commit 0d5f2e901d1953d04eb45004666d34a4537a0060.

Due to merge conflicts, this also reverts #22275:

Revert "Do not involve external_view_embedder in submit frame process if threads are not merged. (#22275)"

This reverts commit 016fbde1bb275288242e2cf097b52af1dd66ab06.
2020-11-06 15:26:47 -08:00
Chris Yang
016fbde1bb
Do not involve external_view_embedder in submit frame process if threads are not merged. (#22275) 2020-11-06 11:04:01 -08:00
chunhtai
acaef6f00d
Revert "Added the ability to set the initial route via launch urls. (#21336)" (#22337) 2020-11-05 16:09:01 -08:00
gaaclarke
4e9459e007
Refactored the FlutterEngine to make it easier to implement spawn functionality (#21890) 2020-10-30 15:29:10 -07:00
Kaushik Iska
37d766c0dc
Fix includes to start with shell (#22227)
See b/172031915
2020-10-30 08:51:32 -07:00
Kaushik Iska
f81bc371c0
[profiling] Handle thread_info to account for killed threads (#22170)
Fixes: https://github.com/flutter/flutter/issues/63025
2020-10-29 12:06:16 -07:00
Kaushik Iska
d6627c6a7d
Reland [ios] Refactor IOSSurface factory and unify surface creation (#22016) 2020-10-29 11:58:03 -07:00
Kaushik Iska
a598f23763
[ios] Convert FlutterPlatformViewsController to smart pointer (#22082)
* Convert FlutterPlatformViewsController to smart pointer

* have a const reference of platform views controller

* change more stuff to references
2020-10-26 09:45:09 -07:00
gaaclarke
25bb31ef68
Added the ability to set the initial route via launch urls. (#21336) 2020-10-26 09:31:23 -07:00
Greg Spencer
6bc70e4a11
Reland: Migration to PlatformDispatcher and multi-window (#21932)
This re-lands #20496 and #21780 after fixing the semantics-enabling code that was causing the post-submit web_smoke_test to fail.

Below is the description from the original PR:

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.
2020-10-22 14:54:25 -07:00
chunhtai
aed8e019be
Fixes Edge trigger route change announcement (#21975) 2020-10-22 14:22:03 -07:00
Wu Zhong
a82e917dc2
[iOS] Fixes leaks of presses key message (#21987)
Related PR: #20972
2020-10-20 10:15:44 -07:00
Jenn Magder
0c7c477245
Revert "[ios] Refactor IOSSurface factory and unify surface creation (#21877)" (#21970) 2020-10-19 16:32:03 -07:00
puelo
43b618e4bf
Added keyEvent support for iOS 13.4+ (#20972) 2020-10-19 16:22:02 -07:00
Kaushik Iska
6a3b5feb62
[ios] Refactor IOSSurface factory and unify surface creation (#21877) 2020-10-15 19:56:13 -07:00