Commit Graph

5232 Commits

Author SHA1 Message Date
skia-flutter-autoroll
c795d7bb36 Roll src/third_party/skia 12d13ae7f4e6..c623af2e1044 (8 commits) (flutter/engine#6040)
Auto-roller completed checks. Merging.
2018-08-17 15:28:46 -04:00
skia-flutter-autoroll
24d6b87abf Roll src/third_party/skia da135c397356..12d13ae7f4e6 (7 commits) (flutter/engine#6039)
Auto-roller completed checks. Merging.
2018-08-17 12:05:46 -04:00
skia-flutter-autoroll
3cb4e3f328 Roll src/third_party/skia bc414ed5dec5..da135c397356 (1 commits) (flutter/engine#6038)
Auto-roller completed checks. Merging.
2018-08-17 08:40:46 -04:00
skia-flutter-autoroll
cf174f8e2c Roll src/third_party/skia e21f0ec04e98..bc414ed5dec5 (2 commits) (flutter/engine#6037)
Auto-roller completed checks. Merging.
2018-08-16 23:54:46 -04:00
James D. Lin
e6e35ee205 Fix potential null pointer dereference in FlutterDartProject (flutter/engine#6035)
If `FlutterDartProject` found an `FLTLibraryPath` entry in an iOS
application's `Info.plist`, it assumed that values that were valid
filesystem paths were paths to bundles.  If the attempt to retrieve
the `NSBundle` fails, `FlutterDartProject` ignored the failure and
then would assign `nil` to a C++ `std::string`, resulting in a null
pointer dereference.

Add some failure checks to prevent this.
2018-08-16 17:40:33 -07:00
skia-flutter-autoroll
55b63e9075 Roll src/third_party/skia 8d77d1d85e2f..e21f0ec04e98 (5 commits) (flutter/engine#6036)
Auto-roller completed checks. Merging.
2018-08-16 20:31:46 -04:00
skia-flutter-autoroll
65ed4ec055 Roll src/third_party/skia cbb7d572aaa1..8d77d1d85e2f (12 commits) (flutter/engine#6034)
Auto-roller completed checks. Merging.
2018-08-16 17:07:46 -04:00
skia-flutter-autoroll
6ae15402a7 Roll src/third_party/skia cbd83bbd77d1..cbb7d572aaa1 (5 commits) (flutter/engine#6033)
Auto-roller completed checks. Merging.
2018-08-16 13:43:46 -04:00
skia-flutter-autoroll
4dbd63861d Roll src/third_party/skia 767fddfcce61..cbd83bbd77d1 (1 commits) (flutter/engine#6032)
Auto-roller completed checks. Merging.
2018-08-16 10:20:46 -04:00
skia-flutter-autoroll
a84472c8c8 Roll src/third_party/skia 64703d11a92a..767fddfcce61 (1 commits) (flutter/engine#6031)
Auto-roller completed checks. Merging.
2018-08-16 03:10:46 -04:00
skia-flutter-autoroll
1528a21a7e Roll src/third_party/skia 77af386c13cb..64703d11a92a (1 commits) (flutter/engine#6030)
Auto-roller completed checks. Merging.
2018-08-15 23:47:46 -04:00
skia-flutter-autoroll
b94f4830d7 Roll src/third_party/skia e49966c983ec..77af386c13cb (3 commits) (flutter/engine#6029)
Auto-roller completed checks. Merging.
2018-08-15 20:24:08 -04:00
Chinmay Garde
fe246effde Wait for Dart VM initialization before the letting the service isolate constructor access the VM object. (flutter/engine#6028)
The service isolate creation callback may occur on a background thread before
the call the Dart_Initialize within the DartVM construtor can finish. We store
pointers to various snapshots within the DartVM object. These snapshots are
necessary for to successfully create the service isolate. The isolate creation
callback access the global object within the ForProcessIfInitialized method.
This method can return null if the VM object has not been initialized. This
leads to the service protocol failing to start in a non-deterministic manner.
This patch moves the creation and access of the DartVM object within a critical
section.
2018-08-15 15:26:22 -07:00
Chinmay Garde
4555fcca31 Re-apply "Log Tonic errors with FML_LOG" (flutter/engine#6026)
This reverts commit 201900fd63 and updates the tonic SHA.
2018-08-15 14:28:24 -07:00
skia-flutter-autoroll
40a93847e0 Roll src/third_party/skia 31a0944bb30b..e49966c983ec (8 commits) (flutter/engine#6027)
Auto-roller completed checks. Merging.
2018-08-15 17:00:46 -04:00
liyuqian
d9a83e09bc Update docker image tag and README (flutter/engine#5995) 2018-08-15 12:37:32 -07:00
Chinmay Garde
e2448720ae Add message encoding/decoding utility to FML. (flutter/engine#6017) 2018-08-15 12:30:02 -07:00
skia-flutter-autoroll
765af9340e Roll src/third_party/skia 916c498c04fa..31a0944bb30b (3 commits) (flutter/engine#6025)
Auto-roller completed checks. Merging.
2018-08-15 13:37:46 -04:00
Martin Kustermann
258a95c9fa Switch all embedders to use platform_strong.dill instead of platform.dill (the flutter_tester binary already does this) (flutter/engine#6024) 2018-08-15 17:45:11 +02:00
skia-flutter-autoroll
7dd8e69ca2 Roll src/third_party/skia 49bb9c17d713..916c498c04fa (1 commits) (flutter/engine#6023)
Auto-roller completed checks. Merging.
2018-08-15 10:14:46 -04:00
skia-flutter-autoroll
ffaf22a222 Roll src/third_party/skia 572eee09ef71..49bb9c17d713 (1 commits) (flutter/engine#6022)
Auto-roller completed checks. Merging.
2018-08-15 03:00:46 -04:00
Chinmay Garde
201900fd63 Revert "Log Tonic errors with FML_LOG" (flutter/engine#6021)
Reverts flutter/engine#6015

This is causing the Windows bots to fail.
2018-08-14 22:22:28 -07:00
Chinmay Garde
33485e47de Fix Android Vulkan builds to account for resource context management API updates. (flutter/engine#6020) 2018-08-14 22:20:05 -07:00
skia-flutter-autoroll
60d7cbe10d Roll src/third_party/skia 0d4a18321160..572eee09ef71 (3 commits) (flutter/engine#6019)
Auto-roller completed checks. Merging.
2018-08-14 23:36:54 -04:00
Jason Simmons
ee9fe6a5fc Log Tonic errors with FML_LOG (flutter/engine#6015) 2018-08-14 17:04:38 -07:00
skia-flutter-autoroll
a8b5411232 Roll src/third_party/skia cdbb076bf577..0d4a18321160 (5 commits) (flutter/engine#6016)
Auto-roller completed checks. Merging.
2018-08-14 19:34:54 -04:00
Jason Simmons
c761e6e2a0 Detach the resource context before shutting down the IO thread (flutter/engine#6009) 2018-08-14 13:15:42 -07:00
skia-flutter-autoroll
ec9e81e29d Roll src/third_party/skia 32c7d4dfcdca..cdbb076bf577 (5 commits) (flutter/engine#6014)
Auto-roller completed checks. Merging.
2018-08-14 16:10:54 -04:00
Niko Yuwono
9aac5e05f9 Add NSNull check in setSystemChromeSystemUIOverlayStyle (flutter/engine#6011) 2018-08-14 11:45:45 -07:00
James D. Lin
9ad6ac6c4a Don't require FLTLibraryPath and FLTAssetsPath from the main NSBundle (flutter/engine#5986)
We'd like the ability to add Flutter to existing iOS applications
without requiring that they set `FLTLibraryPath` and `FLTAssetsPath`
in the main bundle's `Info.plist`.

1. Modify `-[FlutterDartProject initWithPrecompiledDartBundle:]` to
   support setting the library and assets path from the specified
   `NSBundle` instead.

2. If no `NSBundle` is explicitly specified, look for one with a
   default bundle identifier ("io.flutter.flutter.app") before
   falling back to the main NSBundle.

Also remove `+[FlutterDartProject pathForFlutterAssetsFromBundle:]`
because we don't use it internally, and it isn't exposed in the
header file.
2018-08-14 10:45:05 -07:00
skia-flutter-autoroll
de92f24f97 Roll src/third_party/skia d4322a8630bc..32c7d4dfcdca (2 commits) (flutter/engine#6013)
Auto-roller completed checks. Merging.
2018-08-14 12:48:54 -04:00
Martin Kustermann
58fc14578c Widen sdk version constraint of package:{flutter_services,sky_engine,sky_services} to allow ^2.0.0 (flutter/engine#6012) 2018-08-14 13:47:01 +02:00
skia-flutter-autoroll
05d6927eec Roll src/third_party/skia 1b95ef9f9912..d4322a8630bc (1 commits) (flutter/engine#6010)
Auto-roller completed checks. Merging.
2018-08-13 22:16:54 -04:00
Jason Simmons
29711ee46b Do not log unwind errors during isolate shutdown (flutter/engine#6008) 2018-08-13 16:31:54 -07:00
Chinmay Garde
d9d6c2e825 Remove unused argument on Animator, Engine and PlatformView delegates. (flutter/engine#6007)
When these delegate methods were initially added, it was expected that a single
shell would be able to own mutliple platform views, engines and animators. This
plan was abandoned in favor of creating multiple shells with their own platform
views, engines, etc.. The arguments were meant to ease the disambiguate the
instances of the variaous objects managed by the shell. This is no longer
necessary.
2018-08-13 16:16:10 -07:00
skia-flutter-autoroll
327505a779 Roll src/third_party/skia beac4195ccb7..1b95ef9f9912 (1 commits) (flutter/engine#6006)
Auto-roller completed checks. Merging.
2018-08-13 18:52:54 -04:00
skia-flutter-autoroll
feb11425e7 Roll src/third_party/skia b35c655378ee..beac4195ccb7 (6 commits) (flutter/engine#6005)
Auto-roller completed checks. Merging.
2018-08-13 15:29:54 -04:00
skia-flutter-autoroll
417525da2c Roll src/third_party/skia 87a737292804..b35c655378ee (1 commits) (flutter/engine#6004)
Auto-roller completed checks. Merging.
2018-08-13 12:06:15 -04:00
skia-flutter-autoroll
062856064d Roll src/third_party/skia f1a25c06cd15..87a737292804 (1 commits) (flutter/engine#6003)
Auto-roller completed checks. Merging.
2018-08-13 03:36:54 -04:00
skia-flutter-autoroll
a69dfaba7e Roll src/third_party/skia 02d174687cc9..f1a25c06cd15 (1 commits) (flutter/engine#6002)
Auto-roller completed checks. Merging.
2018-08-12 05:07:54 -04:00
skia-flutter-autoroll
a7af8c622b Roll src/third_party/skia 5fb1b7e0ffe1..02d174687cc9 (1 commits) (flutter/engine#6001)
Auto-roller completed checks. Merging.
2018-08-11 08:01:54 -04:00
skia-flutter-autoroll
9c7a7d992d Roll src/third_party/skia 609fbe34de01..5fb1b7e0ffe1 (3 commits) (flutter/engine#6000)
Auto-roller completed checks. Merging.
2018-08-10 21:48:54 -04:00
Stanislav Baranov
e8ffe24cde Make 'gn --debug' and 'gn --debug --dynamic' identical. (flutter/engine#5999) 2018-08-10 15:34:41 -07:00
John Bauman
5c40c82966 Enable VK_KHR_get_physical_device_properties2 (flutter/engine#5982) 2018-08-10 15:33:21 -07:00
John Bauman
0ed9c458bf Add VK_ERROR_FRAGMENTATION_EXT (flutter/engine#5981) 2018-08-10 15:33:03 -07:00
skia-flutter-autoroll
afac33e46f Roll src/third_party/skia a9660ec89bc7..609fbe34de01 (7 commits) (flutter/engine#5998)
Auto-roller completed checks. Merging.
2018-08-10 18:24:54 -04:00
Chinmay Garde
cef3ee517c Check the kernel header magic to determine if a mapping may be a valid kernel blob. (flutter/engine#5997) 2018-08-10 15:12:48 -07:00
nathanrogersgoogle
df71c78332 Add a delay to Animator::BeginFrame's NotifyIdle call (flutter/engine#5972)
This change adds a delay before Animator::BeginFrame calls its
delegate's OnAnimatorNotifyIdle.  This is because under certain
workloads, such as our parent view resizing us, which is communicated
via viewport change events, we won't have a frame scheduled yet in the
animator, despite the fact that we will go on to schedule a frame once
the viewport event arrives.

In Fuchsia's resizing performance test, on our reference high end x86-64
hardware, the previous logic was resulting in a ~45ms garbage collection
right after the first frame of an animation.
2018-08-10 13:28:09 -07:00
Stanislav Baranov
b4ce259bcf Fix codepush breakage caused by #5954. (flutter/engine#5996) 2018-08-10 13:23:51 -07:00
amirh
af25774b82 Cast MotionEvent timestamps to Number. (flutter/engine#5994)
Dart might choose to marshall the timestamps to a Java Long or Integer.
Casting directly to int was crashing when the timestamp wass a Long.
2018-08-10 12:46:49 -07:00