1785 Commits

Author SHA1 Message Date
liyuqian
139051fd58
Change IO thread shader cache strategy (#13121)
So it's the same with the GPU thread.

Otherwise, some shaders may be cached in binary on the IO thread, and we will lose them when we do the SkSL precompile.

For b/140174804
2019-10-14 13:05:05 -07:00
Kaushik Iska
7a06baaddf
[dart_aot_runner] Complete the port of dart_aot_runner (#13103)
* [dart_aot_runner] Complete the port of dart_aot_runner

- also adds the previously missing profiler symbols for dart_jit_runner
- CIPD package will contain both the JIT and AOT dart runners

* specify the inputs
2019-10-11 17:24:54 -07:00
Matt Carroll
9acec4102a
Move initialization into FlutterEngine (#12806) 2019-10-11 16:15:55 -07:00
Kaushik Iska
33b80ac98c
[dart_aot_runner] Generate vmservice aotsnapshots (#13101) 2019-10-11 16:03:30 -07:00
Kaushik Iska
3871bc42fc
[dart_aot_runner] Use the host_toolchain to build kernels (#13096) 2019-10-11 15:36:13 -07:00
liyuqian
67c78083c6
Remove persistent cache unittest timeout (#13091)
This fixes https://github.com/flutter/flutter/issues/42465
2019-10-11 14:24:12 -07:00
Matt Carroll
d9d92a564b
Added FlutterActivity and FlutterFragment hook to cleanUpFlutterEngine() as symmetry for configureFlutterEngine(). (#41943) (#12987) 2019-10-11 13:52:21 -07:00
Dan Field
6f40beed77
java imports/style (#13082) 2019-10-11 11:54:02 -07:00
gaaclarke
4243fdb868
Removed retain cycle from notification center. (#13073) 2019-10-11 11:34:11 -07:00
Kaushik Iska
eed171ff35
[dart_aot_runner] Add rules to generate dart_aot binaries (#13074) 2019-10-11 09:42:28 -07:00
Kaushik Iska
0fd9b16883
Reland dart_aot_runner shims
This reverts commit f20c773c5e05a96974d56f230d9edb447f646b98.
2019-10-10 19:41:13 -07:00
Kaushik Iska
f20c773c5e
Revert "[dart_aot_runner] Add support for generating dart_aot snapshots (#13071)" (#13075)
This reverts commit e78c3f59c1a105e216e00db105d4f7391ccf01c1.
2019-10-10 18:00:09 -07:00
Kaushik Iska
e78c3f59c1
[dart_aot_runner] Add support for generating dart_aot snapshots (#13071)
This is part of the effort to port over dart_aot_runner
2019-10-10 17:22:11 -07:00
Chinmay Garde
835838ce4a
Put Metal renderer selection behind runtime flag and plist opt-in. (#13056) 2019-10-10 13:03:04 -07:00
Chinmay Garde
86e3ebb748
Allow embedders to specify arbitrary data to the isolate on launch. (#13047)
Since this is currently only meant to be used by the embedding internally, the setter in Objective-C is only exposed via the FlutterDartProject private class extension. Unit tests have been added to the shell_unittests harness.

Fixes https://github.com/flutter/flutter/issues/37641
2019-10-10 12:31:14 -07:00
Jason Simmons
c8f665c3a7
Allow embedders to disable causal async stacks in the Dart VM (#13004)
Fixes https://github.com/flutter/flutter/issues/39511
2019-10-10 10:09:03 -07:00
Dan Field
a05803a0d2
Android targets create final zip artifacts (#13059) 2019-10-10 06:56:43 -07:00
sjindel-google
d9080029af
Remove use of the blobs snapshot format from unittests (#12563)
* Remove uses of the "blobs" snapshot format in Engine tests.

* Comments

* Rebasing against updated ELF loader API.
2019-10-10 14:03:42 +02:00
Dan Field
0622b051b6
Minimal test harness for iOS (#13029) 2019-10-09 21:16:11 -07:00
CloudWebRTC
0f9d88c7b6 Add texture support for macOS shell. (#8507) 2019-10-09 20:35:09 -07:00
gaaclarke
6b56ed7f6f
Refactor: FlutterDartProject (#13006)
- Removed unused instance variable
- Explicitly listed nullability
2019-10-09 07:21:44 -07:00
Chinmay Garde
1e58794b23
Revert "Upgrade compiler to Clang 10. (#11256)" (#13017)
This reverts commit 9ce33571680f59e534b9aa16f8db19acea4f5ec5.
2019-10-08 18:23:59 -07:00
Chinmay Garde
9ce3357168
Upgrade compiler to Clang 10. (#11256) 2019-10-08 17:45:30 -07:00
Greg Spencer
21b8224ae1
Send AccessibilityEvent.TYPE_VIEW_FOCUSED when input focus is set. (#12746)
When the focus changes, we should be sending a TYPE_VIEW_FOCUSED event. This enables that.
2019-10-08 16:54:17 -07:00
Dan Field
2f352d6629
Fix for a11y crash on iOS (#12990) 2019-10-08 16:37:09 -07:00
Jason Simmons
5d61a01973
Auto-formatter fixes for BUILD.gn files (#13005) 2019-10-08 15:15:47 -07:00
Ben Konyi
c19fc2f502
Unblock SIGPROF on flutter_tester start (#12813)
Fixes https://github.com/flutter/flutter/issues/35140
2019-10-08 15:13:08 -07:00
gaaclarke
9f650edd14
Started setting our debug background task id to invalid after completion. (#12999) 2019-10-08 13:12:52 -07:00
Chris Yang
0d59c9ec54
Add onUnregistered callback in 'Texture' and 'FlutterTexture' (#12695)
Texture unregistration is finished on the GPU thread. The FlutterTexture implementation might not know when it is finished which leads to a race condition. Adding this callback so the FlutterTexture is aware of end of the unregistration process.
2019-10-08 12:45:57 -07:00
liyuqian
df0e911c67
SkSL precompile (#12412)
For https://github.com/flutter/flutter/issues/40686

Unit tests added:
- CacheSkSLWorks
- VisitFilesCanBeCalledTwice
- CanListFilesRecursively
2019-10-08 11:51:28 -07:00
Chinmay Garde
03d1bba6d8
Add a unit-test to verify that root surface transformation affect platform view coordinates. (#12783)
See b/141980393 for details.

In the issue, the embedder (assumed to render Flutter contents of size 800 x 600 [1]) is meant to be displayed on its side. To achieve this, it specifies a root surface transformation that translates the surface by its width (or height when it held in the correct viewing position) and then rotates it counter-clockwise by 90 degrees. This test verifies that the Flutter Engine accounts for those transformations in the custom compositor platform view coodinates.

[1] The actual size is something different. 800x600 is for illustrative purposes.
2019-10-08 11:30:00 -07:00
Kate Lovett
58d7b84177
Re-land Adding Link Semantics (#12972) 2019-10-08 11:27:56 -07:00
liyuqian
b3cbc030a5
Unblock Fuchsia roll (#12977)
See https://cirrus-ci.com/task/5367628704514048 and https://github.com/flutter/engine/pull/12822
2019-10-07 11:32:35 -07:00
Kate Lovett
ac45051f2a
Revert "Adding Link SemanticsFlag (#12453)" (#12815)
This reverts commit 974ca210f5275aee0775b363e9c3416e1603cf73.
2019-10-04 17:06:32 -07:00
Dan Field
7d55166fca
unbreak unopt fuchsia (#12805) 2019-10-04 14:10:46 -07:00
Dan Field
61e6f7dce5
[flutter_runner] a11y updates, tests! (#12380) 2019-10-04 13:30:56 -07:00
WATER1350
61f058da26 Fix crash in copypixelbuffer (#10326) 2019-10-04 13:21:17 -07:00
Kate Lovett
974ca210f5
Adding Link SemanticsFlag (#12453) 2019-10-04 12:51:10 -07:00
Kaushik Iska
1d62160fdb
Prettify all CMX files (#12800) 2019-10-04 12:32:54 -07:00
Gary Qian
ecf4f464c7
Restart all modern Samsung keyboard IMM (#12780) 2019-10-04 15:14:38 -04:00
Dan Field
20ce0f6b69
Reland fuchsia build improvements (#12795) 2019-10-04 12:07:57 -07:00
Chinmay Garde
46fecaeb45
Disable EmbedderTest::CanLaunchAndShutdownMultipleTimes. (#12799)
Re-enabling this is tracked in https://github.com/flutter/flutter/issues/41999
2019-10-04 11:45:00 -07:00
Kaushik Iska
bfd7c1c571
[flutter_runner] Update the cmx files to include TZ support (#12798)
This is so we can connect to the timezone service.
2019-10-04 11:37:40 -07:00
Dan Field
2e163b2780
Revert "Build AOT and test targets, generate FARs when building Fuchsia (#12761)" (#12781)
This reverts commit f3d04a98b49364a6054a8083eaeb6342ff06d941.
2019-10-03 17:20:21 -07:00
gaaclarke
a727401947
Enabled people to chose if SystemNavigator.pop is animated on iOS. (#12752) 2019-10-03 16:57:32 -07:00
gaaclarke
362e3fe586
Added some thread asserts to the code and made ios_surface_ safe since (#12775)
* Added some thread asserts to the code and made ios_surface_ safe since
its being written and read from different threads.

* responded to chinmays feedback, added comment
2019-10-03 16:52:41 -07:00
Dan Field
f3d04a98b4
Build AOT and test targets, generate FARs when building Fuchsia (#12761) 2019-10-03 16:10:33 -07:00
Chinmay Garde
8aa47326ae
Fix Metal builds. (#12777) 2019-10-03 14:42:54 -07:00
gaaclarke
142cf001bc Revert "Manage resource and onscreen contexts using separate IOSGLContext objects (#12277)" (#12773)
This reverts commit 5a8da65592e4bdf0e833bc7bcf30b589bf63ce17.
2019-10-03 13:25:30 -07:00
chunhtai
daf1eb9a6a
add windows embedding test (#12423) 2019-10-03 12:42:44 -07:00