Searched defs:cbSurface (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-win.cpp74 uint32_t cbSurface; member in struct:__anon13187
86 SSMFIELD_ENTRY( VMSVGA3DMIPMAPLEVEL, cbSurface),
1580 pSurface->pMipmapLevels[idx].cbSurface = pSurface->pMipmapLevels[idx].cbSurfacePitch * pSurface->pMipmapLevels[idx].size.height * pSurface->pMipmapLevels[idx].size.depth;
1581 pSurface->pMipmapLevels[idx].pSurfaceData = RTMemAllocZ(pSurface->pMipmapLevels[idx].cbSurface);
2373 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock * pBoxes[i].h * pBoxes[i].d <= pMipLevel->cbSurface, VERR_INTERNAL_ERROR);
2574 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock + (pBoxes[i].h - 1) * pSurface->pMipmapLevels[host.mipmap].cbSurfacePitch <= pSurface->pMipmapLevels[host.mipmap].cbSurface, VERR_INTERNAL_ERROR);
3217 pMipmapLevel->pSurfaceData = RTMemAllocZ(pMipmapLevel->cbSurface);
5330 hr = pContext->pDevice->CreateVertexBuffer(pVertexSurface->pMipmapLevels[0].cbSurface,
5347 memcpy(pData, pVertexSurface->pMipmapLevels[0].pSurfaceData, pVertexSurface->pMipmapLevels[0].cbSurface);
5528 hr = pContext->pDevice->CreateIndexBuffer(pIndexSurface->pMipmapLevels[0].cbSurface,
[all...]
H A DDevVGA-SVGA3d-ogl.cpp483 uint32_t cbSurface; member in struct:__anon13171
495 SSMFIELD_ENTRY( VMSVGA3DMIPMAPLEVEL, cbSurface),
2797 pSurface->pMipmapLevels[idx].cbSurface = pSurface->pMipmapLevels[idx].cbSurfacePitch * pSurface->pMipmapLevels[idx].size.height * pSurface->pMipmapLevels[idx].size.depth;
2798 pSurface->pMipmapLevels[idx].pSurfaceData = RTMemAllocZ(pSurface->pMipmapLevels[idx].cbSurface);
3446 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock * pBoxes[i].h * pBoxes[i].d <= pMipLevel->cbSurface, VERR_INTERNAL_ERROR);
3452 + pMipLevel->cbSurface - pBoxes[i].y * pMipLevel->cbSurfacePitch
3471 Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurface, pMipLevel->pSurfaceData));
3533 pDoubleBuffer = (uint8_t *)RTMemAlloc(pMipLevel->cbSurface);
3566 <= pMipLevel->cbSurface,
3575 + pMipLevel->cbSurface
[all...]

Completed in 100 milliseconds