Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/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);
/third_party/skia/third_party/externals/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),
151 …// The value of drawableSize in CAMetalLayer is set the first time a drawable is queried but after…
/third_party/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};
/third_party/flutter/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm55 fMetalLayer.drawableSize = frameRect.size;
79 fMetalLayer.drawableSize = fMainView.frame.size;
DVulkanWindowContext_mac.mm65 fMTKView.drawableSize = newSize;
88 mtkView.drawableSize = rect.size;
/third_party/skia/tools/sk_app/ios/
DMetalWindowContext_ios.mm76 fMetalLayer.drawableSize = frameRect.size;
94 fMetalLayer.drawableSize = fMetalView.frame.size;
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DSurfaceMtl.mm449 // ensure drawableSize is set to correct value:
450 mMetalLayer.get().drawableSize = mCurrentKnownDrawableSize = calcExpectedDrawableSize();
544 gl::Extents size(static_cast<int>(mMetalLayer.get().drawableSize.width),
545 static_cast<int>(mMetalLayer.get().drawableSize.height), 1);
586 CGSize currentLayerDrawableSize = mMetalLayer.get().drawableSize;
590 // That is because metal framework might internally change the drawableSize property of
599 mMetalLayer.get().drawableSize = mCurrentKnownDrawableSize = expectedDrawableSize;
/third_party/skia/tools/sk_app/mac/
DMetalWindowContext_mac.mm87 fMetalLayer.drawableSize = backingSize;
DGraphiteMetalWindowContext_mac.mm87 fMetalLayer.drawableSize = backingSize;
/third_party/skia/tools/skottie_ios_app/
DSkiaMetalContext.mm51 CGSize size = [self drawableSize];
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DSpecializationConstant.cpp509 TIntermAggregate *drawableSize = in getHalfRenderArea() local
514 new TIntermBinary(EOpVectorTimesScalar, drawableSize, CreateFloatNode(0.5, EbpMedium)); in getHalfRenderArea()
/third_party/skia/third_party/externals/imgui/examples/example_glfw_metal/
Dmain.mm98 layer.drawableSize = CGSizeMake(width, height);
/third_party/skia/third_party/externals/imgui/examples/example_sdl_metal/
Dmain.mm106 layer.drawableSize = CGSizeMake(width, height);