Lines Matching refs:writeLine
40 void GLSLCodeGenerator::writeLine(const char* s) { in writeLine() function in SkSL::GLSLCodeGenerator
42 this->writeLine(); in writeLine()
62 void GLSLCodeGenerator::writeLine(const String& s) { in writeLine() function in SkSL::GLSLCodeGenerator
63 this->writeLine(s.c_str()); in writeLine()
66 void GLSLCodeGenerator::writeLine() { in writeLine() function in SkSL::GLSLCodeGenerator
73 this->writeLine(); in finishLine()
163 this->writeLine(" {"); in writeStructDefinition()
175 this->writeLine(";"); in writeStructDefinition()
178 this->writeLine("};"); in writeStructDefinition()
1005 this->writeLine(" {"); in writeFunction()
1020 this->writeLine("}"); in writeFunction()
1029 this->writeLine(";"); in writeFunctionPrototype()
1076 this->writeLine(intf.typeName() + " {"); in writeInterfaceBlock()
1086 this->writeLine(" " + f.fName + ";"); in writeInterfaceBlock()
1101 this->writeLine(";"); in writeInterfaceBlock()
1225 this->writeLine("{"); in writeBlock()
1315 this->writeLine(" = false;"); in writeDoStatement()
1316 this->writeLine("while (true) {"); in writeDoStatement()
1320 this->writeLine(") {"); in writeDoStatement()
1324 this->writeLine(") {"); in writeDoStatement()
1326 this->writeLine("break;"); in writeDoStatement()
1328 this->writeLine("}"); in writeDoStatement()
1330 this->writeLine("}"); in writeDoStatement()
1332 this->writeLine(" = true;"); in writeDoStatement()
1342 this->writeLine(") {"); in writeSwitchStatement()
1349 this->writeLine(":"); in writeSwitchStatement()
1351 this->writeLine("default:"); in writeSwitchStatement()
1404 this->writeLine("vec4 sk_FragColor;"); in writeProgramElement()
1426 this->writeLine(";"); in writeProgramElement()
1506 this->writeLine("precision mediump float;"); in generateCode()
1507 this->writeLine("precision mediump sampler2D;"); in generateCode()
1510 this->writeLine("precision mediump samplerExternalOES;"); in generateCode()
1513 this->writeLine("precision mediump sampler2DRect;"); in generateCode()