Changeset 81899 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 16, 2019 8:08:50 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134694
- Location:
- trunk/src/VBox/Devices/Graphics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r81771 r81899 6459 6459 if (RT_SUCCESS(rc2)) 6460 6460 vmsvga3dInfoSurfaceToBitmap(NULL, pSurface, "bmpgl", "rt", "-post"); 6461 # if 0 6462 /* Stage 0 texture. */ 6463 if (pContext->aSidActiveTextures[0] != SVGA3D_INVALID_ID) 6464 { 6465 vmsvga3dUpdateHeapBuffersForSurfaces(pThis, pContext->aSidActiveTextures[0]); 6466 rc2 = vmsvga3dSurfaceFromSid(pState, pContext->aSidActiveTextures[0], &pSurface); 6467 if (RT_SUCCESS(rc2)) 6468 vmsvga3dInfoSurfaceToBitmap(NULL, pSurface, "bmpgl", "rt", "-post-tx"); 6469 } 6470 # endif 6461 6471 } 6462 6472 #endif … … 6548 6558 case SVGA3D_SHADERTYPE_VS: 6549 6559 rc = ShaderCreateVertexShader(pContext->pShaderContext, (const uint32_t *)pShaderData, &pShader->u.pVertexShader); 6560 AssertRC(rc); 6550 6561 break; 6551 6562 6552 6563 case SVGA3D_SHADERTYPE_PS: 6553 6564 rc = ShaderCreatePixelShader(pContext->pShaderContext, (const uint32_t *)pShaderData, &pShader->u.pPixelShader); 6565 AssertRC(rc); 6554 6566 break; 6555 6567 -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp
r81652 r81899 5363 5363 if (RT_SUCCESS(rc2)) 5364 5364 vmsvga3dInfoSurfaceToBitmap(NULL, pSurface, "bmpd3d", "rt", "-post"); 5365 # if 0 5366 /* Stage 0 texture. */ 5367 if (pContext->aSidActiveTextures[0] != SVGA3D_INVALID_ID) 5368 { 5369 vmsvga3dUpdateHeapBuffersForSurfaces(pThis, pContext->aSidActiveTextures[0]); 5370 rc2 = vmsvga3dSurfaceFromSid(pState, pContext->aSidActiveTextures[0], &pSurface); 5371 if (RT_SUCCESS(rc2)) 5372 vmsvga3dInfoSurfaceToBitmap(NULL, pSurface, "bmpd3d", "rt", "-post-tx"); 5373 } 5374 # endif 5365 5375 } 5366 5376 #endif
Note:
See TracChangeset
for help on using the changeset viewer.