Lines Matching defs:program
331 void logProgramInfo(NegativeTestContext& ctx, GLint program)
337 ctx.glGetProgramiv(program, GL_INFO_LOG_LENGTH, &maxLength);
350 ctx.glGetProgramInfoLog(program, maxLength, &maxLength, &infoLog[0]);
395 GLint program;
402 program = ctx.glCreateProgram();
421 // attach shaders to program and attempt to link
422 ctx.glAttachShader(program, shaderVertexGL);
423 ctx.glAttachShader(program, shaderFragmentGL);
424 ctx.glLinkProgram(program);
425 ctx.glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
427 logProgramInfo(ctx, program);
436 ctx.glDeleteProgram(program);
499 GLint program;
506 program = ctx.glCreateProgram();
525 // attach shaders to the program and attempt to link
526 ctx.glAttachShader(program, shaderVertexGL);
527 ctx.glAttachShader(program, shaderFragmentGL);
528 ctx.glLinkProgram(program);
529 ctx.glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
531 logProgramInfo(ctx, program);
540 ctx.glDeleteProgram(program);