Home
last modified time | relevance | path

Searched refs:fMetalLayer (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm54 fMetalLayer = [CAMetalLayer layer];
55 fMetalLayer.device = fDevice.get();
56 fMetalLayer.pixelFormat = MTLPixelFormatBGRA8Unorm;
62 fMetalLayer.displaySyncEnabled = useVsync; // TODO: need solution for 10.12 or lower
63 fMetalLayer.layoutManager = [CAConstraintLayoutManager layoutManager];
64 fMetalLayer.autoresizingMask = kCALayerHeightSizable | kCALayerWidthSizable;
65 fMetalLayer.contentsGravity = kCAGravityTopLeft;
66 fMetalLayer.magnificationFilter = kCAFilterNearest;
68 fMetalLayer.colorspace = cs.CGColorSpace;
70 fMainView.layer = fMetalLayer;
[all …]
DGraphiteMetalWindowContext_mac.mm54 fMetalLayer = [CAMetalLayer layer];
55 fMetalLayer.device = fDevice.get();
56 fMetalLayer.pixelFormat = MTLPixelFormatBGRA8Unorm;
62 fMetalLayer.displaySyncEnabled = useVsync; // TODO: need solution for 10.12 or lower
63 fMetalLayer.layoutManager = [CAConstraintLayoutManager layoutManager];
64 fMetalLayer.autoresizingMask = kCALayerHeightSizable | kCALayerWidthSizable;
65 fMetalLayer.contentsGravity = kCAGravityTopLeft;
66 fMetalLayer.magnificationFilter = kCAFilterNearest;
68 fMetalLayer.colorspace = cs.CGColorSpace;
70 fMainView.layer = fMetalLayer;
[all …]
/third_party/skia/tools/sk_app/ios/
DMetalWindowContext_ios.mm73 fMetalLayer = (CAMetalLayer*)fMetalView.layer;
74 fMetalLayer.device = fDevice.get();
75 fMetalLayer.pixelFormat = MTLPixelFormatBGRA8Unorm;
76 fMetalLayer.drawableSize = frameRect.size;
77 fMetalLayer.frame = frameRect;
81 // fMetalLayer.displaySyncEnabled = useVsync;
82 fMetalLayer.contentsGravity = kCAGravityTopLeft;
94 fMetalLayer.drawableSize = fMetalView.frame.size;
95 fMetalLayer.frame = fMetalView.frame;
/third_party/skia/tools/sk_app/
DMetalWindowContext.mm107 fMetalLayer = nil;
124 (__bridge GrMTLHandle)fMetalLayer,
131 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
DGraphiteMetalWindowContext.mm70 fMetalLayer = nil;
84 id<CAMetalDrawable> currentDrawable = [fMetalLayer nextDrawable];
DGraphiteMetalWindowContext.h50 CAMetalLayer* fMetalLayer; variable
DMetalWindowContext.h52 CAMetalLayer* fMetalLayer; variable