프로그램 사용/wayland2021. 11. 18. 13:48

 

static const struct android_wlegl_handle_interface server_handle_impl = {
add_fd,
destroy
};

server_wlegl_handle *
server_wlegl_handle_create(uint32_t id)
{
server_wlegl_handle *handle = new server_wlegl_handle;

memset(handle, 0, sizeof(*handle));

handle->resource.object.id = id;
handle->resource.object.interface = &android_wlegl_handle_interface;
handle->resource.object.implementation =
(void (**)(void))&server_handle_impl;

handle->resource.destroy = server_wlegl_handle_dtor;
handle->resource.data = handle;

wl_array_init(&handle->ints);
wl_array_init(&handle->fds);

return handle;
}

[링크 : https://github.com/libhybris/libhybris/blob/master/hybris/egl/platforms/common/server_wlegl_handle.cpp]

 

extern const struct wl_interface android_wlegl_handle_interface;

[링크 : https://github.com/groleo/simple-yuv/blob/master/wayland-android-client-protocol.h]

'프로그램 사용 > wayland' 카테고리의 다른 글

weston shell  (0) 2021.11.26
weston_log()  (0) 2021.11.25
wayland weston 구조  (0) 2021.11.24
wayland weston flow  (0) 2021.11.22
wayland weston  (0) 2021.11.17
Posted by 구차니