update wayland libs to the newest version

This commit is contained in:
WMCB-Tech 2021-07-07 10:28:13 +00:00 committed by Wisest_wizard
parent d6a1233a7e
commit 8ca175e49f
21 changed files with 36 additions and 5 deletions

View File

@ -10,6 +10,11 @@ LOCAL_MODULE := ffi
LOCAL_SRC_FILES:= $(TARGET_ARCH_ABI)/libffi.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := expat
LOCAL_SRC_FILES:= $(TARGET_ARCH_ABI)/libexpat.so
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := wayland-server
LOCAL_SRC_FILES:= $(TARGET_ARCH_ABI)/libwayland-server.so

View File

@ -13,7 +13,9 @@ prebuilt = $(eval $(call ev-prebuilt, $1))
# libs are prebuilt with termux
$(info $(call ev-prebuilt, android-support))
$(info $(call ev-prebuilt, ffi))
$(info $(call ev-prebuilt, expat))
$(info $(call ev-prebuilt, wayland-server))
$(call prebuilt, android-support)
$(call prebuilt, ffi)
$(call prebuilt, expat)
$(call prebuilt, wayland-server)

Binary file not shown.

Binary file not shown.

View File

@ -246,6 +246,9 @@ wl_global_create(struct wl_display *display,
int version,
void *data, wl_global_bind_func_t bind);
void
wl_global_remove(struct wl_global *global);
void
wl_global_destroy(struct wl_global *global);
@ -258,8 +261,8 @@ wl_global_destroy(struct wl_global *global);
* A filter function enables the server to decide which globals to
* advertise to each client.
*
* When a wl_global filter is set, the given callback funtion will be
* called during wl_global advertisment and binding.
* When a wl_global filter is set, the given callback function will be
* called during wl_global advertisement and binding.
*
* This function should return true if the global object should be made
* visible to the client or false otherwise.
@ -279,6 +282,9 @@ wl_global_get_interface(const struct wl_global *global);
void *
wl_global_get_user_data(const struct wl_global *global);
void
wl_global_set_user_data(struct wl_global *global, void *data);
struct wl_client *
wl_client_create(struct wl_display *display, int fd);
@ -324,6 +330,10 @@ wl_client_get_object(struct wl_client *client, uint32_t id);
void
wl_client_post_no_memory(struct wl_client *client);
void
wl_client_post_implementation_error(struct wl_client *client,
const char* msg, ...) WL_PRINTF(2,3);
void
wl_client_add_resource_created_listener(struct wl_client *client,
struct wl_listener *listener);

View File

@ -68,6 +68,20 @@ extern "C" {
#define WL_PRINTF(x, y)
#endif
/** \class wl_object
*
* \brief A protocol object.
*
* A `wl_object` is an opaque struct identifying the protocol object
* underlying a `wl_proxy` or `wl_resource`.
*
* \note Functions accessing a `wl_object` are not normally used by client code.
* Clients should normally use the higher level interface generated by the
* scanner to interact with compositor objects.
*
*/
struct wl_object;
/**
* Protocol message signature
*
@ -626,7 +640,7 @@ wl_fixed_from_double(double d)
u.d = d + (3LL << (51 - 8));
return u.i;
return (wl_fixed_t)u.i;
}
/**

View File

@ -27,8 +27,8 @@
#define WAYLAND_VERSION_H
#define WAYLAND_VERSION_MAJOR 1
#define WAYLAND_VERSION_MINOR 16
#define WAYLAND_VERSION_MINOR 19
#define WAYLAND_VERSION_MICRO 0
#define WAYLAND_VERSION "1.16.0"
#define WAYLAND_VERSION "1.19.0"
#endif

Binary file not shown.

Binary file not shown.