Searched refs:gpuImage (Results 1 – 9 of 9) sorted by relevance
/external/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 | 796 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()
|
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()
|
/external/skqp/tests/ |
D | SpecialImageTest.cpp | 236 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()
|
D | SurfaceTest.cpp | 781 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()
|
D | ImageTest.cpp | 1344 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/ |
D | DDLTileHelper.cpp | 61 SkImage_GpuBase* gpuImage = (SkImage_GpuBase*) fPromiseImages[i].get(); in createDDL() local 62 gpuImage->resetContext(sk_ref_sp(newContext)); in createDDL()
|
/external/skia/gm/ |
D | makecolorspace.cpp | 169 if (auto gpuImage = image->makeTextureImage(direct)) { variable 170 image = gpuImage;
|
D | imagefilters.cpp | 206 if (sk_sp<SkImage> gpuImage = image->makeTextureImage(direct)) { variable 207 image = std::move(gpuImage);
|