VirtualBox

Changeset 104853 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Jun 5, 2024 2:18:51 PM (11 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
163446
Message:

3D: Minor corrections for logging

File:
1 edited

Legend:

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

    r104806 r104853  
    3333#define LOG_GROUP LOG_GROUP_DEV_VMSVGA
    3434#include <iprt/mem.h>
     35#include <iprt/path.h>
    3536#include <VBox/AssertGuest.h>
    3637#include <VBox/log.h>
     
    16601661{
    16611662    static int idxBitmap = 0;
    1662     char *pszFilename = RTStrAPrintf2("bmp\\%s%d.bmp", pszPrefix, idxBitmap++);
     1663    char *pszFilename = RTStrAPrintf2("bmp" RTPATH_SLASH_STR "%s%d.bmp", pszPrefix, idxBitmap++);
    16631664    int rc = vmsvga3dBmpWrite(pszFilename, pMap);
    16641665    Log(("WriteBmpFile %s format %d %Rrc\n", pszFilename, pMap->format, rc)); RT_NOREF(rc);
     
    77557756
    77567757    STAM_REL_COUNTER_INC(&pSvgaR3State->StatR3CmdDefineGmrFb);
    7757     Log(("SVGA_CMD_DEFINE_GMRFB gmr=%x offset=%x bytesPerLine=%x bpp=%d color depth=%d\n",
    7758              pCmd->ptr.gmrId, pCmd->ptr.offset, pCmd->bytesPerLine, pCmd->format.bitsPerPixel, pCmd->format.colorDepth));
     7758    Log(("SVGA_CMD_DEFINE_GMRFB gmr=0x%x offset=0x%x bytesPerLine=0x%x(%d) bpp=%d color depth=%d\n",
     7759             pCmd->ptr.gmrId, pCmd->ptr.offset, pCmd->bytesPerLine, pCmd->bytesPerLine, pCmd->format.bitsPerPixel, pCmd->format.colorDepth));
    77597760
    77607761    pSvgaR3State->GMRFB.ptr          = pCmd->ptr;
     
    77787779    VMSVGASCREENOBJECT *pScreen = vmsvgaR3GetScreenObject(pThisCC, pCmd->destScreenId);
    77797780    AssertPtrReturnVoid(pScreen);
     7781
     7782    Log(("SVGA_CMD_BLIT_GMRFB_TO_SCREEN screen(%d): x=%d y=%d w=%d h=%d offVRAM=0x%x cbPitch=0x%x(%d)\n",
     7783            pScreen->idScreen,
     7784            pScreen->xOrigin, pScreen->yOrigin, pScreen->cWidth, pScreen->cHeight,
     7785            pScreen->offVRAM, pScreen->cbPitch, pScreen->cbPitch));
    77807786
    77817787    /** @todo Support GMRFB.format.s.bitsPerPixel != pThis->svga.uBpp ?  */
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