3039 Commits

Author SHA1 Message Date
Chinmay Garde
a413ef0bb0 If GrGLContext setup fails, log OpenGL platform specific information. (#2897) 2016-08-10 11:26:26 -07:00
Adam Barth
78d70176a3 Fix iOS build 2016-08-09 16:39:09 -07:00
Adam Barth
0392945ce3 Update CONTRIBUTING.md to account for buildroot (#2893) 2016-08-09 14:14:10 -07:00
Adam Barth
9c09565712 Update paths to account for buildroot 2016-08-09 13:52:15 -07:00
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
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
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
33da97b1f6 Remove more //base dependencies (#2880) 2016-08-05 20:31:30 -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
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
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
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
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
Chinmay Garde
1f03d60a27 Delay setting up the accessibility bridge till after the flutter view has appeared. (#2854) 2016-08-02 12:39:55 -07:00
Adam Barth
3096a05a7b Remove more of //skia/ext (#2853)
This patch removes a bunch of dead code in //skia/ext.
2016-08-02 09:18:48 -07:00
Adam Barth
410bc4c313 Remove skia::RefPtr (#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
a415e0e748 Fix Linux build 2016-08-01 16:35:08 -07:00
Chinmay Garde
ace8307aab Asynchronous texture upload. (#2837) 2016-08-01 16:05:45 -07:00
Adam Barth
d6476a65c3 Port //flow to //lib/ftl (#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
John McCutchan
b23f07e5c7 Initial modified libraries support (#2845) 2016-08-01 12:30:44 -07:00
Jason Simmons
349cf38ba2 Another OpenGL library build system fix (#2842) 2016-07-28 12:02:42 -07:00