Lines Matching refs:program
193 GLuint program = glCreateProgram();
194 glAttachShader(program, vertex_shader);
196 glAttachShader(program, fragment_shader);
198 glLinkProgram(program);
201 glGetProgramiv(program, GL_LINK_STATUS, &link_status);
203 glDeleteProgram(program);
204 program = 0;
206 ASSERT_NE(program, GLuint(0));
224 GLint position_location = glGetAttribLocation(program, "a_position");
229 glUseProgram(program);
230 glUniform4fv(glGetUniformLocation(program, "u_color"), 1, kDrawColor);
319 glDeleteProgram(program);