Home | History | Annotate | Download | only in wrapper
      1 #ifndef _GLWINITFUNCTIONS_HPP
      2 #define _GLWINITFUNCTIONS_HPP
      3 /*-------------------------------------------------------------------------
      4  * drawElements Quality Program OpenGL Utilities
      5  * ---------------------------------------------
      6  *
      7  * Copyright 2014 The Android Open Source Project
      8  *
      9  * Licensed under the Apache License, Version 2.0 (the "License");
     10  * you may not use this file except in compliance with the License.
     11  * You may obtain a copy of the License at
     12  *
     13  *      http://www.apache.org/licenses/LICENSE-2.0
     14  *
     15  * Unless required by applicable law or agreed to in writing, software
     16  * distributed under the License is distributed on an "AS IS" BASIS,
     17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     18  * See the License for the specific language governing permissions and
     19  * limitations under the License.
     20  *
     21  *//*!
     22  * \file
     23  * \brief Function table initialization.
     24  *//*--------------------------------------------------------------------*/
     25 
     26 #include "glwDefs.hpp"
     27 #include "glwFunctions.hpp"
     28 #include "glwFunctionLoader.hpp"
     29 
     30 namespace glw
     31 {
     32 
     33 void	initES20			(Functions* gl, const FunctionLoader* loader);	//!< Load all OpenGL ES 2.0 functions.
     34 void	initES30			(Functions* gl, const FunctionLoader* loader);	//!< Load all OpenGL ES 3.0 functions.
     35 void	initES31			(Functions* gl, const FunctionLoader* loader);	//!< Load all OpenGL ES 3.1 functions.
     36 
     37 void	initGL30Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 3.0 core functions.
     38 void	initGL31Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 3.1 core functions.
     39 void	initGL32Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 3.2 core functions.
     40 void	initGL33Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 3.3 core functions.
     41 void	initGL40Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 4.0 core functions.
     42 void	initGL41Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 4.1 core functions.
     43 void	initGL42Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 4.2 core functions.
     44 void	initGL43Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 4.3 core functions.
     45 void	initGL44Core		(Functions* gl, const FunctionLoader* loader);	//!< Load all GL 4.4 core functions.
     46 
     47 void	initExtensionsGL	(Functions* gl, const FunctionLoader* loader, int numExtensions, const char* const* extensions);	//!< Load all supported GL core extension functions.
     48 void	initExtensionsES	(Functions* gl, const FunctionLoader* loader, int numExtensions, const char* const* extensions);	//!< Load all supported GLES extension functions.
     49 
     50 } // glw
     51 
     52 #endif // _GLWINITFUNCTIONS_HPP
     53