Lines Matching defs:host
2321 int vmsvga3dSurfaceDMA(PVGASTATE pThis, SVGA3dGuestImage guest, SVGA3dSurfaceImageId host, SVGA3dTransferType transfer,
2327 uint32_t sid = host.sid;
2335 AssertReturn(pSurface->faces[0].numMipLevels > host.mipmap, VERR_INVALID_PARAMETER);
2336 pMipLevel = &pSurface->pMipmapLevels[host.mipmap];
2339 Log(("vmsvga3dSurfaceDMA TEXTURE guestptr gmr=%x offset=%x pitch=%x host sid=%x face=%d mipmap=%d transfer=%s cCopyBoxes=%d\n", guest.ptr.gmrId, guest.ptr.offset, guest.pitch, host.sid, host.face, host.mipmap, (transfer == SVGA3D_WRITE_HOST_VRAM) ? "READ" : "WRITE", cCopyBoxes));
2341 Log(("vmsvga3dSurfaceDMA guestptr gmr=%x offset=%x pitch=%x host sid=%x face=%d mipmap=%d transfer=%s cCopyBoxes=%d\n", guest.ptr.gmrId, guest.ptr.offset, guest.pitch, host.sid, host.face, host.mipmap, (transfer == SVGA3D_WRITE_HOST_VRAM) ? "READ" : "WRITE", cCopyBoxes));
2345 AssertReturn(pSurface->pMipmapLevels[host.mipmap].pSurfaceData, VERR_INTERNAL_ERROR);
2391 pSurface->pMipmapLevels[host.mipmap].fDirty = true;
2478 hr = pSurface->bounce.pTexture->GetSurfaceLevel(host.mipmap, &pDest);
2481 hr = pSurface->u.pTexture->GetSurfaceLevel(host.mipmap, &pSrc);
2491 hr = pSurface->bounce.pTexture->LockRect(host.mipmap, /* texture level */
2497 hr = pSurface->u.pTexture->LockRect(host.mipmap, /* texture level */
2530 hr = pSurface->bounce.pTexture->UnlockRect(host.mipmap);
2556 hr = pSurface->u.pTexture->UnlockRect(host.mipmap);
2573 uDestOffset = pBoxes[i].x * pSurface->cbBlock + pBoxes[i].y * pSurface->pMipmapLevels[host.mipmap].cbSurfacePitch;
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);
2588 pSurface->pMipmapLevels[host.mipmap].cbSurfacePitch,