/third_party/skia/tests/ |
D | PathOpsDebug.cpp | 26 SkDebugf("%.0f", x); in DebugDumpDouble() 28 SkDebugf("%1.19g", x); in DebugDumpDouble() 34 SkDebugf("%.0f", x); in DebugDumpFloat() 36 SkDebugf("%1.9gf", x); in DebugDumpFloat() 41 SkDebugf("SkBits2Float(0x%08x)", SkFloat2Bits(x)); in DebugDumpHexFloat() 52 SkDebugf("?"); in WindingPrintf() 54 SkDebugf("%d", wind); in WindingPrintf() 60 SkDebugf("} "); in DumpID() 62 SkDebugf("id=%d", id); in DumpID() 64 SkDebugf("\n"); in DumpID() [all …]
|
D | StrokerTest.cpp | 166 SkDebugf("\n%s quad=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[2], in DEF_TEST() 169 SkDebugf("fill:\n"); in DEF_TEST() 181 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST() 206 SkDebugf("\n%s tan=%d cubic=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[0], in DEF_TEST() 209 SkDebugf("fill:\n"); in DEF_TEST() 222 SkDebugf("\n%s max tan=%d cubic=%d\n", __FUNCTION__, bestTan, bestCubic); in DEF_TEST() 258 SkDebugf("\n%s quad=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[2], in DEF_TEST() 261 SkDebugf("fill:\n"); in DEF_TEST() 273 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST() 316 SkDebugf("\n%s tan=%d cubic=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[0], in DEF_TEST() [all …]
|
D | PremulAlphaRoundTripTest.cpp | 88 SkDebugf("%x != %x, x = %d, y = %d\n", pixels1[x], pixels2[x], x, y); in test_premul_alpha_roundtrip() 145 SkDebugf("Pixel history for (%d, %d):\n", x, y); in DEF_TEST() 146 SkDebugf("Src : %08x\n", get_pixel(src, x, y)); in DEF_TEST() 147 SkDebugf(" -> : %08x\n", get_pixel(surf, x, y)); in DEF_TEST() 148 SkDebugf(" <- : %08x\n", get_pixel(read1, x, y)); in DEF_TEST() 149 SkDebugf(" -> : %08x\n", get_pixel(surf2, x, y)); in DEF_TEST() 150 SkDebugf(" <- : %08x\n", get_pixel(read2, x, y)); in DEF_TEST() 202 SkDebugf("Pixel history for (%d, %d):\n", x, y); in DEF_TEST() 203 SkDebugf("Src : %08x\n", *src.getAddr32(x, y)); in DEF_TEST() 204 SkDebugf(" -> : %08x\n", *surf.getAddr32(x, y)); in DEF_TEST() [all …]
|
D | PathOpsCubicIntersectionTest.cpp | 35 SkDebugf("%s [%d] cubic1 order=%d\n", __FUNCTION__, iIndex, order1); in standardTestCases() 41 SkDebugf("%s [%d] cubic2 order=%d\n", __FUNCTION__, iIndex, order2); in standardTestCases() 49 SkDebugf("%s [%d] no intersection\n", __FUNCTION__, iIndex); in standardTestCases() 55 SkDebugf("%s [%d] coincident\n", __FUNCTION__, iIndex); in standardTestCases() 65 SkDebugf("%s [%d,%d] x!= t1=%g (%g,%g) t2=%g (%g,%g)\n", in standardTestCases() 398 SkDebugf("computed quadratics given\n"); in oneOff() 399 SkDebugf(" {{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in oneOff() 402 SkDebugf(" {{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in oneOff() 409 SkDebugf("</div>\n\n"); in oneOff() 410 SkDebugf("<script type=\"text/javascript\">\n\n"); in oneOff() [all …]
|
D | PathOpsCubicLineIntersectionTest.cpp | 41 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail() 45 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail() 143 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne() 147 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testOne() 159 SkDebugf("%s [%d,%d] x!= t1=%g (%g,%g) t2=%g (%g,%g)\n", in testOne() 168 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prev.fX, prev.fY, sect.fX, sect.fY); in testOne() 169 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", sect.fX, sect.fY, cubic[3].fX, cubic[3].fY); in testOne() 171 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prevL.fX, prevL.fY, i.pt(0).fX, i.pt(0).fY); in testOne() 173 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", i.pt(0).fX, i.pt(0).fY, nextL.fX, nextL.fY); in testOne() 174 SkDebugf("prevD=%1.9g dist=%1.9g nextD=%1.9g\n", prev.distance(nextL), in testOne()
|
D | FontMgrAndroidParserTest.cpp | 82 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpFiles() 84 SkDebugf(" @'%c%c%c%c'=%f", in DumpFiles() 91 SkDebugf("\n"); in DumpFiles() 100 SkDebugf("\n--- Dumping %s\n", label); in DumpLoadedFonts() 102 SkDebugf("Family %d:\n", i); in DumpLoadedFonts() 104 case kElegant_FontVariant: SkDebugf(" elegant\n"); break; in DumpLoadedFonts() 105 case kCompact_FontVariant: SkDebugf(" compact\n"); break; in DumpLoadedFonts() 108 SkDebugf(" basePath %s\n", fontFamilies[i]->fBasePath.c_str()); in DumpLoadedFonts() 110 SkDebugf(" language"); in DumpLoadedFonts() 112 SkDebugf(" %s", lang.getTag().c_str()); in DumpLoadedFonts() [all …]
|
/third_party/skia/fuzz/ |
D | FuzzMain.cpp | 135 SkDebugf("Fuzzing %s\n", p.c_str()); in main() 149 SkDebugf("Could not read %s\n", path.c_str()); in fuzz_file() 160 SkDebugf("Could not autodetect type of %s\n", path.c_str()); in fuzz_file() 218 SkDebugf("I would prefer not to.\n"); in fuzz_file() 265 SkDebugf("Unknown type %s\n", type.c_str()); in fuzz_file() 353 SkDebugf("[terminated] Done parsing!\n"); in fuzz_json() 361 SkDebugf("[terminated] Done animating!\n"); in fuzz_skottie_json() 370 SkDebugf("[terminated] Done DOM!\n"); in fuzz_svg_dom() 389 SkDebugf("When using --type api, please choose an API to fuzz with --name/-n:\n"); in print_api_names() 391 SkDebugf("\t%s\n", fuzzable.name); in print_api_names() [all …]
|
/third_party/skia/src/pathops/ |
D | SkAddIntersections.cpp | 19 SkDebugf("%s no intersect " LINE_DEBUG_STR " " LINE_DEBUG_STR "\n", in debugShowLineIntersection() 23 SkDebugf("%s " T_DEBUG_STR(wtTs, 0) " " LINE_DEBUG_STR " " PT_DEBUG_STR, __FUNCTION__, in debugShowLineIntersection() 26 SkDebugf(" " T_DEBUG_STR(wtTs, 1) " " PT_DEBUG_STR, i[0][1], PT_DEBUG_DATA(i, 1)); in debugShowLineIntersection() 28 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowLineIntersection() 30 SkDebugf(" " T_DEBUG_STR(wnTs, 1), i[1][1]); in debugShowLineIntersection() 32 SkDebugf("\n"); in debugShowLineIntersection() 40 SkDebugf("%s no intersect " QUAD_DEBUG_STR " " LINE_DEBUG_STR "\n", in debugShowQuadLineIntersection() 44 SkDebugf("%s " T_DEBUG_STR(wtTs, 0) " " QUAD_DEBUG_STR " " PT_DEBUG_STR, __FUNCTION__, in debugShowQuadLineIntersection() 47 SkDebugf(" " TX_DEBUG_STR(wtTs) " " PT_DEBUG_STR, n, i[0][n], PT_DEBUG_DATA(i, n)); in debugShowQuadLineIntersection() 49 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowQuadLineIntersection() [all …]
|
D | SkPathOpsDebug.cpp | 340 SkDebugf("%.*s", end - s + 1, s); in ShowActiveSpans() 373 SkDebugf(mask & (1 << index) ? "x" : "-"); in CheckHealth() 375 SkDebugf(" %s\n", contourList->globalState()->debugCoinDictEntry().fFunctionName); in CheckHealth() 378 SkDebugf("%02d: ", index); in CheckHealth() 380 SkDebugf(" seg/base=%d/%d", glitch.fBase->segment()->debugID(), in CheckHealth() 384 SkDebugf(" seg/base=%d/%d", glitch.fSuspect->segment()->debugID(), in CheckHealth() 388 SkDebugf(" segment=%d", glitch.fSegment->debugID()); in CheckHealth() 391 SkDebugf(" coinSeg/Span/PtT=%d/%d/%d", glitch.fCoinSpan->segment()->debugID(), in CheckHealth() 395 SkDebugf(" endSpan=%d", glitch.fEndSpan->debugID()); in CheckHealth() 398 SkDebugf(" oppSeg/Span/PtT=%d/%d/%d", glitch.fOppSpan->segment()->debugID(), in CheckHealth() [all …]
|
/third_party/skia/tools/ |
D | skpinfo.cpp | 40 SkDebugf("Missing input file\n"); in main() 48 SkDebugf("Couldn't open file\n"); in main() 57 SkDebugf("Unsupported version %d\n", info.getVersion()); in main() 62 SkDebugf("Version: %d\n", info.getVersion()); in main() 65 SkDebugf("Cull Rect: %f,%f,%f,%f\n", in main() 94 SkDebugf("truncated file\n"); in main() 106 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize); in main() 111 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize); in main() 116 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize); in main() 124 SkDebugf("File corruption in SkFontDescriptor\n"); in main() [all …]
|
D | imgcvt.cpp | 24 SkDebugf("Please pass an image or profile to convert" in main() 35 SkDebugf("Can't parse %s as an ICC profile.\n", dst_profile_path); in main() 63 SkDebugf("Cannot transform.\n"); in main() 67 SkDebugf("(%g, %g, %g) --> (%+.4f, %+.4f, %+.4f)\n", in main() 76 SkDebugf("Couldn't decode %s as an SkImage or an ICC profile.\n", source_path); in main() 82 SkDebugf("Converting to raster image failed.\n"); in main() 88 SkDebugf("We really should be able to peek raster pixels.\n"); in main() 94 SkDebugf("We can't convert to this destination profile as-is. Coercing it.\n"); in main() 99 SkDebugf("We can't convert to this destination profile at all.\n"); in main() 114 SkDebugf("color type %d not yet supported, imgcvt.cpp needs an update.\n", in main() [all …]
|
D | chrome_fuzz.cpp | 18 SkDebugf("couldn't open file %s\n", filename); in read_test_case() 23 SkDebugf("couldn't read file %s\n", filename); in read_test_case() 40 SkDebugf("Valid stream detected.\n"); in run_test_case() 52 SkDebugf("Filter DAG rendered successfully.\n"); in run_test_case() 55 SkDebugf("Invalid stream detected.\n"); in run_test_case() 62 SkDebugf("Test case: %s\n", filename); in read_and_run_test_case() 81 SkDebugf("#EOF\n"); in main()
|
/third_party/skia/src/ports/skia_ohos/ |
D | HmSymbolConfig_ohos.cpp | 351 SkDebugf("animation is not object!"); in ParseSymbolAnimations() 360 SkDebugf("animation_type is not string!"); in ParseSymbolAnimations() 367 SkDebugf("animation_parameters is not array!"); in ParseSymbolAnimations() 379 SkDebugf("animation_parameter is not object!"); in ParseSymbolAnimationParas() 397 SkDebugf("animation_mode is not int!"); in ParseSymbolAnimationPara() 406 SkDebugf("sub_type is not string!"); in ParseSymbolAnimationPara() 416 SkDebugf("group_parameters is not array!"); in ParseSymbolAnimationPara() 455 SkDebugf("%{public}s is invalid value!", subTypeStr); in ParseSymbolCommonSubType() 463 SkDebugf("group_parameter is not array!"); in ParseSymbolGroupParas() 469 SkDebugf("piecewise_parameter is not object!"); in ParseSymbolGroupParas() [all …]
|
/third_party/skia/tools/flags/ |
D | CommandLineFlags.cpp | 88 SkDebugf("Parameter \"%s\" not supported.\n", string); in parse_bool_arg() 146 void CommandLineFlags::PrintUsage() { SkDebugf("%s", gUsage.c_str()); } in PrintUsage() 176 SkDebugf(" %.*s\n", spaceIndex, currLine); in print_indented() 181 SkDebugf(" %.*s", lineBreak, currLine); in print_indented() 188 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag() 191 SkDebugf(" or -%s", shortName.c_str()); in print_help_for_flag() 193 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag() 195 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag() 197 SkDebugf("\n"); in print_help_for_flag() 200 SkDebugf("\n"); in print_help_for_flag() [all …]
|
/third_party/skia/docs/examples/ |
D | Path_Iter_isCloseLine.cpp | 13 SkDebugf("1st verb is " "%s" "move\n", SkPath::kMove_Verb == iter.next(p) ? "" : "not "); in draw() 14 SkDebugf("moveTo point: {%g,%g}\n", p[0].fX, p[0].fY); in draw() 15 SkDebugf("2nd verb is " "%s" "conic\n", SkPath::kConic_Verb == iter.next(p) ? "" : "not "); in draw() 16 SkDebugf("3rd verb is " "%s" "line\n", SkPath::kLine_Verb == iter.next(p) ? "" : "not "); in draw() 17 SkDebugf("line points: {%g,%g}, {%g,%g}\n", p[0].fX, p[0].fY, p[1].fX, p[1].fY); in draw() 18 SkDebugf("line " "%s" "generated by close\n", iter.isCloseLine() ? "" : "not "); in draw() 19 SkDebugf("4th verb is " "%s" "close\n", SkPath::kClose_Verb == iter.next(p) ? "" : "not "); in draw()
|
D | Bitmap_getColor.cpp | 15 SkDebugf("Premultiplied:\n"); in draw() 17 SkDebugf("(0, %d) ", y); in draw() 19 SkDebugf("0x%08x%c", colors[y][x], x == w - 1 ? '\n' : ' '); in draw() 25 SkDebugf("Unpremultiplied:\n"); in draw() 27 SkDebugf("(0, %d) ", y); in draw() 29 SkDebugf("0x%08x%c", bitmap.getColor(x, y), x == w - 1 ? '\n' : ' '); in draw()
|
D | Path_Iter_const_SkPath.cpp | 8 SkDebugf("%s:\n", prefix); in draw() 15 SkDebugf("k%s_Verb ", verbStr[(int) verb]); in draw() 17 SkDebugf("{%g, %g}, ", points[i].fX, points[i].fY); in draw() 20 SkDebugf("weight = %g", iter.conicWeight()); in draw() 22 SkDebugf("\n"); in draw() 24 SkDebugf("\n"); in draw()
|
D | Path_Iter_setPath.cpp | 8 SkDebugf("%s:\n", prefix); in draw() 15 SkDebugf("k%s_Verb ", verbStr[(int) verb]); in draw() 17 SkDebugf("{%g, %g}, ", points[i].fX, points[i].fY); in draw() 20 SkDebugf("weight = %g", iter.conicWeight()); in draw() 22 SkDebugf("\n"); in draw() 24 SkDebugf("\n"); in draw()
|
D | Pixmap_getColor.cpp | 11 SkDebugf("Premultiplied:\n"); in draw() 13 SkDebugf("(0, %d) ", y); in draw() 17 SkDebugf("0x%08x%c", storage[x + y * w], x == w - 1 ? '\n' : ' '); in draw() 21 SkDebugf("Unpremultiplied:\n"); in draw() 23 SkDebugf("(0, %d) ", y); in draw() 25 SkDebugf("0x%08x%c", pixmap.getColor(x, y), x == w - 1 ? '\n' : ' '); in draw()
|
/third_party/skia/bench/ |
D | nanobench.cpp | 218 SkDebugf("Can't read canvas pixels.\n"); in capturePixels() 269 SkDebugf("WARNING: GL context for config \"%s\" does not support fence sync. " in init() 318 SkDebugf("ERROR: clamping loops from %d to 1. " in clamp_loops() 323 SkDebugf("WARNING: clamping loops from %d to FLAGS_maxLoops, %d.\n", loops, FLAGS_maxLoops); in clamp_loops() 347 SkDebugf("Can't make dir %s.\n", dir.c_str()); in write_canvas_png() 352 SkDebugf("Can't write %s.\n", filename.c_str()); in write_canvas_png() 356 SkDebugf("Can't encode a PNG.\n"); in write_canvas_png() 371 SkDebugf("WARNING: Can't estimate loops for %s (%s vs. %s); skipping.\n", in setup_cpu_bench() 451 SkDebugf("Skipping config '%s' as requested.\n", config->getTag().c_str()); in create_config() 460 SkDebugf("This tool only supports the default surface type."); in create_config() [all …]
|
/third_party/skia/tools/gpu/gl/egl/ |
D | CreatePlatformGLTestContext_egl.cpp | 105 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in EGLGLTestContext() 106 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in EGLGLTestContext() 107 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in EGLGLTestContext() 108 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in EGLGLTestContext() 129 SkDebugf("eglChooseConfig failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLTestContext() 134 SkDebugf("No suitable EGL config found.\n"); in EGLGLTestContext() 153 SkDebugf("eglCreateContext failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLTestContext() 165 SkDebugf("eglCreatePbufferSurface failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLTestContext() 172 SkDebugf("eglMakeCurrent failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLTestContext() 180 SkDebugf("Failed to create gl interface.\n"); in EGLGLTestContext() [all …]
|
/third_party/skia/tools/gpu/gl/win/ |
D | CreatePlatformGLTestContext_win.cpp | 80 SkDebugf("Could not register window class.\n"); in WinGLTestContext() 91 SkDebugf("Could not create window.\n"); in WinGLTestContext() 96 SkDebugf("Could not get device context.\n"); in WinGLTestContext() 119 SkDebugf("Could not create rendering context.\n"); in WinGLTestContext() 137 SkDebugf("Could not set the context.\n"); in WinGLTestContext() 145 SkDebugf("Could not create GL interface.\n"); in WinGLTestContext() 150 SkDebugf("Could not validate GL interface.\n"); in WinGLTestContext() 188 SkDebugf("Could not null out the rendering context.\n"); in onPlatformMakeNotCurrent() 205 SkDebugf("Could not make current.\n"); in onPlatformMakeCurrent()
|
/third_party/skia/tools/gpu/gl/glx/ |
D | CreatePlatformGLTestContext_glx.cpp | 120 SkDebugf("Failed to open X display.\n"); in GLXGLTestContext() 137 SkDebugf("GLX version 1.3 or higher required.\n"); in GLXGLTestContext() 147 SkDebugf("Failed to retrieve a framebuffer config.\n"); in GLXGLTestContext() 189 SkDebugf("Failed to create pixmap.\n"); in GLXGLTestContext() 222 SkDebugf("Failed to create an OpenGL context.\n"); in GLXGLTestContext() 237 SkDebugf("Could not set the context.\n"); in GLXGLTestContext() 245 SkDebugf("Failed to create gl interface"); in GLXGLTestContext() 251 SkDebugf("Failed to validate gl interface"); in GLXGLTestContext() 310 SkDebugf("Failed to get address of glXCreateContextAttribsARB"); in CreateBestContext() 357 SkDebugf("Could not reset the context.\n"); in onPlatformMakeNotCurrent() [all …]
|
/third_party/skia/tools/gpu/gl/command_buffer/ |
D | GLTestContext_command_buffer.cpp | 231 SkDebugf("Command Buffer: Invalid version requested (%i). Must be either 2 or 3.\n", in CommandBufferGLTestContext() 259 SkDebugf("Command Buffer: Could not create EGL display.\n"); in CommandBufferGLTestContext() 263 SkDebugf("Command Buffer: Could not initialize EGL display.\n"); in CommandBufferGLTestContext() 270 SkDebugf("Command Buffer: Could not choose EGL config.\n"); in CommandBufferGLTestContext() 280 SkDebugf("Command Buffer: Could not create EGL surface.\n"); in CommandBufferGLTestContext() 294 SkDebugf("Command Buffer: Could not create EGL context.\n"); in CommandBufferGLTestContext() 301 SkDebugf("Command Buffer: Could not make EGL context current.\n"); in CommandBufferGLTestContext() 308 SkDebugf("Command Buffer: Could not create CommandBuffer GL interface.\n"); in CommandBufferGLTestContext() 313 SkDebugf("Command Buffer: Could not validate CommandBuffer GL interface.\n"); in CommandBufferGLTestContext() 324 SkDebugf("Command Buffer: Unexpected version.\n" in CommandBufferGLTestContext() [all …]
|
/third_party/skia/modules/canvaskit/ |
D | gm_bindings.cpp | 42 SkDebugf("Listing GMs\n"); in ListGMs() 46 SkDebugf("gm %s\n", gm->getName()); in ListGMs() 91 SkDebugf("Resource %s not found\n", name); in getResource() 117 SkDebugf("Could not find gm with name %s\n", name.c_str()); in RunGM() 132 SkDebugf("Could not make surface\n"); in RunGM() 142 SkDebugf("Error with gpu setup for gm %s: %s\n", name.c_str(), msg.c_str()); in RunGM() 150 SkDebugf("Error with gm %s: %s\n", name.c_str(), msg.c_str()); in RunGM() 161 SkDebugf("Could not read pixels back\n"); in RunGM() 204 SkDebugf("Listing Tests\n"); in ListTests() 207 SkDebugf("test %s\n", test.fName); in ListTests() [all …]
|