4 * An object oriented GL/GLES Abstraction/Utility Layer
6 * Copyright (C) 2007,2008,2009,2010 Intel Corporation.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library 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 GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
24 #if !defined(__COGL_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
25 #error "Only <cogl/cogl.h> can be included directly."
28 #ifndef __COGL_DEFINES_H__
29 #define __COGL_DEFINES_H__
38 #define COGL_HAS_GLIB_SUPPORT 1
39 #define COGL_HAS_WGL_SUPPORT 1
40 #define COGL_HAS_WIN32_SUPPORT 1
42 #define CLUTTER_COGL_HAS_GL 1
44 #ifdef COGL_HAS_EGL_SUPPORT
50 #define NativeDisplayType EGLNativeDisplayType
51 #define NativeWindowType EGLNativeWindowType
55 #ifndef GL_OES_EGL_image
56 #define GLeglImageOES void *
59 #define COGL_SYSDEF_POLLIN 1
60 #define COGL_SYSDEF_POLLPRI 2
61 #define COGL_SYSDEF_POLLOUT 4
62 #define COGL_SYSDEF_POLLERR 8
63 #define COGL_SYSDEF_POLLHUP 16
64 #define COGL_SYSDEF_POLLNVAL 32