Changeset 76237 in vbox for trunk/src/VBox
- Timestamp:
- Dec 14, 2018 4:17:58 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp
r76236 r76237 2995 2995 2996 2996 #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 3002 2997 pContext->fOtherProfile = RT_BOOL(fFlags & VMSVGA3D_DEF_CTX_F_OTHER_PROFILE); 3003 2998 3004 2999 NativeNSOpenGLContextRef pShareContext = pSharedCtx ? pSharedCtx->cocoaContext : NULL; 3005 NativeNSViewRef pHostView = (NativeNSViewRef)pThis->svga.u64HostWindowId;3006 3000 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, 3009 3003 pShareContext, pContext->fOtherProfile); 3010 3004
Note:
See TracChangeset
for help on using the changeset viewer.