1621 Commits

Author SHA1 Message Date
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
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
Chinmay Garde
334696b1ee If GrGLContext setup fails, log OpenGL platform specific information. (flutter/engine#2897) 2016-08-10 11:26:26 -07:00
Adam Barth
35e1a2d631 Get Fuchsia build past gn gen (flutter/engine#2896) 2016-08-10 11:24:16 -07:00
Ian Hickson
b51f7f0926 Update CONTRIBUTING.md (flutter/engine#2895) 2016-08-09 15:30:51 -07:00
Adam Barth
2a17639878 Update CONTRIBUTING.md to account for buildroot (flutter/engine#2893) 2016-08-09 14:14:10 -07:00
Adam Barth
16584a5a4e Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
Adam Barth
2dad1017d3 Remove files that moved to buildroot 2016-08-09 13:51:42 -07:00
Adam Barth
518f7240de Fix hot reloading (flutter/engine#2890)
We were creating the task runner adaptor before the underlying base::Thread had
a TaskRunner to adapt. Now we wait until after we start the thread.
2016-08-09 09:59:39 -07:00
Adam Barth
1f0bc88ea5 Remove //base dependency from asset system (flutter/engine#2885)
This patch centralizes the asset bundle processing in //flutter/assets and
removes the //base dependency from the code.
2016-08-08 12:56:13 -07:00
mikejurka
60725c0075 Roll mojo (flutter/engine#2881)
* Update to mojo ba13534f2b2af27a1d73e176f7406dbab25f8e14

* Fix build for updated mojo

* Fix android build. Undo some of the mojo roll.

* Fix iOS build.
2016-08-08 12:00:35 -07:00
Adam Barth
3f772397b4 Enable gn --check for more directories (flutter/engine#2884)
This required us to fix a backwards dependency from flutter/lib/ui to
sky/shell.
2016-08-07 13:52:24 -07:00
Adam Barth
e279bf0d33 Remove unused build scripts (flutter/engine#2883) 2016-08-07 13:48:27 -07:00
Adam Barth
08d05b7a34 Fix build 2016-08-07 12:52:05 -07:00
Adam Barth
65c3643e29 Remove //base from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
f85dcd1555 Remove //base from DartController 2016-08-07 12:35:25 -07:00
Chinmay Garde
5575f2e18b Give the mac desktop its own VSync provider. (flutter/engine#2877) 2016-08-05 16:37:12 -07:00
Chinmay Garde
1be74c6698 Remove unused checkerboard.cc (flutter/engine#2865) 2016-08-05 16:23:12 -07:00
Jason Simmons
4f80971f11 sky_snapshot: fix the types of Dart snapshot buffer symbols (flutter/engine#2876)
Also pick up some needed fixes to FTL and Tonic
2016-08-05 15:33:21 -07:00
Jason Simmons
b8111c902c Flush image textures before they are bound by the UI thread (flutter/engine#2873) 2016-08-05 15:24:29 -07:00
Adam Barth
0e5d805191 Remove //base dependency from sky_snapshot (flutter/engine#2872) 2016-08-05 10:15:04 -07:00
Adam Barth
2652ee2654 Add glue::PrintStackTrace() (flutter/engine#2869)
We don't have a way to print stack traces on Fuchsia yet. This patch
isolates this base dependency in //glue.
2016-08-04 23:31:21 -07:00
Adam Barth
5f46f1488f Switch //sky/engine to ftl::TaskRunner (flutter/engine#2866)
The ftl::TaskRunner is still based on a base::MessageLoop, but this patch paves
the way to replace the message loop on Fuchsia.
2016-08-04 19:25:04 -07:00
Adam Barth
dbf2d9e8df Migrate more code to //lib/tonic (flutter/engine#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
Adam Barth
0d90045ff9 Remove more of //skia/ext (flutter/engine#2853)
This patch removes a bunch of dead code in //skia/ext.
2016-08-02 09:18:48 -07:00
Adam Barth
3fbc245f7e Remove skia::RefPtr (flutter/engine#2851)
Also, remove the hacks that integrate Skia ref counting with WTF. Now we
just use sk_sp everywhere for managing Skia ref counts.
2016-08-01 22:21:37 -07:00
Adam Barth
0c9bcdd22e Remove //third_party/ply (flutter/engine#2850)
We don't use this anymore.
2016-08-01 20:54:48 -07:00
Chinmay Garde
6427ebc826 Fallback to creating Skia managed images on platforms that dont provide a GL context on the resource loader. (flutter/engine#2849) 2016-08-01 16:39:02 -07:00