2465 Commits

Author SHA1 Message Date
Chinmay Garde
02e781f347 Wire up memory warning notifications on iOS. (flutter/engine#3477) 2017-03-14 17:12:29 -07:00
Jason Simmons
9c4495c2c8 Roll buildroot (flutter/engine#3476) 2017-03-14 16:14:43 -07:00
Jason Simmons
b2715565a0 Send an event to signal memory pressure (flutter/engine#3475)
See https://github.com/flutter/flutter/issues/7561
2017-03-14 15:42:30 -07:00
Michael Goderbauer
76d4e76b08 re-introduce //flutter/lib/snapshot:generate_snapshot_bin target (flutter/engine#3474) 2017-03-14 10:53:30 -07:00
Adam Barth
51af4a7f08 Introduce OffsetBase.isFinite (flutter/engine#3472)
This property will eventually replace OffsetBase.isInfinite.

See https://github.com/flutter/flutter/issues/4301
2017-03-14 10:26:31 -07:00
Michael Goderbauer
b8c6df01a4 Remove sky_snapshot sources (flutter/engine#3471)
* Remove sky_snapshot sources

* update licenses
2017-03-14 10:24:17 -07:00
Jakob Andersen
7fbb663617 Fix pod name in Flutter.podspec. (flutter/engine#3473)
Names matter, and I apparently forgot to test after adding ' Engine' to
the name. Names can't contain spaces, and must match the filename.
2017-03-14 15:40:59 +01:00
Mikkel Nygaard Ravn
6afc504feb Flutter channels for iOS (flutter/engine#3470)
Flutter channels now also supported on iOS. Use FlutterMessageChannel or FlutterMethodChannel with binary/string/json/standard codecs.
2017-03-13 23:57:46 +01:00
Michael Goderbauer
b0063039a9 roll dart to a6804167162f230bf8498289a61dc7efebf32b0c (flutter/engine#3469) 2017-03-09 15:10:22 -08:00
Chinmay Garde
e3861ff767 Remove deprecated SkyApplication and SkyActivity. (flutter/engine#3464) 2017-03-08 10:47:53 -08:00
Jakob Andersen
fb41fe688d Add podspec to Flutter iOS framework. (flutter/engine#3467)
* Add podspec to Flutter iOS framework.

Flutter iOS apps are already pod-enabled, so we might as well turn the
engine framework into a pod, so we don't have to manually copy the
current Flutter.framework into the app directory on every build, but
rather let Cocoapods wire things up for us.

For that to happen, we need a pod spec for Flutter.framework. This spec
will not be published, but rather downloaded as part of the engine
artifacts, and the app's Podfile will have a local path dependency on
it.

* Update licenses_golden...
2017-03-08 09:00:59 +01:00
Chinmay Garde
aac27e52b3 Use software rendering on iOS simulators without needing a flag. (flutter/engine#3465) 2017-03-06 14:49:25 -08:00
Michael Goderbauer
2757bf1dac whitespace fix (flutter/engine#3463) 2017-03-06 13:14:56 -08:00
Mikkel Nygaard Ravn
b3b9d628ba Remove usage of JDK7 features not available until Android SDK 19+ (flutter/engine#3462) 2017-03-06 13:22:29 +01:00
Michael Goderbauer
f12729bb6f Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232 (flutter/engine#3461)
* Roll Dart to 890dff146ac4733018c059b36bc4d67c45da3232

* uddate licenses
2017-03-03 19:30:13 -08:00
mikejurka
f6a5f79902 Workaround for surface size on Fuchsia/Magma (flutter/engine#3458)
Allow surface size to be passed by caller
temporarily until we get a proper Display API
2017-03-01 21:08:06 -08:00
Michael Goderbauer
c94fba31a0 roll dart version to pickup fixes in gen_snapshot (flutter/engine#3457)
* roll dart version to pickup fixes in gen_snapshot

* update licenses
2017-03-01 12:39:45 -08:00
Jason Simmons
ce364521c0 Skip license processing for top-level source directories that are unchanged (flutter/engine#3437)
See https://github.com/flutter/flutter/issues/8106
2017-03-01 10:36:51 -08:00
Mikkel Nygaard Ravn
895fce4709 FlutterXxxChannel concepts added to support Flutter/Android interop (flutter/engine#3446)
New concepts: FlutterMessageChannel (basic message send/receive superseding existing FlutterView methods), FlutterMethodChannel (method invocation and event streams), pluggable codecs for messages and method calls: unencoded binary, string, json, and 'standard' flutter binary encoding.
2017-03-01 13:54:32 +01:00
Jason Simmons
5976337c94 Do a glFlush after creating textures on the IO thread before they are used by the GPU thread (flutter/engine#3456)
Fixes https://github.com/flutter/flutter/issues/8431
2017-02-28 15:50:02 -08:00
Michael Goderbauer
40c66c6b17 Roll-forward #3454 and roll tonic (flutter/engine#3455)
Bug causing roll-back #3454 has been resolved upstream in tonic.
2017-02-28 15:25:28 -08:00
Michael Goderbauer
50e15ad8ad Revert "--print-deps now returns resolved paths (#3449)" (flutter/engine#3454)
This reverts commit 6655e40784210f58dae010bb5d2c980c30c37d24.

Reason: broke hot reload when using "package:" style imports for
sources within the same project.
2017-02-28 10:54:00 -08:00
Jason Simmons
6b00d896c4 Allow translucent background colors in PhysicalModel (flutter/engine#3452)
Set the TransparentOccluder shadow flag if the color is not opaque
2017-02-27 16:27:44 -08:00
Jason Simmons
5683b4d5fc Disable the cache on the GrContext used for decoding images (flutter/engine#3451)
Fixes https://github.com/flutter/flutter/issues/8429
2017-02-27 16:21:21 -08:00
Michael Goderbauer
396912456c better document sky_snapshot (flutter/engine#3450) 2017-02-27 11:27:36 -08:00
Michael Goderbauer
6655e40784 --print-deps now returns resolved paths (flutter/engine#3449) 2017-02-27 10:27:24 -08:00
James Robinson
38a5c6fdbb Update to Dart revision de63e4fa94a1cebf86f0541ac14f25fd0bff73c0 (flutter/engine#3442)
This contains some fixes for Fuchsia and I'd like to keep the version
of Dart used in fuchsia and flutter builds consistent. Should have no
other impactful changes for Flutter.
2017-02-24 17:19:13 -08:00
Chris Bracken
f2594cae0f Apply iOS status bar padding to flutter views (flutter/engine#3447)
This change eliminates two previous assumptions:
1. If a Flutter view is embedded in a parent view, that the parent view
   controller would apply any status bar padding necessary.
2. That we should not apply padding unless the flutter view is
   fullscreen.

A simple case where the first assumption fails to hold is a Flutter view
embedded in a UINavigationController with a hidden toolbar. A simple
case where the second assumption fails to hold is a view in a window
whose top overlaps the status bar but isn't fullscreen.
2017-02-24 13:11:10 -08:00
Jason Simmons
2e755736a5 Return an error to Dart when spawning an isolate with an unsupported URI (flutter/engine#3443)
Fixes https://github.com/flutter/flutter/issues/8084
2017-02-24 09:44:36 -08:00
Chinmay Garde
b016356c1e Roll Skia revision to 3f81f3703a68755c88f5cc4a87728b98f34c4cd4 (flutter/engine#3438) 2017-02-23 17:58:05 -08:00
Jason Simmons
339ee9d8ea Adapt the physical model layer for Fuchsia (flutter/engine#3441) 2017-02-23 16:27:33 -08:00
Chinmay Garde
53b2940c6d Remove rarely used GLConnection stuff in flow. (flutter/engine#3440)
I had added this initially as a means of making it easier to deal with OpenGL directly in Flow. However, we are moving away from dealing with the client rendering APIs directly. Instead, delegating everything to Skia. Besides, we only ever used this to log the GPU description in case of context setup failures. This has not proved to be useful so far. Also, having this in place is making it difficult to remove all dependencies on GL in Shell.
2017-02-23 16:02:53 -08:00
Chinmay Garde
0110abf008 Allow plugging in a software backend for rendering in the shell. (flutter/engine#3404) 2017-02-22 15:40:23 -08:00
Dan Rubel
92767a3d58 modify RunFrom<X> methods to return error code rather than call exit (flutter/engine#3428) 2017-02-21 11:31:27 -05:00
Jason Simmons
3e7ecdc1e7 Physical model layer that can draw shadows for a Material widget (flutter/engine#3424) 2017-02-16 17:30:57 -08:00
Chinmay Garde
7e31feadc0 Remove texture image. (flutter/engine#3434) 2017-02-16 16:26:02 -08:00
Chinmay Garde
b22362be89 Update skia to 1c8e82b72bfeb1a02297688cf082c365b62705f7 (flutter/engine#3433) 2017-02-16 15:40:11 -08:00
James Robinson
d394ebdfe3 Update invocation of create_snapshot_bin.py (flutter/engine#3429)
This applies commit 88441bfc0f712ad451784851bfcf0b0cc418ad75 from the
skia_rev_130a118cc68f8f9973e9572356011de378463fea branch to master so
master works in the Fuchsia build again.
2017-02-16 13:27:37 -08:00
Ryan Macnak
f03daa15b9 Roll Dart to 1ed4c27c01de6680766593b88a531ef86883a117. (flutter/engine#3431) 2017-02-16 13:26:31 -08:00
Dan Rubel
011f142515 add kernel support (flutter/engine#3369) 2017-02-16 10:11:38 -05:00
Jason Simmons
ed07f34bce Transfer ownership of the buffer in the image decoder bitmap fallback path (flutter/engine#3426)
Previously we had passed a local generator to flow::BitmapImageCreate /
SkImage::MakeFromGenerator, which takes ownership of the generator.
That generator in turn referenced an SkData backed by a local vector.
The result was an SkImage backed by a deleted buffer.
2017-02-15 15:37:39 -08:00
xster
ffc4165cd5 Fix multi-font ttc rendering for iOS (flutter/engine#3418)
Merged iOS and Android font fallback mechanisms and push font discovery logic into skia
2017-02-14 23:54:39 -08:00
mattsarett
f8f53719d6 Use SkImage::makeShader() in place of bitmap workaround (flutter/engine#3419) 2017-02-14 14:35:12 -08:00
Chinmay Garde
9dfad95808 Use updated calls to SkColorSpace in flutter/vulkan. (flutter/engine#3416) 2017-02-13 18:23:32 -08:00
Ryan Macnak
5b4dae1428 Roll Dart VM to 9a7a04525f638b57a746706c3575df66cf02bc2d. (flutter/engine#3413)
Picks up changes to include inlined frames and line numbers in AOT stack traces.
2017-02-13 13:34:12 -08:00
Chinmay Garde
42d77d6159 Revert ShadowMaskFilter use and roll Skia to 246a3c269d8dc91a47ff27f7b71508bf9e74edf5. (flutter/engine#3409) 2017-02-10 16:01:36 -08:00
xster
3f70cb283a Add instructions for debugging engine with xcode (flutter/engine#3411) 2017-02-10 13:56:02 -08:00
Jason Simmons
0444f3a280 Enable some new Dart VM features (flutter/engine#3408)
Fixes https://github.com/flutter/flutter/issues/7579
2017-02-10 12:28:41 -08:00
Chinmay Garde
80ff17617c Roll buildroot. (flutter/engine#3410) 2017-02-10 12:28:07 -08:00
xster
cceefabcb1 Add CONTRIBUTING instructions for simulator (flutter/engine#3407) 2017-02-09 23:06:11 -08:00