Lines Matching refs:m_shaders
201 size_t n = m_shaders.size();
203 if (m_shaders[i] == shader) {
207 // AKA m_shaders.push_back(), but that has an ambiguous call to insertAt()
209 m_shaders.insertAt(shader, m_shaders.size(), 1);
215 size_t n = m_shaders.size();
217 if (m_shaders[i] == shader) {
218 m_shaders.removeAt(i);
230 m_shaders(android::DefaultKeyedVector<GLuint, ShaderData*>(NULL))
240 clearObjectMap(m_shaders);
246 return ((m_shaders.valueFor(obj)!=NULL) || (m_programs.valueFor(obj)!=NULL));
341 ssize_t idx = m_shaders.indexOfKey(shader);
353 ssize_t idx = m_shaders.indexOfKey(shader);
373 ShaderData* shader = m_shaders.valueFor(shaderId);
458 if (m_shaders.add(shader, data) < 0) {
470 return m_shaders.valueFor(shader);
476 ssize_t idx = m_shaders.indexOfKey(shader);
484 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size());
485 ShaderData* data = m_shaders.valueAt(shaderIdx);
491 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size());
492 ShaderData* data = m_shaders.valueAt(shaderIdx);
495 m_shaders.removeItemsAt(shaderIdx);