Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.h71 ID3D11Buffer *piib; /*!< Two copies of the vertices */ member
74 unsigned int piib; member
77 unsigned short *piib; /*!< Indices to render the volume */ member
DPVRTShadowVol.cpp525 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()
[all …]