Lines Matching refs:program
101 GLuint program = glCreateProgram(); in init()
102 glShaderSource(program, 0, 0, 0); in init()
106 glDeleteProgram(program); in init()
124 GLuint program = glCreateProgram(); in init()
125 glCompileShader(program); in init()
129 glDeleteProgram(program); in init()
152 GLuint program = glCreateProgram(); in init()
176 glShaderBinary(1, &program, binaryFormats[0], 0, 0); in init()
190 glDeleteProgram(program); in init()
198 GLuint program = glCreateProgram(); in init()
206 glAttachShader(program, program); in init()
208 glAttachShader(shader1, program); in init()
213 glAttachShader(program, -1); in init()
222 glAttachShader(program, shader1); in init()
224 glAttachShader(program, shader1); in init()
226 glAttachShader(program, shader2); in init()
230 glDeleteProgram(program); in init()
237 GLuint program = glCreateProgram(); in init()
242 glDetachShader(program, -1); in init()
254 glDetachShader(program, program); in init()
256 glDetachShader(shader, program); in init()
261 glDetachShader(program, shader); in init()
265 glDeleteProgram(program); in init()
311 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
312 glUseProgram(program.getProgram()); in init()
325 glGetActiveAttrib(program.getProgram(), 0, 0, 0, 0, 0, 0); in init()
330 glGetActiveAttrib(program.getProgram(), 0, -1, 0, 0, 0, 0); in init()
341 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
350 glUseProgram(program.getProgram()); in init()
351 glBindAttribLocation(program.getProgram(), 0, "test"); in init()
353 glGetAttribLocation(program.getProgram(), "test"); in init()
372 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
380 glUseProgram(program.getProgram()); in init()
396 GLuint program = glCreateProgram(); in init()
401 glBindAttribLocation(program, maxIndex, "test"); in init()
406 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
420 glDeleteProgram(program); in init()
426 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
439 glUseProgram(program.getProgram()); in init()
440 glGetActiveUniform(program.getProgram(), 5, 0, 0, 0, 0, 0); in init()
445 glGetActiveUniform(program.getProgram(), 0, -1, 0, 0, 0, 0); in init()
498 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
499 glUseProgram(program.getProgram()); in init()
500 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
501 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
502 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
511 glUseProgram(program.getProgram()); in init()
523 glUseProgram(program.getProgram()); in init()
529 glUseProgram(program.getProgram()); in init()
538 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
539 glUseProgram(program.getProgram()); in init()
542 glUseProgram(program.getProgram()); in init()
552 glUseProgram(program.getProgram()); in init()
586 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
587 glUseProgram(program.getProgram()); in init()
588 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
589 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
590 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
601 glUseProgram(program.getProgram()); in init()
613 glUseProgram(program.getProgram()); in init()
619 glUseProgram(program.getProgram()); in init()
628 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
629 glUseProgram(program.getProgram()); in init()
634 glUseProgram(program.getProgram()); in init()
644 glUseProgram(program.getProgram()); in init()
659 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
660 glUseProgram(program.getProgram()); in init()
661 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
672 glUseProgram(program.getProgram()); in init()
704 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
705 glUseProgram(program.getProgram()); in init()
706 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
707 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
708 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
717 glUseProgram(program.getProgram()); in init()
729 glUseProgram(program.getProgram()); in init()
738 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
739 glUseProgram(program.getProgram()); in init()
742 glUseProgram(program.getProgram()); in init()
752 glUseProgram(program.getProgram()); in init()
786 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
787 glUseProgram(program.getProgram()); in init()
788 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
789 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
790 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
801 glUseProgram(program.getProgram()); in init()
813 glUseProgram(program.getProgram()); in init()
822 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
823 glUseProgram(program.getProgram()); in init()
828 glUseProgram(program.getProgram()); in init()
838 glUseProgram(program.getProgram()); in init()
853 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
854 glUseProgram(program.getProgram()); in init()
855 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
866 glUseProgram(program.getProgram()); in init()
898 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
899 glUseProgram(program.getProgram()); in init()
900 GLint vMatUnif = glGetUniformLocation(program.getProgram(), "vMatrix"); // mat4 in init()
901 GLint fSamplerUnif = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
903 m_log << program; in init()
914 glUseProgram(program.getProgram()); in init()
924 glUseProgram(program.getProgram()); in init()
933 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
934 glUseProgram(program.getProgram()); in init()
936 m_log << program; in init()
941 glUseProgram(program.getProgram()); in init()
949 glUseProgram(program.getProgram()); in init()
962 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
963 glUseProgram(program.getProgram()); in init()
964 GLint vMatUnif = glGetUniformLocation(program.getProgram(), "vMatrix"); // mat4 in init()
966 m_log << program; in init()
978 glUseProgram(program.getProgram()); in init()
997 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
998 glUseProgram(program.getProgram()); in init()
1000 m_log << program; in init()
1005 glUseProgram(program.getProgram()); in init()