Commit 5540a307 by Jamie Madill Committed by Commit Bot

GL loaders: Add 'ANGLE' symbol prefix.

This should prevent debuggers like RenderDoc from getting confused about symbol names. It's also generally good practice to avoid overloading names. Change-Id: Ie9fd3f77f45479bdf6925dae3e03fb4ac85bdb8a Bug: angleproject:4596 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2171684Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent 78f2e4b8
......@@ -4,7 +4,7 @@
"scripts/egl_angle_ext.xml":
"854e99785af19f8f4eea4f73005a0451",
"scripts/generate_loader.py":
"792c41d7ae93a4518f0c73e45626d19b",
"53008b78d45bb708732b8fe4a0d2f341",
"scripts/gl.xml":
"e74a595068cbdd6064300be1e71b7cc9",
"scripts/gl_angle_ext.xml":
......@@ -14,19 +14,19 @@
"scripts/wgl.xml":
"aa96419c582af2f6673430e2847693f4",
"src/libEGL/egl_loader_autogen.cpp":
"64cb617726751808af6a64607cba39eb",
"dd726182e22609fa3c034c0d748a43b0",
"src/libEGL/egl_loader_autogen.h":
"e79b89b5f1f704383c96dbc99124efff",
"05c4485748c5911162064ae7d2f3278f",
"util/egl_loader_autogen.cpp":
"44c9d17a658aec04dfa7b57fca5386a0",
"47c5bce8f54d246df22c1e13b894fa33",
"util/egl_loader_autogen.h":
"e0ae6f29162d13d8d825fc9cd58baf94",
"73cdbf4995bc4d355d2950b44d39f7e0",
"util/gles_loader_autogen.cpp":
"b73fa86312a71c76f6a8402548d21204",
"20c544c6bfa1851c919272d220a3c102",
"util/gles_loader_autogen.h":
"f5df94d354db0d26275b1828f4083633",
"cb79381b751c37b46b4bd53c91c52e47",
"util/windows/wgl_loader_autogen.cpp":
"c0d9a65eaa9aac356c6fd3f88638d2be",
"87f45b2da77c867888086813543a1d03",
"util/windows/wgl_loader_autogen.h":
"36857be5c303b13eba2ee91d7c127207"
"b5c3b692f4ce2fc30edf0ed94be8d497"
}
\ No newline at end of file
......@@ -31,13 +31,16 @@ def write_header(data_source_name,
return prefix + cmd[len(api):]
with open(header_path, "w") as out:
defines = ["#define %s%s ANGLE_%s%s" % (ns, pre(cmd), ns, pre(cmd)) for cmd in all_cmds]
var_protos = [
"%sextern PFN%sPROC %s%s;" % (export, cmd.upper(), ns, pre(cmd)) for cmd in all_cmds
"%sextern PFN%sPROC ANGLE_%s%s;" % (export, cmd.upper(), ns, pre(cmd))
for cmd in all_cmds
]
loader_header = template_loader_h.format(
script_name=os.path.basename(sys.argv[0]),
data_source_name=data_source_name,
year=date.today().year,
defines="\n".join(defines),
function_pointers="\n".join(var_protos),
api_upper=api.upper(),
api_lower=api,
......@@ -60,9 +63,11 @@ def write_source(data_source_name, all_cmds, api, path, ns="", prefix=None, expo
return prefix + cmd[len(api):]
with open(source_path, "w") as out:
var_defs = ["%sPFN%sPROC %s%s;" % (export, cmd.upper(), ns, pre(cmd)) for cmd in all_cmds]
var_defs = [
"%sPFN%sPROC ANGLE_%s%s;" % (export, cmd.upper(), ns, pre(cmd)) for cmd in all_cmds
]
setter = " %s%s = reinterpret_cast<PFN%sPROC>(loadProc(\"%s\"));"
setter = " ANGLE_%s%s = reinterpret_cast<PFN%sPROC>(loadProc(\"%s\"));"
setters = [setter % (ns, pre(cmd), cmd.upper(), pre(cmd)) for cmd in all_cmds]
loader_source = template_loader_cpp.format(
......@@ -266,6 +271,7 @@ template_loader_h = """// GENERATED FILE - DO NOT EDIT.
#define {lib}_{api_upper}_LOADER_AUTOGEN_H_
{preamble}
{defines}
{function_pointers}
namespace angle
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,88 +10,93 @@
#include "wgl_loader_autogen.h"
PFNCHOOSEPIXELFORMATPROC _ChoosePixelFormat;
PFNDESCRIBEPIXELFORMATPROC _DescribePixelFormat;
PFNGETENHMETAFILEPIXELFORMATPROC _GetEnhMetaFilePixelFormat;
PFNGETPIXELFORMATPROC _GetPixelFormat;
PFNSETPIXELFORMATPROC _SetPixelFormat;
PFNSWAPBUFFERSPROC _SwapBuffers;
PFNWGLCOPYCONTEXTPROC _wglCopyContext;
PFNWGLCREATECONTEXTPROC _wglCreateContext;
PFNWGLCREATELAYERCONTEXTPROC _wglCreateLayerContext;
PFNWGLDELETECONTEXTPROC _wglDeleteContext;
PFNWGLDESCRIBELAYERPLANEPROC _wglDescribeLayerPlane;
PFNWGLGETCURRENTCONTEXTPROC _wglGetCurrentContext;
PFNWGLGETCURRENTDCPROC _wglGetCurrentDC;
PFNWGLGETLAYERPALETTEENTRIESPROC _wglGetLayerPaletteEntries;
PFNWGLGETPROCADDRESSPROC _wglGetProcAddress;
PFNWGLMAKECURRENTPROC _wglMakeCurrent;
PFNWGLREALIZELAYERPALETTEPROC _wglRealizeLayerPalette;
PFNWGLSETLAYERPALETTEENTRIESPROC _wglSetLayerPaletteEntries;
PFNWGLSHARELISTSPROC _wglShareLists;
PFNWGLSWAPLAYERBUFFERSPROC _wglSwapLayerBuffers;
PFNWGLUSEFONTBITMAPSPROC _wglUseFontBitmaps;
PFNWGLUSEFONTBITMAPSAPROC _wglUseFontBitmapsA;
PFNWGLUSEFONTBITMAPSWPROC _wglUseFontBitmapsW;
PFNWGLUSEFONTOUTLINESPROC _wglUseFontOutlines;
PFNWGLUSEFONTOUTLINESAPROC _wglUseFontOutlinesA;
PFNWGLUSEFONTOUTLINESWPROC _wglUseFontOutlinesW;
PFNWGLCREATECONTEXTATTRIBSARBPROC _wglCreateContextAttribsARB;
PFNWGLGETEXTENSIONSSTRINGARBPROC _wglGetExtensionsStringARB;
PFNWGLGETSWAPINTERVALEXTPROC _wglGetSwapIntervalEXT;
PFNWGLSWAPINTERVALEXTPROC _wglSwapIntervalEXT;
PFNCHOOSEPIXELFORMATPROC ANGLE__ChoosePixelFormat;
PFNDESCRIBEPIXELFORMATPROC ANGLE__DescribePixelFormat;
PFNGETENHMETAFILEPIXELFORMATPROC ANGLE__GetEnhMetaFilePixelFormat;
PFNGETPIXELFORMATPROC ANGLE__GetPixelFormat;
PFNSETPIXELFORMATPROC ANGLE__SetPixelFormat;
PFNSWAPBUFFERSPROC ANGLE__SwapBuffers;
PFNWGLCOPYCONTEXTPROC ANGLE__wglCopyContext;
PFNWGLCREATECONTEXTPROC ANGLE__wglCreateContext;
PFNWGLCREATELAYERCONTEXTPROC ANGLE__wglCreateLayerContext;
PFNWGLDELETECONTEXTPROC ANGLE__wglDeleteContext;
PFNWGLDESCRIBELAYERPLANEPROC ANGLE__wglDescribeLayerPlane;
PFNWGLGETCURRENTCONTEXTPROC ANGLE__wglGetCurrentContext;
PFNWGLGETCURRENTDCPROC ANGLE__wglGetCurrentDC;
PFNWGLGETLAYERPALETTEENTRIESPROC ANGLE__wglGetLayerPaletteEntries;
PFNWGLGETPROCADDRESSPROC ANGLE__wglGetProcAddress;
PFNWGLMAKECURRENTPROC ANGLE__wglMakeCurrent;
PFNWGLREALIZELAYERPALETTEPROC ANGLE__wglRealizeLayerPalette;
PFNWGLSETLAYERPALETTEENTRIESPROC ANGLE__wglSetLayerPaletteEntries;
PFNWGLSHARELISTSPROC ANGLE__wglShareLists;
PFNWGLSWAPLAYERBUFFERSPROC ANGLE__wglSwapLayerBuffers;
PFNWGLUSEFONTBITMAPSPROC ANGLE__wglUseFontBitmaps;
PFNWGLUSEFONTBITMAPSAPROC ANGLE__wglUseFontBitmapsA;
PFNWGLUSEFONTBITMAPSWPROC ANGLE__wglUseFontBitmapsW;
PFNWGLUSEFONTOUTLINESPROC ANGLE__wglUseFontOutlines;
PFNWGLUSEFONTOUTLINESAPROC ANGLE__wglUseFontOutlinesA;
PFNWGLUSEFONTOUTLINESWPROC ANGLE__wglUseFontOutlinesW;
PFNWGLCREATECONTEXTATTRIBSARBPROC ANGLE__wglCreateContextAttribsARB;
PFNWGLGETEXTENSIONSSTRINGARBPROC ANGLE__wglGetExtensionsStringARB;
PFNWGLGETSWAPINTERVALEXTPROC ANGLE__wglGetSwapIntervalEXT;
PFNWGLSWAPINTERVALEXTPROC ANGLE__wglSwapIntervalEXT;
namespace angle
{
void LoadWGL(LoadProc loadProc)
{
_ChoosePixelFormat = reinterpret_cast<PFNCHOOSEPIXELFORMATPROC>(loadProc("ChoosePixelFormat"));
_DescribePixelFormat =
ANGLE__ChoosePixelFormat =
reinterpret_cast<PFNCHOOSEPIXELFORMATPROC>(loadProc("ChoosePixelFormat"));
ANGLE__DescribePixelFormat =
reinterpret_cast<PFNDESCRIBEPIXELFORMATPROC>(loadProc("DescribePixelFormat"));
_GetEnhMetaFilePixelFormat =
ANGLE__GetEnhMetaFilePixelFormat =
reinterpret_cast<PFNGETENHMETAFILEPIXELFORMATPROC>(loadProc("GetEnhMetaFilePixelFormat"));
_GetPixelFormat = reinterpret_cast<PFNGETPIXELFORMATPROC>(loadProc("GetPixelFormat"));
_SetPixelFormat = reinterpret_cast<PFNSETPIXELFORMATPROC>(loadProc("SetPixelFormat"));
_SwapBuffers = reinterpret_cast<PFNSWAPBUFFERSPROC>(loadProc("SwapBuffers"));
_wglCopyContext = reinterpret_cast<PFNWGLCOPYCONTEXTPROC>(loadProc("wglCopyContext"));
_wglCreateContext = reinterpret_cast<PFNWGLCREATECONTEXTPROC>(loadProc("wglCreateContext"));
_wglCreateLayerContext =
ANGLE__GetPixelFormat = reinterpret_cast<PFNGETPIXELFORMATPROC>(loadProc("GetPixelFormat"));
ANGLE__SetPixelFormat = reinterpret_cast<PFNSETPIXELFORMATPROC>(loadProc("SetPixelFormat"));
ANGLE__SwapBuffers = reinterpret_cast<PFNSWAPBUFFERSPROC>(loadProc("SwapBuffers"));
ANGLE__wglCopyContext = reinterpret_cast<PFNWGLCOPYCONTEXTPROC>(loadProc("wglCopyContext"));
ANGLE__wglCreateContext =
reinterpret_cast<PFNWGLCREATECONTEXTPROC>(loadProc("wglCreateContext"));
ANGLE__wglCreateLayerContext =
reinterpret_cast<PFNWGLCREATELAYERCONTEXTPROC>(loadProc("wglCreateLayerContext"));
_wglDeleteContext = reinterpret_cast<PFNWGLDELETECONTEXTPROC>(loadProc("wglDeleteContext"));
_wglDescribeLayerPlane =
ANGLE__wglDeleteContext =
reinterpret_cast<PFNWGLDELETECONTEXTPROC>(loadProc("wglDeleteContext"));
ANGLE__wglDescribeLayerPlane =
reinterpret_cast<PFNWGLDESCRIBELAYERPLANEPROC>(loadProc("wglDescribeLayerPlane"));
_wglGetCurrentContext =
ANGLE__wglGetCurrentContext =
reinterpret_cast<PFNWGLGETCURRENTCONTEXTPROC>(loadProc("wglGetCurrentContext"));
_wglGetCurrentDC = reinterpret_cast<PFNWGLGETCURRENTDCPROC>(loadProc("wglGetCurrentDC"));
_wglGetLayerPaletteEntries =
ANGLE__wglGetCurrentDC = reinterpret_cast<PFNWGLGETCURRENTDCPROC>(loadProc("wglGetCurrentDC"));
ANGLE__wglGetLayerPaletteEntries =
reinterpret_cast<PFNWGLGETLAYERPALETTEENTRIESPROC>(loadProc("wglGetLayerPaletteEntries"));
_wglGetProcAddress = reinterpret_cast<PFNWGLGETPROCADDRESSPROC>(loadProc("wglGetProcAddress"));
_wglMakeCurrent = reinterpret_cast<PFNWGLMAKECURRENTPROC>(loadProc("wglMakeCurrent"));
_wglRealizeLayerPalette =
ANGLE__wglGetProcAddress =
reinterpret_cast<PFNWGLGETPROCADDRESSPROC>(loadProc("wglGetProcAddress"));
ANGLE__wglMakeCurrent = reinterpret_cast<PFNWGLMAKECURRENTPROC>(loadProc("wglMakeCurrent"));
ANGLE__wglRealizeLayerPalette =
reinterpret_cast<PFNWGLREALIZELAYERPALETTEPROC>(loadProc("wglRealizeLayerPalette"));
_wglSetLayerPaletteEntries =
ANGLE__wglSetLayerPaletteEntries =
reinterpret_cast<PFNWGLSETLAYERPALETTEENTRIESPROC>(loadProc("wglSetLayerPaletteEntries"));
_wglShareLists = reinterpret_cast<PFNWGLSHARELISTSPROC>(loadProc("wglShareLists"));
_wglSwapLayerBuffers =
ANGLE__wglShareLists = reinterpret_cast<PFNWGLSHARELISTSPROC>(loadProc("wglShareLists"));
ANGLE__wglSwapLayerBuffers =
reinterpret_cast<PFNWGLSWAPLAYERBUFFERSPROC>(loadProc("wglSwapLayerBuffers"));
_wglUseFontBitmaps = reinterpret_cast<PFNWGLUSEFONTBITMAPSPROC>(loadProc("wglUseFontBitmaps"));
_wglUseFontBitmapsA =
ANGLE__wglUseFontBitmaps =
reinterpret_cast<PFNWGLUSEFONTBITMAPSPROC>(loadProc("wglUseFontBitmaps"));
ANGLE__wglUseFontBitmapsA =
reinterpret_cast<PFNWGLUSEFONTBITMAPSAPROC>(loadProc("wglUseFontBitmapsA"));
_wglUseFontBitmapsW =
ANGLE__wglUseFontBitmapsW =
reinterpret_cast<PFNWGLUSEFONTBITMAPSWPROC>(loadProc("wglUseFontBitmapsW"));
_wglUseFontOutlines =
ANGLE__wglUseFontOutlines =
reinterpret_cast<PFNWGLUSEFONTOUTLINESPROC>(loadProc("wglUseFontOutlines"));
_wglUseFontOutlinesA =
ANGLE__wglUseFontOutlinesA =
reinterpret_cast<PFNWGLUSEFONTOUTLINESAPROC>(loadProc("wglUseFontOutlinesA"));
_wglUseFontOutlinesW =
ANGLE__wglUseFontOutlinesW =
reinterpret_cast<PFNWGLUSEFONTOUTLINESWPROC>(loadProc("wglUseFontOutlinesW"));
_wglCreateContextAttribsARB =
ANGLE__wglCreateContextAttribsARB =
reinterpret_cast<PFNWGLCREATECONTEXTATTRIBSARBPROC>(loadProc("wglCreateContextAttribsARB"));
_wglGetExtensionsStringARB =
ANGLE__wglGetExtensionsStringARB =
reinterpret_cast<PFNWGLGETEXTENSIONSSTRINGARBPROC>(loadProc("wglGetExtensionsStringARB"));
_wglGetSwapIntervalEXT =
ANGLE__wglGetSwapIntervalEXT =
reinterpret_cast<PFNWGLGETSWAPINTERVALEXTPROC>(loadProc("wglGetSwapIntervalEXT"));
_wglSwapIntervalEXT =
ANGLE__wglSwapIntervalEXT =
reinterpret_cast<PFNWGLSWAPINTERVALEXTPROC>(loadProc("wglSwapIntervalEXT"));
}
} // namespace angle
......@@ -18,36 +18,66 @@
// and "SwapBuffers" don't conflict with our function pointers. We can't use a namespace because
// some functions conflict with preprocessor definitions.
extern PFNCHOOSEPIXELFORMATPROC _ChoosePixelFormat;
extern PFNDESCRIBEPIXELFORMATPROC _DescribePixelFormat;
extern PFNGETENHMETAFILEPIXELFORMATPROC _GetEnhMetaFilePixelFormat;
extern PFNGETPIXELFORMATPROC _GetPixelFormat;
extern PFNSETPIXELFORMATPROC _SetPixelFormat;
extern PFNSWAPBUFFERSPROC _SwapBuffers;
extern PFNWGLCOPYCONTEXTPROC _wglCopyContext;
extern PFNWGLCREATECONTEXTPROC _wglCreateContext;
extern PFNWGLCREATELAYERCONTEXTPROC _wglCreateLayerContext;
extern PFNWGLDELETECONTEXTPROC _wglDeleteContext;
extern PFNWGLDESCRIBELAYERPLANEPROC _wglDescribeLayerPlane;
extern PFNWGLGETCURRENTCONTEXTPROC _wglGetCurrentContext;
extern PFNWGLGETCURRENTDCPROC _wglGetCurrentDC;
extern PFNWGLGETLAYERPALETTEENTRIESPROC _wglGetLayerPaletteEntries;
extern PFNWGLGETPROCADDRESSPROC _wglGetProcAddress;
extern PFNWGLMAKECURRENTPROC _wglMakeCurrent;
extern PFNWGLREALIZELAYERPALETTEPROC _wglRealizeLayerPalette;
extern PFNWGLSETLAYERPALETTEENTRIESPROC _wglSetLayerPaletteEntries;
extern PFNWGLSHARELISTSPROC _wglShareLists;
extern PFNWGLSWAPLAYERBUFFERSPROC _wglSwapLayerBuffers;
extern PFNWGLUSEFONTBITMAPSPROC _wglUseFontBitmaps;
extern PFNWGLUSEFONTBITMAPSAPROC _wglUseFontBitmapsA;
extern PFNWGLUSEFONTBITMAPSWPROC _wglUseFontBitmapsW;
extern PFNWGLUSEFONTOUTLINESPROC _wglUseFontOutlines;
extern PFNWGLUSEFONTOUTLINESAPROC _wglUseFontOutlinesA;
extern PFNWGLUSEFONTOUTLINESWPROC _wglUseFontOutlinesW;
extern PFNWGLCREATECONTEXTATTRIBSARBPROC _wglCreateContextAttribsARB;
extern PFNWGLGETEXTENSIONSSTRINGARBPROC _wglGetExtensionsStringARB;
extern PFNWGLGETSWAPINTERVALEXTPROC _wglGetSwapIntervalEXT;
extern PFNWGLSWAPINTERVALEXTPROC _wglSwapIntervalEXT;
#define _ChoosePixelFormat ANGLE__ChoosePixelFormat
#define _DescribePixelFormat ANGLE__DescribePixelFormat
#define _GetEnhMetaFilePixelFormat ANGLE__GetEnhMetaFilePixelFormat
#define _GetPixelFormat ANGLE__GetPixelFormat
#define _SetPixelFormat ANGLE__SetPixelFormat
#define _SwapBuffers ANGLE__SwapBuffers
#define _wglCopyContext ANGLE__wglCopyContext
#define _wglCreateContext ANGLE__wglCreateContext
#define _wglCreateLayerContext ANGLE__wglCreateLayerContext
#define _wglDeleteContext ANGLE__wglDeleteContext
#define _wglDescribeLayerPlane ANGLE__wglDescribeLayerPlane
#define _wglGetCurrentContext ANGLE__wglGetCurrentContext
#define _wglGetCurrentDC ANGLE__wglGetCurrentDC
#define _wglGetLayerPaletteEntries ANGLE__wglGetLayerPaletteEntries
#define _wglGetProcAddress ANGLE__wglGetProcAddress
#define _wglMakeCurrent ANGLE__wglMakeCurrent
#define _wglRealizeLayerPalette ANGLE__wglRealizeLayerPalette
#define _wglSetLayerPaletteEntries ANGLE__wglSetLayerPaletteEntries
#define _wglShareLists ANGLE__wglShareLists
#define _wglSwapLayerBuffers ANGLE__wglSwapLayerBuffers
#define _wglUseFontBitmaps ANGLE__wglUseFontBitmaps
#define _wglUseFontBitmapsA ANGLE__wglUseFontBitmapsA
#define _wglUseFontBitmapsW ANGLE__wglUseFontBitmapsW
#define _wglUseFontOutlines ANGLE__wglUseFontOutlines
#define _wglUseFontOutlinesA ANGLE__wglUseFontOutlinesA
#define _wglUseFontOutlinesW ANGLE__wglUseFontOutlinesW
#define _wglCreateContextAttribsARB ANGLE__wglCreateContextAttribsARB
#define _wglGetExtensionsStringARB ANGLE__wglGetExtensionsStringARB
#define _wglGetSwapIntervalEXT ANGLE__wglGetSwapIntervalEXT
#define _wglSwapIntervalEXT ANGLE__wglSwapIntervalEXT
extern PFNCHOOSEPIXELFORMATPROC ANGLE__ChoosePixelFormat;
extern PFNDESCRIBEPIXELFORMATPROC ANGLE__DescribePixelFormat;
extern PFNGETENHMETAFILEPIXELFORMATPROC ANGLE__GetEnhMetaFilePixelFormat;
extern PFNGETPIXELFORMATPROC ANGLE__GetPixelFormat;
extern PFNSETPIXELFORMATPROC ANGLE__SetPixelFormat;
extern PFNSWAPBUFFERSPROC ANGLE__SwapBuffers;
extern PFNWGLCOPYCONTEXTPROC ANGLE__wglCopyContext;
extern PFNWGLCREATECONTEXTPROC ANGLE__wglCreateContext;
extern PFNWGLCREATELAYERCONTEXTPROC ANGLE__wglCreateLayerContext;
extern PFNWGLDELETECONTEXTPROC ANGLE__wglDeleteContext;
extern PFNWGLDESCRIBELAYERPLANEPROC ANGLE__wglDescribeLayerPlane;
extern PFNWGLGETCURRENTCONTEXTPROC ANGLE__wglGetCurrentContext;
extern PFNWGLGETCURRENTDCPROC ANGLE__wglGetCurrentDC;
extern PFNWGLGETLAYERPALETTEENTRIESPROC ANGLE__wglGetLayerPaletteEntries;
extern PFNWGLGETPROCADDRESSPROC ANGLE__wglGetProcAddress;
extern PFNWGLMAKECURRENTPROC ANGLE__wglMakeCurrent;
extern PFNWGLREALIZELAYERPALETTEPROC ANGLE__wglRealizeLayerPalette;
extern PFNWGLSETLAYERPALETTEENTRIESPROC ANGLE__wglSetLayerPaletteEntries;
extern PFNWGLSHARELISTSPROC ANGLE__wglShareLists;
extern PFNWGLSWAPLAYERBUFFERSPROC ANGLE__wglSwapLayerBuffers;
extern PFNWGLUSEFONTBITMAPSPROC ANGLE__wglUseFontBitmaps;
extern PFNWGLUSEFONTBITMAPSAPROC ANGLE__wglUseFontBitmapsA;
extern PFNWGLUSEFONTBITMAPSWPROC ANGLE__wglUseFontBitmapsW;
extern PFNWGLUSEFONTOUTLINESPROC ANGLE__wglUseFontOutlines;
extern PFNWGLUSEFONTOUTLINESAPROC ANGLE__wglUseFontOutlinesA;
extern PFNWGLUSEFONTOUTLINESWPROC ANGLE__wglUseFontOutlinesW;
extern PFNWGLCREATECONTEXTATTRIBSARBPROC ANGLE__wglCreateContextAttribsARB;
extern PFNWGLGETEXTENSIONSSTRINGARBPROC ANGLE__wglGetExtensionsStringARB;
extern PFNWGLGETSWAPINTERVALEXTPROC ANGLE__wglGetSwapIntervalEXT;
extern PFNWGLSWAPINTERVALEXTPROC ANGLE__wglSwapIntervalEXT;
namespace angle
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment