Changeset 3568 in vbox for trunk/src/VBox/Devices/Graphics
- Timestamp:
- Jul 12, 2007 7:18:05 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r3554 r3568 3742 3742 } 3743 3743 3744 /** @copydoc PDMIDISPLAYPORT::pfnSetVisibleRegion */3745 static DECLCALLBACK(int) vgaPortSetVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t cRect, PRTRECT pRect)3746 {3747 PVGASTATE pData = IDISPLAYPORT_2_VGASTATE(pInterface);3748 3749 if (!cRect || !pRect)3750 return VERR_INVALID_PARAMETER;3751 3752 /** @todo */3753 return VINF_SUCCESS;3754 }3755 3756 3757 /** @copydoc PDMIDISPLAYPORT::pfnQueryVisibleRegion */3758 static DECLCALLBACK(int) vgaPortQueryVisibleRegion(PPDMIDISPLAYPORT pInterface, uint32_t *pcRect, PRTRECT pRect)3759 {3760 PVGASTATE pData = IDISPLAYPORT_2_VGASTATE(pInterface);3761 3762 if (!pcRect)3763 return VERR_INVALID_PARAMETER;3764 3765 /** @todo */3766 *pcRect = 1;3767 3768 if (pRect)3769 {3770 }3771 3772 return VINF_SUCCESS;3773 }3774 3775 3744 /** 3776 3745 * Create a 32-bbp snapshot of the display. … … 4642 4611 pData->Port.pfnUpdateDisplayRect = vgaPortUpdateDisplayRect; 4643 4612 pData->Port.pfnSetRenderVRAM = vgaPortSetRenderVRAM; 4644 pData->Port.pfnSetVisibleRegion = vgaPortSetVisibleRegion;4645 pData->Port.pfnQueryVisibleRegion = vgaPortQueryVisibleRegion;4646 4613 4647 4614
Note:
See TracChangeset
for help on using the changeset viewer.