Skip to content
Snippets Groups Projects
  1. Dec 15, 2021
  2. Dec 14, 2021
  3. Dec 13, 2021
  4. Dec 09, 2021
  5. Dec 07, 2021
  6. Dec 06, 2021
  7. Dec 04, 2021
  8. Dec 03, 2021
  9. Dec 02, 2021
    • Simon Ser's avatar
      output: fix modifier stripping · 0d32118a
      Simon Ser authored and Simon Zeni's avatar Simon Zeni committed
      DRM formats with an empty modifier list are invalid. Instead of
      emptying the list, reduce it to { INVALID }.
      
      Add a check to make sure the renderer and backend support implicit
      modifiers, so that we don't fallback on e.g. Vulkan.
      
      Closes: https://github.com/swaywm/sway/issues/6692
      0d32118a
    • Simon Ser's avatar
      render/egl: improve modifier support detection · 1bf9676e
      Simon Ser authored and Simon Zeni's avatar Simon Zeni committed
      Support for EXT_image_dma_buf_import_modifiers doesn't necessarily
      indicate support for modifiers. For instance, Mesa will advertise
      EXT_image_dma_buf_import_modifiers for all drivers. This is a trick
      to allow EGL clients to enumerate supported formats (something
      EXT_image_dma_buf_import is missing). For more information, see [1].
      
      Add a new wlr_egl.has_modifiers flag which indicates whether
      modifiers are supported. It's set to true if any
      eglQueryDmaBufModifiersEXT query returned a non-empty list.
      
      Use that flag to figure out whether the buffer modifier should be
      passed to the EGL implementation on import.
      
      [1]: https://github.com/KhronosGroup/EGL-Registry/issues/142
      1bf9676e
Loading