• Home
  • Raw
  • Download

Lines Matching refs:GLSLCodeGenerator

24 void GLSLCodeGenerator::write(const char* s) {  in write()
37 void GLSLCodeGenerator::writeLine(const char* s) { in writeLine()
43 void GLSLCodeGenerator::write(const String& s) { in write()
47 void GLSLCodeGenerator::write(StringFragment s) { in write()
60 void GLSLCodeGenerator::writeLine(const String& s) { in writeLine()
64 void GLSLCodeGenerator::writeLine() { in writeLine()
68 void GLSLCodeGenerator::writeExtension(const String& name) { in writeExtension()
72 void GLSLCodeGenerator::writeExtension(const String& name, bool require) { in writeExtension()
78 bool GLSLCodeGenerator::usesPrecisionModifiers() const { in usesPrecisionModifiers()
82 String GLSLCodeGenerator::getTypeName(const Type& type) { in getTypeName()
161 void GLSLCodeGenerator::writeType(const Type& type) { in writeType()
191 void GLSLCodeGenerator::writeExpression(const Expression& expr, Precedence parentPrecedence) { in writeExpression()
249 void GLSLCodeGenerator::writeMinAbsHack(Expression& absExpr, Expression& otherExpr) { in writeMinAbsHack()
264 void GLSLCodeGenerator::writeInverseSqrtHack(const Expression& x) { in writeInverseSqrtHack()
270 void GLSLCodeGenerator::writeDeterminantHack(const Expression& mat) { in writeDeterminantHack()
335 void GLSLCodeGenerator::writeInverseHack(const Expression& mat) { in writeInverseHack()
422 void GLSLCodeGenerator::writeTransposeHack(const Expression& mat) { in writeTransposeHack()
449 std::unordered_map<StringFragment, GLSLCodeGenerator::FunctionClass>*
450 GLSLCodeGenerator::fFunctionClasses = nullptr;
452 void GLSLCodeGenerator::writeFunctionCall(const FunctionCall& c) { in writeFunctionCall()
712 void GLSLCodeGenerator::writeConstructor(const Constructor& c, Precedence parentPrecedence) { in writeFunctionCall()
734 void GLSLCodeGenerator::writeFragCoord() { in writeFunctionCall()
778 void GLSLCodeGenerator::writeVariableReference(const VariableReference& ref) { in writeFunctionCall()
822 void GLSLCodeGenerator::writeIndexExpression(const IndexExpression& expr) { in writeFunctionCall()
833 void GLSLCodeGenerator::writeFieldAccess(const FieldAccess& f) { in writeFunctionCall()
854 void GLSLCodeGenerator::writeSwizzle(const Swizzle& swizzle) { in writeFunctionCall()
875 GLSLCodeGenerator::Precedence GLSLCodeGenerator::GetBinaryPrecedence(Token::Kind op) { in writeFunctionCall()
879 case Token::PERCENT: return GLSLCodeGenerator::kMultiplicative_Precedence; in writeFunctionCall()
881 case Token::MINUS: return GLSLCodeGenerator::kAdditive_Precedence; in writeFunctionCall()
883 case Token::SHR: return GLSLCodeGenerator::kShift_Precedence; in writeFunctionCall()
887 case Token::GTEQ: return GLSLCodeGenerator::kRelational_Precedence; in writeFunctionCall()
889 case Token::NEQ: return GLSLCodeGenerator::kEquality_Precedence; in writeFunctionCall()
890 case Token::BITWISEAND: return GLSLCodeGenerator::kBitwiseAnd_Precedence; in writeFunctionCall()
891 case Token::BITWISEXOR: return GLSLCodeGenerator::kBitwiseXor_Precedence; in writeFunctionCall()
892 case Token::BITWISEOR: return GLSLCodeGenerator::kBitwiseOr_Precedence; in writeFunctionCall()
893 case Token::LOGICALAND: return GLSLCodeGenerator::kLogicalAnd_Precedence; in writeFunctionCall()
894 case Token::LOGICALXOR: return GLSLCodeGenerator::kLogicalXor_Precedence; in writeFunctionCall()
895 case Token::LOGICALOR: return GLSLCodeGenerator::kLogicalOr_Precedence; in writeFunctionCall()
909 case Token::BITWISEOREQ: return GLSLCodeGenerator::kAssignment_Precedence; in writeFunctionCall()
910 case Token::COMMA: return GLSLCodeGenerator::kSequence_Precedence; in writeFunctionCall()
915 void GLSLCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeFunctionCall()
949 void GLSLCodeGenerator::writeShortCircuitWorkaroundExpression(const BinaryExpression& b, in writeFunctionCall()
978 void GLSLCodeGenerator::writeTernaryExpression(const TernaryExpression& t, in writeFunctionCall()
993 void GLSLCodeGenerator::writePrefixExpression(const PrefixExpression& p, in writeFunctionCall()
1005 void GLSLCodeGenerator::writePostfixExpression(const PostfixExpression& p, in writeFunctionCall()
1017 void GLSLCodeGenerator::writeBoolLiteral(const BoolLiteral& b) { in writeFunctionCall()
1021 void GLSLCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeFunctionCall()
1033 void GLSLCodeGenerator::writeFloatLiteral(const FloatLiteral& f) { in writeFunctionCall()
1037 void GLSLCodeGenerator::writeSetting(const Setting& s) { in writeFunctionCall()
1041 void GLSLCodeGenerator::writeFunction(const FunctionDefinition& f) { in writeFunctionCall()
1088 void GLSLCodeGenerator::writeModifiers(const Modifiers& modifiers, in writeFunctionCall()
1171 void GLSLCodeGenerator::writeInterfaceBlock(const InterfaceBlock& intf) { in writeFunctionCall()
1204 void GLSLCodeGenerator::writeVarInitializer(const Variable& var, const Expression& value) { in writeFunctionCall()
1208 const char* GLSLCodeGenerator::getTypePrecision(const Type& type) { in writeFunctionCall()
1238 void GLSLCodeGenerator::writeTypePrecision(const Type& type) { in writeFunctionCall()
1242 void GLSLCodeGenerator::writeVarDeclarations(const VarDeclarations& decl, bool global) { in writeFunctionCall()
1289 void GLSLCodeGenerator::writeStatement(const Statement& s) { in writeFunctionCall()
1336 void GLSLCodeGenerator::writeStatements(const std::vector<std::unique_ptr<Statement>>& statements) { in writeFunctionCall()
1345 void GLSLCodeGenerator::writeBlock(const Block& b) { in writeFunctionCall()
1353 void GLSLCodeGenerator::writeIfStatement(const IfStatement& stmt) { in writeFunctionCall()
1364 void GLSLCodeGenerator::writeForStatement(const ForStatement& f) { in writeFunctionCall()
1391 void GLSLCodeGenerator::writeWhileStatement(const WhileStatement& w) { in writeFunctionCall()
1398 void GLSLCodeGenerator::writeDoStatement(const DoStatement& d) { in writeFunctionCall()
1451 void GLSLCodeGenerator::writeSwitchStatement(const SwitchStatement& s) { in writeFunctionCall()
1475 void GLSLCodeGenerator::writeReturnStatement(const ReturnStatement& r) { in writeFunctionCall()
1484 void GLSLCodeGenerator::writeHeader() { in writeFunctionCall()
1489 void GLSLCodeGenerator::writeProgramElement(const ProgramElement& e) { in writeFunctionCall()
1544 void GLSLCodeGenerator::writeInputVars() { in writeFunctionCall()
1559 bool GLSLCodeGenerator::generateCode() { in writeFunctionCall()