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