mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[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:
@@ -60,6 +60,7 @@ bool app_getProp(LG_DSProperty prop, void * ret);
|
||||
|
||||
EGLDisplay app_getEGLDisplay(void);
|
||||
EGLNativeWindowType app_getEGLNativeWindow(void);
|
||||
void app_eglSwapBuffers(EGLDisplay display, EGLSurface surface);
|
||||
void app_glSwapBuffers(void);
|
||||
|
||||
void app_clipboardRelease(void);
|
||||
|
@@ -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