Lines Matching refs:prog
24 PerspectiveProgram& prog = (PerspectiveProgram&) program; in before() local
26 int textureUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Texture"); in before()
27 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
28 int normalHandle = glGetAttribLocation(prog.mProgramId, "a_Normal"); in before()
29 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
45 prog.mMVMatrix.multiply(view, model); in before()
48 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
52 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
55 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
58 glUniform3f(prog.mLightPosHandle, prog.mLightPosInEyeSpace[0], prog.mLightPosInEyeSpace[1], in before()
59 prog.mLightPosInEyeSpace[2]); in before()