Lines Matching refs:m_Indexes
40 m_Indexes = NULL; in ProgramData()
47 delete [] m_Indexes; in initProgramData()
49 m_Indexes = new IndexInfo[numIndexes]; in initProgramData()
58 delete [] m_Indexes; in ~ProgramData()
60 m_Indexes = NULL; in ~ProgramData()
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()
80 m_Indexes[index].flags |= flags; in setIndexFlags()
89 GLint dist = location - m_Indexes[i].base; in getIndexForLocation()
102 return m_Indexes[index].type; in getTypeForLocation()
112 if (m_Indexes[i].type == GL_SAMPLER_2D) { in getNextSamplerUniform()
114 if (val) *val = m_Indexes[i].samplerValue; in getNextSamplerUniform()
117 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in getNextSamplerUniform()
136 GLint elemIndex = appLoc - m_Indexes[i].base; in setSamplerUniform()
138 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in setSamplerUniform()
139 if (m_Indexes[i].type == GL_SAMPLER_2D) { in setSamplerUniform()
140 m_Indexes[i].samplerValue = val; in setSamplerUniform()
142 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in setSamplerUniform()