2 Simple DirectMedia Layer
3 Copyright (C) 1997-2016 Sam Lantinga <slouken@libsdl.org>
4 Copyright 2015 Samsung Electronics co., Ltd. All Rights Reserved.
6 This software is provided 'as-is', without any express or implied
7 warranty. In no event will the authors be held liable for any damages
8 arising from the use of this software.
10 Permission is granted to anyone to use this software for any purpose,
11 including commercial applications, and to alter it and redistribute it
12 freely, subject to the following restrictions:
14 1. The origin of this software must not be misrepresented; you must not
15 claim that you wrote the original software. If you use this software
16 in a product, an acknowledgment in the product documentation would be
17 appreciated but is not required.
18 2. Altered source versions must be plainly marked as such, and must not be
19 misrepresented as being the original software.
20 3. This notice may not be removed or altered from any source distribution.
23 #include "../../SDL_internal.h"
25 #ifndef _SDL_tizenvideo_h
26 #define _SDL_tizenvideo_h
28 #include "../SDL_sysvideo.h"
31 #include <Ecore_Wayland.h>
32 #include <wayland-egl.h>
34 typedef struct Tizen_PreRotation_Data{
35 void *prerotation_dll_handle;
36 int (*wl_egl_window_get_capabilities) (struct wl_egl_window *egl_window);
37 void (*wl_egl_window_set_rotation) (struct wl_egl_window *egl_window, int rotation);
38 } Tizen_Prerotation_Data;
41 struct wl_display *display;
43 Tizen_Prerotation_Data tizen_pre_rotation_data;
47 int indicator_parent_id;
49 SDL_bool indicator_on;
50 SDL_bool indicator_visible;
53 /* Initialization/Query functions */
54 int Tizen_VideoInit(_THIS);
55 void Tizen_GetDisplayModes(_THIS, SDL_VideoDisplay *sdl_display);
56 int Tizen_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode);
57 void Tizen_VideoQuit(_THIS);
59 #endif /* _SDL_tizenvideo_h */
61 /* vi: set ts=4 sw=4 expandtab: */