Home
last modified time | relevance | path

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

/external/skia/src/sksl/
DSkSLMetalCodeGenerator.cpp272 fExtraFunctions.writeText(( in writeInverseHack()
282 fExtraFunctions.writeText(( in writeInverseHack()
303 fExtraFunctions.writeText(( in writeInverseHack()
400 fExtraFunctions.printf("float%dx%d %s(float x) {\n", in getMatrixConstructHelper()
402 fExtraFunctions.printf(" return float%dx%d(", columns, rows); in getMatrixConstructHelper()
405 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
407 fExtraFunctions.printf("float%d(", rows); in getMatrixConstructHelper()
410 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
413 fExtraFunctions.writeText("x"); in getMatrixConstructHelper()
415 fExtraFunctions.writeText("0"); in getMatrixConstructHelper()
[all …]
DSkSLGLSLCodeGenerator.cpp281 fExtraFunctions.writeText(( in writeDeterminantHack()
292 fExtraFunctions.writeText(( in writeDeterminantHack()
309 fExtraFunctions.writeText(( in writeDeterminantHack()
346 fExtraFunctions.writeText(( in writeInverseHack()
358 fExtraFunctions.writeText(( in writeInverseHack()
378 fExtraFunctions.writeText(( in writeInverseHack()
436 fExtraFunctions.writeText((transposed + " " + name + "(" + type + " m) {\nreturn " + in writeTransposeHack()
441 fExtraFunctions.writeText(separator); in writeTransposeHack()
442 fExtraFunctions.writeText(("m[" + to_string(column) + "][" + to_string(row) + in writeTransposeHack()
447 fExtraFunctions.writeText("); }"); in writeTransposeHack()
[all …]
DSkSLGLSLCodeGenerator.h218 StringStream fExtraFunctions; variable
DSkSLMetalCodeGenerator.h266 StringStream fExtraFunctions; variable
/external/skqp/src/sksl/
DSkSLGLSLCodeGenerator.cpp280 fExtraFunctions.writeText(( in writeDeterminantHack()
291 fExtraFunctions.writeText(( in writeDeterminantHack()
308 fExtraFunctions.writeText(( in writeDeterminantHack()
345 fExtraFunctions.writeText(( in writeInverseHack()
357 fExtraFunctions.writeText(( in writeInverseHack()
377 fExtraFunctions.writeText(( in writeInverseHack()
435 fExtraFunctions.writeText((transposed + " " + name + "(" + type + " m) {\nreturn " + in writeTransposeHack()
440 fExtraFunctions.writeText(separator); in writeTransposeHack()
441 fExtraFunctions.writeText(("m[" + to_string(column) + "][" + to_string(row) + in writeTransposeHack()
446 fExtraFunctions.writeText("); }"); in writeTransposeHack()
[all …]
DSkSLMetalCodeGenerator.cpp256 fExtraFunctions.writeText(( in writeInverseHack()
313 fExtraFunctions.printf("float%dx%d %s(float x) {\n", in getMatrixConstructHelper()
315 fExtraFunctions.printf(" return float%dx%d(", columns, rows); in getMatrixConstructHelper()
318 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
320 fExtraFunctions.printf("float%d(", rows); in getMatrixConstructHelper()
323 fExtraFunctions.writeText(", "); in getMatrixConstructHelper()
326 fExtraFunctions.writeText("x"); in getMatrixConstructHelper()
328 fExtraFunctions.writeText("0"); in getMatrixConstructHelper()
331 fExtraFunctions.writeText(")"); in getMatrixConstructHelper()
333 fExtraFunctions.writeText(");\n}\n"); in getMatrixConstructHelper()
[all …]
DSkSLGLSLCodeGenerator.h204 StringStream fExtraFunctions; variable
DSkSLMetalCodeGenerator.h259 StringStream fExtraFunctions; variable