Lines Matching refs:mEntries
32 mEntries.setCapacity(16); in RsdShaderCache()
123 uint32_t entryCount = mEntries.size(); in link()
125 if ((mEntries[ct]->vtx == vtx->getShaderID()) && in link()
126 (mEntries[ct]->frag == frag->getShaderID())) { in link()
129 glUseProgram(mEntries[ct]->program); in link()
130 mCurrent = mEntries[ct]; in link()
142 mEntries.push(e); in link()
249 int32_t numEntries = (int32_t)mEntries.size(); in cleanupVertex()
251 if (mEntries[ct]->vtx == id) { in cleanupVertex()
252 glDeleteProgram(mEntries[ct]->program); in cleanupVertex()
254 delete mEntries[ct]; in cleanupVertex()
255 mEntries.removeAt(ct); in cleanupVertex()
256 numEntries = (int32_t)mEntries.size(); in cleanupVertex()
263 int32_t numEntries = (int32_t)mEntries.size(); in cleanupFragment()
265 if (mEntries[ct]->frag == id) { in cleanupFragment()
266 glDeleteProgram(mEntries[ct]->program); in cleanupFragment()
268 delete mEntries[ct]; in cleanupFragment()
269 mEntries.removeAt(ct); in cleanupFragment()
270 numEntries = (int32_t)mEntries.size(); in cleanupFragment()
277 for (uint32_t ct=0; ct < mEntries.size(); ct++) { in cleanupAll()
278 glDeleteProgram(mEntries[ct]->program); in cleanupAll()
279 free(mEntries[ct]); in cleanupAll()
281 mEntries.clear(); in cleanupAll()