VirtualBox

Changeset 48145 in vbox


Ignore:
Timestamp:
Aug 29, 2013 11:05:46 AM (11 years ago)
Author:
vboxsync
Message:

wddm: fix autoresize for win8 display-only

Location:
trunk/src/VBox/Additions/WINNT
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp

    r48070 r48145  
    38543854                }
    38553855
     3856#if 0
     3857                /* win8.1 does not allow context-based hw-access escapes for some reason */
    38563858                PVBOXWDDM_CONTEXT pContext = (PVBOXWDDM_CONTEXT)pEscape->hContext;
    38573859                if (!pContext)
     
    38683870                    break;
    38693871                }
     3872#endif
    38703873
    38713874                WARN(("VBOXESC_REINITVIDEOMODESBYMASK should be called instead"));
     
    38833886                }
    38843887
     3888#if 0
     3889                /* win8.1 does not allow context-based hw-access escapes for some reason */
    38853890                PVBOXWDDM_CONTEXT pContext = (PVBOXWDDM_CONTEXT)pEscape->hContext;
    38863891                if (!pContext)
     
    38973902                    break;
    38983903                }
     3904#endif
    38993905
    39003906                if (pEscape->PrivateDriverDataSize != sizeof (VBOXDISPIFESCAPE_REINITVIDEOMODESBYMASK))
     
    39223928                }
    39233929
     3930#if 0
     3931                /* win8.1 does not allow context-based hw-access escapes for some reason */
    39243932                PVBOXWDDM_CONTEXT pContext = (PVBOXWDDM_CONTEXT)pEscape->hContext;
    39253933                if (!pContext)
     
    39363944                    break;
    39373945                }
     3946#endif
    39383947
    39393948                if (pEscape->PrivateDriverDataSize != sizeof (*pEscapeHdr))
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp

    r48070 r48145  
    13041304    D3DKMT_ESCAPE EscapeData = {0};
    13051305    EscapeData.hAdapter = pOp->Adapter.hAdapter;
     1306#if 0
     1307    /* win8.1 does not allow context-based hw-access escapes for some reason */
    13061308    EscapeData.hDevice = pOp->Device.hDevice;
    13071309    EscapeData.hContext = pOp->Context.hContext;
     1310#endif
    13081311    EscapeData.Type = D3DKMT_ESCAPE_DRIVERPRIVATE;
    13091312    EscapeData.Flags.HardwareAccess = 1;
     
    16921695    D3DKMT_ESCAPE EscapeData = {0};
    16931696    EscapeData.hAdapter = pOp->Adapter.hAdapter;
     1697#if 0
     1698    /* win8.1 does not allow context-based hw-access escapes for some reason */
    16941699    EscapeData.hDevice = pOp->Device.hDevice;
    16951700    EscapeData.hContext = pOp->Context.hContext;
     1701#endif
    16961702    EscapeData.Type = D3DKMT_ESCAPE_DRIVERPRIVATE;
    16971703    EscapeData.Flags.HardwareAccess = 1;
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