Home
last modified time | relevance | path

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

/third_party/skia/tests/
DGLBackendSurfaceTest.cpp68 sk_sp<SkImage> wrappedImage = in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local
71 REPORTER_ASSERT(reporter, wrappedImage); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
73 GrSurfaceProxy* proxy = sk_gpu_test::GetTextureImageProxy(wrappedImage.get(), dContext); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
95 surf->getCanvas()->drawImage(wrappedImage, 0, 0); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
126 wrappedImage.reset(); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
DVkBackendSurfaceTest.cpp120 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture( in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
129 REPORTER_ASSERT(reporter, wrappedImage.get()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
131 GrSurfaceProxy* proxy = sk_gpu_test::GetTextureImageProxy(wrappedImage.get(), dContext); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
145 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
DVkHardwareBufferTest.cpp813 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fDirectContext.get(), in importHardwareBufferForRead() local
820 if (!wrappedImage.get()) { in importHardwareBufferForRead()
825 return wrappedImage; in importHardwareBufferForRead()
1243 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test() local
1245 if (!wrappedImage) { in run_test()
1262 wrappedImage.reset(); in run_test()
1269 wrappedImage.reset(); in run_test()
1274 dstSurf->getCanvas()->drawImage(wrappedImage, 0, 0); in run_test()
1279 wrappedImage.reset(); in run_test()
1289 wrappedImage.reset(); in run_test()
DBackendSurfaceMutableStateTest.cpp60 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(dContext, backendTex, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
65 GrSurfaceProxy* proxy = sk_gpu_test::GetTextureImageProxy(wrappedImage.get(), dContext); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
82 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()