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
db2c9d43ce
Remove sky_viewer.mojo
...
We now use flutter.mojo instead.
2015-11-17 14:32:57 -08:00
Adam Barth
ae58ba7c8c
Bring sky_shell.mojo up to feature parity with sky_viewer.mojo
...
I believe this patch implements all the remaining features from
sky_viewer.mojo.
2015-11-16 17:19:35 -08:00
Adam Barth
36b4f0669c
Make sky_shell.mojo work on Android
...
There's no vsync service in MojoShell, so we shouldn't try to connect to it.
Feature request for MojoShell is in https://github.com/domokit/mojo/issues/535 .
2015-11-16 15:27:28 -08:00
Collin Jackson
794caa2314
Merge pull request #2059 from collinjackson/rename_flutter_strings
...
Fix #371 Replace “chromium” and “sky” with “flutter” in logs and Mac Shell UI
2015-11-16 14:54:30 -08:00
Collin Jackson
0904164fd6
Fix https://github.com/flutter/flutter/issues/371 renaming "sky" and "chromium" to "flutter" in logs and Mac Shell UI
2015-11-16 14:54:18 -08:00
Adam Barth
ba603acc04
Fix build and rename a variable
...
I was supposed to rename this variable before landing the previous patch.
2015-11-16 14:42:44 -08:00
Adam Barth
6fae1a6bd4
Hold services_provided_to_embedder open
...
If we let services_provided_to_embedder close, we'll trigger a bug in Dart's
ApplicationConnection framework code. I've filed
https://github.com/domokit/mojo/issues/536 and will fix that separately. This
patch works around the issue for now.
2015-11-16 13:57:17 -08:00
Adam Barth
77f873c1a4
Wire in Mojo services to sky_shell.mojo
...
After this patch, code running in sky_shell.mojo has access to Mojo services.
2015-11-16 12:56:08 -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
Jason Simmons
b63c2d93e1
Provide a handle for the ServiceProvider stub used by the application to expose services to the embedder
2015-11-12 15:06:10 -08:00
Adam Barth
ff48ddb68f
Add the ability to dispose host objects
...
Some host objects hold on to a lot of state and take time to tear down. This
patch adds the ability to dispose them eagerly to release resources faster.
2015-11-11 08:36:29 -08:00
Jason Simmons
9f2d723006
Replace the legacy pointer input event handling with PointerPackets
...
With this change we no longer need engine/core/events and its IDL bindings.
2015-11-10 14:34:12 -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
Adam Barth
0c03d1c560
Rework how we lookup native functions from Dart
...
This patch changes how we lookup native functions from Dart to be more
extensible. This patch paves the way for removing the dart:ui_internals
library.
2015-10-25 00:41:45 -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
Jason Simmons
10c8e321d8
Merge pull request #1569 from jason-simmons/mojo_merge_client
...
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-12 10:10:45 -07:00
Adam Barth
72c103cefa
Rename dart:sky to dart:ui
2015-10-09 19:27:13 -07:00
Jason Simmons
d3a5b2c390
Update to mojo 4fe7bc6c228b3a2939cd3635ebd701f88eeca55d
2015-10-09 17:27:33 -07:00
Adam Barth
1946924b16
Introduce IO thread for background tasks
...
Currently we run some tasks on the UI thread that shouldn't block the frame,
such as decoding images. This patch introduces a background thread on which we
can run these tasks.
2015-10-09 06:37:57 -07:00
Chinmay Garde
418ed6f689
Allow visualizing engine and rasterizer statistics simultaneously
2015-09-30 17:18:37 -07:00
Chinmay Garde
28aa97988d
Move picture_serializer from sky/shell/gpu to sky/compositor
2015-09-21 16:22:33 -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
Adam Barth
b02963a1f6
Remove platform gesture detectors
2015-09-16 16:56:55 -07:00
Adam Barth
d5b2969546
Simplify TestRunner now that we don't have test_sky
2015-09-16 11:00:33 -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
2daa2e9618
Fix build failure due to incorrect header import of picture_serializer.h
2015-09-02 16:58:28 -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
Chinmay Garde
d726d4f822
Implement platform VSyncProvider for iOS
2015-08-31 12:30:11 -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
Alhaad Gokhale
e2b4149320
Go back to master.
2015-08-27 18:16:45 -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
James Robinson
c8eff5e44f
Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
...
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
Adam Barth
61dcfbc0ed
Add support for skyx to sky_viewer.mojo
...
Fixes #753
2015-08-24 09:34:17 -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
69c435eacc
Simplify SkPicture
...
This patch simplifies the SkPicture we generate for Skia. Instead of drawing
everything into a nested SkPicture, we now draw everything into the top-level
picture, which requires us to apply the device scale factor in Dart.
2015-08-10 15:12:13 -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
Adam Barth
26863b0961
Add a --checked argument to sky_tool start
...
The --checked argument runs SkyShell in checked mode, which turns on type
checking and asserts.
2015-08-07 13:18:38 -07:00
Adam Barth
2612c841ef
Add --enable-checked-mode to sky_shell
...
We need a way for developers to use release builds in checked mode.
Progress on #400
2015-07-30 16:01:05 -07:00
Eric Seidel
c5d8cbc512
Fix two crashes when resuming apps
...
@abarth
2015-07-30 13:16:55 -07:00