Commit 2bfc9150 authored by Chad Versace's avatar Chad Versace

xegl: Implement waffle_window_show()

Add function xegl_window_show and hook it up to the dispatch table.
Signed-off-by: default avatarChad Versace <chad.versace@linux.intel.com>
parent 25034f94
......@@ -50,6 +50,7 @@ static const struct native_dispatch xegl_dispatch = {
.dl_sym = xegl_dl_sym,
.window_create = xegl_window_create,
.window_destroy = xegl_window_destroy,
.window_show = xegl_window_show,
.window_swap_buffers = xegl_window_swap_buffers,
.make_current = xegl_make_current,
.get_proc_address = xegl_get_proc_address,
......
......@@ -88,6 +88,15 @@ xegl_window_destroy(union native_window *self)
return ok;
}
bool
xegl_window_show(union native_window *native_self)
{
struct xegl_window *self = native_self->xegl;
struct xegl_display *display = self->display->xegl;
return x11_window_show(display->xcb_connection, self->xcb_window);
}
bool
xegl_window_swap_buffers(union native_window *self)
......
......@@ -35,6 +35,9 @@ xegl_window_create(
bool
xegl_window_destroy(union native_window *self);
bool
xegl_window_show(union native_window *native_self);
bool
xegl_window_swap_buffers(union native_window *self);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment