diff options
Diffstat (limited to 'include/window_texture.h')
-rw-r--r-- | include/window_texture.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/include/window_texture.h b/include/window_texture.h index db64191..3e7bb63 100644 --- a/include/window_texture.h +++ b/include/window_texture.h @@ -1,20 +1,22 @@ #ifndef WINDOW_TEXTURE_H #define WINDOW_TEXTURE_H -#include "gl.h" +#include "egl.h" typedef struct { Display *display; Window window; Pixmap pixmap; - GLXPixmap glx_pixmap; unsigned int texture_id; + unsigned int target_texture_id; + int texture_width; + int texture_height; int redirected; - gsr_gl *gl; + gsr_egl *egl; } WindowTexture; /* Returns 0 on success */ -int window_texture_init(WindowTexture *window_texture, Display *display, Window window, gsr_gl *gl); +int window_texture_init(WindowTexture *window_texture, Display *display, Window window, gsr_egl *egl); void window_texture_deinit(WindowTexture *self); /* |