Chinmay Garde
cdff6fa306
Respect the —enable-checked-mode flag when not running precompiled code instead of defaulting it on. ( #2986 )
2016-08-30 16:25:51 -07:00
Chinmay Garde
71dfef76fd
Add trace event slices for the duration in which the engine produces a pipeline item. ( #2985 )
...
* Add trace event slices for the duration in which the engine produces a pipeline item.
* Trace the entire lifetime of an item in the pipeline.
2016-08-30 15:44:56 -07:00
Chinmay Garde
94c5be8e6d
When rasterizing to a recorder backed canvas for SKP tracing, don’t attempt to update the raster cache. ( #2983 )
...
We could get into a situation where the second time we rasterize a picture for an SKP, the raster cache detects that the same picture is being repeated in subsequent onscreen frames and then proceeds to rasterize the contents to an offscreen texture. This not only causes an unnecessary cache entry, but also shows the cached image in the final SKP trace (which is not what was originally displayed on screen).
2016-08-30 14:52:39 -07:00
Chinmay Garde
ddc75b854b
Force anti-aliasing on clipRRect calls. ( #2982 )
...
Per recommendation from the Skia team. Benefits from optimizations applied in Skia for Chrome.
2016-08-30 14:11:21 -07:00
Chinmay Garde
72a8e2f19e
Log trace file path when capturing an SKP in rasterizer_direct. ( #2981 )
2016-08-30 11:10:28 -07:00
Jason Simmons
39d071b94e
Do not dereference the rasterizer on the UI thread in the animator ( #2980 )
...
The rasterizer may have been deleted on the GPU thread before Animator::Render
runs on the UI thread
2016-08-30 10:02:44 -07:00
Chinmay Garde
50b15874bd
Fix Mac build error due to -Wsign-compare. ( #2979 )
2016-08-29 17:14:20 -07:00
Chinmay Garde
f9c86cddb8
Add a temporary engine systrace logger till the Dart timeline learns how to log to systrace. ( #2978 )
2016-08-29 17:03:59 -07:00
Jason Simmons
ce36db67ec
Ensure that the rasterizer is shut down before the PlatformView is deleted ( #2977 )
...
Noticed this while looking at https://github.com/flutter/flutter/issues/5594
2016-08-29 16:59:02 -07:00
Chinmay Garde
357034d1df
Bump up the thread priorities of the GPU, UI and IO threads on Android. ( #2976 )
2016-08-29 16:44:30 -07:00
Adam Barth
67d7caeb9f
Attempt to fix build by adding factory ( #2975 )
2016-08-28 23:45:05 -07:00
Adam Barth
ef38a88cb3
Update Skia ( #2974 )
2016-08-28 21:49:16 -07:00
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