Lines Matching refs:resultTemplate
759 string resultTemplate; in lightVertexTemplate() local
761 resultTemplate += in lightVertexTemplate()
775 resultTemplate += in lightVertexTemplate()
780 resultTemplate += in lightVertexTemplate()
787 resultTemplate += in lightVertexTemplate()
797 resultTemplate += "varying mediump vec3 v_eyeNormal${NAME_SPEC};\n"; in lightVertexTemplate()
800 resultTemplate += in lightVertexTemplate()
805 resultTemplate += in lightVertexTemplate()
831 resultTemplate += in lightVertexTemplate()
838 resultTemplate += in lightVertexTemplate()
851 resultTemplate += "\tv_eyeNormal${NAME_SPEC} = eyeNormal;\n"; in lightVertexTemplate()
853 resultTemplate += "\n"; in lightVertexTemplate()
859 resultTemplate += in lightVertexTemplate()
864 resultTemplate += in lightVertexTemplate()
869 resultTemplate += in lightVertexTemplate()
875 resultTemplate += in lightVertexTemplate()
882 resultTemplate += in lightVertexTemplate()
890 resultTemplate += "\n"; in lightVertexTemplate()
893 resultTemplate += in lightVertexTemplate()
899 return resultTemplate; in lightVertexTemplate()
905 string resultTemplate; in lightFragmentTemplate() local
909 resultTemplate += in lightFragmentTemplate()
920 resultTemplate += in lightFragmentTemplate()
925 resultTemplate += in lightFragmentTemplate()
933 resultTemplate += in lightFragmentTemplate()
940 resultTemplate += in lightFragmentTemplate()
944 resultTemplate += in lightFragmentTemplate()
948 resultTemplate += in lightFragmentTemplate()
955 resultTemplate += in lightFragmentTemplate()
976 resultTemplate += in lightFragmentTemplate()
984 resultTemplate += in lightFragmentTemplate()
992 resultTemplate += in lightFragmentTemplate()
1000 resultTemplate += in lightFragmentTemplate()
1004 resultTemplate += in lightFragmentTemplate()
1013 resultTemplate += in lightFragmentTemplate()
1023 resultTemplate += in lightFragmentTemplate()
1030 return resultTemplate; in lightFragmentTemplate()
1142 string resultTemplate; in loopVertexTemplate() local
1150 resultTemplate += in loopVertexTemplate()
1154 resultTemplate += in loopVertexTemplate()
1157 resultTemplate += in loopVertexTemplate()
1164 resultTemplate += "uniform mediump float u_loopBound${NAME_SPEC};\n"; in loopVertexTemplate()
1166 resultTemplate += in loopVertexTemplate()
1176 …resultTemplate += string(i + 1, '\t') + "for (int " + iterName + " = 0; " + iterName + " < " + loo… in loopVertexTemplate()
1179 resultTemplate += string(nestingDepth + 1, '\t') + "value *= a_value${NAME_SPEC};\n"; in loopVertexTemplate()
1181 resultTemplate += in loopVertexTemplate()
1187 resultTemplate += in loopVertexTemplate()
1190 resultTemplate += in loopVertexTemplate()
1198 resultTemplate += in loopVertexTemplate()
1202 resultTemplate += in loopVertexTemplate()
1207 return resultTemplate; in loopVertexTemplate()
1213 string resultTemplate; in loopFragmentTemplate() local
1221 resultTemplate += in loopFragmentTemplate()
1227 resultTemplate += in loopFragmentTemplate()
1230 resultTemplate += in loopFragmentTemplate()
1233 resultTemplate += in loopFragmentTemplate()
1242 …resultTemplate += string(i + 1, '\t') + "for (int " + iterName + " = 0; " + iterName + " < " + loo… in loopFragmentTemplate()
1245 resultTemplate += string(nestingDepth + 1, '\t') + "value *= v_value${NAME_SPEC};\n"; in loopFragmentTemplate()
1247 resultTemplate += in loopFragmentTemplate()
1251 resultTemplate += in loopFragmentTemplate()
1257 resultTemplate += in loopFragmentTemplate()
1262 return resultTemplate; in loopFragmentTemplate()
1327 string resultTemplate; in binaryOpVertexTemplate() local
1329 resultTemplate += in binaryOpVertexTemplate()
1340 resultTemplate += string(i > 0 ? op : "") + "a_value${NAME_SPEC}"; in binaryOpVertexTemplate()
1342 resultTemplate += in binaryOpVertexTemplate()
1349 return resultTemplate; in binaryOpVertexTemplate()
1355 string resultTemplate; in binaryOpFragmentTemplate() local
1357 resultTemplate += in binaryOpFragmentTemplate()
1365 resultTemplate += string(i > 0 ? op : "") + "v_value${NAME_SPEC}"; in binaryOpFragmentTemplate()
1367 resultTemplate += in binaryOpFragmentTemplate()
1374 return resultTemplate; in binaryOpFragmentTemplate()
1380 const char* resultTemplate = in singleVaryingVertexTemplate() local
1393 return resultTemplate; in singleVaryingVertexTemplate()
1399 const char* resultTemplate = in singleVaryingFragmentTemplate() local
1409 return resultTemplate; in singleVaryingFragmentTemplate()
1415 string resultTemplate; in textureLookupVertexTemplate() local
1418 resultTemplate += in textureLookupVertexTemplate()
1424 resultTemplate += in textureLookupVertexTemplate()
1428 resultTemplate += in textureLookupVertexTemplate()
1436 resultTemplate += in textureLookupVertexTemplate()
1439 resultTemplate += in textureLookupVertexTemplate()
1444 return resultTemplate; in textureLookupVertexTemplate()
1450 string resultTemplate; in textureLookupFragmentTemplate() local
1452 resultTemplate += in textureLookupFragmentTemplate()
1456 resultTemplate += in textureLookupFragmentTemplate()
1460 resultTemplate += in textureLookupFragmentTemplate()
1464 resultTemplate += in textureLookupFragmentTemplate()
1467 resultTemplate += in textureLookupFragmentTemplate()
1481 resultTemplate += string("") + in textureLookupFragmentTemplate()
1490 resultTemplate += "\t"; in textureLookupFragmentTemplate()
1495 resultTemplate += string("") + in textureLookupFragmentTemplate()
1500 resultTemplate += in textureLookupFragmentTemplate()
1504 resultTemplate += "\t}\n"; in textureLookupFragmentTemplate()
1507 resultTemplate += in textureLookupFragmentTemplate()
1513 return resultTemplate; in textureLookupFragmentTemplate()
1560 const char* resultTemplate = in mandelbrotVertexTemplate() local
1583 return resultTemplate; in mandelbrotVertexTemplate()
1588 string resultTemplate = in mandelbrotFragmentTemplate() local
1617 return resultTemplate; in mandelbrotFragmentTemplate()