VirtualBox

Changeset 81978 in vbox


Ignore:
Timestamp:
Nov 19, 2019 8:07:05 AM (5 years ago)
Author:
vboxsync
Message:

Devices/Graphics: logging

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

Legend:

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

    r81903 r81978  
    29222922                AssertRC(rc);
    29232923
    2924                 Log4(("Buffer content (updated at [0x%x;0x%x):\n%.*Rhxd\n", offHst, offHst + cbWidth, pMipLevel->cbSurface, pbData));
     2924                Log4(("Buffer updated at [0x%x;0x%x):\n%.*Rhxd\n", offHst, offHst + cbWidth, cbWidth, (uint8_t *)pbData + offHst));
    29252925
    29262926                pState->ext.glUnmapBuffer(GL_ARRAY_BUFFER);
     
    64896489    int                   rc;
    64906490
    6491     Log(("vmsvga3dShaderDefine cid=%x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
     6491    Log(("vmsvga3dShaderDefine cid=%x shid=%d type=%s cbData=0x%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
    64926492    Log3(("shader code:\n%.*Rhxd\n", cbData, pShaderData));
    64936493
     
    65926592    int                   rc;
    65936593
    6594     Log(("vmsvga3dShaderDestroy cid=%x shid=%x type=%s\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL"));
     6594    Log(("vmsvga3dShaderDestroy cid=%x shid=%d type=%s\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL"));
    65956595
    65966596    if (    cid >= pState->cContexts
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp

    r81903 r81978  
    24942494        AssertRC(rc);
    24952495
    2496         Log4(("Buffer content (updated at [0x%x;0x%x):\n%.*Rhxd\n", offHst, offHst + cbWidth, pMipLevel->cbSurface, pMipLevel->pSurfaceData));
     2496        Log4(("Buffer updated at [0x%x;0x%x):\n%.*Rhxd\n", offHst, offHst + cbWidth, cbWidth, (uint8_t *)pMipLevel->pSurfaceData + offHst));
    24972497
    24982498        /* Do not bother to copy the data to the D3D resource now. vmsvga3dDrawPrimitives will do that.
Note: See TracChangeset for help on using the changeset viewer.

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