Lines Matching defs:surface
175 VMSVGA3DSURFACE surface;
177 /* Fetch the surface structure first. */
178 rc = SSMR3GetStructEx(pSSM, &surface, sizeof(surface), 0, g_aVMSVGA3DSURFACEFields, NULL);
182 uint32_t cMipLevels = surface.faces[0].numMipLevels * surface.cFaces;
189 for (uint32_t face=0; face < surface.cFaces; face++)
191 for (uint32_t j = 0; j < surface.faces[0].numMipLevels; j++)
193 uint32_t idx = j + face * surface.faces[0].numMipLevels;
202 rc = vmsvga3dSurfaceDefine(pThis, sid, surface.flags, surface.format, surface.faces, surface.multiSampleCount, surface.autogenFilter, cMipLevels, pMipmapLevelSize);
446 /* Save a copy of the surface structure first. */
515 /* @todo unable to easily fetch depth surface data in d3d 9 */
635 /* And write the surface data. */
713 /* And write the surface data. */
739 /* And write the surface data. */