Home
last modified time | relevance | path

Searched refs:uiIndex (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTArray.h85 for(unsigned int uiIndex = 0; uiIndex < m_uiSize; ++uiIndex) in CPVRTArray() local
87 m_pArray[uiIndex] = val; in CPVRTArray()
109 unsigned int uiIndex = pos; in Insert() local
112 uiIndex = Append(addT); in Insert()
142 uiIndex = pos; in Insert()
156 return uiIndex; in Insert()
167 unsigned int uiIndex = Append(); in Append() local
168 m_pArray[uiIndex] = addT; in Append()
169 return uiIndex; in Append()
179 unsigned int uiIndex = m_uiSize; in Append() local
[all …]
DPVRTUnicode.cpp112 unsigned int uiTailLen, uiIndex; in PVRTUnicodeUTF8ToUTF32() local
139 uiIndex = 0; in PVRTUnicodeUTF8ToUTF32()
140 while(uiIndex < uiTailLen) in PVRTUnicodeUTF8ToUTF32()
142 if((pC[uiIndex] & 0xC0) != 0x80) in PVRTUnicodeUTF8ToUTF32()
145 c32 = (c32 << BYTES_PER_TAIL) + (pC[uiIndex] & TAIL_MASK); in PVRTUnicodeUTF8ToUTF32()
146 uiIndex++; in PVRTUnicodeUTF8ToUTF32()
149 pC += uiIndex; in PVRTUnicodeUTF8ToUTF32()
304 unsigned int uiTailLen, uiIndex; in PVRTUnicodeValidUTF8() local
324 uiIndex = 0; in PVRTUnicodeValidUTF8()
325 while(uiIndex < uiTailLen) in PVRTUnicodeValidUTF8()
[all …]
DPVRTMap.h88 const DataType* GetDataAtIndex(const PVRTuint32 uiIndex) const in GetDataAtIndex() argument
90 if (uiIndex>=m_uiSize) in GetDataAtIndex()
93 return &(m_Data[uiIndex]); in GetDataAtIndex()
106 PVRTuint32 uiIndex = GetIndexOf(key); variable
109 if (uiIndex != m_uiSize)
112 return m_Data[uiIndex];
142 PVRTuint32 uiIndex=GetIndexOf(key); in Remove() local
145 if (uiIndex==m_uiSize) in Remove()
156 m_Keys[uiIndex]=m_Keys[m_uiSize-1]; in Remove()
159 m_Data[uiIndex]=m_Data[m_uiSize-1]; in Remove()
DPVRTPFXParser.cpp1368 for(unsigned int uiIndex = 0; uiIndex < 2; ++uiIndex) in ParseGenericSurface() local
1388 *(uiVals[uiIndex]) = (unsigned int)val; in ParseGenericSurface()
1405 for(unsigned int uiIndex = 0; uiIndex < uiNumSurfTypes; ++uiIndex) in ParseGenericSurface() local
1407 if(hashType == SurfacePairs[uiIndex].Name) in ParseGenericSurface()
1409 Params.uiFlags = SurfacePairs[uiIndex].eType | SurfacePairs[uiIndex].BufferType; in ParseGenericSurface()
1429 for(unsigned int uiIndex = 0; uiIndex < 3; ++uiIndex) in ParseGenericSurface() local
1431 if(strcmp(pszRemaining, ppFilters[uiIndex]) == 0) in ParseGenericSurface()
1433 Type = uiIndex; // Yup, it's valid. in ParseGenericSurface()
1578 for(unsigned int uiIndex = 0; uiIndex < KnownCmds.GetSize(); ++uiIndex) in ParseTexture() local
1580 if(KnownCmds[uiIndex] == texCmd) in ParseTexture()
[all …]
DPVRTPrint3D.cpp730 for(PVRTuint32 uiIndex = 0; uiIndex < utf32.GetSize(); uiIndex++) in MeasureText() local
732 if(utf32[uiIndex] == 0x0D || utf32[uiIndex] == 0x0A) in MeasureText()
740 uiIdx = FindCharacter(utf32[uiIndex]); in MeasureText()
747 txNextChar = utf32[uiIndex + 1]; in MeasureText()
749 ApplyKerning(utf32[uiIndex], txNextChar, fKernOffset); in MeasureText()
868 for(unsigned int uiIndex = 0; uiIndex < uiNumCharsInString; uiIndex++) in UpdateLine() local
870 if(uiIndex > MAX_LETTERS) in UpdateLine()
874 if(Text[uiIndex] == 0x0A) in UpdateLine()
882 PVRTuint32 uiIdx = FindCharacter(Text[uiIndex]); in UpdateLine()
894 if(uiIndex < uiNumCharsInString - 1) in UpdateLine()
[all …]
DPVRTPFXParser.h376 const SPVRTPFXRenderPass& GetRenderPass(unsigned int uiIndex) const;
391 SPVRTPFXParserShader& GetFragmentShader(unsigned int uiIndex);
406 SPVRTPFXParserShader& GetVertexShader(unsigned int uiIndex);
421 const SPVRTPFXParserEffect& GetEffect(unsigned int uiIndex) const;
452 const SPVRTPFXParserTexture* GetTexture(unsigned int uiIndex) const;
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPFXParserAPI.cpp62 for(unsigned int uiIndex = ePVRTPFX_NumSemantics; uiIndex < m_Semantics.GetSize(); ++uiIndex) in ~CPVRTPFXEffect() local
64 delete [] m_Semantics[uiIndex].p; in ~CPVRTPFXEffect()
65 m_Semantics[uiIndex].p = NULL; in ~CPVRTPFXEffect()
607 for(unsigned int uiIndex = 0; uiIndex < uiNumUniforms; ++uiIndex) in RegisterUniformSemantic() local
610 if(m_Semantics.Contains(psUniforms[uiIndex])) in RegisterUniformSemantic()
612 …gFromFormattedStr("ERROR: Uniform semantic with ID '%u' already exists.\n", psUniforms[uiIndex].n); in RegisterUniformSemantic()
617 char* pSemName = new char[strlen(psUniforms[uiIndex].p)+1]; in RegisterUniformSemantic()
618 strcpy(pSemName, psUniforms[uiIndex].p); in RegisterUniformSemantic()
621 m_Semantics[uiIdx].n = psUniforms[uiIndex].n; in RegisterUniformSemantic()
813 unsigned int uiIndex = m_pParser->FindTextureIndex(pPFXTex->Name, m_nEffect); in SetTexture() local
[all …]
DPVRTPrint3DAPI.cpp280 unsigned int uiIndex = m_eFilterMethod[eFilterProc_Min] + (m_eFilterMethod[eFilterProc_Mip]*2); in Flush() local
282 glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, c_eMinTable[uiIndex]); in Flush()