Searched refs:m_pTri (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTTriStrip.cpp | 92 CTri *m_pTri; member in CStrip 325 m_pTri = new CTri[nTriCnt]; in CStrip() 329 m_pTri[i].pIdx = &pui32TriList[3 * i]; in CStrip() 337 b0 = TryLinkEdge(m_pTri[i], m_pTri[j], 0, m_pTri[i].pIdx[1], m_pTri[i].pIdx[0]); in CStrip() 340 b1 = TryLinkEdge(m_pTri[i], m_pTri[j], 1, m_pTri[i].pIdx[2], m_pTri[i].pIdx[1]); in CStrip() 343 b2 = TryLinkEdge(m_pTri[i], m_pTri[j], 2, m_pTri[i].pIdx[0], m_pTri[i].pIdx[2]); in CStrip() 356 delete [] m_pTri; in ~CStrip() 499 _ASSERT(m_pTri[nDbg].bInStrip == false); in StripGrow() 500 _ASSERT(m_pTri[nDbg].bOutput == false); in StripGrow() 501 _ASSERT(m_pTri[nDbg].sOld.pRev == m_pTri[nDbg].sNew.pRev); in StripGrow() [all …]
|
D | PVRTGeometry.cpp | 100 STri *m_pTri; // Array of all the triangles in the mesh member in CObject 299 m_pTri = (STri*)calloc(nTriTot, sizeof(*m_pTri)); in CObject() 300 _ASSERT(m_pTri); in CObject() 320 m_pTri[i].psEdg[0] = BuildEdgeList(pVtx0, pVtx1); in CObject() 321 m_pTri[i].psEdg[1] = BuildEdgeList(pVtx1, pVtx2); in CObject() 322 m_pTri[i].psEdg[2] = BuildEdgeList(pVtx2, pVtx0); in CObject() 335 pVtx0->psTri[pVtx0->nTriNumTot++] = &m_pTri[i]; in CObject() 336 pVtx1->psTri[pVtx1->nTriNumTot++] = &m_pTri[i]; in CObject() 337 pVtx2->psTri[pVtx2->nTriNumTot++] = &m_pTri[i]; in CObject() 340 m_pTri[i].pwIdx = &pwIdx[3*i]; in CObject() [all …]
|