1613 Commits

Author SHA1 Message Date
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
Adam Barth
b4ddad2fbc Fix Linux build 2016-08-01 16:35:08 -07:00
Adam Barth
2eb635524d Finish removing //base dependency from //flow (flutter/engine#2848)
This patch introduces a //glue library that isolates our dependency on //base.
This will let us clean up our //base dependencies ahead of actually being able
to fully remove them.
2016-08-01 16:27:48 -07:00
Chinmay Garde
1645b8b802 Asynchronous texture upload. (flutter/engine#2837) 2016-08-01 16:05:45 -07:00
Adam Barth
9586997a02 Port //flow to //lib/ftl (flutter/engine#2847)
This patch removes almost all //base dependency of //flow. The only dependency
left is on tracing.
2016-08-01 15:11:56 -07:00
Adam Barth
046a577912 Add //lib/ftl (flutter/engine#2846)
This patch starts the process of porting Flutter to run on Fuchsia by
adding FTL to DEPS. We will eventually replace //base with //lib/ftl.
2016-08-01 14:32:51 -07:00
John McCutchan
c7e72aa115 Initial modified libraries support (flutter/engine#2845) 2016-08-01 12:30:44 -07:00
Chinmay Garde
0c30ca0d8d Update CONTRIBUTING.md to add iOS engine development instructions. (flutter/engine#2844) 2016-07-29 16:22:35 -07:00
Adam Barth
313a567447 Update README.md (flutter/engine#2835) 2016-07-27 13:46:06 -07:00