1. 29 Jan, 2013 4 commits
  2. 28 Jan, 2013 5 commits
    • Gwenole Beauchesne's avatar
      wayland: use a local event queue to avoid lock contention. · 1d16669a
      Gwenole Beauchesne authored
      This improves performance when rendering several surfaces from within
      the same process. e.g. a tee of vaapidecode'd buffers to vaapisink.
      1d16669a
    • Gwenole Beauchesne's avatar
      wayland: fix thread-safe issues. · 96d12f9e
      Gwenole Beauchesne authored
      The Wayland API is not fully thread-safe and client applications shall
      perform locking themselves on key functions. Besides, make sure to
      release the lock if the _render() function fails.
      96d12f9e
    • Gwenole Beauchesne's avatar
      wayland: really wait until the pending redraw completed. · 1fb25b08
      Gwenole Beauchesne authored
      Introduce gst_vaapi_window_wayland_sync() helper function to wait for
      the completion of the redraw request. Use it in _render() function to
      actually block until the previous draw request is completed.
      1fb25b08
    • Gwenole Beauchesne's avatar
      wayland: fix frame_redraw callback. · 23c6053b
      Gwenole Beauchesne authored
      The redraw callback needs to be attached to the surface prior to the
      commit. Otherwise, the callback notifies the next surface repaint,
      which is not the desired behaviour. i.e. we want to be notified for
      the surface we have just filled.
      
      Another isse was the redraw_pending was reset before the actual completion
      of the frame redraw callback function, thus causing concurrency issues.
      e.g. the callback could have been called again, but with a NULL buffer.
      23c6053b
    • Gwenole Beauchesne's avatar
      wayland: fix display sharing. · 087bf30c
      Gwenole Beauchesne authored
      When the Wayland display is shared, we still have to create our own local
      shell and compositor objects, since they are not propagated from the cache.
      Likewise, we also need to determine the display size or vaapisink would
      fail to account for the display aspect ratio, and will try to create a 0x0
      window.
      087bf30c
  3. 24 Jan, 2013 1 commit
  4. 23 Jan, 2013 5 commits
  5. 22 Jan, 2013 8 commits
  6. 21 Jan, 2013 2 commits
  7. 18 Jan, 2013 7 commits
  8. 17 Jan, 2013 8 commits