Searched refs:metalLayer (Results 1 – 3 of 3) sorted by relevance
127 MetalSurface::MetalSurface(const void *pCreateInfo, void *mem) : metalLayer(reinterpret_cast<MetalL…134 if(metalLayer)136 metalLayer->release();139 vk::deallocate(metalLayer, pAllocator);155 VkExtent2D extent = metalLayer->syncExtent();166 auto drawable = metalLayer->getNextDrawable();170 VkExtent2D drawableExtent = metalLayer->getDrawableSize();192 metalLayer->initWithLayer(pCreateInfo->pLayer);200 metalLayer->initWithView(pCreateInfo->pView);
48 MetalLayer *metalLayer = nullptr; member in vk::MetalSurface
40 CAMetalLayer* metalLayer = (__bridge CAMetalLayer*)layer;41 GrBackendFormat backendFormat = GrBackendFormat::MakeMtl(metalLayer.pixelFormat);45 SkISize dims = {(int)metalLayer.drawableSize.width, (int)metalLayer.drawableSize.height};54 CAMetalLayer* metalLayer = (__bridge CAMetalLayer*)layer;55 id<CAMetalDrawable> currentDrawable = [metalLayer nextDrawable];59 if (metalLayer.framebufferOnly) {79 metalLayer.framebufferOnly ? nullptr : &texInfo,