Lines Matching refs:_program
154 GLuint _program;
229 glUseProgram(_program);
239 glDeleteProgram(_program);
240 _program = 0;
266 NSAssert(!_program, @"program already set up");
272 _program = CreateProgram(vertexShader, fragmentShader);
280 if (!_program) {
283 _position = glGetAttribLocation(_program, "position");
284 _texcoord = glGetAttribLocation(_program, "texcoord");
285 _ySampler = glGetUniformLocation(_program, "s_textureY");
286 _uSampler = glGetUniformLocation(_program, "s_textureU");
287 _vSampler = glGetUniformLocation(_program, "s_textureV");