VirtualBox

Changeset 53596 in vbox


Ignore:
Timestamp:
Dec 21, 2014 11:53:18 PM (10 years ago)
Author:
vboxsync
Message:

SVGA/SVGA3d: Moved hexdumps from LogFlow() to Log2(), Log3(), and Log4().

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

Legend:

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

    r53201 r53596  
     1/* $Id$ */
    12/** @file
    2  * VMWare SVGA device
     3 * VMWare SVGA device.
     4 *
     5 * Logging levels guidelines for this and related files:
     6 *  - Log() for normal bits.
     7 *  - LogFlow() for more info.
     8 *  - Log2 for hex dump of cursor data.
     9 *  - Log3 for hex dump of shader code.
     10 *  - Log4 for hex dumps of 3D data.
    311 */
     12
    413/*
    5  * Copyright (C) 2013 Oracle Corporation
     14 * Copyright (C) 2013-2014 Oracle Corporation
    615 *
    716 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    21282137                AssertBreak(pCursorCopy);
    21292138
    2130                 LogFlow(("Cursor data:\n%.*Rhxd\n", pCursor->width * pCursor->height * sizeof(uint32_t), pCursor+1));
     2139                Log2(("Cursor data:\n%.*Rhxd\n", pCursor->width * pCursor->height * sizeof(uint32_t), pCursor+1));
    21312140
    21322141                /* Transparency is defined by the alpha bytes, so make the whole bitmap visible. */
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r53595 r53596  
    21822182                                    pBoxes[i].d * pBoxes[i].h);
    21832183
    2184             LogFlow(("first line:\n%.*Rhxd\n", pMipLevel->cbSurface, pMipLevel->pSurfaceData));
     2184            Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurface, pMipLevel->pSurfaceData));
    21852185
    21862186            AssertRC(rc);
     
    23442344                }
    23452345
    2346                 LogFlow(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, pDoubleBuffer));
     2346                Log4(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, pDoubleBuffer));
    23472347
    23482348                /* Free the double buffer. */
     
    23862386                AssertRC(rc);
    23872387
    2388                 LogFlow(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));
     2388                Log4(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));
    23892389
    23902390                pState->ext.glUnmapBuffer(GL_ARRAY_BUFFER);
     
    58835883
    58845884    Log(("vmsvga3dShaderDefine cid=%x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
    5885     LogFlow(("shader code:\n%.*Rhxd\n", cbData, pShaderData));
     5885    Log3(("shader code:\n%.*Rhxd\n", cbData, pShaderData));
    58865886
    58875887    if (    cid >= pState->cContexts
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp

    r53348 r53596  
    23702370                                    pBoxes[i].d * pBoxes[i].h);
    23712371
    2372             LogFlow(("first line:\n%.*Rhxd\n", pMipLevel->cbSurfacePitch, pMipLevel->pSurfaceData));
     2372            Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurfacePitch, pMipLevel->pSurfaceData));
    23732373
    23742374            AssertRC(rc);
     
    25072507                AssertRC(rc);
    25082508
    2509                 LogFlow(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, LockedRect.pBits));
     2509                Log4(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, LockedRect.pBits));
    25102510
    25112511                if (fTexture)
     
    25792579                AssertRC(rc);
    25802580
    2581                 LogFlow(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));
     2581                Log4(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));
    25822582
    25832583                if (fVertex)
     
    56955695
    56965696    Log(("vmsvga3dShaderDefine %x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData));
    5697     LogFlow(("shader code:\n%.*Rhxd\n", cbData, pShaderData));
     5697    Log3(("shader code:\n%.*Rhxd\n", cbData, pShaderData));
    56985698
    56995699    if (    cid >= pState->cContexts
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