Lines Matching refs:picture
51 const SkPicture& picture,
57 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(),
65 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(),
71 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID());
120 sk_sp<SkPicture> picture;
128 picture = recorder.finishRecordingAsPicture();
135 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
139 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
168 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
185 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
237 create_layers(reporter, &cache, *picture, 1, kInitialNumLayers);
238 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
249 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
276 TestingAccess::Purge(&cache, picture->uniqueID());
292 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
322 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0);
327 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
344 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(),
350 picture.reset(nullptr);