aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/backend/headless.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h
index 66448071..d8cb4dc2 100644
--- a/include/backend/headless.h
+++ b/include/backend/headless.h
@@ -3,6 +3,7 @@
#include <wlr/backend/headless.h>
#include <wlr/backend/interface.h>
+#include <wlr/render/gles2.h>
#define HEADLESS_DEFAULT_REFRESH (60 * 1000) // 60 Hz
@@ -16,6 +17,7 @@ struct wlr_headless_backend {
struct wl_list input_devices;
struct wl_listener display_destroy;
bool started;
+ GLenum internal_format;
};
struct wlr_headless_output {
@@ -24,7 +26,8 @@ struct wlr_headless_output {
struct wlr_headless_backend *backend;
struct wl_list link;
- void *egl_surface;
+ GLuint fbo, rbo;
+
struct wl_event_source *frame_timer;
int frame_delay; // ms
};