Search
lxdream.org :: lxdream/src/drivers/video_egl.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_egl.h
changeset 1245:01e0020adf88
next1287:dac8f363f1fe
author nkeynes
date Fri Mar 02 23:49:10 2012 +1000 (9 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 +0000
1.2 +++ b/src/drivers/video_egl.h Fri Mar 02 23:49:10 2012 +1000
1.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 modify
1.12 + * it under the terms of the GNU General Public License as published by
1.13 + * the Free Software Foundation; either version 2 of the License, or
1.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 of
1.18 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.19 + * GNU General Public License for more details.
1.20 + */
1.21 +
1.22 +
1.23 +#ifndef lxdream_video_egl_H
1.24 +#define lxdream_video_egl_H 1
1.25 +
1.26 +#include "glib/gtypes.h"
1.27 +
1.28 +#ifdef __cplusplus
1.29 +extern "C" {
1.30 +#endif
1.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 __cplusplus
1.38 +}
1.39 +#endif
1.40 +
1.41 +#endif /* !lxdream_video_egl_H */
.