Searched refs:gpuImage (Results 1 – 11 of 11) sorted by relevance
/third_party/skia/tests/ |
D | GrDDLImageTest.cpp | 49 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()
|
D | SurfaceTest.cpp | 794 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()
|
D | ImageTest.cpp | 1368 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/ |
D | SpecialImageTest.cpp | 229 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()
|
D | SurfaceTest.cpp | 785 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()
|
D | ImageTest.cpp | 1322 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/ |
D | makecolorspace.cpp | 166 if (auto gpuImage = image->makeTextureImage(canvas->getGrContext())) { variable 167 image = gpuImage;
|
/third_party/flutter/skia/tools/ |
D | DDLTileHelper.cpp | 61 SkImage_GpuBase* gpuImage = (SkImage_GpuBase*) fPromiseImages[i].get(); in createDDL() local 62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
|
/third_party/skia/gm/ |
D | makecolorspace.cpp | 169 if (auto gpuImage = image->makeTextureImage(direct)) { variable 170 image = gpuImage;
|
D | imagefilters.cpp | 205 if (sk_sp<SkImage> gpuImage = image->makeTextureImage(direct)) { variable 206 image = std::move(gpuImage);
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkGpu.cpp | 2022 SkImage_GpuBase* gpuImage = static_cast<SkImage_GpuBase*>(as_IB(image)); in onFinishFlush() local 2023 sk_sp<GrTextureProxy> proxy = gpuImage->asTextureProxyRef(this->getContext()); in onFinishFlush()
|