/
vTech
/
FcApps
Обзор
Документация
Войти
/
vTech
/
FcApps
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
FcLibs/FcWindow/src/FcPlatform/FcPlatform_WGL_API.h
333 строки
18 KB
vTech
alpha_00
03 дек 2025, 17:45
03 дек 2025, 17:45
ab8382d
Код
Авторство
О чём код?
#if defined(_WIN32) || defined(_WIN64) #ifndef __FCPLATFORM_WGL_API_H__ #define __FCPLATFORM_WGL_API_H__ #include "FcWindow_config.h" #ifdef __cplusplus extern "C" { #endif #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && \ !defined(__SCITECH_SNAP__) #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> #endif extern const char* s_wglFunctions[]; extern const char* s_wglExtension[]; #ifndef WGL_VERSION_1_0 #define WGL_VERSION_1_0 1 #define WGL_FONT_LINES 0 #define WGL_FONT_POLYGONS 1 #define WGL_SWAP_MAIN_PLANE 0x00000001 #define WGL_SWAP_OVERLAY1 0x00000002 #define WGL_SWAP_OVERLAY2 0x00000004 #define WGL_SWAP_OVERLAY3 0x00000008 #define WGL_SWAP_OVERLAY4 0x00000010 #define WGL_SWAP_OVERLAY5 0x00000020 #define WGL_SWAP_OVERLAY6 0x00000040 #define WGL_SWAP_OVERLAY7 0x00000080 #define WGL_SWAP_OVERLAY8 0x00000100 #define WGL_SWAP_OVERLAY9 0x00000200 #define WGL_SWAP_OVERLAY10 0x00000400 #define WGL_SWAP_OVERLAY11 0x00000800 #define WGL_SWAP_OVERLAY12 0x00001000 #define WGL_SWAP_OVERLAY13 0x00002000 #define WGL_SWAP_OVERLAY14 0x00004000 #define WGL_SWAP_OVERLAY15 0x00008000 #define WGL_SWAP_UNDERLAY1 0x00010000 #define WGL_SWAP_UNDERLAY2 0x00020000 #define WGL_SWAP_UNDERLAY3 0x00040000 #define WGL_SWAP_UNDERLAY4 0x00080000 #define WGL_SWAP_UNDERLAY5 0x00100000 #define WGL_SWAP_UNDERLAY6 0x00200000 #define WGL_SWAP_UNDERLAY7 0x00400000 #define WGL_SWAP_UNDERLAY8 0x00800000 #define WGL_SWAP_UNDERLAY9 0x01000000 #define WGL_SWAP_UNDERLAY10 0x02000000 #define WGL_SWAP_UNDERLAY11 0x04000000 #define WGL_SWAP_UNDERLAY12 0x08000000 #define WGL_SWAP_UNDERLAY13 0x10000000 #define WGL_SWAP_UNDERLAY14 0x20000000 #define WGL_SWAP_UNDERLAY15 0x40000000 typedef int (WINAPI* PFNCHOOSEPIXELFORMATPROC) (HDC hDc, const PIXELFORMATDESCRIPTOR* pPfd); typedef int (WINAPI* PFNDESCRIBEPIXELFORMATPROC) (HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR* ppfd); typedef UINT(WINAPI* PFNGETENHMETAFILEPIXELFORMATPROC) (HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR* ppfd); typedef int (WINAPI* PFNGETPIXELFORMATPROC) (HDC hdc); typedef BOOL(WINAPI* PFNSETPIXELFORMATPROC) (HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR* ppfd); typedef BOOL(WINAPI* PFNSWAPBUFFERSPROC) (HDC hdc); typedef BOOL(WINAPI* PFNWGLCOPYCONTEXTPROC) (HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask); typedef HGLRC(WINAPI* PFNWGLCREATECONTEXTPROC) (HDC hDc); typedef HGLRC(WINAPI* PFNWGLCREATELAYERCONTEXTPROC) (HDC hDc, int level); typedef BOOL(WINAPI* PFNWGLDELETECONTEXTPROC) (HGLRC oldContext); typedef BOOL(WINAPI* PFNWGLDESCRIBELAYERPLANEPROC) (HDC hDc, int pixelFormat, int layerPlane, UINT nBytes, const LAYERPLANEDESCRIPTOR* plpd); typedef HGLRC(WINAPI* PFNWGLGETCURRENTCONTEXTPROC) (void); typedef HDC(WINAPI* PFNWGLGETCURRENTDCPROC) (void); typedef int (WINAPI* PFNWGLGETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF* pcr); typedef PROC(WINAPI* PFNWGLGETPROCADDRESSPROC) (LPCSTR lpszProc); typedef BOOL(WINAPI* PFNWGLMAKECURRENTPROC) (HDC hDc, HGLRC newContext); typedef BOOL(WINAPI* PFNWGLREALIZELAYERPALETTEPROC) (HDC hdc, int iLayerPlane, BOOL bRealize); typedef int (WINAPI* PFNWGLSETLAYERPALETTEENTRIESPROC) (HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF* pcr); typedef BOOL(WINAPI* PFNWGLSHARELISTSPROC) (HGLRC hrcSrvShare, HGLRC hrcSrvSource); typedef BOOL(WINAPI* PFNWGLSWAPLAYERBUFFERSPROC) (HDC hdc, UINT fuFlags); typedef BOOL(WINAPI* PFNWGLUSEFONTBITMAPSPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); typedef BOOL(WINAPI* PFNWGLUSEFONTBITMAPSAPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); typedef BOOL(WINAPI* PFNWGLUSEFONTBITMAPSWPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase); typedef BOOL(WINAPI* PFNWGLUSEFONTOUTLINESPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); typedef BOOL(WINAPI* PFNWGLUSEFONTOUTLINESAPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); typedef BOOL(WINAPI* PFNWGLUSEFONTOUTLINESWPROC) (HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); #endif #ifndef WGL_ARB_create_context #define WGL_ARB_create_context 1 #define WGL_CONTEXT_DEBUG_BIT_ARB 0x00000001 #define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 #define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 #define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 #define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 #define WGL_CONTEXT_FLAGS_ARB 0x2094 #define ERROR_INVALID_VERSION_ARB 0x2095 typedef HGLRC(WINAPI* PFNWGLCREATECONTEXTATTRIBSARBPROC) (HDC hDC, HGLRC hShareContext, const int* attribList); #endif #ifndef WGL_ARB_create_context_profile #define WGL_ARB_create_context_profile 1 #define WGL_CONTEXT_PROFILE_MASK_ARB 0x9126 #define WGL_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 #define WGL_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 #define ERROR_INVALID_PROFILE_ARB 0x2096 #endif /* WGL_ARB_create_context_profile */ #ifndef WGL_ARB_pbuffer #define WGL_ARB_pbuffer 1 DECLARE_HANDLE(HPBUFFERARB); #define WGL_DRAW_TO_PBUFFER_ARB 0x202D #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030 #define WGL_PBUFFER_LARGEST_ARB 0x2033 #define WGL_PBUFFER_WIDTH_ARB 0x2034 #define WGL_PBUFFER_HEIGHT_ARB 0x2035 #define WGL_PBUFFER_LOST_ARB 0x2036 typedef HPBUFFERARB(WINAPI* PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); typedef HDC(WINAPI* PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer); typedef int (WINAPI* PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC); typedef BOOL(WINAPI* PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer); typedef BOOL(WINAPI* PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int* piValue); #endif /* WGL_ARB_pbuffer */ #ifndef WGL_ARB_pixel_format #define WGL_ARB_pixel_format 1 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000 #define WGL_DRAW_TO_WINDOW_ARB 0x2001 #define WGL_DRAW_TO_BITMAP_ARB 0x2002 #define WGL_ACCELERATION_ARB 0x2003 #define WGL_NEED_PALETTE_ARB 0x2004 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006 #define WGL_SWAP_METHOD_ARB 0x2007 #define WGL_NUMBER_OVERLAYS_ARB 0x2008 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009 #define WGL_TRANSPARENT_ARB 0x200A #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B #define WGL_SHARE_DEPTH_ARB 0x200C #define WGL_SHARE_STENCIL_ARB 0x200D #define WGL_SHARE_ACCUM_ARB 0x200E #define WGL_SUPPORT_GDI_ARB 0x200F #define WGL_SUPPORT_OPENGL_ARB 0x2010 #define WGL_DOUBLE_BUFFER_ARB 0x2011 #define WGL_STEREO_ARB 0x2012 #define WGL_PIXEL_TYPE_ARB 0x2013 #define WGL_COLOR_BITS_ARB 0x2014 #define WGL_RED_BITS_ARB 0x2015 #define WGL_RED_SHIFT_ARB 0x2016 #define WGL_GREEN_BITS_ARB 0x2017 #define WGL_GREEN_SHIFT_ARB 0x2018 #define WGL_BLUE_BITS_ARB 0x2019 #define WGL_BLUE_SHIFT_ARB 0x201A #define WGL_ALPHA_BITS_ARB 0x201B #define WGL_ALPHA_SHIFT_ARB 0x201C #define WGL_ACCUM_BITS_ARB 0x201D #define WGL_ACCUM_RED_BITS_ARB 0x201E #define WGL_ACCUM_GREEN_BITS_ARB 0x201F #define WGL_ACCUM_BLUE_BITS_ARB 0x2020 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021 #define WGL_DEPTH_BITS_ARB 0x2022 #define WGL_STENCIL_BITS_ARB 0x2023 #define WGL_AUX_BUFFERS_ARB 0x2024 #define WGL_NO_ACCELERATION_ARB 0x2025 #define WGL_GENERIC_ACCELERATION_ARB 0x2026 #define WGL_FULL_ACCELERATION_ARB 0x2027 #define WGL_SWAP_EXCHANGE_ARB 0x2028 #define WGL_SWAP_COPY_ARB 0x2029 #define WGL_SWAP_UNDEFINED_ARB 0x202A #define WGL_TYPE_RGBA_ARB 0x202B #define WGL_TYPE_COLORINDEX_ARB 0x202C typedef BOOL(WINAPI* PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int* piValues); typedef BOOL(WINAPI* PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT* pfValues); typedef BOOL(WINAPI* PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int* piAttribIList, const FLOAT* pfAttribFList, UINT nMaxFormats, int* piFormats, UINT* nNumFormats); #endif /* WGL_ARB_pixel_format */ #ifndef WGL_EXT_swap_control #define WGL_EXT_swap_control 1 typedef BOOL(WINAPI* PFNWGLSWAPINTERVALEXTPROC) (int interval); typedef int (WINAPI* PFNWGLGETSWAPINTERVALEXTPROC) (void); #endif /* WGL_EXT_swap_control */ #ifndef WGL_ARB_extensions_string #define WGL_ARB_extensions_string 1 typedef const char* (WINAPI* PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc); #endif /* WGL_ARB_extensions_string */ #ifdef WGL_EXT_PROTOTYPES const char* WINAPI wglGetExtensionsStringARB(HDC hdc); int WINAPI ChoosePixelFormat(HDC hDc, const PIXELFORMATDESCRIPTOR* pPfd); int WINAPI DescribePixelFormat(HDC hdc, int ipfd, UINT cjpfd, const PIXELFORMATDESCRIPTOR* ppfd); UINT WINAPI GetEnhMetaFilePixelFormat(HENHMETAFILE hemf, const PIXELFORMATDESCRIPTOR* ppfd); int WINAPI GetPixelFormat(HDC hdc); BOOL WINAPI SetPixelFormat(HDC hdc, int ipfd, const PIXELFORMATDESCRIPTOR* ppfd); BOOL WINAPI SwapBuffers(HDC hdc); BOOL WINAPI wglCopyContext(HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask); HGLRC WINAPI wglCreateContext(HDC hDc); HGLRC WINAPI wglCreateLayerContext(HDC hDc, int level); BOOL WINAPI wglDeleteContext(HGLRC oldContext); BOOL WINAPI wglDescribeLayerPlane(HDC hDc, int pixelFormat, int layerPlane, UINT nBytes, const LAYERPLANEDESCRIPTOR* plpd); HGLRC WINAPI wglGetCurrentContext(void); HDC WINAPI wglGetCurrentDC(void); int WINAPI wglGetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF* pcr); PROC WINAPI wglGetProcAddress(LPCSTR lpszProc); BOOL WINAPI wglMakeCurrent(HDC hDc, HGLRC newContext); BOOL WINAPI wglRealizeLayerPalette(HDC hdc, int iLayerPlane, BOOL bRealize); int WINAPI wglSetLayerPaletteEntries(HDC hdc, int iLayerPlane, int iStart, int cEntries, const COLORREF* pcr); BOOL WINAPI wglShareLists(HGLRC hrcSrvShare, HGLRC hrcSrvSource); BOOL WINAPI wglSwapLayerBuffers(HDC hdc, UINT fuFlags); BOOL WINAPI wglUseFontBitmaps(HDC hDC, DWORD first, DWORD count, DWORD listBase); BOOL WINAPI wglUseFontBitmapsA(HDC hDC, DWORD first, DWORD count, DWORD listBase); BOOL WINAPI wglUseFontBitmapsW(HDC hDC, DWORD first, DWORD count, DWORD listBase); BOOL WINAPI wglUseFontOutlines(HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); BOOL WINAPI wglUseFontOutlinesA(HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); BOOL WINAPI wglUseFontOutlinesW(HDC hDC, DWORD first, DWORD count, DWORD listBase, FLOAT deviation, FLOAT extrusion, int format, LPGLYPHMETRICSFLOAT lpgmf); HGLRC WINAPI wglCreateContextAttribsARB(HDC hDC, HGLRC hShareContext, const int* attribList); HPBUFFERARB WINAPI wglCreatePbufferARB(HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int* piAttribList); HDC WINAPI wglGetPbufferDCARB(HPBUFFERARB hPbuffer); int WINAPI wglReleasePbufferDCARB(HPBUFFERARB hPbuffer, HDC hDC); BOOL WINAPI wglDestroyPbufferARB(HPBUFFERARB hPbuffer); BOOL WINAPI wglQueryPbufferARB(HPBUFFERARB hPbuffer, int iAttribute, int* piValue); BOOL WINAPI wglGetPixelFormatAttribivARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, int* piValues); BOOL WINAPI wglGetPixelFormatAttribfvARB(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int* piAttributes, FLOAT* pfValues); BOOL WINAPI wglChoosePixelFormatARB(HDC hdc, const int* piAttribIList, const FLOAT* pfAttribFList, UINT nMaxFormats, int* piFormats, UINT* nNumFormats); BOOL WINAPI wglSwapIntervalEXT(int interval); int WINAPI wglGetSwapIntervalEXT(void); #else #define ChoosePixelFormat pPlatform_GL->mWGL.mChoosePixelFormat #define DescribePixelFormat pPlatform_GL->mWGL.mDescribePixelFormat #define GetEnhMetaFilePixelFormat pPlatform_GL->mWGL.mGetEnhMetaFilePixelFormat #define GetPixelFormat pPlatform_GL->mWGL.mGetPixelFormat #define SetPixelFormat pPlatform_GL->mWGL.mSetPixelFormat #define SwapBuffers pPlatform_GL->mWGL.mSwapBuffers #define wglCopyContext pPlatform_GL->mWGL.m_wglCopyContext #define wglCreateContext pPlatform_GL->mWGL.m_wglCreateContext #define wglCreateLayerContext pPlatform_GL->mWGL.m_wglCreateLayerContext #define wglDeleteContext pPlatform_GL->mWGL.m_wglDeleteContext #define wglDescribeLayerPlane pPlatform_GL->mWGL.m_wglDescribeLayerPlane #define wglGetCurrentContext pPlatform_GL->mWGL.m_wglGetCurrentContext #define wglGetCurrentDC pPlatform_GL->mWGL.m_wglGetCurrentDC #define wglGetLayerPaletteEntries pPlatform_GL->mWGL.m_wglGetLayerPaletteEntries #define wglGetProcAddress pPlatform_GL->mWGL.m_wglGetProcAddress #define wglMakeCurrent pPlatform_GL->mWGL.m_wglMakeCurrent #define wglRealizeLayerPalette pPlatform_GL->mWGL.m_wglRealizeLayerPalette #define wglSetLayerPaletteEntries pPlatform_GL->mWGL.m_wglSetLayerPaletteEntries #define wglShareLists pPlatform_GL->mWGL.m_wglShareLists #define wglSwapLayerBuffers pPlatform_GL->mWGL.m_wglSwapLayerBuffers #define wglUseFontBitmapsA pPlatform_GL->mWGL.m_wglUseFontBitmapsA #define wglUseFontBitmapsW pPlatform_GL->mWGL.m_wglUseFontBitmapsW #define wglUseFontOutlinesA pPlatform_GL->mWGL.m_wglUseFontOutlinesA #define wglUseFontOutlinesW pPlatform_GL->mWGL.m_wglUseFontOutlinesW #define wglGetExtensionsStringARB pPlatform_GL->mWGL.m_wglGetExtensionsStringARB #define wglCreateContextAttribsARB pPlatform_GL->mWGL.m_wglCreateContextAttribsARB #define wglCreatePbufferARB pPlatform_GL->mWGL.m_wglCreatePbufferARB #define wglGetPbufferDCARB pPlatform_GL->mWGL.m_wglGetPbufferDCARB #define wglReleasePbufferDCARB pPlatform_GL->mWGL.m_wglReleasePbufferDCARB #define wglDestroyPbufferARB pPlatform_GL->mWGL.m_wglDestroyPbufferARB #define wglQueryPbufferARB pPlatform_GL->mWGL.m_wglQueryPbufferARB #define wglGetPixelFormatAttribivARB pPlatform_GL->mWGL.m_wglGetPixelFormatAttribivARB #define wglGetPixelFormatAttribfvARB pPlatform_GL->mWGL.m_wglGetPixelFormatAttribfvARB #define wglChoosePixelFormatARB pPlatform_GL->mWGL.m_wglChoosePixelFormatARB #define wglSwapIntervalEXT pPlatform_GL->mWGL.m_wglSwapIntervalEXT #define wglGetSwapIntervalEXT pPlatform_GL->mWGL.m_wglGetSwapIntervalEXT #endif #define FC_WGL_ChoosePixelFormat s_wglFunctions[0] #define FC_WGL_DescribePixelFormat s_wglFunctions[1] #define FC_WGL_GetEnhMetaFilePixelFormat s_wglFunctions[2] #define FC_WGL_GetPixelFormat s_wglFunctions[3] #define FC_WGL_SetPixelFormat s_wglFunctions[4] #define FC_WGL_SwapBuffers s_wglFunctions[5] #define FC_WGL_wglCopyContext s_wglFunctions[6] #define FC_WGL_wglCreateContext s_wglFunctions[7] #define FC_WGL_wglCreateLayerContext s_wglFunctions[8] #define FC_WGL_wglDeleteContext s_wglFunctions[9] #define FC_WGL_wglDescribeLayerPlane s_wglFunctions[10] #define FC_WGL_wglGetCurrentContext s_wglFunctions[11] #define FC_WGL_wglGetCurrentDC s_wglFunctions[12] #define FC_WGL_wglGetLayerPaletteEntries s_wglFunctions[13] #define FC_WGL_wglGetProcAddress s_wglFunctions[14] #define FC_WGL_wglMakeCurrent s_wglFunctions[15] #define FC_WGL_wglRealizeLayerPalette s_wglFunctions[16] #define FC_WGL_wglSetLayerPaletteEntries s_wglFunctions[17] #define FC_WGL_wglShareLists s_wglFunctions[18] #define FC_WGL_wglSwapLayerBuffers s_wglFunctions[19] #define FC_WGL_wglUseFontBitmaps s_wglFunctions[20] #define FC_WGL_wglUseFontBitmapsA s_wglFunctions[21] #define FC_WGL_wglUseFontBitmapsW s_wglFunctions[22] #define FC_WGL_wglUseFontOutlines s_wglFunctions[23] #define FC_WGL_wglUseFontOutlinesA s_wglFunctions[24] #define FC_WGL_wglUseFontOutlinesW s_wglFunctions[25] #define FC_WGL_wglGetExtensionsStringARB s_wglFunctions[26] #define FC_WGL_wglCreateContextAttribsARB s_wglFunctions[27] #define FC_WGL_wglCreatePbufferARB s_wglFunctions[28] #define FC_WGL_wglGetPbufferDCARB s_wglFunctions[29] #define FC_WGL_wglReleasePbufferDCARB s_wglFunctions[30] #define FC_WGL_wglDestroyPbufferARB s_wglFunctions[31] #define FC_WGL_wglQueryPbufferARB s_wglFunctions[32] #define FC_WGL_wglGetPixelFormatAttribivARB s_wglFunctions[33] #define FC_WGL_wglGetPixelFormatAttribfvARB s_wglFunctions[34] #define FC_WGL_wglChoosePixelFormatARB s_wglFunctions[35] #define FC_WGL_wglSwapIntervalEXT s_wglFunctions[36] #define FC_WGL_wglGetSwapIntervalEXT s_wglFunctions[37] #define FC_WGL_ARB_extensions_string s_wglExtension[0] #define FC_WGL_ARB_create_context s_wglExtension[1] #define FC_WGL_ARB_create_context_profile s_wglExtension[2] #define FC_WGL_ARB_pbuffer s_wglExtension[3] #define FC_WGL_ARB_pixel_format s_wglExtension[4] #define FC_WGL_EXT_swap_control s_wglExtension[5] #define FC_WGL_EXT_swap_control_tear s_wglExtension[6] #ifdef __cplusplus } #endif #endif //__FCPLATFORM_WGL_API_H__ #endif //_WIN32