nkeynes@1245: /** nkeynes@1245: * $Id$ nkeynes@1245: * nkeynes@1245: * Window management using EGL. nkeynes@1245: * nkeynes@1245: * Copyright (c) 2012 Nathan Keynes. nkeynes@1245: * nkeynes@1245: * This program is free software; you can redistribute it and/or modify nkeynes@1245: * it under the terms of the GNU General Public License as published by nkeynes@1245: * the Free Software Foundation; either version 2 of the License, or nkeynes@1245: * (at your option) any later version. nkeynes@1245: * nkeynes@1245: * This program is distributed in the hope that it will be useful, nkeynes@1245: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@1245: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@1245: * GNU General Public License for more details. nkeynes@1245: */ nkeynes@1245: nkeynes@1245: nkeynes@1245: #ifndef lxdream_video_egl_H nkeynes@1245: #define lxdream_video_egl_H 1 nkeynes@1245: nkeynes@1296: #include nkeynes@1245: nkeynes@1245: #ifdef __cplusplus nkeynes@1245: extern "C" { nkeynes@1245: #endif nkeynes@1245: nkeynes@1245: #include nkeynes@1245: nkeynes@1287: gboolean video_egl_init(); nkeynes@1287: gboolean video_egl_init_context(EGLNativeWindowType window, int format); nkeynes@1287: gboolean video_egl_init_driver(display_driver_t driver); nkeynes@1287: void video_egl_shutdown(); nkeynes@1245: gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format); nkeynes@1245: void video_egl_clear_window(); nkeynes@1245: nkeynes@1245: #ifdef __cplusplus nkeynes@1245: } nkeynes@1245: #endif nkeynes@1245: nkeynes@1245: #endif /* !lxdream_video_egl_H */