145 Commits

Author SHA1 Message Date
Chinmay Garde
e1d51161f3 Look for the FLX file in the application bundle before falling back to the runner bundle 2015-11-05 17:27:54 -08:00
Chinmay Garde
1e98421ca1 GN rules for the precompilation SDK 2015-11-05 12:57:36 -08:00
Adam Barth
05d03e5861 Rename sky.yaml to flutter.yaml
More flutter more better.
2015-11-02 12:57:27 -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
40314239aa Nuke unused document watcher on iOS 2015-10-26 11:54:24 -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
8e7193883b Use the updated way of setting the status bar text color on iOS 2015-10-23 14:48:54 -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
Michael Xia
4809545d63 Fixed build errors when building for Mac desktop. 2015-10-22 13:04:14 -07:00
Hixie
ee6fc727a5 Remove an unused constant. 2015-10-22 08:53:11 -07:00
Adam Barth
3d9ebae899 Merge pull request #1728 from abarth/run_intent
Teach SkyShell.apk how to respond to the RUN intent
2015-10-21 19:50:19 -07:00
Adam Barth
96b610f366 Teach SkyShell.apk how to respond to the RUN intent
We'll use this to run app bundles off the device's file system.
2015-10-21 16:29:07 -07:00
Adam Barth
9422e0a427 Don't use a \0 to separate base and Dart trace events
Instead, we can just concatenate the records together, which means you can view
the generated trace file without post-processing. Also, I've made the trace
file world-readable, so that you can trace a device without needing root
access.
2015-10-21 15:14:19 -07:00
Adam Barth
33977d4dd8 Switch Android over to the shared TraceController
We now use the same trace controller on Android as other platforms.
2015-10-21 13:30:19 -07:00
Adam Barth
edb7d79c86 Update includes to account for network service move 2015-10-19 10:30:24 -07:00
Adam Barth
be426a20e7 Mark SkyShell as debuggable
This patch makes it easier to work with SkyShell on non-rooted devices.
2015-10-13 13:56:02 -07:00
Jason Simmons
5bdbdb5a80 Merge pull request #1583 from jason-simmons/mojo_merge_client_part2
Update to mojo aff2415d1e1f4c4a16b3bb608d4dc17c4e924667
2015-10-13 09:58:59 -07:00
Jason Simmons
69b47bfab9 Update to mojo 298d9942de7819c4a837b049bc98d2cbcd61554f 2015-10-12 15:34:11 -07:00
Chinmay Garde
3f4fee2d67 Fix keyboard service and input event implementation on iOS that broke after mojom updates 2015-10-12 12:15:18 -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
Ian Fischer
3a463204d4 Rename skyx to flx in sky.
This is needed for coordination with sky_tools development.
2015-10-09 14:35:08 -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
887e06f555 Format trace file names so they are easier to organize 2015-10-08 11:50:51 -07:00
Chinmay Garde
1e89a38bd6 Use the app directory as the tracing path on Android 2015-10-07 14:10:58 -07:00
Chinmay Garde
ec31bc9bfd Set SkPicture tracing root directory on Android 2015-10-07 12:34:03 -07:00
Chinmay Garde
6d7a56b7ed Disable instrumentation when rendering to a trace file 2015-10-06 17:29:58 -07:00
Chinmay Garde
b95b5292b8 Setup infrastructure to capture SKP traces when the frame interval exceeds certain thresholds 2015-10-06 17:03:10 -07:00
Chinmay Garde
d53475832f Merge pull request #1423 from chinmaygarde/master
Allow visualizing engine and rasterizer statistics simultaneously
2015-09-30 17:45:12 -07:00
Chinmay Garde
418ed6f689 Allow visualizing engine and rasterizer statistics simultaneously 2015-09-30 17:18:37 -07:00
Matt Perry
3266b147cf Implement working UpdateTask in Dart
Dart code now supports the full flow that the C++ code used to: version check,
download, replace app bundle. Bonus: the Dart code is much easier to follow,
thanks to async/await!

This is part 2 of a 3-part change. The first part added new mojom
interfaces, PathService and UpdateService, to the sky_services package.
2015-09-30 18:13:11 -04:00
Chinmay Garde
60176eb6fa Account for the canvas flush and surface swap buffers durations in the instrumented frame times (via the ScopedFrame) 2015-09-30 15:07:57 -07:00
Matt Perry
325a309c6d Add new mojom interfaces PathService and UpdateService.
These will be used by the updater package.
2015-09-30 14:28:49 -04:00
Chinmay Garde
fab6d7fae8 Merge pull request #1340 from chinmaygarde/master
Remove deleted header declaration for SaveFrameToSkPicture
2015-09-25 10:03:38 -07:00
Chinmay Garde
6f0b8edb8a Remove deleted header declaration for SaveFrameToSkPicture 2015-09-25 10:02:15 -07:00
Chinmay Garde
8e72f267cd Merge pull request #1316 from chinmaygarde/master
Map UITouch pointers to indentifiers similar to Android
2015-09-23 22:34:07 -07:00
James Robinson
5bb2480bcd Update to Mojo 4e4d51ce28a8edcb32b9c7f555e38e2ae84a825e, update deps
This updates to mojo 4e4d51ce28a and mojo sdk 711a0bcfb141b4 and updates the sky
package's pubspec.yaml dependency to '>=0.1.0 <0.2.0' to be compatible with
the current mojo package. This includes an update to the Mojo Dart generator to
produce real classes for enums and the corresponding updates for users of the
KeyboardType enum in Sky as well as one scoped_ptr->std::unique_ptr in shell
corresponding to a change in the Mojo EDK.

When a new version of the sky and sky_services package are pushed this will fix
domokit/mojo#440.
2015-09-23 17:26:46 -07:00
Chinmay Garde
c2ed9a10c2 Make unregisterTouch return the identifier of the removed touch 2015-09-23 16:59:19 -07:00
Chinmay Garde
edf0f3379a Map UITouch pointers to indentifiers similar to Android 2015-09-23 16:53:18 -07:00
Chinmay Garde
310a4acb33 Merge pull request #1305 from chinmaygarde/master
Guard against warnings resulting from non-nullable annotations in sky_window on Mac
2015-09-23 12:54:08 -07:00
Chinmay Garde
fa8b0ce1a1 Guard against warnings resulting non-nullable annotations in sky_window on Mac 2015-09-23 12:16:56 -07:00
Matt Perry
81b2b81b1d Replace C++ UpdateTask with an empty dart version, loaded as a snapshot.
This adds a new placeholder dart package updater in sky/packages. This is built
into a snapshot and compiled into the Sky engine binary using the same
mechanism as the Dart isolate.

I also added a SkyHeadless class, similar to SkyView, used for running Dart
code without a view.
2015-09-23 14:09:38 -04:00
Chinmay Garde
70c98ff994 Generate unique SkPicture trace files each time a trace is requested 2015-09-22 15:00:36 -07:00
Chinmay Garde
f222d57e4d When capturing a frame, pass the frame size to the top level picture 2015-09-22 14:33:27 -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
0a2984c959 Remove the SERIALIZE_LAYER_TREE macro 2015-09-21 15:46:39 -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
a3af5bd1e8 Remove picture_rasterize.h|cc 2015-09-18 14:31:05 -07:00