Lines Matching full:program

2  * drawElements Quality Program OpenGL ES 2.0 Module
100 GLuint program = glCreateProgram(); in init()
101 glShaderSource(program, 0, 0, 0); in init()
105 glDeleteProgram(program); in init()
123 GLuint program = glCreateProgram(); in init()
124 glCompileShader(program); in init()
128 glDeleteProgram(program); in init()
149 GLuint program = glCreateProgram(); in init()
176 glShaderBinary(1, &program, binaryFormats[0], 0, 0); in init()
191 glDeleteProgram(program); in init()
198 GLuint program = glCreateProgram(); in init()
200 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
206 glAttachShader(program, program); in init()
208 glAttachShader(shader1, program); in init()
213 …"", "GL_INVALID_VALUE is generated if either program or shader is not a value generated by OpenGL.… in init()
214 glAttachShader(program, -1); in init()
223 … "GL_INVALID_OPERATION is generated if shader is already attached to program, or if " in init()
224 … "another shader object of the same type as shader is already attached to program."); in init()
225 glAttachShader(program, shader1); in init()
227 glAttachShader(program, shader1); in init()
229 glAttachShader(program, shader2); in init()
233 glDeleteProgram(program); in init()
239 GLuint program = glCreateProgram(); in init()
242 …"", "GL_INVALID_VALUE is generated if either program or shader is not a value generated by OpenGL.… in init()
245 glDetachShader(program, -1); in init()
251 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
257 glDetachShader(program, program); in init()
259 glDetachShader(shader, program); in init()
263 …<< TestLog::Section("", "GL_INVALID_OPERATION is generated if shader is not attached to program."); in init()
264 glDetachShader(program, shader); in init()
268 glDeleteProgram(program); in init()
274 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
279 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
290 … "", "GL_INVALID_VALUE is generated if program is neither 0 nor a value generated by OpenGL."); in init()
295 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
304 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
311 glu::ShaderProgram program(m_context.getRenderContext(), in init()
313 glUseProgram(program.getProgram()); in init()
315 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
320 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
326 "of active attribute variables in program."); in init()
327 glGetActiveAttrib(program.getProgram(), 0, 0, 0, 0, 0, 0); in init()
332 glGetActiveAttrib(program.getProgram(), 0, -1, 0, 0, 0, 0); in init()
342 glu::ShaderProgram program(m_context.getRenderContext(), in init()
345 …m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program has not been successfu… in init()
351 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a program or shader… in init()
352 glUseProgram(program.getProgram()); in init()
353 glBindAttribLocation(program.getProgram(), 0, "test"); in init()
355 glGetAttribLocation(program.getProgram(), "test"); in init()
361 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
373 glu::ShaderProgram program(m_context.getRenderContext(), in init()
376 …m_log << TestLog::Section("", "GL_INVALID_OPERATION is generated if program has not been successfu… in init()
381 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
382 glUseProgram(program.getProgram()); in init()
387 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
397 GLuint program = glCreateProgram(); in init()
403 glBindAttribLocation(program, maxIndex, "test"); in init()
409 glBindAttribLocation(program, maxIndex - 1, "gl_test"); in init()
413 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
418 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
423 glDeleteProgram(program); in init()
428 glu::ShaderProgram program(m_context.getRenderContext(), in init()
431 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
436 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
442 "of active attribute variables in program."); in init()
443 glUseProgram(program.getProgram()); in init()
444 glGetActiveUniform(program.getProgram(), 5, 0, 0, 0, 0, 0); in init()
449 glGetActiveUniform(program.getProgram(), 0, -1, 0, 0, 0, 0); in init()
459 …m_log << TestLog::Section("", "GL_INVALID_VALUE is generated if program is not a value generated b… in init()
464 …g << TestLog::Section("", "GL_INVALID_OPERATION is generated if program is not a program object."); in init()
485 …::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object."); in init()
498 glu::ShaderProgram program(m_context.getRenderContext(), in init()
500 glUseProgram(program.getProgram()); in init()
501 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
502 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
503 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
514 glUseProgram(program.getProgram()); in init()
528 glUseProgram(program.getProgram()); in init()
535 glUseProgram(program.getProgram()); in init()
543 glu::ShaderProgram program(m_context.getRenderContext(), in init()
545 glUseProgram(program.getProgram()); in init()
548 … "location for the current program object and location is not equal to -1."); in init()
549 glUseProgram(program.getProgram()); in init()
559 glUseProgram(program.getProgram()); in init()
578 …::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object."); in init()
591 glu::ShaderProgram program(m_context.getRenderContext(), in init()
593 glUseProgram(program.getProgram()); in init()
594 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
595 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
596 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
609 glUseProgram(program.getProgram()); in init()
623 glUseProgram(program.getProgram()); in init()
630 glUseProgram(program.getProgram()); in init()
638 glu::ShaderProgram program(m_context.getRenderContext(), in init()
640 glUseProgram(program.getProgram()); in init()
645 … "location for the current program object and location is not equal to -1."); in init()
646 glUseProgram(program.getProgram()); in init()
656 glUseProgram(program.getProgram()); in init()
670 glu::ShaderProgram program(m_context.getRenderContext(), in init()
672 glUseProgram(program.getProgram()); in init()
673 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
685 glUseProgram(program.getProgram()); in init()
702 …::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object."); in init()
715 glu::ShaderProgram program(m_context.getRenderContext(), in init()
717 glUseProgram(program.getProgram()); in init()
718 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
719 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
720 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
731 glUseProgram(program.getProgram()); in init()
745 glUseProgram(program.getProgram()); in init()
753 glu::ShaderProgram program(m_context.getRenderContext(), in init()
755 glUseProgram(program.getProgram()); in init()
758 … "location for the current program object and location is not equal to -1."); in init()
759 glUseProgram(program.getProgram()); in init()
769 glUseProgram(program.getProgram()); in init()
788 …::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object."); in init()
801 glu::ShaderProgram program(m_context.getRenderContext(), in init()
803 glUseProgram(program.getProgram()); in init()
804 GLint vUnif = glGetUniformLocation(program.getProgram(), "vTest"); // vec4 in init()
805 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
806 GLint fSampler = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
819 glUseProgram(program.getProgram()); in init()
833 glUseProgram(program.getProgram()); in init()
841 glu::ShaderProgram program(m_context.getRenderContext(), in init()
843 glUseProgram(program.getProgram()); in init()
848 … "location for the current program object and location is not equal to -1."); in init()
849 glUseProgram(program.getProgram()); in init()
859 glUseProgram(program.getProgram()); in init()
873 glu::ShaderProgram program(m_context.getRenderContext(), in init()
875 glUseProgram(program.getProgram()); in init()
876 GLint fUnif = glGetUniformLocation(program.getProgram(), "fTest"); // ivec4 in init()
888 glUseProgram(program.getProgram()); in init()
907 …::TestLog::Section("", "GL_INVALID_OPERATION is generated if there is no current program object."); in init()
918 glu::ShaderProgram program(m_context.getRenderContext(), in init()
920 glUseProgram(program.getProgram()); in init()
921 GLint vMatUnif = glGetUniformLocation(program.getProgram(), "vMatrix"); // mat4 in init()
922 GLint fSamplerUnif = glGetUniformLocation(program.getProgram(), "fSampler"); // sampler2D in init()
924 m_log << program; in init()
937 glUseProgram(program.getProgram()); in init()
948 glUseProgram(program.getProgram()); in init()
956 glu::ShaderProgram program(m_context.getRenderContext(), in init()
958 glUseProgram(program.getProgram()); in init()
960 m_log << program; in init()
965 … "location for the current program object and location is not equal to -1."); in init()
966 glUseProgram(program.getProgram()); in init()
974 glUseProgram(program.getProgram()); in init()
986 glu::ShaderProgram program(m_context.getRenderContext(), in init()
988 glUseProgram(program.getProgram()); in init()
989 GLint vMatUnif = glGetUniformLocation(program.getProgram(), "vMatrix"); // mat4 in init()
991 m_log << program; in init()
1003 glUseProgram(program.getProgram()); in init()
1021 glu::ShaderProgram program(m_context.getRenderContext(), in init()
1023 glUseProgram(program.getProgram()); in init()
1025 m_log << program; in init()
1030 glUseProgram(program.getProgram()); in init()