Commit Graph

115 Commits

Author SHA1 Message Date
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
Adam Barth 6b6f81e30a Teach SkyShell.app to run local files
Previously we defaulted to loading from URLs, but its
more common to want to load files off the local machine
on the command line.
2015-09-17 09:07:07 -07:00
Adam Barth b02963a1f6 Remove platform gesture detectors 2015-09-16 16:56:55 -07:00
Adam Barth 9a2411eeac Crash when we can't run main()
Also, in testing, crash when we can't load a library off disk.
2015-09-16 16:42:37 -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 244de91699 Merge pull request #1119 from chinmaygarde/master
Allow compositor options to be modified at runtime
2015-09-10 23:51:33 -07:00