/* Generated by wayland-scanner 1.26.0 */ /* * Copyright © 2012 Collabora, Ltd. * * Permission to use, copy, modify, distribute, and sell this * software and its documentation for any purpose is hereby granted * without fee, provided that the above copyright notice appear in * all copies and that both that copyright notice and this permission * notice appear in supporting documentation, and that the name of * the copyright holders not be used in advertising or publicity * pertaining to distribution of the software without specific, * written prior permission. The copyright holders make no * representations about the suitability of this software for any * purpose. It is provided "as is" without express or implied * warranty. * * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF * THIS SOFTWARE. */ #include #include #include #include "wayland-util.h" #ifndef __has_attribute # define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ #endif #if (__has_attribute(visibility) || defined(__GNUC__) && __GNUC__ >= 4) #define WL_PRIVATE __attribute__ ((visibility("hidden"))) #else #define WL_PRIVATE #endif extern const struct wl_interface android_wlegl_handle_interface; extern const struct wl_interface android_wlegl_server_buffer_handle_interface; extern const struct wl_interface wl_buffer_interface; static const struct wl_interface *android_types[] = { NULL, NULL, &android_wlegl_handle_interface, NULL, NULL, &wl_buffer_interface, NULL, NULL, NULL, NULL, NULL, &android_wlegl_handle_interface, &android_wlegl_server_buffer_handle_interface, NULL, NULL, NULL, NULL, &wl_buffer_interface, NULL, NULL, }; static const struct wl_message android_wlegl_requests[] = { { "create_handle", "nia", android_types + 2 }, { "create_buffer", "niiiiio", android_types + 5 }, { "get_server_buffer_handle", "2niiii", android_types + 12 }, }; WL_PRIVATE const struct wl_interface android_wlegl_interface = { "android_wlegl", 3, 3, android_wlegl_requests, 0, NULL, }; static const struct wl_message android_wlegl_handle_requests[] = { { "add_fd", "h", android_types + 0 }, { "destroy", "", android_types + 0 }, }; WL_PRIVATE const struct wl_interface android_wlegl_handle_interface = { "android_wlegl_handle", 1, 2, android_wlegl_handle_requests, 0, NULL, }; static const struct wl_message android_wlegl_server_buffer_handle_events[] = { { "buffer_fd", "h", android_types + 0 }, { "buffer_ints", "a", android_types + 0 }, { "buffer", "nii", android_types + 17 }, { "linear_layout", "3uu", android_types + 0 }, }; WL_PRIVATE const struct wl_interface android_wlegl_server_buffer_handle_interface = { "android_wlegl_server_buffer_handle", 3, 0, NULL, 4, android_wlegl_server_buffer_handle_events, };