--- /dev/null
+#ifndef _QEMU_WINSYS_H
+#define _QEMU_WINSYS_H
+
+#include "qemu-common.h"
+
+typedef uint32_t winsys_id;
+
+struct winsys_surface
+{
+ uint32_t width;
+ uint32_t height;
+
+ void (*acquire)(struct winsys_surface */*sfc*/);
+ void (*release)(struct winsys_surface */*sfc*/);
+
+ void (*set_dirty)(struct winsys_surface */*sfc*/);
+
+ void (*draw_pixels)(struct winsys_surface */*sfc*/, uint8_t */*pixels*/);
+};
+
+struct winsys_info
+{
+};
+
+struct winsys_interface
+{
+ struct winsys_info *ws_info;
+
+ /*
+ * Acquires surface corresponding to winsys id. NULL if no such surface.
+ */
+ struct winsys_surface *(*acquire_surface)(struct winsys_interface */*wsi*/,
+ winsys_id /*id*/);
+
+ void (*fence_ack)(struct winsys_interface */*wsi*/,
+ uint32_t /*fence_seq*/);
+};
+
+#endif
--- /dev/null
+#ifndef _QEMU_WINSYS_GL_H
+#define _QEMU_WINSYS_GL_H
+
+#include "winsys.h"
+
+struct winsys_gl_surface
+{
+ struct winsys_surface base;
+
+ GLuint (*get_texture)(struct winsys_gl_surface */*sfc*/);
+};
+
+struct winsys_gl_info
+{
+ struct winsys_info base;
+
+ /*
+ * OpenGL context that holds all winsys texture objects.
+ */
+ void *context;
+};
+
+#endif
+++ /dev/null
-#ifndef _QEMU_WINSYS_H
-#define _QEMU_WINSYS_H
-
-#include "qemu-common.h"
-
-typedef uint32_t winsys_id;
-
-struct winsys_surface
-{
- uint32_t width;
- uint32_t height;
-
- void (*acquire)(struct winsys_surface */*sfc*/);
- void (*release)(struct winsys_surface */*sfc*/);
-
- void (*set_dirty)(struct winsys_surface */*sfc*/);
-
- void (*draw_pixels)(struct winsys_surface */*sfc*/, uint8_t */*pixels*/);
-};
-
-struct winsys_info
-{
-};
-
-struct winsys_interface
-{
- struct winsys_info *ws_info;
-
- /*
- * Acquires surface corresponding to winsys id. NULL if no such surface.
- */
- struct winsys_surface *(*acquire_surface)(struct winsys_interface */*wsi*/,
- winsys_id /*id*/);
-
- void (*fence_ack)(struct winsys_interface */*wsi*/,
- uint32_t /*fence_seq*/);
-};
-
-#endif
+++ /dev/null
-#ifndef _QEMU_WINSYS_GL_H
-#define _QEMU_WINSYS_GL_H
-
-#include "winsys.h"
-
-struct winsys_gl_surface
-{
- struct winsys_surface base;
-
- GLuint (*get_texture)(struct winsys_gl_surface */*sfc*/);
-};
-
-struct winsys_gl_info
-{
- struct winsys_info base;
-
- /*
- * OpenGL context that holds all winsys texture objects.
- */
- void *context;
-};
-
-#endif
#include "yagl_process.h"
#include "yagl_thread.h"
#include "yagl_gles_driver.h"
-#include "winsys_gl.h"
+#include "vigs/winsys_gl.h"
YAGL_DEFINE_TLS(struct yagl_egl_onscreen_ts*, egl_onscreen_ts);
#include "yagl_process.h"
#include "yagl_thread.h"
#include "yagl_object_map.h"
-#include "winsys_gl.h"
+#include "vigs/winsys_gl.h"
struct yagl_egl_onscreen_image
{
#include "yagl_process.h"
#include "yagl_thread.h"
#include "yagl_gles_driver.h"
-#include "winsys_gl.h"
+#include "vigs/winsys_gl.h"
YAGL_DECLARE_TLS(struct yagl_egl_onscreen_ts*, egl_onscreen_ts);
#include "hw/hw.h"
#include "hw/pci/pci.h"
#include <GL/gl.h>
-#include "winsys.h"
+#include "vigs/winsys.h"
#include "yagl_gles_driver.h"
#define PCI_VENDOR_ID_YAGL 0x19B1
#include "yagl_stats.h"
#include "yagl_transport.h"
#include "yagl_object_map.h"
-#include "winsys.h"
+#include "vigs/winsys.h"
#include "sysemu/kvm.h"
#include "sysemu/hax.h"