/third_party/skia/gm/ |
D | surface.cpp | 153 sk_sp<SkImage> image(surf->makeImageSnapshot()); in onDraw() 162 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() 248 sk_sp<SkImage> image = surf->makeImageSnapshot(); 256 canvas->drawImage(surf->makeImageSnapshot(), 0, 0); 267 sk_sp<SkImage> image = surf->makeImageSnapshot(); 276 canvas->drawImage(surf->makeImageSnapshot(), 0, 0); 284 sk_sp<SkImage> image = surf->makeImageSnapshot(); 295 sk_sp<SkImage> image = surf->makeImageSnapshot(); 307 sk_sp<SkImage> image = surf->makeImageSnapshot(); 319 canvas->drawImage(surf->makeImageSnapshot(), 0, 0); [all …]
|
D | image.cpp | 71 sk_sp<SkImage> imgR = surf->makeImageSnapshot(); in test_surface() 74 sk_sp<SkImage> imgR2 = surf->makeImageSnapshot(); in test_surface() 79 sk_sp<SkImage> imgG = surf->makeImageSnapshot(); in test_surface() 232 return surface->makeImageSnapshot(); in make_raster() 265 return surface->makeImageSnapshot(); in make_gpu() 366 return surface->makeImageSnapshot(); in __anonf4450d120702() 420 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
|
/third_party/flutter/skia/gm/ |
D | surface.cpp | 150 sk_sp<SkImage> image(surf->makeImageSnapshot()); in onDraw() 159 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() 177 sk_sp<SkImage> image = surf->makeImageSnapshot(); 185 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr); 194 sk_sp<SkImage> image = surf->makeImageSnapshot(); 206 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr); 226 sk_sp<SkImage> saveImg = surf->makeImageSnapshot(subset);
|
D | image.cpp | 67 sk_sp<SkImage> imgR = surf->makeImageSnapshot(); in test_surface() 70 sk_sp<SkImage> imgR2 = surf->makeImageSnapshot(); in test_surface() 75 sk_sp<SkImage> imgG = surf->makeImageSnapshot(); in test_surface() 227 return surface->makeImageSnapshot(); in make_raster() 248 return surface->makeImageSnapshot(); in make_gpu() 342 return surface->makeImageSnapshot(); in __anond40b85470702() 400 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
|
D | image_shader.cpp | 51 return surface->makeImageSnapshot(); in make_raster() 64 return surface->makeImageSnapshot(); in make_texture()
|
/third_party/skia/docs/examples/ |
D | f16to8888drawImageBug.cpp | 20 surface2->getCanvas()->drawImage(surface->makeImageSnapshot(), 0, 0); in draw() 22 canvas->drawImage(surface->makeImageSnapshot(), 0, 0); in draw() 23 canvas->drawImage(surface2->makeImageSnapshot(), 50, 0); in draw()
|
D | Surface_makeImageSnapshot_2.cpp | 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot({0, 0, 16, 16})); in draw()
|
D | Surface_makeImageSnapshot.cpp | 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
|
/third_party/skia/tests/ |
D | SurfaceTest.cpp | 260 sk_sp<SkImage> image(surface->makeImageSnapshot()); in test_snapshot_alphatype() 288 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 291 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 300 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 303 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 333 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id() 337 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id() 343 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() 349 sk_sp<SkImage> image3(surface->makeImageSnapshot()); in test_backend_unique_id() 448 sk_sp<SkImage> imageBefore = surface->makeImageSnapshot(); \ in test_copy_on_write() [all …]
|
D | GrTextureMipMapInvalidationTest.cpp | 26 sk_sp<SkImage> image = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 35 sk_sp<SkImage> image = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 60 surf2->getCanvas()->drawImage(surf1->makeImageSnapshot(), 0, 0, sampling); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 87 auto img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | WrappedSurfaceCopyOnWriteTest.cpp | 45 sk_sp<SkImage> img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 57 img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 66 img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() 73 img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
D | MultiPictureDocumentTest.cpp | 104 sk_sp<SkImage> image(surface->makeImageSnapshot()); in DEF_TEST() 123 expectedImages.push_back(surf->makeImageSnapshot()); in DEF_TEST() 163 auto img = surf->makeImageSnapshot(); in DEF_TEST() 352 expectedImages.push_back(surf->makeImageSnapshot()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 395 auto img = surf2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrOpListFlushTest.cpp | 60 sk_sp<SkImage> image = surface1->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 66 image = surface2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/flutter/skia/tests/ |
D | SurfaceTest.cpp | 273 sk_sp<SkImage> image(surface->makeImageSnapshot()); in test_snapshot_alphatype() 301 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 304 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 313 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 316 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 346 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id() 350 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id() 356 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() 362 sk_sp<SkImage> image3(surface->makeImageSnapshot()); in test_backend_unique_id() 421 sk_sp<SkImage> imageBefore = surface->makeImageSnapshot(); \ in test_copy_on_write() [all …]
|
D | GrTextureMipMapInvalidationTest.cpp | 24 const GrTexture* texture = surf->makeImageSnapshot()->getTexture(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 29 return surf->makeImageSnapshot()->getTexture()->texturePriv().mipMapsAreDirty(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 51 surf2->getCanvas()->drawImage(surf1->makeImageSnapshot(), 0, 0, &paint); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 78 auto img = surf->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
D | GrOpListFlushTest.cpp | 59 sk_sp<SkImage> image = surface1->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 64 image = surface2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/flutter/skia/docs/examples/ |
D | Surface_makeImageSnapshot_2.cpp | 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot({0, 0, 16, 16})); in draw()
|
D | Surface_makeImageSnapshot.cpp | 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
|
/third_party/skia/modules/androidkit/src/ |
D | Surface.h | 38 sk_sp<SkImage> makeImageSnapshot() const { in makeImageSnapshot() function 39 return fSurface ? fSurface->makeImageSnapshot() : nullptr; in makeImageSnapshot()
|
/third_party/flutter/skia/bench/ |
D | MergeBench.cpp | 27 return surface->makeImageSnapshot(); in make_bitmap() 50 return surface->makeImageSnapshot(); in make_checkerboard()
|
D | ClipMaskBench.cpp | 52 return surface->makeImageSnapshot(); in __anon83bf5d440102() 58 return surface->makeImageSnapshot(); in __anon83bf5d440202()
|
/third_party/skia/bench/ |
D | MergeBench.cpp | 27 return surface->makeImageSnapshot(); in make_bitmap() 50 return surface->makeImageSnapshot(); in make_checkerboard()
|
/third_party/flutter/skia/tools/ |
D | imgcvt.cpp | 150 write_png("transformed-writepixels.png", surface->makeImageSnapshot()); in main() 162 write_png("transformed-draw.png", surface->makeImageSnapshot()); in main()
|
/third_party/skia/tools/ |
D | imgcvt.cpp | 150 write_png("transformed-writepixels.png", surface->makeImageSnapshot()); in main() 162 write_png("transformed-draw.png", surface->makeImageSnapshot()); in main()
|
/third_party/skia/src/image/ |
D | SkSurface.cpp | 76 auto image = this->makeImageSnapshot(); in onDraw() 204 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() function in SkSurface 208 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() function in SkSurface 216 return this->makeImageSnapshot(); in makeImageSnapshot()
|