Lines Matching refs:makeImageSnapshot
267 sk_sp<SkImage> image(surface->makeImageSnapshot()); in test_snapshot_alphatype()
295 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write()
298 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write()
307 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write()
310 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write()
340 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id()
344 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id()
350 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id()
356 sk_sp<SkImage> image3(surface->makeImageSnapshot()); in test_backend_unique_id()
415 sk_sp<SkImage> imageBefore = surface->makeImageSnapshot(); \ in test_copy_on_write()
418 sk_sp<SkImage> imageAfter = surface->makeImageSnapshot(); \ in test_copy_on_write()
453 surface->makeImageSnapshot(); // Create and destroy SkImage in test_writable_after_snapshot_release()
476 sk_sp<SkImage> image1(surface1->makeImageSnapshot()); in test_crbug263329()
479 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329()
485 sk_sp<SkImage> image3(surface2->makeImageSnapshot()); in test_crbug263329()
489 sk_sp<SkImage> image4(surface2->makeImageSnapshot()); in test_crbug263329()
508 sk_sp<SkImage> image(surface->makeImageSnapshot()); in DEF_TEST()
516 sk_sp<SkImage> image(surface->makeImageSnapshot()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
551 sk_sp<SkImage> image(surface->makeImageSnapshot()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
578 sk_sp<SkImage> image1 = surface->makeImageSnapshot(); in test_no_canvas2()
581 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2()
611 sk_sp<SkImage> image(surface->makeImageSnapshot()); in check_rowbytes_remain_consistent()
619 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in check_rowbytes_remain_consistent()
780 sk_sp<SkImage> i(s->makeImageSnapshot()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
909 sk_sp<SkImage> image = surface->makeImageSnapshot(); in test_overdraw_surface()
940 REPORTER_ASSERT(r, surf->makeImageSnapshot() == nullptr); in DEF_TEST()
950 auto img = surf->makeImageSnapshot(); in DEF_TEST()