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 glBindAttribLocation(programId, shadowColor, "shadowColor"); in Program()
41 glBindAttribLocation(programId, shadowParams, "shadowParams"); in Program()
42 glLinkProgram(programId); in Program()
45 glGetProgramiv(programId, GL_LINK_STATUS, &status); in Program()
49 glGetProgramiv(programId, GL_INFO_LOG_LENGTH, &infoLen); in Program()
52 glGetProgramInfoLog(programId, infoLen, 0, &log[0]); in Program()
55 glDetachShader(programId, vertexId); in Program()
56 glDetachShader(programId, fragmentId); in Program()
59 glDeleteProgram(programId); in Program()
61 mProgram = programId; in Program()
65 mProjectionMatrixLoc = glGetUniformLocation(programId, "projection"); in Program()
66 mTextureMatrixLoc = glGetUniformLocation(programId, "texture"); in Program()
67 mSamplerLoc = glGetUniformLocation(programId, "sampler"); in Program()
68 mColorLoc = glGetUniformLocation(programId, "color"); in Program()
69 mDisplayColorMatrixLoc = glGetUniformLocation(programId, "displayColorMatrix"); in Program()
70 mDisplayMaxLuminanceLoc = glGetUniformLocation(programId, "displayMaxLuminance"); in Program()
71 mMaxMasteringLuminanceLoc = glGetUniformLocation(programId, "maxMasteringLuminance"); in Program()
72 mMaxContentLuminanceLoc = glGetUniformLocation(programId, "maxContentLuminance"); in Program()
73 mInputTransformMatrixLoc = glGetUniformLocation(programId, "inputTransformMatrix"); in Program()
74 mOutputTransformMatrixLoc = glGetUniformLocation(programId, "outputTransformMatrix"); in Program()
75 mCornerRadiusLoc = glGetUniformLocation(programId, "cornerRadius"); in Program()
76 mCropCenterLoc = glGetUniformLocation(programId, "cropCenter"); in Program()
79 glUseProgram(programId); in Program()