Home
last modified time | relevance | path

Searched refs:fExtraFunctions (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/src/sksl/codegen/
DSkSLMetalCodeGenerator.cpp197 AutoOutputStream outputToExtraFunctions(this, &fExtraFunctions, &fIndentation); in getOutParamHelper()
459 fExtraFunctions.writeText(kInverse2x2); in getInversePolyfill()
462 fExtraFunctions.writeText(kInverse3x3); in getInversePolyfill()
465 fExtraFunctions.writeText(kInverse4x4); in getInversePolyfill()
490 fExtraFunctions.writeText(kMatrixCompMult); in writeMatrixCompMult()
509 fExtraFunctions.writeText(kOuterProduct); in writeOuterProduct()
921 fExtraFunctions.printf("%s%s%d(", separator, matrixType.c_str(), rows); in assembleMatrixFromMatrix()
934 case 1: firstItem = false; fExtraFunctions.printf("x0[%d].x", c); break; in assembleMatrixFromMatrix()
935 case 2: firstItem = false; fExtraFunctions.printf("x0[%d].xy", c); break; in assembleMatrixFromMatrix()
936 case 3: firstItem = false; fExtraFunctions.printf("x0[%d].xyz", c); break; in assembleMatrixFromMatrix()
[all …]
DSkSLGLSLCodeGenerator.cpp264 fExtraFunctions.writeText(( in writeDeterminantHack()
275 fExtraFunctions.writeText(( in writeDeterminantHack()
292 fExtraFunctions.writeText(( in writeDeterminantHack()
330 fExtraFunctions.writeText(( in writeInverseHack()
342 fExtraFunctions.writeText(( in writeInverseHack()
362 fExtraFunctions.writeText(( in writeInverseHack()
421 fExtraFunctions.writeText((transposed + " " + name + "(" + typeName + " m) {\nreturn " + in writeTransposeHack()
426 fExtraFunctions.writeText(separator); in writeTransposeHack()
427 fExtraFunctions.writeText(("m[" + to_string(column) + "][" + to_string(row) + in writeTransposeHack()
432 fExtraFunctions.writeText("); }"); in writeTransposeHack()
[all …]
DSkSLGLSLCodeGenerator.h173 StringStream fExtraFunctions; variable
DSkSLMetalCodeGenerator.h272 StringStream fExtraFunctions; variable
/third_party/flutter/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp270 fExtraFunctions.writeText(( in writeInverseHack()
280 fExtraFunctions.writeText(( in writeInverseHack()
301 fExtraFunctions.writeText(( in writeInverseHack()
391 fExtraFunctions.printf("float%dx%d %s(float x) {\n", in getMatrixConstructHelper()
393 fExtraFunctions.printf(" return float%dx%d(", columns, rows); in getMatrixConstructHelper()
396 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
398 fExtraFunctions.printf("float%d(", rows); in getMatrixConstructHelper()
401 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
404 fExtraFunctions.writeText("x"); in getMatrixConstructHelper()
406 fExtraFunctions.writeText("0"); in getMatrixConstructHelper()
[all …]
DSkSLGLSLCodeGenerator.cpp276 fExtraFunctions.writeText(( in writeDeterminantHack()
287 fExtraFunctions.writeText(( in writeDeterminantHack()
304 fExtraFunctions.writeText(( in writeDeterminantHack()
341 fExtraFunctions.writeText(( in writeInverseHack()
353 fExtraFunctions.writeText(( in writeInverseHack()
373 fExtraFunctions.writeText(( in writeInverseHack()
431 fExtraFunctions.writeText((transposed + " " + name + "(" + type + " m) {\nreturn " + in writeTransposeHack()
436 fExtraFunctions.writeText(separator); in writeTransposeHack()
437 fExtraFunctions.writeText(("m[" + to_string(column) + "][" + to_string(row) + in writeTransposeHack()
442 fExtraFunctions.writeText("); }"); in writeTransposeHack()
[all …]
DSkSLGLSLCodeGenerator.h204 StringStream fExtraFunctions; variable
DSkSLMetalCodeGenerator.h264 StringStream fExtraFunctions; variable