Home
last modified time | relevance | path

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

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTShadowVol.h56 ID3D11Buffer *pivb; /*!< Two copies of the vertices */ member
59 unsigned int pivb; /*!< Two copies of the vertices */ member
62 void *pivb; /*!< Two copies of the vertices */ member
DPVRTShadowVol.cpp407 _ASSERT(psMesh->pivb == NULL); in PVRTShadowVolMeshInitMesh()
418 hRes = pContext->pDev->CreateBuffer(&sVBBufferDesc, NULL, &psMesh->pivb) != S_OK; in PVRTShadowVolMeshInitMesh()
429 hRes = pDeviceContext->Map(psMesh->pivb, 0, D3D11_MAP_WRITE_DISCARD, NULL, &data); in PVRTShadowVolMeshInitMesh()
444 pContext->pglExt->glGenBuffersARB(1, &psMesh->pivb); in PVRTShadowVolMeshInitMesh()
445 pContext->pglExt->glBindBufferARB(GL_ARRAY_BUFFER_ARB, psMesh->pivb); in PVRTShadowVolMeshInitMesh()
451 psMesh->pivb = malloc(psMesh->nV * 2 * sizeof(*pvData)); in PVRTShadowVolMeshInitMesh()
452 pvData = (SVertexShVol*)psMesh->pivb; in PVRTShadowVolMeshInitMesh()
479 pDeviceContext->Unmap(psMesh->pivb, 0); in PVRTShadowVolMeshInitMesh()
574 psContext->pglExt->glDeleteBuffersARB(1, &psMesh->pivb); in PVRTShadowVolMeshReleaseMesh()
578 FREE(psMesh->pivb); in PVRTShadowVolMeshReleaseMesh()
[all …]