• Home
  • Raw
  • Download

Lines Matching refs:ct

46     for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) {  in updateUniformArrayData()  local
47 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in updateUniformArrayData()
50 if (prog->getUniformName(ct) == uniformList[ui]->name) { in updateUniformArrayData()
51 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize; in updateUniformArrayData()
59 prog->getUniformName(ct).c_str(), data[ct].slot, in updateUniformArrayData()
60 data[ct].arraySize); in updateUniformArrayData()
67 for (uint32_t ct=0; ct < prog->getUniformCount(); ct++) { in populateUniformData() local
68 data[ct].slot = glGetUniformLocation(linkedID, in populateUniformData()
69 prog->getUniformName(ct).c_str()); in populateUniformData()
70 data[ct].arraySize = prog->getUniformArraySize(ct); in populateUniformData()
76 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { in hasArrayUniforms() local
77 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms()
82 for (uint32_t ct=0; ct < frag->getUniformCount(); ct++) { in hasArrayUniforms() local
83 if (data[ct].slot >= 0 && data[ct].arraySize > 1) { in hasArrayUniforms()
124 for (uint32_t ct = 0; ct < entryCount; ct ++) { in link() local
125 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { in link()
127 glUseProgram(mEntries[ct]->program); in link()
128 mCurrent = mEntries[ct]; in link()
174 for (uint32_t ct=0; ct < e->vtxAttrCount; ct++) { in link() local
175 e->vtxAttrs[ct].slot = in link()
176 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str()); in link()
177 e->vtxAttrs[ct].name = vtx->getAttribName(ct).c_str(); in link()
179 ALOGV("vtx A %i, %s = %d\n", ct, in link()
180 vtx->getAttribName(ct).c_str(), e->vtxAttrs[ct].slot); in link()
200 for (uint32_t ct = 0; ct < (uint32_t)numUniforms; ct++) { in link() local
201 uniformList[ct] = new UniformQueryData(maxNameLength); in link()
202 glGetActiveUniform(pgm, ct, maxNameLength, &uniformList[ct]->writtenLength, in link()
203 &uniformList[ct]->arraySize, &uniformList[ct]->type, in link()
204 uniformList[ct]->name); in link()
221 for (uint32_t ct = 0; ct < (uint32_t)numUniforms; ct++) { in link() local
222 delete uniformList[ct]; in link()
237 for (uint32_t ct=0; ct < mCurrent->vtxAttrCount; ct++) { in vtxAttribSlot() local
238 if (attrName == mCurrent->vtxAttrs[ct].name) { in vtxAttribSlot()
239 return mCurrent->vtxAttrs[ct].slot; in vtxAttribSlot()
250 for (int32_t ct = 0; ct < numEntries; ct ++) { in cleanupVertex() local
251 if (mEntries[ct]->vtx == id) { in cleanupVertex()
252 glDeleteProgram(mEntries[ct]->program); in cleanupVertex()
254 delete mEntries[ct]; in cleanupVertex()
255 mEntries.erase(mEntries.begin() + ct); in cleanupVertex()
257 ct --; in cleanupVertex()
268 for (int32_t ct = 0; ct < numEntries; ct ++) { in cleanupFragment() local
269 if (mEntries[ct]->frag == id) { in cleanupFragment()
270 glDeleteProgram(mEntries[ct]->program); in cleanupFragment()
272 delete mEntries[ct]; in cleanupFragment()
273 mEntries.erase(mEntries.begin() + ct); in cleanupFragment()
275 ct --; in cleanupFragment()
282 for (uint32_t ct=0; ct < mEntries.size(); ct++) { in cleanupAll() local
283 glDeleteProgram(mEntries[ct]->program); in cleanupAll()
284 free(mEntries[ct]); in cleanupAll()