/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 …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLGLSLCodeGenerator.h | 136 void writeExpression(const Expression& expr, Precedence parentPrecedence); 152 void writeConstructor(const Constructor& c, Precedence parentPrecedence); 160 virtual void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence); 162 Precedence parentPrecedence); 164 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence); 168 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence); 170 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence);
|
D | SkSLMetalCodeGenerator.h | 180 void writeExpression(const Expression& expr, Precedence parentPrecedence); 198 void writeConstructor(const Constructor& c, Precedence parentPrecedence); 206 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence); 208 void writeTernaryExpression(const TernaryExpression& t, Precedence parentPrecedence); 212 void writePrefixExpression(const PrefixExpression& p, Precedence parentPrecedence); 214 void writePostfixExpression(const PostfixExpression& p, Precedence parentPrecedence);
|
D | SkSLGLSLCodeGenerator.cpp | 191 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() argument 194 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression() 200 this->writeConstructor((Constructor&) expr, parentPrecedence); in writeExpression() 215 this->writePrefixExpression((PrefixExpression&) expr, parentPrecedence); in writeExpression() 218 this->writePostfixExpression((PostfixExpression&) expr, parentPrecedence); in writeExpression() 230 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression() 712 void GLSLCodeGenerator::writeConstructor(const Constructor& c, Precedence parentPrecedence) { in writeFunctionCall() argument 720 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeFunctionCall() 916 Precedence parentPrecedence) { in writeFunctionCall() argument 919 this->writeShortCircuitWorkaroundExpression(b, parentPrecedence); in writeFunctionCall() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 116 void MetalCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression() argument 119 this->writeBinaryExpression((BinaryExpression&) expr, parentPrecedence); in writeExpression() 125 this->writeConstructor((Constructor&) expr, parentPrecedence); in writeExpression() 140 this->writePrefixExpression((PrefixExpression&) expr, parentPrecedence); in writeExpression() 143 this->writePostfixExpression((PostfixExpression&) expr, parentPrecedence); in writeExpression() 155 this->writeTernaryExpression((TernaryExpression&) expr, parentPrecedence); in writeExpression() 466 void MetalCodeGenerator::writeConstructor(const Constructor& c, Precedence parentPrecedence) { in writeConstructor() argument 468 this->writeExpression(*c.fArguments[0], parentPrecedence); in writeConstructor() 659 Precedence parentPrecedence) { in writeBinaryExpression() argument 661 bool needParens = precedence >= parentPrecedence; in writeBinaryExpression() [all …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 62 Precedence parentPrecedence) { in writeBinaryExpression() argument 66 if (precedence >= parentPrecedence) { in writeBinaryExpression() 72 if (precedence >= parentPrecedence) { in writeBinaryExpression() 76 INHERITED::writeBinaryExpression(b, parentPrecedence); in writeBinaryExpression()
|
D | SkSLPipelineStageCodeGenerator.h | 37 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
|
D | SkSLCPPCodeGenerator.h | 38 void writeBinaryExpression(const BinaryExpression& b, Precedence parentPrecedence) override;
|
D | SkSLCPPCodeGenerator.cpp | 68 Precedence parentPrecedence) { in writeBinaryExpression() argument 72 if (precedence >= parentPrecedence) { in writeBinaryExpression() 78 if (precedence >= parentPrecedence) { in writeBinaryExpression() 108 INHERITED::writeBinaryExpression(b, parentPrecedence); in writeBinaryExpression()
|