Lines Matching refs:CPPCodeGenerator
20 CPPCodeGenerator::CPPCodeGenerator(const Context* context, const Program* program, in CPPCodeGenerator() function in SkSL::CPPCodeGenerator
29 void CPPCodeGenerator::writef(const char* s, va_list va) { in writef()
44 void CPPCodeGenerator::writef(const char* s, ...) { in writef()
51 void CPPCodeGenerator::writeHeader() { in writeHeader()
54 bool CPPCodeGenerator::usesPrecisionModifiers() const { in usesPrecisionModifiers()
58 String CPPCodeGenerator::getTypeName(const Type& type) { in getTypeName()
62 void CPPCodeGenerator::writeBinaryExpression(const BinaryExpression& b, in writeBinaryExpression()
81 void CPPCodeGenerator::writeIndexExpression(const IndexExpression& i) { in writeIndexExpression()
144 void CPPCodeGenerator::writeRuntimeValue(const Type& type, const Layout& layout, in writeRuntimeValue()
192 void CPPCodeGenerator::writeVarInitializer(const Variable& var, const Expression& value) { in writeVarInitializer()
200 String CPPCodeGenerator::getSamplerHandle(const Variable& var) { in getSamplerHandle()
213 void CPPCodeGenerator::writeIntLiteral(const IntLiteral& i) { in writeIntLiteral()
217 void CPPCodeGenerator::writeSwizzle(const Swizzle& swizzle) { in writeSwizzle()
232 void CPPCodeGenerator::writeVariableReference(const VariableReference& ref) { in writeVariableReference()
278 void CPPCodeGenerator::writeIfStatement(const IfStatement& s) { in writeIfStatement()
285 void CPPCodeGenerator::writeSwitchStatement(const SwitchStatement& s) { in writeSwitchStatement()
292 void CPPCodeGenerator::writeFunctionCall(const FunctionCall& c) { in writeFunctionCall()
334 void CPPCodeGenerator::writeFunction(const FunctionDefinition& f) { in writeFunction()
353 void CPPCodeGenerator::writeSetting(const Setting& s) { in writeSetting()
363 bool CPPCodeGenerator::writeSection(const char* name, const char* prefix) { in writeSection()
372 void CPPCodeGenerator::writeProgramElement(const ProgramElement& p) { in writeProgramElement()
390 void CPPCodeGenerator::addUniform(const Variable& var) { in addUniform()
437 void CPPCodeGenerator::writePrivateVars() { in writePrivateVars()
460 void CPPCodeGenerator::writePrivateVarValues() { in writePrivateVarValues()
483 void CPPCodeGenerator::writeCodeAppend(const String& code) { in writeCodeAppend()
521 bool CPPCodeGenerator::writeEmitCode(std::vector<const Variable*>& uniforms) { in writeEmitCode()
559 void CPPCodeGenerator::writeSetData(std::vector<const Variable*>& uniforms) { in writeSetData()
638 void CPPCodeGenerator::writeClone() { in writeClone()
685 void CPPCodeGenerator::writeTest() { in writeTest()
701 void CPPCodeGenerator::writeGetKey() { in writeGetKey()
751 bool CPPCodeGenerator::generateCode() { in generateCode()