Home
last modified time | relevance | path

Searched refs:gpuImage (Results 1 – 9 of 9) sorted by relevance

/external/skia/tests/
DGrDDLImageTest.cpp49 auto gpuImage = SkImage::MakeFromTexture(dContext, tex, kTopLeft_GrSurfaceOrigin, in DEF_GPUTEST() local
52 REPORTER_ASSERT(reporter, gpuImage->isValid(dContext)); in DEF_GPUTEST()
55 auto subImg5 = gpuImage->makeSubset(subsetBounds, dContext); in DEF_GPUTEST()
59 REPORTER_ASSERT(reporter, !gpuImage->makeSubset(subsetBounds, nullptr)); in DEF_GPUTEST()
DSurfaceTest.cpp796 auto gpuImage = static_cast<SkImage_Gpu*>(as_IB(i)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
797 auto [view, ct] = gpuImage->asView(dContext, GrMipmapped::kNo); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageTest.cpp1368 sk_sp<SkImage> gpuImage = surface->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1369 test_scale_pixels(reporter, gpuImage.get(), pmRed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DSpecialImageTest.cpp236 sk_sp<SkSpecialImage> gpuImage(SkSpecialImage::MakeDeferredFromGpu( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
243 sk_sp<SkSpecialImage> fromGPU(gpuImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
244 test_texture_backed(reporter, gpuImage, fromGPU); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
248 sk_sp<SkSpecialImage> subGPUImage(gpuImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp781 SkImage_Gpu* gpuImage = (SkImage_Gpu *) as_IB(i); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
782 sk_sp<GrTextureProxy> proxy = gpuImage->asTextureProxyRef(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
783 GrContext* context = gpuImage->context(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
785 gpuImage->refColorSpace()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageTest.cpp1344 sk_sp<SkImage> gpuImage = surface->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1345 test_scale_pixels(reporter, gpuImage.get(), pmRed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tools/
DDDLTileHelper.cpp61 SkImage_GpuBase* gpuImage = (SkImage_GpuBase*) fPromiseImages[i].get(); in createDDL() local
62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
/external/skia/gm/
Dmakecolorspace.cpp169 if (auto gpuImage = image->makeTextureImage(direct)) { variable
170 image = gpuImage;
Dimagefilters.cpp206 if (sk_sp<SkImage> gpuImage = image->makeTextureImage(direct)) { variable
207 image = std::move(gpuImage);