3048 Commits

Author SHA1 Message Date
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
Chris Yang
3eea204d94 Update FlutterPlatformViewsTests (flutter/engine#23158) 2020-12-17 17:34:02 -08:00
Greg Spencer
3384cb61ba Fix macOS crash when modifier keys pressed. (flutter/engine#23154)
This fixes a problem with the macOS key handling where a flagsChanged event is being sent to a keyDown selector.
2020-12-17 16:07:07 -08:00
Andy Weiss
e1e83358f3 Use include for C/C++ headers in darwin/macos (flutter/engine#23035) 2020-12-17 14:54:02 -08:00
Jody Sankey
90e13c14a0 [fuchsia] Add wrapper for zx_clock_get_monotonic. (flutter/engine#23128)
Bug: https://github.com/flutter/flutter/issues/72321

Co-authored-by: Jody Sankey <jsankey@google.com>
2020-12-17 10:55:29 -08:00
Siva
ae14ea248a Add missing sdk constriant in pubspec.yaml files. (flutter/engine#23124)
* Add missing sdk constriants in pubspec.yaml files.

* Update tools/android_lint/pubspec.yaml

Co-authored-by: Zachary Anderson <zanderso@users.noreply.github.com>
2020-12-17 09:45:26 -08:00
Zachary Anderson
609ec347ce Add --strict_null_safety_checks to the Dart flag allowlist (flutter/engine#23144) 2020-12-17 09:44:00 -08:00
gaaclarke
18f46f0722 Added golden test to make sure that spawn engines work. (flutter/engine#23066) 2020-12-17 09:32:41 -08:00
Tamir Duberstein
6f70c0c330 [fuchsia] Remove fuchsia.netstack.Netstack (flutter/engine#23082) 2020-12-15 09:48:01 -08:00
gaaclarke
7afc6304de Started shutting down the sampler when it gets deleted (flutter/engine#23012) 2020-12-14 17:59:13 -08:00
Dan Field
77c7096efb Reland path volatility tracker (flutter/engine#23063)
* Revert "Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)"

This reverts commit feda80cb42f99e2588a9a6b9ab3dd1f812d0f45b.

* Fix tracing
2020-12-14 17:21:55 -08:00
gaaclarke
3d4aa5548a Implemented FlutterEngineGroup and Spawn API. (flutter/engine#22975) 2020-12-14 17:07:44 -08:00
Gary Qian
d337acaa97 DynamicFeatureChannel MethodChannel and Install state tracking (flutter/engine#22833) 2020-12-14 15:43:56 -08:00
freiling
7307b7759a warmup memory reland (flutter/engine#23009) 2020-12-14 13:18:02 -08:00
Jenn Magder
8b68269f75 Revert "Load iOS dart bundle by URL fallback (#22997)" (flutter/engine#23054)
This reverts commit 25c323c98207bd493892dc9f24658cac8039e835.
2020-12-14 13:12:25 -08:00
Dan Field
feda80cb42 Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (flutter/engine#23044)
This reverts commit 2d52a3c87c97660a050e4bf5559091d0cec262f3.
2020-12-11 15:39:24 -08:00
Greg Spencer
f485eaf7a1 Enable delayed event delivery for macOS (flutter/engine#21231)
This enables delayed event delivery for macOS, so that shortcuts can handle keys that are headed for a text field and intercept them. This fixes the problem where pressing TAB (or other shortcuts) in a text field also inserts a tab character into the text field.
2020-12-11 15:21:39 -08:00
gaaclarke
7c4ba383f8 Started tearing down the mock engine in tearDown in FlutterViewControllerTest (flutter/engine#23037) 2020-12-11 14:07:47 -08:00
gaaclarke
ace14e2877 Stopped mocking the a flutter engine to make sure we delete the (flutter/engine#23013)
FlutterViewController.
2020-12-11 09:40:07 -08:00
Robert Ancell
6fc7c5e846 Implement SystemSound.play 2020-12-11 13:38:47 +13:00
freiling
e9e4a3d079 Revert "Freiling warmup memory (#22984)" (flutter/engine#23007)
This reverts commit 879027fc8f4d8763dc6ee0d4803e30237b7c3cb3.
2020-12-10 15:35:46 -08:00
freiling
879027fc8f Freiling warmup memory (flutter/engine#22984)
* [fuchsia] enable boot time shader warmup even when LEGACY_FUCHSIA_EMBEDDER is defined

* [fuchsia] decouple shader warmup from embedder api

* [fuchsia] change warmup context flush() to flushAndSubmit() to reduce memory footprint of warmup

* [fuchsia] Fix GPU resource lifecycle issue with shader warmup

This fixes an issue with the shader warmup where gpu resources could end
up deleted before the gpu work that needed them was complete, leading to
GPU page faults. This was because although the sk_sp<SkSurface> will normally
keep resources alive throughout its lifetime, the SurfaceProducerSurface will
call VkDestroyMemory on the memory backing the SkSurface when it is deleted,
even if the SkSurface wrapping that VkMemory is still alive.

This change also deletes some related but unused code from
CompositorContext that I noticed while refactoring.
2020-12-10 15:27:44 -08:00
Jenn Magder
25c323c982 Load iOS dart bundle by URL fallback (flutter/engine#22997) 2020-12-10 14:43:02 -08:00
Dan Field
2d52a3c87c Set SkPath::setIsVolatile based on whether the path survives at least two frames (flutter/engine#22620)
This patch defaults the volatility bit on SkPaths to false, and then flips it to true if the path survives at least two frames.
2020-12-10 13:57:23 -08:00
Chase Latta
b2f8531baf add ffi_struct_patch.dart to libraries.yaml (flutter/engine#23000) 2020-12-10 13:32:49 -08:00
Jenn Magder
99bfdc65ed Load macOS dart bundle by URL fallback (flutter/engine#22979) 2020-12-10 12:50:58 -08:00
Robert Ancell
f128a93e70 Replace g_object_weak_ref with g_object_add_weak_pointer
In these cases it is simpler to use the latter. Newer code is using this method.
2020-12-11 09:07:26 +13:00
Gary Qian
19afd06afc Add split AOT loading unit failure/error code path (flutter/engine#22857) 2020-12-08 22:58:01 -08:00
Jason Simmons
5c65e278dd Move the WindowInsetsAnimation.Callback implementation to an inner class to avoid Android class loader warnings (flutter/engine#22916) 2020-12-08 12:38:02 -08:00
Robert Ancell
516165af02 Stop potential lockup due to GHashTable being modified when cleared. (flutter/engine#22917)
This doesn't seem to be currently occuring, but I triggered such a lockup
when modifying other code.
2020-12-09 07:26:35 +13:00
Chris Yang
3dfa731239 Enable clipRRect for android platform view hybrid composition (flutter/engine#21817) 2020-12-08 09:13:02 -08:00
ftsui
9b308bf473 Allow the root layout to be overriden. (flutter/engine#22887)
a
2020-12-07 14:15:45 -08:00
James Clarke
bf3c427990 Windows: Add UWP target stub [Flutter#14697] (flutter/engine#21754) 2020-12-06 11:03:02 -08:00
mikerreed
f5cb178122 Update sites to use new SkMatrix factories (flutter/engine#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
xster
7d33d45094 Handle null platform plugin delegate for v1 embedding (flutter/engine#22853) 2020-12-03 16:38:03 -08:00
mikerreed
37b2722631 opt into new Skia APIs (flutter/engine#22845) 2020-12-03 15:28:02 -08:00
Chris Bracken
d7804003d4 Fix NPE when platform plugin delegate is null (flutter/engine#22852)
Adds a null check before dereferencing in
PlatformPlugin.popSystemNavigator. platformPluginDelegate is allowed to
be null, as it is in the PlatformPlugin(Activity, PlatformChannel)
constructor.
2020-12-03 15:22:34 -08:00