Commit Graph

99 Commits

Author SHA1 Message Date
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
Chinmay Garde 08da55706c Make the paint context own the rasterizer and options. Also give it the ability to vend frames to render into. 2015-09-10 16:41:54 -07:00
Matt Perry ec47806621 rm.jni 2015-09-10 17:19:13 -04:00
Matt Perry 2994380377 Compare versions before updating an app bundle.
The version and update URL are stored in the app's manifest (sky.yaml).
2015-09-10 14:17:58 -04:00
Chinmay Garde d0009550c0 PictureRasterizer for caches pictures as images 2015-09-09 14:52:58 -07:00
Chinmay Garde 153a800578 Update SketchySerializeLayerTree to account for API updates.
Usually disabled via the `SERIALIZE_LAYER_TREE` macro.
2015-09-09 10:30:03 -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 bdc2cdc1e8 Add a sketchy function for serializing SkPictures
We'll need to make this fancier as the compositor gets smarter.
2015-09-08 14:02:13 -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
Matt Perry d05b9480e6 Introduce an UpdateService for android.
Very simple so far. This schedules an alarm to fire once a day, kicking
off a service that downloads a new app.skyx from a hardcoded URL. The
new skyx replaces the current one.
2015-09-02 15:32:09 -04:00
Andrew Wilson 38be8f6e8d Persist immersiveness. 2015-08-31 14:31:25 -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