zwp_linux_dmabuf.h 649 B

12345678910111213141516171819202122232425
  1. // Copyright 2019 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_EXO_WAYLAND_ZWP_LINUX_DMABUF_H_
  5. #define COMPONENTS_EXO_WAYLAND_ZWP_LINUX_DMABUF_H_
  6. #include <stdint.h>
  7. struct wl_client;
  8. namespace exo {
  9. namespace wayland {
  10. constexpr uint32_t kZwpLinuxDmabufVersion = 2;
  11. void bind_linux_dmabuf(wl_client* client,
  12. void* data,
  13. uint32_t version,
  14. uint32_t id);
  15. } // namespace wayland
  16. } // namespace exo
  17. #endif // COMPONENTS_EXO_WAYLAND_ZWP_LINUX_DMABUF_H_