Home
last modified time | relevance | path

Searched refs:makeImageSnapshot (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/skia/gm/
Dsurface.cpp153 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 …]
Dimage.cpp67 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()
231 return surface->makeImageSnapshot(); in make_raster()
264 return surface->makeImageSnapshot(); in make_gpu()
365 return surface->makeImageSnapshot(); in __anon68d120260702()
423 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
/external/skqp/tests/
DSurfaceTest.cpp267 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 …]
DGrTextureMipMapInvalidationTest.cpp19 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()
DGrOpListFlushTest.cpp59 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/
Dsurface.cpp130 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);
Dimage.cpp43 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 __anonfbcfee9d0702()
385 sk_sp<SkData> data = surf->makeImageSnapshot()->encodeToData(); in make_lazy_image()
Dimage_shader.cpp33 return surface->makeImageSnapshot(); in make_raster()
46 return surface->makeImageSnapshot(); in make_texture()
/external/skia/docs/examples/
Df16to8888drawImageBug.cpp20 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()
DSurface_makeImageSnapshot.cpp11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot()); in draw()
DSurface_makeImageSnapshot_2.cpp11 sk_sp<SkImage> early(big->makeImageSnapshot()); in draw()
13 sk_sp<SkImage> later(big->makeImageSnapshot({0, 0, 16, 16})); in draw()
/external/skia/tests/
DSurfaceTest.cpp262 sk_sp<SkImage> image(surface->makeImageSnapshot()); in test_snapshot_alphatype()
290 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write()
293 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_texture_access_copy_on_write()
302 sk_sp<SkImage> snap1(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write()
305 sk_sp<SkImage> snap2(surface->makeImageSnapshot()); in test_backend_rendertarget_access_copy_on_write()
335 sk_sp<SkImage> image0(surface->makeImageSnapshot()); in test_backend_unique_id()
339 sk_sp<SkImage> image1(surface->makeImageSnapshot()); in test_backend_unique_id()
345 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_unique_id()
351 sk_sp<SkImage> image3(surface->makeImageSnapshot()); in test_backend_unique_id()
450 sk_sp<SkImage> imageBefore = surface->makeImageSnapshot(); \ in test_copy_on_write()
[all …]
DGrTextureMipMapInvalidationTest.cpp26 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()
DWrappedSurfaceCopyOnWriteTest.cpp45 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()
DMultiPictureDocumentTest.cpp104 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()
DGrOpListFlushTest.cpp60 sk_sp<SkImage> image = surface1->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
66 image = surface2->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/docs/
DSkSurface_Reference.bmh254 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/skia/bench/
DMergeBench.cpp27 return surface->makeImageSnapshot(); in make_bitmap()
50 return surface->makeImageSnapshot(); in make_checkerboard()
DDisplacementBench.cpp43 fImage = surf->makeImageSnapshot(); in makeBitmap()
68 fCheckerboard = surface->makeImageSnapshot(); in makeCheckerboard()
/external/skqp/bench/
DMergeBench.cpp28 return surface->makeImageSnapshot(); in make_bitmap()
51 return surface->makeImageSnapshot(); in make_checkerboard()
DClipMaskBench.cpp52 return surface->makeImageSnapshot(); in __anon0c1184da0102()
58 return surface->makeImageSnapshot(); in __anon0c1184da0202()
/external/skqp/src/image/
DSkSurface.cpp83 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/skqp/tools/
Dimgcvt.cpp150 write_png("transformed-writepixels.png", surface->makeImageSnapshot()); in main()
162 write_png("transformed-draw.png", surface->makeImageSnapshot()); in main()
/external/skia/tools/
Dimgcvt.cpp150 write_png("transformed-writepixels.png", surface->makeImageSnapshot()); in main()
162 write_png("transformed-draw.png", surface->makeImageSnapshot()); in main()
/external/skia/src/image/
DSkSurface.cpp71 auto image = this->makeImageSnapshot(); in onDraw()
196 sk_sp<SkImage> SkSurface::makeImageSnapshot() { in makeImageSnapshot() function in SkSurface
200 sk_sp<SkImage> SkSurface::makeImageSnapshot(const SkIRect& srcBounds) { in makeImageSnapshot() function in SkSurface
208 return this->makeImageSnapshot(); in makeImageSnapshot()

12345678910>>...13