Lines Matching full:picture
53 const SkPicture& picture,
59 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
67 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
73 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
122 sk_sp<SkPicture> picture;
127 // Draw something, anything, to prevent an empty-picture optimization,
130 picture = recorder.finishRecordingAsPicture();
137 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
141 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
170 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
187 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
239 create_layers(reporter, &cache, *picture, 1, kInitialNumLayers);
240 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
251 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
278 TestingAccess::Purge(&cache, picture->uniqueID());
294 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
324 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
329 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
346 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
352 picture.reset(nullptr);