VirtualBox

Ignore:
Timestamp:
Jun 9, 2020 3:28:30 PM (5 years ago)
Author:
vboxsync
Message:

Main,include: provide a new method for the graphics device to pass notifications to a frontend

File:
1 edited

Legend:

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

    r84723 r84740  
    10421042    switch (uType)
    10431043    {
    1044         case VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_VISIBLE:
    1045         case VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_HIDDEN:
     1044        case VBOX3D_NOTIFY_TYPE_3DDATA_VISIBLE:
     1045        case VBOX3D_NOTIFY_TYPE_3DDATA_HIDDEN:
    10461046        {
    10471047            /* Notify machine-view with the async-signal
    10481048             * about 3D overlay visibility change: */
    1049             BOOL fVisible = uType == VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_VISIBLE;
     1049            BOOL fVisible = uType == VBOX3D_NOTIFY_TYPE_3DDATA_VISIBLE;
    10501050            LogRel2(("GUI: UIFrameBufferPrivate::Notify3DEvent: Sending to async-handler: "
    1051                      "(VBOX3D_NOTIFY_EVENT_TYPE_3DDATA_%s)\n",
     1051                     "(VBOX3D_NOTIFY_TYPE_3DDATA_%s)\n",
    10521052                     fVisible ? "VISIBLE" : "HIDDEN"));
    10531053            emit sigNotifyAbout3DOverlayVisibilityChange(fVisible);
     
    10601060        }
    10611061
    1062         case VBOX3D_NOTIFY_EVENT_TYPE_TEST_FUNCTIONAL:
     1062        case VBOX3D_NOTIFY_TYPE_TEST_FUNCTIONAL:
    10631063        {
    10641064            HRESULT hr = m_fUnused ? E_FAIL : S_OK;
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