Search
lxdream.org :: lxdream/src/drivers/video_egl.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_egl.h
changeset 1287:dac8f363f1fe
prev1245:01e0020adf88
next1296:30ecee61f811
author nkeynes
date Sat Aug 04 08:46:28 2012 +1000 (11 years ago)
permissions -rw-r--r--
last change Handle corner case in pvr2_run_slice when we've previously slightly overrun
the end of the time slice
view annotate diff log raw
     1 /**
     2  * $Id$
     3  *
     4  * Window management using EGL.
     5  *
     6  * Copyright (c) 2012 Nathan Keynes.
     7  *
     8  * This program is free software; you can redistribute it and/or modify
     9  * it under the terms of the GNU General Public License as published by
    10  * the Free Software Foundation; either version 2 of the License, or
    11  * (at your option) any later version.
    12  *
    13  * This program is distributed in the hope that it will be useful,
    14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  * GNU General Public License for more details.
    17  */
    20 #ifndef lxdream_video_egl_H
    21 #define lxdream_video_egl_H 1
    23 #include "glib/gtypes.h"
    25 #ifdef __cplusplus
    26 extern "C" {
    27 #endif
    29 #include <EGL/egl.h>
    31 gboolean video_egl_init();
    32 gboolean video_egl_init_context(EGLNativeWindowType window, int format);
    33 gboolean video_egl_init_driver(display_driver_t driver);
    34 void video_egl_shutdown();
    35 gboolean video_egl_set_window(EGLNativeWindowType window, int width, int height, int format);
    36 void video_egl_clear_window();
    38 #ifdef __cplusplus
    39 }
    40 #endif
    42 #endif /* !lxdream_video_egl_H */
.