Changeset 53758 in vbox
- Timestamp:
- Jan 7, 2015 10:50:39 AM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 97542
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/DisplayImpl.cpp
r53748 r53758 255 255 256 256 static DECLCALLBACK(void) displaySaveScreenshotReport(void *pvCtx, uint32_t uScreen, 257 uint32_t x, uint32_t y, uint32_t uBitsPerPixel,258 uint32_t uBytesPerLine, uint32_t uGuestWidth, uint32_t uGuestHeight,259 uint8_t *pu8BufferAddress, uint64_t u64TimeStamp)257 uint32_t x, uint32_t y, uint32_t uBitsPerPixel, 258 uint32_t uBytesPerLine, uint32_t uGuestWidth, uint32_t uGuestHeight, 259 uint8_t *pu8BufferAddress, uint64_t u64TimeStamp) 260 260 { 261 261 VBOX_DISPLAY_SAVESCREENSHOT_DATA *pData = (VBOX_DISPLAY_SAVESCREENSHOT_DATA*)pvCtx; … … 266 266 if (RT_FAILURE(rc)) 267 267 { 268 AssertMsgFailed(("DisplayMakePNG failed %d\n", rc));268 AssertMsgFailed(("DisplayMakePNG failed (rc=%Rrc)\n", rc)); 269 269 if (pData->pu8PNG) 270 270 { … … 357 357 } 358 358 else 359 AssertMsgFailed(("SHCRGL_HOST_FN_TAKE_SCREENSHOT failed %d\n", rc));359 AssertMsgFailed(("SHCRGL_HOST_FN_TAKE_SCREENSHOT failed (rc=%Rrc)\n", rc)); 360 360 361 361 … … 772 772 else 773 773 { 774 AssertMsgFailed(("crCtlSubmit failed rc %d\n", rc));774 AssertMsgFailed(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 775 775 RTMemFree(pData); 776 776 } … … 815 815 if (RT_FAILURE(rc)) 816 816 { 817 AssertMsgFailed(("crCtlSubmit failed rc %d\n", rc));817 AssertMsgFailed(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 818 818 RTMemFree(pCtl); 819 819 } … … 1246 1246 if (!RT_SUCCESS(rc)) 1247 1247 { 1248 AssertMsgFailed(("crCtlSubmit failed rc %d\n", rc));1248 AssertMsgFailed(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 1249 1249 RTMemFree(pCtl); 1250 1250 } … … 1746 1746 if (!RT_SUCCESS(rc)) 1747 1747 { 1748 AssertMsgFailed(("crCtlSubmit failed rc %d\n", rc));1748 AssertMsgFailed(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 1749 1749 RTMemFree(pData); 1750 1750 } … … 1794 1794 if (RT_SUCCESS(rc)) 1795 1795 return TRUE; 1796 else 1797 { 1798 AssertMsgFailed(("failed to get screenshot data from crOgl %d\n", rc)); 1799 /* fall back to the non-3d mechanism */ 1800 } 1796 AssertMsgFailed(("failed to get screenshot data from crOgl (rc=%Rrc)\n", rc)); 1797 /* fall back to the non-3d mechanism */ 1801 1798 } 1802 1799 } … … 2824 2821 mCrOglCallbacks = Completion.MainInterface; 2825 2822 else 2826 AssertMsgFailed(("VBOXVDMACMD_CHROMIUM_CTL_TYPE_CRHGSMI_SETUP_COMPLETION failed rc %d", rc));2823 AssertMsgFailed(("VBOXVDMACMD_CHROMIUM_CTL_TYPE_CRHGSMI_SETUP_COMPLETION failed (rc=%Rrc)\n", rc)); 2827 2824 } 2828 2825 … … 2968 2965 if (RT_SUCCESS(rc)) 2969 2966 break; 2970 AssertMsgFailed(("crCtlSubmit failed rc %d\n", rc));2967 AssertMsgFailed(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 2971 2968 } 2972 2969 … … 3205 3202 else 3206 3203 { 3207 AssertMsgFailed(("crViewportNotify failed %d\n", rc));3204 AssertMsgFailed(("crViewportNotify failed (rc=%Rrc)\n", rc)); 3208 3205 rc = VINF_SUCCESS; 3209 3206 } … … 3240 3237 void *pvContext) 3241 3238 { 3242 AssertMsgFailed(("not expected! "));3239 AssertMsgFailed(("not expected!\n")); 3243 3240 Display *pDisplay = (Display *)pvContext; 3244 3241 pDisplay->i_handleCrHgsmiCommandCompletion(result, u32Function, pParam); … … 3284 3281 pvCompletion); 3285 3282 if (!RT_SUCCESS(rc)) 3286 AssertMsgFailed(("hgcmHostFastCallAsync failed rc %d\n", rc));3283 AssertMsgFailed(("hgcmHostFastCallAsync failed (rc=%Rrc)\n", rc)); 3287 3284 3288 3285 return rc; … … 3343 3340 if (RT_FAILURE(rc)) 3344 3341 { 3345 LogRel(("crCtlSubmit failed %d\n", rc));3342 LogRel(("crCtlSubmit failed (rc=%Rrc)\n", rc)); 3346 3343 RTMemFree(pCmdCopy); 3347 3344 return rc; … … 3448 3445 if (pThis->maFramebuffers[uScreenId].fVBVAEnabled && pThis->maFramebuffers[uScreenId].fRenderThreadMode != fRenderThreadMode) 3449 3446 { 3450 LogRel((" enabling different vbva mode"));3447 LogRel(("Enabling different vbva mode\n")); 3451 3448 #ifdef DEBUG_misha 3452 AssertMsgFailed(("enabling different vbva mode "));3449 AssertMsgFailed(("enabling different vbva mode\n")); 3453 3450 #endif 3454 3451 return VERR_INVALID_STATE;
Note:
See TracChangeset
for help on using the changeset viewer.