847 Commits

Author SHA1 Message Date
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
Brandon DeRosier
2d4f908b9d Add FML_ prefix to fml/build_config.h macros (flutter/engine#31141) 2022-01-31 11:53:51 -08:00
Siva
f31c8eb26c Add option to enable serial GC (flutter/engine#30975)
* Roll Dart SDK from e256855d07ba to a3b62f366529 (4 revisions) (#21809)

* Roll Dart SDK from e655b9a3839e to b58cfe5ab24e (1 revision) (#21920)

* Roll Dart SDK from fc82eeed7df3 to 8be6a08153cc (1 revision) (#22005)

* Roll Dart SDK from fe12b0536f42 to a188781c9fc8 (1 revision) (#22379)

* Roll Skia from 95b5fb9213d7 to 68ac3b9ec3ca (17 revisions) (#22713)

* Roll Dart SDK from 2c74e62a050c to f9760fc12871 (5 revisions) (#22881)

* Roll Dart SDK from 68d1c7504f7d to f166571c7bc4 (1 revision) (#23056)

* Roll Dart SDK from 970d74c42472 to fd72dbb5b82b (1 revision) (#23820)

* Trigger an engine build to re-open the tree (#26056)

This commit is empty and simply triggers a new build to open the tree.

Commit e9ca785106ddc672d945062758800bdf1dd0aa68 was re-built after a
succesful build; upload to the cloud storage bin failed.

* Roll Skia from d9a7c5953df3 to 827bb729a84d (2 revisions) (#26096)

* Roll Dart SDK from d616108772bd to a527411e5100 (0 revision) (#26156)

* Roll Dart SDK from bb9d96ffbafa to 7250fd6379b2 (0 revision) (#26374)

* Roll Dart SDK from 202c42e3395c to 2e9c4305a6aa (1 revision) (#26578)

* Roll buildroot to 275038b8be7196927b0f71770701f3c2c3744860 (#26945)

* [test] empty commit (#27599)

https://flutter-review.googlesource.com/c/infra/+/15660

* Roll Dart SDK from e1414001c93b to 686070850ee3 (1 revision) (#27620)

* Empty commit to apply latest LUCI config (#27767)

* Roll Dart SDK from 3b11f88c96a5 to 976f160b547f (3 revisions) (#29436)

* Empty commit to fix main tree status (#29760)

* Add option to enable serial GC
This option can be used to avoid thread contention issues for the UI thread when running on low power devices with limited number of cores.

* Fix format.

* Added test.

* Add build rule.

* Address review comments.

Co-authored-by: skia-flutter-autoroll <skia-flutter-autoroll@skia.org>
Co-authored-by: Chris Bracken <chris@bracken.jp>
Co-authored-by: Casey Hillers <chillers@google.com>
2022-01-25 17:06:18 -08:00
George Wright
3ac06a37d4 Remove dead code - we don't use this MTLTextureDescriptor we create in TestMetalSurfaceImpl::Init (flutter/engine#30977) 2022-01-21 11:57:45 -08:00
eggfly
85fe32c0d3 Add a custom switch to clean up the leaked Dart VM (flutter/engine#30541) 2022-01-20 23:20:10 -08:00
Alexander Aprelev
2dd70761f3 Add pkg:smith as a dependency for flutter_frontend_server. (flutter/engine#30903)
* Add pkg:smith as a dependency for flutter_frontend_server.

This is needed to roll dart past b453c6bcba

* Update few more packages that depend on internal dart sdk expect package
2022-01-18 09:26:55 -08:00
George Wright
6b45335bf1 Create a DisplayList benchmarks dylib on iOS (flutter/engine#30833)
Create a DisplayList benchmarks dylib on iOS that can be linked to from a test app. To run the benchmarks,
call the exported entrypoint RunBenchmarks(argc, argv).
2022-01-13 14:32:54 -08:00
George Wright
d160719f16 Don't retain the MTLTexture or MTLDevice in TestMetalContext (flutter/engine#30832) 2022-01-13 14:29:43 -08:00
Emmanuel Garcia
73aac59a40 Add missing dependencies to the background image app (flutter/engine#30769) 2022-01-10 12:30:09 -08:00
eggfly
dae2e15222 Add more info for --type in run_tests.py and add android into all type (flutter/engine#30458) 2021-12-28 09:29:10 -08:00
Emmanuel Garcia
522e4f06b6 Keep a single source of truth for embedding dependencies (flutter/engine#30359) 2021-12-15 23:39:02 -08:00
Jenn Magder
3eb35a2df7 Add iOS version to scenario golden images (flutter/engine#30263) 2021-12-10 10:24:10 -08:00
Chris Yang
22693e2599 [ios platform view] fix overlay zPosition (flutter/engine#29930) 2021-12-07 16:04:01 -08:00
Jenn Magder
99c86eecb5 Revert "Run iOS scenario apps on iPhone 11 and iOS 14 (#30104)" (flutter/engine#30193)
This reverts commit be166e754a8e430d26aa16dea4619186867e2181.
2021-12-07 12:42:21 -08:00
Jenn Magder
be166e754a Run iOS scenario apps on iPhone 11 and iOS 14 (flutter/engine#30104) 2021-12-07 10:59:01 -08:00
Jenn Magder
cb6cd0a3e8 Update IosUnitTests to use iPhone 11 simulator (flutter/engine#30090) 2021-12-03 10:49:02 -08:00
ColdPaleLight
299cf0138d Migrate sk_cf_obj to sk_cfp (flutter/engine#30029) 2021-12-02 13:29:01 -08:00
Callum Moffat
8877397345 Remove iPadOS mouse pointer if no longer connected (flutter/engine#28319) 2021-11-29 14:47:01 -08:00
ColdPaleLight
742a3dc7d8 Remove the dart entry point args from the Settings struct (flutter/engine#29831) 2021-11-22 18:43:02 -08:00
ColdPaleLight
9ecd4c1899 Make FlutterEngineGroup support dart entrypoint args (flutter/engine#29096) 2021-11-18 18:08:03 -08:00
Zachary Anderson
03c0f7e453 Add 'explicit' to header files (flutter/engine#29741) 2021-11-17 12:49:16 -08:00
Brandon DeRosier
4136d0117f Enable Skia's Vulkan backend on all non-mobile platforms, and test SwiftShader Vulkan on all GL unittests platforms (flutter/engine#29520) 2021-11-16 15:27:25 -08:00
Ian Hickson
359f05e0e5 fix x64_64 typo in comments (flutter/engine#29731) 2021-11-13 21:45:31 -08:00
Chase Latta
6e983493b3 Add test facets to test_suite.cml (flutter/engine#29697) 2021-11-11 16:11:41 -08:00
Zachary Anderson
40ca25819e Use a prebuilt Dart SDK during Fuchsia builds (flutter/engine#29680) 2021-11-11 13:24:37 -08:00
Christopher Crawford
87422e6679 Add a samplerUniforms field for FragmentProgram (flutter/engine#29597) 2021-11-11 07:53:02 -08:00
Jason Simmons
d6af30327a Specify the output paths of the android_background_image lint task (flutter/engine#29630) 2021-11-10 11:23:02 -08:00
George Wright
c859ffd744 Update third-party benchmark library (flutter/engine#29627)
* Roll benchmark to upstream github @ 431abd149fd76a072f821913c0340137cc755f36
Roll buildroot to bfa04ad85fed176aa909f880ef5c8009c945ba03 to get build files for benchmark

* Roll flutter_packages to b1fdbabbe70caa21566f6a815235d624c716ea16

* Add a task name to parse_and_send.dart's call to FlutterDestination.update()
2021-11-10 10:22:34 -08:00
Clement Skau
9d35daaffd [test] Fixes testing/run_tests.py py3 support. (flutter/engine#29611) 2021-11-10 09:02:45 +01:00
Jim Graham
948d1538c3 separate saveLayer events into record and execute variants and trace more of the execution calls (flutter/engine#29598) 2021-11-09 16:13:01 -08:00