Lines Matching refs:dstHelper

1041 static void cleanup_resources(BaseTestHelper* srcHelper, BaseTestHelper* dstHelper,  in cleanup_resources()  argument
1046 if (dstHelper) { in cleanup_resources()
1047 dstHelper->cleanup(); in cleanup_resources()
1072 std::unique_ptr<BaseTestHelper> dstHelper; in run_test() local
1081 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1087 dstHelper.reset(new VulkanTestHelper()); in run_test()
1090 dstHelper.reset(new EGLTestHelper(options)); in run_test()
1092 if (dstHelper) { in run_test()
1093 if (!dstHelper->init(reporter)) { in run_test()
1094 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1135 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1147 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1178 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1192 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1204 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1218 dstHelper->makeCurrent(); in run_test()
1219 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test()
1222 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1226 GrContext* grContext = dstHelper->grContext(); in run_test()
1239 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1244 if (!dstHelper->importAndWaitOnSemaphore(reporter, srcHelper->getFdHandle(), dstSurf)) { in run_test()
1246 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1257 dstHelper->doClientSync(); in run_test()
1258 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1266 dstHelper->doClientSync(); in run_test()
1267 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()