Lines Matching refs:prog
24 PerspectiveProgram& prog = (PerspectiveProgram&) program; in before() local
26 int textureUniformHandle1 = glGetUniformLocation(prog.mProgramId, "u_Texture1"); in before()
27 int textureUniformHandle2 = glGetUniformLocation(prog.mProgramId, "u_Texture2"); in before()
28 int timeUniformHandle = glGetUniformLocation(prog.mProgramId, "u_Time"); in before()
29 int positionHandle = glGetAttribLocation(prog.mProgramId, "a_Position"); in before()
30 int texCoordHandle = glGetAttribLocation(prog.mProgramId, "a_TexCoordinate"); in before()
49 prog.mMVMatrix.multiply(view, model); in before()
52 glUniformMatrix4fv(prog.mMVMatrixHandle, 1, false, prog.mMVMatrix.mData); in before()
56 prog.mMVPMatrix.multiply(projection, prog.mMVMatrix); in before()
59 glUniformMatrix4fv(prog.mMVPMatrixHandle, 1, false, prog.mMVPMatrix.mData); in before()
62 glUniform3f(prog.mLightPosHandle, prog.mLightPosInEyeSpace[0], prog.mLightPosInEyeSpace[1], in before()
63 prog.mLightPosInEyeSpace[2]); in before()