Changeset 3442 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/OpenGL
- Timestamp:
- Jul 5, 2007 9:42:41 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 22653
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/OpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxCmd.cpp
r3339 r3442 37 37 PVBOX_OGL_CMD pCmd = (PVBOX_OGL_CMD)pCtx->pCurrentCmd; 38 38 39 DbgPrintf (("Start %s cParams=%d cbParams=%d\n", pszVBoxOGLCmd[enmOp], cParams, cbParams));39 DbgPrintf2(("Start %s cParams=%d cbParams=%d\n", pszVBoxOGLCmd[enmOp], cParams, cbParams)); 40 40 41 41 if (pCtx->pCurrentCmd + cParams*VBOX_OGL_CMD_ALIGN + cbParams + sizeof(VBOX_OGL_CMD) >= pCtx->pCmdBufferEnd) … … 74 74 { 75 75 case 1: 76 DbgPrintf (("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint8_t *)pParam, cbParam));76 DbgPrintf2(("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint8_t *)pParam, cbParam)); 77 77 break; 78 78 case 2: 79 DbgPrintf (("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint16_t *)pParam, cbParam));79 DbgPrintf2(("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint16_t *)pParam, cbParam)); 80 80 break; 81 81 case 4: 82 82 default: 83 DbgPrintf (("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint32_t *)pParam, cbParam));83 DbgPrintf2(("Param %s val=%x cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], *(uint32_t *)pParam, cbParam)); 84 84 break; 85 85 } … … 106 106 Assert(pCurrentCmdBlock + cbParam < pCtx->pCmdBufferEnd); 107 107 108 DbgPrintf (("Mem Param %s cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], cbParam));108 DbgPrintf2(("Mem Param %s cbParam=%d\n", pszVBoxOGLCmd[pCmd->enmOp], cbParam)); 109 109 110 110 #ifdef VBOX_OGL_CMD_STRICT … … 137 137 uint8_t *pCurrentCmdBlock = (uint8_t *)pCmd + pCmd->cbCmd; 138 138 139 DbgPrintf (("End %s cbCmd=%d\n", pszVBoxOGLCmd[pCmd->enmOp], pCmd->cbCmd));139 DbgPrintf2(("End %s cbCmd=%d\n", pszVBoxOGLCmd[pCmd->enmOp], pCmd->cbCmd)); 140 140 141 141 pCtx->pCurrentCmd = pCurrentCmdBlock; -
trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/VBoxOGL.h
r3339 r3442 69 69 } 70 70 #define DbgPrintf(a) VBoxDbgLog a 71 72 #ifdef VBOX_DEBUG_LVL2 73 #define DbgPrintf2(a) VBoxDbgLog a 74 #else 75 #define DbgPrintf2(a) 76 #endif 77 71 78 #else 72 79 #define glLogError(a) glSetError(a)
Note:
See TracChangeset
for help on using the changeset viewer.