tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

proc_table_egl.h (631B)


      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_