[client] wayland: implement window creation for egl

This commit implements window creation and resize logic, allowing the desktop
to be drawn.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent f4c1927f56
commit 9f0b99dac0
8 files changed
+248 -54

No files matched your search

+2
View File
@@ -100,6 +100,7 @@ struct LG_DisplayServerOps
/* EGL support */
EGLDisplay (*getEGLDisplay)(void);
EGLNativeWindowType (*getEGLNativeWindow)(void);
void (*eglSwapBuffers)(EGLDisplay display, EGLSurface surface);
#endif
/* opengl platform specific methods */
@@ -152,6 +153,7 @@ struct LG_DisplayServerOps
(x)->getProp && \
(x)->getEGLDisplay && \
(x)->getEGLNativeWindow && \
(x)->eglSwapBuffers && \
(x)->glSwapBuffers && \
(x)->showPointer && \
(x)->grabPointer && \