Changeset 79938 in vbox
- Timestamp:
- Jul 23, 2019 6:09:28 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.cpp
r76553 r79938 110 110 111 111 DWORD g_VBoxVDbgCfgCreateSwapchainOnDdiOnce = 0; 112 113 void vboxDispLogDbgPrintF(char * szString, ...)114 {115 char szBuffer[4096] = {0};116 va_list pArgList;117 va_start(pArgList, szString);118 vboxDispLogDbgFormatStringV(szBuffer, sizeof (szBuffer), szString, pArgList);119 va_end(pArgList);120 121 OutputDebugStringA(szBuffer);122 }123 112 124 113 VOID vboxVDbgDoPrintDmlCmd(const char* pszDesc, const char* pszCmd) … … 805 794 VBoxDispMpLoggerLog(szBuffer); 806 795 } 796 797 void vboxDispLogDbgPrintF(char * szString, ...) 798 { 799 char szBuffer[4096] = { 0 }; 800 va_list pArgList; 801 va_start(pArgList, szString); 802 vboxDispLogDbgFormatStringV(szBuffer, sizeof(szBuffer), szString, pArgList); 803 va_end(pArgList); 804 805 OutputDebugStringA(szBuffer); 806 } 807 807 #endif -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispDbg.h
r76563 r79938 38 38 /* generic debugging facilities & extra data checks */ 39 39 # define VBOXWDDMDISP_DEBUG 40 # if defined(DEBUG_misha) || defined(DEBUG_leo)41 40 /* for some reason when debugging with VirtualKD, user-mode DbgPrint's are discarded 42 41 * the workaround so far is to pass the log info to the kernel driver and DbgPrint'ed from there, 43 42 * which is enabled by this define */ 44 43 //# define VBOXWDDMDISP_DEBUG_PRINTDRV 45 /* use OutputDebugString */ 46 //# define VBOXWDDMDISP_DEBUG_PRINT 44 45 /* Uncomment to use OutputDebugString */ 46 //#define VBOXWDDMDISP_DEBUG_PRINT 47 47 48 /* disable shared resource creation with wine */ 48 49 //# define VBOXWDDMDISP_DEBUG_NOSHARED 49 50 50 51 //# define VBOXWDDMDISP_DEBUG_PRINT_SHARED_CREATE 51 52 52 //# define VBOXWDDMDISP_DEBUG_TIMER 53 # endif54 53 55 54 # ifndef IN_VBOXCRHGSMI
Note:
See TracChangeset
for help on using the changeset viewer.