James Robinson
b0dc4a6316
[gn] Explicitly include common.gni in build files that use vars from it ( #2973 )
...
runtime/BUILD.gn and ..core/BUILD.gn use flutter_runtime_mode which
is defined in common.gni. If the build comes through common/BUILD.gn
this is imported (implicity) but builds that depend on specific
files, like the Fuchsia build, won't have this imported. This
imports the gni from the build files that use it instead of relying
on it already being there.
2016-08-26 13:48:01 -07:00
Chinmay Garde
cf3cbfb7af
Don’t depend on tonic/debugger in release since the Dart debugger is unavailable in product mode. ( #2972 )
2016-08-26 11:47:50 -07:00
John McCutchan
c4022b61fa
Roll Dart to 024501679241ba19e03d548db1b1b438e0dabc49 ( #2971 )
2016-08-25 07:39:00 -07:00
John McCutchan
b2e592592f
Roll Dart and Tonic forward ( #2970 )
2016-08-24 14:33:34 -07:00
Jason Simmons
7d729f66b4
Fix leak of PlatformViewAndroid when FlutterView is destroyed ( #2969 )
2016-08-24 13:45:26 -07:00
Chinmay Garde
dcd3874530
Keep track on the layer tree construction time in the animator. ( #2968 )
2016-08-23 17:03:38 -07:00
Chinmay Garde
d35e0805e0
Add “—endless-trace-buffer” to switch to an endless buffer from a ring buffer while tracing. ( #2966 )
2016-08-23 16:16:22 -07:00
Chinmay Garde
28e9b3bc49
Make the URL loader more resilient to dropping the start callback on the correct thread in case of early connection termination. ( #2964 )
2016-08-23 14:54:05 -07:00
Jason Simmons
acb7939404
Scale picture layers to the picture's cull rect ( #2967 )
2016-08-23 14:46:23 -07:00
Chinmay Garde
c7c94974bb
Don't log GL connection information in debug. ( #2965 )
2016-08-23 12:18:46 -07:00
John McCutchan
98deb4f220
Register _flutter.listViews in profile mode ( #2963 )
2016-08-23 09:36:45 -07:00
Chinmay Garde
2e684230fa
Simplify PictureLayer::Paint. ( #2962 )
2016-08-22 15:11:11 -07:00
Dragoș Tiselice
07b59dff2c
Removed custom service definition logging. ( #2961 )
...
Since this functionality will be removed soon, this patch removes
the logging in order not to hinder the iOS development experience.
2016-08-22 14:00:23 -07:00
Adam Barth
0949efee24
Update buildroot ( #2960 )
2016-08-20 09:53:51 -07:00
Chinmay Garde
fc8b9777c3
Pipelines vend single use continuations that callers can complete at any time to signal readiness of a pipeline resource. ( #2957 )
2016-08-19 16:57:05 -07:00
Chinmay Garde
32ba859650
Only attempt to draw in the rasterizer if a valid layer tree is received. ( #2958 )
2016-08-19 16:03:14 -07:00
Chinmay Garde
e4704cc4ff
Re-enable tracking layer tree construction time for the performance overlay. ( #2956 )
2016-08-19 15:22:58 -07:00
Chinmay Garde
82fbbd2fbb
In hot mode, allow reloading platform views that are already running. ( #2949 )
2016-08-19 13:12:44 -07:00
Jason Simmons
19181be49c
Remove obsolete vsync_provider assertion now that the fallback provider is available ( #2955 )
2016-08-19 13:09:54 -07:00
Chinmay Garde
f84c308f54
If the vsync provider is being replaced, make sure the animator expects no more signals from the old registration. ( #2954 )
2016-08-19 12:58:58 -07:00
Chinmay Garde
e9121df3bb
Make the animator host an implicit fallback VSync provider in case platforms cant provide their own. ( #2953 )
2016-08-19 12:52:54 -07:00
Chinmay Garde
dd3d0cd45d
Add a PlatformVSync trace event to VSyncProviderImpl.java. ( #2951 )
2016-08-18 18:21:23 -07:00
James Robinson
7cbe044033
Fix flutter_wtf_unittests linking on fuchsia ( #2952 )
2016-08-18 17:35:31 -07:00
Chinmay Garde
a6e340dfd0
Revert "Remove the create_ios_framework.py tool. ( #2946 )" ( #2950 )
...
This reverts commit 26f8970835335a3723509d1b04a39c4b4c2b963e.
2016-08-18 16:51:17 -07:00
Todd Volkert
2cf8b14487
Add config properties to specify snapshot blob file names. ( #2943 )
...
* Add config properties to specify snapshot blob file names.
This adds the ability of the shell to override the default
dart aot snapshot blob file names, and it wires up Android's
FlutterMain to recognize the properties in the app's manifest.
This will be used for flutter applications that build their
binary snapshots into files other than the default ones
that the engine uses.
2016-08-18 16:27:16 -07:00
Adam Barth
1d9a8ca051
Build WTF on Fuchsia ( #2948 )
...
Also, clean out some unneeded dependencies from engine/platform.
2016-08-18 16:13:06 -07:00
John McCutchan
b8c1fe7e46
Fix Android keyboard in hot mode ( #2944 )
2016-08-18 14:00:25 -07:00
Chinmay Garde
26f8970835
Remove the create_ios_framework.py tool. ( #2946 )
2016-08-18 12:35:55 -07:00
Chinmay Garde
d81634b70d
Remove the unused gpu_mojo GN target and associated source files. ( #2945 )
2016-08-18 11:39:55 -07:00
Chinmay Garde
ace7ce8c01
Make the engine provide layer trees to the rasterizer via a pipeline. ( #2942 )
2016-08-18 11:23:15 -07:00
Chinmay Garde
9a9efdf5b2
VSyncProviderFallbackImpl for platforms that lack the ability to provide real VSync callbacks. (#2941 )
...
Will only be used by Linux Desktop for now.
2016-08-17 16:08:53 -07:00
Chinmay Garde
2b2c70501e
Completely remove the platform/mojo shell. ( #2940 )
2016-08-17 15:13:05 -07:00
Chinmay Garde
557f43f987
Add flutter::Pipeline to //synchronization. ( #2939 )
2016-08-17 15:05:43 -07:00
Chinmay Garde
4eeaa07477
flow::Semaphore for simple platform specific unnamed semaphores. ( #2937 )
2016-08-17 14:28:23 -07:00
James Robinson
d3c6ac11f2
Pull mojo/public from fuchsia.googlesource.com ( #2938 )
...
This is now the canonical location of the Mojo public SDK.
2016-08-17 14:11:56 -07:00
Jason Simmons
99998d232a
Roll Tonic ( #2936 )
2016-08-17 10:45:16 -07:00
Adam Barth
a5c3a3134d
Add stubs for text handling on Fuchsia ( #2935 )
...
We don't yet have support for text on Fuchsia. This patch add stub
implementations of Paragraph and ParagraphBuilder so that Flutter apps
that use text don't error out. Instead, the text is 0x0 and invisible.
Also, teach MojoServices not to crash if it hasn't been created by the
time Dart tries to use it.
2016-08-17 09:56:41 -07:00
Adam Barth
317db364a6
Actually use threads on Fuchsia ( #2934 )
...
We can actually use multiple threads now that they work properly.
2016-08-16 15:15:30 -07:00
Chih-Hung Hsieh
ec7d9240dd
Fix google-explicit-constructor warnings in minikin am: 0114c6a1cf -s ours am: 8402f2eee8 am: 593cccabe7
...
am: e189ad9531
Change-Id: Ie330bd0bfec81c3a8d159a13d96480dbd2774855
2016-08-16 21:20:27 +00:00
Chih-Hung Hsieh
e189ad9531
Fix google-explicit-constructor warnings in minikin am: 0114c6a1cf -s ours am: 8402f2eee8
...
am: 593cccabe7
Change-Id: I3623a0f372da99c5a189bc5900b3f55bc3d7b0be
2016-08-16 21:14:54 +00:00
Chih-Hung Hsieh
593cccabe7
Fix google-explicit-constructor warnings in minikin am: 0114c6a1cf -s ours
...
am: 8402f2eee8
Change-Id: Idf3e3882894774d917166e4eec743fb8bea0c31b
2016-08-16 21:13:13 +00:00
Chih-Hung Hsieh
8402f2eee8
Fix google-explicit-constructor warnings in minikin
...
am: 0114c6a1cf -s ours
Change-Id: I51c71217e402c3cbeefd6de5ccf7252dc1687f76
2016-08-16 21:08:26 +00:00
Chinmay Garde
44a77da98a
Depending on the type of bundle path specified, initialize either the zip or directory asset bundle. ( #2933 )
2016-08-16 13:10:33 -07:00
Chinmay Garde
5515d3e272
Don't initialize the ZIP asset bundle as a directory. ( #2932 )
...
Regression introduced in https://github.com/flutter/engine/commit/cee7fef7
2016-08-16 12:40:23 -07:00
John McCutchan
d786dc9104
Fix build ( #2931 )
2016-08-16 12:33:30 -07:00
John McCutchan
1c59ddef0e
Send richer service protocol respones from the Shell ( #2929 )
2016-08-16 12:16:41 -07:00
Jason Simmons
d535a15a8c
Include the FTL build config macros in some files that rely on them ( #2930 )
...
Fixes https://github.com/flutter/flutter/issues/5424
2016-08-16 12:04:11 -07:00
Adam Barth
bb80218df8
Add spinning_square example ( #2928 )
...
Also, teach gn how to build application bundles.
2016-08-15 23:07:19 -07:00
Chih-Hung Hsieh
0114c6a1cf
Fix google-explicit-constructor warnings in minikin
...
* Add explicit keyword to conversion constructors,
or add NOLINT(implicit) for implicit converters.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
Merged-In: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
2016-08-16 01:48:48 +00:00
Chih-Hung Hsieh
47b905f684
Fix google-explicit-constructor warnings in minikin
...
* Add explicit keyword to conversion constructors,
or add NOLINT(implicit) for implicit converters.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: I0c7b90f9bb953a9f2e4f0fb2032fa65ac604b9ca
2016-08-15 13:58:52 -07:00