1 /*-------------------------------------------------------------------------
2 * drawElements Quality Program OpenGL Utilities
3 * ---------------------------------------------
5 * Copyright 2014 The Android Open Source Project
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
21 * \brief Function table initialization.
22 *//*--------------------------------------------------------------------*/
24 #include "glwInitFunctions.hpp"
25 #include "deSTLUtil.hpp"
33 // \todo [2014-03-19 pyry] Replace this with more generic system based on upstream XML spec desc.
35 void initES20 (Functions* gl, const FunctionLoader* loader)
37 #include "glwInitES20.inl"
40 void initES30 (Functions* gl, const FunctionLoader* loader)
42 #include "glwInitES30.inl"
45 void initES31 (Functions* gl, const FunctionLoader* loader)
47 #include "glwInitES31.inl"
50 void initES32 (Functions* gl, const FunctionLoader* loader)
52 #include "glwInitES32.inl"
55 void initGL30Core (Functions* gl, const FunctionLoader* loader)
57 #include "glwInitGL30.inl"
60 void initGL31Core (Functions* gl, const FunctionLoader* loader)
62 #include "glwInitGL31.inl"
65 void initGL32Core (Functions* gl, const FunctionLoader* loader)
67 #include "glwInitGL32.inl"
70 void initGL33Core (Functions* gl, const FunctionLoader* loader)
72 #include "glwInitGL33.inl"
75 void initGL40Core (Functions* gl, const FunctionLoader* loader)
77 #include "glwInitGL40.inl"
80 void initGL41Core (Functions* gl, const FunctionLoader* loader)
82 #include "glwInitGL41.inl"
85 void initGL42Core (Functions* gl, const FunctionLoader* loader)
87 #include "glwInitGL42.inl"
90 void initGL43Core (Functions* gl, const FunctionLoader* loader)
92 #include "glwInitGL43.inl"
95 void initGL44Core (Functions* gl, const FunctionLoader* loader)
97 #include "glwInitGL44.inl"
100 void initExtensionsGL (Functions* gl, const FunctionLoader* loader, int numExtensions, const char* const* extensions)
105 const set<string> extSet(extensions, extensions+numExtensions);
107 #include "glwInitExtGL.inl"
111 void initExtensionsES (Functions* gl, const FunctionLoader* loader, int numExtensions, const char* const* extensions)
116 const set<string> extSet(extensions, extensions+numExtensions);
118 #include "glwInitExtES.inl"