Lines Matching refs:m_Indexes
43 m_Indexes = NULL; in ProgramData()
50 delete[] m_Indexes; in initProgramData()
51 m_Indexes = new IndexInfo[numIndexes]; in initProgramData()
62 delete[] m_Indexes; in ~ProgramData()
63 m_Indexes = NULL; in ~ProgramData()
70 m_Indexes[index].base = base; in setIndexInfo()
71 m_Indexes[index].size = size; in setIndexInfo()
72 m_Indexes[index].type = type; in setIndexInfo()
74 m_Indexes[index].appBase = m_Indexes[index-1].appBase + in setIndexInfo()
75 m_Indexes[index-1].size; in setIndexInfo()
78 m_Indexes[index].appBase = 0; in setIndexInfo()
80 m_Indexes[index].hostLocsPerElement = 1; in setIndexInfo()
81 m_Indexes[index].flags = 0; in setIndexInfo()
82 m_Indexes[index].samplerValue = 0; in setIndexInfo()
89 m_Indexes[index].flags |= flags; in setIndexFlags()
98 GLint dist = location - m_Indexes[i].base; in getIndexForLocation()
112 return m_Indexes[index].type; in getTypeForLocation()
121 if (0 != (m_Indexes[i].base & 0xffff)) { in setupLocationShiftWAR()
138 m_Indexes[index].hostLocsPerElement = in locationWARHostToApp()
139 (hostLoc - m_Indexes[index].base) / arrIndex; in locationWARHostToApp()
141 return m_Indexes[index].appBase + arrIndex; in locationWARHostToApp()
151 GLint elemIndex = appLoc - m_Indexes[i].appBase; in locationWARAppToHost()
152 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in locationWARAppToHost()
153 return m_Indexes[i].base + in locationWARAppToHost()
154 elemIndex * m_Indexes[i].hostLocsPerElement; in locationWARAppToHost()
163 if (m_Indexes[i].type == GL_SAMPLER_2D) { in getNextSamplerUniform()
164 if (val) *val = m_Indexes[i].samplerValue; in getNextSamplerUniform()
166 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in getNextSamplerUniform()
181 GLint elemIndex = appLoc - m_Indexes[i].appBase; in setSamplerUniform()
182 if (elemIndex >= 0 && elemIndex < m_Indexes[i].size) { in setSamplerUniform()
183 if (m_Indexes[i].type == GL_TEXTURE_2D) { in setSamplerUniform()
184 m_Indexes[i].samplerValue = val; in setSamplerUniform()
186 if (m_Indexes[i].flags & INDEX_FLAG_SAMPLER_EXTERNAL) { in setSamplerUniform()