Chinmay Garde
|
28aa97988d
|
Move picture_serializer from sky/shell/gpu to sky/compositor
|
2015-09-21 16:22:33 -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 |
|
Chinmay Garde
|
f79c8dfe9b
|
Only note a rasterizer eviction if an image was inflated for a key
|
2015-09-14 13:35:29 -07:00 |
|
Chinmay Garde
|
801559471d
|
Use only the scale of the incoming CTM to render the picture into the offscreen surface
|
2015-09-11 15:36:58 -07:00 |
|
Chinmay Garde
|
94a3898b53
|
Rename rasterizer variable to be more descriptive
|
2015-09-11 15:25:14 -07:00 |
|
Chinmay Garde
|
f6aa6899b7
|
Use the physical size to key the images cached in the rasterizer
|
2015-09-11 15:10:32 -07:00 |
|
Chinmay Garde
|
4f356fa5f2
|
Draw the debugging checkerboard pattern at the correct scale
|
2015-09-11 14:50:46 -07:00 |
|
Chinmay Garde
|
6180860906
|
Use the CTM of the canvas to determine the dimensions of the rasterized image
|
2015-09-11 14:46:03 -07:00 |
|
Chinmay Garde
|
8af5753c02
|
Add options to display frame and rasterizer statistics
|
2015-09-11 12:24:02 -07:00 |
|
Chinmay Garde
|
8633293b36
|
Instrument basic metrics within the compositor
|
2015-09-11 10:37:10 -07:00 |
|
Chinmay Garde
|
804f0c7b46
|
The gr_context and canvas are stored at the frame level instead of the storing the same temporarily in the context
|
2015-09-10 17:32:42 -07:00 |
|
Chinmay Garde
|
d2bd4cba15
|
Remove unnecessary include
|
2015-09-10 17:06:13 -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 |
|
Chinmay Garde
|
ccf1ee8661
|
Allow compositor options to be modified at runtime
|
2015-09-10 11:14:19 -07:00 |
|
Chinmay Garde
|
e0fc9cd69f
|
Rename compositor_tools -> checkerboard
|
2015-09-09 17:10:08 -07:00 |
|
Chinmay Garde
|
5607ac31e7
|
Allow images rasterized by the picture rasterizer to be highlighted for debugging purposes
|
2015-09-09 16:15:42 -07:00 |
|
Adam Barth
|
3c2d566390
|
Fix build with clang plugin
|
2015-09-09 15:11:03 -07: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 |
|
Adam Barth
|
48c0505587
|
Fix build
|
2015-09-09 10:21:34 -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 |
|
Adam Barth
|
bc8f7a096e
|
SceneBuilder should build a tree of layers
We now build a layer tree before squashing the draw command down to an
SkPicture.
|
2015-09-02 18:23:01 -07:00 |
|