Home
last modified time | relevance | path

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

/third_party/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.cpp794 auto gpuImage = static_cast<SkImage_Gpu*>(as_IB(i)); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
795 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()
/third_party/flutter/skia/tests/
DSpecialImageTest.cpp229 sk_sp<SkSpecialImage> gpuImage(SkSpecialImage::MakeDeferredFromGpu( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
236 sk_sp<SkSpecialImage> fromGPU(gpuImage->makeTextureImage(context)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
237 test_texture_backed(reporter, gpuImage, fromGPU); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
241 sk_sp<SkSpecialImage> subGPUImage(gpuImage->makeSubset(subset)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp785 SkImage_Gpu* gpuImage = (SkImage_Gpu *) as_IB(i); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
786 sk_sp<GrTextureProxy> proxy = gpuImage->asTextureProxyRef(context); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
789 gpuImage->refColorSpace()); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DImageTest.cpp1322 sk_sp<SkImage> gpuImage = surface->makeImageSnapshot(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
1323 test_scale_pixels(reporter, gpuImage.get(), pmRed); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/flutter/skia/gm/
Dmakecolorspace.cpp166 if (auto gpuImage = image->makeTextureImage(canvas->getGrContext())) { variable
167 image = gpuImage;
/third_party/flutter/skia/tools/
DDDLTileHelper.cpp61 SkImage_GpuBase* gpuImage = (SkImage_GpuBase*) fPromiseImages[i].get(); in createDDL() local
62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
/third_party/skia/gm/
Dmakecolorspace.cpp169 if (auto gpuImage = image->makeTextureImage(direct)) { variable
170 image = gpuImage;
Dimagefilters.cpp205 if (sk_sp<SkImage> gpuImage = image->makeTextureImage(direct)) { variable
206 image = std::move(gpuImage);
/third_party/flutter/skia/src/gpu/vk/
DGrVkGpu.cpp2022 SkImage_GpuBase* gpuImage = static_cast<SkImage_GpuBase*>(as_IB(image)); in onFinishFlush() local
2023 sk_sp<GrTextureProxy> proxy = gpuImage->asTextureProxyRef(this->getContext()); in onFinishFlush()