Commit Graph

2012 Commits

Author SHA1 Message Date
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
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
Adam Barth
e085e97f02 Update buildroot 2016-08-09 17:13:22 -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
John McCutchan
7e85c9b1a1 Roll tonic to 25b9fe6c5dfb0925794e754b7dc80d9c320e5082 (flutter/engine#2892) 2016-08-09 13:47:29 -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
John McCutchan
949613a094 Add an association between FlutterViews and Dart Isolates to the PlatformView service protocol support (flutter/engine#2886) 2016-08-08 13:04:15 -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
Adam Barth
fe71e45f53 Update //lib/ftl 2016-08-07 12:35:25 -07:00
Adam Barth
8b98d6f89c Remove more //base dependencies (flutter/engine#2880) 2016-08-05 20:31:30 -07:00
Adam Barth
9acb03545e Switch to using //lib/tonic's DartWrappable (flutter/engine#2878)
This removes most (all?) of our dependency on base::RefCountedThreadSafe.
2016-08-05 16:43:35 -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
Zachary Anderson
66484d2114 Roll dart to pick up new BoringSSL (flutter/engine#2875)
* Roll Dart to pickup new BoringSSL

* Roll further to pick up build file fixes
2016-08-05 14:46:12 -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
Jason Simmons
a2ead44b81 Unblock the Mojo main thread during rasterizer setup (flutter/engine#2868)
Fixes https://github.com/flutter/flutter/issues/4957
2016-08-04 16:52:54 -07:00
John McCutchan
4dcde30743 Implement RunInView service protocol extension (flutter/engine#2862) 2016-08-04 14:10:27 -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
Chinmay Garde
a94ad97517 Update Dart revision to pull in changes related to version file generation. (flutter/engine#2859) 2016-08-03 14:35:21 -07:00