1. 18 Jan, 2017 6 commits
  2. 17 Jan, 2017 1 commit
    • Nayan Deshmukh's avatar
      vl/dri3: use external texture as back buffers(v4) · 0ef17d76
      Nayan Deshmukh authored
      dri3 allows us to send handle of a texture directly to X
      so this patch allows a state tracker to directly send its
      texture to X to be used as back buffer and avoids extra
      copying
      
      v2: use clip width/height to display a portion of the surface
      v3: remove redundant variables, fix wrapping, rename variables
          handle vaapi path
      v3.1: we need clip_width/height for every frame so we don't need
            to maintain it for each buffer instead use a global variable
      v4: In case of single gpu we can cache the buffers as applications
          use constant number of buffer and we can avoid calls to present
          extension for every frame
      
      Reviewed and Suggested-by: Leo Liu <leo.liu@amd.com>
      Acked-by: default avatarChristian König <christian.koenig@amd.com>
      Tested-by: default avatarAndy Furniss <adf.lists@gmail.com>
      Signed-off-by: default avatarNayan Deshmukh <nayan26deshmukh@gmail.com>
      0ef17d76
  3. 13 Jan, 2017 1 commit
    • Jonas Ådahl's avatar
      egl/wayland: Avoid race conditions when on non-main thread · 36b9976e
      Jonas Ådahl authored
      When EGL is used on some other thread than the thread that drives the
      main wl_display queue, the Wayland EGL dri2 implementation is
      vulnerable to a race condition related to display round trips and global
      object advertisements.
      
      The race that may happen is that after after a proxy is created, but
      before the queue is set, events meant to be emitted via the yet to be
      set queue may already have been queued on the wrong queue.
      
      In order to make it possible to avoid this race, wayland 1.11
      introduced new API that allows creating a proxy wrapper that may be used
      as the factory proxy when creating new proxies via Wayland requests. The
      queue of a proxy wrapper can be changed without effecting what queue
      events emitted by the actual proxy will be queued on, while still
      effecting what default queue proxies created from it will have.
      
      By introducing a wl_display proxy wrapper and using this when performing
      round trips (via wl_display_sync()) and retrieving the global objects (via
      wl_display_get_registry()), the mentioned race condition is avoided.
      Signed-off-by: default avatarJonas Ådahl <jadahl@gmail.com>
      Cc: mesa-stable@lists.freedesktop.org
      Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
      36b9976e
  4. 12 Jan, 2017 3 commits
  5. 05 Jan, 2017 1 commit
  6. 09 Dec, 2016 2 commits
  7. 05 Dec, 2016 20 commits
  8. 30 Nov, 2016 1 commit
  9. 28 Nov, 2016 1 commit
  10. 15 Nov, 2016 4 commits