Searched refs:cbSurface (Results 1 - 3 of 3) sorted by relevance
/vbox/src/VBox/Devices/Graphics/ |
H A D | DevVGA-SVGA3d-shared.h | 220 Assert(pMipmapLevel->cbSurface); 221 pMipmapLevel->pSurfaceData = RTMemAllocZ(pMipmapLevel->cbSurface); 228 Log(("Surface sid=%x: load mipmap level %d with %x bytes data (present=%d).\n", sid, j, pMipmapLevel->cbSurface, fDataPresent)); 232 rc = SSMR3GetMem(pSSM, pMipmapLevel->pSurfaceData, pMipmapLevel->cbSurface); 472 Log(("Surface sid=%d: save mipmap level %d with %x bytes data.\n", sid, i, pMipmapLevel->cbSurface)); 486 Assert(pMipmapLevel->cbSurface); 487 rc = SSMR3PutMem(pSSM, pMipmapLevel->pSurfaceData, pMipmapLevel->cbSurface); 507 Assert(pMipmapLevel->cbSurface); 508 pData = RTMemAllocZ(pMipmapLevel->cbSurface); 614 memcpy(pData, pD3DData, pMipmapLevel->cbSurface); [all...] |
H A D | DevVGA-SVGA3d-ogl.cpp | 483 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...] |
H A D | DevVGA-SVGA3d-win.cpp | 74 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...] |
Completed in 53 milliseconds