Lines Matching refs:frag
191 std::ostringstream frag;
192 std::ostringstream& op = isVertexCase ? vtx : frag;
208 frag << "varying mediump vec4 v_color;\n";
214 frag << "varying mediump vec4 v_value0;\n";
215 frag << "varying mediump vec4 v_value1;\n";
220 frag << "varying mediump float v_compareValue;\n";
229 frag << "\n";
230 frag << "void main()\n";
231 frag << "{\n";
269 frag << " gl_FragColor = v_color;\n";
279 frag << " gl_FragColor = res;\n"; // Put result to color variable.
283 frag << "}\n";
286 m_fragShaderSource = frag.str();
467 std::ostringstream frag;
468 std::ostringstream& op = isVertexCase ? vtx : frag;
483 frag << "varying mediump vec4 v_color;\n";
488 frag << "varying mediump vec4 v_value;\n";
493 frag << "varying mediump float v_bound;\n";
502 frag << "\n";
503 frag << "void main()\n";
504 frag << "{\n";
547 frag << " gl_FragColor = v_color;\n";
556 frag << " gl_FragColor = res;\n"; // Put result to color variable.
560 frag << "}\n";
563 m_fragShaderSource = frag.str();
695 std::ostringstream frag;
696 std::ostringstream& op = isVertexCase ? vtx : frag;
705 frag << "varying mediump vec4 v_color;\n";
710 frag << "varying mediump vec4 v_value;\n";
718 frag << "\n";
719 frag << "void main()\n";
720 frag << "{\n";
729 frag << " gl_FragColor = v_color;\n";
734 frag << " gl_FragColor = res;\n"; // Put result to color variable.
738 frag << "}\n";
741 m_fragShaderSource = frag.str();