Skip to content
Snippets Groups Projects
  1. Oct 21, 2021
    • Romain Vimont's avatar
      video_filter: add formatcrop filter · 22775b88
      Romain Vimont authored and Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen committed
      This filter crops the input pictures by adjusting the format (offsets
      and size), without any copy (contrary to croppadd).
      
      This is especially useful to receive pictures with arbitrary visible
      area (smaller than the full size), to debug vouts or filters.
      22775b88
  2. Oct 20, 2021
  3. Oct 19, 2021
  4. Oct 18, 2021
  5. Oct 17, 2021
    • Rémi Denis-Courmont's avatar
      egl: negotiate reference counting (fixes #25531) · 64f2e3b4
      Rémi Denis-Courmont authored
      According to the specification, EGL displays are not reference-counted
      by default. As such, `eglTerminate()` will terminate a display even if
      there are other users for it in the same process.
      
      This becomes a fatal problem if platform display is shared by multiple
      components, and the EGL display parameters are identical or deemed
      compatible by the EGL driver. Typically, this will occur with the
      window provider and the display.
      
      To fix this, the Khronos group defined an EGL extension to negotiate
      reference counting explicitly.
      
      * On Android, this patch makes no differences as the EGL enables
        reference counting by default, regardless of the baseline
        specifications.
      * On X11, this patch makes no differences because the module will
        create its own private Xlib `Display` as the platform display,
        such that the EGL display is not shareable.
      * This patch matters on Wayland where the `wl_display` pointer must be
        shared between the window provider and display. Without this patch,
        Either the window provider or the display cannot use EGL.
      * On Windows, the situation ought to be similar to Wayland, though this
        is much less of an issue, as EGL is not typically used.
      
      This patch does **not** require reference counting if not available as
      this would needlessly break on Android and X11, as well as with the
      non-embedded XDG-shell window provider on Wayland.
      64f2e3b4
  6. Oct 16, 2021
  7. Oct 15, 2021
  8. Oct 14, 2021
Loading