Searched refs:parentPrecedence (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/src/sksl/codegen/ |
D | SkSLMetalCodeGenerator.h | 148 void writeExpression(const Expression& expr, Precedence parentPrecedence); 193 void writeConstructorCompound(const ConstructorCompound& c, Precedence parentPrecedence); 195 void writeConstructorCompoundVector(const ConstructorCompound& c, Precedence parentPrecedence); 197 void writeConstructorCompoundMatrix(const ConstructorCompound& c, Precedence parentPrecedence); 200 Precedence parentPrecedence); 205 Precedence parentPrecedence); 210 Precedence parentPrecedence); 212 void writeConstructorArrayCast(const ConstructorArrayCast& c, Precedence parentPrecedence); 221 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence); 223 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence); [all …]
|
D | SkSLGLSLCodeGenerator.h | 106 void writeExpression(const Expression& expr, Precedence parentPrecedence); 125 Precedence parentPrecedence); 127 virtual void writeAnyConstructor(const AnyConstructor& c, Precedence parentPrecedence); 129 virtual void writeCastConstructor(const AnyConstructor& c, Precedence parentPrecedence); 135 virtual void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence); 138 Precedence parentPrecedence); 140 virtual void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence); 144 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence); 146 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence);
|
D | SkSLPipelineStageCodeGenerator.cpp | 84 void writeExpression(const Expression& expr, Precedence parentPrecedence); 87 void writeAnyConstructor(const AnyConstructor& c, Precedence parentPrecedence); 90 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence); 91 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence); 93 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence); 94 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence); 462 Precedence parentPrecedence) { in writeExpression() argument 465 this->writeBinaryExpression(expr.as<BinaryExpression>(), parentPrecedence); in writeExpression() 482 this->writeAnyConstructor(expr.asAnyConstructor(), parentPrecedence); in writeExpression() 491 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression() [all …]
|
D | SkSLGLSLCodeGenerator.cpp | 170 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() argument 173 this->writeBinaryExpression(expr.as<BinaryExpression>(), parentPrecedence); in writeExpression() 177 parentPrecedence); in writeExpression() 180 this->writeExpression(*expr.as<ConstructorArrayCast>().argument(), parentPrecedence); in writeExpression() 187 this->writeAnyConstructor(expr.asAnyConstructor(), parentPrecedence); in writeExpression() 191 this->writeCastConstructor(expr.asAnyConstructor(), parentPrecedence); in writeExpression() 203 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression() 206 this->writePostfixExpression(expr.as<PostfixExpression>(), parentPrecedence); in writeExpression() 218 this->writeTernaryExpression(expr.as<TernaryExpression>(), parentPrecedence); in writeExpression() 692 Precedence parentPrecedence) { in writeConstructorDiagonalMatrix() argument [all …]
|
D | SkSLMetalCodeGenerator.cpp | 131 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() argument 134 this->writeBinaryExpression(expr.as<BinaryExpression>(), parentPrecedence); in writeExpression() 138 this->writeAnyConstructor(expr.asAnyConstructor(), "{", "}", parentPrecedence); in writeExpression() 141 this->writeConstructorArrayCast(expr.as<ConstructorArrayCast>(), parentPrecedence); in writeExpression() 144 this->writeConstructorCompound(expr.as<ConstructorCompound>(), parentPrecedence); in writeExpression() 148 this->writeAnyConstructor(expr.asAnyConstructor(), "(", ")", parentPrecedence); in writeExpression() 152 parentPrecedence); in writeExpression() 156 this->writeCastConstructor(expr.asAnyConstructor(), "(", ")", parentPrecedence); in writeExpression() 168 this->writePrefixExpression(expr.as<PrefixExpression>(), parentPrecedence); in writeExpression() 171 this->writePostfixExpression(expr.as<PostfixExpression>(), parentPrecedence); in writeExpression() [all …]
|