<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Mar 7, 2018 at 11:25 PM, Keith Packard <span dir="ltr"><<a href="mailto:keithp@keithp.com" target="_blank">keithp@keithp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Add support for the EXT_direct_mode_display extension. This just<br>
provides the vkReleaseDisplayEXT function.<br>
<br>
Signed-off-by: Keith Packard <<a href="mailto:keithp@keithp.com">keithp@keithp.com</a>><br>
---<br>
src/intel/vulkan/anv_<wbr>extensions.py | 1 +<br>
src/intel/vulkan/anv_wsi_<wbr>display.c | 11 +++++++++++<br>
2 files changed, 12 insertions(+)<br>
<br>
diff --git a/src/intel/vulkan/anv_<wbr>extensions.py b/src/intel/vulkan/anv_<wbr>extensions.py<br>
index c23c0a87bb9..0c29e00c2fe 100644<br>
--- a/src/intel/vulkan/anv_<wbr>extensions.py<br>
+++ b/src/intel/vulkan/anv_<wbr>extensions.py<br>
@@ -108,6 +108,7 @@ EXTENSIONS = [<br>
Extension('VK_KHR_xlib_<wbr>surface', 6, 'VK_USE_PLATFORM_XLIB_KHR'),<br>
Extension('VK_KHR_multiview', 1, True),<br>
Extension('VK_KHR_display', 23, 'VK_USE_PLATFORM_DISPLAY_KHR')<wbr>,<br>
+ Extension('VK_EXT_direct_mode_<wbr>display', 1, 'VK_USE_PLATFORM_DISPLAY_KHR')<wbr>,<br></blockquote><div><br></div><div>Alphabetize, please. :-)<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Extension('VK_EXT_debug_<wbr>report', 8, True),<br>
Extension('VK_EXT_external_<wbr>memory_dma_buf', 1, True),<br>
Extension('VK_EXT_global_<wbr>priority', 1,<br>
diff --git a/src/intel/vulkan/anv_wsi_<wbr>display.c b/src/intel/vulkan/anv_wsi_<wbr>display.c<br>
index 9b00d7f02e4..e6f67f7dec9 100644<br>
--- a/src/intel/vulkan/anv_wsi_<wbr>display.c<br>
+++ b/src/intel/vulkan/anv_wsi_<wbr>display.c<br>
@@ -127,3 +127,14 @@ anv_<wbr>CreateDisplayPlaneSurfaceKHR(<wbr>VkInstance _instance<br>
<br>
return wsi_create_display_surface(_<wbr>instance, alloc, create_info, surface);<br>
}<br>
+<br>
+VkResult<br>
+anv_ReleaseDisplayEXT(<wbr>VkPhysicalDevice physical_device,<br>
+ VkDisplayKHR display)<br>
+{<br>
+ ANV_FROM_HANDLE(anv_physical_<wbr>device, pdevice, physical_device);<br>
+<br>
+ return wsi_release_display(physical_<wbr>device,<br>
+ &pdevice->wsi_device,<br>
+ display);<br>
+}<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.16.2<br>
<br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</font></span></blockquote></div><br></div></div>