Changeset 24490 in vbox for trunk/src/VBox/Main/DisplayImpl.cpp
- Timestamp:
- Nov 9, 2009 11:23:35 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/DisplayImpl.cpp
r24464 r24490 405 405 uint32_t cy = 0; 406 406 407 /* @todo pfnTakeScreenshot is probably callable from any thread, because it uses the VGA device lock. */ 408 int rc = VMR3ReqCallWait(pVM, VMCPUID_ANY, (PFNRT)that->mpDrv->pUpPort->pfnTakeScreenshot, 5, 409 that->mpDrv->pUpPort, &pu8Data, &cbData, &cx, &cy); 407 /* SSM code is executed on EMT(0), therefore no need to use VMR3ReqCallWait. */ 408 int rc = that->mpDrv->pUpPort->pfnTakeScreenshot (that->mpDrv->pUpPort, &pu8Data, &cbData, &cx, &cy); 410 409 411 410 if (RT_SUCCESS(rc)) … … 668 667 669 668 #if 0 670 rc = SSMR3RegisterExternal(pVM, "DisplayScreenshot", 0 /*uInstance*/, sSSMDisplayScreenshotVer, 0 /*cbGuess*/, 669 /* uInstance is an arbitrary value greater than 1024. Such a value will ensure a quick seek in saved state file. */ 670 rc = SSMR3RegisterExternal(pVM, "DisplayScreenshot", 1100 /*uInstance*/, sSSMDisplayScreenshotVer, 0 /*cbGuess*/, 671 671 NULL, NULL, NULL, 672 672 NULL, displaySSMSaveScreenshot, NULL,
Note:
See TracChangeset
for help on using the changeset viewer.