630 Commits

Author SHA1 Message Date
Emmanuel Garcia
c34705f5dd Reland: "Fix memory leak and bug in the RunsOnCreationTaskRun" (flutter/engine#25317) 2021-03-31 15:16:38 -07:00
Yilong Li
eaaa732b80 fuchsia: Allow access to system services in tests. (flutter/engine#25303)
Per https://fuchsia.dev/fuchsia-src/concepts/testing/v1_test_component,
in order to access non-basic system services like Vulkan loader and
sysmem allocator, we need to add "system-services" field to the cmx
metadata file.

Unittests like "shell_test" requires Vulkan to run properly, so we
add Vulkan loader and sysmem services; for Flutter runner tests,
we also need to add fuchsia.ui.scenic.Scenic since the test needs
to create a Scenic session as well.

TEST=shell_tests (SkpWarmupTest.Basic/SkpWarmupTest.Image)
     flutter_runner_tests (EngineTest.SkpWarmUp) on FEMU
2021-03-31 13:43:33 -07:00
Alexander Brusher
3ebaf4f764 [fuchsia][a11y] Adds isKeyboardKey semantics flag. (flutter/engine#25167)
This change introduces a semantics flag to indicate whether a node
represents a virtual keyboard key.
2021-03-30 13:26:56 -07:00
chandarrengoog
b730d4b621 Copy gtest_filters from femu_test.py. (flutter/engine#25300)
Start migrating away from hard-coded gtest_filters in femu_test.py
2021-03-30 10:35:15 -07:00
Michael Goderbauer
d627e66bcf remove ignores (flutter/engine#25131) 2021-03-25 10:19:01 -07:00
gaaclarke
4ce633698f started cleaning scenario tests before running them (flutter/engine#25222) 2021-03-24 22:49:01 -07:00
Michael Goderbauer
5d4faf7368 Sync analyzer_options.yaml (flutter/engine#25129) 2021-03-23 17:51:01 -07:00
Wu Zhong
0fc1ff7bc1 [iOS] Fixes platform view clipped when FlutterView has non-zero offset (flutter/engine#24893) 2021-03-23 10:01:01 -07:00
Kaushik Iska
40c0b51d5e [macos] [metal] Fix use after free in FlutterExternalTextureMetal (flutter/engine#24995)
* [macos] [metal] Fix use after free in FlutterExternalTextureMetal

This also adds a test for the said failure

Fixes: https://github.com/flutter/flutter/issues/78056

* fix review comments
2021-03-16 13:55:28 -07:00
Jenn Magder
f229eff91d Set automatic simulator rotation in scenario test (flutter/engine#24985) 2021-03-15 15:50:39 -07:00
Jason Simmons
8c6f4a36de Signal an error if an Isolate.spawnUri call uses an unsupported URI (flutter/engine#24583) 2021-03-10 16:45:02 -08:00
Ren You
4885af8ae3 Revert "Fix memory leak and bug in the RunsOnCreationTaskRunner check (#24690)" (flutter/engine#24874)
This reverts commit e0a475111216cf4775e08441100c0b6a24fd8b84.
2021-03-09 06:29:42 -08:00
Chris Bracken
13cf185e1c Correct setup-related typos (flutter/engine#24846)
Corrects uses of setup as a verb to 'set up', leaves noun/noun-phrase
forms of setup as 'setup'. Also settles on 'teardown' as opposed to
tear-down for consistency across the codebase.

A few other minor comment/wording corrections.
2021-03-08 17:31:10 -08:00
chunhtai
92d11213ff Adds set text action for voice access (flutter/engine#24734) 2021-03-04 17:44:01 -08:00
Emmanuel Garcia
e0a4751112 Fix memory leak and bug in the RunsOnCreationTaskRunner check (flutter/engine#24690) 2021-03-02 12:39:02 -08:00
LongCatIsLooong
deec3a0d07 Reland "TextStyle level leadingDistribution (#24025)" reverted in #24665 (flutter/engine#24668) 2021-03-01 14:55:03 -08:00
LongCatIsLooong
b82a309954 Revert "TextStyle level leadingDistribution (#24025)" (flutter/engine#24665) 2021-02-26 12:41:01 -08:00
LongCatIsLooong
e10becadf3 TextStyle level leadingDistribution (flutter/engine#24025) 2021-02-25 11:46:02 -08:00
Jason Simmons
b27a922c38 Propagate image decode errors to the future returned by Codec.getNextFrame (flutter/engine#24336) 2021-02-11 14:51:03 -08:00
Yuqian Li
f8860ab806 Upgrade metrics_center (flutter/engine#24185)
So we'll no longer write into the legacy datastore.
2021-02-03 15:52:16 -08:00
Michael Reed
7ef5d67e1b Use sampling instead of (deprecated) filter-quality (flutter/engine#24101) 2021-02-01 00:16:02 -08:00
Yuqian Li
478675129c Upgrade metrics_center to write into GCS buckets (flutter/engine#24022) 2021-01-29 11:09:51 -08:00
Tong Mu
ee1cc9f5ab Hardware keyboard: Web, embedder, and dart:ui (flutter/engine#23466) 2021-01-28 17:19:02 -08:00
xster
888728a804 Load FlutterLoader when creating FlutterEngineGroup (flutter/engine#23980) 2021-01-27 13:30:23 -08:00
Ian Hickson
b26007da3e Continue filling in the list of FontFeatures (flutter/engine#23730) 2021-01-27 02:49:02 -08:00
Dan Field
e778949043 Reland path vol tracker (flutter/engine#23840)
This time making sure to deref the native object on GC.
2021-01-21 16:03:43 -08:00
Dan Field
cb57183325 revert path volatility tracker (flutter/engine#23822) 2021-01-21 08:34:02 -08:00
Yuqian Li
6d57116ac3 Migrate to use the published metrics_center (flutter/engine#23767)
This change shouldn't affect anything except for the "Linux benchmarks" LUCI post-submit bot.

We'll closely monitor the LUCI bot to see if this works as intended. If so, we'll continue the migration in Cocoon (https://github.com/flutter/cocoon/pull/1062) to cut the dependency on the old Cocoon datastore and Tong's desktop.

Related issue: https://github.com/flutter/flutter/issues/73872
2021-01-20 09:36:33 -08:00
Tong Mu
640ad94161 ci: Print output in case of compile error (flutter/engine#23522)
* Print compile error

* Better comment

* Update run_tests.py
2021-01-19 23:04:53 -08:00
xster
8b90c7869e FlutterEngineGroup for Android (flutter/engine#23675) 2021-01-19 12:29:02 -08: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
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
chunhtai
ec2eb68f80 Apply local patch to chromium accessibility code (flutter/engine#23110) 2021-01-06 17:39:02 -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
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
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
gaaclarke
78b1abc9c4 Turned no malloc scribble and randomized the tests. (flutter/engine#23014) 2020-12-17 15:14:15 -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
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
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
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
Jim Graham
8d66065e9a Allow Tile mode for blur filter and add new decal TileMode (flutter/engine#22982)
Add a new TileMode.decal enum value and allow TileMode in ImagerFilter.blur() constructor
2020-12-10 14:37:17 -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
Alexander Aprelev
240e9648d3 Use List.filled constructor instead of soon-to-be-deprecated List constructor (flutter/engine#22925) 2020-12-08 09:53:05 -08:00
Gary Qian
dc86b7e433 Remove spammy log (flutter/engine#22858) 2020-12-03 19:23:04 -08:00