ColdPaleLight
b64598bef6
Refactor type of deadline in the method NotifyIdle to fml::TimePoint ( flutter/engine#30737 )
2022-01-19 17:25:09 -08:00
Alexander Aprelev
b6176f8901
Remove use of '--enable-isolate-groups' dart vm flag. ( flutter/engine#30839 )
...
The flag was removed after isolate groups were enabled by default.
Fixes https://github.com/flutter/flutter/issues/95331
2022-01-13 09:11:45 -08:00
ColdPaleLight
fdcc6befe9
Use the correct Settings in Engine::Spawn ( flutter/engine#30741 )
...
* Use the correct Settings in Engine::Spawn
* Add unit tests
2022-01-12 10:31:28 -08:00
ColdPaleLight
99ae1b775f
Remove AOT specific gates for isolate groups ( flutter/engine#30743 )
2022-01-07 10:05:10 -08:00
Alexander Biggs
da7796c917
Remove unused SpawnIsolate function. ( flutter/engine#30364 )
...
This function is only used by a single unit test and makes it more difficult to read how isolates get created on different platforms.
2021-12-21 14:53:47 -05:00
Ryan Macnak
0f89ed5b2a
Revert "Run Dart VM tasks on the engine's ConcurrentMessageLoop instead the VM's separate thread pool. ( #29819 )" ( flutter/engine#30332 )
2021-12-14 17:39:08 -08:00
Ryan Macnak
b0eb8bca65
Run Dart VM tasks on the engine's ConcurrentMessageLoop instead the VM's separate thread pool. ( flutter/engine#29819 )
...
Bug: https://github.com/dart-lang/sdk/issues/44228
2021-12-01 11:53:27 -08:00
eggfly
6b1d2dcdbc
Share the io_manager between parent and spawn engine ( flutter/engine#29915 )
2021-12-01 10:34:01 -08:00
eggfly
b87bbe9bc9
Fix typo and clean some includes ( flutter/engine#29940 )
2021-11-29 09:34:38 -08:00
eggfly
d18f5c8223
Reset viewport_metrics when spawn new Engine ( flutter/engine#29876 )
...
Co-authored-by: zsunkun <zsunkun@163.com>
2021-11-24 09:49:08 -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
Tong Mu
5183c56533
[Embedder] Send key data through message channel ( flutter/engine#29795 )
...
This PR changes how embedder API's SendKeyData sends ui.KeyData to the framework. The packets are now sent over the existing platform messenger, reusing the entirety of its code path and functionalities while keeping the embedder API unchanged
2021-11-18 17:53:28 -08:00
Zachary Anderson
78d9e276e2
Fix some clang-tidy lints for Linux host_debug ( flutter/engine#29734 )
2021-11-18 13:08:01 -08:00
Zachary Anderson
03c0f7e453
Add 'explicit' to header files ( flutter/engine#29741 )
2021-11-17 12:49:16 -08:00
Jenn Magder
dbe42683b9
Fix 'google-readability-braces-around-statements' analyzer warning in macOS and iOS ( flutter/engine#29723 )
2021-11-12 18:42:29 -08:00
Jason Simmons
ed52d1d708
Fix isolate_configuration typo ( flutter/engine#29318 )
2021-11-04 10:48:01 -07:00
Ryan Macnak
1dfe28a310
Inform the Dart VM when snapshots are safe to use with madvise(DONTNEED). ( flutter/engine#29320 )
...
Bug: https://github.com/dart-lang/sdk/issues/44019
Bug: https://github.com/flutter/flutter/issues/92120
2021-10-28 16:53:41 -07:00
Ahmed Ashour
acdc8a5c8b
Fix typos ( flutter/engine#29280 )
2021-10-27 20:30:31 -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
Ben Konyi
1ca50b882d
Set default profiling rate on iOS 32 bit devices to 500Hz ( flutter/engine#29347 )
...
* Set default profiling rate on iOS 32 bit devices to 500Hz
The current default profiling rate is 1000Hz in the VM.
Fixes https://github.com/flutter/flutter/issues/92421 .
* Address comments
2021-10-26 17:55:44 -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
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