Home
last modified time | relevance | path

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

/external/skia/src/gpu/instanced/
DInstanceProcessor.cpp1129 SkString fSquareFun; member in gr_instanced::GLSLInstanceProcessor::BackendMultisample
1365 f->emitFunction(kFloat_GrSLType, "square", 1, &x, "return dot(x, x);", &fSquareFun); in onEmitCode()
1508 fSquareFun.c_str(), absArcCoords.c_str(), coords.fFragHalfSpan); in emitArc()
1511 fSquareFun.c_str(), absArcCoords.c_str(), coords.fFragHalfSpan); in emitArc()
1516 fSquareFun.c_str(), absArcCoords.c_str(), coords.fFragHalfSpan); in emitArc()
1530 f->codeAppendf( "if (%s(pt) < 1.0) arcMask |= (1 << i);", fSquareFun.c_str()); in emitArc()
1550 f->codeAppendf("if (%s(rrectCoords + fragRRectHalfSpan) <= 1.0) {", fSquareFun.c_str()); in emitSimpleRRect()
1554 fSquareFun.c_str()); in emitSimpleRRect()
1567 fSquareFun.c_str()); in emitSimpleRRect()
1579 f->codeAppendf( "if (%s(rrectPt) < 1.0) rrectMask |= (1 << i);", fSquareFun.c_str()); in emitSimpleRRect()