• Home
  • Raw
  • Download

Lines Matching refs:program

119 			GLuint program = glCreateProgram();  in init()
120 glShaderSource(program, 0, 0, 0); in init()
124 glDeleteProgram(program); in init()
137 GLuint program = glCreateProgram(); in init()
138 glCompileShader(program); in init()
142 glDeleteProgram(program); in init()
191 GLuint program = glCreateProgram(); in init()
199 glAttachShader(program, program); in init()
201 glAttachShader(shader1, program); in init()
206 glAttachShader(program, -1); in init()
215 glAttachShader(program, shader1); in init()
217 glAttachShader(program, shader1); in init()
222 glAttachShader(program, shader2); in init()
226 glDeleteProgram(program); in init()
233 GLuint program = glCreateProgram(); in init()
238 glDetachShader(program, -1); in init()
250 glDetachShader(program, program); in init()
252 glDetachShader(shader, program); in init()
257 glDetachShader(program, shader); in init()
261 glDeleteProgram(program); in init()
281 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
289 glUseProgram (program.getProgram()); in init()
290 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
291 glLinkProgram (program.getProgram()); in init()
299 glLinkProgram (program.getProgram()); in init()
383 …glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShade… in init()
392 glGetProgramiv (program.getProgram(), GL_PROGRAM_BINARY_LENGTH, &bufSize); in init()
394 glGetProgramiv (program.getProgram(), GL_LINK_STATUS, &linkStatus); in init()
399 glGetProgramBinary (program.getProgram(), 0, &binaryLength, &binaryFormat, &binaryPtr); in init()
403 glGetProgramBinary (program.getProgram(), bufSize-1, &binaryLength, &binaryFormat, &binaryPtr); in init()
460 GLuint program = glCreateProgram(); in init()
468 glProgramParameteri (program, -1, GL_TRUE); in init()
473 glProgramParameteri (program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, 2); in init()
477 glDeleteProgram(program); in init()
635 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
644 glUseProgram (program.getProgram()); in init()
645 glBindAttribLocation (program.getProgram(), 0, "test"); in init()
647 glGetAttribLocation (program.getProgram(), "test"); in init()
667 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSourc… in init()
675 glUseProgram(program.getProgram()); in init()
691 GLuint program = glCreateProgram(); in init()
696 glBindAttribLocation(program, maxIndex, "test"); in init()
701 glBindAttribLocation(program, maxIndex-1, "gl_test"); in init()
715 glDeleteProgram(program); in init()
720 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformBlockVertS… in init()
722 glUseProgram (program.getProgram()); in init()
728 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORMS, &numActiveUniforms); in init()
729 glGetProgramiv (program.getProgram(), GL_ACTIVE_UNIFORM_BLOCKS, &numActiveBlocks); in init()
736 glUniformBlockBinding(program.getProgram(), -1, 0); in init()
738 glUniformBlockBinding(program.getProgram(), 5, 0); in init()
743 glUniformBlockBinding(program.getProgram(), maxUniformBufferBindings, 0); in init()
771 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
773 glUseProgram(program.getProgram()); in init()
774 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
775 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
776 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
777 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
787 glUseProgram(program.getProgram()); in init()
799 glUseProgram(program.getProgram()); in init()
807 glUseProgram(program.getProgram()); in init()
816 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
818 glUseProgram(program.getProgram()); in init()
822 glUseProgram(program.getProgram()); in init()
832 glUseProgram(program.getProgram()); in init()
866 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
868 glUseProgram(program.getProgram()); in init()
869 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
870 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
871 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
872 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
884 glUseProgram(program.getProgram()); in init()
896 glUseProgram(program.getProgram()); in init()
904 glUseProgram(program.getProgram()); in init()
913 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
915 glUseProgram(program.getProgram()); in init()
921 glUseProgram(program.getProgram()); in init()
931 glUseProgram(program.getProgram()); in init()
946 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
948 glUseProgram (program.getProgram()); in init()
949 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
961 glUseProgram(program.getProgram()); in init()
993 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
995 glUseProgram(program.getProgram()); in init()
996 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
997 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
998 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
999 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
1009 glUseProgram(program.getProgram()); in init()
1021 glUseProgram(program.getProgram()); in init()
1033 glUseProgram(program.getProgram()); in init()
1048 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1050 glUseProgram(program.getProgram()); in init()
1054 glUseProgram(program.getProgram()); in init()
1064 glUseProgram(program.getProgram()); in init()
1098 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1100 glUseProgram(program.getProgram()); in init()
1101 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
1102 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
1103 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
1104 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
1116 glUseProgram(program.getProgram()); in init()
1128 glUseProgram(program.getProgram()); in init()
1140 glUseProgram(program.getProgram()); in init()
1155 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1157 glUseProgram(program.getProgram()); in init()
1163 glUseProgram(program.getProgram()); in init()
1173 glUseProgram(program.getProgram()); in init()
1188 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1190 glUseProgram (program.getProgram()); in init()
1191 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
1203 glUseProgram(program.getProgram()); in init()
1235 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1237 glUseProgram(program.getProgram()); in init()
1238 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
1239 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
1240 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
1241 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
1251 glUseProgram(program.getProgram()); in init()
1263 glUseProgram(program.getProgram()); in init()
1275 glUseProgram(program.getProgram()); in init()
1287 glUseProgram(program.getProgram()); in init()
1296 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1298 glUseProgram(program.getProgram()); in init()
1302 glUseProgram(program.getProgram()); in init()
1312 glUseProgram(program.getProgram()); in init()
1346 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1348 glUseProgram(program.getProgram()); in init()
1349 GLint vec4_v = glGetUniformLocation(program.getProgram(), "vec4_v"); // vec4 in init()
1350 GLint ivec4_f = glGetUniformLocation(program.getProgram(), "ivec4_f"); // ivec4 in init()
1351 GLint uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
1352 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
1364 glUseProgram(program.getProgram()); in init()
1376 glUseProgram(program.getProgram()); in init()
1388 glUseProgram(program.getProgram()); in init()
1400 glUseProgram(program.getProgram()); in init()
1409 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1411 glUseProgram(program.getProgram()); in init()
1417 glUseProgram(program.getProgram()); in init()
1427 glUseProgram(program.getProgram()); in init()
1442 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1444 glUseProgram (program.getProgram()); in init()
1445 int uvec4_f = glGetUniformLocation(program.getProgram(), "uvec4_f"); // uvec4 in init()
1457 glUseProgram(program.getProgram()); in init()
1503 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1505 glUseProgram (program.getProgram()); in init()
1506 GLint mat4_v = glGetUniformLocation(program.getProgram(), "mat4_v"); // mat4 in init()
1507 GLint sampler_f = glGetUniformLocation(program.getProgram(), "sampler_f"); // sampler2D in init()
1519 glUseProgram(program.getProgram()); in init()
1542 glUseProgram(program.getProgram()); in init()
1568 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1570 glUseProgram(program.getProgram()); in init()
1576 glUseProgram(program.getProgram()); in init()
1597 glUseProgram(program.getProgram()); in init()
1623 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(uniformTestVertSo… in init()
1625 glUseProgram (program.getProgram()); in init()
1626 GLint mat4_v = glGetUniformLocation(program.getProgram(), "mat4_v"); // mat4 in init()
1638 glUseProgram(program.getProgram()); in init()
1676 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
1689 glUseProgram (program.getProgram()); in init()
1690 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1691 glLinkProgram (program.getProgram()); in init()
1726 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
1733 glUseProgram (program.getProgram()); in init()
1734 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1735 glLinkProgram (program.getProgram()); in init()
1765 glUseProgram (program.getProgram()); in init()
1769 glTransformFeedbackVaryings (program.getProgram(), 0, 0, GL_INTERLEAVED_ATTRIBS); in init()
1782 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
1789 glUseProgram (program.getProgram()); in init()
1790 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1791 glLinkProgram (program.getProgram()); in init()
1816 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
1823 glUseProgram (program.getProgram()); in init()
1824 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1825 glLinkProgram (program.getProgram()); in init()
1851 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSou… in init()
1858 glUseProgram (program.getProgram()); in init()
1859 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1860 glLinkProgram (program.getProgram()); in init()
1882 …glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderS… in init()
1894 glTransformFeedbackVaryings (program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in init()
1896 glLinkProgram (program.getProgram()); in init()
1908 …glGetProgramiv (program.getProgram(), GL_TRANSFORM_FEEDBACK_VARYINGS, &maxTransformFeedbackVar… in init()
1909 …glGetTransformFeedbackVarying (program.getProgram(), maxTransformFeedbackVaryings, 32, &length, &s… in init()
1924 …glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSour… in init()
1938 …glTransformFeedbackVaryings (program.getProgram(), maxTransformFeedbackSeparateAttribs+1, &tfVary… in init()