Searched refs:pMipmapLevel (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/Graphics/
H A DDevVGA-SVGA3d-shared.h183 PVMSVGA3DMIPMAPLEVEL pMipmapLevel = (PVMSVGA3DMIPMAPLEVEL)RTMemAlloc(cMipLevels * sizeof(VMSVGA3DMIPMAPLEVEL)); local
184 AssertReturn(pMipmapLevel, VERR_NO_MEMORY);
195 rc = SSMR3GetStructEx(pSSM, &pMipmapLevel[idx], sizeof(pMipmapLevel[idx]), 0, g_aVMSVGA3DMIPMAPLEVELFields, NULL);
198 pMipmapLevelSize[idx] = pMipmapLevel[idx].size;
206 RTMemFree(pMipmapLevel);
217 PVMSVGA3DMIPMAPLEVEL pMipmapLevel = &pSurface->pMipmapLevels[j]; local
220 Assert(pMipmapLevel->cbSurface);
221 pMipmapLevel->pSurfaceData = RTMemAllocZ(pMipmapLevel
456 PVMSVGA3DMIPMAPLEVEL pMipmapLevel = &pSurface->pMipmapLevels[idx]; local
470 PVMSVGA3DMIPMAPLEVEL pMipmapLevel = &pSurface->pMipmapLevels[idx]; local
[all...]
H A DDevVGA-SVGA3d-win.cpp3215 PVMSVGA3DMIPMAPLEVEL pMipmapLevel = &pSurface->pMipmapLevels[i]; local
3217 pMipmapLevel->pSurfaceData = RTMemAllocZ(pMipmapLevel->cbSurface);
3218 AssertReturn(pMipmapLevel->pSurfaceData, VERR_NO_MEMORY);
3255 for (uint32_t j = 0; j < pMipmapLevel->size.height; j++)
3257 memcpy((uint8_t *)pMipmapLevel->pSurfaceData + j * pMipmapLevel->cbSurfacePitch, (uint8_t *)LockedRect.pBits + j * LockedRect.Pitch, pMipmapLevel->cbSurfacePitch);

Completed in 57 milliseconds