Lines Matching refs:programId

34     GLuint programId = glCreateProgram();  in Program()  local
35 glAttachShader(programId, vertexId); in Program()
36 glAttachShader(programId, fragmentId); in Program()
37 glBindAttribLocation(programId, position, "position"); in Program()
38 glBindAttribLocation(programId, texCoords, "texCoords"); in Program()
39 glBindAttribLocation(programId, cropCoords, "cropCoords"); in Program()
40 glLinkProgram(programId); in Program()
43 glGetProgramiv(programId, GL_LINK_STATUS, &status); in Program()
47 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
50 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
53 glDetachShader(programId, vertexId); in Program()
54 glDetachShader(programId, fragmentId); in Program()
57 glDeleteProgram(programId); in Program()
59 mProgram = programId; in Program()
63 mProjectionMatrixLoc = glGetUniformLocation(programId, "projection"); in Program()
64 mTextureMatrixLoc = glGetUniformLocation(programId, "texture"); in Program()
65 mSamplerLoc = glGetUniformLocation(programId, "sampler"); in Program()
66 mColorLoc = glGetUniformLocation(programId, "color"); in Program()
67 mDisplayMaxLuminanceLoc = glGetUniformLocation(programId, "displayMaxLuminance"); in Program()
68 mInputTransformMatrixLoc = glGetUniformLocation(programId, "inputTransformMatrix"); in Program()
69 mOutputTransformMatrixLoc = glGetUniformLocation(programId, "outputTransformMatrix"); in Program()
70 mCornerRadiusLoc = glGetUniformLocation(programId, "cornerRadius"); in Program()
71 mCropCenterLoc = glGetUniformLocation(programId, "cropCenter"); in Program()
74 glUseProgram(programId); in Program()