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 LOCAL_SRC_FILES:= $(TARGET_ARCH_ABI)/libffi.so
include $(PREBUILT_SHARED_LIBRARY) 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) include $(CLEAR_VARS)
LOCAL_MODULE := wayland-server LOCAL_MODULE := wayland-server
LOCAL_SRC_FILES:= $(TARGET_ARCH_ABI)/libwayland-server.so 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 # libs are prebuilt with termux
$(info $(call ev-prebuilt, android-support)) $(info $(call ev-prebuilt, android-support))
$(info $(call ev-prebuilt, ffi)) $(info $(call ev-prebuilt, ffi))
$(info $(call ev-prebuilt, expat))
$(info $(call ev-prebuilt, wayland-server)) $(info $(call ev-prebuilt, wayland-server))
$(call prebuilt, android-support) $(call prebuilt, android-support)
$(call prebuilt, ffi) $(call prebuilt, ffi)
$(call prebuilt, expat)
$(call prebuilt, wayland-server) $(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, int version,
void *data, wl_global_bind_func_t bind); void *data, wl_global_bind_func_t bind);
void
wl_global_remove(struct wl_global *global);
void void
wl_global_destroy(struct wl_global *global); 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 * A filter function enables the server to decide which globals to
* advertise to each client. * advertise to each client.
* *
* When a wl_global filter is set, the given callback funtion will be * When a wl_global filter is set, the given callback function will be
* called during wl_global advertisment and binding. * called during wl_global advertisement and binding.
* *
* This function should return true if the global object should be made * This function should return true if the global object should be made
* visible to the client or false otherwise. * visible to the client or false otherwise.
@ -279,6 +282,9 @@ wl_global_get_interface(const struct wl_global *global);
void * void *
wl_global_get_user_data(const struct wl_global *global); 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 * struct wl_client *
wl_client_create(struct wl_display *display, int fd); 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 void
wl_client_post_no_memory(struct wl_client *client); 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 void
wl_client_add_resource_created_listener(struct wl_client *client, wl_client_add_resource_created_listener(struct wl_client *client,
struct wl_listener *listener); struct wl_listener *listener);

View File

@ -68,6 +68,20 @@ extern "C" {
#define WL_PRINTF(x, y) #define WL_PRINTF(x, y)
#endif #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 * Protocol message signature
* *
@ -626,7 +640,7 @@ wl_fixed_from_double(double d)
u.d = d + (3LL << (51 - 8)); 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_H
#define WAYLAND_VERSION_MAJOR 1 #define WAYLAND_VERSION_MAJOR 1
#define WAYLAND_VERSION_MINOR 16 #define WAYLAND_VERSION_MINOR 19
#define WAYLAND_VERSION_MICRO 0 #define WAYLAND_VERSION_MICRO 0
#define WAYLAND_VERSION "1.16.0" #define WAYLAND_VERSION "1.19.0"
#endif #endif

Binary file not shown.

Binary file not shown.