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
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
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
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
d5232635f9
Remove //base from //flutter/tonic
2016-08-07 12:35:25 -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
Adam Barth
31cd9361ff
Remove more //base dependencies ( #2871 )
2016-08-05 10:14:32 -07:00
Adam Barth
f0967c24e5
Remove more //base dependencies ( #2870 )
...
WTF is now //base clean.
2016-08-05 00:00:24 -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
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
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
Jason Simmons
62772bbf66
Link to the OpenGL library to fix the host_debug_unopt build ( #2841 )
2016-07-28 11:24:08 -07:00
Jason Simmons
3dac5a71ea
Drop the last layer tree when tearing down the rasterizer ( #2836 )
...
The LayerTree may be holding references to obsolete Skia/GPU resources,
notably the GrGLGpu. The old GrGLGpu should be deleted before a new
GrGLGpu is created during the next rasterizer setup.
Fixes https://github.com/flutter/flutter/issues/5074
2016-07-27 15:31:50 -07:00
Jason Simmons
f12f9b448e
Restore "Capture Skia trace events" ( #2834 )
2016-07-27 11:31:31 -07:00
Ian Hickson
4f78a67dd4
Revert "Capture Skia trace events" ( #2831 )
2016-07-27 08:51:03 -07:00
Jason Simmons
eae38aef3a
Capture Skia trace events ( #2830 )
2016-07-26 17:06:06 -07:00
Adam Barth
7c87227702
Update Skia ( #2825 )
2016-07-26 12:33:37 -07:00
Adam Barth
11dd5cada9
Add trace events to swap buffers ( #2823 )
2016-07-26 12:16:32 -07:00
Jason Simmons
d71a864e58
Clear invalid resources from the raster cache when the surface is destroyed ( #2821 )
2016-07-25 16:14:34 -07:00
Jason Simmons
789c1e799f
Disable rendering if the rasterizer can not create a GL/EGL context ( #2817 )
...
Fixes https://github.com/flutter/flutter/issues/4972
2016-07-22 11:13:21 -07:00
Jason Simmons
9546168c37
Recreate the EGL surface after a resize in order to correctly handle screen rotation on Android ( #2813 )
2016-07-21 15:13:26 -07:00
John McCutchan
855e23910a
Add intent for running from a script file ( #2807 )
2016-07-20 10:35:45 -07:00
Jason Simmons
0df124f969
Add an alternate name for an FLX built in profile mode ( #2806 )
2016-07-19 15:13:08 -07:00
Chinmay Garde
c876974381
Attempt font fallback resolution using CoreText on iOS. ( #2800 )
2016-07-18 14:58:23 -07:00
John McCutchan
0b1986a5c1
Fix DevFS on Android devices ( #2801 )
2016-07-18 12:16:57 -07:00
Jason Simmons
ca72520d93
Provide a PlatformView implementation for Linux ( #2796 )
2016-07-13 14:39:53 -07:00
Collin Jackson
1280c527e3
Make FlutterAppDelegate an empty AppDelegate ( #2792 )
2016-07-12 18:24:40 -07:00
Chinmay Garde
fe69b034c0
Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. ( #2783 )
2016-07-12 14:47:44 -07:00