[Mesa-dev] [PATCH 0/5] anv, wsi: Move over to the real modifiers interface

Jason Ekstrand jason at jlekstrand.net
Mon Oct 1 21:24:24 UTC 2018


Now that the DRM format modifiers extension has been released, we can move
the WSI code over to use it instead of the pseudo-extension we were using
before.  There are a few small differences we have to account for but it's
not bad.  This probably shouldn't land until the extension is officially
enabled (it's currently disabled) but now that things are public, I figure
we can at least start reviewing the patches.

Cc: Chad Versace <chadversary at chromium.org>

Jason Ekstrand (5):
  vulkan: Enable the DRM modifiers extesion
  anv: Drop some VK_IMAGE_TILING_OPTIMAL checks
  vulkan/wsi: Move the ImageCreateInfo higher up
  vulkan/wsi: Use the interface from the real modifiers extension
  vulkan/wsi: Filter modifiers with ImageFormatProperties

 include/vulkan/vulkan_core.h       |  68 ++++++++++++++++
 src/intel/vulkan/anv_extensions.py |   1 +
 src/intel/vulkan/anv_formats.c     |  15 ++--
 src/intel/vulkan/anv_image.c       |  35 +++++---
 src/intel/vulkan/anv_wsi.c         |   8 --
 src/intel/vulkan/genX_cmd_buffer.c |   2 +-
 src/vulkan/registry/vk.xml         |   2 +-
 src/vulkan/wsi/wsi_common.c        | 124 ++++++++++++++++++++---------
 src/vulkan/wsi/wsi_common.h        |  21 +----
 9 files changed, 194 insertions(+), 82 deletions(-)

-- 
2.17.1



More information about the mesa-dev mailing list