Lines Matching refs:pView

265     NSView *pView = pCtx ? [pCtx view] : nil;
271 || pWinInfo->window != pView)
295 NSView *pView;
321 pCtxInfo->pView = pNewView;
335 NSView *pOldView = pCtxInfo->pView;
1479 - (void)setParentView:(NSView *)pView
1481 COCOA_LOG_FLOW(("%s: self=%p pView=%p (old=%p)\n", __PRETTY_FUNCTION__, (void *)self, (void *)pView, m_pParentView));
1483 m_pParentView = pView;
2718 NSView *pView = [self dockTileScreen];
2719 if (pView != nil)
2721 NSRect dockFrame = [pView frame];
2739 COCOA_LOG_FLOW(("%s: returns - newFrame={%d,%d %d,%d} pView=%d\n", __PRETTY_FUNCTION__, (int)newFrame.origin.x,
2740 (int)newFrame.origin.y, (int)newFrame.size.width, (int)newFrame.size.height, (void *)pView));
2882 OverlayView *pView = [[OverlayView alloc] initWithFrame:NSZeroRect
2887 if (pView)
2890 [[OverlayWindow alloc] initWithParentView:pParentView overlayView:pView];
2892 COCOA_LOG_FLOW(("vboxViewCreate: returns %p\n", (void *)pView));
2893 return pView;
2908 OverlayView *pView;
2914 pCreateView->pView = vboxViewCreate(pCreateView->pWinInfo, pCreateView->pParentView);
2915 COCOA_LOG_FLOW(("vboxRcdCreateView: returns pView=%p\n", (void *)pCreateView->pView));
2939 CreateView.pView = NULL;
2941 *ppView = CreateView.pView;
2966 void cocoaViewReparent(NativeNSViewRef pView, NativeNSViewRef pParentView)
2968 COCOA_LOG_FLOW(("cocoaViewReparent: pView=%p pParentView=%p\n", (void *)pView, (void *)pParentView));
2971 OverlayView *pOView = (OverlayView *)pView;
2980 void cocoaViewDestroy(NativeNSViewRef pView)
2982 COCOA_LOG_FLOW(("cocoaViewDestroy: pView=%p\n", (void *)pView));
2986 [pRunner addObj:pView selector:@selector(vboxDestroy) arg:nil];
2993 void cocoaViewShow(NativeNSViewRef pView, GLboolean fShowIt)
2995 COCOA_LOG_FLOW(("cocoaViewShow: pView=%p fShowIt=%d\n", (void *)pView, fShowIt));
2998 [(OverlayView *)pView vboxSetVisible:fShowIt];
3005 void cocoaViewDisplay(NativeNSViewRef pView)
3007 COCOA_LOG_FLOW(("cocoaViewDisplay: pView=%p\n", (void *)pView));
3012 DEBUG_MSG_1(("cocoaViewDisplay %p\n", (void *)pView));
3014 [(OverlayView *)pView swapFBO];
3020 void cocoaViewSetPosition(NativeNSViewRef pView, NativeNSViewRef pParentView, int x, int y)
3022 COCOA_LOG_FLOW(("cocoaViewSetPosition: pView=%p pParentView=%p x=%d y=%d\n", (void *)pView, (void *)pParentView, x, y));
3025 [(OverlayView *)pView vboxSetPos:NSMakePoint(x, y)];
3031 void cocoaViewSetSize(NativeNSViewRef pView, int cx, int cy)
3033 COCOA_LOG_FLOW(("cocoaViewSetSize: pView=%p cx=%d cy=%d\n", (void *)pView, cx, cy));
3036 [(OverlayView *)pView vboxSetSize:NSMakeSize(cx, cy)];
3046 OverlayView *pView;
3053 pGetGeometry->rect = [[pGetGeometry->pView window] frame];
3058 void cocoaViewGetGeometry(NativeNSViewRef pView, int *px, int *py, int *pcx, int *pcy)
3060 COCOA_LOG_FLOW(("cocoaViewGetGeometry: pView=%p px=%p py=%p pcx=%p pcy=%p\n",
3061 (void *)pView, (void *)px, (void *)py, (void *)pcx, (void *)pcy));
3074 GetGeometry.pView = (OverlayView *)pView;
3082 frame = [[pView window] frame];
3094 void cocoaViewPresentComposition(NativeNSViewRef pView, PCVBOXVR_SCR_COMPOSITOR_ENTRY pChangedEntry)
3096 COCOA_LOG_FLOW(("cocoaViewPresentComposition: pView=%p pChangedEntry=%p\n", (void *)pView, (void *)pChangedEntry));
3101 Assert([(OverlayView *)pView glCtx]);
3105 pCtx = [(OverlayView *)pView glCtx];
3120 [(OverlayView *)pView setGLCtx:pCtx];
3124 [(OverlayView *)pView presentComposition:pChangedEntry];
3132 void cocoaViewMakeCurrentContext(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx)
3134 COCOA_LOG_FLOW(("cocoaViewMakeCurrentContext: pView=%p pCtx=%p\n", (void *)pView, (void *)pCtx));
3137 if (pView)
3139 [(OverlayView *)pView setGLCtx:pCtx];
3140 [(OverlayView *)pView makeCurrentFBO];
3163 GLboolean cocoaViewNeedsEmptyPresent(NativeNSViewRef pView)
3165 COCOA_LOG_FLOW(("cocoaViewNeedsEmptyPresent: pView=%p\n", (void *)pView));
3168 GLboolean fNeedsPresent = [(OverlayView *)pView vboxNeedsEmptyPresent];
3175 void cocoaViewSetVisibleRegion(NativeNSViewRef pView, GLint cRects, const GLint *paRects)
3177 COCOA_LOG_FLOW(("cocoaViewSetVisibleRegion: pView=%p cRects=%d paRects=%p)\n", (void *)pView, cRects, (void const *)paRects));
3180 [(OverlayView *)pView setVisibleRegions:cRects paRects:paRects];
3210 VMSVGA3D_DECL(void) vmsvga3dCocoaDestroyView(NativeNSViewRef pView)
3212 cocoaViewDestroy(pView);
3215 VMSVGA3D_DECL(void) vmsvga3dCocoaViewSetPosition(NativeNSViewRef pView, NativeNSViewRef pParentView, int x, int y)
3217 cocoaViewSetPosition(pView, pParentView, x, y);
3220 VMSVGA3D_DECL(void) vmsvga3dCocoaViewSetSize(NativeNSViewRef pView, int w, int h)
3222 cocoaViewSetSize(pView, w, h);
3225 VMSVGA3D_DECL(void) vmsvga3dCocoaViewMakeCurrentContext(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx)
3227 Assert(!pView || [(OverlayView *)pView glCtx] == pCtx || [(OverlayView *)pView glCtx] == nil);
3228 cocoaViewMakeCurrentContext(pView, pCtx);
3231 VMSVGA3D_DECL(void) vmsvga3dCocoaSwapBuffers(NativeNSViewRef pView, NativeNSOpenGLContextRef pCtx)
3234 Assert([(OverlayView *)pView glCtx] == pCtx);
3235 cocoaViewDisplay(pView);