Skip to content
Snippets Groups Projects
  1. Jul 07, 2023
  2. Jul 06, 2023
  3. Jun 30, 2023
  4. Jun 29, 2023
  5. Jun 28, 2023
  6. Jun 27, 2023
  7. Jun 26, 2023
    • Ryan Neph's avatar
      vrend/egl: allow EGL fencing for OpenGL contexts · 6252b33f
      Ryan Neph authored and Marge Bot's avatar Marge Bot committed
      
      I cannot find any limitation in EGL_KHR_fence_sync or
      EGL_ANDROID_native_fence_sync that limits our abilty in vrend to
      support EGL fencing for OpenGL contexts (in addition to GLES contexts,
      which vrend already supports).
      
      EGL_ANDROID_native_fence_sync is critical for providing
      virgl_renderer_export_fence()-like functionality, which is interesting
      for obtaining a sync_file fd exported from a rendering context to give
      to the host compositor (one half of explicit fencing for WSI).
      
      Signed-off-by: default avatarRyan Neph <ryanneph@google.com>
      Part-of: <!1168>
      6252b33f
    • Ryan Neph's avatar
      vrend/egl: ensure pre-signaled native fence is created before export · 3764d450
      Ryan Neph authored and Marge Bot's avatar Marge Bot committed
      
      EGL_ANDROID_native_fence_sync expects that a context Flush() has
      occured before an attempt to eglDupNativeFenceFDANDROID(). vrend is
      missing that explicit flush for the sole pre-signaled fence. On Gallium
      drivers, the dri frontend forces a flush during eglCreateSyncKHR, but that is
      implementation-defined behavior that should not be relied upon.
      
      Fixes: 313f1cc8 ("vrend: add support for exporting egl fences")
      Signed-off-by: default avatarRyan Neph <ryanneph@google.com>
      Part-of: <!1168>
      3764d450
  8. Jun 23, 2023
  9. Jun 20, 2023
  10. Jun 19, 2023
  11. Jun 16, 2023
Loading