Lines Matching refs:currentProgram
357 if (mCaches.currentProgram) {
358 if (mCaches.currentProgram->isInUse()) {
359 mCaches.currentProgram->remove();
360 mCaches.currentProgram = NULL;
1871 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1874 mCaches.currentProgram->set(mOrthoMatrix, mModelView, mat4::identity());
1880 mCaches.currentProgram->set(mOrthoMatrix, mat4::identity(), currentTransform(), offset);
1893 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1898 mCaches.currentProgram->set(mOrthoMatrix, mModelView, mat4::identity());
1905 mCaches.currentProgram->setColor(mColorR, mColorG, mColorB, mColorA);
1911 mCaches.currentProgram->setColor(mColorR, mColorG, mColorB, mColorA);
1920 mDrawModifiers.mShader->setupProgram(mCaches.currentProgram,
1927 mDrawModifiers.mShader->setupProgram(mCaches.currentProgram,
1934 mDrawModifiers.mColorFilter->setupProgram(mCaches.currentProgram);
1939 mCaches.fontRenderer->setupProgram(mDescription, mCaches.currentProgram);
1965 glUniformMatrix4fv(mCaches.currentProgram->getUniform("mainTextureTransform"), 1,
1978 if (mCaches.currentProgram->texCoords >= 0) {
1990 if (mCaches.currentProgram->texCoords >= 0) {
1993 int slot = mCaches.currentProgram->getAttrib("colors");
2015 if (mCaches.currentProgram->texCoords >= 0) {
2310 int slot = mCaches.currentProgram->getAttrib("colors");
2543 alphaSlot = mCaches.currentProgram->getAttrib("vtxAlpha");
3599 if (mCaches.currentProgram != NULL) mCaches.currentProgram->remove();
3601 mCaches.currentProgram = program;