• Home
  • Raw
  • Download

Lines Matching refs:writeLine

48 void MetalCodeGenerator::writeLine(const char* s) {  in writeLine()  function in SkSL::MetalCodeGenerator
58 void MetalCodeGenerator::writeLine(const String& s) { in writeLine() function in SkSL::MetalCodeGenerator
59 this->writeLine(s.c_str()); in writeLine()
62 void MetalCodeGenerator::writeLine() { in writeLine() function in SkSL::MetalCodeGenerator
63 this->writeLine(""); in writeLine()
67 this->writeLine("#extension " + ext.fName + " : enable"); in writeExtension()
81 this->writeLine("struct " + type.name() + " {"); in writeType()
756 this->writeLine(") {"); in writeFunction()
762 this->writeLine(" Globals globalStruct;"); in writeFunction()
763 this->writeLine(" thread Globals* _globals = &globalStruct;"); in writeFunction()
777 this->writeLine(";"); in writeFunction()
794 this->writeLine(" Outputs _outputStruct;"); in writeFunction()
795 this->writeLine(" thread Outputs* _out = &_outputStruct;"); in writeFunction()
806 this->writeLine("return *_out;"); in writeFunction()
809 this->writeLine("_out->sk_Position.y = -_out->sk_Position.y;"); in writeFunction()
810 this->writeLine("return *_out;"); // FIXME - detect if function already has return in writeFunction()
817 this->writeLine("}"); in writeFunction()
840 this->writeLine(intf.fTypeName + " {"); in writeInterfaceBlock()
849 this->writeLine("float u_skRTHeight;"); in writeInterfaceBlock()
867 this->writeLine(";"); in writeInterfaceBlock()
891 this->writeLine("];"); in writeFields()
933 this->writeLine(";"); in writeFields()
1044 this->writeLine(); in writeStatements()
1050 this->writeLine("{"); in writeBlock()
1104 this->writeLine(") {"); in writeSwitchStatement()
1110 this->writeLine(":"); in writeSwitchStatement()
1112 this->writeLine("default:"); in writeSwitchStatement()
1117 this->writeLine(); in writeSwitchStatement()
1268 this->writeLine("struct sksl_synthetic_uniforms {"); in writeInterfaceBlocks()
1269 this->writeLine(" float u_skRTHeight;"); in writeInterfaceBlocks()
1270 this->writeLine("};"); in writeInterfaceBlocks()
1341 this->writeLine(); in writeProgramElement()
1356 this->writeLine(";"); in writeProgramElement()