Gnash
0.8.10
|
00001 // 00002 // Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 00003 // Free Software Foundation, Inc. 00004 // 00005 // This program is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License as published by 00007 // the Free Software Foundation; either version 3 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // This program is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with this program; if not, write to the Free Software 00017 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00018 // 00019 // port to OpenGL-Embedded Subset 1.1: 00020 // Copyright (C) 2010 Sennheiser GmbH & Co. KG, Wedemark, Germany 00021 // author: Bernd Kischnick <kisch@gmx.li> 00022 // 00023 00024 #ifndef GNASH_RENDER_HANDLER_OGLES_H 00025 #define GNASH_RENDER_HANDLER_OGLES_H 00026 00027 #ifdef HAVE_CONFIG_H 00028 #include "gnashconfig.h" 00029 #endif 00030 00031 // gles-1.0c for Linux 00032 #ifdef HAVE_GLES1_GL_H 00033 # include <GLES/gl.h> 00034 # endif 00035 #ifdef HAVE_GLES1_EGL_H 00036 #include <GLES/egl.h> 00037 #endif 00038 #if 0 00039 // Mali Developer Tools for ARM 1.x 00040 #ifdef HAVE_GLES_EGL_H 00041 # include <GLES/egl.h> 00042 # include <GLES/eglext.h> 00043 #endif 00044 // Mali Developer Tools for ARM 1.x 00045 #ifdef HAVE_GLES2_GL2_H 00046 # include <GLES2/gl2.h> 00047 # include <GLES2/gl2ext.h> 00048 #endif 00049 #endif 00050 00051 namespace gnash { 00052 00053 typedef GLfloat oglCoord; 00054 #define OGL_COORD GL_FLOAT 00055 #define GL_LINE_WIDTH_RANGE GL_ALIASED_LINE_WIDTH_RANGE 00056 #define glOrtho glOrthof 00057 #define GLUCALLBACKTYPE GLvoid (*)() 00058 00059 class OglGlue; 00060 class render_handler; 00061 00062 render_handler* create_render_handler_gles1 (bool init, OglGlue* glue); 00063 00064 } // namespace gnash 00065 00066 #endif // __RENDER_HANDLER_OGLES_H__ 00067 00068 // Local Variables: 00069 // mode: C++ 00070 // indent-tabs-mode: nil 00071 // End: