Lines Matching refs:currentProgram
342 if (mCaches.currentProgram) {
343 if (mCaches.currentProgram->isInUse()) {
344 mCaches.currentProgram->remove();
345 mCaches.currentProgram = NULL;
1774 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1777 mCaches.currentProgram->set(mOrthoMatrix, mModelView, mat4::identity());
1783 mCaches.currentProgram->set(mOrthoMatrix, mat4::identity(), currentTransform(), offset);
1796 mCaches.currentProgram->set(mOrthoMatrix, mModelView, currentTransform());
1801 mCaches.currentProgram->set(mOrthoMatrix, mModelView, mat4::identity());
1807 int slot = mCaches.currentProgram->getUniform("pointSize");
1813 mCaches.currentProgram->setColor(mColorR, mColorG, mColorB, mColorA);
1819 mCaches.currentProgram->setColor(mColorR, mColorG, mColorB, mColorA);
1828 mDrawModifiers.mShader->setupProgram(mCaches.currentProgram,
1835 mDrawModifiers.mShader->setupProgram(mCaches.currentProgram,
1842 mDrawModifiers.mColorFilter->setupProgram(mCaches.currentProgram);
1847 mCaches.fontRenderer->setupProgram(mDescription, mCaches.currentProgram);
1873 glUniformMatrix4fv(mCaches.currentProgram->getUniform("mainTextureTransform"), 1,
1886 if (mCaches.currentProgram->texCoords >= 0) {
1898 if (mCaches.currentProgram->texCoords >= 0) {
1901 int slot = mCaches.currentProgram->getAttrib("colors");
1913 if (mCaches.currentProgram->texCoords >= 0) {
2198 int slot = mCaches.currentProgram->getAttrib("colors");
2400 alphaSlot = mCaches.currentProgram->getAttrib("vtxAlpha");
3521 if (mCaches.currentProgram != NULL) mCaches.currentProgram->remove();
3523 mCaches.currentProgram = program;