Searched refs:prog (Results 1 – 1 of 1) sorted by relevance
/hardware/libhardware/tests/hwc/ |
D | util.c | 76 GLuint vert, frag, prog; in load_program() local 83 if (!(prog = glCreateProgram())) in load_program() 86 glAttachShader(prog, vert); in load_program() 87 glAttachShader(prog, frag); in load_program() 88 glLinkProgram(prog); in load_program() 90 glGetProgramiv(prog, GL_LINK_STATUS, &status); in load_program() 92 return prog; in load_program() 94 glGetProgramiv(prog, GL_INFO_LOG_LENGTH, &len); in load_program() 98 glGetProgramInfoLog(prog, len, NULL, buf); in load_program() 104 glDeleteProgram(prog); in load_program()
|