wayland: Add wl_drm listener immediately upon bind

Events on wl_drm could get lost if the listener is bound only after
the roundtrip is complete. While it is correct that to get all wl_drm
events at most two roundtrips are required, in fact one roundtrip may
be enough if another thread flushes and reads from the connection
in parallel to the initial libva wl_registry roundtrip. It is thus too
late to call wl_drm_add_listener after the roundtrip.

Fixes: #101
(cherry picked from commit 9ca99eb84cdb6ea638af567f6074c53fa51a416c)
1 file changed
tree: 5bea9b93763cdea20692fed1b6618f58bc8f6785
  1. build/
  2. doc/
  3. pkgconfig/
  4. va/
  5. .cvsignore
  6. .gitignore
  7. .travis.yml
  8. Android.mk
  9. autogen.sh
  10. configure.ac
  11. CONTRIBUTING.md
  12. COPYING
  13. Makefile.am
  14. NEWS
  15. README.md
  16. style_unify
README.md

Stories in Ready Build Status Coverity Scan Build Status

Libva Project

Libva is an implementation for VA-API (Video Acceleration API)

VA-API is an open-source library and API specification, which provides access to graphics hardware acceleration capabilities for video processing. It consists of a main library and driver-specific acceleration backends for each supported hardware vendor.

If you would like to contribute to libva, check our Contributing guide.

We also recommend taking a look at the ‘janitorial’ bugs in our list of open issues as these bugs can be solved without an extensive knowledge of libva.

We would love to help you start contributing!

Doxygen files are regularly updated through Github Pages and can be accessed directly through github pages libva

The libva development team can be reached via our mailing list and on IRC in channel ##intel-media on Freenode.

We also use #Slack and host VAAPI Media Slack Team. You can signup by submitting your email address to our Slack Team invite page.

Slack complements our other means of communication. Pick the one that works best for you!