Home | History | Annotate | Download | only in functional

Lines Matching refs:vtx

75 	std::ostringstream vtx;
77 std::ostringstream& op = isVertexCase ? vtx : frag;
79 vtx << "attribute highp vec4 a_position;\n";
80 vtx << "attribute highp vec4 a_unitCoords;\n";
84 vtx << "varying mediump vec3 v_color;\n";
89 vtx << "varying mediump vec4 v_coords;\n";
95 vtx << "\n";
96 vtx << "void main()\n";
97 vtx << "{\n";
98 vtx << " gl_Position = a_position;\n";
115 vtx << " v_color = res;\n";
120 vtx << " v_coords = a_unitCoords;\n";
124 vtx << "}\n";
131 StringTemplate vertTemplate(vtx.str().c_str());