Lines Matching refs:fMTKView
55 fMTKView = [[MTKView alloc] initWithFrame:rect device:fDevice];
56 if (nil == fMTKView) {
60 fMTKView.autoResizeDrawable = NO;
61 fMTKView.colorPixelFormat = MTLPixelFormatBGRA8Unorm;
62 fMTKView.drawableSize = rect.size;
69 fMTKView.sampleCount = fDisplayParams.fMSAASampleCount;
72 [fMTKView setTranslatesAutoresizingMaskIntoConstraints:NO];
74 [fMainView addSubview:fMTKView];
75 NSDictionary *views = NSDictionaryOfVariableBindings(fMTKView);
78 [NSLayoutConstraint constraintsWithVisualFormat:@"H:|[fMTKView]|"
84 [NSLayoutConstraint constraintsWithVisualFormat:@"V:|[fMTKView]|"
89 fSampleCount = [fMTKView sampleCount];
92 CGSize backingSize = [fMTKView drawableSize];
100 [fMTKView removeFromSuperview];
101 [fMTKView release];
102 fMTKView = nil;