Lines Matching refs:m_shaders
201 size_t n = m_shaders.size(); in attachShader()
203 if (m_shaders[i] == shader) { in attachShader()
209 m_shaders.insertAt(shader, m_shaders.size(), 1); in attachShader()
215 size_t n = m_shaders.size(); in detachShader()
217 if (m_shaders[i] == shader) { in detachShader()
218 m_shaders.removeAt(i); in detachShader()
230 m_shaders(android::DefaultKeyedVector<GLuint, ShaderData*>(NULL)) in GLSharedGroup()
240 clearObjectMap(m_shaders); in ~GLSharedGroup()
246 return ((m_shaders.valueFor(obj)!=NULL) || (m_programs.valueFor(obj)!=NULL)); in isObject()
341 ssize_t idx = m_shaders.indexOfKey(shader); in attachShader()
353 ssize_t idx = m_shaders.indexOfKey(shader); in detachShader()
373 ShaderData* shader = m_shaders.valueFor(shaderId); in setProgramIndexInfo()
458 if (m_shaders.add(shader, data) < 0) { in addShaderData()
470 return m_shaders.valueFor(shader); in getShaderData()
476 ssize_t idx = m_shaders.indexOfKey(shader); in unrefShaderData()
484 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size()); in refShaderDataLocked()
485 ShaderData* data = m_shaders.valueAt(shaderIdx); in refShaderDataLocked()
491 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size()); in unrefShaderDataLocked()
492 ShaderData* data = m_shaders.valueAt(shaderIdx); in unrefShaderDataLocked()
495 m_shaders.removeItemsAt(shaderIdx); in unrefShaderDataLocked()