Home
last modified time | relevance | path

Searched refs:psVol (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.cpp493 PVRTShadowVolShadowVol * const psVol, in PVRTShadowVolMeshInitVol() argument
503 _ASSERT(psVol); in PVRTShadowVolMeshInitVol()
515 psVol->nIdxCntMax = psMesh->nT * 2 * 3; in PVRTShadowVolMeshInitVol()
525 hRes = pContext->pDev->CreateBuffer(&sIdxBuferDesc, NULL, &psVol->piib) != S_OK; in PVRTShadowVolMeshInitVol()
536 pContext->pglExt->glGenBuffersARB(1, &psVol->piib); in PVRTShadowVolMeshInitVol()
537 pContext->pglExt->glBindBufferARB(GL_ARRAY_BUFFER_ARB, psVol->piib); in PVRTShadowVolMeshInitVol()
542 psVol->piib = (unsigned short*)malloc(psMesh->nT * 2 * 3 * sizeof(unsigned short)); in PVRTShadowVolMeshInitVol()
588 PVRTShadowVolShadowVol * const psVol, in PVRTShadowVolMeshReleaseVol() argument
595 psContext->pglExt->glDeleteBuffersARB(1, &psVol->piib); in PVRTShadowVolMeshReleaseVol()
600 FREE(psVol->piib); in PVRTShadowVolMeshReleaseVol()
[all …]
DPVRTShadowVol.h126 PVRTShadowVolShadowVol * const psVol,
153 PVRTShadowVolShadowVol * const psVol,
167 PVRTShadowVolShadowVol * const psVol,
185 PVRTShadowVolShadowVol * const psVol,
241 const PVRTShadowVolShadowVol * const psVol,