Changeset 83142 in vbox for trunk/include/VBox
- Timestamp:
- Feb 24, 2020 7:24:26 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136260
- Location:
- trunk/include/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxGuestLib.h
r82968 r83142 743 743 VBGLR3DECL(int) VbglR3SeamlessWaitEvent(VMMDevSeamlessMode *pMode); 744 744 VBGLR3DECL(int) VbglR3SeamlessSendRects(uint32_t cRects, PRTRECT pRects); 745 VBGLR3DECL(int) VbglR3SeamlessSendMonitorPositions(uint32_t cPositions, PRTPOINT pPositions); 745 746 VBGLR3DECL(int) VbglR3SeamlessGetLastEvent(VMMDevSeamlessMode *pMode); 746 747 … … 1263 1264 1264 1265 #endif /* !VBOX_INCLUDED_VBoxGuestLib_h */ 1265 -
trunk/include/VBox/VMMDev.h
r82968 r83142 202 202 VMMDevReq_HeartbeatConfigure = 220, 203 203 VMMDevReq_NtBugCheck = 221, 204 VMMDevReq_VideoUpdateMonitorPositions= 222, 204 205 VMMDevReq_SizeHack = 0x7fffffff 205 206 } VMMDevRequestType; … … 1349 1350 AssertCompileSize(RTRECT, 16); 1350 1351 AssertCompileSize(VMMDevVideoSetVisibleRegion, 24+4+16); 1352 1353 /** 1354 * VBVA monitor positions update request structure. 1355 * 1356 * Used by VMMDevReq_VideoUpdateMonitorPositions. 1357 */ 1358 typedef struct 1359 { 1360 /** Header. */ 1361 VMMDevRequestHeader header; 1362 /** Number of monitor positions (monitors) */ 1363 uint32_t cPositions; 1364 /** Positions array.*/ 1365 RTPOINT aPositions[1]; 1366 } VMMDevVideoUpdateMonitorPositions; 1367 AssertCompileSize(RTPOINT, 8); 1368 AssertCompileSize(VMMDevVideoUpdateMonitorPositions, 24+4+8); 1351 1369 1352 1370 /** … … 1822 1840 case VMMDevReq_GuestHeartbeat: 1823 1841 return sizeof(VMMDevRequestHeader); 1842 case VMMDevReq_VideoUpdateMonitorPositions: 1843 return sizeof(VMMDevVideoUpdateMonitorPositions); 1824 1844 default: 1825 1845 break; … … 1970 1990 1971 1991 #endif /* !VBOX_INCLUDED_VMMDev_h */ 1972 -
trunk/include/VBox/vmm/pdmifs.h
r82968 r83142 710 710 */ 711 711 DECLR3CALLBACKMEMBER(void, pfnReportHostCursorPosition, (PPDMIDISPLAYPORT pInterface, uint32_t x, uint32_t y, bool fOutOfRange)); 712 713 /** 714 * Notify the graphics device about the monitor positions since the ones we get from vmwgfx FIFO are not correct. In an ideal 715 * universe this method should not be here. 716 * 717 * @param pInterface Pointer to this interface. 718 * @param cPositions Number of monitor positions 719 * @param pPosition Monitor positions (offsets/origins) array 720 * @thread Any. 721 */ 722 DECLR3CALLBACKMEMBER(void, pfnReportMonitorPositions, (PPDMIDISPLAYPORT pInterface, uint32_t cPositions, PRTPOINT pPosition)); 723 712 724 } PDMIDISPLAYPORT; 713 725 /** PDMIDISPLAYPORT interface ID. */ … … 1814 1826 1815 1827 /** 1828 * Update monitor positions (offsets). Passing monitor positions from the guest to host 1829 * exclusively since vmwgfx fails to do so (thru FIFO). 1830 * 1831 * @returns VBox status code. 1832 * @param pInterface Pointer to this interface. 1833 * @param cPositions Number of monitor positions 1834 * @param pPosition Positions array 1835 * @thread The emulation thread. 1836 * 1837 * @remarks Is allowed to be NULL. 1838 */ 1839 DECLR3CALLBACKMEMBER(int, pfnUpdateMonitorPositions,(PPDMIVMMDEVCONNECTOR pInterface, uint32_t cPositions, PRTPOINT pPosition)); 1840 1841 /** 1816 1842 * Query the visible region of the display 1817 1843 *
Note:
See TracChangeset
for help on using the changeset viewer.