VirtualBox

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


Ignore:
Timestamp:
May 19, 2009 11:12:55 PM (16 years ago)
Author:
vboxsync
Message:

HGSMI: post host VBVA commands to display; Video HW Accel: mechanism for passing/processing commands to framebuffer

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

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

    r19711 r19844  
    45544554        case PDMINTERFACE_DISPLAY_PORT:
    45554555            return &pThis->Port;
     4556#if defined(VBOX_WITH_HGSMI) && defined(VBOX_WITH_VIDEOHWACCEL)
     4557        case PDMINTERFACE_DISPLAY_VBVA_CALLBACKS:
     4558            return &pThis->VBVACallbacks;
     4559#endif
    45564560        default:
    45574561            return NULL;
     
    55735577    pThis->Port.pfnSetRenderVRAM        = vgaPortSetRenderVRAM;
    55745578
     5579#if defined(VBOX_WITH_HGSMI) && defined(VBOX_WITH_VIDEOHWACCEL)
     5580    pThis->VBVACallbacks.pfnVHWACommandCompleteAsynch = vbvaVHWACommandCompleteAsynch;
     5581#endif
    55755582
    55765583    /*
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r18720 r19844  
    309309    /** The display port interface. */
    310310    PDMIDISPLAYPORT             Port;
     311#if defined(VBOX_WITH_HGSMI) && defined(VBOX_WITH_VIDEOHWACCEL)
     312    /** VBVA callbacks interface */
     313    PDMDDISPLAYVBVACALLBACKS    VBVACallbacks;
     314#endif
    311315    /** Pointer to base interface of the driver. */
    312316    R3PTRTYPE(PPDMIBASE)        pDrvBase;
     
    443447void     VBVADestroy    (PVGASTATE pVGAState);
    444448int      VBVAUpdateDisplay (PVGASTATE pVGAState);
     449
     450# ifdef VBOX_WITH_VIDEOHWACCEL
     451int vbvaVHWACommandCompleteAsynch(PPDMDDISPLAYVBVACALLBACKS pInterface, PVBOXVHWACMD pCmd);
     452# endif
    445453#endif /* VBOX_WITH_HGSMI */
    446454
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