Lines Matching refs:pivb
407 _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()
1277 _ASSERT(psMesh->pivb); in PVRTShadowVolSilhouetteProjectedRender()
1289 pContext->pglExt->glBindBufferARB(GL_ARRAY_BUFFER_ARB, psMesh->pivb); in PVRTShadowVolSilhouetteProjectedRender()
1314 …AttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].x); in PVRTShadowVolSilhouetteProjectedRender()
1317 … 4, GL_UNSIGNED_BYTE, GL_FALSE, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].dwExtrude); in PVRTShadowVolSilhouetteProjectedRender()
1334 glVertexPointer(3, GL_FLOAT, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].x); in PVRTShadowVolSilhouetteProjectedRender()
1335 …PointerOES(1, GL_UNSIGNED_BYTE, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].dwExtrude); in PVRTShadowVolSilhouetteProjectedRender()
1336 …->glWeightPointerOES(1, GL_FLOAT, sizeof(SVertexShVol), &((SVertexShVol*)psMesh->pivb)[0].fWeight); in PVRTShadowVolSilhouetteProjectedRender()