Lines Matching refs:writeExpression
191 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() function in SkSL::GLSLCodeGenerator
258 this->writeExpression(absExpr, kTopLevel_Precedence); in writeMinAbsHack()
260 this->writeExpression(otherExpr, kAssignment_Precedence); in writeMinAbsHack()
266 this->writeExpression(x, kTopLevel_Precedence); in writeInverseSqrtHack()
331 this->writeExpression(mat, kTopLevel_Precedence); in writeDeterminantHack()
418 this->writeExpression(mat, kTopLevel_Precedence); in writeInverseHack()
445 this->writeExpression(mat, kTopLevel_Precedence); in writeTransposeHack()
512 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
514 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
547 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
549 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeFunctionCall()
551 this->writeExpression(*c.fArguments[2], kSequence_Precedence); in writeFunctionCall()
560 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
562 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
606 this->writeExpression(*c.fArguments[1], kMultiplicative_Precedence); in writeFunctionCall()
608 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
614 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
700 this->writeExpression(*arg, kSequence_Precedence); in writeFunctionCall()
716 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeFunctionCall()
725 this->writeExpression(*arg, kSequence_Precedence); in writeFunctionCall()
819 this->writeExpression(*expr.fBase, kPostfix_Precedence); in writeFunctionCall()
821 this->writeExpression(*expr.fIndex, kTopLevel_Precedence); in writeFunctionCall()
831 this->writeExpression(*f.fBase, kPostfix_Precedence); in writeFunctionCall()
856 this->writeExpression(*swizzle.fBase, kPostfix_Precedence); in writeFunctionCall()
932 this->writeExpression(*b.fLeft, precedence); in writeFunctionCall()
936 this->writeExpression(*b.fRight, precedence); in writeFunctionCall()
954 this->writeExpression(*b.fLeft, kTernary_Precedence); in writeFunctionCall()
957 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
967 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
979 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall()
981 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall()
983 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
995 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writeFunctionCall()
1006 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writeFunctionCall()
1189 this->writeExpression(*size, kTopLevel_Precedence); in writeFunctionCall()
1198 this->writeExpression(value, kTopLevel_Precedence); in writeFunctionCall()
1255 this->writeExpression(*size, kTopLevel_Precedence); in writeFunctionCall()
1291 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1351 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeFunctionCall()
1374 this->writeExpression(*and_true, kTopLevel_Precedence); in writeFunctionCall()
1376 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeFunctionCall()
1381 this->writeExpression(*f.fNext, kTopLevel_Precedence); in writeFunctionCall()
1389 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeFunctionCall()
1399 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeFunctionCall()
1431 this->writeExpression(*d.fTest, kPrefix_Precedence); in writeFunctionCall()
1449 this->writeExpression(*s.fValue, kTopLevel_Precedence); in writeFunctionCall()
1455 this->writeExpression(*c->fValue, kTopLevel_Precedence); in writeFunctionCall()
1475 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeFunctionCall()