Home | History | Annotate | Download | only in functional

Lines Matching refs:vtx

278 	std::ostringstream vtx;
280 std::ostringstream& op = isVertexCase ? vtx : frag;
282 vtx << "attribute highp vec4 a_position;\n";
283 vtx << "attribute highp vec4 a_coords;\n";
286 vtx << "attribute mediump float a_one;\n";
290 vtx << "varying mediump vec3 v_color;\n";
295 vtx << "varying mediump vec4 v_coords;\n";
300 vtx << "varying mediump float v_one;\n";
323 vtx << "\n";
324 vtx << "void main()\n";
325 vtx << "{\n";
326 vtx << " gl_Position = a_position;\n";
333 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
342 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
349 vtx << " ${COUNTER_PRECISION} float one = a_one;\n";
438 vtx << " v_color = res.rgb;\n";
443 vtx << " v_coords = a_coords;\n";
447 vtx << " v_one = a_one;\n";
450 vtx << "}\n";
459 StringTemplate vertTemplate(vtx.str().c_str());
486 std::ostringstream vtx;
488 std::ostringstream& op = isVertexCase ? vtx : frag;
490 vtx << "attribute highp vec4 a_position;\n";
491 vtx << "attribute highp vec4 a_coords;\n";
494 vtx << "attribute mediump float a_one;\n";
499 vtx << "varying mediump vec3 v_color;\n";
504 vtx << "varying mediump vec4 v_coords;\n";
509 vtx << "varying mediump float v_one;\n";
530 vtx << "\n";
531 vtx << "void main()\n";
532 vtx << "{\n";
533 vtx << " gl_Position = a_position;\n";
542 vtx << " ${COUNTER_PRECISION} int one = int(a_one + 0.5);\n";
548 vtx << " ${PRECISION} vec4 coords = a_coords;\n";
1169 vtx << " v_color = res.rgb;\n";
1174 vtx << " v_coords = a_coords;\n";
1178 vtx << " v_one = a_one;\n";
1181 vtx << "}\n";
1226 StringTemplate vertTemplate(vtx.str().c_str());