//1// Copyright 2017 The ANGLE Project Authors. All rights reserved.2// Use of this source code is governed by a BSD-style license that can be3// found in the LICENSE file.4//5// getProcAddress loader table:6// Mapping from a string entry point name to function address.7//89#ifndef LIBGL_PROC_TABLE_H_10#define LIBGL_PROC_TABLE_H_1112// Define _GDI32_ so that wingdi.h doesn't declare functions as imports13#ifndef _GDI32_14# define _GDI32_15#endif1617#include <angle_gl.h>1819#include <WGL/wgl.h>20#include <stddef.h>21#include <utility>2223// So that windows file winnt.h doesn't substitute for MemoryBarrier function24#ifdef MemoryBarrier25# undef MemoryBarrier26#endif2728namespace wgl29{30using ProcEntry = std::pair<const char *, PROC>;3132extern const wgl::ProcEntry g_procTable[];33extern const size_t g_numProcs;34} // namespace wgl3536#endif // LIBGL_PROC_TABLE_H_373839