Lines Matching refs:index
64 GLuint index, GLint base, GLint size, GLenum type) { in setIndexInfo() argument
66 if (index >= m_numIndexes) return; in setIndexInfo()
68 m_Indexes[index].base = base; in setIndexInfo()
69 m_Indexes[index].size = size; in setIndexInfo()
70 m_Indexes[index].type = type; in setIndexInfo()
71 m_Indexes[index].hostLocsPerElement = 1; in setIndexInfo()
72 m_Indexes[index].flags = 0; in setIndexInfo()
73 m_Indexes[index].samplerValue = 0; in setIndexInfo()
76 void ProgramData::setIndexFlags(GLuint index, GLuint flags) { in setIndexFlags() argument
78 if (index >= m_numIndexes) return; in setIndexFlags()
80 m_Indexes[index].flags |= flags; in setIndexFlags()
84 GLuint index = m_numIndexes; in getIndexForLocation() local
91 index = i; in getIndexForLocation()
96 return index; in getIndexForLocation()
100 GLuint index = getIndexForLocation(location); in getTypeForLocation() local
101 if (index < m_numIndexes) { in getTypeForLocation()
102 return m_Indexes[index].type; in getTypeForLocation()
108 GLint index, GLint* val, GLenum* target) { in getNextSamplerUniform() argument
110 for (GLint i = index + 1; i >= 0 && i < (GLint)m_numIndexes; i++) { in getNextSamplerUniform()
392 GLuint program, GLuint index, GLint base, in setProgramIndexInfo() argument
400 pData->setIndexInfo(index,base,size,type); in setProgramIndexInfo()
414 index, in setProgramIndexInfo()
470 GLuint program, GLint index, GLint* val, GLenum* target) const { in getNextSamplerUniform() argument
476 if (pData) return pData->getNextSamplerUniform(index, val, target); in getNextSamplerUniform()
486 if (spData) return spData->programData.getNextSamplerUniform(index, val, target); in getNextSamplerUniform()
639 GLuint shaderProgram, GLuint index, GLint base, in setShaderProgramIndexInfo() argument
646 pData.setIndexInfo(index, base, size, type); in setShaderProgramIndexInfo()
658 index, ProgramData::INDEX_FLAG_SAMPLER_EXTERNAL); in setShaderProgramIndexInfo()