Home
last modified time | relevance | path

Searched refs:fMTKView (Results 1 – 4 of 4) sorted by relevance

/external/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm55 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]|"
[all …]
DVulkanWindowContext_mac.mm38 MTKView* fMTKView;
50 , fMTKView(mtkView) {
56 [fMTKView removeFromSuperview];
57 [fMTKView release];
58 fMTKView = nil;
65 fMTKView.drawableSize = newSize;
/external/skia/tools/sk_app/
DMetalWindowContext.mm69 fbInfo.fTexture = [[fMTKView currentDrawable] texture];
99 id<MTLDrawable> drawable = [fMTKView currentDrawable];
DMetalWindowContext.h52 MTKView* fMTKView; variable