Changeset 53780 in vbox
- Timestamp:
- Jan 13, 2015 11:16:52 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97587
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp
r53779 r53780 320 320 321 321 default: 322 if ( pThis->svga.u32IndexReg >= SVGA_SCRATCH_BASE 323 && pThis->svga.u32IndexReg < SVGA_SCRATCH_BASE + pThis->svga.cScratchRegion) 324 { 322 if (pThis->svga.u32IndexReg - (uint32_t)SVGA_SCRATCH_BASE < pThis->svga.cScratchRegion) 325 323 return "SVGA_SCRATCH_BASE reg"; 326 } 324 if (pThis->svga.u32IndexReg - (uint32_t)SVGA_PALETTE_BASE < (uint32_t)SVGA_NUM_PALETTE_REGS) 325 return "SVGA_PALETTE_BASE reg"; 327 326 return "UNKNOWN"; 328 327 } -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp
r53769 r53780 2305 2305 } 2306 2306 2307 int vmsvga3dSurfaceDMA(PVGASTATE pThis, SVGA3dGuestImage guest, SVGA3dSurfaceImageId host, SVGA3dTransferType transfer, uint32_t cCopyBoxes, SVGA3dCopyBox *pBoxes) 2307 int vmsvga3dSurfaceDMA(PVGASTATE pThis, SVGA3dGuestImage guest, SVGA3dSurfaceImageId host, SVGA3dTransferType transfer, 2308 uint32_t cCopyBoxes, SVGA3dCopyBox *pBoxes) 2308 2309 { 2309 2310 PVMSVGA3DSTATE pState = (PVMSVGA3DSTATE)pThis->svga.p3dState; … … 2559 2560 AssertReturn(uDestOffset + pBoxes[i].w * pSurface->cbBlock + (pBoxes[i].h - 1) * pSurface->pMipmapLevels[host.mipmap].cbSurfacePitch <= pSurface->pMipmapLevels[host.mipmap].cbSurface, VERR_INTERNAL_ERROR); 2560 2561 2561 /* @todo lock only as much as we really need */2562 /** @todo lock only as much as we really need */ 2562 2563 if (fVertex) 2563 2564 hr = pSurface->u.pVertexBuffer->Lock(0, 0, (void **)&pData, dwFlags); … … 6295 6296 6296 6297 LogRel(("\n")); 6297 LogRel((" PixelShaderVersion: %#x (%u.%u)\n", 6298 pCaps->PixelShaderVersion, RT_BYTE2(pCaps->PixelShaderVersion), RT_BYTE1(pCaps->PixelShaderVersion))); 6299 LogRel((" VertexShaderVersion: %#x (%u.%u)\n", 6300 pCaps->VertexShaderVersion, RT_BYTE2(pCaps->VertexShaderVersion), RT_BYTE1(pCaps->VertexShaderVersion))); 6301 6298 LogRel(("PixelShaderVersion: %#x (%u.%u)\n", pCaps->PixelShaderVersion, 6299 D3DSHADER_VERSION_MAJOR(pCaps->PixelShaderVersion), D3DSHADER_VERSION_MINOR(pCaps->PixelShaderVersion))); 6300 LogRel(("VertexShaderVersion: %#x (%u.%u)\n", pCaps->VertexShaderVersion, 6301 D3DSHADER_VERSION_MAJOR(pCaps->VertexShaderVersion), D3DSHADER_VERSION_MINOR(pCaps->VertexShaderVersion))); 6302 6303 LogRel(("\n")); 6302 6304 RTLogRelSetBuffering(fBufferingSaved); 6303 6305 }
Note:
See TracChangeset
for help on using the changeset viewer.