/external/skia/include/utils/ |
D | SkDebugUtils.h | 26 SkDebugf("%s", name); in SkDebugDumpMathematica() 27 SkDebugf(" = {"); in SkDebugDumpMathematica() 30 if (i != size-1) SkDebugf(", "); in SkDebugDumpMathematica() 32 SkDebugf("};\n"); in SkDebugDumpMathematica() 37 SkDebugf("%s", name); in SkDebugDumpMathematica() 38 SkDebugf(" = {\n"); in SkDebugDumpMathematica() 40 SkDebugf(" {"); in SkDebugDumpMathematica() 44 SkDebugf(", "); in SkDebugDumpMathematica() 47 SkDebugf("}"); in SkDebugDumpMathematica() 49 SkDebugf(", \n"); in SkDebugDumpMathematica() [all …]
|
/external/skia/src/pathops/ |
D | SkPathOpsDebug.cpp | 69 SkDebugf("?"); in WindingPrintf() 71 SkDebugf("%d", wind); in WindingPrintf() 104 …SkDebugf("\nstatic void %s(skiatest::Reporter* reporter, const char* filename) {\n", functionName); in show_function_header() 106 SkDebugf("found it\n"); in show_function_header() 123 SkDebugf(" testPathOp(reporter, %s, %s, %s, filename);\n", pathOne, pathTwo, gOpStrs[op]); in show_op() 124 SkDebugf("}\n"); in show_op() 192 SkDebugf("%s id=%d", __FUNCTION__, this->debugID()); in debugShowActiveSpans() 193 SkDebugf(" (%1.9g,%1.9g", fPts[0].fX, fPts[0].fY); in debugShowActiveSpans() 195 SkDebugf(" %1.9g,%1.9g", fPts[vIndex].fX, fPts[vIndex].fY); in debugShowActiveSpans() 198 SkDebugf(" %1.9gf", fWeight); in debugShowActiveSpans() [all …]
|
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 …]
|
/external/skia/tests/ |
D | PathOpsDebug.cpp | 18 SkDebugf("%.0f", x); in DebugDumpDouble() 20 SkDebugf("%1.19g", x); in DebugDumpDouble() 26 SkDebugf("%.0f", x); in DebugDumpFloat() 28 SkDebugf("%1.9gf", x); in DebugDumpFloat() 33 SkDebugf("SkBits2Float(0x%08x)", SkFloat2Bits(x)); in DebugDumpHexFloat() 44 SkDebugf("?"); in WindingPrintf() 46 SkDebugf("%d", wind); in WindingPrintf() 53 SkDebugf("},\n"); in dump() 58 SkDebugf("} id=%d\n", id); in dumpID() 62 SkDebugf("{{"); in dumpInner() [all …]
|
D | PathOpsTSectDebug.h | 12 SkDebugf("t=%1.9g pt=(%1.9g,%1.9g)%s\n", fPerpT, fPerpPt.fX, fPerpPt.fY, in dump() 57 SkDebugf("%d ", ++gDumpTSectNum); in dumpBoth() 60 SkDebugf(" "); in dumpBoth() 62 SkDebugf("\n"); in dumpBoth() 64 SkDebugf("<div id=\"sect%d\">\n", ++gDumpTSectNum); in dumpBoth() 71 SkDebugf("</div>\n\n"); in dumpBoth() 79 SkDebugf("no span matches %d\n", id); in dumpBounded() 110 SkDebugf("id=%d", debugID()); in dumpCommon() 112 SkDebugf(" (empty)"); in dumpCommon() 116 SkDebugf(" "); in dumpCommon() [all …]
|
D | PathOpsExtendedTest.cpp | 63 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 71 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", pts[0].fX, pts[0].fY, in showPathData() 77 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in showPathData() 83 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}}, //weight=%1.9g\n", in showPathData() 90 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", in showPathData() 98 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 109 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", lastPt.fX, lastPt.fY, in showPathData() 118 SkDebugf("op difference\n"); in showOp() 121 SkDebugf("op intersect\n"); in showOp() 124 SkDebugf("op union\n"); in showOp() [all …]
|
D | FontConfigParser.cpp | 71 SkDebugf("\n--- Dumping %s\n", label); in DumpLoadedFonts() 73 SkDebugf("Family %d:\n", i); in DumpLoadedFonts() 75 case kElegant_FontVariant: SkDebugf(" elegant\n"); break; in DumpLoadedFonts() 76 case kCompact_FontVariant: SkDebugf(" compact\n"); break; in DumpLoadedFonts() 79 SkDebugf(" basePath %s\n", fontFamilies[i]->fBasePath.c_str()); in DumpLoadedFonts() 81 SkDebugf(" language %s\n", fontFamilies[i]->fLanguage.getTag().c_str()); in DumpLoadedFonts() 84 SkDebugf(" name %s\n", fontFamilies[i]->fNames[j].c_str()); in DumpLoadedFonts() 88 SkDebugf(" file (%d) %s#%d\n", ffi.fWeight, ffi.fFileName.c_str(), ffi.fIndex); in DumpLoadedFonts() 91 SkDebugf("\n\n"); in DumpLoadedFonts() 150 SkDebugf("---- Resource files missing for FontConfigParser test\n"); in DEF_TEST()
|
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 | PathOpsCubicLineIntersectionTest.cpp | 37 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testFail() 41 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testFail() 135 SkDebugf("[%d] cubic order=%d\n", iIndex, order1); in testOne() 139 SkDebugf("[%d] line order=%d\n", iIndex, order2); in testOne() 151 SkDebugf("%s [%d,%d] x!= t1=%g (%g,%g) t2=%g (%g,%g)\n", in testOne() 161 SkDebugf("cubic=(%1.9g, %1.9g, %1.9g)\n", left[0], left[1], left[2]); in testOne() 162 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prev.fX, prev.fY, sect.fX, sect.fY); in testOne() 163 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", sect.fX, sect.fY, cubic[3].fX, cubic[3].fY); in testOne() 165 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", prevL.fX, prevL.fY, i.pt(0).fX, i.pt(0).fY); in testOne() 167 SkDebugf("{{%1.9g,%1.9g}, {%1.9g,%1.9g}},\n", i.pt(0).fX, i.pt(0).fY, nextL.fX, nextL.fY); in testOne() [all …]
|
/external/skia/tools/ |
D | skpinfo.cpp | 38 SkDebugf("Missing input file\n"); in tool_main() 46 SkDebugf("Couldn't open file\n"); in tool_main() 59 SkDebugf("Version: %d\n", info.fVersion); in tool_main() 62 SkDebugf("Cull Rect: %f,%f,%f,%f\n", in tool_main() 67 SkDebugf("Flags: 0x%x\n", info.fFlags); in tool_main() 90 SkDebugf("truncated file\n"); in tool_main() 102 SkDebugf("SK_PICT_READER_TAG %d\n", chunkSize); in tool_main() 107 SkDebugf("SK_PICT_FACTORY_TAG %d\n", chunkSize); in tool_main() 112 SkDebugf("SK_PICT_TYPEFACE_TAG %d\n", chunkSize); in tool_main() 113 SkDebugf("Exiting early due to format limitations\n"); in tool_main() [all …]
|
D | render_pictures_main.cpp | 134 SkDebugf("Failed to write encoded data to \"%s\"\n", outPath.c_str()); in write_image_to_file() 163 SkDebugf("Could not open file %s\n", inputPath.c_str()); in render_picture_internal() 178 SkDebugf("deserializing... %s\n", inputPath.c_str()); in render_picture_internal() 183 SkDebugf("Could not read an SkPicture from %s\n", inputPath.c_str()); in render_picture_internal() 195 SkDebugf("drawing... [%f %f %f %f] %s\n", in render_picture_internal() 208 SkDebugf("Failed to render %s\n", inputFilename.c_str()); in render_picture_internal() 273 SkDebugf("Failed to draw the picture.\n"); in render_picture() 303 SkDebugf("Failed to draw the reference picture.\n"); in render_picture() 310 SkDebugf("Expected image width: %i, actual image width %i.\n", in render_picture() 317 SkDebugf("Expected image height: %i, actual image height %i", in render_picture() [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 | 32 SkDebugf("Missing input file\n"); in tool_main() 40 SkDebugf("Couldn't open file\n"); in tool_main() 50 SkDebugf("Could not read the SkPicture\n"); in tool_main() 64 SkDebugf("suitable\n"); in tool_main() 66 SkDebugf("unsuitable\n"); in tool_main() 71 SkDebugf("gpuveto is only useful when GPU rendering is enabled\n"); in tool_main()
|
/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()
|
/external/skia/src/gpu/gl/egl/ |
D | SkCreatePlatformGLContext_egl.cpp | 80 SkDebugf("VENDOR: %s\n", eglQueryString(fDisplay, EGL_VENDOR)); in EGLGLContext() 81 SkDebugf("APIS: %s\n", eglQueryString(fDisplay, EGL_CLIENT_APIS)); in EGLGLContext() 82 SkDebugf("VERSION: %s\n", eglQueryString(fDisplay, EGL_VERSION)); in EGLGLContext() 83 SkDebugf("EXTENSIONS %s\n", eglQueryString(fDisplay, EGL_EXTENSIONS)); in EGLGLContext() 103 SkDebugf("eglChooseConfig failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 108 SkDebugf("No suitable EGL config found.\n"); in EGLGLContext() 114 SkDebugf("eglCreateContext failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 126 SkDebugf("eglCreatePbufferSurface failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 132 SkDebugf("eglMakeCurrent failed. EGL Error: 0x%08x\n", eglGetError()); in EGLGLContext() 139 SkDebugf("Failed to create gl interface.\n"); in EGLGLContext() [all …]
|
/external/skia/tools/skpdiff/ |
D | skpdiff_main.cpp | 60 SkDebugf("OpenCL error notify: %s\n", errorInfo); in error_notify() 69 SkDebugf("The number of platforms is %u\n", platformList.size()); in init_device_and_context() 75 SkDebugf("Platform index 0 is named %s\n", platformName.c_str()); in init_device_and_context() 80 SkDebugf("The number of devices is %u\n", deviceList.size()); in init_device_and_context() 86 SkDebugf("Device index 0 is named %s\n", deviceName.c_str()); in init_device_and_context() 92 SkDebugf("Context creation failed: %s\n", cl_error_to_string(contextErr)); in init_device_and_context() 134 SkDebugf("Available Metrics:\n"); in tool_main() 142 SkDebugf(" %s", differ->getName()); in tool_main() 143 SkDebugf("\n"); in tool_main() 183 SkDebugf("Folders flag expects two arguments: <baseline folder> <test folder>\n"); in tool_main() [all …]
|
D | SkCLImageDiffer.cpp | 27 SkDebugf("Command queue creation failed: %s\n", cl_error_to_string(queueErr)); in init() 40 SkDebugf("Failed to open kernel source file"); in loadKernelFile() 53 SkDebugf("Failed to read kernel source file"); in loadKernelStream() 66 SkDebugf("Program creation failed: %s\n", cl_error_to_string(programErr)); in loadKernelSource() 72 SkDebugf("Build log: %s\n", buildLog); in loadKernelSource() 80 SkDebugf("Kernel creation failed: %s\n", cl_error_to_string(kernelErr)); in loadKernelSource() 104 SkDebugf("Image format is unsupported\n"); in makeImage2D() 117 SkDebugf("Input image creation failed: %s\n", cl_error_to_string(imageErr)); in makeImage2D()
|
/external/skia/tools/flags/ |
D | SkCommandLineFlags.cpp | 84 SkDebugf("Parameter \"%s\" not supported.\n", string); in parse_bool_arg() 148 SkDebugf(" --%s", flag->name().c_str()); in print_help_for_flag() 151 SkDebugf(" or -%s", shortName.c_str()); in print_help_for_flag() 153 SkDebugf(":\ttype: %s", flag->typeAsString().c_str()); in print_help_for_flag() 155 SkDebugf("\tdefault: %s", flag->defaultValue().c_str()); in print_help_for_flag() 157 SkDebugf("\n"); in print_help_for_flag() 165 SkDebugf(" %s\n", currLine); in print_help_for_flag() 185 SkDebugf(" %.*s\n", spaceIndex, currLine); in print_help_for_flag() 190 SkDebugf(" %.*s", lineBreak, currLine); in print_help_for_flag() 194 SkDebugf("\n"); in print_help_for_flag() [all …]
|
/external/skia/src/gpu/gl/win/ |
D | SkCreatePlatformGLContext_win.cpp | 61 SkDebugf("Could not register window class.\n"); in WinGLContext() 72 SkDebugf("Could not create window.\n"); in WinGLContext() 77 SkDebugf("Could not get device context.\n"); in WinGLContext() 94 SkDebugf("Could not create rendering context.\n"); in WinGLContext() 111 SkDebugf("Could not set the context.\n"); in WinGLContext() 118 SkDebugf("Could not create GL interface.\n"); in WinGLContext() 123 SkDebugf("Could not validate GL interface.\n"); in WinGLContext() 163 SkDebugf("Could not create rendering context.\n"); in makeCurrent() 176 SkDebugf("Could not complete SwapBuffers.\n"); in swapBuffers()
|
/external/skia/experimental/SimpleCocoaApp/ |
D | SimpleApp.mm | 110 SkDebugf("path.moveTo(%1.9g, %1.9g);\n", pts[0].fX, pts[0].fY); 113 SkDebugf("path.lineTo(%1.9g, %1.9g);\n", pts[1].fX, pts[1].fY); 116 SkDebugf("path.quadTo(%1.9g, %1.9g, %1.9g, %1.9g);\n", 120 SkDebugf("path.cubicTo(%1.9g, %1.9g, %1.9g, %1.9g, %1.9g, %1.9g);\n", 126 SkDebugf("path.close();\n"); 140 SkDebugf(" %s%d,\n", filename.c_str(), ++count); 144 SkDebugf("<div id=\"%s%d\">\n", filename.c_str(), ++count); 146 SkDebugf("path.setFillType(SkPath::k%s_FillType);\n", 155 SkDebugf("suspect contours=%d\n", contours); 172 SkDebugf("path.addRect(%1.9g, %1.9g, %1.9g, %1.9g);\n", [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() 90 SkDebugf("Could not make MESA context current."); in makeCurrent()
|
/external/skia/tools/lua/ |
D | lua_pictures.cpp | 55 SkDebugf("--- expected %s function %d, ignoring.\n", funcName, t); in call_canvas() 61 SkDebugf("lua err: %s\n", lua_tostring(L, -1)); in call_canvas() 72 SkDebugf(".skp files or directories are required.\n"); in tool_main() 76 SkDebugf("missing luaFile(s)\n"); in tool_main() 94 SkDebugf("loading %s...\n", FLAGS_luaFile[i]); in tool_main() 97 SkDebugf("failed to load luaFile %s\n", FLAGS_luaFile[i]); in tool_main() 114 SkDebugf("invalid modulo values.\n"); in tool_main() 143 SkDebugf("scraping %s %s\n", path, moduloStr.c_str()); in tool_main() 158 SkDebugf("failed to load\n"); in tool_main()
|