// 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. // Before including gl.h, need to include windows.h #if defined(_WIN32) #define WIN32_LEAN_AND_MEAN 1 #include #endif // This prevents glext.h from getting included by gl.h // That way, we can provide our own, better version. #define __glext_h_ #define GL_GLEXT_VERSION 0 #include #ifdef HAVE_GLU #include #endif #undef GL_GLEXT_VERSION #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"