2044 Commits

Author SHA1 Message Date
Jason Simmons
70cc2b0e33 Scale picture layers to the picture's cull rect (flutter/engine#2967) 2016-08-23 14:46:23 -07:00
Chinmay Garde
e27ac27b87 Simplify PictureLayer::Paint. (flutter/engine#2962) 2016-08-22 15:11:11 -07:00
Adam Barth
3b6c77afb3 Update buildroot (flutter/engine#2960) 2016-08-20 09:53:51 -07:00
Chinmay Garde
1a424320f7 Pipelines vend single use continuations that callers can complete at any time to signal readiness of a pipeline resource. (flutter/engine#2957) 2016-08-19 16:57:05 -07:00
Chinmay Garde
915e97e4b3 Revert "Remove the create_ios_framework.py tool. (#2946)" (flutter/engine#2950)
This reverts commit d173acbd03254d214f2a0b9791f01be937c87628.
2016-08-18 16:51:17 -07:00
Todd Volkert
dd98748b48 Add config properties to specify snapshot blob file names. (flutter/engine#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
cc54935495 Build WTF on Fuchsia (flutter/engine#2948)
Also, clean out some unneeded dependencies from engine/platform.
2016-08-18 16:13:06 -07:00
Chinmay Garde
d173acbd03 Remove the create_ios_framework.py tool. (flutter/engine#2946) 2016-08-18 12:35:55 -07:00
Chinmay Garde
6cd3679c83 Make the engine provide layer trees to the rasterizer via a pipeline. (flutter/engine#2942) 2016-08-18 11:23:15 -07:00
Chinmay Garde
2f7fde0ebd Completely remove the platform/mojo shell. (flutter/engine#2940) 2016-08-17 15:13:05 -07:00
Chinmay Garde
b18dd4abd1 Add flutter::Pipeline to //synchronization. (flutter/engine#2939) 2016-08-17 15:05:43 -07:00
Chinmay Garde
7cc67cf3a1 flow::Semaphore for simple platform specific unnamed semaphores. (flutter/engine#2937) 2016-08-17 14:28:23 -07:00
James Robinson
afb3e128f3 Pull mojo/public from fuchsia.googlesource.com (flutter/engine#2938)
This is now the canonical location of the Mojo public SDK.
2016-08-17 14:11:56 -07:00
Jason Simmons
c6f8e88e89 Roll Tonic (flutter/engine#2936) 2016-08-17 10:45:16 -07:00
Adam Barth
c95e22a428 Add stubs for text handling on Fuchsia (flutter/engine#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
John McCutchan
837def95ac Fix build (flutter/engine#2931) 2016-08-16 12:33:30 -07:00
John McCutchan
d5ee913a75 Send richer service protocol respones from the Shell (flutter/engine#2929) 2016-08-16 12:16:41 -07:00
Jason Simmons
b45b6a1bd9 Include the FTL build config macros in some files that rely on them (flutter/engine#2930)
Fixes https://github.com/flutter/flutter/issues/5424
2016-08-16 12:04:11 -07:00
Adam Barth
732fe01353 Add spinning_square example (flutter/engine#2928)
Also, teach gn how to build application bundles.
2016-08-15 23:07:19 -07:00
Adam Barth
a6ef760738 Get spinning square working on Fuchsia (flutter/engine#2926)
After this patch, we're able to run spinning_square on Fuchsia. I've
left some TODO comments about some shortcuts I've taken that we'll need
to improve in the future.
2016-08-14 16:24:40 -07:00
Adam Barth
bf60f2f56f //flutter/content_handler code complete (flutter/engine#2925)
This patch should contain all the code we need to run Flutter on
Fuchsia's software framebuffer (without text). I haven't actually tried
running the code, so I'm sure it doesn't work yet.
2016-08-13 16:38:39 -07:00
Adam Barth
76f0953aef Rename SkyView to RuntimeController (flutter/engine#2924)
Also, rename SkyViewClient to RuntimeDelegate. These names are more
sensible.

This patch also cleans up the RuntimeDelegate a bit, for example by
removing support for flushing real-time events, which aren't used.
2016-08-13 00:18:58 -07:00
Adam Barth
83bf8be528 Add //flutter/content_handler (flutter/engine#2923)
We're now producing a flutter_content_handler binary for Fuchsia that
builds and links.
2016-08-12 22:41:54 -07:00
Adam Barth
1d67a42888 Get //flutter/runtime building on Fuchsia (flutter/engine#2922) 2016-08-12 21:55:00 -07:00
Adam Barth
e3f80d9cda Fix startup crash 2016-08-12 20:38:01 -07:00
Adam Barth
d03e8fa34b Move embedded resources to //flutter/runtime (flutter/engine#2921)
This data is actually used in //flutter/runtime, so it makes more sense to
generate it and include it in the build from there.
2016-08-12 16:54:00 -07:00
Adam Barth
6598d2104d Invert the relationship between lib/ui and sky/engine (flutter/engine#2920)
Now lib/ui depends on sky/engine rather than the reverse.
2016-08-12 16:12:07 -07:00
Todd Volkert
e2298ec5be Pass runtime_mode gn arg through to ShouldEnableCheckedMode() (flutter/engine#2919)
https://github.com/flutter/flutter/issues/4866
2016-08-12 14:45:25 -07:00
Adam Barth
beb84ed2ea Move more code out of //flutter/sky/engine (flutter/engine#2918)
* Move dart:mojo.internal to //flutter/lib/mojo

To be parallel with the other built-in libraries.

* Move DartRuntimeHooks into //flutter/lib/ui

This code manipulates natives.dart, which is part of //flutter/lib/ui.
2016-08-12 13:16:46 -07:00
Adam Barth
6b0e5e85a4 Finish removing //flutter/tonic (flutter/engine#2917)
This pulled a refactoring of how we keep track of the primary threads.
2016-08-12 12:05:48 -07:00
Adam Barth
cbb28cb25d Almost remove //flutter/tonic (flutter/engine#2916)
All that's left is two task runners, which should be statics somewhere.
2016-08-12 09:42:32 -07:00
Adam Barth
37652cc041 Clean up :dist target (flutter/engine#2915)
We only need this target for preparing the Dart packages for distribution now.
2016-08-11 14:59:19 -07:00
Adam Barth
19e8e7fe91 Teach //flutter/lib/ui to build on Fuchsia (flutter/engine#2912)
This patch removes the //flutter/sky/engine dependency from //flutter/lib/ui,
which lets us build the bulk of the dart:ui library without needing to build
//flutter/sky/engine.
2016-08-11 13:13:59 -07:00
Hans Muller
58f588b71a Added SceneBuilder culling (flutter/engine#2911) 2016-08-11 10:24:05 -07:00
Adam Barth
46ffdf7507 Simplify Dart application startup (flutter/engine#2910)
There are now three ways to start Dart applications:

1) From a precompiled snapshot
2) From a snapshot
3) From source

When loading from source, we no longer use the complex data pipe /
dependency catcher mechanism. Instead, we just load the source
synchronously from the file system. This is appropriate because running
from source is used only during development and not during production.

The previous design was built assuming we would want to run from source
over the network, which meant we needed to be able to load source
asynchronously over a high latency channel.
2016-08-11 10:23:17 -07:00
John McCutchan
a39b0aabe0 Add --print-deps mode to sky_snapshot (flutter/engine#2903) 2016-08-11 06:39:20 -07:00
Adam Barth
955cb70b47 Don't build sky_snapshot for target 2016-08-10 20:03:07 -07:00
Adam Barth
5c6fd0da9c Update Dart (flutter/engine#2909) 2016-08-10 19:45:36 -07:00
Adam Barth
ab639040a4 Attempt to fix build 2016-08-10 19:42:59 -07:00
Adam Barth
32e9cda6a1 Teach sky_snapshot how to build on Fuchsia (flutter/engine#2907)
Doesn't quite work yet, but close. Fuchsia is on a newer Dart and will need a
couple patches before this will fully work.
2016-08-10 16:56:41 -07:00
Adam Barth
1ebcc38580 One more attempt to fix the build 2016-08-10 16:37:37 -07:00
Adam Barth
ecd0f5a71c Attempt to fix build 2016-08-10 16:28:13 -07:00
Adam Barth
9c2c2b38bb Fix build 2016-08-10 16:21:51 -07:00
Adam Barth
8656cda538 Move sky_snapshot to a more reasonable location (flutter/engine#2906)
We should eventually rename it to something more sensible, but that's a more
disruptive change. This patch just moves the source code to somewhere easier to
find.
2016-08-10 16:05:38 -07:00
Adam Barth
51b395ffb8 Move snapshot to //flutter/lib/snapshot (flutter/engine#2905)
This change disentangles the build for the snapshotter from the main engine
build. Also, we now have all the Dart files for dart:ui in the same directory.
2016-08-10 15:33:11 -07:00
Ian Hickson
f19e4984db Update sky_engine LICENSE file (flutter/engine#2904) 2016-08-10 15:29:10 -07:00
Adam Barth
572c0aa735 Update //lib/ftl (flutter/engine#2901) 2016-08-10 15:16:56 -07:00
Chinmay Garde
520ec8698d Guard against sysmacros.h pulling in defines for major and minor on some platforms. (flutter/engine#2900) 2016-08-10 14:13:01 -07:00
Adam Barth
8cfd887da7 Get //flutter/flow building on Fuchsia (flutter/engine#2899) 2016-08-10 14:03:19 -07:00
Adam Barth
e8274a3077 Teach //flutter/glue to build on Fuchsia (flutter/engine#2898) 2016-08-10 12:50:00 -07:00