Lines Matching refs:mProgram

182       mProgram(0),  in TextureDraw()
200 mProgram = s_gles2.glCreateProgram(); in TextureDraw()
201 s_gles2.glAttachShader(mProgram, mVertexShader); in TextureDraw()
202 s_gles2.glAttachShader(mProgram, mFragmentShader); in TextureDraw()
205 s_gles2.glLinkProgram(mProgram); in TextureDraw()
206 s_gles2.glGetProgramiv(mProgram, GL_LINK_STATUS, &success); in TextureDraw()
210 mProgram, sizeof(messages), 0, &messages[0]); in TextureDraw()
212 s_gles2.glDeleteProgram(mProgram); in TextureDraw()
213 mProgram = 0; in TextureDraw()
217 s_gles2.glUseProgram(mProgram); in TextureDraw()
220 mPositionSlot = s_gles2.glGetAttribLocation(mProgram, "position"); in TextureDraw()
223 mInCoordSlot = s_gles2.glGetAttribLocation(mProgram, "inCoord"); in TextureDraw()
226 mAlpha = s_gles2.glGetUniformLocation(mProgram, "alpha"); in TextureDraw()
227 mComposeMode = s_gles2.glGetUniformLocation(mProgram, "composeMode"); in TextureDraw()
228 mColor = s_gles2.glGetUniformLocation(mProgram, "color"); in TextureDraw()
229 mCoordTranslation = s_gles2.glGetUniformLocation(mProgram, "coordTranslation"); in TextureDraw()
230 mCoordScale = s_gles2.glGetUniformLocation(mProgram, "coordScale"); in TextureDraw()
231 mScaleSlot = s_gles2.glGetUniformLocation(mProgram, "scale"); in TextureDraw()
232 mTranslationSlot = s_gles2.glGetUniformLocation(mProgram, "translation"); in TextureDraw()
233 mTextureSlot = s_gles2.glGetUniformLocation(mProgram, "tex"); in TextureDraw()
274 if (!mProgram) { in drawImpl()
281 s_gles2.glUseProgram(mProgram); in drawImpl()
341 s_gles2.glValidateProgram(mProgram); in drawImpl()
343 s_gles2.glGetProgramiv(mProgram, GL_VALIDATE_STATUS, &validState); in drawImpl()
347 mProgram, sizeof(messages), 0, &messages[0]); in drawImpl()
388 s_gles2.glGetUniformfv(mProgram, mScaleSlot, scale); in drawImpl()
510 if (!mProgram) { in preDrawLayer()
514 s_gles2.glUseProgram(mProgram); in preDrawLayer()