3084 Commits

Author SHA1 Message Date
Michael Goderbauer
ea1b8adee8 State Restoration for iOS (flutter/engine#23495) 2021-01-14 15:54:04 -08:00
Kaushik Iska
e7be1a1cf4 Add support for rendering using Metal on macOS (flutter/engine#23599) 2021-01-14 14:47:21 -08:00
gaaclarke
496768187d Added missing export for the flutter engine group. (flutter/engine#23689) 2021-01-14 13:19:03 -08:00
George Wright
d748fd80bf Support Mice in iPadOS 13.4+ (flutter/engine#23636) 2021-01-14 11:15:29 -08:00
gaaclarke
5026c62732 lightweight flutter engines: sharing skia contexts for the io thread (flutter/engine#23508) 2021-01-13 13:04:16 -08:00
Robert Ancell
124ce62dd2 Use the scroll multiplier that the Chromium source uses.
Fixes https://github.com/flutter/flutter/issues/71385
2021-01-14 09:06:36 +13:00
Robert Ancell
7436af8647 Only handle smooth scroll events.
On X11 scroll events are being directly sent to the FlView X window. This is
causing them to bypass the normal scroll handling and means this widget received
both smooth and non-smooth scroll events.

I haven't been able to find a solution to the root cause of the problem, so only
smooth scroll event are being processed. This could cause issues on older
versions of the X server that don't send smooth scroll events, but fixes the
problem for the common modern case.

This issue doesn't occur in Wayland.
2021-01-14 09:06:36 +13:00
gaaclarke
8af69442c0 share font collections between spawn engines (flutter/engine#23603) 2021-01-13 11:38:48 -08:00
Robert Ancell
0cadee4e98 Add accessibility suport to Linux shell. (flutter/engine#19634)
Add accessibility support to the Linux shell
2021-01-13 13:49:48 +13:00
gaaclarke
dbc486213c Plumbing refactor to allow the usage of Dart_CreateIsolateInGroup (flutter/engine#23549)
Did the plumbing refactor that allows us to call Dart_CreateIsolateInGroup when applicable.
2021-01-12 16:43:12 -08:00
Sarbagya Dhaubanjar
fbd0f1df95 Android deeplink sends "path + query" instead of just path (flutter/engine#23561)
* added .cpid & .gclient to gitignore

* updated tests

* minor change

* fixed formating

* compact concatenation

* minor change

* Revert "added .cpid & .gclient to gitignore"

* cleanup
2021-01-12 16:02:08 -08:00
Niklas Schulze
22b1eea1b9 Windows textures: Add placeholder flutter_texture_registrar.h (flutter/engine#23623) 2021-01-12 13:19:02 -08:00
Chase Latta
e636c1b44d [dart-runner] Avoid calling Destroy on nullptr (flutter/engine#23608) 2021-01-12 13:14:02 -08:00
Robert Ancell
af2850ee0d Only remove weak pointers that are set.
If the pointer has already been removed this generates a runtime warning.
2021-01-12 15:35:39 +13:00
Jenn Magder
ecf4b807a1 Revert "Support Mice in iPadOS 13.4+ (#23362)" (flutter/engine#23610)
This reverts commit 701fcbd1a34cf4139198824f5f86b10a0ed5f69b.
2021-01-11 18:24:45 -08:00
gaaclarke
0df5eaaa89 Started asserting that metal gpu contexts are shared (flutter/engine#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
Greg Spencer
5d9a19e3c0 Fix indexing error in Linux key event handling (flutter/engine#23598)
Fixes an indexing error in the linux key handling code.

I also found another error when checking to see if an event is re-dispatched, and some off-by-one errors in the search. Not sure what I was smoking that day, but hopefully these are all the issues.
2021-01-11 13:01:06 -08:00
George Wright
701fcbd1a3 Support Mice in iPadOS 13.4+ (flutter/engine#23362) 2021-01-11 10:35:41 -08:00
Robert Ancell
543a61f8c6 Re-enable test 2021-01-11 11:36:40 +13:00
Robert Ancell
17d45cd5a3 Fix double frees in FlSettingsPlugin tests.
Fixes https://github.com/flutter/flutter/issues/73517
2021-01-11 11:36:40 +13:00
Robert Ancell
7ca7ce114f Remove debugging code 2021-01-11 11:36:40 +13:00
Kaushik Iska
8a4b31934c [metal] Disable image comparison for gradient_metal test (flutter/engine#23540)
See:  https://github.com/flutter/flutter/issues/73590
2021-01-08 17:48:10 -08:00
Jason Simmons
58c6293ae2 Add a keep annotation to the ImeSyncDeferringInsetsCallback.AnimationCallback inner class (flutter/engine#23545)
Fixes https://github.com/flutter/flutter/issues/72787
2021-01-08 14:54:09 -08:00
Greg Spencer
70bba34e51 Make pending event handling more lenient to allow out of order responses (flutter/engine#23504)
This PR makes the Linux key handling code a little more lenient when it comes to the order in which it receives responses to key events from the framework. I had assumed that there wasn't a case where responses could get out of order, but it seems that it is possible, given that you can mash on the keyboard and eventually get one out of order.

This changes the code so that instead of just looking at the first entry in the pending event deque, it searches the deque starting at the beginning to find the event, and remove it.
2021-01-08 10:43:59 -08:00
Michael Goderbauer
f2a937ebba Update outdated links (flutter/engine#23513) 2021-01-08 10:14:01 -08:00
Gary Qian
e4fa163b51 Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents (flutter/engine#23224) 2021-01-07 21:02:05 -08:00
Jason Simmons
2c5db12c82 Skip the FlEngineTest.SettingsPlugin test (flutter/engine#23516)
See https://github.com/flutter/flutter/issues/73517
2021-01-07 17:03:28 -08:00
Michael Reed
9de62b433a Update virtual to take sampling (flutter/engine#23476) 2021-01-07 15:49:03 -08:00
Filip Filmar
943ae09365 [fuchsia][input] Migrate Flutter to "input3" (flutter/engine#23262) 2021-01-07 15:39:03 -08:00
Damian Wrobel
0c179e5d66 Fix argument specifier for g_warning() (flutter/engine#23138) 2021-01-07 15:34:03 -08:00
Kaushik Iska
5cae004d4d [tests] Normalize SkImage before comparison. (flutter/engine#23489) 2021-01-07 14:47:06 -08:00
gaaclarke
cbafc317cd started sharing GPU contexts between spawned engines (flutter/engine#23435)
* Lightweight flutter engines - started sharing GPU contexts between
spawned engines

* responded to feedback
2021-01-07 13:11:36 -08:00
Jason Simmons
095b5d15fb Provide a runtime switch for selecting SkParagraph text layout (flutter/engine#23474) 2021-01-07 12:59:03 -08:00
Kaushik Iska
131e179b7c [macos] Re-land FlutterOpenGLRenderer isolation (flutter/engine#22607) 2021-01-07 08:04:48 -08:00
Jason Simmons
3c26d58ae9 Call JavaVM::AttachCurrentThread only once per thread (flutter/engine#23188) 2021-01-06 17:44:02 -08:00
Dan Field
d012575664 Fix SurfaceView usage when status bar is transparent for a11y (flutter/engine#23457) 2021-01-06 11:53:42 -08:00
chunhtai
8b7e018dbf fixes android deeplink to push the path only (flutter/engine#23255) 2021-01-05 11:14:01 -08:00
Michael Reed
3870a12e48 Remove dead code for 3x3 matrices (flutter/engine#23363)
Co-authored-by: Mike Reed <reed@google.com>
2021-01-05 08:54:20 -05:00
Robert Ancell
ae52e3b83c Implement settings channel for the Linux shell (flutter/engine#22486)
Implement settings channel for the Linux shell

Fixes https://github.com/flutter/flutter/issues/65591
2021-01-05 12:28:43 +13:00
Robert Ancell
7505bd518a Add engine tests for Linux shell 2021-01-05 09:50:52 +13:00
Kaushik Iska
eb3ab64883 [embedder] [metal] Add support for Metal Renderer Config in the embedder API (flutter/engine#22854)
This change adds a FlutterMetalRendererConfig that lets embedders
specify metal as rendering api.

Also adds a test that validates rendering a gradient using metal.
2021-01-01 20:39:36 -08:00
mikerreed
299466f287 Switch to new virtuals on SkCanvas (flutter/engine#23350)
* Switch to new virtuals on SkCanvas

Co-authored-by: Mike Reed <reed@google.com>
2020-12-30 16:45:33 -05:00
David Worsham
61b749c7fd fuchsia: Shutdown Dart VM properly (flutter/engine#23243) 2020-12-28 18:16:27 -08:00
Gary Qian
2bfbb4197c AssetResolver updating in AssetManager for Dynamic features (flutter/engine#23130) 2020-12-23 17:39:55 -08:00
Dan Field
dedf9bd1af Reland path volatility tracker, disabling it if deterministic rendering is requested (flutter/engine#23226)
* Reland path volatility tracker (#23063)" (#23220)

This reverts commit b56fc25561417f96e17dacab375e66f474a54c94.

* allow disabling based on whether deterministic rendering is needed
2020-12-22 08:25:20 -08:00
Dan Field
b56fc25561 Revert "Reland path volatility tracker (#23063)" (flutter/engine#23220)
This reverts commit 77c7096efb0b1392acc9793c386561a3c36012ba.
2020-12-21 13:53:18 -08:00
Jenn Magder
4942e7faad Load App.framework in macOS app (flutter/engine#23221) 2020-12-21 13:51:58 -08:00
Brian Salomon
dc25ace136 Update ios to use new YUVA texture SkImage factory (flutter/engine#23153) 2020-12-21 15:55:05 -05:00
Zachary Anderson
29adc2e448 Manual Dart SDK roll (flutter/engine#23165) 2020-12-17 21:42:21 -08:00
Zachary Anderson
befaa820f3 Disable FlutterPluginAppLifeCycleDelegateTest testWillResignActive (flutter/engine#23166) 2020-12-17 20:34:08 -08:00