/dports/graphics/bonzomatic/Bonzomatic-2021-03-07/external/glfw/tests/ |
H A D | triangle-vulkan.c | 680 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 682 demo->gpu, demo->surface, &surfCapabilities); in demo_prepare_buffers() 698 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 718 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 719 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 720 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 731 if ((surfCapabilities.maxImageCount > 0) && in demo_prepare_buffers() 732 (desiredNumOfSwapchainImages > surfCapabilities.maxImageCount)) { in demo_prepare_buffers() 734 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() 738 if (surfCapabilities.supportedTransforms & in demo_prepare_buffers() [all …]
|
/dports/graphics/glfw/glfw-3.3.4/tests/ |
H A D | triangle-vulkan.c | 584 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 586 demo->gpu, demo->surface, &surfCapabilities); in demo_prepare_buffers() 602 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 622 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 623 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 624 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 635 if ((surfCapabilities.maxImageCount > 0) && in demo_prepare_buffers() 636 (desiredNumOfSwapchainImages > surfCapabilities.maxImageCount)) { in demo_prepare_buffers() 638 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() 642 if (surfCapabilities.supportedTransforms & in demo_prepare_buffers() [all …]
|
/dports/graphics/rx/rx-0.4.0/cargo-crates/glfw-sys-3.3.0/tests/ |
H A D | vulkan.c | 680 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 682 demo->gpu, demo->surface, &surfCapabilities); in demo_prepare_buffers() 698 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 718 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 719 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 720 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 731 if ((surfCapabilities.maxImageCount > 0) && in demo_prepare_buffers() 732 (desiredNumOfSwapchainImages > surfCapabilities.maxImageCount)) { in demo_prepare_buffers() 734 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() 738 if (surfCapabilities.supportedTransforms & in demo_prepare_buffers() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/glfw/src/tests/ |
H A D | vulkan.c | 711 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 713 demo->gpu, demo->surface, &surfCapabilities); in demo_prepare_buffers() 729 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 749 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 750 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 751 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 762 if ((surfCapabilities.maxImageCount > 0) && in demo_prepare_buffers() 763 (desiredNumOfSwapchainImages > surfCapabilities.maxImageCount)) { in demo_prepare_buffers() 765 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() 769 if (surfCapabilities.supportedTransforms & in demo_prepare_buffers() [all …]
|
/dports/math/geogram/geogram-1.7.7/src/lib/third_party/glfw/tests/ |
H A D | vulkan.c | 711 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 713 demo->gpu, demo->surface, &surfCapabilities); in demo_prepare_buffers() 729 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 749 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 750 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 751 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 762 if ((surfCapabilities.maxImageCount > 0) && in demo_prepare_buffers() 763 (desiredNumOfSwapchainImages > surfCapabilities.maxImageCount)) { in demo_prepare_buffers() 765 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() 769 if (surfCapabilities.supportedTransforms & in demo_prepare_buffers() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/src/tests/test_utils/third_party/ |
H A D | vulkan_command_buffer_utils.cpp | 804 VkSurfaceCapabilitiesKHR surfCapabilities; in init_swap_chain() local 822 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) in init_swap_chain() 828 if (swapchainExtent.width < surfCapabilities.minImageExtent.width) in init_swap_chain() 830 swapchainExtent.width = surfCapabilities.minImageExtent.width; in init_swap_chain() 834 swapchainExtent.width = surfCapabilities.maxImageExtent.width; in init_swap_chain() 837 if (swapchainExtent.height < surfCapabilities.minImageExtent.height) in init_swap_chain() 839 swapchainExtent.height = surfCapabilities.minImageExtent.height; in init_swap_chain() 843 swapchainExtent.height = surfCapabilities.maxImageExtent.height; in init_swap_chain() 849 swapchainExtent = surfCapabilities.currentExtent; in init_swap_chain() 870 uint32_t desiredNumberOfSwapChainImages = surfCapabilities.minImageCount; in init_swap_chain() [all …]
|
/dports/graphics/vulkan-tools/Vulkan-Tools-1.2.203/cube/ |
H A D | cube.c | 1185 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_draw() local 1206 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 1220 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 1240 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 1241 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 1242 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 1245 if (surfCapabilities.maxImageExtent.width == 0 || surfCapabilities.maxImageExtent.height == 0) { in demo_prepare_buffers() 1300 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in demo_prepare_buffers() 1304 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in demo_prepare_buffers() 1306 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() [all …]
|
H A D | cube.cpp | 826 vk::SurfaceCapabilitiesKHR surfCapabilities; in draw() local 829 …if (surfCapabilities.currentExtent.width != static_cast<uint32_t>(width) || surfCapabilities.curre… in draw() 1653 vk::SurfaceCapabilitiesKHR surfCapabilities; in prepare_buffers() local 1667 if (surfCapabilities.currentExtent.width == (uint32_t)-1) { in prepare_buffers() 1674 swapchainExtent = surfCapabilities.currentExtent; in prepare_buffers() 1675 width = surfCapabilities.currentExtent.width; in prepare_buffers() 1676 height = surfCapabilities.currentExtent.height; in prepare_buffers() 1733 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in prepare_buffers() 1739 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in prepare_buffers() 1741 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in prepare_buffers() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/angle/third_party/vulkan-tools/src/cube/ |
H A D | cube.c | 1181 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 1195 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 1203 swapchainExtent.width = surfCapabilities.minImageExtent.width; in demo_prepare_buffers() 1215 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 1216 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 1217 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 1274 if (desiredNumOfSwapchainImages < surfCapabilities.minImageCount) { in demo_prepare_buffers() 1275 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in demo_prepare_buffers() 1279 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in demo_prepare_buffers() 1281 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() [all …]
|
H A D | cube.cpp | 1514 vk::SurfaceCapabilitiesKHR surfCapabilities; in prepare_buffers() local 1515 auto result = gpu.getSurfaceCapabilitiesKHR(surface, &surfCapabilities); in prepare_buffers() 1528 if (surfCapabilities.currentExtent.width == (uint32_t)-1) { in prepare_buffers() 1535 swapchainExtent = surfCapabilities.currentExtent; in prepare_buffers() 1536 width = surfCapabilities.currentExtent.width; in prepare_buffers() 1537 height = surfCapabilities.currentExtent.height; in prepare_buffers() 1593 if (desiredNumOfSwapchainImages < surfCapabilities.minImageCount) { in prepare_buffers() 1594 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in prepare_buffers() 1600 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in prepare_buffers() 1602 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in prepare_buffers() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/vulkan-tools/src/cube/ |
H A D | cube.c | 1188 VkSurfaceCapabilitiesKHR surfCapabilities; in demo_prepare_buffers() local 1202 if (surfCapabilities.currentExtent.width == 0xFFFFFFFF) { in demo_prepare_buffers() 1210 swapchainExtent.width = surfCapabilities.minImageExtent.width; in demo_prepare_buffers() 1222 swapchainExtent = surfCapabilities.currentExtent; in demo_prepare_buffers() 1223 demo->width = surfCapabilities.currentExtent.width; in demo_prepare_buffers() 1224 demo->height = surfCapabilities.currentExtent.height; in demo_prepare_buffers() 1281 if (desiredNumOfSwapchainImages < surfCapabilities.minImageCount) { in demo_prepare_buffers() 1282 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in demo_prepare_buffers() 1286 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in demo_prepare_buffers() 1288 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in demo_prepare_buffers() [all …]
|
H A D | cube.cpp | 1550 vk::SurfaceCapabilitiesKHR surfCapabilities; in prepare_buffers() local 1551 auto result = gpu.getSurfaceCapabilitiesKHR(surface, &surfCapabilities); in prepare_buffers() 1564 if (surfCapabilities.currentExtent.width == (uint32_t)-1) { in prepare_buffers() 1571 swapchainExtent = surfCapabilities.currentExtent; in prepare_buffers() 1572 width = surfCapabilities.currentExtent.width; in prepare_buffers() 1573 height = surfCapabilities.currentExtent.height; in prepare_buffers() 1629 if (desiredNumOfSwapchainImages < surfCapabilities.minImageCount) { in prepare_buffers() 1630 desiredNumOfSwapchainImages = surfCapabilities.minImageCount; in prepare_buffers() 1636 …if ((surfCapabilities.maxImageCount > 0) && (desiredNumOfSwapchainImages > surfCapabilities.maxIma… in prepare_buffers() 1638 desiredNumOfSwapchainImages = surfCapabilities.maxImageCount; in prepare_buffers() [all …]
|