Clean project structure.

This commit is contained in:
jmsgrogan 2023-01-17 10:13:25 +00:00
parent 78a4fa99ff
commit 947bf937fd
496 changed files with 206 additions and 137 deletions

View file

@ -0,0 +1,25 @@
#pragma once
#include "WaylandEglInterface.h"
#include <EGL/egl.h>
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;
};