Lines Matching refs:dstHelper
1053 static void cleanup_resources(BaseTestHelper* srcHelper, BaseTestHelper* dstHelper, in cleanup_resources() argument
1058 if (dstHelper) { in cleanup_resources()
1059 dstHelper->cleanup(); in cleanup_resources()
1084 std::unique_ptr<BaseTestHelper> dstHelper; in run_test() local
1093 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1099 dstHelper.reset(new VulkanTestHelper()); in run_test()
1102 dstHelper.reset(new EGLTestHelper(options)); in run_test()
1104 if (dstHelper) { in run_test()
1105 if (!dstHelper->init(reporter)) { in run_test()
1106 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1147 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1159 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1190 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1204 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1216 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1230 dstHelper->makeCurrent(); in run_test()
1231 sk_sp<SkImage> wrappedImage = dstHelper->importHardwareBufferForRead(reporter, buffer); in run_test()
1234 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1238 GrContext* grContext = dstHelper->grContext(); in run_test()
1251 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1256 if (!dstHelper->importAndWaitOnSemaphore(reporter, srcHelper->getFdHandle(), dstSurf)) { in run_test()
1258 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1269 dstHelper->doClientSync(); in run_test()
1270 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()
1278 dstHelper->doClientSync(); in run_test()
1279 cleanup_resources(srcHelper.get(), dstHelper.get(), buffer); in run_test()