Searched refs:wrappedImage (Results 1 – 7 of 7) sorted by relevance
/third_party/flutter/skia/tests/ |
D | GLBackendSurfaceTest.cpp | 61 sk_sp<SkImage> wrappedImage = in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() local 64 REPORTER_ASSERT(reporter, wrappedImage); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 66 sk_sp<GrTextureProxy> texProxy = as_IB(wrappedImage)->asTextureProxyRef(context); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 85 surf->getCanvas()->drawImage(wrappedImage, 0, 0); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 97 surf->getCanvas()->drawImage(wrappedImage, 0, 0); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS() 128 wrappedImage.reset(); in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
|
D | VkBackendSurfaceTest.cpp | 64 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(context, backendTex, in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local 68 REPORTER_ASSERT(reporter, wrappedImage.get()); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 70 sk_sp<GrTextureProxy> texProxy = as_IB(wrappedImage)->asTextureProxyRef(context); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() 84 GrBackendTexture backendTexImage = wrappedImage->getBackendTexture(false); in DEF_GPUTEST_FOR_VULKAN_CONTEXT()
|
D | VkHardwareBufferTest.cpp | 802 sk_sp<SkImage> wrappedImage = SkImage::MakeFromTexture(fGrContext.get(), in importHardwareBufferForRead() local 809 if (!wrappedImage.get()) { in importHardwareBufferForRead() 814 return wrappedImage; in importHardwareBufferForRead() 1223 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test() local 1225 if (!wrappedImage) { in run_test() 1242 wrappedImage.reset(); in run_test() 1249 wrappedImage.reset(); in run_test() 1254 dstSurf->getCanvas()->drawImage(wrappedImage, 0, 0); in run_test() 1259 wrappedImage.reset(); in run_test() 1269 wrappedImage.reset(); in run_test()
|
/third_party/skia/tests/ |
D | GLBackendSurfaceTest.cpp | 68 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()
|
D | VkBackendSurfaceTest.cpp | 120 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()
|
D | BackendSurfaceMutableStateTest.cpp | 60 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()
|
D | VkHardwareBufferTest.cpp | 813 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()
|