// Filename: glstuff_src.h // Created by: drose (09Feb04) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) 2001 - 2004, Disney Enterprises, Inc. All rights reserved // // All use of this software is subject to the terms of the Panda 3d // Software license. You should have received a copy of this license // along with this source code; you will also find a current copy of // the license at http://etc.cmu.edu/panda3d/docs/license/ . // // To contact the maintainers of this program write to // panda3d-general@lists.sourceforge.net . // //////////////////////////////////////////////////////////////////// // This header file includes all of the gl-related header files in // this directory. To include a CLP(GraphicsStateGuardian)-like thing of // some kind (e.g., "true" GL calls, or Mesa-prefixed GL calls, or // some such), define the following symbols and #include this header // file. // #define GLP(name): returns name prefixed by the gl prefix, e.g. gl##name // #define GLUP(name): returns name prefixed by the glu prefix, e.g. glu##name // #define CLP(name): returns name prefixed by the class prefix, e.g. GL##name // #define CLASSPREFIX_QUOTED: the quoted prefix of CLP, e.g. "GL" // #define CONFIGOBJ: a Configrc object, e.g. config_glgsg // #define GLCAT: a Notify category, e.g. glgsg_cat // #define EXPCL_GL, EXPTP_GL: according to the DLL currently being compiled. // Also, be sure you include the appropriate gl.h and glu.h header // files to get all the standard GL symbols declared. GL extensions // are included here via glext.h. // This file is not protected from multiple inclusion; it may need to // be included multiple times. // This forces the stuff in panda_glext.h to be reloaded, // if it was already loaded. #if defined(GL_GLEXT_VERSION) && GL_GLEXT_VERSION < 29 #undef GL_GLEXT_VERSION #undef GL_GLEXT_PROTOTYPES #ifndef IS_OSX #undef GL_VERSION_1_2 #undef GL_VERSION_1_3 #undef GL_VERSION_1_4 #undef GL_VERSION_1_5 #endif #endif #ifdef IS_OSX #undef GL_GLEXT_VERSION #undef GL_GLEXT_PROTOTYPES #endif #include "panda_glext.h" #include "glmisc_src.h" #include "glTextureContext_src.h" #include "glVertexBufferContext_src.h" #include "glIndexBufferContext_src.h" #include "glOcclusionQueryContext_src.h" #include "glGeomContext_src.h" #include "glGeomMunger_src.h" #include "glShaderContext_src.h" #include "glImmediateModeSender_src.h" #include "glGraphicsBuffer_src.h" #include "glGraphicsStateGuardian_src.h"