/external/skia/tests/ |
D | PathOpsDebug.cpp | 20 SkDebugf("%.0f", x); in DebugDumpDouble() 22 SkDebugf("%1.19g", x); in DebugDumpDouble() 28 SkDebugf("%.0f", x); in DebugDumpFloat() 30 SkDebugf("%1.9gf", x); in DebugDumpFloat() 35 SkDebugf("SkBits2Float(0x%08x)", SkFloat2Bits(x)); in DebugDumpHexFloat() 46 SkDebugf("?"); in WindingPrintf() 48 SkDebugf("%d", wind); in WindingPrintf() 55 SkDebugf("},\n"); in dump() 60 SkDebugf("} id=%d\n", id); in dumpID() 64 SkDebugf("{"); in dumpInner() [all …]
|
D | PathOpsTSectDebug.h | 20 SkDebugf("t=%1.9g pt=(%1.9g,%1.9g)%s\n", fPerpT, fPerpPt.fX, fPerpPt.fY, in dump() 65 SkDebugf("%d ", ++gDumpTSectNum); in dumpBoth() 68 SkDebugf(" "); in dumpBoth() 70 SkDebugf("\n"); in dumpBoth() 72 SkDebugf("<div id=\"sect%d\">\n", ++gDumpTSectNum); in dumpBoth() 79 SkDebugf("</div>\n\n"); in dumpBoth() 87 SkDebugf("no span matches %d\n", id); in dumpBounded() 94 SkDebugf(" "); in dumpBounded() 97 SkDebugf("\n"); in dumpBounded() 120 SkDebugf("id=%d", debugID()); in dumpCommon() [all …]
|
D | PathOpsExtendedTest.cpp | 64 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 72 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", pts[0].fX, pts[0].fY, in showPathData() 78 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in showPathData() 84 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}}, //weight=%1.9g\n", in showPathData() 91 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in showPathData() 99 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 110 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 119 SkDebugf("op difference\n"); in showOp() 122 SkDebugf("op intersect\n"); in showOp() 125 SkDebugf("op union\n"); in showOp() [all …]
|
D | StrokerTest.cpp | 147 SkDebugf("\n%s quad=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[2], in DEF_TEST() 150 SkDebugf("fill:\n"); in DEF_TEST() 162 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST() 187 SkDebugf("\n%s tan=%d cubic=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[0], in DEF_TEST() 190 SkDebugf("fill:\n"); in DEF_TEST() 203 SkDebugf("\n%s max tan=%d cubic=%d\n", __FUNCTION__, bestTan, bestCubic); in DEF_TEST() 239 SkDebugf("\n%s quad=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[2], in DEF_TEST() 242 SkDebugf("fill:\n"); in DEF_TEST() 254 SkDebugf("\n%s max quad=%d\n", __FUNCTION__, best); in DEF_TEST() 297 SkDebugf("\n%s tan=%d cubic=%d width=%1.9g\n", __FUNCTION__, gMaxRecursion[0], in DEF_TEST() [all …]
|
D | FontMgrAndroidParserTest.cpp | 74 SkDebugf("\n--- Dumping %s\n", label); in DumpLoadedFonts() 76 SkDebugf("Family %d:\n", i); in DumpLoadedFonts() 78 case kElegant_FontVariant: SkDebugf(" elegant\n"); break; in DumpLoadedFonts() 79 case kCompact_FontVariant: SkDebugf(" compact\n"); break; in DumpLoadedFonts() 82 SkDebugf(" basePath %s\n", fontFamilies[i]->fBasePath.c_str()); in DumpLoadedFonts() 84 SkDebugf(" language %s\n", fontFamilies[i]->fLanguage.getTag().c_str()); in DumpLoadedFonts() 87 SkDebugf(" name %s\n", fontFamilies[i]->fNames[j].c_str()); in DumpLoadedFonts() 91 SkDebugf(" file (%d) %s#%d", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts() 93 SkDebugf(" @'%c%c%c%c'=%f", in DumpLoadedFonts() 100 SkDebugf("\n"); in DumpLoadedFonts() [all …]
|
/external/skia/fuzz/ |
D | fuzz.cpp | 34 SkDebugf("Usage: %s -t <type> -b <path/to/file> [-n api-to-fuzz]\n", name); in printUsage() 49 SkDebugf("Could not read %s\n", path); in main() 92 SkDebugf("Fuzzing %s...\n", fuzzable.name); in fuzz_api() 95 SkDebugf("[terminated] Success!\n"); in fuzz_api() 100 SkDebugf("When using --type api, please choose an API to fuzz with --name/-n:\n"); in fuzz_api() 103 SkDebugf("\t%s\n", fuzzable.name); in fuzz_api() 111 SkDebugf("Dumped to %s\n", FLAGS_dump[0]); in dump_png() 119 SkDebugf("Scaling factor: %f\n", fscale); in fuzz_img() 123 SkDebugf("Mode: %d\n", mode); in fuzz_img() 126 SkDebugf("Decoding\n"); in fuzz_img() [all …]
|
/external/skia/tools/ |
D | skpinfo.cpp | 39 SkDebugf("Missing input file\n"); in tool_main() 47 SkDebugf("Couldn't open file\n"); in tool_main() 60 SkDebugf("Version: %d\n", info.fVersion); in tool_main() 63 SkDebugf("Cull Rect: %f,%f,%f,%f\n", in tool_main() 68 SkDebugf("Flags: 0x%x\n", info.fFlags); in tool_main() 91 SkDebugf("truncated file\n"); in tool_main() 103 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize); in tool_main() 108 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize); in tool_main() 113 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize); in tool_main() 121 SkDebugf("File corruption in SkFontDescriptor\n"); in tool_main() [all …]
|
D | imgslice.cpp | 40 SkDebugf("Channel (--rgb) must be between 0 and 3 (inclusive) - value is %d.\n", in tool_main() 48 SkDebugf("Only one of '-c' or '-r' can be specified at at time.\n"); in tool_main() 55 SkDebugf("At least one of '-c' or '-r' need to be specified.\n"); in tool_main() 63 SkDebugf("Couldn't open file: %s\n", FLAGS_image[0]); in tool_main() 71 SkDebugf("Couldn't create codec for: %s.\n", FLAGS_image[0]); in tool_main() 97 SkDebugf("header"); in tool_main() 100 SkDebugf(", %d", i); in tool_main() 104 SkDebugf(", %d", i); in tool_main() 107 SkDebugf("\n"); in tool_main() 110 SkDebugf("%s", FLAGS_label[0]); in tool_main() [all …]
|
D | chrome_fuzz.cpp | 16 SkDebugf("couldn't open file %s\n", filename); in read_test_case() 21 SkDebugf("couldn't read file %s\n", filename); in read_test_case() 38 SkDebugf("Valid stream detected.\n"); in run_test_case() 50 SkDebugf("Filter DAG rendered successfully.\n"); in run_test_case() 53 SkDebugf("Invalid stream detected.\n"); in run_test_case() 60 SkDebugf("Test case: %s\n", filename); in read_and_run_test_case() 79 SkDebugf("#EOF\n"); in main()
|
D | skdiff_image.cpp | 83 SkDebugf("Skia image diff tool\n"); in usage() 84 SkDebugf("\n" in usage() 87 SkDebugf( in usage() 150 SkDebugf("failonresult expects one argument.\n"); in tool_main() 157 SkDebugf("ignoring unrecognized result <%s>\n", argv[i]); in tool_main() 163 SkDebugf("failonstatus missing base status.\n"); in tool_main() 168 SkDebugf("unrecognized base status <%s>\n", argv[i]); in tool_main() 172 SkDebugf("failonstatus missing comparison status.\n"); in tool_main() 177 SkDebugf("unrecognized comarison status <%s>\n", argv[i]); in tool_main() 198 SkDebugf("outputdir expects one argument.\n"); in tool_main() [all …]
|
D | gpuveto.cpp | 31 SkDebugf("Missing input file\n"); in tool_main() 39 SkDebugf("Couldn't open file\n"); in tool_main() 47 SkDebugf("Could not read the SkPicture\n"); in tool_main() 61 SkDebugf("suitable\n"); in tool_main() 63 SkDebugf("unsuitable\n"); in tool_main() 68 SkDebugf("gpuveto is only useful when GPU rendering is enabled\n"); in tool_main()
|
/external/skia/src/pathops/ |
D | SkAddIntersections.cpp | 17 SkDebugf("%s no intersect " LINE_DEBUG_STR " " LINE_DEBUG_STR "\n", in debugShowLineIntersection() 21 SkDebugf("%s " T_DEBUG_STR(wtTs, 0) " " LINE_DEBUG_STR " " PT_DEBUG_STR, __FUNCTION__, in debugShowLineIntersection() 24 SkDebugf(" " T_DEBUG_STR(wtTs, 1) " " PT_DEBUG_STR, i[0][1], PT_DEBUG_DATA(i, 1)); in debugShowLineIntersection() 26 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowLineIntersection() 28 SkDebugf(" " T_DEBUG_STR(wnTs, 1), i[1][1]); in debugShowLineIntersection() 30 SkDebugf("\n"); in debugShowLineIntersection() 38 SkDebugf("%s no intersect " QUAD_DEBUG_STR " " LINE_DEBUG_STR "\n", in debugShowQuadLineIntersection() 42 SkDebugf("%s " T_DEBUG_STR(wtTs, 0) " " QUAD_DEBUG_STR " " PT_DEBUG_STR, __FUNCTION__, in debugShowQuadLineIntersection() 45 SkDebugf(" " TX_DEBUG_STR(wtTs) " " PT_DEBUG_STR, n, i[0][n], PT_DEBUG_DATA(i, n)); in debugShowQuadLineIntersection() 47 SkDebugf(" wnTs[0]=%g " LINE_DEBUG_STR, i[1][0], LINE_DEBUG_DATA(wn.pts())); in debugShowQuadLineIntersection() [all …]
|
D | SkPathOpsDebug.cpp | 186 SkDebugf(mask & (1 << index) ? "x" : "-"); in CheckHealth() 188 SkDebugf(" %s\n", id); in CheckHealth() 216 SkDebugf("?"); in WindingPrintf() 218 SkDebugf("%d", wind); in WindingPrintf() 247 …SkDebugf("\nstatic void %s(skiatest::Reporter* reporter, const char* filename) {\n", functionName); in show_function_header() 249 SkDebugf("found it\n"); in show_function_header() 266 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op() 267 SkDebugf("}\n"); in show_op() 328 SkDebugf("%s: {{", verbs[verb]); in dump_curve() 333 SkDebugf(", "); in dump_curve() [all …]
|
/external/skia/src/animator/ |
D | SkDisplayable.cpp | 197 SkDebugf("%s=\"[", info->fName); in dumpAttrs() 199 if (!firstElem) SkDebugf(","); in dumpAttrs() 202 SkDebugf("%s", op->fDisplayable->id); in dumpAttrs() 205 SkDebugf("%d", op->fS32); in dumpAttrs() 208 SkDebugf("%g", SkScalarToFloat(op->fScalar)); in dumpAttrs() 212 SkDebugf("%s", op->fString->c_str()); in dumpAttrs() 219 SkDebugf("]\" "); in dumpAttrs() 227 SkDebugf("%s=\"%s\"\t", info->fName, string->c_str()); in dumpAttrs() 246 SkDebugf("%*s", SkDisplayList::fIndent, ""); in dumpBase() 248 SkDebugf("%d: ", SkDisplayList::fDumpIndex); in dumpBase() [all …]
|
D | SkDisplayPost.cpp | 72 SkDebugf("target=\"%s\" ", target); in dump() 75 SkDebugf("type=\"%s\" ", eventType->c_str()); in dump() 79 SkDebugf("delay=\"%g\" ", delay * 0.001); in dump() 86 SkDebugf("mode=\"%s\" ", string.c_str()); in dump() 89 SkDebugf("sink=\"%s\" sinkID=\"%d\" ", sink.c_str(), fSinkID); in dump() 91 SkDebugf("sinkID=\"%d\" ", fSinkID); in dump() 112 SkDebugf(">\n"); in dump() 120 SkDebugf("%*s<data name=\"%s\" ", SkDisplayList::fIndent, "", name); in dump() 125 SkDebugf("int=\"%d\" ", s32); in dump() 130 SkDebugf("float=\"%g\" ", SkScalarToFloat(scalar)); in dump() [all …]
|
D | SkAnimateField.cpp | 41 SkDebugf("mirror=\"true\" "); in dump() 43 SkDebugf("reset=\"true\" "); in dump() 44 SkDebugf("dur=\"%g\" ", dur * 0.001); in dump() 46 SkDebugf("repeat=\"%g\" ", SkScalarToFloat(repeat)); in dump() 50 SkDebugf("blend=\"["); in dump() 54 SkDebugf(","); in dump() 56 SkDebugf("%g", SkScalarToFloat(blend[i])); in dump() 58 SkDebugf("]\" "); in dump() 60 SkDebugf("/>\n");//i assume that if it IS, we will do it separately in dump()
|
D | SkScriptDecompile.cpp | 130 SkDebugf("%d: %s", opCode - start - 1, gOpNames[op].fName); in decompile() 136 SkDebugf(" index: %d", index); in decompile() 144 SkDebugf(" ref: %d", ref); in decompile() 151 SkDebugf(" integer: %d", integer); in decompile() 158 SkDebugf(" scalar: %g", SkScalarToFloat(scalar)); in decompile() 168 SkDebugf(" string: %s", strPtr->c_str()); in decompile() 177 SkDebugf(" type: %s", gOperandNames[index].fName); in decompile() 183 SkDebugf(" type: %s", gOperandNames[index + 1].fName); in decompile() 196 SkDebugf(" offset (address): %d (%d)", size, opCode - start + size); in decompile() 205 SkDebugf("\n"); in decompile() [all …]
|
/external/skia/tools/flags/ |
D | SkCommandLineFlags.cpp | 93 SkDebugf("Parameter \"%s\" not supported.\n", string); in parse_bool_arg() 154 SkDebugf("%s", gUsage.c_str()); in PrintUsage() 185 SkDebugf(" %.*s\n", spaceIndex, currLine); in print_indented() 190 SkDebugf(" %.*s", lineBreak, currLine); in print_indented() 197 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag() 200 SkDebugf(" or -%s", shortName.c_str()); in print_help_for_flag() 202 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag() 204 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag() 206 SkDebugf("\n"); in print_help_for_flag() 209 SkDebugf("\n"); in print_help_for_flag() [all …]
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 112 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in EGLGLContext() 113 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in EGLGLContext() 114 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in EGLGLContext() 115 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in EGLGLContext() 135 SkDebugf("eglChooseConfig failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 140 SkDebugf("No suitable EGL config found.\n"); in EGLGLContext() 146 SkDebugf("eglCreateContext failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 158 SkDebugf("eglCreatePbufferSurface failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 164 SkDebugf("eglMakeCurrent failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 171 SkDebugf("Failed to create gl interface.\n"); in EGLGLContext() [all …]
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 115 SkDebugf("path.moveTo(%1.9g, %1.9g);\n", pts[0].fX, pts[0].fY); 118 SkDebugf("path.lineTo(%1.9g, %1.9g);\n", pts[1].fX, pts[1].fY); 121 SkDebugf("path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", 125 SkDebugf("path.cubicTo(%1.9g, %1.9g, %1.9g, %1.9g, %1.9g, %1.9g);\n", 131 SkDebugf("path.close();\n"); 145 SkDebugf(" %s%d,\n", filename.c_str(), ++count); 149 SkDebugf("<div id=\"%s%d\">\n", filename.c_str(), ++count); 151 SkDebugf("path.setFillType(SkPath::k%s_FillType);\n", 160 SkDebugf("suspect contours=%d\n", contours); 177 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g);\n", [all …]
|
/external/skia/src/gpu/gl/win/ |
D | SkCreatePlatformGLContext_win.cpp | 63 SkDebugf("Could not register window class.\n"); in WinGLContext() 74 SkDebugf("Could not create window.\n"); in WinGLContext() 79 SkDebugf("Could not get device context.\n"); in WinGLContext() 96 SkDebugf("Could not create rendering context.\n"); in WinGLContext() 113 SkDebugf("Could not set the context.\n"); in WinGLContext() 120 SkDebugf("Could not create GL interface.\n"); in WinGLContext() 125 SkDebugf("Could not validate GL interface.\n"); in WinGLContext() 167 SkDebugf("Could not create rendering context.\n"); in onPlatformMakeCurrent() 180 SkDebugf("Could not complete SwapBuffers.\n"); in onPlatformSwapBuffers()
|
/external/skia/tools/lua/ |
D | lua_pictures.cpp | 56 SkDebugf("--- expected %s function %d, ignoring.\n", funcName, t); in call_canvas() 62 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in call_canvas() 73 SkDebugf(".skp files or directories are required.\n"); in tool_main() 77 SkDebugf("missing luaFile(s)\n"); in tool_main() 95 SkDebugf("loading %s...\n", FLAGS_luaFile[i]); in tool_main() 98 SkDebugf("failed to load luaFile %s\n", FLAGS_luaFile[i]); in tool_main() 115 SkDebugf("invalid modulo values.\n"); in tool_main() 144 SkDebugf("scraping %s %s\n", path, moduloStr.c_str()); in tool_main() 159 SkDebugf("failed to load\n"); in tool_main()
|
/external/skia/src/views/ |
D | SkEvent.cpp | 142 … SkDEBUGCODE(SkDebugf("SkEvent::inflate unrecognized subelement <%s>\n", dom.getName(node));) in inflate() 149 …SkDEBUGCODE(SkDebugf("SkEvent::inflate missing required \"name\" attribute in <data> subelement\n"… in inflate() 170 …SkDebugf("SkEvent::inflate <data name=\"%s\"> subelement missing required type attribute [S32 | sc… in inflate() 185 SkDebugf("%s ", title); in dump() 189 SkDebugf("event<%s> fast32=%d", etype.c_str(), this->getFast32()); in dump() 201 SkDebugf(" <%s>=", name); in dump() 207 SkDebugf("%d ", value); in dump() 213 SkDebugf("%f", SkScalarToFloat(values[0])); in dump() 215 SkDebugf(", %f", SkScalarToFloat(values[i])); in dump() 216 SkDebugf(" "); in dump() [all …]
|
/external/skia/bench/ |
D | nanobench.cpp | 149 SkDebugf("Can't read canvas pixels.\n"); in capturePixels() 196 SkDebugf("WARNING: GL context for config \"%s\" does not support fence sync. " in init() 256 SkDebugf("ERROR: clamping loops from %d to 1. " in clamp_loops() 261 SkDebugf("WARNING: clamping loops from %d to FLAGS_maxLoops, %d.\n", loops, FLAGS_maxLoops); in clamp_loops() 285 SkDebugf("Can't make dir %s.\n", dir.c_str()); in write_canvas_png() 290 SkDebugf("Can't write %s.\n", filename.c_str()); in write_canvas_png() 294 SkDebugf("Can't encode a PNG.\n"); in write_canvas_png() 309 SkDebugf("WARNING: Can't estimate loops for %s (%s vs. %s); skipping.\n", in setup_cpu_bench() 407 SkDebugf("Configuration sample count %d exceeds maximum %d.\n", in create_config() 412 SkDebugf("No context was available matching config type and options.\n"); in create_config() [all …]
|
/external/skia/src/gpu/gl/mesa/ |
D | SkMesaGLContext.cpp | 29 SkDebugf("OSMesaCreateContext failed!\n"); in SkMesaGLContext() 37 SkDebugf("Alloc image buffer failed!\n"); in SkMesaGLContext() 48 SkDebugf("OSMesaMakeCurrent failed!\n"); in SkMesaGLContext() 55 SkDebugf("Could not create GL interface!\n"); in SkMesaGLContext() 61 SkDebugf("Could not validate GL interface!\n"); in SkMesaGLContext() 92 SkDebugf("Could not make MESA context current."); in onPlatformMakeCurrent()
|