Lines Matching refs:reporter
143 DEF_GPUTEST_FOR_ALL_CONTEXTS(ProcessorRefTest, reporter, ctxInfo) {
186 CheckSingleThreadedProxyRefs(reporter, proxy.get(), expectedProxyRefs, -1);
191 CheckSingleThreadedProxyRefs(reporter, proxy.get(), 1, 1);
515 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ProcessorOptimizationValidationTest, reporter, ctxInfo) {
522 ERRORF(reporter, "Could not initialize TestFPGenerator");
732 ERRORF(reporter,
740 ERRORF(reporter, coverageMessage.c_str());
743 ERRORF(reporter, constMessage.c_str());
746 ERRORF(reporter, opaqueMessage.c_str());
755 ERRORF(reporter, "Input image: %s\n\n"
762 INFOF(reporter, "Processor violated %d of %d pixels (below error threshold), seed: "
766 INFOF(reporter, "%s", coverageMessage.c_str());
769 INFOF(reporter, "%s", constMessage.c_str());
772 INFOF(reporter, "%s", opaqueMessage.c_str());
779 INFOF(reporter, "Input image: %s\n\n"
789 static void assert_processor_equality(skiatest::Reporter* reporter,
792 REPORTER_ASSERT(reporter, !strcmp(fp.name(), clone.name()),
794 REPORTER_ASSERT(reporter, fp.compatibleWithCoverageAsAlpha() ==
797 REPORTER_ASSERT(reporter, fp.isEqual(clone),
799 REPORTER_ASSERT(reporter, fp.preservesOpaqueInput() == clone.preservesOpaqueInput(),
801 REPORTER_ASSERT(reporter, fp.hasConstantOutputForConstantInput() ==
804 REPORTER_ASSERT(reporter, fp.numChildProcessors() == clone.numChildProcessors(),
806 REPORTER_ASSERT(reporter, fp.sampleUsage() == clone.sampleUsage(),
808 REPORTER_ASSERT(reporter, fp.usesSampleCoords() == clone.usesSampleCoords(),
812 static bool verify_identical_render(skiatest::Reporter* reporter, int renderSize,
840 ERRORF(reporter,
855 static void log_clone_failure(skiatest::Reporter* reporter, int renderSize,
864 ERRORF(reporter,
881 DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ProcessorCloneTest, reporter, ctxInfo) {
887 ERRORF(reporter, "Could not initialize TestFPGenerator");
921 ERRORF(reporter, "Clone of processor %s failed.", fp->dumpTreeInfo().c_str());
924 assert_processor_equality(reporter, *fp, *clone);
933 if (!verify_identical_render(reporter, kRenderSize, "Processor clone",
937 ERRORF(reporter, "FP hierarchy:\n%s", regen->dumpTreeInfo().c_str());
947 if (!verify_identical_render(reporter, kRenderSize, "Regenerated processor",
949 ERRORF(reporter, "Output from regen did not match original!\n");
951 ERRORF(reporter, "Regenerated processor output matches original results.\n");
955 // images to the reporter as data URLs.
957 log_clone_failure(reporter, kRenderSize, context, inputTexture,