Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/vulkan/mac/
DWindowSurfaceVkMac.mm23 : WindowSurfaceVk(surfaceState, window), mMetalLayer(nullptr)
29 [mMetalLayer release];
39 mMetalLayer = [[CAMetalLayer alloc] init];
40 mMetalLayer.frame = layer.frame;
41 mMetalLayer.device = mMetalDevice;
42 mMetalLayer.drawableSize =
43 CGSizeMake(mMetalLayer.bounds.size.width * mMetalLayer.contentsScale,
44 mMetalLayer.bounds.size.height * mMetalLayer.contentsScale);
45 mMetalLayer.framebufferOnly = NO;
46 mMetalLayer.autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable;
[all …]
DWindowSurfaceVkMac.h30 CAMetalLayer *mMetalLayer; variable
/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.mm400 if (mMetalLayer && mMetalLayer.get() != mLayer)
404 [mMetalLayer.get() removeFromSuperlayer];
406 mMetalLayer = nil;
426 mMetalLayer.retainAssign(static_cast<CAMetalLayer *>(mLayer));
430 mMetalLayer = [[[CAMetalLayer alloc] init] ANGLE_MTL_AUTORELEASE];
431 mMetalLayer.get().frame = mLayer.frame;
434 mMetalLayer.get().device = metalDevice;
435 mMetalLayer.get().pixelFormat = mColorFormat.metalFormat;
436 mMetalLayer.get().framebufferOnly = NO; // Support blitting and glReadPixels
440 mMetalLayer.get().autoresizingMask = kCALayerWidthSizable | kCALayerHeightSizable;
[all …]
DSurfaceMtl.h174 mtl::AutoObjCObj<CAMetalLayer> mMetalLayer = nil; variable