Lines Matching refs:mRSProgram

41     mRSProgram = p;  in RsdShader()
85 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { in getExistingState()
87 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { in getExistingState()
88 Allocation *a = mRSProgram->mHal.state.textures[ct]; in getExistingState()
125 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in init()
126 initAddUserElement(mRSProgram->mHal.state.inputElements[ct], mAttribNames, in init()
129 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in init()
130 initAddUserElement(mRSProgram->mHal.state.constantTypes[ct]->getElement(), in init()
135 for (uint32_t ct=0; ct < mRSProgram->mHal.state.texturesCount; ct++) { in init()
145 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in getGLSLInputString()
146 const Element *e = mRSProgram->mHal.state.inputElements[ct]; in getGLSLInputString()
169 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in appendAttributes()
170 const Element *e = mRSProgram->mHal.state.inputElements[ct]; in appendAttributes()
197 for (uint32_t ct = 0; ct < mRSProgram->mHal.state.texturesCount; ct ++) { in appendTextures()
198 if (mRSProgram->mHal.state.textureTargets[ct] == RS_TEXTURE_2D) { in appendTextures()
199 Allocation *a = mRSProgram->mHal.state.textures[ct]; in appendTextures()
279 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in appendUserConstants()
280 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in appendUserConstants()
468 if (mRSProgram->mHal.state.texturesCount == 0) { in setupTextures()
474 uint32_t numTexturesToBind = mRSProgram->mHal.state.texturesCount; in setupTextures()
478 mRSProgram->mHal.state.texturesCount, this, numTexturesAvailable); in setupTextures()
487 if (!mRSProgram->mHal.state.textures[ct]) { in setupTextures()
493 DrvAllocation *drvTex = (DrvAllocation *)mRSProgram->mHal.state.textures[ct]->mHal.drv; in setupTextures()
504 if (mRSProgram->mHal.state.samplers[ct]) { in setupTextures()
505 setupSampler(rsc, mRSProgram->mHal.state.samplers[ct], in setupTextures()
506 mRSProgram->mHal.state.textures[ct]); in setupTextures()
528 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in setupUserConstants()
529 Allocation *alloc = mRSProgram->mHal.state.constants[ct]; in setupUserConstants()
539 const Element *e = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in setupUserConstants()
581 for (uint32_t ct=0; ct < mRSProgram->mHal.state.inputElementsCount; ct++) { in initAttribAndUniformArray()
582 const Element *elem = mRSProgram->mHal.state.inputElements[ct]; in initAttribAndUniformArray()
587 for (uint32_t ct=0; ct < mRSProgram->mHal.state.constantsCount; ct++) { in initAttribAndUniformArray()
588 const Element *elem = mRSProgram->mHal.state.constantTypes[ct]->getElement(); in initAttribAndUniformArray()
591 mUniformCount += mRSProgram->mHal.state.texturesCount; in initAttribAndUniformArray()
601 mTextureCount = mRSProgram->mHal.state.texturesCount; in initAttribAndUniformArray()