Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/angle
Path: blob/main_old/src/libGLESv2/proc_table_egl.h
1693 views
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 <stddef.h>
15
#include <utility>
16
17
namespace egl
18
{
19
using ProcEntry = std::pair<const char *, __eglMustCastToProperFunctionPointerType>;
20
21
extern const ProcEntry g_procTable[];
22
extern const size_t g_numProcs;
23
} // namespace egl
24
25
#endif // LIBGLESV2_PROC_TABLE_H_
26
27