Home
last modified time | relevance | path

Searched refs:wrappedImage (Results 1 – 4 of 4) sorted by relevance

/external/skqp/tests/
DVkBackendSurfaceTest.cpp60 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(context, backendTex, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
64 REPORTER_ASSERT(reporter, wrappedImage.get()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
66 sk_sp<GrTextureProxy> texProxy = as_IB(wrappedImage)->asTextureProxyRef(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
80 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DVkHardwareBufferTest.cpp813 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead() local
820 if (!wrappedImage.get()) { in importHardwareBufferForRead()
825 return wrappedImage; in importHardwareBufferForRead()
1231 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test() local
1233 if (!wrappedImage) { in run_test()
1250 wrappedImage.reset(); in run_test()
1257 wrappedImage.reset(); in run_test()
1262 dstSurf->getCanvas()->drawImage(wrappedImage, 0, 0); in run_test()
1267 wrappedImage.reset(); in run_test()
1277 wrappedImage.reset(); in run_test()
/external/skia/tests/
DVkBackendSurfaceTest.cpp60 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(context, backendTex, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
64 REPORTER_ASSERT(reporter, wrappedImage.get()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
66 sk_sp<GrTextureProxy> texProxy = as_IB(wrappedImage)->asTextureProxyRef(context); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
80 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DVkHardwareBufferTest.cpp801 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead() local
808 if (!wrappedImage.get()) { in importHardwareBufferForRead()
813 return wrappedImage; in importHardwareBufferForRead()
1219 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test() local
1221 if (!wrappedImage) { in run_test()
1238 wrappedImage.reset(); in run_test()
1245 wrappedImage.reset(); in run_test()
1250 dstSurf->getCanvas()->drawImage(wrappedImage, 0, 0); in run_test()
1255 wrappedImage.reset(); in run_test()
1265 wrappedImage.reset(); in run_test()