Home
last modified time | relevance | path

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

123

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp23 static const VkSurfaceFormatKHR surfaceFormats[] = { variable
131 return static_cast<uint32_t>(sizeof(surfaceFormats) / sizeof(surfaceFormats[0])); in getSurfaceFormatsCount()
141 pSurfaceFormats[i] = surfaceFormats[i]; in getSurfaceFormats()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/src/WSI/
H A DVkSurfaceKHR.cpp23 static const VkSurfaceFormatKHR surfaceFormats[] = { variable
131 return static_cast<uint32_t>(sizeof(surfaceFormats) / sizeof(surfaceFormats[0])); in getSurfaceFormatsCount()
141 pSurfaceFormats[i] = surfaceFormats[i]; in getSurfaceFormats()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/helpers/
H A Dsurface_formats.h46 …static ArrayRef<const ClSurfaceFormatInfo> surfaceFormats(cl_mem_flags flags, bool supportsOcl20Fe…
47 …static ArrayRef<const ClSurfaceFormatInfo> surfaceFormats(cl_mem_flags flags, const cl_image_forma…
H A Dsurface_formats.cpp152 ArrayRef<const ClSurfaceFormatInfo> SurfaceFormats::surfaceFormats(cl_mem_flags flags, bool support… in surfaceFormats() function in NEO::SurfaceFormats
169 ArrayRef<const ClSurfaceFormatInfo> SurfaceFormats::surfaceFormats(cl_mem_flags flags, const cl_ima… in surfaceFormats() function in NEO::SurfaceFormats
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/dependencies/lib-SDL2-2.0.8-mingw/test/
H A Dtestvulkan.c192 VkSurfaceFormatKHR *surfaceFormats; member
625 SDL_free(vulkanContext.surfaceFormats); in getSurfaceFormats()
626 vulkanContext.surfaceFormats = in getSurfaceFormats()
628 if(!vulkanContext.surfaceFormats) in getSurfaceFormats()
638 vulkanContext.surfaceFormats); in getSurfaceFormats()
702 && vulkanContext.surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in createSwapchain()
710 vulkanContext.surfaceFormat = vulkanContext.surfaceFormats[0]; in createSwapchain()
713 if(vulkanContext.surfaceFormats[i].format == VK_FORMAT_R8G8B8A8_UNORM) in createSwapchain()
715 vulkanContext.surfaceFormat = vulkanContext.surfaceFormats[i]; in createSwapchain()
1019 SDL_free(vulkanContext.surfaceFormats); in shutdownVulkan()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/SDL2/test/
H A Dtestvulkan.c192 VkSurfaceFormatKHR *surfaceFormats; member
625 SDL_free(vulkanContext.surfaceFormats); in getSurfaceFormats()
626 vulkanContext.surfaceFormats = in getSurfaceFormats()
628 if(!vulkanContext.surfaceFormats) in getSurfaceFormats()
638 vulkanContext.surfaceFormats); in getSurfaceFormats()
702 && vulkanContext.surfaceFormats[0].format == VK_FORMAT_UNDEFINED) in createSwapchain()
710 vulkanContext.surfaceFormat = vulkanContext.surfaceFormats[0]; in createSwapchain()
713 if(vulkanContext.surfaceFormats[i].format == VK_FORMAT_R8G8B8A8_UNORM) in createSwapchain()
715 vulkanContext.surfaceFormat = vulkanContext.surfaceFormats[i]; in createSwapchain()
1019 SDL_free(vulkanContext.surfaceFormats); in shutdownVulkan()
/dports/multimedia/qt5-multimedia/kde-qtmultimedia-5.15.2p3/src/plugins/android/src/mediacapture/
H A Dqandroidcameravideorenderercontrol.cpp137 QList<QVideoFrame::PixelFormat> surfaceFormats = m_control->surface()->supportedPixelFormats(); in configureFormat() local
139 for (int i = 0; i < surfaceFormats.size(); ++i) { in configureFormat()
140 QVideoFrame::PixelFormat pixFormat = surfaceFormats.at(i); in configureFormat()
/dports/devel/sdl20/SDL2-2.0.18/test/
H A Dtestvulkan.c165 VkSurfaceFormatKHR *surfaceFormats; member
566 SDL_free(vulkanContext->surfaceFormats); in getSurfaceFormats()
567 …vulkanContext->surfaceFormats = (VkSurfaceFormatKHR *) SDL_malloc(sizeof(VkSurfaceFormatKHR) * vul… in getSurfaceFormats()
568 if (!vulkanContext->surfaceFormats) { in getSurfaceFormats()
577 vulkanContext->surfaceFormats); in getSurfaceFormats()
637 (vulkanContext->surfaceFormats[0].format == VK_FORMAT_UNDEFINED) ) { in createSwapchain()
642 vulkanContext->surfaceFormat = vulkanContext->surfaceFormats[0]; in createSwapchain()
644 if(vulkanContext->surfaceFormats[i].format == VK_FORMAT_R8G8B8A8_UNORM) { in createSwapchain()
645 vulkanContext->surfaceFormat = vulkanContext->surfaceFormats[i]; in createSwapchain()
981 SDL_free(vulkanContext->surfaceFormats); in shutdownVulkan()
/dports/x11/controllermap/SDL2-2.0.18/test/
H A Dtestvulkan.c165 VkSurfaceFormatKHR *surfaceFormats; member
566 SDL_free(vulkanContext->surfaceFormats); in getSurfaceFormats()
567 …vulkanContext->surfaceFormats = (VkSurfaceFormatKHR *) SDL_malloc(sizeof(VkSurfaceFormatKHR) * vul… in getSurfaceFormats()
568 if (!vulkanContext->surfaceFormats) { in getSurfaceFormats()
577 vulkanContext->surfaceFormats); in getSurfaceFormats()
637 (vulkanContext->surfaceFormats[0].format == VK_FORMAT_UNDEFINED) ) { in createSwapchain()
642 vulkanContext->surfaceFormat = vulkanContext->surfaceFormats[0]; in createSwapchain()
644 if(vulkanContext->surfaceFormats[i].format == VK_FORMAT_R8G8B8A8_UNORM) { in createSwapchain()
645 vulkanContext->surfaceFormat = vulkanContext->surfaceFormats[i]; in createSwapchain()
981 SDL_free(vulkanContext->surfaceFormats); in shutdownVulkan()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/skia/tools/sk_app/
H A 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tools/sk_app/
H A 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()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/gs/GSH_Vulkan/
H A DGSH_Vulkan.cpp102 auto surfaceFormats = GetDeviceSurfaceFormats(m_context->physicalDevice); in InitializeImpl() local
103 assert(surfaceFormats.size() > 0); in InitializeImpl()
104 m_context->surfaceFormat = surfaceFormats[0]; in InitializeImpl()
324 std::vector<VkSurfaceFormatKHR> surfaceFormats(surfaceFormatCount); in GetDeviceSurfaceFormats() local
325 …eSurfaceFormatsKHR(physicalDevice, m_context->surface, &surfaceFormatCount, surfaceFormats.data()); in GetDeviceSurfaceFormats()
328 for(const auto& surfaceFormat : surfaceFormats) in GetDeviceSurfaceFormats()
336 return surfaceFormats; in GetDeviceSurfaceFormats()
/dports/audio/moony-lv2/moony-0.36.0/subprojects/d2tk/pugl/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/audio/midi-matrix-lv2/midi-matrix-0.28.0/subprojects/nk_pugl/pugl/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/audio/moony-lv2/moony-0.36.0/subprojects/nk_pugl/pugl/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/audio/vm-lv2/vm-0.14.0/subprojects/nk_pugl/pugl/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/audio/wolf-shaper-lv2/wolf-shaper-0.1.8-33-ge84de58/dpf/dgl/src/pugl-upstream/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/audio/sherlock-lv2/sherlock.lv2-0.28.0/subprojects/nk_pugl/pugl/examples/
H A Dpugl_vulkan_demo.c526 VkSurfaceFormatKHR* surfaceFormats = AALLOC(nFormats, VkSurfaceFormatKHR); in configureSurface() local
528 vk->physicalDevice, vk->surface, &nFormats, surfaceFormats); in configureSurface()
535 if (surfaceFormats[formatIndex].format == want.format && in configureSurface()
536 surfaceFormats[formatIndex].colorSpace == want.colorSpace) { in configureSurface()
541 free(surfaceFormats); in configureSurface()
/dports/x11-wm/gamescope/gamescope-3.7.1/src/
H A Drendervulkan.cpp37 std::vector< VkSurfaceFormatKHR > surfaceFormats; member
922 uint32_t formatCount = pOutput->surfaceFormats.size(); in vulkan_make_swapchain()
927 if ( pOutput->surfaceFormats[ surfaceFormat ].format == VK_FORMAT_B8G8R8A8_UNORM ) in vulkan_make_swapchain()
934 pOutput->outputFormat = pOutput->surfaceFormats[ surfaceFormat ].format; in vulkan_make_swapchain()
942 createInfo.imageColorSpace = pOutput->surfaceFormats[surfaceFormat ].colorSpace; in vulkan_make_swapchain()
1052 pOutput->surfaceFormats.resize( formatCount ); in vulkan_make_output()
1053 …urfaceFormatsKHR( physicalDevice, pOutput->surface, &formatCount, pOutput->surfaceFormats.data() ); in vulkan_make_output()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/graphics/vulkan/
H A DVulkanRenderer.h32 std::vector<vk::SurfaceFormatKHR> surfaceFormats; member
H A DVulkanRenderer.cpp59 values.surfaceFormats = values.device.getSurfaceFormatsKHR(surface.get()); in checkSwapChainSupport()
62 return !values.surfaceFormats.empty() && !values.presentModes.empty(); in checkSwapChainSupport()
181 for (const auto& availableFormat : values.surfaceFormats) { in chooseSurfaceFormat()
189 return values.surfaceFormats.front(); in chooseSurfaceFormat()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/test/unit_test/mem_obj/
H A Dcreate_image_format_tests.cpp33 …surfaceFormatTable = SurfaceFormats::surfaceFormats(flags, defaultHwInfo->capabilityTable.supports… in SetUp()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/angle/third_party/VK-GL-CTS/src/external/vulkancts/modules/vulkan/wsi/
H A DvktWsiFullScreenExclusiveTests.cpp396 …std::vector<VkSurfaceFormatKHR> surfaceFormats = vk::wsi::getPhysicalDeviceSurfaceFormats(in… in fullScreenExclusiveTest() local
397 if(surfaceFormats.empty()) in fullScreenExclusiveTest()
400 …tParams.wsiType, instHelper.vki, devHelper.physicalDevice, *surface, surfaceFormats[0], native.win… in fullScreenExclusiveTest()
/dports/lang/intel-compute-runtime/compute-runtime-21.52.22081/opencl/source/sharings/d3d/
H A Dd3d_sharing.cpp88 …ArrayRef<const ClSurfaceFormatInfo> formats = SurfaceFormats::surfaceFormats(flags, supportsOcl20F… in findSurfaceFormatInfo()
/dports/multimedia/qt5-multimedia/kde-qtmultimedia-5.15.2p3/src/plugins/avfoundation/camera/
H A Davfcameraviewfindersettingscontrol.mm402 QList<QVideoFrame::PixelFormat> surfaceFormats = surface->supportedPixelFormats(h);
403 for (int i = 0; i < surfaceFormats.count(); ++i) {
404 const QVideoFrame::PixelFormat surfaceFormat = surfaceFormats.at(i);

123