#include <Ecore_Input.h>
#include <wayland-egl.h>
-typedef struct Tizen_PreRotation_Data{
- void *prerotation_dll_handle;
- int (*wl_egl_window_get_capabilities) (struct wl_egl_window *egl_window);
- void (*wl_egl_window_set_rotation) (struct wl_egl_window *egl_window, int rotation);
-} Tizen_Prerotation_Data;
-
typedef struct {
- uint32_t id;
+ uint32_t id; /* Ecore wayland window id */
+
Ecore_Wl_Window *window;
struct wl_surface *surface;
struct wl_egl_window *egl_window;
-
EGLSurface egl_surface;
+
int rotation;
+ int output_rotation;
int rotation_supported;
int received_rotation;
- int output_rotation;
- SDL_bool indicator;
- int support_pre_rotation;
- SDL_bool isLoaded_pre_rotation;
- Tizen_Prerotation_Data * tizen_pre_rotation_data;
+ SDL_bool support_pre_rotation;
} SDL_WindowData;
enum
{
- OP_RESIZE=1,
+ OP_INDICATOR_SHOW=1,
+ OP_INDICATOR_HIDE,
OP_RESUME,
OP_PAUSE,
OP_TERMINATE
};
-extern void SDL_ExecuteIndicatorProcess();
+extern void Tizen_ExecuteIndicatorProcess();
#endif /* _SDL_tizenwindow_h */