filename | src/drivers/video_egl.h |
changeset | 1245:01e0020adf88 |
next | 1287:dac8f363f1fe |
author | nkeynes |
date | Fri Mar 02 23:49:10 2012 +1000 (8 years ago) |
permissions | -rw-r--r-- |
last change | Android WIP: * Rename gui_jni.c to gui_android.c - now quite android specific. * Implement generic EGL driver with very minimal Java wrapper * Run emulation in separate thread, and implement simple queue for inter-thread communication. * Add menu/action-bar items for start + reset |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/drivers/video_egl.h Fri Mar 02 23:49:10 2012 +10001.3 @@ -0,0 +1,38 @@1.4 +/**1.5 + * $Id$1.6 + *1.7 + * Window management using EGL.1.8 + *1.9 + * Copyright (c) 2012 Nathan Keynes.1.10 + *1.11 + * This program is free software; you can redistribute it and/or modify1.12 + * it under the terms of the GNU General Public License as published by1.13 + * the Free Software Foundation; either version 2 of the License, or1.14 + * (at your option) any later version.1.15 + *1.16 + * This program is distributed in the hope that it will be useful,1.17 + * but WITHOUT ANY WARRANTY; without even the implied warranty of1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.19 + * GNU General Public License for more details.1.20 + */1.21 +1.22 +1.23 +#ifndef lxdream_video_egl_H1.24 +#define lxdream_video_egl_H 11.25 +1.26 +#include "glib/gtypes.h"1.27 +1.28 +#ifdef __cplusplus1.29 +extern "C" {1.30 +#endif1.31 +1.32 +#include <EGL/egl.h>1.33 +1.34 +gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format);1.35 +void video_egl_clear_window();1.36 +1.37 +#ifdef __cplusplus1.38 +}1.39 +#endif1.40 +1.41 +#endif /* !lxdream_video_egl_H */
.