Home
last modified time | relevance | path

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

/third_party/skia/tools/sk_app/mac/
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 …]
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 …]
/third_party/flutter/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm55 fMetalLayer.drawableSize = frameRect.size;
56 fMetalLayer.frame = frameRect;
59 fMetalLayer.displaySyncEnabled = useVsync; // TODO: need solution for 10.12 or lower
60 fMetalLayer.layoutManager = [CAConstraintLayoutManager layoutManager];
61 fMetalLayer.autoresizingMask = kCALayerHeightSizable | kCALayerWidthSizable;
62 fMetalLayer.contentsGravity = kCAGravityTopLeft;
64 fMainView.layer = fMetalLayer;
79 fMetalLayer.drawableSize = fMainView.frame.size;
80 fMetalLayer.frame = fMainView.frame;
/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/flutter/skia/tools/sk_app/
DMetalWindowContext.mm45 fMetalLayer = [CAMetalLayer layer];
46 fMetalLayer.device = fDevice;
47 fMetalLayer.pixelFormat = MTLPixelFormatBGRA8Unorm;
69 fMetalLayer = nil;
83 fCurrentDrawable = [fMetalLayer nextDrawable];
DMetalWindowContext.h46 CAMetalLayer* fMetalLayer; variable
/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