Lines Matching refs:piib
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()
595 psContext->pglExt->glDeleteBuffersARB(1, &psVol->piib); in PVRTShadowVolMeshReleaseVol()
600 FREE(psVol->piib); in PVRTShadowVolMeshReleaseVol()
656 _ASSERT(psVol && psVol->piib); in PVRTShadowVolSilhouetteProjectedBuild()
669 hRes = pDeviceContext->Map(psVol->piib, 0, D3D11_MAP_WRITE_DISCARD, NULL, &data); in PVRTShadowVolSilhouetteProjectedBuild()
679 pContext->pglExt->glBindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, psVol->piib); in PVRTShadowVolSilhouetteProjectedBuild()
683 pwIdx = psVol->piib; in PVRTShadowVolSilhouetteProjectedBuild()
795 pDeviceContext->Unmap(psVol->piib, 0); in PVRTShadowVolSilhouetteProjectedBuild()
1290 pContext->pglExt->glBindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, psVol->piib); in PVRTShadowVolSilhouetteProjectedRender()
1320 glDrawElements(GL_TRIANGLES, psVol->nIdxCnt, GL_UNSIGNED_SHORT, psVol->piib); in PVRTShadowVolSilhouetteProjectedRender()
1338 glDrawElements(GL_TRIANGLES, psVol->nIdxCnt, GL_UNSIGNED_SHORT, psVol->piib); in PVRTShadowVolSilhouetteProjectedRender()