• Home
  • Raw
  • Download

Lines Matching refs:frag

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