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
Brandon DeRosier
355c1809f0
Remove outdated unused element suppressions ( flutter/engine#28775 )
...
Fixes flutter/flutter#35164
2021-09-23 13:14:09 -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
David Worsham
657b63f499
fuchsia: Convert vulkanb headers to DEPS ( flutter/engine#28676 )
2021-09-16 22:39:06 -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
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
Alexander Aprelev
227d3fa4b7
Ensure correct child isolate initialization in enable-isolate-groups dart vm configuration. ( flutter/engine#26011 )
...
* Ensure child isolate doesn't load kernel
* Guard changes to isolate initialization by enable-isolate-groups flag check
2021-08-02 07:57:49 -07:00
Kaushik Iska
a3b9412f5c
Set AppStartUp UserTag from engine ( flutter/engine#27646 )
2021-07-23 13:31:02 -07:00
Jim Graham
ce11db413a
Implement a DisplayList mechanism similar to the Skia SkLiteDL mechanism ( flutter/engine#26928 )
2021-06-30 17:31:02 -07:00
Jonah Williams
ccae44ffd0
Surface frame number identifier through window ( flutter/engine#26785 )
2021-06-28 10:16:01 -07:00
Dan Field
3bc015dc10
Remove tech debt related to image disposal and layer GC ( flutter/engine#26870 )
...
* remove tech debt
* Fix test
2021-06-25 15:33:08 -07:00
Martin Kustermann
fde57f1f1d
Remove usages of --no-causal-async-stacks ( flutter/engine#26877 )
...
Passing the --causal-async-stacks flag to the VM will cause it to error
on VM startup. The VM will remove the flag entirely, but before doing so
we'll have to remove usages of the negated version of the flag, namely
--no-causal-async-stacks.
2021-06-23 14:30:26 +02:00
Dan Field
e6a9345f19
Remove outdated annotations from fixtures ( flutter/engine#26828 )
2021-06-19 10:09:02 -07:00
Ryan Macnak
53cd841914
Remove compilation trace saving. ( flutter/engine#26642 )
2021-06-10 13:34:02 -07:00
Jason Simmons
e9cc9be7e1
Provide the isolate cleanup callback to Dart_CreateIsolateInGroup ( flutter/engine#26599 )
2021-06-07 12:24:03 -07:00
Brandon DeRosier
a83c8ab61d
Refactor: Group together externally-managed UIDartState. ( flutter/engine#26247 )
...
Group together externally-managed UIDartState.
It's a frequent pattern to enable access to shell resources from the
framework via UIDartState. These handles are passed through several
other objects, where they lay mostly dormant. This refactor just aims
to ease maintenance of this state.
UIDartState is essentially just an easy to extend bus for dropping
off the shell kids in UIDartState, with constructors/operators that
remove the need for providing a full initializer lists in unittests.
2021-05-20 18:01:53 -07:00
Brandon DeRosier
b9982cdec7
Add image generator registry ( flutter/engine#25987 )
...
Add image generator protocol and priority registry.
The protocol supports multi-frame images as well as optional
subpixel/downsampled decoding.
2021-05-17 12:12:46 -07:00
gaaclarke
4d98fd9744
Switch PlatformMessages to hold data in Mappings ( flutter/engine#25867 )
2021-05-13 10:28:25 -07:00
gaaclarke
1734ce7f8a
Moved PlatformMessage's to unique_ptrs ( flutter/engine#25860 )
2021-05-06 20:19:01 -07:00
Dan Field
ce6f1f5fd0
Avoid calling Dart_HintFreed more than once every five seconds ( flutter/engine#25827 )
2021-05-03 12:19:01 -07:00
Matej Knopp
5d512fb39e
Enable JIT memory protection on macOS ( flutter/engine#25819 )
2021-04-28 19:19:01 -07:00
Kaushik Iska
dc0fb6e4a7
Reland "TaskSources register tasks with MessageLoopTaskQueues dispatcher" ( flutter/engine#25692 )
2021-04-21 14:29:02 -07:00
Kaushik Iska
17e7c26da8
Revert TaskRunner changes to fix Fuchsia Test failures ( flutter/engine#25690 )
2021-04-21 09:15:24 -07:00
Kaushik Iska
988c4ffb83
TaskSources register tasks with MessageLoopTaskQueues dispatcher ( flutter/engine#25307 )
2021-04-19 07:20:11 -07:00
gaaclarke
e5a0923572
Made sure not to delete handles of dart objects if the isolate has been deleted ( flutter/engine#25506 )
2021-04-13 17:42:28 -07:00
Emmanuel Garcia
1bad6de1da
Reland Dart plugin registrant ( flutter/engine#25496 )
2021-04-12 13:30:01 -07:00
Zachary Anderson
753dfc4a8e
Revert "Reland: Call Dart plugin registrant if available ( #25375 )" ( flutter/engine#25462 )
2021-04-06 16:04:01 -07:00
Jason Simmons
9fd7208df1
Remove the DartIsolate::PostMessage timeline event ( flutter/engine#25433 )
2021-04-05 16:09:02 -07:00
Chris Bracken
f4d1c89df1
Extract Dart logging to the embedders ( flutter/engine#25402 )
...
Previously messages logged from Dart code (e.g. via the print function)
were handled directly in the engine by platform-specific code. This
factors out a LogMessage(tag, message) callback that embedders can
implement with platform-specific code.
This also eliminates a dependency on platform-specific code in the core,
and provides more flexibility to embedders than the current fallback to
stdout, which can be a problem on platforms without a traditional stdout
or with restrictions on stdout.
Fixes https://github.com/flutter/flutter/issues/79685
2021-04-05 15:43:21 -07:00
Emmanuel Garcia
d20f5e016a
Reland: Call Dart plugin registrant if available ( flutter/engine#25375 )
2021-04-02 15:00:17 -07:00
Chris Bracken
9b4a0264d5
Correct typos throughout the engine/embedder ( flutter/engine#25346 )
...
Used the the `misspell` tool available at
https://github.com/client9/misspell , then applied hand-corrections. It's
possible we could adopt this as a presubmit, but there are still enough
false positives that it may not be worth the effort.
2021-04-01 11:08:19 -07:00
Kaushik Iska
6301223cee
[tracing] Add trace events for DartIsolate::HandleMessage ( flutter/engine#25241 )
...
This captures majority of the non frame related workload
happening on the UI thread.
2021-03-25 14:59:00 -07:00
Zachary Anderson
7c93f9b45f
Revert "Call Dart plugin registrant if available ( #23813 )" ( flutter/engine#25221 )
2021-03-25 08:59:02 -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
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
David Worsham
3215611f74
Fix use of multiple shells w/ different snapshots ( flutter/engine#24152 )
2021-02-03 17:42:36 -08:00
Jason Simmons
5c4a3d6a92
Avoid calling Dart timeline APIs during Dart_Cleanup ( flutter/engine#24007 )
...
The Dart timeline is not thread safe if an engine thread that is not
controlled by Dart calls Dart_TimelineEvent while another thread is
calling Dart_Cleanup.
Fixes https://github.com/flutter/flutter/issues/74134
2021-02-02 09:12:55 -08:00
gaaclarke
9f222fa212
Fixed plumbing of the spawning isolate for Shell::Spawn. ( flutter/engine#24112 )
2021-02-01 15:32:15 -08:00
Tong Mu
ee1cc9f5ab
Hardware keyboard: Web, embedder, and dart:ui ( flutter/engine#23466 )
2021-01-28 17:19:02 -08:00
gaaclarke
c57c021c17
Started using Dart_CreateInGroup when using spawn on a release build ( flutter/engine#23782 )
2021-01-22 14:29:01 -08:00
Emmanuel Garcia
45f3827017
Call Dart plugin registrant if available ( flutter/engine#23813 )
2021-01-21 23:44:01 -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
xster
8b90c7869e
FlutterEngineGroup for Android ( flutter/engine#23675 )
2021-01-19 12:29:02 -08:00
Zachary Anderson
c4f4e564da
Unconditionaly enable some tracing on startup ( flutter/engine#23729 )
2021-01-15 22:22:20 -08:00
gaaclarke
8af69442c0
share font collections between spawn engines ( flutter/engine#23603 )
2021-01-13 11:38:48 -08:00