Home | History | Annotate | Download | only in performance

Lines Matching refs:frag

191 	std::ostringstream	frag;
192 std::ostringstream& op = isVertexCase ? vtx : frag;
199 frag << "#version 300 es\n";
200 frag << "layout(location = 0) out mediump vec4 o_color;\n";
212 frag << "in mediump vec4 v_color;\n";
218 frag << "in mediump vec4 v_value0;\n";
219 frag << "in mediump vec4 v_value1;\n";
224 frag << "in mediump float v_compareValue;\n";
233 frag << "\n";
234 frag << "void main()\n";
235 frag << "{\n";
273 frag << " o_color = v_color;\n";
283 frag << " o_color = res;\n"; // Put result to color variable.
287 frag << "}\n";
290 m_fragShaderSource = frag.str();
471 std::ostringstream frag;
472 std::ostringstream& op = isVertexCase ? vtx : frag;
478 frag << "#version 300 es\n";
479 frag << "layout(location = 0) out mediump vec4 o_color;\n";
491 frag << "in mediump vec4 v_color;\n";
496 frag << "in mediump vec4 v_value;\n";
501 frag << "in mediump float v_bound;\n";
510 frag << "\n";
511 frag << "void main()\n";
512 frag << "{\n";
555 frag << " o_color = v_color;\n";
564 frag << " o_color = res;\n"; // Put result to color variable.
568 frag << "}\n";
571 m_fragShaderSource = frag.str();
703 std::ostringstream frag;
704 std::ostringstream& op = isVertexCase ? vtx : frag;
710 frag << "#version 300 es\n";
711 frag << "layout(location = 0) out mediump vec4 o_color;\n";
717 frag << "in mediump vec4 v_color;\n";
722 frag << "in mediump vec4 v_value;\n";
730 frag << "\n";
731 frag << "void main()\n";
732 frag << "{\n";
741 frag << " o_color = v_color;\n";
746 frag << " o_color = res;\n"; // Put result to color variable.
750 frag << "}\n";
753 m_fragShaderSource = frag.str();