Changeset 99601 in vbox for trunk/src/VBox/Additions/x11/VBoxClient/testcase/tstSeamlessX11-auto.cpp
- Timestamp:
- May 4, 2023 10:43:08 AM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/testcase/tstSeamlessX11-auto.cpp
r99600 r99601 85 85 86 86 exit(1); 87 } 88 89 void VBClLogVerbose(unsigned iLevel, const char *pszFormat, ...) 90 { 91 RT_NOREF(iLevel); 92 93 va_list va; 94 va_start(va, pszFormat); 95 RTPrintf("%s", pszFormat); 96 va_end(va); 87 97 } 88 98 … … 366 376 static bool g_fNotified = false; 367 377 368 /** Dummy host call -back. */369 static void sendRegionUpdate(RTRECT *pRects, size_t cRects)378 /** Dummy host callback. */ 379 void VBClSeamlessSendRegionUpdate(RTRECT *pRects, size_t cRects) 370 380 { 371 381 RT_NOREF2(pRects, cRects); 372 382 g_fNotified = true; 383 } 384 385 int VbglR3SeamlessSetCap(bool bState) 386 { 387 RTPrintf("%s\n", bState ? "Seamless capability set" 388 : "Seamless capability unset"); 389 return VINF_SUCCESS; 390 } 391 392 int VbglR3CtlFilterMask(uint32_t u32OrMask, uint32_t u32NotMask) 393 { 394 RTPrintf("IRQ filter mask changed. Or mask: 0x%x. Not mask: 0x%x\n", 395 u32OrMask, u32NotMask); 396 return VINF_SUCCESS; 397 } 398 399 int VbglR3SeamlessWaitEvent(VMMDevSeamlessMode *pMode) 400 { 401 RT_NOREF(pMode); 402 return VINF_SUCCESS; 373 403 } 374 404 … … 679 709 unsigned cErrs = 0; 680 710 681 subject.init( sendRegionUpdate);711 subject.init(VBClSeamlessSendRegionUpdate); 682 712 smlsSetWindowAttributes(pFixture->paAttribsBefore, 683 713 pFixture->pahWindowsBefore,
Note:
See TracChangeset
for help on using the changeset viewer.