4 * An OpenGL based 'interactive canvas' library.
6 * Authored By Matthew Allum <mallum@openedhand.com>
8 * Copyright (C) 2006 OpenedHand
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
28 * @short_description: EGL specific API
30 * The EGL backend for Clutter provides some EGL specific API
33 * <filename class="headerfile"><clutter/egl/clutter-egl.h></filename>
34 * to have access to the functions documented here.
37 #ifndef __CLUTTER_EGL_H__
38 #define __CLUTTER_EGL_H__
42 #ifdef COGL_HAS_XLIB_SUPPORT
44 #include <X11/Xatom.h>
45 #include <X11/Xutil.h>
48 #include "clutter-egl-headers.h"
52 #ifndef CLUTTER_DISABLE_DEPRECATED
54 * clutter_eglx_display:
56 * Retrieves the <structname>EGLDisplay</structname> used by Clutter,
57 * if Clutter has been compiled with EGL and X11 support.
59 * Return value: the EGL display
63 * Deprecated: 1.6: Use clutter_egl_get_egl_display() instead
65 EGLDisplay clutter_eglx_display (void);
68 * clutter_egl_display:
70 * Retrieves the <structname>EGLDisplay</structname> used by Clutter
72 * Return value: the EGL display
74 * Deprecated: 1.6: Use clutter_egl_get_egl_display() instead
76 EGLDisplay clutter_egl_display (void);
77 #endif /* CLUTTER_DISABLE_DEPRECATED */
80 * clutter_egl_get_egl_display:
82 * Retrieves the <structname>EGLDisplay</structname> used by Clutter.
84 * Return value: the EGL display
88 EGLDisplay clutter_egl_get_egl_display (void);
92 #endif /* __CLUTTER_EGL_H__ */