VirtualBox

Changeset 76237 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 14, 2018 4:17:58 PM (6 years ago)
Author:
vboxsync
Message:

DevVGA-SVGA3d-ogl: no 3D overlay on Darwin too

File:
1 edited

Legend:

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

    r76236 r76237  
    29952995
    29962996#elif defined(RT_OS_DARWIN)
    2997     /** @todo No overlay like on Windows. */
    2998     VMSVGASCREENOBJECT *pScreen = vmsvgaGetScreenObject(pThis, 0);
    2999     uint32_t const uWidth  = pScreen ? pScreen->cWidth : -1;
    3000     uint32_t const uHeight = pScreen ? pScreen->cHeight: -1;
    3001 
    30022997    pContext->fOtherProfile = RT_BOOL(fFlags & VMSVGA3D_DEF_CTX_F_OTHER_PROFILE);
    30032998
    30042999    NativeNSOpenGLContextRef pShareContext = pSharedCtx ? pSharedCtx->cocoaContext : NULL;
    3005     NativeNSViewRef          pHostView    = (NativeNSViewRef)pThis->svga.u64HostWindowId;
    30063000    vmsvga3dCocoaCreateViewAndContext(&pContext->cocoaView, &pContext->cocoaContext,
    3007                                       pSharedCtx ? NULL : pHostView, /* Only attach one subview, the one we'll present in. */ /** @todo screen objects and stuff. */
    3008                                       uWidth, uHeight,
     3001                                      NULL,
     3002                                      4, 4,
    30093003                                      pShareContext, pContext->fOtherProfile);
    30103004
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