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
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
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
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
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
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
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
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
Adam Barth
752ff89710
Improve vsync provider
...
Now we actually use the vsync signal to trigger work. Previously, we'd hit the
pipeline depth limit too early and fall back to swap buffers-triggered
rendering.
Also, rename Vsync to VSync on recommendation from jamesr.
2015-07-29 14:25:51 -07:00
Adam Barth
f81d96e1dd
Drive frames from the vsync provider on Android
...
Instead of using back pressure from swap buffers to drive the engine, this
patch using the vsync signal from the Android framework. We still respect
back pressure from swap buffers if we get too far ahead.
2015-07-28 22:32:36 -07:00
Adam Barth
798a88d9e2
Update Sky code to account for changes in Chromium
...
- Add missing dependencies caught by gn's new stricter checker
- Update opentype code to use new OTS API. This code is updated from HEAD
Blink.
- Add base dependency to wtf to avoid redefining marcos from base/macros.h
- Update callers of various base string utility functions to use base
namespace.
2015-07-16 22:14:27 -07:00
Collin Jackson
a64559ab70
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00