Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:22

0001 // Created on: 2014-03-17
0002 // Created by: Kirill GAVRILOV
0003 // Copyright (c) 2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef OpenGl_GlCore11Fwd_HeaderFile
0017 #define OpenGl_GlCore11Fwd_HeaderFile
0018 
0019 #include <OpenGl_GlFunctions.hxx>
0020 
0021 //! OpenGL 1.1 core without deprecated Fixed Pipeline entry points.
0022 //! Notice that all functions within this structure are actually exported by system GL library.
0023 //! The main purpose for these hint - to control visibility of functions per GL version
0024 //! (global functions should not be used directly to achieve this effect!).
0025 struct OpenGl_GlCore11Fwd : protected OpenGl_GlFunctions
0026 {
0027 
0028 public: //! @name Miscellaneous
0029 
0030   using OpenGl_GlFunctions::glClearColor;
0031   using OpenGl_GlFunctions::glClear;
0032   using OpenGl_GlFunctions::glColorMask;
0033   using OpenGl_GlFunctions::glBlendFunc;
0034   using OpenGl_GlFunctions::glCullFace;
0035   using OpenGl_GlFunctions::glFrontFace;
0036   using OpenGl_GlFunctions::glLineWidth;
0037   using OpenGl_GlFunctions::glPolygonOffset;
0038   using OpenGl_GlFunctions::glScissor;
0039   using OpenGl_GlFunctions::glEnable;
0040   using OpenGl_GlFunctions::glDisable;
0041   using OpenGl_GlFunctions::glIsEnabled;
0042   using OpenGl_GlFunctions::glGetBooleanv;
0043   using OpenGl_GlFunctions::glGetFloatv;
0044   using OpenGl_GlFunctions::glGetIntegerv;
0045   using OpenGl_GlFunctions::glGetError;
0046   using OpenGl_GlFunctions::glGetString;
0047   using OpenGl_GlFunctions::glFinish;
0048   using OpenGl_GlFunctions::glFlush;
0049   using OpenGl_GlFunctions::glHint;
0050 
0051 public: //! @name Depth Buffer
0052 
0053   using OpenGl_GlFunctions::glClearDepth;
0054   using OpenGl_GlFunctions::glClearDepthf;
0055   using OpenGl_GlFunctions::glDepthFunc;
0056   using OpenGl_GlFunctions::glDepthMask;
0057   using OpenGl_GlFunctions::glDepthRange;
0058   using OpenGl_GlFunctions::glDepthRangef;
0059 
0060 public: //! @name Transformation
0061 
0062   using OpenGl_GlFunctions::glViewport;
0063 
0064 public: //! @name Vertex Arrays
0065 
0066   using OpenGl_GlFunctions::glDrawArrays;
0067   using OpenGl_GlFunctions::glDrawElements;
0068 
0069 public: //! @name Raster functions
0070 
0071   using OpenGl_GlFunctions::glPixelStorei;
0072   using OpenGl_GlFunctions::glReadPixels;
0073 
0074 public: //! @name Stenciling
0075 
0076   using OpenGl_GlFunctions::glStencilFunc;
0077   using OpenGl_GlFunctions::glStencilMask;
0078   using OpenGl_GlFunctions::glStencilOp;
0079   using OpenGl_GlFunctions::glClearStencil;
0080 
0081 public: //! @name Texture mapping
0082 
0083   using OpenGl_GlFunctions::glTexParameterf;
0084   using OpenGl_GlFunctions::glTexParameteri;
0085   using OpenGl_GlFunctions::glTexParameterfv;
0086   using OpenGl_GlFunctions::glTexParameteriv;
0087   using OpenGl_GlFunctions::glGetTexParameterfv;
0088   using OpenGl_GlFunctions::glGetTexParameteriv;
0089   using OpenGl_GlFunctions::glTexImage2D;
0090   using OpenGl_GlFunctions::glGenTextures;
0091   using OpenGl_GlFunctions::glDeleteTextures;
0092   using OpenGl_GlFunctions::glBindTexture;
0093   using OpenGl_GlFunctions::glIsTexture;
0094   using OpenGl_GlFunctions::glTexSubImage2D;
0095   using OpenGl_GlFunctions::glCopyTexImage2D;
0096   using OpenGl_GlFunctions::glCopyTexSubImage2D;
0097 
0098 public: //! @name desktop extensions - not supported in OpenGL ES 2..0
0099 
0100   using OpenGl_GlFunctions::glTexImage1D;
0101   using OpenGl_GlFunctions::glTexSubImage1D;
0102   using OpenGl_GlFunctions::glCopyTexImage1D;
0103   using OpenGl_GlFunctions::glCopyTexSubImage1D;
0104   using OpenGl_GlFunctions::glGetTexImage;
0105   using OpenGl_GlFunctions::glAlphaFunc;
0106   using OpenGl_GlFunctions::glPointSize;
0107 
0108   // added to OpenGL ES 3.0
0109   using OpenGl_GlFunctions::glReadBuffer;
0110   using OpenGl_GlFunctions::glDrawBuffer;
0111 
0112   // added to OpenGL ES 3.1
0113   using OpenGl_GlFunctions::glGetTexLevelParameteriv;
0114 
0115   // added to OpenGL ES 3.2
0116   using OpenGl_GlFunctions::glGetPointerv;
0117 
0118   using OpenGl_GlFunctions::glPolygonMode;
0119   using OpenGl_GlFunctions::glLogicOp;
0120 
0121 };
0122 
0123 #endif // _OpenGl_GlCore11Fwd_Header