#pragma once #include "WaylandEglInterface.h" #include struct wl_egl_window; struct wl_surface; class WaylandEglWindowInterface { public: WaylandEglWindowInterface(WaylandEglInterface* eglInterface); void initialize(wl_surface* surface, int width, int height); void beforePaint(); void afterPaint(); private: wl_egl_window* mEglWindow{nullptr}; EGLSurface mEglSurface{nullptr}; WaylandEglInterface* mEglInterface; };