diff --git a/Assets/dll/melonDS.wbx.zst b/Assets/dll/melonDS.wbx.zst index 904b9aa0b2..93e015d119 100644 Binary files a/Assets/dll/melonDS.wbx.zst and b/Assets/dll/melonDS.wbx.zst differ diff --git a/waterbox/melon/BizDebugging.cpp b/waterbox/melon/BizDebugging.cpp index da26cb856b..1d4ee5798f 100644 --- a/waterbox/melon/BizDebugging.cpp +++ b/waterbox/melon/BizDebugging.cpp @@ -72,12 +72,6 @@ void TraceTrampoline(TraceMask_t type, u32* regs, u32 opcode) TraceCallback(type, opcode, regs, disasm, NDS::GetSysClockCycles(2)); } -namespace NDS -{ - extern ARMv5* ARM9; - extern ARMv4* ARM7; -} - ECL_EXPORT void GetRegs(u32* regs) { for (int i = 0; i < 16; i++) diff --git a/waterbox/melon/BizFileManager.cpp b/waterbox/melon/BizFileManager.cpp index 0566692705..be3d77fc24 100644 --- a/waterbox/melon/BizFileManager.cpp +++ b/waterbox/melon/BizFileManager.cpp @@ -1,7 +1,10 @@ #include "NDS.h" +#include "DSi.h" #include "DSi_NAND.h" #include "DSi_TMD.h" #include "CRC32.h" +#include "FreeBIOS.h" +#include "SPI.h" #include "BizFileManager.h" @@ -28,65 +31,366 @@ static std::optional, size_t>> GetFileData(std:: return std::make_pair(std::move(data), size); } -const char* InitNAND(bool clearNand, bool dsiWare) +// Inits NDS BIOS7 and BIOS9 +const char* InitNDSBIOS() { - auto dsiBios7Path = Platform::GetConfigString(Platform::ConfigEntry::DSi_BIOS7Path); - auto bios7i = Platform::OpenFile(dsiBios7Path, Platform::FileMode::Read); + if (NDS::ConsoleType == 1 || Platform::GetConfigBool(Platform::ExternalBIOSEnable)) + { + auto bios7 = Platform::OpenFile("bios7.bin", Platform::FileMode::Read); + if (!bios7) + { + return "Failed to obtain BIOS7!"; + } + + if (Platform::FileLength(bios7) != sizeof(NDS::ARM7BIOS)) + { + Platform::CloseFile(bios7); + return "Incorrectly sized BIOS7!"; + } + + Platform::FileRewind(bios7); + Platform::FileRead(NDS::ARM7BIOS, sizeof(bios7), 1, bios7); + Platform::CloseFile(bios7); + + auto bios9 = Platform::OpenFile("bios9.bin", Platform::FileMode::Read); + if (!bios9) + { + return "Failed to obtain BIOS9!"; + } + + if (Platform::FileLength(bios9) != sizeof(NDS::ARM9BIOS)) + { + Platform::CloseFile(bios9); + return "Incorrectly sized BIOS9!"; + } + + Platform::FileRewind(bios9); + Platform::FileRead(NDS::ARM9BIOS, sizeof(bios9), 1, bios9); + Platform::CloseFile(bios9); + } + else + { + memcpy(NDS::ARM7BIOS, bios_arm7_bin, sizeof(bios_arm7_bin)); + memcpy(NDS::ARM9BIOS, bios_arm9_bin, sizeof(bios_arm9_bin)); + } + + return nullptr; +} + +static void SanitizeExternalFirmware(SPI_Firmware::Firmware& firmware) +{ + auto& header = firmware.Header(); + + const bool isDSiFw = header.ConsoleType == SPI_Firmware::FirmwareConsoleType::DSi; + const auto defaultHeader = SPI_Firmware::FirmwareHeader(isDSiFw); + + header.UserSettingsOffset = (0x7FE00 & firmware.Mask()) >> 3; + + if (isDSiFw) + { + memset(&header.Unknown0[0], 0, (uintptr_t)&header.Unused2[0] - (uintptr_t)&header.Unknown0[0]); + header.Unused2[0] = header.Unused2[1] = 0xFF; + } + + memcpy(&header.WifiConfigLength, &defaultHeader.WifiConfigLength, (uintptr_t)&header.Unknown4 - (uintptr_t)&header.WifiConfigLength); + memset(&header.Unknown4, 0xFF, (uintptr_t)&header.Unused7 - (uintptr_t)&header.Unknown4 + 1); + + if (isDSiFw) + { + header.WifiBoard = defaultHeader.WifiBoard; + header.WifiFlash = defaultHeader.WifiFlash; + } + + header.UpdateChecksum(); + + auto& aps = firmware.AccessPoints(); + aps[0] = SPI_Firmware::WifiAccessPoint(NDS::ConsoleType); + aps[1] = SPI_Firmware::WifiAccessPoint(); + aps[2] = SPI_Firmware::WifiAccessPoint(); + + if (isDSiFw) + { + auto& exAps = firmware.ExtendedAccessPoints(); + exAps[0] = SPI_Firmware::ExtendedWifiAccessPoint(); + exAps[1] = SPI_Firmware::ExtendedWifiAccessPoint(); + exAps[2] = SPI_Firmware::ExtendedWifiAccessPoint(); + } +} + +static void FixFirmwareTouchscreenCalibration(SPI_Firmware::UserData& userData) +{ + userData.TouchCalibrationADC1[0] = 0; + userData.TouchCalibrationADC1[1] = 0; + userData.TouchCalibrationPixel1[0] = 0; + userData.TouchCalibrationPixel1[1] = 0; + userData.TouchCalibrationADC2[0] = 255 << 4; + userData.TouchCalibrationADC2[1] = 191 << 4; + userData.TouchCalibrationPixel2[0] = 255; + userData.TouchCalibrationPixel2[1] = 191; +} + +static void SetFirmwareSettings(SPI_Firmware::UserData& userData, FirmwareSettings& fwSettings, bool dsiFw) +{ + memset(userData.Bytes, 0, 0x74); + userData.Version = 5; + FixFirmwareTouchscreenCalibration(userData); + + userData.NameLength = fwSettings.UsernameLength; + memcpy(userData.Nickname, fwSettings.Username, sizeof(fwSettings.Username)); + userData.Settings = fwSettings.Language | SPI_Firmware::BacklightLevel::Max | 0xFC00; + userData.BirthdayMonth = fwSettings.BirthdayMonth; + userData.BirthdayDay = fwSettings.BirthdayDay; + userData.FavoriteColor = fwSettings.Color; + userData.MessageLength = fwSettings.MessageLength; + memcpy(userData.Message, fwSettings.Message, sizeof(fwSettings.Message)); + + if (userData.ExtendedSettings.Unknown0 == 1) + { + userData.ExtendedSettings.ExtendedLanguage = static_cast(fwSettings.Language & SPI_Firmware::Language::Reserved); + memset(userData.ExtendedSettings.Unused0, dsiFw ? 0x00 : 0xFF, sizeof(userData.ExtendedSettings.Unused0)); + } + else + { + memset(userData.Unused3, 0xFF, sizeof(userData.Unused3)); + } + + // only extended settings should have Chinese + if ((userData.Settings & SPI_Firmware::Language::Reserved) == SPI_Firmware::Language::Chinese) + { + userData.Settings &= SPI_Firmware::Language::Reserved; + userData.Settings |= SPI_Firmware::Language::English; + } +} + +// Inits NDS firmware +const char* InitFirmware(FirmwareSettings& fwSettings) +{ + auto firmware = SPI_Firmware::Firmware(NDS::ConsoleType); + + if (Platform::GetConfigBool(Platform::ExternalBIOSEnable)) + { + auto fw = Platform::OpenFile("firmware.bin", Platform::FileMode::Read); + if (!fw) + { + return "Failed to obtain firmware!"; + } + + firmware = SPI_Firmware::Firmware(fw); + + if (firmware.Buffer()) + { + // Fix header and AP points + SanitizeExternalFirmware(firmware); + } + } + else + { + fwSettings.OverrideSettings = true; + } + + if (!firmware.Buffer()) + { + return "Failed to load firmware!"; + } + + for (SPI_Firmware::UserData& userData : firmware.UserData()) + { + FixFirmwareTouchscreenCalibration(userData); + userData.UpdateChecksum(); + } + + if (fwSettings.OverrideSettings) + { + for (SPI_Firmware::UserData& userData : firmware.UserData()) + { + SetFirmwareSettings(userData, fwSettings, firmware.Header().ConsoleType == SPI_Firmware::FirmwareConsoleType::DSi); + userData.UpdateChecksum(); + } + + SPI_Firmware::MacAddress mac; + Platform::GetConfigArray(Platform::Firm_MAC, &mac); + auto& header = firmware.Header(); + header.MacAddress = mac; + header.UpdateChecksum(); + } + + if (!SPI_Firmware::InstallFirmware(std::move(firmware))) + { + return "Failed to install firmware!"; + } + + return nullptr; +} + +// Inits DSi BIOS7i and BIOS9i +const char* InitDSiBIOS() +{ + if (NDS::ConsoleType == 0) + { + return "Tried to init DSi BIOSes in NDS mode"; + } + + auto bios7i = Platform::OpenFile("bios7i.bin", Platform::FileMode::Read); if (!bios7i) { return "Failed to obtain BIOS7i!"; } - u8 es_keyY[16]{}; - Platform::FileSeek(bios7i, 0x8308, Platform::FileSeekOrigin::Start); - Platform::FileRead(es_keyY, 16, 1, bios7i); + if (Platform::FileLength(bios7i) != sizeof(DSi::ARM7iBIOS)) + { + Platform::CloseFile(bios7i); + return "Incorrectly sized BIOS7i!"; + } + + Platform::FileRewind(bios7i); + Platform::FileRead(DSi::ARM7iBIOS, sizeof(bios7i), 1, bios7i); Platform::CloseFile(bios7i); - if (!DSi_NAND::Init(es_keyY)) + auto bios9i = Platform::OpenFile("bios9i.bin", Platform::FileMode::Read); + if (!bios9i) { - return "Failed to init DSi NAND!"; + return "Failed to obtain BIOS9i!"; } - if (clearNand) + if (Platform::FileLength(bios9i) != sizeof(DSi::ARM9iBIOS)) { - std::vector titlelist; - DSi_NAND::ListTitles(DSIWARE_CATEGORY, titlelist); + Platform::CloseFile(bios9i); + return "Incorrectly sized BIOS9i!"; + } - for (auto& title : titlelist) + Platform::FileRewind(bios9i); + Platform::FileRead(DSi::ARM9iBIOS, sizeof(bios9i), 1, bios9i); + Platform::CloseFile(bios9i); + + return nullptr; +} + +static void SanitizeNANDSettings(DSi_NAND::DSiFirmwareSystemSettings& settings) +{ + memset(settings.Zero00, 0, sizeof(settings.Zero00)); + settings.Version = 1; + settings.UpdateCounter = 0; + memset(settings.Zero01, 0, sizeof(settings.Zero01)); + settings.BelowRAMAreaSize = 0x128; + settings.ConfigFlags = 0x0100000F; + settings.Zero02 = 0; + settings.CountryCode = 49; // United States + settings.RTCYear = 0; + settings.RTCOffset = 0; + memset(settings.Zero3, 0, sizeof(settings.Zero3)); + settings.EULAVersion = 1; + memset(settings.Zero04, 0, sizeof(settings.Zero04)); + settings.AlarmHour = 0; + settings.AlarmMinute = 0; + memset(settings.Zero05, 0, sizeof(settings.Zero05)); + settings.AlarmEnable = false; + memset(settings.Zero06, 0, sizeof(settings.Zero06)); + settings.Unknown0 = 0; + settings.Unknown1 = 3; // apparently 2 or 3 + memset(settings.Zero07, 0, sizeof(settings.Zero07)); + settings.SystemMenuMostRecentTitleID.fill(0); + settings.Unknown2[0] = 0x9C; + settings.Unknown2[1] = 0x20; + settings.Unknown2[2] = 0x01; + settings.Unknown2[3] = 0x02; + memset(settings.Zero08, 0, sizeof(settings.Zero08)); + settings.Zero09 = 0; + settings.ParentalControlsFlags = 0; + memset(settings.Zero10, 0, sizeof(settings.Zero10)); + settings.ParentalControlsRegion = 0; + settings.ParentalControlsYearsOfAgeRating = 0; + settings.ParentalControlsSecretQuestion = 0; + settings.Unknown3 = 0; // apparently 0 or 6 or 7 + memset(settings.Zero11, 0, sizeof(settings.Zero11)); + memset(settings.ParentalControlsPIN, 0, sizeof(settings.ParentalControlsPIN)); + memset(settings.ParentalControlsSecretAnswer, 0, sizeof(settings.ParentalControlsSecretAnswer)); +} + +const char* InitNAND(FirmwareSettings& fwSettings, bool clearNand, bool dsiWare) +{ + auto nand = DSi_NAND::NANDImage(Platform::OpenFile("nand.bin", Platform::FileMode::Read), &DSi::ARM7iBIOS[0x8308]); + if (!nand) + { + return "Failed to parse DSi NAND!"; + } + + { + auto mount = DSi_NAND::NANDMount(nand); + if (!mount) { - DSi_NAND::DeleteTitle(DSIWARE_CATEGORY, title); + return "Failed to mount DSi NAND!"; + } + + DSi_NAND::DSiFirmwareSystemSettings settings{}; + if (!mount.ReadUserData(settings)) + { + return "Failed to read DSi NAND user data"; + } + + if (fwSettings.OverrideSettings) + { + SanitizeNANDSettings(settings); + memset(settings.Nickname, 0, sizeof(settings.Nickname)); + memcpy(settings.Nickname, fwSettings.Username, fwSettings.UsernameLength); + settings.Language = static_cast(fwSettings.Language & SPI_Firmware::Language::Reserved); + settings.FavoriteColor = fwSettings.Color; + settings.BirthdayMonth = fwSettings.BirthdayMonth; + settings.BirthdayDay = fwSettings.BirthdayDay; + memset(settings.Message, 0, sizeof(settings.Message)); + memcpy(settings.Message, fwSettings.Message, fwSettings.MessageLength); + } + + settings.TouchCalibrationADC1[0] = 0; + settings.TouchCalibrationADC1[1] = 0; + settings.TouchCalibrationPixel1[0] = 0; + settings.TouchCalibrationPixel1[1] = 0; + settings.TouchCalibrationADC2[0] = 255 << 4; + settings.TouchCalibrationADC2[1] = 191 << 4; + settings.TouchCalibrationPixel2[0] = 255; + settings.TouchCalibrationPixel2[1] = 191; + + settings.UpdateHash(); + + if (!mount.ApplyUserData(settings)) + { + return "Failed to write DSi NAND user data"; + } + + if (clearNand) + { + std::vector titlelist; + mount.ListTitles(DSIWARE_CATEGORY, titlelist); + + for (auto& title : titlelist) + { + mount.DeleteTitle(DSIWARE_CATEGORY, title); + } + } + + if (dsiWare) + { + auto tmdData = GetFileData("tmd.rom"); + if (!tmdData) + { + return "Failed to obtain TMD!"; + } + + if (tmdData->second < sizeof(DSi_TMD::TitleMetadata)) + { + return "TMD is too small!"; + } + + DSi_TMD::TitleMetadata tmd; + memcpy(&tmd, tmdData->first.get(), sizeof(DSi_TMD::TitleMetadata)); + + if (!mount.ImportTitle("dsiware.rom", tmd, false)) + { + return "Loading DSiWare failed!"; + } } } - if (dsiWare) - { - auto rom = GetFileData("dsiware.rom"); - if (!rom) - { - return "Failed to obtain DSiWare ROM!"; - } - - auto tmdData = GetFileData("tmd.rom"); - if (!tmdData) - { - return "Failed to obtain TMD!"; - } - - if (tmdData->second < sizeof(DSi_TMD::TitleMetadata)) - { - return "TMD is too small!"; - } - - DSi_TMD::TitleMetadata tmd; - memcpy(&tmd, tmdData->first.get(), sizeof(DSi_TMD::TitleMetadata)); - if (!DSi_NAND::ImportTitle(rom->first.get(), rom->second, tmd, false)) - { - DSi_NAND::DeInit(); - return "Loading DSiWare failed!"; - } - } - - DSi_NAND::DeInit(); + DSi::NANDImage = std::make_unique(std::move(nand)); return nullptr; } diff --git a/waterbox/melon/BizFileManager.h b/waterbox/melon/BizFileManager.h index d898c57432..0b8f3f4a9e 100644 --- a/waterbox/melon/BizFileManager.h +++ b/waterbox/melon/BizFileManager.h @@ -4,7 +4,23 @@ namespace FileManager { -const char* InitNAND(bool clearNand, bool dsiWare); +struct FirmwareSettings +{ + bool OverrideSettings; + int UsernameLength; + char16_t Username[10]; + int Language; + int BirthdayMonth; + int BirthdayDay; + int Color; + int MessageLength; + char16_t Message[26]; +}; + +const char* InitNDSBIOS(); +const char* InitFirmware(FirmwareSettings& fwSettings); +const char* InitDSiBIOS(); +const char* InitNAND(FirmwareSettings& fwSettings, bool clearNand, bool dsiWare); const char* InitCarts(bool gba); } diff --git a/waterbox/melon/BizInterface.cpp b/waterbox/melon/BizInterface.cpp index 1d23c53c78..1062aa9e3a 100644 --- a/waterbox/melon/BizInterface.cpp +++ b/waterbox/melon/BizInterface.cpp @@ -20,6 +20,16 @@ static bool SkipFW; static time_t CurTime; static bool GLPresentation; +struct NDSTime +{ + int Year; // 0-99 + int Month; // 1-12 + int Day; // 1-(28/29/30/31 depending on month/year) + int Hour; // 0-23 + int Minute; // 0-59 + int Second; // 0-59 +}; + struct InitConfig { bool SkipFW; @@ -30,6 +40,8 @@ struct InitConfig bool IsWinApi; int ThreeDeeRenderer; GPU::RenderSettings RenderSettings; + NDSTime StartTime; + FileManager::FirmwareSettings FirmwareSettings; }; ECL_EXPORT const char* Init(InitConfig* initConfig, @@ -45,12 +57,24 @@ ECL_EXPORT const char* Init(InitConfig* initConfig, SkipFW = initConfig->SkipFW; NDS::SetConsoleType(initConfig->DSi); - CurTime = 0; - RTC::RtcCallback = []() { return CurTime; }; + if (const char* error = FileManager::InitNDSBIOS()) + { + return error; + } + + if (const char* error = FileManager::InitFirmware(initConfig->FirmwareSettings)) + { + return error; + } if (initConfig->DSi) { - if (const char* error = FileManager::InitNAND(initConfig->ClearNAND, initConfig->LoadDSiWare)) + if (const char* error = FileManager::InitDSiBIOS()) + { + return error; + } + + if (const char* error = FileManager::InitNAND(initConfig->FirmwareSettings, initConfig->ClearNAND, initConfig->LoadDSiWare)) { return error; } @@ -61,6 +85,9 @@ ECL_EXPORT const char* Init(InitConfig* initConfig, return "Failed to init core!"; } + RTC::SetDateTime(initConfig->StartTime.Year, initConfig->StartTime.Month, initConfig->StartTime.Day, + initConfig->StartTime.Hour, initConfig->StartTime.Minute, initConfig->StartTime.Second); + if (loadGLProc) { switch (initConfig->ThreeDeeRenderer) @@ -91,7 +118,7 @@ ECL_EXPORT const char* Init(InitConfig* initConfig, GPU::InitRenderer(initConfig->ThreeDeeRenderer); GPU::SetRenderSettings(initConfig->ThreeDeeRenderer, initConfig->RenderSettings); - NDS::LoadBIOS(); + NDS::Reset(); if (!initConfig->LoadDSiWare) { @@ -126,14 +153,14 @@ static s16 biz_mic_input[735]; static bool ValidRange(s8 sensor) { - return (sensor >= 0) && (sensor <= 10); + return sensor >= 0 && sensor <= 10; } static int sampPos = 0; static void MicFeedNoise(s8 vol) { - int sampLen = sizeof(mic_blow) / sizeof (*mic_blow); + int sampLen = sizeof(mic_blow) / sizeof(*mic_blow); for (int i = 0; i < 735; i++) { @@ -150,7 +177,7 @@ ECL_EXPORT void FrameAdvance(MyFrameInfo* f) if (f->Keys & 0x8000) { - NDS::LoadBIOS(); + NDS::Reset(); if (SkipFW || NDS::NeedsDirectBoot()) { NDS::SetupDirectBoot("nds.rom"); diff --git a/waterbox/melon/BizPlatform/BizFile.cpp b/waterbox/melon/BizPlatform/BizFile.cpp index 62a3ad5775..af50458aa6 100644 --- a/waterbox/melon/BizPlatform/BizFile.cpp +++ b/waterbox/melon/BizPlatform/BizFile.cpp @@ -138,30 +138,6 @@ private: static std::unordered_map, size_t>> FileBufferCache; -// TODO - I don't like this approach with NAND -// Perhaps instead it would be better to use FileFlush to write to disk -// (guarded by frontend determinism switch, of course) - -ECL_EXPORT u32 GetNANDSize() -{ - auto path = GetConfigString(ConfigEntry::DSi_NANDPath); - if (auto cache = FileBufferCache.find(path); cache != FileBufferCache.end()) - { - return cache->second.second; - } - - return 0; -} - -ECL_EXPORT void GetNANDData(u8* buf) -{ - auto path = GetConfigString(ConfigEntry::DSi_NANDPath); - if (auto cache = FileBufferCache.find(path); cache != FileBufferCache.end()) - { - memcpy(buf, cache->second.first.get(), cache->second.second); - } -} - FileHandle* OpenFile(const std::string& path, FileMode mode) { if ((mode & FileMode::ReadWrite) == FileMode::None) diff --git a/waterbox/melon/BizPlatform/BizOGL.cpp b/waterbox/melon/BizPlatform/BizOGL.cpp index d2f7a785f8..c47c69a14b 100644 --- a/waterbox/melon/BizPlatform/BizOGL.cpp +++ b/waterbox/melon/BizPlatform/BizOGL.cpp @@ -1,575 +1,573 @@ // Based on glad.c in melonDS/src/frontend/glad -#include +#include #include "BizOGL.h" -bool IsWinAPI; - -PFNGLACTIVESHADERPROGRAMPROC biz_glActiveShaderProgram; -PFNGLACTIVETEXTUREPROC biz_glActiveTexture; -PFNGLATTACHSHADERPROC biz_glAttachShader; -PFNGLBEGINCONDITIONALRENDERPROC biz_glBeginConditionalRender; -PFNGLBEGINQUERYPROC biz_glBeginQuery; -PFNGLBEGINQUERYINDEXEDPROC biz_glBeginQueryIndexed; -PFNGLBEGINTRANSFORMFEEDBACKPROC biz_glBeginTransformFeedback; -PFNGLBINDATTRIBLOCATIONPROC biz_glBindAttribLocation; -PFNGLBINDBUFFERPROC biz_glBindBuffer; -PFNGLBINDBUFFERBASEPROC biz_glBindBufferBase; -PFNGLBINDBUFFERRANGEPROC biz_glBindBufferRange; -PFNGLBINDFRAGDATALOCATIONPROC biz_glBindFragDataLocation; -PFNGLBINDFRAGDATALOCATIONINDEXEDPROC biz_glBindFragDataLocationIndexed; -PFNGLBINDFRAMEBUFFERPROC biz_glBindFramebuffer; -PFNGLBINDIMAGETEXTUREPROC biz_glBindImageTexture; -PFNGLBINDPROGRAMPIPELINEPROC biz_glBindProgramPipeline; -PFNGLBINDRENDERBUFFERPROC biz_glBindRenderbuffer; -PFNGLBINDSAMPLERPROC biz_glBindSampler; -PFNGLBINDTEXTUREPROC biz_glBindTexture; -PFNGLBINDTRANSFORMFEEDBACKPROC biz_glBindTransformFeedback; -PFNGLBINDVERTEXARRAYPROC biz_glBindVertexArray; -PFNGLBINDVERTEXBUFFERPROC biz_glBindVertexBuffer; -PFNGLBLENDCOLORPROC biz_glBlendColor; -PFNGLBLENDEQUATIONPROC biz_glBlendEquation; -PFNGLBLENDEQUATIONSEPARATEPROC biz_glBlendEquationSeparate; -PFNGLBLENDEQUATIONSEPARATEIPROC biz_glBlendEquationSeparatei; -PFNGLBLENDEQUATIONIPROC biz_glBlendEquationi; -PFNGLBLENDFUNCPROC biz_glBlendFunc; -PFNGLBLENDFUNCSEPARATEPROC biz_glBlendFuncSeparate; -PFNGLBLENDFUNCSEPARATEIPROC biz_glBlendFuncSeparatei; -PFNGLBLENDFUNCIPROC biz_glBlendFunci; -PFNGLBLITFRAMEBUFFERPROC biz_glBlitFramebuffer; -PFNGLBUFFERDATAPROC biz_glBufferData; -PFNGLBUFFERSUBDATAPROC biz_glBufferSubData; -PFNGLCHECKFRAMEBUFFERSTATUSPROC biz_glCheckFramebufferStatus; -PFNGLCLAMPCOLORPROC biz_glClampColor; -PFNGLCLEARPROC biz_glClear; -PFNGLCLEARBUFFERDATAPROC biz_glClearBufferData; -PFNGLCLEARBUFFERSUBDATAPROC biz_glClearBufferSubData; -PFNGLCLEARBUFFERFIPROC biz_glClearBufferfi; -PFNGLCLEARBUFFERFVPROC biz_glClearBufferfv; -PFNGLCLEARBUFFERIVPROC biz_glClearBufferiv; -PFNGLCLEARBUFFERUIVPROC biz_glClearBufferuiv; -PFNGLCLEARCOLORPROC biz_glClearColor; -PFNGLCLEARDEPTHPROC biz_glClearDepth; -PFNGLCLEARDEPTHFPROC biz_glClearDepthf; -PFNGLCLEARSTENCILPROC biz_glClearStencil; -PFNGLCLIENTWAITSYNCPROC biz_glClientWaitSync; -PFNGLCOLORMASKPROC biz_glColorMask; -PFNGLCOLORMASKIPROC biz_glColorMaski; -PFNGLCOLORP3UIPROC biz_glColorP3ui; -PFNGLCOLORP3UIVPROC biz_glColorP3uiv; -PFNGLCOLORP4UIPROC biz_glColorP4ui; -PFNGLCOLORP4UIVPROC biz_glColorP4uiv; -PFNGLCOMPILESHADERPROC biz_glCompileShader; -PFNGLCOMPRESSEDTEXIMAGE1DPROC biz_glCompressedTexImage1D; -PFNGLCOMPRESSEDTEXIMAGE2DPROC biz_glCompressedTexImage2D; -PFNGLCOMPRESSEDTEXIMAGE3DPROC biz_glCompressedTexImage3D; -PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC biz_glCompressedTexSubImage1D; -PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC biz_glCompressedTexSubImage2D; -PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC biz_glCompressedTexSubImage3D; -PFNGLCOPYBUFFERSUBDATAPROC biz_glCopyBufferSubData; -PFNGLCOPYIMAGESUBDATAPROC biz_glCopyImageSubData; -PFNGLCOPYTEXIMAGE1DPROC biz_glCopyTexImage1D; -PFNGLCOPYTEXIMAGE2DPROC biz_glCopyTexImage2D; -PFNGLCOPYTEXSUBIMAGE1DPROC biz_glCopyTexSubImage1D; -PFNGLCOPYTEXSUBIMAGE2DPROC biz_glCopyTexSubImage2D; -PFNGLCOPYTEXSUBIMAGE3DPROC biz_glCopyTexSubImage3D; -PFNGLCREATEPROGRAMPROC biz_glCreateProgram; -PFNGLCREATESHADERPROC biz_glCreateShader; -PFNGLCREATESHADERPROGRAMVPROC biz_glCreateShaderProgramv; -PFNGLCULLFACEPROC biz_glCullFace; -PFNGLDEBUGMESSAGECALLBACKPROC biz_glDebugMessageCallback; -PFNGLDEBUGMESSAGECONTROLPROC biz_glDebugMessageControl; -PFNGLDEBUGMESSAGEINSERTPROC biz_glDebugMessageInsert; -PFNGLDELETEBUFFERSPROC biz_glDeleteBuffers; -PFNGLDELETEFRAMEBUFFERSPROC biz_glDeleteFramebuffers; -PFNGLDELETEPROGRAMPROC biz_glDeleteProgram; -PFNGLDELETEPROGRAMPIPELINESPROC biz_glDeleteProgramPipelines; -PFNGLDELETEQUERIESPROC biz_glDeleteQueries; -PFNGLDELETERENDERBUFFERSPROC biz_glDeleteRenderbuffers; -PFNGLDELETESAMPLERSPROC biz_glDeleteSamplers; -PFNGLDELETESHADERPROC biz_glDeleteShader; -PFNGLDELETESYNCPROC biz_glDeleteSync; -PFNGLDELETETEXTURESPROC biz_glDeleteTextures; -PFNGLDELETETRANSFORMFEEDBACKSPROC biz_glDeleteTransformFeedbacks; -PFNGLDELETEVERTEXARRAYSPROC biz_glDeleteVertexArrays; -PFNGLDEPTHFUNCPROC biz_glDepthFunc; -PFNGLDEPTHMASKPROC biz_glDepthMask; -PFNGLDEPTHRANGEPROC biz_glDepthRange; -PFNGLDEPTHRANGEARRAYVPROC biz_glDepthRangeArrayv; -PFNGLDEPTHRANGEINDEXEDPROC biz_glDepthRangeIndexed; -PFNGLDEPTHRANGEFPROC biz_glDepthRangef; -PFNGLDETACHSHADERPROC biz_glDetachShader; -PFNGLDISABLEPROC biz_glDisable; -PFNGLDISABLEVERTEXATTRIBARRAYPROC biz_glDisableVertexAttribArray; -PFNGLDISABLEIPROC biz_glDisablei; -PFNGLDISPATCHCOMPUTEPROC biz_glDispatchCompute; -PFNGLDISPATCHCOMPUTEINDIRECTPROC biz_glDispatchComputeIndirect; -PFNGLDRAWARRAYSPROC biz_glDrawArrays; -PFNGLDRAWARRAYSINDIRECTPROC biz_glDrawArraysIndirect; -PFNGLDRAWARRAYSINSTANCEDPROC biz_glDrawArraysInstanced; -PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC biz_glDrawArraysInstancedBaseInstance; -PFNGLDRAWBUFFERPROC biz_glDrawBuffer; -PFNGLDRAWBUFFERSPROC biz_glDrawBuffers; -PFNGLDRAWELEMENTSPROC biz_glDrawElements; -PFNGLDRAWELEMENTSBASEVERTEXPROC biz_glDrawElementsBaseVertex; -PFNGLDRAWELEMENTSINDIRECTPROC biz_glDrawElementsIndirect; -PFNGLDRAWELEMENTSINSTANCEDPROC biz_glDrawElementsInstanced; -PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC biz_glDrawElementsInstancedBaseInstance; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC biz_glDrawElementsInstancedBaseVertex; -PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC biz_glDrawElementsInstancedBaseVertexBaseInstance; -PFNGLDRAWRANGEELEMENTSPROC biz_glDrawRangeElements; -PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC biz_glDrawRangeElementsBaseVertex; -PFNGLDRAWTRANSFORMFEEDBACKPROC biz_glDrawTransformFeedback; -PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC biz_glDrawTransformFeedbackInstanced; -PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC biz_glDrawTransformFeedbackStream; -PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC biz_glDrawTransformFeedbackStreamInstanced; -PFNGLENABLEPROC biz_glEnable; -PFNGLENABLEVERTEXATTRIBARRAYPROC biz_glEnableVertexAttribArray; -PFNGLENABLEIPROC biz_glEnablei; -PFNGLENDCONDITIONALRENDERPROC biz_glEndConditionalRender; -PFNGLENDQUERYPROC biz_glEndQuery; -PFNGLENDQUERYINDEXEDPROC biz_glEndQueryIndexed; -PFNGLENDTRANSFORMFEEDBACKPROC biz_glEndTransformFeedback; -PFNGLFENCESYNCPROC biz_glFenceSync; -PFNGLFINISHPROC biz_glFinish; -PFNGLFLUSHPROC biz_glFlush; -PFNGLFLUSHMAPPEDBUFFERRANGEPROC biz_glFlushMappedBufferRange; -PFNGLFRAMEBUFFERPARAMETERIPROC biz_glFramebufferParameteri; -PFNGLFRAMEBUFFERRENDERBUFFERPROC biz_glFramebufferRenderbuffer; -PFNGLFRAMEBUFFERTEXTUREPROC biz_glFramebufferTexture; -PFNGLFRAMEBUFFERTEXTURE1DPROC biz_glFramebufferTexture1D; -PFNGLFRAMEBUFFERTEXTURE2DPROC biz_glFramebufferTexture2D; -PFNGLFRAMEBUFFERTEXTURE3DPROC biz_glFramebufferTexture3D; -PFNGLFRAMEBUFFERTEXTURELAYERPROC biz_glFramebufferTextureLayer; -PFNGLFRONTFACEPROC biz_glFrontFace; -PFNGLGENBUFFERSPROC biz_glGenBuffers; -PFNGLGENFRAMEBUFFERSPROC biz_glGenFramebuffers; -PFNGLGENPROGRAMPIPELINESPROC biz_glGenProgramPipelines; -PFNGLGENQUERIESPROC biz_glGenQueries; -PFNGLGENRENDERBUFFERSPROC biz_glGenRenderbuffers; -PFNGLGENSAMPLERSPROC biz_glGenSamplers; -PFNGLGENTEXTURESPROC biz_glGenTextures; -PFNGLGENTRANSFORMFEEDBACKSPROC biz_glGenTransformFeedbacks; -PFNGLGENVERTEXARRAYSPROC biz_glGenVertexArrays; -PFNGLGENERATEMIPMAPPROC biz_glGenerateMipmap; -PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC biz_glGetActiveAtomicCounterBufferiv; -PFNGLGETACTIVEATTRIBPROC biz_glGetActiveAttrib; -PFNGLGETACTIVESUBROUTINENAMEPROC biz_glGetActiveSubroutineName; -PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC biz_glGetActiveSubroutineUniformName; -PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC biz_glGetActiveSubroutineUniformiv; -PFNGLGETACTIVEUNIFORMPROC biz_glGetActiveUniform; -PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC biz_glGetActiveUniformBlockName; -PFNGLGETACTIVEUNIFORMBLOCKIVPROC biz_glGetActiveUniformBlockiv; -PFNGLGETACTIVEUNIFORMNAMEPROC biz_glGetActiveUniformName; -PFNGLGETACTIVEUNIFORMSIVPROC biz_glGetActiveUniformsiv; -PFNGLGETATTACHEDSHADERSPROC biz_glGetAttachedShaders; -PFNGLGETATTRIBLOCATIONPROC biz_glGetAttribLocation; -PFNGLGETBOOLEANI_VPROC biz_glGetBooleani_v; -PFNGLGETBOOLEANVPROC biz_glGetBooleanv; -PFNGLGETBUFFERPARAMETERI64VPROC biz_glGetBufferParameteri64v; -PFNGLGETBUFFERPARAMETERIVPROC biz_glGetBufferParameteriv; -PFNGLGETBUFFERPOINTERVPROC biz_glGetBufferPointerv; -PFNGLGETBUFFERSUBDATAPROC biz_glGetBufferSubData; -PFNGLGETCOMPRESSEDTEXIMAGEPROC biz_glGetCompressedTexImage; -PFNGLGETDEBUGMESSAGELOGPROC biz_glGetDebugMessageLog; -PFNGLGETDOUBLEI_VPROC biz_glGetDoublei_v; -PFNGLGETDOUBLEVPROC biz_glGetDoublev; -PFNGLGETERRORPROC biz_glGetError; -PFNGLGETFLOATI_VPROC biz_glGetFloati_v; -PFNGLGETFLOATVPROC biz_glGetFloatv; -PFNGLGETFRAGDATAINDEXPROC biz_glGetFragDataIndex; -PFNGLGETFRAGDATALOCATIONPROC biz_glGetFragDataLocation; -PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC biz_glGetFramebufferAttachmentParameteriv; -PFNGLGETFRAMEBUFFERPARAMETERIVPROC biz_glGetFramebufferParameteriv; -PFNGLGETINTEGER64I_VPROC biz_glGetInteger64i_v; -PFNGLGETINTEGER64VPROC biz_glGetInteger64v; -PFNGLGETINTEGERI_VPROC biz_glGetIntegeri_v; -PFNGLGETINTEGERVPROC biz_glGetIntegerv; -PFNGLGETINTERNALFORMATI64VPROC biz_glGetInternalformati64v; -PFNGLGETINTERNALFORMATIVPROC biz_glGetInternalformativ; -PFNGLGETMULTISAMPLEFVPROC biz_glGetMultisamplefv; -PFNGLGETOBJECTLABELPROC biz_glGetObjectLabel; -PFNGLGETOBJECTPTRLABELPROC biz_glGetObjectPtrLabel; -PFNGLGETPOINTERVPROC biz_glGetPointerv; -PFNGLGETPROGRAMBINARYPROC biz_glGetProgramBinary; -PFNGLGETPROGRAMINFOLOGPROC biz_glGetProgramInfoLog; -PFNGLGETPROGRAMINTERFACEIVPROC biz_glGetProgramInterfaceiv; -PFNGLGETPROGRAMPIPELINEINFOLOGPROC biz_glGetProgramPipelineInfoLog; -PFNGLGETPROGRAMPIPELINEIVPROC biz_glGetProgramPipelineiv; -PFNGLGETPROGRAMRESOURCEINDEXPROC biz_glGetProgramResourceIndex; -PFNGLGETPROGRAMRESOURCELOCATIONPROC biz_glGetProgramResourceLocation; -PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC biz_glGetProgramResourceLocationIndex; -PFNGLGETPROGRAMRESOURCENAMEPROC biz_glGetProgramResourceName; -PFNGLGETPROGRAMRESOURCEIVPROC biz_glGetProgramResourceiv; -PFNGLGETPROGRAMSTAGEIVPROC biz_glGetProgramStageiv; -PFNGLGETPROGRAMIVPROC biz_glGetProgramiv; -PFNGLGETQUERYINDEXEDIVPROC biz_glGetQueryIndexediv; -PFNGLGETQUERYOBJECTI64VPROC biz_glGetQueryObjecti64v; -PFNGLGETQUERYOBJECTIVPROC biz_glGetQueryObjectiv; -PFNGLGETQUERYOBJECTUI64VPROC biz_glGetQueryObjectui64v; -PFNGLGETQUERYOBJECTUIVPROC biz_glGetQueryObjectuiv; -PFNGLGETQUERYIVPROC biz_glGetQueryiv; -PFNGLGETRENDERBUFFERPARAMETERIVPROC biz_glGetRenderbufferParameteriv; -PFNGLGETSAMPLERPARAMETERIIVPROC biz_glGetSamplerParameterIiv; -PFNGLGETSAMPLERPARAMETERIUIVPROC biz_glGetSamplerParameterIuiv; -PFNGLGETSAMPLERPARAMETERFVPROC biz_glGetSamplerParameterfv; -PFNGLGETSAMPLERPARAMETERIVPROC biz_glGetSamplerParameteriv; -PFNGLGETSHADERINFOLOGPROC biz_glGetShaderInfoLog; -PFNGLGETSHADERPRECISIONFORMATPROC biz_glGetShaderPrecisionFormat; -PFNGLGETSHADERSOURCEPROC biz_glGetShaderSource; -PFNGLGETSHADERIVPROC biz_glGetShaderiv; -PFNGLGETSTRINGPROC biz_glGetString; -PFNGLGETSTRINGIPROC biz_glGetStringi; -PFNGLGETSUBROUTINEINDEXPROC biz_glGetSubroutineIndex; -PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC biz_glGetSubroutineUniformLocation; -PFNGLGETSYNCIVPROC biz_glGetSynciv; -PFNGLGETTEXIMAGEPROC biz_glGetTexImage; -PFNGLGETTEXLEVELPARAMETERFVPROC biz_glGetTexLevelParameterfv; -PFNGLGETTEXLEVELPARAMETERIVPROC biz_glGetTexLevelParameteriv; -PFNGLGETTEXPARAMETERIIVPROC biz_glGetTexParameterIiv; -PFNGLGETTEXPARAMETERIUIVPROC biz_glGetTexParameterIuiv; -PFNGLGETTEXPARAMETERFVPROC biz_glGetTexParameterfv; -PFNGLGETTEXPARAMETERIVPROC biz_glGetTexParameteriv; -PFNGLGETTRANSFORMFEEDBACKVARYINGPROC biz_glGetTransformFeedbackVarying; -PFNGLGETUNIFORMBLOCKINDEXPROC biz_glGetUniformBlockIndex; -PFNGLGETUNIFORMINDICESPROC biz_glGetUniformIndices; -PFNGLGETUNIFORMLOCATIONPROC biz_glGetUniformLocation; -PFNGLGETUNIFORMSUBROUTINEUIVPROC biz_glGetUniformSubroutineuiv; -PFNGLGETUNIFORMDVPROC biz_glGetUniformdv; -PFNGLGETUNIFORMFVPROC biz_glGetUniformfv; -PFNGLGETUNIFORMIVPROC biz_glGetUniformiv; -PFNGLGETUNIFORMUIVPROC biz_glGetUniformuiv; -PFNGLGETVERTEXATTRIBIIVPROC biz_glGetVertexAttribIiv; -PFNGLGETVERTEXATTRIBIUIVPROC biz_glGetVertexAttribIuiv; -PFNGLGETVERTEXATTRIBLDVPROC biz_glGetVertexAttribLdv; -PFNGLGETVERTEXATTRIBPOINTERVPROC biz_glGetVertexAttribPointerv; -PFNGLGETVERTEXATTRIBDVPROC biz_glGetVertexAttribdv; -PFNGLGETVERTEXATTRIBFVPROC biz_glGetVertexAttribfv; -PFNGLGETVERTEXATTRIBIVPROC biz_glGetVertexAttribiv; -PFNGLHINTPROC biz_glHint; -PFNGLINVALIDATEBUFFERDATAPROC biz_glInvalidateBufferData; -PFNGLINVALIDATEBUFFERSUBDATAPROC biz_glInvalidateBufferSubData; -PFNGLINVALIDATEFRAMEBUFFERPROC biz_glInvalidateFramebuffer; -PFNGLINVALIDATESUBFRAMEBUFFERPROC biz_glInvalidateSubFramebuffer; -PFNGLINVALIDATETEXIMAGEPROC biz_glInvalidateTexImage; -PFNGLINVALIDATETEXSUBIMAGEPROC biz_glInvalidateTexSubImage; -PFNGLISBUFFERPROC biz_glIsBuffer; -PFNGLISENABLEDPROC biz_glIsEnabled; -PFNGLISENABLEDIPROC biz_glIsEnabledi; -PFNGLISFRAMEBUFFERPROC biz_glIsFramebuffer; -PFNGLISPROGRAMPROC biz_glIsProgram; -PFNGLISPROGRAMPIPELINEPROC biz_glIsProgramPipeline; -PFNGLISQUERYPROC biz_glIsQuery; -PFNGLISRENDERBUFFERPROC biz_glIsRenderbuffer; -PFNGLISSAMPLERPROC biz_glIsSampler; -PFNGLISSHADERPROC biz_glIsShader; -PFNGLISSYNCPROC biz_glIsSync; -PFNGLISTEXTUREPROC biz_glIsTexture; -PFNGLISTRANSFORMFEEDBACKPROC biz_glIsTransformFeedback; -PFNGLISVERTEXARRAYPROC biz_glIsVertexArray; -PFNGLLINEWIDTHPROC biz_glLineWidth; -PFNGLLINKPROGRAMPROC biz_glLinkProgram; -PFNGLLOGICOPPROC biz_glLogicOp; -PFNGLMAPBUFFERPROC biz_glMapBuffer; -PFNGLMAPBUFFERRANGEPROC biz_glMapBufferRange; -PFNGLMEMORYBARRIERPROC biz_glMemoryBarrier; -PFNGLMINSAMPLESHADINGPROC biz_glMinSampleShading; -PFNGLMULTIDRAWARRAYSPROC biz_glMultiDrawArrays; -PFNGLMULTIDRAWARRAYSINDIRECTPROC biz_glMultiDrawArraysIndirect; -PFNGLMULTIDRAWELEMENTSPROC biz_glMultiDrawElements; -PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC biz_glMultiDrawElementsBaseVertex; -PFNGLMULTIDRAWELEMENTSINDIRECTPROC biz_glMultiDrawElementsIndirect; -PFNGLMULTITEXCOORDP1UIPROC biz_glMultiTexCoordP1ui; -PFNGLMULTITEXCOORDP1UIVPROC biz_glMultiTexCoordP1uiv; -PFNGLMULTITEXCOORDP2UIPROC biz_glMultiTexCoordP2ui; -PFNGLMULTITEXCOORDP2UIVPROC biz_glMultiTexCoordP2uiv; -PFNGLMULTITEXCOORDP3UIPROC biz_glMultiTexCoordP3ui; -PFNGLMULTITEXCOORDP3UIVPROC biz_glMultiTexCoordP3uiv; -PFNGLMULTITEXCOORDP4UIPROC biz_glMultiTexCoordP4ui; -PFNGLMULTITEXCOORDP4UIVPROC biz_glMultiTexCoordP4uiv; -PFNGLNORMALP3UIPROC biz_glNormalP3ui; -PFNGLNORMALP3UIVPROC biz_glNormalP3uiv; -PFNGLOBJECTLABELPROC biz_glObjectLabel; -PFNGLOBJECTPTRLABELPROC biz_glObjectPtrLabel; -PFNGLPATCHPARAMETERFVPROC biz_glPatchParameterfv; -PFNGLPATCHPARAMETERIPROC biz_glPatchParameteri; -PFNGLPAUSETRANSFORMFEEDBACKPROC biz_glPauseTransformFeedback; -PFNGLPIXELSTOREFPROC biz_glPixelStoref; -PFNGLPIXELSTOREIPROC biz_glPixelStorei; -PFNGLPOINTPARAMETERFPROC biz_glPointParameterf; -PFNGLPOINTPARAMETERFVPROC biz_glPointParameterfv; -PFNGLPOINTPARAMETERIPROC biz_glPointParameteri; -PFNGLPOINTPARAMETERIVPROC biz_glPointParameteriv; -PFNGLPOINTSIZEPROC biz_glPointSize; -PFNGLPOLYGONMODEPROC biz_glPolygonMode; -PFNGLPOLYGONOFFSETPROC biz_glPolygonOffset; -PFNGLPOPDEBUGGROUPPROC biz_glPopDebugGroup; -PFNGLPRIMITIVERESTARTINDEXPROC biz_glPrimitiveRestartIndex; -PFNGLPROGRAMBINARYPROC biz_glProgramBinary; -PFNGLPROGRAMPARAMETERIPROC biz_glProgramParameteri; -PFNGLPROGRAMUNIFORM1DPROC biz_glProgramUniform1d; -PFNGLPROGRAMUNIFORM1DVPROC biz_glProgramUniform1dv; -PFNGLPROGRAMUNIFORM1FPROC biz_glProgramUniform1f; -PFNGLPROGRAMUNIFORM1FVPROC biz_glProgramUniform1fv; -PFNGLPROGRAMUNIFORM1IPROC biz_glProgramUniform1i; -PFNGLPROGRAMUNIFORM1IVPROC biz_glProgramUniform1iv; -PFNGLPROGRAMUNIFORM1UIPROC biz_glProgramUniform1ui; -PFNGLPROGRAMUNIFORM1UIVPROC biz_glProgramUniform1uiv; -PFNGLPROGRAMUNIFORM2DPROC biz_glProgramUniform2d; -PFNGLPROGRAMUNIFORM2DVPROC biz_glProgramUniform2dv; -PFNGLPROGRAMUNIFORM2FPROC biz_glProgramUniform2f; -PFNGLPROGRAMUNIFORM2FVPROC biz_glProgramUniform2fv; -PFNGLPROGRAMUNIFORM2IPROC biz_glProgramUniform2i; -PFNGLPROGRAMUNIFORM2IVPROC biz_glProgramUniform2iv; -PFNGLPROGRAMUNIFORM2UIPROC biz_glProgramUniform2ui; -PFNGLPROGRAMUNIFORM2UIVPROC biz_glProgramUniform2uiv; -PFNGLPROGRAMUNIFORM3DPROC biz_glProgramUniform3d; -PFNGLPROGRAMUNIFORM3DVPROC biz_glProgramUniform3dv; -PFNGLPROGRAMUNIFORM3FPROC biz_glProgramUniform3f; -PFNGLPROGRAMUNIFORM3FVPROC biz_glProgramUniform3fv; -PFNGLPROGRAMUNIFORM3IPROC biz_glProgramUniform3i; -PFNGLPROGRAMUNIFORM3IVPROC biz_glProgramUniform3iv; -PFNGLPROGRAMUNIFORM3UIPROC biz_glProgramUniform3ui; -PFNGLPROGRAMUNIFORM3UIVPROC biz_glProgramUniform3uiv; -PFNGLPROGRAMUNIFORM4DPROC biz_glProgramUniform4d; -PFNGLPROGRAMUNIFORM4DVPROC biz_glProgramUniform4dv; -PFNGLPROGRAMUNIFORM4FPROC biz_glProgramUniform4f; -PFNGLPROGRAMUNIFORM4FVPROC biz_glProgramUniform4fv; -PFNGLPROGRAMUNIFORM4IPROC biz_glProgramUniform4i; -PFNGLPROGRAMUNIFORM4IVPROC biz_glProgramUniform4iv; -PFNGLPROGRAMUNIFORM4UIPROC biz_glProgramUniform4ui; -PFNGLPROGRAMUNIFORM4UIVPROC biz_glProgramUniform4uiv; -PFNGLPROGRAMUNIFORMMATRIX2DVPROC biz_glProgramUniformMatrix2dv; -PFNGLPROGRAMUNIFORMMATRIX2FVPROC biz_glProgramUniformMatrix2fv; -PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC biz_glProgramUniformMatrix2x3dv; -PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC biz_glProgramUniformMatrix2x3fv; -PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC biz_glProgramUniformMatrix2x4dv; -PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC biz_glProgramUniformMatrix2x4fv; -PFNGLPROGRAMUNIFORMMATRIX3DVPROC biz_glProgramUniformMatrix3dv; -PFNGLPROGRAMUNIFORMMATRIX3FVPROC biz_glProgramUniformMatrix3fv; -PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC biz_glProgramUniformMatrix3x2dv; -PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC biz_glProgramUniformMatrix3x2fv; -PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC biz_glProgramUniformMatrix3x4dv; -PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC biz_glProgramUniformMatrix3x4fv; -PFNGLPROGRAMUNIFORMMATRIX4DVPROC biz_glProgramUniformMatrix4dv; -PFNGLPROGRAMUNIFORMMATRIX4FVPROC biz_glProgramUniformMatrix4fv; -PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC biz_glProgramUniformMatrix4x2dv; -PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC biz_glProgramUniformMatrix4x2fv; -PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC biz_glProgramUniformMatrix4x3dv; -PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC biz_glProgramUniformMatrix4x3fv; -PFNGLPROVOKINGVERTEXPROC biz_glProvokingVertex; -PFNGLPUSHDEBUGGROUPPROC biz_glPushDebugGroup; -PFNGLQUERYCOUNTERPROC biz_glQueryCounter; -PFNGLREADBUFFERPROC biz_glReadBuffer; -PFNGLREADPIXELSPROC biz_glReadPixels; -PFNGLRELEASESHADERCOMPILERPROC biz_glReleaseShaderCompiler; -PFNGLRENDERBUFFERSTORAGEPROC biz_glRenderbufferStorage; -PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC biz_glRenderbufferStorageMultisample; -PFNGLRESUMETRANSFORMFEEDBACKPROC biz_glResumeTransformFeedback; -PFNGLSAMPLECOVERAGEPROC biz_glSampleCoverage; -PFNGLSAMPLEMASKIPROC biz_glSampleMaski; -PFNGLSAMPLERPARAMETERIIVPROC biz_glSamplerParameterIiv; -PFNGLSAMPLERPARAMETERIUIVPROC biz_glSamplerParameterIuiv; -PFNGLSAMPLERPARAMETERFPROC biz_glSamplerParameterf; -PFNGLSAMPLERPARAMETERFVPROC biz_glSamplerParameterfv; -PFNGLSAMPLERPARAMETERIPROC biz_glSamplerParameteri; -PFNGLSAMPLERPARAMETERIVPROC biz_glSamplerParameteriv; -PFNGLSCISSORPROC biz_glScissor; -PFNGLSCISSORARRAYVPROC biz_glScissorArrayv; -PFNGLSCISSORINDEXEDPROC biz_glScissorIndexed; -PFNGLSCISSORINDEXEDVPROC biz_glScissorIndexedv; -PFNGLSECONDARYCOLORP3UIPROC biz_glSecondaryColorP3ui; -PFNGLSECONDARYCOLORP3UIVPROC biz_glSecondaryColorP3uiv; -PFNGLSHADERBINARYPROC biz_glShaderBinary; -PFNGLSHADERSOURCEPROC biz_glShaderSource; -PFNGLSHADERSTORAGEBLOCKBINDINGPROC biz_glShaderStorageBlockBinding; -PFNGLSTENCILFUNCPROC biz_glStencilFunc; -PFNGLSTENCILFUNCSEPARATEPROC biz_glStencilFuncSeparate; -PFNGLSTENCILMASKPROC biz_glStencilMask; -PFNGLSTENCILMASKSEPARATEPROC biz_glStencilMaskSeparate; -PFNGLSTENCILOPPROC biz_glStencilOp; -PFNGLSTENCILOPSEPARATEPROC biz_glStencilOpSeparate; -PFNGLTEXBUFFERPROC biz_glTexBuffer; -PFNGLTEXBUFFERRANGEPROC biz_glTexBufferRange; -PFNGLTEXCOORDP1UIPROC biz_glTexCoordP1ui; -PFNGLTEXCOORDP1UIVPROC biz_glTexCoordP1uiv; -PFNGLTEXCOORDP2UIPROC biz_glTexCoordP2ui; -PFNGLTEXCOORDP2UIVPROC biz_glTexCoordP2uiv; -PFNGLTEXCOORDP3UIPROC biz_glTexCoordP3ui; -PFNGLTEXCOORDP3UIVPROC biz_glTexCoordP3uiv; -PFNGLTEXCOORDP4UIPROC biz_glTexCoordP4ui; -PFNGLTEXCOORDP4UIVPROC biz_glTexCoordP4uiv; -PFNGLTEXIMAGE1DPROC biz_glTexImage1D; -PFNGLTEXIMAGE2DPROC biz_glTexImage2D; -PFNGLTEXIMAGE2DMULTISAMPLEPROC biz_glTexImage2DMultisample; -PFNGLTEXIMAGE3DPROC biz_glTexImage3D; -PFNGLTEXIMAGE3DMULTISAMPLEPROC biz_glTexImage3DMultisample; -PFNGLTEXPARAMETERIIVPROC biz_glTexParameterIiv; -PFNGLTEXPARAMETERIUIVPROC biz_glTexParameterIuiv; -PFNGLTEXPARAMETERFPROC biz_glTexParameterf; -PFNGLTEXPARAMETERFVPROC biz_glTexParameterfv; -PFNGLTEXPARAMETERIPROC biz_glTexParameteri; -PFNGLTEXPARAMETERIVPROC biz_glTexParameteriv; -PFNGLTEXSTORAGE1DPROC biz_glTexStorage1D; -PFNGLTEXSTORAGE2DPROC biz_glTexStorage2D; -PFNGLTEXSTORAGE2DMULTISAMPLEPROC biz_glTexStorage2DMultisample; -PFNGLTEXSTORAGE3DPROC biz_glTexStorage3D; -PFNGLTEXSTORAGE3DMULTISAMPLEPROC biz_glTexStorage3DMultisample; -PFNGLTEXSUBIMAGE1DPROC biz_glTexSubImage1D; -PFNGLTEXSUBIMAGE2DPROC biz_glTexSubImage2D; -PFNGLTEXSUBIMAGE3DPROC biz_glTexSubImage3D; -PFNGLTEXTUREVIEWPROC biz_glTextureView; -PFNGLTRANSFORMFEEDBACKVARYINGSPROC biz_glTransformFeedbackVaryings; -PFNGLUNIFORM1DPROC biz_glUniform1d; -PFNGLUNIFORM1DVPROC biz_glUniform1dv; -PFNGLUNIFORM1FPROC biz_glUniform1f; -PFNGLUNIFORM1FVPROC biz_glUniform1fv; -PFNGLUNIFORM1IPROC biz_glUniform1i; -PFNGLUNIFORM1IVPROC biz_glUniform1iv; -PFNGLUNIFORM1UIPROC biz_glUniform1ui; -PFNGLUNIFORM1UIVPROC biz_glUniform1uiv; -PFNGLUNIFORM2DPROC biz_glUniform2d; -PFNGLUNIFORM2DVPROC biz_glUniform2dv; -PFNGLUNIFORM2FPROC biz_glUniform2f; -PFNGLUNIFORM2FVPROC biz_glUniform2fv; -PFNGLUNIFORM2IPROC biz_glUniform2i; -PFNGLUNIFORM2IVPROC biz_glUniform2iv; -PFNGLUNIFORM2UIPROC biz_glUniform2ui; -PFNGLUNIFORM2UIVPROC biz_glUniform2uiv; -PFNGLUNIFORM3DPROC biz_glUniform3d; -PFNGLUNIFORM3DVPROC biz_glUniform3dv; -PFNGLUNIFORM3FPROC biz_glUniform3f; -PFNGLUNIFORM3FVPROC biz_glUniform3fv; -PFNGLUNIFORM3IPROC biz_glUniform3i; -PFNGLUNIFORM3IVPROC biz_glUniform3iv; -PFNGLUNIFORM3UIPROC biz_glUniform3ui; -PFNGLUNIFORM3UIVPROC biz_glUniform3uiv; -PFNGLUNIFORM4DPROC biz_glUniform4d; -PFNGLUNIFORM4DVPROC biz_glUniform4dv; -PFNGLUNIFORM4FPROC biz_glUniform4f; -PFNGLUNIFORM4FVPROC biz_glUniform4fv; -PFNGLUNIFORM4IPROC biz_glUniform4i; -PFNGLUNIFORM4IVPROC biz_glUniform4iv; -PFNGLUNIFORM4UIPROC biz_glUniform4ui; -PFNGLUNIFORM4UIVPROC biz_glUniform4uiv; -PFNGLUNIFORMBLOCKBINDINGPROC biz_glUniformBlockBinding; -PFNGLUNIFORMMATRIX2DVPROC biz_glUniformMatrix2dv; -PFNGLUNIFORMMATRIX2FVPROC biz_glUniformMatrix2fv; -PFNGLUNIFORMMATRIX2X3DVPROC biz_glUniformMatrix2x3dv; -PFNGLUNIFORMMATRIX2X3FVPROC biz_glUniformMatrix2x3fv; -PFNGLUNIFORMMATRIX2X4DVPROC biz_glUniformMatrix2x4dv; -PFNGLUNIFORMMATRIX2X4FVPROC biz_glUniformMatrix2x4fv; -PFNGLUNIFORMMATRIX3DVPROC biz_glUniformMatrix3dv; -PFNGLUNIFORMMATRIX3FVPROC biz_glUniformMatrix3fv; -PFNGLUNIFORMMATRIX3X2DVPROC biz_glUniformMatrix3x2dv; -PFNGLUNIFORMMATRIX3X2FVPROC biz_glUniformMatrix3x2fv; -PFNGLUNIFORMMATRIX3X4DVPROC biz_glUniformMatrix3x4dv; -PFNGLUNIFORMMATRIX3X4FVPROC biz_glUniformMatrix3x4fv; -PFNGLUNIFORMMATRIX4DVPROC biz_glUniformMatrix4dv; -PFNGLUNIFORMMATRIX4FVPROC biz_glUniformMatrix4fv; -PFNGLUNIFORMMATRIX4X2DVPROC biz_glUniformMatrix4x2dv; -PFNGLUNIFORMMATRIX4X2FVPROC biz_glUniformMatrix4x2fv; -PFNGLUNIFORMMATRIX4X3DVPROC biz_glUniformMatrix4x3dv; -PFNGLUNIFORMMATRIX4X3FVPROC biz_glUniformMatrix4x3fv; -PFNGLUNIFORMSUBROUTINESUIVPROC biz_glUniformSubroutinesuiv; -PFNGLUNMAPBUFFERPROC biz_glUnmapBuffer; -PFNGLUSEPROGRAMPROC biz_glUseProgram; -PFNGLUSEPROGRAMSTAGESPROC biz_glUseProgramStages; -PFNGLVALIDATEPROGRAMPROC biz_glValidateProgram; -PFNGLVALIDATEPROGRAMPIPELINEPROC biz_glValidateProgramPipeline; -PFNGLVERTEXATTRIB1DPROC biz_glVertexAttrib1d; -PFNGLVERTEXATTRIB1DVPROC biz_glVertexAttrib1dv; -PFNGLVERTEXATTRIB1FPROC biz_glVertexAttrib1f; -PFNGLVERTEXATTRIB1FVPROC biz_glVertexAttrib1fv; -PFNGLVERTEXATTRIB1SPROC biz_glVertexAttrib1s; -PFNGLVERTEXATTRIB1SVPROC biz_glVertexAttrib1sv; -PFNGLVERTEXATTRIB2DPROC biz_glVertexAttrib2d; -PFNGLVERTEXATTRIB2DVPROC biz_glVertexAttrib2dv; -PFNGLVERTEXATTRIB2FPROC biz_glVertexAttrib2f; -PFNGLVERTEXATTRIB2FVPROC biz_glVertexAttrib2fv; -PFNGLVERTEXATTRIB2SPROC biz_glVertexAttrib2s; -PFNGLVERTEXATTRIB2SVPROC biz_glVertexAttrib2sv; -PFNGLVERTEXATTRIB3DPROC biz_glVertexAttrib3d; -PFNGLVERTEXATTRIB3DVPROC biz_glVertexAttrib3dv; -PFNGLVERTEXATTRIB3FPROC biz_glVertexAttrib3f; -PFNGLVERTEXATTRIB3FVPROC biz_glVertexAttrib3fv; -PFNGLVERTEXATTRIB3SPROC biz_glVertexAttrib3s; -PFNGLVERTEXATTRIB3SVPROC biz_glVertexAttrib3sv; -PFNGLVERTEXATTRIB4NBVPROC biz_glVertexAttrib4Nbv; -PFNGLVERTEXATTRIB4NIVPROC biz_glVertexAttrib4Niv; -PFNGLVERTEXATTRIB4NSVPROC biz_glVertexAttrib4Nsv; -PFNGLVERTEXATTRIB4NUBPROC biz_glVertexAttrib4Nub; -PFNGLVERTEXATTRIB4NUBVPROC biz_glVertexAttrib4Nubv; -PFNGLVERTEXATTRIB4NUIVPROC biz_glVertexAttrib4Nuiv; -PFNGLVERTEXATTRIB4NUSVPROC biz_glVertexAttrib4Nusv; -PFNGLVERTEXATTRIB4BVPROC biz_glVertexAttrib4bv; -PFNGLVERTEXATTRIB4DPROC biz_glVertexAttrib4d; -PFNGLVERTEXATTRIB4DVPROC biz_glVertexAttrib4dv; -PFNGLVERTEXATTRIB4FPROC biz_glVertexAttrib4f; -PFNGLVERTEXATTRIB4FVPROC biz_glVertexAttrib4fv; -PFNGLVERTEXATTRIB4IVPROC biz_glVertexAttrib4iv; -PFNGLVERTEXATTRIB4SPROC biz_glVertexAttrib4s; -PFNGLVERTEXATTRIB4SVPROC biz_glVertexAttrib4sv; -PFNGLVERTEXATTRIB4UBVPROC biz_glVertexAttrib4ubv; -PFNGLVERTEXATTRIB4UIVPROC biz_glVertexAttrib4uiv; -PFNGLVERTEXATTRIB4USVPROC biz_glVertexAttrib4usv; -PFNGLVERTEXATTRIBBINDINGPROC biz_glVertexAttribBinding; -PFNGLVERTEXATTRIBDIVISORPROC biz_glVertexAttribDivisor; -PFNGLVERTEXATTRIBFORMATPROC biz_glVertexAttribFormat; -PFNGLVERTEXATTRIBI1IPROC biz_glVertexAttribI1i; -PFNGLVERTEXATTRIBI1IVPROC biz_glVertexAttribI1iv; -PFNGLVERTEXATTRIBI1UIPROC biz_glVertexAttribI1ui; -PFNGLVERTEXATTRIBI1UIVPROC biz_glVertexAttribI1uiv; -PFNGLVERTEXATTRIBI2IPROC biz_glVertexAttribI2i; -PFNGLVERTEXATTRIBI2IVPROC biz_glVertexAttribI2iv; -PFNGLVERTEXATTRIBI2UIPROC biz_glVertexAttribI2ui; -PFNGLVERTEXATTRIBI2UIVPROC biz_glVertexAttribI2uiv; -PFNGLVERTEXATTRIBI3IPROC biz_glVertexAttribI3i; -PFNGLVERTEXATTRIBI3IVPROC biz_glVertexAttribI3iv; -PFNGLVERTEXATTRIBI3UIPROC biz_glVertexAttribI3ui; -PFNGLVERTEXATTRIBI3UIVPROC biz_glVertexAttribI3uiv; -PFNGLVERTEXATTRIBI4BVPROC biz_glVertexAttribI4bv; -PFNGLVERTEXATTRIBI4IPROC biz_glVertexAttribI4i; -PFNGLVERTEXATTRIBI4IVPROC biz_glVertexAttribI4iv; -PFNGLVERTEXATTRIBI4SVPROC biz_glVertexAttribI4sv; -PFNGLVERTEXATTRIBI4UBVPROC biz_glVertexAttribI4ubv; -PFNGLVERTEXATTRIBI4UIPROC biz_glVertexAttribI4ui; -PFNGLVERTEXATTRIBI4UIVPROC biz_glVertexAttribI4uiv; -PFNGLVERTEXATTRIBI4USVPROC biz_glVertexAttribI4usv; -PFNGLVERTEXATTRIBIFORMATPROC biz_glVertexAttribIFormat; -PFNGLVERTEXATTRIBIPOINTERPROC biz_glVertexAttribIPointer; -PFNGLVERTEXATTRIBL1DPROC biz_glVertexAttribL1d; -PFNGLVERTEXATTRIBL1DVPROC biz_glVertexAttribL1dv; -PFNGLVERTEXATTRIBL2DPROC biz_glVertexAttribL2d; -PFNGLVERTEXATTRIBL2DVPROC biz_glVertexAttribL2dv; -PFNGLVERTEXATTRIBL3DPROC biz_glVertexAttribL3d; -PFNGLVERTEXATTRIBL3DVPROC biz_glVertexAttribL3dv; -PFNGLVERTEXATTRIBL4DPROC biz_glVertexAttribL4d; -PFNGLVERTEXATTRIBL4DVPROC biz_glVertexAttribL4dv; -PFNGLVERTEXATTRIBLFORMATPROC biz_glVertexAttribLFormat; -PFNGLVERTEXATTRIBLPOINTERPROC biz_glVertexAttribLPointer; -PFNGLVERTEXATTRIBP1UIPROC biz_glVertexAttribP1ui; -PFNGLVERTEXATTRIBP1UIVPROC biz_glVertexAttribP1uiv; -PFNGLVERTEXATTRIBP2UIPROC biz_glVertexAttribP2ui; -PFNGLVERTEXATTRIBP2UIVPROC biz_glVertexAttribP2uiv; -PFNGLVERTEXATTRIBP3UIPROC biz_glVertexAttribP3ui; -PFNGLVERTEXATTRIBP3UIVPROC biz_glVertexAttribP3uiv; -PFNGLVERTEXATTRIBP4UIPROC biz_glVertexAttribP4ui; -PFNGLVERTEXATTRIBP4UIVPROC biz_glVertexAttribP4uiv; -PFNGLVERTEXATTRIBPOINTERPROC biz_glVertexAttribPointer; -PFNGLVERTEXBINDINGDIVISORPROC biz_glVertexBindingDivisor; -PFNGLVERTEXP2UIPROC biz_glVertexP2ui; -PFNGLVERTEXP2UIVPROC biz_glVertexP2uiv; -PFNGLVERTEXP3UIPROC biz_glVertexP3ui; -PFNGLVERTEXP3UIVPROC biz_glVertexP3uiv; -PFNGLVERTEXP4UIPROC biz_glVertexP4ui; -PFNGLVERTEXP4UIVPROC biz_glVertexP4uiv; -PFNGLVIEWPORTPROC biz_glViewport; -PFNGLVIEWPORTARRAYVPROC biz_glViewportArrayv; -PFNGLVIEWPORTINDEXEDFPROC biz_glViewportIndexedf; -PFNGLVIEWPORTINDEXEDFVPROC biz_glViewportIndexedfv; -PFNGLWAITSYNCPROC biz_glWaitSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCullFace; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFrontFace; +ECL_INVISIBLE BizOGL::GLFunctor biz_glHint; +ECL_INVISIBLE BizOGL::GLFunctor biz_glLineWidth; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPointSize; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPolygonMode; +ECL_INVISIBLE BizOGL::GLFunctor biz_glScissor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameterf; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClear; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearColor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearStencil; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearDepth; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilMask; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorMask; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthMask; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDisable; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEnable; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFinish; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFlush; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendFunc; +ECL_INVISIBLE BizOGL::GLFunctor biz_glLogicOp; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilFunc; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilOp; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthFunc; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPixelStoref; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPixelStorei; +ECL_INVISIBLE BizOGL::GLFunctor biz_glReadBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glReadPixels; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBooleanv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetDoublev; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetError; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFloatv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetIntegerv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetString; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexImage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexLevelParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexLevelParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsEnabled; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthRange; +ECL_INVISIBLE BizOGL::GLFunctor biz_glViewport; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawArrays; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElements; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPolygonOffset; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyTexImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyTexImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyTexSubImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyTexSubImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexSubImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexSubImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindTexture; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteTextures; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenTextures; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsTexture; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawRangeElements; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexImage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexSubImage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyTexSubImage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glActiveTexture; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSampleCoverage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexImage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexSubImage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexSubImage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompressedTexSubImage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetCompressedTexImage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendFuncSeparate; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiDrawArrays; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiDrawElements; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPointParameterf; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPointParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPointParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPointParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendColor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendEquation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenQueries; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteQueries; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsQuery; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBeginQuery; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEndQuery; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryObjectiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryObjectuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteBuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenBuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBufferData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBufferSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBufferSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMapBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUnmapBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBufferParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBufferPointerv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendEquationSeparate; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawBuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilOpSeparate; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilFuncSeparate; +ECL_INVISIBLE BizOGL::GLFunctor biz_glStencilMaskSeparate; +ECL_INVISIBLE BizOGL::GLFunctor biz_glAttachShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindAttribLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCompileShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCreateProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCreateShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDetachShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDisableVertexAttribArray; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEnableVertexAttribArray; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveAttrib; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveUniform; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetAttachedShaders; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetAttribLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramInfoLog; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetShaderiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetShaderInfoLog; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetShaderSource; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribdv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribPointerv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsShader; +ECL_INVISIBLE BizOGL::GLFunctor biz_glLinkProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glShaderSource; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUseProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glValidateProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1s; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib1sv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2s; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib2sv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3s; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib3sv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nbv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Niv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nsv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nub; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nubv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4Nusv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4bv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4s; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4sv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4ubv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttrib4usv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribPointer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2x3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3x2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2x4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4x2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3x4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4x3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorMaski; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBooleani_v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetIntegeri_v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEnablei; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDisablei; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsEnabledi; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBeginTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEndTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindBufferRange; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindBufferBase; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTransformFeedbackVaryings; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTransformFeedbackVarying; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClampColor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBeginConditionalRender; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEndConditionalRender; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribIPointer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribIiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribIuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI1i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI2i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI3i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI1iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI2iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI3iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4bv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4sv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4ubv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribI4usv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindFragDataLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFragDataLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameterIiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexParameterIuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexParameterIiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetTexParameterIuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferfi; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetStringi; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsRenderbuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindRenderbuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteRenderbuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenRenderbuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glRenderbufferStorage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetRenderbufferParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsFramebuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindFramebuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteFramebuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenFramebuffers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCheckFramebufferStatus; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferTexture1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferTexture2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferTexture3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferRenderbuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFramebufferAttachmentParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenerateMipmap; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlitFramebuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glRenderbufferStorageMultisample; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferTextureLayer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMapBufferRange; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFlushMappedBufferRange; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindVertexArray; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteVertexArrays; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenVertexArrays; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsVertexArray; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawArraysInstanced; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsInstanced; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPrimitiveRestartIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyBufferSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformIndices; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveUniformsiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveUniformName; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformBlockIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveUniformBlockiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveUniformBlockName; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformBlockBinding; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsBaseVertex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawRangeElementsBaseVertex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsInstancedBaseVertex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiDrawElementsBaseVertex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProvokingVertex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFenceSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClientWaitSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glWaitSync; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetInteger64v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSynciv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetInteger64i_v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetBufferParameteri64v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferTexture; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexImage2DMultisample; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexImage3DMultisample; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetMultisamplefv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSampleMaski; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindFragDataLocationIndexed; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFragDataIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenSamplers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteSamplers; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsSampler; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindSampler; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameterf; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameterIiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSamplerParameterIuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSamplerParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSamplerParameterIiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSamplerParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSamplerParameterIuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glQueryCounter; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryObjecti64v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryObjectui64v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribDivisor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribP4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexP4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexCoordP4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiTexCoordP4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glNormalP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glNormalP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorP4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glColorP4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSecondaryColorP3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glSecondaryColorP3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMinSampleShading; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendEquationi; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendEquationSeparatei; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendFunci; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBlendFuncSeparatei; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawArraysIndirect; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsIndirect; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform1dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniform4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2x3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix2x4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3x2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix3x4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4x2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformMatrix4x3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformdv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSubroutineUniformLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetSubroutineIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveSubroutineUniformiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveSubroutineUniformName; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveSubroutineName; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUniformSubroutinesuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetUniformSubroutineuiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramStageiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPatchParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPatchParameterfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteTransformFeedbacks; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenTransformFeedbacks; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPauseTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glResumeTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawTransformFeedback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawTransformFeedbackStream; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBeginQueryIndexed; +ECL_INVISIBLE BizOGL::GLFunctor biz_glEndQueryIndexed; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetQueryIndexediv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glReleaseShaderCompiler; +ECL_INVISIBLE BizOGL::GLFunctor biz_glShaderBinary; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetShaderPrecisionFormat; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthRangef; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearDepthf; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramBinary; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramBinary; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glUseProgramStages; +ECL_INVISIBLE BizOGL::GLFunctor biz_glActiveShaderProgram; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCreateShaderProgramv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindProgramPipeline; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDeleteProgramPipelines; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGenProgramPipelines; +ECL_INVISIBLE BizOGL::GLFunctor biz_glIsProgramPipeline; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramPipelineiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform1uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform2uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform3uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4i; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4iv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4f; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4ui; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniform4uiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2x3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3x2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2x4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4x2fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3x4fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4x3fv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2x3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3x2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix2x4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4x2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix3x4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glProgramUniformMatrix4x3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glValidateProgramPipeline; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramPipelineInfoLog; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL1d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL2d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL3d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL4d; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL1dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL2dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL3dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribL4dv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribLPointer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetVertexAttribLdv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glViewportArrayv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glViewportIndexedf; +ECL_INVISIBLE BizOGL::GLFunctor biz_glViewportIndexedfv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glScissorArrayv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glScissorIndexed; +ECL_INVISIBLE BizOGL::GLFunctor biz_glScissorIndexedv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthRangeArrayv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDepthRangeIndexed; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFloati_v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetDoublei_v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawArraysInstancedBaseInstance; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsInstancedBaseInstance; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawElementsInstancedBaseVertexBaseInstance; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetInternalformativ; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetActiveAtomicCounterBufferiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindImageTexture; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMemoryBarrier; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexStorage1D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexStorage2D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexStorage3D; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawTransformFeedbackInstanced; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDrawTransformFeedbackStreamInstanced; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glClearBufferSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDispatchCompute; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDispatchComputeIndirect; +ECL_INVISIBLE BizOGL::GLFunctor biz_glCopyImageSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glFramebufferParameteri; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetFramebufferParameteriv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetInternalformati64v; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateTexSubImage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateTexImage; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateBufferSubData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateBufferData; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateFramebuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glInvalidateSubFramebuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiDrawArraysIndirect; +ECL_INVISIBLE BizOGL::GLFunctor biz_glMultiDrawElementsIndirect; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramInterfaceiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramResourceIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramResourceName; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramResourceiv; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramResourceLocation; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetProgramResourceLocationIndex; +ECL_INVISIBLE BizOGL::GLFunctor biz_glShaderStorageBlockBinding; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexBufferRange; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexStorage2DMultisample; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTexStorage3DMultisample; +ECL_INVISIBLE BizOGL::GLFunctor biz_glTextureView; +ECL_INVISIBLE BizOGL::GLFunctor biz_glBindVertexBuffer; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribFormat; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribIFormat; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribLFormat; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexAttribBinding; +ECL_INVISIBLE BizOGL::GLFunctor biz_glVertexBindingDivisor; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDebugMessageControl; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDebugMessageInsert; +ECL_INVISIBLE BizOGL::GLFunctor biz_glDebugMessageCallback; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetDebugMessageLog; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPushDebugGroup; +ECL_INVISIBLE BizOGL::GLFunctor biz_glPopDebugGroup; +ECL_INVISIBLE BizOGL::GLFunctor biz_glObjectLabel; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetObjectLabel; +ECL_INVISIBLE BizOGL::GLFunctor biz_glObjectPtrLabel; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetObjectPtrLabel; +ECL_INVISIBLE BizOGL::GLFunctor biz_glGetPointerv; namespace BizOGL { @@ -577,321 +575,321 @@ namespace BizOGL static void LoadGL3_1(LoadGLProc load) { // 1.0 - biz_glCullFace = (PFNGLCULLFACEPROC)load("glCullFace"); - biz_glFrontFace = (PFNGLFRONTFACEPROC)load("glFrontFace"); - biz_glHint = (PFNGLHINTPROC)load("glHint"); - biz_glLineWidth = (PFNGLLINEWIDTHPROC)load("glLineWidth"); - biz_glPointSize = (PFNGLPOINTSIZEPROC)load("glPointSize"); - biz_glPolygonMode = (PFNGLPOLYGONMODEPROC)load("glPolygonMode"); - biz_glScissor = (PFNGLSCISSORPROC)load("glScissor"); - biz_glTexParameterf = (PFNGLTEXPARAMETERFPROC)load("glTexParameterf"); - biz_glTexParameterfv = (PFNGLTEXPARAMETERFVPROC)load("glTexParameterfv"); - biz_glTexParameteri = (PFNGLTEXPARAMETERIPROC)load("glTexParameteri"); - biz_glTexParameteriv = (PFNGLTEXPARAMETERIVPROC)load("glTexParameteriv"); - biz_glTexImage1D = (PFNGLTEXIMAGE1DPROC)load("glTexImage1D"); - biz_glTexImage2D = (PFNGLTEXIMAGE2DPROC)load("glTexImage2D"); - biz_glDrawBuffer = (PFNGLDRAWBUFFERPROC)load("glDrawBuffer"); - biz_glClear = (PFNGLCLEARPROC)load("glClear"); - biz_glClearColor = (PFNGLCLEARCOLORPROC)load("glClearColor"); - biz_glClearStencil = (PFNGLCLEARSTENCILPROC)load("glClearStencil"); - biz_glClearDepth = (PFNGLCLEARDEPTHPROC)load("glClearDepth"); - biz_glStencilMask = (PFNGLSTENCILMASKPROC)load("glStencilMask"); - biz_glColorMask = (PFNGLCOLORMASKPROC)load("glColorMask"); - biz_glDepthMask = (PFNGLDEPTHMASKPROC)load("glDepthMask"); - biz_glDisable = (PFNGLDISABLEPROC)load("glDisable"); - biz_glEnable = (PFNGLENABLEPROC)load("glEnable"); - biz_glFinish = (PFNGLFINISHPROC)load("glFinish"); - biz_glFlush = (PFNGLFLUSHPROC)load("glFlush"); - biz_glBlendFunc = (PFNGLBLENDFUNCPROC)load("glBlendFunc"); - biz_glLogicOp = (PFNGLLOGICOPPROC)load("glLogicOp"); - biz_glStencilFunc = (PFNGLSTENCILFUNCPROC)load("glStencilFunc"); - biz_glStencilOp = (PFNGLSTENCILOPPROC)load("glStencilOp"); - biz_glDepthFunc = (PFNGLDEPTHFUNCPROC)load("glDepthFunc"); - biz_glPixelStoref = (PFNGLPIXELSTOREFPROC)load("glPixelStoref"); - biz_glPixelStorei = (PFNGLPIXELSTOREIPROC)load("glPixelStorei"); - biz_glReadBuffer = (PFNGLREADBUFFERPROC)load("glReadBuffer"); - biz_glReadPixels = (PFNGLREADPIXELSPROC)load("glReadPixels"); - biz_glGetBooleanv = (PFNGLGETBOOLEANVPROC)load("glGetBooleanv"); - biz_glGetDoublev = (PFNGLGETDOUBLEVPROC)load("glGetDoublev"); - biz_glGetError = (PFNGLGETERRORPROC)load("glGetError"); - biz_glGetFloatv = (PFNGLGETFLOATVPROC)load("glGetFloatv"); - biz_glGetIntegerv = (PFNGLGETINTEGERVPROC)load("glGetIntegerv"); - biz_glGetString = (PFNGLGETSTRINGPROC)load("glGetString"); - biz_glGetTexImage = (PFNGLGETTEXIMAGEPROC)load("glGetTexImage"); - biz_glGetTexParameterfv = (PFNGLGETTEXPARAMETERFVPROC)load("glGetTexParameterfv"); - biz_glGetTexParameteriv = (PFNGLGETTEXPARAMETERIVPROC)load("glGetTexParameteriv"); - biz_glGetTexLevelParameterfv = (PFNGLGETTEXLEVELPARAMETERFVPROC)load("glGetTexLevelParameterfv"); - biz_glGetTexLevelParameteriv = (PFNGLGETTEXLEVELPARAMETERIVPROC)load("glGetTexLevelParameteriv"); - biz_glIsEnabled = (PFNGLISENABLEDPROC)load("glIsEnabled"); - biz_glDepthRange = (PFNGLDEPTHRANGEPROC)load("glDepthRange"); - biz_glViewport = (PFNGLVIEWPORTPROC)load("glViewport"); + biz_glCullFace = load("glCullFace"); + biz_glFrontFace = load("glFrontFace"); + biz_glHint = load("glHint"); + biz_glLineWidth = load("glLineWidth"); + biz_glPointSize = load("glPointSize"); + biz_glPolygonMode = load("glPolygonMode"); + biz_glScissor = load("glScissor"); + biz_glTexParameterf = load("glTexParameterf"); + biz_glTexParameterfv = load("glTexParameterfv"); + biz_glTexParameteri = load("glTexParameteri"); + biz_glTexParameteriv = load("glTexParameteriv"); + biz_glTexImage1D = load("glTexImage1D"); + biz_glTexImage2D = load("glTexImage2D"); + biz_glDrawBuffer = load("glDrawBuffer"); + biz_glClear = load("glClear"); + biz_glClearColor = load("glClearColor"); + biz_glClearStencil = load("glClearStencil"); + biz_glClearDepth = load("glClearDepth"); + biz_glStencilMask = load("glStencilMask"); + biz_glColorMask = load("glColorMask"); + biz_glDepthMask = load("glDepthMask"); + biz_glDisable = load("glDisable"); + biz_glEnable = load("glEnable"); + biz_glFinish = load("glFinish"); + biz_glFlush = load("glFlush"); + biz_glBlendFunc = load("glBlendFunc"); + biz_glLogicOp = load("glLogicOp"); + biz_glStencilFunc = load("glStencilFunc"); + biz_glStencilOp = load("glStencilOp"); + biz_glDepthFunc = load("glDepthFunc"); + biz_glPixelStoref = load("glPixelStoref"); + biz_glPixelStorei = load("glPixelStorei"); + biz_glReadBuffer = load("glReadBuffer"); + biz_glReadPixels = load("glReadPixels"); + biz_glGetBooleanv = load("glGetBooleanv"); + biz_glGetDoublev = load("glGetDoublev"); + biz_glGetError = load("glGetError"); + biz_glGetFloatv = load("glGetFloatv"); + biz_glGetIntegerv = load("glGetIntegerv"); + biz_glGetString = load("glGetString"); + biz_glGetTexImage = load("glGetTexImage"); + biz_glGetTexParameterfv = load("glGetTexParameterfv"); + biz_glGetTexParameteriv = load("glGetTexParameteriv"); + biz_glGetTexLevelParameterfv = load("glGetTexLevelParameterfv"); + biz_glGetTexLevelParameteriv = load("glGetTexLevelParameteriv"); + biz_glIsEnabled = load("glIsEnabled"); + biz_glDepthRange = load("glDepthRange"); + biz_glViewport = load("glViewport"); // 1.1 - biz_glDrawArrays = (PFNGLDRAWARRAYSPROC)load("glDrawArrays"); - biz_glDrawElements = (PFNGLDRAWELEMENTSPROC)load("glDrawElements"); - biz_glPolygonOffset = (PFNGLPOLYGONOFFSETPROC)load("glPolygonOffset"); - biz_glCopyTexImage1D = (PFNGLCOPYTEXIMAGE1DPROC)load("glCopyTexImage1D"); - biz_glCopyTexImage2D = (PFNGLCOPYTEXIMAGE2DPROC)load("glCopyTexImage2D"); - biz_glCopyTexSubImage1D = (PFNGLCOPYTEXSUBIMAGE1DPROC)load("glCopyTexSubImage1D"); - biz_glCopyTexSubImage2D = (PFNGLCOPYTEXSUBIMAGE2DPROC)load("glCopyTexSubImage2D"); - biz_glTexSubImage1D = (PFNGLTEXSUBIMAGE1DPROC)load("glTexSubImage1D"); - biz_glTexSubImage2D = (PFNGLTEXSUBIMAGE2DPROC)load("glTexSubImage2D"); - biz_glBindTexture = (PFNGLBINDTEXTUREPROC)load("glBindTexture"); - biz_glDeleteTextures = (PFNGLDELETETEXTURESPROC)load("glDeleteTextures"); - biz_glGenTextures = (PFNGLGENTEXTURESPROC)load("glGenTextures"); - biz_glIsTexture = (PFNGLISTEXTUREPROC)load("glIsTexture"); + biz_glDrawArrays = load("glDrawArrays"); + biz_glDrawElements = load("glDrawElements"); + biz_glPolygonOffset = load("glPolygonOffset"); + biz_glCopyTexImage1D = load("glCopyTexImage1D"); + biz_glCopyTexImage2D = load("glCopyTexImage2D"); + biz_glCopyTexSubImage1D = load("glCopyTexSubImage1D"); + biz_glCopyTexSubImage2D = load("glCopyTexSubImage2D"); + biz_glTexSubImage1D = load("glTexSubImage1D"); + biz_glTexSubImage2D = load("glTexSubImage2D"); + biz_glBindTexture = load("glBindTexture"); + biz_glDeleteTextures = load("glDeleteTextures"); + biz_glGenTextures = load("glGenTextures"); + biz_glIsTexture = load("glIsTexture"); // 1.2 - biz_glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)load("glDrawRangeElements"); - biz_glTexImage3D = (PFNGLTEXIMAGE3DPROC)load("glTexImage3D"); - biz_glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)load("glTexSubImage3D"); - biz_glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)load("glCopyTexSubImage3D"); + biz_glDrawRangeElements = load("glDrawRangeElements"); + biz_glTexImage3D = load("glTexImage3D"); + biz_glTexSubImage3D = load("glTexSubImage3D"); + biz_glCopyTexSubImage3D = load("glCopyTexSubImage3D"); // 1.3 - biz_glActiveTexture = (PFNGLACTIVETEXTUREPROC)load("glActiveTexture"); - biz_glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)load("glSampleCoverage"); - biz_glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)load("glCompressedTexImage3D"); - biz_glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)load("glCompressedTexImage2D"); - biz_glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)load("glCompressedTexImage1D"); - biz_glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)load("glCompressedTexSubImage3D"); - biz_glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)load("glCompressedTexSubImage2D"); - biz_glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)load("glCompressedTexSubImage1D"); - biz_glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)load("glGetCompressedTexImage"); + biz_glActiveTexture = load("glActiveTexture"); + biz_glSampleCoverage = load("glSampleCoverage"); + biz_glCompressedTexImage3D = load("glCompressedTexImage3D"); + biz_glCompressedTexImage2D = load("glCompressedTexImage2D"); + biz_glCompressedTexImage1D = load("glCompressedTexImage1D"); + biz_glCompressedTexSubImage3D = load("glCompressedTexSubImage3D"); + biz_glCompressedTexSubImage2D = load("glCompressedTexSubImage2D"); + biz_glCompressedTexSubImage1D = load("glCompressedTexSubImage1D"); + biz_glGetCompressedTexImage = load("glGetCompressedTexImage"); // 1.4 - biz_glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)load("glBlendFuncSeparate"); - biz_glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)load("glMultiDrawArrays"); - biz_glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)load("glMultiDrawElements"); - biz_glPointParameterf = (PFNGLPOINTPARAMETERFPROC)load("glPointParameterf"); - biz_glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)load("glPointParameterfv"); - biz_glPointParameteri = (PFNGLPOINTPARAMETERIPROC)load("glPointParameteri"); - biz_glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)load("glPointParameteriv"); - biz_glBlendColor = (PFNGLBLENDCOLORPROC)load("glBlendColor"); - biz_glBlendEquation = (PFNGLBLENDEQUATIONPROC)load("glBlendEquation"); + biz_glBlendFuncSeparate = load("glBlendFuncSeparate"); + biz_glMultiDrawArrays = load("glMultiDrawArrays"); + biz_glMultiDrawElements = load("glMultiDrawElements"); + biz_glPointParameterf = load("glPointParameterf"); + biz_glPointParameterfv = load("glPointParameterfv"); + biz_glPointParameteri = load("glPointParameteri"); + biz_glPointParameteriv = load("glPointParameteriv"); + biz_glBlendColor = load("glBlendColor"); + biz_glBlendEquation = load("glBlendEquation"); // 1.5 - biz_glGenQueries = (PFNGLGENQUERIESPROC)load("glGenQueries"); - biz_glDeleteQueries = (PFNGLDELETEQUERIESPROC)load("glDeleteQueries"); - biz_glIsQuery = (PFNGLISQUERYPROC)load("glIsQuery"); - biz_glBeginQuery = (PFNGLBEGINQUERYPROC)load("glBeginQuery"); - biz_glEndQuery = (PFNGLENDQUERYPROC)load("glEndQuery"); - biz_glGetQueryiv = (PFNGLGETQUERYIVPROC)load("glGetQueryiv"); - biz_glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)load("glGetQueryObjectiv"); - biz_glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)load("glGetQueryObjectuiv"); - biz_glBindBuffer = (PFNGLBINDBUFFERPROC)load("glBindBuffer"); - biz_glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)load("glDeleteBuffers"); - biz_glGenBuffers = (PFNGLGENBUFFERSPROC)load("glGenBuffers"); - biz_glIsBuffer = (PFNGLISBUFFERPROC)load("glIsBuffer"); - biz_glBufferData = (PFNGLBUFFERDATAPROC)load("glBufferData"); - biz_glBufferSubData = (PFNGLBUFFERSUBDATAPROC)load("glBufferSubData"); - biz_glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)load("glGetBufferSubData"); - biz_glMapBuffer = (PFNGLMAPBUFFERPROC)load("glMapBuffer"); - biz_glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)load("glUnmapBuffer"); - biz_glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)load("glGetBufferParameteriv"); - biz_glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)load("glGetBufferPointerv"); + biz_glGenQueries = load("glGenQueries"); + biz_glDeleteQueries = load("glDeleteQueries"); + biz_glIsQuery = load("glIsQuery"); + biz_glBeginQuery = load("glBeginQuery"); + biz_glEndQuery = load("glEndQuery"); + biz_glGetQueryiv = load("glGetQueryiv"); + biz_glGetQueryObjectiv = load("glGetQueryObjectiv"); + biz_glGetQueryObjectuiv = load("glGetQueryObjectuiv"); + biz_glBindBuffer = load("glBindBuffer"); + biz_glDeleteBuffers = load("glDeleteBuffers"); + biz_glGenBuffers = load("glGenBuffers"); + biz_glIsBuffer = load("glIsBuffer"); + biz_glBufferData = load("glBufferData"); + biz_glBufferSubData = load("glBufferSubData"); + biz_glGetBufferSubData = load("glGetBufferSubData"); + biz_glMapBuffer = load("glMapBuffer"); + biz_glUnmapBuffer = load("glUnmapBuffer"); + biz_glGetBufferParameteriv = load("glGetBufferParameteriv"); + biz_glGetBufferPointerv = load("glGetBufferPointerv"); // 2.0 - biz_glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)load("glBlendEquationSeparate"); - biz_glDrawBuffers = (PFNGLDRAWBUFFERSPROC)load("glDrawBuffers"); - biz_glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)load("glStencilOpSeparate"); - biz_glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)load("glStencilFuncSeparate"); - biz_glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)load("glStencilMaskSeparate"); - biz_glAttachShader = (PFNGLATTACHSHADERPROC)load("glAttachShader"); - biz_glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)load("glBindAttribLocation"); - biz_glCompileShader = (PFNGLCOMPILESHADERPROC)load("glCompileShader"); - biz_glCreateProgram = (PFNGLCREATEPROGRAMPROC)load("glCreateProgram"); - biz_glCreateShader = (PFNGLCREATESHADERPROC)load("glCreateShader"); - biz_glDeleteProgram = (PFNGLDELETEPROGRAMPROC)load("glDeleteProgram"); - biz_glDeleteShader = (PFNGLDELETESHADERPROC)load("glDeleteShader"); - biz_glDetachShader = (PFNGLDETACHSHADERPROC)load("glDetachShader"); - biz_glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)load("glDisableVertexAttribArray"); - biz_glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)load("glEnableVertexAttribArray"); - biz_glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)load("glGetActiveAttrib"); - biz_glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)load("glGetActiveUniform"); - biz_glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)load("glGetAttachedShaders"); - biz_glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)load("glGetAttribLocation"); - biz_glGetProgramiv = (PFNGLGETPROGRAMIVPROC)load("glGetProgramiv"); - biz_glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)load("glGetProgramInfoLog"); - biz_glGetShaderiv = (PFNGLGETSHADERIVPROC)load("glGetShaderiv"); - biz_glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)load("glGetShaderInfoLog"); - biz_glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)load("glGetShaderSource"); - biz_glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)load("glGetUniformLocation"); - biz_glGetUniformfv = (PFNGLGETUNIFORMFVPROC)load("glGetUniformfv"); - biz_glGetUniformiv = (PFNGLGETUNIFORMIVPROC)load("glGetUniformiv"); - biz_glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)load("glGetVertexAttribdv"); - biz_glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)load("glGetVertexAttribfv"); - biz_glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)load("glGetVertexAttribiv"); - biz_glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)load("glGetVertexAttribPointerv"); - biz_glIsProgram = (PFNGLISPROGRAMPROC)load("glIsProgram"); - biz_glIsShader = (PFNGLISSHADERPROC)load("glIsShader"); - biz_glLinkProgram = (PFNGLLINKPROGRAMPROC)load("glLinkProgram"); - biz_glShaderSource = (PFNGLSHADERSOURCEPROC)load("glShaderSource"); - biz_glUseProgram = (PFNGLUSEPROGRAMPROC)load("glUseProgram"); - biz_glUniform1f = (PFNGLUNIFORM1FPROC)load("glUniform1f"); - biz_glUniform2f = (PFNGLUNIFORM2FPROC)load("glUniform2f"); - biz_glUniform3f = (PFNGLUNIFORM3FPROC)load("glUniform3f"); - biz_glUniform4f = (PFNGLUNIFORM4FPROC)load("glUniform4f"); - biz_glUniform1i = (PFNGLUNIFORM1IPROC)load("glUniform1i"); - biz_glUniform2i = (PFNGLUNIFORM2IPROC)load("glUniform2i"); - biz_glUniform3i = (PFNGLUNIFORM3IPROC)load("glUniform3i"); - biz_glUniform4i = (PFNGLUNIFORM4IPROC)load("glUniform4i"); - biz_glUniform1fv = (PFNGLUNIFORM1FVPROC)load("glUniform1fv"); - biz_glUniform2fv = (PFNGLUNIFORM2FVPROC)load("glUniform2fv"); - biz_glUniform3fv = (PFNGLUNIFORM3FVPROC)load("glUniform3fv"); - biz_glUniform4fv = (PFNGLUNIFORM4FVPROC)load("glUniform4fv"); - biz_glUniform1iv = (PFNGLUNIFORM1IVPROC)load("glUniform1iv"); - biz_glUniform2iv = (PFNGLUNIFORM2IVPROC)load("glUniform2iv"); - biz_glUniform3iv = (PFNGLUNIFORM3IVPROC)load("glUniform3iv"); - biz_glUniform4iv = (PFNGLUNIFORM4IVPROC)load("glUniform4iv"); - biz_glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)load("glUniformMatrix2fv"); - biz_glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)load("glUniformMatrix3fv"); - biz_glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)load("glUniformMatrix4fv"); - biz_glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)load("glValidateProgram"); - biz_glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)load("glVertexAttrib1d"); - biz_glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)load("glVertexAttrib1dv"); - biz_glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)load("glVertexAttrib1f"); - biz_glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)load("glVertexAttrib1fv"); - biz_glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)load("glVertexAttrib1s"); - biz_glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)load("glVertexAttrib1sv"); - biz_glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)load("glVertexAttrib2d"); - biz_glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)load("glVertexAttrib2dv"); - biz_glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)load("glVertexAttrib2f"); - biz_glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)load("glVertexAttrib2fv"); - biz_glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)load("glVertexAttrib2s"); - biz_glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)load("glVertexAttrib2sv"); - biz_glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)load("glVertexAttrib3d"); - biz_glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)load("glVertexAttrib3dv"); - biz_glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)load("glVertexAttrib3f"); - biz_glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)load("glVertexAttrib3fv"); - biz_glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)load("glVertexAttrib3s"); - biz_glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)load("glVertexAttrib3sv"); - biz_glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)load("glVertexAttrib4Nbv"); - biz_glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)load("glVertexAttrib4Niv"); - biz_glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)load("glVertexAttrib4Nsv"); - biz_glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)load("glVertexAttrib4Nub"); - biz_glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)load("glVertexAttrib4Nubv"); - biz_glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)load("glVertexAttrib4Nuiv"); - biz_glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)load("glVertexAttrib4Nusv"); - biz_glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)load("glVertexAttrib4bv"); - biz_glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)load("glVertexAttrib4d"); - biz_glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)load("glVertexAttrib4dv"); - biz_glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)load("glVertexAttrib4f"); - biz_glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)load("glVertexAttrib4fv"); - biz_glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)load("glVertexAttrib4iv"); - biz_glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)load("glVertexAttrib4s"); - biz_glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)load("glVertexAttrib4sv"); - biz_glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)load("glVertexAttrib4ubv"); - biz_glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)load("glVertexAttrib4uiv"); - biz_glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)load("glVertexAttrib4usv"); - biz_glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)load("glVertexAttribPointer"); + biz_glBlendEquationSeparate = load("glBlendEquationSeparate"); + biz_glDrawBuffers = load("glDrawBuffers"); + biz_glStencilOpSeparate = load("glStencilOpSeparate"); + biz_glStencilFuncSeparate = load("glStencilFuncSeparate"); + biz_glStencilMaskSeparate = load("glStencilMaskSeparate"); + biz_glAttachShader = load("glAttachShader"); + biz_glBindAttribLocation = load("glBindAttribLocation"); + biz_glCompileShader = load("glCompileShader"); + biz_glCreateProgram = load("glCreateProgram"); + biz_glCreateShader = load("glCreateShader"); + biz_glDeleteProgram = load("glDeleteProgram"); + biz_glDeleteShader = load("glDeleteShader"); + biz_glDetachShader = load("glDetachShader"); + biz_glDisableVertexAttribArray = load("glDisableVertexAttribArray"); + biz_glEnableVertexAttribArray = load("glEnableVertexAttribArray"); + biz_glGetActiveAttrib = load("glGetActiveAttrib"); + biz_glGetActiveUniform = load("glGetActiveUniform"); + biz_glGetAttachedShaders = load("glGetAttachedShaders"); + biz_glGetAttribLocation = load("glGetAttribLocation"); + biz_glGetProgramiv = load("glGetProgramiv"); + biz_glGetProgramInfoLog = load("glGetProgramInfoLog"); + biz_glGetShaderiv = load("glGetShaderiv"); + biz_glGetShaderInfoLog = load("glGetShaderInfoLog"); + biz_glGetShaderSource = load("glGetShaderSource"); + biz_glGetUniformLocation = load("glGetUniformLocation"); + biz_glGetUniformfv = load("glGetUniformfv"); + biz_glGetUniformiv = load("glGetUniformiv"); + biz_glGetVertexAttribdv = load("glGetVertexAttribdv"); + biz_glGetVertexAttribfv = load("glGetVertexAttribfv"); + biz_glGetVertexAttribiv = load("glGetVertexAttribiv"); + biz_glGetVertexAttribPointerv = load("glGetVertexAttribPointerv"); + biz_glIsProgram = load("glIsProgram"); + biz_glIsShader = load("glIsShader"); + biz_glLinkProgram = load("glLinkProgram"); + biz_glShaderSource = load("glShaderSource"); + biz_glUseProgram = load("glUseProgram"); + biz_glUniform1f = load("glUniform1f"); + biz_glUniform2f = load("glUniform2f"); + biz_glUniform3f = load("glUniform3f"); + biz_glUniform4f = load("glUniform4f"); + biz_glUniform1i = load("glUniform1i"); + biz_glUniform2i = load("glUniform2i"); + biz_glUniform3i = load("glUniform3i"); + biz_glUniform4i = load("glUniform4i"); + biz_glUniform1fv = load("glUniform1fv"); + biz_glUniform2fv = load("glUniform2fv"); + biz_glUniform3fv = load("glUniform3fv"); + biz_glUniform4fv = load("glUniform4fv"); + biz_glUniform1iv = load("glUniform1iv"); + biz_glUniform2iv = load("glUniform2iv"); + biz_glUniform3iv = load("glUniform3iv"); + biz_glUniform4iv = load("glUniform4iv"); + biz_glUniformMatrix2fv = load("glUniformMatrix2fv"); + biz_glUniformMatrix3fv = load("glUniformMatrix3fv"); + biz_glUniformMatrix4fv = load("glUniformMatrix4fv"); + biz_glValidateProgram = load("glValidateProgram"); + biz_glVertexAttrib1d = load("glVertexAttrib1d"); + biz_glVertexAttrib1dv = load("glVertexAttrib1dv"); + biz_glVertexAttrib1f = load("glVertexAttrib1f"); + biz_glVertexAttrib1fv = load("glVertexAttrib1fv"); + biz_glVertexAttrib1s = load("glVertexAttrib1s"); + biz_glVertexAttrib1sv = load("glVertexAttrib1sv"); + biz_glVertexAttrib2d = load("glVertexAttrib2d"); + biz_glVertexAttrib2dv = load("glVertexAttrib2dv"); + biz_glVertexAttrib2f = load("glVertexAttrib2f"); + biz_glVertexAttrib2fv = load("glVertexAttrib2fv"); + biz_glVertexAttrib2s = load("glVertexAttrib2s"); + biz_glVertexAttrib2sv = load("glVertexAttrib2sv"); + biz_glVertexAttrib3d = load("glVertexAttrib3d"); + biz_glVertexAttrib3dv = load("glVertexAttrib3dv"); + biz_glVertexAttrib3f = load("glVertexAttrib3f"); + biz_glVertexAttrib3fv = load("glVertexAttrib3fv"); + biz_glVertexAttrib3s = load("glVertexAttrib3s"); + biz_glVertexAttrib3sv = load("glVertexAttrib3sv"); + biz_glVertexAttrib4Nbv = load("glVertexAttrib4Nbv"); + biz_glVertexAttrib4Niv = load("glVertexAttrib4Niv"); + biz_glVertexAttrib4Nsv = load("glVertexAttrib4Nsv"); + biz_glVertexAttrib4Nub = load("glVertexAttrib4Nub"); + biz_glVertexAttrib4Nubv = load("glVertexAttrib4Nubv"); + biz_glVertexAttrib4Nuiv = load("glVertexAttrib4Nuiv"); + biz_glVertexAttrib4Nusv = load("glVertexAttrib4Nusv"); + biz_glVertexAttrib4bv = load("glVertexAttrib4bv"); + biz_glVertexAttrib4d = load("glVertexAttrib4d"); + biz_glVertexAttrib4dv = load("glVertexAttrib4dv"); + biz_glVertexAttrib4f = load("glVertexAttrib4f"); + biz_glVertexAttrib4fv = load("glVertexAttrib4fv"); + biz_glVertexAttrib4iv = load("glVertexAttrib4iv"); + biz_glVertexAttrib4s = load("glVertexAttrib4s"); + biz_glVertexAttrib4sv = load("glVertexAttrib4sv"); + biz_glVertexAttrib4ubv = load("glVertexAttrib4ubv"); + biz_glVertexAttrib4uiv = load("glVertexAttrib4uiv"); + biz_glVertexAttrib4usv = load("glVertexAttrib4usv"); + biz_glVertexAttribPointer = load("glVertexAttribPointer"); // 2.1 - biz_glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)load("glUniformMatrix2x3fv"); - biz_glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)load("glUniformMatrix3x2fv"); - biz_glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)load("glUniformMatrix2x4fv"); - biz_glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)load("glUniformMatrix4x2fv"); - biz_glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)load("glUniformMatrix3x4fv"); - biz_glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)load("glUniformMatrix4x3fv"); + biz_glUniformMatrix2x3fv = load("glUniformMatrix2x3fv"); + biz_glUniformMatrix3x2fv = load("glUniformMatrix3x2fv"); + biz_glUniformMatrix2x4fv = load("glUniformMatrix2x4fv"); + biz_glUniformMatrix4x2fv = load("glUniformMatrix4x2fv"); + biz_glUniformMatrix3x4fv = load("glUniformMatrix3x4fv"); + biz_glUniformMatrix4x3fv = load("glUniformMatrix4x3fv"); // 3.0 - biz_glColorMaski = (PFNGLCOLORMASKIPROC)load("glColorMaski"); - biz_glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)load("glGetBooleani_v"); - biz_glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)load("glGetIntegeri_v"); - biz_glEnablei = (PFNGLENABLEIPROC)load("glEnablei"); - biz_glDisablei = (PFNGLDISABLEIPROC)load("glDisablei"); - biz_glIsEnabledi = (PFNGLISENABLEDIPROC)load("glIsEnabledi"); - biz_glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)load("glBeginTransformFeedback"); - biz_glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)load("glEndTransformFeedback"); - biz_glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)load("glBindBufferRange"); - biz_glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)load("glBindBufferBase"); - biz_glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)load("glTransformFeedbackVaryings"); - biz_glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)load("glGetTransformFeedbackVarying"); - biz_glClampColor = (PFNGLCLAMPCOLORPROC)load("glClampColor"); - biz_glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)load("glBeginConditionalRender"); - biz_glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)load("glEndConditionalRender"); - biz_glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)load("glVertexAttribIPointer"); - biz_glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)load("glGetVertexAttribIiv"); - biz_glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)load("glGetVertexAttribIuiv"); - biz_glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)load("glVertexAttribI1i"); - biz_glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)load("glVertexAttribI2i"); - biz_glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)load("glVertexAttribI3i"); - biz_glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)load("glVertexAttribI4i"); - biz_glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)load("glVertexAttribI1ui"); - biz_glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)load("glVertexAttribI2ui"); - biz_glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)load("glVertexAttribI3ui"); - biz_glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)load("glVertexAttribI4ui"); - biz_glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)load("glVertexAttribI1iv"); - biz_glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)load("glVertexAttribI2iv"); - biz_glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)load("glVertexAttribI3iv"); - biz_glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)load("glVertexAttribI4iv"); - biz_glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)load("glVertexAttribI1uiv"); - biz_glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)load("glVertexAttribI2uiv"); - biz_glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)load("glVertexAttribI3uiv"); - biz_glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)load("glVertexAttribI4uiv"); - biz_glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)load("glVertexAttribI4bv"); - biz_glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)load("glVertexAttribI4sv"); - biz_glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)load("glVertexAttribI4ubv"); - biz_glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)load("glVertexAttribI4usv"); - biz_glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)load("glGetUniformuiv"); - biz_glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)load("glBindFragDataLocation"); - biz_glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)load("glGetFragDataLocation"); - biz_glUniform1ui = (PFNGLUNIFORM1UIPROC)load("glUniform1ui"); - biz_glUniform2ui = (PFNGLUNIFORM2UIPROC)load("glUniform2ui"); - biz_glUniform3ui = (PFNGLUNIFORM3UIPROC)load("glUniform3ui"); - biz_glUniform4ui = (PFNGLUNIFORM4UIPROC)load("glUniform4ui"); - biz_glUniform1uiv = (PFNGLUNIFORM1UIVPROC)load("glUniform1uiv"); - biz_glUniform2uiv = (PFNGLUNIFORM2UIVPROC)load("glUniform2uiv"); - biz_glUniform3uiv = (PFNGLUNIFORM3UIVPROC)load("glUniform3uiv"); - biz_glUniform4uiv = (PFNGLUNIFORM4UIVPROC)load("glUniform4uiv"); - biz_glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)load("glTexParameterIiv"); - biz_glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)load("glTexParameterIuiv"); - biz_glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)load("glGetTexParameterIiv"); - biz_glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)load("glGetTexParameterIuiv"); - biz_glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)load("glClearBufferiv"); - biz_glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)load("glClearBufferuiv"); - biz_glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)load("glClearBufferfv"); - biz_glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)load("glClearBufferfi"); - biz_glGetStringi = (PFNGLGETSTRINGIPROC)load("glGetStringi"); - biz_glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)load("glIsRenderbuffer"); - biz_glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)load("glBindRenderbuffer"); - biz_glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)load("glDeleteRenderbuffers"); - biz_glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)load("glGenRenderbuffers"); - biz_glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)load("glRenderbufferStorage"); - biz_glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)load("glGetRenderbufferParameteriv"); - biz_glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)load("glIsFramebuffer"); - biz_glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)load("glBindFramebuffer"); - biz_glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)load("glDeleteFramebuffers"); - biz_glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)load("glGenFramebuffers"); - biz_glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)load("glCheckFramebufferStatus"); - biz_glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)load("glFramebufferTexture1D"); - biz_glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)load("glFramebufferTexture2D"); - biz_glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)load("glFramebufferTexture3D"); - biz_glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)load("glFramebufferRenderbuffer"); - biz_glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)load("glGetFramebufferAttachmentParameteriv"); - biz_glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)load("glGenerateMipmap"); - biz_glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)load("glBlitFramebuffer"); - biz_glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)load("glRenderbufferStorageMultisample"); - biz_glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)load("glFramebufferTextureLayer"); - biz_glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)load("glMapBufferRange"); - biz_glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)load("glFlushMappedBufferRange"); - biz_glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)load("glBindVertexArray"); - biz_glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)load("glDeleteVertexArrays"); - biz_glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)load("glGenVertexArrays"); - biz_glIsVertexArray = (PFNGLISVERTEXARRAYPROC)load("glIsVertexArray"); + biz_glColorMaski = load("glColorMaski"); + biz_glGetBooleani_v = load("glGetBooleani_v"); + biz_glGetIntegeri_v = load("glGetIntegeri_v"); + biz_glEnablei = load("glEnablei"); + biz_glDisablei = load("glDisablei"); + biz_glIsEnabledi = load("glIsEnabledi"); + biz_glBeginTransformFeedback = load("glBeginTransformFeedback"); + biz_glEndTransformFeedback = load("glEndTransformFeedback"); + biz_glBindBufferRange = load("glBindBufferRange"); + biz_glBindBufferBase = load("glBindBufferBase"); + biz_glTransformFeedbackVaryings = load("glTransformFeedbackVaryings"); + biz_glGetTransformFeedbackVarying = load("glGetTransformFeedbackVarying"); + biz_glClampColor = load("glClampColor"); + biz_glBeginConditionalRender = load("glBeginConditionalRender"); + biz_glEndConditionalRender = load("glEndConditionalRender"); + biz_glVertexAttribIPointer = load("glVertexAttribIPointer"); + biz_glGetVertexAttribIiv = load("glGetVertexAttribIiv"); + biz_glGetVertexAttribIuiv = load("glGetVertexAttribIuiv"); + biz_glVertexAttribI1i = load("glVertexAttribI1i"); + biz_glVertexAttribI2i = load("glVertexAttribI2i"); + biz_glVertexAttribI3i = load("glVertexAttribI3i"); + biz_glVertexAttribI4i = load("glVertexAttribI4i"); + biz_glVertexAttribI1ui = load("glVertexAttribI1ui"); + biz_glVertexAttribI2ui = load("glVertexAttribI2ui"); + biz_glVertexAttribI3ui = load("glVertexAttribI3ui"); + biz_glVertexAttribI4ui = load("glVertexAttribI4ui"); + biz_glVertexAttribI1iv = load("glVertexAttribI1iv"); + biz_glVertexAttribI2iv = load("glVertexAttribI2iv"); + biz_glVertexAttribI3iv = load("glVertexAttribI3iv"); + biz_glVertexAttribI4iv = load("glVertexAttribI4iv"); + biz_glVertexAttribI1uiv = load("glVertexAttribI1uiv"); + biz_glVertexAttribI2uiv = load("glVertexAttribI2uiv"); + biz_glVertexAttribI3uiv = load("glVertexAttribI3uiv"); + biz_glVertexAttribI4uiv = load("glVertexAttribI4uiv"); + biz_glVertexAttribI4bv = load("glVertexAttribI4bv"); + biz_glVertexAttribI4sv = load("glVertexAttribI4sv"); + biz_glVertexAttribI4ubv = load("glVertexAttribI4ubv"); + biz_glVertexAttribI4usv = load("glVertexAttribI4usv"); + biz_glGetUniformuiv = load("glGetUniformuiv"); + biz_glBindFragDataLocation = load("glBindFragDataLocation"); + biz_glGetFragDataLocation = load("glGetFragDataLocation"); + biz_glUniform1ui = load("glUniform1ui"); + biz_glUniform2ui = load("glUniform2ui"); + biz_glUniform3ui = load("glUniform3ui"); + biz_glUniform4ui = load("glUniform4ui"); + biz_glUniform1uiv = load("glUniform1uiv"); + biz_glUniform2uiv = load("glUniform2uiv"); + biz_glUniform3uiv = load("glUniform3uiv"); + biz_glUniform4uiv = load("glUniform4uiv"); + biz_glTexParameterIiv = load("glTexParameterIiv"); + biz_glTexParameterIuiv = load("glTexParameterIuiv"); + biz_glGetTexParameterIiv = load("glGetTexParameterIiv"); + biz_glGetTexParameterIuiv = load("glGetTexParameterIuiv"); + biz_glClearBufferiv = load("glClearBufferiv"); + biz_glClearBufferuiv = load("glClearBufferuiv"); + biz_glClearBufferfv = load("glClearBufferfv"); + biz_glClearBufferfi = load("glClearBufferfi"); + biz_glGetStringi = load("glGetStringi"); + biz_glIsRenderbuffer = load("glIsRenderbuffer"); + biz_glBindRenderbuffer = load("glBindRenderbuffer"); + biz_glDeleteRenderbuffers = load("glDeleteRenderbuffers"); + biz_glGenRenderbuffers = load("glGenRenderbuffers"); + biz_glRenderbufferStorage = load("glRenderbufferStorage"); + biz_glGetRenderbufferParameteriv = load("glGetRenderbufferParameteriv"); + biz_glIsFramebuffer = load("glIsFramebuffer"); + biz_glBindFramebuffer = load("glBindFramebuffer"); + biz_glDeleteFramebuffers = load("glDeleteFramebuffers"); + biz_glGenFramebuffers = load("glGenFramebuffers"); + biz_glCheckFramebufferStatus = load("glCheckFramebufferStatus"); + biz_glFramebufferTexture1D = load("glFramebufferTexture1D"); + biz_glFramebufferTexture2D = load("glFramebufferTexture2D"); + biz_glFramebufferTexture3D = load("glFramebufferTexture3D"); + biz_glFramebufferRenderbuffer = load("glFramebufferRenderbuffer"); + biz_glGetFramebufferAttachmentParameteriv = load("glGetFramebufferAttachmentParameteriv"); + biz_glGenerateMipmap = load("glGenerateMipmap"); + biz_glBlitFramebuffer = load("glBlitFramebuffer"); + biz_glRenderbufferStorageMultisample = load("glRenderbufferStorageMultisample"); + biz_glFramebufferTextureLayer = load("glFramebufferTextureLayer"); + biz_glMapBufferRange = load("glMapBufferRange"); + biz_glFlushMappedBufferRange = load("glFlushMappedBufferRange"); + biz_glBindVertexArray = load("glBindVertexArray"); + biz_glDeleteVertexArrays = load("glDeleteVertexArrays"); + biz_glGenVertexArrays = load("glGenVertexArrays"); + biz_glIsVertexArray = load("glIsVertexArray"); // 3.1 - biz_glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)load("glDrawArraysInstanced"); - biz_glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)load("glDrawElementsInstanced"); - biz_glTexBuffer = (PFNGLTEXBUFFERPROC)load("glTexBuffer"); - biz_glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)load("glPrimitiveRestartIndex"); - biz_glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)load("glCopyBufferSubData"); - biz_glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)load("glGetUniformIndices"); - biz_glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)load("glGetActiveUniformsiv"); - biz_glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)load("glGetActiveUniformName"); - biz_glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)load("glGetUniformBlockIndex"); - biz_glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)load("glGetActiveUniformBlockiv"); - biz_glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)load("glGetActiveUniformBlockName"); - biz_glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)load("glUniformBlockBinding"); + biz_glDrawArraysInstanced = load("glDrawArraysInstanced"); + biz_glDrawElementsInstanced = load("glDrawElementsInstanced"); + biz_glTexBuffer = load("glTexBuffer"); + biz_glPrimitiveRestartIndex = load("glPrimitiveRestartIndex"); + biz_glCopyBufferSubData = load("glCopyBufferSubData"); + biz_glGetUniformIndices = load("glGetUniformIndices"); + biz_glGetActiveUniformsiv = load("glGetActiveUniformsiv"); + biz_glGetActiveUniformName = load("glGetActiveUniformName"); + biz_glGetUniformBlockIndex = load("glGetUniformBlockIndex"); + biz_glGetActiveUniformBlockiv = load("glGetActiveUniformBlockiv"); + biz_glGetActiveUniformBlockName = load("glGetActiveUniformBlockName"); + biz_glUniformBlockBinding = load("glUniformBlockBinding"); } static void LoadGL3_2(LoadGLProc load) @@ -900,25 +898,25 @@ static void LoadGL3_2(LoadGLProc load) LoadGL3_1(load); // 3.2 - biz_glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)load("glDrawElementsBaseVertex"); - biz_glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)load("glDrawRangeElementsBaseVertex"); - biz_glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)load("glDrawElementsInstancedBaseVertex"); - biz_glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)load("glMultiDrawElementsBaseVertex"); - biz_glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)load("glProvokingVertex"); - biz_glFenceSync = (PFNGLFENCESYNCPROC)load("glFenceSync"); - biz_glIsSync = (PFNGLISSYNCPROC)load("glIsSync"); - biz_glDeleteSync = (PFNGLDELETESYNCPROC)load("glDeleteSync"); - biz_glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)load("glClientWaitSync"); - biz_glWaitSync = (PFNGLWAITSYNCPROC)load("glWaitSync"); - biz_glGetInteger64v = (PFNGLGETINTEGER64VPROC)load("glGetInteger64v"); - biz_glGetSynciv = (PFNGLGETSYNCIVPROC)load("glGetSynciv"); - biz_glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)load("glGetInteger64i_v"); - biz_glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)load("glGetBufferParameteri64v"); - biz_glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)load("glFramebufferTexture"); - biz_glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)load("glTexImage2DMultisample"); - biz_glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)load("glTexImage3DMultisample"); - biz_glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)load("glGetMultisamplefv"); - biz_glSampleMaski = (PFNGLSAMPLEMASKIPROC)load("glSampleMaski"); + biz_glDrawElementsBaseVertex = load("glDrawElementsBaseVertex"); + biz_glDrawRangeElementsBaseVertex = load("glDrawRangeElementsBaseVertex"); + biz_glDrawElementsInstancedBaseVertex = load("glDrawElementsInstancedBaseVertex"); + biz_glMultiDrawElementsBaseVertex = load("glMultiDrawElementsBaseVertex"); + biz_glProvokingVertex = load("glProvokingVertex"); + biz_glFenceSync = load("glFenceSync"); + biz_glIsSync = load("glIsSync"); + biz_glDeleteSync = load("glDeleteSync"); + biz_glClientWaitSync = load("glClientWaitSync"); + biz_glWaitSync = load("glWaitSync"); + biz_glGetInteger64v = load("glGetInteger64v"); + biz_glGetSynciv = load("glGetSynciv"); + biz_glGetInteger64i_v = load("glGetInteger64i_v"); + biz_glGetBufferParameteri64v = load("glGetBufferParameteri64v"); + biz_glFramebufferTexture = load("glFramebufferTexture"); + biz_glTexImage2DMultisample = load("glTexImage2DMultisample"); + biz_glTexImage3DMultisample = load("glTexImage3DMultisample"); + biz_glGetMultisamplefv = load("glGetMultisamplefv"); + biz_glSampleMaski = load("glSampleMaski"); } static void LoadGL4_3(LoadGLProc load) @@ -927,264 +925,266 @@ static void LoadGL4_3(LoadGLProc load) LoadGL3_2(load); // 3.3 - biz_glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)load("glBindFragDataLocationIndexed"); - biz_glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)load("glGetFragDataIndex"); - biz_glGenSamplers = (PFNGLGENSAMPLERSPROC)load("glGenSamplers"); - biz_glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)load("glDeleteSamplers"); - biz_glIsSampler = (PFNGLISSAMPLERPROC)load("glIsSampler"); - biz_glBindSampler = (PFNGLBINDSAMPLERPROC)load("glBindSampler"); - biz_glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)load("glSamplerParameteri"); - biz_glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)load("glSamplerParameteriv"); - biz_glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)load("glSamplerParameterf"); - biz_glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)load("glSamplerParameterfv"); - biz_glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)load("glSamplerParameterIiv"); - biz_glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)load("glSamplerParameterIuiv"); - biz_glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)load("glGetSamplerParameteriv"); - biz_glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)load("glGetSamplerParameterIiv"); - biz_glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)load("glGetSamplerParameterfv"); - biz_glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)load("glGetSamplerParameterIuiv"); - biz_glQueryCounter = (PFNGLQUERYCOUNTERPROC)load("glQueryCounter"); - biz_glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)load("glGetQueryObjecti64v"); - biz_glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)load("glGetQueryObjectui64v"); - biz_glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)load("glVertexAttribDivisor"); - biz_glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)load("glVertexAttribP1ui"); - biz_glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)load("glVertexAttribP1uiv"); - biz_glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)load("glVertexAttribP2ui"); - biz_glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)load("glVertexAttribP2uiv"); - biz_glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)load("glVertexAttribP3ui"); - biz_glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)load("glVertexAttribP3uiv"); - biz_glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)load("glVertexAttribP4ui"); - biz_glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)load("glVertexAttribP4uiv"); - biz_glVertexP2ui = (PFNGLVERTEXP2UIPROC)load("glVertexP2ui"); - biz_glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)load("glVertexP2uiv"); - biz_glVertexP3ui = (PFNGLVERTEXP3UIPROC)load("glVertexP3ui"); - biz_glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)load("glVertexP3uiv"); - biz_glVertexP4ui = (PFNGLVERTEXP4UIPROC)load("glVertexP4ui"); - biz_glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)load("glVertexP4uiv"); - biz_glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)load("glTexCoordP1ui"); - biz_glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)load("glTexCoordP1uiv"); - biz_glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)load("glTexCoordP2ui"); - biz_glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)load("glTexCoordP2uiv"); - biz_glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)load("glTexCoordP3ui"); - biz_glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)load("glTexCoordP3uiv"); - biz_glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)load("glTexCoordP4ui"); - biz_glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)load("glTexCoordP4uiv"); - biz_glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)load("glMultiTexCoordP1ui"); - biz_glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)load("glMultiTexCoordP1uiv"); - biz_glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)load("glMultiTexCoordP2ui"); - biz_glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)load("glMultiTexCoordP2uiv"); - biz_glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)load("glMultiTexCoordP3ui"); - biz_glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)load("glMultiTexCoordP3uiv"); - biz_glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)load("glMultiTexCoordP4ui"); - biz_glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)load("glMultiTexCoordP4uiv"); - biz_glNormalP3ui = (PFNGLNORMALP3UIPROC)load("glNormalP3ui"); - biz_glNormalP3uiv = (PFNGLNORMALP3UIVPROC)load("glNormalP3uiv"); - biz_glColorP3ui = (PFNGLCOLORP3UIPROC)load("glColorP3ui"); - biz_glColorP3uiv = (PFNGLCOLORP3UIVPROC)load("glColorP3uiv"); - biz_glColorP4ui = (PFNGLCOLORP4UIPROC)load("glColorP4ui"); - biz_glColorP4uiv = (PFNGLCOLORP4UIVPROC)load("glColorP4uiv"); - biz_glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)load("glSecondaryColorP3ui"); - biz_glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)load("glSecondaryColorP3uiv"); + biz_glBindFragDataLocationIndexed = load("glBindFragDataLocationIndexed"); + biz_glGetFragDataIndex = load("glGetFragDataIndex"); + biz_glGenSamplers = load("glGenSamplers"); + biz_glDeleteSamplers = load("glDeleteSamplers"); + biz_glIsSampler = load("glIsSampler"); + biz_glBindSampler = load("glBindSampler"); + biz_glSamplerParameteri = load("glSamplerParameteri"); + biz_glSamplerParameteriv = load("glSamplerParameteriv"); + biz_glSamplerParameterf = load("glSamplerParameterf"); + biz_glSamplerParameterfv = load("glSamplerParameterfv"); + biz_glSamplerParameterIiv = load("glSamplerParameterIiv"); + biz_glSamplerParameterIuiv = load("glSamplerParameterIuiv"); + biz_glGetSamplerParameteriv = load("glGetSamplerParameteriv"); + biz_glGetSamplerParameterIiv = load("glGetSamplerParameterIiv"); + biz_glGetSamplerParameterfv = load("glGetSamplerParameterfv"); + biz_glGetSamplerParameterIuiv = load("glGetSamplerParameterIuiv"); + biz_glQueryCounter = load("glQueryCounter"); + biz_glGetQueryObjecti64v = load("glGetQueryObjecti64v"); + biz_glGetQueryObjectui64v = load("glGetQueryObjectui64v"); + biz_glVertexAttribDivisor = load("glVertexAttribDivisor"); + biz_glVertexAttribP1ui = load("glVertexAttribP1ui"); + biz_glVertexAttribP1uiv = load("glVertexAttribP1uiv"); + biz_glVertexAttribP2ui = load("glVertexAttribP2ui"); + biz_glVertexAttribP2uiv = load("glVertexAttribP2uiv"); + biz_glVertexAttribP3ui = load("glVertexAttribP3ui"); + biz_glVertexAttribP3uiv = load("glVertexAttribP3uiv"); + biz_glVertexAttribP4ui = load("glVertexAttribP4ui"); + biz_glVertexAttribP4uiv = load("glVertexAttribP4uiv"); + biz_glVertexP2ui = load("glVertexP2ui"); + biz_glVertexP2uiv = load("glVertexP2uiv"); + biz_glVertexP3ui = load("glVertexP3ui"); + biz_glVertexP3uiv = load("glVertexP3uiv"); + biz_glVertexP4ui = load("glVertexP4ui"); + biz_glVertexP4uiv = load("glVertexP4uiv"); + biz_glTexCoordP1ui = load("glTexCoordP1ui"); + biz_glTexCoordP1uiv = load("glTexCoordP1uiv"); + biz_glTexCoordP2ui = load("glTexCoordP2ui"); + biz_glTexCoordP2uiv = load("glTexCoordP2uiv"); + biz_glTexCoordP3ui = load("glTexCoordP3ui"); + biz_glTexCoordP3uiv = load("glTexCoordP3uiv"); + biz_glTexCoordP4ui = load("glTexCoordP4ui"); + biz_glTexCoordP4uiv = load("glTexCoordP4uiv"); + biz_glMultiTexCoordP1ui = load("glMultiTexCoordP1ui"); + biz_glMultiTexCoordP1uiv = load("glMultiTexCoordP1uiv"); + biz_glMultiTexCoordP2ui = load("glMultiTexCoordP2ui"); + biz_glMultiTexCoordP2uiv = load("glMultiTexCoordP2uiv"); + biz_glMultiTexCoordP3ui = load("glMultiTexCoordP3ui"); + biz_glMultiTexCoordP3uiv = load("glMultiTexCoordP3uiv"); + biz_glMultiTexCoordP4ui = load("glMultiTexCoordP4ui"); + biz_glMultiTexCoordP4uiv = load("glMultiTexCoordP4uiv"); + biz_glNormalP3ui = load("glNormalP3ui"); + biz_glNormalP3uiv = load("glNormalP3uiv"); + biz_glColorP3ui = load("glColorP3ui"); + biz_glColorP3uiv = load("glColorP3uiv"); + biz_glColorP4ui = load("glColorP4ui"); + biz_glColorP4uiv = load("glColorP4uiv"); + biz_glSecondaryColorP3ui = load("glSecondaryColorP3ui"); + biz_glSecondaryColorP3uiv = load("glSecondaryColorP3uiv"); // 4.0 - biz_glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)load("glMinSampleShading"); - biz_glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)load("glBlendEquationi"); - biz_glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)load("glBlendEquationSeparatei"); - biz_glBlendFunci = (PFNGLBLENDFUNCIPROC)load("glBlendFunci"); - biz_glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)load("glBlendFuncSeparatei"); - biz_glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)load("glDrawArraysIndirect"); - biz_glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)load("glDrawElementsIndirect"); - biz_glUniform1d = (PFNGLUNIFORM1DPROC)load("glUniform1d"); - biz_glUniform2d = (PFNGLUNIFORM2DPROC)load("glUniform2d"); - biz_glUniform3d = (PFNGLUNIFORM3DPROC)load("glUniform3d"); - biz_glUniform4d = (PFNGLUNIFORM4DPROC)load("glUniform4d"); - biz_glUniform1dv = (PFNGLUNIFORM1DVPROC)load("glUniform1dv"); - biz_glUniform2dv = (PFNGLUNIFORM2DVPROC)load("glUniform2dv"); - biz_glUniform3dv = (PFNGLUNIFORM3DVPROC)load("glUniform3dv"); - biz_glUniform4dv = (PFNGLUNIFORM4DVPROC)load("glUniform4dv"); - biz_glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)load("glUniformMatrix2dv"); - biz_glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)load("glUniformMatrix3dv"); - biz_glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)load("glUniformMatrix4dv"); - biz_glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)load("glUniformMatrix2x3dv"); - biz_glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)load("glUniformMatrix2x4dv"); - biz_glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)load("glUniformMatrix3x2dv"); - biz_glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)load("glUniformMatrix3x4dv"); - biz_glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)load("glUniformMatrix4x2dv"); - biz_glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)load("glUniformMatrix4x3dv"); - biz_glGetUniformdv = (PFNGLGETUNIFORMDVPROC)load("glGetUniformdv"); - biz_glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)load("glGetSubroutineUniformLocation"); - biz_glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)load("glGetSubroutineIndex"); - biz_glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)load("glGetActiveSubroutineUniformiv"); - biz_glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)load("glGetActiveSubroutineUniformName"); - biz_glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)load("glGetActiveSubroutineName"); - biz_glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)load("glUniformSubroutinesuiv"); - biz_glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)load("glGetUniformSubroutineuiv"); - biz_glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)load("glGetProgramStageiv"); - biz_glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)load("glPatchParameteri"); - biz_glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)load("glPatchParameterfv"); - biz_glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)load("glBindTransformFeedback"); - biz_glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)load("glDeleteTransformFeedbacks"); - biz_glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)load("glGenTransformFeedbacks"); - biz_glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)load("glIsTransformFeedback"); - biz_glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)load("glPauseTransformFeedback"); - biz_glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)load("glResumeTransformFeedback"); - biz_glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)load("glDrawTransformFeedback"); - biz_glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)load("glDrawTransformFeedbackStream"); - biz_glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)load("glBeginQueryIndexed"); - biz_glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)load("glEndQueryIndexed"); - biz_glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)load("glGetQueryIndexediv"); + biz_glMinSampleShading = load("glMinSampleShading"); + biz_glBlendEquationi = load("glBlendEquationi"); + biz_glBlendEquationSeparatei = load("glBlendEquationSeparatei"); + biz_glBlendFunci = load("glBlendFunci"); + biz_glBlendFuncSeparatei = load("glBlendFuncSeparatei"); + biz_glDrawArraysIndirect = load("glDrawArraysIndirect"); + biz_glDrawElementsIndirect = load("glDrawElementsIndirect"); + biz_glUniform1d = load("glUniform1d"); + biz_glUniform2d = load("glUniform2d"); + biz_glUniform3d = load("glUniform3d"); + biz_glUniform4d = load("glUniform4d"); + biz_glUniform1dv = load("glUniform1dv"); + biz_glUniform2dv = load("glUniform2dv"); + biz_glUniform3dv = load("glUniform3dv"); + biz_glUniform4dv = load("glUniform4dv"); + biz_glUniformMatrix2dv = load("glUniformMatrix2dv"); + biz_glUniformMatrix3dv = load("glUniformMatrix3dv"); + biz_glUniformMatrix4dv = load("glUniformMatrix4dv"); + biz_glUniformMatrix2x3dv = load("glUniformMatrix2x3dv"); + biz_glUniformMatrix2x4dv = load("glUniformMatrix2x4dv"); + biz_glUniformMatrix3x2dv = load("glUniformMatrix3x2dv"); + biz_glUniformMatrix3x4dv = load("glUniformMatrix3x4dv"); + biz_glUniformMatrix4x2dv = load("glUniformMatrix4x2dv"); + biz_glUniformMatrix4x3dv = load("glUniformMatrix4x3dv"); + biz_glGetUniformdv = load("glGetUniformdv"); + biz_glGetSubroutineUniformLocation = load("glGetSubroutineUniformLocation"); + biz_glGetSubroutineIndex = load("glGetSubroutineIndex"); + biz_glGetActiveSubroutineUniformiv = load("glGetActiveSubroutineUniformiv"); + biz_glGetActiveSubroutineUniformName = load("glGetActiveSubroutineUniformName"); + biz_glGetActiveSubroutineName = load("glGetActiveSubroutineName"); + biz_glUniformSubroutinesuiv = load("glUniformSubroutinesuiv"); + biz_glGetUniformSubroutineuiv = load("glGetUniformSubroutineuiv"); + biz_glGetProgramStageiv = load("glGetProgramStageiv"); + biz_glPatchParameteri = load("glPatchParameteri"); + biz_glPatchParameterfv = load("glPatchParameterfv"); + biz_glBindTransformFeedback = load("glBindTransformFeedback"); + biz_glDeleteTransformFeedbacks = load("glDeleteTransformFeedbacks"); + biz_glGenTransformFeedbacks = load("glGenTransformFeedbacks"); + biz_glIsTransformFeedback = load("glIsTransformFeedback"); + biz_glPauseTransformFeedback = load("glPauseTransformFeedback"); + biz_glResumeTransformFeedback = load("glResumeTransformFeedback"); + biz_glDrawTransformFeedback = load("glDrawTransformFeedback"); + biz_glDrawTransformFeedbackStream = load("glDrawTransformFeedbackStream"); + biz_glBeginQueryIndexed = load("glBeginQueryIndexed"); + biz_glEndQueryIndexed = load("glEndQueryIndexed"); + biz_glGetQueryIndexediv = load("glGetQueryIndexediv"); // 4.1 - biz_glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)load("glReleaseShaderCompiler"); - biz_glShaderBinary = (PFNGLSHADERBINARYPROC)load("glShaderBinary"); - biz_glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)load("glGetShaderPrecisionFormat"); - biz_glDepthRangef = (PFNGLDEPTHRANGEFPROC)load("glDepthRangef"); - biz_glClearDepthf = (PFNGLCLEARDEPTHFPROC)load("glClearDepthf"); - biz_glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)load("glGetProgramBinary"); - biz_glProgramBinary = (PFNGLPROGRAMBINARYPROC)load("glProgramBinary"); - biz_glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)load("glProgramParameteri"); - biz_glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)load("glUseProgramStages"); - biz_glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)load("glActiveShaderProgram"); - biz_glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)load("glCreateShaderProgramv"); - biz_glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)load("glBindProgramPipeline"); - biz_glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)load("glDeleteProgramPipelines"); - biz_glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)load("glGenProgramPipelines"); - biz_glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)load("glIsProgramPipeline"); - biz_glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)load("glGetProgramPipelineiv"); - biz_glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)load("glProgramUniform1i"); - biz_glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)load("glProgramUniform1iv"); - biz_glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)load("glProgramUniform1f"); - biz_glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)load("glProgramUniform1fv"); - biz_glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)load("glProgramUniform1d"); - biz_glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)load("glProgramUniform1dv"); - biz_glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)load("glProgramUniform1ui"); - biz_glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)load("glProgramUniform1uiv"); - biz_glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)load("glProgramUniform2i"); - biz_glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)load("glProgramUniform2iv"); - biz_glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)load("glProgramUniform2f"); - biz_glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)load("glProgramUniform2fv"); - biz_glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)load("glProgramUniform2d"); - biz_glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)load("glProgramUniform2dv"); - biz_glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)load("glProgramUniform2ui"); - biz_glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)load("glProgramUniform2uiv"); - biz_glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)load("glProgramUniform3i"); - biz_glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)load("glProgramUniform3iv"); - biz_glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)load("glProgramUniform3f"); - biz_glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)load("glProgramUniform3fv"); - biz_glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)load("glProgramUniform3d"); - biz_glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)load("glProgramUniform3dv"); - biz_glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)load("glProgramUniform3ui"); - biz_glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)load("glProgramUniform3uiv"); - biz_glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)load("glProgramUniform4i"); - biz_glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)load("glProgramUniform4iv"); - biz_glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)load("glProgramUniform4f"); - biz_glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)load("glProgramUniform4fv"); - biz_glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)load("glProgramUniform4d"); - biz_glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)load("glProgramUniform4dv"); - biz_glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)load("glProgramUniform4ui"); - biz_glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)load("glProgramUniform4uiv"); - biz_glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)load("glProgramUniformMatrix2fv"); - biz_glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)load("glProgramUniformMatrix3fv"); - biz_glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)load("glProgramUniformMatrix4fv"); - biz_glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)load("glProgramUniformMatrix2dv"); - biz_glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)load("glProgramUniformMatrix3dv"); - biz_glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)load("glProgramUniformMatrix4dv"); - biz_glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)load("glProgramUniformMatrix2x3fv"); - biz_glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)load("glProgramUniformMatrix3x2fv"); - biz_glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)load("glProgramUniformMatrix2x4fv"); - biz_glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)load("glProgramUniformMatrix4x2fv"); - biz_glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)load("glProgramUniformMatrix3x4fv"); - biz_glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)load("glProgramUniformMatrix4x3fv"); - biz_glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)load("glProgramUniformMatrix2x3dv"); - biz_glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)load("glProgramUniformMatrix3x2dv"); - biz_glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)load("glProgramUniformMatrix2x4dv"); - biz_glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)load("glProgramUniformMatrix4x2dv"); - biz_glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)load("glProgramUniformMatrix3x4dv"); - biz_glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)load("glProgramUniformMatrix4x3dv"); - biz_glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)load("glValidateProgramPipeline"); - biz_glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)load("glGetProgramPipelineInfoLog"); - biz_glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)load("glVertexAttribL1d"); - biz_glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)load("glVertexAttribL2d"); - biz_glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)load("glVertexAttribL3d"); - biz_glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)load("glVertexAttribL4d"); - biz_glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)load("glVertexAttribL1dv"); - biz_glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)load("glVertexAttribL2dv"); - biz_glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)load("glVertexAttribL3dv"); - biz_glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)load("glVertexAttribL4dv"); - biz_glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)load("glVertexAttribLPointer"); - biz_glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)load("glGetVertexAttribLdv"); - biz_glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)load("glViewportArrayv"); - biz_glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)load("glViewportIndexedf"); - biz_glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)load("glViewportIndexedfv"); - biz_glScissorArrayv = (PFNGLSCISSORARRAYVPROC)load("glScissorArrayv"); - biz_glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)load("glScissorIndexed"); - biz_glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)load("glScissorIndexedv"); - biz_glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)load("glDepthRangeArrayv"); - biz_glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)load("glDepthRangeIndexed"); - biz_glGetFloati_v = (PFNGLGETFLOATI_VPROC)load("glGetFloati_v"); - biz_glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)load("glGetDoublei_v"); + biz_glReleaseShaderCompiler = load("glReleaseShaderCompiler"); + biz_glShaderBinary = load("glShaderBinary"); + biz_glGetShaderPrecisionFormat = load("glGetShaderPrecisionFormat"); + biz_glDepthRangef = load("glDepthRangef"); + biz_glClearDepthf = load("glClearDepthf"); + biz_glGetProgramBinary = load("glGetProgramBinary"); + biz_glProgramBinary = load("glProgramBinary"); + biz_glProgramParameteri = load("glProgramParameteri"); + biz_glUseProgramStages = load("glUseProgramStages"); + biz_glActiveShaderProgram = load("glActiveShaderProgram"); + biz_glCreateShaderProgramv = load("glCreateShaderProgramv"); + biz_glBindProgramPipeline = load("glBindProgramPipeline"); + biz_glDeleteProgramPipelines = load("glDeleteProgramPipelines"); + biz_glGenProgramPipelines = load("glGenProgramPipelines"); + biz_glIsProgramPipeline = load("glIsProgramPipeline"); + biz_glGetProgramPipelineiv = load("glGetProgramPipelineiv"); + biz_glProgramUniform1i = load("glProgramUniform1i"); + biz_glProgramUniform1iv = load("glProgramUniform1iv"); + biz_glProgramUniform1f = load("glProgramUniform1f"); + biz_glProgramUniform1fv = load("glProgramUniform1fv"); + biz_glProgramUniform1d = load("glProgramUniform1d"); + biz_glProgramUniform1dv = load("glProgramUniform1dv"); + biz_glProgramUniform1ui = load("glProgramUniform1ui"); + biz_glProgramUniform1uiv = load("glProgramUniform1uiv"); + biz_glProgramUniform2i = load("glProgramUniform2i"); + biz_glProgramUniform2iv = load("glProgramUniform2iv"); + biz_glProgramUniform2f = load("glProgramUniform2f"); + biz_glProgramUniform2fv = load("glProgramUniform2fv"); + biz_glProgramUniform2d = load("glProgramUniform2d"); + biz_glProgramUniform2dv = load("glProgramUniform2dv"); + biz_glProgramUniform2ui = load("glProgramUniform2ui"); + biz_glProgramUniform2uiv = load("glProgramUniform2uiv"); + biz_glProgramUniform3i = load("glProgramUniform3i"); + biz_glProgramUniform3iv = load("glProgramUniform3iv"); + biz_glProgramUniform3f = load("glProgramUniform3f"); + biz_glProgramUniform3fv = load("glProgramUniform3fv"); + biz_glProgramUniform3d = load("glProgramUniform3d"); + biz_glProgramUniform3dv = load("glProgramUniform3dv"); + biz_glProgramUniform3ui = load("glProgramUniform3ui"); + biz_glProgramUniform3uiv = load("glProgramUniform3uiv"); + biz_glProgramUniform4i = load("glProgramUniform4i"); + biz_glProgramUniform4iv = load("glProgramUniform4iv"); + biz_glProgramUniform4f = load("glProgramUniform4f"); + biz_glProgramUniform4fv = load("glProgramUniform4fv"); + biz_glProgramUniform4d = load("glProgramUniform4d"); + biz_glProgramUniform4dv = load("glProgramUniform4dv"); + biz_glProgramUniform4ui = load("glProgramUniform4ui"); + biz_glProgramUniform4uiv = load("glProgramUniform4uiv"); + biz_glProgramUniformMatrix2fv = load("glProgramUniformMatrix2fv"); + biz_glProgramUniformMatrix3fv = load("glProgramUniformMatrix3fv"); + biz_glProgramUniformMatrix4fv = load("glProgramUniformMatrix4fv"); + biz_glProgramUniformMatrix2dv = load("glProgramUniformMatrix2dv"); + biz_glProgramUniformMatrix3dv = load("glProgramUniformMatrix3dv"); + biz_glProgramUniformMatrix4dv = load("glProgramUniformMatrix4dv"); + biz_glProgramUniformMatrix2x3fv = load("glProgramUniformMatrix2x3fv"); + biz_glProgramUniformMatrix3x2fv = load("glProgramUniformMatrix3x2fv"); + biz_glProgramUniformMatrix2x4fv = load("glProgramUniformMatrix2x4fv"); + biz_glProgramUniformMatrix4x2fv = load("glProgramUniformMatrix4x2fv"); + biz_glProgramUniformMatrix3x4fv = load("glProgramUniformMatrix3x4fv"); + biz_glProgramUniformMatrix4x3fv = load("glProgramUniformMatrix4x3fv"); + biz_glProgramUniformMatrix2x3dv = load("glProgramUniformMatrix2x3dv"); + biz_glProgramUniformMatrix3x2dv = load("glProgramUniformMatrix3x2dv"); + biz_glProgramUniformMatrix2x4dv = load("glProgramUniformMatrix2x4dv"); + biz_glProgramUniformMatrix4x2dv = load("glProgramUniformMatrix4x2dv"); + biz_glProgramUniformMatrix3x4dv = load("glProgramUniformMatrix3x4dv"); + biz_glProgramUniformMatrix4x3dv = load("glProgramUniformMatrix4x3dv"); + biz_glValidateProgramPipeline = load("glValidateProgramPipeline"); + biz_glGetProgramPipelineInfoLog = load("glGetProgramPipelineInfoLog"); + biz_glVertexAttribL1d = load("glVertexAttribL1d"); + biz_glVertexAttribL2d = load("glVertexAttribL2d"); + biz_glVertexAttribL3d = load("glVertexAttribL3d"); + biz_glVertexAttribL4d = load("glVertexAttribL4d"); + biz_glVertexAttribL1dv = load("glVertexAttribL1dv"); + biz_glVertexAttribL2dv = load("glVertexAttribL2dv"); + biz_glVertexAttribL3dv = load("glVertexAttribL3dv"); + biz_glVertexAttribL4dv = load("glVertexAttribL4dv"); + biz_glVertexAttribLPointer = load("glVertexAttribLPointer"); + biz_glGetVertexAttribLdv = load("glGetVertexAttribLdv"); + biz_glViewportArrayv = load("glViewportArrayv"); + biz_glViewportIndexedf = load("glViewportIndexedf"); + biz_glViewportIndexedfv = load("glViewportIndexedfv"); + biz_glScissorArrayv = load("glScissorArrayv"); + biz_glScissorIndexed = load("glScissorIndexed"); + biz_glScissorIndexedv = load("glScissorIndexedv"); + biz_glDepthRangeArrayv = load("glDepthRangeArrayv"); + biz_glDepthRangeIndexed = load("glDepthRangeIndexed"); + biz_glGetFloati_v = load("glGetFloati_v"); + biz_glGetDoublei_v = load("glGetDoublei_v"); // 4.2 - biz_glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)load("glDrawArraysInstancedBaseInstance"); - biz_glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)load("glDrawElementsInstancedBaseInstance"); - biz_glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)load("glDrawElementsInstancedBaseVertexBaseInstance"); - biz_glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)load("glGetInternalformativ"); - biz_glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)load("glGetActiveAtomicCounterBufferiv"); - biz_glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)load("glBindImageTexture"); - biz_glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)load("glMemoryBarrier"); - biz_glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)load("glTexStorage1D"); - biz_glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)load("glTexStorage2D"); - biz_glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)load("glTexStorage3D"); - biz_glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)load("glDrawTransformFeedbackInstanced"); - biz_glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)load("glDrawTransformFeedbackStreamInstanced"); + biz_glDrawArraysInstancedBaseInstance = load("glDrawArraysInstancedBaseInstance"); + biz_glDrawElementsInstancedBaseInstance = load("glDrawElementsInstancedBaseInstance"); + biz_glDrawElementsInstancedBaseVertexBaseInstance = load("glDrawElementsInstancedBaseVertexBaseInstance"); + biz_glGetInternalformativ = load("glGetInternalformativ"); + biz_glGetActiveAtomicCounterBufferiv = load("glGetActiveAtomicCounterBufferiv"); + biz_glBindImageTexture = load("glBindImageTexture"); + biz_glMemoryBarrier = load("glMemoryBarrier"); + biz_glTexStorage1D = load("glTexStorage1D"); + biz_glTexStorage2D = load("glTexStorage2D"); + biz_glTexStorage3D = load("glTexStorage3D"); + biz_glDrawTransformFeedbackInstanced = load("glDrawTransformFeedbackInstanced"); + biz_glDrawTransformFeedbackStreamInstanced = load("glDrawTransformFeedbackStreamInstanced"); // 4.3 - biz_glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)load("glClearBufferData"); - biz_glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)load("glClearBufferSubData"); - biz_glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)load("glDispatchCompute"); - biz_glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)load("glDispatchComputeIndirect"); - biz_glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)load("glCopyImageSubData"); - biz_glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)load("glFramebufferParameteri"); - biz_glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)load("glGetFramebufferParameteriv"); - biz_glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)load("glGetInternalformati64v"); - biz_glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)load("glInvalidateTexSubImage"); - biz_glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)load("glInvalidateTexImage"); - biz_glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)load("glInvalidateBufferSubData"); - biz_glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)load("glInvalidateBufferData"); - biz_glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)load("glInvalidateFramebuffer"); - biz_glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)load("glInvalidateSubFramebuffer"); - biz_glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)load("glMultiDrawArraysIndirect"); - biz_glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)load("glMultiDrawElementsIndirect"); - biz_glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)load("glGetProgramInterfaceiv"); - biz_glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)load("glGetProgramResourceIndex"); - biz_glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)load("glGetProgramResourceName"); - biz_glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)load("glGetProgramResourceiv"); - biz_glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)load("glGetProgramResourceLocation"); - biz_glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)load("glGetProgramResourceLocationIndex"); - biz_glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)load("glShaderStorageBlockBinding"); - biz_glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)load("glTexBufferRange"); - biz_glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)load("glTexStorage2DMultisample"); - biz_glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)load("glTexStorage3DMultisample"); - biz_glTextureView = (PFNGLTEXTUREVIEWPROC)load("glTextureView"); - biz_glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)load("glBindVertexBuffer"); - biz_glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)load("glVertexAttribFormat"); - biz_glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)load("glVertexAttribIFormat"); - biz_glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)load("glVertexAttribLFormat"); - biz_glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)load("glVertexAttribBinding"); - biz_glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)load("glVertexBindingDivisor"); - biz_glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)load("glDebugMessageControl"); - biz_glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)load("glDebugMessageInsert"); - biz_glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)load("glDebugMessageCallback"); - biz_glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)load("glGetDebugMessageLog"); - biz_glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)load("glPushDebugGroup"); - biz_glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)load("glPopDebugGroup"); - biz_glObjectLabel = (PFNGLOBJECTLABELPROC)load("glObjectLabel"); - biz_glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)load("glGetObjectLabel"); - biz_glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)load("glObjectPtrLabel"); - biz_glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)load("glGetObjectPtrLabel"); - biz_glGetPointerv = (PFNGLGETPOINTERVPROC)load("glGetPointerv"); + biz_glClearBufferData = load("glClearBufferData"); + biz_glClearBufferSubData = load("glClearBufferSubData"); + biz_glDispatchCompute = load("glDispatchCompute"); + biz_glDispatchComputeIndirect = load("glDispatchComputeIndirect"); + biz_glCopyImageSubData = load("glCopyImageSubData"); + biz_glFramebufferParameteri = load("glFramebufferParameteri"); + biz_glGetFramebufferParameteriv = load("glGetFramebufferParameteriv"); + biz_glGetInternalformati64v = load("glGetInternalformati64v"); + biz_glInvalidateTexSubImage = load("glInvalidateTexSubImage"); + biz_glInvalidateTexImage = load("glInvalidateTexImage"); + biz_glInvalidateBufferSubData = load("glInvalidateBufferSubData"); + biz_glInvalidateBufferData = load("glInvalidateBufferData"); + biz_glInvalidateFramebuffer = load("glInvalidateFramebuffer"); + biz_glInvalidateSubFramebuffer = load("glInvalidateSubFramebuffer"); + biz_glMultiDrawArraysIndirect = load("glMultiDrawArraysIndirect"); + biz_glMultiDrawElementsIndirect = load("glMultiDrawElementsIndirect"); + biz_glGetProgramInterfaceiv = load("glGetProgramInterfaceiv"); + biz_glGetProgramResourceIndex = load("glGetProgramResourceIndex"); + biz_glGetProgramResourceName = load("glGetProgramResourceName"); + biz_glGetProgramResourceiv = load("glGetProgramResourceiv"); + biz_glGetProgramResourceLocation = load("glGetProgramResourceLocation"); + biz_glGetProgramResourceLocationIndex = load("glGetProgramResourceLocationIndex"); + biz_glShaderStorageBlockBinding = load("glShaderStorageBlockBinding"); + biz_glTexBufferRange = load("glTexBufferRange"); + biz_glTexStorage2DMultisample = load("glTexStorage2DMultisample"); + biz_glTexStorage3DMultisample = load("glTexStorage3DMultisample"); + biz_glTextureView = load("glTextureView"); + biz_glBindVertexBuffer = load("glBindVertexBuffer"); + biz_glVertexAttribFormat = load("glVertexAttribFormat"); + biz_glVertexAttribIFormat = load("glVertexAttribIFormat"); + biz_glVertexAttribLFormat = load("glVertexAttribLFormat"); + biz_glVertexAttribBinding = load("glVertexAttribBinding"); + biz_glVertexBindingDivisor = load("glVertexBindingDivisor"); + biz_glDebugMessageControl = load("glDebugMessageControl"); + biz_glDebugMessageInsert = load("glDebugMessageInsert"); + biz_glDebugMessageCallback = load("glDebugMessageCallback"); + biz_glGetDebugMessageLog = load("glGetDebugMessageLog"); + biz_glPushDebugGroup = load("glPushDebugGroup"); + biz_glPopDebugGroup = load("glPopDebugGroup"); + biz_glObjectLabel = load("glObjectLabel"); + biz_glGetObjectLabel = load("glGetObjectLabel"); + biz_glObjectPtrLabel = load("glObjectPtrLabel"); + biz_glGetObjectPtrLabel = load("glGetObjectPtrLabel"); + biz_glGetPointerv = load("glGetPointerv"); } +ECL_INVISIBLE bool IsWinAPI; + void LoadGL(LoadGLProc load, LoadGLVersion version, bool isWinApi) { switch (version) diff --git a/waterbox/melon/BizPlatform/BizOGL.h b/waterbox/melon/BizPlatform/BizOGL.h index 74fe39741e..c88ff5f96e 100644 --- a/waterbox/melon/BizPlatform/BizOGL.h +++ b/waterbox/melon/BizPlatform/BizOGL.h @@ -10,8 +10,7 @@ #define __gl_h_ #include - -#include +#include namespace BizOGL { @@ -27,13 +26,50 @@ enum class LoadGLVersion void LoadGL(LoadGLProc load, LoadGLVersion version, bool isWinApi); +extern bool IsWinAPI; + +template +class GLFunctor; + +template +class GLFunctor +{ + using GLFunc = Result (*)(Args...); + +public: + explicit operator bool() const + { + return glProc != nullptr; + } + + Result operator()(Args... args) const + { + if (IsWinAPI) + { + using WinAPIGLFunc = __attribute__((ms_abi)) GLFunc; + return reinterpret_cast(glProc)(std::forward(args)...); + } + + return glProc(std::forward(args)...); + } + + GLFunc& operator=(void* proc) + { + glProc = reinterpret_cast(proc); + return glProc; + } + + bool operator==(const GLFunc& proc) const + { + return glProc == proc; + } + +private: + GLFunc glProc = nullptr; +}; + } -#define GLAPI ECL_INVISIBLE extern "C" - -GLAPI bool IsWinAPI; -#define WRAP_PFN(pfn, ...) (IsWinAPI ? ((__attribute__((ms_abi)) decltype(pfn))pfn)(__VA_ARGS__) : pfn(__VA_ARGS__)) - typedef unsigned int GLenum; typedef unsigned char GLboolean; typedef unsigned int GLbitfield; @@ -1377,1727 +1413,1163 @@ typedef void (*GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity, #define GL_STACK_OVERFLOW 0x0503 #define GL_VERSION_1_0 1 -typedef void (*PFNGLCULLFACEPROC)(GLenum mode); -GLAPI PFNGLCULLFACEPROC biz_glCullFace; -#define glCullFace(...) WRAP_PFN(biz_glCullFace, __VA_ARGS__) -typedef void (*PFNGLFRONTFACEPROC)(GLenum mode); -GLAPI PFNGLFRONTFACEPROC biz_glFrontFace; -#define glFrontFace(...) WRAP_PFN(biz_glFrontFace, __VA_ARGS__) -typedef void (*PFNGLHINTPROC)(GLenum target, GLenum mode); -GLAPI PFNGLHINTPROC biz_glHint; -#define glHint(...) WRAP_PFN(biz_glHint, __VA_ARGS__) -typedef void (*PFNGLLINEWIDTHPROC)(GLfloat width); -GLAPI PFNGLLINEWIDTHPROC biz_glLineWidth; -#define glLineWidth(...) WRAP_PFN(biz_glLineWidth, __VA_ARGS__) -typedef void (*PFNGLPOINTSIZEPROC)(GLfloat size); -GLAPI PFNGLPOINTSIZEPROC biz_glPointSize; -#define glPointSize(...) WRAP_PFN(biz_glPointSize, __VA_ARGS__) -typedef void (*PFNGLPOLYGONMODEPROC)(GLenum face, GLenum mode); -GLAPI PFNGLPOLYGONMODEPROC biz_glPolygonMode; -#define glPolygonMode(...) WRAP_PFN(biz_glPolygonMode, __VA_ARGS__) -typedef void (*PFNGLSCISSORPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI PFNGLSCISSORPROC biz_glScissor; -#define glScissor(...) WRAP_PFN(biz_glScissor, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERFPROC)(GLenum target, GLenum pname, GLfloat param); -GLAPI PFNGLTEXPARAMETERFPROC biz_glTexParameterf; -#define glTexParameterf(...) WRAP_PFN(biz_glTexParameterf, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERFVPROC)(GLenum target, GLenum pname, const GLfloat *params); -GLAPI PFNGLTEXPARAMETERFVPROC biz_glTexParameterfv; -#define glTexParameterfv(...) WRAP_PFN(biz_glTexParameterfv, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); -GLAPI PFNGLTEXPARAMETERIPROC biz_glTexParameteri; -#define glTexParameteri(...) WRAP_PFN(biz_glTexParameteri, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERIVPROC)(GLenum target, GLenum pname, const GLint *params); -GLAPI PFNGLTEXPARAMETERIVPROC biz_glTexParameteriv; -#define glTexParameteriv(...) WRAP_PFN(biz_glTexParameteriv, __VA_ARGS__) -typedef void (*PFNGLTEXIMAGE1DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXIMAGE1DPROC biz_glTexImage1D; -#define glTexImage1D(...) WRAP_PFN(biz_glTexImage1D, __VA_ARGS__) -typedef void (*PFNGLTEXIMAGE2DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXIMAGE2DPROC biz_glTexImage2D; -#define glTexImage2D(...) WRAP_PFN(biz_glTexImage2D, __VA_ARGS__) -typedef void (*PFNGLDRAWBUFFERPROC)(GLenum buf); -GLAPI PFNGLDRAWBUFFERPROC biz_glDrawBuffer; -#define glDrawBuffer(...) WRAP_PFN(biz_glDrawBuffer, __VA_ARGS__) -typedef void (*PFNGLCLEARPROC)(GLbitfield mask); -GLAPI PFNGLCLEARPROC biz_glClear; -#define glClear(...) WRAP_PFN(biz_glClear, __VA_ARGS__) -typedef void (*PFNGLCLEARCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI PFNGLCLEARCOLORPROC biz_glClearColor; -#define glClearColor(...) WRAP_PFN(biz_glClearColor, __VA_ARGS__) -typedef void (*PFNGLCLEARSTENCILPROC)(GLint s); -GLAPI PFNGLCLEARSTENCILPROC biz_glClearStencil; -#define glClearStencil(...) WRAP_PFN(biz_glClearStencil, __VA_ARGS__) -typedef void (*PFNGLCLEARDEPTHPROC)(GLdouble depth); -GLAPI PFNGLCLEARDEPTHPROC biz_glClearDepth; -#define glClearDepth(...) WRAP_PFN(biz_glClearDepth, __VA_ARGS__) -typedef void (*PFNGLSTENCILMASKPROC)(GLuint mask); -GLAPI PFNGLSTENCILMASKPROC biz_glStencilMask; -#define glStencilMask(...) WRAP_PFN(biz_glStencilMask, __VA_ARGS__) -typedef void (*PFNGLCOLORMASKPROC)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); -GLAPI PFNGLCOLORMASKPROC biz_glColorMask; -#define glColorMask(...) WRAP_PFN(biz_glColorMask, __VA_ARGS__) -typedef void (*PFNGLDEPTHMASKPROC)(GLboolean flag); -GLAPI PFNGLDEPTHMASKPROC biz_glDepthMask; -#define glDepthMask(...) WRAP_PFN(biz_glDepthMask, __VA_ARGS__) -typedef void (*PFNGLDISABLEPROC)(GLenum cap); -GLAPI PFNGLDISABLEPROC biz_glDisable; -#define glDisable(...) WRAP_PFN(biz_glDisable, __VA_ARGS__) -typedef void (*PFNGLENABLEPROC)(GLenum cap); -GLAPI PFNGLENABLEPROC biz_glEnable; -#define glEnable(...) WRAP_PFN(biz_glEnable, __VA_ARGS__) -typedef void (*PFNGLFINISHPROC)(void); -GLAPI PFNGLFINISHPROC biz_glFinish; -#define glFinish(...) WRAP_PFN(biz_glFinish, __VA_ARGS__) -typedef void (*PFNGLFLUSHPROC)(void); -GLAPI PFNGLFLUSHPROC biz_glFlush; -#define glFlush(...) WRAP_PFN(biz_glFlush, __VA_ARGS__) -typedef void (*PFNGLBLENDFUNCPROC)(GLenum sfactor, GLenum dfactor); -GLAPI PFNGLBLENDFUNCPROC biz_glBlendFunc; -#define glBlendFunc(...) WRAP_PFN(biz_glBlendFunc, __VA_ARGS__) -typedef void (*PFNGLLOGICOPPROC)(GLenum opcode); -GLAPI PFNGLLOGICOPPROC biz_glLogicOp; -#define glLogicOp(...) WRAP_PFN(biz_glLogicOp, __VA_ARGS__) -typedef void (*PFNGLSTENCILFUNCPROC)(GLenum func, GLint ref, GLuint mask); -GLAPI PFNGLSTENCILFUNCPROC biz_glStencilFunc; -#define glStencilFunc(...) WRAP_PFN(biz_glStencilFunc, __VA_ARGS__) -typedef void (*PFNGLSTENCILOPPROC)(GLenum fail, GLenum zfail, GLenum zpass); -GLAPI PFNGLSTENCILOPPROC biz_glStencilOp; -#define glStencilOp(...) WRAP_PFN(biz_glStencilOp, __VA_ARGS__) -typedef void (*PFNGLDEPTHFUNCPROC)(GLenum func); -GLAPI PFNGLDEPTHFUNCPROC biz_glDepthFunc; -#define glDepthFunc(...) WRAP_PFN(biz_glDepthFunc, __VA_ARGS__) -typedef void (*PFNGLPIXELSTOREFPROC)(GLenum pname, GLfloat param); -GLAPI PFNGLPIXELSTOREFPROC biz_glPixelStoref; -#define glPixelStoref(...) WRAP_PFN(biz_glPixelStoref, __VA_ARGS__) -typedef void (*PFNGLPIXELSTOREIPROC)(GLenum pname, GLint param); -GLAPI PFNGLPIXELSTOREIPROC biz_glPixelStorei; -#define glPixelStorei(...) WRAP_PFN(biz_glPixelStorei, __VA_ARGS__) -typedef void (*PFNGLREADBUFFERPROC)(GLenum src); -GLAPI PFNGLREADBUFFERPROC biz_glReadBuffer; -#define glReadBuffer(...) WRAP_PFN(biz_glReadBuffer, __VA_ARGS__) -typedef void (*PFNGLREADPIXELSPROC)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels); -GLAPI PFNGLREADPIXELSPROC biz_glReadPixels; -#define glReadPixels(...) WRAP_PFN(biz_glReadPixels, __VA_ARGS__) -typedef void (*PFNGLGETBOOLEANVPROC)(GLenum pname, GLboolean *data); -GLAPI PFNGLGETBOOLEANVPROC biz_glGetBooleanv; -#define glGetBooleanv(...) WRAP_PFN(biz_glGetBooleanv, __VA_ARGS__) -typedef void (*PFNGLGETDOUBLEVPROC)(GLenum pname, GLdouble *data); -GLAPI PFNGLGETDOUBLEVPROC biz_glGetDoublev; -#define glGetDoublev(...) WRAP_PFN(biz_glGetDoublev, __VA_ARGS__) -typedef GLenum (*PFNGLGETERRORPROC)(void); -GLAPI PFNGLGETERRORPROC biz_glGetError; -#define glGetError(...) WRAP_PFN(biz_glGetError, __VA_ARGS__) -typedef void (*PFNGLGETFLOATVPROC)(GLenum pname, GLfloat *data); -GLAPI PFNGLGETFLOATVPROC biz_glGetFloatv; -#define glGetFloatv(...) WRAP_PFN(biz_glGetFloatv, __VA_ARGS__) -typedef void (*PFNGLGETINTEGERVPROC)(GLenum pname, GLint *data); -GLAPI PFNGLGETINTEGERVPROC biz_glGetIntegerv; -#define glGetIntegerv(...) WRAP_PFN(biz_glGetIntegerv, __VA_ARGS__) -typedef const GLubyte * (*PFNGLGETSTRINGPROC)(GLenum name); -GLAPI PFNGLGETSTRINGPROC biz_glGetString; -#define glGetString(...) WRAP_PFN(biz_glGetString, __VA_ARGS__) -typedef void (*PFNGLGETTEXIMAGEPROC)(GLenum target, GLint level, GLenum format, GLenum type, void *pixels); -GLAPI PFNGLGETTEXIMAGEPROC biz_glGetTexImage; -#define glGetTexImage(...) WRAP_PFN(biz_glGetTexImage, __VA_ARGS__) -typedef void (*PFNGLGETTEXPARAMETERFVPROC)(GLenum target, GLenum pname, GLfloat *params); -GLAPI PFNGLGETTEXPARAMETERFVPROC biz_glGetTexParameterfv; -#define glGetTexParameterfv(...) WRAP_PFN(biz_glGetTexParameterfv, __VA_ARGS__) -typedef void (*PFNGLGETTEXPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETTEXPARAMETERIVPROC biz_glGetTexParameteriv; -#define glGetTexParameteriv(...) WRAP_PFN(biz_glGetTexParameteriv, __VA_ARGS__) -typedef void (*PFNGLGETTEXLEVELPARAMETERFVPROC)(GLenum target, GLint level, GLenum pname, GLfloat *params); -GLAPI PFNGLGETTEXLEVELPARAMETERFVPROC biz_glGetTexLevelParameterfv; -#define glGetTexLevelParameterfv(...) WRAP_PFN(biz_glGetTexLevelParameterfv, __VA_ARGS__) -typedef void (*PFNGLGETTEXLEVELPARAMETERIVPROC)(GLenum target, GLint level, GLenum pname, GLint *params); -GLAPI PFNGLGETTEXLEVELPARAMETERIVPROC biz_glGetTexLevelParameteriv; -#define glGetTexLevelParameteriv(...) WRAP_PFN(biz_glGetTexLevelParameteriv, __VA_ARGS__) -typedef GLboolean (*PFNGLISENABLEDPROC)(GLenum cap); -GLAPI PFNGLISENABLEDPROC biz_glIsEnabled; -#define glIsEnabled(...) WRAP_PFN(biz_glIsEnabled, __VA_ARGS__) -typedef void (*PFNGLDEPTHRANGEPROC)(GLdouble n, GLdouble f); -GLAPI PFNGLDEPTHRANGEPROC biz_glDepthRange; -#define glDepthRange(...) WRAP_PFN(biz_glDepthRange, __VA_ARGS__) -typedef void (*PFNGLVIEWPORTPROC)(GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI PFNGLVIEWPORTPROC biz_glViewport; -#define glViewport(...) WRAP_PFN(biz_glViewport, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glCullFace; +#define glCullFace biz_glCullFace +extern BizOGL::GLFunctor biz_glFrontFace; +#define glFrontFace biz_glFrontFace +extern BizOGL::GLFunctor biz_glHint; +#define glHint biz_glHint +extern BizOGL::GLFunctor biz_glLineWidth; +#define glLineWidth biz_glLineWidth +extern BizOGL::GLFunctor biz_glPointSize; +#define glPointSize biz_glPointSize +extern BizOGL::GLFunctor biz_glPolygonMode; +#define glPolygonMode biz_glPolygonMode +extern BizOGL::GLFunctor biz_glScissor; +#define glScissor biz_glScissor +extern BizOGL::GLFunctor biz_glTexParameterf; +#define glTexParameterf biz_glTexParameterf +extern BizOGL::GLFunctor biz_glTexParameterfv; +#define glTexParameterfv biz_glTexParameterfv +extern BizOGL::GLFunctor biz_glTexParameteri; +#define glTexParameteri biz_glTexParameteri +extern BizOGL::GLFunctor biz_glTexParameteriv; +#define glTexParameteriv biz_glTexParameteriv +extern BizOGL::GLFunctor biz_glTexImage1D; +#define glTexImage1D biz_glTexImage1D +extern BizOGL::GLFunctor biz_glTexImage2D; +#define glTexImage2D biz_glTexImage2D +extern BizOGL::GLFunctor biz_glDrawBuffer; +#define glDrawBuffer biz_glDrawBuffer +extern BizOGL::GLFunctor biz_glClear; +#define glClear biz_glClear +extern BizOGL::GLFunctor biz_glClearColor; +#define glClearColor biz_glClearColor +extern BizOGL::GLFunctor biz_glClearStencil; +#define glClearStencil biz_glClearStencil +extern BizOGL::GLFunctor biz_glClearDepth; +#define glClearDepth biz_glClearDepth +extern BizOGL::GLFunctor biz_glStencilMask; +#define glStencilMask biz_glStencilMask +extern BizOGL::GLFunctor biz_glColorMask; +#define glColorMask biz_glColorMask +extern BizOGL::GLFunctor biz_glDepthMask; +#define glDepthMask biz_glDepthMask +extern BizOGL::GLFunctor biz_glDisable; +#define glDisable biz_glDisable +extern BizOGL::GLFunctor biz_glEnable; +#define glEnable biz_glEnable +extern BizOGL::GLFunctor biz_glFinish; +#define glFinish biz_glFinish +extern BizOGL::GLFunctor biz_glFlush; +#define glFlush biz_glFlush +extern BizOGL::GLFunctor biz_glBlendFunc; +#define glBlendFunc biz_glBlendFunc +extern BizOGL::GLFunctor biz_glLogicOp; +#define glLogicOp biz_glLogicOp +extern BizOGL::GLFunctor biz_glStencilFunc; +#define glStencilFunc biz_glStencilFunc +extern BizOGL::GLFunctor biz_glStencilOp; +#define glStencilOp biz_glStencilOp +extern BizOGL::GLFunctor biz_glDepthFunc; +#define glDepthFunc biz_glDepthFunc +extern BizOGL::GLFunctor biz_glPixelStoref; +#define glPixelStoref biz_glPixelStoref +extern BizOGL::GLFunctor biz_glPixelStorei; +#define glPixelStorei biz_glPixelStorei +extern BizOGL::GLFunctor biz_glReadBuffer; +#define glReadBuffer biz_glReadBuffer +extern BizOGL::GLFunctor biz_glReadPixels; +#define glReadPixels biz_glReadPixels +extern BizOGL::GLFunctor biz_glGetBooleanv; +#define glGetBooleanv biz_glGetBooleanv +extern BizOGL::GLFunctor biz_glGetDoublev; +#define glGetDoublev biz_glGetDoublev +extern BizOGL::GLFunctor biz_glGetError; +#define glGetError biz_glGetError +extern BizOGL::GLFunctor biz_glGetFloatv; +#define glGetFloatv biz_glGetFloatv +extern BizOGL::GLFunctor biz_glGetIntegerv; +#define glGetIntegerv biz_glGetIntegerv +extern BizOGL::GLFunctor biz_glGetString; +#define glGetString biz_glGetString +extern BizOGL::GLFunctor biz_glGetTexImage; +#define glGetTexImage biz_glGetTexImage +extern BizOGL::GLFunctor biz_glGetTexParameterfv; +#define glGetTexParameterfv biz_glGetTexParameterfv +extern BizOGL::GLFunctor biz_glGetTexParameteriv; +#define glGetTexParameteriv biz_glGetTexParameteriv +extern BizOGL::GLFunctor biz_glGetTexLevelParameterfv; +#define glGetTexLevelParameterfv biz_glGetTexLevelParameterfv +extern BizOGL::GLFunctor biz_glGetTexLevelParameteriv; +#define glGetTexLevelParameteriv biz_glGetTexLevelParameteriv +extern BizOGL::GLFunctor biz_glIsEnabled; +#define glIsEnabled biz_glIsEnabled +extern BizOGL::GLFunctor biz_glDepthRange; +#define glDepthRange biz_glDepthRange +extern BizOGL::GLFunctor biz_glViewport; +#define glViewport biz_glViewport #define GL_VERSION_1_1 1 -typedef void (*PFNGLDRAWARRAYSPROC)(GLenum mode, GLint first, GLsizei count); -GLAPI PFNGLDRAWARRAYSPROC biz_glDrawArrays; -#define glDrawArrays(...) WRAP_PFN(biz_glDrawArrays, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices); -GLAPI PFNGLDRAWELEMENTSPROC biz_glDrawElements; -#define glDrawElements(...) WRAP_PFN(biz_glDrawElements, __VA_ARGS__) -typedef void (*PFNGLPOLYGONOFFSETPROC)(GLfloat factor, GLfloat units); -GLAPI PFNGLPOLYGONOFFSETPROC biz_glPolygonOffset; -#define glPolygonOffset(...) WRAP_PFN(biz_glPolygonOffset, __VA_ARGS__) -typedef void (*PFNGLCOPYTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); -GLAPI PFNGLCOPYTEXIMAGE1DPROC biz_glCopyTexImage1D; -#define glCopyTexImage1D(...) WRAP_PFN(biz_glCopyTexImage1D, __VA_ARGS__) -typedef void (*PFNGLCOPYTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); -GLAPI PFNGLCOPYTEXIMAGE2DPROC biz_glCopyTexImage2D; -#define glCopyTexImage2D(...) WRAP_PFN(biz_glCopyTexImage2D, __VA_ARGS__) -typedef void (*PFNGLCOPYTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); -GLAPI PFNGLCOPYTEXSUBIMAGE1DPROC biz_glCopyTexSubImage1D; -#define glCopyTexSubImage1D(...) WRAP_PFN(biz_glCopyTexSubImage1D, __VA_ARGS__) -typedef void (*PFNGLCOPYTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI PFNGLCOPYTEXSUBIMAGE2DPROC biz_glCopyTexSubImage2D; -#define glCopyTexSubImage2D(...) WRAP_PFN(biz_glCopyTexSubImage2D, __VA_ARGS__) -typedef void (*PFNGLTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXSUBIMAGE1DPROC biz_glTexSubImage1D; -#define glTexSubImage1D(...) WRAP_PFN(biz_glTexSubImage1D, __VA_ARGS__) -typedef void (*PFNGLTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXSUBIMAGE2DPROC biz_glTexSubImage2D; -#define glTexSubImage2D(...) WRAP_PFN(biz_glTexSubImage2D, __VA_ARGS__) -typedef void (*PFNGLBINDTEXTUREPROC)(GLenum target, GLuint texture); -GLAPI PFNGLBINDTEXTUREPROC biz_glBindTexture; -#define glBindTexture(...) WRAP_PFN(biz_glBindTexture, __VA_ARGS__) -typedef void (*PFNGLDELETETEXTURESPROC)(GLsizei n, const GLuint *textures); -GLAPI PFNGLDELETETEXTURESPROC biz_glDeleteTextures; -#define glDeleteTextures(...) WRAP_PFN(biz_glDeleteTextures, __VA_ARGS__) -typedef void (*PFNGLGENTEXTURESPROC)(GLsizei n, GLuint *textures); -GLAPI PFNGLGENTEXTURESPROC biz_glGenTextures; -#define glGenTextures(...) WRAP_PFN(biz_glGenTextures, __VA_ARGS__) -typedef GLboolean (*PFNGLISTEXTUREPROC)(GLuint texture); -GLAPI PFNGLISTEXTUREPROC biz_glIsTexture; -#define glIsTexture(...) WRAP_PFN(biz_glIsTexture, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glDrawArrays; +#define glDrawArrays biz_glDrawArrays +extern BizOGL::GLFunctor biz_glDrawElements; +#define glDrawElements biz_glDrawElements +extern BizOGL::GLFunctor biz_glPolygonOffset; +#define glPolygonOffset biz_glPolygonOffset +extern BizOGL::GLFunctor biz_glCopyTexImage1D; +#define glCopyTexImage1D biz_glCopyTexImage1D +extern BizOGL::GLFunctor biz_glCopyTexImage2D; +#define glCopyTexImage2D biz_glCopyTexImage2D +extern BizOGL::GLFunctor biz_glCopyTexSubImage1D; +#define glCopyTexSubImage1D biz_glCopyTexSubImage1D +extern BizOGL::GLFunctor biz_glCopyTexSubImage2D; +#define glCopyTexSubImage2D biz_glCopyTexSubImage2D +extern BizOGL::GLFunctor biz_glTexSubImage1D; +#define glTexSubImage1D biz_glTexSubImage1D +extern BizOGL::GLFunctor biz_glTexSubImage2D; +#define glTexSubImage2D biz_glTexSubImage2D +extern BizOGL::GLFunctor biz_glBindTexture; +#define glBindTexture biz_glBindTexture +extern BizOGL::GLFunctor biz_glDeleteTextures; +#define glDeleteTextures biz_glDeleteTextures +extern BizOGL::GLFunctor biz_glGenTextures; +#define glGenTextures biz_glGenTextures +extern BizOGL::GLFunctor biz_glIsTexture; +#define glIsTexture biz_glIsTexture #define GL_VERSION_1_2 1 -typedef void (*PFNGLDRAWRANGEELEMENTSPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); -GLAPI PFNGLDRAWRANGEELEMENTSPROC biz_glDrawRangeElements; -#define glDrawRangeElements(...) WRAP_PFN(biz_glDrawRangeElements, __VA_ARGS__) -typedef void (*PFNGLTEXIMAGE3DPROC)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXIMAGE3DPROC biz_glTexImage3D; -#define glTexImage3D(...) WRAP_PFN(biz_glTexImage3D, __VA_ARGS__) -typedef void (*PFNGLTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); -GLAPI PFNGLTEXSUBIMAGE3DPROC biz_glTexSubImage3D; -#define glTexSubImage3D(...) WRAP_PFN(biz_glTexSubImage3D, __VA_ARGS__) -typedef void (*PFNGLCOPYTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI PFNGLCOPYTEXSUBIMAGE3DPROC biz_glCopyTexSubImage3D; -#define glCopyTexSubImage3D(...) WRAP_PFN(biz_glCopyTexSubImage3D, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glDrawRangeElements; +#define glDrawRangeElements biz_glDrawRangeElements +extern BizOGL::GLFunctor biz_glTexImage3D; +#define glTexImage3D biz_glTexImage3D +extern BizOGL::GLFunctor biz_glTexSubImage3D; +#define glTexSubImage3D biz_glTexSubImage3D +extern BizOGL::GLFunctor biz_glCopyTexSubImage3D; +#define glCopyTexSubImage3D biz_glCopyTexSubImage3D #define GL_VERSION_1_3 1 -typedef void (*PFNGLACTIVETEXTUREPROC)(GLenum texture); -GLAPI PFNGLACTIVETEXTUREPROC biz_glActiveTexture; -#define glActiveTexture(...) WRAP_PFN(biz_glActiveTexture, __VA_ARGS__) -typedef void (*PFNGLSAMPLECOVERAGEPROC)(GLfloat value, GLboolean invert); -GLAPI PFNGLSAMPLECOVERAGEPROC biz_glSampleCoverage; -#define glSampleCoverage(...) WRAP_PFN(biz_glSampleCoverage, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXIMAGE3DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXIMAGE3DPROC biz_glCompressedTexImage3D; -#define glCompressedTexImage3D(...) WRAP_PFN(biz_glCompressedTexImage3D, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXIMAGE2DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXIMAGE2DPROC biz_glCompressedTexImage2D; -#define glCompressedTexImage2D(...) WRAP_PFN(biz_glCompressedTexImage2D, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXIMAGE1DPROC)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXIMAGE1DPROC biz_glCompressedTexImage1D; -#define glCompressedTexImage1D(...) WRAP_PFN(biz_glCompressedTexImage1D, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC biz_glCompressedTexSubImage3D; -#define glCompressedTexSubImage3D(...) WRAP_PFN(biz_glCompressedTexSubImage3D, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC biz_glCompressedTexSubImage2D; -#define glCompressedTexSubImage2D(...) WRAP_PFN(biz_glCompressedTexSubImage2D, __VA_ARGS__) -typedef void (*PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); -GLAPI PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC biz_glCompressedTexSubImage1D; -#define glCompressedTexSubImage1D(...) WRAP_PFN(biz_glCompressedTexSubImage1D, __VA_ARGS__) -typedef void (*PFNGLGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint level, void *img); -GLAPI PFNGLGETCOMPRESSEDTEXIMAGEPROC biz_glGetCompressedTexImage; -#define glGetCompressedTexImage(...) WRAP_PFN(biz_glGetCompressedTexImage, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glActiveTexture; +#define glActiveTexture biz_glActiveTexture +extern BizOGL::GLFunctor biz_glSampleCoverage; +#define glSampleCoverage biz_glSampleCoverage +extern BizOGL::GLFunctor biz_glCompressedTexImage3D; +#define glCompressedTexImage3D biz_glCompressedTexImage3D +extern BizOGL::GLFunctor biz_glCompressedTexImage2D; +#define glCompressedTexImage2D biz_glCompressedTexImage2D +extern BizOGL::GLFunctor biz_glCompressedTexImage1D; +#define glCompressedTexImage1D biz_glCompressedTexImage1D +extern BizOGL::GLFunctor biz_glCompressedTexSubImage3D; +#define glCompressedTexSubImage3D biz_glCompressedTexSubImage3D +extern BizOGL::GLFunctor biz_glCompressedTexSubImage2D; +#define glCompressedTexSubImage2D biz_glCompressedTexSubImage2D +extern BizOGL::GLFunctor biz_glCompressedTexSubImage1D; +#define glCompressedTexSubImage1D biz_glCompressedTexSubImage1D +extern BizOGL::GLFunctor biz_glGetCompressedTexImage; +#define glGetCompressedTexImage biz_glGetCompressedTexImage #define GL_VERSION_1_4 1 -typedef void (*PFNGLBLENDFUNCSEPARATEPROC)(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); -GLAPI PFNGLBLENDFUNCSEPARATEPROC biz_glBlendFuncSeparate; -#define glBlendFuncSeparate(...) WRAP_PFN(biz_glBlendFuncSeparate, __VA_ARGS__) -typedef void (*PFNGLMULTIDRAWARRAYSPROC)(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); -GLAPI PFNGLMULTIDRAWARRAYSPROC biz_glMultiDrawArrays; -#define glMultiDrawArrays(...) WRAP_PFN(biz_glMultiDrawArrays, __VA_ARGS__) -typedef void (*PFNGLMULTIDRAWELEMENTSPROC)(GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); -GLAPI PFNGLMULTIDRAWELEMENTSPROC biz_glMultiDrawElements; -#define glMultiDrawElements(...) WRAP_PFN(biz_glMultiDrawElements, __VA_ARGS__) -typedef void (*PFNGLPOINTPARAMETERFPROC)(GLenum pname, GLfloat param); -GLAPI PFNGLPOINTPARAMETERFPROC biz_glPointParameterf; -#define glPointParameterf(...) WRAP_PFN(biz_glPointParameterf, __VA_ARGS__) -typedef void (*PFNGLPOINTPARAMETERFVPROC)(GLenum pname, const GLfloat *params); -GLAPI PFNGLPOINTPARAMETERFVPROC biz_glPointParameterfv; -#define glPointParameterfv(...) WRAP_PFN(biz_glPointParameterfv, __VA_ARGS__) -typedef void (*PFNGLPOINTPARAMETERIPROC)(GLenum pname, GLint param); -GLAPI PFNGLPOINTPARAMETERIPROC biz_glPointParameteri; -#define glPointParameteri(...) WRAP_PFN(biz_glPointParameteri, __VA_ARGS__) -typedef void (*PFNGLPOINTPARAMETERIVPROC)(GLenum pname, const GLint *params); -GLAPI PFNGLPOINTPARAMETERIVPROC biz_glPointParameteriv; -#define glPointParameteriv(...) WRAP_PFN(biz_glPointParameteriv, __VA_ARGS__) -typedef void (*PFNGLBLENDCOLORPROC)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); -GLAPI PFNGLBLENDCOLORPROC biz_glBlendColor; -#define glBlendColor(...) WRAP_PFN(biz_glBlendColor, __VA_ARGS__) -typedef void (*PFNGLBLENDEQUATIONPROC)(GLenum mode); -GLAPI PFNGLBLENDEQUATIONPROC biz_glBlendEquation; -#define glBlendEquation(...) WRAP_PFN(biz_glBlendEquation, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glBlendFuncSeparate; +#define glBlendFuncSeparate biz_glBlendFuncSeparate +extern BizOGL::GLFunctor biz_glMultiDrawArrays; +#define glMultiDrawArrays biz_glMultiDrawArrays +extern BizOGL::GLFunctor biz_glMultiDrawElements; +#define glMultiDrawElements biz_glMultiDrawElements +extern BizOGL::GLFunctor biz_glPointParameterf; +#define glPointParameterf biz_glPointParameterf +extern BizOGL::GLFunctor biz_glPointParameterfv; +#define glPointParameterfv biz_glPointParameterfv +extern BizOGL::GLFunctor biz_glPointParameteri; +#define glPointParameteri biz_glPointParameteri +extern BizOGL::GLFunctor biz_glPointParameteriv; +#define glPointParameteriv biz_glPointParameteriv +extern BizOGL::GLFunctor biz_glBlendColor; +#define glBlendColor biz_glBlendColor +extern BizOGL::GLFunctor biz_glBlendEquation; +#define glBlendEquation biz_glBlendEquation #define GL_VERSION_1_5 1 -typedef void (*PFNGLGENQUERIESPROC)(GLsizei n, GLuint *ids); -GLAPI PFNGLGENQUERIESPROC biz_glGenQueries; -#define glGenQueries(...) WRAP_PFN(biz_glGenQueries, __VA_ARGS__) -typedef void (*PFNGLDELETEQUERIESPROC)(GLsizei n, const GLuint *ids); -GLAPI PFNGLDELETEQUERIESPROC biz_glDeleteQueries; -#define glDeleteQueries(...) WRAP_PFN(biz_glDeleteQueries, __VA_ARGS__) -typedef GLboolean (*PFNGLISQUERYPROC)(GLuint id); -GLAPI PFNGLISQUERYPROC biz_glIsQuery; -#define glIsQuery(...) WRAP_PFN(biz_glIsQuery, __VA_ARGS__) -typedef void (*PFNGLBEGINQUERYPROC)(GLenum target, GLuint id); -GLAPI PFNGLBEGINQUERYPROC biz_glBeginQuery; -#define glBeginQuery(...) WRAP_PFN(biz_glBeginQuery, __VA_ARGS__) -typedef void (*PFNGLENDQUERYPROC)(GLenum target); -GLAPI PFNGLENDQUERYPROC biz_glEndQuery; -#define glEndQuery(...) WRAP_PFN(biz_glEndQuery, __VA_ARGS__) -typedef void (*PFNGLGETQUERYIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETQUERYIVPROC biz_glGetQueryiv; -#define glGetQueryiv(...) WRAP_PFN(biz_glGetQueryiv, __VA_ARGS__) -typedef void (*PFNGLGETQUERYOBJECTIVPROC)(GLuint id, GLenum pname, GLint *params); -GLAPI PFNGLGETQUERYOBJECTIVPROC biz_glGetQueryObjectiv; -#define glGetQueryObjectiv(...) WRAP_PFN(biz_glGetQueryObjectiv, __VA_ARGS__) -typedef void (*PFNGLGETQUERYOBJECTUIVPROC)(GLuint id, GLenum pname, GLuint *params); -GLAPI PFNGLGETQUERYOBJECTUIVPROC biz_glGetQueryObjectuiv; -#define glGetQueryObjectuiv(...) WRAP_PFN(biz_glGetQueryObjectuiv, __VA_ARGS__) -typedef void (*PFNGLBINDBUFFERPROC)(GLenum target, GLuint buffer); -GLAPI PFNGLBINDBUFFERPROC biz_glBindBuffer; -#define glBindBuffer(...) WRAP_PFN(biz_glBindBuffer, __VA_ARGS__) -typedef void (*PFNGLDELETEBUFFERSPROC)(GLsizei n, const GLuint *buffers); -GLAPI PFNGLDELETEBUFFERSPROC biz_glDeleteBuffers; -#define glDeleteBuffers(...) WRAP_PFN(biz_glDeleteBuffers, __VA_ARGS__) -typedef void (*PFNGLGENBUFFERSPROC)(GLsizei n, GLuint *buffers); -GLAPI PFNGLGENBUFFERSPROC biz_glGenBuffers; -#define glGenBuffers(...) WRAP_PFN(biz_glGenBuffers, __VA_ARGS__) -typedef GLboolean (*PFNGLISBUFFERPROC)(GLuint buffer); -GLAPI PFNGLISBUFFERPROC biz_glIsBuffer; -#define glIsBuffer(...) WRAP_PFN(biz_glIsBuffer, __VA_ARGS__) -typedef void (*PFNGLBUFFERDATAPROC)(GLenum target, GLsizeiptr size, const void *data, GLenum usage); -GLAPI PFNGLBUFFERDATAPROC biz_glBufferData; -#define glBufferData(...) WRAP_PFN(biz_glBufferData, __VA_ARGS__) -typedef void (*PFNGLBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, const void *data); -GLAPI PFNGLBUFFERSUBDATAPROC biz_glBufferSubData; -#define glBufferSubData(...) WRAP_PFN(biz_glBufferSubData, __VA_ARGS__) -typedef void (*PFNGLGETBUFFERSUBDATAPROC)(GLenum target, GLintptr offset, GLsizeiptr size, void *data); -GLAPI PFNGLGETBUFFERSUBDATAPROC biz_glGetBufferSubData; -#define glGetBufferSubData(...) WRAP_PFN(biz_glGetBufferSubData, __VA_ARGS__) -typedef void * (*PFNGLMAPBUFFERPROC)(GLenum target, GLenum access); -GLAPI PFNGLMAPBUFFERPROC biz_glMapBuffer; -#define glMapBuffer(...) WRAP_PFN(biz_glMapBuffer, __VA_ARGS__) -typedef GLboolean (*PFNGLUNMAPBUFFERPROC)(GLenum target); -GLAPI PFNGLUNMAPBUFFERPROC biz_glUnmapBuffer; -#define glUnmapBuffer(...) WRAP_PFN(biz_glUnmapBuffer, __VA_ARGS__) -typedef void (*PFNGLGETBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETBUFFERPARAMETERIVPROC biz_glGetBufferParameteriv; -#define glGetBufferParameteriv(...) WRAP_PFN(biz_glGetBufferParameteriv, __VA_ARGS__) -typedef void (*PFNGLGETBUFFERPOINTERVPROC)(GLenum target, GLenum pname, void **params); -GLAPI PFNGLGETBUFFERPOINTERVPROC biz_glGetBufferPointerv; -#define glGetBufferPointerv(...) WRAP_PFN(biz_glGetBufferPointerv, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glGenQueries; +#define glGenQueries biz_glGenQueries +extern BizOGL::GLFunctor biz_glDeleteQueries; +#define glDeleteQueries biz_glDeleteQueries +extern BizOGL::GLFunctor biz_glIsQuery; +#define glIsQuery biz_glIsQuery +extern BizOGL::GLFunctor biz_glBeginQuery; +#define glBeginQuery biz_glBeginQuery +extern BizOGL::GLFunctor biz_glEndQuery; +#define glEndQuery biz_glEndQuery +extern BizOGL::GLFunctor biz_glGetQueryiv; +#define glGetQueryiv biz_glGetQueryiv +extern BizOGL::GLFunctor biz_glGetQueryObjectiv; +#define glGetQueryObjectiv biz_glGetQueryObjectiv +extern BizOGL::GLFunctor biz_glGetQueryObjectuiv; +#define glGetQueryObjectuiv biz_glGetQueryObjectuiv +extern BizOGL::GLFunctor biz_glBindBuffer; +#define glBindBuffer biz_glBindBuffer +extern BizOGL::GLFunctor biz_glDeleteBuffers; +#define glDeleteBuffers biz_glDeleteBuffers +extern BizOGL::GLFunctor biz_glGenBuffers; +#define glGenBuffers biz_glGenBuffers +extern BizOGL::GLFunctor biz_glIsBuffer; +#define glIsBuffer biz_glIsBuffer +extern BizOGL::GLFunctor biz_glBufferData; +#define glBufferData biz_glBufferData +extern BizOGL::GLFunctor biz_glBufferSubData; +#define glBufferSubData biz_glBufferSubData +extern BizOGL::GLFunctor biz_glGetBufferSubData; +#define glGetBufferSubData biz_glGetBufferSubData +extern BizOGL::GLFunctor biz_glMapBuffer; +#define glMapBuffer biz_glMapBuffer +extern BizOGL::GLFunctor biz_glUnmapBuffer; +#define glUnmapBuffer biz_glUnmapBuffer +extern BizOGL::GLFunctor biz_glGetBufferParameteriv; +#define glGetBufferParameteriv biz_glGetBufferParameteriv +extern BizOGL::GLFunctor biz_glGetBufferPointerv; +#define glGetBufferPointerv biz_glGetBufferPointerv #define GL_VERSION_2_0 1 -typedef void (*PFNGLBLENDEQUATIONSEPARATEPROC)(GLenum modeRGB, GLenum modeAlpha); -GLAPI PFNGLBLENDEQUATIONSEPARATEPROC biz_glBlendEquationSeparate; -#define glBlendEquationSeparate(...) WRAP_PFN(biz_glBlendEquationSeparate, __VA_ARGS__) -typedef void (*PFNGLDRAWBUFFERSPROC)(GLsizei n, const GLenum *bufs); -GLAPI PFNGLDRAWBUFFERSPROC biz_glDrawBuffers; -#define glDrawBuffers(...) WRAP_PFN(biz_glDrawBuffers, __VA_ARGS__) -typedef void (*PFNGLSTENCILOPSEPARATEPROC)(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); -GLAPI PFNGLSTENCILOPSEPARATEPROC biz_glStencilOpSeparate; -#define glStencilOpSeparate(...) WRAP_PFN(biz_glStencilOpSeparate, __VA_ARGS__) -typedef void (*PFNGLSTENCILFUNCSEPARATEPROC)(GLenum face, GLenum func, GLint ref, GLuint mask); -GLAPI PFNGLSTENCILFUNCSEPARATEPROC biz_glStencilFuncSeparate; -#define glStencilFuncSeparate(...) WRAP_PFN(biz_glStencilFuncSeparate, __VA_ARGS__) -typedef void (*PFNGLSTENCILMASKSEPARATEPROC)(GLenum face, GLuint mask); -GLAPI PFNGLSTENCILMASKSEPARATEPROC biz_glStencilMaskSeparate; -#define glStencilMaskSeparate(...) WRAP_PFN(biz_glStencilMaskSeparate, __VA_ARGS__) -typedef void (*PFNGLATTACHSHADERPROC)(GLuint program, GLuint shader); -GLAPI PFNGLATTACHSHADERPROC biz_glAttachShader; -#define glAttachShader(...) WRAP_PFN(biz_glAttachShader, __VA_ARGS__) -typedef void (*PFNGLBINDATTRIBLOCATIONPROC)(GLuint program, GLuint index, const GLchar *name); -GLAPI PFNGLBINDATTRIBLOCATIONPROC biz_glBindAttribLocation; -#define glBindAttribLocation(...) WRAP_PFN(biz_glBindAttribLocation, __VA_ARGS__) -typedef void (*PFNGLCOMPILESHADERPROC)(GLuint shader); -GLAPI PFNGLCOMPILESHADERPROC biz_glCompileShader; -#define glCompileShader(...) WRAP_PFN(biz_glCompileShader, __VA_ARGS__) -typedef GLuint (*PFNGLCREATEPROGRAMPROC)(void); -GLAPI PFNGLCREATEPROGRAMPROC biz_glCreateProgram; -#define glCreateProgram(...) WRAP_PFN(biz_glCreateProgram, __VA_ARGS__) -typedef GLuint (*PFNGLCREATESHADERPROC)(GLenum type); -GLAPI PFNGLCREATESHADERPROC biz_glCreateShader; -#define glCreateShader(...) WRAP_PFN(biz_glCreateShader, __VA_ARGS__) -typedef void (*PFNGLDELETEPROGRAMPROC)(GLuint program); -GLAPI PFNGLDELETEPROGRAMPROC biz_glDeleteProgram; -#define glDeleteProgram(...) WRAP_PFN(biz_glDeleteProgram, __VA_ARGS__) -typedef void (*PFNGLDELETESHADERPROC)(GLuint shader); -GLAPI PFNGLDELETESHADERPROC biz_glDeleteShader; -#define glDeleteShader(...) WRAP_PFN(biz_glDeleteShader, __VA_ARGS__) -typedef void (*PFNGLDETACHSHADERPROC)(GLuint program, GLuint shader); -GLAPI PFNGLDETACHSHADERPROC biz_glDetachShader; -#define glDetachShader(...) WRAP_PFN(biz_glDetachShader, __VA_ARGS__) -typedef void (*PFNGLDISABLEVERTEXATTRIBARRAYPROC)(GLuint index); -GLAPI PFNGLDISABLEVERTEXATTRIBARRAYPROC biz_glDisableVertexAttribArray; -#define glDisableVertexAttribArray(...) WRAP_PFN(biz_glDisableVertexAttribArray, __VA_ARGS__) -typedef void (*PFNGLENABLEVERTEXATTRIBARRAYPROC)(GLuint index); -GLAPI PFNGLENABLEVERTEXATTRIBARRAYPROC biz_glEnableVertexAttribArray; -#define glEnableVertexAttribArray(...) WRAP_PFN(biz_glEnableVertexAttribArray, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEATTRIBPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI PFNGLGETACTIVEATTRIBPROC biz_glGetActiveAttrib; -#define glGetActiveAttrib(...) WRAP_PFN(biz_glGetActiveAttrib, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEUNIFORMPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); -GLAPI PFNGLGETACTIVEUNIFORMPROC biz_glGetActiveUniform; -#define glGetActiveUniform(...) WRAP_PFN(biz_glGetActiveUniform, __VA_ARGS__) -typedef void (*PFNGLGETATTACHEDSHADERSPROC)(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); -GLAPI PFNGLGETATTACHEDSHADERSPROC biz_glGetAttachedShaders; -#define glGetAttachedShaders(...) WRAP_PFN(biz_glGetAttachedShaders, __VA_ARGS__) -typedef GLint (*PFNGLGETATTRIBLOCATIONPROC)(GLuint program, const GLchar *name); -GLAPI PFNGLGETATTRIBLOCATIONPROC biz_glGetAttribLocation; -#define glGetAttribLocation(...) WRAP_PFN(biz_glGetAttribLocation, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMIVPROC)(GLuint program, GLenum pname, GLint *params); -GLAPI PFNGLGETPROGRAMIVPROC biz_glGetProgramiv; -#define glGetProgramiv(...) WRAP_PFN(biz_glGetProgramiv, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMINFOLOGPROC)(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI PFNGLGETPROGRAMINFOLOGPROC biz_glGetProgramInfoLog; -#define glGetProgramInfoLog(...) WRAP_PFN(biz_glGetProgramInfoLog, __VA_ARGS__) -typedef void (*PFNGLGETSHADERIVPROC)(GLuint shader, GLenum pname, GLint *params); -GLAPI PFNGLGETSHADERIVPROC biz_glGetShaderiv; -#define glGetShaderiv(...) WRAP_PFN(biz_glGetShaderiv, __VA_ARGS__) -typedef void (*PFNGLGETSHADERINFOLOGPROC)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI PFNGLGETSHADERINFOLOGPROC biz_glGetShaderInfoLog; -#define glGetShaderInfoLog(...) WRAP_PFN(biz_glGetShaderInfoLog, __VA_ARGS__) -typedef void (*PFNGLGETSHADERSOURCEPROC)(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); -GLAPI PFNGLGETSHADERSOURCEPROC biz_glGetShaderSource; -#define glGetShaderSource(...) WRAP_PFN(biz_glGetShaderSource, __VA_ARGS__) -typedef GLint (*PFNGLGETUNIFORMLOCATIONPROC)(GLuint program, const GLchar *name); -GLAPI PFNGLGETUNIFORMLOCATIONPROC biz_glGetUniformLocation; -#define glGetUniformLocation(...) WRAP_PFN(biz_glGetUniformLocation, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMFVPROC)(GLuint program, GLint location, GLfloat *params); -GLAPI PFNGLGETUNIFORMFVPROC biz_glGetUniformfv; -#define glGetUniformfv(...) WRAP_PFN(biz_glGetUniformfv, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMIVPROC)(GLuint program, GLint location, GLint *params); -GLAPI PFNGLGETUNIFORMIVPROC biz_glGetUniformiv; -#define glGetUniformiv(...) WRAP_PFN(biz_glGetUniformiv, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBDVPROC)(GLuint index, GLenum pname, GLdouble *params); -GLAPI PFNGLGETVERTEXATTRIBDVPROC biz_glGetVertexAttribdv; -#define glGetVertexAttribdv(...) WRAP_PFN(biz_glGetVertexAttribdv, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBFVPROC)(GLuint index, GLenum pname, GLfloat *params); -GLAPI PFNGLGETVERTEXATTRIBFVPROC biz_glGetVertexAttribfv; -#define glGetVertexAttribfv(...) WRAP_PFN(biz_glGetVertexAttribfv, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBIVPROC)(GLuint index, GLenum pname, GLint *params); -GLAPI PFNGLGETVERTEXATTRIBIVPROC biz_glGetVertexAttribiv; -#define glGetVertexAttribiv(...) WRAP_PFN(biz_glGetVertexAttribiv, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint index, GLenum pname, void **pointer); -GLAPI PFNGLGETVERTEXATTRIBPOINTERVPROC biz_glGetVertexAttribPointerv; -#define glGetVertexAttribPointerv(...) WRAP_PFN(biz_glGetVertexAttribPointerv, __VA_ARGS__) -typedef GLboolean (*PFNGLISPROGRAMPROC)(GLuint program); -GLAPI PFNGLISPROGRAMPROC biz_glIsProgram; -#define glIsProgram(...) WRAP_PFN(biz_glIsProgram, __VA_ARGS__) -typedef GLboolean (*PFNGLISSHADERPROC)(GLuint shader); -GLAPI PFNGLISSHADERPROC biz_glIsShader; -#define glIsShader(...) WRAP_PFN(biz_glIsShader, __VA_ARGS__) -typedef void (*PFNGLLINKPROGRAMPROC)(GLuint program); -GLAPI PFNGLLINKPROGRAMPROC biz_glLinkProgram; -#define glLinkProgram(...) WRAP_PFN(biz_glLinkProgram, __VA_ARGS__) -typedef void (*PFNGLSHADERSOURCEPROC)(GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); -GLAPI PFNGLSHADERSOURCEPROC biz_glShaderSource; -#define glShaderSource(...) WRAP_PFN(biz_glShaderSource, __VA_ARGS__) -typedef void (*PFNGLUSEPROGRAMPROC)(GLuint program); -GLAPI PFNGLUSEPROGRAMPROC biz_glUseProgram; -#define glUseProgram(...) WRAP_PFN(biz_glUseProgram, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1FPROC)(GLint location, GLfloat v0); -GLAPI PFNGLUNIFORM1FPROC biz_glUniform1f; -#define glUniform1f(...) WRAP_PFN(biz_glUniform1f, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2FPROC)(GLint location, GLfloat v0, GLfloat v1); -GLAPI PFNGLUNIFORM2FPROC biz_glUniform2f; -#define glUniform2f(...) WRAP_PFN(biz_glUniform2f, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI PFNGLUNIFORM3FPROC biz_glUniform3f; -#define glUniform3f(...) WRAP_PFN(biz_glUniform3f, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4FPROC)(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI PFNGLUNIFORM4FPROC biz_glUniform4f; -#define glUniform4f(...) WRAP_PFN(biz_glUniform4f, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1IPROC)(GLint location, GLint v0); -GLAPI PFNGLUNIFORM1IPROC biz_glUniform1i; -#define glUniform1i(...) WRAP_PFN(biz_glUniform1i, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2IPROC)(GLint location, GLint v0, GLint v1); -GLAPI PFNGLUNIFORM2IPROC biz_glUniform2i; -#define glUniform2i(...) WRAP_PFN(biz_glUniform2i, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3IPROC)(GLint location, GLint v0, GLint v1, GLint v2); -GLAPI PFNGLUNIFORM3IPROC biz_glUniform3i; -#define glUniform3i(...) WRAP_PFN(biz_glUniform3i, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4IPROC)(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI PFNGLUNIFORM4IPROC biz_glUniform4i; -#define glUniform4i(...) WRAP_PFN(biz_glUniform4i, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1FVPROC)(GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLUNIFORM1FVPROC biz_glUniform1fv; -#define glUniform1fv(...) WRAP_PFN(biz_glUniform1fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2FVPROC)(GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLUNIFORM2FVPROC biz_glUniform2fv; -#define glUniform2fv(...) WRAP_PFN(biz_glUniform2fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3FVPROC)(GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLUNIFORM3FVPROC biz_glUniform3fv; -#define glUniform3fv(...) WRAP_PFN(biz_glUniform3fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4FVPROC)(GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLUNIFORM4FVPROC biz_glUniform4fv; -#define glUniform4fv(...) WRAP_PFN(biz_glUniform4fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1IVPROC)(GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLUNIFORM1IVPROC biz_glUniform1iv; -#define glUniform1iv(...) WRAP_PFN(biz_glUniform1iv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2IVPROC)(GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLUNIFORM2IVPROC biz_glUniform2iv; -#define glUniform2iv(...) WRAP_PFN(biz_glUniform2iv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3IVPROC)(GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLUNIFORM3IVPROC biz_glUniform3iv; -#define glUniform3iv(...) WRAP_PFN(biz_glUniform3iv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4IVPROC)(GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLUNIFORM4IVPROC biz_glUniform4iv; -#define glUniform4iv(...) WRAP_PFN(biz_glUniform4iv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX2FVPROC biz_glUniformMatrix2fv; -#define glUniformMatrix2fv(...) WRAP_PFN(biz_glUniformMatrix2fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX3FVPROC biz_glUniformMatrix3fv; -#define glUniformMatrix3fv(...) WRAP_PFN(biz_glUniformMatrix3fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX4FVPROC biz_glUniformMatrix4fv; -#define glUniformMatrix4fv(...) WRAP_PFN(biz_glUniformMatrix4fv, __VA_ARGS__) -typedef void (*PFNGLVALIDATEPROGRAMPROC)(GLuint program); -GLAPI PFNGLVALIDATEPROGRAMPROC biz_glValidateProgram; -#define glValidateProgram(...) WRAP_PFN(biz_glValidateProgram, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1DPROC)(GLuint index, GLdouble x); -GLAPI PFNGLVERTEXATTRIB1DPROC biz_glVertexAttrib1d; -#define glVertexAttrib1d(...) WRAP_PFN(biz_glVertexAttrib1d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIB1DVPROC biz_glVertexAttrib1dv; -#define glVertexAttrib1dv(...) WRAP_PFN(biz_glVertexAttrib1dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1FPROC)(GLuint index, GLfloat x); -GLAPI PFNGLVERTEXATTRIB1FPROC biz_glVertexAttrib1f; -#define glVertexAttrib1f(...) WRAP_PFN(biz_glVertexAttrib1f, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1FVPROC)(GLuint index, const GLfloat *v); -GLAPI PFNGLVERTEXATTRIB1FVPROC biz_glVertexAttrib1fv; -#define glVertexAttrib1fv(...) WRAP_PFN(biz_glVertexAttrib1fv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1SPROC)(GLuint index, GLshort x); -GLAPI PFNGLVERTEXATTRIB1SPROC biz_glVertexAttrib1s; -#define glVertexAttrib1s(...) WRAP_PFN(biz_glVertexAttrib1s, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB1SVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIB1SVPROC biz_glVertexAttrib1sv; -#define glVertexAttrib1sv(...) WRAP_PFN(biz_glVertexAttrib1sv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2DPROC)(GLuint index, GLdouble x, GLdouble y); -GLAPI PFNGLVERTEXATTRIB2DPROC biz_glVertexAttrib2d; -#define glVertexAttrib2d(...) WRAP_PFN(biz_glVertexAttrib2d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIB2DVPROC biz_glVertexAttrib2dv; -#define glVertexAttrib2dv(...) WRAP_PFN(biz_glVertexAttrib2dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2FPROC)(GLuint index, GLfloat x, GLfloat y); -GLAPI PFNGLVERTEXATTRIB2FPROC biz_glVertexAttrib2f; -#define glVertexAttrib2f(...) WRAP_PFN(biz_glVertexAttrib2f, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2FVPROC)(GLuint index, const GLfloat *v); -GLAPI PFNGLVERTEXATTRIB2FVPROC biz_glVertexAttrib2fv; -#define glVertexAttrib2fv(...) WRAP_PFN(biz_glVertexAttrib2fv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2SPROC)(GLuint index, GLshort x, GLshort y); -GLAPI PFNGLVERTEXATTRIB2SPROC biz_glVertexAttrib2s; -#define glVertexAttrib2s(...) WRAP_PFN(biz_glVertexAttrib2s, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB2SVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIB2SVPROC biz_glVertexAttrib2sv; -#define glVertexAttrib2sv(...) WRAP_PFN(biz_glVertexAttrib2sv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI PFNGLVERTEXATTRIB3DPROC biz_glVertexAttrib3d; -#define glVertexAttrib3d(...) WRAP_PFN(biz_glVertexAttrib3d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIB3DVPROC biz_glVertexAttrib3dv; -#define glVertexAttrib3dv(...) WRAP_PFN(biz_glVertexAttrib3dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z); -GLAPI PFNGLVERTEXATTRIB3FPROC biz_glVertexAttrib3f; -#define glVertexAttrib3f(...) WRAP_PFN(biz_glVertexAttrib3f, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3FVPROC)(GLuint index, const GLfloat *v); -GLAPI PFNGLVERTEXATTRIB3FVPROC biz_glVertexAttrib3fv; -#define glVertexAttrib3fv(...) WRAP_PFN(biz_glVertexAttrib3fv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3SPROC)(GLuint index, GLshort x, GLshort y, GLshort z); -GLAPI PFNGLVERTEXATTRIB3SPROC biz_glVertexAttrib3s; -#define glVertexAttrib3s(...) WRAP_PFN(biz_glVertexAttrib3s, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB3SVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIB3SVPROC biz_glVertexAttrib3sv; -#define glVertexAttrib3sv(...) WRAP_PFN(biz_glVertexAttrib3sv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NBVPROC)(GLuint index, const GLbyte *v); -GLAPI PFNGLVERTEXATTRIB4NBVPROC biz_glVertexAttrib4Nbv; -#define glVertexAttrib4Nbv(...) WRAP_PFN(biz_glVertexAttrib4Nbv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NIVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIB4NIVPROC biz_glVertexAttrib4Niv; -#define glVertexAttrib4Niv(...) WRAP_PFN(biz_glVertexAttrib4Niv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NSVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIB4NSVPROC biz_glVertexAttrib4Nsv; -#define glVertexAttrib4Nsv(...) WRAP_PFN(biz_glVertexAttrib4Nsv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NUBPROC)(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); -GLAPI PFNGLVERTEXATTRIB4NUBPROC biz_glVertexAttrib4Nub; -#define glVertexAttrib4Nub(...) WRAP_PFN(biz_glVertexAttrib4Nub, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NUBVPROC)(GLuint index, const GLubyte *v); -GLAPI PFNGLVERTEXATTRIB4NUBVPROC biz_glVertexAttrib4Nubv; -#define glVertexAttrib4Nubv(...) WRAP_PFN(biz_glVertexAttrib4Nubv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NUIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIB4NUIVPROC biz_glVertexAttrib4Nuiv; -#define glVertexAttrib4Nuiv(...) WRAP_PFN(biz_glVertexAttrib4Nuiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4NUSVPROC)(GLuint index, const GLushort *v); -GLAPI PFNGLVERTEXATTRIB4NUSVPROC biz_glVertexAttrib4Nusv; -#define glVertexAttrib4Nusv(...) WRAP_PFN(biz_glVertexAttrib4Nusv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4BVPROC)(GLuint index, const GLbyte *v); -GLAPI PFNGLVERTEXATTRIB4BVPROC biz_glVertexAttrib4bv; -#define glVertexAttrib4bv(...) WRAP_PFN(biz_glVertexAttrib4bv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI PFNGLVERTEXATTRIB4DPROC biz_glVertexAttrib4d; -#define glVertexAttrib4d(...) WRAP_PFN(biz_glVertexAttrib4d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIB4DVPROC biz_glVertexAttrib4dv; -#define glVertexAttrib4dv(...) WRAP_PFN(biz_glVertexAttrib4dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4FPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); -GLAPI PFNGLVERTEXATTRIB4FPROC biz_glVertexAttrib4f; -#define glVertexAttrib4f(...) WRAP_PFN(biz_glVertexAttrib4f, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4FVPROC)(GLuint index, const GLfloat *v); -GLAPI PFNGLVERTEXATTRIB4FVPROC biz_glVertexAttrib4fv; -#define glVertexAttrib4fv(...) WRAP_PFN(biz_glVertexAttrib4fv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4IVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIB4IVPROC biz_glVertexAttrib4iv; -#define glVertexAttrib4iv(...) WRAP_PFN(biz_glVertexAttrib4iv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4SPROC)(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); -GLAPI PFNGLVERTEXATTRIB4SPROC biz_glVertexAttrib4s; -#define glVertexAttrib4s(...) WRAP_PFN(biz_glVertexAttrib4s, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4SVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIB4SVPROC biz_glVertexAttrib4sv; -#define glVertexAttrib4sv(...) WRAP_PFN(biz_glVertexAttrib4sv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4UBVPROC)(GLuint index, const GLubyte *v); -GLAPI PFNGLVERTEXATTRIB4UBVPROC biz_glVertexAttrib4ubv; -#define glVertexAttrib4ubv(...) WRAP_PFN(biz_glVertexAttrib4ubv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4UIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIB4UIVPROC biz_glVertexAttrib4uiv; -#define glVertexAttrib4uiv(...) WRAP_PFN(biz_glVertexAttrib4uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIB4USVPROC)(GLuint index, const GLushort *v); -GLAPI PFNGLVERTEXATTRIB4USVPROC biz_glVertexAttrib4usv; -#define glVertexAttrib4usv(...) WRAP_PFN(biz_glVertexAttrib4usv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBPOINTERPROC)(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); -GLAPI PFNGLVERTEXATTRIBPOINTERPROC biz_glVertexAttribPointer; -#define glVertexAttribPointer(...) WRAP_PFN(biz_glVertexAttribPointer, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glBlendEquationSeparate; +#define glBlendEquationSeparate biz_glBlendEquationSeparate +extern BizOGL::GLFunctor biz_glDrawBuffers; +#define glDrawBuffers biz_glDrawBuffers +extern BizOGL::GLFunctor biz_glStencilOpSeparate; +#define glStencilOpSeparate biz_glStencilOpSeparate +extern BizOGL::GLFunctor biz_glStencilFuncSeparate; +#define glStencilFuncSeparate biz_glStencilFuncSeparate +extern BizOGL::GLFunctor biz_glStencilMaskSeparate; +#define glStencilMaskSeparate biz_glStencilMaskSeparate +extern BizOGL::GLFunctor biz_glAttachShader; +#define glAttachShader biz_glAttachShader +extern BizOGL::GLFunctor biz_glBindAttribLocation; +#define glBindAttribLocation biz_glBindAttribLocation +extern BizOGL::GLFunctor biz_glCompileShader; +#define glCompileShader biz_glCompileShader +extern BizOGL::GLFunctor biz_glCreateProgram; +#define glCreateProgram biz_glCreateProgram +extern BizOGL::GLFunctor biz_glCreateShader; +#define glCreateShader biz_glCreateShader +extern BizOGL::GLFunctor biz_glDeleteProgram; +#define glDeleteProgram biz_glDeleteProgram +extern BizOGL::GLFunctor biz_glDeleteShader; +#define glDeleteShader biz_glDeleteShader +extern BizOGL::GLFunctor biz_glDetachShader; +#define glDetachShader biz_glDetachShader +extern BizOGL::GLFunctor biz_glDisableVertexAttribArray; +#define glDisableVertexAttribArray biz_glDisableVertexAttribArray +extern BizOGL::GLFunctor biz_glEnableVertexAttribArray; +#define glEnableVertexAttribArray biz_glEnableVertexAttribArray +extern BizOGL::GLFunctor biz_glGetActiveAttrib; +#define glGetActiveAttrib biz_glGetActiveAttrib +extern BizOGL::GLFunctor biz_glGetActiveUniform; +#define glGetActiveUniform biz_glGetActiveUniform +extern BizOGL::GLFunctor biz_glGetAttachedShaders; +#define glGetAttachedShaders biz_glGetAttachedShaders +extern BizOGL::GLFunctor biz_glGetAttribLocation; +#define glGetAttribLocation biz_glGetAttribLocation +extern BizOGL::GLFunctor biz_glGetProgramiv; +#define glGetProgramiv biz_glGetProgramiv +extern BizOGL::GLFunctor biz_glGetProgramInfoLog; +#define glGetProgramInfoLog biz_glGetProgramInfoLog +extern BizOGL::GLFunctor biz_glGetShaderiv; +#define glGetShaderiv biz_glGetShaderiv +extern BizOGL::GLFunctor biz_glGetShaderInfoLog; +#define glGetShaderInfoLog biz_glGetShaderInfoLog +extern BizOGL::GLFunctor biz_glGetShaderSource; +#define glGetShaderSource biz_glGetShaderSource +extern BizOGL::GLFunctor biz_glGetUniformLocation; +#define glGetUniformLocation biz_glGetUniformLocation +extern BizOGL::GLFunctor biz_glGetUniformfv; +#define glGetUniformfv biz_glGetUniformfv +extern BizOGL::GLFunctor biz_glGetUniformiv; +#define glGetUniformiv biz_glGetUniformiv +extern BizOGL::GLFunctor biz_glGetVertexAttribdv; +#define glGetVertexAttribdv biz_glGetVertexAttribdv +extern BizOGL::GLFunctor biz_glGetVertexAttribfv; +#define glGetVertexAttribfv biz_glGetVertexAttribfv +extern BizOGL::GLFunctor biz_glGetVertexAttribiv; +#define glGetVertexAttribiv biz_glGetVertexAttribiv +extern BizOGL::GLFunctor biz_glGetVertexAttribPointerv; +#define glGetVertexAttribPointerv biz_glGetVertexAttribPointerv +extern BizOGL::GLFunctor biz_glIsProgram; +#define glIsProgram biz_glIsProgram +extern BizOGL::GLFunctor biz_glIsShader; +#define glIsShader biz_glIsShader +extern BizOGL::GLFunctor biz_glLinkProgram; +#define glLinkProgram biz_glLinkProgram +extern BizOGL::GLFunctor biz_glShaderSource; +#define glShaderSource biz_glShaderSource +extern BizOGL::GLFunctor biz_glUseProgram; +#define glUseProgram biz_glUseProgram +extern BizOGL::GLFunctor biz_glUniform1f; +#define glUniform1f biz_glUniform1f +extern BizOGL::GLFunctor biz_glUniform2f; +#define glUniform2f biz_glUniform2f +extern BizOGL::GLFunctor biz_glUniform3f; +#define glUniform3f biz_glUniform3f +extern BizOGL::GLFunctor biz_glUniform4f; +#define glUniform4f biz_glUniform4f +extern BizOGL::GLFunctor biz_glUniform1i; +#define glUniform1i biz_glUniform1i +extern BizOGL::GLFunctor biz_glUniform2i; +#define glUniform2i biz_glUniform2i +extern BizOGL::GLFunctor biz_glUniform3i; +#define glUniform3i biz_glUniform3i +extern BizOGL::GLFunctor biz_glUniform4i; +#define glUniform4i biz_glUniform4i +extern BizOGL::GLFunctor biz_glUniform1fv; +#define glUniform1fv biz_glUniform1fv +extern BizOGL::GLFunctor biz_glUniform2fv; +#define glUniform2fv biz_glUniform2fv +extern BizOGL::GLFunctor biz_glUniform3fv; +#define glUniform3fv biz_glUniform3fv +extern BizOGL::GLFunctor biz_glUniform4fv; +#define glUniform4fv biz_glUniform4fv +extern BizOGL::GLFunctor biz_glUniform1iv; +#define glUniform1iv biz_glUniform1iv +extern BizOGL::GLFunctor biz_glUniform2iv; +#define glUniform2iv biz_glUniform2iv +extern BizOGL::GLFunctor biz_glUniform3iv; +#define glUniform3iv biz_glUniform3iv +extern BizOGL::GLFunctor biz_glUniform4iv; +#define glUniform4iv biz_glUniform4iv +extern BizOGL::GLFunctor biz_glUniformMatrix2fv; +#define glUniformMatrix2fv biz_glUniformMatrix2fv +extern BizOGL::GLFunctor biz_glUniformMatrix3fv; +#define glUniformMatrix3fv biz_glUniformMatrix3fv +extern BizOGL::GLFunctor biz_glUniformMatrix4fv; +#define glUniformMatrix4fv biz_glUniformMatrix4fv +extern BizOGL::GLFunctor biz_glValidateProgram; +#define glValidateProgram biz_glValidateProgram +extern BizOGL::GLFunctor biz_glVertexAttrib1d; +#define glVertexAttrib1d biz_glVertexAttrib1d +extern BizOGL::GLFunctor biz_glVertexAttrib1dv; +#define glVertexAttrib1dv biz_glVertexAttrib1dv +extern BizOGL::GLFunctor biz_glVertexAttrib1f; +#define glVertexAttrib1f biz_glVertexAttrib1f +extern BizOGL::GLFunctor biz_glVertexAttrib1fv; +#define glVertexAttrib1fv biz_glVertexAttrib1fv +extern BizOGL::GLFunctor biz_glVertexAttrib1s; +#define glVertexAttrib1s biz_glVertexAttrib1s +extern BizOGL::GLFunctor biz_glVertexAttrib1sv; +#define glVertexAttrib1sv biz_glVertexAttrib1sv +extern BizOGL::GLFunctor biz_glVertexAttrib2d; +#define glVertexAttrib2d biz_glVertexAttrib2d +extern BizOGL::GLFunctor biz_glVertexAttrib2dv; +#define glVertexAttrib2dv biz_glVertexAttrib2dv +extern BizOGL::GLFunctor biz_glVertexAttrib2f; +#define glVertexAttrib2f biz_glVertexAttrib2f +extern BizOGL::GLFunctor biz_glVertexAttrib2fv; +#define glVertexAttrib2fv biz_glVertexAttrib2fv +extern BizOGL::GLFunctor biz_glVertexAttrib2s; +#define glVertexAttrib2s biz_glVertexAttrib2s +extern BizOGL::GLFunctor biz_glVertexAttrib2sv; +#define glVertexAttrib2sv biz_glVertexAttrib2sv +extern BizOGL::GLFunctor biz_glVertexAttrib3d; +#define glVertexAttrib3d biz_glVertexAttrib3d +extern BizOGL::GLFunctor biz_glVertexAttrib3dv; +#define glVertexAttrib3dv biz_glVertexAttrib3dv +extern BizOGL::GLFunctor biz_glVertexAttrib3f; +#define glVertexAttrib3f biz_glVertexAttrib3f +extern BizOGL::GLFunctor biz_glVertexAttrib3fv; +#define glVertexAttrib3fv biz_glVertexAttrib3fv +extern BizOGL::GLFunctor biz_glVertexAttrib3s; +#define glVertexAttrib3s biz_glVertexAttrib3s +extern BizOGL::GLFunctor biz_glVertexAttrib3sv; +#define glVertexAttrib3sv biz_glVertexAttrib3sv +extern BizOGL::GLFunctor biz_glVertexAttrib4Nbv; +#define glVertexAttrib4Nbv biz_glVertexAttrib4Nbv +extern BizOGL::GLFunctor biz_glVertexAttrib4Niv; +#define glVertexAttrib4Niv biz_glVertexAttrib4Niv +extern BizOGL::GLFunctor biz_glVertexAttrib4Nsv; +#define glVertexAttrib4Nsv biz_glVertexAttrib4Nsv +extern BizOGL::GLFunctor biz_glVertexAttrib4Nub; +#define glVertexAttrib4Nub biz_glVertexAttrib4Nub +extern BizOGL::GLFunctor biz_glVertexAttrib4Nubv; +#define glVertexAttrib4Nubv biz_glVertexAttrib4Nubv +extern BizOGL::GLFunctor biz_glVertexAttrib4Nuiv; +#define glVertexAttrib4Nuiv biz_glVertexAttrib4Nuiv +extern BizOGL::GLFunctor biz_glVertexAttrib4Nusv; +#define glVertexAttrib4Nusv biz_glVertexAttrib4Nusv +extern BizOGL::GLFunctor biz_glVertexAttrib4bv; +#define glVertexAttrib4bv biz_glVertexAttrib4bv +extern BizOGL::GLFunctor biz_glVertexAttrib4d; +#define glVertexAttrib4d biz_glVertexAttrib4d +extern BizOGL::GLFunctor biz_glVertexAttrib4dv; +#define glVertexAttrib4dv biz_glVertexAttrib4dv +extern BizOGL::GLFunctor biz_glVertexAttrib4f; +#define glVertexAttrib4f biz_glVertexAttrib4f +extern BizOGL::GLFunctor biz_glVertexAttrib4fv; +#define glVertexAttrib4fv biz_glVertexAttrib4fv +extern BizOGL::GLFunctor biz_glVertexAttrib4iv; +#define glVertexAttrib4iv biz_glVertexAttrib4iv +extern BizOGL::GLFunctor biz_glVertexAttrib4s; +#define glVertexAttrib4s biz_glVertexAttrib4s +extern BizOGL::GLFunctor biz_glVertexAttrib4sv; +#define glVertexAttrib4sv biz_glVertexAttrib4sv +extern BizOGL::GLFunctor biz_glVertexAttrib4ubv; +#define glVertexAttrib4ubv biz_glVertexAttrib4ubv +extern BizOGL::GLFunctor biz_glVertexAttrib4uiv; +#define glVertexAttrib4uiv biz_glVertexAttrib4uiv +extern BizOGL::GLFunctor biz_glVertexAttrib4usv; +#define glVertexAttrib4usv biz_glVertexAttrib4usv +extern BizOGL::GLFunctor biz_glVertexAttribPointer; +#define glVertexAttribPointer biz_glVertexAttribPointer #define GL_VERSION_2_1 1 -typedef void (*PFNGLUNIFORMMATRIX2X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX2X3FVPROC biz_glUniformMatrix2x3fv; -#define glUniformMatrix2x3fv(...) WRAP_PFN(biz_glUniformMatrix2x3fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX3X2FVPROC biz_glUniformMatrix3x2fv; -#define glUniformMatrix3x2fv(...) WRAP_PFN(biz_glUniformMatrix3x2fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX2X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX2X4FVPROC biz_glUniformMatrix2x4fv; -#define glUniformMatrix2x4fv(...) WRAP_PFN(biz_glUniformMatrix2x4fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4X2FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX4X2FVPROC biz_glUniformMatrix4x2fv; -#define glUniformMatrix4x2fv(...) WRAP_PFN(biz_glUniformMatrix4x2fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3X4FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX3X4FVPROC biz_glUniformMatrix3x4fv; -#define glUniformMatrix3x4fv(...) WRAP_PFN(biz_glUniformMatrix3x4fv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4X3FVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLUNIFORMMATRIX4X3FVPROC biz_glUniformMatrix4x3fv; -#define glUniformMatrix4x3fv(...) WRAP_PFN(biz_glUniformMatrix4x3fv, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glUniformMatrix2x3fv; +#define glUniformMatrix2x3fv biz_glUniformMatrix2x3fv +extern BizOGL::GLFunctor biz_glUniformMatrix3x2fv; +#define glUniformMatrix3x2fv biz_glUniformMatrix3x2fv +extern BizOGL::GLFunctor biz_glUniformMatrix2x4fv; +#define glUniformMatrix2x4fv biz_glUniformMatrix2x4fv +extern BizOGL::GLFunctor biz_glUniformMatrix4x2fv; +#define glUniformMatrix4x2fv biz_glUniformMatrix4x2fv +extern BizOGL::GLFunctor biz_glUniformMatrix3x4fv; +#define glUniformMatrix3x4fv biz_glUniformMatrix3x4fv +extern BizOGL::GLFunctor biz_glUniformMatrix4x3fv; +#define glUniformMatrix4x3fv biz_glUniformMatrix4x3fv #define GL_VERSION_3_0 1 -typedef void (*PFNGLCOLORMASKIPROC)(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); -GLAPI PFNGLCOLORMASKIPROC biz_glColorMaski; -#define glColorMaski(...) WRAP_PFN(biz_glColorMaski, __VA_ARGS__) -typedef void (*PFNGLGETBOOLEANI_VPROC)(GLenum target, GLuint index, GLboolean *data); -GLAPI PFNGLGETBOOLEANI_VPROC biz_glGetBooleani_v; -#define glGetBooleani_v(...) WRAP_PFN(biz_glGetBooleani_v, __VA_ARGS__) -typedef void (*PFNGLGETINTEGERI_VPROC)(GLenum target, GLuint index, GLint *data); -GLAPI PFNGLGETINTEGERI_VPROC biz_glGetIntegeri_v; -#define glGetIntegeri_v(...) WRAP_PFN(biz_glGetIntegeri_v, __VA_ARGS__) -typedef void (*PFNGLENABLEIPROC)(GLenum target, GLuint index); -GLAPI PFNGLENABLEIPROC biz_glEnablei; -#define glEnablei(...) WRAP_PFN(biz_glEnablei, __VA_ARGS__) -typedef void (*PFNGLDISABLEIPROC)(GLenum target, GLuint index); -GLAPI PFNGLDISABLEIPROC biz_glDisablei; -#define glDisablei(...) WRAP_PFN(biz_glDisablei, __VA_ARGS__) -typedef GLboolean (*PFNGLISENABLEDIPROC)(GLenum target, GLuint index); -GLAPI PFNGLISENABLEDIPROC biz_glIsEnabledi; -#define glIsEnabledi(...) WRAP_PFN(biz_glIsEnabledi, __VA_ARGS__) -typedef void (*PFNGLBEGINTRANSFORMFEEDBACKPROC)(GLenum primitiveMode); -GLAPI PFNGLBEGINTRANSFORMFEEDBACKPROC biz_glBeginTransformFeedback; -#define glBeginTransformFeedback(...) WRAP_PFN(biz_glBeginTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLENDTRANSFORMFEEDBACKPROC)(void); -GLAPI PFNGLENDTRANSFORMFEEDBACKPROC biz_glEndTransformFeedback; -#define glEndTransformFeedback(...) WRAP_PFN(biz_glEndTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLBINDBUFFERRANGEPROC)(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI PFNGLBINDBUFFERRANGEPROC biz_glBindBufferRange; -#define glBindBufferRange(...) WRAP_PFN(biz_glBindBufferRange, __VA_ARGS__) -typedef void (*PFNGLBINDBUFFERBASEPROC)(GLenum target, GLuint index, GLuint buffer); -GLAPI PFNGLBINDBUFFERBASEPROC biz_glBindBufferBase; -#define glBindBufferBase(...) WRAP_PFN(biz_glBindBufferBase, __VA_ARGS__) -typedef void (*PFNGLTRANSFORMFEEDBACKVARYINGSPROC)(GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); -GLAPI PFNGLTRANSFORMFEEDBACKVARYINGSPROC biz_glTransformFeedbackVaryings; -#define glTransformFeedbackVaryings(...) WRAP_PFN(biz_glTransformFeedbackVaryings, __VA_ARGS__) -typedef void (*PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); -GLAPI PFNGLGETTRANSFORMFEEDBACKVARYINGPROC biz_glGetTransformFeedbackVarying; -#define glGetTransformFeedbackVarying(...) WRAP_PFN(biz_glGetTransformFeedbackVarying, __VA_ARGS__) -typedef void (*PFNGLCLAMPCOLORPROC)(GLenum target, GLenum clamp); -GLAPI PFNGLCLAMPCOLORPROC biz_glClampColor; -#define glClampColor(...) WRAP_PFN(biz_glClampColor, __VA_ARGS__) -typedef void (*PFNGLBEGINCONDITIONALRENDERPROC)(GLuint id, GLenum mode); -GLAPI PFNGLBEGINCONDITIONALRENDERPROC biz_glBeginConditionalRender; -#define glBeginConditionalRender(...) WRAP_PFN(biz_glBeginConditionalRender, __VA_ARGS__) -typedef void (*PFNGLENDCONDITIONALRENDERPROC)(void); -GLAPI PFNGLENDCONDITIONALRENDERPROC biz_glEndConditionalRender; -#define glEndConditionalRender(...) WRAP_PFN(biz_glEndConditionalRender, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBIPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI PFNGLVERTEXATTRIBIPOINTERPROC biz_glVertexAttribIPointer; -#define glVertexAttribIPointer(...) WRAP_PFN(biz_glVertexAttribIPointer, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBIIVPROC)(GLuint index, GLenum pname, GLint *params); -GLAPI PFNGLGETVERTEXATTRIBIIVPROC biz_glGetVertexAttribIiv; -#define glGetVertexAttribIiv(...) WRAP_PFN(biz_glGetVertexAttribIiv, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBIUIVPROC)(GLuint index, GLenum pname, GLuint *params); -GLAPI PFNGLGETVERTEXATTRIBIUIVPROC biz_glGetVertexAttribIuiv; -#define glGetVertexAttribIuiv(...) WRAP_PFN(biz_glGetVertexAttribIuiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI1IPROC)(GLuint index, GLint x); -GLAPI PFNGLVERTEXATTRIBI1IPROC biz_glVertexAttribI1i; -#define glVertexAttribI1i(...) WRAP_PFN(biz_glVertexAttribI1i, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI2IPROC)(GLuint index, GLint x, GLint y); -GLAPI PFNGLVERTEXATTRIBI2IPROC biz_glVertexAttribI2i; -#define glVertexAttribI2i(...) WRAP_PFN(biz_glVertexAttribI2i, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI3IPROC)(GLuint index, GLint x, GLint y, GLint z); -GLAPI PFNGLVERTEXATTRIBI3IPROC biz_glVertexAttribI3i; -#define glVertexAttribI3i(...) WRAP_PFN(biz_glVertexAttribI3i, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4IPROC)(GLuint index, GLint x, GLint y, GLint z, GLint w); -GLAPI PFNGLVERTEXATTRIBI4IPROC biz_glVertexAttribI4i; -#define glVertexAttribI4i(...) WRAP_PFN(biz_glVertexAttribI4i, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI1UIPROC)(GLuint index, GLuint x); -GLAPI PFNGLVERTEXATTRIBI1UIPROC biz_glVertexAttribI1ui; -#define glVertexAttribI1ui(...) WRAP_PFN(biz_glVertexAttribI1ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI2UIPROC)(GLuint index, GLuint x, GLuint y); -GLAPI PFNGLVERTEXATTRIBI2UIPROC biz_glVertexAttribI2ui; -#define glVertexAttribI2ui(...) WRAP_PFN(biz_glVertexAttribI2ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI3UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z); -GLAPI PFNGLVERTEXATTRIBI3UIPROC biz_glVertexAttribI3ui; -#define glVertexAttribI3ui(...) WRAP_PFN(biz_glVertexAttribI3ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4UIPROC)(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); -GLAPI PFNGLVERTEXATTRIBI4UIPROC biz_glVertexAttribI4ui; -#define glVertexAttribI4ui(...) WRAP_PFN(biz_glVertexAttribI4ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI1IVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIBI1IVPROC biz_glVertexAttribI1iv; -#define glVertexAttribI1iv(...) WRAP_PFN(biz_glVertexAttribI1iv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI2IVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIBI2IVPROC biz_glVertexAttribI2iv; -#define glVertexAttribI2iv(...) WRAP_PFN(biz_glVertexAttribI2iv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI3IVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIBI3IVPROC biz_glVertexAttribI3iv; -#define glVertexAttribI3iv(...) WRAP_PFN(biz_glVertexAttribI3iv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4IVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLVERTEXATTRIBI4IVPROC biz_glVertexAttribI4iv; -#define glVertexAttribI4iv(...) WRAP_PFN(biz_glVertexAttribI4iv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI1UIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIBI1UIVPROC biz_glVertexAttribI1uiv; -#define glVertexAttribI1uiv(...) WRAP_PFN(biz_glVertexAttribI1uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI2UIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIBI2UIVPROC biz_glVertexAttribI2uiv; -#define glVertexAttribI2uiv(...) WRAP_PFN(biz_glVertexAttribI2uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI3UIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIBI3UIVPROC biz_glVertexAttribI3uiv; -#define glVertexAttribI3uiv(...) WRAP_PFN(biz_glVertexAttribI3uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4UIVPROC)(GLuint index, const GLuint *v); -GLAPI PFNGLVERTEXATTRIBI4UIVPROC biz_glVertexAttribI4uiv; -#define glVertexAttribI4uiv(...) WRAP_PFN(biz_glVertexAttribI4uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4BVPROC)(GLuint index, const GLbyte *v); -GLAPI PFNGLVERTEXATTRIBI4BVPROC biz_glVertexAttribI4bv; -#define glVertexAttribI4bv(...) WRAP_PFN(biz_glVertexAttribI4bv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4SVPROC)(GLuint index, const GLshort *v); -GLAPI PFNGLVERTEXATTRIBI4SVPROC biz_glVertexAttribI4sv; -#define glVertexAttribI4sv(...) WRAP_PFN(biz_glVertexAttribI4sv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4UBVPROC)(GLuint index, const GLubyte *v); -GLAPI PFNGLVERTEXATTRIBI4UBVPROC biz_glVertexAttribI4ubv; -#define glVertexAttribI4ubv(...) WRAP_PFN(biz_glVertexAttribI4ubv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBI4USVPROC)(GLuint index, const GLushort *v); -GLAPI PFNGLVERTEXATTRIBI4USVPROC biz_glVertexAttribI4usv; -#define glVertexAttribI4usv(...) WRAP_PFN(biz_glVertexAttribI4usv, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMUIVPROC)(GLuint program, GLint location, GLuint *params); -GLAPI PFNGLGETUNIFORMUIVPROC biz_glGetUniformuiv; -#define glGetUniformuiv(...) WRAP_PFN(biz_glGetUniformuiv, __VA_ARGS__) -typedef void (*PFNGLBINDFRAGDATALOCATIONPROC)(GLuint program, GLuint color, const GLchar *name); -GLAPI PFNGLBINDFRAGDATALOCATIONPROC biz_glBindFragDataLocation; -#define glBindFragDataLocation(...) WRAP_PFN(biz_glBindFragDataLocation, __VA_ARGS__) -typedef GLint (*PFNGLGETFRAGDATALOCATIONPROC)(GLuint program, const GLchar *name); -GLAPI PFNGLGETFRAGDATALOCATIONPROC biz_glGetFragDataLocation; -#define glGetFragDataLocation(...) WRAP_PFN(biz_glGetFragDataLocation, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1UIPROC)(GLint location, GLuint v0); -GLAPI PFNGLUNIFORM1UIPROC biz_glUniform1ui; -#define glUniform1ui(...) WRAP_PFN(biz_glUniform1ui, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2UIPROC)(GLint location, GLuint v0, GLuint v1); -GLAPI PFNGLUNIFORM2UIPROC biz_glUniform2ui; -#define glUniform2ui(...) WRAP_PFN(biz_glUniform2ui, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI PFNGLUNIFORM3UIPROC biz_glUniform3ui; -#define glUniform3ui(...) WRAP_PFN(biz_glUniform3ui, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4UIPROC)(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI PFNGLUNIFORM4UIPROC biz_glUniform4ui; -#define glUniform4ui(...) WRAP_PFN(biz_glUniform4ui, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1UIVPROC)(GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLUNIFORM1UIVPROC biz_glUniform1uiv; -#define glUniform1uiv(...) WRAP_PFN(biz_glUniform1uiv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2UIVPROC)(GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLUNIFORM2UIVPROC biz_glUniform2uiv; -#define glUniform2uiv(...) WRAP_PFN(biz_glUniform2uiv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3UIVPROC)(GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLUNIFORM3UIVPROC biz_glUniform3uiv; -#define glUniform3uiv(...) WRAP_PFN(biz_glUniform3uiv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4UIVPROC)(GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLUNIFORM4UIVPROC biz_glUniform4uiv; -#define glUniform4uiv(...) WRAP_PFN(biz_glUniform4uiv, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, const GLint *params); -GLAPI PFNGLTEXPARAMETERIIVPROC biz_glTexParameterIiv; -#define glTexParameterIiv(...) WRAP_PFN(biz_glTexParameterIiv, __VA_ARGS__) -typedef void (*PFNGLTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, const GLuint *params); -GLAPI PFNGLTEXPARAMETERIUIVPROC biz_glTexParameterIuiv; -#define glTexParameterIuiv(...) WRAP_PFN(biz_glTexParameterIuiv, __VA_ARGS__) -typedef void (*PFNGLGETTEXPARAMETERIIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETTEXPARAMETERIIVPROC biz_glGetTexParameterIiv; -#define glGetTexParameterIiv(...) WRAP_PFN(biz_glGetTexParameterIiv, __VA_ARGS__) -typedef void (*PFNGLGETTEXPARAMETERIUIVPROC)(GLenum target, GLenum pname, GLuint *params); -GLAPI PFNGLGETTEXPARAMETERIUIVPROC biz_glGetTexParameterIuiv; -#define glGetTexParameterIuiv(...) WRAP_PFN(biz_glGetTexParameterIuiv, __VA_ARGS__) -typedef void (*PFNGLCLEARBUFFERIVPROC)(GLenum buffer, GLint drawbuffer, const GLint *value); -GLAPI PFNGLCLEARBUFFERIVPROC biz_glClearBufferiv; -#define glClearBufferiv(...) WRAP_PFN(biz_glClearBufferiv, __VA_ARGS__) -typedef void (*PFNGLCLEARBUFFERUIVPROC)(GLenum buffer, GLint drawbuffer, const GLuint *value); -GLAPI PFNGLCLEARBUFFERUIVPROC biz_glClearBufferuiv; -#define glClearBufferuiv(...) WRAP_PFN(biz_glClearBufferuiv, __VA_ARGS__) -typedef void (*PFNGLCLEARBUFFERFVPROC)(GLenum buffer, GLint drawbuffer, const GLfloat *value); -GLAPI PFNGLCLEARBUFFERFVPROC biz_glClearBufferfv; -#define glClearBufferfv(...) WRAP_PFN(biz_glClearBufferfv, __VA_ARGS__) -typedef void (*PFNGLCLEARBUFFERFIPROC)(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); -GLAPI PFNGLCLEARBUFFERFIPROC biz_glClearBufferfi; -#define glClearBufferfi(...) WRAP_PFN(biz_glClearBufferfi, __VA_ARGS__) -typedef const GLubyte * (*PFNGLGETSTRINGIPROC)(GLenum name, GLuint index); -GLAPI PFNGLGETSTRINGIPROC biz_glGetStringi; -#define glGetStringi(...) WRAP_PFN(biz_glGetStringi, __VA_ARGS__) -typedef GLboolean (*PFNGLISRENDERBUFFERPROC)(GLuint renderbuffer); -GLAPI PFNGLISRENDERBUFFERPROC biz_glIsRenderbuffer; -#define glIsRenderbuffer(...) WRAP_PFN(biz_glIsRenderbuffer, __VA_ARGS__) -typedef void (*PFNGLBINDRENDERBUFFERPROC)(GLenum target, GLuint renderbuffer); -GLAPI PFNGLBINDRENDERBUFFERPROC biz_glBindRenderbuffer; -#define glBindRenderbuffer(...) WRAP_PFN(biz_glBindRenderbuffer, __VA_ARGS__) -typedef void (*PFNGLDELETERENDERBUFFERSPROC)(GLsizei n, const GLuint *renderbuffers); -GLAPI PFNGLDELETERENDERBUFFERSPROC biz_glDeleteRenderbuffers; -#define glDeleteRenderbuffers(...) WRAP_PFN(biz_glDeleteRenderbuffers, __VA_ARGS__) -typedef void (*PFNGLGENRENDERBUFFERSPROC)(GLsizei n, GLuint *renderbuffers); -GLAPI PFNGLGENRENDERBUFFERSPROC biz_glGenRenderbuffers; -#define glGenRenderbuffers(...) WRAP_PFN(biz_glGenRenderbuffers, __VA_ARGS__) -typedef void (*PFNGLRENDERBUFFERSTORAGEPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI PFNGLRENDERBUFFERSTORAGEPROC biz_glRenderbufferStorage; -#define glRenderbufferStorage(...) WRAP_PFN(biz_glRenderbufferStorage, __VA_ARGS__) -typedef void (*PFNGLGETRENDERBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETRENDERBUFFERPARAMETERIVPROC biz_glGetRenderbufferParameteriv; -#define glGetRenderbufferParameteriv(...) WRAP_PFN(biz_glGetRenderbufferParameteriv, __VA_ARGS__) -typedef GLboolean (*PFNGLISFRAMEBUFFERPROC)(GLuint framebuffer); -GLAPI PFNGLISFRAMEBUFFERPROC biz_glIsFramebuffer; -#define glIsFramebuffer(...) WRAP_PFN(biz_glIsFramebuffer, __VA_ARGS__) -typedef void (*PFNGLBINDFRAMEBUFFERPROC)(GLenum target, GLuint framebuffer); -GLAPI PFNGLBINDFRAMEBUFFERPROC biz_glBindFramebuffer; -#define glBindFramebuffer(...) WRAP_PFN(biz_glBindFramebuffer, __VA_ARGS__) -typedef void (*PFNGLDELETEFRAMEBUFFERSPROC)(GLsizei n, const GLuint *framebuffers); -GLAPI PFNGLDELETEFRAMEBUFFERSPROC biz_glDeleteFramebuffers; -#define glDeleteFramebuffers(...) WRAP_PFN(biz_glDeleteFramebuffers, __VA_ARGS__) -typedef void (*PFNGLGENFRAMEBUFFERSPROC)(GLsizei n, GLuint *framebuffers); -GLAPI PFNGLGENFRAMEBUFFERSPROC biz_glGenFramebuffers; -#define glGenFramebuffers(...) WRAP_PFN(biz_glGenFramebuffers, __VA_ARGS__) -typedef GLenum (*PFNGLCHECKFRAMEBUFFERSTATUSPROC)(GLenum target); -GLAPI PFNGLCHECKFRAMEBUFFERSTATUSPROC biz_glCheckFramebufferStatus; -#define glCheckFramebufferStatus(...) WRAP_PFN(biz_glCheckFramebufferStatus, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERTEXTURE1DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI PFNGLFRAMEBUFFERTEXTURE1DPROC biz_glFramebufferTexture1D; -#define glFramebufferTexture1D(...) WRAP_PFN(biz_glFramebufferTexture1D, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERTEXTURE2DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); -GLAPI PFNGLFRAMEBUFFERTEXTURE2DPROC biz_glFramebufferTexture2D; -#define glFramebufferTexture2D(...) WRAP_PFN(biz_glFramebufferTexture2D, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERTEXTURE3DPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); -GLAPI PFNGLFRAMEBUFFERTEXTURE3DPROC biz_glFramebufferTexture3D; -#define glFramebufferTexture3D(...) WRAP_PFN(biz_glFramebufferTexture3D, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERRENDERBUFFERPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); -GLAPI PFNGLFRAMEBUFFERRENDERBUFFERPROC biz_glFramebufferRenderbuffer; -#define glFramebufferRenderbuffer(...) WRAP_PFN(biz_glFramebufferRenderbuffer, __VA_ARGS__) -typedef void (*PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)(GLenum target, GLenum attachment, GLenum pname, GLint *params); -GLAPI PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC biz_glGetFramebufferAttachmentParameteriv; -#define glGetFramebufferAttachmentParameteriv(...) WRAP_PFN(biz_glGetFramebufferAttachmentParameteriv, __VA_ARGS__) -typedef void (*PFNGLGENERATEMIPMAPPROC)(GLenum target); -GLAPI PFNGLGENERATEMIPMAPPROC biz_glGenerateMipmap; -#define glGenerateMipmap(...) WRAP_PFN(biz_glGenerateMipmap, __VA_ARGS__) -typedef void (*PFNGLBLITFRAMEBUFFERPROC)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); -GLAPI PFNGLBLITFRAMEBUFFERPROC biz_glBlitFramebuffer; -#define glBlitFramebuffer(...) WRAP_PFN(biz_glBlitFramebuffer, __VA_ARGS__) -typedef void (*PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC biz_glRenderbufferStorageMultisample; -#define glRenderbufferStorageMultisample(...) WRAP_PFN(biz_glRenderbufferStorageMultisample, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERTEXTURELAYERPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); -GLAPI PFNGLFRAMEBUFFERTEXTURELAYERPROC biz_glFramebufferTextureLayer; -#define glFramebufferTextureLayer(...) WRAP_PFN(biz_glFramebufferTextureLayer, __VA_ARGS__) -typedef void * (*PFNGLMAPBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); -GLAPI PFNGLMAPBUFFERRANGEPROC biz_glMapBufferRange; -#define glMapBufferRange(...) WRAP_PFN(biz_glMapBufferRange, __VA_ARGS__) -typedef void (*PFNGLFLUSHMAPPEDBUFFERRANGEPROC)(GLenum target, GLintptr offset, GLsizeiptr length); -GLAPI PFNGLFLUSHMAPPEDBUFFERRANGEPROC biz_glFlushMappedBufferRange; -#define glFlushMappedBufferRange(...) WRAP_PFN(biz_glFlushMappedBufferRange, __VA_ARGS__) -typedef void (*PFNGLBINDVERTEXARRAYPROC)(GLuint array); -GLAPI PFNGLBINDVERTEXARRAYPROC biz_glBindVertexArray; -#define glBindVertexArray(...) WRAP_PFN(biz_glBindVertexArray, __VA_ARGS__) -typedef void (*PFNGLDELETEVERTEXARRAYSPROC)(GLsizei n, const GLuint *arrays); -GLAPI PFNGLDELETEVERTEXARRAYSPROC biz_glDeleteVertexArrays; -#define glDeleteVertexArrays(...) WRAP_PFN(biz_glDeleteVertexArrays, __VA_ARGS__) -typedef void (*PFNGLGENVERTEXARRAYSPROC)(GLsizei n, GLuint *arrays); -GLAPI PFNGLGENVERTEXARRAYSPROC biz_glGenVertexArrays; -#define glGenVertexArrays(...) WRAP_PFN(biz_glGenVertexArrays, __VA_ARGS__) -typedef GLboolean (*PFNGLISVERTEXARRAYPROC)(GLuint array); -GLAPI PFNGLISVERTEXARRAYPROC biz_glIsVertexArray; -#define glIsVertexArray(...) WRAP_PFN(biz_glIsVertexArray, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glColorMaski; +#define glColorMaski biz_glColorMaski +extern BizOGL::GLFunctor biz_glGetBooleani_v; +#define glGetBooleani_v biz_glGetBooleani_v +extern BizOGL::GLFunctor biz_glGetIntegeri_v; +#define glGetIntegeri_v biz_glGetIntegeri_v +extern BizOGL::GLFunctor biz_glEnablei; +#define glEnablei biz_glEnablei +extern BizOGL::GLFunctor biz_glDisablei; +#define glDisablei biz_glDisablei +extern BizOGL::GLFunctor biz_glIsEnabledi; +#define glIsEnabledi biz_glIsEnabledi +extern BizOGL::GLFunctor biz_glBeginTransformFeedback; +#define glBeginTransformFeedback biz_glBeginTransformFeedback +extern BizOGL::GLFunctor biz_glEndTransformFeedback; +#define glEndTransformFeedback biz_glEndTransformFeedback +extern BizOGL::GLFunctor biz_glBindBufferRange; +#define glBindBufferRange biz_glBindBufferRange +extern BizOGL::GLFunctor biz_glBindBufferBase; +#define glBindBufferBase biz_glBindBufferBase +extern BizOGL::GLFunctor biz_glTransformFeedbackVaryings; +#define glTransformFeedbackVaryings biz_glTransformFeedbackVaryings +extern BizOGL::GLFunctor biz_glGetTransformFeedbackVarying; +#define glGetTransformFeedbackVarying biz_glGetTransformFeedbackVarying +extern BizOGL::GLFunctor biz_glClampColor; +#define glClampColor biz_glClampColor +extern BizOGL::GLFunctor biz_glBeginConditionalRender; +#define glBeginConditionalRender biz_glBeginConditionalRender +extern BizOGL::GLFunctor biz_glEndConditionalRender; +#define glEndConditionalRender biz_glEndConditionalRender +extern BizOGL::GLFunctor biz_glVertexAttribIPointer; +#define glVertexAttribIPointer biz_glVertexAttribIPointer +extern BizOGL::GLFunctor biz_glGetVertexAttribIiv; +#define glGetVertexAttribIiv biz_glGetVertexAttribIiv +extern BizOGL::GLFunctor biz_glGetVertexAttribIuiv; +#define glGetVertexAttribIuiv biz_glGetVertexAttribIuiv +extern BizOGL::GLFunctor biz_glVertexAttribI1i; +#define glVertexAttribI1i biz_glVertexAttribI1i +extern BizOGL::GLFunctor biz_glVertexAttribI2i; +#define glVertexAttribI2i biz_glVertexAttribI2i +extern BizOGL::GLFunctor biz_glVertexAttribI3i; +#define glVertexAttribI3i biz_glVertexAttribI3i +extern BizOGL::GLFunctor biz_glVertexAttribI4i; +#define glVertexAttribI4i biz_glVertexAttribI4i +extern BizOGL::GLFunctor biz_glVertexAttribI1ui; +#define glVertexAttribI1ui biz_glVertexAttribI1ui +extern BizOGL::GLFunctor biz_glVertexAttribI2ui; +#define glVertexAttribI2ui biz_glVertexAttribI2ui +extern BizOGL::GLFunctor biz_glVertexAttribI3ui; +#define glVertexAttribI3ui biz_glVertexAttribI3ui +extern BizOGL::GLFunctor biz_glVertexAttribI4ui; +#define glVertexAttribI4ui biz_glVertexAttribI4ui +extern BizOGL::GLFunctor biz_glVertexAttribI1iv; +#define glVertexAttribI1iv biz_glVertexAttribI1iv +extern BizOGL::GLFunctor biz_glVertexAttribI2iv; +#define glVertexAttribI2iv biz_glVertexAttribI2iv +extern BizOGL::GLFunctor biz_glVertexAttribI3iv; +#define glVertexAttribI3iv biz_glVertexAttribI3iv +extern BizOGL::GLFunctor biz_glVertexAttribI4iv; +#define glVertexAttribI4iv biz_glVertexAttribI4iv +extern BizOGL::GLFunctor biz_glVertexAttribI1uiv; +#define glVertexAttribI1uiv biz_glVertexAttribI1uiv +extern BizOGL::GLFunctor biz_glVertexAttribI2uiv; +#define glVertexAttribI2uiv biz_glVertexAttribI2uiv +extern BizOGL::GLFunctor biz_glVertexAttribI3uiv; +#define glVertexAttribI3uiv biz_glVertexAttribI3uiv +extern BizOGL::GLFunctor biz_glVertexAttribI4uiv; +#define glVertexAttribI4uiv biz_glVertexAttribI4uiv +extern BizOGL::GLFunctor biz_glVertexAttribI4bv; +#define glVertexAttribI4bv biz_glVertexAttribI4bv +extern BizOGL::GLFunctor biz_glVertexAttribI4sv; +#define glVertexAttribI4sv biz_glVertexAttribI4sv +extern BizOGL::GLFunctor biz_glVertexAttribI4ubv; +#define glVertexAttribI4ubv biz_glVertexAttribI4ubv +extern BizOGL::GLFunctor biz_glVertexAttribI4usv; +#define glVertexAttribI4usv biz_glVertexAttribI4usv +extern BizOGL::GLFunctor biz_glGetUniformuiv; +#define glGetUniformuiv biz_glGetUniformuiv +extern BizOGL::GLFunctor biz_glBindFragDataLocation; +#define glBindFragDataLocation biz_glBindFragDataLocation +extern BizOGL::GLFunctor biz_glGetFragDataLocation; +#define glGetFragDataLocation biz_glGetFragDataLocation +extern BizOGL::GLFunctor biz_glUniform1ui; +#define glUniform1ui biz_glUniform1ui +extern BizOGL::GLFunctor biz_glUniform2ui; +#define glUniform2ui biz_glUniform2ui +extern BizOGL::GLFunctor biz_glUniform3ui; +#define glUniform3ui biz_glUniform3ui +extern BizOGL::GLFunctor biz_glUniform4ui; +#define glUniform4ui biz_glUniform4ui +extern BizOGL::GLFunctor biz_glUniform1uiv; +#define glUniform1uiv biz_glUniform1uiv +extern BizOGL::GLFunctor biz_glUniform2uiv; +#define glUniform2uiv biz_glUniform2uiv +extern BizOGL::GLFunctor biz_glUniform3uiv; +#define glUniform3uiv biz_glUniform3uiv +extern BizOGL::GLFunctor biz_glUniform4uiv; +#define glUniform4uiv biz_glUniform4uiv +extern BizOGL::GLFunctor biz_glTexParameterIiv; +#define glTexParameterIiv biz_glTexParameterIiv +extern BizOGL::GLFunctor biz_glTexParameterIuiv; +#define glTexParameterIuiv biz_glTexParameterIuiv +extern BizOGL::GLFunctor biz_glGetTexParameterIiv; +#define glGetTexParameterIiv biz_glGetTexParameterIiv +extern BizOGL::GLFunctor biz_glGetTexParameterIuiv; +#define glGetTexParameterIuiv biz_glGetTexParameterIuiv +extern BizOGL::GLFunctor biz_glClearBufferiv; +#define glClearBufferiv biz_glClearBufferiv +extern BizOGL::GLFunctor biz_glClearBufferuiv; +#define glClearBufferuiv biz_glClearBufferuiv +extern BizOGL::GLFunctor biz_glClearBufferfv; +#define glClearBufferfv biz_glClearBufferfv +extern BizOGL::GLFunctor biz_glClearBufferfi; +#define glClearBufferfi biz_glClearBufferfi +extern BizOGL::GLFunctor biz_glGetStringi; +#define glGetStringi biz_glGetStringi +extern BizOGL::GLFunctor biz_glIsRenderbuffer; +#define glIsRenderbuffer biz_glIsRenderbuffer +extern BizOGL::GLFunctor biz_glBindRenderbuffer; +#define glBindRenderbuffer biz_glBindRenderbuffer +extern BizOGL::GLFunctor biz_glDeleteRenderbuffers; +#define glDeleteRenderbuffers biz_glDeleteRenderbuffers +extern BizOGL::GLFunctor biz_glGenRenderbuffers; +#define glGenRenderbuffers biz_glGenRenderbuffers +extern BizOGL::GLFunctor biz_glRenderbufferStorage; +#define glRenderbufferStorage biz_glRenderbufferStorage +extern BizOGL::GLFunctor biz_glGetRenderbufferParameteriv; +#define glGetRenderbufferParameteriv biz_glGetRenderbufferParameteriv +extern BizOGL::GLFunctor biz_glIsFramebuffer; +#define glIsFramebuffer biz_glIsFramebuffer +extern BizOGL::GLFunctor biz_glBindFramebuffer; +#define glBindFramebuffer biz_glBindFramebuffer +extern BizOGL::GLFunctor biz_glDeleteFramebuffers; +#define glDeleteFramebuffers biz_glDeleteFramebuffers +extern BizOGL::GLFunctor biz_glGenFramebuffers; +#define glGenFramebuffers biz_glGenFramebuffers +extern BizOGL::GLFunctor biz_glCheckFramebufferStatus; +#define glCheckFramebufferStatus biz_glCheckFramebufferStatus +extern BizOGL::GLFunctor biz_glFramebufferTexture1D; +#define glFramebufferTexture1D biz_glFramebufferTexture1D +extern BizOGL::GLFunctor biz_glFramebufferTexture2D; +#define glFramebufferTexture2D biz_glFramebufferTexture2D +extern BizOGL::GLFunctor biz_glFramebufferTexture3D; +#define glFramebufferTexture3D biz_glFramebufferTexture3D +extern BizOGL::GLFunctor biz_glFramebufferRenderbuffer; +#define glFramebufferRenderbuffer biz_glFramebufferRenderbuffer +extern BizOGL::GLFunctor biz_glGetFramebufferAttachmentParameteriv; +#define glGetFramebufferAttachmentParameteriv biz_glGetFramebufferAttachmentParameteriv +extern BizOGL::GLFunctor biz_glGenerateMipmap; +#define glGenerateMipmap biz_glGenerateMipmap +extern BizOGL::GLFunctor biz_glBlitFramebuffer; +#define glBlitFramebuffer biz_glBlitFramebuffer +extern BizOGL::GLFunctor biz_glRenderbufferStorageMultisample; +#define glRenderbufferStorageMultisample biz_glRenderbufferStorageMultisample +extern BizOGL::GLFunctor biz_glFramebufferTextureLayer; +#define glFramebufferTextureLayer biz_glFramebufferTextureLayer +extern BizOGL::GLFunctor biz_glMapBufferRange; +#define glMapBufferRange biz_glMapBufferRange +extern BizOGL::GLFunctor biz_glFlushMappedBufferRange; +#define glFlushMappedBufferRange biz_glFlushMappedBufferRange +extern BizOGL::GLFunctor biz_glBindVertexArray; +#define glBindVertexArray biz_glBindVertexArray +extern BizOGL::GLFunctor biz_glDeleteVertexArrays; +#define glDeleteVertexArrays biz_glDeleteVertexArrays +extern BizOGL::GLFunctor biz_glGenVertexArrays; +#define glGenVertexArrays biz_glGenVertexArrays +extern BizOGL::GLFunctor biz_glIsVertexArray; +#define glIsVertexArray biz_glIsVertexArray #define GL_VERSION_3_1 1 -typedef void (*PFNGLDRAWARRAYSINSTANCEDPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); -GLAPI PFNGLDRAWARRAYSINSTANCEDPROC biz_glDrawArraysInstanced; -#define glDrawArraysInstanced(...) WRAP_PFN(biz_glDrawArraysInstanced, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSINSTANCEDPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); -GLAPI PFNGLDRAWELEMENTSINSTANCEDPROC biz_glDrawElementsInstanced; -#define glDrawElementsInstanced(...) WRAP_PFN(biz_glDrawElementsInstanced, __VA_ARGS__) -typedef void (*PFNGLTEXBUFFERPROC)(GLenum target, GLenum internalformat, GLuint buffer); -GLAPI PFNGLTEXBUFFERPROC biz_glTexBuffer; -#define glTexBuffer(...) WRAP_PFN(biz_glTexBuffer, __VA_ARGS__) -typedef void (*PFNGLPRIMITIVERESTARTINDEXPROC)(GLuint index); -GLAPI PFNGLPRIMITIVERESTARTINDEXPROC biz_glPrimitiveRestartIndex; -#define glPrimitiveRestartIndex(...) WRAP_PFN(biz_glPrimitiveRestartIndex, __VA_ARGS__) -typedef void (*PFNGLCOPYBUFFERSUBDATAPROC)(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); -GLAPI PFNGLCOPYBUFFERSUBDATAPROC biz_glCopyBufferSubData; -#define glCopyBufferSubData(...) WRAP_PFN(biz_glCopyBufferSubData, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMINDICESPROC)(GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); -GLAPI PFNGLGETUNIFORMINDICESPROC biz_glGetUniformIndices; -#define glGetUniformIndices(...) WRAP_PFN(biz_glGetUniformIndices, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEUNIFORMSIVPROC)(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); -GLAPI PFNGLGETACTIVEUNIFORMSIVPROC biz_glGetActiveUniformsiv; -#define glGetActiveUniformsiv(...) WRAP_PFN(biz_glGetActiveUniformsiv, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEUNIFORMNAMEPROC)(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); -GLAPI PFNGLGETACTIVEUNIFORMNAMEPROC biz_glGetActiveUniformName; -#define glGetActiveUniformName(...) WRAP_PFN(biz_glGetActiveUniformName, __VA_ARGS__) -typedef GLuint (*PFNGLGETUNIFORMBLOCKINDEXPROC)(GLuint program, const GLchar *uniformBlockName); -GLAPI PFNGLGETUNIFORMBLOCKINDEXPROC biz_glGetUniformBlockIndex; -#define glGetUniformBlockIndex(...) WRAP_PFN(biz_glGetUniformBlockIndex, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEUNIFORMBLOCKIVPROC)(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); -GLAPI PFNGLGETACTIVEUNIFORMBLOCKIVPROC biz_glGetActiveUniformBlockiv; -#define glGetActiveUniformBlockiv(...) WRAP_PFN(biz_glGetActiveUniformBlockiv, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); -GLAPI PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC biz_glGetActiveUniformBlockName; -#define glGetActiveUniformBlockName(...) WRAP_PFN(biz_glGetActiveUniformBlockName, __VA_ARGS__) -typedef void (*PFNGLUNIFORMBLOCKBINDINGPROC)(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); -GLAPI PFNGLUNIFORMBLOCKBINDINGPROC biz_glUniformBlockBinding; -#define glUniformBlockBinding(...) WRAP_PFN(biz_glUniformBlockBinding, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glDrawArraysInstanced; +#define glDrawArraysInstanced biz_glDrawArraysInstanced +extern BizOGL::GLFunctor biz_glDrawElementsInstanced; +#define glDrawElementsInstanced biz_glDrawElementsInstanced +extern BizOGL::GLFunctor biz_glTexBuffer; +#define glTexBuffer biz_glTexBuffer +extern BizOGL::GLFunctor biz_glPrimitiveRestartIndex; +#define glPrimitiveRestartIndex biz_glPrimitiveRestartIndex +extern BizOGL::GLFunctor biz_glCopyBufferSubData; +#define glCopyBufferSubData biz_glCopyBufferSubData +extern BizOGL::GLFunctor biz_glGetUniformIndices; +#define glGetUniformIndices biz_glGetUniformIndices +extern BizOGL::GLFunctor biz_glGetActiveUniformsiv; +#define glGetActiveUniformsiv biz_glGetActiveUniformsiv +extern BizOGL::GLFunctor biz_glGetActiveUniformName; +#define glGetActiveUniformName biz_glGetActiveUniformName +extern BizOGL::GLFunctor biz_glGetUniformBlockIndex; +#define glGetUniformBlockIndex biz_glGetUniformBlockIndex +extern BizOGL::GLFunctor biz_glGetActiveUniformBlockiv; +#define glGetActiveUniformBlockiv biz_glGetActiveUniformBlockiv +extern BizOGL::GLFunctor biz_glGetActiveUniformBlockName; +#define glGetActiveUniformBlockName biz_glGetActiveUniformBlockName +extern BizOGL::GLFunctor biz_glUniformBlockBinding; +#define glUniformBlockBinding biz_glUniformBlockBinding #define GL_VERSION_3_2 1 -typedef void (*PFNGLDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI PFNGLDRAWELEMENTSBASEVERTEXPROC biz_glDrawElementsBaseVertex; -#define glDrawElementsBaseVertex(...) WRAP_PFN(biz_glDrawElementsBaseVertex, __VA_ARGS__) -typedef void (*PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); -GLAPI PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC biz_glDrawRangeElementsBaseVertex; -#define glDrawRangeElementsBaseVertex(...) WRAP_PFN(biz_glDrawRangeElementsBaseVertex, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); -GLAPI PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC biz_glDrawElementsInstancedBaseVertex; -#define glDrawElementsInstancedBaseVertex(...) WRAP_PFN(biz_glDrawElementsInstancedBaseVertex, __VA_ARGS__) -typedef void (*PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)(GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); -GLAPI PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC biz_glMultiDrawElementsBaseVertex; -#define glMultiDrawElementsBaseVertex(...) WRAP_PFN(biz_glMultiDrawElementsBaseVertex, __VA_ARGS__) -typedef void (*PFNGLPROVOKINGVERTEXPROC)(GLenum mode); -GLAPI PFNGLPROVOKINGVERTEXPROC biz_glProvokingVertex; -#define glProvokingVertex(...) WRAP_PFN(biz_glProvokingVertex, __VA_ARGS__) -typedef GLsync (*PFNGLFENCESYNCPROC)(GLenum condition, GLbitfield flags); -GLAPI PFNGLFENCESYNCPROC biz_glFenceSync; -#define glFenceSync(...) WRAP_PFN(biz_glFenceSync, __VA_ARGS__) -typedef GLboolean (*PFNGLISSYNCPROC)(GLsync sync); -GLAPI PFNGLISSYNCPROC biz_glIsSync; -#define glIsSync(...) WRAP_PFN(biz_glIsSync, __VA_ARGS__) -typedef void (*PFNGLDELETESYNCPROC)(GLsync sync); -GLAPI PFNGLDELETESYNCPROC biz_glDeleteSync; -#define glDeleteSync(...) WRAP_PFN(biz_glDeleteSync, __VA_ARGS__) -typedef GLenum (*PFNGLCLIENTWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI PFNGLCLIENTWAITSYNCPROC biz_glClientWaitSync; -#define glClientWaitSync(...) WRAP_PFN(biz_glClientWaitSync, __VA_ARGS__) -typedef void (*PFNGLWAITSYNCPROC)(GLsync sync, GLbitfield flags, GLuint64 timeout); -GLAPI PFNGLWAITSYNCPROC biz_glWaitSync; -#define glWaitSync(...) WRAP_PFN(biz_glWaitSync, __VA_ARGS__) -typedef void (*PFNGLGETINTEGER64VPROC)(GLenum pname, GLint64 *data); -GLAPI PFNGLGETINTEGER64VPROC biz_glGetInteger64v; -#define glGetInteger64v(...) WRAP_PFN(biz_glGetInteger64v, __VA_ARGS__) -typedef void (*PFNGLGETSYNCIVPROC)(GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values); -GLAPI PFNGLGETSYNCIVPROC biz_glGetSynciv; -#define glGetSynciv(...) WRAP_PFN(biz_glGetSynciv, __VA_ARGS__) -typedef void (*PFNGLGETINTEGER64I_VPROC)(GLenum target, GLuint index, GLint64 *data); -GLAPI PFNGLGETINTEGER64I_VPROC biz_glGetInteger64i_v; -#define glGetInteger64i_v(...) WRAP_PFN(biz_glGetInteger64i_v, __VA_ARGS__) -typedef void (*PFNGLGETBUFFERPARAMETERI64VPROC)(GLenum target, GLenum pname, GLint64 *params); -GLAPI PFNGLGETBUFFERPARAMETERI64VPROC biz_glGetBufferParameteri64v; -#define glGetBufferParameteri64v(...) WRAP_PFN(biz_glGetBufferParameteri64v, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERTEXTUREPROC)(GLenum target, GLenum attachment, GLuint texture, GLint level); -GLAPI PFNGLFRAMEBUFFERTEXTUREPROC biz_glFramebufferTexture; -#define glFramebufferTexture(...) WRAP_PFN(biz_glFramebufferTexture, __VA_ARGS__) -typedef void (*PFNGLTEXIMAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI PFNGLTEXIMAGE2DMULTISAMPLEPROC biz_glTexImage2DMultisample; -#define glTexImage2DMultisample(...) WRAP_PFN(biz_glTexImage2DMultisample, __VA_ARGS__) -typedef void (*PFNGLTEXIMAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI PFNGLTEXIMAGE3DMULTISAMPLEPROC biz_glTexImage3DMultisample; -#define glTexImage3DMultisample(...) WRAP_PFN(biz_glTexImage3DMultisample, __VA_ARGS__) -typedef void (*PFNGLGETMULTISAMPLEFVPROC)(GLenum pname, GLuint index, GLfloat *val); -GLAPI PFNGLGETMULTISAMPLEFVPROC biz_glGetMultisamplefv; -#define glGetMultisamplefv(...) WRAP_PFN(biz_glGetMultisamplefv, __VA_ARGS__) -typedef void (*PFNGLSAMPLEMASKIPROC)(GLuint maskNumber, GLbitfield mask); -GLAPI PFNGLSAMPLEMASKIPROC biz_glSampleMaski; -#define glSampleMaski(...) WRAP_PFN(biz_glSampleMaski, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glDrawElementsBaseVertex; +#define glDrawElementsBaseVertex biz_glDrawElementsBaseVertex +extern BizOGL::GLFunctor biz_glDrawRangeElementsBaseVertex; +#define glDrawRangeElementsBaseVertex biz_glDrawRangeElementsBaseVertex +extern BizOGL::GLFunctor biz_glDrawElementsInstancedBaseVertex; +#define glDrawElementsInstancedBaseVertex biz_glDrawElementsInstancedBaseVertex +extern BizOGL::GLFunctor biz_glMultiDrawElementsBaseVertex; +#define glMultiDrawElementsBaseVertex biz_glMultiDrawElementsBaseVertex +extern BizOGL::GLFunctor biz_glProvokingVertex; +#define glProvokingVertex biz_glProvokingVertex +extern BizOGL::GLFunctor biz_glFenceSync; +#define glFenceSync biz_glFenceSync +extern BizOGL::GLFunctor biz_glIsSync; +#define glIsSync biz_glIsSync +extern BizOGL::GLFunctor biz_glDeleteSync; +#define glDeleteSync biz_glDeleteSync +extern BizOGL::GLFunctor biz_glClientWaitSync; +#define glClientWaitSync biz_glClientWaitSync +extern BizOGL::GLFunctor biz_glWaitSync; +#define glWaitSync biz_glWaitSync +extern BizOGL::GLFunctor biz_glGetInteger64v; +#define glGetInteger64v biz_glGetInteger64v +extern BizOGL::GLFunctor biz_glGetSynciv; +#define glGetSynciv biz_glGetSynciv +extern BizOGL::GLFunctor biz_glGetInteger64i_v; +#define glGetInteger64i_v biz_glGetInteger64i_v +extern BizOGL::GLFunctor biz_glGetBufferParameteri64v; +#define glGetBufferParameteri64v biz_glGetBufferParameteri64v +extern BizOGL::GLFunctor biz_glFramebufferTexture; +#define glFramebufferTexture biz_glFramebufferTexture +extern BizOGL::GLFunctor biz_glTexImage2DMultisample; +#define glTexImage2DMultisample biz_glTexImage2DMultisample +extern BizOGL::GLFunctor biz_glTexImage3DMultisample; +#define glTexImage3DMultisample biz_glTexImage3DMultisample +extern BizOGL::GLFunctor biz_glGetMultisamplefv; +#define glGetMultisamplefv biz_glGetMultisamplefv +extern BizOGL::GLFunctor biz_glSampleMaski; +#define glSampleMaski biz_glSampleMaski #define GL_VERSION_3_3 1 -typedef void (*PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); -GLAPI PFNGLBINDFRAGDATALOCATIONINDEXEDPROC biz_glBindFragDataLocationIndexed; -#define glBindFragDataLocationIndexed(...) WRAP_PFN(biz_glBindFragDataLocationIndexed, __VA_ARGS__) -typedef GLint (*PFNGLGETFRAGDATAINDEXPROC)(GLuint program, const GLchar *name); -GLAPI PFNGLGETFRAGDATAINDEXPROC biz_glGetFragDataIndex; -#define glGetFragDataIndex(...) WRAP_PFN(biz_glGetFragDataIndex, __VA_ARGS__) -typedef void (*PFNGLGENSAMPLERSPROC)(GLsizei count, GLuint *samplers); -GLAPI PFNGLGENSAMPLERSPROC biz_glGenSamplers; -#define glGenSamplers(...) WRAP_PFN(biz_glGenSamplers, __VA_ARGS__) -typedef void (*PFNGLDELETESAMPLERSPROC)(GLsizei count, const GLuint *samplers); -GLAPI PFNGLDELETESAMPLERSPROC biz_glDeleteSamplers; -#define glDeleteSamplers(...) WRAP_PFN(biz_glDeleteSamplers, __VA_ARGS__) -typedef GLboolean (*PFNGLISSAMPLERPROC)(GLuint sampler); -GLAPI PFNGLISSAMPLERPROC biz_glIsSampler; -#define glIsSampler(...) WRAP_PFN(biz_glIsSampler, __VA_ARGS__) -typedef void (*PFNGLBINDSAMPLERPROC)(GLuint unit, GLuint sampler); -GLAPI PFNGLBINDSAMPLERPROC biz_glBindSampler; -#define glBindSampler(...) WRAP_PFN(biz_glBindSampler, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERIPROC)(GLuint sampler, GLenum pname, GLint param); -GLAPI PFNGLSAMPLERPARAMETERIPROC biz_glSamplerParameteri; -#define glSamplerParameteri(...) WRAP_PFN(biz_glSamplerParameteri, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, const GLint *param); -GLAPI PFNGLSAMPLERPARAMETERIVPROC biz_glSamplerParameteriv; -#define glSamplerParameteriv(...) WRAP_PFN(biz_glSamplerParameteriv, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERFPROC)(GLuint sampler, GLenum pname, GLfloat param); -GLAPI PFNGLSAMPLERPARAMETERFPROC biz_glSamplerParameterf; -#define glSamplerParameterf(...) WRAP_PFN(biz_glSamplerParameterf, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, const GLfloat *param); -GLAPI PFNGLSAMPLERPARAMETERFVPROC biz_glSamplerParameterfv; -#define glSamplerParameterfv(...) WRAP_PFN(biz_glSamplerParameterfv, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, const GLint *param); -GLAPI PFNGLSAMPLERPARAMETERIIVPROC biz_glSamplerParameterIiv; -#define glSamplerParameterIiv(...) WRAP_PFN(biz_glSamplerParameterIiv, __VA_ARGS__) -typedef void (*PFNGLSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, const GLuint *param); -GLAPI PFNGLSAMPLERPARAMETERIUIVPROC biz_glSamplerParameterIuiv; -#define glSamplerParameterIuiv(...) WRAP_PFN(biz_glSamplerParameterIuiv, __VA_ARGS__) -typedef void (*PFNGLGETSAMPLERPARAMETERIVPROC)(GLuint sampler, GLenum pname, GLint *params); -GLAPI PFNGLGETSAMPLERPARAMETERIVPROC biz_glGetSamplerParameteriv; -#define glGetSamplerParameteriv(...) WRAP_PFN(biz_glGetSamplerParameteriv, __VA_ARGS__) -typedef void (*PFNGLGETSAMPLERPARAMETERIIVPROC)(GLuint sampler, GLenum pname, GLint *params); -GLAPI PFNGLGETSAMPLERPARAMETERIIVPROC biz_glGetSamplerParameterIiv; -#define glGetSamplerParameterIiv(...) WRAP_PFN(biz_glGetSamplerParameterIiv, __VA_ARGS__) -typedef void (*PFNGLGETSAMPLERPARAMETERFVPROC)(GLuint sampler, GLenum pname, GLfloat *params); -GLAPI PFNGLGETSAMPLERPARAMETERFVPROC biz_glGetSamplerParameterfv; -#define glGetSamplerParameterfv(...) WRAP_PFN(biz_glGetSamplerParameterfv, __VA_ARGS__) -typedef void (*PFNGLGETSAMPLERPARAMETERIUIVPROC)(GLuint sampler, GLenum pname, GLuint *params); -GLAPI PFNGLGETSAMPLERPARAMETERIUIVPROC biz_glGetSamplerParameterIuiv; -#define glGetSamplerParameterIuiv(...) WRAP_PFN(biz_glGetSamplerParameterIuiv, __VA_ARGS__) -typedef void (*PFNGLQUERYCOUNTERPROC)(GLuint id, GLenum target); -GLAPI PFNGLQUERYCOUNTERPROC biz_glQueryCounter; -#define glQueryCounter(...) WRAP_PFN(biz_glQueryCounter, __VA_ARGS__) -typedef void (*PFNGLGETQUERYOBJECTI64VPROC)(GLuint id, GLenum pname, GLint64 *params); -GLAPI PFNGLGETQUERYOBJECTI64VPROC biz_glGetQueryObjecti64v; -#define glGetQueryObjecti64v(...) WRAP_PFN(biz_glGetQueryObjecti64v, __VA_ARGS__) -typedef void (*PFNGLGETQUERYOBJECTUI64VPROC)(GLuint id, GLenum pname, GLuint64 *params); -GLAPI PFNGLGETQUERYOBJECTUI64VPROC biz_glGetQueryObjectui64v; -#define glGetQueryObjectui64v(...) WRAP_PFN(biz_glGetQueryObjectui64v, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBDIVISORPROC)(GLuint index, GLuint divisor); -GLAPI PFNGLVERTEXATTRIBDIVISORPROC biz_glVertexAttribDivisor; -#define glVertexAttribDivisor(...) WRAP_PFN(biz_glVertexAttribDivisor, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP1UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI PFNGLVERTEXATTRIBP1UIPROC biz_glVertexAttribP1ui; -#define glVertexAttribP1ui(...) WRAP_PFN(biz_glVertexAttribP1ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP1UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI PFNGLVERTEXATTRIBP1UIVPROC biz_glVertexAttribP1uiv; -#define glVertexAttribP1uiv(...) WRAP_PFN(biz_glVertexAttribP1uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP2UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI PFNGLVERTEXATTRIBP2UIPROC biz_glVertexAttribP2ui; -#define glVertexAttribP2ui(...) WRAP_PFN(biz_glVertexAttribP2ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP2UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI PFNGLVERTEXATTRIBP2UIVPROC biz_glVertexAttribP2uiv; -#define glVertexAttribP2uiv(...) WRAP_PFN(biz_glVertexAttribP2uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP3UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI PFNGLVERTEXATTRIBP3UIPROC biz_glVertexAttribP3ui; -#define glVertexAttribP3ui(...) WRAP_PFN(biz_glVertexAttribP3ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP3UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI PFNGLVERTEXATTRIBP3UIVPROC biz_glVertexAttribP3uiv; -#define glVertexAttribP3uiv(...) WRAP_PFN(biz_glVertexAttribP3uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP4UIPROC)(GLuint index, GLenum type, GLboolean normalized, GLuint value); -GLAPI PFNGLVERTEXATTRIBP4UIPROC biz_glVertexAttribP4ui; -#define glVertexAttribP4ui(...) WRAP_PFN(biz_glVertexAttribP4ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBP4UIVPROC)(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); -GLAPI PFNGLVERTEXATTRIBP4UIVPROC biz_glVertexAttribP4uiv; -#define glVertexAttribP4uiv(...) WRAP_PFN(biz_glVertexAttribP4uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXP2UIPROC)(GLenum type, GLuint value); -GLAPI PFNGLVERTEXP2UIPROC biz_glVertexP2ui; -#define glVertexP2ui(...) WRAP_PFN(biz_glVertexP2ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXP2UIVPROC)(GLenum type, const GLuint *value); -GLAPI PFNGLVERTEXP2UIVPROC biz_glVertexP2uiv; -#define glVertexP2uiv(...) WRAP_PFN(biz_glVertexP2uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXP3UIPROC)(GLenum type, GLuint value); -GLAPI PFNGLVERTEXP3UIPROC biz_glVertexP3ui; -#define glVertexP3ui(...) WRAP_PFN(biz_glVertexP3ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXP3UIVPROC)(GLenum type, const GLuint *value); -GLAPI PFNGLVERTEXP3UIVPROC biz_glVertexP3uiv; -#define glVertexP3uiv(...) WRAP_PFN(biz_glVertexP3uiv, __VA_ARGS__) -typedef void (*PFNGLVERTEXP4UIPROC)(GLenum type, GLuint value); -GLAPI PFNGLVERTEXP4UIPROC biz_glVertexP4ui; -#define glVertexP4ui(...) WRAP_PFN(biz_glVertexP4ui, __VA_ARGS__) -typedef void (*PFNGLVERTEXP4UIVPROC)(GLenum type, const GLuint *value); -GLAPI PFNGLVERTEXP4UIVPROC biz_glVertexP4uiv; -#define glVertexP4uiv(...) WRAP_PFN(biz_glVertexP4uiv, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP1UIPROC)(GLenum type, GLuint coords); -GLAPI PFNGLTEXCOORDP1UIPROC biz_glTexCoordP1ui; -#define glTexCoordP1ui(...) WRAP_PFN(biz_glTexCoordP1ui, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP1UIVPROC)(GLenum type, const GLuint *coords); -GLAPI PFNGLTEXCOORDP1UIVPROC biz_glTexCoordP1uiv; -#define glTexCoordP1uiv(...) WRAP_PFN(biz_glTexCoordP1uiv, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP2UIPROC)(GLenum type, GLuint coords); -GLAPI PFNGLTEXCOORDP2UIPROC biz_glTexCoordP2ui; -#define glTexCoordP2ui(...) WRAP_PFN(biz_glTexCoordP2ui, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP2UIVPROC)(GLenum type, const GLuint *coords); -GLAPI PFNGLTEXCOORDP2UIVPROC biz_glTexCoordP2uiv; -#define glTexCoordP2uiv(...) WRAP_PFN(biz_glTexCoordP2uiv, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP3UIPROC)(GLenum type, GLuint coords); -GLAPI PFNGLTEXCOORDP3UIPROC biz_glTexCoordP3ui; -#define glTexCoordP3ui(...) WRAP_PFN(biz_glTexCoordP3ui, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP3UIVPROC)(GLenum type, const GLuint *coords); -GLAPI PFNGLTEXCOORDP3UIVPROC biz_glTexCoordP3uiv; -#define glTexCoordP3uiv(...) WRAP_PFN(biz_glTexCoordP3uiv, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP4UIPROC)(GLenum type, GLuint coords); -GLAPI PFNGLTEXCOORDP4UIPROC biz_glTexCoordP4ui; -#define glTexCoordP4ui(...) WRAP_PFN(biz_glTexCoordP4ui, __VA_ARGS__) -typedef void (*PFNGLTEXCOORDP4UIVPROC)(GLenum type, const GLuint *coords); -GLAPI PFNGLTEXCOORDP4UIVPROC biz_glTexCoordP4uiv; -#define glTexCoordP4uiv(...) WRAP_PFN(biz_glTexCoordP4uiv, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP1UIPROC)(GLenum texture, GLenum type, GLuint coords); -GLAPI PFNGLMULTITEXCOORDP1UIPROC biz_glMultiTexCoordP1ui; -#define glMultiTexCoordP1ui(...) WRAP_PFN(biz_glMultiTexCoordP1ui, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP1UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); -GLAPI PFNGLMULTITEXCOORDP1UIVPROC biz_glMultiTexCoordP1uiv; -#define glMultiTexCoordP1uiv(...) WRAP_PFN(biz_glMultiTexCoordP1uiv, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP2UIPROC)(GLenum texture, GLenum type, GLuint coords); -GLAPI PFNGLMULTITEXCOORDP2UIPROC biz_glMultiTexCoordP2ui; -#define glMultiTexCoordP2ui(...) WRAP_PFN(biz_glMultiTexCoordP2ui, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP2UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); -GLAPI PFNGLMULTITEXCOORDP2UIVPROC biz_glMultiTexCoordP2uiv; -#define glMultiTexCoordP2uiv(...) WRAP_PFN(biz_glMultiTexCoordP2uiv, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP3UIPROC)(GLenum texture, GLenum type, GLuint coords); -GLAPI PFNGLMULTITEXCOORDP3UIPROC biz_glMultiTexCoordP3ui; -#define glMultiTexCoordP3ui(...) WRAP_PFN(biz_glMultiTexCoordP3ui, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP3UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); -GLAPI PFNGLMULTITEXCOORDP3UIVPROC biz_glMultiTexCoordP3uiv; -#define glMultiTexCoordP3uiv(...) WRAP_PFN(biz_glMultiTexCoordP3uiv, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP4UIPROC)(GLenum texture, GLenum type, GLuint coords); -GLAPI PFNGLMULTITEXCOORDP4UIPROC biz_glMultiTexCoordP4ui; -#define glMultiTexCoordP4ui(...) WRAP_PFN(biz_glMultiTexCoordP4ui, __VA_ARGS__) -typedef void (*PFNGLMULTITEXCOORDP4UIVPROC)(GLenum texture, GLenum type, const GLuint *coords); -GLAPI PFNGLMULTITEXCOORDP4UIVPROC biz_glMultiTexCoordP4uiv; -#define glMultiTexCoordP4uiv(...) WRAP_PFN(biz_glMultiTexCoordP4uiv, __VA_ARGS__) -typedef void (*PFNGLNORMALP3UIPROC)(GLenum type, GLuint coords); -GLAPI PFNGLNORMALP3UIPROC biz_glNormalP3ui; -#define glNormalP3ui(...) WRAP_PFN(biz_glNormalP3ui, __VA_ARGS__) -typedef void (*PFNGLNORMALP3UIVPROC)(GLenum type, const GLuint *coords); -GLAPI PFNGLNORMALP3UIVPROC biz_glNormalP3uiv; -#define glNormalP3uiv(...) WRAP_PFN(biz_glNormalP3uiv, __VA_ARGS__) -typedef void (*PFNGLCOLORP3UIPROC)(GLenum type, GLuint color); -GLAPI PFNGLCOLORP3UIPROC biz_glColorP3ui; -#define glColorP3ui(...) WRAP_PFN(biz_glColorP3ui, __VA_ARGS__) -typedef void (*PFNGLCOLORP3UIVPROC)(GLenum type, const GLuint *color); -GLAPI PFNGLCOLORP3UIVPROC biz_glColorP3uiv; -#define glColorP3uiv(...) WRAP_PFN(biz_glColorP3uiv, __VA_ARGS__) -typedef void (*PFNGLCOLORP4UIPROC)(GLenum type, GLuint color); -GLAPI PFNGLCOLORP4UIPROC biz_glColorP4ui; -#define glColorP4ui(...) WRAP_PFN(biz_glColorP4ui, __VA_ARGS__) -typedef void (*PFNGLCOLORP4UIVPROC)(GLenum type, const GLuint *color); -GLAPI PFNGLCOLORP4UIVPROC biz_glColorP4uiv; -#define glColorP4uiv(...) WRAP_PFN(biz_glColorP4uiv, __VA_ARGS__) -typedef void (*PFNGLSECONDARYCOLORP3UIPROC)(GLenum type, GLuint color); -GLAPI PFNGLSECONDARYCOLORP3UIPROC biz_glSecondaryColorP3ui; -#define glSecondaryColorP3ui(...) WRAP_PFN(biz_glSecondaryColorP3ui, __VA_ARGS__) -typedef void (*PFNGLSECONDARYCOLORP3UIVPROC)(GLenum type, const GLuint *color); -GLAPI PFNGLSECONDARYCOLORP3UIVPROC biz_glSecondaryColorP3uiv; -#define glSecondaryColorP3uiv(...) WRAP_PFN(biz_glSecondaryColorP3uiv, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glBindFragDataLocationIndexed; +#define glBindFragDataLocationIndexed biz_glBindFragDataLocationIndexed +extern BizOGL::GLFunctor biz_glGetFragDataIndex; +#define glGetFragDataIndex biz_glGetFragDataIndex +extern BizOGL::GLFunctor biz_glGenSamplers; +#define glGenSamplers biz_glGenSamplers +extern BizOGL::GLFunctor biz_glDeleteSamplers; +#define glDeleteSamplers biz_glDeleteSamplers +extern BizOGL::GLFunctor biz_glIsSampler; +#define glIsSampler biz_glIsSampler +extern BizOGL::GLFunctor biz_glBindSampler; +#define glBindSampler biz_glBindSampler +extern BizOGL::GLFunctor biz_glSamplerParameteri; +#define glSamplerParameteri biz_glSamplerParameteri +extern BizOGL::GLFunctor biz_glSamplerParameteriv; +#define glSamplerParameteriv biz_glSamplerParameteriv +extern BizOGL::GLFunctor biz_glSamplerParameterf; +#define glSamplerParameterf biz_glSamplerParameterf +extern BizOGL::GLFunctor biz_glSamplerParameterfv; +#define glSamplerParameterfv biz_glSamplerParameterfv +extern BizOGL::GLFunctor biz_glSamplerParameterIiv; +#define glSamplerParameterIiv biz_glSamplerParameterIiv +extern BizOGL::GLFunctor biz_glSamplerParameterIuiv; +#define glSamplerParameterIuiv biz_glSamplerParameterIuiv +extern BizOGL::GLFunctor biz_glGetSamplerParameteriv; +#define glGetSamplerParameteriv biz_glGetSamplerParameteriv +extern BizOGL::GLFunctor biz_glGetSamplerParameterIiv; +#define glGetSamplerParameterIiv biz_glGetSamplerParameterIiv +extern BizOGL::GLFunctor biz_glGetSamplerParameterfv; +#define glGetSamplerParameterfv biz_glGetSamplerParameterfv +extern BizOGL::GLFunctor biz_glGetSamplerParameterIuiv; +#define glGetSamplerParameterIuiv biz_glGetSamplerParameterIuiv +extern BizOGL::GLFunctor biz_glQueryCounter; +#define glQueryCounter biz_glQueryCounter +extern BizOGL::GLFunctor biz_glGetQueryObjecti64v; +#define glGetQueryObjecti64v biz_glGetQueryObjecti64v +extern BizOGL::GLFunctor biz_glGetQueryObjectui64v; +#define glGetQueryObjectui64v biz_glGetQueryObjectui64v +extern BizOGL::GLFunctor biz_glVertexAttribDivisor; +#define glVertexAttribDivisor biz_glVertexAttribDivisor +extern BizOGL::GLFunctor biz_glVertexAttribP1ui; +#define glVertexAttribP1ui biz_glVertexAttribP1ui +extern BizOGL::GLFunctor biz_glVertexAttribP1uiv; +#define glVertexAttribP1uiv biz_glVertexAttribP1uiv +extern BizOGL::GLFunctor biz_glVertexAttribP2ui; +#define glVertexAttribP2ui biz_glVertexAttribP2ui +extern BizOGL::GLFunctor biz_glVertexAttribP2uiv; +#define glVertexAttribP2uiv biz_glVertexAttribP2uiv +extern BizOGL::GLFunctor biz_glVertexAttribP3ui; +#define glVertexAttribP3ui biz_glVertexAttribP3ui +extern BizOGL::GLFunctor biz_glVertexAttribP3uiv; +#define glVertexAttribP3uiv biz_glVertexAttribP3uiv +extern BizOGL::GLFunctor biz_glVertexAttribP4ui; +#define glVertexAttribP4ui biz_glVertexAttribP4ui +extern BizOGL::GLFunctor biz_glVertexAttribP4uiv; +#define glVertexAttribP4uiv biz_glVertexAttribP4uiv +extern BizOGL::GLFunctor biz_glVertexP2ui; +#define glVertexP2ui biz_glVertexP2ui +extern BizOGL::GLFunctor biz_glVertexP2uiv; +#define glVertexP2uiv biz_glVertexP2uiv +extern BizOGL::GLFunctor biz_glVertexP3ui; +#define glVertexP3ui biz_glVertexP3ui +extern BizOGL::GLFunctor biz_glVertexP3uiv; +#define glVertexP3uiv biz_glVertexP3uiv +extern BizOGL::GLFunctor biz_glVertexP4ui; +#define glVertexP4ui biz_glVertexP4ui +extern BizOGL::GLFunctor biz_glVertexP4uiv; +#define glVertexP4uiv biz_glVertexP4uiv +extern BizOGL::GLFunctor biz_glTexCoordP1ui; +#define glTexCoordP1ui biz_glTexCoordP1ui +extern BizOGL::GLFunctor biz_glTexCoordP1uiv; +#define glTexCoordP1uiv biz_glTexCoordP1uiv +extern BizOGL::GLFunctor biz_glTexCoordP2ui; +#define glTexCoordP2ui biz_glTexCoordP2ui +extern BizOGL::GLFunctor biz_glTexCoordP2uiv; +#define glTexCoordP2uiv biz_glTexCoordP2uiv +extern BizOGL::GLFunctor biz_glTexCoordP3ui; +#define glTexCoordP3ui biz_glTexCoordP3ui +extern BizOGL::GLFunctor biz_glTexCoordP3uiv; +#define glTexCoordP3uiv biz_glTexCoordP3uiv +extern BizOGL::GLFunctor biz_glTexCoordP4ui; +#define glTexCoordP4ui biz_glTexCoordP4ui +extern BizOGL::GLFunctor biz_glTexCoordP4uiv; +#define glTexCoordP4uiv biz_glTexCoordP4uiv +extern BizOGL::GLFunctor biz_glMultiTexCoordP1ui; +#define glMultiTexCoordP1ui biz_glMultiTexCoordP1ui +extern BizOGL::GLFunctor biz_glMultiTexCoordP1uiv; +#define glMultiTexCoordP1uiv biz_glMultiTexCoordP1uiv +extern BizOGL::GLFunctor biz_glMultiTexCoordP2ui; +#define glMultiTexCoordP2ui biz_glMultiTexCoordP2ui +extern BizOGL::GLFunctor biz_glMultiTexCoordP2uiv; +#define glMultiTexCoordP2uiv biz_glMultiTexCoordP2uiv +extern BizOGL::GLFunctor biz_glMultiTexCoordP3ui; +#define glMultiTexCoordP3ui biz_glMultiTexCoordP3ui +extern BizOGL::GLFunctor biz_glMultiTexCoordP3uiv; +#define glMultiTexCoordP3uiv biz_glMultiTexCoordP3uiv +extern BizOGL::GLFunctor biz_glMultiTexCoordP4ui; +#define glMultiTexCoordP4ui biz_glMultiTexCoordP4ui +extern BizOGL::GLFunctor biz_glMultiTexCoordP4uiv; +#define glMultiTexCoordP4uiv biz_glMultiTexCoordP4uiv +extern BizOGL::GLFunctor biz_glNormalP3ui; +#define glNormalP3ui biz_glNormalP3ui +extern BizOGL::GLFunctor biz_glNormalP3uiv; +#define glNormalP3uiv biz_glNormalP3uiv +extern BizOGL::GLFunctor biz_glColorP3ui; +#define glColorP3ui biz_glColorP3ui +extern BizOGL::GLFunctor biz_glColorP3uiv; +#define glColorP3uiv biz_glColorP3uiv +extern BizOGL::GLFunctor biz_glColorP4ui; +#define glColorP4ui biz_glColorP4ui +extern BizOGL::GLFunctor biz_glColorP4uiv; +#define glColorP4uiv biz_glColorP4uiv +extern BizOGL::GLFunctor biz_glSecondaryColorP3ui; +#define glSecondaryColorP3ui biz_glSecondaryColorP3ui +extern BizOGL::GLFunctor biz_glSecondaryColorP3uiv; +#define glSecondaryColorP3uiv biz_glSecondaryColorP3uiv #define GL_VERSION_4_0 1 -typedef void (*PFNGLMINSAMPLESHADINGPROC)(GLfloat value); -GLAPI PFNGLMINSAMPLESHADINGPROC biz_glMinSampleShading; -#define glMinSampleShading(...) WRAP_PFN(biz_glMinSampleShading, __VA_ARGS__) -typedef void (*PFNGLBLENDEQUATIONIPROC)(GLuint buf, GLenum mode); -GLAPI PFNGLBLENDEQUATIONIPROC biz_glBlendEquationi; -#define glBlendEquationi(...) WRAP_PFN(biz_glBlendEquationi, __VA_ARGS__) -typedef void (*PFNGLBLENDEQUATIONSEPARATEIPROC)(GLuint buf, GLenum modeRGB, GLenum modeAlpha); -GLAPI PFNGLBLENDEQUATIONSEPARATEIPROC biz_glBlendEquationSeparatei; -#define glBlendEquationSeparatei(...) WRAP_PFN(biz_glBlendEquationSeparatei, __VA_ARGS__) -typedef void (*PFNGLBLENDFUNCIPROC)(GLuint buf, GLenum src, GLenum dst); -GLAPI PFNGLBLENDFUNCIPROC biz_glBlendFunci; -#define glBlendFunci(...) WRAP_PFN(biz_glBlendFunci, __VA_ARGS__) -typedef void (*PFNGLBLENDFUNCSEPARATEIPROC)(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); -GLAPI PFNGLBLENDFUNCSEPARATEIPROC biz_glBlendFuncSeparatei; -#define glBlendFuncSeparatei(...) WRAP_PFN(biz_glBlendFuncSeparatei, __VA_ARGS__) -typedef void (*PFNGLDRAWARRAYSINDIRECTPROC)(GLenum mode, const void *indirect); -GLAPI PFNGLDRAWARRAYSINDIRECTPROC biz_glDrawArraysIndirect; -#define glDrawArraysIndirect(...) WRAP_PFN(biz_glDrawArraysIndirect, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSINDIRECTPROC)(GLenum mode, GLenum type, const void *indirect); -GLAPI PFNGLDRAWELEMENTSINDIRECTPROC biz_glDrawElementsIndirect; -#define glDrawElementsIndirect(...) WRAP_PFN(biz_glDrawElementsIndirect, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1DPROC)(GLint location, GLdouble x); -GLAPI PFNGLUNIFORM1DPROC biz_glUniform1d; -#define glUniform1d(...) WRAP_PFN(biz_glUniform1d, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2DPROC)(GLint location, GLdouble x, GLdouble y); -GLAPI PFNGLUNIFORM2DPROC biz_glUniform2d; -#define glUniform2d(...) WRAP_PFN(biz_glUniform2d, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3DPROC)(GLint location, GLdouble x, GLdouble y, GLdouble z); -GLAPI PFNGLUNIFORM3DPROC biz_glUniform3d; -#define glUniform3d(...) WRAP_PFN(biz_glUniform3d, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4DPROC)(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI PFNGLUNIFORM4DPROC biz_glUniform4d; -#define glUniform4d(...) WRAP_PFN(biz_glUniform4d, __VA_ARGS__) -typedef void (*PFNGLUNIFORM1DVPROC)(GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLUNIFORM1DVPROC biz_glUniform1dv; -#define glUniform1dv(...) WRAP_PFN(biz_glUniform1dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM2DVPROC)(GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLUNIFORM2DVPROC biz_glUniform2dv; -#define glUniform2dv(...) WRAP_PFN(biz_glUniform2dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM3DVPROC)(GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLUNIFORM3DVPROC biz_glUniform3dv; -#define glUniform3dv(...) WRAP_PFN(biz_glUniform3dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORM4DVPROC)(GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLUNIFORM4DVPROC biz_glUniform4dv; -#define glUniform4dv(...) WRAP_PFN(biz_glUniform4dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX2DVPROC biz_glUniformMatrix2dv; -#define glUniformMatrix2dv(...) WRAP_PFN(biz_glUniformMatrix2dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX3DVPROC biz_glUniformMatrix3dv; -#define glUniformMatrix3dv(...) WRAP_PFN(biz_glUniformMatrix3dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX4DVPROC biz_glUniformMatrix4dv; -#define glUniformMatrix4dv(...) WRAP_PFN(biz_glUniformMatrix4dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX2X3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX2X3DVPROC biz_glUniformMatrix2x3dv; -#define glUniformMatrix2x3dv(...) WRAP_PFN(biz_glUniformMatrix2x3dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX2X4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX2X4DVPROC biz_glUniformMatrix2x4dv; -#define glUniformMatrix2x4dv(...) WRAP_PFN(biz_glUniformMatrix2x4dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3X2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX3X2DVPROC biz_glUniformMatrix3x2dv; -#define glUniformMatrix3x2dv(...) WRAP_PFN(biz_glUniformMatrix3x2dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX3X4DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX3X4DVPROC biz_glUniformMatrix3x4dv; -#define glUniformMatrix3x4dv(...) WRAP_PFN(biz_glUniformMatrix3x4dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4X2DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX4X2DVPROC biz_glUniformMatrix4x2dv; -#define glUniformMatrix4x2dv(...) WRAP_PFN(biz_glUniformMatrix4x2dv, __VA_ARGS__) -typedef void (*PFNGLUNIFORMMATRIX4X3DVPROC)(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLUNIFORMMATRIX4X3DVPROC biz_glUniformMatrix4x3dv; -#define glUniformMatrix4x3dv(...) WRAP_PFN(biz_glUniformMatrix4x3dv, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMDVPROC)(GLuint program, GLint location, GLdouble *params); -GLAPI PFNGLGETUNIFORMDVPROC biz_glGetUniformdv; -#define glGetUniformdv(...) WRAP_PFN(biz_glGetUniformdv, __VA_ARGS__) -typedef GLint (*PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)(GLuint program, GLenum shadertype, const GLchar *name); -GLAPI PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC biz_glGetSubroutineUniformLocation; -#define glGetSubroutineUniformLocation(...) WRAP_PFN(biz_glGetSubroutineUniformLocation, __VA_ARGS__) -typedef GLuint (*PFNGLGETSUBROUTINEINDEXPROC)(GLuint program, GLenum shadertype, const GLchar *name); -GLAPI PFNGLGETSUBROUTINEINDEXPROC biz_glGetSubroutineIndex; -#define glGetSubroutineIndex(...) WRAP_PFN(biz_glGetSubroutineIndex, __VA_ARGS__) -typedef void (*PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); -GLAPI PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC biz_glGetActiveSubroutineUniformiv; -#define glGetActiveSubroutineUniformiv(...) WRAP_PFN(biz_glGetActiveSubroutineUniformiv, __VA_ARGS__) -typedef void (*PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC biz_glGetActiveSubroutineUniformName; -#define glGetActiveSubroutineUniformName(...) WRAP_PFN(biz_glGetActiveSubroutineUniformName, __VA_ARGS__) -typedef void (*PFNGLGETACTIVESUBROUTINENAMEPROC)(GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI PFNGLGETACTIVESUBROUTINENAMEPROC biz_glGetActiveSubroutineName; -#define glGetActiveSubroutineName(...) WRAP_PFN(biz_glGetActiveSubroutineName, __VA_ARGS__) -typedef void (*PFNGLUNIFORMSUBROUTINESUIVPROC)(GLenum shadertype, GLsizei count, const GLuint *indices); -GLAPI PFNGLUNIFORMSUBROUTINESUIVPROC biz_glUniformSubroutinesuiv; -#define glUniformSubroutinesuiv(...) WRAP_PFN(biz_glUniformSubroutinesuiv, __VA_ARGS__) -typedef void (*PFNGLGETUNIFORMSUBROUTINEUIVPROC)(GLenum shadertype, GLint location, GLuint *params); -GLAPI PFNGLGETUNIFORMSUBROUTINEUIVPROC biz_glGetUniformSubroutineuiv; -#define glGetUniformSubroutineuiv(...) WRAP_PFN(biz_glGetUniformSubroutineuiv, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMSTAGEIVPROC)(GLuint program, GLenum shadertype, GLenum pname, GLint *values); -GLAPI PFNGLGETPROGRAMSTAGEIVPROC biz_glGetProgramStageiv; -#define glGetProgramStageiv(...) WRAP_PFN(biz_glGetProgramStageiv, __VA_ARGS__) -typedef void (*PFNGLPATCHPARAMETERIPROC)(GLenum pname, GLint value); -GLAPI PFNGLPATCHPARAMETERIPROC biz_glPatchParameteri; -#define glPatchParameteri(...) WRAP_PFN(biz_glPatchParameteri, __VA_ARGS__) -typedef void (*PFNGLPATCHPARAMETERFVPROC)(GLenum pname, const GLfloat *values); -GLAPI PFNGLPATCHPARAMETERFVPROC biz_glPatchParameterfv; -#define glPatchParameterfv(...) WRAP_PFN(biz_glPatchParameterfv, __VA_ARGS__) -typedef void (*PFNGLBINDTRANSFORMFEEDBACKPROC)(GLenum target, GLuint id); -GLAPI PFNGLBINDTRANSFORMFEEDBACKPROC biz_glBindTransformFeedback; -#define glBindTransformFeedback(...) WRAP_PFN(biz_glBindTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLDELETETRANSFORMFEEDBACKSPROC)(GLsizei n, const GLuint *ids); -GLAPI PFNGLDELETETRANSFORMFEEDBACKSPROC biz_glDeleteTransformFeedbacks; -#define glDeleteTransformFeedbacks(...) WRAP_PFN(biz_glDeleteTransformFeedbacks, __VA_ARGS__) -typedef void (*PFNGLGENTRANSFORMFEEDBACKSPROC)(GLsizei n, GLuint *ids); -GLAPI PFNGLGENTRANSFORMFEEDBACKSPROC biz_glGenTransformFeedbacks; -#define glGenTransformFeedbacks(...) WRAP_PFN(biz_glGenTransformFeedbacks, __VA_ARGS__) -typedef GLboolean (*PFNGLISTRANSFORMFEEDBACKPROC)(GLuint id); -GLAPI PFNGLISTRANSFORMFEEDBACKPROC biz_glIsTransformFeedback; -#define glIsTransformFeedback(...) WRAP_PFN(biz_glIsTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLPAUSETRANSFORMFEEDBACKPROC)(void); -GLAPI PFNGLPAUSETRANSFORMFEEDBACKPROC biz_glPauseTransformFeedback; -#define glPauseTransformFeedback(...) WRAP_PFN(biz_glPauseTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLRESUMETRANSFORMFEEDBACKPROC)(void); -GLAPI PFNGLRESUMETRANSFORMFEEDBACKPROC biz_glResumeTransformFeedback; -#define glResumeTransformFeedback(...) WRAP_PFN(biz_glResumeTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLDRAWTRANSFORMFEEDBACKPROC)(GLenum mode, GLuint id); -GLAPI PFNGLDRAWTRANSFORMFEEDBACKPROC biz_glDrawTransformFeedback; -#define glDrawTransformFeedback(...) WRAP_PFN(biz_glDrawTransformFeedback, __VA_ARGS__) -typedef void (*PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)(GLenum mode, GLuint id, GLuint stream); -GLAPI PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC biz_glDrawTransformFeedbackStream; -#define glDrawTransformFeedbackStream(...) WRAP_PFN(biz_glDrawTransformFeedbackStream, __VA_ARGS__) -typedef void (*PFNGLBEGINQUERYINDEXEDPROC)(GLenum target, GLuint index, GLuint id); -GLAPI PFNGLBEGINQUERYINDEXEDPROC biz_glBeginQueryIndexed; -#define glBeginQueryIndexed(...) WRAP_PFN(biz_glBeginQueryIndexed, __VA_ARGS__) -typedef void (*PFNGLENDQUERYINDEXEDPROC)(GLenum target, GLuint index); -GLAPI PFNGLENDQUERYINDEXEDPROC biz_glEndQueryIndexed; -#define glEndQueryIndexed(...) WRAP_PFN(biz_glEndQueryIndexed, __VA_ARGS__) -typedef void (*PFNGLGETQUERYINDEXEDIVPROC)(GLenum target, GLuint index, GLenum pname, GLint *params); -GLAPI PFNGLGETQUERYINDEXEDIVPROC biz_glGetQueryIndexediv; -#define glGetQueryIndexediv(...) WRAP_PFN(biz_glGetQueryIndexediv, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glMinSampleShading; +#define glMinSampleShading biz_glMinSampleShading +extern BizOGL::GLFunctor biz_glBlendEquationi; +#define glBlendEquationi biz_glBlendEquationi +extern BizOGL::GLFunctor biz_glBlendEquationSeparatei; +#define glBlendEquationSeparatei biz_glBlendEquationSeparatei +extern BizOGL::GLFunctor biz_glBlendFunci; +#define glBlendFunci biz_glBlendFunci +extern BizOGL::GLFunctor biz_glBlendFuncSeparatei; +#define glBlendFuncSeparatei biz_glBlendFuncSeparatei +extern BizOGL::GLFunctor biz_glDrawArraysIndirect; +#define glDrawArraysIndirect biz_glDrawArraysIndirect +extern BizOGL::GLFunctor biz_glDrawElementsIndirect; +#define glDrawElementsIndirect biz_glDrawElementsIndirect +extern BizOGL::GLFunctor biz_glUniform1d; +#define glUniform1d biz_glUniform1d +extern BizOGL::GLFunctor biz_glUniform2d; +#define glUniform2d biz_glUniform2d +extern BizOGL::GLFunctor biz_glUniform3d; +#define glUniform3d biz_glUniform3d +extern BizOGL::GLFunctor biz_glUniform4d; +#define glUniform4d biz_glUniform4d +extern BizOGL::GLFunctor biz_glUniform1dv; +#define glUniform1dv biz_glUniform1dv +extern BizOGL::GLFunctor biz_glUniform2dv; +#define glUniform2dv biz_glUniform2dv +extern BizOGL::GLFunctor biz_glUniform3dv; +#define glUniform3dv biz_glUniform3dv +extern BizOGL::GLFunctor biz_glUniform4dv; +#define glUniform4dv biz_glUniform4dv +extern BizOGL::GLFunctor biz_glUniformMatrix2dv; +#define glUniformMatrix2dv biz_glUniformMatrix2dv +extern BizOGL::GLFunctor biz_glUniformMatrix3dv; +#define glUniformMatrix3dv biz_glUniformMatrix3dv +extern BizOGL::GLFunctor biz_glUniformMatrix4dv; +#define glUniformMatrix4dv biz_glUniformMatrix4dv +extern BizOGL::GLFunctor biz_glUniformMatrix2x3dv; +#define glUniformMatrix2x3dv biz_glUniformMatrix2x3dv +extern BizOGL::GLFunctor biz_glUniformMatrix2x4dv; +#define glUniformMatrix2x4dv biz_glUniformMatrix2x4dv +extern BizOGL::GLFunctor biz_glUniformMatrix3x2dv; +#define glUniformMatrix3x2dv biz_glUniformMatrix3x2dv +extern BizOGL::GLFunctor biz_glUniformMatrix3x4dv; +#define glUniformMatrix3x4dv biz_glUniformMatrix3x4dv +extern BizOGL::GLFunctor biz_glUniformMatrix4x2dv; +#define glUniformMatrix4x2dv biz_glUniformMatrix4x2dv +extern BizOGL::GLFunctor biz_glUniformMatrix4x3dv; +#define glUniformMatrix4x3dv biz_glUniformMatrix4x3dv +extern BizOGL::GLFunctor biz_glGetUniformdv; +#define glGetUniformdv biz_glGetUniformdv +extern BizOGL::GLFunctor biz_glGetSubroutineUniformLocation; +#define glGetSubroutineUniformLocation biz_glGetSubroutineUniformLocation +extern BizOGL::GLFunctor biz_glGetSubroutineIndex; +#define glGetSubroutineIndex biz_glGetSubroutineIndex +extern BizOGL::GLFunctor biz_glGetActiveSubroutineUniformiv; +#define glGetActiveSubroutineUniformiv biz_glGetActiveSubroutineUniformiv +extern BizOGL::GLFunctor biz_glGetActiveSubroutineUniformName; +#define glGetActiveSubroutineUniformName biz_glGetActiveSubroutineUniformName +extern BizOGL::GLFunctor biz_glGetActiveSubroutineName; +#define glGetActiveSubroutineName biz_glGetActiveSubroutineName +extern BizOGL::GLFunctor biz_glUniformSubroutinesuiv; +#define glUniformSubroutinesuiv biz_glUniformSubroutinesuiv +extern BizOGL::GLFunctor biz_glGetUniformSubroutineuiv; +#define glGetUniformSubroutineuiv biz_glGetUniformSubroutineuiv +extern BizOGL::GLFunctor biz_glGetProgramStageiv; +#define glGetProgramStageiv biz_glGetProgramStageiv +extern BizOGL::GLFunctor biz_glPatchParameteri; +#define glPatchParameteri biz_glPatchParameteri +extern BizOGL::GLFunctor biz_glPatchParameterfv; +#define glPatchParameterfv biz_glPatchParameterfv +extern BizOGL::GLFunctor biz_glBindTransformFeedback; +#define glBindTransformFeedback biz_glBindTransformFeedback +extern BizOGL::GLFunctor biz_glDeleteTransformFeedbacks; +#define glDeleteTransformFeedbacks biz_glDeleteTransformFeedbacks +extern BizOGL::GLFunctor biz_glGenTransformFeedbacks; +#define glGenTransformFeedbacks biz_glGenTransformFeedbacks +extern BizOGL::GLFunctor biz_glIsTransformFeedback; +#define glIsTransformFeedback biz_glIsTransformFeedback +extern BizOGL::GLFunctor biz_glPauseTransformFeedback; +#define glPauseTransformFeedback biz_glPauseTransformFeedback +extern BizOGL::GLFunctor biz_glResumeTransformFeedback; +#define glResumeTransformFeedback biz_glResumeTransformFeedback +extern BizOGL::GLFunctor biz_glDrawTransformFeedback; +#define glDrawTransformFeedback biz_glDrawTransformFeedback +extern BizOGL::GLFunctor biz_glDrawTransformFeedbackStream; +#define glDrawTransformFeedbackStream biz_glDrawTransformFeedbackStream +extern BizOGL::GLFunctor biz_glBeginQueryIndexed; +#define glBeginQueryIndexed biz_glBeginQueryIndexed +extern BizOGL::GLFunctor biz_glEndQueryIndexed; +#define glEndQueryIndexed biz_glEndQueryIndexed +extern BizOGL::GLFunctor biz_glGetQueryIndexediv; +#define glGetQueryIndexediv biz_glGetQueryIndexediv #define GL_VERSION_4_1 1 -typedef void (*PFNGLRELEASESHADERCOMPILERPROC)(void); -GLAPI PFNGLRELEASESHADERCOMPILERPROC biz_glReleaseShaderCompiler; -#define glReleaseShaderCompiler(...) WRAP_PFN(biz_glReleaseShaderCompiler, __VA_ARGS__) -typedef void (*PFNGLSHADERBINARYPROC)(GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length); -GLAPI PFNGLSHADERBINARYPROC biz_glShaderBinary; -#define glShaderBinary(...) WRAP_PFN(biz_glShaderBinary, __VA_ARGS__) -typedef void (*PFNGLGETSHADERPRECISIONFORMATPROC)(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); -GLAPI PFNGLGETSHADERPRECISIONFORMATPROC biz_glGetShaderPrecisionFormat; -#define glGetShaderPrecisionFormat(...) WRAP_PFN(biz_glGetShaderPrecisionFormat, __VA_ARGS__) -typedef void (*PFNGLDEPTHRANGEFPROC)(GLfloat n, GLfloat f); -GLAPI PFNGLDEPTHRANGEFPROC biz_glDepthRangef; -#define glDepthRangef(...) WRAP_PFN(biz_glDepthRangef, __VA_ARGS__) -typedef void (*PFNGLCLEARDEPTHFPROC)(GLfloat d); -GLAPI PFNGLCLEARDEPTHFPROC biz_glClearDepthf; -#define glClearDepthf(...) WRAP_PFN(biz_glClearDepthf, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMBINARYPROC)(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); -GLAPI PFNGLGETPROGRAMBINARYPROC biz_glGetProgramBinary; -#define glGetProgramBinary(...) WRAP_PFN(biz_glGetProgramBinary, __VA_ARGS__) -typedef void (*PFNGLPROGRAMBINARYPROC)(GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); -GLAPI PFNGLPROGRAMBINARYPROC biz_glProgramBinary; -#define glProgramBinary(...) WRAP_PFN(biz_glProgramBinary, __VA_ARGS__) -typedef void (*PFNGLPROGRAMPARAMETERIPROC)(GLuint program, GLenum pname, GLint value); -GLAPI PFNGLPROGRAMPARAMETERIPROC biz_glProgramParameteri; -#define glProgramParameteri(...) WRAP_PFN(biz_glProgramParameteri, __VA_ARGS__) -typedef void (*PFNGLUSEPROGRAMSTAGESPROC)(GLuint pipeline, GLbitfield stages, GLuint program); -GLAPI PFNGLUSEPROGRAMSTAGESPROC biz_glUseProgramStages; -#define glUseProgramStages(...) WRAP_PFN(biz_glUseProgramStages, __VA_ARGS__) -typedef void (*PFNGLACTIVESHADERPROGRAMPROC)(GLuint pipeline, GLuint program); -GLAPI PFNGLACTIVESHADERPROGRAMPROC biz_glActiveShaderProgram; -#define glActiveShaderProgram(...) WRAP_PFN(biz_glActiveShaderProgram, __VA_ARGS__) -typedef GLuint (*PFNGLCREATESHADERPROGRAMVPROC)(GLenum type, GLsizei count, const GLchar *const*strings); -GLAPI PFNGLCREATESHADERPROGRAMVPROC biz_glCreateShaderProgramv; -#define glCreateShaderProgramv(...) WRAP_PFN(biz_glCreateShaderProgramv, __VA_ARGS__) -typedef void (*PFNGLBINDPROGRAMPIPELINEPROC)(GLuint pipeline); -GLAPI PFNGLBINDPROGRAMPIPELINEPROC biz_glBindProgramPipeline; -#define glBindProgramPipeline(...) WRAP_PFN(biz_glBindProgramPipeline, __VA_ARGS__) -typedef void (*PFNGLDELETEPROGRAMPIPELINESPROC)(GLsizei n, const GLuint *pipelines); -GLAPI PFNGLDELETEPROGRAMPIPELINESPROC biz_glDeleteProgramPipelines; -#define glDeleteProgramPipelines(...) WRAP_PFN(biz_glDeleteProgramPipelines, __VA_ARGS__) -typedef void (*PFNGLGENPROGRAMPIPELINESPROC)(GLsizei n, GLuint *pipelines); -GLAPI PFNGLGENPROGRAMPIPELINESPROC biz_glGenProgramPipelines; -#define glGenProgramPipelines(...) WRAP_PFN(biz_glGenProgramPipelines, __VA_ARGS__) -typedef GLboolean (*PFNGLISPROGRAMPIPELINEPROC)(GLuint pipeline); -GLAPI PFNGLISPROGRAMPIPELINEPROC biz_glIsProgramPipeline; -#define glIsProgramPipeline(...) WRAP_PFN(biz_glIsProgramPipeline, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMPIPELINEIVPROC)(GLuint pipeline, GLenum pname, GLint *params); -GLAPI PFNGLGETPROGRAMPIPELINEIVPROC biz_glGetProgramPipelineiv; -#define glGetProgramPipelineiv(...) WRAP_PFN(biz_glGetProgramPipelineiv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1IPROC)(GLuint program, GLint location, GLint v0); -GLAPI PFNGLPROGRAMUNIFORM1IPROC biz_glProgramUniform1i; -#define glProgramUniform1i(...) WRAP_PFN(biz_glProgramUniform1i, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1IVPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLPROGRAMUNIFORM1IVPROC biz_glProgramUniform1iv; -#define glProgramUniform1iv(...) WRAP_PFN(biz_glProgramUniform1iv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1FPROC)(GLuint program, GLint location, GLfloat v0); -GLAPI PFNGLPROGRAMUNIFORM1FPROC biz_glProgramUniform1f; -#define glProgramUniform1f(...) WRAP_PFN(biz_glProgramUniform1f, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORM1FVPROC biz_glProgramUniform1fv; -#define glProgramUniform1fv(...) WRAP_PFN(biz_glProgramUniform1fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1DPROC)(GLuint program, GLint location, GLdouble v0); -GLAPI PFNGLPROGRAMUNIFORM1DPROC biz_glProgramUniform1d; -#define glProgramUniform1d(...) WRAP_PFN(biz_glProgramUniform1d, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORM1DVPROC biz_glProgramUniform1dv; -#define glProgramUniform1dv(...) WRAP_PFN(biz_glProgramUniform1dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1UIPROC)(GLuint program, GLint location, GLuint v0); -GLAPI PFNGLPROGRAMUNIFORM1UIPROC biz_glProgramUniform1ui; -#define glProgramUniform1ui(...) WRAP_PFN(biz_glProgramUniform1ui, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM1UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLPROGRAMUNIFORM1UIVPROC biz_glProgramUniform1uiv; -#define glProgramUniform1uiv(...) WRAP_PFN(biz_glProgramUniform1uiv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2IPROC)(GLuint program, GLint location, GLint v0, GLint v1); -GLAPI PFNGLPROGRAMUNIFORM2IPROC biz_glProgramUniform2i; -#define glProgramUniform2i(...) WRAP_PFN(biz_glProgramUniform2i, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2IVPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLPROGRAMUNIFORM2IVPROC biz_glProgramUniform2iv; -#define glProgramUniform2iv(...) WRAP_PFN(biz_glProgramUniform2iv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1); -GLAPI PFNGLPROGRAMUNIFORM2FPROC biz_glProgramUniform2f; -#define glProgramUniform2f(...) WRAP_PFN(biz_glProgramUniform2f, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORM2FVPROC biz_glProgramUniform2fv; -#define glProgramUniform2fv(...) WRAP_PFN(biz_glProgramUniform2fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1); -GLAPI PFNGLPROGRAMUNIFORM2DPROC biz_glProgramUniform2d; -#define glProgramUniform2d(...) WRAP_PFN(biz_glProgramUniform2d, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORM2DVPROC biz_glProgramUniform2dv; -#define glProgramUniform2dv(...) WRAP_PFN(biz_glProgramUniform2dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1); -GLAPI PFNGLPROGRAMUNIFORM2UIPROC biz_glProgramUniform2ui; -#define glProgramUniform2ui(...) WRAP_PFN(biz_glProgramUniform2ui, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM2UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLPROGRAMUNIFORM2UIVPROC biz_glProgramUniform2uiv; -#define glProgramUniform2uiv(...) WRAP_PFN(biz_glProgramUniform2uiv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3IPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); -GLAPI PFNGLPROGRAMUNIFORM3IPROC biz_glProgramUniform3i; -#define glProgramUniform3i(...) WRAP_PFN(biz_glProgramUniform3i, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3IVPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLPROGRAMUNIFORM3IVPROC biz_glProgramUniform3iv; -#define glProgramUniform3iv(...) WRAP_PFN(biz_glProgramUniform3iv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); -GLAPI PFNGLPROGRAMUNIFORM3FPROC biz_glProgramUniform3f; -#define glProgramUniform3f(...) WRAP_PFN(biz_glProgramUniform3f, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORM3FVPROC biz_glProgramUniform3fv; -#define glProgramUniform3fv(...) WRAP_PFN(biz_glProgramUniform3fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); -GLAPI PFNGLPROGRAMUNIFORM3DPROC biz_glProgramUniform3d; -#define glProgramUniform3d(...) WRAP_PFN(biz_glProgramUniform3d, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORM3DVPROC biz_glProgramUniform3dv; -#define glProgramUniform3dv(...) WRAP_PFN(biz_glProgramUniform3dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); -GLAPI PFNGLPROGRAMUNIFORM3UIPROC biz_glProgramUniform3ui; -#define glProgramUniform3ui(...) WRAP_PFN(biz_glProgramUniform3ui, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM3UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLPROGRAMUNIFORM3UIVPROC biz_glProgramUniform3uiv; -#define glProgramUniform3uiv(...) WRAP_PFN(biz_glProgramUniform3uiv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4IPROC)(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); -GLAPI PFNGLPROGRAMUNIFORM4IPROC biz_glProgramUniform4i; -#define glProgramUniform4i(...) WRAP_PFN(biz_glProgramUniform4i, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4IVPROC)(GLuint program, GLint location, GLsizei count, const GLint *value); -GLAPI PFNGLPROGRAMUNIFORM4IVPROC biz_glProgramUniform4iv; -#define glProgramUniform4iv(...) WRAP_PFN(biz_glProgramUniform4iv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4FPROC)(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); -GLAPI PFNGLPROGRAMUNIFORM4FPROC biz_glProgramUniform4f; -#define glProgramUniform4f(...) WRAP_PFN(biz_glProgramUniform4f, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4FVPROC)(GLuint program, GLint location, GLsizei count, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORM4FVPROC biz_glProgramUniform4fv; -#define glProgramUniform4fv(...) WRAP_PFN(biz_glProgramUniform4fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4DPROC)(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); -GLAPI PFNGLPROGRAMUNIFORM4DPROC biz_glProgramUniform4d; -#define glProgramUniform4d(...) WRAP_PFN(biz_glProgramUniform4d, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4DVPROC)(GLuint program, GLint location, GLsizei count, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORM4DVPROC biz_glProgramUniform4dv; -#define glProgramUniform4dv(...) WRAP_PFN(biz_glProgramUniform4dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4UIPROC)(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); -GLAPI PFNGLPROGRAMUNIFORM4UIPROC biz_glProgramUniform4ui; -#define glProgramUniform4ui(...) WRAP_PFN(biz_glProgramUniform4ui, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORM4UIVPROC)(GLuint program, GLint location, GLsizei count, const GLuint *value); -GLAPI PFNGLPROGRAMUNIFORM4UIVPROC biz_glProgramUniform4uiv; -#define glProgramUniform4uiv(...) WRAP_PFN(biz_glProgramUniform4uiv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2FVPROC biz_glProgramUniformMatrix2fv; -#define glProgramUniformMatrix2fv(...) WRAP_PFN(biz_glProgramUniformMatrix2fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3FVPROC biz_glProgramUniformMatrix3fv; -#define glProgramUniformMatrix3fv(...) WRAP_PFN(biz_glProgramUniformMatrix3fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4FVPROC biz_glProgramUniformMatrix4fv; -#define glProgramUniformMatrix4fv(...) WRAP_PFN(biz_glProgramUniformMatrix4fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2DVPROC biz_glProgramUniformMatrix2dv; -#define glProgramUniformMatrix2dv(...) WRAP_PFN(biz_glProgramUniformMatrix2dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3DVPROC biz_glProgramUniformMatrix3dv; -#define glProgramUniformMatrix3dv(...) WRAP_PFN(biz_glProgramUniformMatrix3dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4DVPROC biz_glProgramUniformMatrix4dv; -#define glProgramUniformMatrix4dv(...) WRAP_PFN(biz_glProgramUniformMatrix4dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC biz_glProgramUniformMatrix2x3fv; -#define glProgramUniformMatrix2x3fv(...) WRAP_PFN(biz_glProgramUniformMatrix2x3fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC biz_glProgramUniformMatrix3x2fv; -#define glProgramUniformMatrix3x2fv(...) WRAP_PFN(biz_glProgramUniformMatrix3x2fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC biz_glProgramUniformMatrix2x4fv; -#define glProgramUniformMatrix2x4fv(...) WRAP_PFN(biz_glProgramUniformMatrix2x4fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC biz_glProgramUniformMatrix4x2fv; -#define glProgramUniformMatrix4x2fv(...) WRAP_PFN(biz_glProgramUniformMatrix4x2fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC biz_glProgramUniformMatrix3x4fv; -#define glProgramUniformMatrix3x4fv(...) WRAP_PFN(biz_glProgramUniformMatrix3x4fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC biz_glProgramUniformMatrix4x3fv; -#define glProgramUniformMatrix4x3fv(...) WRAP_PFN(biz_glProgramUniformMatrix4x3fv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC biz_glProgramUniformMatrix2x3dv; -#define glProgramUniformMatrix2x3dv(...) WRAP_PFN(biz_glProgramUniformMatrix2x3dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC biz_glProgramUniformMatrix3x2dv; -#define glProgramUniformMatrix3x2dv(...) WRAP_PFN(biz_glProgramUniformMatrix3x2dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC biz_glProgramUniformMatrix2x4dv; -#define glProgramUniformMatrix2x4dv(...) WRAP_PFN(biz_glProgramUniformMatrix2x4dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC biz_glProgramUniformMatrix4x2dv; -#define glProgramUniformMatrix4x2dv(...) WRAP_PFN(biz_glProgramUniformMatrix4x2dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC biz_glProgramUniformMatrix3x4dv; -#define glProgramUniformMatrix3x4dv(...) WRAP_PFN(biz_glProgramUniformMatrix3x4dv, __VA_ARGS__) -typedef void (*PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); -GLAPI PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC biz_glProgramUniformMatrix4x3dv; -#define glProgramUniformMatrix4x3dv(...) WRAP_PFN(biz_glProgramUniformMatrix4x3dv, __VA_ARGS__) -typedef void (*PFNGLVALIDATEPROGRAMPIPELINEPROC)(GLuint pipeline); -GLAPI PFNGLVALIDATEPROGRAMPIPELINEPROC biz_glValidateProgramPipeline; -#define glValidateProgramPipeline(...) WRAP_PFN(biz_glValidateProgramPipeline, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMPIPELINEINFOLOGPROC)(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); -GLAPI PFNGLGETPROGRAMPIPELINEINFOLOGPROC biz_glGetProgramPipelineInfoLog; -#define glGetProgramPipelineInfoLog(...) WRAP_PFN(biz_glGetProgramPipelineInfoLog, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL1DPROC)(GLuint index, GLdouble x); -GLAPI PFNGLVERTEXATTRIBL1DPROC biz_glVertexAttribL1d; -#define glVertexAttribL1d(...) WRAP_PFN(biz_glVertexAttribL1d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL2DPROC)(GLuint index, GLdouble x, GLdouble y); -GLAPI PFNGLVERTEXATTRIBL2DPROC biz_glVertexAttribL2d; -#define glVertexAttribL2d(...) WRAP_PFN(biz_glVertexAttribL2d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL3DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z); -GLAPI PFNGLVERTEXATTRIBL3DPROC biz_glVertexAttribL3d; -#define glVertexAttribL3d(...) WRAP_PFN(biz_glVertexAttribL3d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL4DPROC)(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); -GLAPI PFNGLVERTEXATTRIBL4DPROC biz_glVertexAttribL4d; -#define glVertexAttribL4d(...) WRAP_PFN(biz_glVertexAttribL4d, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL1DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIBL1DVPROC biz_glVertexAttribL1dv; -#define glVertexAttribL1dv(...) WRAP_PFN(biz_glVertexAttribL1dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL2DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIBL2DVPROC biz_glVertexAttribL2dv; -#define glVertexAttribL2dv(...) WRAP_PFN(biz_glVertexAttribL2dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL3DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIBL3DVPROC biz_glVertexAttribL3dv; -#define glVertexAttribL3dv(...) WRAP_PFN(biz_glVertexAttribL3dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBL4DVPROC)(GLuint index, const GLdouble *v); -GLAPI PFNGLVERTEXATTRIBL4DVPROC biz_glVertexAttribL4dv; -#define glVertexAttribL4dv(...) WRAP_PFN(biz_glVertexAttribL4dv, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBLPOINTERPROC)(GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); -GLAPI PFNGLVERTEXATTRIBLPOINTERPROC biz_glVertexAttribLPointer; -#define glVertexAttribLPointer(...) WRAP_PFN(biz_glVertexAttribLPointer, __VA_ARGS__) -typedef void (*PFNGLGETVERTEXATTRIBLDVPROC)(GLuint index, GLenum pname, GLdouble *params); -GLAPI PFNGLGETVERTEXATTRIBLDVPROC biz_glGetVertexAttribLdv; -#define glGetVertexAttribLdv(...) WRAP_PFN(biz_glGetVertexAttribLdv, __VA_ARGS__) -typedef void (*PFNGLVIEWPORTARRAYVPROC)(GLuint first, GLsizei count, const GLfloat *v); -GLAPI PFNGLVIEWPORTARRAYVPROC biz_glViewportArrayv; -#define glViewportArrayv(...) WRAP_PFN(biz_glViewportArrayv, __VA_ARGS__) -typedef void (*PFNGLVIEWPORTINDEXEDFPROC)(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); -GLAPI PFNGLVIEWPORTINDEXEDFPROC biz_glViewportIndexedf; -#define glViewportIndexedf(...) WRAP_PFN(biz_glViewportIndexedf, __VA_ARGS__) -typedef void (*PFNGLVIEWPORTINDEXEDFVPROC)(GLuint index, const GLfloat *v); -GLAPI PFNGLVIEWPORTINDEXEDFVPROC biz_glViewportIndexedfv; -#define glViewportIndexedfv(...) WRAP_PFN(biz_glViewportIndexedfv, __VA_ARGS__) -typedef void (*PFNGLSCISSORARRAYVPROC)(GLuint first, GLsizei count, const GLint *v); -GLAPI PFNGLSCISSORARRAYVPROC biz_glScissorArrayv; -#define glScissorArrayv(...) WRAP_PFN(biz_glScissorArrayv, __VA_ARGS__) -typedef void (*PFNGLSCISSORINDEXEDPROC)(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); -GLAPI PFNGLSCISSORINDEXEDPROC biz_glScissorIndexed; -#define glScissorIndexed(...) WRAP_PFN(biz_glScissorIndexed, __VA_ARGS__) -typedef void (*PFNGLSCISSORINDEXEDVPROC)(GLuint index, const GLint *v); -GLAPI PFNGLSCISSORINDEXEDVPROC biz_glScissorIndexedv; -#define glScissorIndexedv(...) WRAP_PFN(biz_glScissorIndexedv, __VA_ARGS__) -typedef void (*PFNGLDEPTHRANGEARRAYVPROC)(GLuint first, GLsizei count, const GLdouble *v); -GLAPI PFNGLDEPTHRANGEARRAYVPROC biz_glDepthRangeArrayv; -#define glDepthRangeArrayv(...) WRAP_PFN(biz_glDepthRangeArrayv, __VA_ARGS__) -typedef void (*PFNGLDEPTHRANGEINDEXEDPROC)(GLuint index, GLdouble n, GLdouble f); -GLAPI PFNGLDEPTHRANGEINDEXEDPROC biz_glDepthRangeIndexed; -#define glDepthRangeIndexed(...) WRAP_PFN(biz_glDepthRangeIndexed, __VA_ARGS__) -typedef void (*PFNGLGETFLOATI_VPROC)(GLenum target, GLuint index, GLfloat *data); -GLAPI PFNGLGETFLOATI_VPROC biz_glGetFloati_v; -#define glGetFloati_v(...) WRAP_PFN(biz_glGetFloati_v, __VA_ARGS__) -typedef void (*PFNGLGETDOUBLEI_VPROC)(GLenum target, GLuint index, GLdouble *data); -GLAPI PFNGLGETDOUBLEI_VPROC biz_glGetDoublei_v; -#define glGetDoublei_v(...) WRAP_PFN(biz_glGetDoublei_v, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glReleaseShaderCompiler; +#define glReleaseShaderCompiler biz_glReleaseShaderCompiler +extern BizOGL::GLFunctor biz_glShaderBinary; +#define glShaderBinary biz_glShaderBinary +extern BizOGL::GLFunctor biz_glGetShaderPrecisionFormat; +#define glGetShaderPrecisionFormat biz_glGetShaderPrecisionFormat +extern BizOGL::GLFunctor biz_glDepthRangef; +#define glDepthRangef biz_glDepthRangef +extern BizOGL::GLFunctor biz_glClearDepthf; +#define glClearDepthf biz_glClearDepthf +extern BizOGL::GLFunctor biz_glGetProgramBinary; +#define glGetProgramBinary biz_glGetProgramBinary +extern BizOGL::GLFunctor biz_glProgramBinary; +#define glProgramBinary biz_glProgramBinary +extern BizOGL::GLFunctor biz_glProgramParameteri; +#define glProgramParameteri biz_glProgramParameteri +extern BizOGL::GLFunctor biz_glUseProgramStages; +#define glUseProgramStages biz_glUseProgramStages +extern BizOGL::GLFunctor biz_glActiveShaderProgram; +#define glActiveShaderProgram biz_glActiveShaderProgram +extern BizOGL::GLFunctor biz_glCreateShaderProgramv; +#define glCreateShaderProgramv biz_glCreateShaderProgramv +extern BizOGL::GLFunctor biz_glBindProgramPipeline; +#define glBindProgramPipeline biz_glBindProgramPipeline +extern BizOGL::GLFunctor biz_glDeleteProgramPipelines; +#define glDeleteProgramPipelines biz_glDeleteProgramPipelines +extern BizOGL::GLFunctor biz_glGenProgramPipelines; +#define glGenProgramPipelines biz_glGenProgramPipelines +extern BizOGL::GLFunctor biz_glIsProgramPipeline; +#define glIsProgramPipeline biz_glIsProgramPipeline +extern BizOGL::GLFunctor biz_glGetProgramPipelineiv; +#define glGetProgramPipelineiv biz_glGetProgramPipelineiv +extern BizOGL::GLFunctor biz_glProgramUniform1i; +#define glProgramUniform1i biz_glProgramUniform1i +extern BizOGL::GLFunctor biz_glProgramUniform1iv; +#define glProgramUniform1iv biz_glProgramUniform1iv +extern BizOGL::GLFunctor biz_glProgramUniform1f; +#define glProgramUniform1f biz_glProgramUniform1f +extern BizOGL::GLFunctor biz_glProgramUniform1fv; +#define glProgramUniform1fv biz_glProgramUniform1fv +extern BizOGL::GLFunctor biz_glProgramUniform1d; +#define glProgramUniform1d biz_glProgramUniform1d +extern BizOGL::GLFunctor biz_glProgramUniform1dv; +#define glProgramUniform1dv biz_glProgramUniform1dv +extern BizOGL::GLFunctor biz_glProgramUniform1ui; +#define glProgramUniform1ui biz_glProgramUniform1ui +extern BizOGL::GLFunctor biz_glProgramUniform1uiv; +#define glProgramUniform1uiv biz_glProgramUniform1uiv +extern BizOGL::GLFunctor biz_glProgramUniform2i; +#define glProgramUniform2i biz_glProgramUniform2i +extern BizOGL::GLFunctor biz_glProgramUniform2iv; +#define glProgramUniform2iv biz_glProgramUniform2iv +extern BizOGL::GLFunctor biz_glProgramUniform2f; +#define glProgramUniform2f biz_glProgramUniform2f +extern BizOGL::GLFunctor biz_glProgramUniform2fv; +#define glProgramUniform2fv biz_glProgramUniform2fv +extern BizOGL::GLFunctor biz_glProgramUniform2d; +#define glProgramUniform2d biz_glProgramUniform2d +extern BizOGL::GLFunctor biz_glProgramUniform2dv; +#define glProgramUniform2dv biz_glProgramUniform2dv +extern BizOGL::GLFunctor biz_glProgramUniform2ui; +#define glProgramUniform2ui biz_glProgramUniform2ui +extern BizOGL::GLFunctor biz_glProgramUniform2uiv; +#define glProgramUniform2uiv biz_glProgramUniform2uiv +extern BizOGL::GLFunctor biz_glProgramUniform3i; +#define glProgramUniform3i biz_glProgramUniform3i +extern BizOGL::GLFunctor biz_glProgramUniform3iv; +#define glProgramUniform3iv biz_glProgramUniform3iv +extern BizOGL::GLFunctor biz_glProgramUniform3f; +#define glProgramUniform3f biz_glProgramUniform3f +extern BizOGL::GLFunctor biz_glProgramUniform3fv; +#define glProgramUniform3fv biz_glProgramUniform3fv +extern BizOGL::GLFunctor biz_glProgramUniform3d; +#define glProgramUniform3d biz_glProgramUniform3d +extern BizOGL::GLFunctor biz_glProgramUniform3dv; +#define glProgramUniform3dv biz_glProgramUniform3dv +extern BizOGL::GLFunctor biz_glProgramUniform3ui; +#define glProgramUniform3ui biz_glProgramUniform3ui +extern BizOGL::GLFunctor biz_glProgramUniform3uiv; +#define glProgramUniform3uiv biz_glProgramUniform3uiv +extern BizOGL::GLFunctor biz_glProgramUniform4i; +#define glProgramUniform4i biz_glProgramUniform4i +extern BizOGL::GLFunctor biz_glProgramUniform4iv; +#define glProgramUniform4iv biz_glProgramUniform4iv +extern BizOGL::GLFunctor biz_glProgramUniform4f; +#define glProgramUniform4f biz_glProgramUniform4f +extern BizOGL::GLFunctor biz_glProgramUniform4fv; +#define glProgramUniform4fv biz_glProgramUniform4fv +extern BizOGL::GLFunctor biz_glProgramUniform4d; +#define glProgramUniform4d biz_glProgramUniform4d +extern BizOGL::GLFunctor biz_glProgramUniform4dv; +#define glProgramUniform4dv biz_glProgramUniform4dv +extern BizOGL::GLFunctor biz_glProgramUniform4ui; +#define glProgramUniform4ui biz_glProgramUniform4ui +extern BizOGL::GLFunctor biz_glProgramUniform4uiv; +#define glProgramUniform4uiv biz_glProgramUniform4uiv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2fv; +#define glProgramUniformMatrix2fv biz_glProgramUniformMatrix2fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3fv; +#define glProgramUniformMatrix3fv biz_glProgramUniformMatrix3fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4fv; +#define glProgramUniformMatrix4fv biz_glProgramUniformMatrix4fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2dv; +#define glProgramUniformMatrix2dv biz_glProgramUniformMatrix2dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3dv; +#define glProgramUniformMatrix3dv biz_glProgramUniformMatrix3dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4dv; +#define glProgramUniformMatrix4dv biz_glProgramUniformMatrix4dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2x3fv; +#define glProgramUniformMatrix2x3fv biz_glProgramUniformMatrix2x3fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3x2fv; +#define glProgramUniformMatrix3x2fv biz_glProgramUniformMatrix3x2fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2x4fv; +#define glProgramUniformMatrix2x4fv biz_glProgramUniformMatrix2x4fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4x2fv; +#define glProgramUniformMatrix4x2fv biz_glProgramUniformMatrix4x2fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3x4fv; +#define glProgramUniformMatrix3x4fv biz_glProgramUniformMatrix3x4fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4x3fv; +#define glProgramUniformMatrix4x3fv biz_glProgramUniformMatrix4x3fv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2x3dv; +#define glProgramUniformMatrix2x3dv biz_glProgramUniformMatrix2x3dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3x2dv; +#define glProgramUniformMatrix3x2dv biz_glProgramUniformMatrix3x2dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix2x4dv; +#define glProgramUniformMatrix2x4dv biz_glProgramUniformMatrix2x4dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4x2dv; +#define glProgramUniformMatrix4x2dv biz_glProgramUniformMatrix4x2dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix3x4dv; +#define glProgramUniformMatrix3x4dv biz_glProgramUniformMatrix3x4dv +extern BizOGL::GLFunctor biz_glProgramUniformMatrix4x3dv; +#define glProgramUniformMatrix4x3dv biz_glProgramUniformMatrix4x3dv +extern BizOGL::GLFunctor biz_glValidateProgramPipeline; +#define glValidateProgramPipeline biz_glValidateProgramPipeline +extern BizOGL::GLFunctor biz_glGetProgramPipelineInfoLog; +#define glGetProgramPipelineInfoLog biz_glGetProgramPipelineInfoLog +extern BizOGL::GLFunctor biz_glVertexAttribL1d; +#define glVertexAttribL1d biz_glVertexAttribL1d +extern BizOGL::GLFunctor biz_glVertexAttribL2d; +#define glVertexAttribL2d biz_glVertexAttribL2d +extern BizOGL::GLFunctor biz_glVertexAttribL3d; +#define glVertexAttribL3d biz_glVertexAttribL3d +extern BizOGL::GLFunctor biz_glVertexAttribL4d; +#define glVertexAttribL4d biz_glVertexAttribL4d +extern BizOGL::GLFunctor biz_glVertexAttribL1dv; +#define glVertexAttribL1dv biz_glVertexAttribL1dv +extern BizOGL::GLFunctor biz_glVertexAttribL2dv; +#define glVertexAttribL2dv biz_glVertexAttribL2dv +extern BizOGL::GLFunctor biz_glVertexAttribL3dv; +#define glVertexAttribL3dv biz_glVertexAttribL3dv +extern BizOGL::GLFunctor biz_glVertexAttribL4dv; +#define glVertexAttribL4dv biz_glVertexAttribL4dv +extern BizOGL::GLFunctor biz_glVertexAttribLPointer; +#define glVertexAttribLPointer biz_glVertexAttribLPointer +extern BizOGL::GLFunctor biz_glGetVertexAttribLdv; +#define glGetVertexAttribLdv biz_glGetVertexAttribLdv +extern BizOGL::GLFunctor biz_glViewportArrayv; +#define glViewportArrayv biz_glViewportArrayv +extern BizOGL::GLFunctor biz_glViewportIndexedf; +#define glViewportIndexedf biz_glViewportIndexedf +extern BizOGL::GLFunctor biz_glViewportIndexedfv; +#define glViewportIndexedfv biz_glViewportIndexedfv +extern BizOGL::GLFunctor biz_glScissorArrayv; +#define glScissorArrayv biz_glScissorArrayv +extern BizOGL::GLFunctor biz_glScissorIndexed; +#define glScissorIndexed biz_glScissorIndexed +extern BizOGL::GLFunctor biz_glScissorIndexedv; +#define glScissorIndexedv biz_glScissorIndexedv +extern BizOGL::GLFunctor biz_glDepthRangeArrayv; +#define glDepthRangeArrayv biz_glDepthRangeArrayv +extern BizOGL::GLFunctor biz_glDepthRangeIndexed; +#define glDepthRangeIndexed biz_glDepthRangeIndexed +extern BizOGL::GLFunctor biz_glGetFloati_v; +#define glGetFloati_v biz_glGetFloati_v +extern BizOGL::GLFunctor biz_glGetDoublei_v; +#define glGetDoublei_v biz_glGetDoublei_v #define GL_VERSION_4_2 1 -typedef void (*PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); -GLAPI PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC biz_glDrawArraysInstancedBaseInstance; -#define glDrawArraysInstancedBaseInstance(...) WRAP_PFN(biz_glDrawArraysInstancedBaseInstance, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); -GLAPI PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC biz_glDrawElementsInstancedBaseInstance; -#define glDrawElementsInstancedBaseInstance(...) WRAP_PFN(biz_glDrawElementsInstancedBaseInstance, __VA_ARGS__) -typedef void (*PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); -GLAPI PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC biz_glDrawElementsInstancedBaseVertexBaseInstance; -#define glDrawElementsInstancedBaseVertexBaseInstance(...) WRAP_PFN(biz_glDrawElementsInstancedBaseVertexBaseInstance, __VA_ARGS__) -typedef void (*PFNGLGETINTERNALFORMATIVPROC)(GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params); -GLAPI PFNGLGETINTERNALFORMATIVPROC biz_glGetInternalformativ; -#define glGetInternalformativ(...) WRAP_PFN(biz_glGetInternalformativ, __VA_ARGS__) -typedef void (*PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)(GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); -GLAPI PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC biz_glGetActiveAtomicCounterBufferiv; -#define glGetActiveAtomicCounterBufferiv(...) WRAP_PFN(biz_glGetActiveAtomicCounterBufferiv, __VA_ARGS__) -typedef void (*PFNGLBINDIMAGETEXTUREPROC)(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); -GLAPI PFNGLBINDIMAGETEXTUREPROC biz_glBindImageTexture; -#define glBindImageTexture(...) WRAP_PFN(biz_glBindImageTexture, __VA_ARGS__) -typedef void (*PFNGLMEMORYBARRIERPROC)(GLbitfield barriers); -GLAPI PFNGLMEMORYBARRIERPROC biz_glMemoryBarrier; -#define glMemoryBarrier(...) WRAP_PFN(biz_glMemoryBarrier, __VA_ARGS__) -typedef void (*PFNGLTEXSTORAGE1DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); -GLAPI PFNGLTEXSTORAGE1DPROC biz_glTexStorage1D; -#define glTexStorage1D(...) WRAP_PFN(biz_glTexStorage1D, __VA_ARGS__) -typedef void (*PFNGLTEXSTORAGE2DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); -GLAPI PFNGLTEXSTORAGE2DPROC biz_glTexStorage2D; -#define glTexStorage2D(...) WRAP_PFN(biz_glTexStorage2D, __VA_ARGS__) -typedef void (*PFNGLTEXSTORAGE3DPROC)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); -GLAPI PFNGLTEXSTORAGE3DPROC biz_glTexStorage3D; -#define glTexStorage3D(...) WRAP_PFN(biz_glTexStorage3D, __VA_ARGS__) -typedef void (*PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)(GLenum mode, GLuint id, GLsizei instancecount); -GLAPI PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC biz_glDrawTransformFeedbackInstanced; -#define glDrawTransformFeedbackInstanced(...) WRAP_PFN(biz_glDrawTransformFeedbackInstanced, __VA_ARGS__) -typedef void (*PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); -GLAPI PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC biz_glDrawTransformFeedbackStreamInstanced; -#define glDrawTransformFeedbackStreamInstanced(...) WRAP_PFN(biz_glDrawTransformFeedbackStreamInstanced, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glDrawArraysInstancedBaseInstance; +#define glDrawArraysInstancedBaseInstance biz_glDrawArraysInstancedBaseInstance +extern BizOGL::GLFunctor biz_glDrawElementsInstancedBaseInstance; +#define glDrawElementsInstancedBaseInstance biz_glDrawElementsInstancedBaseInstance +extern BizOGL::GLFunctor biz_glDrawElementsInstancedBaseVertexBaseInstance; +#define glDrawElementsInstancedBaseVertexBaseInstance biz_glDrawElementsInstancedBaseVertexBaseInstance +extern BizOGL::GLFunctor biz_glGetInternalformativ; +#define glGetInternalformativ biz_glGetInternalformativ +extern BizOGL::GLFunctor biz_glGetActiveAtomicCounterBufferiv; +#define glGetActiveAtomicCounterBufferiv biz_glGetActiveAtomicCounterBufferiv +extern BizOGL::GLFunctor biz_glBindImageTexture; +#define glBindImageTexture biz_glBindImageTexture +extern BizOGL::GLFunctor biz_glMemoryBarrier; +#define glMemoryBarrier biz_glMemoryBarrier +extern BizOGL::GLFunctor biz_glTexStorage1D; +#define glTexStorage1D biz_glTexStorage1D +extern BizOGL::GLFunctor biz_glTexStorage2D; +#define glTexStorage2D biz_glTexStorage2D +extern BizOGL::GLFunctor biz_glTexStorage3D; +#define glTexStorage3D biz_glTexStorage3D +extern BizOGL::GLFunctor biz_glDrawTransformFeedbackInstanced; +#define glDrawTransformFeedbackInstanced biz_glDrawTransformFeedbackInstanced +extern BizOGL::GLFunctor biz_glDrawTransformFeedbackStreamInstanced; +#define glDrawTransformFeedbackStreamInstanced biz_glDrawTransformFeedbackStreamInstanced #define GL_VERSION_4_3 1 -typedef void (*PFNGLCLEARBUFFERDATAPROC)(GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); -GLAPI PFNGLCLEARBUFFERDATAPROC biz_glClearBufferData; -#define glClearBufferData(...) WRAP_PFN(biz_glClearBufferData, __VA_ARGS__) -typedef void (*PFNGLCLEARBUFFERSUBDATAPROC)(GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); -GLAPI PFNGLCLEARBUFFERSUBDATAPROC biz_glClearBufferSubData; -#define glClearBufferSubData(...) WRAP_PFN(biz_glClearBufferSubData, __VA_ARGS__) -typedef void (*PFNGLDISPATCHCOMPUTEPROC)(GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); -GLAPI PFNGLDISPATCHCOMPUTEPROC biz_glDispatchCompute; -#define glDispatchCompute(...) WRAP_PFN(biz_glDispatchCompute, __VA_ARGS__) -typedef void (*PFNGLDISPATCHCOMPUTEINDIRECTPROC)(GLintptr indirect); -GLAPI PFNGLDISPATCHCOMPUTEINDIRECTPROC biz_glDispatchComputeIndirect; -#define glDispatchComputeIndirect(...) WRAP_PFN(biz_glDispatchComputeIndirect, __VA_ARGS__) -typedef void (*PFNGLCOPYIMAGESUBDATAPROC)(GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); -GLAPI PFNGLCOPYIMAGESUBDATAPROC biz_glCopyImageSubData; -#define glCopyImageSubData(...) WRAP_PFN(biz_glCopyImageSubData, __VA_ARGS__) -typedef void (*PFNGLFRAMEBUFFERPARAMETERIPROC)(GLenum target, GLenum pname, GLint param); -GLAPI PFNGLFRAMEBUFFERPARAMETERIPROC biz_glFramebufferParameteri; -#define glFramebufferParameteri(...) WRAP_PFN(biz_glFramebufferParameteri, __VA_ARGS__) -typedef void (*PFNGLGETFRAMEBUFFERPARAMETERIVPROC)(GLenum target, GLenum pname, GLint *params); -GLAPI PFNGLGETFRAMEBUFFERPARAMETERIVPROC biz_glGetFramebufferParameteriv; -#define glGetFramebufferParameteriv(...) WRAP_PFN(biz_glGetFramebufferParameteriv, __VA_ARGS__) -typedef void (*PFNGLGETINTERNALFORMATI64VPROC)(GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params); -GLAPI PFNGLGETINTERNALFORMATI64VPROC biz_glGetInternalformati64v; -#define glGetInternalformati64v(...) WRAP_PFN(biz_glGetInternalformati64v, __VA_ARGS__) -typedef void (*PFNGLINVALIDATETEXSUBIMAGEPROC)(GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); -GLAPI PFNGLINVALIDATETEXSUBIMAGEPROC biz_glInvalidateTexSubImage; -#define glInvalidateTexSubImage(...) WRAP_PFN(biz_glInvalidateTexSubImage, __VA_ARGS__) -typedef void (*PFNGLINVALIDATETEXIMAGEPROC)(GLuint texture, GLint level); -GLAPI PFNGLINVALIDATETEXIMAGEPROC biz_glInvalidateTexImage; -#define glInvalidateTexImage(...) WRAP_PFN(biz_glInvalidateTexImage, __VA_ARGS__) -typedef void (*PFNGLINVALIDATEBUFFERSUBDATAPROC)(GLuint buffer, GLintptr offset, GLsizeiptr length); -GLAPI PFNGLINVALIDATEBUFFERSUBDATAPROC biz_glInvalidateBufferSubData; -#define glInvalidateBufferSubData(...) WRAP_PFN(biz_glInvalidateBufferSubData, __VA_ARGS__) -typedef void (*PFNGLINVALIDATEBUFFERDATAPROC)(GLuint buffer); -GLAPI PFNGLINVALIDATEBUFFERDATAPROC biz_glInvalidateBufferData; -#define glInvalidateBufferData(...) WRAP_PFN(biz_glInvalidateBufferData, __VA_ARGS__) -typedef void (*PFNGLINVALIDATEFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum *attachments); -GLAPI PFNGLINVALIDATEFRAMEBUFFERPROC biz_glInvalidateFramebuffer; -#define glInvalidateFramebuffer(...) WRAP_PFN(biz_glInvalidateFramebuffer, __VA_ARGS__) -typedef void (*PFNGLINVALIDATESUBFRAMEBUFFERPROC)(GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); -GLAPI PFNGLINVALIDATESUBFRAMEBUFFERPROC biz_glInvalidateSubFramebuffer; -#define glInvalidateSubFramebuffer(...) WRAP_PFN(biz_glInvalidateSubFramebuffer, __VA_ARGS__) -typedef void (*PFNGLMULTIDRAWARRAYSINDIRECTPROC)(GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI PFNGLMULTIDRAWARRAYSINDIRECTPROC biz_glMultiDrawArraysIndirect; -#define glMultiDrawArraysIndirect(...) WRAP_PFN(biz_glMultiDrawArraysIndirect, __VA_ARGS__) -typedef void (*PFNGLMULTIDRAWELEMENTSINDIRECTPROC)(GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); -GLAPI PFNGLMULTIDRAWELEMENTSINDIRECTPROC biz_glMultiDrawElementsIndirect; -#define glMultiDrawElementsIndirect(...) WRAP_PFN(biz_glMultiDrawElementsIndirect, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMINTERFACEIVPROC)(GLuint program, GLenum programInterface, GLenum pname, GLint *params); -GLAPI PFNGLGETPROGRAMINTERFACEIVPROC biz_glGetProgramInterfaceiv; -#define glGetProgramInterfaceiv(...) WRAP_PFN(biz_glGetProgramInterfaceiv, __VA_ARGS__) -typedef GLuint (*PFNGLGETPROGRAMRESOURCEINDEXPROC)(GLuint program, GLenum programInterface, const GLchar *name); -GLAPI PFNGLGETPROGRAMRESOURCEINDEXPROC biz_glGetProgramResourceIndex; -#define glGetProgramResourceIndex(...) WRAP_PFN(biz_glGetProgramResourceIndex, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMRESOURCENAMEPROC)(GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); -GLAPI PFNGLGETPROGRAMRESOURCENAMEPROC biz_glGetProgramResourceName; -#define glGetProgramResourceName(...) WRAP_PFN(biz_glGetProgramResourceName, __VA_ARGS__) -typedef void (*PFNGLGETPROGRAMRESOURCEIVPROC)(GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params); -GLAPI PFNGLGETPROGRAMRESOURCEIVPROC biz_glGetProgramResourceiv; -#define glGetProgramResourceiv(...) WRAP_PFN(biz_glGetProgramResourceiv, __VA_ARGS__) -typedef GLint (*PFNGLGETPROGRAMRESOURCELOCATIONPROC)(GLuint program, GLenum programInterface, const GLchar *name); -GLAPI PFNGLGETPROGRAMRESOURCELOCATIONPROC biz_glGetProgramResourceLocation; -#define glGetProgramResourceLocation(...) WRAP_PFN(biz_glGetProgramResourceLocation, __VA_ARGS__) -typedef GLint (*PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)(GLuint program, GLenum programInterface, const GLchar *name); -GLAPI PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC biz_glGetProgramResourceLocationIndex; -#define glGetProgramResourceLocationIndex(...) WRAP_PFN(biz_glGetProgramResourceLocationIndex, __VA_ARGS__) -typedef void (*PFNGLSHADERSTORAGEBLOCKBINDINGPROC)(GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); -GLAPI PFNGLSHADERSTORAGEBLOCKBINDINGPROC biz_glShaderStorageBlockBinding; -#define glShaderStorageBlockBinding(...) WRAP_PFN(biz_glShaderStorageBlockBinding, __VA_ARGS__) -typedef void (*PFNGLTEXBUFFERRANGEPROC)(GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); -GLAPI PFNGLTEXBUFFERRANGEPROC biz_glTexBufferRange; -#define glTexBufferRange(...) WRAP_PFN(biz_glTexBufferRange, __VA_ARGS__) -typedef void (*PFNGLTEXSTORAGE2DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); -GLAPI PFNGLTEXSTORAGE2DMULTISAMPLEPROC biz_glTexStorage2DMultisample; -#define glTexStorage2DMultisample(...) WRAP_PFN(biz_glTexStorage2DMultisample, __VA_ARGS__) -typedef void (*PFNGLTEXSTORAGE3DMULTISAMPLEPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); -GLAPI PFNGLTEXSTORAGE3DMULTISAMPLEPROC biz_glTexStorage3DMultisample; -#define glTexStorage3DMultisample(...) WRAP_PFN(biz_glTexStorage3DMultisample, __VA_ARGS__) -typedef void (*PFNGLTEXTUREVIEWPROC)(GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); -GLAPI PFNGLTEXTUREVIEWPROC biz_glTextureView; -#define glTextureView(...) WRAP_PFN(biz_glTextureView, __VA_ARGS__) -typedef void (*PFNGLBINDVERTEXBUFFERPROC)(GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); -GLAPI PFNGLBINDVERTEXBUFFERPROC biz_glBindVertexBuffer; -#define glBindVertexBuffer(...) WRAP_PFN(biz_glBindVertexBuffer, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); -GLAPI PFNGLVERTEXATTRIBFORMATPROC biz_glVertexAttribFormat; -#define glVertexAttribFormat(...) WRAP_PFN(biz_glVertexAttribFormat, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBIFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI PFNGLVERTEXATTRIBIFORMATPROC biz_glVertexAttribIFormat; -#define glVertexAttribIFormat(...) WRAP_PFN(biz_glVertexAttribIFormat, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBLFORMATPROC)(GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); -GLAPI PFNGLVERTEXATTRIBLFORMATPROC biz_glVertexAttribLFormat; -#define glVertexAttribLFormat(...) WRAP_PFN(biz_glVertexAttribLFormat, __VA_ARGS__) -typedef void (*PFNGLVERTEXATTRIBBINDINGPROC)(GLuint attribindex, GLuint bindingindex); -GLAPI PFNGLVERTEXATTRIBBINDINGPROC biz_glVertexAttribBinding; -#define glVertexAttribBinding(...) WRAP_PFN(biz_glVertexAttribBinding, __VA_ARGS__) -typedef void (*PFNGLVERTEXBINDINGDIVISORPROC)(GLuint bindingindex, GLuint divisor); -GLAPI PFNGLVERTEXBINDINGDIVISORPROC biz_glVertexBindingDivisor; -#define glVertexBindingDivisor(...) WRAP_PFN(biz_glVertexBindingDivisor, __VA_ARGS__) -typedef void (*PFNGLDEBUGMESSAGECONTROLPROC)(GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); -GLAPI PFNGLDEBUGMESSAGECONTROLPROC biz_glDebugMessageControl; -#define glDebugMessageControl(...) WRAP_PFN(biz_glDebugMessageControl, __VA_ARGS__) -typedef void (*PFNGLDEBUGMESSAGEINSERTPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); -GLAPI PFNGLDEBUGMESSAGEINSERTPROC biz_glDebugMessageInsert; -#define glDebugMessageInsert(...) WRAP_PFN(biz_glDebugMessageInsert, __VA_ARGS__) -typedef void (*PFNGLDEBUGMESSAGECALLBACKPROC)(GLDEBUGPROC callback, const void *userParam); -GLAPI PFNGLDEBUGMESSAGECALLBACKPROC biz_glDebugMessageCallback; -#define glDebugMessageCallback(...) WRAP_PFN(biz_glDebugMessageCallback, __VA_ARGS__) -typedef GLuint (*PFNGLGETDEBUGMESSAGELOGPROC)(GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); -GLAPI PFNGLGETDEBUGMESSAGELOGPROC biz_glGetDebugMessageLog; -#define glGetDebugMessageLog(...) WRAP_PFN(biz_glGetDebugMessageLog, __VA_ARGS__) -typedef void (*PFNGLPUSHDEBUGGROUPPROC)(GLenum source, GLuint id, GLsizei length, const GLchar *message); -GLAPI PFNGLPUSHDEBUGGROUPPROC biz_glPushDebugGroup; -#define glPushDebugGroup(...) WRAP_PFN(biz_glPushDebugGroup, __VA_ARGS__) -typedef void (*PFNGLPOPDEBUGGROUPPROC)(void); -GLAPI PFNGLPOPDEBUGGROUPPROC biz_glPopDebugGroup; -#define glPopDebugGroup(...) WRAP_PFN(biz_glPopDebugGroup, __VA_ARGS__) -typedef void (*PFNGLOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei length, const GLchar *label); -GLAPI PFNGLOBJECTLABELPROC biz_glObjectLabel; -#define glObjectLabel(...) WRAP_PFN(biz_glObjectLabel, __VA_ARGS__) -typedef void (*PFNGLGETOBJECTLABELPROC)(GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); -GLAPI PFNGLGETOBJECTLABELPROC biz_glGetObjectLabel; -#define glGetObjectLabel(...) WRAP_PFN(biz_glGetObjectLabel, __VA_ARGS__) -typedef void (*PFNGLOBJECTPTRLABELPROC)(const void *ptr, GLsizei length, const GLchar *label); -GLAPI PFNGLOBJECTPTRLABELPROC biz_glObjectPtrLabel; -#define glObjectPtrLabel(...) WRAP_PFN(biz_glObjectPtrLabel, __VA_ARGS__) -typedef void (*PFNGLGETOBJECTPTRLABELPROC)(const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); -GLAPI PFNGLGETOBJECTPTRLABELPROC biz_glGetObjectPtrLabel; -#define glGetObjectPtrLabel(...) WRAP_PFN(biz_glGetObjectPtrLabel, __VA_ARGS__) -typedef void (*PFNGLGETPOINTERVPROC)(GLenum pname, void **params); -GLAPI PFNGLGETPOINTERVPROC biz_glGetPointerv; -#define glGetPointerv(...) WRAP_PFN(biz_glGetPointerv, __VA_ARGS__) +extern BizOGL::GLFunctor biz_glClearBufferData; +#define glClearBufferData biz_glClearBufferData +extern BizOGL::GLFunctor biz_glClearBufferSubData; +#define glClearBufferSubData biz_glClearBufferSubData +extern BizOGL::GLFunctor biz_glDispatchCompute; +#define glDispatchCompute biz_glDispatchCompute +extern BizOGL::GLFunctor biz_glDispatchComputeIndirect; +#define glDispatchComputeIndirect biz_glDispatchComputeIndirect +extern BizOGL::GLFunctor biz_glCopyImageSubData; +#define glCopyImageSubData biz_glCopyImageSubData +extern BizOGL::GLFunctor biz_glFramebufferParameteri; +#define glFramebufferParameteri biz_glFramebufferParameteri +extern BizOGL::GLFunctor biz_glGetFramebufferParameteriv; +#define glGetFramebufferParameteriv biz_glGetFramebufferParameteriv +extern BizOGL::GLFunctor biz_glGetInternalformati64v; +#define glGetInternalformati64v biz_glGetInternalformati64v +extern BizOGL::GLFunctor biz_glInvalidateTexSubImage; +#define glInvalidateTexSubImage biz_glInvalidateTexSubImage +extern BizOGL::GLFunctor biz_glInvalidateTexImage; +#define glInvalidateTexImage biz_glInvalidateTexImage +extern BizOGL::GLFunctor biz_glInvalidateBufferSubData; +#define glInvalidateBufferSubData biz_glInvalidateBufferSubData +extern BizOGL::GLFunctor biz_glInvalidateBufferData; +#define glInvalidateBufferData biz_glInvalidateBufferData +extern BizOGL::GLFunctor biz_glInvalidateFramebuffer; +#define glInvalidateFramebuffer biz_glInvalidateFramebuffer +extern BizOGL::GLFunctor biz_glInvalidateSubFramebuffer; +#define glInvalidateSubFramebuffer biz_glInvalidateSubFramebuffer +extern BizOGL::GLFunctor biz_glMultiDrawArraysIndirect; +#define glMultiDrawArraysIndirect biz_glMultiDrawArraysIndirect +extern BizOGL::GLFunctor biz_glMultiDrawElementsIndirect; +#define glMultiDrawElementsIndirect biz_glMultiDrawElementsIndirect +extern BizOGL::GLFunctor biz_glGetProgramInterfaceiv; +#define glGetProgramInterfaceiv biz_glGetProgramInterfaceiv +extern BizOGL::GLFunctor biz_glGetProgramResourceIndex; +#define glGetProgramResourceIndex biz_glGetProgramResourceIndex +extern BizOGL::GLFunctor biz_glGetProgramResourceName; +#define glGetProgramResourceName biz_glGetProgramResourceName +extern BizOGL::GLFunctor biz_glGetProgramResourceiv; +#define glGetProgramResourceiv biz_glGetProgramResourceiv +extern BizOGL::GLFunctor biz_glGetProgramResourceLocation; +#define glGetProgramResourceLocation biz_glGetProgramResourceLocation +extern BizOGL::GLFunctor biz_glGetProgramResourceLocationIndex; +#define glGetProgramResourceLocationIndex biz_glGetProgramResourceLocationIndex +extern BizOGL::GLFunctor biz_glShaderStorageBlockBinding; +#define glShaderStorageBlockBinding biz_glShaderStorageBlockBinding +extern BizOGL::GLFunctor biz_glTexBufferRange; +#define glTexBufferRange biz_glTexBufferRange +extern BizOGL::GLFunctor biz_glTexStorage2DMultisample; +#define glTexStorage2DMultisample biz_glTexStorage2DMultisample +extern BizOGL::GLFunctor biz_glTexStorage3DMultisample; +#define glTexStorage3DMultisample biz_glTexStorage3DMultisample +extern BizOGL::GLFunctor biz_glTextureView; +#define glTextureView biz_glTextureView +extern BizOGL::GLFunctor biz_glBindVertexBuffer; +#define glBindVertexBuffer biz_glBindVertexBuffer +extern BizOGL::GLFunctor biz_glVertexAttribFormat; +#define glVertexAttribFormat biz_glVertexAttribFormat +extern BizOGL::GLFunctor biz_glVertexAttribIFormat; +#define glVertexAttribIFormat biz_glVertexAttribIFormat +extern BizOGL::GLFunctor biz_glVertexAttribLFormat; +#define glVertexAttribLFormat biz_glVertexAttribLFormat +extern BizOGL::GLFunctor biz_glVertexAttribBinding; +#define glVertexAttribBinding biz_glVertexAttribBinding +extern BizOGL::GLFunctor biz_glVertexBindingDivisor; +#define glVertexBindingDivisor biz_glVertexBindingDivisor +extern BizOGL::GLFunctor biz_glDebugMessageControl; +#define glDebugMessageControl biz_glDebugMessageControl +extern BizOGL::GLFunctor biz_glDebugMessageInsert; +#define glDebugMessageInsert biz_glDebugMessageInsert +extern BizOGL::GLFunctor biz_glDebugMessageCallback; +#define glDebugMessageCallback biz_glDebugMessageCallback +extern BizOGL::GLFunctor biz_glGetDebugMessageLog; +#define glGetDebugMessageLog biz_glGetDebugMessageLog +extern BizOGL::GLFunctor biz_glPushDebugGroup; +#define glPushDebugGroup biz_glPushDebugGroup +extern BizOGL::GLFunctor biz_glPopDebugGroup; +#define glPopDebugGroup biz_glPopDebugGroup +extern BizOGL::GLFunctor biz_glObjectLabel; +#define glObjectLabel biz_glObjectLabel +extern BizOGL::GLFunctor biz_glGetObjectLabel; +#define glGetObjectLabel biz_glGetObjectLabel +extern BizOGL::GLFunctor biz_glObjectPtrLabel; +#define glObjectPtrLabel biz_glObjectPtrLabel +extern BizOGL::GLFunctor biz_glGetObjectPtrLabel; +#define glGetObjectPtrLabel biz_glGetObjectPtrLabel +extern BizOGL::GLFunctor biz_glGetPointerv; +#define glGetPointerv biz_glGetPointerv #endif diff --git a/waterbox/melon/BizPlatform/BizSaveManager.cpp b/waterbox/melon/BizPlatform/BizSaveManager.cpp index d24f3b42ee..e663a8dbcf 100644 --- a/waterbox/melon/BizPlatform/BizSaveManager.cpp +++ b/waterbox/melon/BizPlatform/BizSaveManager.cpp @@ -64,39 +64,76 @@ ECL_EXPORT bool SaveRamIsDirty() ECL_EXPORT void ImportDSiWareSavs(u32 titleId) { - if (DSi_NAND::Init(&DSi::ARM7iBIOS[0x8308])) + auto& nand = DSi::NANDImage; + if (nand && *nand) { - DSi_NAND::ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PublicSav, "public.sav"); - DSi_NAND::ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PrivateSav, "private.sav"); - DSi_NAND::ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_BannerSav, "banner.sav"); - DSi_NAND::DeInit(); + if (auto mount = DSi_NAND::NANDMount(*nand)) + { + mount.ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PublicSav, "public.sav"); + mount.ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PrivateSav, "private.sav"); + mount.ImportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_BannerSav, "banner.sav"); + } } } ECL_EXPORT void ExportDSiWareSavs(u32 titleId) { - if (DSi_NAND::Init(&DSi::ARM7iBIOS[0x8308])) + auto& nand = DSi::NANDImage; + if (nand && *nand) { - DSi_NAND::ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PublicSav, "public.sav"); - DSi_NAND::ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PrivateSav, "private.sav"); - DSi_NAND::ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_BannerSav, "banner.sav"); - DSi_NAND::DeInit(); + if (auto mount = DSi_NAND::NANDMount(*nand)) + { + mount.ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PublicSav, "public.sav"); + mount.ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_PrivateSav, "private.sav"); + mount.ExportTitleData(DSIWARE_CATEGORY, titleId, DSi_NAND::TitleData_BannerSav, "banner.sav"); + } } } ECL_EXPORT void DSiWareSavsLength(u32 titleId, u32* publicSavSize, u32* privateSavSize, u32* bannerSavSize) { *publicSavSize = *privateSavSize = *bannerSavSize = 0; - if (DSi_NAND::Init(&DSi::ARM7iBIOS[0x8308])) - { - u32 version; - NDSHeader header{}; - DSi_NAND::GetTitleInfo(DSIWARE_CATEGORY, titleId, version, &header, nullptr); - *publicSavSize = header.DSiPublicSavSize; - *privateSavSize = header.DSiPrivateSavSize; - *bannerSavSize = (header.AppFlags & 0x04) ? 0x4000 : 0; - DSi_NAND::DeInit(); + auto& nand = DSi::NANDImage; + if (nand && *nand) + { + if (auto mount = DSi_NAND::NANDMount(*nand)) + { + u32 version; + NDSHeader header{}; + + mount.GetTitleInfo(DSIWARE_CATEGORY, titleId, version, &header, nullptr); + *publicSavSize = header.DSiPublicSavSize; + *privateSavSize = header.DSiPrivateSavSize; + *bannerSavSize = (header.AppFlags & 0x04) ? 0x4000 : 0; + } + } +} + +// TODO - I don't like this approach with NAND +// Perhaps instead it would be better to use FileFlush to write to disk +// (guarded by frontend determinism switch, of course) + +ECL_EXPORT u32 GetNANDSize() +{ + auto& nand = DSi::NANDImage; + if (nand && *nand) + { + return nand->GetLength(); + } + + return 0; +} + +ECL_EXPORT void GetNANDData(u8* buf) +{ + auto& nand = DSi::NANDImage; + if (nand && *nand) + { + auto len = nand->GetLength(); + auto file = nand->GetFile(); + Platform::FileRewind(file); + Platform::FileRead(buf, 1, len, file); } } @@ -110,4 +147,12 @@ void WriteGBASave(const u8* savedata, u32 savelen, u32 writeoffset, u32 writelen GbaSaveRamIsDirty = true; } +void WriteFirmware(const SPI_Firmware::Firmware& firmware, u32 writeoffset, u32 writelen) +{ +} + +void WriteDateTime(int year, int month, int day, int hour, int minute, int second) +{ +} + } diff --git a/waterbox/melon/Makefile b/waterbox/melon/Makefile index 3cb71993f4..d05ca4705f 100644 --- a/waterbox/melon/Makefile +++ b/waterbox/melon/Makefile @@ -22,6 +22,7 @@ CORE_SRCS = \ CP15.cpp \ CRC32.cpp \ DMA.cpp \ + DMA_Timings.cpp \ DSi.cpp \ DSi_AES.cpp \ DSi_Camera.cpp \ @@ -32,7 +33,9 @@ CORE_SRCS = \ DSi_NWifi.cpp \ DSi_SD.cpp \ DSi_SPI_TSC.cpp \ + FATIO.cpp \ FATStorage.cpp \ + FreeBIOS.cpp \ GBACart.cpp \ GPU.cpp \ GPU2D.cpp \ @@ -45,6 +48,7 @@ CORE_SRCS = \ RTC.cpp \ Savestate.cpp \ SPI.cpp \ + SPI_Firmware.cpp \ SPU.cpp \ Wifi.cpp \ WifiAP.cpp @@ -67,7 +71,6 @@ TEAKRA_SRCS = \ timer.cpp FATFS_SRCS = \ - diskio.c \ ff.c \ ffsystem.c \ ffunicode.c diff --git a/waterbox/melon/melonDS b/waterbox/melon/melonDS index ee581ad646..0506a84cde 160000 --- a/waterbox/melon/melonDS +++ b/waterbox/melon/melonDS @@ -1 +1 @@ -Subproject commit ee581ad6461c78ab08e440bb1ca5afd05fa96f66 +Subproject commit 0506a84cdede08a4ebc7f71799265d91ac1d79dc