Lines Matching refs:writeLine
58 void GLSLCodeGenerator::writeLine(skstd::string_view s) { in writeLine() function in SkSL::GLSLCodeGenerator
66 this->writeLine(); in finishLine()
148 this->writeLine(" {"); in writeStructDefinition()
160 this->writeLine(";"); in writeStructDefinition()
163 this->writeLine("};"); in writeStructDefinition()
1048 this->writeLine(" {"); in writeFunction()
1063 this->writeLine("}"); in writeFunction()
1072 this->writeLine(";"); in writeFunctionPrototype()
1123 this->writeLine(intf.typeName() + " {"); in writeInterfaceBlock()
1133 this->writeLine(" " + f.fName + ";"); in writeInterfaceBlock()
1146 this->writeLine(";"); in writeInterfaceBlock()
1268 this->writeLine("{"); in writeBlock()
1358 this->writeLine(" = false;"); in writeDoStatement()
1359 this->writeLine("while (true) {"); in writeDoStatement()
1363 this->writeLine(") {"); in writeDoStatement()
1367 this->writeLine(") {"); in writeDoStatement()
1369 this->writeLine("break;"); in writeDoStatement()
1371 this->writeLine("}"); in writeDoStatement()
1373 this->writeLine("}"); in writeDoStatement()
1375 this->writeLine(" = true;"); in writeDoStatement()
1393 this->writeLine(" = 0;"); in writeSwitchStatement()
1400 this->writeLine("++) {"); in writeSwitchStatement()
1417 this->writeLine(")) {"); in writeSwitchStatement()
1430 this->writeLine(); in writeSwitchStatement()
1433 this->writeLine("}"); in writeSwitchStatement()
1442 this->writeLine("}"); in writeSwitchStatement()
1448 this->writeLine(") {"); in writeSwitchStatement()
1454 this->writeLine("case 0:"); in writeSwitchStatement()
1461 this->writeLine(":"); in writeSwitchStatement()
1463 this->writeLine("default:"); in writeSwitchStatement()
1516 this->writeLine("vec4 sk_FragColor;"); in writeProgramElement()
1532 this->writeLine(";"); in writeProgramElement()