[Mesa-dev] [PATCH 2/4] vulkan/wsi/wayland: Stop caching Wayland displays
Daniel Stone
daniel at fooishbar.org
Wed Sep 27 08:52:23 UTC 2017
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.
Cheers,
Daniel
More information about the mesa-dev
mailing list