VirtualBox

Ignore:
Timestamp:
Jul 31, 2013 12:44:53 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87660
Message:

crOpenGL: 3d data visibility notifications, bugfixes

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.cpp

    r47103 r47485  
    342342}
    343343
    344 STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, BYTE *pReserved)
     344STDMETHODIMP UIFrameBuffer::Notify3DEvent(ULONG uType, BYTE *pData)
    345345{
    346346    switch (uType)
    347347    {
    348         case VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_WINDOW:
     348        case VBOX3D_NOTIFY_EVENT_TYPE_VISIBLE_3DDATA:
    349349        {
    350             if (pReserved)
    351                 return E_INVALIDARG;
    352 
    353             /* Notify GUI about 3D event: */
    354             emit sigNotify3DEvent();
     350            BOOL fVisible = !!pData;
     351
     352            /* @todo: implement 3D visibility handling */
     353//            /* Notify GUI about 3D event: */
     354//            emit sigNotify3DEvent();
    355355
    356356            return S_OK;
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBuffer.h

    r47103 r47485  
    157157    STDMETHOD(ProcessVHWACommand)(BYTE *pCommand);
    158158
    159     STDMETHOD(Notify3DEvent)(ULONG uType, BYTE *pReserved);
     159    STDMETHOD(Notify3DEvent)(ULONG uType, BYTE *pData);
    160160
    161161    ulong width() { return m_width; }
Note: See TracChangeset for help on using the changeset viewer.

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