43 Commits

Author SHA1 Message Date
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
ae83ec4188 Fix the build 2015-10-26 09:28:21 -07:00
Adam Barth
edb7d79c86 Update includes to account for network service move 2015-10-19 10:30:24 -07:00
Jason Simmons
19258a6d71 Update to mojo 1292152bf533de1bfebf5966d6246e149f87add3 2015-10-13 15:24:40 -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
06eaaf7909 Fix build
Mistakenly broke sky_viewer.mojo.
2015-10-09 09:19:21 -07:00
James Robinson
eef941140f Handle a picture in a TextureLayer with an empty cull rect
If we have a layer with a picture where the cull rect computes down to an empty
rectangle attempting to rasterize it into a ganesh surface will fail in the
same manner that trying to ganesh rasterize an empty layer will. This teaches
LayerHost to check for this case and handle it like an empty layer.

Fixes #1337
2015-09-28 18:22:52 -07:00
Jeff Brown
e7483b60a4 Remove unused dependency on ui::GestureRecognizer. 2015-09-24 14:00:04 -07:00
Jeff Brown
4d8e765423 Run sky_viewer directly on top of native_viewport / surfaces.
Remove view manager from consideration for now.
Although we could also remove the dependency on surfaces, it makes
sense to keep it for a little while longer since the replacement
for view manager will likely depend on it or a similar compositor.
2015-09-23 16:48:14 -07:00
Jeff Brown
5d4e44fa92 Remove SurfaceAllocator because it is unused. 2015-09-23 16:48:14 -07:00
James Robinson
defb7d2c6f Teach content handler service to serve flx (and only flx) files 2015-09-21 17:34:29 -07:00
Chinmay Garde
faee292fa2 Delete "services/sky/compositor/picture_serializer" 2015-09-21 16:31:26 -07:00
Chinmay Garde
c94953c984 Fix Build: Remove incorrect include of deleted picture_rasterizer.h 2015-09-18 15:36:27 -07:00
Chinmay Garde
a3af5bd1e8 Remove picture_rasterize.h|cc 2015-09-18 14:31:05 -07:00
Adam Barth
d5b2969546 Simplify TestRunner now that we don't have test_sky 2015-09-16 11:00:33 -07:00
Kishore Simbili
5d12b71863 Delete document view when view manager is disconnected. 2015-09-15 10:22:40 -07:00
Adam Barth
ae42346bb5 Fix build after recent compositor changes 2015-09-11 09:02:20 -07:00
Chinmay Garde
d0009550c0 PictureRasterizer for caches pictures as images 2015-09-09 14:52:58 -07:00
Adam Barth
48c0505587 Fix build 2015-09-09 10:21:34 -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
Adam Barth
860f939e87 Rename sky::Layer to sky::TextureLayer 2015-09-02 14:50:45 -07:00
James Robinson
34f24c6eeb Use the GL headers from the Mojo SDK when building for Mojo 2015-08-28 10:17:08 -07:00
Alhaad Gokhale
e2b4149320 Go back to master. 2015-08-27 18:16:45 -07:00
Alhaad Gokhale
391b9490d6 root_->AddObserver done eagerly 2015-08-26 16:12:10 -07:00
Alhaad Gokhale
d63163d63e Fix sky_viewer when being run from a skyx snapshot. 2015-08-26 15:31:41 -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
Adam Barth
011ce5d8e7 Clear the frame to black before drawing
We used to do this in the SkPicture, but it's simpler to do it in the
rasterizer now that we're using multiple SkPictures in Dart.
2015-08-14 10:45:14 -07:00
James Robinson
609d3f6c28 glFlush after inserting sync point 2015-08-12 17:45:31 -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
Eric Seidel
c2146ffe69 Make it possible to type numbers in Sky
I must be holding it wrong. This seems excessively
low level for what we're trying to do.

Partial fix for https://github.com/domokit/sky_engine/issues/466

@abarth
2015-08-07 12:21:16 -07:00
Eric Seidel
a99932dc95 Update to mojo 35de44e3618d508b2b3862af2216aee8c70ad8e5 2015-08-06 15:38:19 -07:00
Chinmay Garde
3e7ab3a338 Fix loading SkyX files on Mac 2015-07-30 15:33:13 -07:00
Adam Barth
64ecf6214f Add a flag to sky_viewer to enable checked mode
This flag will let clients who use release builds enable checked mode.

Fixes #22
2015-07-29 19:05:44 -07:00
Adam Barth
edf9db0d4e Remove Screen.idl and associated code 2015-07-25 19:04:17 -07:00
Ian Fischer
a9061ef43e Some changes to bring the iOS build closer to the
Android and Linux builds.

Also fixes a couple of toolchain selection issues.
2015-07-23 10:07:11 -07:00
Adam Barth
dc325abd2e Remove //crypto and //services/android
These directories aren't referenced anymore.
2015-07-20 10:24:47 -07:00
Adam Barth
f0db19990c Update to mojo 894a8dd5afe950d4ab0d5f38902e0c14c1ebd01b 2015-07-20 10:24:43 -07:00
Adam Barth
94b21663c0 Cherry-pick 4c9c175f6076b102ff951e60301091cb26853f86 from Mojo 2015-07-16 22:15:45 -07:00
Adam Barth
ad9b135217 Update to mojo 5f5dfcc9af8b40a14dd76e34c60a5766b9f58bb4 2015-07-16 11:44:14 -07:00