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()
241 clearObjectMap(m_shaders); in ~GLSharedGroup()
248 return ((m_shaders.valueFor(obj)!=NULL) || in isShaderOrProgramObject()
392 ssize_t idx = m_shaders.indexOfKey(shader); in attachShader()
404 ssize_t idx = m_shaders.indexOfKey(shader); in detachShader()
425 ShaderData* shader = m_shaders.valueFor(shaderId); in setProgramIndexInfo()
533 ShaderData* pData = m_shaders.valueFor(shader); in isShader()
542 if (m_shaders.add(shader, data) < 0) { in addShaderData()
554 return m_shaders.valueFor(shader); in getShaderData()
560 ssize_t idx = m_shaders.indexOfKey(shader); in unrefShaderData()
568 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size()); in refShaderDataLocked()
569 ShaderData* data = m_shaders.valueAt(shaderIdx); in refShaderDataLocked()
575 assert(shaderIdx >= 0 && shaderIdx <= m_shaders.size()); in unrefShaderDataLocked()
576 ShaderData* data = m_shaders.valueAt(shaderIdx); in unrefShaderDataLocked()
579 m_shaders.removeItemsAt(shaderIdx); in unrefShaderDataLocked()