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 @@ ...@@ -4,7 +4,7 @@
"scripts/egl_angle_ext.xml": "scripts/egl_angle_ext.xml":
"854e99785af19f8f4eea4f73005a0451", "854e99785af19f8f4eea4f73005a0451",
"scripts/generate_loader.py": "scripts/generate_loader.py":
"792c41d7ae93a4518f0c73e45626d19b", "53008b78d45bb708732b8fe4a0d2f341",
"scripts/gl.xml": "scripts/gl.xml":
"e74a595068cbdd6064300be1e71b7cc9", "e74a595068cbdd6064300be1e71b7cc9",
"scripts/gl_angle_ext.xml": "scripts/gl_angle_ext.xml":
...@@ -14,19 +14,19 @@ ...@@ -14,19 +14,19 @@
"scripts/wgl.xml": "scripts/wgl.xml":
"aa96419c582af2f6673430e2847693f4", "aa96419c582af2f6673430e2847693f4",
"src/libEGL/egl_loader_autogen.cpp": "src/libEGL/egl_loader_autogen.cpp":
"64cb617726751808af6a64607cba39eb", "dd726182e22609fa3c034c0d748a43b0",
"src/libEGL/egl_loader_autogen.h": "src/libEGL/egl_loader_autogen.h":
"e79b89b5f1f704383c96dbc99124efff", "05c4485748c5911162064ae7d2f3278f",
"util/egl_loader_autogen.cpp": "util/egl_loader_autogen.cpp":
"44c9d17a658aec04dfa7b57fca5386a0", "47c5bce8f54d246df22c1e13b894fa33",
"util/egl_loader_autogen.h": "util/egl_loader_autogen.h":
"e0ae6f29162d13d8d825fc9cd58baf94", "73cdbf4995bc4d355d2950b44d39f7e0",
"util/gles_loader_autogen.cpp": "util/gles_loader_autogen.cpp":
"b73fa86312a71c76f6a8402548d21204", "20c544c6bfa1851c919272d220a3c102",
"util/gles_loader_autogen.h": "util/gles_loader_autogen.h":
"f5df94d354db0d26275b1828f4083633", "cb79381b751c37b46b4bd53c91c52e47",
"util/windows/wgl_loader_autogen.cpp": "util/windows/wgl_loader_autogen.cpp":
"c0d9a65eaa9aac356c6fd3f88638d2be", "87f45b2da77c867888086813543a1d03",
"util/windows/wgl_loader_autogen.h": "util/windows/wgl_loader_autogen.h":
"36857be5c303b13eba2ee91d7c127207" "b5c3b692f4ce2fc30edf0ed94be8d497"
} }
\ No newline at end of file
...@@ -31,13 +31,16 @@ def write_header(data_source_name, ...@@ -31,13 +31,16 @@ def write_header(data_source_name,
return prefix + cmd[len(api):] return prefix + cmd[len(api):]
with open(header_path, "w") as out: 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 = [ 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( loader_header = template_loader_h.format(
script_name=os.path.basename(sys.argv[0]), script_name=os.path.basename(sys.argv[0]),
data_source_name=data_source_name, data_source_name=data_source_name,
year=date.today().year, year=date.today().year,
defines="\n".join(defines),
function_pointers="\n".join(var_protos), function_pointers="\n".join(var_protos),
api_upper=api.upper(), api_upper=api.upper(),
api_lower=api, api_lower=api,
...@@ -60,9 +63,11 @@ def write_source(data_source_name, all_cmds, api, path, ns="", prefix=None, expo ...@@ -60,9 +63,11 @@ def write_source(data_source_name, all_cmds, api, path, ns="", prefix=None, expo
return prefix + cmd[len(api):] return prefix + cmd[len(api):]
with open(source_path, "w") as out: 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] setters = [setter % (ns, pre(cmd), cmd.upper(), pre(cmd)) for cmd in all_cmds]
loader_source = template_loader_cpp.format( loader_source = template_loader_cpp.format(
...@@ -266,6 +271,7 @@ template_loader_h = """// GENERATED FILE - DO NOT EDIT. ...@@ -266,6 +271,7 @@ template_loader_h = """// GENERATED FILE - DO NOT EDIT.
#define {lib}_{api_upper}_LOADER_AUTOGEN_H_ #define {lib}_{api_upper}_LOADER_AUTOGEN_H_
{preamble} {preamble}
{defines}
{function_pointers} {function_pointers}
namespace angle 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 @@ ...@@ -10,88 +10,93 @@
#include "wgl_loader_autogen.h" #include "wgl_loader_autogen.h"
PFNCHOOSEPIXELFORMATPROC _ChoosePixelFormat; PFNCHOOSEPIXELFORMATPROC ANGLE__ChoosePixelFormat;
PFNDESCRIBEPIXELFORMATPROC _DescribePixelFormat; PFNDESCRIBEPIXELFORMATPROC ANGLE__DescribePixelFormat;
PFNGETENHMETAFILEPIXELFORMATPROC _GetEnhMetaFilePixelFormat; PFNGETENHMETAFILEPIXELFORMATPROC ANGLE__GetEnhMetaFilePixelFormat;
PFNGETPIXELFORMATPROC _GetPixelFormat; PFNGETPIXELFORMATPROC ANGLE__GetPixelFormat;
PFNSETPIXELFORMATPROC _SetPixelFormat; PFNSETPIXELFORMATPROC ANGLE__SetPixelFormat;
PFNSWAPBUFFERSPROC _SwapBuffers; PFNSWAPBUFFERSPROC ANGLE__SwapBuffers;
PFNWGLCOPYCONTEXTPROC _wglCopyContext; PFNWGLCOPYCONTEXTPROC ANGLE__wglCopyContext;
PFNWGLCREATECONTEXTPROC _wglCreateContext; PFNWGLCREATECONTEXTPROC ANGLE__wglCreateContext;
PFNWGLCREATELAYERCONTEXTPROC _wglCreateLayerContext; PFNWGLCREATELAYERCONTEXTPROC ANGLE__wglCreateLayerContext;
PFNWGLDELETECONTEXTPROC _wglDeleteContext; PFNWGLDELETECONTEXTPROC ANGLE__wglDeleteContext;
PFNWGLDESCRIBELAYERPLANEPROC _wglDescribeLayerPlane; PFNWGLDESCRIBELAYERPLANEPROC ANGLE__wglDescribeLayerPlane;
PFNWGLGETCURRENTCONTEXTPROC _wglGetCurrentContext; PFNWGLGETCURRENTCONTEXTPROC ANGLE__wglGetCurrentContext;
PFNWGLGETCURRENTDCPROC _wglGetCurrentDC; PFNWGLGETCURRENTDCPROC ANGLE__wglGetCurrentDC;
PFNWGLGETLAYERPALETTEENTRIESPROC _wglGetLayerPaletteEntries; PFNWGLGETLAYERPALETTEENTRIESPROC ANGLE__wglGetLayerPaletteEntries;
PFNWGLGETPROCADDRESSPROC _wglGetProcAddress; PFNWGLGETPROCADDRESSPROC ANGLE__wglGetProcAddress;
PFNWGLMAKECURRENTPROC _wglMakeCurrent; PFNWGLMAKECURRENTPROC ANGLE__wglMakeCurrent;
PFNWGLREALIZELAYERPALETTEPROC _wglRealizeLayerPalette; PFNWGLREALIZELAYERPALETTEPROC ANGLE__wglRealizeLayerPalette;
PFNWGLSETLAYERPALETTEENTRIESPROC _wglSetLayerPaletteEntries; PFNWGLSETLAYERPALETTEENTRIESPROC ANGLE__wglSetLayerPaletteEntries;
PFNWGLSHARELISTSPROC _wglShareLists; PFNWGLSHARELISTSPROC ANGLE__wglShareLists;
PFNWGLSWAPLAYERBUFFERSPROC _wglSwapLayerBuffers; PFNWGLSWAPLAYERBUFFERSPROC ANGLE__wglSwapLayerBuffers;
PFNWGLUSEFONTBITMAPSPROC _wglUseFontBitmaps; PFNWGLUSEFONTBITMAPSPROC ANGLE__wglUseFontBitmaps;
PFNWGLUSEFONTBITMAPSAPROC _wglUseFontBitmapsA; PFNWGLUSEFONTBITMAPSAPROC ANGLE__wglUseFontBitmapsA;
PFNWGLUSEFONTBITMAPSWPROC _wglUseFontBitmapsW; PFNWGLUSEFONTBITMAPSWPROC ANGLE__wglUseFontBitmapsW;
PFNWGLUSEFONTOUTLINESPROC _wglUseFontOutlines; PFNWGLUSEFONTOUTLINESPROC ANGLE__wglUseFontOutlines;
PFNWGLUSEFONTOUTLINESAPROC _wglUseFontOutlinesA; PFNWGLUSEFONTOUTLINESAPROC ANGLE__wglUseFontOutlinesA;
PFNWGLUSEFONTOUTLINESWPROC _wglUseFontOutlinesW; PFNWGLUSEFONTOUTLINESWPROC ANGLE__wglUseFontOutlinesW;
PFNWGLCREATECONTEXTATTRIBSARBPROC _wglCreateContextAttribsARB; PFNWGLCREATECONTEXTATTRIBSARBPROC ANGLE__wglCreateContextAttribsARB;
PFNWGLGETEXTENSIONSSTRINGARBPROC _wglGetExtensionsStringARB; PFNWGLGETEXTENSIONSSTRINGARBPROC ANGLE__wglGetExtensionsStringARB;
PFNWGLGETSWAPINTERVALEXTPROC _wglGetSwapIntervalEXT; PFNWGLGETSWAPINTERVALEXTPROC ANGLE__wglGetSwapIntervalEXT;
PFNWGLSWAPINTERVALEXTPROC _wglSwapIntervalEXT; PFNWGLSWAPINTERVALEXTPROC ANGLE__wglSwapIntervalEXT;
namespace angle namespace angle
{ {
void LoadWGL(LoadProc loadProc) void LoadWGL(LoadProc loadProc)
{ {
_ChoosePixelFormat = reinterpret_cast<PFNCHOOSEPIXELFORMATPROC>(loadProc("ChoosePixelFormat")); ANGLE__ChoosePixelFormat =
_DescribePixelFormat = reinterpret_cast<PFNCHOOSEPIXELFORMATPROC>(loadProc("ChoosePixelFormat"));
ANGLE__DescribePixelFormat =
reinterpret_cast<PFNDESCRIBEPIXELFORMATPROC>(loadProc("DescribePixelFormat")); reinterpret_cast<PFNDESCRIBEPIXELFORMATPROC>(loadProc("DescribePixelFormat"));
_GetEnhMetaFilePixelFormat = ANGLE__GetEnhMetaFilePixelFormat =
reinterpret_cast<PFNGETENHMETAFILEPIXELFORMATPROC>(loadProc("GetEnhMetaFilePixelFormat")); reinterpret_cast<PFNGETENHMETAFILEPIXELFORMATPROC>(loadProc("GetEnhMetaFilePixelFormat"));
_GetPixelFormat = reinterpret_cast<PFNGETPIXELFORMATPROC>(loadProc("GetPixelFormat")); ANGLE__GetPixelFormat = reinterpret_cast<PFNGETPIXELFORMATPROC>(loadProc("GetPixelFormat"));
_SetPixelFormat = reinterpret_cast<PFNSETPIXELFORMATPROC>(loadProc("SetPixelFormat")); ANGLE__SetPixelFormat = reinterpret_cast<PFNSETPIXELFORMATPROC>(loadProc("SetPixelFormat"));
_SwapBuffers = reinterpret_cast<PFNSWAPBUFFERSPROC>(loadProc("SwapBuffers")); ANGLE__SwapBuffers = reinterpret_cast<PFNSWAPBUFFERSPROC>(loadProc("SwapBuffers"));
_wglCopyContext = reinterpret_cast<PFNWGLCOPYCONTEXTPROC>(loadProc("wglCopyContext")); ANGLE__wglCopyContext = reinterpret_cast<PFNWGLCOPYCONTEXTPROC>(loadProc("wglCopyContext"));
_wglCreateContext = reinterpret_cast<PFNWGLCREATECONTEXTPROC>(loadProc("wglCreateContext")); ANGLE__wglCreateContext =
_wglCreateLayerContext = reinterpret_cast<PFNWGLCREATECONTEXTPROC>(loadProc("wglCreateContext"));
ANGLE__wglCreateLayerContext =
reinterpret_cast<PFNWGLCREATELAYERCONTEXTPROC>(loadProc("wglCreateLayerContext")); reinterpret_cast<PFNWGLCREATELAYERCONTEXTPROC>(loadProc("wglCreateLayerContext"));
_wglDeleteContext = reinterpret_cast<PFNWGLDELETECONTEXTPROC>(loadProc("wglDeleteContext")); ANGLE__wglDeleteContext =
_wglDescribeLayerPlane = reinterpret_cast<PFNWGLDELETECONTEXTPROC>(loadProc("wglDeleteContext"));
ANGLE__wglDescribeLayerPlane =
reinterpret_cast<PFNWGLDESCRIBELAYERPLANEPROC>(loadProc("wglDescribeLayerPlane")); reinterpret_cast<PFNWGLDESCRIBELAYERPLANEPROC>(loadProc("wglDescribeLayerPlane"));
_wglGetCurrentContext = ANGLE__wglGetCurrentContext =
reinterpret_cast<PFNWGLGETCURRENTCONTEXTPROC>(loadProc("wglGetCurrentContext")); reinterpret_cast<PFNWGLGETCURRENTCONTEXTPROC>(loadProc("wglGetCurrentContext"));
_wglGetCurrentDC = reinterpret_cast<PFNWGLGETCURRENTDCPROC>(loadProc("wglGetCurrentDC")); ANGLE__wglGetCurrentDC = reinterpret_cast<PFNWGLGETCURRENTDCPROC>(loadProc("wglGetCurrentDC"));
_wglGetLayerPaletteEntries = ANGLE__wglGetLayerPaletteEntries =
reinterpret_cast<PFNWGLGETLAYERPALETTEENTRIESPROC>(loadProc("wglGetLayerPaletteEntries")); reinterpret_cast<PFNWGLGETLAYERPALETTEENTRIESPROC>(loadProc("wglGetLayerPaletteEntries"));
_wglGetProcAddress = reinterpret_cast<PFNWGLGETPROCADDRESSPROC>(loadProc("wglGetProcAddress")); ANGLE__wglGetProcAddress =
_wglMakeCurrent = reinterpret_cast<PFNWGLMAKECURRENTPROC>(loadProc("wglMakeCurrent")); reinterpret_cast<PFNWGLGETPROCADDRESSPROC>(loadProc("wglGetProcAddress"));
_wglRealizeLayerPalette = ANGLE__wglMakeCurrent = reinterpret_cast<PFNWGLMAKECURRENTPROC>(loadProc("wglMakeCurrent"));
ANGLE__wglRealizeLayerPalette =
reinterpret_cast<PFNWGLREALIZELAYERPALETTEPROC>(loadProc("wglRealizeLayerPalette")); reinterpret_cast<PFNWGLREALIZELAYERPALETTEPROC>(loadProc("wglRealizeLayerPalette"));
_wglSetLayerPaletteEntries = ANGLE__wglSetLayerPaletteEntries =
reinterpret_cast<PFNWGLSETLAYERPALETTEENTRIESPROC>(loadProc("wglSetLayerPaletteEntries")); reinterpret_cast<PFNWGLSETLAYERPALETTEENTRIESPROC>(loadProc("wglSetLayerPaletteEntries"));
_wglShareLists = reinterpret_cast<PFNWGLSHARELISTSPROC>(loadProc("wglShareLists")); ANGLE__wglShareLists = reinterpret_cast<PFNWGLSHARELISTSPROC>(loadProc("wglShareLists"));
_wglSwapLayerBuffers = ANGLE__wglSwapLayerBuffers =
reinterpret_cast<PFNWGLSWAPLAYERBUFFERSPROC>(loadProc("wglSwapLayerBuffers")); reinterpret_cast<PFNWGLSWAPLAYERBUFFERSPROC>(loadProc("wglSwapLayerBuffers"));
_wglUseFontBitmaps = reinterpret_cast<PFNWGLUSEFONTBITMAPSPROC>(loadProc("wglUseFontBitmaps")); ANGLE__wglUseFontBitmaps =
_wglUseFontBitmapsA = reinterpret_cast<PFNWGLUSEFONTBITMAPSPROC>(loadProc("wglUseFontBitmaps"));
ANGLE__wglUseFontBitmapsA =
reinterpret_cast<PFNWGLUSEFONTBITMAPSAPROC>(loadProc("wglUseFontBitmapsA")); reinterpret_cast<PFNWGLUSEFONTBITMAPSAPROC>(loadProc("wglUseFontBitmapsA"));
_wglUseFontBitmapsW = ANGLE__wglUseFontBitmapsW =
reinterpret_cast<PFNWGLUSEFONTBITMAPSWPROC>(loadProc("wglUseFontBitmapsW")); reinterpret_cast<PFNWGLUSEFONTBITMAPSWPROC>(loadProc("wglUseFontBitmapsW"));
_wglUseFontOutlines = ANGLE__wglUseFontOutlines =
reinterpret_cast<PFNWGLUSEFONTOUTLINESPROC>(loadProc("wglUseFontOutlines")); reinterpret_cast<PFNWGLUSEFONTOUTLINESPROC>(loadProc("wglUseFontOutlines"));
_wglUseFontOutlinesA = ANGLE__wglUseFontOutlinesA =
reinterpret_cast<PFNWGLUSEFONTOUTLINESAPROC>(loadProc("wglUseFontOutlinesA")); reinterpret_cast<PFNWGLUSEFONTOUTLINESAPROC>(loadProc("wglUseFontOutlinesA"));
_wglUseFontOutlinesW = ANGLE__wglUseFontOutlinesW =
reinterpret_cast<PFNWGLUSEFONTOUTLINESWPROC>(loadProc("wglUseFontOutlinesW")); reinterpret_cast<PFNWGLUSEFONTOUTLINESWPROC>(loadProc("wglUseFontOutlinesW"));
_wglCreateContextAttribsARB = ANGLE__wglCreateContextAttribsARB =
reinterpret_cast<PFNWGLCREATECONTEXTATTRIBSARBPROC>(loadProc("wglCreateContextAttribsARB")); reinterpret_cast<PFNWGLCREATECONTEXTATTRIBSARBPROC>(loadProc("wglCreateContextAttribsARB"));
_wglGetExtensionsStringARB = ANGLE__wglGetExtensionsStringARB =
reinterpret_cast<PFNWGLGETEXTENSIONSSTRINGARBPROC>(loadProc("wglGetExtensionsStringARB")); reinterpret_cast<PFNWGLGETEXTENSIONSSTRINGARBPROC>(loadProc("wglGetExtensionsStringARB"));
_wglGetSwapIntervalEXT = ANGLE__wglGetSwapIntervalEXT =
reinterpret_cast<PFNWGLGETSWAPINTERVALEXTPROC>(loadProc("wglGetSwapIntervalEXT")); reinterpret_cast<PFNWGLGETSWAPINTERVALEXTPROC>(loadProc("wglGetSwapIntervalEXT"));
_wglSwapIntervalEXT = ANGLE__wglSwapIntervalEXT =
reinterpret_cast<PFNWGLSWAPINTERVALEXTPROC>(loadProc("wglSwapIntervalEXT")); reinterpret_cast<PFNWGLSWAPINTERVALEXTPROC>(loadProc("wglSwapIntervalEXT"));
} }
} // namespace angle } // namespace angle
...@@ -18,36 +18,66 @@ ...@@ -18,36 +18,66 @@
// and "SwapBuffers" don't conflict with our function pointers. We can't use a namespace because // and "SwapBuffers" don't conflict with our function pointers. We can't use a namespace because
// some functions conflict with preprocessor definitions. // some functions conflict with preprocessor definitions.
extern PFNCHOOSEPIXELFORMATPROC _ChoosePixelFormat; #define _ChoosePixelFormat ANGLE__ChoosePixelFormat
extern PFNDESCRIBEPIXELFORMATPROC _DescribePixelFormat; #define _DescribePixelFormat ANGLE__DescribePixelFormat
extern PFNGETENHMETAFILEPIXELFORMATPROC _GetEnhMetaFilePixelFormat; #define _GetEnhMetaFilePixelFormat ANGLE__GetEnhMetaFilePixelFormat
extern PFNGETPIXELFORMATPROC _GetPixelFormat; #define _GetPixelFormat ANGLE__GetPixelFormat
extern PFNSETPIXELFORMATPROC _SetPixelFormat; #define _SetPixelFormat ANGLE__SetPixelFormat
extern PFNSWAPBUFFERSPROC _SwapBuffers; #define _SwapBuffers ANGLE__SwapBuffers
extern PFNWGLCOPYCONTEXTPROC _wglCopyContext; #define _wglCopyContext ANGLE__wglCopyContext
extern PFNWGLCREATECONTEXTPROC _wglCreateContext; #define _wglCreateContext ANGLE__wglCreateContext
extern PFNWGLCREATELAYERCONTEXTPROC _wglCreateLayerContext; #define _wglCreateLayerContext ANGLE__wglCreateLayerContext
extern PFNWGLDELETECONTEXTPROC _wglDeleteContext; #define _wglDeleteContext ANGLE__wglDeleteContext
extern PFNWGLDESCRIBELAYERPLANEPROC _wglDescribeLayerPlane; #define _wglDescribeLayerPlane ANGLE__wglDescribeLayerPlane
extern PFNWGLGETCURRENTCONTEXTPROC _wglGetCurrentContext; #define _wglGetCurrentContext ANGLE__wglGetCurrentContext
extern PFNWGLGETCURRENTDCPROC _wglGetCurrentDC; #define _wglGetCurrentDC ANGLE__wglGetCurrentDC
extern PFNWGLGETLAYERPALETTEENTRIESPROC _wglGetLayerPaletteEntries; #define _wglGetLayerPaletteEntries ANGLE__wglGetLayerPaletteEntries
extern PFNWGLGETPROCADDRESSPROC _wglGetProcAddress; #define _wglGetProcAddress ANGLE__wglGetProcAddress
extern PFNWGLMAKECURRENTPROC _wglMakeCurrent; #define _wglMakeCurrent ANGLE__wglMakeCurrent
extern PFNWGLREALIZELAYERPALETTEPROC _wglRealizeLayerPalette; #define _wglRealizeLayerPalette ANGLE__wglRealizeLayerPalette
extern PFNWGLSETLAYERPALETTEENTRIESPROC _wglSetLayerPaletteEntries; #define _wglSetLayerPaletteEntries ANGLE__wglSetLayerPaletteEntries
extern PFNWGLSHARELISTSPROC _wglShareLists; #define _wglShareLists ANGLE__wglShareLists
extern PFNWGLSWAPLAYERBUFFERSPROC _wglSwapLayerBuffers; #define _wglSwapLayerBuffers ANGLE__wglSwapLayerBuffers
extern PFNWGLUSEFONTBITMAPSPROC _wglUseFontBitmaps; #define _wglUseFontBitmaps ANGLE__wglUseFontBitmaps
extern PFNWGLUSEFONTBITMAPSAPROC _wglUseFontBitmapsA; #define _wglUseFontBitmapsA ANGLE__wglUseFontBitmapsA
extern PFNWGLUSEFONTBITMAPSWPROC _wglUseFontBitmapsW; #define _wglUseFontBitmapsW ANGLE__wglUseFontBitmapsW
extern PFNWGLUSEFONTOUTLINESPROC _wglUseFontOutlines; #define _wglUseFontOutlines ANGLE__wglUseFontOutlines
extern PFNWGLUSEFONTOUTLINESAPROC _wglUseFontOutlinesA; #define _wglUseFontOutlinesA ANGLE__wglUseFontOutlinesA
extern PFNWGLUSEFONTOUTLINESWPROC _wglUseFontOutlinesW; #define _wglUseFontOutlinesW ANGLE__wglUseFontOutlinesW
extern PFNWGLCREATECONTEXTATTRIBSARBPROC _wglCreateContextAttribsARB; #define _wglCreateContextAttribsARB ANGLE__wglCreateContextAttribsARB
extern PFNWGLGETEXTENSIONSSTRINGARBPROC _wglGetExtensionsStringARB; #define _wglGetExtensionsStringARB ANGLE__wglGetExtensionsStringARB
extern PFNWGLGETSWAPINTERVALEXTPROC _wglGetSwapIntervalEXT; #define _wglGetSwapIntervalEXT ANGLE__wglGetSwapIntervalEXT
extern PFNWGLSWAPINTERVALEXTPROC _wglSwapIntervalEXT; #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 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