ndktest

view src/app.h @ 0:1310df7cdf25

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 23 Apr 2015 20:54:02 +0300
parents
children
line source
1 #ifndef APP_H_
2 #define APP_H_
4 #include <EGL/egl.h>
6 #ifndef APP_NAME
7 #define APP_NAME "gles_test"
8 #endif
10 EGLDisplay dpy;
11 EGLSurface surf;
12 EGLContext ctx;
14 int app_init(void);
15 void app_cleanup(void);
17 void app_display(void);
18 void app_resize(int x, int y);
20 void app_touch(int id, int press, int x, int y);
21 void app_drag(int id, int x, int y);
23 #endif /* APP_H_ */