/external/skqp/tests/ |
D | SurfaceTest.cpp | 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() [all …]
|
D | GrTextureMipMapInvalidationTest.cpp | 19 const GrTexture* texture = surf->makeImageSnapshot()->getTexture(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 24 return surf->makeImageSnapshot()->getTexture()->texturePriv().mipMapsAreDirty(); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 47 surf2->getCanvas()->drawImage(surf1->makeImageSnapshot(), 0, 0, &paint); in DEF_GPUTEST_FOR_NULLGL_CONTEXT() 74 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()
|
/external/skqp/gm/ |
D | surface.cpp | 130 sk_sp<SkImage> image(surf->makeImageSnapshot()); in onDraw() 139 sk_sp<SkImage> image2(surf2->makeImageSnapshot()); in onDraw() 157 sk_sp<SkImage> image = surf->makeImageSnapshot(); 165 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr); 174 sk_sp<SkImage> image = surf->makeImageSnapshot(); 186 canvas->drawImage(surf->makeImageSnapshot(), 0, 0, nullptr); 206 sk_sp<SkImage> saveImg = surf->makeImageSnapshot(subset);
|
D | image.cpp | 43 sk_sp<SkImage> imgR = surf->makeImageSnapshot(); in test_surface() 46 sk_sp<SkImage> imgR2 = surf->makeImageSnapshot(); in test_surface() 51 sk_sp<SkImage> imgG = surf->makeImageSnapshot(); in test_surface() 205 return surface->makeImageSnapshot(); in make_raster() 226 return surface->makeImageSnapshot(); in make_gpu() 326 return surface->makeImageSnapshot(); in __anond70a07410702() 385 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
|
D | image_shader.cpp | 33 return surface->makeImageSnapshot(); in make_raster() 46 return surface->makeImageSnapshot(); in make_texture()
|
/external/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 __anon440b38ca0702() 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()
|
/external/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.cpp | 11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw() 13 sk_sp<SkImage> later(big->makeImageSnapshot()); 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 | Image_isOpaque.cpp | 9 auto image(surface->makeImageSnapshot()); in draw()
|
/external/skia/tests/ |
D | SurfaceTest.cpp | 290 sk_sp<SkImage> image(surface->makeImageSnapshot()); in test_snapshot_alphatype() 318 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 321 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write() 330 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 333 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write() 363 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id() 367 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id() 373 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id() 379 sk_sp<SkImage> image3(surface->makeImageSnapshot()); in test_backend_unique_id() 438 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()
|
/external/skqp/docs/ |
D | SkSurface_Reference.bmh | 254 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 289 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 326 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 362 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 408 sk_sp<SkImage> image(surface->makeImageSnapshot()); 441 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 479 SkDebugf("surf->makeImageSnapshot() %c= nullptr\n", surf->makeImageSnapshot() == nullptr ? 483 surf->makeImageSnapshot() == nullptr 677 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); 684 sk_sp<SkImage> image(gpuSurface->makeImageSnapshot()); [all …]
|
/external/skqp/src/image/ |
D | SkSurface.cpp | 83 auto image = this->makeImageSnapshot(); in onDraw() 165 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() function in SkSurface 169 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() function in SkSurface 177 return this->makeImageSnapshot(); in makeImageSnapshot()
|
/external/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 __anoncd31f8e70102() 58 return surface->makeImageSnapshot(); in __anoncd31f8e70202()
|
/external/skqp/bench/ |
D | MergeBench.cpp | 28 return surface->makeImageSnapshot(); in make_bitmap() 51 return surface->makeImageSnapshot(); in make_checkerboard()
|
D | ClipMaskBench.cpp | 52 return surface->makeImageSnapshot(); in __anon5bb46efe0102() 58 return surface->makeImageSnapshot(); in __anon5bb46efe0202()
|
/external/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()
|
/external/skqp/tools/ |
D | imgcvt.cpp | 150 write_png("transformed-writepixels.png", surface->makeImageSnapshot()); in main() 162 write_png("transformed-draw.png", surface->makeImageSnapshot()); in main()
|
/external/skia/src/image/ |
D | SkSurface.cpp | 92 auto image = this->makeImageSnapshot(); in onDraw() 189 src->makeImageSnapshot(), SkIRect::MakeXYWH(srcX, srcY, srcW, srcH), in onAsyncRescaleAndReadPixels() 314 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() function in SkSurface 318 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() function in SkSurface 326 return this->makeImageSnapshot(); in makeImageSnapshot()
|