876 Commits

Author SHA1 Message Date
David Worsham
88c5519cfa [fuchsia] Migrate unittests to CFv2 (flutter/engine#32878) 2022-05-06 18:54:05 -07:00
Jim Graham
26c1ba11fa Text gradient matrix golden test (flutter/engine#33153) 2022-05-05 19:24:04 -07:00
Chris Bracken
d19ef3092c [embedder] Fix typo in EmbedderA11yTest (flutter/engine#33120) 2022-05-04 18:19:05 -07:00
Jim Graham
5997dd3e9d use new DlObjects throughout the DisplayList code (flutter/engine#32896) 2022-04-29 13:59:06 -07:00
Tong Mu
e6f56a53ff [Linux] Make unit tests abort on critical errors, and fix two such errors (flutter/engine#32348) 2022-04-28 15:24:05 -07:00
Naud Ghebre
ea8342fc2b [dart_test_runner] Adapt the dart runner to implement the suite fidl protocol so that it can be used in the v2 testing framework. (flutter/engine#32751) 2022-04-28 12:55:55 -07:00
Jim Graham
0e92250c2a Display list test executables (flutter/engine#32973) 2022-04-27 17:04:07 -07:00
Zachary Anderson
fb5c781136 Delete AppLifecycleTests testDismissedFlutterViewControllerNotRespondingToApplicationLifecycle (flutter/engine#32971) 2022-04-27 16:14:04 -07:00
Alexander Aprelev
ef654d96c2 Remove unused pkg/pedantic dependency. (flutter/engine#32894)
The dependency is unused, but causes breakages during dart->engine roll since https://dart.googlesource.com/sdk/+/aa63ef8f4f506ffa9f160b960158e861be370b4a removed it from dart sdk.
2022-04-25 06:39:10 -07:00
Jim Graham
1afb88d9e4 Reland: simplify the logic around computing subtree opacity inheritance (flutter/engine#32853) 2022-04-22 16:19:04 -07:00
Chris Bracken
a970f9766a Minor unique_ptr initialization cleanup (flutter/engine#32821)
Cleans up a few cases of std::unique_ptr(new T) that could have been
using std::make_unique<T>(...).
2022-04-20 17:08:00 -07:00
Jim Graham
272d144c55 Verbose display list comparisons (flutter/engine#32737) 2022-04-19 23:04:03 -07:00
egdaniel
ee03d13d72 Don't use Skia internal src file GrGLDefines. (flutter/engine#32491)
Skia's src files are not stable and may change constantly, flutter should not ever including them.
2022-04-14 13:08:11 -07:00
Jim Graham
1c35cc7dc2 make sure to sync PathEffet to null for Dart Canvas rendering (flutter/engine#32672) 2022-04-14 12:39:04 -07:00
Jim Graham
bd89e4452a Designated field initialization of Paint/PrerollContexts (flutter/engine#32634) 2022-04-12 20:59:05 -07:00
Yegor
f6c36b8c51 fix races associated with unawaited futures (flutter/engine#32593) 2022-04-12 13:49:49 -07:00
Dan Field
4101b52aca Unify unhandled error reporting, add PlatformDispatcher.onError (flutter/engine#32078) 2022-04-09 14:44:04 -07:00
Chris Bracken
92e109f579 Add API consistency test (flutter/engine#32408) 2022-04-07 15:26:04 -07:00
Kevin Lubick
f7b0a59a84 [skia] Fix more transitive includes (flutter/engine#32430) 2022-04-07 08:53:54 -04:00
Jim Graham
b8d19a2d36 assertion failure on empty indices in ui.Vertices constructor (flutter/engine#32434) 2022-04-05 14:56:04 -07:00
fzyzcjy
a6ca392650 Create ImageFilter.dilate/ImageFilter.erode (flutter/engine#32334) 2022-04-04 13:01:02 -07:00
Chris Yang
fc54e5ecac Set iOS default frame rate to screen max. (flutter/engine#29797) 2022-04-01 14:34:47 -07:00
Kevin Lubick
cdd2946003 Fix includes of SkColorSpace et al (flutter/engine#32382) 2022-04-01 10:59:23 -07:00
Jason Simmons
c133cad506 Add an API for variable font axes in TextStyle and connect it to SkParagraph (flutter/engine#32245) 2022-03-28 13:35:02 -07:00
Dwayne Slater
346d9b3016 Add test for external textures on Android (flutter/engine#31642) 2022-03-25 10:59:54 -07:00
Gary Qian
0422046115 Revert "Delete io.flutter.app android v1 embedding" (flutter/engine#32232) 2022-03-24 00:10:04 -07:00
Gary Qian
08cef2ee55 Delete io.flutter.app android v1 embedding (flutter/engine#32074) 2022-03-23 20:22:54 -07:00
gaaclarke
237c111725 Dart Plugin Registrant - Reland e525aced2737 (flutter/engine#32189) 2022-03-23 18:20:05 -07:00
Zachary Anderson
1f2acee85b Adds a plist flag for Impeller (flutter/engine#32157) 2022-03-21 09:35:26 -07:00
gaaclarke
9b0587193e added dart plugin registrant test executables to run_tests.py (flutter/engine#31726) 2022-02-28 19:51:57 -08:00
Jim Graham
80605e564d detect cases when Skia nops filters by returning nullptr to prevent crashes (flutter/engine#31689) 2022-02-25 17:00:11 -08:00
Jenn Magder
a9f3ed3e46 Delete scenario test TextSemanticsFocusTest (flutter/engine#29370) 2022-02-17 14:34:08 -08:00
godofredoc
65ca495690 Skip font-tests for host_profile variants. (flutter/engine#31515)
font-tests are not built by default in the host_profile variant. The
test was working properly because all the variants were being built
sequentially in the same host. With the separation of builds and tests
every variant is built in a separate host and host_profile does not have
access to font-tests built by host_debug.

Bug: https://github.com/flutter/flutter/issues/98642
2022-02-17 09:13:52 -08:00
George Wright
61fdc01618 Add a CSV output option to displaylist_benchmark_parser.py and add a README detailing how to run and process benchmarks on iOS/Android (flutter/engine#31481) 2022-02-15 19:43:26 -08:00
Dan Field
93d8ed15f0 Expose picture.debugDisposed, make sure we do not crash when working with disposed pictures (flutter/engine#31453) 2022-02-14 18:25:02 -08:00
Chris Bracken
81c662ef3d Enable a11y unittests on Windows (flutter/engine#31387)
This enables accessibility unittests on Windows as part of our CI testing.

It also corrects two unit tests which were fixed by
https://github.com/flutter/engine/pull/29773, which fixed
https://github.com/flutter/flutter/issues/78460.

Finally it disables an AXFragmentRoot test that times out. We don't use
AXFragmentRoot in Flutter as it's only used with UI Automation APIs,
which Flutter does not use (we use MSAA).

Issue: https://github.com/flutter/flutter/issues/98225
2022-02-12 12:51:01 -08:00
Ben Konyi
56afd34216 Change support for VM service message from "The Dart VM Service is listening" to "The Dart VM service is listening" (flutter/engine#31361)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-10 09:45:28 -08:00
Zachary Anderson
eca60c0b90 Add clang-analyzer-* and clang-diagnostic-* to .clang-tidy (flutter/engine#31291) 2022-02-09 12:26:34 -08:00
George Wright
4d958f025f Enable DisplayList benchmarks to be built on Android (flutter/engine#31268) 2022-02-08 11:00:09 -08:00
Clement Skau
c988119386 Adds Tonic templates for Dart FFI bindings. (flutter/engine#29405)
This change adds additional Tonic templates for automatically generating bindings for Dart FFI, as well as serialisation of the bindings.

- Adds parallel FfiDispather templates to the existing DartDispatcher used for (old) native bindings.
- Adds serialisation of the bindings to enable automatic conversion and verification.
- Extends existing DartConverters with conversions to and from the FFI transport types.
- Adds new test (ffi_native_unittest.cc) for the above.

This will allow us to replace the existing native functions in e.g. dart:ui with new Dart FFI native functions.
2022-02-08 08:57:55 +01:00
Zachary Anderson
fd6043f0de Adds impeller_unittests to run_tests.py (flutter/engine#31280) 2022-02-07 18:05:56 -08:00
George Wright
4e871bb6db Add an iOS benchmarks template app (flutter/engine#31269) 2022-02-07 15:57:55 -08:00
Ben Konyi
34d2ccff68 Change support for VM service message from "Dart VM Service listening" to "The Dart VM Service is listening" (flutter/engine#31310)
See https://github.com/dart-lang/sdk/issues/46756
2022-02-07 13:55:22 -08:00
Emmanuel Garcia
6d8f65e672 Parallelize Android unit tests (flutter/engine#30728) 2022-02-04 16:15:09 -08:00
George Wright
bd22d1169d Add a python script to parse DisplayList benchmarking output (flutter/engine#31266) 2022-02-04 15:18:45 -08:00
Ben Konyi
a5baa644a3 Add support for new VM service message (flutter/engine#31250)
"Observatory listening on..." is eventually being updated to "Dart VM
Service listening on...". This change allows for parsing the VM service
URI from messages of either format.

See https://github.com/dart-lang/sdk/issues/46756
2022-02-04 10:25:53 -08:00
Jim Graham
7cec2a4d1b DisplayList savelayer opacity peephole optimization (flutter/engine#30957) 2022-02-04 00:45:10 -08:00
Brandon DeRosier
d683f9a0c7 Vulkan support in the Embedder API (flutter/engine#29391) 2022-02-02 00:55:21 -08:00
Daco Harkes
3f08ba3ad1 Migrate run_tests.py to dart pub get (flutter/engine#31181) 2022-02-01 23:12:27 -08:00
Brandon DeRosier
925224a9ee Prefix remaining OS defines with FML_ namespace (flutter/engine#31172) 2022-01-31 14:31:44 -08:00