Searched refs:surfaceFormats (Results 1 – 2 of 2) sorted by relevance
109 VkSurfaceFormatKHR* surfaceFormats = (VkSurfaceFormatKHR*)surfaceFormatAlloc.get(); in createSwapchain() local111 &surfaceFormatCount, surfaceFormats); in createSwapchain()179 if (GrVkFormatToPixelConfig(surfaceFormats[i].format, &config) && in createSwapchain()181 surfaceFormat = surfaceFormats[i].format; in createSwapchain()182 colorSpace = surfaceFormats[i].colorSpace; in createSwapchain()
18130 std::vector<SurfaceFormatKHR,Allocator> surfaceFormats; in getSurfaceFormatsKHR() local18138 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()18139 …surface ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR*>( surfaceFormats.data() ) ) ); in getSurfaceFormatsKHR()18142 assert( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()18143 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()18144 … return createResultValue( result, surfaceFormats, "vk::PhysicalDevice::getSurfaceFormatsKHR" ); in getSurfaceFormatsKHR()