Lines Matching refs:pSurfaceDest

1823     PVMSVGA3DSURFACE    pSurfaceDest;
1834 pSurfaceDest = pState->papSurfaces[sidDest];
1837 AssertReturn(pSurfaceDest->faces[0].numMipLevels > dest.mipmap, VERR_INVALID_PARAMETER);
1839 // AssertMsgReturn(pSurfaceSrc->format == pSurfaceDest->format, ("Format mismatch (%d vs %d)!!\n", pSurfaceSrc->format, pSurfaceDest->format), VERR_INVALID_PARAMETER);
1842 bool fDestTexture = !!(pSurfaceDest->flags & SVGA3D_SURFACE_HINT_TEXTURE);
1845 && !pSurfaceDest->u.pSurface
1861 Log(("vmsvga3dSurfaceCopy: create texture surface id=%x type=%d format=%d -> create texture\n", sidDest, pSurfaceDest->flags, pSurfaceDest->format));
1862 rc = vmsvga3dCreateTexture(pContext, cid, pSurfaceDest);
1867 && pSurfaceDest->u.pSurface)
1874 cid = pSurfaceDest->idAssociatedContext;
1885 vmsvga3dSurfaceFlush(pThis, pSurfaceDest);
1940 hr = pSurfaceDest->u.pTexture->GetSurfaceLevel(dest.mipmap /* Texture level */,
1945 pDest = pSurfaceDest->u.pSurface;
2005 if (!pSurfaceDest->u.pSurface)
2007 LockedDestRect.pBits = (void *)pSurfaceDest->pMipmapLevels[dest.mipmap].pSurfaceData;
2008 LockedDestRect.Pitch = pSurfaceDest->pMipmapLevels[dest.mipmap].cbSurfacePitch;
2013 vmsvga3dSurfaceFlush(pThis, pSurfaceDest);
2017 Assert(!pSurfaceDest->bounce.pTexture);
2018 hr = pSurfaceDest->u.pTexture->LockRect(dest.mipmap, /* texture level */
2024 hr = pSurfaceDest->u.pSurface->LockRect(&LockedDestRect,
2030 uint8_t *pDest = (uint8_t *)LockedDestRect.pBits + LockedDestRect.Pitch * pBox[i].y + pBox[i].x * pSurfaceDest->cbBlock;
2041 if (pSurfaceDest->u.pSurface)
2044 hr = pSurfaceDest->u.pTexture->UnlockRect(dest.mipmap /* Texture level */);
2046 hr = pSurfaceDest->u.pSurface->UnlockRect();
2197 PVMSVGA3DSURFACE pSurfaceDest;
2210 pSurfaceDest = pState->papSurfaces[sidDest];
2212 AssertReturn(pSurfaceDest->faces[0].numMipLevels > dest.mipmap, VERR_INVALID_PARAMETER);
2217 cid = pSurfaceDest->idAssociatedContext;
2237 if (!pSurfaceDest->u.pSurface)
2240 Log(("vmsvga3dSurfaceStretchBlt: unknown dest surface id=%x type=%d format=%d -> create texture\n", sidDest, pSurfaceDest->flags, pSurfaceDest->format));
2241 rc = vmsvga3dCreateTexture(pContext, cid, pSurfaceDest);
2247 vmsvga3dSurfaceFlush(pThis, pSurfaceDest);
2250 bool fDestTexture = !!(pSurfaceDest->flags & SVGA3D_SURFACE_HINT_TEXTURE);
2281 hr = pSurfaceDest->u.pTexture->GetSurfaceLevel(dest.mipmap /* Texture level */,
2286 pDest = pSurfaceDest->u.pSurface;