Jason Simmons
0ede7dded8
Implement support for invoking Mojo services from secondary isolates
2016-02-29 16:20:27 -08:00
Chinmay Garde
f9281a1edf
Allow specification of the FLX bundle (containing no Dart snapshot) outside the iOS/Mac application bundle.
...
Allows launching of apps without having any Xcodebuild step in the simulator.
2016-02-29 13:16:01 -08:00
Jason Simmons
0b8038fa1e
Support loading of custom fonts
...
The FLX will contain a font manifest JSON file that maps font family names
to custom font assets. Flutter will provide a FontSelector that loads
fonts on demand and caches typeface and style data.
2016-02-17 12:07:22 -08:00
Jason Simmons
f4542c9152
Use Engine::RunFromBundle and the ZipAssetBundle on all platforms
2016-02-12 11:50:00 -08:00
Jason Simmons
ae517c2fee
Add a way to override the snapshot when running an FLX bundle
2016-02-09 10:08:26 -08:00
Adam Barth
e22e75ea50
Merge pull request #2302 from abarth/rm_scoped_ptr
...
Remove almost all uses of base::scoped_ptr
2016-01-27 08:38:41 -08:00
Adam Barth
142c5dc5ec
Remove almost all uses of base::scoped_ptr
...
We now use std::unique_ptr more consistently.
2016-01-27 01:05:47 -08:00
Adam Barth
c3a78a1796
Remove dependencies on ui/gfx/geometry
...
We have enough geometry classes kicking around. We don't need the
ui/gfx/geometry types too.
2016-01-26 23:57:20 -08:00
Adam Barth
0b629d419f
Move //sky/compositor to //flow
...
Now that the compositor doesn't have any tricky deps, we can make it a
top-level project, which saves a bunch of typing.
2016-01-12 22:39:51 -08:00
Adam Barth
bec6ad5d3f
Merge pull request #2178 from floitschG/handleRealTime
...
Add 'HandleRealTimeEvents' to window.
2016-01-12 12:25:13 -08:00
Jason Simmons
e55cf62694
Provide callbacks for activity pause and resume events
2015-12-15 18:01:36 -08:00
Florian Loitsch
8e1fc82146
Add 'FlushRealTimeEvents' to window.
2015-12-11 16:11:47 -08:00
Jason Simmons
98427a2763
Tell Flutter about the host platform's locale
2015-12-07 14:27:22 -08:00
Florian Loitsch
5fa49e11ad
Merge pull request #2121 from floitschG/raster_pipe
...
Make rasterizer a mojo service.
2015-12-02 16:32:45 -08:00
Florian Loitsch
372355ad22
Make rasterizer a mojo service.
2015-12-02 16:28:39 -08:00
Chinmay Garde
34696334a4
Allow capturing unified (Dart and base) traces from observatory
...
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
Adam Barth
68dfad8e92
Add --flx flag to load FLX files
...
Also, remove the --snapshot flag because using FLX files is the path we're
paving.
2015-11-27 23:14:07 -08:00
Adam Barth
a9db805f58
Add system-level routing
...
We now respect the "route" field in Intents to load a route other than '/'.
Also, use popRoute rather than events to indicate that the framework has asked
us to go back.
2015-11-24 12:40:41 -08:00
Adam Barth
9dc71cb51f
Refactor how we wire up platform services
...
Now the control flow for wiring up platform services starts in the
platform-specific code. Previously we started in shared code, which was
imposing constraints on the startup sequence for all platforms. Now that we
start in platform-specific code, we'll be able to add better support for Mojo
in a future patch.
2015-11-16 12:24:28 -08:00
Adam Barth
3082e82586
Merge pull request #2054 from abarth/rm_network
...
Remove sky:🐚 :Engine's dependency on network_service
2015-11-16 09:50:23 -08:00
Adam Barth
33a1cd3e87
Remove sky: 🐚 :Engine's dependency on network_service
...
We weren't using the network service for anything.
2015-11-16 09:22:06 -08:00
Adam Barth
56601fcfa3
Wire sky_shell.mojo to draw via MGL
...
After this patch, we can execute Dart code and draw the result via MGL. We
still need to plumb in services.
2015-11-14 07:42:25 -08:00
Adam Barth
96b847cd43
Wire sky_shell.mojo up to native_viewport
...
After this patch, we can execute Dart code an create an X window. There's a
sketch of some graphics code, but it's not wired up yet.
2015-11-13 14:00:34 -08:00
Adam Barth
02d75552c9
Start booting up the new binding system for window
...
Currently this code isn't completely wired up, but this patch is an incremental
step in that direction.
2015-10-27 16:53:52 -07:00
Chinmay Garde
4467e58221
Tell the engine about the flx bundle path when loading from a precompiled snapshot
2015-10-23 14:34:51 -07:00
Chinmay Garde
d6ff8e90b0
Switch to using precompiled snapshots on iOS
2015-10-22 17:27:40 -07:00
Adam Barth
edb7d79c86
Update includes to account for network service move
2015-10-19 10:30:24 -07:00
Jason Simmons
69b47bfab9
Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f
2015-10-12 15:34:11 -07:00
Chinmay Garde
ef4df93e06
SkPicture tracing to file follows same path as rendering into the OpenGL context
2015-09-21 15:45:09 -07:00
Chinmay Garde
b44a86c08a
PictureLayers cache the contents of their pictures if the pictures
...
dont mutate from frame to frame
2015-09-09 09:54:30 -07:00
Adam Barth
e5d7e69346
Pass the sky::LayerTree to the GPU thread for drawing
...
Instead of squashing the layers down into a single SkPicture, we now pass the
tree to the GPU thread, which draws everything separately.
2015-09-03 19:20:32 -07:00
Chinmay Garde
cff629460e
Rename: SaveFrameToSkp -> SaveFrameToSkPicture
2015-09-02 16:11:21 -07:00
Chinmay Garde
544f6499ed
Add hooks to save skp file of current frame to the documents directory
2015-09-02 15:18:23 -07:00
Adam Barth
30a05aab46
Add a mojom for delivering pointer events in packets
...
We don't use this interface yet.
2015-08-28 09:39:35 -07:00
Adam Barth
795df1327b
Plumb physical size along with SkPicture
...
Previously we were using the cull rect of the SkPicture to size the GPU buffer,
but Skia is too smart and shrinkwraps the cull rect, which meant we weren't
sizing the GPU buffer to the right size.
Fixes #814
2015-08-26 09:26:51 -07:00
Chinmay Garde
281dc80f17
Merge pull request #578 from chinmaygarde/master
...
Make |TracingController| platform agnostic and enable collecting traces from base and the shell view dart isolate simultaneously
2015-08-13 12:58:54 -07:00
Chinmay Garde
cfec10d80d
Make |TracingController| platform agnostic and enable collecting
...
traces from base and the shell view dart isolate simultaneously.
Trace files contain samples from multiple sources and must be merged
separately
2015-08-13 12:51:24 -07:00
Adam Barth
5f62ffe1f4
Swith from skia::RefPtr to RefPtr
...
Now that we can use WTF everywhere, we don't need to use skia::RefPtr.
2015-08-10 14:18:38 -07:00
Collin Jackson
a64559ab70
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00