Lines Matching refs:programId
32 GLuint programId = glCreateProgram(); in Program() local
33 glAttachShader(programId, vertexId); in Program()
34 glAttachShader(programId, fragmentId); in Program()
35 glBindAttribLocation(programId, position, "position"); in Program()
36 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
37 glLinkProgram(programId); in Program()
40 glGetProgramiv(programId, GL_LINK_STATUS, &status); in Program()
44 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
47 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
50 glDetachShader(programId, vertexId); in Program()
51 glDetachShader(programId, fragmentId); in Program()
54 glDeleteProgram(programId); in Program()
56 mProgram = programId; in Program()
61 mColorMatrixLoc = glGetUniformLocation(programId, "colorMatrix"); in Program()
62 mProjectionMatrixLoc = glGetUniformLocation(programId, "projection"); in Program()
63 mTextureMatrixLoc = glGetUniformLocation(programId, "texture"); in Program()
64 mSamplerLoc = glGetUniformLocation(programId, "sampler"); in Program()
65 mColorLoc = glGetUniformLocation(programId, "color"); in Program()
66 mAlphaPlaneLoc = glGetUniformLocation(programId, "alphaPlane"); in Program()
69 glUseProgram(programId); in Program()