1 //
2 // Copyright 2017 The ANGLE Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5 //
6 // getProcAddress loader table:
7 //   Mapping from a string entry point name to function address.
8 //
9 
10 #ifndef LIBGLESV2_PROC_TABLE_H_
11 #define LIBGLESV2_PROC_TABLE_H_
12 
13 #include <EGL/egl.h>
14 #include <utility>
15 
16 namespace egl
17 {
18 using ProcEntry = std::pair<const char *, __eglMustCastToProperFunctionPointerType>;
19 
20 extern ProcEntry g_procTable[];
21 extern size_t g_numProcs;
22 }  // namespace egl
23 
24 #endif  // LIBGLESV2_PROC_TABLE_H_
25