20087 Commits

Author SHA1 Message Date
Adam Barth
5f65a121ad Remove //base dependency from engine.cc (#2891)
We now just call stat directly to test whether a file exists.
2016-08-09 11:21:02 -07:00
Adam Barth
67a42cd19d Fix hot reloading (#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
5f75e0bf30 Remove more //base dependencies from //sky/shell (#2889)
This patch hides the base::SingleThreadedTaskRunner, which pulls a big
switchover to ftl::WeakPtr and std::function.
2016-08-08 20:00:37 -07:00
Adam Barth
90039f8efb Fix build 2016-08-08 15:19:59 -07:00
Adam Barth
4fa03ded48 Remove //base dependencies from //sky/shell (#2888) 2016-08-08 14:58:25 -07:00
Adam Barth
11dbbd0b24 Remove more //base dependencies from //sky/engine (#2887) 2016-08-08 14:52:52 -07:00
John McCutchan
dedab3e6e7 Add an association between FlutterViews and Dart Isolates to the PlatformView service protocol support (#2886) 2016-08-08 13:04:15 -07:00
Adam Barth
13af58bfc4 Remove //base dependency from asset system (#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
cb40b67f55 Roll mojo (#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
2dc2fac0d8 Build fix 2016-08-07 16:40:24 -07:00
Adam Barth
c65c32f602 Enable gn --check for more directories (#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
aa81407796 Attempt to fix build 2016-08-07 13:49:40 -07:00
Adam Barth
cee106b78e Remove unused build scripts (#2883) 2016-08-07 13:48:27 -07:00
Adam Barth
9c0a05f9a6 Fix build 2016-08-07 12:52:05 -07:00
Adam Barth
6c69724859 Remove data_pipe_utils from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
d5232635f9 Remove //base from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
9668ba422f Remove //base from DartController 2016-08-07 12:35:25 -07:00
Adam Barth
dfd6f99240 Remove //base depedency from DartDebugger 2016-08-07 12:35:25 -07:00
Adam Barth
1287f8a037 Update //lib/ftl 2016-08-07 12:35:25 -07:00
Adam Barth
53d6b50ff9 Fix build 2016-08-05 21:13:48 -07:00
Adam Barth
33da97b1f6 Remove more //base dependencies (#2880) 2016-08-05 20:31:30 -07:00
Adam Barth
52b4d62e6f Remove mojo_converter.h (#2879)
We can use the one from //lib/tonic instead.
2016-08-05 16:50:40 -07:00
Adam Barth
1c9c7aa826 Switch to using //lib/tonic's DartWrappable (#2878)
This removes most (all?) of our dependency on base::RefCountedThreadSafe.
2016-08-05 16:43:35 -07:00
Chinmay Garde
cebfd92d5b Give the mac desktop its own VSync provider. (#2877) 2016-08-05 16:37:12 -07:00
Chinmay Garde
65a4c99740 Remove unused checkerboard.cc (#2865) 2016-08-05 16:23:12 -07:00
Jason Simmons
5556355d24 sky_snapshot: fix the types of Dart snapshot buffer symbols (#2876)
Also pick up some needed fixes to FTL and Tonic
2016-08-05 15:33:21 -07:00
Jason Simmons
adbf037186 Flush image textures before they are bound by the UI thread (#2873) 2016-08-05 15:24:29 -07:00
Zachary Anderson
d3a7a6d7d1 Roll dart to pick up new BoringSSL (#2875)
* Roll Dart to pickup new BoringSSL

* Roll further to pick up build file fixes
2016-08-05 14:46:12 -07:00
John McCutchan
11cf9d82a8 Stop dropping top level languageerrors on the floor during reload (#2874) 2016-08-05 13:02:33 -07:00
Ben Wagner
e6adb66ae9 Move SkTypeface::CreateXXX to SkTypeface::MakeXXX.
Skia is moving to returning smart pointers from its factory methods.
This updates uses of SkTypeface::CreateXXX to SkTypeface::MakeXXX and
generally updates use of SkTypeface to sk_sp. This will allow for the
removal of the SK_SUPPORT_LEGACY_TYPEFACE_PTR define.

Change-Id: If3e600c6cb86080576667bc77d427da4f6560afa
2016-08-05 13:57:22 -04:00
Adam Barth
05874bab76 Remove //base dependency from sky_snapshot (#2872) 2016-08-05 10:15:04 -07:00
Adam Barth
31cd9361ff Remove more //base dependencies (#2871) 2016-08-05 10:14:32 -07:00
Adam Barth
b2c296c52b Fix build 2016-08-05 09:20:07 -07:00
Adam Barth
f0967c24e5 Remove more //base dependencies (#2870)
WTF is now //base clean.
2016-08-05 00:00:24 -07:00
Adam Barth
24511c9265 Add glue::PrintStackTrace() (#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
Jason Simmons
6394e04973 On Android, create a global resource context that is shared with all PlatformViews (#2867)
Previously we had created a resource context for each PlatformView which would
be destroyed when the PlatformView lost its surface.

Fixes https://github.com/flutter/flutter/issues/5200
2016-08-04 19:48:27 -07:00
Adam Barth
5feb8266f8 Switch //sky/engine to ftl::TaskRunner (#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
d4b9ce9797 Unblock the Mojo main thread during rasterizer setup (#2868)
Fixes https://github.com/flutter/flutter/issues/4957
2016-08-04 16:52:54 -07:00
John McCutchan
b13b79b331 Implement RunInView service protocol extension (#2862) 2016-08-04 14:10:27 -07:00
Jason Simmons
603b0701a6 Do not pass a PlatformView weak pointer to the IO thread (#2864)
PlatformViews are owned by the UI thread
2016-08-04 11:14:17 -07:00
John McCutchan
c1dbf57395 Add DirectoryAssetBundleService to engine (#2827) 2016-08-03 18:01:10 -07:00
John McCutchan
3ed2fb026e Add collection of PlatformViews to the Shell and allow them to be queried over the service protocol (#2861) 2016-08-03 15:55:31 -07:00
Adam Barth
1e250cfc5f Migrate more code to //lib/tonic (#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
Chinmay Garde
62825a7e3b Update Dart revision to pull in changes related to version file generation. (#2859) 2016-08-03 14:35:21 -07:00
Adam Barth
bc19388819 Switch to //lib/tonic's DartConverter (#2858)
Also, switch over to //lib/tonic's typed data classes.
2016-08-03 14:09:07 -07:00
Adam Barth
1c68b123c6 Reland "Remove more //base dependencies" (#2857)"
Hopefully this will build this time.
2016-08-03 12:58:35 -07:00
Adam Barth
15ee1fb706 Update DEPS 2016-08-03 12:54:24 -07:00
Ian Hickson
abb9c78d57 Revert "Remove more //base dependencies" (#2857) 2016-08-03 11:29:20 -07:00
Adam Barth
bce0d690a4 Remove more //base dependencies (#2856) 2016-08-03 10:35:14 -07:00
Adam Barth
2629d5e73b Remove a pile of dead code (#2855)
* Remove time

* Remove rand

* Remove array buffers

* Remove more code

* Remove more image decoding code

* Remove more code

* Remove old public API

* Remove more old public headers

* Remove layout test support

* Remove WebPrivateOwnPtr

* Remove WebString

* Remove worker pool
2016-08-03 09:14:34 -07:00