mesa/src/amd/vulkan
Dave Airlie 0a44a680ff vulkan/wsi/x11: add support to detect if we can support rendering (v3)
This adds support to radv_GetPhysicalDeviceXlibPresentationSupportKHR
and radv_GetPhysicalDeviceXcbPresentationSupportKHR to check if the
local device file descriptor is compatible with the descriptor
retrieved from the X server via DRI3.

This will stop radv binding to an X server until we have prime
support in place. Hopefully apps use this API before trying
to render things.

v2: drop unneeded function, don't leak memory. (jekstrand)
v3: also check in surface_get_support callback.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-02-20 12:53:52 +10:00
..
winsys/amdgpu radv: fix cik macroModeIndex. 2017-02-15 05:02:13 +10:00
.gitignore radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
dev_icd.json.in radv: Replace "abi_versions" with correct "api_version". 2016-10-25 12:55:39 -07:00
Makefile.am radv: automake: Don't install vk_platform.h or vulkan.h. 2017-01-27 19:25:26 +00:00
Makefile.sources radv: Don't generate radv_timestamp.h 2016-11-24 19:25:03 +01:00
radeon_icd.json.in radv: Suffix the radeon_icd file with the host CPU 2016-11-09 21:36:45 +00:00
radv_cmd_buffer.c Revert "radv: detect command buffers that do no work and drop them (v2)" 2017-02-20 09:00:40 +10:00
radv_cs.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_descriptor_set.c radv: Use different allocator for descriptor set vram. 2017-02-17 09:28:23 +01:00
radv_descriptor_set.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_device.c vulkan/wsi/x11: add support to detect if we can support rendering (v3) 2017-02-20 12:53:52 +10:00
radv_entrypoints_gen.py radv: generate entrypoints from vk.xml 2017-01-14 19:29:44 +00:00
radv_formats.c radv: fix typo in a2b10g10r10 fast clear calculation. 2017-02-19 20:27:28 +10:00
radv_image.c radv: pass FMASK alignment to application 2017-02-07 10:42:01 +10:00
radv_meta.c radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00
radv_meta.h radv: handle layered fast clears. 2017-02-19 20:30:01 +10:00
radv_meta_blit.c radv: fix flipped blits 2016-11-23 23:49:32 +00:00
radv_meta_blit2d.c radv/meta: use VK_NULL_HANDLE for handles 2016-12-10 21:46:56 +01:00
radv_meta_buffer.c Revert "radv: detect command buffers that do no work and drop them (v2)" 2017-02-20 09:00:40 +10:00
radv_meta_bufimage.c radv/meta: update header info 2016-12-18 20:52:20 +01:00
radv_meta_clear.c radv: Enable fast clears by default. 2017-02-07 22:58:06 +01:00
radv_meta_copy.c radv: Fix vkCmdCopyImage for 2d slices into 3d Images 2017-01-30 08:44:07 +01:00
radv_meta_decompress.c radv: fix depth transitions with layerCount = VK_REMAINING_ARRAY_LAYERS 2017-01-07 01:26:08 +01:00
radv_meta_fast_clear.c radv: Handle VK_REMAINING_ARRAY_LAYERS in fast clear eliminate. 2017-02-19 20:58:06 +01:00
radv_meta_resolve.c radv: handle layered fast clears. 2017-02-19 20:30:01 +10:00
radv_meta_resolve_cs.c radv: handle layered fast clears. 2017-02-19 20:30:01 +10:00
radv_pass.c radv: move to using shared vk_alloc inlines. 2016-10-19 09:05:26 +10:00
radv_pipeline.c radv: Add support for shaderStorageImageReadWithoutFormat. 2017-02-15 21:18:21 +01:00
radv_pipeline_cache.c radv: add pipeline creation support for geometry shaders (v2.1) 2017-01-31 09:30:10 +10:00
radv_private.h vulkan/wsi/x11: add support to detect if we can support rendering (v3) 2017-02-20 12:53:52 +10:00
radv_query.c Revert "radv: detect command buffers that do no work and drop them (v2)" 2017-02-20 09:00:40 +10:00
radv_radeon_winsys.h radv/amdgpu: Support a preamble CS. 2017-01-30 02:07:08 +01:00
radv_util.c radv: add missing extension errors in vk_errorf() 2017-01-27 17:33:05 +01:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c vulkan/wsi/x11: add support to detect if we can support rendering (v3) 2017-02-20 12:53:52 +10:00
radv_wsi_wayland.c radv: port to common wsi codebase 2016-10-19 10:15:43 +10:00
radv_wsi_x11.c vulkan/wsi/x11: add support to detect if we can support rendering (v3) 2017-02-20 12:53:52 +10:00
si_cmd_buffer.c Revert "radv: detect command buffers that do no work and drop them (v2)" 2017-02-20 09:00:40 +10:00
vk_format.h radv: fix identity swizzle handling 2016-10-14 04:45:57 +10:00
vk_format_layout.csv radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00
vk_format_parse.py radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00
vk_format_table.py radv: add initial non-conformant radv vulkan driver 2016-10-07 09:16:09 +10:00