1 /* 2 * GStreamer 3 * Copyright (C) 2009 Julien Isorce <julien.isorce@gmail.com> 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Library General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Library General Public License for more details. 14 * 15 * You should have received a copy of the GNU Library General Public 16 * License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 18 * Boston, MA 02110-1301, USA. 19 */ 20 21 /* Compatibility for OpenGL ES 2.0 */ 22 23 #ifndef __GST_GL_ES2__ 24 #define __GST_GL_ES2__ 25 26 #include <glib.h> 27 28 G_BEGIN_DECLS 29 30 #ifndef GL_RGB16 31 #define GL_RGB16 GL_RGB565 32 #endif 33 #ifndef GL_RGB8 34 #define GL_RGB8 GL_RGB 35 #endif 36 37 /* UNSUPPORTED */ 38 39 #ifndef GL_COLOR_ATTACHMENT1 40 #define GL_COLOR_ATTACHMENT1 0x8CE1 41 #endif 42 #ifndef GL_COLOR_ATTACHMENT2 43 #define GL_COLOR_ATTACHMENT2 0x8CE2 44 #endif 45 #ifndef GL_COLOR_ATTACHMENT3 46 #define GL_COLOR_ATTACHMENT3 0x8CE3 47 #endif 48 #ifndef GL_TEXTURE_ENV 49 #define GL_TEXTURE_ENV 0 50 #endif 51 #ifndef GL_TEXTURE_ENV_MODE 52 #define GL_TEXTURE_ENV_MODE 0 53 #endif 54 #ifndef GL_DEPTH24_STENCIL8 55 #define GL_DEPTH24_STENCIL8 0x88F0 56 #endif 57 58 G_END_DECLS 59 60 #endif /* __GST_GL_ES2__ */ 61