Home
last modified time | relevance | path

Searched refs:drawableSize (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/sdk/objc/components/renderer/metal/
DRTCMTLVideoView.m130 self.metalView.drawableSize = [self drawableSize];
132 self.metalView.drawableSize = bounds.size;
202 self.metalView.drawableSize = [self drawableSize];
220 - (CGSize)drawableSize { method in RTCMTLVideoView
245 CGSize drawableSize = [strongSelf drawableSize];
247 strongSelf.metalView.drawableSize = drawableSize;
DRTCMTLNSVideoView.m108 _metalView.drawableSize = size;
/external/angle/src/libANGLE/renderer/vulkan/mac/
DWindowSurfaceVkMac.mm42 mMetalLayer.drawableSize =
68 mMetalLayer.drawableSize =
71 *extentsOut = gl::Extents(static_cast<int>(mMetalLayer.drawableSize.width),
72 static_cast<int>(mMetalLayer.drawableSize.height), 1);
/external/swiftshader/src/WSI/
DMetalSurface.mm81 …// Synchronizes the drawableSize to layer.bounds.size * layer.contentsScale and returns the new va…
82 // drawableSize.
115 static_cast<uint32_t>([layer drawableSize].width),
116 static_cast<uint32_t>([layer drawableSize].height),
152 …// The value of drawableSize in CAMetalLayer is set the first time a drawable is queried but after…
/external/skia/src/image/
DSkSurface_GpuMtl.mm44 SkISize dims = {(int)metalLayer.drawableSize.width, (int)metalLayer.drawableSize.height};
113 SkISize dims = {(int)mtkView.drawableSize.width, (int)mtkView.drawableSize.height};
/external/skia/tools/sk_app/ios/
DMetalWindowContext_ios.mm76 fMetalLayer.drawableSize = frameRect.size;
94 fMetalLayer.drawableSize = fMetalView.frame.size;
/external/angle/src/libANGLE/renderer/metal/
DSurfaceMtl.mm485 // ensure drawableSize is set to correct value:
486 mMetalLayer.get().drawableSize = mCurrentKnownDrawableSize = calcExpectedDrawableSize();
576 gl::Extents size(static_cast<int>(mMetalLayer.get().drawableSize.width),
577 static_cast<int>(mMetalLayer.get().drawableSize.height), 1);
630 CGSize currentLayerDrawableSize = mMetalLayer.get().drawableSize;
634 // That is because metal framework might internally change the drawableSize property of
643 mMetalLayer.get().drawableSize = mCurrentKnownDrawableSize = expectedDrawableSize;
/external/skia/src/core/
DSkChromeRemoteGlyphCache.cpp1002 uint64_t drawableSize = 0u; in readStrikeData() local
1003 if (!deserializer.read<uint64_t>(&drawableSize)) READ_FAILURE in readStrikeData()
1005 if (drawableSize > 0) { in readStrikeData()
1006 auto* drawableData = deserializer.read(drawableSize, kDrawableAlignment); in readStrikeData()
1009 const_cast<const void*>(drawableData), drawableSize)); in readStrikeData()
/external/skia/tools/sk_app/mac/
DGraphiteMetalWindowContext_mac.mm85 fMetalLayer.drawableSize = backingSize;
DMetalWindowContext_mac.mm84 fMetalLayer.drawableSize = backingSize;
DGraphiteDawnMetalWindowContext_mac.mm115 fMetalLayer.drawableSize = backingSize;
DDawnMTLWindowContext_mac.mm166 fLayer.drawableSize = size;
/external/skia/tools/skottie_ios_app/
DSkiaMetalContext.mm51 CGSize size = [self drawableSize];