__tpl_wayland_egl_buffer_free(tpl_wayland_egl_buffer_t *wayland_egl_buffer);
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->magic = WL_EGL_TIZEN_MAGIC;
+ 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;
+ private->create_commit_sync_fd = NULL;
+ private->create_presentation_sync_fd = NULL;
+ private->merge_sync_fds = NULL;
+ }
+
+ return private;
+}
+
+static struct tizen_private *
_get_tizen_private(struct wl_egl_window * wl_egl_window)
{
if (wl_egl_window && wl_egl_window->driver_private)
static void
__cb_surface_vblank_free(void *data);
+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->magic = WL_EGL_TIZEN_MAGIC;
+ 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;
+ private->create_commit_sync_fd = NULL;
+ private->create_presentation_sync_fd = NULL;
+ private->merge_sync_fds = NULL;
+ }
+
+ return private;
+}
+
static tpl_bool_t
_check_native_handle_is_wl_display(tpl_handle_t display)
{
int (*merge_sync_fds)(void *, int, 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->magic = WL_EGL_TIZEN_MAGIC;
- 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;
- private->create_commit_sync_fd = NULL;
- private->create_presentation_sync_fd = NULL;
- private->merge_sync_fds = NULL;
- }
-
- return private;
-}
-
#ifdef __cplusplus
}
#endif