Lines Matching refs:PathOpsDebug

17 #include "tests/PathOpsDebug.h"
354 if (PathOpsDebug::gJson) {
355 SkASSERT(!PathOpsDebug::gMarkJsonFlaky);
356 PathOpsDebug::gMarkJsonFlaky = true;
394 fprintf(PathOpsDebug::gOut, " \"expectSuccess\": \"%s\",\n",
397 if (PathOpsDebug::gMarkJsonFlaky) {
399 PathOpsDebug::gMarkJsonFlaky = false;
401 fprintf(PathOpsDebug::gOut, " \"expectMatch\": \"%s\",\n",
404 fprintf(PathOpsDebug::gOut, " \"succeeded\": %s,\n", opSucceeded ? "true" : "false");
415 if (PathOpsDebug::gOutputSVG) {
418 fprintf(PathOpsDebug::gOut, " \"%s\": \"%s\",\n", pathName, svg.c_str());
424 fprintf(PathOpsDebug::gOut, " \"%s\": [", pathName);
430 fprintf(PathOpsDebug::gOut, ",\n ");
433 fprintf(PathOpsDebug::gOut, "[%d", verbConst[verbIndex]);
435 fprintf(PathOpsDebug::gOut, ", \"0x%08x\", \"0x%08x\"",
439 fprintf(PathOpsDebug::gOut, ", \"0x%08x\"", SkFloat2Bits(*w));
441 fprintf(PathOpsDebug::gOut, "]");
443 fprintf(PathOpsDebug::gOut, "],\n");
445 fprintf(PathOpsDebug::gOut, " \"fillType%s\": \"k%s_FillType\"%s", fillTypeName,
450 if (PathOpsDebug::gCheckForDuplicateNames) {
463 if (PathOpsDebug::gJson) {
467 if (!PathOpsDebug::gOutFirst) {
468 fprintf(PathOpsDebug::gOut, ",\n");
470 PathOpsDebug::gOutFirst = false;
471 fprintf(PathOpsDebug::gOut, "\"%s\": {\n", filename);
481 if (PathOpsDebug::gJson) {
483 fprintf(PathOpsDebug::gOut, " \"out\": \"\"\n}");
491 if (PathOpsDebug::gJson) {
535 if (PathOpsDebug::gJson) {
539 if (!PathOpsDebug::gOutFirst) {
540 fprintf(PathOpsDebug::gOut, ",\n");
542 PathOpsDebug::gOutFirst = false;
543 fprintf(PathOpsDebug::gOut, "\"%s\": {\n", testName);
546 fprintf(PathOpsDebug::gOut, " \"op\": \"%s\",\n", opStrs[shapeOp]);
555 if (PathOpsDebug::gJson) {
557 fprintf(PathOpsDebug::gOut, " \"out\": \"\"\n}");
565 if (PathOpsDebug::gJson) {