Changeset 99997 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/SvgaCmd.cpp
- Timestamp:
- May 29, 2023 10:00:48 AM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/gallium/SvgaCmd.cpp
r98103 r99997 212 212 } 213 213 214 void SvgaCmdDefineGMR2(void *pvCmd, uint32_t u32GmrId, uint32_t cPages)215 {216 uint32_t *pu32Id = (uint32_t *)pvCmd;217 SVGAFifoCmdDefineGMR2 *pCommand = (SVGAFifoCmdDefineGMR2 *)&pu32Id[1];218 219 *pu32Id = SVGA_CMD_DEFINE_GMR2;220 221 pCommand->gmrId = u32GmrId;222 pCommand->numPages = cPages;223 }224 225 void SvgaCmdRemapGMR2(void *pvCmd, uint32_t u32GmrId, SVGARemapGMR2Flags flags, uint32 offsetPages, uint32_t numPages)226 {227 uint32_t *pu32Id = (uint32_t *)pvCmd;228 SVGAFifoCmdRemapGMR2 *pCommand = (SVGAFifoCmdRemapGMR2 *)&pu32Id[1];229 230 *pu32Id = SVGA_CMD_REMAP_GMR2;231 232 pCommand->gmrId = u32GmrId;233 pCommand->flags = flags;234 pCommand->offsetPages = offsetPages;235 pCommand->numPages = numPages;236 }237 238 214 void Svga3dCmdSurfaceDMAToFB(void *pvCmd, uint32_t u32Sid, uint32_t u32Width, uint32_t u32Height, uint32_t u32Offset) 239 215 {
Note:
See TracChangeset
for help on using the changeset viewer.