Lines Matching defs:pMipLevel
2326 PVMSVGA3DMIPMAPLEVEL pMipLevel;
2336 pMipLevel = &pSurface->pMipmapLevels[host.mipmap];
2354 if (pBoxes[i].x + pBoxes[i].w > pMipLevel->size.width)
2355 pBoxes[i].w = pMipLevel->size.width - pBoxes[i].x;
2356 if (pBoxes[i].y + pBoxes[i].h > pMipLevel->size.height)
2357 pBoxes[i].h = pMipLevel->size.height - pBoxes[i].y;
2358 if (pBoxes[i].z + pBoxes[i].d > pMipLevel->size.depth)
2359 pBoxes[i].d = pMipLevel->size.depth - pBoxes[i].z;
2364 || pBoxes[i].x > pMipLevel->size.width
2365 || pBoxes[i].y > pMipLevel->size.height
2366 || pBoxes[i].z > pMipLevel->size.depth)
2372 uDestOffset = pBoxes[i].x * pSurface->cbBlock + pBoxes[i].y * pMipLevel->cbSurfacePitch + pBoxes[i].z * pMipLevel->size.height * pMipLevel->cbSurfacePitch;
2373 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock * pBoxes[i].h * pBoxes[i].d <= pMipLevel->cbSurface, VERR_INTERNAL_ERROR);
2379 (uint8_t *)pMipLevel->pSurfaceData + uDestOffset,
2380 pMipLevel->cbSurfacePitch,
2387 Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurfacePitch, pMipLevel->pSurfaceData));
2413 if (pBoxes[i].x + pBoxes[i].w > pMipLevel->size.width)
2414 pBoxes[i].w = pMipLevel->size.width - pBoxes[i].x;
2415 if (pBoxes[i].y + pBoxes[i].h > pMipLevel->size.height)
2416 pBoxes[i].h = pMipLevel->size.height - pBoxes[i].y;
2417 if (pBoxes[i].z + pBoxes[i].d > pMipLevel->size.depth)
2418 pBoxes[i].d = pMipLevel->size.depth - pBoxes[i].z;
2424 || pBoxes[i].x > pMipLevel->size.width
2425 || pBoxes[i].y > pMipLevel->size.height)