VirtualBox

Changeset 81899 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Nov 16, 2019 8:08:50 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
134694
Message:

Devices/Graphics: assertions and (disabled) debug code

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r81771 r81899  
    64596459        if (RT_SUCCESS(rc2))
    64606460            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
    64616471    }
    64626472#endif
     
    65486558    case SVGA3D_SHADERTYPE_VS:
    65496559        rc = ShaderCreateVertexShader(pContext->pShaderContext, (const uint32_t *)pShaderData, &pShader->u.pVertexShader);
     6560        AssertRC(rc);
    65506561        break;
    65516562
    65526563    case SVGA3D_SHADERTYPE_PS:
    65536564        rc = ShaderCreatePixelShader(pContext->pShaderContext, (const uint32_t *)pShaderData, &pShader->u.pPixelShader);
     6565        AssertRC(rc);
    65546566        break;
    65556567
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp

    r81652 r81899  
    53635363        if (RT_SUCCESS(rc2))
    53645364            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
    53655375    }
    53665376#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette