2566 Commits

Author SHA1 Message Date
Gary Qian
05927cf60d Add FlutterPlayStoreSplitApplication for simpler opt in to Split AOT (flutter/engine#22752) 2020-11-30 19:27:44 -08:00
chandarrengoog
ad017544f3 Cleanup dart_runner examples & tests. (flutter/engine#22769) 2020-11-30 12:48:02 -08:00
Kaushik Iska
7d69fda39b Revert "Introduce a delegate class for gpu metal rendering (#22611)" (flutter/engine#22775)
This reverts commit 98f761acf90de8b60127ab0e7236d60866cb13e4.
2020-11-30 14:47:01 -06:00
xster
fd77ecc84c Let FlutterFragment not pop the whole activity by default when more fragments are in the activity (flutter/engine#22692) 2020-11-30 12:43:03 -08:00
Jason Simmons
567590484f Fix the unchecked conversion warning for searchPaths in PlayStoreDynamicFeatureManager (flutter/engine#22654)
Also use the diamond operator throughout this class.
2020-11-30 12:23:09 -08:00
David Worsham
135b5f5504 fuchsia: Ensure full-screen input interceptor (flutter/engine#22687) 2020-11-25 19:10:29 -08:00
Kaushik Iska
98f761acf9 Introduce a delegate class for gpu metal rendering (flutter/engine#22611) 2020-11-25 15:46:38 -06:00
Andy Weiss
ebdd79df0d [embedder][glfw] Add support for locales to glfw shell (flutter/engine#22657)
The other linux shell (and all the other embedding) have support for
getting the locales from the system and sending them over the
flutter/localization channel. The glfw shell does not have that which is
causing a crash on an assert now that Locale is no longer nullable
in Platform.

This adds a similar approach to what is going on over in the other linux
shell.
2020-11-24 14:23:12 -08:00
stuartmorgan
79b158833b Add initial settings message to Windows embedding (flutter/engine#22323)
Sends the flutter/settings update message to the engine after starting
it. For now values other than 24-hour time preference are hard-coded,
but dark mode support can be added later.

Fixes https://github.com/flutter/flutter/issues/65590
2020-11-23 15:58:45 -08:00
Richard Cai
4201a76d36 Create a wrapper for IOSurface to handle creation and (flutter/engine#22663)
binding IOSurfaces to textures / framebuffers.
2020-11-23 15:32:07 -05:00
Richard Cai
4c16b3f5ef Create FlutterFrameBufferProvider class. (flutter/engine#22656) 2020-11-21 08:43:04 -08:00
Jason Simmons
ec51a006fe Make AndroidContext::IsValid virtual (flutter/engine#22665)
Fixes https://github.com/flutter/flutter/issues/70938
2020-11-21 07:51:39 -08:00
Gary Qian
b29a73b5dc Fix java warnings for unchecked conversions in PlayStoreDynamicFeatureManager (flutter/engine#22628) 2020-11-20 13:37:26 -08:00
Greg Spencer
5c883e2293 Fix double delete on backspace on Android (flutter/engine#22626) 2020-11-20 10:43:02 -08:00
freiling
fa9001447d [fuchsia] shader warmup fixes (flutter/engine#22439)
This change contains a couple of changes that should have been in
github.com/flutter/engine/commit/4903a92b2b16e480c486965f6c102f335f1a4ecb
but fell through the cracks

First one lifts the initialization of the flutter::RunConfiguration so that
the asset manager gets set on the persistant cache before the shader
warmup happens. I'm not sure how this didnt end up in the first PR I
think it got mangled during merge conflict resolution. no test coverage
for that code because its in the middle of a 400 line constructor

Second one fixes a race condition that the tests dont catch because the
tests are single threaded. This change restructures the test that missed
this bug so that it would have caught that bug and will catch comparable
bugs.
2020-11-19 19:46:13 -08:00
Gary Qian
3676366194 Split AOT Android Embedder and shell (flutter/engine#22179) 2020-11-19 17:22:26 -08:00
Ari Weiland
bd40f31603 Update the tag for FlutterEngineConnectionRegistry to be 23 characters. (flutter/engine#22610) 2020-11-19 12:06:56 -08:00
Emmanuel Garcia
dba50d32e6 Replace support libraries for AndroidX (flutter/engine#22598) 2020-11-19 10:08:02 -08:00
Chris Yang
ffad39e000 PlatformViewsController: clear composition_order_ in the beginning of each frame. (flutter/engine#22574) 2020-11-19 09:53:03 -08:00
Gary Qian
7a18791454 Rename padding->viewPadding to match framework naming conventions (flutter/engine#22599) 2020-11-19 09:50:51 -08:00
Kaushik Iska
69b66029ac [macOS] Revert breaking change to FlutterEngine public API (flutter/engine#22592) 2020-11-19 11:45:31 -06:00
David Worsham
5063ea3d7b fuchsia: Clamp compositor surface size (flutter/engine#22593) 2020-11-18 15:46:21 -08:00
Wu Zhong
b66f593f07 [iOS] Fix platfotm view called multiple times (flutter/engine#19292) 2020-11-18 11:43:02 -08:00
Greg Spencer
d7793f5cfb Fix typos and fix some env var state leakage in tests (flutter/engine#22576)
This just fixes some typos, and a small state leak in some of the tests that set env variables.
2020-11-17 21:51:37 -08:00
gaaclarke
0901a93e5b started providing the GPU sync switch to external view embedders (flutter/engine#22302) 2020-11-17 18:43:01 -08:00
Kaushik Iska
4a50441caf [macOS] Move the glContext generation to FlutterOpenGLRenderer (flutter/engine#22572) 2020-11-17 15:08:01 -08:00
Kaushik Iska
554ee92f86 [macOS] Isolate openGL rendering to FlutterOpenGLRenderer (flutter/engine#22569) 2020-11-17 15:31:38 -06:00
Jason Simmons
9af515627c Make the AndroidContext superclass destructor virtual (flutter/engine#22555)
Also remove an obsolete external_view_embedder reference from
AndroidSurfaceFactoryImpl.

Fixes https://github.com/flutter/flutter/issues/70621
2020-11-16 17:46:52 -06:00
Jenn Magder
41e243e13b Add xcframework to ios out (flutter/engine#22506) 2020-11-16 13:58:44 -08:00
Hamdi Kahloun
1be95d91c7 [Android] Add systemNavigationBarDividerColor (flutter/engine#22538) 2020-11-16 10:48:02 -08:00
Hamdi Kahloun
105724c50c Revert "Update PlatformPluginTest.java & PlatformPlugin.java"
This reverts commit bca3c2e7d2e248ca4a6f764fb81d4de9516cf640.
2020-11-16 16:53:30 +01:00
Hamdi Kahloun
bca3c2e7d2 Update PlatformPluginTest.java & PlatformPlugin.java 2020-11-16 16:28:03 +01:00
Chris Yang
3d16c5e91c PlatformViewsController always make sure the touch events are finished (flutter/engine#22406) 2020-11-13 15:38:01 -08:00
Dan Field
714fb9e81b Opt in fixutres (flutter/engine#22502) 2020-11-13 12:02:07 -08:00
Ari Weiland
435a0f38be Fix some serious lifecycle bugs with Android embedding code (flutter/engine#22203) 2020-11-13 11:58:02 -08:00
Kaushik Iska
0b4d2a8c36 [android] Platform view creates external view embedder (flutter/engine#22360) 2020-11-13 05:52:41 -08:00
Kaushik Iska
2665245a45 PlatformViewIOS CreateExternalViewEmbedder refactor (flutter/engine#22353) 2020-11-13 04:58:44 -08:00
Kaushik Iska
356e31aef5 Reland "remove surface dependance on external view embedder (#22468)" (flutter/engine#22470) 2020-11-12 15:37:12 -08:00
Dan Field
b388181b25 Limit heap growth on Android (flutter/engine#20473)
Limit heap growth to half of totalMem by default, with the option to set it higher or lower in the AndroidManifest
2020-11-12 14:53:54 -08:00
Matej Knopp
7fd7ae2252 Disable synchronous resizing until a frame is produced (flutter/engine#22457)
Instead of synchronousResizing flag which in some cases seems to be set too early, synchronous resizing is postponed until framework produces a frame so ResizeSynchronizer knows for sure that the engine is up and running.
2020-11-12 11:50:31 -08:00
LongCatIsLooong
07032ba889 [Android text input] Reland #21534 (flutter/engine#22435) 2020-11-12 11:34:01 -08:00
George Wright
9e74c9daea Add D3D9 fallback path for ANGLE and ensure fallbacks are actually attempted (flutter/engine#22412) 2020-11-12 10:54:02 -08:00
Emmanuel Garcia
1d0a96bd3f Fix talkback in hybrid composition while using FlutterFragmentActivity (flutter/engine#22429) 2020-11-12 10:30:29 -08:00
Jim Graham
2fc96daad5 Fix the event size parameters in the Embedder ComplexClip test (flutter/engine#22455) 2020-11-12 09:34:03 -08:00
Kaushik Iska
ae4dbc51b8 Reverts 2 commits that remove surface dependance on external view embedder (flutter/engine#22468)
* Revert "Remove GetExternalViewEmbedder from surface (#22272)"

This reverts commit 9dffddd08d0ad6fa7434c5a5bdff87e09da92e57.

* Revert "Rasterizer is initialized with an external view embedder (#22405)"

This reverts commit 417c869d6bcd70ba82fdd6efc8db1efa19fb997c.
2020-11-12 08:41:11 -08:00
LongCatIsLooong
fbfb27f515 Revert "[Android Text Input] Make the editing state listenable and allow batch edits (#21534)" (flutter/engine#22434) 2020-11-11 18:24:02 -08:00
Robert Ancell
8e621546e8 Fix typo in documentation for FlPlatformPlugin (flutter/engine#22426) 2020-11-12 12:02:44 +13:00
chunhtai
65456583c8 reland support uri launch in android (flutter/engine#22363)
* Revert "Revert "support uri intent launcher in android (#21275)" (#22298)"

This reverts commit 9a5b6b4e910bcfac97a330a4aa2cbe2f14b57522.

* reland support uri launch for android

* refactor

* update

* fix test

* addressing comments

* addressing comments

* revert throw error
2020-11-11 14:51:04 -08:00
Kaushik Iska
9dffddd08d Remove GetExternalViewEmbedder from surface (flutter/engine#22272)
This decouples surfaces from view embedders.
2020-11-11 13:45:24 -08:00
LongCatIsLooong
7d20e41baf [Android Text Input] Make the editing state listenable and allow batch edits (flutter/engine#21534) 2020-11-10 19:19:03 -08:00