• Home
  • Raw
  • Download

Lines Matching refs:srcStrings

554 		const char*			  srcStrings[10];  in iterate()  local
563 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
564 srcStrings[i++] = "\n"; in iterate()
567 srcStrings[i++] = "out gl_PerVertex {\n" in iterate()
571 srcStrings[i++] = "in vec4 a_position;\n"; in iterate()
572 srcStrings[i++] = "void main ()\n"; in iterate()
573 srcStrings[i++] = "{\n"; in iterate()
574 srcStrings[i++] = " gl_Position = a_position;\n"; in iterate()
575 srcStrings[i++] = "}\n"; in iterate()
577 program = gl.createShaderProgramv(GL_VERTEX_SHADER, i, srcStrings); in iterate()
587 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
588 srcStrings[i++] = "\n"; in iterate()
591 srcStrings[i++] = "out gl_PerVertex {\n" in iterate()
595 srcStrings[i++] = "in vec4 a_position;\n" in iterate()
597 srcStrings[i++] = "{\n" in iterate()
599 srcStrings[i++] = "}\n"; in iterate()
601 program = gl.createShaderProgramv(GL_VERTEX_SHADER, i, srcStrings); in iterate()
611 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
612 srcStrings[i++] = "\nin highp vec4 u_color;\n"; in iterate()
613 srcStrings[i++] = "layout(location = 0) out mediump vec4 o_color;\n"; in iterate()
614 srcStrings[i++] = "void main ()\n"; in iterate()
615 srcStrings[i++] = "{\n"; in iterate()
616 srcStrings[i++] = " o_color = u_color;\n"; in iterate()
617 srcStrings[i++] = "}\n"; in iterate()
619 program = gl.createShaderProgramv(GL_FRAGMENT_SHADER, i, srcStrings); in iterate()
632 program = gl.createShaderProgramv(GL_MAX_FRAGMENT_UNIFORM_VECTORS, i, srcStrings); in iterate()
640 program = gl.createShaderProgramv(GL_FRAGMENT_SHADER, -1, srcStrings); in iterate()
649 srcStrings[i++] = glu::getGLSLVersionDeclaration(m_glslVersion); in iterate()
650 srcStrings[i++] = "\nin highp vec4 u_color;\n"; in iterate()
651 srcStrings[i++] = "layout(location = 0) out mediump vec4 o_color;\n"; in iterate()
652 srcStrings[i++] = "void main ()\n"; in iterate()
653 srcStrings[i++] = "{\n"; in iterate()
654 srcStrings[i++] = " o_color = u_color;\n"; in iterate()
656 program = gl.createShaderProgramv(GL_FRAGMENT_SHADER, i, srcStrings); in iterate()
2195 const char* srcStrings[1]; in iterate() local
2227 srcStrings[0] = vtx.c_str(); in iterate()
2228 programA = gl.createShaderProgramv(GL_VERTEX_SHADER, 1, srcStrings); in iterate()
2233 srcStrings[0] = frag2.c_str(); in iterate()
2234 programB = gl.createShaderProgramv(GL_FRAGMENT_SHADER, 1, srcStrings); in iterate()
2392 srcStrings[0] = frag2.c_str(); in iterate()
2393 programB = gl.createShaderProgramv(GL_FRAGMENT_SHADER, 1, srcStrings); in iterate()
2404 srcStrings[0] = frag.c_str(); // First frag shader with u_color uniform in iterate()
2405 gl.shaderSource(vshader, 1, srcStrings, NULL); in iterate()
2437 srcStrings[0] = noMain.c_str(); in iterate()
2438 gl.shaderSource(vshader, 1, srcStrings, NULL); in iterate()
2476 srcStrings[0] = vtx.c_str(); in iterate()
2477 programA = gl.createShaderProgramv(GL_VERTEX_SHADER, 1, srcStrings); in iterate()
2483 srcStrings[0] = frag.c_str(); in iterate()
2484 programB = gl.createShaderProgramv(GL_FRAGMENT_SHADER, 1, srcStrings); in iterate()
2669 const char* srcStrings[1]; in iterate() local
2738 srcStrings[0] = vtx.c_str(); in iterate()
2739 programA = gl.createShaderProgramv(GL_VERTEX_SHADER, 1, srcStrings); in iterate()
2744 srcStrings[0] = frag.c_str(); in iterate()
2745 programB = gl.createShaderProgramv(GL_FRAGMENT_SHADER, 1, srcStrings); in iterate()