summaryrefslogtreecommitdiff
path: root/EGL/yagl_onscreen_image_wl_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'EGL/yagl_onscreen_image_wl_buffer.h')
-rw-r--r--EGL/yagl_onscreen_image_wl_buffer.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/EGL/yagl_onscreen_image_wl_buffer.h b/EGL/yagl_onscreen_image_wl_buffer.h
new file mode 100644
index 0000000..d07fb74
--- /dev/null
+++ b/EGL/yagl_onscreen_image_wl_buffer.h
@@ -0,0 +1,25 @@
+#ifndef _YAGL_ONSCREEN_IMAGE_WL_BUFFER_H_
+#define _YAGL_ONSCREEN_IMAGE_WL_BUFFER_H_
+
+#include "yagl_export.h"
+#include "yagl_types.h"
+#include "yagl_image.h"
+
+struct wl_resource;
+struct wl_drm_buffer;
+struct vigs_drm_surface;
+
+struct yagl_onscreen_image_wl_buffer
+{
+ struct yagl_image base;
+
+ struct wl_drm_buffer *buffer;
+};
+
+struct yagl_onscreen_image_wl_buffer
+ *yagl_onscreen_image_wl_buffer_create(struct yagl_display *dpy,
+ yagl_host_handle host_context,
+ struct wl_resource *buffer,
+ const EGLint* attrib_list);
+
+#endif