3063 Commits

Author SHA1 Message Date
Kaushik Iska
4a40b82089
[metal] Disable image comparison for gradient_metal test (#23540)
See:  https://github.com/flutter/flutter/issues/73590
2021-01-08 17:48:10 -08:00
Jason Simmons
9370aaf548
Add a keep annotation to the ImeSyncDeferringInsetsCallback.AnimationCallback inner class (#23545)
Fixes https://github.com/flutter/flutter/issues/72787
2021-01-08 14:54:09 -08:00
Greg Spencer
9cb4d2dd24
Make pending event handling more lenient to allow out of order responses (#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
40a262b67c
Update outdated links (#23513) 2021-01-08 10:14:01 -08:00
Gary Qian
3f200606c1
Rename DynamicFeature->DeferredComponent and impl uninstall DeferredComponents (#23224) 2021-01-07 21:02:05 -08:00
Jason Simmons
5f7a12097f
Skip the FlEngineTest.SettingsPlugin test (#23516)
See https://github.com/flutter/flutter/issues/73517
2021-01-07 17:03:28 -08:00
Michael Reed
0229f6cb17
Update virtual to take sampling (#23476) 2021-01-07 15:49:03 -08:00
Filip Filmar
3b3d8e67d3
[fuchsia][input] Migrate Flutter to "input3" (#23262) 2021-01-07 15:39:03 -08:00
Damian Wrobel
3a1b62b362
Fix argument specifier for g_warning() (#23138) 2021-01-07 15:34:03 -08:00
Kaushik Iska
1365c31351
[tests] Normalize SkImage before comparison. (#23489) 2021-01-07 14:47:06 -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
Kaushik Iska
be8839f59e
[macos] Re-land FlutterOpenGLRenderer isolation (#22607) 2021-01-07 08:04:48 -08:00
Jason Simmons
f6b51d0c33
Call JavaVM::AttachCurrentThread only once per thread (#23188) 2021-01-06 17:44:02 -08:00
Dan Field
df27e691b3
Fix SurfaceView usage when status bar is transparent for a11y (#23457) 2021-01-06 11:53:42 -08:00
chunhtai
e682f2aba3
fixes android deeplink to push the path only (#23255) 2021-01-05 11:14:01 -08:00
Michael Reed
022bb11fa7
Remove dead code for 3x3 matrices (#23363)
Co-authored-by: Mike Reed <reed@google.com>
2021-01-05 08:54:20 -05:00
Robert Ancell
90d1f05686
Implement settings channel for the Linux shell (#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
02abfc9360 Add engine tests for Linux shell 2021-01-05 09:50:52 +13:00
Kaushik Iska
70f070263a
[embedder] [metal] Add support for Metal Renderer Config in the embedder API (#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
7cb464aedb
Switch to new virtuals on SkCanvas (#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
b304148d46
fuchsia: Shutdown Dart VM properly (#23243) 2020-12-28 18:16:27 -08:00
Gary Qian
1c975f1e7c
AssetResolver updating in AssetManager for Dynamic features (#23130) 2020-12-23 17:39:55 -08:00
Dan Field
5a2244c581
Reland path volatility tracker, disabling it if deterministic rendering is requested (#23226)
* Reland path volatility tracker (#23063)" (#23220)

This reverts commit fceef3aaa9d156e8ec3f4a079c142921882f70d8.

* allow disabling based on whether deterministic rendering is needed
2020-12-22 08:25:20 -08:00
Dan Field
fceef3aaa9
Revert "Reland path volatility tracker (#23063)" (#23220)
This reverts commit 205d2b8e188be518c313c9b537429b566d36fa35.
2020-12-21 13:53:18 -08:00
Jenn Magder
d0c504751e
Load App.framework in macOS app (#23221) 2020-12-21 13:51:58 -08:00
Brian Salomon
3a58179d6f
Update ios to use new YUVA texture SkImage factory (#23153) 2020-12-21 15:55:05 -05:00
Zachary Anderson
1be6f414e7
Manual Dart SDK roll (#23165) 2020-12-17 21:42:21 -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
Greg Spencer
418cc488e9
Fix macOS crash when modifier keys pressed. (#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
05704d3123
Use include for C/C++ headers in darwin/macos (#23035) 2020-12-17 14:54:02 -08:00
Jody Sankey
6e54f0d2df
[fuchsia] Add wrapper for zx_clock_get_monotonic. (#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
76310c4264
Add missing sdk constriant in pubspec.yaml files. (#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
51c9ae9566
Add --strict_null_safety_checks to the Dart flag allowlist (#23144) 2020-12-17 09:44:00 -08:00
gaaclarke
78657edbb5
Added golden test to make sure that spawn engines work. (#23066) 2020-12-17 09:32:41 -08:00
Tamir Duberstein
6b4d4a39df
[fuchsia] Remove fuchsia.netstack.Netstack (#23082) 2020-12-15 09:48:01 -08:00
gaaclarke
9643c9d110
Started shutting down the sampler when it gets deleted (#23012) 2020-12-14 17:59:13 -08:00
Dan Field
205d2b8e18
Reland path volatility tracker (#23063)
* Revert "Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)"

This reverts commit 4f914253bd7cd2a5cca3fd97213df37494e9bf37.

* Fix tracing
2020-12-14 17:21:55 -08:00
gaaclarke
f37c8c5796
Implemented FlutterEngineGroup and Spawn API. (#22975) 2020-12-14 17:07:44 -08:00
Gary Qian
056b8be933
DynamicFeatureChannel MethodChannel and Install state tracking (#22833) 2020-12-14 15:43:56 -08:00
freiling
bbed7c6ab8
warmup memory reland (#23009) 2020-12-14 13:18:02 -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
Dan Field
4f914253bd
Revert "Set SkPath::setIsVolatile based on whether the path survives at least two frames (#22620)" (#23044)
This reverts commit 2efc7c10aa12005010c837a1023024bb26bee143.
2020-12-11 15:39:24 -08:00
Greg Spencer
21691f1ebb
Enable delayed event delivery for macOS (#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
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
Robert Ancell
6678efaacf Implement SystemSound.play 2020-12-11 13:38:47 +13:00
freiling
164696619b
Revert "Freiling warmup memory (#22984)" (#23007)
This reverts commit 062cbd8cc8026ac8cdda48a29dc60e50535877b5.
2020-12-10 15:35:46 -08:00
freiling
062cbd8cc8
Freiling warmup memory (#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