Lines Matching refs:program
466 GLuint program = glCreateProgram(); in createProgram() local
468 if (program) { in createProgram()
469 glAttachShader(program, vertexShader); in createProgram()
471 glAttachShader(program, fragmentShader); in createProgram()
473 glLinkProgram(program); in createProgram()
475 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
478 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
482 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
487 glDeleteProgram(program); in createProgram()
488 program = 0; in createProgram()
493 ASSERT(program != 0); in createProgram()
494 *outPgm = program; in createProgram()