SDL  2.0
SDL_malivideo.h
Go to the documentation of this file.
1 /*
2  Simple DirectMedia Layer
3  Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
4 
5  This software is provided 'as-is', without any express or implied
6  warranty. In no event will the authors be held liable for any damages
7  arising from the use of this software.
8 
9  Permission is granted to anyone to use this software for any purpose,
10  including commercial applications, and to alter it and redistribute it
11  freely, subject to the following restrictions:
12 
13  1. The origin of this software must not be misrepresented; you must not
14  claim that you wrote the original software. If you use this software
15  in a product, an acknowledgment in the product documentation would be
16  appreciated but is not required.
17  2. Altered source versions must be plainly marked as such, and must not be
18  misrepresented as being the original software.
19  3. This notice may not be removed or altered from any source distribution.
20 */
21 
22 #ifndef _SDL_malivideo_h
23 #define _SDL_malivideo_h
24 
25 #include "../../SDL_internal.h"
26 #include "../SDL_sysvideo.h"
27 
28 #include "SDL_egl.h"
29 
30 #include <EGL/egl.h>
31 #include <linux/vt.h>
32 #include <linux/fb.h>
33 #include <sys/types.h>
34 #include <sys/stat.h>
35 #include <fcntl.h>
36 #include <stropts.h>
37 #include <unistd.h>
38 #include <stdlib.h>
39 
40 typedef struct SDL_DisplayData
41 {
42  struct {
43  unsigned short width;
44  unsigned short height;
47 
48 typedef struct SDL_WindowData
49 {
52 
53 /****************************************************************************/
54 /* SDL_VideoDevice functions declaration */
55 /****************************************************************************/
56 
57 /* Display and window functions */
59 void MALI_VideoQuit(_THIS);
69 
70 /* Window manager function */
72  struct SDL_SysWMinfo *info);
73 
74 /* Event functions */
76 
77 #endif /* _SDL_malivideo_h */
78 
79 /* vi: set ts=4 sw=4 expandtab: */
80 
MALI_VideoInit
int MALI_VideoInit(_THIS)
MALI_SetWindowTitle
void MALI_SetWindowTitle(_THIS, SDL_Window *window)
mode
GLenum mode
Definition: SDL_opengl_glext.h:1122
SDL_SysWMinfo
Definition: SDL_syswm.h:197
SDL_WindowData
Definition: SDL_androidwindow.h:38
MALI_DestroyWindow
void MALI_DestroyWindow(_THIS, SDL_Window *window)
MALI_PumpEvents
void MALI_PumpEvents(_THIS)
egl.h
SDL_Window
The type used to identify a window.
Definition: SDL_sysvideo.h:73
SDL_DisplayMode
The structure that defines a display mode.
Definition: SDL_video.h:53
MALI_SetWindowSize
void MALI_SetWindowSize(_THIS, SDL_Window *window)
MALI_SetDisplayMode
int MALI_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode)
MALI_GetDisplayModes
void MALI_GetDisplayModes(_THIS, SDL_VideoDisplay *display)
window
EGLSurface EGLNativeWindowType * window
Definition: eglext.h:1025
MALI_ShowWindow
void MALI_ShowWindow(_THIS, SDL_Window *window)
SDL_DisplayData::native_display
struct SDL_DisplayData::@262 native_display
_THIS
#define _THIS
Definition: SDL_alsa_audio.h:31
SDL_DisplayData::height
unsigned short height
Definition: SDL_malivideo.h:44
SDL_DisplayData
Definition: SDL_cocoamodes.h:26
MALI_GetWindowWMInfo
SDL_bool MALI_GetWindowWMInfo(_THIS, SDL_Window *window, struct SDL_SysWMinfo *info)
SDL_VideoDisplay
Definition: SDL_sysvideo.h:125
MALI_VideoQuit
void MALI_VideoQuit(_THIS)
MALI_CreateWindow
int MALI_CreateWindow(_THIS, SDL_Window *window)
MALI_SetWindowPosition
void MALI_SetWindowPosition(_THIS, SDL_Window *window)
EGLSurface
void * EGLSurface
Definition: egl.h:59
MALI_HideWindow
void MALI_HideWindow(_THIS, SDL_Window *window)
SDL_WindowData::egl_surface
EGLSurface egl_surface
Definition: SDL_androidwindow.h:40
SDL_egl.h
SDL_bool
SDL_bool
Definition: SDL_stdinc.h:161
SDL_DisplayData::width
unsigned short width
Definition: SDL_malivideo.h:43