VirtualBox

Changeset 3568 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Jul 12, 2007 7:18:05 AM (18 years ago)
Author:
vboxsync
Message:

Removed obsolete visible region methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.cpp

    r3554 r3568  
    37423742}
    37433743
    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 
    37753744/**
    37763745 * Create a 32-bbp snapshot of the display.
     
    46424611    pData->Port.pfnUpdateDisplayRect    = vgaPortUpdateDisplayRect;
    46434612    pData->Port.pfnSetRenderVRAM        = vgaPortSetRenderVRAM;
    4644     pData->Port.pfnSetVisibleRegion     = vgaPortSetVisibleRegion;
    4645     pData->Port.pfnQueryVisibleRegion   = vgaPortQueryVisibleRegion;
    46464613
    46474614
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette