Changeset 53596 in vbox
- Timestamp:
- Dec 21, 2014 11:53:18 PM (10 years ago)
- 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$ */ 1 2 /** @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. 3 11 */ 12 4 13 /* 5 * Copyright (C) 2013 Oracle Corporation14 * Copyright (C) 2013-2014 Oracle Corporation 6 15 * 7 16 * This file is part of VirtualBox Open Source Edition (OSE), as … … 2128 2137 AssertBreak(pCursorCopy); 2129 2138 2130 Log Flow(("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)); 2131 2140 2132 2141 /* Transparency is defined by the alpha bytes, so make the whole bitmap visible. */ -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r53595 r53596 2182 2182 pBoxes[i].d * pBoxes[i].h); 2183 2183 2184 Log Flow(("first line:\n%.*Rhxd\n", pMipLevel->cbSurface, pMipLevel->pSurfaceData));2184 Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurface, pMipLevel->pSurfaceData)); 2185 2185 2186 2186 AssertRC(rc); … … 2344 2344 } 2345 2345 2346 Log Flow(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, pDoubleBuffer));2346 Log4(("first line:\n%.*Rhxd\n", pBoxes[i].w * pSurface->cbBlock, pDoubleBuffer)); 2347 2347 2348 2348 /* Free the double buffer. */ … … 2386 2386 AssertRC(rc); 2387 2387 2388 Log Flow(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));2388 Log4(("first line:\n%.*Rhxd\n", cbSrcPitch, pData)); 2389 2389 2390 2390 pState->ext.glUnmapBuffer(GL_ARRAY_BUFFER); … … 5883 5883 5884 5884 Log(("vmsvga3dShaderDefine cid=%x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData)); 5885 Log Flow(("shader code:\n%.*Rhxd\n", cbData, pShaderData));5885 Log3(("shader code:\n%.*Rhxd\n", cbData, pShaderData)); 5886 5886 5887 5887 if ( cid >= pState->cContexts -
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp
r53348 r53596 2370 2370 pBoxes[i].d * pBoxes[i].h); 2371 2371 2372 Log Flow(("first line:\n%.*Rhxd\n", pMipLevel->cbSurfacePitch, pMipLevel->pSurfaceData));2372 Log4(("first line:\n%.*Rhxd\n", pMipLevel->cbSurfacePitch, pMipLevel->pSurfaceData)); 2373 2373 2374 2374 AssertRC(rc); … … 2507 2507 AssertRC(rc); 2508 2508 2509 Log Flow(("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)); 2510 2510 2511 2511 if (fTexture) … … 2579 2579 AssertRC(rc); 2580 2580 2581 Log Flow(("first line:\n%.*Rhxd\n", cbSrcPitch, pData));2581 Log4(("first line:\n%.*Rhxd\n", cbSrcPitch, pData)); 2582 2582 2583 2583 if (fVertex) … … 5695 5695 5696 5696 Log(("vmsvga3dShaderDefine %x shid=%x type=%s cbData=%x\n", cid, shid, (type == SVGA3D_SHADERTYPE_VS) ? "VERTEX" : "PIXEL", cbData)); 5697 Log Flow(("shader code:\n%.*Rhxd\n", cbData, pShaderData));5697 Log3(("shader code:\n%.*Rhxd\n", cbData, pShaderData)); 5698 5698 5699 5699 if ( cid >= pState->cContexts
Note:
See TracChangeset
for help on using the changeset viewer.