788 Commits

Author SHA1 Message Date
Christopher Crawford
31e6e6c23e Replace FragmentShader with FragmentShaderBuilder (flutter/engine#29231) 2021-10-27 11:38:02 -07:00
Jason Simmons
2c8702d096 Build a specialized snapshot for launching the service isolate in profile mode on Android (flutter/engine#29245) 2021-10-27 11:03:01 -07:00
Dan Field
d5c36f87f5 Revert "Android Background Platform Channels (#29147)" (flutter/engine#29344)
This reverts commit c40f7670e7aff3a42be2cbac0df067009278d639.
2021-10-26 14:52:13 -07:00
Ian Hickson
7fc8ee9773 ensure web_ui and ui have the same toString methods for StringAttributes (flutter/engine#29323) 2021-10-26 13:08:01 -07:00
Tong Mu
056234966b [macOS] Clearing overridden channel should not affect the latest channel (flutter/engine#29242)
If a class contains a channel, recreating an instance of this class will lead to the following scenario:

- The new channel is created with the same name and assigned with a callback (which overrides the earlier channel's)
- The earlier class is deallocated, deallocating the earlier channel

This PR fixes the problem where the second channel's callback will be cleared by the first channel's deallocation.
2021-10-26 01:45:50 -07:00
Dan Field
f1dae7ad34 Delay default font manager to run concurrently with isolate setup (flutter/engine#29291)
* Delay default font manager to run concurrently with isolate setup

* test
2021-10-21 16:20:32 -07:00
gaaclarke
c40f7670e7 Android Background Platform Channels (flutter/engine#29147) 2021-10-21 16:08:02 -07:00
Dan Field
293ef51fc6 Reland Android systrace (flutter/engine#29080)
* Reland "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (#29071)"

This reverts commit a7660964b41f64991369341364a43c93317a4a51.

* More logcat

* more logs

* Remove wait

* Avoid plugin registrar exception

* DEFAULT instead of LAUNCHER

* use am instead of monkey

* Update android_systrace_test.py
2021-10-08 15:55:50 -07:00
Zachary Anderson
a7660964b4 Revert "Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (#28903)" (flutter/engine#29071)
This reverts commit 79063b3c6105c3cf8be757ed6d31dd9a055060d9.
2021-10-07 22:08:10 -07:00
Dan Field
79063b3c61 Use the systrace recorder if systracing is enabled at startup, and enable systracing in release mode on Android (flutter/engine#28903) 2021-10-07 15:59:46 -07:00
Rich Kadel
c2ad820db9 Migrated integration_flutter_test/embedder (scenic integration test) from fuchsia.git (flutter/engine#26880) 2021-09-30 17:10:02 -07:00
gaaclarke
bde0f38b61 made it so you can specify which adb to use for android tests (flutter/engine#28975) 2021-09-30 16:37:24 -07:00
ColdPaleLight
3bd57ac05a Make FlutterEngineGroup support initialRoute (flutter/engine#28884) 2021-09-29 11:02:37 -07:00
gaaclarke
fb483ee0d6 made android unit tests not require the host engine variant to exist (flutter/engine#28925) 2021-09-29 10:07:33 -07:00
gaaclarke
452b0bd2f9 added unit tests for the android embedder that run on android devices (flutter/engine#28784) 2021-09-28 14:02:18 -07:00
Jim Graham
05fd262e61 use all 16 matrix entries in Canvas.transform() to enable 3D matrix concatenation (flutter/engine#28856) 2021-09-27 17:58:01 -07:00
Chris Yang
c9f351741d backdrop_filter_layer only pushes to the leaf_nodes_canvas (flutter/engine#28500) 2021-09-27 11:33:01 -07:00
Dan Field
a2a3c9643c Remove obsolete instructions from scenario_app readme, pass depfile correctly. (flutter/engine#28732) 2021-09-23 14:13:01 -07:00
Jenn Magder
f9f6708037 Set MinimumOSVersion in iOS Info.plist based on buildroot setting (flutter/engine#28743) 2021-09-22 14:38:02 -07:00
Emmanuel Garcia
4cb3bf45b2 Replace jcenter() for mavenCentral() (flutter/engine#28777) 2021-09-21 14:09:08 -07:00
Kaushik Iska
3ea49f1530 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28726) 2021-09-20 15:13:02 -07:00
Dan Field
2e28909bb8 Do not use jcenter(), switch to mavenCentral() (flutter/engine#28738) 2021-09-20 14:26:52 -07:00
Jason Simmons
c9c7f44174 Wrap ImageShader::sk_image_ with a SkiaGPUObject (flutter/engine#28698) 2021-09-17 20:18:02 -07:00
Zachary Anderson
75c1fbccc7 Don't use Dart's application_snapshot() rule (flutter/engine#28361) 2021-09-16 13:37:01 -07:00
Brandon DeRosier
7b6fa075a7 Flip on leak detector and suppress or fix remaining leak traces (flutter/engine#28625)
Patch/suppress the remaining leaks and flip on the leak detector to start catching new leaks in CI.
2021-09-16 12:58:56 -07:00
Bruno Leroux
cf0c1b8c2a Call _isLoopback as a last resort (flutter/engine#28576) 2021-09-15 08:47:01 -07:00
Konstantin Scheglov
463ebf640f Fix UNNECESSARY_TYPE_CHECK_TRUE (flutter/engine#28611)
* Fix UNNECESSARY_TYPE_CHECK_TRUE

* Fix two more places.
2021-09-15 08:22:24 -07:00
Kaushik Iska
0e1c107c4f Parse the benchmarks on presubmit jobs (flutter/engine#28586) 2021-09-13 13:57:59 -07:00
Rich Kadel
dd51e241e5 Fix building Dart Fuchsia components and packages (flutter/engine#28413) 2021-09-09 14:47:02 -07:00
Kaushik Iska
3cbb40e6ea Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28513) 2021-09-08 12:24:43 -07:00
Kaushik Iska
559cc49517 Reland "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28510)
This reverts commit f23eeaba7a6edef97cae5693cdbeb66ce05d2493.
2021-09-08 11:24:09 -07:00
ColdPaleLight
17f29a0304 Factor out a task synchronization help function for unit tests (flutter/engine#28467) 2021-09-08 11:12:01 -07:00
Chinmay Garde
f23eeaba7a Revert "Add benchmarks to measure dart -> native time (#28492)" (flutter/engine#28509)
This reverts commit db55f9274993a34bb6a0c81cc377cde54bb585d7.
2021-09-08 10:33:54 -07:00
Kaushik Iska
db55f92749 Add benchmarks to measure dart -> native time (flutter/engine#28492) 2021-09-08 09:17:01 -07:00
Jim Graham
10d49ea696 Add RasterCache metrics to the FrameTimings (flutter/engine#28439) 2021-09-03 16:26:01 -07:00
Dan Field
01b6571ebc Drop unneded kotlin dep (flutter/engine#28375) 2021-08-31 15:31:02 -07:00
Christopher Crawford
4ac725f85f Fix function definitions in SPIR-V transpiler. (flutter/engine#28352)
Function calls were not tested and the definitions of function parameters were output separately, since the transpiler used to output function declarations before implementations.

Closes issue flutter/flutter#89083
2021-08-30 17:47:01 -07:00
ColdPaleLight
d90a23b4ae Support raw straight RGBA format in Image.toByteData() (flutter/engine#28293) 2021-08-27 10:11:01 -07:00
Brandon DeRosier
5bb761bbe8 Remove overflow suppression (flutter/engine#28317) 2021-08-25 17:00:32 -07:00
Jason Simmons
a00125e2e4 Run the Android Robolectric tests using Gradle (flutter/engine#28084) 2021-08-25 09:11:02 -07:00
ColdPaleLight
138cde7ea8 Correct the return value of the method RunInIsolateScope (flutter/engine#28161) 2021-08-24 11:24:03 -07:00
Brandon DeRosier
bb11686888 Symbolize ASan traces when using run_tests.py (flutter/engine#28274)
* Configure ASan to symbolize on linux

* Supply ASAN_SYMBOLIZER_PATH when running tests, fix problem with line stripping in run_tests
2021-08-23 16:43:01 -07:00
Dan Field
d8ce6688ad No more gradlew, instead get gradle during gclient sync (flutter/engine#28264) 2021-08-23 13:58:22 -07:00
Matej Knopp
b48f5143ac Enable repeat for desktop embedder tests (flutter/engine#28253) 2021-08-23 09:07:02 -07:00
Brandon DeRosier
a5adf663ce Make run_tests.py suppressions flag fail with a clear error on unsupported platforms (flutter/engine#28235) 2021-08-20 14:48:30 -07:00
chunhtai
9761b7371a Issues/86577 reland (flutter/engine#28211) 2021-08-20 12:27:01 -07:00
Anthony
50adf078fd [Re-land] Add SPIR-V FragmentShader API to painting.dart (flutter/engine#28208)
[Re-land] Add SPIR-V FragmentShader API to painting.dart

- Add a SPIR-V FragmentShader interface in painting.dart
- Create end to end pixel tests for ops supported by the SPIR-V to SkSL transpiler
- The end to end tests also test the c++ fragment shader implementation

Co-authored-by: Christopher Crawford <chriscraws@gmail.com>
2021-08-20 11:24:14 -04:00
Martin Kustermann
d915f0c519 Normalize the path that ANDROID_HOME uses (flutter/engine#28222)
The gradle/android tooling will validate that ANDROID_HOME and
ANDROID_SDK_ROOT are precisely the same. So if they point to the same
directory but are not normalized this check will fail.

Fixes Dart-Flutter Head-Head-Head bot which failed with
```
Several environment variables and/or system properties contain different paths to the SDK.
  Please correct and use only one way to inject the SDK location.
  
  ANDROID_HOME: /b/s/w/ir/cache/builder/engine/src/flutter/testing/rules/../../../third_party/android_tools/sdk
  ANDROID_SDK_ROOT: /b/s/w/ir/cache/builder/engine/src/third_party/android_tools/sdk
```
2021-08-20 16:03:43 +02:00
Zachary Anderson
c4fb8a6051 Revert "Adds semantics tooltip support (#27893)" (flutter/engine#28207)
This reverts commit 366e66802a35abf55bcb649b9bf58921b174b59a.
2021-08-19 14:40:34 -07:00
Zachary Anderson
e3f282c563 Revert "Add SPIR-V FragmentShader API to painting.dart (#26996)" (flutter/engine#28202)
This reverts commit 1b518619357cc1666a9fca183c9766d1ece16d0f.
2021-08-19 12:38:10 -07:00