[Mesa-stable] [Mesa-dev] [PATCH 2/4] vulkan/wsi/wayland: Stop caching Wayland displays
Jason Ekstrand
jason at jlekstrand.net
Wed Sep 27 15:21:34 UTC 2017
On Wed, Sep 27, 2017 at 1:52 AM, Daniel Stone <daniel at fooishbar.org> wrote:
> Hi,
>
> On 26 September 2017 at 23:55, Jason Ekstrand <jason at jlekstrand.net>
> wrote:
> > @@ -833,24 +816,19 @@ wsi_wl_surface_create_swapchain(VkIcdSurfaceBase
> *icd_surface,
> > chain->vk_format = pCreateInfo->imageFormat;
> > chain->drm_format = wl_drm_format_for_vk_format(chain->vk_format,
> alpha);
> >
> > - chain->display = wsi_wl_get_display(wsi_device, surface->display);
> > + chain->display = wsi_wl_display_create(wsi, surface->display, false);
>
> Please leave this still getting the formats. In the modifier-support
> patches, we need the display to have stored the set of acceptable
> per-format modifiers, so we'd need to flip the false to true here.
>
Sure, I can do that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-stable/attachments/20170927/97eac510/attachment.html>
More information about the mesa-stable
mailing list