Home
last modified time | relevance | path

Searched refs:appendf (Results 1 – 25 of 143) sorted by relevance

123456

/external/skia/src/gpu/
DGrCaps.cpp49 r.appendf("Shader Derivative Support : %s\n", gNY[fShaderDerivativeSupport]); in dump()
50 r.appendf("Geometry Shader Support : %s\n", gNY[fGeometryShaderSupport]); in dump()
51 r.appendf("Path Rendering Support : %s\n", gNY[fPathRenderingSupport]); in dump()
52 r.appendf("Dst Read In Shader Support : %s\n", gNY[fDstReadInShaderSupport]); in dump()
53 r.appendf("Dual Source Blending Support : %s\n", gNY[fDualSourceBlendingSupport]); in dump()
54 r.appendf("Integer Support : %s\n", gNY[fIntegerSupport]); in dump()
56 r.appendf("Shader Float Precisions (varies: %s):\n", gNY[fShaderPrecisionVaries]); in dump()
60 r.appendf("\t%s:\n", shader_type_to_string(shaderType)); in dump()
64 r.appendf("\t\t%s: log_low: %d log_high: %d bits: %d\n", in dump()
157 r.appendf("MIP Map Support : %s\n", gNY[fMipMapSupport]); in dump()
[all …]
DGrAuditTrail.cpp14 json->appendf(","); in JsonifyTArray()
16 json->appendf("\"%s\": [", name); in JsonifyTArray()
110 json.appendf("\"Name\": \"%s\"", fName); in toJson()
119 json.appendf("\"Name\": \"%s\",", fName); in toJson()
121 json.appendf("\"Left\": %f,", fBounds.fLeft); in toJson()
122 json.appendf("\"Right\": %f,", fBounds.fRight); in toJson()
123 json.appendf("\"Top\": %f,", fBounds.fTop); in toJson()
124 json.appendf("\"Bottom\": %f", fBounds.fBottom); in toJson()
DGrTest.cpp177 out->appendf("Render Target Binds: %d\n", fRenderTargetBinds); in dump()
178 out->appendf("Shader Compilations: %d\n", fShaderCompilations); in dump()
179 out->appendf("Textures Created: %d\n", fTextureCreates); in dump()
180 out->appendf("Texture Uploads: %d\n", fTextureUploads); in dump()
181 out->appendf("Transfers to Texture: %d\n", fTransfersToTexture); in dump()
182 out->appendf("Stencil Buffer Creates: %d\n", fStencilAttachmentCreates); in dump()
183 out->appendf("Number of draws: %d\n", fNumDraws); in dump()
224 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes); in dumpStats()
225 out->appendf("\t\tEntry Count: current %d" in dumpStats()
230 out->appendf("\t\tEntry Bytes: current %d (budgeted %d, %.2g%% full, %d unbudgeted) high %d\n", in dumpStats()
/external/skia/src/gpu/glsl/
DGrGLSLCaps.cpp57 r.appendf("--- GLSL-Specific ---\n"); in dump()
59 r.appendf("FB Fetch Support: %s\n", (fFBFetchSupport ? "YES" : "NO")); in dump()
60 r.appendf("Drops tile on zero divide: %s\n", (fDropsTileOnZeroDivide ? "YES" : "NO")); in dump()
61 r.appendf("Bindless texture support: %s\n", (fBindlessTextureSupport ? "YES" : "NO")); in dump()
62 r.appendf("Uses precision modifiers: %s\n", (fUsesPrecisionModifiers ? "YES" : "NO")); in dump()
63 r.appendf("Can use any() function: %s\n", (fCanUseAnyFunctionInShader ? "YES" : "NO")); in dump()
64 r.appendf("Can use min() and abs() together: %s\n", (fCanUseMinAndAbsTogether ? "YES" : "NO")); in dump()
65 r.appendf("Must force negated atan param to float: %s\n", (fMustForceNegatedAtanParamToFloat ? in dump()
67 r.appendf("Flat interpolation support: %s\n", (fFlatInterpolationSupport ? "YES" : "NO")); in dump()
68 r.appendf("No perspective interpolation support: %s\n", (fNoPerspectiveInterpolationSupport ? in dump()
[all …]
DGrGLSLShaderBuilder.cpp46 this->functions().appendf(" %s", outName->c_str()); in emitFunction()
68 out->appendf("%s(%s, textureSize(%s) * %s)", in appendTextureLookup()
75 out->appendf("%s(%s, vec3(textureSize(%s) * %s.xy, %s.z))", in appendTextureLookup()
84 out->appendf("%s(%s, %s)", in appendTextureLookup()
96 out->appendf(".%s", configSwizzle.c_str()); in appendTextureLookup()
119 this->extensions().appendf("#extension %s: require\n", extensionName); in addFeature()
147 this->layoutQualifiers().appendf("layout(%s", params[0].c_str()); in compileAndAppendLayoutQualifiers()
149 this->layoutQualifiers().appendf(", %s", params[i].c_str()); in compileAndAppendLayoutQualifiers()
151 this->layoutQualifiers().appendf(") %s;\n", interfaceQualifierNames[interface]); in compileAndAppendLayoutQualifiers()
DGrGLSLShaderVar.h159 fExtraModifiers.appendf("%s ", modifier); in addModifier()
169 out->appendf("layout(%s) ", fLayoutQualifier.c_str()); in appendDecl()
182 out->appendf("%s %s[]", in appendDecl()
187 out->appendf("%s %s[%d]", in appendDecl()
193 out->appendf("%s %s", in appendDecl()
200 out->appendf("%s[%d]%s", in appendArrayAccess()
207 out->appendf("%s[%s]%s", in appendArrayAccess()
/external/skia/src/effects/
DSkPerlinNoiseShader.cpp650 noiseCode.appendf("\tvec4 %s;\n", floorVal); in emitCode()
651 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode()
652 noiseCode.appendf("\t%s.zw = %s.xy + vec2(1.0);\n", floorVal, floorVal); in emitCode()
653 noiseCode.appendf("\tvec2 %s = fract(%s);\n", fractVal, noiseVec); in emitCode()
656 noiseCode.appendf("\n\tvec2 %s = %s * %s * (vec2(3.0) - vec2(2.0) * %s);", in emitCode()
661 noiseCode.appendf("\n\tif(%s.x >= %s.x) { %s.x -= %s.x; }", in emitCode()
663 noiseCode.appendf("\n\tif(%s.y >= %s.y) { %s.y -= %s.y; }", in emitCode()
665 noiseCode.appendf("\n\tif(%s.z >= %s.x) { %s.z -= %s.x; }", in emitCode()
667 noiseCode.appendf("\n\tif(%s.w >= %s.y) { %s.w -= %s.y; }", in emitCode()
672 noiseCode.appendf("\n\t%s = fract(floor(mod(%s, 256.0)) / vec4(256.0));\n", in emitCode()
[all …]
DSk2DPathEffect.cpp79 str->appendf("(matrix: %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f %.2f)", in toString()
125 str->appendf("SkLine2DPathEffect: ("); in toString()
127 str->appendf("width: %f", fWidth); in toString()
128 str->appendf(")"); in toString()
158 str->appendf("SkPath2DPathEffect: ("); in toString()
161 str->appendf(")"); in toString()
DSkComposeImageFilter.cpp71 str->appendf("SkComposeImageFilter: ("); in toString()
73 str->appendf("outer: "); in toString()
76 str->appendf("inner: "); in toString()
79 str->appendf(")"); in toString()
DSkDropShadowImageFilter.cpp141 str->appendf("SkDropShadowImageFilter: ("); in toString()
143 str->appendf("dX: %f ", fDx); in toString()
144 str->appendf("dY: %f ", fDy); in toString()
145 str->appendf("sigmaX: %f ", fSigmaX); in toString()
146 str->appendf("sigmaY: %f ", fSigmaY); in toString()
157 str->appendf(" mode: %s", gModeStrings[fShadowMode]); in toString()
DSkTileImageFilter.cpp145 str->appendf("SkTileImageFilter: ("); in toString()
146 str->appendf("src: %.2f %.2f %.2f %.2f", in toString()
148 str->appendf(" dst: %.2f %.2f %.2f %.2f", in toString()
151 str->appendf("input: ("); in toString()
153 str->appendf(")"); in toString()
DSkArcToPathEffect.cpp74 str->appendf("SkArcToPathEffect: ("); in toString()
75 str->appendf("radius: %f", fRadius); in toString()
76 str->appendf(")"); in toString()
DSkXfermodeImageFilter.cpp101 str->appendf("SkXfermodeImageFilter: ("); in toString()
102 str->appendf("xfermode: ("); in toString()
108 str->appendf("foreground: ("); in toString()
110 str->appendf(")"); in toString()
113 str->appendf("background: ("); in toString()
115 str->appendf(")"); in toString()
DSkColorFilterImageFilter.cpp113 str->appendf("SkColorFilterImageFilter: ("); in toString()
115 str->appendf("input: ("); in toString()
121 str->appendf(") color filter: "); in toString()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp788 noiseCode.appendf("\tvec4 %s;\n", floorVal); in emitCode()
789 noiseCode.appendf("\t%s.xy = floor(%s);\n", floorVal, noiseVec); in emitCode()
790 noiseCode.appendf("\t%s.zw = %s.xy + vec2(1.0);\n", floorVal, floorVal); in emitCode()
791 noiseCode.appendf("\tvec2 %s = fract(%s);\n", fractVal, noiseVec); in emitCode()
794 noiseCode.appendf("\n\tvec2 %s = %s * %s * (vec2(3.0) - vec2(2.0) * %s);", in emitCode()
799 noiseCode.appendf("\n\tif(%s.x >= %s.x) { %s.x -= %s.x; }", in emitCode()
801 noiseCode.appendf("\n\tif(%s.y >= %s.y) { %s.y -= %s.y; }", in emitCode()
803 noiseCode.appendf("\n\tif(%s.z >= %s.x) { %s.z -= %s.x; }", in emitCode()
805 noiseCode.appendf("\n\tif(%s.w >= %s.y) { %s.w -= %s.y; }", in emitCode()
810 noiseCode.appendf("\n\t%s = fract(floor(mod(%s, 256.0)) / vec4(256.0));\n", in emitCode()
[all …]
/external/skia/src/core/
DSkPathEffect.cpp54 str->appendf("first: "); in toString()
58 str->appendf(" second: "); in toString()
96 str->appendf("SkComposePathEffect: ("); in toString()
98 str->appendf(")"); in toString()
124 str->appendf("SkSumPathEffect: ("); in toString()
126 str->appendf(")"); in toString()
/external/skia/src/utils/
DSkDumpCanvas.cpp30 str->appendf("[%g,%g %g:%g]", in toString()
36 str->appendf("[%d,%d %d:%d]", r.fLeft, r.fTop, r.width(), r.height()); in toString()
41 str->appendf("[%g,%g %g:%g]", in toString()
48 str->appendf("(%g,%g)", rad.x(), rad.y()); in toString()
56 str->appendf("(%g,%g %g,%g %g,%g %g,%g)", in toString()
70 str->appendf(" M%g,%g", pts[0].fX, pts[0].fY); in dumpVerbs()
73 str->appendf(" L%g,%g", pts[0].fX, pts[0].fY); in dumpVerbs()
76 str->appendf(" Q%g,%g,%g,%g", pts[1].fX, pts[1].fY, in dumpVerbs()
80 str->appendf(" C%g,%g,%g,%g,%g,%g", pts[1].fX, pts[1].fY, in dumpVerbs()
145 str->appendf("\"%.*s\"%s", (int)SkTMax<size_t>(byteLen, 32), (const char*) text, in toString()
[all …]
/external/skia/tools/debugger/
DSkDebugCanvas.cpp549 fClipStackData.appendf("%d", (int) num); in outputScalar()
559 fClipStackData.appendf("%sf", str.c_str()); in outputScalar()
566 fClipStackData.appendf(", "); in outputPointsCommon()
569 fClipStackData.appendf(", "); in outputPointsCommon()
576 fClipStackData.appendf(");<br>"); in outputPoints()
581 fClipStackData.appendf(", "); in outputConicPoints()
583 fClipStackData.appendf(");<br>"); in outputConicPoints()
589 fClipStackData.appendf("%sSkPath %s;<br>", kHTML4SpaceIndent, pathName); in addPathData()
590 fClipStackData.appendf("%s%s.setFillType(SkPath::%s);<br>", kHTML4SpaceIndent, pathName, in addPathData()
598 fClipStackData.appendf("%s%s.moveTo(", kHTML4SpaceIndent, pathName); in addPathData()
[all …]
/external/skia/bench/
DGLVertexAttributesBench.cpp34 fName.appendf("GLVertexAttributesBench_%d", fAttribs); in GLVertexAttributesBench()
82 aname.appendf("a_color_%d", i); in setupShader()
93 oname.appendf("o_color_%d", i); in setupShader()
107 vshaderTxt.appendf("%s = %s;\n", oVars[i].c_str(), aVars[i].c_str()); in setupShader()
112 vshaderTxt.appendf("%s = vec4(0, 0, 0, 1);\n", oVars[i].c_str()); in setupShader()
139 fshaderTxt.appendf( in setupShader()
144 fshaderTxt.appendf("%s", oVars[0].c_str()); in setupShader()
146 fshaderTxt.appendf(" + %s", oVars[i].c_str()); in setupShader()
244 filename.appendf("_%s.png", this->getName()); in glDraw()
DGLVec4ScalarBench.cpp71 name.appendf("_scalar_%u_stage", numStages); in NumStagesSetupToStr()
74 name.appendf("_vec4_%u_stage", numStages); in NumStagesSetupToStr()
154 fshaderTxt.appendf( in setupShader()
170 fshaderTxt.appendf( in setupShader()
182 fshaderTxt.appendf( in setupShader()
277 filename.appendf("_%s.png", this->getName()); in glDraw()
/external/skia/src/gpu/gl/
DGrGLCaps.cpp969 r.appendf("--- GL-Specific ---\n"); in dump()
971 r.appendf("Stencil Format %d, stencil bits: %02d, total bits: %02d\n", in dump()
1019 r.appendf("Core Profile: %s\n", (fIsCoreProfile ? "YES" : "NO")); in dump()
1020 r.appendf("MSAA Type: %s\n", kMSFBOExtStr[fMSFBOType]); in dump()
1021 r.appendf("Invalidate FB Type: %s\n", kInvalidateFBTypeStr[fInvalidateFBType]); in dump()
1022 r.appendf("Map Buffer Type: %s\n", kMapBufferTypeStr[fMapBufferType]); in dump()
1023 r.appendf("Max FS Uniform Vectors: %d\n", fMaxFragmentUniformVectors); in dump()
1024 r.appendf("Max FS Texture Units: %d\n", fMaxFragmentTextureUnits); in dump()
1025 r.appendf("Max Vertex Attributes: %d\n", fMaxVertexAttributes); in dump()
1026 r.appendf("Unpack Row length support: %s\n", (fUnpackRowLengthSupport ? "YES": "NO")); in dump()
[all …]
/external/skia/src/gpu/batches/
DGrDrawBatch.h73 string.appendf("RT: %d\n", this->renderTargetUniqueID()); in dumpInfo()
76 string.appendf("\t\t%s\n\t\t%s\n", in dumpInfo()
82 string.appendf("\t\t%s\n\t\t%s\n", in dumpInfo()
86 string.appendf("XP: %s\n", this->pipeline()->getXferProcessor().name()); in dumpInfo()
/external/skia/src/gpu/gl/builders/
DGrGLSLPrettyPrint.cpp102 fPretty.appendf("%c", fInput[fIndex++]); in appendChar()
130 fPretty.appendf("%c", fInput[fIndex++]); in parseUntilNewline()
153 fPretty.appendf("%c", fInput[fIndex++]); in parseUntil()
180 fPretty.appendf("%4d\t", fLinecount++); in lineNumbering()
/external/skia/tests/
Dskia_test.cpp136 header.appendf(" --match"); in test_main()
138 header.appendf(" %s", FLAGS_match[index]); in test_main()
143 header.appendf(" --tmpDir %s", tmpDir.c_str()); in test_main()
147 header.appendf(" --resourcePath %s", resourcePath.c_str()); in test_main()
155 header.appendf("\n"); in test_main()
/external/skia/tools/VisualBench/
DVisualLightweightBenchModule.cpp93 configName.appendf("nvpr_%d", FLAGS_msaa); in printStats()
95 configName.appendf("nvpr_msaa_%d", FLAGS_msaa); in printStats()
99 configName.appendf("offscreen_msaa_%d", FLAGS_msaa); in printStats()
101 configName.appendf("msaa_%d", FLAGS_msaa); in printStats()

123456