[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:
1 parent
f4c1927f56
commit
9f0b99dac0
8 files changed
+248
-54
No files matched your search
@@ -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 && \
|
||||
|
||||
Reference in new issue
Block a user