Home
last modified time | relevance | path

Searched refs:nNumFaces (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTFixedPoint.cpp43 new_mesh->nNumFaces = mesh->nNumFaces; in CreateFixedObjectMesh()
DPVRTFixedPoint.h123 unsigned int nNumFaces; member
157 unsigned int nNumFaces; member
DPVRTShadowVol.cpp294 const unsigned int nNumFaces) in PVRTShadowVolMeshCreateMesh() argument
307 psMesh->pE = (PVRTShadowVolMEdge*)malloc(nNumFaces * sizeof(*psMesh->pE) * 3); in PVRTShadowVolMeshCreateMesh()
308 psMesh->pT = (PVRTShadowVolMTriangle*)malloc(nNumFaces * sizeof(*psMesh->pT)); in PVRTShadowVolMeshCreateMesh()
313 for(nCurr = 0; nCurr < nNumFaces; nCurr++) { in PVRTShadowVolMeshCreateMesh()
321 _ASSERT(psMesh->nE < nNumFaces * 3); in PVRTShadowVolMeshCreateMesh()
322 _ASSERT(psMesh->nT == nNumFaces); in PVRTShadowVolMeshCreateMesh()
325 _RPT2(_CRT_WARN, "Unique edges : %d (from %d)\n", psMesh->nE, nNumFaces * 3); in PVRTShadowVolMeshCreateMesh()
326 _RPT2(_CRT_WARN, "Unique triangles: %d (from %d)\n", psMesh->nT, nNumFaces); in PVRTShadowVolMeshCreateMesh()
DPVRTShadowVol.h104 const unsigned int nNumFaces);
DPVRTModelPOD.cpp1046 if(!WriteData32(pFile, ePODFileMeshNumFaces, &s.pMesh[i].nNumFaces)) return false; in WritePOD()
1473 case ePODFileMeshNumFaces: if(!src.Read32(s.nNumFaces)) return false; break; in ReadMesh()
3374 for(unsigned int i = 0; i < mesh.nNumFaces * 3; i += 3)
3574 _ASSERT(mesh.nNumVertex && mesh.nNumFaces);
3614 if(!mesh.nNumFaces)
3623 SafeAlloc(mesh.sFaces.pData, nTriStride * mesh.nNumFaces);
3674 _ASSERT(nListIdxCnt == mesh.nNumFaces*3);
3687 mesh.pnStripLength = (unsigned int*)calloc(mesh.nNumFaces, sizeof(*mesh.pnStripLength));
3700 nFaces = mesh.nNumFaces;
3708 nFaces = mesh.nNumFaces - mesh.sBoneBatches.pnBatchOffset[h];
[all …]
DPVRTModelPOD.h165 PVRTuint32 nNumFaces; /*!< Number of triangles in the mesh */ member
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/DisplacementMap/OGLES2/
DOGLES2DisplacementMap.cpp643 glDrawElements(GL_TRIANGLES, pMesh->nNumFaces*3, GL_UNSIGNED_SHORT, 0); in DrawMesh()
648 glDrawArrays(GL_TRIANGLES, 0, pMesh->nNumFaces*3); in DrawMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DOGLES2ChameleonMan.cpp742 glDrawElements(GL_TRIANGLES, Mesh.nNumFaces*3, GL_UNSIGNED_SHORT, 0); in RenderScene()
833 i32Tris = Mesh.nNumFaces - Mesh.sBoneBatches.pnBatchOffset[i32Batch]; in DrawSkinnedMesh()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Intermediate/ColourGrading/OGLES3/
DOGLES3ColourGrading.cpp845 glDrawElements(GL_TRIANGLES, pMesh->nNumFaces*3, GL_UNSIGNED_SHORT, 0); in DrawMesh()