Lines Matching refs:pvData
387 SVertexShVol *pvData; in PVRTShadowVolMeshInitMesh() local
408 …d byte VB (%3dv x 2 x size(%d))\n", psMesh->nV * 2 * sizeof(*pvData), psMesh->nV, sizeof(*pvData)); in PVRTShadowVolMeshInitMesh()
412 sVBBufferDesc.ByteWidth = psMesh->nV * 2 * 3 * sizeof(*pvData); in PVRTShadowVolMeshInitMesh()
437 pvData = (SVertexShVol*) data.pData; in PVRTShadowVolMeshInitMesh()
446 …pContext->pglExt->glBufferDataARB(GL_ARRAY_BUFFER_ARB, psMesh->nV * 2 * sizeof(*pvData), NULL, GL_… in PVRTShadowVolMeshInitMesh()
447 pvData = (SVertexShVol*)pContext->pglExt->glMapBufferARB(GL_ARRAY_BUFFER_ARB, GL_WRITE_ONLY_ARB); in PVRTShadowVolMeshInitMesh()
451 psMesh->pivb = malloc(psMesh->nV * 2 * sizeof(*pvData)); in PVRTShadowVolMeshInitMesh()
452 pvData = (SVertexShVol*)psMesh->pivb; in PVRTShadowVolMeshInitMesh()
460 pvData[nCurr].x = psMesh->pV[nCurr].x; in PVRTShadowVolMeshInitMesh()
461 pvData[nCurr].y = psMesh->pV[nCurr].y; in PVRTShadowVolMeshInitMesh()
462 pvData[nCurr].z = psMesh->pV[nCurr].z; in PVRTShadowVolMeshInitMesh()
463 pvData[nCurr].dwExtrude = 0; in PVRTShadowVolMeshInitMesh()
466 pvData[nCurr].fWeight = 1; in PVRTShadowVolMeshInitMesh()
467 pvData[nCurr + psMesh->nV].fWeight = 1; in PVRTShadowVolMeshInitMesh()
469 pvData[nCurr + psMesh->nV] = pvData[nCurr]; in PVRTShadowVolMeshInitMesh()
470 pvData[nCurr + psMesh->nV].dwExtrude = 0x04030201; // Order is wzyx in PVRTShadowVolMeshInitMesh()