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