Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/WSI/
DVkSurfaceKHR.cpp23 static const VkSurfaceFormatKHR surfaceFormats[] = { variable
98 return static_cast<uint32_t>(sizeof(surfaceFormats) / sizeof(surfaceFormats[0])); in getSurfaceFormatsCount()
108 pSurfaceFormats[i] = surfaceFormats[i]; in getSurfaceFormats()
/third_party/flutter/skia/tools/sk_app/
DVulkanWindowContext.cpp166 VkSurfaceFormatKHR* surfaceFormats = (VkSurfaceFormatKHR*)surfaceFormatAlloc.get(); in createSwapchain() local
168 surfaceFormats); in createSwapchain()
233 VkFormat localFormat = surfaceFormats[i].format; in createSwapchain()
236 colorSpace = surfaceFormats[i].colorSpace; in createSwapchain()
/third_party/skia/tools/sk_app/
DVulkanWindowContext.cpp167 VkSurfaceFormatKHR* surfaceFormats = (VkSurfaceFormatKHR*)surfaceFormatAlloc.get(); in createSwapchain() local
169 surfaceFormats); in createSwapchain()
240 VkFormat localFormat = surfaceFormats[i].format; in createSwapchain()
243 colorSpace = surfaceFormats[i].colorSpace; in createSwapchain()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp416 …std::vector<VkSurfaceFormatKHR> surfaceFormats = vk::wsi::getPhysicalDeviceSurfaceFormats(in… in fullScreenExclusiveTest() local
417 if(surfaceFormats.empty()) in fullScreenExclusiveTest()
420 …tParams.wsiType, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.win… in fullScreenExclusiveTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiFullScreenExclusiveTests.cpp416 …std::vector<VkSurfaceFormatKHR> surfaceFormats = vk::wsi::getPhysicalDeviceSurfaceFormats(in… in fullScreenExclusiveTest() local
417 if(surfaceFormats.empty()) in fullScreenExclusiveTest()
420 …tParams.wsiType, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.win… in fullScreenExclusiveTest()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp490 std::vector<VkSurfaceFormatKHR> surfaceFormats(surfaceFormatCount); in initializeImpl() local
493 surfaceFormats.data())); in initializeImpl()
498 if (surfaceFormatCount == 1u && surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in initializeImpl()
505 for (const VkSurfaceFormatKHR &surfaceFormat : surfaceFormats) in initializeImpl()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageMutableTests.cpp2096 const vector<VkSurfaceFormatKHR>surfaceFormats = getPhysicalDeviceSurfaceFormats(vki, in testSwapchainMutable() local
2103 for (vector<VkSurfaceFormatKHR>::size_type i = 0; i < surfaceFormats.size(); i++) in testSwapchainMutable()
2105 if (surfaceFormats[i].format == caseDef.imageFormat) in testSwapchainMutable()
2106 surfaceFormat = &surfaceFormats[i]; in testSwapchainMutable()
2108 if (surfaceFormats[i].format == caseDef.viewFormat) in testSwapchainMutable()
2109 viewFormat = &surfaceFormats[i].format; in testSwapchainMutable()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageMutableTests.cpp2096 const vector<VkSurfaceFormatKHR>surfaceFormats = getPhysicalDeviceSurfaceFormats(vki, in testSwapchainMutable() local
2103 for (vector<VkSurfaceFormatKHR>::size_type i = 0; i < surfaceFormats.size(); i++) in testSwapchainMutable()
2105 if (surfaceFormats[i].format == caseDef.imageFormat) in testSwapchainMutable()
2106 surfaceFormat = &surfaceFormats[i]; in testSwapchainMutable()
2108 if (surfaceFormats[i].format == caseDef.viewFormat) in testSwapchainMutable()
2109 viewFormat = &surfaceFormats[i].format; in testSwapchainMutable()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DSurfaceVk.cpp224 std::vector<VkSurfaceFormatKHR> surfaceFormats(surfaceFormatCount); in DoesSurfaceSupportFormat() local
227 surfaceFormats.data())); in DoesSurfaceSupportFormat()
229 if (surfaceFormatCount == 1u && surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in DoesSurfaceSupportFormat()
236 for (const VkSurfaceFormatKHR &surfaceFormat : surfaceFormats) in DoesSurfaceSupportFormat()
/third_party/vulkan-headers/include/vulkan/
Dvulkan_funcs.hpp7548 std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormatKHR, SurfaceFormatKHRAllocator> surfaceFormats; in getSurfaceFormatsKHR() local
7556 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7558 … surface ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ); in getSurfaceFormatsKHR()
7562 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
7563 if ( surfaceFormatCount < surfaceFormats.size() ) in getSurfaceFormatsKHR()
7565 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7567 …eturn createResultValueType( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), surfaceFormats ); in getSurfaceFormatsKHR()
7581 …std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormatKHR, SurfaceFormatKHRAllocator> surfaceFormats( sur… in getSurfaceFormatsKHR() local
7589 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7591 … surface ), &surfaceFormatCount, reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ); in getSurfaceFormatsKHR()
[all …]
Dvulkan_raii.hpp12864 std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormatKHR> surfaceFormats; in getSurfaceFormatsKHR() local
12873 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
12877 … reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ); in getSurfaceFormatsKHR()
12881 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
12882 if ( surfaceFormatCount < surfaceFormats.size() ) in getSurfaceFormatsKHR()
12884 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
12886 return surfaceFormats; in getSurfaceFormatsKHR()
14825 std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR> surfaceFormats; in getSurfaceFormats2KHR() local
14836 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormats2KHR()
14840 … reinterpret_cast<VkSurfaceFormat2KHR *>( surfaceFormats.data() ) ); in getSurfaceFormats2KHR()
[all …]
/third_party/skia/third_party/externals/swiftshader/include/vulkan/
Dvulkan_funcs.hpp7032 std::vector<SurfaceFormatKHR, SurfaceFormatKHRAllocator> surfaceFormats; in getSurfaceFormatsKHR() local
7041 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7046 … reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ) ); in getSurfaceFormatsKHR()
7047 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
7050 if ( ( result == Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) in getSurfaceFormatsKHR()
7052 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7055 … result, surfaceFormats, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); in getSurfaceFormatsKHR()
7069 …std::vector<SurfaceFormatKHR, SurfaceFormatKHRAllocator> surfaceFormats( surfaceFormatKHRAllocator… in getSurfaceFormatsKHR() local
7078 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
7083 … reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ) ); in getSurfaceFormatsKHR()
[all …]
Dvulkan_raii.hpp10963 std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormatKHR> surfaceFormats; in getSurfaceFormatsKHR() local
10975 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
10980 reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ) ); in getSurfaceFormatsKHR()
10981 VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); in getSurfaceFormatsKHR()
10984 …ult == VULKAN_HPP_NAMESPACE::Result::eSuccess ) && ( surfaceFormatCount < surfaceFormats.size() ) ) in getSurfaceFormatsKHR()
10986 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormatsKHR()
10992 return surfaceFormats; in getSurfaceFormatsKHR()
13141 std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR> surfaceFormats; in getSurfaceFormats2KHR() local
13153 surfaceFormats.resize( surfaceFormatCount ); in getSurfaceFormats2KHR()
13158 reinterpret_cast<VkSurfaceFormat2KHR *>( surfaceFormats.data() ) ) ); in getSurfaceFormats2KHR()
[all …]