<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 2, 2017 at 4:15 AM, Emil Velikov <span dir="ltr"><<a href="mailto:emil.l.velikov@gmail.com" target="_blank">emil.l.velikov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 2 March 2017 at 05:28, Jason Ekstrand <<a href="mailto:jason@jlekstrand.net">jason@jlekstrand.net</a>> wrote:<br>
> Previously, we were depending on EGL for generating the headers and<br>
> providing the protocol symbols. However, since neither Vulkan driver<br>
> actually wants to link against EGL, this is kind-of pointless. It also<br>
> creates a weird build dependency.<br>
<br>
</span>Yeah, the Vulkan dependency on egl/wayland is quite weird. This<br>
alongside my "rename --with-egl-platforms -> --with-platforms" will<br>
get us close to nirvana.<br>
The final piece being wl_drm_interface always being exported... for<br>
which I'll try to polish the wayland patches and send them upstream<br>
;-)<br>
<br>
A couple of small nitpicks below:<br>
<span class=""><br>
> ---<br>
> src/amd/vulkan/Makefile.am | 3 ---<br>
> src/intel/vulkan/Makefile.am | 7 -------<br>
> src/vulkan/.gitignore | 2 ++<br>
> src/vulkan/Makefile.am | 19 +++++++++++++++----<br>
> src/vulkan/Makefile.sources | 4 ++++<br>
> src/vulkan/wsi/wsi_common_<wbr>wayland.c | 2 +-<br>
> 6 files changed, 22 insertions(+), 15 deletions(-)<br>
> create mode 100644 src/vulkan/.gitignore<br>
><br>
<br>
</span><span class="">> --- /dev/null<br>
> +++ b/src/vulkan/.gitignore<br>
> @@ -0,0 +1,2 @@<br>
> +wayland-drm-client-protocol.h<br>
> +wayland-drm-protocol.c<br>
</span>Missing wsi/ prefix ?<span class=""><br></span></blockquote><div><br></div><div>already fixed locally<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> diff --git a/src/vulkan/Makefile.am b/src/vulkan/Makefile.am<br>
> index f7aca8e..81cd23d 100644<br>
> --- a/src/vulkan/Makefile.am<br>
> +++ b/src/vulkan/Makefile.am<br>
> @@ -49,17 +49,28 @@ VULKAN_LIB_DEPS += $(XCB_DRI3_LIBS) -lX11-xcb<br>
> endif<br>
><br>
> if HAVE_PLATFORM_WAYLAND<br>
> +BUILT_SOURCES += $(VULKAN_WSI_WAYLAND_<wbr>GENERATED_FILES)<br>
</span>Move this outside of the conditional, otherwise we'll be missing files<br>
in some 'fun' cases.<br>
<br>
Which reminds me to send a related fix to <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
<span class=""><br>
> +<br>
> +WL_DRM_XML = $(top_srcdir)/src/egl/wayland/<wbr>wayland-drm/wayland-drm.xml<br>
> +<br>
<br>
</span>MKDIR_GEN = $(AM_V_at)$(MKDIR_P) $(@D)<br>
<br>
> +wsi/wayland-drm-protocol.c : $(WL_DRM_XML)<br>
$(MKDIR_GEN)<br>
<span class=""><br>
> + $(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@<br>
> +<br>
> +wsi/wayland-drm-client-<wbr>protocol.h : $(WL_DRM_XML)<br>
</span> $(MKDIR_GEN)<br>
<span class=""><br>
> + $(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@<br>
> +<br>
</span>... or older autotools versions will fail.<br>
<br>
With the above<br>
Reviewed-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888">Emil<br>
</font></span></blockquote></div><br></div></div>