--- /dev/null
+#ifndef _WAYLAND_EGL_TIZEN_PRIV_H
+#define _WAYLAND_EGL_TIZEN_PRIV_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdlib.h>
+#include <wayland-client.h>
+#include <wayland-egl.h>
+
+struct tizen_private {
+ int rotation;
+ int frontbuffer_mode;
+ int transform;
+ int window_transform;
+ unsigned int serial;
+
+ void *data;
+
+ void (*rotate_callback)(struct wl_egl_window *, void *);
+ int (*get_rotation_capability)(struct wl_egl_window *, void *);
+ void (*set_frontbuffer_callback)(struct wl_egl_window *, void *, int);
+ void (*set_window_serial_callback)(struct wl_egl_window *, void *, unsigned int);
+};
+
+static struct tizen_private* tizen_private_create()
+{
+ struct tizen_private *private = NULL;
+ private = (struct tizen_private *)calloc(1, sizeof(struct tizen_private));
+ if (private) {
+ private->rotation = 0;
+ private->frontbuffer_mode = 0;
+ private->transform = 0;
+ private->window_transform = 0;
+ private->serial = 0;
+
+ private->data = NULL;
+ private->rotate_callback = NULL;
+ private->get_rotation_capability = NULL;
+ private->set_window_serial_callback = NULL;
+ private->set_frontbuffer_callback = NULL;
+ }
+
+ return private;
+}
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif