Lines Matching refs:caps
193 VkSurfaceCapabilitiesKHR caps; in Create() local
195 &caps); in Create()
201 LOG_ALWAYS_FATAL_IF(0 == (caps.supportedTransforms & VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR)); in Create()
214 windowInfo.transform = ConvertVkTransformToNative(caps.supportedTransforms); in Create()
215 windowInfo.size = SkISize::Make(caps.currentExtent.width, caps.currentExtent.height); in Create()
217 const SkISize minSize = SkISize::Make(caps.minImageExtent.width, caps.minImageExtent.height); in Create()
218 const SkISize maxSize = SkISize::Make(caps.maxImageExtent.width, caps.maxImageExtent.height); in Create()
230 std::max(sTargetBufferCount + extraBuffers, caps.minImageCount); in Create()
231 if (caps.maxImageCount > 0 && windowInfo.bufferCount > caps.maxImageCount) { in Create()
233 windowInfo.bufferCount = caps.maxImageCount; in Create()
241 LOG_ALWAYS_FATAL_IF((caps.supportedUsageFlags & usageFlags) != usageFlags); in Create()