Lines Matching full:picture
49 const SkPicture& picture, in create_layers() argument
55 GrCachedLayer* layer = cache->findLayerOrCreate(picture.uniqueID(), in create_layers()
63 GrCachedLayer* temp = TestingAccess::Find(cache, picture.uniqueID(), SkMatrix::I(), in create_layers()
69 REPORTER_ASSERT(reporter, picture.uniqueID() == layer->pictureID()); in create_layers()
118 SkAutoTUnref<const SkPicture> picture; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
123 // Draw something, anything, to prevent an empty-picture optimization, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
126 picture.reset(recorder.endRecording()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
133 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
166 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
183 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
235 create_layers(reporter, &cache, *picture, 1, kInitialNumLayers); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
236 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
247 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
274 TestingAccess::Purge(&cache, picture->uniqueID()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
290 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
320 create_layers(reporter, &cache, *picture, kInitialNumLayers, 0); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
325 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
342 GrCachedLayer* layer = TestingAccess::Find(&cache, picture->uniqueID(), SkMatrix::I(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
348 picture.reset(nullptr); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()