Lines Matching refs:writeExpression
195 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() function in SkSL::GLSLCodeGenerator
262 this->writeExpression(absExpr, kTopLevel_Precedence); in writeMinAbsHack()
264 this->writeExpression(otherExpr, kAssignment_Precedence); in writeMinAbsHack()
270 this->writeExpression(x, kTopLevel_Precedence); in writeInverseSqrtHack()
335 this->writeExpression(mat, kTopLevel_Precedence); in writeDeterminantHack()
422 this->writeExpression(mat, kTopLevel_Precedence); in writeInverseHack()
449 this->writeExpression(mat, kTopLevel_Precedence); in writeTransposeHack()
516 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
518 this->writeExpression(*p.fOperand, kMultiplicative_Precedence); in writeFunctionCall()
543 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
545 this->writeExpression(*c.fArguments[1], kSequence_Precedence); in writeFunctionCall()
547 this->writeExpression(*c.fArguments[2], kSequence_Precedence); in writeFunctionCall()
556 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
558 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
602 this->writeExpression(*c.fArguments[1], kMultiplicative_Precedence); in writeFunctionCall()
604 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
610 this->writeExpression(*c.fArguments[0], kSequence_Precedence); in writeFunctionCall()
696 this->writeExpression(*arg, kSequence_Precedence); in writeFunctionCall()
710 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeFunctionCall()
719 this->writeExpression(*arg, kSequence_Precedence); in writeFunctionCall()
813 this->writeExpression(*expr.fBase, kPostfix_Precedence); in writeFunctionCall()
815 this->writeExpression(*expr.fIndex, kTopLevel_Precedence); in writeFunctionCall()
825 this->writeExpression(*f.fBase, kPostfix_Precedence); in writeFunctionCall()
845 this->writeExpression(*swizzle.fBase, kPostfix_Precedence); in writeFunctionCall()
913 this->writeExpression(*b.fLeft, precedence); in writeFunctionCall()
917 this->writeExpression(*b.fRight, precedence); in writeFunctionCall()
935 this->writeExpression(*b.fLeft, kTernary_Precedence); in writeFunctionCall()
938 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
948 this->writeExpression(*b.fRight, kTernary_Precedence); in writeFunctionCall()
960 this->writeExpression(*t.fTest, kTernary_Precedence); in writeFunctionCall()
962 this->writeExpression(*t.fIfTrue, kTernary_Precedence); in writeFunctionCall()
964 this->writeExpression(*t.fIfFalse, kTernary_Precedence); in writeFunctionCall()
976 this->writeExpression(*p.fOperand, kPrefix_Precedence); in writeFunctionCall()
987 this->writeExpression(*p.fOperand, kPostfix_Precedence); in writeFunctionCall()
1162 this->writeExpression(*size, kTopLevel_Precedence); in writeFunctionCall()
1171 this->writeExpression(value, kTopLevel_Precedence); in writeFunctionCall()
1228 this->writeExpression(*size, kTopLevel_Precedence); in writeFunctionCall()
1264 this->writeExpression(*((ExpressionStatement&) s).fExpression, kTopLevel_Precedence); in writeFunctionCall()
1324 this->writeExpression(*stmt.fTest, kTopLevel_Precedence); in writeFunctionCall()
1347 this->writeExpression(*and_true, kTopLevel_Precedence); in writeFunctionCall()
1349 this->writeExpression(*f.fTest, kTopLevel_Precedence); in writeFunctionCall()
1354 this->writeExpression(*f.fNext, kTopLevel_Precedence); in writeFunctionCall()
1362 this->writeExpression(*w.fTest, kTopLevel_Precedence); in writeFunctionCall()
1372 this->writeExpression(*d.fTest, kTopLevel_Precedence); in writeFunctionCall()
1404 this->writeExpression(*d.fTest, kPrefix_Precedence); in writeFunctionCall()
1422 this->writeExpression(*s.fValue, kTopLevel_Precedence); in writeFunctionCall()
1428 this->writeExpression(*c->fValue, kTopLevel_Precedence); in writeFunctionCall()
1448 this->writeExpression(*r.fExpression, kTopLevel_Precedence); in writeFunctionCall()