Home | History | Annotate | Download | only in resources

Lines Matching full:picture

5 #include "cc/resources/picture.h"
43 // Invalid picture (not a dict).
45 scoped_refptr<Picture> invalid_picture =
46 Picture::CreateFromValue(tmp.get());
49 // Single full-size rect picture.
51 scoped_refptr<Picture> one_rect_picture = Picture::Create(layer_rect);
57 // Reconstruct the picture.
58 scoped_refptr<Picture> one_rect_picture_check =
59 Picture::CreateFromValue(serialized_one_rect.get());
75 // Two rect picture.
77 scoped_refptr<Picture> two_rect_picture = Picture::Create(layer_rect);
84 // Reconstruct the picture.
85 scoped_refptr<Picture> two_rect_picture_check =
86 Picture::CreateFromValue(serialized_two_rect.get());
136 scoped_refptr<Picture> picture = Picture::Create(layer_rect);
137 picture->Record(&content_layer_client,
139 picture->GatherPixelRefs(tile_grid_info);
143 Picture::PixelRefIterator iterator;
148 Picture::PixelRefIterator iterator(gfx::Rect(x * 512, y * 512, 500, 500),
149 picture.get());
161 Picture::PixelRefIterator iterator(gfx::Rect(512, 512, 2048, 2048),
162 picture.get());
175 Picture::PixelRefIterator iterator(gfx::Rect(512, 512, 2048, 2048),
176 picture.get());
184 Picture::PixelRefIterator copy = iterator;
233 scoped_refptr<Picture> picture = Picture::Create(layer_rect);
234 picture->Record(&content_layer_client,
236 picture->GatherPixelRefs(tile_grid_info);
240 Picture::PixelRefIterator iterator;
245 Picture::PixelRefIterator iterator(
246 gfx::Rect(1024 + x * 512, y * 512, 500, 500), picture.get());
258 Picture::PixelRefIterator iterator(gfx::Rect(1024 + 512, 512, 2048, 2048),
259 picture.get());
273 Picture::PixelRefIterator iterator(gfx::Rect(1024 + 512, 512, 2048, 2048),
274 picture.get());
282 Picture::PixelRefIterator copy = iterator;
300 Picture::PixelRefIterator iterator(gfx::Rect(0, 0, 1000, 1000),
301 picture.get());
305 Picture::PixelRefIterator iterator(gfx::Rect(3500, 0, 1000, 1000),
306 picture.get());
310 Picture::PixelRefIterator iterator(gfx::Rect(0, 1100, 1000, 1000),
311 picture.get());
315 Picture::PixelRefIterator iterator(gfx::Rect(3500, 1100, 1000, 1000),
316 picture.get());
354 scoped_refptr<Picture> picture = Picture::Create(layer_rect);
355 picture->Record(&content_layer_client,
357 picture->GatherPixelRefs(tile_grid_info);
361 Picture::PixelRefIterator iterator(
362 gfx::Rect(x * 512, y * 512 + 256, 1, 1), picture.get());
393 // Invalid picture (not a dict).
395 scoped_refptr<Picture> invalid_picture =
396 Picture::CreateFromSkpValue(tmp.get());
399 // Single full-size rect picture.
401 scoped_refptr<Picture> one_rect_picture = Picture::Create(layer_rect);
410 // Decode the picture from base64.
414 // Reconstruct the picture.
415 scoped_refptr<Picture> one_rect_picture_check =
416 Picture::CreateFromSkpValue(skp_value);