Lines Matching refs:shader

199 bool ProgramData::attachShader(GLuint shader)  in attachShader()  argument
203 if (m_shaders[i] == shader) { in attachShader()
209 m_shaders.insertAt(shader, m_shaders.size(), 1); in attachShader()
213 bool ProgramData::detachShader(GLuint shader) in detachShader() argument
217 if (m_shaders[i] == shader) { in detachShader()
337 void GLSharedGroup::attachShader(GLuint program, GLuint shader) in attachShader() argument
341 ssize_t idx = m_shaders.indexOfKey(shader); in attachShader()
343 if (programData->attachShader(shader)) { in attachShader()
349 void GLSharedGroup::detachShader(GLuint program, GLuint shader) in detachShader() argument
353 ssize_t idx = m_shaders.indexOfKey(shader); in detachShader()
355 if (programData->detachShader(shader)) { in detachShader()
373 ShaderData* shader = m_shaders.valueFor(shaderId); in setProgramIndexInfo() local
374 if (!shader) continue; in setProgramIndexInfo()
375 ShaderData::StringList::iterator nameIter = shader->samplerExternalNames.begin(); in setProgramIndexInfo()
376 ShaderData::StringList::iterator nameEnd = shader->samplerExternalNames.end(); in setProgramIndexInfo()
453 bool GLSharedGroup::addShaderData(GLuint shader) in addShaderData() argument
458 if (m_shaders.add(shader, data) < 0) { in addShaderData()
467 ShaderData* GLSharedGroup::getShaderData(GLuint shader) in getShaderData() argument
470 return m_shaders.valueFor(shader); in getShaderData()
473 void GLSharedGroup::unrefShaderData(GLuint shader) in unrefShaderData() argument
476 ssize_t idx = m_shaders.indexOfKey(shader); in unrefShaderData()