Searched refs:surfaceFormats (Results 1 – 2 of 2) sorted by relevance
115 VkSurfaceFormatKHR* surfaceFormats = (VkSurfaceFormatKHR*)surfaceFormatAlloc.get(); in createSwapchain() local117 &surfaceFormatCount, surfaceFormats); in createSwapchain()184 GrPixelConfig config = GrVkFormatToPixelConfig(surfaceFormats[i].format); in createSwapchain()187 surfaceFormat = surfaceFormats[i].format; in createSwapchain()188 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()