diff --git a/build/ios/Regal/Regal.xcodeproj/project.pbxproj b/build/ios/Regal/Regal.xcodeproj/project.pbxproj index c5a76a7..c4a363b 100644 --- a/build/ios/Regal/Regal.xcodeproj/project.pbxproj +++ b/build/ios/Regal/Regal.xcodeproj/project.pbxproj @@ -62,12 +62,17 @@ 43FC5FA415C4619B00D0177C /* RegalVao.h in Headers */ = {isa = PBXBuildFile; fileRef = 43FC5F7715C4619B00D0177C /* RegalVao.h */; }; 43FC5FA715C461AC00D0177C /* mongoose.c in Sources */ = {isa = PBXBuildFile; fileRef = 43FC5FA615C461AC00D0177C /* mongoose.c */; }; 754D3C9517CFFD7200E4C0E0 /* RegalEmu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 754D3C9417CFFD7200E4C0E0 /* RegalEmu.cpp */; }; + 75694C8E17EB913B00B8AD9D /* RegalQuads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 75694C8C17EB913B00B8AD9D /* RegalQuads.cpp */; }; + 75694C8F17EB913B00B8AD9D /* RegalQuads.h in Headers */ = {isa = PBXBuildFile; fileRef = 75694C8D17EB913B00B8AD9D /* RegalQuads.h */; }; BC020947160D1919003FAB99 /* RegalMarker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC020946160D1919003FAB99 /* RegalMarker.cpp */; }; BC020958160D1C73003FAB99 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = BC020957160D1C73003FAB99 /* md5.c */; }; BC3209D416F3A0E600D1A9E0 /* RegalCacheShader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209D016F3A0E600D1A9E0 /* RegalCacheShader.cpp */; }; BC3209D516F3A0E600D1A9E0 /* RegalCacheShader.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209D116F3A0E600D1A9E0 /* RegalCacheShader.h */; }; BC3209D616F3A0E600D1A9E0 /* RegalCacheTexture.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209D216F3A0E600D1A9E0 /* RegalCacheTexture.cpp */; }; BC3209D716F3A0E600D1A9E0 /* RegalCacheTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209D316F3A0E600D1A9E0 /* RegalCacheTexture.h */; }; + BC4935031804FD53004385CA /* os_backtrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC4935011804FD53004385CA /* os_backtrace.cpp */; }; + BC4935041804FD53004385CA /* os_backtrace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BC4935021804FD53004385CA /* os_backtrace.hpp */; }; + BC4935061804FDEE004385CA /* RegalDispatch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC4935051804FDEE004385CA /* RegalDispatch.cpp */; }; BC59F9DB174809EE004BC2AC /* RegalBaseVertex.h in Headers */ = {isa = PBXBuildFile; fileRef = BC59F9CA174809EE004BC2AC /* RegalBaseVertex.h */; }; BC59F9DC174809EE004BC2AC /* RegalMutex.h in Headers */ = {isa = PBXBuildFile; fileRef = BC59F9CB174809EE004BC2AC /* RegalMutex.h */; }; BC59F9DE174809EE004BC2AC /* RegalPpca.h in Headers */ = {isa = PBXBuildFile; fileRef = BC59F9CD174809EE004BC2AC /* RegalPpca.h */; }; @@ -84,8 +89,6 @@ BC59F9E9174809EE004BC2AC /* RegalPixelConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC59F9D8174809EE004BC2AC /* RegalPixelConversions.cpp */; }; BC59F9EA174809EE004BC2AC /* RegalTexC.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC59F9D9174809EE004BC2AC /* RegalTexC.cpp */; }; BC59F9EB174809EE004BC2AC /* RegalXfer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC59F9DA174809EE004BC2AC /* RegalXfer.cpp */; }; - BC62F94317F47E3F007C5086 /* os_backtrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC62F94117F47E3F007C5086 /* os_backtrace.cpp */; }; - BC62F94417F47E3F007C5086 /* os_backtrace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BC62F94217F47E3F007C5086 /* os_backtrace.hpp */; }; BC640CA416554AA4007DEF69 /* RegalFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC640CA216554AA4007DEF69 /* RegalFrame.cpp */; }; BC640CA516554AA4007DEF69 /* RegalFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = BC640CA316554AA4007DEF69 /* RegalFrame.h */; }; BC6C912A15EE3DC60056E4F7 /* RegalDispatchGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C912915EE3DC60056E4F7 /* RegalDispatchGlobal.cpp */; }; @@ -95,7 +98,6 @@ BC94B99016DFDD6D00116D55 /* RegalBreak.h in Headers */ = {isa = PBXBuildFile; fileRef = BC94B98E16DFDD6D00116D55 /* RegalBreak.h */; }; BC94B99316DFDDA000116D55 /* RegalFilt.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC94B99116DFDDA000116D55 /* RegalFilt.cpp */; }; BC94B99416DFDDA000116D55 /* RegalFilt.h in Headers */ = {isa = PBXBuildFile; fileRef = BC94B99216DFDDA000116D55 /* RegalFilt.h */; }; - BCB6106E17F21CD500BA0A06 /* RegalDispatch.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCB6106D17F21CD500BA0A06 /* RegalDispatch.cpp */; }; BCBA1FD617DF848800CB6E19 /* RegalEmuInfo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBA1FCE17DF848800CB6E19 /* RegalEmuInfo.cpp */; }; BCBA1FD717DF848800CB6E19 /* RegalEmuInfo.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBA1FCF17DF848800CB6E19 /* RegalEmuInfo.h */; }; BCBA1FD817DF848800CB6E19 /* RegalClientState.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBA1FD017DF848800CB6E19 /* RegalClientState.h */; }; @@ -236,12 +238,17 @@ 43FC5F7715C4619B00D0177C /* RegalVao.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalVao.h; path = ../../../src/regal/RegalVao.h; sourceTree = ""; }; 43FC5FA615C461AC00D0177C /* mongoose.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mongoose.c; path = ../../../src/mongoose/mongoose.c; sourceTree = ""; }; 754D3C9417CFFD7200E4C0E0 /* RegalEmu.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalEmu.cpp; path = ../../../src/regal/RegalEmu.cpp; sourceTree = ""; }; + 75694C8C17EB913B00B8AD9D /* RegalQuads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalQuads.cpp; path = ../../../src/regal/RegalQuads.cpp; sourceTree = ""; }; + 75694C8D17EB913B00B8AD9D /* RegalQuads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalQuads.h; path = ../../../src/regal/RegalQuads.h; sourceTree = ""; }; BC020946160D1919003FAB99 /* RegalMarker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalMarker.cpp; path = ../../../src/regal/RegalMarker.cpp; sourceTree = ""; }; BC020957160D1C73003FAB99 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = md5.c; path = ../../../src/md5/src/md5.c; sourceTree = ""; }; BC3209D016F3A0E600D1A9E0 /* RegalCacheShader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalCacheShader.cpp; path = ../../../src/regal/RegalCacheShader.cpp; sourceTree = ""; }; BC3209D116F3A0E600D1A9E0 /* RegalCacheShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheShader.h; path = ../../../src/regal/RegalCacheShader.h; sourceTree = ""; }; BC3209D216F3A0E600D1A9E0 /* RegalCacheTexture.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalCacheTexture.cpp; path = ../../../src/regal/RegalCacheTexture.cpp; sourceTree = ""; }; BC3209D316F3A0E600D1A9E0 /* RegalCacheTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheTexture.h; path = ../../../src/regal/RegalCacheTexture.h; sourceTree = ""; }; + BC4935011804FD53004385CA /* os_backtrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_backtrace.cpp; path = ../../../src/apitrace/common/os_backtrace.cpp; sourceTree = ""; }; + BC4935021804FD53004385CA /* os_backtrace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_backtrace.hpp; path = ../../../src/apitrace/common/os_backtrace.hpp; sourceTree = ""; }; + BC4935051804FDEE004385CA /* RegalDispatch.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatch.cpp; path = ../../../src/regal/RegalDispatch.cpp; sourceTree = ""; }; BC59F9CA174809EE004BC2AC /* RegalBaseVertex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalBaseVertex.h; path = ../../../src/regal/RegalBaseVertex.h; sourceTree = ""; }; BC59F9CB174809EE004BC2AC /* RegalMutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalMutex.h; path = ../../../src/regal/RegalMutex.h; sourceTree = ""; }; BC59F9CD174809EE004BC2AC /* RegalPpca.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalPpca.h; path = ../../../src/regal/RegalPpca.h; sourceTree = ""; }; @@ -261,8 +268,6 @@ BC60A6B4170330700055437B /* RegalJson.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; name = RegalJson.cpp; path = ../../../src/regal/RegalJson.cpp; sourceTree = ""; }; BC60A6B5170330700055437B /* RegalJson.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = RegalJson.h; path = ../../../src/regal/RegalJson.h; sourceTree = ""; }; BC60A6B6170330700055437B /* RegalJson.inl */ = {isa = PBXFileReference; lastKnownFileType = text; name = RegalJson.inl; path = ../../../src/regal/RegalJson.inl; sourceTree = ""; }; - BC62F94117F47E3F007C5086 /* os_backtrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_backtrace.cpp; path = ../../../src/apitrace/common/os_backtrace.cpp; sourceTree = ""; }; - BC62F94217F47E3F007C5086 /* os_backtrace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_backtrace.hpp; path = ../../../src/apitrace/common/os_backtrace.hpp; sourceTree = ""; }; BC640CA216554AA4007DEF69 /* RegalFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalFrame.cpp; path = ../../../src/regal/RegalFrame.cpp; sourceTree = ""; }; BC640CA316554AA4007DEF69 /* RegalFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalFrame.h; path = ../../../src/regal/RegalFrame.h; sourceTree = ""; }; BC6C912915EE3DC60056E4F7 /* RegalDispatchGlobal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchGlobal.cpp; path = ../../../src/regal/RegalDispatchGlobal.cpp; sourceTree = ""; }; @@ -272,7 +277,6 @@ BC94B98E16DFDD6D00116D55 /* RegalBreak.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalBreak.h; path = ../../../src/regal/RegalBreak.h; sourceTree = ""; }; BC94B99116DFDDA000116D55 /* RegalFilt.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalFilt.cpp; path = ../../../src/regal/RegalFilt.cpp; sourceTree = ""; }; BC94B99216DFDDA000116D55 /* RegalFilt.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalFilt.h; path = ../../../src/regal/RegalFilt.h; sourceTree = ""; }; - BCB6106D17F21CD500BA0A06 /* RegalDispatch.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatch.cpp; path = ../../../src/regal/RegalDispatch.cpp; sourceTree = ""; }; BCBA1FCE17DF848800CB6E19 /* RegalEmuInfo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalEmuInfo.cpp; path = ../../../src/regal/RegalEmuInfo.cpp; sourceTree = ""; }; BCBA1FCF17DF848800CB6E19 /* RegalEmuInfo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalEmuInfo.h; path = ../../../src/regal/RegalEmuInfo.h; sourceTree = ""; }; BCBA1FD017DF848800CB6E19 /* RegalClientState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalClientState.h; path = ../../../src/regal/RegalClientState.h; sourceTree = ""; }; @@ -419,7 +423,7 @@ 43FC5F5215C4619B00D0177C /* RegalContextInfo.cpp */, 43FC5F5315C4619B00D0177C /* RegalContextInfo.h */, 43FC5F5415C4619B00D0177C /* RegalDebugInfo.h */, - BCB6106D17F21CD500BA0A06 /* RegalDispatch.cpp */, + BC4935051804FDEE004385CA /* RegalDispatch.cpp */, 43FC5F5515C4619B00D0177C /* RegalDispatch.h */, BCBEC6E7167AD66F00B38E16 /* RegalDispatchCache.cpp */, BCBEC6E8167AD66F00B38E16 /* RegalDispatchCode.cpp */, @@ -489,6 +493,8 @@ 43FC5F7015C4619B00D0177C /* RegalPrecompile.h */, 43FC5F7115C4619B00D0177C /* RegalPrivate.h */, BCBEC6EC167AD69D00B38E16 /* RegalPush.h */, + 75694C8C17EB913B00B8AD9D /* RegalQuads.cpp */, + 75694C8D17EB913B00B8AD9D /* RegalQuads.h */, BC59F9CE174809EE004BC2AC /* RegalRect.h */, BC59F9D5174809EE004BC2AC /* RegalScopedPtr.h */, BCBEC6EF167AD69D00B38E16 /* RegalSharedList.h */, @@ -566,8 +572,8 @@ BCDF6708178F179800EE9569 /* gltrace.hpp */, BCDF6707178F179800EE9569 /* gltrace_state.cpp */, BCDF66B0178F172A00EE9569 /* os.hpp */, - BC62F94117F47E3F007C5086 /* os_backtrace.cpp */, - BC62F94217F47E3F007C5086 /* os_backtrace.hpp */, + BC4935011804FD53004385CA /* os_backtrace.cpp */, + BC4935021804FD53004385CA /* os_backtrace.hpp */, BCDF66A7178F172A00EE9569 /* os_binary.hpp */, BCDF66A8178F172A00EE9569 /* os_dl.hpp */, BCDF66A9178F172A00EE9569 /* os_memory.hpp */, @@ -710,7 +716,8 @@ BCBA1FD817DF848800CB6E19 /* RegalClientState.h in Headers */, BCBA1FD917DF848800CB6E19 /* RegalHint.h in Headers */, BCBA1FDB17DF848800CB6E19 /* RegalNamespace.h in Headers */, - BC62F94417F47E3F007C5086 /* os_backtrace.hpp in Headers */, + 75694C8F17EB913B00B8AD9D /* RegalQuads.h in Headers */, + BC4935041804FD53004385CA /* os_backtrace.hpp in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -842,8 +849,9 @@ BCBA1FD617DF848800CB6E19 /* RegalEmuInfo.cpp in Sources */, BCBA1FDA17DF848800CB6E19 /* RegalX11.cpp in Sources */, BCBA1FDC17DF848800CB6E19 /* RegalDispatchGLX.cpp in Sources */, - BCB6106E17F21CD500BA0A06 /* RegalDispatch.cpp in Sources */, - BC62F94317F47E3F007C5086 /* os_backtrace.cpp in Sources */, + 75694C8E17EB913B00B8AD9D /* RegalQuads.cpp in Sources */, + BC4935031804FD53004385CA /* os_backtrace.cpp in Sources */, + BC4935061804FDEE004385CA /* RegalDispatch.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/build/mac/Regal/Regal.xcodeproj/project.pbxproj b/build/mac/Regal/Regal.xcodeproj/project.pbxproj index b691a57..56799b1 100644 --- a/build/mac/Regal/Regal.xcodeproj/project.pbxproj +++ b/build/mac/Regal/Regal.xcodeproj/project.pbxproj @@ -15,8 +15,6 @@ 431D3C0E15C9B6F0009DD04F /* RegalFavicon.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 431D3C0A15C9B6F0009DD04F /* RegalFavicon.cpp */; }; 431D3C0F15C9B6F0009DD04F /* RegalFavicon.h in Headers */ = {isa = PBXBuildFile; fileRef = 431D3C0B15C9B6F0009DD04F /* RegalFavicon.h */; }; 431D3C1015C9B6F0009DD04F /* RegalMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 431D3C0C15C9B6F0009DD04F /* RegalMac.cpp */; }; - 436E18CE17020093005BE93E /* jsonsl.c in Sources */ = {isa = PBXBuildFile; fileRef = 436E18CC17020093005BE93E /* jsonsl.c */; }; - 436E18CF17020093005BE93E /* jsonsl.h in Headers */ = {isa = PBXBuildFile; fileRef = 436E18CD17020093005BE93E /* jsonsl.h */; }; 438D2C2B16DE668A005E03F6 /* RegalJson.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 438D2C1F16DE668A005E03F6 /* RegalJson.cpp */; }; 438D2C2D16DE668A005E03F6 /* RegalPixelConversions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 438D2C2116DE668A005E03F6 /* RegalPixelConversions.cpp */; }; 438D2C2E16DE668A005E03F6 /* RegalPixelConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 438D2C2216DE668A005E03F6 /* RegalPixelConversions.h */; }; @@ -70,18 +68,16 @@ 43A6C22915C48D200063667E /* RegalUtil.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C1FC15C48D200063667E /* RegalUtil.cpp */; }; 43A6C22A15C48D200063667E /* RegalUtil.h in Headers */ = {isa = PBXBuildFile; fileRef = 43A6C1FD15C48D200063667E /* RegalUtil.h */; }; 43A6C22B15C48D200063667E /* RegalVao.h in Headers */ = {isa = PBXBuildFile; fileRef = 43A6C1FE15C48D200063667E /* RegalVao.h */; }; - 43A6C22E15C48D3A0063667E /* mongoose.c in Sources */ = {isa = PBXBuildFile; fileRef = 43A6C22D15C48D3A0063667E /* mongoose.c */; }; BC02094E160D1BA3003FAB99 /* RegalMarker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC02094D160D1BA3003FAB99 /* RegalMarker.cpp */; }; - BC020950160D1BD0003FAB99 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = BC02094F160D1BD0003FAB99 /* md5.c */; }; BC3209DC16F3A28900D1A9E0 /* RegalCacheShader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209D816F3A28900D1A9E0 /* RegalCacheShader.cpp */; }; BC3209DD16F3A28900D1A9E0 /* RegalCacheShader.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209D916F3A28900D1A9E0 /* RegalCacheShader.h */; }; BC3209DE16F3A28900D1A9E0 /* RegalCacheTexture.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3209DA16F3A28900D1A9E0 /* RegalCacheTexture.cpp */; }; BC3209DF16F3A28900D1A9E0 /* RegalCacheTexture.h in Headers */ = {isa = PBXBuildFile; fileRef = BC3209DB16F3A28900D1A9E0 /* RegalCacheTexture.h */; }; BC456F1215D55F8E0080B420 /* RegalDispatchMissing.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */; }; BC456F1315D55F8E0080B420 /* RegalDispatchPpapi.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */; }; + BC4DBEC31804FB0600F6D226 /* RegalQuads.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC4DBEC11804FB0600F6D226 /* RegalQuads.cpp */; }; + BC4DBEC41804FB0600F6D226 /* RegalQuads.h in Headers */ = {isa = PBXBuildFile; fileRef = BC4DBEC21804FB0600F6D226 /* RegalQuads.h */; }; BC60A6B217032F1A0055437B /* RegalJson.h in Headers */ = {isa = PBXBuildFile; fileRef = BC60A6B117032F1A0055437B /* RegalJson.h */; }; - BC62F93E17F47D16007C5086 /* os_backtrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC62F93C17F47D16007C5086 /* os_backtrace.cpp */; }; - BC62F93F17F47D16007C5086 /* os_backtrace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BC62F93D17F47D16007C5086 /* os_backtrace.hpp */; }; BC640C9C16554A52007DEF69 /* RegalFrame.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC640C9A16554A52007DEF69 /* RegalFrame.cpp */; }; BC640C9D16554A52007DEF69 /* RegalFrame.h in Headers */ = {isa = PBXBuildFile; fileRef = BC640C9B16554A52007DEF69 /* RegalFrame.h */; }; BC6C911D15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */; }; @@ -121,63 +117,6 @@ BCBF183C175EB49D00CB653A /* RegalMutex.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1834175EB49D00CB653A /* RegalMutex.h */; }; BCBF183D175EB49D00CB653A /* RegalPlugin.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCBF1835175EB49D00CB653A /* RegalPlugin.cpp */; }; BCBF183E175EB49D00CB653A /* RegalRect.h in Headers */ = {isa = PBXBuildFile; fileRef = BCBF1836175EB49D00CB653A /* RegalRect.h */; }; - BCDF6647178F0FC700EE9569 /* formatter.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF661B178F0FC700EE9569 /* formatter.hpp */; }; - BCDF6648178F0FC700EE9569 /* os_binary.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF661C178F0FC700EE9569 /* os_binary.hpp */; }; - BCDF6649178F0FC700EE9569 /* os_dl.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF661D178F0FC700EE9569 /* os_dl.hpp */; }; - BCDF664A178F0FC700EE9569 /* os_memory.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF661E178F0FC700EE9569 /* os_memory.hpp */; }; - BCDF664B178F0FC700EE9569 /* os_posix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF661F178F0FC700EE9569 /* os_posix.cpp */; }; - BCDF664C178F0FC700EE9569 /* os_process.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6620178F0FC700EE9569 /* os_process.hpp */; }; - BCDF664D178F0FC700EE9569 /* os_string.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6621178F0FC700EE9569 /* os_string.hpp */; }; - BCDF664E178F0FC700EE9569 /* os_thread.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6622178F0FC700EE9569 /* os_thread.hpp */; }; - BCDF664F178F0FC700EE9569 /* os_time.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6623178F0FC700EE9569 /* os_time.hpp */; }; - BCDF6650178F0FC700EE9569 /* os_win32.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6624178F0FC700EE9569 /* os_win32.cpp */; }; - BCDF6651178F0FC700EE9569 /* os.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6625178F0FC700EE9569 /* os.hpp */; }; - BCDF6652178F0FC700EE9569 /* trace_api.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6626178F0FC700EE9569 /* trace_api.hpp */; }; - BCDF6655178F0FC700EE9569 /* trace_callset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6629178F0FC700EE9569 /* trace_callset.cpp */; }; - BCDF6656178F0FC700EE9569 /* trace_callset.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF662A178F0FC700EE9569 /* trace_callset.hpp */; }; - BCDF6657178F0FC700EE9569 /* trace_dump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF662B178F0FC700EE9569 /* trace_dump.cpp */; }; - BCDF6658178F0FC700EE9569 /* trace_dump.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF662C178F0FC700EE9569 /* trace_dump.hpp */; }; - BCDF6659178F0FC700EE9569 /* trace_fast_callset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF662D178F0FC700EE9569 /* trace_fast_callset.cpp */; }; - BCDF665A178F0FC700EE9569 /* trace_fast_callset.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF662E178F0FC700EE9569 /* trace_fast_callset.hpp */; }; - BCDF665B178F0FC700EE9569 /* trace_file_read.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF662F178F0FC700EE9569 /* trace_file_read.cpp */; }; - BCDF665C178F0FC700EE9569 /* trace_file_snappy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6630178F0FC700EE9569 /* trace_file_snappy.cpp */; }; - BCDF665D178F0FC700EE9569 /* trace_file_write.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6631178F0FC700EE9569 /* trace_file_write.cpp */; }; - BCDF665F178F0FC700EE9569 /* trace_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6633178F0FC700EE9569 /* trace_file.cpp */; }; - BCDF6660178F0FC700EE9569 /* trace_file.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6634178F0FC700EE9569 /* trace_file.hpp */; }; - BCDF6661178F0FC700EE9569 /* trace_format.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6635178F0FC700EE9569 /* trace_format.hpp */; }; - BCDF6662178F0FC700EE9569 /* trace_loader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6636178F0FC700EE9569 /* trace_loader.cpp */; }; - BCDF6663178F0FC700EE9569 /* trace_loader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6637178F0FC700EE9569 /* trace_loader.hpp */; }; - BCDF6664178F0FC700EE9569 /* trace_lookup.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6638178F0FC700EE9569 /* trace_lookup.hpp */; }; - BCDF6665178F0FC700EE9569 /* trace_model.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6639178F0FC700EE9569 /* trace_model.cpp */; }; - BCDF6666178F0FC700EE9569 /* trace_model.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF663A178F0FC700EE9569 /* trace_model.hpp */; }; - BCDF6667178F0FC700EE9569 /* trace_option.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF663B178F0FC700EE9569 /* trace_option.cpp */; }; - BCDF6668178F0FC700EE9569 /* trace_option.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF663C178F0FC700EE9569 /* trace_option.hpp */; }; - BCDF6669178F0FC700EE9569 /* trace_parser_flags.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF663D178F0FC700EE9569 /* trace_parser_flags.cpp */; }; - BCDF666A178F0FC700EE9569 /* trace_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF663E178F0FC700EE9569 /* trace_parser.cpp */; }; - BCDF666B178F0FC700EE9569 /* trace_parser.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF663F178F0FC700EE9569 /* trace_parser.hpp */; }; - BCDF666C178F0FC700EE9569 /* trace_profiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6640178F0FC700EE9569 /* trace_profiler.cpp */; }; - BCDF666D178F0FC700EE9569 /* trace_profiler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6641178F0FC700EE9569 /* trace_profiler.hpp */; }; - BCDF666E178F0FC700EE9569 /* trace_writer_model.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6642178F0FC700EE9569 /* trace_writer_model.cpp */; }; - BCDF666F178F0FC700EE9569 /* trace_writer_regal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6643178F0FC700EE9569 /* trace_writer_regal.cpp */; }; - BCDF6670178F0FC700EE9569 /* trace_writer_regal.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6644178F0FC700EE9569 /* trace_writer_regal.hpp */; }; - BCDF6671178F0FC700EE9569 /* trace_writer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6645178F0FC700EE9569 /* trace_writer.cpp */; }; - BCDF6672178F0FC700EE9569 /* trace_writer.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6646178F0FC700EE9569 /* trace_writer.hpp */; }; - BCDF6675178F0FF200EE9569 /* glproc_regal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6673178F0FF200EE9569 /* glproc_regal.cpp */; }; - BCDF6676178F0FF200EE9569 /* glproc.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6674178F0FF200EE9569 /* glproc.hpp */; }; - BCDF667C178F103E00EE9569 /* glcaps.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6677178F103E00EE9569 /* glcaps.cpp */; }; - BCDF667D178F103E00EE9569 /* gltrace_state.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6678178F103E00EE9569 /* gltrace_state.cpp */; }; - BCDF667E178F103E00EE9569 /* regaltrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6679178F103E00EE9569 /* regaltrace.cpp */; }; - BCDF667F178F103E00EE9569 /* trace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF667A178F103E00EE9569 /* trace.cpp */; }; - BCDF6680178F103E00EE9569 /* trace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF667B178F103E00EE9569 /* trace.hpp */; }; - BCDF6684178F105C00EE9569 /* eglsize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6681178F105C00EE9569 /* eglsize.cpp */; }; - BCDF6685178F105C00EE9569 /* eglsize.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6682178F105C00EE9569 /* eglsize.hpp */; }; - BCDF6686178F105C00EE9569 /* glsize.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6683178F105C00EE9569 /* glsize.hpp */; }; - BCDF668E178F14A400EE9569 /* snappy-c.cc in Sources */ = {isa = PBXBuildFile; fileRef = BCDF6688178F14A400EE9569 /* snappy-c.cc */; }; - BCDF668F178F14A400EE9569 /* snappy-c.h in Headers */ = {isa = PBXBuildFile; fileRef = BCDF6689178F14A400EE9569 /* snappy-c.h */; }; - BCDF6690178F14A400EE9569 /* snappy-sinksource.cc in Sources */ = {isa = PBXBuildFile; fileRef = BCDF668A178F14A400EE9569 /* snappy-sinksource.cc */; }; - BCDF6691178F14A400EE9569 /* snappy-sinksource.h in Headers */ = {isa = PBXBuildFile; fileRef = BCDF668B178F14A400EE9569 /* snappy-sinksource.h */; }; - BCDF6692178F14A400EE9569 /* snappy.cc in Sources */ = {isa = PBXBuildFile; fileRef = BCDF668C178F14A400EE9569 /* snappy.cc */; }; - BCDF6693178F14A400EE9569 /* snappy.h in Headers */ = {isa = PBXBuildFile; fileRef = BCDF668D178F14A400EE9569 /* snappy.h */; }; BCF889A715E079C20093B7D5 /* RegalDispatcher.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */; }; BCF889A815E079C20093B7D5 /* RegalDispatcher.h in Headers */ = {isa = PBXBuildFile; fileRef = BCF889A615E079C20093B7D5 /* RegalDispatcher.h */; }; BCF889AA15E079D80093B7D5 /* RegalDispatchStaticES2.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */; }; @@ -193,8 +132,6 @@ 431D3C0B15C9B6F0009DD04F /* RegalFavicon.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalFavicon.h; path = ../../../src/regal/RegalFavicon.h; sourceTree = ""; }; 431D3C0C15C9B6F0009DD04F /* RegalMac.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalMac.cpp; path = ../../../src/regal/RegalMac.cpp; sourceTree = ""; }; 436E18CA17020027005BE93E /* RegalJson.inl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = RegalJson.inl; path = ../../../src/regal/RegalJson.inl; sourceTree = ""; }; - 436E18CC17020093005BE93E /* jsonsl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = jsonsl.c; path = ../../../src/jsonsl/jsonsl.c; sourceTree = ""; }; - 436E18CD17020093005BE93E /* jsonsl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = jsonsl.h; path = ../../../src/jsonsl/jsonsl.h; sourceTree = ""; }; 438D2C1F16DE668A005E03F6 /* RegalJson.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalJson.cpp; path = ../../../src/regal/RegalJson.cpp; sourceTree = ""; }; 438D2C2116DE668A005E03F6 /* RegalPixelConversions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalPixelConversions.cpp; path = ../../../src/regal/RegalPixelConversions.cpp; sourceTree = ""; }; 438D2C2216DE668A005E03F6 /* RegalPixelConversions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalPixelConversions.h; path = ../../../src/regal/RegalPixelConversions.h; sourceTree = ""; }; @@ -250,18 +187,16 @@ 43A6C1FC15C48D200063667E /* RegalUtil.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalUtil.cpp; path = ../../../src/regal/RegalUtil.cpp; sourceTree = ""; }; 43A6C1FD15C48D200063667E /* RegalUtil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalUtil.h; path = ../../../src/regal/RegalUtil.h; sourceTree = ""; }; 43A6C1FE15C48D200063667E /* RegalVao.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalVao.h; path = ../../../src/regal/RegalVao.h; sourceTree = ""; }; - 43A6C22D15C48D3A0063667E /* mongoose.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mongoose.c; path = ../../../src/mongoose/mongoose.c; sourceTree = ""; }; BC02094D160D1BA3003FAB99 /* RegalMarker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalMarker.cpp; path = ../../../src/regal/RegalMarker.cpp; sourceTree = ""; }; - BC02094F160D1BD0003FAB99 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = md5.c; path = ../../../src/md5/src/md5.c; sourceTree = ""; }; BC3209D816F3A28900D1A9E0 /* RegalCacheShader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalCacheShader.cpp; path = ../../../src/regal/RegalCacheShader.cpp; sourceTree = ""; }; BC3209D916F3A28900D1A9E0 /* RegalCacheShader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheShader.h; path = ../../../src/regal/RegalCacheShader.h; sourceTree = ""; }; BC3209DA16F3A28900D1A9E0 /* RegalCacheTexture.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalCacheTexture.cpp; path = ../../../src/regal/RegalCacheTexture.cpp; sourceTree = ""; }; BC3209DB16F3A28900D1A9E0 /* RegalCacheTexture.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalCacheTexture.h; path = ../../../src/regal/RegalCacheTexture.h; sourceTree = ""; }; BC456F1015D55F8E0080B420 /* RegalDispatchMissing.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchMissing.cpp; path = ../../../src/regal/RegalDispatchMissing.cpp; sourceTree = ""; }; BC456F1115D55F8E0080B420 /* RegalDispatchPpapi.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchPpapi.cpp; path = ../../../src/regal/RegalDispatchPpapi.cpp; sourceTree = ""; }; + BC4DBEC11804FB0600F6D226 /* RegalQuads.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalQuads.cpp; path = ../../../src/regal/RegalQuads.cpp; sourceTree = ""; }; + BC4DBEC21804FB0600F6D226 /* RegalQuads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalQuads.h; path = ../../../src/regal/RegalQuads.h; sourceTree = ""; }; BC60A6B117032F1A0055437B /* RegalJson.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalJson.h; path = ../../../src/regal/RegalJson.h; sourceTree = ""; }; - BC62F93C17F47D16007C5086 /* os_backtrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_backtrace.cpp; path = ../../../src/apitrace/common/os_backtrace.cpp; sourceTree = ""; }; - BC62F93D17F47D16007C5086 /* os_backtrace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_backtrace.hpp; path = ../../../src/apitrace/common/os_backtrace.hpp; sourceTree = ""; }; BC640C9A16554A52007DEF69 /* RegalFrame.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalFrame.cpp; path = ../../../src/regal/RegalFrame.cpp; sourceTree = ""; }; BC640C9B16554A52007DEF69 /* RegalFrame.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalFrame.h; path = ../../../src/regal/RegalFrame.h; sourceTree = ""; }; BC6C911C15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchGlobal.cpp; path = ../../../src/regal/RegalDispatchGlobal.cpp; sourceTree = ""; }; @@ -301,63 +236,6 @@ BCBF1834175EB49D00CB653A /* RegalMutex.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalMutex.h; path = ../../../src/regal/RegalMutex.h; sourceTree = ""; }; BCBF1835175EB49D00CB653A /* RegalPlugin.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalPlugin.cpp; path = ../../../src/regal/RegalPlugin.cpp; sourceTree = ""; }; BCBF1836175EB49D00CB653A /* RegalRect.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalRect.h; path = ../../../src/regal/RegalRect.h; sourceTree = ""; }; - BCDF661B178F0FC700EE9569 /* formatter.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = formatter.hpp; path = ../../../src/apitrace/common/formatter.hpp; sourceTree = ""; }; - BCDF661C178F0FC700EE9569 /* os_binary.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_binary.hpp; path = ../../../src/apitrace/common/os_binary.hpp; sourceTree = ""; }; - BCDF661D178F0FC700EE9569 /* os_dl.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_dl.hpp; path = ../../../src/apitrace/common/os_dl.hpp; sourceTree = ""; }; - BCDF661E178F0FC700EE9569 /* os_memory.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_memory.hpp; path = ../../../src/apitrace/common/os_memory.hpp; sourceTree = ""; }; - BCDF661F178F0FC700EE9569 /* os_posix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_posix.cpp; path = ../../../src/apitrace/common/os_posix.cpp; sourceTree = ""; }; - BCDF6620178F0FC700EE9569 /* os_process.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_process.hpp; path = ../../../src/apitrace/common/os_process.hpp; sourceTree = ""; }; - BCDF6621178F0FC700EE9569 /* os_string.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_string.hpp; path = ../../../src/apitrace/common/os_string.hpp; sourceTree = ""; }; - BCDF6622178F0FC700EE9569 /* os_thread.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_thread.hpp; path = ../../../src/apitrace/common/os_thread.hpp; sourceTree = ""; }; - BCDF6623178F0FC700EE9569 /* os_time.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_time.hpp; path = ../../../src/apitrace/common/os_time.hpp; sourceTree = ""; }; - BCDF6624178F0FC700EE9569 /* os_win32.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_win32.cpp; path = ../../../src/apitrace/common/os_win32.cpp; sourceTree = ""; }; - BCDF6625178F0FC700EE9569 /* os.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os.hpp; path = ../../../src/apitrace/common/os.hpp; sourceTree = ""; }; - BCDF6626178F0FC700EE9569 /* trace_api.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_api.hpp; path = ../../../src/apitrace/common/trace_api.hpp; sourceTree = ""; }; - BCDF6629178F0FC700EE9569 /* trace_callset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_callset.cpp; path = ../../../src/apitrace/common/trace_callset.cpp; sourceTree = ""; }; - BCDF662A178F0FC700EE9569 /* trace_callset.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_callset.hpp; path = ../../../src/apitrace/common/trace_callset.hpp; sourceTree = ""; }; - BCDF662B178F0FC700EE9569 /* trace_dump.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_dump.cpp; path = ../../../src/apitrace/common/trace_dump.cpp; sourceTree = ""; }; - BCDF662C178F0FC700EE9569 /* trace_dump.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_dump.hpp; path = ../../../src/apitrace/common/trace_dump.hpp; sourceTree = ""; }; - BCDF662D178F0FC700EE9569 /* trace_fast_callset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_fast_callset.cpp; path = ../../../src/apitrace/common/trace_fast_callset.cpp; sourceTree = ""; }; - BCDF662E178F0FC700EE9569 /* trace_fast_callset.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_fast_callset.hpp; path = ../../../src/apitrace/common/trace_fast_callset.hpp; sourceTree = ""; }; - BCDF662F178F0FC700EE9569 /* trace_file_read.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_read.cpp; path = ../../../src/apitrace/common/trace_file_read.cpp; sourceTree = ""; }; - BCDF6630178F0FC700EE9569 /* trace_file_snappy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_snappy.cpp; path = ../../../src/apitrace/common/trace_file_snappy.cpp; sourceTree = ""; }; - BCDF6631178F0FC700EE9569 /* trace_file_write.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_write.cpp; path = ../../../src/apitrace/common/trace_file_write.cpp; sourceTree = ""; }; - BCDF6633178F0FC700EE9569 /* trace_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file.cpp; path = ../../../src/apitrace/common/trace_file.cpp; sourceTree = ""; }; - BCDF6634178F0FC700EE9569 /* trace_file.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_file.hpp; path = ../../../src/apitrace/common/trace_file.hpp; sourceTree = ""; }; - BCDF6635178F0FC700EE9569 /* trace_format.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_format.hpp; path = ../../../src/apitrace/common/trace_format.hpp; sourceTree = ""; }; - BCDF6636178F0FC700EE9569 /* trace_loader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_loader.cpp; path = ../../../src/apitrace/common/trace_loader.cpp; sourceTree = ""; }; - BCDF6637178F0FC700EE9569 /* trace_loader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_loader.hpp; path = ../../../src/apitrace/common/trace_loader.hpp; sourceTree = ""; }; - BCDF6638178F0FC700EE9569 /* trace_lookup.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_lookup.hpp; path = ../../../src/apitrace/common/trace_lookup.hpp; sourceTree = ""; }; - BCDF6639178F0FC700EE9569 /* trace_model.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_model.cpp; path = ../../../src/apitrace/common/trace_model.cpp; sourceTree = ""; }; - BCDF663A178F0FC700EE9569 /* trace_model.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_model.hpp; path = ../../../src/apitrace/common/trace_model.hpp; sourceTree = ""; }; - BCDF663B178F0FC700EE9569 /* trace_option.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_option.cpp; path = ../../../src/apitrace/common/trace_option.cpp; sourceTree = ""; }; - BCDF663C178F0FC700EE9569 /* trace_option.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_option.hpp; path = ../../../src/apitrace/common/trace_option.hpp; sourceTree = ""; }; - BCDF663D178F0FC700EE9569 /* trace_parser_flags.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_parser_flags.cpp; path = ../../../src/apitrace/common/trace_parser_flags.cpp; sourceTree = ""; }; - BCDF663E178F0FC700EE9569 /* trace_parser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_parser.cpp; path = ../../../src/apitrace/common/trace_parser.cpp; sourceTree = ""; }; - BCDF663F178F0FC700EE9569 /* trace_parser.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_parser.hpp; path = ../../../src/apitrace/common/trace_parser.hpp; sourceTree = ""; }; - BCDF6640178F0FC700EE9569 /* trace_profiler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_profiler.cpp; path = ../../../src/apitrace/common/trace_profiler.cpp; sourceTree = ""; }; - BCDF6641178F0FC700EE9569 /* trace_profiler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_profiler.hpp; path = ../../../src/apitrace/common/trace_profiler.hpp; sourceTree = ""; }; - BCDF6642178F0FC700EE9569 /* trace_writer_model.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer_model.cpp; path = ../../../src/apitrace/common/trace_writer_model.cpp; sourceTree = ""; }; - BCDF6643178F0FC700EE9569 /* trace_writer_regal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer_regal.cpp; path = ../../../src/apitrace/common/trace_writer_regal.cpp; sourceTree = ""; }; - BCDF6644178F0FC700EE9569 /* trace_writer_regal.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_writer_regal.hpp; path = ../../../src/apitrace/common/trace_writer_regal.hpp; sourceTree = ""; }; - BCDF6645178F0FC700EE9569 /* trace_writer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer.cpp; path = ../../../src/apitrace/common/trace_writer.cpp; sourceTree = ""; }; - BCDF6646178F0FC700EE9569 /* trace_writer.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_writer.hpp; path = ../../../src/apitrace/common/trace_writer.hpp; sourceTree = ""; }; - BCDF6673178F0FF200EE9569 /* glproc_regal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glproc_regal.cpp; path = ../../../src/apitrace/dispatch/glproc_regal.cpp; sourceTree = ""; }; - BCDF6674178F0FF200EE9569 /* glproc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = glproc.hpp; path = ../../../src/apitrace/dispatch/glproc.hpp; sourceTree = ""; }; - BCDF6677178F103E00EE9569 /* glcaps.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glcaps.cpp; path = ../../../src/apitrace/wrappers/glcaps.cpp; sourceTree = ""; }; - BCDF6678178F103E00EE9569 /* gltrace_state.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = gltrace_state.cpp; path = ../../../src/apitrace/wrappers/gltrace_state.cpp; sourceTree = ""; }; - BCDF6679178F103E00EE9569 /* regaltrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = regaltrace.cpp; path = ../../../src/apitrace/wrappers/regaltrace.cpp; sourceTree = ""; }; - BCDF667A178F103E00EE9569 /* trace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace.cpp; path = ../../../src/apitrace/wrappers/trace.cpp; sourceTree = ""; }; - BCDF667B178F103E00EE9569 /* trace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace.hpp; path = ../../../src/apitrace/wrappers/trace.hpp; sourceTree = ""; }; - BCDF6681178F105C00EE9569 /* eglsize.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = eglsize.cpp; path = ../../../src/apitrace/helpers/eglsize.cpp; sourceTree = ""; }; - BCDF6682178F105C00EE9569 /* eglsize.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = eglsize.hpp; path = ../../../src/apitrace/helpers/eglsize.hpp; sourceTree = ""; }; - BCDF6683178F105C00EE9569 /* glsize.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = glsize.hpp; path = ../../../src/apitrace/helpers/glsize.hpp; sourceTree = ""; }; - BCDF6688178F14A400EE9569 /* snappy-c.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "snappy-c.cc"; path = "../../../src/snappy/snappy-c.cc"; sourceTree = ""; }; - BCDF6689178F14A400EE9569 /* snappy-c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snappy-c.h"; path = "../../../src/snappy/snappy-c.h"; sourceTree = ""; }; - BCDF668A178F14A400EE9569 /* snappy-sinksource.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "snappy-sinksource.cc"; path = "../../../src/snappy/snappy-sinksource.cc"; sourceTree = ""; }; - BCDF668B178F14A400EE9569 /* snappy-sinksource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snappy-sinksource.h"; path = "../../../src/snappy/snappy-sinksource.h"; sourceTree = ""; }; - BCDF668C178F14A400EE9569 /* snappy.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = snappy.cc; path = ../../../src/snappy/snappy.cc; sourceTree = ""; }; - BCDF668D178F14A400EE9569 /* snappy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = snappy.h; path = ../../../src/snappy/snappy.h; sourceTree = ""; }; BCF889A515E079C20093B7D5 /* RegalDispatcher.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatcher.cpp; path = ../../../src/regal/RegalDispatcher.cpp; sourceTree = ""; }; BCF889A615E079C20093B7D5 /* RegalDispatcher.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = RegalDispatcher.h; path = ../../../src/regal/RegalDispatcher.h; sourceTree = ""; }; BCF889A915E079D80093B7D5 /* RegalDispatchStaticES2.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = RegalDispatchStaticES2.cpp; path = ../../../src/regal/RegalDispatchStaticES2.cpp; sourceTree = ""; }; @@ -374,15 +252,6 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 436E18CB17020061005BE93E /* jsonsl */ = { - isa = PBXGroup; - children = ( - 436E18CC17020093005BE93E /* jsonsl.c */, - 436E18CD17020093005BE93E /* jsonsl.h */, - ); - name = jsonsl; - sourceTree = ""; - }; 43A6C1BB15C48CD90063667E = { isa = PBXGroup; children = ( @@ -402,11 +271,7 @@ 43A6C1D015C48CFA0063667E /* Regal */ = { isa = PBXGroup; children = ( - BCDF661A178F0F7500EE9569 /* apitrace */, - 436E18CB17020061005BE93E /* jsonsl */, 43A6C1D215C48D1F0063667E /* linear.h */, - BC020951160D1BD8003FAB99 /* md5 */, - 43A6C22C15C48D2D0063667E /* mongoose */, 43A6C1D315C48D1F0063667E /* Regal.cpp */, 438D2C3616DE6699005E03F6 /* Regal.h */, BCBF182F175EB49D00CB653A /* RegalBaseVertex.h */, @@ -495,6 +360,8 @@ 43A6C1F715C48D200063667E /* RegalPrecompile.h */, 43A6C1F815C48D200063667E /* RegalPrivate.h */, BCBEC6FF167AD72700B38E16 /* RegalPush.h */, + BC4DBEC11804FB0600F6D226 /* RegalQuads.cpp */, + BC4DBEC21804FB0600F6D226 /* RegalQuads.h */, BCBF1836175EB49D00CB653A /* RegalRect.h */, 430443F316F1658F0078C0F9 /* RegalScopedPtr.h */, BCBEC702167AD72700B38E16 /* RegalSharedList.h */, @@ -519,100 +386,10 @@ BC8E9CB817C5AF870005C418 /* RegalX11.cpp */, 430443EE16F1656A0078C0F9 /* RegalXfer.cpp */, 430443EF16F1656A0078C0F9 /* RegalXfer.h */, - BCDF6687178F146B00EE9569 /* snappy */, ); name = Regal; sourceTree = ""; }; - 43A6C22C15C48D2D0063667E /* mongoose */ = { - isa = PBXGroup; - children = ( - 43A6C22D15C48D3A0063667E /* mongoose.c */, - ); - name = mongoose; - sourceTree = ""; - }; - BC020951160D1BD8003FAB99 /* md5 */ = { - isa = PBXGroup; - children = ( - BC02094F160D1BD0003FAB99 /* md5.c */, - ); - name = md5; - sourceTree = ""; - }; - BCDF661A178F0F7500EE9569 /* apitrace */ = { - isa = PBXGroup; - children = ( - BCDF6681178F105C00EE9569 /* eglsize.cpp */, - BCDF6682178F105C00EE9569 /* eglsize.hpp */, - BCDF661B178F0FC700EE9569 /* formatter.hpp */, - BCDF6677178F103E00EE9569 /* glcaps.cpp */, - BCDF6674178F0FF200EE9569 /* glproc.hpp */, - BCDF6673178F0FF200EE9569 /* glproc_regal.cpp */, - BCDF6683178F105C00EE9569 /* glsize.hpp */, - BCDF6678178F103E00EE9569 /* gltrace_state.cpp */, - BCDF6625178F0FC700EE9569 /* os.hpp */, - BC62F93C17F47D16007C5086 /* os_backtrace.cpp */, - BC62F93D17F47D16007C5086 /* os_backtrace.hpp */, - BCDF661C178F0FC700EE9569 /* os_binary.hpp */, - BCDF661D178F0FC700EE9569 /* os_dl.hpp */, - BCDF661E178F0FC700EE9569 /* os_memory.hpp */, - BCDF661F178F0FC700EE9569 /* os_posix.cpp */, - BCDF6620178F0FC700EE9569 /* os_process.hpp */, - BCDF6621178F0FC700EE9569 /* os_string.hpp */, - BCDF6622178F0FC700EE9569 /* os_thread.hpp */, - BCDF6623178F0FC700EE9569 /* os_time.hpp */, - BCDF6624178F0FC700EE9569 /* os_win32.cpp */, - BCDF6679178F103E00EE9569 /* regaltrace.cpp */, - BCDF667A178F103E00EE9569 /* trace.cpp */, - BCDF667B178F103E00EE9569 /* trace.hpp */, - BCDF6626178F0FC700EE9569 /* trace_api.hpp */, - BCDF6629178F0FC700EE9569 /* trace_callset.cpp */, - BCDF662A178F0FC700EE9569 /* trace_callset.hpp */, - BCDF662B178F0FC700EE9569 /* trace_dump.cpp */, - BCDF662C178F0FC700EE9569 /* trace_dump.hpp */, - BCDF662D178F0FC700EE9569 /* trace_fast_callset.cpp */, - BCDF662E178F0FC700EE9569 /* trace_fast_callset.hpp */, - BCDF6633178F0FC700EE9569 /* trace_file.cpp */, - BCDF6634178F0FC700EE9569 /* trace_file.hpp */, - BCDF662F178F0FC700EE9569 /* trace_file_read.cpp */, - BCDF6630178F0FC700EE9569 /* trace_file_snappy.cpp */, - BCDF6631178F0FC700EE9569 /* trace_file_write.cpp */, - BCDF6635178F0FC700EE9569 /* trace_format.hpp */, - BCDF6636178F0FC700EE9569 /* trace_loader.cpp */, - BCDF6637178F0FC700EE9569 /* trace_loader.hpp */, - BCDF6638178F0FC700EE9569 /* trace_lookup.hpp */, - BCDF6639178F0FC700EE9569 /* trace_model.cpp */, - BCDF663A178F0FC700EE9569 /* trace_model.hpp */, - BCDF663B178F0FC700EE9569 /* trace_option.cpp */, - BCDF663C178F0FC700EE9569 /* trace_option.hpp */, - BCDF663E178F0FC700EE9569 /* trace_parser.cpp */, - BCDF663F178F0FC700EE9569 /* trace_parser.hpp */, - BCDF663D178F0FC700EE9569 /* trace_parser_flags.cpp */, - BCDF6640178F0FC700EE9569 /* trace_profiler.cpp */, - BCDF6641178F0FC700EE9569 /* trace_profiler.hpp */, - BCDF6645178F0FC700EE9569 /* trace_writer.cpp */, - BCDF6646178F0FC700EE9569 /* trace_writer.hpp */, - BCDF6642178F0FC700EE9569 /* trace_writer_model.cpp */, - BCDF6643178F0FC700EE9569 /* trace_writer_regal.cpp */, - BCDF6644178F0FC700EE9569 /* trace_writer_regal.hpp */, - ); - name = apitrace; - sourceTree = ""; - }; - BCDF6687178F146B00EE9569 /* snappy */ = { - isa = PBXGroup; - children = ( - BCDF6688178F14A400EE9569 /* snappy-c.cc */, - BCDF6689178F14A400EE9569 /* snappy-c.h */, - BCDF668A178F14A400EE9569 /* snappy-sinksource.cc */, - BCDF668B178F14A400EE9569 /* snappy-sinksource.h */, - BCDF668C178F14A400EE9569 /* snappy.cc */, - BCDF668D178F14A400EE9569 /* snappy.h */, - ); - name = snappy; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ @@ -668,7 +445,6 @@ 430443F516F1658F0078C0F9 /* RegalScopedPtr.h in Headers */, BC3209DD16F3A28900D1A9E0 /* RegalCacheShader.h in Headers */, BC3209DF16F3A28900D1A9E0 /* RegalCacheTexture.h in Headers */, - 436E18CF17020093005BE93E /* jsonsl.h in Headers */, BC60A6B217032F1A0055437B /* RegalJson.h in Headers */, BCBF1828175EB40600CB653A /* RegalDispatcherGL.h in Headers */, BCBF182A175EB40600CB653A /* RegalDispatcherGlobal.h in Headers */, @@ -678,41 +454,11 @@ BCBF183B175EB49D00CB653A /* RegalFloat4.h in Headers */, BCBF183C175EB49D00CB653A /* RegalMutex.h in Headers */, BCBF183E175EB49D00CB653A /* RegalRect.h in Headers */, - BCDF6647178F0FC700EE9569 /* formatter.hpp in Headers */, - BCDF6648178F0FC700EE9569 /* os_binary.hpp in Headers */, - BCDF6649178F0FC700EE9569 /* os_dl.hpp in Headers */, - BCDF664A178F0FC700EE9569 /* os_memory.hpp in Headers */, - BCDF664C178F0FC700EE9569 /* os_process.hpp in Headers */, - BCDF664D178F0FC700EE9569 /* os_string.hpp in Headers */, - BCDF664E178F0FC700EE9569 /* os_thread.hpp in Headers */, - BCDF664F178F0FC700EE9569 /* os_time.hpp in Headers */, - BCDF6651178F0FC700EE9569 /* os.hpp in Headers */, - BCDF6652178F0FC700EE9569 /* trace_api.hpp in Headers */, - BCDF6656178F0FC700EE9569 /* trace_callset.hpp in Headers */, - BCDF6658178F0FC700EE9569 /* trace_dump.hpp in Headers */, - BCDF665A178F0FC700EE9569 /* trace_fast_callset.hpp in Headers */, - BCDF6660178F0FC700EE9569 /* trace_file.hpp in Headers */, - BCDF6661178F0FC700EE9569 /* trace_format.hpp in Headers */, - BCDF6663178F0FC700EE9569 /* trace_loader.hpp in Headers */, - BCDF6664178F0FC700EE9569 /* trace_lookup.hpp in Headers */, - BCDF6666178F0FC700EE9569 /* trace_model.hpp in Headers */, - BCDF6668178F0FC700EE9569 /* trace_option.hpp in Headers */, - BCDF666B178F0FC700EE9569 /* trace_parser.hpp in Headers */, - BCDF666D178F0FC700EE9569 /* trace_profiler.hpp in Headers */, - BCDF6670178F0FC700EE9569 /* trace_writer_regal.hpp in Headers */, - BCDF6672178F0FC700EE9569 /* trace_writer.hpp in Headers */, - BCDF6676178F0FF200EE9569 /* glproc.hpp in Headers */, - BCDF6680178F103E00EE9569 /* trace.hpp in Headers */, - BCDF6685178F105C00EE9569 /* eglsize.hpp in Headers */, - BCDF6686178F105C00EE9569 /* glsize.hpp in Headers */, - BCDF668F178F14A400EE9569 /* snappy-c.h in Headers */, - BCDF6691178F14A400EE9569 /* snappy-sinksource.h in Headers */, - BCDF6693178F14A400EE9569 /* snappy.h in Headers */, BC8E9CC017C5AF880005C418 /* RegalHint.h in Headers */, BC8E9CC117C5AF880005C418 /* RegalNamespace.h in Headers */, BC8E9CC217C5AF880005C418 /* RegalTexSto.h in Headers */, BCBA1FCB17DF836700CB6E19 /* RegalEmuInfo.h in Headers */, - BC62F93F17F47D16007C5086 /* os_backtrace.hpp in Headers */, + BC4DBEC41804FB0600F6D226 /* RegalQuads.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -785,7 +531,6 @@ 43A6C21E15C48D200063667E /* RegalLookup.cpp in Sources */, 43A6C22715C48D200063667E /* RegalToken.cpp in Sources */, 43A6C22915C48D200063667E /* RegalUtil.cpp in Sources */, - 43A6C22E15C48D3A0063667E /* mongoose.c in Sources */, 431D3C0E15C9B6F0009DD04F /* RegalFavicon.cpp in Sources */, 431D3C1015C9B6F0009DD04F /* RegalMac.cpp in Sources */, BC456F1215D55F8E0080B420 /* RegalDispatchMissing.cpp in Sources */, @@ -794,7 +539,6 @@ BCF889AA15E079D80093B7D5 /* RegalDispatchStaticES2.cpp in Sources */, BC6C911D15EE3CDF0056E4F7 /* RegalDispatchGlobal.cpp in Sources */, BC02094E160D1BA3003FAB99 /* RegalMarker.cpp in Sources */, - BC020950160D1BD0003FAB99 /* md5.c in Sources */, BC640C9C16554A52007DEF69 /* RegalFrame.cpp in Sources */, BCBEC70D167AD72700B38E16 /* RegalSo.cpp in Sources */, BCBEC712167AD74400B38E16 /* RegalDispatchCache.cpp in Sources */, @@ -807,47 +551,19 @@ 430443F016F1656A0078C0F9 /* RegalXfer.cpp in Sources */, BC3209DC16F3A28900D1A9E0 /* RegalCacheShader.cpp in Sources */, BC3209DE16F3A28900D1A9E0 /* RegalCacheTexture.cpp in Sources */, - 436E18CE17020093005BE93E /* jsonsl.c in Sources */, BCBF1827175EB40600CB653A /* RegalDispatcherGL.cpp in Sources */, BCBF1829175EB40600CB653A /* RegalDispatcherGlobal.cpp in Sources */, BCBF182D175EB46800CB653A /* RegalStatistics.cpp in Sources */, BCBF1839175EB49D00CB653A /* RegalDispatchStatistics.cpp in Sources */, BCBF183A175EB49D00CB653A /* RegalDispatchTrace.cpp in Sources */, BCBF183D175EB49D00CB653A /* RegalPlugin.cpp in Sources */, - BCDF664B178F0FC700EE9569 /* os_posix.cpp in Sources */, - BCDF6650178F0FC700EE9569 /* os_win32.cpp in Sources */, - BCDF6655178F0FC700EE9569 /* trace_callset.cpp in Sources */, - BCDF6657178F0FC700EE9569 /* trace_dump.cpp in Sources */, - BCDF6659178F0FC700EE9569 /* trace_fast_callset.cpp in Sources */, - BCDF665B178F0FC700EE9569 /* trace_file_read.cpp in Sources */, - BCDF665C178F0FC700EE9569 /* trace_file_snappy.cpp in Sources */, - BCDF665D178F0FC700EE9569 /* trace_file_write.cpp in Sources */, - BCDF665F178F0FC700EE9569 /* trace_file.cpp in Sources */, - BCDF6662178F0FC700EE9569 /* trace_loader.cpp in Sources */, - BCDF6665178F0FC700EE9569 /* trace_model.cpp in Sources */, - BCDF6667178F0FC700EE9569 /* trace_option.cpp in Sources */, - BCDF6669178F0FC700EE9569 /* trace_parser_flags.cpp in Sources */, - BCDF666A178F0FC700EE9569 /* trace_parser.cpp in Sources */, - BCDF666C178F0FC700EE9569 /* trace_profiler.cpp in Sources */, - BCDF666E178F0FC700EE9569 /* trace_writer_model.cpp in Sources */, - BCDF666F178F0FC700EE9569 /* trace_writer_regal.cpp in Sources */, - BCDF6671178F0FC700EE9569 /* trace_writer.cpp in Sources */, - BCDF6675178F0FF200EE9569 /* glproc_regal.cpp in Sources */, - BCDF667C178F103E00EE9569 /* glcaps.cpp in Sources */, - BCDF667D178F103E00EE9569 /* gltrace_state.cpp in Sources */, - BCDF667E178F103E00EE9569 /* regaltrace.cpp in Sources */, - BCDF667F178F103E00EE9569 /* trace.cpp in Sources */, - BCDF6684178F105C00EE9569 /* eglsize.cpp in Sources */, - BCDF668E178F14A400EE9569 /* snappy-c.cc in Sources */, - BCDF6690178F14A400EE9569 /* snappy-sinksource.cc in Sources */, - BCDF6692178F14A400EE9569 /* snappy.cc in Sources */, BC8E9CBD17C5AF880005C418 /* RegalDispatchGLX.cpp in Sources */, BC8E9CBE17C5AF880005C418 /* RegalX11.cpp in Sources */, BC8E9CBF17C5AF880005C418 /* RegalDispatchStaticEGL.cpp in Sources */, BCBA1FCA17DF836700CB6E19 /* RegalEmuInfo.cpp in Sources */, BCBA1FCC17DF836700CB6E19 /* RegalEmu.cpp in Sources */, BCB6107117F21E6500BA0A06 /* RegalDispatch.cpp in Sources */, - BC62F93E17F47D16007C5086 /* os_backtrace.cpp in Sources */, + BC4DBEC31804FB0600F6D226 /* RegalQuads.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/build/mac/apitrace/apitrace.xcodeproj/project.pbxproj b/build/mac/apitrace/apitrace.xcodeproj/project.pbxproj new file mode 100644 index 0000000..5b7caf5 --- /dev/null +++ b/build/mac/apitrace/apitrace.xcodeproj/project.pbxproj @@ -0,0 +1,458 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 43777CE617DBF46700EA874E /* eglsize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB117DBF46700EA874E /* eglsize.cpp */; }; + 43777CE717DBF46700EA874E /* eglsize.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CB217DBF46700EA874E /* eglsize.hpp */; }; + 43777CE817DBF46700EA874E /* glsize.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CB317DBF46700EA874E /* glsize.hpp */; }; + 43777CE917DBF46700EA874E /* glcaps.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB417DBF46700EA874E /* glcaps.cpp */; }; + 43777CEA17DBF46700EA874E /* gltrace_state.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB517DBF46700EA874E /* gltrace_state.cpp */; }; + 43777CEB17DBF46700EA874E /* regaltrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB617DBF46700EA874E /* regaltrace.cpp */; }; + 43777CEC17DBF46700EA874E /* trace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB717DBF46700EA874E /* trace.cpp */; }; + 43777CED17DBF46700EA874E /* trace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CB817DBF46700EA874E /* trace.hpp */; }; + 43777CEE17DBF46700EA874E /* glproc_regal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CB917DBF46700EA874E /* glproc_regal.cpp */; }; + 43777CEF17DBF46700EA874E /* glproc.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CBA17DBF46700EA874E /* glproc.hpp */; }; + 43777CF017DBF46700EA874E /* formatter.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CBB17DBF46700EA874E /* formatter.hpp */; }; + 43777CF117DBF46700EA874E /* os_binary.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CBC17DBF46700EA874E /* os_binary.hpp */; }; + 43777CF217DBF46700EA874E /* os_dl.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CBD17DBF46700EA874E /* os_dl.hpp */; }; + 43777CF317DBF46700EA874E /* os_memory.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CBE17DBF46700EA874E /* os_memory.hpp */; }; + 43777CF417DBF46700EA874E /* os_posix.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CBF17DBF46700EA874E /* os_posix.cpp */; }; + 43777CF517DBF46700EA874E /* os_process.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC017DBF46700EA874E /* os_process.hpp */; }; + 43777CF617DBF46700EA874E /* os_string.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC117DBF46700EA874E /* os_string.hpp */; }; + 43777CF717DBF46700EA874E /* os_thread.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC217DBF46700EA874E /* os_thread.hpp */; }; + 43777CF817DBF46700EA874E /* os_time.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC317DBF46700EA874E /* os_time.hpp */; }; + 43777CF917DBF46700EA874E /* os_win32.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CC417DBF46700EA874E /* os_win32.cpp */; }; + 43777CFA17DBF46700EA874E /* os.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC517DBF46700EA874E /* os.hpp */; }; + 43777CFB17DBF46700EA874E /* trace_api.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CC617DBF46700EA874E /* trace_api.hpp */; }; + 43777CFE17DBF46700EA874E /* trace_callset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CC917DBF46700EA874E /* trace_callset.cpp */; }; + 43777CFF17DBF46700EA874E /* trace_callset.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CCA17DBF46700EA874E /* trace_callset.hpp */; }; + 43777D0017DBF46700EA874E /* trace_dump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CCB17DBF46700EA874E /* trace_dump.cpp */; }; + 43777D0117DBF46700EA874E /* trace_dump.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CCC17DBF46700EA874E /* trace_dump.hpp */; }; + 43777D0217DBF46700EA874E /* trace_fast_callset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CCD17DBF46700EA874E /* trace_fast_callset.cpp */; }; + 43777D0317DBF46700EA874E /* trace_fast_callset.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CCE17DBF46700EA874E /* trace_fast_callset.hpp */; }; + 43777D0417DBF46700EA874E /* trace_file_read.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CCF17DBF46700EA874E /* trace_file_read.cpp */; }; + 43777D0517DBF46700EA874E /* trace_file_snappy.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CD017DBF46700EA874E /* trace_file_snappy.cpp */; }; + 43777D0617DBF46700EA874E /* trace_file_write.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CD117DBF46700EA874E /* trace_file_write.cpp */; }; + 43777D0717DBF46700EA874E /* trace_file.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CD217DBF46700EA874E /* trace_file.cpp */; }; + 43777D0817DBF46700EA874E /* trace_file.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CD317DBF46700EA874E /* trace_file.hpp */; }; + 43777D0917DBF46700EA874E /* trace_format.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CD417DBF46700EA874E /* trace_format.hpp */; }; + 43777D0A17DBF46700EA874E /* trace_loader.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CD517DBF46700EA874E /* trace_loader.cpp */; }; + 43777D0B17DBF46700EA874E /* trace_loader.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CD617DBF46700EA874E /* trace_loader.hpp */; }; + 43777D0C17DBF46700EA874E /* trace_lookup.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CD717DBF46700EA874E /* trace_lookup.hpp */; }; + 43777D0D17DBF46700EA874E /* trace_model.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CD817DBF46700EA874E /* trace_model.cpp */; }; + 43777D0E17DBF46700EA874E /* trace_model.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CD917DBF46700EA874E /* trace_model.hpp */; }; + 43777D0F17DBF46700EA874E /* trace_option.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CDA17DBF46700EA874E /* trace_option.cpp */; }; + 43777D1017DBF46700EA874E /* trace_option.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CDB17DBF46700EA874E /* trace_option.hpp */; }; + 43777D1117DBF46700EA874E /* trace_parser_flags.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CDC17DBF46700EA874E /* trace_parser_flags.cpp */; }; + 43777D1217DBF46700EA874E /* trace_parser.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CDD17DBF46700EA874E /* trace_parser.cpp */; }; + 43777D1317DBF46700EA874E /* trace_parser.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CDE17DBF46700EA874E /* trace_parser.hpp */; }; + 43777D1417DBF46700EA874E /* trace_profiler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CDF17DBF46700EA874E /* trace_profiler.cpp */; }; + 43777D1517DBF46700EA874E /* trace_profiler.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CE017DBF46700EA874E /* trace_profiler.hpp */; }; + 43777D1617DBF46700EA874E /* trace_writer_model.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CE117DBF46700EA874E /* trace_writer_model.cpp */; }; + 43777D1717DBF46700EA874E /* trace_writer_regal.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CE217DBF46700EA874E /* trace_writer_regal.cpp */; }; + 43777D1817DBF46700EA874E /* trace_writer_regal.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CE317DBF46700EA874E /* trace_writer_regal.hpp */; }; + 43777D1917DBF46700EA874E /* trace_writer.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 43777CE417DBF46700EA874E /* trace_writer.cpp */; }; + 43777D1A17DBF46700EA874E /* trace_writer.hpp in Headers */ = {isa = PBXBuildFile; fileRef = 43777CE517DBF46700EA874E /* trace_writer.hpp */; }; + BC3A59C11804695A00992687 /* os_backtrace.cpp in Sources */ = {isa = PBXBuildFile; fileRef = BC3A59BF1804695A00992687 /* os_backtrace.cpp */; }; + BC3A59C21804695A00992687 /* os_backtrace.hpp in Headers */ = {isa = PBXBuildFile; fileRef = BC3A59C01804695A00992687 /* os_backtrace.hpp */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 433667A917C56F3500D45AD9 /* libapitrace.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libapitrace.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 43777CB117DBF46700EA874E /* eglsize.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = eglsize.cpp; path = ../../../src/apitrace/helpers/eglsize.cpp; sourceTree = ""; }; + 43777CB217DBF46700EA874E /* eglsize.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = eglsize.hpp; path = ../../../src/apitrace/helpers/eglsize.hpp; sourceTree = ""; }; + 43777CB317DBF46700EA874E /* glsize.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = glsize.hpp; path = ../../../src/apitrace/helpers/glsize.hpp; sourceTree = ""; }; + 43777CB417DBF46700EA874E /* glcaps.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glcaps.cpp; path = ../../../src/apitrace/wrappers/glcaps.cpp; sourceTree = ""; }; + 43777CB517DBF46700EA874E /* gltrace_state.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = gltrace_state.cpp; path = ../../../src/apitrace/wrappers/gltrace_state.cpp; sourceTree = ""; }; + 43777CB617DBF46700EA874E /* regaltrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = regaltrace.cpp; path = ../../../src/apitrace/wrappers/regaltrace.cpp; sourceTree = ""; }; + 43777CB717DBF46700EA874E /* trace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace.cpp; path = ../../../src/apitrace/wrappers/trace.cpp; sourceTree = ""; }; + 43777CB817DBF46700EA874E /* trace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace.hpp; path = ../../../src/apitrace/wrappers/trace.hpp; sourceTree = ""; }; + 43777CB917DBF46700EA874E /* glproc_regal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = glproc_regal.cpp; path = ../../../src/apitrace/dispatch/glproc_regal.cpp; sourceTree = ""; }; + 43777CBA17DBF46700EA874E /* glproc.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = glproc.hpp; path = ../../../src/apitrace/dispatch/glproc.hpp; sourceTree = ""; }; + 43777CBB17DBF46700EA874E /* formatter.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = formatter.hpp; path = ../../../src/apitrace/common/formatter.hpp; sourceTree = ""; }; + 43777CBC17DBF46700EA874E /* os_binary.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_binary.hpp; path = ../../../src/apitrace/common/os_binary.hpp; sourceTree = ""; }; + 43777CBD17DBF46700EA874E /* os_dl.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_dl.hpp; path = ../../../src/apitrace/common/os_dl.hpp; sourceTree = ""; }; + 43777CBE17DBF46700EA874E /* os_memory.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_memory.hpp; path = ../../../src/apitrace/common/os_memory.hpp; sourceTree = ""; }; + 43777CBF17DBF46700EA874E /* os_posix.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_posix.cpp; path = ../../../src/apitrace/common/os_posix.cpp; sourceTree = ""; }; + 43777CC017DBF46700EA874E /* os_process.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_process.hpp; path = ../../../src/apitrace/common/os_process.hpp; sourceTree = ""; }; + 43777CC117DBF46700EA874E /* os_string.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_string.hpp; path = ../../../src/apitrace/common/os_string.hpp; sourceTree = ""; }; + 43777CC217DBF46700EA874E /* os_thread.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_thread.hpp; path = ../../../src/apitrace/common/os_thread.hpp; sourceTree = ""; }; + 43777CC317DBF46700EA874E /* os_time.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_time.hpp; path = ../../../src/apitrace/common/os_time.hpp; sourceTree = ""; }; + 43777CC417DBF46700EA874E /* os_win32.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_win32.cpp; path = ../../../src/apitrace/common/os_win32.cpp; sourceTree = ""; }; + 43777CC517DBF46700EA874E /* os.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os.hpp; path = ../../../src/apitrace/common/os.hpp; sourceTree = ""; }; + 43777CC617DBF46700EA874E /* trace_api.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_api.hpp; path = ../../../src/apitrace/common/trace_api.hpp; sourceTree = ""; }; + 43777CC917DBF46700EA874E /* trace_callset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_callset.cpp; path = ../../../src/apitrace/common/trace_callset.cpp; sourceTree = ""; }; + 43777CCA17DBF46700EA874E /* trace_callset.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_callset.hpp; path = ../../../src/apitrace/common/trace_callset.hpp; sourceTree = ""; }; + 43777CCB17DBF46700EA874E /* trace_dump.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_dump.cpp; path = ../../../src/apitrace/common/trace_dump.cpp; sourceTree = ""; }; + 43777CCC17DBF46700EA874E /* trace_dump.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_dump.hpp; path = ../../../src/apitrace/common/trace_dump.hpp; sourceTree = ""; }; + 43777CCD17DBF46700EA874E /* trace_fast_callset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_fast_callset.cpp; path = ../../../src/apitrace/common/trace_fast_callset.cpp; sourceTree = ""; }; + 43777CCE17DBF46700EA874E /* trace_fast_callset.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_fast_callset.hpp; path = ../../../src/apitrace/common/trace_fast_callset.hpp; sourceTree = ""; }; + 43777CCF17DBF46700EA874E /* trace_file_read.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_read.cpp; path = ../../../src/apitrace/common/trace_file_read.cpp; sourceTree = ""; }; + 43777CD017DBF46700EA874E /* trace_file_snappy.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_snappy.cpp; path = ../../../src/apitrace/common/trace_file_snappy.cpp; sourceTree = ""; }; + 43777CD117DBF46700EA874E /* trace_file_write.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file_write.cpp; path = ../../../src/apitrace/common/trace_file_write.cpp; sourceTree = ""; }; + 43777CD217DBF46700EA874E /* trace_file.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_file.cpp; path = ../../../src/apitrace/common/trace_file.cpp; sourceTree = ""; }; + 43777CD317DBF46700EA874E /* trace_file.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_file.hpp; path = ../../../src/apitrace/common/trace_file.hpp; sourceTree = ""; }; + 43777CD417DBF46700EA874E /* trace_format.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_format.hpp; path = ../../../src/apitrace/common/trace_format.hpp; sourceTree = ""; }; + 43777CD517DBF46700EA874E /* trace_loader.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_loader.cpp; path = ../../../src/apitrace/common/trace_loader.cpp; sourceTree = ""; }; + 43777CD617DBF46700EA874E /* trace_loader.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_loader.hpp; path = ../../../src/apitrace/common/trace_loader.hpp; sourceTree = ""; }; + 43777CD717DBF46700EA874E /* trace_lookup.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_lookup.hpp; path = ../../../src/apitrace/common/trace_lookup.hpp; sourceTree = ""; }; + 43777CD817DBF46700EA874E /* trace_model.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_model.cpp; path = ../../../src/apitrace/common/trace_model.cpp; sourceTree = ""; }; + 43777CD917DBF46700EA874E /* trace_model.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_model.hpp; path = ../../../src/apitrace/common/trace_model.hpp; sourceTree = ""; }; + 43777CDA17DBF46700EA874E /* trace_option.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_option.cpp; path = ../../../src/apitrace/common/trace_option.cpp; sourceTree = ""; }; + 43777CDB17DBF46700EA874E /* trace_option.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_option.hpp; path = ../../../src/apitrace/common/trace_option.hpp; sourceTree = ""; }; + 43777CDC17DBF46700EA874E /* trace_parser_flags.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_parser_flags.cpp; path = ../../../src/apitrace/common/trace_parser_flags.cpp; sourceTree = ""; }; + 43777CDD17DBF46700EA874E /* trace_parser.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_parser.cpp; path = ../../../src/apitrace/common/trace_parser.cpp; sourceTree = ""; }; + 43777CDE17DBF46700EA874E /* trace_parser.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_parser.hpp; path = ../../../src/apitrace/common/trace_parser.hpp; sourceTree = ""; }; + 43777CDF17DBF46700EA874E /* trace_profiler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_profiler.cpp; path = ../../../src/apitrace/common/trace_profiler.cpp; sourceTree = ""; }; + 43777CE017DBF46700EA874E /* trace_profiler.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_profiler.hpp; path = ../../../src/apitrace/common/trace_profiler.hpp; sourceTree = ""; }; + 43777CE117DBF46700EA874E /* trace_writer_model.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer_model.cpp; path = ../../../src/apitrace/common/trace_writer_model.cpp; sourceTree = ""; }; + 43777CE217DBF46700EA874E /* trace_writer_regal.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer_regal.cpp; path = ../../../src/apitrace/common/trace_writer_regal.cpp; sourceTree = ""; }; + 43777CE317DBF46700EA874E /* trace_writer_regal.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_writer_regal.hpp; path = ../../../src/apitrace/common/trace_writer_regal.hpp; sourceTree = ""; }; + 43777CE417DBF46700EA874E /* trace_writer.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = trace_writer.cpp; path = ../../../src/apitrace/common/trace_writer.cpp; sourceTree = ""; }; + 43777CE517DBF46700EA874E /* trace_writer.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = trace_writer.hpp; path = ../../../src/apitrace/common/trace_writer.hpp; sourceTree = ""; }; + BC3A59BF1804695A00992687 /* os_backtrace.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = os_backtrace.cpp; path = ../../../src/apitrace/common/os_backtrace.cpp; sourceTree = ""; }; + BC3A59C01804695A00992687 /* os_backtrace.hpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; name = os_backtrace.hpp; path = ../../../src/apitrace/common/os_backtrace.hpp; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 433667A617C56F3500D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 433667A017C56F3500D45AD9 = { + isa = PBXGroup; + children = ( + 433667B017C56F4D00D45AD9 /* src */, + 433667AA17C56F3500D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 433667AA17C56F3500D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 433667A917C56F3500D45AD9 /* libapitrace.a */, + ); + name = Products; + sourceTree = ""; + }; + 433667B017C56F4D00D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + BC3A59BF1804695A00992687 /* os_backtrace.cpp */, + BC3A59C01804695A00992687 /* os_backtrace.hpp */, + 43777CB117DBF46700EA874E /* eglsize.cpp */, + 43777CB217DBF46700EA874E /* eglsize.hpp */, + 43777CB317DBF46700EA874E /* glsize.hpp */, + 43777CB417DBF46700EA874E /* glcaps.cpp */, + 43777CB517DBF46700EA874E /* gltrace_state.cpp */, + 43777CB617DBF46700EA874E /* regaltrace.cpp */, + 43777CB717DBF46700EA874E /* trace.cpp */, + 43777CB817DBF46700EA874E /* trace.hpp */, + 43777CB917DBF46700EA874E /* glproc_regal.cpp */, + 43777CBA17DBF46700EA874E /* glproc.hpp */, + 43777CBB17DBF46700EA874E /* formatter.hpp */, + 43777CBC17DBF46700EA874E /* os_binary.hpp */, + 43777CBD17DBF46700EA874E /* os_dl.hpp */, + 43777CBE17DBF46700EA874E /* os_memory.hpp */, + 43777CBF17DBF46700EA874E /* os_posix.cpp */, + 43777CC017DBF46700EA874E /* os_process.hpp */, + 43777CC117DBF46700EA874E /* os_string.hpp */, + 43777CC217DBF46700EA874E /* os_thread.hpp */, + 43777CC317DBF46700EA874E /* os_time.hpp */, + 43777CC417DBF46700EA874E /* os_win32.cpp */, + 43777CC517DBF46700EA874E /* os.hpp */, + 43777CC617DBF46700EA874E /* trace_api.hpp */, + 43777CC917DBF46700EA874E /* trace_callset.cpp */, + 43777CCA17DBF46700EA874E /* trace_callset.hpp */, + 43777CCB17DBF46700EA874E /* trace_dump.cpp */, + 43777CCC17DBF46700EA874E /* trace_dump.hpp */, + 43777CCD17DBF46700EA874E /* trace_fast_callset.cpp */, + 43777CCE17DBF46700EA874E /* trace_fast_callset.hpp */, + 43777CCF17DBF46700EA874E /* trace_file_read.cpp */, + 43777CD017DBF46700EA874E /* trace_file_snappy.cpp */, + 43777CD117DBF46700EA874E /* trace_file_write.cpp */, + 43777CD217DBF46700EA874E /* trace_file.cpp */, + 43777CD317DBF46700EA874E /* trace_file.hpp */, + 43777CD417DBF46700EA874E /* trace_format.hpp */, + 43777CD517DBF46700EA874E /* trace_loader.cpp */, + 43777CD617DBF46700EA874E /* trace_loader.hpp */, + 43777CD717DBF46700EA874E /* trace_lookup.hpp */, + 43777CD817DBF46700EA874E /* trace_model.cpp */, + 43777CD917DBF46700EA874E /* trace_model.hpp */, + 43777CDA17DBF46700EA874E /* trace_option.cpp */, + 43777CDB17DBF46700EA874E /* trace_option.hpp */, + 43777CDC17DBF46700EA874E /* trace_parser_flags.cpp */, + 43777CDD17DBF46700EA874E /* trace_parser.cpp */, + 43777CDE17DBF46700EA874E /* trace_parser.hpp */, + 43777CDF17DBF46700EA874E /* trace_profiler.cpp */, + 43777CE017DBF46700EA874E /* trace_profiler.hpp */, + 43777CE117DBF46700EA874E /* trace_writer_model.cpp */, + 43777CE217DBF46700EA874E /* trace_writer_regal.cpp */, + 43777CE317DBF46700EA874E /* trace_writer_regal.hpp */, + 43777CE417DBF46700EA874E /* trace_writer.cpp */, + 43777CE517DBF46700EA874E /* trace_writer.hpp */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 433667A717C56F3500D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 43777CE717DBF46700EA874E /* eglsize.hpp in Headers */, + 43777CE817DBF46700EA874E /* glsize.hpp in Headers */, + 43777CED17DBF46700EA874E /* trace.hpp in Headers */, + 43777CEF17DBF46700EA874E /* glproc.hpp in Headers */, + 43777CF017DBF46700EA874E /* formatter.hpp in Headers */, + 43777CF117DBF46700EA874E /* os_binary.hpp in Headers */, + 43777CF217DBF46700EA874E /* os_dl.hpp in Headers */, + 43777CF317DBF46700EA874E /* os_memory.hpp in Headers */, + 43777CF517DBF46700EA874E /* os_process.hpp in Headers */, + 43777CF617DBF46700EA874E /* os_string.hpp in Headers */, + 43777CF717DBF46700EA874E /* os_thread.hpp in Headers */, + 43777CF817DBF46700EA874E /* os_time.hpp in Headers */, + 43777CFA17DBF46700EA874E /* os.hpp in Headers */, + 43777CFB17DBF46700EA874E /* trace_api.hpp in Headers */, + 43777CFF17DBF46700EA874E /* trace_callset.hpp in Headers */, + 43777D0117DBF46700EA874E /* trace_dump.hpp in Headers */, + 43777D0317DBF46700EA874E /* trace_fast_callset.hpp in Headers */, + 43777D0817DBF46700EA874E /* trace_file.hpp in Headers */, + 43777D0917DBF46700EA874E /* trace_format.hpp in Headers */, + 43777D0B17DBF46700EA874E /* trace_loader.hpp in Headers */, + 43777D0C17DBF46700EA874E /* trace_lookup.hpp in Headers */, + 43777D0E17DBF46700EA874E /* trace_model.hpp in Headers */, + 43777D1017DBF46700EA874E /* trace_option.hpp in Headers */, + 43777D1317DBF46700EA874E /* trace_parser.hpp in Headers */, + 43777D1517DBF46700EA874E /* trace_profiler.hpp in Headers */, + 43777D1817DBF46700EA874E /* trace_writer_regal.hpp in Headers */, + 43777D1A17DBF46700EA874E /* trace_writer.hpp in Headers */, + BC3A59C21804695A00992687 /* os_backtrace.hpp in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 433667A817C56F3500D45AD9 /* apitrace */ = { + isa = PBXNativeTarget; + buildConfigurationList = 433667AD17C56F3500D45AD9 /* Build configuration list for PBXNativeTarget "apitrace" */; + buildPhases = ( + 433667A517C56F3500D45AD9 /* Sources */, + 433667A617C56F3500D45AD9 /* Frameworks */, + 433667A717C56F3500D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = apitrace; + productName = apitrace; + productReference = 433667A917C56F3500D45AD9 /* libapitrace.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 433667A117C56F3500D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 433667A417C56F3500D45AD9 /* Build configuration list for PBXProject "apitrace" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 433667A017C56F3500D45AD9; + productRefGroup = 433667AA17C56F3500D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 433667A817C56F3500D45AD9 /* apitrace */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 433667A517C56F3500D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 43777CE617DBF46700EA874E /* eglsize.cpp in Sources */, + 43777CE917DBF46700EA874E /* glcaps.cpp in Sources */, + 43777CEA17DBF46700EA874E /* gltrace_state.cpp in Sources */, + 43777CEB17DBF46700EA874E /* regaltrace.cpp in Sources */, + 43777CEC17DBF46700EA874E /* trace.cpp in Sources */, + 43777CEE17DBF46700EA874E /* glproc_regal.cpp in Sources */, + 43777CF417DBF46700EA874E /* os_posix.cpp in Sources */, + 43777CF917DBF46700EA874E /* os_win32.cpp in Sources */, + 43777CFE17DBF46700EA874E /* trace_callset.cpp in Sources */, + 43777D0017DBF46700EA874E /* trace_dump.cpp in Sources */, + 43777D0217DBF46700EA874E /* trace_fast_callset.cpp in Sources */, + 43777D0417DBF46700EA874E /* trace_file_read.cpp in Sources */, + 43777D0517DBF46700EA874E /* trace_file_snappy.cpp in Sources */, + 43777D0617DBF46700EA874E /* trace_file_write.cpp in Sources */, + 43777D0717DBF46700EA874E /* trace_file.cpp in Sources */, + 43777D0A17DBF46700EA874E /* trace_loader.cpp in Sources */, + 43777D0D17DBF46700EA874E /* trace_model.cpp in Sources */, + 43777D0F17DBF46700EA874E /* trace_option.cpp in Sources */, + 43777D1117DBF46700EA874E /* trace_parser_flags.cpp in Sources */, + 43777D1217DBF46700EA874E /* trace_parser.cpp in Sources */, + 43777D1417DBF46700EA874E /* trace_profiler.cpp in Sources */, + 43777D1617DBF46700EA874E /* trace_writer_model.cpp in Sources */, + 43777D1717DBF46700EA874E /* trace_writer_regal.cpp in Sources */, + 43777D1917DBF46700EA874E /* trace_writer.cpp in Sources */, + BC3A59C11804695A00992687 /* os_backtrace.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 433667AB17C56F3500D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "compiler-default"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "TRACE_OS_LOG=0", + "REGAL_PLUGIN=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../include, + ../../../src/snappy, + ../../../src/zlib/include, + ../../../src/zlib/src, + ../../../src/apitrace, + ../../../src/apitrace/common, + ../../../src/apitrace/dispatch, + ../../../src/apitrace/helpers, + ../../../src/apitrace/wrappers, + ../../../src/apitrace/thirdparty/khronos, + ../../../src/regal, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 433667AC17C56F3500D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "compiler-default"; + CLANG_CXX_LIBRARY = "compiler-default"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "TRACE_OS_LOG=1", + "REGAL_PLUGIN=1", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../include, + ../../../src/snappy, + ../../../src/zlib/include, + ../../../src/zlib/src, + ../../../src/apitrace, + ../../../src/apitrace/common, + ../../../src/apitrace/dispatch, + ../../../src/apitrace/helpers, + ../../../src/apitrace/wrappers, + ../../../src/apitrace/thirdparty/khronos, + ../../../src/regal, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 433667AE17C56F3500D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 433667AF17C56F3500D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 433667A417C56F3500D45AD9 /* Build configuration list for PBXProject "apitrace" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433667AB17C56F3500D45AD9 /* Debug */, + 433667AC17C56F3500D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 433667AD17C56F3500D45AD9 /* Build configuration list for PBXNativeTarget "apitrace" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433667AE17C56F3500D45AD9 /* Debug */, + 433667AF17C56F3500D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 433667A117C56F3500D45AD9 /* Project object */; +} diff --git a/build/mac/jsonsl/jsonsl.xcodeproj/project.pbxproj b/build/mac/jsonsl/jsonsl.xcodeproj/project.pbxproj new file mode 100644 index 0000000..53a1695 --- /dev/null +++ b/build/mac/jsonsl/jsonsl.xcodeproj/project.pbxproj @@ -0,0 +1,222 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336679E17C56F0B00D45AD9 /* jsonsl.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336679C17C56F0B00D45AD9 /* jsonsl.c */; }; + 4336679F17C56F0B00D45AD9 /* jsonsl.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336679D17C56F0B00D45AD9 /* jsonsl.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336679417C56EF900D45AD9 /* libjsonsl.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libjsonsl.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336679C17C56F0B00D45AD9 /* jsonsl.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = jsonsl.c; path = ../../../src/jsonsl/jsonsl.c; sourceTree = ""; }; + 4336679D17C56F0B00D45AD9 /* jsonsl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = jsonsl.h; path = ../../../src/jsonsl/jsonsl.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336679117C56EF900D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336678B17C56EF900D45AD9 = { + isa = PBXGroup; + children = ( + 4336679B17C56EFE00D45AD9 /* src */, + 4336679517C56EF900D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336679517C56EF900D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336679417C56EF900D45AD9 /* libjsonsl.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336679B17C56EFE00D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336679C17C56F0B00D45AD9 /* jsonsl.c */, + 4336679D17C56F0B00D45AD9 /* jsonsl.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336679217C56EF900D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336679F17C56F0B00D45AD9 /* jsonsl.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336679317C56EF900D45AD9 /* jsonsl */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336679817C56EF900D45AD9 /* Build configuration list for PBXNativeTarget "jsonsl" */; + buildPhases = ( + 4336679017C56EF900D45AD9 /* Sources */, + 4336679117C56EF900D45AD9 /* Frameworks */, + 4336679217C56EF900D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = jsonsl; + productName = jsonsl; + productReference = 4336679417C56EF900D45AD9 /* libjsonsl.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336678C17C56EF900D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336678F17C56EF900D45AD9 /* Build configuration list for PBXProject "jsonsl" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336678B17C56EF900D45AD9; + productRefGroup = 4336679517C56EF900D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336679317C56EF900D45AD9 /* jsonsl */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336679017C56EF900D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336679E17C56F0B00D45AD9 /* jsonsl.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336679617C56EF900D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336679717C56EF900D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336679917C56EF900D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336679A17C56EF900D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336678F17C56EF900D45AD9 /* Build configuration list for PBXProject "jsonsl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336679617C56EF900D45AD9 /* Debug */, + 4336679717C56EF900D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336679817C56EF900D45AD9 /* Build configuration list for PBXNativeTarget "jsonsl" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336679917C56EF900D45AD9 /* Debug */, + 4336679A17C56EF900D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336678C17C56EF900D45AD9 /* Project object */; +} diff --git a/build/mac/md5/md5.xcodeproj/project.pbxproj b/build/mac/md5/md5.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2550e2f --- /dev/null +++ b/build/mac/md5/md5.xcodeproj/project.pbxproj @@ -0,0 +1,220 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336678A17C56E1500D45AD9 /* md5.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336678917C56E1500D45AD9 /* md5.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336678117C56DFD00D45AD9 /* libmd5.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmd5.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336678917C56E1500D45AD9 /* md5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = md5.c; path = ../../../src/md5/src/md5.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336677E17C56DFD00D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336677817C56DFD00D45AD9 = { + isa = PBXGroup; + children = ( + 4336678817C56E0400D45AD9 /* src */, + 4336678217C56DFD00D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336678217C56DFD00D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336678117C56DFD00D45AD9 /* libmd5.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336678817C56E0400D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336678917C56E1500D45AD9 /* md5.c */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336677F17C56DFD00D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336678017C56DFD00D45AD9 /* md5 */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336678517C56DFD00D45AD9 /* Build configuration list for PBXNativeTarget "md5" */; + buildPhases = ( + 4336677D17C56DFD00D45AD9 /* Sources */, + 4336677E17C56DFD00D45AD9 /* Frameworks */, + 4336677F17C56DFD00D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = md5; + productName = md5; + productReference = 4336678117C56DFD00D45AD9 /* libmd5.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336677917C56DFD00D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336677C17C56DFD00D45AD9 /* Build configuration list for PBXProject "md5" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336677817C56DFD00D45AD9; + productRefGroup = 4336678217C56DFD00D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336678017C56DFD00D45AD9 /* md5 */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336677D17C56DFD00D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336678A17C56E1500D45AD9 /* md5.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336678317C56DFD00D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../../src/md5/include; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336678417C56DFD00D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../../src/md5/include; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336678617C56DFD00D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336678717C56DFD00D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336677C17C56DFD00D45AD9 /* Build configuration list for PBXProject "md5" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336678317C56DFD00D45AD9 /* Debug */, + 4336678417C56DFD00D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336678517C56DFD00D45AD9 /* Build configuration list for PBXNativeTarget "md5" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336678617C56DFD00D45AD9 /* Debug */, + 4336678717C56DFD00D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336677917C56DFD00D45AD9 /* Project object */; +} diff --git a/build/mac/mongoose/mongoose.xcodeproj/project.pbxproj b/build/mac/mongoose/mongoose.xcodeproj/project.pbxproj new file mode 100644 index 0000000..bb10c7b --- /dev/null +++ b/build/mac/mongoose/mongoose.xcodeproj/project.pbxproj @@ -0,0 +1,218 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336677717C56DE400D45AD9 /* mongoose.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336677617C56DE400D45AD9 /* mongoose.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336676E17C56DC700D45AD9 /* libmongoose.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libmongoose.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336677617C56DE400D45AD9 /* mongoose.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = mongoose.c; path = ../../../src/mongoose/mongoose.c; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336676B17C56DC700D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336676517C56DC600D45AD9 = { + isa = PBXGroup; + children = ( + 4336677517C56DCD00D45AD9 /* src */, + 4336676F17C56DC700D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336676F17C56DC700D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336676E17C56DC700D45AD9 /* libmongoose.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336677517C56DCD00D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336677617C56DE400D45AD9 /* mongoose.c */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336676C17C56DC700D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336676D17C56DC700D45AD9 /* mongoose */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336677217C56DC700D45AD9 /* Build configuration list for PBXNativeTarget "mongoose" */; + buildPhases = ( + 4336676A17C56DC700D45AD9 /* Sources */, + 4336676B17C56DC700D45AD9 /* Frameworks */, + 4336676C17C56DC700D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = mongoose; + productName = mongoose; + productReference = 4336676E17C56DC700D45AD9 /* libmongoose.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336676617C56DC600D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336676917C56DC600D45AD9 /* Build configuration list for PBXProject "mongoose" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336676517C56DC600D45AD9; + productRefGroup = 4336676F17C56DC700D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336676D17C56DC700D45AD9 /* mongoose */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336676A17C56DC700D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336677717C56DE400D45AD9 /* mongoose.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336677017C56DC700D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336677117C56DC700D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336677317C56DC700D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336677417C56DC700D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336676917C56DC600D45AD9 /* Build configuration list for PBXProject "mongoose" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336677017C56DC700D45AD9 /* Debug */, + 4336677117C56DC700D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336677217C56DC700D45AD9 /* Build configuration list for PBXNativeTarget "mongoose" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336677317C56DC700D45AD9 /* Debug */, + 4336677417C56DC700D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336676617C56DC600D45AD9 /* Project object */; +} diff --git a/build/mac/pcre/pcre.xcodeproj/project.pbxproj b/build/mac/pcre/pcre.xcodeproj/project.pbxproj new file mode 100644 index 0000000..f2dfb6a --- /dev/null +++ b/build/mac/pcre/pcre.xcodeproj/project.pbxproj @@ -0,0 +1,543 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336671317C56BE000D45AD9 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 433666C117C56BE000D45AD9 /* config.h */; }; + 4336671417C56BE000D45AD9 /* dftables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C217C56BE000D45AD9 /* dftables.c */; }; + 4336671517C56BE000D45AD9 /* pcre_byte_order.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C317C56BE000D45AD9 /* pcre_byte_order.c */; }; + 4336671617C56BE000D45AD9 /* pcre_chartables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C417C56BE000D45AD9 /* pcre_chartables.c */; }; + 4336671717C56BE000D45AD9 /* pcre_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C517C56BE000D45AD9 /* pcre_compile.c */; }; + 4336671817C56BE000D45AD9 /* pcre_config.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C617C56BE000D45AD9 /* pcre_config.c */; }; + 4336671917C56BE000D45AD9 /* pcre_dfa_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C717C56BE000D45AD9 /* pcre_dfa_exec.c */; }; + 4336671A17C56BE000D45AD9 /* pcre_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C817C56BE000D45AD9 /* pcre_exec.c */; }; + 4336671B17C56BE000D45AD9 /* pcre_fullinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666C917C56BE000D45AD9 /* pcre_fullinfo.c */; }; + 4336671C17C56BE000D45AD9 /* pcre_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666CA17C56BE000D45AD9 /* pcre_get.c */; }; + 4336671D17C56BE000D45AD9 /* pcre_globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666CB17C56BE000D45AD9 /* pcre_globals.c */; }; + 4336671E17C56BE000D45AD9 /* pcre_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 433666CC17C56BE000D45AD9 /* pcre_internal.h */; }; + 4336671F17C56BE000D45AD9 /* pcre_jit_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666CD17C56BE000D45AD9 /* pcre_jit_compile.c */; }; + 4336672017C56BE000D45AD9 /* pcre_jit_test.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666CE17C56BE000D45AD9 /* pcre_jit_test.c */; }; + 4336672117C56BE000D45AD9 /* pcre_maketables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666CF17C56BE000D45AD9 /* pcre_maketables.c */; }; + 4336672217C56BE000D45AD9 /* pcre_newline.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D017C56BE000D45AD9 /* pcre_newline.c */; }; + 4336672317C56BE000D45AD9 /* pcre_ord2utf8.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D117C56BE000D45AD9 /* pcre_ord2utf8.c */; }; + 4336672417C56BE000D45AD9 /* pcre_printint.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D217C56BE000D45AD9 /* pcre_printint.c */; }; + 4336672517C56BE000D45AD9 /* pcre_refcount.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D317C56BE000D45AD9 /* pcre_refcount.c */; }; + 4336672617C56BE000D45AD9 /* pcre_scanner.h in Headers */ = {isa = PBXBuildFile; fileRef = 433666D417C56BE000D45AD9 /* pcre_scanner.h */; }; + 4336672717C56BE000D45AD9 /* pcre_string_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D517C56BE000D45AD9 /* pcre_string_utils.c */; }; + 4336672817C56BE000D45AD9 /* pcre_study.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D617C56BE000D45AD9 /* pcre_study.c */; }; + 4336672917C56BE000D45AD9 /* pcre_tables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D717C56BE000D45AD9 /* pcre_tables.c */; }; + 4336672A17C56BE000D45AD9 /* pcre_ucd.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D817C56BE000D45AD9 /* pcre_ucd.c */; }; + 4336672B17C56BE000D45AD9 /* pcre_valid_utf8.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666D917C56BE000D45AD9 /* pcre_valid_utf8.c */; }; + 4336672C17C56BE000D45AD9 /* pcre_version.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666DA17C56BE000D45AD9 /* pcre_version.c */; }; + 4336672D17C56BE000D45AD9 /* pcre_xclass.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666DB17C56BE000D45AD9 /* pcre_xclass.c */; }; + 4336672E17C56BE000D45AD9 /* pcre.h in Headers */ = {isa = PBXBuildFile; fileRef = 433666DC17C56BE000D45AD9 /* pcre.h */; }; + 4336672F17C56BE000D45AD9 /* pcre16_byte_order.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666DD17C56BE000D45AD9 /* pcre16_byte_order.c */; }; + 4336673017C56BE000D45AD9 /* pcre16_chartables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666DE17C56BE000D45AD9 /* pcre16_chartables.c */; }; + 4336673117C56BE000D45AD9 /* pcre16_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666DF17C56BE000D45AD9 /* pcre16_compile.c */; }; + 4336673217C56BE000D45AD9 /* pcre16_config.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E017C56BE000D45AD9 /* pcre16_config.c */; }; + 4336673317C56BE000D45AD9 /* pcre16_dfa_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E117C56BE000D45AD9 /* pcre16_dfa_exec.c */; }; + 4336673417C56BE000D45AD9 /* pcre16_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E217C56BE000D45AD9 /* pcre16_exec.c */; }; + 4336673517C56BE000D45AD9 /* pcre16_fullinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E317C56BE000D45AD9 /* pcre16_fullinfo.c */; }; + 4336673617C56BE000D45AD9 /* pcre16_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E417C56BE000D45AD9 /* pcre16_get.c */; }; + 4336673717C56BE000D45AD9 /* pcre16_globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E517C56BE000D45AD9 /* pcre16_globals.c */; }; + 4336673817C56BE000D45AD9 /* pcre16_jit_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E617C56BE000D45AD9 /* pcre16_jit_compile.c */; }; + 4336673917C56BE000D45AD9 /* pcre16_maketables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E717C56BE000D45AD9 /* pcre16_maketables.c */; }; + 4336673A17C56BE000D45AD9 /* pcre16_newline.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E817C56BE000D45AD9 /* pcre16_newline.c */; }; + 4336673B17C56BE000D45AD9 /* pcre16_ord2utf16.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666E917C56BE000D45AD9 /* pcre16_ord2utf16.c */; }; + 4336673C17C56BE000D45AD9 /* pcre16_printint.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666EA17C56BE000D45AD9 /* pcre16_printint.c */; }; + 4336673D17C56BE000D45AD9 /* pcre16_refcount.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666EB17C56BE000D45AD9 /* pcre16_refcount.c */; }; + 4336673E17C56BE000D45AD9 /* pcre16_string_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666EC17C56BE000D45AD9 /* pcre16_string_utils.c */; }; + 4336673F17C56BE000D45AD9 /* pcre16_study.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666ED17C56BE000D45AD9 /* pcre16_study.c */; }; + 4336674017C56BE000D45AD9 /* pcre16_tables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666EE17C56BE000D45AD9 /* pcre16_tables.c */; }; + 4336674117C56BE000D45AD9 /* pcre16_ucd.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666EF17C56BE000D45AD9 /* pcre16_ucd.c */; }; + 4336674217C56BE000D45AD9 /* pcre16_utf16_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F017C56BE000D45AD9 /* pcre16_utf16_utils.c */; }; + 4336674317C56BE000D45AD9 /* pcre16_valid_utf16.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F117C56BE000D45AD9 /* pcre16_valid_utf16.c */; }; + 4336674417C56BE000D45AD9 /* pcre16_version.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F217C56BE000D45AD9 /* pcre16_version.c */; }; + 4336674517C56BE000D45AD9 /* pcre16_xclass.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F317C56BE000D45AD9 /* pcre16_xclass.c */; }; + 4336674617C56BE000D45AD9 /* pcre32_byte_order.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F417C56BE000D45AD9 /* pcre32_byte_order.c */; }; + 4336674717C56BE000D45AD9 /* pcre32_chartables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F517C56BE000D45AD9 /* pcre32_chartables.c */; }; + 4336674817C56BE000D45AD9 /* pcre32_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F617C56BE000D45AD9 /* pcre32_compile.c */; }; + 4336674917C56BE000D45AD9 /* pcre32_config.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F717C56BE000D45AD9 /* pcre32_config.c */; }; + 4336674A17C56BE000D45AD9 /* pcre32_dfa_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F817C56BE000D45AD9 /* pcre32_dfa_exec.c */; }; + 4336674B17C56BE000D45AD9 /* pcre32_exec.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666F917C56BE000D45AD9 /* pcre32_exec.c */; }; + 4336674C17C56BE000D45AD9 /* pcre32_fullinfo.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FA17C56BE000D45AD9 /* pcre32_fullinfo.c */; }; + 4336674D17C56BE000D45AD9 /* pcre32_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FB17C56BE000D45AD9 /* pcre32_get.c */; }; + 4336674E17C56BE000D45AD9 /* pcre32_globals.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FC17C56BE000D45AD9 /* pcre32_globals.c */; }; + 4336674F17C56BE000D45AD9 /* pcre32_jit_compile.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FD17C56BE000D45AD9 /* pcre32_jit_compile.c */; }; + 4336675017C56BE000D45AD9 /* pcre32_maketables.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FE17C56BE000D45AD9 /* pcre32_maketables.c */; }; + 4336675117C56BE000D45AD9 /* pcre32_newline.c in Sources */ = {isa = PBXBuildFile; fileRef = 433666FF17C56BE000D45AD9 /* pcre32_newline.c */; }; + 4336675217C56BE000D45AD9 /* pcre32_ord2utf32.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670017C56BE000D45AD9 /* pcre32_ord2utf32.c */; }; + 4336675317C56BE000D45AD9 /* pcre32_printint.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670117C56BE000D45AD9 /* pcre32_printint.c */; }; + 4336675417C56BE000D45AD9 /* pcre32_refcount.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670217C56BE000D45AD9 /* pcre32_refcount.c */; }; + 4336675517C56BE000D45AD9 /* pcre32_string_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670317C56BE000D45AD9 /* pcre32_string_utils.c */; }; + 4336675617C56BE000D45AD9 /* pcre32_study.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670417C56BE000D45AD9 /* pcre32_study.c */; }; + 4336675717C56BE000D45AD9 /* pcre32_tables.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670517C56BE000D45AD9 /* pcre32_tables.c */; }; + 4336675817C56BE000D45AD9 /* pcre32_ucd.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670617C56BE000D45AD9 /* pcre32_ucd.c */; }; + 4336675917C56BE000D45AD9 /* pcre32_utf32_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670717C56BE000D45AD9 /* pcre32_utf32_utils.c */; }; + 4336675A17C56BE000D45AD9 /* pcre32_valid_utf32.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670817C56BE000D45AD9 /* pcre32_valid_utf32.c */; }; + 4336675B17C56BE000D45AD9 /* pcre32_version.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670917C56BE000D45AD9 /* pcre32_version.c */; }; + 4336675C17C56BE000D45AD9 /* pcre32_xclass.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670A17C56BE000D45AD9 /* pcre32_xclass.c */; }; + 4336675D17C56BE000D45AD9 /* pcrecpp_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336670B17C56BE000D45AD9 /* pcrecpp_internal.h */; }; + 4336675E17C56BE000D45AD9 /* pcrecpp.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336670C17C56BE000D45AD9 /* pcrecpp.h */; }; + 4336675F17C56BE000D45AD9 /* pcredemo.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670D17C56BE000D45AD9 /* pcredemo.c */; }; + 4336676017C56BE000D45AD9 /* pcregrep.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670E17C56BE000D45AD9 /* pcregrep.c */; }; + 4336676117C56BE000D45AD9 /* pcreposix.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336670F17C56BE000D45AD9 /* pcreposix.c */; }; + 4336676217C56BE000D45AD9 /* pcreposix.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336671017C56BE000D45AD9 /* pcreposix.h */; }; + 4336676317C56BE000D45AD9 /* pcretest.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336671117C56BE000D45AD9 /* pcretest.c */; }; + 4336676417C56BE000D45AD9 /* ucp.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336671217C56BE000D45AD9 /* ucp.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 433666B917C56BC000D45AD9 /* libpcre.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpcre.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 433666C117C56BE000D45AD9 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config.h; path = ../../../src/pcre/config.h; sourceTree = ""; }; + 433666C217C56BE000D45AD9 /* dftables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = dftables.c; path = ../../../src/pcre/dftables.c; sourceTree = ""; }; + 433666C317C56BE000D45AD9 /* pcre_byte_order.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_byte_order.c; path = ../../../src/pcre/pcre_byte_order.c; sourceTree = ""; }; + 433666C417C56BE000D45AD9 /* pcre_chartables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_chartables.c; path = ../../../src/pcre/pcre_chartables.c; sourceTree = ""; }; + 433666C517C56BE000D45AD9 /* pcre_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_compile.c; path = ../../../src/pcre/pcre_compile.c; sourceTree = ""; }; + 433666C617C56BE000D45AD9 /* pcre_config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_config.c; path = ../../../src/pcre/pcre_config.c; sourceTree = ""; }; + 433666C717C56BE000D45AD9 /* pcre_dfa_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_dfa_exec.c; path = ../../../src/pcre/pcre_dfa_exec.c; sourceTree = ""; }; + 433666C817C56BE000D45AD9 /* pcre_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_exec.c; path = ../../../src/pcre/pcre_exec.c; sourceTree = ""; }; + 433666C917C56BE000D45AD9 /* pcre_fullinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_fullinfo.c; path = ../../../src/pcre/pcre_fullinfo.c; sourceTree = ""; }; + 433666CA17C56BE000D45AD9 /* pcre_get.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_get.c; path = ../../../src/pcre/pcre_get.c; sourceTree = ""; }; + 433666CB17C56BE000D45AD9 /* pcre_globals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_globals.c; path = ../../../src/pcre/pcre_globals.c; sourceTree = ""; }; + 433666CC17C56BE000D45AD9 /* pcre_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcre_internal.h; path = ../../../src/pcre/pcre_internal.h; sourceTree = ""; }; + 433666CD17C56BE000D45AD9 /* pcre_jit_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_jit_compile.c; path = ../../../src/pcre/pcre_jit_compile.c; sourceTree = ""; }; + 433666CE17C56BE000D45AD9 /* pcre_jit_test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_jit_test.c; path = ../../../src/pcre/pcre_jit_test.c; sourceTree = ""; }; + 433666CF17C56BE000D45AD9 /* pcre_maketables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_maketables.c; path = ../../../src/pcre/pcre_maketables.c; sourceTree = ""; }; + 433666D017C56BE000D45AD9 /* pcre_newline.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_newline.c; path = ../../../src/pcre/pcre_newline.c; sourceTree = ""; }; + 433666D117C56BE000D45AD9 /* pcre_ord2utf8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ord2utf8.c; path = ../../../src/pcre/pcre_ord2utf8.c; sourceTree = ""; }; + 433666D217C56BE000D45AD9 /* pcre_printint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_printint.c; path = ../../../src/pcre/pcre_printint.c; sourceTree = ""; }; + 433666D317C56BE000D45AD9 /* pcre_refcount.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_refcount.c; path = ../../../src/pcre/pcre_refcount.c; sourceTree = ""; }; + 433666D417C56BE000D45AD9 /* pcre_scanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcre_scanner.h; path = ../../../src/pcre/pcre_scanner.h; sourceTree = ""; }; + 433666D517C56BE000D45AD9 /* pcre_string_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_string_utils.c; path = ../../../src/pcre/pcre_string_utils.c; sourceTree = ""; }; + 433666D617C56BE000D45AD9 /* pcre_study.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_study.c; path = ../../../src/pcre/pcre_study.c; sourceTree = ""; }; + 433666D717C56BE000D45AD9 /* pcre_tables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_tables.c; path = ../../../src/pcre/pcre_tables.c; sourceTree = ""; }; + 433666D817C56BE000D45AD9 /* pcre_ucd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_ucd.c; path = ../../../src/pcre/pcre_ucd.c; sourceTree = ""; }; + 433666D917C56BE000D45AD9 /* pcre_valid_utf8.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_valid_utf8.c; path = ../../../src/pcre/pcre_valid_utf8.c; sourceTree = ""; }; + 433666DA17C56BE000D45AD9 /* pcre_version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_version.c; path = ../../../src/pcre/pcre_version.c; sourceTree = ""; }; + 433666DB17C56BE000D45AD9 /* pcre_xclass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre_xclass.c; path = ../../../src/pcre/pcre_xclass.c; sourceTree = ""; }; + 433666DC17C56BE000D45AD9 /* pcre.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcre.h; path = ../../../src/pcre/pcre.h; sourceTree = ""; }; + 433666DD17C56BE000D45AD9 /* pcre16_byte_order.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_byte_order.c; path = ../../../src/pcre/pcre16_byte_order.c; sourceTree = ""; }; + 433666DE17C56BE000D45AD9 /* pcre16_chartables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_chartables.c; path = ../../../src/pcre/pcre16_chartables.c; sourceTree = ""; }; + 433666DF17C56BE000D45AD9 /* pcre16_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_compile.c; path = ../../../src/pcre/pcre16_compile.c; sourceTree = ""; }; + 433666E017C56BE000D45AD9 /* pcre16_config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_config.c; path = ../../../src/pcre/pcre16_config.c; sourceTree = ""; }; + 433666E117C56BE000D45AD9 /* pcre16_dfa_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_dfa_exec.c; path = ../../../src/pcre/pcre16_dfa_exec.c; sourceTree = ""; }; + 433666E217C56BE000D45AD9 /* pcre16_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_exec.c; path = ../../../src/pcre/pcre16_exec.c; sourceTree = ""; }; + 433666E317C56BE000D45AD9 /* pcre16_fullinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_fullinfo.c; path = ../../../src/pcre/pcre16_fullinfo.c; sourceTree = ""; }; + 433666E417C56BE000D45AD9 /* pcre16_get.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_get.c; path = ../../../src/pcre/pcre16_get.c; sourceTree = ""; }; + 433666E517C56BE000D45AD9 /* pcre16_globals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_globals.c; path = ../../../src/pcre/pcre16_globals.c; sourceTree = ""; }; + 433666E617C56BE000D45AD9 /* pcre16_jit_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_jit_compile.c; path = ../../../src/pcre/pcre16_jit_compile.c; sourceTree = ""; }; + 433666E717C56BE000D45AD9 /* pcre16_maketables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_maketables.c; path = ../../../src/pcre/pcre16_maketables.c; sourceTree = ""; }; + 433666E817C56BE000D45AD9 /* pcre16_newline.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_newline.c; path = ../../../src/pcre/pcre16_newline.c; sourceTree = ""; }; + 433666E917C56BE000D45AD9 /* pcre16_ord2utf16.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_ord2utf16.c; path = ../../../src/pcre/pcre16_ord2utf16.c; sourceTree = ""; }; + 433666EA17C56BE000D45AD9 /* pcre16_printint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_printint.c; path = ../../../src/pcre/pcre16_printint.c; sourceTree = ""; }; + 433666EB17C56BE000D45AD9 /* pcre16_refcount.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_refcount.c; path = ../../../src/pcre/pcre16_refcount.c; sourceTree = ""; }; + 433666EC17C56BE000D45AD9 /* pcre16_string_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_string_utils.c; path = ../../../src/pcre/pcre16_string_utils.c; sourceTree = ""; }; + 433666ED17C56BE000D45AD9 /* pcre16_study.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_study.c; path = ../../../src/pcre/pcre16_study.c; sourceTree = ""; }; + 433666EE17C56BE000D45AD9 /* pcre16_tables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_tables.c; path = ../../../src/pcre/pcre16_tables.c; sourceTree = ""; }; + 433666EF17C56BE000D45AD9 /* pcre16_ucd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_ucd.c; path = ../../../src/pcre/pcre16_ucd.c; sourceTree = ""; }; + 433666F017C56BE000D45AD9 /* pcre16_utf16_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_utf16_utils.c; path = ../../../src/pcre/pcre16_utf16_utils.c; sourceTree = ""; }; + 433666F117C56BE000D45AD9 /* pcre16_valid_utf16.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_valid_utf16.c; path = ../../../src/pcre/pcre16_valid_utf16.c; sourceTree = ""; }; + 433666F217C56BE000D45AD9 /* pcre16_version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_version.c; path = ../../../src/pcre/pcre16_version.c; sourceTree = ""; }; + 433666F317C56BE000D45AD9 /* pcre16_xclass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre16_xclass.c; path = ../../../src/pcre/pcre16_xclass.c; sourceTree = ""; }; + 433666F417C56BE000D45AD9 /* pcre32_byte_order.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_byte_order.c; path = ../../../src/pcre/pcre32_byte_order.c; sourceTree = ""; }; + 433666F517C56BE000D45AD9 /* pcre32_chartables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_chartables.c; path = ../../../src/pcre/pcre32_chartables.c; sourceTree = ""; }; + 433666F617C56BE000D45AD9 /* pcre32_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_compile.c; path = ../../../src/pcre/pcre32_compile.c; sourceTree = ""; }; + 433666F717C56BE000D45AD9 /* pcre32_config.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_config.c; path = ../../../src/pcre/pcre32_config.c; sourceTree = ""; }; + 433666F817C56BE000D45AD9 /* pcre32_dfa_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_dfa_exec.c; path = ../../../src/pcre/pcre32_dfa_exec.c; sourceTree = ""; }; + 433666F917C56BE000D45AD9 /* pcre32_exec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_exec.c; path = ../../../src/pcre/pcre32_exec.c; sourceTree = ""; }; + 433666FA17C56BE000D45AD9 /* pcre32_fullinfo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_fullinfo.c; path = ../../../src/pcre/pcre32_fullinfo.c; sourceTree = ""; }; + 433666FB17C56BE000D45AD9 /* pcre32_get.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_get.c; path = ../../../src/pcre/pcre32_get.c; sourceTree = ""; }; + 433666FC17C56BE000D45AD9 /* pcre32_globals.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_globals.c; path = ../../../src/pcre/pcre32_globals.c; sourceTree = ""; }; + 433666FD17C56BE000D45AD9 /* pcre32_jit_compile.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_jit_compile.c; path = ../../../src/pcre/pcre32_jit_compile.c; sourceTree = ""; }; + 433666FE17C56BE000D45AD9 /* pcre32_maketables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_maketables.c; path = ../../../src/pcre/pcre32_maketables.c; sourceTree = ""; }; + 433666FF17C56BE000D45AD9 /* pcre32_newline.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_newline.c; path = ../../../src/pcre/pcre32_newline.c; sourceTree = ""; }; + 4336670017C56BE000D45AD9 /* pcre32_ord2utf32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_ord2utf32.c; path = ../../../src/pcre/pcre32_ord2utf32.c; sourceTree = ""; }; + 4336670117C56BE000D45AD9 /* pcre32_printint.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_printint.c; path = ../../../src/pcre/pcre32_printint.c; sourceTree = ""; }; + 4336670217C56BE000D45AD9 /* pcre32_refcount.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_refcount.c; path = ../../../src/pcre/pcre32_refcount.c; sourceTree = ""; }; + 4336670317C56BE000D45AD9 /* pcre32_string_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_string_utils.c; path = ../../../src/pcre/pcre32_string_utils.c; sourceTree = ""; }; + 4336670417C56BE000D45AD9 /* pcre32_study.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_study.c; path = ../../../src/pcre/pcre32_study.c; sourceTree = ""; }; + 4336670517C56BE000D45AD9 /* pcre32_tables.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_tables.c; path = ../../../src/pcre/pcre32_tables.c; sourceTree = ""; }; + 4336670617C56BE000D45AD9 /* pcre32_ucd.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_ucd.c; path = ../../../src/pcre/pcre32_ucd.c; sourceTree = ""; }; + 4336670717C56BE000D45AD9 /* pcre32_utf32_utils.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_utf32_utils.c; path = ../../../src/pcre/pcre32_utf32_utils.c; sourceTree = ""; }; + 4336670817C56BE000D45AD9 /* pcre32_valid_utf32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_valid_utf32.c; path = ../../../src/pcre/pcre32_valid_utf32.c; sourceTree = ""; }; + 4336670917C56BE000D45AD9 /* pcre32_version.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_version.c; path = ../../../src/pcre/pcre32_version.c; sourceTree = ""; }; + 4336670A17C56BE000D45AD9 /* pcre32_xclass.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcre32_xclass.c; path = ../../../src/pcre/pcre32_xclass.c; sourceTree = ""; }; + 4336670B17C56BE000D45AD9 /* pcrecpp_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcrecpp_internal.h; path = ../../../src/pcre/pcrecpp_internal.h; sourceTree = ""; }; + 4336670C17C56BE000D45AD9 /* pcrecpp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcrecpp.h; path = ../../../src/pcre/pcrecpp.h; sourceTree = ""; }; + 4336670D17C56BE000D45AD9 /* pcredemo.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcredemo.c; path = ../../../src/pcre/pcredemo.c; sourceTree = ""; }; + 4336670E17C56BE000D45AD9 /* pcregrep.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcregrep.c; path = ../../../src/pcre/pcregrep.c; sourceTree = ""; }; + 4336670F17C56BE000D45AD9 /* pcreposix.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcreposix.c; path = ../../../src/pcre/pcreposix.c; sourceTree = ""; }; + 4336671017C56BE000D45AD9 /* pcreposix.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = pcreposix.h; path = ../../../src/pcre/pcreposix.h; sourceTree = ""; }; + 4336671117C56BE000D45AD9 /* pcretest.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = pcretest.c; path = ../../../src/pcre/pcretest.c; sourceTree = ""; }; + 4336671217C56BE000D45AD9 /* ucp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ucp.h; path = ../../../src/pcre/ucp.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 433666B617C56BC000D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 433666B017C56BC000D45AD9 = { + isa = PBXGroup; + children = ( + 433666C017C56BC400D45AD9 /* src */, + 433666BA17C56BC000D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 433666BA17C56BC000D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 433666B917C56BC000D45AD9 /* libpcre.a */, + ); + name = Products; + sourceTree = ""; + }; + 433666C017C56BC400D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 433666C117C56BE000D45AD9 /* config.h */, + 433666C217C56BE000D45AD9 /* dftables.c */, + 433666C317C56BE000D45AD9 /* pcre_byte_order.c */, + 433666C417C56BE000D45AD9 /* pcre_chartables.c */, + 433666C517C56BE000D45AD9 /* pcre_compile.c */, + 433666C617C56BE000D45AD9 /* pcre_config.c */, + 433666C717C56BE000D45AD9 /* pcre_dfa_exec.c */, + 433666C817C56BE000D45AD9 /* pcre_exec.c */, + 433666C917C56BE000D45AD9 /* pcre_fullinfo.c */, + 433666CA17C56BE000D45AD9 /* pcre_get.c */, + 433666CB17C56BE000D45AD9 /* pcre_globals.c */, + 433666CC17C56BE000D45AD9 /* pcre_internal.h */, + 433666CD17C56BE000D45AD9 /* pcre_jit_compile.c */, + 433666CE17C56BE000D45AD9 /* pcre_jit_test.c */, + 433666CF17C56BE000D45AD9 /* pcre_maketables.c */, + 433666D017C56BE000D45AD9 /* pcre_newline.c */, + 433666D117C56BE000D45AD9 /* pcre_ord2utf8.c */, + 433666D217C56BE000D45AD9 /* pcre_printint.c */, + 433666D317C56BE000D45AD9 /* pcre_refcount.c */, + 433666D417C56BE000D45AD9 /* pcre_scanner.h */, + 433666D517C56BE000D45AD9 /* pcre_string_utils.c */, + 433666D617C56BE000D45AD9 /* pcre_study.c */, + 433666D717C56BE000D45AD9 /* pcre_tables.c */, + 433666D817C56BE000D45AD9 /* pcre_ucd.c */, + 433666D917C56BE000D45AD9 /* pcre_valid_utf8.c */, + 433666DA17C56BE000D45AD9 /* pcre_version.c */, + 433666DB17C56BE000D45AD9 /* pcre_xclass.c */, + 433666DC17C56BE000D45AD9 /* pcre.h */, + 433666DD17C56BE000D45AD9 /* pcre16_byte_order.c */, + 433666DE17C56BE000D45AD9 /* pcre16_chartables.c */, + 433666DF17C56BE000D45AD9 /* pcre16_compile.c */, + 433666E017C56BE000D45AD9 /* pcre16_config.c */, + 433666E117C56BE000D45AD9 /* pcre16_dfa_exec.c */, + 433666E217C56BE000D45AD9 /* pcre16_exec.c */, + 433666E317C56BE000D45AD9 /* pcre16_fullinfo.c */, + 433666E417C56BE000D45AD9 /* pcre16_get.c */, + 433666E517C56BE000D45AD9 /* pcre16_globals.c */, + 433666E617C56BE000D45AD9 /* pcre16_jit_compile.c */, + 433666E717C56BE000D45AD9 /* pcre16_maketables.c */, + 433666E817C56BE000D45AD9 /* pcre16_newline.c */, + 433666E917C56BE000D45AD9 /* pcre16_ord2utf16.c */, + 433666EA17C56BE000D45AD9 /* pcre16_printint.c */, + 433666EB17C56BE000D45AD9 /* pcre16_refcount.c */, + 433666EC17C56BE000D45AD9 /* pcre16_string_utils.c */, + 433666ED17C56BE000D45AD9 /* pcre16_study.c */, + 433666EE17C56BE000D45AD9 /* pcre16_tables.c */, + 433666EF17C56BE000D45AD9 /* pcre16_ucd.c */, + 433666F017C56BE000D45AD9 /* pcre16_utf16_utils.c */, + 433666F117C56BE000D45AD9 /* pcre16_valid_utf16.c */, + 433666F217C56BE000D45AD9 /* pcre16_version.c */, + 433666F317C56BE000D45AD9 /* pcre16_xclass.c */, + 433666F417C56BE000D45AD9 /* pcre32_byte_order.c */, + 433666F517C56BE000D45AD9 /* pcre32_chartables.c */, + 433666F617C56BE000D45AD9 /* pcre32_compile.c */, + 433666F717C56BE000D45AD9 /* pcre32_config.c */, + 433666F817C56BE000D45AD9 /* pcre32_dfa_exec.c */, + 433666F917C56BE000D45AD9 /* pcre32_exec.c */, + 433666FA17C56BE000D45AD9 /* pcre32_fullinfo.c */, + 433666FB17C56BE000D45AD9 /* pcre32_get.c */, + 433666FC17C56BE000D45AD9 /* pcre32_globals.c */, + 433666FD17C56BE000D45AD9 /* pcre32_jit_compile.c */, + 433666FE17C56BE000D45AD9 /* pcre32_maketables.c */, + 433666FF17C56BE000D45AD9 /* pcre32_newline.c */, + 4336670017C56BE000D45AD9 /* pcre32_ord2utf32.c */, + 4336670117C56BE000D45AD9 /* pcre32_printint.c */, + 4336670217C56BE000D45AD9 /* pcre32_refcount.c */, + 4336670317C56BE000D45AD9 /* pcre32_string_utils.c */, + 4336670417C56BE000D45AD9 /* pcre32_study.c */, + 4336670517C56BE000D45AD9 /* pcre32_tables.c */, + 4336670617C56BE000D45AD9 /* pcre32_ucd.c */, + 4336670717C56BE000D45AD9 /* pcre32_utf32_utils.c */, + 4336670817C56BE000D45AD9 /* pcre32_valid_utf32.c */, + 4336670917C56BE000D45AD9 /* pcre32_version.c */, + 4336670A17C56BE000D45AD9 /* pcre32_xclass.c */, + 4336670B17C56BE000D45AD9 /* pcrecpp_internal.h */, + 4336670C17C56BE000D45AD9 /* pcrecpp.h */, + 4336670D17C56BE000D45AD9 /* pcredemo.c */, + 4336670E17C56BE000D45AD9 /* pcregrep.c */, + 4336670F17C56BE000D45AD9 /* pcreposix.c */, + 4336671017C56BE000D45AD9 /* pcreposix.h */, + 4336671117C56BE000D45AD9 /* pcretest.c */, + 4336671217C56BE000D45AD9 /* ucp.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 433666B717C56BC000D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336671317C56BE000D45AD9 /* config.h in Headers */, + 4336671E17C56BE000D45AD9 /* pcre_internal.h in Headers */, + 4336672617C56BE000D45AD9 /* pcre_scanner.h in Headers */, + 4336672E17C56BE000D45AD9 /* pcre.h in Headers */, + 4336675D17C56BE000D45AD9 /* pcrecpp_internal.h in Headers */, + 4336675E17C56BE000D45AD9 /* pcrecpp.h in Headers */, + 4336676217C56BE000D45AD9 /* pcreposix.h in Headers */, + 4336676417C56BE000D45AD9 /* ucp.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 433666B817C56BC000D45AD9 /* pcre */ = { + isa = PBXNativeTarget; + buildConfigurationList = 433666BD17C56BC000D45AD9 /* Build configuration list for PBXNativeTarget "pcre" */; + buildPhases = ( + 433666B517C56BC000D45AD9 /* Sources */, + 433666B617C56BC000D45AD9 /* Frameworks */, + 433666B717C56BC000D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = pcre; + productName = pcre; + productReference = 433666B917C56BC000D45AD9 /* libpcre.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 433666B117C56BC000D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 433666B417C56BC000D45AD9 /* Build configuration list for PBXProject "pcre" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 433666B017C56BC000D45AD9; + productRefGroup = 433666BA17C56BC000D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 433666B817C56BC000D45AD9 /* pcre */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 433666B517C56BC000D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336671417C56BE000D45AD9 /* dftables.c in Sources */, + 4336671517C56BE000D45AD9 /* pcre_byte_order.c in Sources */, + 4336671617C56BE000D45AD9 /* pcre_chartables.c in Sources */, + 4336671717C56BE000D45AD9 /* pcre_compile.c in Sources */, + 4336671817C56BE000D45AD9 /* pcre_config.c in Sources */, + 4336671917C56BE000D45AD9 /* pcre_dfa_exec.c in Sources */, + 4336671A17C56BE000D45AD9 /* pcre_exec.c in Sources */, + 4336671B17C56BE000D45AD9 /* pcre_fullinfo.c in Sources */, + 4336671C17C56BE000D45AD9 /* pcre_get.c in Sources */, + 4336671D17C56BE000D45AD9 /* pcre_globals.c in Sources */, + 4336671F17C56BE000D45AD9 /* pcre_jit_compile.c in Sources */, + 4336672017C56BE000D45AD9 /* pcre_jit_test.c in Sources */, + 4336672117C56BE000D45AD9 /* pcre_maketables.c in Sources */, + 4336672217C56BE000D45AD9 /* pcre_newline.c in Sources */, + 4336672317C56BE000D45AD9 /* pcre_ord2utf8.c in Sources */, + 4336672417C56BE000D45AD9 /* pcre_printint.c in Sources */, + 4336672517C56BE000D45AD9 /* pcre_refcount.c in Sources */, + 4336672717C56BE000D45AD9 /* pcre_string_utils.c in Sources */, + 4336672817C56BE000D45AD9 /* pcre_study.c in Sources */, + 4336672917C56BE000D45AD9 /* pcre_tables.c in Sources */, + 4336672A17C56BE000D45AD9 /* pcre_ucd.c in Sources */, + 4336672B17C56BE000D45AD9 /* pcre_valid_utf8.c in Sources */, + 4336672C17C56BE000D45AD9 /* pcre_version.c in Sources */, + 4336672D17C56BE000D45AD9 /* pcre_xclass.c in Sources */, + 4336672F17C56BE000D45AD9 /* pcre16_byte_order.c in Sources */, + 4336673017C56BE000D45AD9 /* pcre16_chartables.c in Sources */, + 4336673117C56BE000D45AD9 /* pcre16_compile.c in Sources */, + 4336673217C56BE000D45AD9 /* pcre16_config.c in Sources */, + 4336673317C56BE000D45AD9 /* pcre16_dfa_exec.c in Sources */, + 4336673417C56BE000D45AD9 /* pcre16_exec.c in Sources */, + 4336673517C56BE000D45AD9 /* pcre16_fullinfo.c in Sources */, + 4336673617C56BE000D45AD9 /* pcre16_get.c in Sources */, + 4336673717C56BE000D45AD9 /* pcre16_globals.c in Sources */, + 4336673817C56BE000D45AD9 /* pcre16_jit_compile.c in Sources */, + 4336673917C56BE000D45AD9 /* pcre16_maketables.c in Sources */, + 4336673A17C56BE000D45AD9 /* pcre16_newline.c in Sources */, + 4336673B17C56BE000D45AD9 /* pcre16_ord2utf16.c in Sources */, + 4336673C17C56BE000D45AD9 /* pcre16_printint.c in Sources */, + 4336673D17C56BE000D45AD9 /* pcre16_refcount.c in Sources */, + 4336673E17C56BE000D45AD9 /* pcre16_string_utils.c in Sources */, + 4336673F17C56BE000D45AD9 /* pcre16_study.c in Sources */, + 4336674017C56BE000D45AD9 /* pcre16_tables.c in Sources */, + 4336674117C56BE000D45AD9 /* pcre16_ucd.c in Sources */, + 4336674217C56BE000D45AD9 /* pcre16_utf16_utils.c in Sources */, + 4336674317C56BE000D45AD9 /* pcre16_valid_utf16.c in Sources */, + 4336674417C56BE000D45AD9 /* pcre16_version.c in Sources */, + 4336674517C56BE000D45AD9 /* pcre16_xclass.c in Sources */, + 4336674617C56BE000D45AD9 /* pcre32_byte_order.c in Sources */, + 4336674717C56BE000D45AD9 /* pcre32_chartables.c in Sources */, + 4336674817C56BE000D45AD9 /* pcre32_compile.c in Sources */, + 4336674917C56BE000D45AD9 /* pcre32_config.c in Sources */, + 4336674A17C56BE000D45AD9 /* pcre32_dfa_exec.c in Sources */, + 4336674B17C56BE000D45AD9 /* pcre32_exec.c in Sources */, + 4336674C17C56BE000D45AD9 /* pcre32_fullinfo.c in Sources */, + 4336674D17C56BE000D45AD9 /* pcre32_get.c in Sources */, + 4336674E17C56BE000D45AD9 /* pcre32_globals.c in Sources */, + 4336674F17C56BE000D45AD9 /* pcre32_jit_compile.c in Sources */, + 4336675017C56BE000D45AD9 /* pcre32_maketables.c in Sources */, + 4336675117C56BE000D45AD9 /* pcre32_newline.c in Sources */, + 4336675217C56BE000D45AD9 /* pcre32_ord2utf32.c in Sources */, + 4336675317C56BE000D45AD9 /* pcre32_printint.c in Sources */, + 4336675417C56BE000D45AD9 /* pcre32_refcount.c in Sources */, + 4336675517C56BE000D45AD9 /* pcre32_string_utils.c in Sources */, + 4336675617C56BE000D45AD9 /* pcre32_study.c in Sources */, + 4336675717C56BE000D45AD9 /* pcre32_tables.c in Sources */, + 4336675817C56BE000D45AD9 /* pcre32_ucd.c in Sources */, + 4336675917C56BE000D45AD9 /* pcre32_utf32_utils.c in Sources */, + 4336675A17C56BE000D45AD9 /* pcre32_valid_utf32.c in Sources */, + 4336675B17C56BE000D45AD9 /* pcre32_version.c in Sources */, + 4336675C17C56BE000D45AD9 /* pcre32_xclass.c in Sources */, + 4336675F17C56BE000D45AD9 /* pcredemo.c in Sources */, + 4336676017C56BE000D45AD9 /* pcregrep.c in Sources */, + 4336676117C56BE000D45AD9 /* pcreposix.c in Sources */, + 4336676317C56BE000D45AD9 /* pcretest.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 433666BB17C56BC000D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "HAVE_CONFIG_H=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 433666BC17C56BC000D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_PREPROCESSOR_DEFINITIONS = "HAVE_CONFIG_H=1"; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 433666BE17C56BC000D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 433666BF17C56BC000D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 433666B417C56BC000D45AD9 /* Build configuration list for PBXProject "pcre" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433666BB17C56BC000D45AD9 /* Debug */, + 433666BC17C56BC000D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 433666BD17C56BC000D45AD9 /* Build configuration list for PBXNativeTarget "pcre" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433666BE17C56BC000D45AD9 /* Debug */, + 433666BF17C56BC000D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 433666B117C56BC000D45AD9 /* Project object */; +} diff --git a/build/mac/png/png.xcodeproj/project.pbxproj b/build/mac/png/png.xcodeproj/project.pbxproj new file mode 100644 index 0000000..58613b2 --- /dev/null +++ b/build/mac/png/png.xcodeproj/project.pbxproj @@ -0,0 +1,318 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 433665F517C568DF00D45AD9 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665DD17C568DF00D45AD9 /* adler32.c */; }; + 433665F617C568DF00D45AD9 /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665DE17C568DF00D45AD9 /* compress.c */; }; + 433665F717C568DF00D45AD9 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665DF17C568DF00D45AD9 /* crc32.c */; }; + 433665F817C568DF00D45AD9 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665E017C568DF00D45AD9 /* crc32.h */; }; + 433665F917C568DF00D45AD9 /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E117C568DF00D45AD9 /* deflate.c */; }; + 433665FA17C568DF00D45AD9 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665E217C568DF00D45AD9 /* deflate.h */; }; + 433665FB17C568DF00D45AD9 /* gzclose.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E317C568DF00D45AD9 /* gzclose.c */; }; + 433665FC17C568DF00D45AD9 /* gzguts.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665E417C568DF00D45AD9 /* gzguts.h */; }; + 433665FD17C568DF00D45AD9 /* gzlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E517C568DF00D45AD9 /* gzlib.c */; }; + 433665FE17C568DF00D45AD9 /* gzread.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E617C568DF00D45AD9 /* gzread.c */; }; + 433665FF17C568DF00D45AD9 /* gzwrite.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E717C568DF00D45AD9 /* gzwrite.c */; }; + 4336660017C568DF00D45AD9 /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E817C568DF00D45AD9 /* infback.c */; }; + 4336660117C568DF00D45AD9 /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665E917C568DF00D45AD9 /* inffast.c */; }; + 4336660217C568DF00D45AD9 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665EA17C568DF00D45AD9 /* inffast.h */; }; + 4336660317C568DF00D45AD9 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665EB17C568DF00D45AD9 /* inffixed.h */; }; + 4336660417C568DF00D45AD9 /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665EC17C568DF00D45AD9 /* inflate.c */; }; + 4336660517C568DF00D45AD9 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665ED17C568DF00D45AD9 /* inflate.h */; }; + 4336660617C568DF00D45AD9 /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665EE17C568DF00D45AD9 /* inftrees.c */; }; + 4336660717C568DF00D45AD9 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665EF17C568DF00D45AD9 /* inftrees.h */; }; + 4336660817C568DF00D45AD9 /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665F017C568DF00D45AD9 /* trees.c */; }; + 4336660917C568DF00D45AD9 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665F117C568DF00D45AD9 /* trees.h */; }; + 4336660A17C568DF00D45AD9 /* uncompr.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665F217C568DF00D45AD9 /* uncompr.c */; }; + 4336660B17C568DF00D45AD9 /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = 433665F317C568DF00D45AD9 /* zutil.c */; }; + 4336660C17C568DF00D45AD9 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 433665F417C568DF00D45AD9 /* zutil.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 433665D517C5632600D45AD9 /* libpng.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libpng.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 433665DD17C568DF00D45AD9 /* adler32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = adler32.c; path = ../../../src/zlib/src/adler32.c; sourceTree = ""; }; + 433665DE17C568DF00D45AD9 /* compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = compress.c; path = ../../../src/zlib/src/compress.c; sourceTree = ""; }; + 433665DF17C568DF00D45AD9 /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = crc32.c; path = ../../../src/zlib/src/crc32.c; sourceTree = ""; }; + 433665E017C568DF00D45AD9 /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = crc32.h; path = ../../../src/zlib/src/crc32.h; sourceTree = ""; }; + 433665E117C568DF00D45AD9 /* deflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = deflate.c; path = ../../../src/zlib/src/deflate.c; sourceTree = ""; }; + 433665E217C568DF00D45AD9 /* deflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = deflate.h; path = ../../../src/zlib/src/deflate.h; sourceTree = ""; }; + 433665E317C568DF00D45AD9 /* gzclose.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzclose.c; path = ../../../src/zlib/src/gzclose.c; sourceTree = ""; }; + 433665E417C568DF00D45AD9 /* gzguts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gzguts.h; path = ../../../src/zlib/src/gzguts.h; sourceTree = ""; }; + 433665E517C568DF00D45AD9 /* gzlib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzlib.c; path = ../../../src/zlib/src/gzlib.c; sourceTree = ""; }; + 433665E617C568DF00D45AD9 /* gzread.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzread.c; path = ../../../src/zlib/src/gzread.c; sourceTree = ""; }; + 433665E717C568DF00D45AD9 /* gzwrite.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzwrite.c; path = ../../../src/zlib/src/gzwrite.c; sourceTree = ""; }; + 433665E817C568DF00D45AD9 /* infback.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = infback.c; path = ../../../src/zlib/src/infback.c; sourceTree = ""; }; + 433665E917C568DF00D45AD9 /* inffast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inffast.c; path = ../../../src/zlib/src/inffast.c; sourceTree = ""; }; + 433665EA17C568DF00D45AD9 /* inffast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffast.h; path = ../../../src/zlib/src/inffast.h; sourceTree = ""; }; + 433665EB17C568DF00D45AD9 /* inffixed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffixed.h; path = ../../../src/zlib/src/inffixed.h; sourceTree = ""; }; + 433665EC17C568DF00D45AD9 /* inflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inflate.c; path = ../../../src/zlib/src/inflate.c; sourceTree = ""; }; + 433665ED17C568DF00D45AD9 /* inflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inflate.h; path = ../../../src/zlib/src/inflate.h; sourceTree = ""; }; + 433665EE17C568DF00D45AD9 /* inftrees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inftrees.c; path = ../../../src/zlib/src/inftrees.c; sourceTree = ""; }; + 433665EF17C568DF00D45AD9 /* inftrees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inftrees.h; path = ../../../src/zlib/src/inftrees.h; sourceTree = ""; }; + 433665F017C568DF00D45AD9 /* trees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = trees.c; path = ../../../src/zlib/src/trees.c; sourceTree = ""; }; + 433665F117C568DF00D45AD9 /* trees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = trees.h; path = ../../../src/zlib/src/trees.h; sourceTree = ""; }; + 433665F217C568DF00D45AD9 /* uncompr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = uncompr.c; path = ../../../src/zlib/src/uncompr.c; sourceTree = ""; }; + 433665F317C568DF00D45AD9 /* zutil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zutil.c; path = ../../../src/zlib/src/zutil.c; sourceTree = ""; }; + 433665F417C568DF00D45AD9 /* zutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zutil.h; path = ../../../src/zlib/src/zutil.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 433665D217C5632600D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 433665CC17C5632600D45AD9 = { + isa = PBXGroup; + children = ( + 433665DC17C5633F00D45AD9 /* src */, + 433665D617C5632600D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 433665D617C5632600D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 433665D517C5632600D45AD9 /* libpng.a */, + ); + name = Products; + sourceTree = ""; + }; + 433665DC17C5633F00D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 433665DD17C568DF00D45AD9 /* adler32.c */, + 433665DE17C568DF00D45AD9 /* compress.c */, + 433665DF17C568DF00D45AD9 /* crc32.c */, + 433665E017C568DF00D45AD9 /* crc32.h */, + 433665E117C568DF00D45AD9 /* deflate.c */, + 433665E217C568DF00D45AD9 /* deflate.h */, + 433665E317C568DF00D45AD9 /* gzclose.c */, + 433665E417C568DF00D45AD9 /* gzguts.h */, + 433665E517C568DF00D45AD9 /* gzlib.c */, + 433665E617C568DF00D45AD9 /* gzread.c */, + 433665E717C568DF00D45AD9 /* gzwrite.c */, + 433665E817C568DF00D45AD9 /* infback.c */, + 433665E917C568DF00D45AD9 /* inffast.c */, + 433665EA17C568DF00D45AD9 /* inffast.h */, + 433665EB17C568DF00D45AD9 /* inffixed.h */, + 433665EC17C568DF00D45AD9 /* inflate.c */, + 433665ED17C568DF00D45AD9 /* inflate.h */, + 433665EE17C568DF00D45AD9 /* inftrees.c */, + 433665EF17C568DF00D45AD9 /* inftrees.h */, + 433665F017C568DF00D45AD9 /* trees.c */, + 433665F117C568DF00D45AD9 /* trees.h */, + 433665F217C568DF00D45AD9 /* uncompr.c */, + 433665F317C568DF00D45AD9 /* zutil.c */, + 433665F417C568DF00D45AD9 /* zutil.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 433665D317C5632600D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 433665F817C568DF00D45AD9 /* crc32.h in Headers */, + 433665FA17C568DF00D45AD9 /* deflate.h in Headers */, + 433665FC17C568DF00D45AD9 /* gzguts.h in Headers */, + 4336660217C568DF00D45AD9 /* inffast.h in Headers */, + 4336660317C568DF00D45AD9 /* inffixed.h in Headers */, + 4336660517C568DF00D45AD9 /* inflate.h in Headers */, + 4336660717C568DF00D45AD9 /* inftrees.h in Headers */, + 4336660917C568DF00D45AD9 /* trees.h in Headers */, + 4336660C17C568DF00D45AD9 /* zutil.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 433665D417C5632600D45AD9 /* png */ = { + isa = PBXNativeTarget; + buildConfigurationList = 433665D917C5632600D45AD9 /* Build configuration list for PBXNativeTarget "png" */; + buildPhases = ( + 433665D117C5632600D45AD9 /* Sources */, + 433665D217C5632600D45AD9 /* Frameworks */, + 433665D317C5632600D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = png; + productName = png; + productReference = 433665D517C5632600D45AD9 /* libpng.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 433665CD17C5632600D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 433665D017C5632600D45AD9 /* Build configuration list for PBXProject "png" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 433665CC17C5632600D45AD9; + productRefGroup = 433665D617C5632600D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 433665D417C5632600D45AD9 /* png */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 433665D117C5632600D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 433665F517C568DF00D45AD9 /* adler32.c in Sources */, + 433665F617C568DF00D45AD9 /* compress.c in Sources */, + 433665F717C568DF00D45AD9 /* crc32.c in Sources */, + 433665F917C568DF00D45AD9 /* deflate.c in Sources */, + 433665FB17C568DF00D45AD9 /* gzclose.c in Sources */, + 433665FD17C568DF00D45AD9 /* gzlib.c in Sources */, + 433665FE17C568DF00D45AD9 /* gzread.c in Sources */, + 433665FF17C568DF00D45AD9 /* gzwrite.c in Sources */, + 4336660017C568DF00D45AD9 /* infback.c in Sources */, + 4336660117C568DF00D45AD9 /* inffast.c in Sources */, + 4336660417C568DF00D45AD9 /* inflate.c in Sources */, + 4336660617C568DF00D45AD9 /* inftrees.c in Sources */, + 4336660817C568DF00D45AD9 /* trees.c in Sources */, + 4336660A17C568DF00D45AD9 /* uncompr.c in Sources */, + 4336660B17C568DF00D45AD9 /* zutil.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 433665D717C5632600D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../src/libpng/include, + ../../../src/zlib/include, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 433665D817C5632600D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + ../../../src/libpng/include, + ../../../src/zlib/include, + ); + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 433665DA17C5632600D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 433665DB17C5632600D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 433665D017C5632600D45AD9 /* Build configuration list for PBXProject "png" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433665D717C5632600D45AD9 /* Debug */, + 433665D817C5632600D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 433665D917C5632600D45AD9 /* Build configuration list for PBXNativeTarget "png" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 433665DA17C5632600D45AD9 /* Debug */, + 433665DB17C5632600D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 433665CD17C5632600D45AD9 /* Project object */; +} diff --git a/build/mac/snappy/snappy.xcodeproj/project.pbxproj b/build/mac/snappy/snappy.xcodeproj/project.pbxproj new file mode 100644 index 0000000..a2cdf60 --- /dev/null +++ b/build/mac/snappy/snappy.xcodeproj/project.pbxproj @@ -0,0 +1,242 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336666917C56B0800D45AD9 /* snappy-c.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4336666217C56B0800D45AD9 /* snappy-c.cc */; }; + 4336666A17C56B0800D45AD9 /* snappy-c.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336666317C56B0800D45AD9 /* snappy-c.h */; }; + 4336666B17C56B0800D45AD9 /* snappy-internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336666417C56B0800D45AD9 /* snappy-internal.h */; }; + 4336666C17C56B0800D45AD9 /* snappy-sinksource.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4336666517C56B0800D45AD9 /* snappy-sinksource.cc */; }; + 4336666D17C56B0800D45AD9 /* snappy-sinksource.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336666617C56B0800D45AD9 /* snappy-sinksource.h */; }; + 4336666E17C56B0800D45AD9 /* snappy.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4336666717C56B0800D45AD9 /* snappy.cc */; }; + 4336666F17C56B0800D45AD9 /* snappy.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336666817C56B0800D45AD9 /* snappy.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336665817C56AA300D45AD9 /* libsnappy.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsnappy.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336666217C56B0800D45AD9 /* snappy-c.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "snappy-c.cc"; path = "../../../src/snappy/snappy-c.cc"; sourceTree = ""; }; + 4336666317C56B0800D45AD9 /* snappy-c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snappy-c.h"; path = "../../../src/snappy/snappy-c.h"; sourceTree = ""; }; + 4336666417C56B0800D45AD9 /* snappy-internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snappy-internal.h"; path = "../../../src/snappy/snappy-internal.h"; sourceTree = ""; }; + 4336666517C56B0800D45AD9 /* snappy-sinksource.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "snappy-sinksource.cc"; path = "../../../src/snappy/snappy-sinksource.cc"; sourceTree = ""; }; + 4336666617C56B0800D45AD9 /* snappy-sinksource.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = "snappy-sinksource.h"; path = "../../../src/snappy/snappy-sinksource.h"; sourceTree = ""; }; + 4336666717C56B0800D45AD9 /* snappy.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = snappy.cc; path = ../../../src/snappy/snappy.cc; sourceTree = ""; }; + 4336666817C56B0800D45AD9 /* snappy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = snappy.h; path = ../../../src/snappy/snappy.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336665517C56AA300D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336664F17C56AA300D45AD9 = { + isa = PBXGroup; + children = ( + 4336665F17C56AA700D45AD9 /* src */, + 4336665917C56AA300D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336665917C56AA300D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336665817C56AA300D45AD9 /* libsnappy.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336665F17C56AA700D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336666217C56B0800D45AD9 /* snappy-c.cc */, + 4336666317C56B0800D45AD9 /* snappy-c.h */, + 4336666417C56B0800D45AD9 /* snappy-internal.h */, + 4336666517C56B0800D45AD9 /* snappy-sinksource.cc */, + 4336666617C56B0800D45AD9 /* snappy-sinksource.h */, + 4336666717C56B0800D45AD9 /* snappy.cc */, + 4336666817C56B0800D45AD9 /* snappy.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336665617C56AA300D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336666A17C56B0800D45AD9 /* snappy-c.h in Headers */, + 4336666B17C56B0800D45AD9 /* snappy-internal.h in Headers */, + 4336666D17C56B0800D45AD9 /* snappy-sinksource.h in Headers */, + 4336666F17C56B0800D45AD9 /* snappy.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336665717C56AA300D45AD9 /* snappy */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336665C17C56AA300D45AD9 /* Build configuration list for PBXNativeTarget "snappy" */; + buildPhases = ( + 4336665417C56AA300D45AD9 /* Sources */, + 4336665517C56AA300D45AD9 /* Frameworks */, + 4336665617C56AA300D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = snappy; + productName = snappy; + productReference = 4336665817C56AA300D45AD9 /* libsnappy.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336665017C56AA300D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336665317C56AA300D45AD9 /* Build configuration list for PBXProject "snappy" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336664F17C56AA300D45AD9; + productRefGroup = 4336665917C56AA300D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336665717C56AA300D45AD9 /* snappy */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336665417C56AA300D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336666917C56B0800D45AD9 /* snappy-c.cc in Sources */, + 4336666C17C56B0800D45AD9 /* snappy-sinksource.cc in Sources */, + 4336666E17C56B0800D45AD9 /* snappy.cc in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336665A17C56AA300D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libstdc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336665B17C56AA300D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libstdc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336665D17C56AA300D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336665E17C56AA300D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336665317C56AA300D45AD9 /* Build configuration list for PBXProject "snappy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336665A17C56AA300D45AD9 /* Debug */, + 4336665B17C56AA300D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336665C17C56AA300D45AD9 /* Build configuration list for PBXNativeTarget "snappy" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336665D17C56AA300D45AD9 /* Debug */, + 4336665E17C56AA300D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336665017C56AA300D45AD9 /* Project object */; +} diff --git a/build/mac/squish/squish.xcodeproj/project.pbxproj b/build/mac/squish/squish.xcodeproj/project.pbxproj new file mode 100644 index 0000000..bd63bc2 --- /dev/null +++ b/build/mac/squish/squish.xcodeproj/project.pbxproj @@ -0,0 +1,308 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336669917C56B7F00D45AD9 /* alpha.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668117C56B7F00D45AD9 /* alpha.cpp */; }; + 4336669A17C56B7F00D45AD9 /* alpha.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668217C56B7F00D45AD9 /* alpha.h */; }; + 4336669B17C56B7F00D45AD9 /* clusterfit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668317C56B7F00D45AD9 /* clusterfit.cpp */; }; + 4336669C17C56B7F00D45AD9 /* clusterfit.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668417C56B7F00D45AD9 /* clusterfit.h */; }; + 4336669D17C56B7F00D45AD9 /* colourblock.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668517C56B7F00D45AD9 /* colourblock.cpp */; }; + 4336669E17C56B7F00D45AD9 /* colourblock.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668617C56B7F00D45AD9 /* colourblock.h */; }; + 4336669F17C56B7F00D45AD9 /* colourfit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668717C56B7F00D45AD9 /* colourfit.cpp */; }; + 433666A017C56B7F00D45AD9 /* colourfit.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668817C56B7F00D45AD9 /* colourfit.h */; }; + 433666A117C56B7F00D45AD9 /* colourset.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668917C56B7F00D45AD9 /* colourset.cpp */; }; + 433666A217C56B7F00D45AD9 /* colourset.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668A17C56B7F00D45AD9 /* colourset.h */; }; + 433666A317C56B7F00D45AD9 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668B17C56B7F00D45AD9 /* config.h */; }; + 433666A417C56B7F00D45AD9 /* maths.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668C17C56B7F00D45AD9 /* maths.cpp */; }; + 433666A517C56B7F00D45AD9 /* maths.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668D17C56B7F00D45AD9 /* maths.h */; }; + 433666A617C56B7F00D45AD9 /* rangefit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336668E17C56B7F00D45AD9 /* rangefit.cpp */; }; + 433666A717C56B7F00D45AD9 /* rangefit.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336668F17C56B7F00D45AD9 /* rangefit.h */; }; + 433666A817C56B7F00D45AD9 /* simd_float.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669017C56B7F00D45AD9 /* simd_float.h */; }; + 433666A917C56B7F00D45AD9 /* simd_sse.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669117C56B7F00D45AD9 /* simd_sse.h */; }; + 433666AA17C56B7F00D45AD9 /* simd_ve.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669217C56B7F00D45AD9 /* simd_ve.h */; }; + 433666AB17C56B7F00D45AD9 /* simd.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669317C56B7F00D45AD9 /* simd.h */; }; + 433666AC17C56B7F00D45AD9 /* singlecolourfit.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336669417C56B7F00D45AD9 /* singlecolourfit.cpp */; }; + 433666AD17C56B7F00D45AD9 /* singlecolourfit.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669517C56B7F00D45AD9 /* singlecolourfit.h */; }; + 433666AE17C56B7F00D45AD9 /* squish.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4336669717C56B7F00D45AD9 /* squish.cpp */; }; + 433666AF17C56B7F00D45AD9 /* squish.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336669817C56B7F00D45AD9 /* squish.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336667917C56B5200D45AD9 /* libsquish.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libsquish.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336668117C56B7F00D45AD9 /* alpha.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = alpha.cpp; path = ../../../src/squish/alpha.cpp; sourceTree = ""; }; + 4336668217C56B7F00D45AD9 /* alpha.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = alpha.h; path = ../../../src/squish/alpha.h; sourceTree = ""; }; + 4336668317C56B7F00D45AD9 /* clusterfit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = clusterfit.cpp; path = ../../../src/squish/clusterfit.cpp; sourceTree = ""; }; + 4336668417C56B7F00D45AD9 /* clusterfit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = clusterfit.h; path = ../../../src/squish/clusterfit.h; sourceTree = ""; }; + 4336668517C56B7F00D45AD9 /* colourblock.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = colourblock.cpp; path = ../../../src/squish/colourblock.cpp; sourceTree = ""; }; + 4336668617C56B7F00D45AD9 /* colourblock.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = colourblock.h; path = ../../../src/squish/colourblock.h; sourceTree = ""; }; + 4336668717C56B7F00D45AD9 /* colourfit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = colourfit.cpp; path = ../../../src/squish/colourfit.cpp; sourceTree = ""; }; + 4336668817C56B7F00D45AD9 /* colourfit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = colourfit.h; path = ../../../src/squish/colourfit.h; sourceTree = ""; }; + 4336668917C56B7F00D45AD9 /* colourset.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = colourset.cpp; path = ../../../src/squish/colourset.cpp; sourceTree = ""; }; + 4336668A17C56B7F00D45AD9 /* colourset.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = colourset.h; path = ../../../src/squish/colourset.h; sourceTree = ""; }; + 4336668B17C56B7F00D45AD9 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config.h; path = ../../../src/squish/config.h; sourceTree = ""; }; + 4336668C17C56B7F00D45AD9 /* maths.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = maths.cpp; path = ../../../src/squish/maths.cpp; sourceTree = ""; }; + 4336668D17C56B7F00D45AD9 /* maths.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = maths.h; path = ../../../src/squish/maths.h; sourceTree = ""; }; + 4336668E17C56B7F00D45AD9 /* rangefit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = rangefit.cpp; path = ../../../src/squish/rangefit.cpp; sourceTree = ""; }; + 4336668F17C56B7F00D45AD9 /* rangefit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = rangefit.h; path = ../../../src/squish/rangefit.h; sourceTree = ""; }; + 4336669017C56B7F00D45AD9 /* simd_float.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = simd_float.h; path = ../../../src/squish/simd_float.h; sourceTree = ""; }; + 4336669117C56B7F00D45AD9 /* simd_sse.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = simd_sse.h; path = ../../../src/squish/simd_sse.h; sourceTree = ""; }; + 4336669217C56B7F00D45AD9 /* simd_ve.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = simd_ve.h; path = ../../../src/squish/simd_ve.h; sourceTree = ""; }; + 4336669317C56B7F00D45AD9 /* simd.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = simd.h; path = ../../../src/squish/simd.h; sourceTree = ""; }; + 4336669417C56B7F00D45AD9 /* singlecolourfit.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = singlecolourfit.cpp; path = ../../../src/squish/singlecolourfit.cpp; sourceTree = ""; }; + 4336669517C56B7F00D45AD9 /* singlecolourfit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = singlecolourfit.h; path = ../../../src/squish/singlecolourfit.h; sourceTree = ""; }; + 4336669617C56B7F00D45AD9 /* singlecolourlookup.inl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = singlecolourlookup.inl; path = ../../../src/squish/singlecolourlookup.inl; sourceTree = ""; }; + 4336669717C56B7F00D45AD9 /* squish.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = squish.cpp; path = ../../../src/squish/squish.cpp; sourceTree = ""; }; + 4336669817C56B7F00D45AD9 /* squish.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = squish.h; path = ../../../src/squish/squish.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336667617C56B5200D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336667017C56B5200D45AD9 = { + isa = PBXGroup; + children = ( + 4336668017C56B5600D45AD9 /* src */, + 4336667A17C56B5200D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336667A17C56B5200D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336667917C56B5200D45AD9 /* libsquish.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336668017C56B5600D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336668117C56B7F00D45AD9 /* alpha.cpp */, + 4336668217C56B7F00D45AD9 /* alpha.h */, + 4336668317C56B7F00D45AD9 /* clusterfit.cpp */, + 4336668417C56B7F00D45AD9 /* clusterfit.h */, + 4336668517C56B7F00D45AD9 /* colourblock.cpp */, + 4336668617C56B7F00D45AD9 /* colourblock.h */, + 4336668717C56B7F00D45AD9 /* colourfit.cpp */, + 4336668817C56B7F00D45AD9 /* colourfit.h */, + 4336668917C56B7F00D45AD9 /* colourset.cpp */, + 4336668A17C56B7F00D45AD9 /* colourset.h */, + 4336668B17C56B7F00D45AD9 /* config.h */, + 4336668C17C56B7F00D45AD9 /* maths.cpp */, + 4336668D17C56B7F00D45AD9 /* maths.h */, + 4336668E17C56B7F00D45AD9 /* rangefit.cpp */, + 4336668F17C56B7F00D45AD9 /* rangefit.h */, + 4336669317C56B7F00D45AD9 /* simd.h */, + 4336669017C56B7F00D45AD9 /* simd_float.h */, + 4336669117C56B7F00D45AD9 /* simd_sse.h */, + 4336669217C56B7F00D45AD9 /* simd_ve.h */, + 4336669417C56B7F00D45AD9 /* singlecolourfit.cpp */, + 4336669517C56B7F00D45AD9 /* singlecolourfit.h */, + 4336669617C56B7F00D45AD9 /* singlecolourlookup.inl */, + 4336669717C56B7F00D45AD9 /* squish.cpp */, + 4336669817C56B7F00D45AD9 /* squish.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336667717C56B5200D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336669A17C56B7F00D45AD9 /* alpha.h in Headers */, + 4336669C17C56B7F00D45AD9 /* clusterfit.h in Headers */, + 4336669E17C56B7F00D45AD9 /* colourblock.h in Headers */, + 433666A017C56B7F00D45AD9 /* colourfit.h in Headers */, + 433666A217C56B7F00D45AD9 /* colourset.h in Headers */, + 433666A317C56B7F00D45AD9 /* config.h in Headers */, + 433666A517C56B7F00D45AD9 /* maths.h in Headers */, + 433666A717C56B7F00D45AD9 /* rangefit.h in Headers */, + 433666A817C56B7F00D45AD9 /* simd_float.h in Headers */, + 433666A917C56B7F00D45AD9 /* simd_sse.h in Headers */, + 433666AA17C56B7F00D45AD9 /* simd_ve.h in Headers */, + 433666AB17C56B7F00D45AD9 /* simd.h in Headers */, + 433666AD17C56B7F00D45AD9 /* singlecolourfit.h in Headers */, + 433666AF17C56B7F00D45AD9 /* squish.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336667817C56B5200D45AD9 /* squish */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336667D17C56B5200D45AD9 /* Build configuration list for PBXNativeTarget "squish" */; + buildPhases = ( + 4336667517C56B5200D45AD9 /* Sources */, + 4336667617C56B5200D45AD9 /* Frameworks */, + 4336667717C56B5200D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = squish; + productName = squish; + productReference = 4336667917C56B5200D45AD9 /* libsquish.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336667117C56B5200D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336667417C56B5200D45AD9 /* Build configuration list for PBXProject "squish" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336667017C56B5200D45AD9; + productRefGroup = 4336667A17C56B5200D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336667817C56B5200D45AD9 /* squish */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336667517C56B5200D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336669917C56B7F00D45AD9 /* alpha.cpp in Sources */, + 4336669B17C56B7F00D45AD9 /* clusterfit.cpp in Sources */, + 4336669D17C56B7F00D45AD9 /* colourblock.cpp in Sources */, + 4336669F17C56B7F00D45AD9 /* colourfit.cpp in Sources */, + 433666A117C56B7F00D45AD9 /* colourset.cpp in Sources */, + 433666A417C56B7F00D45AD9 /* maths.cpp in Sources */, + 433666A617C56B7F00D45AD9 /* rangefit.cpp in Sources */, + 433666AC17C56B7F00D45AD9 /* singlecolourfit.cpp in Sources */, + 433666AE17C56B7F00D45AD9 /* squish.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336667B17C56B5200D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336667C17C56B5200D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336667E17C56B5200D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336667F17C56B5200D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336667417C56B5200D45AD9 /* Build configuration list for PBXProject "squish" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336667B17C56B5200D45AD9 /* Debug */, + 4336667C17C56B5200D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336667D17C56B5200D45AD9 /* Build configuration list for PBXNativeTarget "squish" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336667E17C56B5200D45AD9 /* Debug */, + 4336667F17C56B5200D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336667117C56B5200D45AD9 /* Project object */; +} diff --git a/build/mac/zlib/zlib.xcodeproj/project.pbxproj b/build/mac/zlib/zlib.xcodeproj/project.pbxproj new file mode 100644 index 0000000..296fe72 --- /dev/null +++ b/build/mac/zlib/zlib.xcodeproj/project.pbxproj @@ -0,0 +1,311 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 4336663717C56A2600D45AD9 /* adler32.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336661E17C56A2600D45AD9 /* adler32.c */; }; + 4336663817C56A2600D45AD9 /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336661F17C56A2600D45AD9 /* compress.c */; }; + 4336663917C56A2600D45AD9 /* crc32.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662017C56A2600D45AD9 /* crc32.c */; }; + 4336663A17C56A2600D45AD9 /* crc32.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662117C56A2600D45AD9 /* crc32.h */; }; + 4336663B17C56A2600D45AD9 /* deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662217C56A2600D45AD9 /* deflate.c */; }; + 4336663C17C56A2600D45AD9 /* deflate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662317C56A2600D45AD9 /* deflate.h */; }; + 4336663D17C56A2600D45AD9 /* gzclose.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662417C56A2600D45AD9 /* gzclose.c */; }; + 4336663E17C56A2600D45AD9 /* gzguts.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662517C56A2600D45AD9 /* gzguts.h */; }; + 4336663F17C56A2600D45AD9 /* gzlib.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662617C56A2600D45AD9 /* gzlib.c */; }; + 4336664017C56A2600D45AD9 /* gzread.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662717C56A2600D45AD9 /* gzread.c */; }; + 4336664117C56A2600D45AD9 /* gzwrite.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662817C56A2600D45AD9 /* gzwrite.c */; }; + 4336664217C56A2600D45AD9 /* infback.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662917C56A2600D45AD9 /* infback.c */; }; + 4336664317C56A2600D45AD9 /* inffast.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662A17C56A2600D45AD9 /* inffast.c */; }; + 4336664417C56A2600D45AD9 /* inffast.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662B17C56A2600D45AD9 /* inffast.h */; }; + 4336664517C56A2600D45AD9 /* inffixed.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662C17C56A2600D45AD9 /* inffixed.h */; }; + 4336664617C56A2600D45AD9 /* inflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662D17C56A2600D45AD9 /* inflate.c */; }; + 4336664717C56A2600D45AD9 /* inflate.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336662E17C56A2600D45AD9 /* inflate.h */; }; + 4336664817C56A2600D45AD9 /* inftrees.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336662F17C56A2600D45AD9 /* inftrees.c */; }; + 4336664917C56A2600D45AD9 /* inftrees.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336663017C56A2600D45AD9 /* inftrees.h */; }; + 4336664A17C56A2600D45AD9 /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336663117C56A2600D45AD9 /* trees.c */; }; + 4336664B17C56A2600D45AD9 /* trees.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336663217C56A2600D45AD9 /* trees.h */; }; + 4336664C17C56A2600D45AD9 /* uncompr.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336663317C56A2600D45AD9 /* uncompr.c */; }; + 4336664D17C56A2600D45AD9 /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = 4336663517C56A2600D45AD9 /* zutil.c */; }; + 4336664E17C56A2600D45AD9 /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = 4336663617C56A2600D45AD9 /* zutil.h */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 4336661617C56A0800D45AD9 /* libzlib.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libzlib.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 4336661E17C56A2600D45AD9 /* adler32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = adler32.c; path = ../../../src/zlib/src/adler32.c; sourceTree = ""; }; + 4336661F17C56A2600D45AD9 /* compress.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = compress.c; path = ../../../src/zlib/src/compress.c; sourceTree = ""; }; + 4336662017C56A2600D45AD9 /* crc32.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = crc32.c; path = ../../../src/zlib/src/crc32.c; sourceTree = ""; }; + 4336662117C56A2600D45AD9 /* crc32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = crc32.h; path = ../../../src/zlib/src/crc32.h; sourceTree = ""; }; + 4336662217C56A2600D45AD9 /* deflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = deflate.c; path = ../../../src/zlib/src/deflate.c; sourceTree = ""; }; + 4336662317C56A2600D45AD9 /* deflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = deflate.h; path = ../../../src/zlib/src/deflate.h; sourceTree = ""; }; + 4336662417C56A2600D45AD9 /* gzclose.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzclose.c; path = ../../../src/zlib/src/gzclose.c; sourceTree = ""; }; + 4336662517C56A2600D45AD9 /* gzguts.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = gzguts.h; path = ../../../src/zlib/src/gzguts.h; sourceTree = ""; }; + 4336662617C56A2600D45AD9 /* gzlib.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzlib.c; path = ../../../src/zlib/src/gzlib.c; sourceTree = ""; }; + 4336662717C56A2600D45AD9 /* gzread.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzread.c; path = ../../../src/zlib/src/gzread.c; sourceTree = ""; }; + 4336662817C56A2600D45AD9 /* gzwrite.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = gzwrite.c; path = ../../../src/zlib/src/gzwrite.c; sourceTree = ""; }; + 4336662917C56A2600D45AD9 /* infback.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = infback.c; path = ../../../src/zlib/src/infback.c; sourceTree = ""; }; + 4336662A17C56A2600D45AD9 /* inffast.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inffast.c; path = ../../../src/zlib/src/inffast.c; sourceTree = ""; }; + 4336662B17C56A2600D45AD9 /* inffast.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffast.h; path = ../../../src/zlib/src/inffast.h; sourceTree = ""; }; + 4336662C17C56A2600D45AD9 /* inffixed.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inffixed.h; path = ../../../src/zlib/src/inffixed.h; sourceTree = ""; }; + 4336662D17C56A2600D45AD9 /* inflate.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inflate.c; path = ../../../src/zlib/src/inflate.c; sourceTree = ""; }; + 4336662E17C56A2600D45AD9 /* inflate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inflate.h; path = ../../../src/zlib/src/inflate.h; sourceTree = ""; }; + 4336662F17C56A2600D45AD9 /* inftrees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = inftrees.c; path = ../../../src/zlib/src/inftrees.c; sourceTree = ""; }; + 4336663017C56A2600D45AD9 /* inftrees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = inftrees.h; path = ../../../src/zlib/src/inftrees.h; sourceTree = ""; }; + 4336663117C56A2600D45AD9 /* trees.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = trees.c; path = ../../../src/zlib/src/trees.c; sourceTree = ""; }; + 4336663217C56A2600D45AD9 /* trees.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = trees.h; path = ../../../src/zlib/src/trees.h; sourceTree = ""; }; + 4336663317C56A2600D45AD9 /* uncompr.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = uncompr.c; path = ../../../src/zlib/src/uncompr.c; sourceTree = ""; }; + 4336663517C56A2600D45AD9 /* zutil.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; name = zutil.c; path = ../../../src/zlib/src/zutil.c; sourceTree = ""; }; + 4336663617C56A2600D45AD9 /* zutil.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zutil.h; path = ../../../src/zlib/src/zutil.h; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 4336661317C56A0800D45AD9 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 4336660D17C56A0800D45AD9 = { + isa = PBXGroup; + children = ( + 4336661D17C56A1300D45AD9 /* src */, + 4336661717C56A0800D45AD9 /* Products */, + ); + sourceTree = ""; + }; + 4336661717C56A0800D45AD9 /* Products */ = { + isa = PBXGroup; + children = ( + 4336661617C56A0800D45AD9 /* libzlib.a */, + ); + name = Products; + sourceTree = ""; + }; + 4336661D17C56A1300D45AD9 /* src */ = { + isa = PBXGroup; + children = ( + 4336661E17C56A2600D45AD9 /* adler32.c */, + 4336661F17C56A2600D45AD9 /* compress.c */, + 4336662017C56A2600D45AD9 /* crc32.c */, + 4336662117C56A2600D45AD9 /* crc32.h */, + 4336662217C56A2600D45AD9 /* deflate.c */, + 4336662317C56A2600D45AD9 /* deflate.h */, + 4336662417C56A2600D45AD9 /* gzclose.c */, + 4336662517C56A2600D45AD9 /* gzguts.h */, + 4336662617C56A2600D45AD9 /* gzlib.c */, + 4336662717C56A2600D45AD9 /* gzread.c */, + 4336662817C56A2600D45AD9 /* gzwrite.c */, + 4336662917C56A2600D45AD9 /* infback.c */, + 4336662A17C56A2600D45AD9 /* inffast.c */, + 4336662B17C56A2600D45AD9 /* inffast.h */, + 4336662C17C56A2600D45AD9 /* inffixed.h */, + 4336662D17C56A2600D45AD9 /* inflate.c */, + 4336662E17C56A2600D45AD9 /* inflate.h */, + 4336662F17C56A2600D45AD9 /* inftrees.c */, + 4336663017C56A2600D45AD9 /* inftrees.h */, + 4336663117C56A2600D45AD9 /* trees.c */, + 4336663217C56A2600D45AD9 /* trees.h */, + 4336663317C56A2600D45AD9 /* uncompr.c */, + 4336663517C56A2600D45AD9 /* zutil.c */, + 4336663617C56A2600D45AD9 /* zutil.h */, + ); + name = src; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 4336661417C56A0800D45AD9 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336663A17C56A2600D45AD9 /* crc32.h in Headers */, + 4336663C17C56A2600D45AD9 /* deflate.h in Headers */, + 4336663E17C56A2600D45AD9 /* gzguts.h in Headers */, + 4336664417C56A2600D45AD9 /* inffast.h in Headers */, + 4336664517C56A2600D45AD9 /* inffixed.h in Headers */, + 4336664717C56A2600D45AD9 /* inflate.h in Headers */, + 4336664917C56A2600D45AD9 /* inftrees.h in Headers */, + 4336664B17C56A2600D45AD9 /* trees.h in Headers */, + 4336664E17C56A2600D45AD9 /* zutil.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 4336661517C56A0800D45AD9 /* zlib */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4336661A17C56A0800D45AD9 /* Build configuration list for PBXNativeTarget "zlib" */; + buildPhases = ( + 4336661217C56A0800D45AD9 /* Sources */, + 4336661317C56A0800D45AD9 /* Frameworks */, + 4336661417C56A0800D45AD9 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = zlib; + productName = zlib; + productReference = 4336661617C56A0800D45AD9 /* libzlib.a */; + productType = "com.apple.product-type.library.static"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 4336660E17C56A0800D45AD9 /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0460; + ORGANIZATIONNAME = "Cass Everitt"; + }; + buildConfigurationList = 4336661117C56A0800D45AD9 /* Build configuration list for PBXProject "zlib" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 4336660D17C56A0800D45AD9; + productRefGroup = 4336661717C56A0800D45AD9 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 4336661517C56A0800D45AD9 /* zlib */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 4336661217C56A0800D45AD9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 4336663717C56A2600D45AD9 /* adler32.c in Sources */, + 4336663817C56A2600D45AD9 /* compress.c in Sources */, + 4336663917C56A2600D45AD9 /* crc32.c in Sources */, + 4336663B17C56A2600D45AD9 /* deflate.c in Sources */, + 4336663D17C56A2600D45AD9 /* gzclose.c in Sources */, + 4336663F17C56A2600D45AD9 /* gzlib.c in Sources */, + 4336664017C56A2600D45AD9 /* gzread.c in Sources */, + 4336664117C56A2600D45AD9 /* gzwrite.c in Sources */, + 4336664217C56A2600D45AD9 /* infback.c in Sources */, + 4336664317C56A2600D45AD9 /* inffast.c in Sources */, + 4336664617C56A2600D45AD9 /* inflate.c in Sources */, + 4336664817C56A2600D45AD9 /* inftrees.c in Sources */, + 4336664A17C56A2600D45AD9 /* trees.c in Sources */, + 4336664C17C56A2600D45AD9 /* uncompr.c in Sources */, + 4336664D17C56A2600D45AD9 /* zutil.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 4336661817C56A0800D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../../src/zlib/include; + MACOSX_DEPLOYMENT_TARGET = 10.8; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = ""; + }; + name = Debug; + }; + 4336661917C56A0800D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_ENABLE_OBJC_EXCEPTIONS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ../../../src/zlib/include; + MACOSX_DEPLOYMENT_TARGET = 10.8; + SDKROOT = ""; + }; + name = Release; + }; + 4336661B17C56A0800D45AD9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 4336661C17C56A0800D45AD9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + EXECUTABLE_PREFIX = lib; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 4336661117C56A0800D45AD9 /* Build configuration list for PBXProject "zlib" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336661817C56A0800D45AD9 /* Debug */, + 4336661917C56A0800D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 4336661A17C56A0800D45AD9 /* Build configuration list for PBXNativeTarget "zlib" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 4336661B17C56A0800D45AD9 /* Debug */, + 4336661C17C56A0800D45AD9 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; +/* End XCConfigurationList section */ + }; + rootObject = 4336660E17C56A0800D45AD9 /* Project object */; +} diff --git a/build/regal.inc b/build/regal.inc index c363e8b..022b079 100644 --- a/build/regal.inc +++ b/build/regal.inc @@ -7,6 +7,7 @@ REGAL.CXX := REGAL.CXX += src/regal/RegalIff.cpp +REGAL.CXX += src/regal/RegalQuads.cpp REGAL.CXX += src/regal/Regal.cpp REGAL.CXX += src/regal/RegalLog.cpp REGAL.CXX += src/regal/RegalInit.cpp @@ -87,6 +88,7 @@ REGAL.H += src/regal/RegalHttp.h REGAL.H += src/regal/RegalJson.h REGAL.H += src/regal/RegalJson.inl REGAL.H += src/regal/RegalIff.h +REGAL.H += src/regal/RegalQuads.h REGAL.H += src/regal/RegalInit.h REGAL.H += src/regal/RegalLog.h REGAL.H += src/regal/RegalLookup.h diff --git a/build/win32/vs2010/Regal/Regal.vcxproj b/build/win32/vs2010/Regal/Regal.vcxproj index d1162d1..6eb01d4 100755 --- a/build/win32/vs2010/Regal/Regal.vcxproj +++ b/build/win32/vs2010/Regal/Regal.vcxproj @@ -316,6 +316,8 @@ + + diff --git a/build/win32/vs2010/Regal/Regallib.vcxproj b/build/win32/vs2010/Regal/Regallib.vcxproj index 77fdc0e..e89d2f0 100644 --- a/build/win32/vs2010/Regal/Regallib.vcxproj +++ b/build/win32/vs2010/Regal/Regallib.vcxproj @@ -316,6 +316,8 @@ + + diff --git a/build/win32/vs2010/Regal/Regalm.vcxproj b/build/win32/vs2010/Regal/Regalm.vcxproj index 7b28b8f..4c225b9 100644 --- a/build/win32/vs2010/Regal/Regalm.vcxproj +++ b/build/win32/vs2010/Regal/Regalm.vcxproj @@ -316,6 +316,8 @@ + + diff --git a/build/win32/vs2010/Regal/Regalmlib.vcxproj b/build/win32/vs2010/Regal/Regalmlib.vcxproj index 9e209a3..a20ddcb 100644 --- a/build/win32/vs2010/Regal/Regalmlib.vcxproj +++ b/build/win32/vs2010/Regal/Regalmlib.vcxproj @@ -316,6 +316,8 @@ + + diff --git a/doc/config/logging_app.json b/doc/config/logging_app.json new file mode 100644 index 0000000..8da1bb2 --- /dev/null +++ b/doc/config/logging_app.json @@ -0,0 +1,25 @@ +{ + "regal" : { + "logging" : { + "enable" : { + "error" : true, + "warning" : true, + "info" : true, + "app" : true, + "driver" : false, + "internal" : false, + "http" : false + }, + "maxLines" : -1, + "maxBytes" : -1, + "once" : true, + "frameTime" : true, + "frameStatistics" : true, + "pointers" : true, + "thread" : false, + "process" : false, + "callback" : false, + "log" : true + } + } +} diff --git a/doc/config/logging_default.json b/doc/config/logging_default.json new file mode 100644 index 0000000..f84bc51 --- /dev/null +++ b/doc/config/logging_default.json @@ -0,0 +1,25 @@ +{ + "regal" : { + "logging" : { + "enable" : { + "error" : true, + "warning" : true, + "info" : true, + "app" : false, + "driver" : false, + "internal" : false, + "http" : true + }, + "maxLines" : -1, + "maxBytes" : -1, + "once" : true, + "frameTime" : true, + "frameStatistics" : true, + "pointers" : true, + "thread" : false, + "process" : false, + "callback" : false, + "log" : true + } + } +} diff --git a/doc/config/logging_verbose.json b/doc/config/logging_verbose.json new file mode 100644 index 0000000..4c6c533 --- /dev/null +++ b/doc/config/logging_verbose.json @@ -0,0 +1,25 @@ +{ + "regal" : { + "logging" : { + "enable" : { + "error" : true, + "warning" : true, + "info" : true, + "app" : true, + "driver" : true, + "internal" : true, + "http" : true + }, + "maxLines" : -1, + "maxBytes" : -1, + "once" : true, + "frameTime" : true, + "frameStatistics" : true, + "pointers" : true, + "thread" : false, + "process" : false, + "callback" : false, + "log" : true + } + } +} diff --git a/examples/dreamtorus/osx/minimal_osx.xcodeproj/project.pbxproj b/examples/dreamtorus/osx/minimal_osx.xcodeproj/project.pbxproj index 417271b..bad8bfb 100644 --- a/examples/dreamtorus/osx/minimal_osx.xcodeproj/project.pbxproj +++ b/examples/dreamtorus/osx/minimal_osx.xcodeproj/project.pbxproj @@ -17,6 +17,12 @@ 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; 8D11072D0486CEB800E47090 /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.mm */; settings = {ATTRIBUTES = (); }; }; 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; + BC3A59B31804680000992687 /* libapitrace.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8ABB1804648500C68C71 /* libapitrace.a */; }; + BC3A59BA1804680400992687 /* libjsonsl.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8AC2180464A200C68C71 /* libjsonsl.a */; }; + BC3A59BB1804680800992687 /* libmd5.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8AC8180464B200C68C71 /* libmd5.a */; }; + BC3A59BC1804680B00992687 /* libmongoose.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8ACE180464C500C68C71 /* libmongoose.a */; }; + BC3A59BD1804680E00992687 /* libsnappy.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8AD4180464D700C68C71 /* libsnappy.a */; }; + BC3A59BE1804681100992687 /* libsquish.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BC9F8ADA180464F400C68C71 /* libsquish.a */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -27,6 +33,48 @@ remoteGlobalIDString = 43A6C1C615C48CD90063667E; remoteInfo = Regal; }; + BC9F8ABA1804648500C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8AB61804648400C68C71 /* apitrace.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 433667A917C56F3500D45AD9; + remoteInfo = apitrace; + }; + BC9F8AC1180464A200C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8ABD180464A200C68C71 /* jsonsl.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 4336679417C56EF900D45AD9; + remoteInfo = jsonsl; + }; + BC9F8AC7180464B200C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8AC3180464B100C68C71 /* md5.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 4336678117C56DFD00D45AD9; + remoteInfo = md5; + }; + BC9F8ACD180464C500C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8AC9180464C500C68C71 /* mongoose.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 4336676E17C56DC700D45AD9; + remoteInfo = mongoose; + }; + BC9F8AD3180464D700C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8ACF180464D700C68C71 /* snappy.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 4336665817C56AA300D45AD9; + remoteInfo = snappy; + }; + BC9F8AD9180464F400C68C71 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = BC9F8AD5180464F400C68C71 /* squish.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 4336667917C56B5200D45AD9; + remoteInfo = squish; + }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ @@ -50,6 +98,12 @@ 43E244C5133066AF0040E20D /* RegalView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RegalView.mm; sourceTree = ""; }; 8D1107310486CEB800E47090 /* minimal_osx-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "minimal_osx-Info.plist"; sourceTree = ""; }; 8D1107320486CEB800E47090 /* minimal_osx.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = minimal_osx.app; sourceTree = BUILT_PRODUCTS_DIR; }; + BC9F8AB61804648400C68C71 /* apitrace.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = apitrace.xcodeproj; path = ../../../build/mac/apitrace/apitrace.xcodeproj; sourceTree = ""; }; + BC9F8ABD180464A200C68C71 /* jsonsl.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = jsonsl.xcodeproj; path = ../../../build/mac/jsonsl/jsonsl.xcodeproj; sourceTree = ""; }; + BC9F8AC3180464B100C68C71 /* md5.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = md5.xcodeproj; path = ../../../build/mac/md5/md5.xcodeproj; sourceTree = ""; }; + BC9F8AC9180464C500C68C71 /* mongoose.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = mongoose.xcodeproj; path = ../../../build/mac/mongoose/mongoose.xcodeproj; sourceTree = ""; }; + BC9F8ACF180464D700C68C71 /* snappy.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = snappy.xcodeproj; path = ../../../build/mac/snappy/snappy.xcodeproj; sourceTree = ""; }; + BC9F8AD5180464F400C68C71 /* squish.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = squish.xcodeproj; path = ../../../build/mac/squish/squish.xcodeproj; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -57,6 +111,12 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + BC3A59BE1804681100992687 /* libsquish.a in Frameworks */, + BC3A59BD1804680E00992687 /* libsnappy.a in Frameworks */, + BC3A59BC1804680B00992687 /* libmongoose.a in Frameworks */, + BC3A59BB1804680800992687 /* libmd5.a in Frameworks */, + BC3A59BA1804680400992687 /* libjsonsl.a in Frameworks */, + BC3A59B31804680000992687 /* libapitrace.a in Frameworks */, 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, 431D3C0815C9B648009DD04F /* libRegal.a in Frameworks */, ); @@ -95,6 +155,12 @@ isa = PBXGroup; children = ( 431D3BFF15C9B635009DD04F /* Regal.xcodeproj */, + BC9F8AD5180464F400C68C71 /* squish.xcodeproj */, + BC9F8ACF180464D700C68C71 /* snappy.xcodeproj */, + BC9F8AC9180464C500C68C71 /* mongoose.xcodeproj */, + BC9F8AC3180464B100C68C71 /* md5.xcodeproj */, + BC9F8ABD180464A200C68C71 /* jsonsl.xcodeproj */, + BC9F8AB61804648400C68C71 /* apitrace.xcodeproj */, 29B97315FDCFA39411CA2CEA /* code */, 29B97317FDCFA39411CA2CEA /* Resources */, 29B97323FDCFA39411CA2CEA /* Frameworks */, @@ -148,6 +214,54 @@ name = Products; sourceTree = ""; }; + BC9F8AB71804648400C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8ABB1804648500C68C71 /* libapitrace.a */, + ); + name = Products; + sourceTree = ""; + }; + BC9F8ABE180464A200C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8AC2180464A200C68C71 /* libjsonsl.a */, + ); + name = Products; + sourceTree = ""; + }; + BC9F8AC4180464B100C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8AC8180464B200C68C71 /* libmd5.a */, + ); + name = Products; + sourceTree = ""; + }; + BC9F8ACA180464C500C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8ACE180464C500C68C71 /* libmongoose.a */, + ); + name = Products; + sourceTree = ""; + }; + BC9F8AD0180464D700C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8AD4180464D700C68C71 /* libsnappy.a */, + ); + name = Products; + sourceTree = ""; + }; + BC9F8AD6180464F400C68C71 /* Products */ = { + isa = PBXGroup; + children = ( + BC9F8ADA180464F400C68C71 /* libsquish.a */, + ); + name = Products; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -190,10 +304,34 @@ mainGroup = 29B97314FDCFA39411CA2CEA /* minimal_osx */; projectDirPath = ""; projectReferences = ( + { + ProductGroup = BC9F8AB71804648400C68C71 /* Products */; + ProjectRef = BC9F8AB61804648400C68C71 /* apitrace.xcodeproj */; + }, + { + ProductGroup = BC9F8ABE180464A200C68C71 /* Products */; + ProjectRef = BC9F8ABD180464A200C68C71 /* jsonsl.xcodeproj */; + }, + { + ProductGroup = BC9F8AC4180464B100C68C71 /* Products */; + ProjectRef = BC9F8AC3180464B100C68C71 /* md5.xcodeproj */; + }, + { + ProductGroup = BC9F8ACA180464C500C68C71 /* Products */; + ProjectRef = BC9F8AC9180464C500C68C71 /* mongoose.xcodeproj */; + }, { ProductGroup = 431D3C0015C9B635009DD04F /* Products */; ProjectRef = 431D3BFF15C9B635009DD04F /* Regal.xcodeproj */; }, + { + ProductGroup = BC9F8AD0180464D700C68C71 /* Products */; + ProjectRef = BC9F8ACF180464D700C68C71 /* snappy.xcodeproj */; + }, + { + ProductGroup = BC9F8AD6180464F400C68C71 /* Products */; + ProjectRef = BC9F8AD5180464F400C68C71 /* squish.xcodeproj */; + }, ); projectRoot = ""; targets = ( @@ -210,6 +348,48 @@ remoteRef = 431D3C0615C9B636009DD04F /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + BC9F8ABB1804648500C68C71 /* libapitrace.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libapitrace.a; + remoteRef = BC9F8ABA1804648500C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + BC9F8AC2180464A200C68C71 /* libjsonsl.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libjsonsl.a; + remoteRef = BC9F8AC1180464A200C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + BC9F8AC8180464B200C68C71 /* libmd5.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libmd5.a; + remoteRef = BC9F8AC7180464B200C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + BC9F8ACE180464C500C68C71 /* libmongoose.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libmongoose.a; + remoteRef = BC9F8ACD180464C500C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + BC9F8AD4180464D700C68C71 /* libsnappy.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libsnappy.a; + remoteRef = BC9F8AD3180464D700C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + BC9F8ADA180464F400C68C71 /* libsquish.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libsquish.a; + remoteRef = BC9F8AD9180464F400C68C71 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; /* End PBXReferenceProxy section */ /* Begin PBXResourcesBuildPhase section */ diff --git a/scripts/EmuGetString.py b/scripts/EmuGetString.py index d263b60..f14b93a 100644 --- a/scripts/EmuGetString.py +++ b/scripts/EmuGetString.py @@ -6,7 +6,7 @@ formulae = { 'impl' : ''' // Regal interceptions RegalAssert(_context->emuInfo); -switch (name) +switch (name) { case GL_VENDOR: return reinterpret_cast(_context->emuInfo->vendor.c_str()); case GL_RENDERER: return reinterpret_cast(_context->emuInfo->renderer.c_str()); diff --git a/scripts/EmuMarker.py b/scripts/EmuMarker.py index a6b3b27..3c4a1cb 100644 --- a/scripts/EmuMarker.py +++ b/scripts/EmuMarker.py @@ -11,7 +11,9 @@ formulaeGlobal = { 'Insert' : { 'entries' : [ 'glInsertEventMarkerEXT' ], 'cond' : '_context->info->gl_ext_debug_marker', - 'prefix' : 'std::string _message = Marker::toStringEXT(length, marker);', + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringEXT(length,marker,maxLength);''', 'impl' : ''' if (_context->marker) _context->marker->InsertEventMarker(*_context, _message); @@ -21,7 +23,9 @@ RegalAssert(_context->info);''' 'Push' : { 'entries' : [ 'glPushGroupMarkerEXT' ], 'cond' : '_context->info->gl_ext_debug_marker', - 'prefix' : [ 'std::string _message = Marker::toStringEXT(length, marker);' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringEXT(length,marker,maxLength);''', 'impl' : 'RegalAssert(_context->info);', 'suffix' : ''' if (_context->marker) @@ -47,7 +51,9 @@ if (_context && _context->marker) 'KHR_debug Push' : { 'entries' : [ 'glPushDebugGroup' ], 'cond' : '_context->info->gl_khr_debug', - 'prefix' : [ 'std::string _message = Marker::toStringKHR(length, message);' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringKHR(length,message,maxLength);''', 'impl' : [ 'RegalAssert(_context->info);' ], 'suffix' : [ 'if (_context->marker)', ' _context->marker->PushGroupMarker(*_context, _message);' ] @@ -63,7 +69,9 @@ if (_context && _context->marker) 'KHR_debug Insert' : { 'entries' : [ 'glDebugMessageInsert' ], 'cond' : '_context->info->gl_khr_debug', - 'prefix' : [ 'std::string _message = Marker::toStringKHR(length, buf);' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringKHR(length,buf,maxLength);''', 'impl' : [ 'if (_context->marker)', ' _context->marker->InsertEventMarker(*_context, _message);', 'RegalAssert(_context->info);' ] @@ -77,7 +85,9 @@ if (_context && _context->marker) 'ARB_debug_output Insert' : { 'entries' : [ 'glDebugMessageInsertARB' ], 'cond' : '_context->info->gl_arb_debug_output', - 'prefix' : [ 'std::string _message = Marker::toStringEXT(length, buf);' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringEXT(length,buf,maxLength);''', 'impl' : [ 'if (_context->marker)', ' _context->marker->InsertEventMarker(*_context, _message);', 'RegalAssert(_context->info);' ] @@ -91,7 +101,9 @@ if (_context && _context->marker) 'AMD_debug_output Insert' : { 'entries' : [ 'glDebugMessageInsertAMD' ], 'cond' : '_context->info->gl_amd_debug_output', - 'prefix' : [ 'std::string _message = Marker::toStringEXT(length, buf);' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringEXT(length,buf,maxLength);''', 'impl' : [ 'if (_context->marker)', ' _context->marker->InsertEventMarker(*_context, _message);', 'RegalAssert(_context->info);' ] @@ -102,7 +114,9 @@ if (_context && _context->marker) 'GL_GREMEDY_string_marker' : { 'entries' : [ 'glStringMarkerGREMEDY' ], 'cond' : '_context->info->gl_gremedy_string_marker', - 'prefix' : [ 'std::string _message = Marker::toStringEXT(len, static_cast(string));' ], + 'prefix' : ''' +const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; +const std::string _message = Marker::toStringEXT(len,static_cast(string),maxLength);''', 'impl' : [ 'if (_context->marker)', ' _context->marker->InsertEventMarker(*_context, _message);', 'RegalAssert(_context->info);' ] diff --git a/scripts/EmuQuads.py b/scripts/EmuQuads.py new file mode 100644 index 0000000..2138473 --- /dev/null +++ b/scripts/EmuQuads.py @@ -0,0 +1,28 @@ +#!/usr/bin/python -B + +quadsFormulae = { + 'PolygonMode' : { + 'entries' : [ 'glPolygonMode' ], + 'prefix' : [ '_context->quads->glPolygonMode( ${arg0plus} );', ], + }, + 'ShadeModel' : { + 'entries' : [ 'glShadeModel' ], + 'prefix' : [ '_context->quads->glShadeModel( ${arg0plus} );', ], + }, + 'ProvokingVertex' : { + 'entries' : [ 'glProvokingVertex(EXT|)' ], + 'prefix' : [ '_context->quads->glProvokingVertex( ${arg0plus} );', ], + }, + 'quads' : { + 'entries' : [ 'glDrawArrays(EXT|)' ], + 'impl' : [ +''' +if ( ! _context->quads->glDrawArrays( _context, ${arg0plus} ) ) { + DispatchTableGL *_next = _context->dispatcher.emulation.next(); + RegalAssert(_next); + return _next->call(&_next->glDrawArrays)( ${arg0plus} ); +} +''' + ], + }, +} diff --git a/scripts/api/gl.py b/scripts/api/gl.py index f792662..c8fefe6 100644 --- a/scripts/api/gl.py +++ b/scripts/api/gl.py @@ -45912,6 +45912,7 @@ MAX_TEXTURE_COORDS = State('MAX_TEXTURE_COORDS', 'Zplus', 'glGetIntegerv', '8', MAX_COMBINED_TEXTURE_IMAGE_UNITS = State('MAX_COMBINED_TEXTURE_IMAGE_UNITS', 'Zplus', 'glGetIntegerv', '96', 'Total no. of texture units accessible by the GL', '11.1.3.5', '-') MAX_DRAW_BUFFERS = State('MAX_DRAW_BUFFERS', 'Zplus', 'glGetIntegerv', '8', 'Max no. of active draw buffers', '17.4.1', '-') MAX_VIEWPORTS = State('MAX_VIEWPORTS', 'Zplus', 'glGetIntegerv', '16', 'Max no. of active viewports', '13.6.1', '-') +MAX_DEBUG_MESSAGE_LENGTH = State('MAX_DEBUG_MESSAGE_LENGTH', 'Zplus', 'glGetIntegerv', '1024', 'Maximum length of a debug output message', '5.5.1', '-') gl.add(MAX_ATTRIB_STACK_DEPTH) gl.add(MAX_CLIENT_ATTRIB_STACK_DEPTH) @@ -45922,3 +45923,4 @@ gl.add(MAX_TEXTURE_COORDS) gl.add(MAX_COMBINED_TEXTURE_IMAGE_UNITS) gl.add(MAX_DRAW_BUFFERS) gl.add(MAX_VIEWPORTS) +gl.add(MAX_DEBUG_MESSAGE_LENGTH) diff --git a/scripts/regal/Regal.py b/scripts/regal/Regal.py index 111df3b..7c4cda5 100755 --- a/scripts/regal/Regal.py +++ b/scripts/regal/Regal.py @@ -125,7 +125,7 @@ extern "C" { #define CurrentTime 0L #define NoSymbol 0L -#define AllocNone 0 +#define AllocNone 0 #define AllocAll 1 #define InputOutput 1 @@ -148,30 +148,30 @@ extern "C" { #define CWCursor (1L<<14) #define NoEventMask 0L -#define KeyPressMask (1L<<0) -#define KeyReleaseMask (1L<<1) -#define ButtonPressMask (1L<<2) -#define ButtonReleaseMask (1L<<3) -#define EnterWindowMask (1L<<4) -#define LeaveWindowMask (1L<<5) -#define PointerMotionMask (1L<<6) -#define PointerMotionHintMask (1L<<7) -#define Button1MotionMask (1L<<8) -#define Button2MotionMask (1L<<9) -#define Button3MotionMask (1L<<10) -#define Button4MotionMask (1L<<11) -#define Button5MotionMask (1L<<12) -#define ButtonMotionMask (1L<<13) +#define KeyPressMask (1L<<0) +#define KeyReleaseMask (1L<<1) +#define ButtonPressMask (1L<<2) +#define ButtonReleaseMask (1L<<3) +#define EnterWindowMask (1L<<4) +#define LeaveWindowMask (1L<<5) +#define PointerMotionMask (1L<<6) +#define PointerMotionHintMask (1L<<7) +#define Button1MotionMask (1L<<8) +#define Button2MotionMask (1L<<9) +#define Button3MotionMask (1L<<10) +#define Button4MotionMask (1L<<11) +#define Button5MotionMask (1L<<12) +#define ButtonMotionMask (1L<<13) #define KeymapStateMask (1L<<14) -#define ExposureMask (1L<<15) -#define VisibilityChangeMask (1L<<16) -#define StructureNotifyMask (1L<<17) -#define ResizeRedirectMask (1L<<18) -#define SubstructureNotifyMask (1L<<19) -#define SubstructureRedirectMask (1L<<20) -#define FocusChangeMask (1L<<21) -#define PropertyChangeMask (1L<<22) -#define ColormapChangeMask (1L<<23) +#define ExposureMask (1L<<15) +#define VisibilityChangeMask (1L<<16) +#define StructureNotifyMask (1L<<17) +#define ResizeRedirectMask (1L<<18) +#define SubstructureNotifyMask (1L<<19) +#define SubstructureRedirectMask (1L<<20) +#define FocusChangeMask (1L<<21) +#define PropertyChangeMask (1L<<22) +#define ColormapChangeMask (1L<<23) #define OwnerGrabButtonMask (1L<<24) typedef XID Window; @@ -195,16 +195,16 @@ typedef struct { unsigned long background_pixel; Pixmap border_pixmap; unsigned long border_pixel; - int bit_gravity; - int win_gravity; - int backing_store; + int bit_gravity; + int win_gravity; + int backing_store; unsigned long backing_planes; unsigned long backing_pixel; Bool save_under; - long event_mask; + long event_mask; long do_not_propagate_mask; Bool override_redirect; - Colormap colormap; + Colormap colormap; Cursor cursor; } XSetWindowAttributes; @@ -478,7 +478,7 @@ def apiTypedefCode( apis, args ): return 'typedef %s;' % ( re.sub( '\(\s*\*\s*\)', '(*%s)' % name, type ) ) else: return'typedef %s %s;' % ( type, name ) - + code = '' for api in apis: code += '\n' diff --git a/scripts/regal/RegalContext.py b/scripts/regal/RegalContext.py index 3014ea1..92cde7a 100755 --- a/scripts/regal/RegalContext.py +++ b/scripts/regal/RegalContext.py @@ -30,6 +30,7 @@ from EmuSo import soFormulae from EmuPpca import ppcaFormulae from EmuPpa import ppaFormulae from EmuIff import iffFormulae +from EmuQuads import quadsFormulae from EmuBin import binFormulae from EmuObj import objFormulae from EmuFilter import formulae as filterFormulae @@ -76,6 +77,7 @@ emu = [ { 'type' : 'Emu::BaseVertex', 'include' : 'RegalBaseVertex.h', 'member' : 'bv', 'plugin' : False, 'forced' : 'Config::forceEmuBaseVertex || REGAL_FORCE_EMU_BASEVERTEX', 'conditional' : 'Config::enableEmuBaseVertex', 'ifdef' : 'REGAL_EMU_BASEVERTEX', 'formulae' : baseVertexFormulae }, { 'type' : 'Emu::Rect', 'include' : 'RegalRect.h', 'member' : 'rect', 'plugin' : False, 'forced' : 'Config::forceEmuRect || REGAL_FORCE_EMU_RECT', 'conditional' : 'Config::enableEmuRect ', 'ifdef' : 'REGAL_EMU_RECT', 'formulae' : rectFormulae }, { 'type' : 'Emu::Iff', 'include' : 'RegalIff.h', 'member' : 'iff', 'plugin' : False, 'forced' : 'Config::forceEmuIff || REGAL_FORCE_EMU_IFF', 'conditional' : 'Config::enableEmuIff ', 'ifdef' : 'REGAL_EMU_IFF', 'formulae' : iffFormulae }, + { 'type' : 'Emu::Quads', 'include' : 'RegalQuads.h', 'member' : 'quads', 'plugin' : False, 'forced' : 'Config::forceEmuQuads || REGAL_FORCE_EMU_QUADS', 'conditional' : 'Config::enableEmuQuads ', 'ifdef' : 'REGAL_EMU_QUADS', 'formulae' : quadsFormulae }, { 'type' : 'Emu::So', 'include' : 'RegalSo.h', 'member' : 'so', 'plugin' : False, 'forced' : 'Config::forceEmuSo || REGAL_FORCE_EMU_SO', 'conditional' : 'Config::enableEmuSo ', 'ifdef' : 'REGAL_EMU_SO', 'formulae' : soFormulae }, { 'type' : 'Emu::Dsa', 'include' : 'RegalDsa.h', 'member' : 'dsa', 'plugin' : False, 'forced' : 'Config::forceEmuDsa || REGAL_FORCE_EMU_OBJ', 'conditional' : 'Config::enableEmuDsa ', 'ifdef' : 'REGAL_EMU_DSA', 'formulae' : dsaFormulae }, { 'type' : 'Emu::Vao', 'include' : 'RegalVao.h', 'member' : 'vao', 'plugin' : False, 'forced' : 'Config::forceEmuVao || REGAL_FORCE_EMU_DSA', 'conditional' : 'Config::enableEmuVao ', 'ifdef' : 'REGAL_EMU_VAO', 'formulae' : vaoFormulae }, @@ -344,7 +346,7 @@ ${EMULATION_FORCED} enableEmuDsa = false; // Vao needs Iff - + if (!enableEmuIff) enableEmuVao = false; @@ -367,7 +369,7 @@ ${EMULATION_FORCED} ${EMULATION_ENABLED} // Enable emulation except for fully featured compatibility contexts - + const bool enableEmulation = Config::enableEmulation && (isCore() || isES2() || (isCompat() && !info->gl_ext_direct_state_access)); #if !REGAL_FORCE_EMULATION @@ -627,7 +629,7 @@ def generateContextSource(apis, args): init += 'emuLevel = %d;\n' % ( int(emu[revi]['level']) - 1) init += '%s->Init(*this);\n' % emu[revi]['member'] emuMemberInit += indent(wrapIf(emu[revi]['ifdef'],wrapCIf('enableEmu%s || forceEmu%s'%(capwords(emu[revi]['member']),capwords(emu[revi]['member'])),init)),' ') - + # Force emulation layers emuEmulationForced += '\n' @@ -664,5 +666,5 @@ def generateContextSource(apis, args): substitute['EMU_MEMBER_CLEANUP'] = emuMemberCleanup substitute['EMULATION_FORCED'] = emuEmulationForced substitute['EMULATION_ENABLED'] = emuEmulationEnabled - + outputCode( '%s/RegalContext.cpp' % args.srcdir, contextSourceTemplate.substitute(substitute)) diff --git a/scripts/regal/RegalContextInfo.py b/scripts/regal/RegalContextInfo.py index f53acad..a69fd6a 100755 --- a/scripts/regal/RegalContextInfo.py +++ b/scripts/regal/RegalContextInfo.py @@ -84,10 +84,10 @@ using namespace std; #include using namespace boost::print; +#include "RegalEmu.h" #include "RegalToken.h" #include "RegalContext.h" #include "RegalContextInfo.h" -#include "RegalEmu.h" REGAL_GLOBAL_END @@ -117,9 +117,20 @@ inline string getString(const RegalContext &context, const GLenum e) return str ? string(reinterpret_cast(str)) : string(); } +inline void warnGLError(const RegalContext &context, const char *message) +{ + Internal("warnGLError ",message ? message : NULL); + RegalAssert(context.dispatcher.driver.glGetError); + GLenum err = context.dispatcher.driver.glGetError(); + if (err!=GL_NO_ERROR) + Warning("glGetError returned ",GLerrorToString(err)," ",message ? message : NULL); +} + void ContextInfo::init(const RegalContext &context) { + warnGLError(context,"before Regal context initialization."); + // OpenGL Version. vendor = getString(context, GL_VENDOR); @@ -203,9 +214,9 @@ ContextInfo::init(const RegalContext &context) } #endif - // Detect core context + // Detect core context for GL 3.2 onwards - if (!es1 && !es2 && gl_version_major>=3) + if (!es1 && !es2 && (gl_version_major>3 || gl_version_major==3 && gl_version_minor>=2)) { GLint flags = 0; RegalAssert(context.dispatcher.driver.glGetIntegerv); @@ -279,10 +290,13 @@ ${VERSION_DETECT} ${EXT_INIT} RegalAssert(context.dispatcher.driver.glGetIntegerv); + RegalAssert(context.dispatcher.driver.glGetBooleanv); ${IMPL_GET} Info("OpenGL v attribs : ",gl_max_vertex_attribs); Info("OpenGL varyings : ",gl_max_varying_floats); + + warnGLError(context,"querying context information."); } bool @@ -467,6 +481,8 @@ def implDeclareCode(apis, args): code += '\n' code += ' GLuint gl_max_varying_floats;\n' + code += '\n' + code += ' GLboolean gl_quads_follow_provoking_vertex_convention;\n' return code @@ -485,7 +501,8 @@ def implInitCode(apis, args): for state in sorted(states): code += ' gl_%s(0),\n' % (state) - code += ' gl_max_varying_floats(0)\n' + code += ' gl_max_varying_floats(0),\n' + code += ' gl_quads_follow_provoking_vertex_convention(GL_FALSE)\n' return code @@ -495,6 +512,7 @@ def implGetCode(apis, args): gl_max_attrib_stack_depth = 0; gl_max_client_attrib_stack_depth = 0; gl_max_combined_texture_image_units = 0; + gl_max_debug_message_length = 1024; gl_max_draw_buffers = 0; gl_max_texture_coords = 0; gl_max_texture_units = 0; @@ -523,7 +541,7 @@ def implGetCode(apis, args): context.dispatcher.driver.glGetIntegerv( GL_MAX_ATTRIB_STACK_DEPTH, reinterpret_cast(&gl_max_attrib_stack_depth)); context.dispatcher.driver.glGetIntegerv( GL_MAX_CLIENT_ATTRIB_STACK_DEPTH, reinterpret_cast(&gl_max_client_attrib_stack_depth)); } - + if (!es1) context.dispatcher.driver.glGetIntegerv( GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, reinterpret_cast(&gl_max_combined_texture_image_units)); @@ -551,6 +569,16 @@ def implGetCode(apis, args): if ((core || compat) && (gl_version_4_1 || gl_arb_viewport_array)) context.dispatcher.driver.glGetIntegerv( GL_MAX_VIEWPORTS, reinterpret_cast(&gl_max_viewports)); + + if (gl_arb_debug_output) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH_ARB, reinterpret_cast(&gl_max_debug_message_length)); + else if (gl_khr_debug) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH, reinterpret_cast(&gl_max_debug_message_length)); + else if (gl_amd_debug_output) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH_AMD, reinterpret_cast(&gl_max_debug_message_length)); + + if ((compat) && (gl_version_3_2 || gl_arb_provoking_vertex || gl_ext_provoking_vertex)) + context.dispatcher.driver.glGetBooleanv( GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION, &gl_quads_follow_provoking_vertex_convention); ''' return code @@ -584,7 +612,7 @@ def originalImplGetCode(apis, args): code += ' context.dispatcher.driver.glGetIntegerv( GL_%s, reinterpret_cast(&gl_%s));\n' % (state, state.lower()) code += ''' - if (gl_version_4_3 || gl_arb_vertex_attrib_binding) + if (gl_version_4_3 || gl_arb_vertex_attrib_binding) context.dispatcher.driver.glGetIntegerv( GL_MAX_VERTEX_ATTRIB_BINDINGS, reinterpret_cast(&gl_max_vertex_attrib_bindings)); else gl_max_vertex_attrib_bindings = 0; diff --git a/scripts/regal/RegalDispatchEmu.py b/scripts/regal/RegalDispatchEmu.py index f78291c..a2e2e0f 100755 --- a/scripts/regal/RegalDispatchEmu.py +++ b/scripts/regal/RegalDispatchEmu.py @@ -384,6 +384,7 @@ def generateEmuSource(apis, args): #include "RegalRect.h" #include "RegalHint.h" #include "RegalIff.h" +#include "RegalQuads.h" #include "RegalMarker.h" #include "RegalObj.h" #include "RegalDsa.h" diff --git a/scripts/regal/RegalDispatchLoader.py b/scripts/regal/RegalDispatchLoader.py index 890e950..e2165d9 100755 --- a/scripts/regal/RegalDispatchLoader.py +++ b/scripts/regal/RegalDispatchLoader.py @@ -54,7 +54,7 @@ ${LOCAL_CODE} RegalAssert(_context); return _context->dispatcher.driver; } - + static void _getProcAddress(void (**func)(), void (*funcRegal)(), const char *name) { GetProcAddress(*func, name); diff --git a/scripts/regal/RegalDispatchShared.py b/scripts/regal/RegalDispatchShared.py index 3911177..aa5df56 100644 --- a/scripts/regal/RegalDispatchShared.py +++ b/scripts/regal/RegalDispatchShared.py @@ -134,7 +134,7 @@ void InitDispatchTableGlobal%s%s(DispatchTableGlobal &tbl) void Init(DispatchTableGlobal &tbl) { ''' - + for api in apis: code += '\n' diff --git a/scripts/regal/RegalDispatchTraceExclude.py b/scripts/regal/RegalDispatchTraceExclude.py index 889ac48..a109367 100644 --- a/scripts/regal/RegalDispatchTraceExclude.py +++ b/scripts/regal/RegalDispatchTraceExclude.py @@ -2,7 +2,7 @@ exclude = [ 'glFramebufferTextureFace', 'glClearNamedBufferSubDataEXT', - + 'glMatrixIndexPointerOES', 'glWeightPointerOES', @@ -16,16 +16,16 @@ exclude = [ 'glMultiTexImage1DEXT', 'glMultiTexImage2DEXT', 'glMultiTexImage3DEXT', - + 'GL_AMD_stencil_operation_extended', 'GL_ARB_cl_event', - + 'GL_QCOM_alpha_test', 'GL_QCOM_extended_get', 'GL_QCOM_extended_get2', 'GL_QCOM_driver_control', 'GL_QCOM_tiled_rendering', - + 'GL_ANGLE_instanced_arrays', 'GL_ANGLE_translated_shader_source', 'GL_ANGLE_timer_query', @@ -35,7 +35,7 @@ exclude = [ 'GL_NV_bindless_texture', 'GL_NV_draw_texture', - + 'GL_EXT_fragment_lighting', 'GL_EXT_map_buffer_range', 'GL_EXT_multiview_draw_buffers', @@ -46,14 +46,14 @@ exclude = [ 'GL_EXT_multisampled_render_to_texture', 'GL_INTEL_texture_scissor', - + 'GL_NVX_conditional_render', - + 'GL_NV_framebuffer_blit', 'GL_NV_vdpau_interop', 'GL_OES_single_precision', - + # 'GL_EXT_pixel_transform', 'glGetPixelTransformParameterfvEXT', 'glGetPixelTransformParameterivEXT', @@ -62,17 +62,17 @@ exclude = [ 'GL_NV_non_square_matrices', 'GL_NV_copy_buffer', - + 'GL_REGAL_log', 'GL_SGIX_fog_texture', 'GL_SUN_read_video_pixels', - + 'EGL_KHR_stream_consumer_gltexture', 'EGL_KHR_stream_cross_process_fd', 'EGL_KHR_stream_producer_eglsurface', 'EGL_KHR_wait_sync', 'EGL_NV_coverage_sample', - + 'glXDeleteAssociatedContextAMD', 'glXCreateAssociatedContextAttribsAMD', 'glXMakeAssociatedContextCurrentAMD', @@ -101,13 +101,13 @@ exclude = [ 'wglGetPixelFormatAttribfvEXT', 'wglGetPixelFormatAttribivEXT', 'wglEnumGpuDevicesNV', - + # https://github.com/apitrace/apitrace/pull/130 'glTextureImage1DEXT', 'glTextureImage2DEXT', 'glTextureImage3DEXT', - + # GL 4.4 and new extensions not in apitrace yet 'GL_ARB_multi_bind', @@ -118,7 +118,7 @@ exclude = [ 'GL_ARB_clear_texture', 'GL_ARB_compute_variable_group_size', 'GL_ARB_indirect_parameters', - 'GL_ARB_sparse_texture', + 'GL_ARB_sparse_texture', 'GL_INTEL_map_texture', 'GL_NV_blend_equation_advanced', diff --git a/scripts/regal/RegalPlugin.py b/scripts/regal/RegalPlugin.py index 0e8ae32..f090d9e 100755 --- a/scripts/regal/RegalPlugin.py +++ b/scripts/regal/RegalPlugin.py @@ -126,7 +126,7 @@ def generatePluginSource(apis, args): tmp = [] names = [] - for j in i.functions: + for j in i.functions: if getattr(j,'regalOnly',False): continue names.append(j.name) @@ -141,7 +141,7 @@ def generatePluginSource(apis, args): code2 += '\n' + indent(tmp,' ') # glGetProcAddress - + code3 = ''' using namespace ::REGAL_NAMESPACE_INTERNAL::Lookup; using namespace ::REGAL_NAMESPACE_INTERNAL::Plugin; @@ -153,7 +153,7 @@ def generatePluginSource(apis, args): ''' for i in apis: - tmp = ' res = (const char **) std::bsearch(&name, %s, %d, sizeof(const char *), NameCmp);\n'%('lookup_%s_Name'%i.name,size[i.name]-1) + tmp = ' res = (const char **) std::bsearch(&name, %s, %d, sizeof(const char *), NameCmp);\n'%('lookup_%s_Name'%i.name,size[i.name]-1) tmp += ' if (res) return const_cast(%s[(size_t) (res - %s)]);\n'%('lookup_%s_Value'%i.name,'lookup_%s_Name'%i.name) if i.name in cond: tmp = wrapIf(cond[i.name], tmp) diff --git a/scripts/regal/RegalToken.py b/scripts/regal/RegalToken.py index 3d42430..0390037 100755 --- a/scripts/regal/RegalToken.py +++ b/scripts/regal/RegalToken.py @@ -330,6 +330,7 @@ def generateTokenSource(apis, args): code = [] code.append(' const char * GLenumToString( GLenum e ) {') + code.append(' #if REGAL_ENUM_TO_STRING') code.append(' switch( e ) {') for i in apis: @@ -366,13 +367,15 @@ def generateTokenSource(apis, args): code.append(' default: break;') code.append(' }') - code.append(' return "unknown_gl_enum";') + code.append(' #endif // REGAL_ENUM_TO_STRING') + code.append(' return "unknown_gl_enum";') code.append(' }') # GLerrorToString code.append('') code.append(' const char * GLerrorToString( GLenum e ) {') + code.append(' #if REGAL_ENUM_TO_STRING') code.append(' switch( e ) {') for i in apis: if i.name != 'gl': @@ -385,7 +388,8 @@ def generateTokenSource(apis, args): code.append(' case %s: return "%s";'%(k.name,k.gluErrorString)) code.append(' default: break;') code.append(' }') - code.append(' return NULL;') + code.append(' #endif // REGAL_ENUM_TO_STRING') + code.append(' return NULL;') code.append(' }') # GLX_VERSION @@ -393,6 +397,7 @@ def generateTokenSource(apis, args): code.append('') code.append('#if REGAL_SYS_GLX') code.append(' const char * GLXenumToString(int v) {') + code.append(' #if REGAL_ENUM_TO_STRING') code.append(' switch( v ) {') for i in apis: @@ -424,6 +429,7 @@ def generateTokenSource(apis, args): code.append(' default: break;') code.append(' }') + code.append(' #endif // REGAL_ENUM_TO_STRING') code.append(' return "unknown_glx_enum";') code.append(' }') code.append('#endif // REGAL_SYS_GLX') @@ -433,6 +439,7 @@ def generateTokenSource(apis, args): code.append('') code.append('#if REGAL_SYS_EGL') code.append(' const char * EGLenumToString(int v) {') + code.append(' #if REGAL_ENUM_TO_STRING') code.append(' switch( v ) {') for i in apis: @@ -469,6 +476,7 @@ def generateTokenSource(apis, args): code.append(' default: break;') code.append(' }') + code.append(' #endif // REGAL_ENUM_TO_STRING') code.append(' return "unknown_egl_enum";') code.append(' }') code.append('#endif // REGAL_SYS_EGL') diff --git a/src/regal/Regal.cpp b/src/regal/Regal.cpp index fce3930..8d7c356 100644 --- a/src/regal/Regal.cpp +++ b/src/regal/Regal.cpp @@ -6605,7 +6605,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glDebugMessageInsertAMD(GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringEXT(length, buf); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringEXT(length,buf,maxLength); App("glDebugMessageInsertAMD","(", toString(category), ", ", toString(severity), ", ", id, ", ", length, ", ", boost::print::quote(buf,'"'), ")"); if (!_context) return; if (_context->marker) @@ -8052,7 +8054,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glDebugMessageInsertARB(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringEXT(length, buf); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringEXT(length,buf,maxLength); App("glDebugMessageInsertARB","(", toString(source), ", ", toString(type), ", ", id, ", ", toString(severity), ", ", length, ", ", boost::print::quote(buf,'"'), ")"); if (!_context) return; if (_context->marker) @@ -15369,7 +15373,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringEXT(length, marker); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringEXT(length,marker,maxLength); App("glInsertEventMarkerEXT","(", length, ", ", boost::print::quote(marker,'"'), ")"); if (!_context) return; @@ -15404,7 +15410,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringEXT(length, marker); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringEXT(length,marker,maxLength); App("glPushGroupMarkerEXT","(", length, ", ", boost::print::quote(marker,'"'), ")"); if (!_context) return; RegalAssert(_context->info); @@ -20510,7 +20518,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glStringMarkerGREMEDY(GLsizei len, const GLvoid *string) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringEXT(len, static_cast(string)); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringEXT(len,static_cast(string),maxLength); App("glStringMarkerGREMEDY","(", len, ", ", boost::print::optional(string,Logging::pointers), ")"); if (!_context) return; if (_context->marker) @@ -20845,7 +20855,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glDebugMessageInsert(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringKHR(length, buf); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringKHR(length,buf,maxLength); App("glDebugMessageInsert","(", toString(source), ", ", toString(type), ", ", id, ", ", toString(severity), ", ", length, ", ", boost::print::quote(buf,'"'), ")"); if (!_context) return; if (_context->marker) @@ -20928,7 +20940,9 @@ extern "C" { REGAL_DECL void REGAL_CALL glPushDebugGroup(GLenum source, GLuint id, GLsizei length, const GLchar *message) { RegalContext *_context = REGAL_GET_CONTEXT(); - std::string _message = Marker::toStringKHR(length, message); + + const GLsizei maxLength = _context && _context->emuInfo ? _context->emuInfo->gl_max_debug_message_length : 1024; + const std::string _message = Marker::toStringKHR(length,message,maxLength); App("glPushDebugGroup","(", toString(source), ", ", id, ", ", length, ", ", boost::print::quote(message,'"'), ")"); if (!_context) return; RegalAssert(_context->info); diff --git a/src/regal/RegalClientState.h b/src/regal/RegalClientState.h index bbaa55b..d778174 100644 --- a/src/regal/RegalClientState.h +++ b/src/regal/RegalClientState.h @@ -1672,7 +1672,7 @@ namespace ClientState s = 15 * f; break; default: - RegalAssert( !"unhandled format value" ); + Warning( "Unhandled format value. format = 0x", hex(format), " (", Token::GLenumToString(format), ")"); return; } diff --git a/src/regal/RegalConfig.cpp b/src/regal/RegalConfig.cpp index 3f67cac..95a2354 100644 --- a/src/regal/RegalConfig.cpp +++ b/src/regal/RegalConfig.cpp @@ -84,6 +84,7 @@ namespace Config { bool enableEmuRect = REGAL_EMU_RECT; bool enableEmuBaseVertex = REGAL_EMU_BASEVERTEX; bool enableEmuIff = REGAL_EMU_IFF; + bool enableEmuQuads = REGAL_EMU_QUADS; bool enableEmuSo = REGAL_EMU_SO; bool enableEmuVao = REGAL_EMU_VAO; bool enableEmuFilter = REGAL_EMU_FILTER; @@ -101,6 +102,7 @@ namespace Config { bool forceEmuRect = REGAL_FORCE_EMU_RECT; bool forceEmuBaseVertex = REGAL_FORCE_EMU_BASEVERTEX; bool forceEmuIff = REGAL_FORCE_EMU_IFF; + bool forceEmuQuads = REGAL_FORCE_EMU_QUADS; bool forceEmuSo = REGAL_FORCE_EMU_SO; bool forceEmuVao = REGAL_FORCE_EMU_VAO; bool forceEmuFilter = REGAL_FORCE_EMU_FILTER; @@ -231,6 +233,7 @@ namespace Config { getEnv( "REGAL_EMU_RECT", enableEmuRect, REGAL_EMU_RECT); getEnv( "REGAL_EMU_BASEVERTEX", enableEmuBaseVertex, REGAL_EMU_BASEVERTEX ); getEnv( "REGAL_EMU_IFF", enableEmuIff, REGAL_EMU_IFF); + getEnv( "REGAL_EMU_QUADS", enableEmuQuads, REGAL_EMU_QUADS); getEnv( "REGAL_EMU_SO", enableEmuSo, REGAL_EMU_SO); getEnv( "REGAL_EMU_VAO", enableEmuVao, REGAL_EMU_VAO); getEnv( "REGAL_EMU_TEXC", enableEmuTexC, REGAL_EMU_TEXC); @@ -248,6 +251,7 @@ namespace Config { getEnv( "REGAL_FORCE_EMU_RECT", forceEmuRect, REGAL_EMU_RECT && !REGAL_FORCE_EMU_RECT); getEnv( "REGAL_FORCE_EMU_BASEVERTEX", forceEmuBaseVertex, REGAL_EMU_BASEVERTEX && !REGAL_FORCE_EMU_BASEVERTEX); getEnv( "REGAL_FORCE_EMU_IFF", forceEmuIff, REGAL_EMU_IFF && !REGAL_FORCE_EMU_IFF); + getEnv( "REGAL_FORCE_EMU_QUADS", forceEmuQuads, REGAL_EMU_QUADS && !REGAL_FORCE_EMU_QUADS); getEnv( "REGAL_FORCE_EMU_SO", forceEmuSo, REGAL_EMU_SO && !REGAL_FORCE_EMU_SO); getEnv( "REGAL_FORCE_EMU_VAO", forceEmuVao, REGAL_EMU_VAO && !REGAL_FORCE_EMU_VAO); getEnv( "REGAL_FORCE_EMU_TEXC", forceEmuTexC, REGAL_EMU_TEXC && !REGAL_FORCE_EMU_TEXC); @@ -370,6 +374,7 @@ namespace Config { Info("REGAL_EMU_RECT ", enableEmuRect ? "enabled" : "disabled"); Info("REGAL_EMU_BASEVERTEX ", enableEmuBaseVertex ? "enabled" : "disabled"); Info("REGAL_EMU_IFF ", enableEmuIff ? "enabled" : "disabled"); + Info("REGAL_EMU_QUADS ", enableEmuQuads ? "enabled" : "disabled"); Info("REGAL_EMU_SO ", enableEmuSo ? "enabled" : "disabled"); Info("REGAL_EMU_VAO ", enableEmuVao ? "enabled" : "disabled"); Info("REGAL_EMU_FILTER ", enableEmuFilter ? "enabled" : "disabled"); @@ -387,6 +392,7 @@ namespace Config { Info("REGAL_FORCE_EMU_RECT ", forceEmuRect ? "enabled" : "disabled"); Info("REGAL_FORCE_EMU_BASEVERTEX", forceEmuBaseVertex ? "enabled" : "disabled"); Info("REGAL_FORCE_EMU_IFF ", forceEmuIff ? "enabled" : "disabled"); + Info("REGAL_FORCE_EMU_QUADS ", forceEmuQuads ? "enabled" : "disabled"); Info("REGAL_FORCE_EMU_SO ", forceEmuSo ? "enabled" : "disabled"); Info("REGAL_FORCE_EMU_VAO ", forceEmuVao ? "enabled" : "disabled"); Info("REGAL_FORCE_EMU_FILTER ", forceEmuFilter ? "enabled" : "disabled"); @@ -475,6 +481,7 @@ namespace Config { jo.member("rect", enableEmuRect); jo.member("bv", enableEmuBaseVertex); jo.member("iff", enableEmuIff); + jo.member("quads", enableEmuQuads); jo.member("so", enableEmuSo); jo.member("vao", enableEmuVao); jo.member("texc", enableEmuTexC); @@ -494,6 +501,7 @@ namespace Config { jo.member("rect", forceEmuRect); jo.member("bv", forceEmuBaseVertex); jo.member("iff", forceEmuIff); + jo.member("quads", forceEmuQuads); jo.member("so", forceEmuSo); jo.member("vao", forceEmuVao); jo.member("texc", forceEmuTexC); diff --git a/src/regal/RegalConfig.h b/src/regal/RegalConfig.h index 44d8532..3928491 100644 --- a/src/regal/RegalConfig.h +++ b/src/regal/RegalConfig.h @@ -98,6 +98,7 @@ namespace Config extern bool enableEmuRect; extern bool enableEmuBaseVertex; extern bool enableEmuIff; + extern bool enableEmuQuads; extern bool enableEmuSo; extern bool enableEmuVao; extern bool enableEmuFilter; @@ -117,6 +118,7 @@ namespace Config extern bool forceEmuRect; extern bool forceEmuBaseVertex; extern bool forceEmuIff; + extern bool forceEmuQuads; extern bool forceEmuSo; extern bool forceEmuVao; extern bool forceEmuFilter; diff --git a/src/regal/RegalContext.cpp b/src/regal/RegalContext.cpp index e89c530..cd69ebd 100644 --- a/src/regal/RegalContext.cpp +++ b/src/regal/RegalContext.cpp @@ -64,6 +64,7 @@ REGAL_GLOBAL_BEGIN #include "RegalBaseVertex.h" #include "RegalRect.h" #include "RegalIff.h" +#include "RegalQuads.h" #include "RegalSo.h" #include "RegalDsa.h" #include "RegalVao.h" @@ -99,6 +100,7 @@ RegalContext::RegalContext() bv(NULL), rect(NULL), iff(NULL), + quads(NULL), so(NULL), dsa(NULL), vao(NULL), @@ -187,6 +189,7 @@ RegalContext::Init() const bool forceEmuBv = Config::forceEmuBaseVertex || REGAL_FORCE_EMU_BASEVERTEX; const bool forceEmuRect = Config::forceEmuRect || REGAL_FORCE_EMU_RECT; const bool forceEmuIff = Config::forceEmuIff || REGAL_FORCE_EMU_IFF; + const bool forceEmuQuads = Config::forceEmuQuads || REGAL_FORCE_EMU_QUADS; const bool forceEmuSo = Config::forceEmuSo || REGAL_FORCE_EMU_SO; const bool forceEmuDsa = Config::forceEmuDsa || REGAL_FORCE_EMU_OBJ; const bool forceEmuVao = Config::forceEmuVao || REGAL_FORCE_EMU_DSA; @@ -203,13 +206,14 @@ RegalContext::Init() bool enableEmuBv = forceEmuBv || (Config::enableEmuBaseVertex); bool enableEmuRect = forceEmuRect || (Config::enableEmuRect); bool enableEmuIff = forceEmuIff || (Config::enableEmuIff); + bool enableEmuQuads = forceEmuQuads || (Config::enableEmuQuads); bool enableEmuSo = forceEmuSo || (Config::enableEmuSo); bool enableEmuDsa = forceEmuDsa || (Config::enableEmuDsa); bool enableEmuVao = forceEmuVao || (Config::enableEmuVao); bool enableEmuTexc = forceEmuTexc || (Config::enableEmuTexC); bool enableEmuFilt = forceEmuFilt || (Config::enableEmuFilter); - const bool forceAnyEmu = forceEmuObj || forceEmuHint || forceEmuPpa || forceEmuPpca || forceEmuBin || forceEmuXfer || forceEmuTexsto || forceEmuBv || forceEmuRect || forceEmuIff || forceEmuSo || forceEmuDsa || forceEmuVao || forceEmuTexc || forceEmuFilt || false; + const bool forceAnyEmu = forceEmuObj || forceEmuHint || forceEmuPpa || forceEmuPpca || forceEmuBin || forceEmuXfer || forceEmuTexsto || forceEmuBv || forceEmuRect || forceEmuIff || forceEmuQuads || forceEmuSo || forceEmuDsa || forceEmuVao || forceEmuTexc || forceEmuFilt || false; if (!Config::forceEmulation) { @@ -264,7 +268,7 @@ RegalContext::Init() } - bool enableAnyEmu = enableEmuObj || enableEmuHint || enableEmuPpa || enableEmuPpca || enableEmuBin || enableEmuXfer || enableEmuTexsto || enableEmuBv || enableEmuRect || enableEmuIff || enableEmuSo || enableEmuDsa || enableEmuVao || enableEmuTexc || enableEmuFilt || false; + bool enableAnyEmu = enableEmuObj || enableEmuHint || enableEmuPpa || enableEmuPpca || enableEmuBin || enableEmuXfer || enableEmuTexsto || enableEmuBv || enableEmuRect || enableEmuIff || enableEmuQuads || enableEmuSo || enableEmuDsa || enableEmuVao || enableEmuTexc || enableEmuFilt || false; // Enable emulation except for fully featured compatibility contexts @@ -275,7 +279,7 @@ RegalContext::Init() #endif { // emu - emuLevel = 15; + emuLevel = 16; #if REGAL_EMU_FILTER if (enableEmuFilt || forceEmuFilt) { @@ -415,6 +419,15 @@ RegalContext::Init() so->Init(*this); } #endif /* REGAL_EMU_SO */ + #if REGAL_EMU_QUADS + if (enableEmuQuads || forceEmuQuads) + { + Info("Activating emulation layer REGAL_EMU_QUADS"); + quads = new Emu::Quads; + emuLevel = 5; + quads->Init(*this); + } + #endif /* REGAL_EMU_QUADS */ #if REGAL_EMU_IFF if (enableEmuIff || forceEmuIff) { @@ -445,7 +458,7 @@ RegalContext::Init() } emuInfo->extensions = ::boost::print::detail::join(emuInfo->extensionsSet,std::string(" ")); iff = new Emu::Iff; - emuLevel = 5; + emuLevel = 6; iff->Init(*this); } #endif /* REGAL_EMU_IFF */ @@ -454,7 +467,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_RECT"); rect = new Emu::Rect; - emuLevel = 6; + emuLevel = 7; rect->Init(*this); } #endif /* REGAL_EMU_RECT */ @@ -470,7 +483,7 @@ RegalContext::Init() } emuInfo->extensions = ::boost::print::detail::join(emuInfo->extensionsSet,std::string(" ")); bv = new Emu::BaseVertex; - emuLevel = 7; + emuLevel = 8; bv->Init(*this); } #endif /* REGAL_EMU_BASEVERTEX */ @@ -486,7 +499,7 @@ RegalContext::Init() } emuInfo->extensions = ::boost::print::detail::join(emuInfo->extensionsSet,std::string(" ")); texsto = new Emu::TexSto; - emuLevel = 8; + emuLevel = 9; texsto->Init(*this); } #endif /* REGAL_EMU_TEXSTO */ @@ -495,7 +508,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_XFER"); xfer = new Emu::Xfer; - emuLevel = 9; + emuLevel = 10; xfer->Init(*this); } #endif /* REGAL_EMU_XFER */ @@ -504,7 +517,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_BIN"); bin = new Emu::Bin; - emuLevel = 10; + emuLevel = 11; bin->Init(*this); } #endif /* REGAL_EMU_BIN */ @@ -513,7 +526,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_PPCA"); ppca = new Emu::Ppca; - emuLevel = 11; + emuLevel = 12; ppca->Init(*this); } #endif /* REGAL_EMU_PPCA */ @@ -522,7 +535,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_PPA"); ppa = new Emu::Ppa; - emuLevel = 12; + emuLevel = 13; ppa->Init(*this); } #endif /* REGAL_EMU_PPA */ @@ -531,7 +544,7 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_HINT"); hint = new Emu::Hint; - emuLevel = 13; + emuLevel = 14; hint->Init(*this); } #endif /* REGAL_EMU_HINT */ @@ -540,11 +553,11 @@ RegalContext::Init() { Info("Activating emulation layer REGAL_EMU_OBJ"); obj = new Emu::Obj; - emuLevel = 14; + emuLevel = 15; obj->Init(*this); } #endif /* REGAL_EMU_OBJ */ - emuLevel = 15; + emuLevel = 16; } #endif @@ -613,7 +626,7 @@ RegalContext::Cleanup() #if REGAL_EMU_OBJ if (obj) { - emuLevel = 14; + emuLevel = 15; obj->Cleanup(*this); obj.reset(NULL); } @@ -621,7 +634,7 @@ RegalContext::Cleanup() #if REGAL_EMU_HINT if (hint) { - emuLevel = 13; + emuLevel = 14; hint->Cleanup(*this); hint.reset(NULL); } @@ -629,7 +642,7 @@ RegalContext::Cleanup() #if REGAL_EMU_PPA if (ppa) { - emuLevel = 12; + emuLevel = 13; ppa->Cleanup(*this); ppa.reset(NULL); } @@ -637,7 +650,7 @@ RegalContext::Cleanup() #if REGAL_EMU_PPCA if (ppca) { - emuLevel = 11; + emuLevel = 12; ppca->Cleanup(*this); ppca.reset(NULL); } @@ -645,7 +658,7 @@ RegalContext::Cleanup() #if REGAL_EMU_BIN if (bin) { - emuLevel = 10; + emuLevel = 11; bin->Cleanup(*this); bin.reset(NULL); } @@ -653,7 +666,7 @@ RegalContext::Cleanup() #if REGAL_EMU_XFER if (xfer) { - emuLevel = 9; + emuLevel = 10; xfer->Cleanup(*this); xfer.reset(NULL); } @@ -661,7 +674,7 @@ RegalContext::Cleanup() #if REGAL_EMU_TEXSTO if (texsto) { - emuLevel = 8; + emuLevel = 9; texsto->Cleanup(*this); texsto.reset(NULL); } @@ -669,7 +682,7 @@ RegalContext::Cleanup() #if REGAL_EMU_BASEVERTEX if (bv) { - emuLevel = 7; + emuLevel = 8; bv->Cleanup(*this); bv.reset(NULL); } @@ -677,7 +690,7 @@ RegalContext::Cleanup() #if REGAL_EMU_RECT if (rect) { - emuLevel = 6; + emuLevel = 7; rect->Cleanup(*this); rect.reset(NULL); } @@ -685,11 +698,19 @@ RegalContext::Cleanup() #if REGAL_EMU_IFF if (iff) { - emuLevel = 5; + emuLevel = 6; iff->Cleanup(*this); iff.reset(NULL); } #endif /* REGAL_EMU_IFF */ + #if REGAL_EMU_QUADS + if (quads) + { + emuLevel = 5; + quads->Cleanup(*this); + quads.reset(NULL); + } + #endif /* REGAL_EMU_QUADS */ #if REGAL_EMU_SO if (so) { diff --git a/src/regal/RegalContext.h b/src/regal/RegalContext.h index b88d600..bc7a5f8 100644 --- a/src/regal/RegalContext.h +++ b/src/regal/RegalContext.h @@ -80,6 +80,7 @@ namespace Emu { struct TexSto; }; namespace Emu { struct BaseVertex; }; namespace Emu { struct Rect; }; namespace Emu { struct Iff; }; +namespace Emu { struct Quads; }; namespace Emu { struct So; }; namespace Emu { struct Dsa; }; namespace Emu { struct Vao; }; @@ -132,6 +133,7 @@ struct RegalContext scoped_ptr bv; scoped_ptr rect; scoped_ptr iff; + scoped_ptr quads; scoped_ptr so; scoped_ptr dsa; scoped_ptr vao; diff --git a/src/regal/RegalContextInfo.cpp b/src/regal/RegalContextInfo.cpp index 4b30d54..671187c 100644 --- a/src/regal/RegalContextInfo.cpp +++ b/src/regal/RegalContextInfo.cpp @@ -53,10 +53,10 @@ using namespace std; #include using namespace boost::print; +#include "RegalEmu.h" #include "RegalToken.h" #include "RegalContext.h" #include "RegalContextInfo.h" -#include "RegalEmu.h" REGAL_GLOBAL_END @@ -781,13 +781,15 @@ ContextInfo::ContextInfo() gl_max_attrib_stack_depth(0), gl_max_client_attrib_stack_depth(0), gl_max_combined_texture_image_units(0), + gl_max_debug_message_length(0), gl_max_draw_buffers(0), gl_max_texture_coords(0), gl_max_texture_units(0), gl_max_vertex_attrib_bindings(0), gl_max_vertex_attribs(0), gl_max_viewports(0), - gl_max_varying_floats(0) + gl_max_varying_floats(0), + gl_quads_follow_provoking_vertex_convention(GL_FALSE) { Internal("ContextInfo::ContextInfo","()"); @@ -806,9 +808,20 @@ inline string getString(const RegalContext &context, const GLenum e) return str ? string(reinterpret_cast(str)) : string(); } +inline void warnGLError(const RegalContext &context, const char *message) +{ + Internal("warnGLError ",message ? message : NULL); + RegalAssert(context.dispatcher.driver.glGetError); + GLenum err = context.dispatcher.driver.glGetError(); + if (err!=GL_NO_ERROR) + Warning("glGetError returned ",GLerrorToString(err)," ",message ? message : NULL); +} + void ContextInfo::init(const RegalContext &context) { + warnGLError(context,"before Regal context initialization."); + // OpenGL Version. vendor = getString(context, GL_VENDOR); @@ -892,9 +905,9 @@ ContextInfo::init(const RegalContext &context) } #endif - // Detect core context + // Detect core context for GL 3.2 onwards - if (!es1 && !es2 && gl_version_major>=3) + if (!es1 && !es2 && (gl_version_major>3 || gl_version_major==3 && gl_version_minor>=2)) { GLint flags = 0; RegalAssert(context.dispatcher.driver.glGetIntegerv); @@ -1669,10 +1682,12 @@ ContextInfo::init(const RegalContext &context) #endif RegalAssert(context.dispatcher.driver.glGetIntegerv); + RegalAssert(context.dispatcher.driver.glGetBooleanv); gl_max_attrib_stack_depth = 0; gl_max_client_attrib_stack_depth = 0; gl_max_combined_texture_image_units = 0; + gl_max_debug_message_length = 1024; gl_max_draw_buffers = 0; gl_max_texture_coords = 0; gl_max_texture_units = 0; @@ -1730,8 +1745,20 @@ ContextInfo::init(const RegalContext &context) if ((core || compat) && (gl_version_4_1 || gl_arb_viewport_array)) context.dispatcher.driver.glGetIntegerv( GL_MAX_VIEWPORTS, reinterpret_cast(&gl_max_viewports)); + if (gl_arb_debug_output) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH_ARB, reinterpret_cast(&gl_max_debug_message_length)); + else if (gl_khr_debug) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH, reinterpret_cast(&gl_max_debug_message_length)); + else if (gl_amd_debug_output) + context.dispatcher.driver.glGetIntegerv( GL_MAX_DEBUG_MESSAGE_LENGTH_AMD, reinterpret_cast(&gl_max_debug_message_length)); + + if ((compat) && (gl_version_3_2 || gl_arb_provoking_vertex || gl_ext_provoking_vertex)) + context.dispatcher.driver.glGetBooleanv( GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION, &gl_quads_follow_provoking_vertex_convention); + Info("OpenGL v attribs : ",gl_max_vertex_attribs); Info("OpenGL varyings : ",gl_max_varying_floats); + + warnGLError(context,"querying context information."); } bool diff --git a/src/regal/RegalContextInfo.h b/src/regal/RegalContextInfo.h index 25b21f4..a5e3afa 100644 --- a/src/regal/RegalContextInfo.h +++ b/src/regal/RegalContextInfo.h @@ -808,6 +808,7 @@ struct ContextInfo GLuint gl_max_attrib_stack_depth; GLuint gl_max_client_attrib_stack_depth; GLuint gl_max_combined_texture_image_units; + GLuint gl_max_debug_message_length; GLuint gl_max_draw_buffers; GLuint gl_max_texture_coords; GLuint gl_max_texture_units; @@ -817,6 +818,8 @@ struct ContextInfo GLuint gl_max_varying_floats; + GLboolean gl_quads_follow_provoking_vertex_convention; + private: static bool stringSetFind(const std::set &stringSet, const std::string &val); }; diff --git a/src/regal/RegalDispatchEmu.cpp b/src/regal/RegalDispatchEmu.cpp index 122b680..d7699d7 100644 --- a/src/regal/RegalDispatchEmu.cpp +++ b/src/regal/RegalDispatchEmu.cpp @@ -67,6 +67,7 @@ using namespace std; #include "RegalRect.h" #include "RegalHint.h" #include "RegalIff.h" +#include "RegalQuads.h" #include "RegalMarker.h" #include "RegalObj.h" #include "RegalDsa.h" @@ -94,6 +95,7 @@ static void REGAL_CALL emu_glAccum(GLenum op, GLfloat value) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -119,6 +121,7 @@ static void REGAL_CALL emu_glAccum(GLenum op, GLfloat value) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -170,24 +173,24 @@ static void REGAL_CALL emu_glAlphaFunc(GLenum func, GLclampf ref) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glAlphaFunc( func, ref ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -199,6 +202,7 @@ static void REGAL_CALL emu_glAlphaFunc(GLenum func, GLclampf ref) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -208,12 +212,11 @@ static void REGAL_CALL emu_glAlphaFunc(GLenum func, GLclampf ref) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AlphaFunc( func, ref ); return; } @@ -240,6 +243,7 @@ static void REGAL_CALL emu_glBegin(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -249,10 +253,10 @@ static void REGAL_CALL emu_glBegin(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -271,6 +275,7 @@ static void REGAL_CALL emu_glBegin(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -280,12 +285,11 @@ static void REGAL_CALL emu_glBegin(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Begin( _context, mode ); return; } @@ -312,6 +316,7 @@ static void REGAL_CALL emu_glBitmap(GLsizei width, GLsizei height, GLfloat xorig // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -337,6 +342,7 @@ static void REGAL_CALL emu_glBitmap(GLsizei width, GLsizei height, GLfloat xorig // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -388,14 +394,14 @@ static void REGAL_CALL emu_glBlendFunc(GLenum sfactor, GLenum dfactor) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendFunc( sfactor, dfactor ); } #endif @@ -418,6 +424,7 @@ static void REGAL_CALL emu_glCallList(GLuint list) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -443,6 +450,7 @@ static void REGAL_CALL emu_glCallList(GLuint list) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -494,17 +502,18 @@ static void REGAL_CALL emu_glClearAccum(GLfloat red, GLfloat green, GLfloat blue // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearAccum( red, green, blue, alpha ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -527,6 +536,7 @@ static void REGAL_CALL emu_glClearAccum(GLfloat red, GLfloat green, GLfloat blue // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -578,14 +588,14 @@ static void REGAL_CALL emu_glClearColor(GLclampf red, GLclampf green, GLclampf b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearColor( red, green, blue, alpha ); } #endif @@ -608,14 +618,14 @@ static void REGAL_CALL emu_glClearDepth(GLclampd depth) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearDepth( depth ); } #endif @@ -641,14 +651,14 @@ static void REGAL_CALL emu_glClearIndex(GLfloat c) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearIndex( c ); } #endif @@ -671,14 +681,14 @@ static void REGAL_CALL emu_glClearStencil(GLint s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearStencil( s ); } #endif @@ -701,24 +711,24 @@ static void REGAL_CALL emu_glClipPlane(GLenum plane, const GLdouble *equation) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClipPlane( plane, equation ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -730,6 +740,7 @@ static void REGAL_CALL emu_glClipPlane(GLenum plane, const GLdouble *equation) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -739,12 +750,11 @@ static void REGAL_CALL emu_glClipPlane(GLenum plane, const GLdouble *equation) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ClipPlane( plane, equation ); return; } @@ -771,6 +781,7 @@ static void REGAL_CALL emu_glColor3b(GLbyte red, GLbyte green, GLbyte blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -780,7 +791,6 @@ static void REGAL_CALL emu_glColor3b(GLbyte red, GLbyte green, GLbyte blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -792,6 +802,7 @@ static void REGAL_CALL emu_glColor3b(GLbyte red, GLbyte green, GLbyte blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -801,12 +812,11 @@ static void REGAL_CALL emu_glColor3b(GLbyte red, GLbyte green, GLbyte blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -833,6 +843,7 @@ static void REGAL_CALL emu_glColor3bv(const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -842,7 +853,6 @@ static void REGAL_CALL emu_glColor3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -854,6 +864,7 @@ static void REGAL_CALL emu_glColor3bv(const GLbyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -863,12 +874,11 @@ static void REGAL_CALL emu_glColor3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -895,6 +905,7 @@ static void REGAL_CALL emu_glColor3d(GLdouble red, GLdouble green, GLdouble blue // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -904,7 +915,6 @@ static void REGAL_CALL emu_glColor3d(GLdouble red, GLdouble green, GLdouble blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -916,6 +926,7 @@ static void REGAL_CALL emu_glColor3d(GLdouble red, GLdouble green, GLdouble blue // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -925,12 +936,11 @@ static void REGAL_CALL emu_glColor3d(GLdouble red, GLdouble green, GLdouble blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -957,6 +967,7 @@ static void REGAL_CALL emu_glColor3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -966,7 +977,6 @@ static void REGAL_CALL emu_glColor3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -978,6 +988,7 @@ static void REGAL_CALL emu_glColor3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -987,12 +998,11 @@ static void REGAL_CALL emu_glColor3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1019,6 +1029,7 @@ static void REGAL_CALL emu_glColor3f(GLfloat red, GLfloat green, GLfloat blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1028,7 +1039,6 @@ static void REGAL_CALL emu_glColor3f(GLfloat red, GLfloat green, GLfloat blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1040,6 +1050,7 @@ static void REGAL_CALL emu_glColor3f(GLfloat red, GLfloat green, GLfloat blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1049,12 +1060,11 @@ static void REGAL_CALL emu_glColor3f(GLfloat red, GLfloat green, GLfloat blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1081,6 +1091,7 @@ static void REGAL_CALL emu_glColor3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1090,7 +1101,6 @@ static void REGAL_CALL emu_glColor3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1102,6 +1112,7 @@ static void REGAL_CALL emu_glColor3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1111,12 +1122,11 @@ static void REGAL_CALL emu_glColor3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1143,6 +1153,7 @@ static void REGAL_CALL emu_glColor3i(GLint red, GLint green, GLint blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1152,7 +1163,6 @@ static void REGAL_CALL emu_glColor3i(GLint red, GLint green, GLint blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1164,6 +1174,7 @@ static void REGAL_CALL emu_glColor3i(GLint red, GLint green, GLint blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1173,12 +1184,11 @@ static void REGAL_CALL emu_glColor3i(GLint red, GLint green, GLint blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1205,6 +1215,7 @@ static void REGAL_CALL emu_glColor3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1214,7 +1225,6 @@ static void REGAL_CALL emu_glColor3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1226,6 +1236,7 @@ static void REGAL_CALL emu_glColor3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1235,12 +1246,11 @@ static void REGAL_CALL emu_glColor3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1267,6 +1277,7 @@ static void REGAL_CALL emu_glColor3s(GLshort red, GLshort green, GLshort blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1276,7 +1287,6 @@ static void REGAL_CALL emu_glColor3s(GLshort red, GLshort green, GLshort blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1288,6 +1298,7 @@ static void REGAL_CALL emu_glColor3s(GLshort red, GLshort green, GLshort blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1297,12 +1308,11 @@ static void REGAL_CALL emu_glColor3s(GLshort red, GLshort green, GLshort blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1329,6 +1339,7 @@ static void REGAL_CALL emu_glColor3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1338,7 +1349,6 @@ static void REGAL_CALL emu_glColor3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1350,6 +1360,7 @@ static void REGAL_CALL emu_glColor3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1359,12 +1370,11 @@ static void REGAL_CALL emu_glColor3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1391,6 +1401,7 @@ static void REGAL_CALL emu_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1400,7 +1411,6 @@ static void REGAL_CALL emu_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1412,6 +1422,7 @@ static void REGAL_CALL emu_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1421,12 +1432,11 @@ static void REGAL_CALL emu_glColor3ub(GLubyte red, GLubyte green, GLubyte blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1453,6 +1463,7 @@ static void REGAL_CALL emu_glColor3ubv(const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1462,7 +1473,6 @@ static void REGAL_CALL emu_glColor3ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1474,6 +1484,7 @@ static void REGAL_CALL emu_glColor3ubv(const GLubyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1483,12 +1494,11 @@ static void REGAL_CALL emu_glColor3ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1515,6 +1525,7 @@ static void REGAL_CALL emu_glColor3ui(GLuint red, GLuint green, GLuint blue) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1524,7 +1535,6 @@ static void REGAL_CALL emu_glColor3ui(GLuint red, GLuint green, GLuint blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1536,6 +1546,7 @@ static void REGAL_CALL emu_glColor3ui(GLuint red, GLuint green, GLuint blue) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1545,12 +1556,11 @@ static void REGAL_CALL emu_glColor3ui(GLuint red, GLuint green, GLuint blue) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1577,6 +1587,7 @@ static void REGAL_CALL emu_glColor3uiv(const GLuint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1586,7 +1597,6 @@ static void REGAL_CALL emu_glColor3uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1598,6 +1608,7 @@ static void REGAL_CALL emu_glColor3uiv(const GLuint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1607,12 +1618,11 @@ static void REGAL_CALL emu_glColor3uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1639,6 +1649,7 @@ static void REGAL_CALL emu_glColor3us(GLushort red, GLushort green, GLushort blu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1648,7 +1659,6 @@ static void REGAL_CALL emu_glColor3us(GLushort red, GLushort green, GLushort blu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1660,6 +1670,7 @@ static void REGAL_CALL emu_glColor3us(GLushort red, GLushort green, GLushort blu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1669,12 +1680,11 @@ static void REGAL_CALL emu_glColor3us(GLushort red, GLushort green, GLushort blu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue ); return; } @@ -1701,6 +1711,7 @@ static void REGAL_CALL emu_glColor3usv(const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1710,7 +1721,6 @@ static void REGAL_CALL emu_glColor3usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1722,6 +1732,7 @@ static void REGAL_CALL emu_glColor3usv(const GLushort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1731,12 +1742,11 @@ static void REGAL_CALL emu_glColor3usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1763,6 +1773,7 @@ static void REGAL_CALL emu_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLby // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1772,7 +1783,6 @@ static void REGAL_CALL emu_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLby case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1784,6 +1794,7 @@ static void REGAL_CALL emu_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLby // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1793,12 +1804,11 @@ static void REGAL_CALL emu_glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLby case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -1825,6 +1835,7 @@ static void REGAL_CALL emu_glColor4bv(const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1834,7 +1845,6 @@ static void REGAL_CALL emu_glColor4bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1846,6 +1856,7 @@ static void REGAL_CALL emu_glColor4bv(const GLbyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1855,12 +1866,11 @@ static void REGAL_CALL emu_glColor4bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -1887,6 +1897,7 @@ static void REGAL_CALL emu_glColor4d(GLdouble red, GLdouble green, GLdouble blue // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1896,7 +1907,6 @@ static void REGAL_CALL emu_glColor4d(GLdouble red, GLdouble green, GLdouble blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1908,6 +1918,7 @@ static void REGAL_CALL emu_glColor4d(GLdouble red, GLdouble green, GLdouble blue // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1917,12 +1928,11 @@ static void REGAL_CALL emu_glColor4d(GLdouble red, GLdouble green, GLdouble blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -1949,6 +1959,7 @@ static void REGAL_CALL emu_glColor4dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1958,7 +1969,6 @@ static void REGAL_CALL emu_glColor4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -1970,6 +1980,7 @@ static void REGAL_CALL emu_glColor4dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -1979,12 +1990,11 @@ static void REGAL_CALL emu_glColor4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2011,6 +2021,7 @@ static void REGAL_CALL emu_glColor4f(GLfloat red, GLfloat green, GLfloat blue, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2020,7 +2031,6 @@ static void REGAL_CALL emu_glColor4f(GLfloat red, GLfloat green, GLfloat blue, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2032,6 +2042,7 @@ static void REGAL_CALL emu_glColor4f(GLfloat red, GLfloat green, GLfloat blue, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2041,12 +2052,11 @@ static void REGAL_CALL emu_glColor4f(GLfloat red, GLfloat green, GLfloat blue, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2073,6 +2083,7 @@ static void REGAL_CALL emu_glColor4fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2082,7 +2093,6 @@ static void REGAL_CALL emu_glColor4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2094,6 +2104,7 @@ static void REGAL_CALL emu_glColor4fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2103,12 +2114,11 @@ static void REGAL_CALL emu_glColor4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2135,6 +2145,7 @@ static void REGAL_CALL emu_glColor4i(GLint red, GLint green, GLint blue, GLint a // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2144,7 +2155,6 @@ static void REGAL_CALL emu_glColor4i(GLint red, GLint green, GLint blue, GLint a case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2156,6 +2166,7 @@ static void REGAL_CALL emu_glColor4i(GLint red, GLint green, GLint blue, GLint a // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2165,12 +2176,11 @@ static void REGAL_CALL emu_glColor4i(GLint red, GLint green, GLint blue, GLint a case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2197,6 +2207,7 @@ static void REGAL_CALL emu_glColor4iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2206,7 +2217,6 @@ static void REGAL_CALL emu_glColor4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2218,6 +2228,7 @@ static void REGAL_CALL emu_glColor4iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2227,12 +2238,11 @@ static void REGAL_CALL emu_glColor4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2259,6 +2269,7 @@ static void REGAL_CALL emu_glColor4s(GLshort red, GLshort green, GLshort blue, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2268,7 +2279,6 @@ static void REGAL_CALL emu_glColor4s(GLshort red, GLshort green, GLshort blue, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2280,6 +2290,7 @@ static void REGAL_CALL emu_glColor4s(GLshort red, GLshort green, GLshort blue, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2289,12 +2300,11 @@ static void REGAL_CALL emu_glColor4s(GLshort red, GLshort green, GLshort blue, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2321,6 +2331,7 @@ static void REGAL_CALL emu_glColor4sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2330,7 +2341,6 @@ static void REGAL_CALL emu_glColor4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2342,6 +2352,7 @@ static void REGAL_CALL emu_glColor4sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2351,12 +2362,11 @@ static void REGAL_CALL emu_glColor4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2383,6 +2393,7 @@ static void REGAL_CALL emu_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2392,7 +2403,6 @@ static void REGAL_CALL emu_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2404,6 +2414,7 @@ static void REGAL_CALL emu_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2413,12 +2424,11 @@ static void REGAL_CALL emu_glColor4ub(GLubyte red, GLubyte green, GLubyte blue, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2445,6 +2455,7 @@ static void REGAL_CALL emu_glColor4ubv(const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2454,7 +2465,6 @@ static void REGAL_CALL emu_glColor4ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2466,6 +2476,7 @@ static void REGAL_CALL emu_glColor4ubv(const GLubyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2475,12 +2486,11 @@ static void REGAL_CALL emu_glColor4ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2507,6 +2517,7 @@ static void REGAL_CALL emu_glColor4ui(GLuint red, GLuint green, GLuint blue, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2516,7 +2527,6 @@ static void REGAL_CALL emu_glColor4ui(GLuint red, GLuint green, GLuint blue, GLu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2528,6 +2538,7 @@ static void REGAL_CALL emu_glColor4ui(GLuint red, GLuint green, GLuint blue, GLu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2537,12 +2548,11 @@ static void REGAL_CALL emu_glColor4ui(GLuint red, GLuint green, GLuint blue, GLu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2569,6 +2579,7 @@ static void REGAL_CALL emu_glColor4uiv(const GLuint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2578,7 +2589,6 @@ static void REGAL_CALL emu_glColor4uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2590,6 +2600,7 @@ static void REGAL_CALL emu_glColor4uiv(const GLuint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2599,12 +2610,11 @@ static void REGAL_CALL emu_glColor4uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2631,6 +2641,7 @@ static void REGAL_CALL emu_glColor4us(GLushort red, GLushort green, GLushort blu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2640,7 +2651,6 @@ static void REGAL_CALL emu_glColor4us(GLushort red, GLushort green, GLushort blu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2652,6 +2662,7 @@ static void REGAL_CALL emu_glColor4us(GLushort red, GLushort green, GLushort blu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2661,12 +2672,11 @@ static void REGAL_CALL emu_glColor4us(GLushort red, GLushort green, GLushort blu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), red, green, blue, alpha ); return; } @@ -2693,6 +2703,7 @@ static void REGAL_CALL emu_glColor4usv(const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2702,7 +2713,6 @@ static void REGAL_CALL emu_glColor4usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2714,6 +2724,7 @@ static void REGAL_CALL emu_glColor4usv(const GLushort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2723,12 +2734,11 @@ static void REGAL_CALL emu_glColor4usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, _context->iff->AttrIndex( RFF2A_Color ), v ); return; } @@ -2755,14 +2765,14 @@ static void REGAL_CALL emu_glColorMask(GLboolean red, GLboolean green, GLboolean // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glColorMask( red, green, blue, alpha ); } #endif @@ -2785,24 +2795,24 @@ static void REGAL_CALL emu_glColorMaterial(GLenum face, GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glColorMaterial( face, mode ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -2814,6 +2824,7 @@ static void REGAL_CALL emu_glColorMaterial(GLenum face, GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2823,12 +2834,11 @@ static void REGAL_CALL emu_glColorMaterial(GLenum face, GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ColorMaterial( face, mode ); return; } @@ -2855,6 +2865,7 @@ static void REGAL_CALL emu_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2880,6 +2891,7 @@ static void REGAL_CALL emu_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2931,14 +2943,14 @@ static void REGAL_CALL emu_glCullFace(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glCullFace( mode ); } #endif @@ -2961,6 +2973,7 @@ static void REGAL_CALL emu_glDeleteLists(GLuint list, GLsizei range) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -2986,6 +2999,7 @@ static void REGAL_CALL emu_glDeleteLists(GLuint list, GLsizei range) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3037,14 +3051,14 @@ static void REGAL_CALL emu_glDepthFunc(GLenum func) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthFunc( func ); } #endif @@ -3067,14 +3081,14 @@ static void REGAL_CALL emu_glDepthMask(GLboolean flag) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthMask( flag ); } #endif @@ -3097,29 +3111,29 @@ static void REGAL_CALL emu_glDepthRange(GLclampd zNear, GLclampd zFar) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthRange( zNear, zFar ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->DepthRange( GLfloat(zNear), GLfloat(zFar) ); } #endif @@ -3145,38 +3159,39 @@ static void REGAL_CALL emu_glDisable(GLenum cap) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisable( cap ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisable( cap ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -3195,32 +3210,32 @@ static void REGAL_CALL emu_glDisable(GLenum cap) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->Disable( _context, cap ) ) { _context->dispatcher.emulation.glDisable( cap ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if( ! _context->iff->ShadowDisable( cap ) ) { _context->dispatcher.emulation.glDisable( cap ); } @@ -3268,12 +3283,13 @@ static void REGAL_CALL emu_glDrawBuffer(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -3296,14 +3312,14 @@ static void REGAL_CALL emu_glDrawBuffer(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( !_context->isES2() ) { _context->ppa->glDrawBuffer( mode ); _context->dispatcher.emulation.glDrawBuffer( mode ); @@ -3311,6 +3327,7 @@ static void REGAL_CALL emu_glDrawBuffer(GLenum mode) return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -3358,6 +3375,7 @@ static void REGAL_CALL emu_glDrawPixels(GLsizei width, GLsizei height, GLenum fo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3383,6 +3401,7 @@ static void REGAL_CALL emu_glDrawPixels(GLsizei width, GLsizei height, GLenum fo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3434,6 +3453,7 @@ static void REGAL_CALL emu_glEdgeFlag(GLboolean flag) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3459,6 +3479,7 @@ static void REGAL_CALL emu_glEdgeFlag(GLboolean flag) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3510,38 +3531,39 @@ static void REGAL_CALL emu_glEnable(GLenum cap) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnable( cap ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnable( cap ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -3560,32 +3582,32 @@ static void REGAL_CALL emu_glEnable(GLenum cap) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->Enable( _context, cap ) ) { _context->dispatcher.emulation.glEnable( cap ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if( ! _context->iff->ShadowEnable( cap ) ) { _context->dispatcher.emulation.glEnable( cap ); } @@ -3633,6 +3655,7 @@ static void REGAL_CALL emu_glEnd(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3642,7 +3665,6 @@ static void REGAL_CALL emu_glEnd(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -3654,6 +3676,7 @@ static void REGAL_CALL emu_glEnd(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3663,12 +3686,11 @@ static void REGAL_CALL emu_glEnd(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->End( _context ); return; } @@ -3695,6 +3717,7 @@ static void REGAL_CALL emu_glEndList(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3720,6 +3743,7 @@ static void REGAL_CALL emu_glEndList(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3771,6 +3795,7 @@ static void REGAL_CALL emu_glEvalCoord1d(GLdouble u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3796,6 +3821,7 @@ static void REGAL_CALL emu_glEvalCoord1d(GLdouble u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3847,6 +3873,7 @@ static void REGAL_CALL emu_glEvalCoord1dv(const GLdouble *u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3872,6 +3899,7 @@ static void REGAL_CALL emu_glEvalCoord1dv(const GLdouble *u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3923,6 +3951,7 @@ static void REGAL_CALL emu_glEvalCoord1f(GLfloat u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3948,6 +3977,7 @@ static void REGAL_CALL emu_glEvalCoord1f(GLfloat u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -3999,6 +4029,7 @@ static void REGAL_CALL emu_glEvalCoord1fv(const GLfloat *u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4024,6 +4055,7 @@ static void REGAL_CALL emu_glEvalCoord1fv(const GLfloat *u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4075,6 +4107,7 @@ static void REGAL_CALL emu_glEvalCoord2d(GLdouble u, GLdouble v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4100,6 +4133,7 @@ static void REGAL_CALL emu_glEvalCoord2d(GLdouble u, GLdouble v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4151,6 +4185,7 @@ static void REGAL_CALL emu_glEvalCoord2dv(const GLdouble *u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4176,6 +4211,7 @@ static void REGAL_CALL emu_glEvalCoord2dv(const GLdouble *u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4227,6 +4263,7 @@ static void REGAL_CALL emu_glEvalCoord2f(GLfloat u, GLfloat v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4252,6 +4289,7 @@ static void REGAL_CALL emu_glEvalCoord2f(GLfloat u, GLfloat v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4303,6 +4341,7 @@ static void REGAL_CALL emu_glEvalCoord2fv(const GLfloat *u) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4328,6 +4367,7 @@ static void REGAL_CALL emu_glEvalCoord2fv(const GLfloat *u) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4379,6 +4419,7 @@ static void REGAL_CALL emu_glEvalMesh1(GLenum mode, GLint i1, GLint i2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4404,6 +4445,7 @@ static void REGAL_CALL emu_glEvalMesh1(GLenum mode, GLint i1, GLint i2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4455,6 +4497,7 @@ static void REGAL_CALL emu_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1 // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4480,6 +4523,7 @@ static void REGAL_CALL emu_glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1 // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4531,6 +4575,7 @@ static void REGAL_CALL emu_glEvalPoint1(GLint i) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4556,6 +4601,7 @@ static void REGAL_CALL emu_glEvalPoint1(GLint i) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4607,6 +4653,7 @@ static void REGAL_CALL emu_glEvalPoint2(GLint i, GLint j) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4632,6 +4679,7 @@ static void REGAL_CALL emu_glEvalPoint2(GLint i, GLint j) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4683,6 +4731,7 @@ static void REGAL_CALL emu_glFogf(GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4692,7 +4741,6 @@ static void REGAL_CALL emu_glFogf(GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -4704,6 +4752,7 @@ static void REGAL_CALL emu_glFogf(GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4713,12 +4762,11 @@ static void REGAL_CALL emu_glFogf(GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Fog( pname, param ); return; } @@ -4745,6 +4793,7 @@ static void REGAL_CALL emu_glFogfv(GLenum pname, const GLfloat *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4754,7 +4803,6 @@ static void REGAL_CALL emu_glFogfv(GLenum pname, const GLfloat *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -4766,6 +4814,7 @@ static void REGAL_CALL emu_glFogfv(GLenum pname, const GLfloat *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4775,12 +4824,11 @@ static void REGAL_CALL emu_glFogfv(GLenum pname, const GLfloat *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Fog( pname, params ); return; } @@ -4807,6 +4855,7 @@ static void REGAL_CALL emu_glFogi(GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4816,7 +4865,6 @@ static void REGAL_CALL emu_glFogi(GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -4828,6 +4876,7 @@ static void REGAL_CALL emu_glFogi(GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4837,12 +4886,11 @@ static void REGAL_CALL emu_glFogi(GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Fog( pname, param ); return; } @@ -4869,6 +4917,7 @@ static void REGAL_CALL emu_glFogiv(GLenum pname, const GLint *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4878,7 +4927,6 @@ static void REGAL_CALL emu_glFogiv(GLenum pname, const GLint *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -4890,6 +4938,7 @@ static void REGAL_CALL emu_glFogiv(GLenum pname, const GLint *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4899,12 +4948,11 @@ static void REGAL_CALL emu_glFogiv(GLenum pname, const GLint *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Fog( pname, params ); return; } @@ -4931,14 +4979,14 @@ static void REGAL_CALL emu_glFrontFace(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glFrontFace( mode ); } #endif @@ -4961,6 +5009,7 @@ static void REGAL_CALL emu_glFrustum(GLdouble left, GLdouble right, GLdouble bot // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4970,7 +5019,6 @@ static void REGAL_CALL emu_glFrustum(GLdouble left, GLdouble right, GLdouble bot case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -4982,6 +5030,7 @@ static void REGAL_CALL emu_glFrustum(GLdouble left, GLdouble right, GLdouble bot // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -4991,12 +5040,11 @@ static void REGAL_CALL emu_glFrustum(GLdouble left, GLdouble right, GLdouble bot case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Frustum( left, right, bottom, top, zNear, zFar ); return; } @@ -5023,6 +5071,7 @@ static GLuint REGAL_CALL emu_glGenLists(GLsizei range) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -5048,6 +5097,7 @@ static GLuint REGAL_CALL emu_glGenLists(GLsizei range) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -5098,19 +5148,20 @@ static void REGAL_CALL emu_glGetBooleanv(GLenum pname, GLboolean *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) break; #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : @@ -5143,43 +5194,44 @@ static void REGAL_CALL emu_glGetBooleanv(GLenum pname, GLboolean *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 13; + _context->emuLevel = 14; if( ! _context->hint->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetBooleanv( pname, params ); } return; } #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetv( _context, pname, params ) ) { _context->dispatcher.emulation.glGetBooleanv( pname, params ); } return; } #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; if ( ! _context->ppca->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetBooleanv( pname, params ); } return; } #endif + case 12 : case 11 : case 10 : case 9 : @@ -5237,28 +5289,29 @@ static void REGAL_CALL emu_glGetDoublev(GLenum pname, GLdouble *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) break; #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -5288,54 +5341,54 @@ static void REGAL_CALL emu_glGetDoublev(GLenum pname, GLdouble *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 13; + _context->emuLevel = 14; if( ! _context->hint->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetDoublev( pname, params ); } return; } #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetv( _context, pname, params ) ) { _context->dispatcher.emulation.glGetDoublev( pname, params ); } return; } #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; if ( ! _context->ppca->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetDoublev( pname, params ); } return; } #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->Get( _context, pname, params ) ) { _context->dispatcher.emulation.glGetDoublev( pname, params ); @@ -5343,6 +5396,7 @@ static void REGAL_CALL emu_glGetDoublev(GLenum pname, GLdouble *params) return; } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -5405,28 +5459,29 @@ static void REGAL_CALL emu_glGetFloatv(GLenum pname, GLfloat *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) break; #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -5456,54 +5511,54 @@ static void REGAL_CALL emu_glGetFloatv(GLenum pname, GLfloat *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 13; + _context->emuLevel = 14; if( ! _context->hint->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetFloatv( pname, params ); } return; } #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetv( _context, pname, params ) ) { _context->dispatcher.emulation.glGetFloatv( pname, params ); } return; } #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; if ( ! _context->ppca->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetFloatv( pname, params ); } return; } #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->Get( _context, pname, params ) ) { _context->dispatcher.emulation.glGetFloatv( pname, params ); @@ -5511,6 +5566,7 @@ static void REGAL_CALL emu_glGetFloatv(GLenum pname, GLfloat *params) return; } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -5573,28 +5629,29 @@ static void REGAL_CALL emu_glGetIntegerv(GLenum pname, GLint *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) break; #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -5624,54 +5681,54 @@ static void REGAL_CALL emu_glGetIntegerv(GLenum pname, GLint *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 13; + _context->emuLevel = 14; if( ! _context->hint->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetIntegerv( pname, params ); } return; } #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetv( _context, pname, params ) ) { _context->dispatcher.emulation.glGetIntegerv( pname, params ); } return; } #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; if ( ! _context->ppca->glGetv( *_context, pname, params ) ) { _context->dispatcher.emulation.glGetIntegerv( pname, params ); } return; } #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->Get( _context, pname, params ) ) { _context->dispatcher.emulation.glGetIntegerv( pname, params ); @@ -5679,6 +5736,7 @@ static void REGAL_CALL emu_glGetIntegerv(GLenum pname, GLint *params) return; } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -5741,9 +5799,9 @@ static void REGAL_CALL emu_glGetLightfv(GLenum light, GLenum pname, GLfloat *par // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -5755,14 +5813,14 @@ static void REGAL_CALL emu_glGetLightfv(GLenum light, GLenum pname, GLfloat *par // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetLightv( _context, light, pname, params ) ) { _context->dispatcher.emulation.glGetLightfv( light, pname, params ); } @@ -5791,9 +5849,9 @@ static void REGAL_CALL emu_glGetLightiv(GLenum light, GLenum pname, GLint *param // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -5805,14 +5863,14 @@ static void REGAL_CALL emu_glGetLightiv(GLenum light, GLenum pname, GLint *param // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetLightv( _context, light, pname, params ) ) { _context->dispatcher.emulation.glGetLightiv( light, pname, params ); } @@ -5841,19 +5899,19 @@ static void REGAL_CALL emu_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *p // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -5865,32 +5923,32 @@ static void REGAL_CALL emu_glGetMaterialfv(GLenum face, GLenum pname, GLfloat *p // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetMaterialv( _context, face, pname, params ) ) { _context->dispatcher.emulation.glGetMaterialfv( face, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->GetMaterial( face, pname, params ); return; } @@ -5917,19 +5975,19 @@ static void REGAL_CALL emu_glGetMaterialiv(GLenum face, GLenum pname, GLint *par // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -5941,32 +5999,32 @@ static void REGAL_CALL emu_glGetMaterialiv(GLenum face, GLenum pname, GLint *par // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetMaterialv( _context, face, pname, params ) ) { _context->dispatcher.emulation.glGetMaterialiv( face, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->GetMaterial( face, pname, params ); return; } @@ -5993,9 +6051,9 @@ static void REGAL_CALL emu_glGetPolygonStipple(GLubyte *mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -6007,14 +6065,14 @@ static void REGAL_CALL emu_glGetPolygonStipple(GLubyte *mask) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetPolygonStipple( _context, mask ) ) { _context->dispatcher.emulation.glGetPolygonStipple( mask ); } @@ -6043,22 +6101,23 @@ static void REGAL_CALL emu_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *p // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -6078,32 +6137,32 @@ static void REGAL_CALL emu_glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *p // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetTexEnvv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexEnvfv( target, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetTexEnv( target, pname, params ) ) { _context->dispatcher.emulation.glGetTexEnvfv( target, pname, params ); @@ -6133,22 +6192,23 @@ static void REGAL_CALL emu_glGetTexEnviv(GLenum target, GLenum pname, GLint *par // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -6168,32 +6228,32 @@ static void REGAL_CALL emu_glGetTexEnviv(GLenum target, GLenum pname, GLint *par // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetTexEnvv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexEnviv( target, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetTexEnv( target, pname, params ) ) { _context->dispatcher.emulation.glGetTexEnviv( target, pname, params ); @@ -6223,6 +6283,7 @@ static void REGAL_CALL emu_glGetTexGendv(GLenum coord, GLenum pname, GLdouble *p // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6232,7 +6293,6 @@ static void REGAL_CALL emu_glGetTexGendv(GLenum coord, GLenum pname, GLdouble *p case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -6244,6 +6304,7 @@ static void REGAL_CALL emu_glGetTexGendv(GLenum coord, GLenum pname, GLdouble *p // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6253,12 +6314,11 @@ static void REGAL_CALL emu_glGetTexGendv(GLenum coord, GLenum pname, GLdouble *p case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetTexGenv( _context, coord, pname, params ) ) { _context->dispatcher.emulation.glGetTexGendv( coord, pname, params ); @@ -6288,6 +6348,7 @@ static void REGAL_CALL emu_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *pa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6297,7 +6358,6 @@ static void REGAL_CALL emu_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *pa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -6309,6 +6369,7 @@ static void REGAL_CALL emu_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *pa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6318,12 +6379,11 @@ static void REGAL_CALL emu_glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *pa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetTexGenv( _context, coord, pname, params ) ) { _context->dispatcher.emulation.glGetTexGenfv( coord, pname, params ); @@ -6353,6 +6413,7 @@ static void REGAL_CALL emu_glGetTexGeniv(GLenum coord, GLenum pname, GLint *para // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6362,7 +6423,6 @@ static void REGAL_CALL emu_glGetTexGeniv(GLenum coord, GLenum pname, GLint *para case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -6374,6 +6434,7 @@ static void REGAL_CALL emu_glGetTexGeniv(GLenum coord, GLenum pname, GLint *para // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6383,12 +6444,11 @@ static void REGAL_CALL emu_glGetTexGeniv(GLenum coord, GLenum pname, GLint *para case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetTexGenv( _context, coord, pname, params ) ) { _context->dispatcher.emulation.glGetTexGeniv( coord, pname, params ); @@ -6418,6 +6478,7 @@ static void REGAL_CALL emu_glGetTexImage(GLenum target, GLint level, GLenum form // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6443,6 +6504,7 @@ static void REGAL_CALL emu_glGetTexImage(GLenum target, GLint level, GLenum form // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6494,6 +6556,7 @@ static void REGAL_CALL emu_glGetTexLevelParameterfv(GLenum target, GLint level, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6519,6 +6582,7 @@ static void REGAL_CALL emu_glGetTexLevelParameterfv(GLenum target, GLint level, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6570,6 +6634,7 @@ static void REGAL_CALL emu_glGetTexLevelParameteriv(GLenum target, GLint level, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6595,6 +6660,7 @@ static void REGAL_CALL emu_glGetTexLevelParameteriv(GLenum target, GLint level, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -6646,16 +6712,17 @@ static void REGAL_CALL emu_glGetTexParameterfv(GLenum target, GLenum pname, GLfl // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif + case 9 : case 8 : case 7 : case 6 : @@ -6681,18 +6748,18 @@ static void REGAL_CALL emu_glGetTexParameterfv(GLenum target, GLenum pname, GLfl // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; RegalAssert(_context); if ( !_context->texsto->GetTexParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexParameterfv( target, pname, params ); @@ -6700,6 +6767,7 @@ static void REGAL_CALL emu_glGetTexParameterfv(GLenum target, GLenum pname, GLfl return; } #endif + case 9 : case 8 : case 7 : case 6 : @@ -6738,16 +6806,17 @@ static void REGAL_CALL emu_glGetTexParameteriv(GLenum target, GLenum pname, GLin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif + case 9 : case 8 : case 7 : case 6 : @@ -6778,18 +6847,18 @@ static void REGAL_CALL emu_glGetTexParameteriv(GLenum target, GLenum pname, GLin // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; RegalAssert(_context); if ( !_context->texsto->GetTexParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexParameteriv( target, pname, params ); @@ -6797,6 +6866,7 @@ static void REGAL_CALL emu_glGetTexParameteriv(GLenum target, GLenum pname, GLin return; } #endif + case 9 : case 8 : case 7 : case 6 : @@ -6852,27 +6922,27 @@ static void REGAL_CALL emu_glHint(GLenum target, GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) break; #endif - case 13 : + case 14 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glHint( target, mode ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -6884,13 +6954,13 @@ static void REGAL_CALL emu_glHint(GLenum target, GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : - case 14 : #if REGAL_EMU_HINT if (_context->hint) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 13; + _context->emuLevel = 14; if( ! _context->hint->glHint( *_context, target, mode ) ) { _context->dispatcher.emulation.glHint( target, mode ); } @@ -6919,14 +6989,14 @@ static void REGAL_CALL emu_glIndexMask(GLuint mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glIndexMask( mask ); } #endif @@ -6949,22 +7019,23 @@ static GLboolean REGAL_CALL emu_glIsEnabled(GLenum cap) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -6983,14 +7054,14 @@ static GLboolean REGAL_CALL emu_glIsEnabled(GLenum cap) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; { GLboolean enabled; if( ! _context->ppa->glIsEnabled( _context, enabled, cap ) ) @@ -6999,18 +7070,18 @@ static GLboolean REGAL_CALL emu_glIsEnabled(GLenum cap) } } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; { GLboolean enabled; if ( !_context->iff->IsEnabled( _context, cap, enabled ) ) @@ -7059,24 +7130,24 @@ static void REGAL_CALL emu_glLightModelf(GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightModel( pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7088,6 +7159,7 @@ static void REGAL_CALL emu_glLightModelf(GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7097,12 +7169,11 @@ static void REGAL_CALL emu_glLightModelf(GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LightModel( pname, param ); return; } @@ -7129,24 +7200,24 @@ static void REGAL_CALL emu_glLightModelfv(GLenum pname, const GLfloat *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightModelv( pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7158,6 +7229,7 @@ static void REGAL_CALL emu_glLightModelfv(GLenum pname, const GLfloat *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7167,12 +7239,11 @@ static void REGAL_CALL emu_glLightModelfv(GLenum pname, const GLfloat *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LightModel( pname, params ); return; } @@ -7199,24 +7270,24 @@ static void REGAL_CALL emu_glLightModeli(GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightModel( pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7228,6 +7299,7 @@ static void REGAL_CALL emu_glLightModeli(GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7237,12 +7309,11 @@ static void REGAL_CALL emu_glLightModeli(GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LightModel( pname, param ); return; } @@ -7269,24 +7340,24 @@ static void REGAL_CALL emu_glLightModeliv(GLenum pname, const GLint *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightModelv( pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7298,6 +7369,7 @@ static void REGAL_CALL emu_glLightModeliv(GLenum pname, const GLint *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7307,12 +7379,11 @@ static void REGAL_CALL emu_glLightModeliv(GLenum pname, const GLint *params) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LightModel( pname, params ); return; } @@ -7339,24 +7410,24 @@ static void REGAL_CALL emu_glLightf(GLenum light, GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLight( light, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7368,6 +7439,7 @@ static void REGAL_CALL emu_glLightf(GLenum light, GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7377,12 +7449,11 @@ static void REGAL_CALL emu_glLightf(GLenum light, GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Light( light, pname, param ); return; } @@ -7409,24 +7480,24 @@ static void REGAL_CALL emu_glLightfv(GLenum light, GLenum pname, const GLfloat * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightv( light, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7438,6 +7509,7 @@ static void REGAL_CALL emu_glLightfv(GLenum light, GLenum pname, const GLfloat * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7447,12 +7519,11 @@ static void REGAL_CALL emu_glLightfv(GLenum light, GLenum pname, const GLfloat * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Light( light, pname, params ); return; } @@ -7479,24 +7550,24 @@ static void REGAL_CALL emu_glLighti(GLenum light, GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLight( light, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7508,6 +7579,7 @@ static void REGAL_CALL emu_glLighti(GLenum light, GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7517,12 +7589,11 @@ static void REGAL_CALL emu_glLighti(GLenum light, GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Light( light, pname, param ); return; } @@ -7549,24 +7620,24 @@ static void REGAL_CALL emu_glLightiv(GLenum light, GLenum pname, const GLint *pa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLightv( light, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -7578,6 +7649,7 @@ static void REGAL_CALL emu_glLightiv(GLenum light, GLenum pname, const GLint *pa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7587,12 +7659,11 @@ static void REGAL_CALL emu_glLightiv(GLenum light, GLenum pname, const GLint *pa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Light( light, pname, params ); return; } @@ -7619,17 +7690,18 @@ static void REGAL_CALL emu_glLineStipple(GLint factor, GLushort pattern) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLineStipple( factor, pattern ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -7652,6 +7724,7 @@ static void REGAL_CALL emu_glLineStipple(GLint factor, GLushort pattern) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7703,17 +7776,18 @@ static void REGAL_CALL emu_glLineWidth(GLfloat width) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLineWidth( width ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -7736,6 +7810,7 @@ static void REGAL_CALL emu_glLineWidth(GLfloat width) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7787,14 +7862,14 @@ static void REGAL_CALL emu_glListBase(GLuint base) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glListBase( base ); } #endif @@ -7817,6 +7892,7 @@ static void REGAL_CALL emu_glLoadIdentity(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7826,10 +7902,10 @@ static void REGAL_CALL emu_glLoadIdentity(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -7848,6 +7924,7 @@ static void REGAL_CALL emu_glLoadIdentity(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7857,12 +7934,11 @@ static void REGAL_CALL emu_glLoadIdentity(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadIdentity( ); return; } @@ -7889,6 +7965,7 @@ static void REGAL_CALL emu_glLoadMatrixd(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7898,10 +7975,10 @@ static void REGAL_CALL emu_glLoadMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -7920,6 +7997,7 @@ static void REGAL_CALL emu_glLoadMatrixd(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7929,12 +8007,11 @@ static void REGAL_CALL emu_glLoadMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadMatrix( m ); return; } @@ -7961,6 +8038,7 @@ static void REGAL_CALL emu_glLoadMatrixf(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -7970,10 +8048,10 @@ static void REGAL_CALL emu_glLoadMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -7992,6 +8070,7 @@ static void REGAL_CALL emu_glLoadMatrixf(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8001,12 +8080,11 @@ static void REGAL_CALL emu_glLoadMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadMatrix( m ); return; } @@ -8033,14 +8111,14 @@ static void REGAL_CALL emu_glLogicOp(GLenum opcode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glLogicOp( opcode ); } #endif @@ -8063,6 +8141,7 @@ static void REGAL_CALL emu_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8088,6 +8167,7 @@ static void REGAL_CALL emu_glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLin // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8139,6 +8219,7 @@ static void REGAL_CALL emu_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8164,6 +8245,7 @@ static void REGAL_CALL emu_glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8215,6 +8297,7 @@ static void REGAL_CALL emu_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8240,6 +8323,7 @@ static void REGAL_CALL emu_glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLin // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8291,6 +8375,7 @@ static void REGAL_CALL emu_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8316,6 +8401,7 @@ static void REGAL_CALL emu_glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8367,17 +8453,18 @@ static void REGAL_CALL emu_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMapGrid1( un, u1, u2 ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -8400,6 +8487,7 @@ static void REGAL_CALL emu_glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8451,17 +8539,18 @@ static void REGAL_CALL emu_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMapGrid1( un, u1, u2 ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -8484,6 +8573,7 @@ static void REGAL_CALL emu_glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8535,17 +8625,18 @@ static void REGAL_CALL emu_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMapGrid2( un, u1, u2, vn, v1, v2 ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -8568,6 +8659,7 @@ static void REGAL_CALL emu_glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8619,17 +8711,18 @@ static void REGAL_CALL emu_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMapGrid2( un, u1, u2, vn, v1, v2 ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -8652,6 +8745,7 @@ static void REGAL_CALL emu_glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8703,24 +8797,24 @@ static void REGAL_CALL emu_glMaterialf(GLenum face, GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMaterial( face, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -8732,6 +8826,7 @@ static void REGAL_CALL emu_glMaterialf(GLenum face, GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8741,12 +8836,11 @@ static void REGAL_CALL emu_glMaterialf(GLenum face, GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Material( face, pname, param ); return; } @@ -8773,24 +8867,24 @@ static void REGAL_CALL emu_glMaterialfv(GLenum face, GLenum pname, const GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMaterialv( face, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -8802,6 +8896,7 @@ static void REGAL_CALL emu_glMaterialfv(GLenum face, GLenum pname, const GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8811,12 +8906,11 @@ static void REGAL_CALL emu_glMaterialfv(GLenum face, GLenum pname, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Material( face, pname, params ); return; } @@ -8843,24 +8937,24 @@ static void REGAL_CALL emu_glMateriali(GLenum face, GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMaterial( face, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -8872,6 +8966,7 @@ static void REGAL_CALL emu_glMateriali(GLenum face, GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8881,12 +8976,11 @@ static void REGAL_CALL emu_glMateriali(GLenum face, GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Material( face, pname, param ); return; } @@ -8913,24 +9007,24 @@ static void REGAL_CALL emu_glMaterialiv(GLenum face, GLenum pname, const GLint * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMaterialv( face, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -8942,6 +9036,7 @@ static void REGAL_CALL emu_glMaterialiv(GLenum face, GLenum pname, const GLint * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -8951,12 +9046,11 @@ static void REGAL_CALL emu_glMaterialiv(GLenum face, GLenum pname, const GLint * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Material( face, pname, params ); return; } @@ -8983,27 +9077,28 @@ static void REGAL_CALL emu_glMatrixMode(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMatrixMode( mode ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -9017,6 +9112,7 @@ static void REGAL_CALL emu_glMatrixMode(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9026,18 +9122,18 @@ static void REGAL_CALL emu_glMatrixMode(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if( ! _context->iff->ShadowMatrixMode( mode ) ) { _context->dispatcher.emulation.glMatrixMode( mode ); } return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -9073,6 +9169,7 @@ static void REGAL_CALL emu_glMultMatrixd(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9082,10 +9179,10 @@ static void REGAL_CALL emu_glMultMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -9104,6 +9201,7 @@ static void REGAL_CALL emu_glMultMatrixd(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9113,12 +9211,11 @@ static void REGAL_CALL emu_glMultMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultMatrix( m ); return; } @@ -9145,6 +9242,7 @@ static void REGAL_CALL emu_glMultMatrixf(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9154,10 +9252,10 @@ static void REGAL_CALL emu_glMultMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -9176,6 +9274,7 @@ static void REGAL_CALL emu_glMultMatrixf(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9185,12 +9284,11 @@ static void REGAL_CALL emu_glMultMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultMatrix( m ); return; } @@ -9217,6 +9315,7 @@ static void REGAL_CALL emu_glNewList(GLuint list, GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9242,6 +9341,7 @@ static void REGAL_CALL emu_glNewList(GLuint list, GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9293,6 +9393,7 @@ static void REGAL_CALL emu_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9302,7 +9403,6 @@ static void REGAL_CALL emu_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9314,6 +9414,7 @@ static void REGAL_CALL emu_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9323,12 +9424,11 @@ static void REGAL_CALL emu_glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), nx, ny, nz ); return; } @@ -9355,6 +9455,7 @@ static void REGAL_CALL emu_glNormal3bv(const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9364,7 +9465,6 @@ static void REGAL_CALL emu_glNormal3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9376,6 +9476,7 @@ static void REGAL_CALL emu_glNormal3bv(const GLbyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9385,12 +9486,11 @@ static void REGAL_CALL emu_glNormal3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), v ); return; } @@ -9417,6 +9517,7 @@ static void REGAL_CALL emu_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9426,7 +9527,6 @@ static void REGAL_CALL emu_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9438,6 +9538,7 @@ static void REGAL_CALL emu_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9447,12 +9548,11 @@ static void REGAL_CALL emu_glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), nx, ny, nz ); return; } @@ -9479,6 +9579,7 @@ static void REGAL_CALL emu_glNormal3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9488,7 +9589,6 @@ static void REGAL_CALL emu_glNormal3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9500,6 +9600,7 @@ static void REGAL_CALL emu_glNormal3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9509,12 +9610,11 @@ static void REGAL_CALL emu_glNormal3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), v ); return; } @@ -9541,6 +9641,7 @@ static void REGAL_CALL emu_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9550,7 +9651,6 @@ static void REGAL_CALL emu_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9562,6 +9662,7 @@ static void REGAL_CALL emu_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9571,12 +9672,11 @@ static void REGAL_CALL emu_glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), nx, ny, nz ); return; } @@ -9603,6 +9703,7 @@ static void REGAL_CALL emu_glNormal3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9612,7 +9713,6 @@ static void REGAL_CALL emu_glNormal3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9624,6 +9724,7 @@ static void REGAL_CALL emu_glNormal3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9633,12 +9734,11 @@ static void REGAL_CALL emu_glNormal3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), v ); return; } @@ -9665,6 +9765,7 @@ static void REGAL_CALL emu_glNormal3i(GLint nx, GLint ny, GLint nz) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9674,7 +9775,6 @@ static void REGAL_CALL emu_glNormal3i(GLint nx, GLint ny, GLint nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9686,6 +9786,7 @@ static void REGAL_CALL emu_glNormal3i(GLint nx, GLint ny, GLint nz) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9695,12 +9796,11 @@ static void REGAL_CALL emu_glNormal3i(GLint nx, GLint ny, GLint nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), nx, ny, nz ); return; } @@ -9727,6 +9827,7 @@ static void REGAL_CALL emu_glNormal3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9736,7 +9837,6 @@ static void REGAL_CALL emu_glNormal3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9748,6 +9848,7 @@ static void REGAL_CALL emu_glNormal3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9757,12 +9858,11 @@ static void REGAL_CALL emu_glNormal3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), v ); return; } @@ -9789,6 +9889,7 @@ static void REGAL_CALL emu_glNormal3s(GLshort nx, GLshort ny, GLshort nz) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9798,7 +9899,6 @@ static void REGAL_CALL emu_glNormal3s(GLshort nx, GLshort ny, GLshort nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9810,6 +9910,7 @@ static void REGAL_CALL emu_glNormal3s(GLshort nx, GLshort ny, GLshort nz) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9819,12 +9920,11 @@ static void REGAL_CALL emu_glNormal3s(GLshort nx, GLshort ny, GLshort nz) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), nx, ny, nz ); return; } @@ -9851,6 +9951,7 @@ static void REGAL_CALL emu_glNormal3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9860,7 +9961,6 @@ static void REGAL_CALL emu_glNormal3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9872,6 +9972,7 @@ static void REGAL_CALL emu_glNormal3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9881,12 +9982,11 @@ static void REGAL_CALL emu_glNormal3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_Normal ), v ); return; } @@ -9913,6 +10013,7 @@ static void REGAL_CALL emu_glOrtho(GLdouble left, GLdouble right, GLdouble botto // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9922,7 +10023,6 @@ static void REGAL_CALL emu_glOrtho(GLdouble left, GLdouble right, GLdouble botto case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -9934,6 +10034,7 @@ static void REGAL_CALL emu_glOrtho(GLdouble left, GLdouble right, GLdouble botto // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -9943,12 +10044,11 @@ static void REGAL_CALL emu_glOrtho(GLdouble left, GLdouble right, GLdouble botto case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Ortho( left, right, bottom, top, zNear, zFar ); return; } @@ -9975,28 +10075,29 @@ static void REGAL_CALL emu_glPixelStoref(GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPixelStore( pname, param ); } #endif + case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->PixelStore( _context, pname, param ); } #endif + case 10 : case 9 : case 8 : case 7 : @@ -10016,6 +10117,7 @@ static void REGAL_CALL emu_glPixelStoref(GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10067,28 +10169,29 @@ static void REGAL_CALL emu_glPixelStorei(GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPixelStore( pname, param ); } #endif + case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->PixelStore( _context, pname, param ); } #endif + case 10 : case 9 : case 8 : case 7 : @@ -10116,6 +10219,7 @@ static void REGAL_CALL emu_glPixelStorei(GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10166,17 +10270,18 @@ static void REGAL_CALL emu_glPixelTransferf(GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPixelTransfer( pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -10199,6 +10304,7 @@ static void REGAL_CALL emu_glPixelTransferf(GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10250,17 +10356,18 @@ static void REGAL_CALL emu_glPixelTransferi(GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPixelTransfer( pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -10283,6 +10390,7 @@ static void REGAL_CALL emu_glPixelTransferi(GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10334,17 +10442,18 @@ static void REGAL_CALL emu_glPixelZoom(GLfloat xfactor, GLfloat yfactor) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPixelZoom( xfactor, yfactor ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -10367,6 +10476,7 @@ static void REGAL_CALL emu_glPixelZoom(GLfloat xfactor, GLfloat yfactor) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10418,14 +10528,14 @@ static void REGAL_CALL emu_glPointSize(GLfloat size) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPointSize( size ); } #endif @@ -10448,17 +10558,18 @@ static void REGAL_CALL emu_glPolygonMode(GLenum face, GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPolygonMode( face, mode ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -10466,6 +10577,14 @@ static void REGAL_CALL emu_glPolygonMode(GLenum face, GLenum mode) case 8 : case 7 : case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + _context->quads->glPolygonMode( face, mode ); + } + #endif case 5 : case 4 : case 3 : @@ -10481,6 +10600,7 @@ static void REGAL_CALL emu_glPolygonMode(GLenum face, GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10531,14 +10651,14 @@ static void REGAL_CALL emu_glPolygonStipple(const GLubyte *mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPolygonStipple( mask ); } #endif @@ -10561,9 +10681,9 @@ static void REGAL_CALL emu_glPopAttrib(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -10575,14 +10695,14 @@ static void REGAL_CALL emu_glPopAttrib(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->PopAttrib( _context ); return; } @@ -10609,6 +10729,7 @@ static void REGAL_CALL emu_glPopMatrix(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10618,10 +10739,10 @@ static void REGAL_CALL emu_glPopMatrix(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -10640,6 +10761,7 @@ static void REGAL_CALL emu_glPopMatrix(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10649,12 +10771,11 @@ static void REGAL_CALL emu_glPopMatrix(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PopMatrix( ); return; } @@ -10681,9 +10802,9 @@ static void REGAL_CALL emu_glPushAttrib(GLbitfield mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -10695,14 +10816,14 @@ static void REGAL_CALL emu_glPushAttrib(GLbitfield mask) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->PushAttrib( _context, mask ); return; } @@ -10729,6 +10850,7 @@ static void REGAL_CALL emu_glPushMatrix(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10738,10 +10860,10 @@ static void REGAL_CALL emu_glPushMatrix(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -10760,6 +10882,7 @@ static void REGAL_CALL emu_glPushMatrix(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10769,12 +10892,11 @@ static void REGAL_CALL emu_glPushMatrix(void) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PushMatrix( ); return; } @@ -10801,6 +10923,7 @@ static void REGAL_CALL emu_glRasterPos2d(GLdouble x, GLdouble y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10810,10 +10933,10 @@ static void REGAL_CALL emu_glRasterPos2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -10829,6 +10952,7 @@ static void REGAL_CALL emu_glRasterPos2d(GLdouble x, GLdouble y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10838,16 +10962,16 @@ static void REGAL_CALL emu_glRasterPos2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -10889,6 +11013,7 @@ static void REGAL_CALL emu_glRasterPos2dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10914,6 +11039,7 @@ static void REGAL_CALL emu_glRasterPos2dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10965,6 +11091,7 @@ static void REGAL_CALL emu_glRasterPos2f(GLfloat x, GLfloat y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -10974,10 +11101,10 @@ static void REGAL_CALL emu_glRasterPos2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -10993,6 +11120,7 @@ static void REGAL_CALL emu_glRasterPos2f(GLfloat x, GLfloat y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11002,16 +11130,16 @@ static void REGAL_CALL emu_glRasterPos2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11053,6 +11181,7 @@ static void REGAL_CALL emu_glRasterPos2fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11078,6 +11207,7 @@ static void REGAL_CALL emu_glRasterPos2fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11129,6 +11259,7 @@ static void REGAL_CALL emu_glRasterPos2i(GLint x, GLint y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11138,10 +11269,10 @@ static void REGAL_CALL emu_glRasterPos2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11157,6 +11288,7 @@ static void REGAL_CALL emu_glRasterPos2i(GLint x, GLint y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11166,16 +11298,16 @@ static void REGAL_CALL emu_glRasterPos2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11217,6 +11349,7 @@ static void REGAL_CALL emu_glRasterPos2iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11242,6 +11375,7 @@ static void REGAL_CALL emu_glRasterPos2iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11293,6 +11427,7 @@ static void REGAL_CALL emu_glRasterPos2s(GLshort x, GLshort y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11302,10 +11437,10 @@ static void REGAL_CALL emu_glRasterPos2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11321,6 +11456,7 @@ static void REGAL_CALL emu_glRasterPos2s(GLshort x, GLshort y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11330,16 +11466,16 @@ static void REGAL_CALL emu_glRasterPos2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11381,6 +11517,7 @@ static void REGAL_CALL emu_glRasterPos2sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11406,6 +11543,7 @@ static void REGAL_CALL emu_glRasterPos2sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11457,6 +11595,7 @@ static void REGAL_CALL emu_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11466,10 +11605,10 @@ static void REGAL_CALL emu_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11485,6 +11624,7 @@ static void REGAL_CALL emu_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11494,16 +11634,16 @@ static void REGAL_CALL emu_glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11545,6 +11685,7 @@ static void REGAL_CALL emu_glRasterPos3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11570,6 +11711,7 @@ static void REGAL_CALL emu_glRasterPos3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11621,6 +11763,7 @@ static void REGAL_CALL emu_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11630,10 +11773,10 @@ static void REGAL_CALL emu_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11649,6 +11792,7 @@ static void REGAL_CALL emu_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11658,16 +11802,16 @@ static void REGAL_CALL emu_glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11709,6 +11853,7 @@ static void REGAL_CALL emu_glRasterPos3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11734,6 +11879,7 @@ static void REGAL_CALL emu_glRasterPos3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11785,6 +11931,7 @@ static void REGAL_CALL emu_glRasterPos3i(GLint x, GLint y, GLint z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11794,10 +11941,10 @@ static void REGAL_CALL emu_glRasterPos3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11813,6 +11960,7 @@ static void REGAL_CALL emu_glRasterPos3i(GLint x, GLint y, GLint z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11822,16 +11970,16 @@ static void REGAL_CALL emu_glRasterPos3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -11873,6 +12021,7 @@ static void REGAL_CALL emu_glRasterPos3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11898,6 +12047,7 @@ static void REGAL_CALL emu_glRasterPos3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11949,6 +12099,7 @@ static void REGAL_CALL emu_glRasterPos3s(GLshort x, GLshort y, GLshort z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11958,10 +12109,10 @@ static void REGAL_CALL emu_glRasterPos3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -11977,6 +12128,7 @@ static void REGAL_CALL emu_glRasterPos3s(GLshort x, GLshort y, GLshort z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -11986,16 +12138,16 @@ static void REGAL_CALL emu_glRasterPos3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RasterPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -12037,6 +12189,7 @@ static void REGAL_CALL emu_glRasterPos3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12062,6 +12215,7 @@ static void REGAL_CALL emu_glRasterPos3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12113,6 +12267,7 @@ static void REGAL_CALL emu_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12138,6 +12293,7 @@ static void REGAL_CALL emu_glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLd // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12189,6 +12345,7 @@ static void REGAL_CALL emu_glRasterPos4dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12214,6 +12371,7 @@ static void REGAL_CALL emu_glRasterPos4dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12265,6 +12423,7 @@ static void REGAL_CALL emu_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12290,6 +12449,7 @@ static void REGAL_CALL emu_glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12341,6 +12501,7 @@ static void REGAL_CALL emu_glRasterPos4fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12366,6 +12527,7 @@ static void REGAL_CALL emu_glRasterPos4fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12417,6 +12579,7 @@ static void REGAL_CALL emu_glRasterPos4i(GLint x, GLint y, GLint z, GLint w) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12442,6 +12605,7 @@ static void REGAL_CALL emu_glRasterPos4i(GLint x, GLint y, GLint z, GLint w) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12493,6 +12657,7 @@ static void REGAL_CALL emu_glRasterPos4iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12518,6 +12683,7 @@ static void REGAL_CALL emu_glRasterPos4iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12569,6 +12735,7 @@ static void REGAL_CALL emu_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12594,6 +12761,7 @@ static void REGAL_CALL emu_glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshor // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12645,6 +12813,7 @@ static void REGAL_CALL emu_glRasterPos4sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12670,6 +12839,7 @@ static void REGAL_CALL emu_glRasterPos4sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12721,17 +12891,18 @@ static void REGAL_CALL emu_glReadBuffer(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glReadBuffer( mode ); } #endif + case 13 : case 12 : case 11 : case 10 : @@ -12754,6 +12925,7 @@ static void REGAL_CALL emu_glReadBuffer(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12811,6 +12983,7 @@ static void REGAL_CALL emu_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdoub // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12819,10 +12992,10 @@ static void REGAL_CALL emu_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdoub case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif + case 7 : case 6 : case 5 : case 4 : @@ -12839,6 +13012,7 @@ static void REGAL_CALL emu_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdoub // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12847,16 +13021,16 @@ static void REGAL_CALL emu_glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdoub case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRect( _context, x1, y1, x2, y2 ); return; } #endif + case 7 : case 6 : case 5 : case 4 : @@ -12899,6 +13073,7 @@ static void REGAL_CALL emu_glRectdv(const GLdouble *v1, const GLdouble *v2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12907,7 +13082,6 @@ static void REGAL_CALL emu_glRectdv(const GLdouble *v1, const GLdouble *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif @@ -12919,6 +13093,7 @@ static void REGAL_CALL emu_glRectdv(const GLdouble *v1, const GLdouble *v2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12927,12 +13102,11 @@ static void REGAL_CALL emu_glRectdv(const GLdouble *v1, const GLdouble *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRectv( _context, v1, v2 ); return; } @@ -12959,6 +13133,7 @@ static void REGAL_CALL emu_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12967,10 +13142,10 @@ static void REGAL_CALL emu_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif + case 7 : case 6 : case 5 : case 4 : @@ -12987,6 +13162,7 @@ static void REGAL_CALL emu_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -12995,16 +13171,16 @@ static void REGAL_CALL emu_glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRect( _context, x1, y1, x2, y2 ); return; } #endif + case 7 : case 6 : case 5 : case 4 : @@ -13047,6 +13223,7 @@ static void REGAL_CALL emu_glRectfv(const GLfloat *v1, const GLfloat *v2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13055,7 +13232,6 @@ static void REGAL_CALL emu_glRectfv(const GLfloat *v1, const GLfloat *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif @@ -13067,6 +13243,7 @@ static void REGAL_CALL emu_glRectfv(const GLfloat *v1, const GLfloat *v2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13075,12 +13252,11 @@ static void REGAL_CALL emu_glRectfv(const GLfloat *v1, const GLfloat *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRectv( _context, v1, v2 ); return; } @@ -13107,6 +13283,7 @@ static void REGAL_CALL emu_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13115,10 +13292,10 @@ static void REGAL_CALL emu_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif + case 7 : case 6 : case 5 : case 4 : @@ -13135,6 +13312,7 @@ static void REGAL_CALL emu_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13143,16 +13321,16 @@ static void REGAL_CALL emu_glRecti(GLint x1, GLint y1, GLint x2, GLint y2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRect( _context, x1, y1, x2, y2 ); return; } #endif + case 7 : case 6 : case 5 : case 4 : @@ -13195,6 +13373,7 @@ static void REGAL_CALL emu_glRectiv(const GLint *v1, const GLint *v2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13203,7 +13382,6 @@ static void REGAL_CALL emu_glRectiv(const GLint *v1, const GLint *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif @@ -13215,6 +13393,7 @@ static void REGAL_CALL emu_glRectiv(const GLint *v1, const GLint *v2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13223,12 +13402,11 @@ static void REGAL_CALL emu_glRectiv(const GLint *v1, const GLint *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRectv( _context, v1, v2 ); return; } @@ -13255,6 +13433,7 @@ static void REGAL_CALL emu_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13263,10 +13442,10 @@ static void REGAL_CALL emu_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif + case 7 : case 6 : case 5 : case 4 : @@ -13283,6 +13462,7 @@ static void REGAL_CALL emu_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13291,16 +13471,16 @@ static void REGAL_CALL emu_glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRect( _context, x1, y1, x2, y2 ); return; } #endif + case 7 : case 6 : case 5 : case 4 : @@ -13343,6 +13523,7 @@ static void REGAL_CALL emu_glRectsv(const GLshort *v1, const GLshort *v2) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13351,7 +13532,6 @@ static void REGAL_CALL emu_glRectsv(const GLshort *v1, const GLshort *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) break; #endif @@ -13363,6 +13543,7 @@ static void REGAL_CALL emu_glRectsv(const GLshort *v1, const GLshort *v2) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13371,12 +13552,11 @@ static void REGAL_CALL emu_glRectsv(const GLshort *v1, const GLshort *v2) case 10 : case 9 : case 8 : - case 7 : #if REGAL_EMU_RECT if (_context->rect) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 6; + _context->emuLevel = 7; _context->rect->glRectv( _context, v1, v2 ); return; } @@ -13403,6 +13583,7 @@ static GLint REGAL_CALL emu_glRenderMode(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13428,6 +13609,7 @@ static GLint REGAL_CALL emu_glRenderMode(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13477,6 +13659,7 @@ static void REGAL_CALL emu_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13486,10 +13669,10 @@ static void REGAL_CALL emu_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLd case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -13508,6 +13691,7 @@ static void REGAL_CALL emu_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLd // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13517,12 +13701,11 @@ static void REGAL_CALL emu_glRotated(GLdouble angle, GLdouble x, GLdouble y, GLd case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Rotate( angle, x, y, z ); return; } @@ -13549,6 +13732,7 @@ static void REGAL_CALL emu_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13558,10 +13742,10 @@ static void REGAL_CALL emu_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -13580,6 +13764,7 @@ static void REGAL_CALL emu_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13589,12 +13774,11 @@ static void REGAL_CALL emu_glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Rotate( angle, x, y, z ); return; } @@ -13621,6 +13805,7 @@ static void REGAL_CALL emu_glScaled(GLdouble x, GLdouble y, GLdouble z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13630,10 +13815,10 @@ static void REGAL_CALL emu_glScaled(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -13652,6 +13837,7 @@ static void REGAL_CALL emu_glScaled(GLdouble x, GLdouble y, GLdouble z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13661,12 +13847,11 @@ static void REGAL_CALL emu_glScaled(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Scale( x, y, z ); return; } @@ -13693,6 +13878,7 @@ static void REGAL_CALL emu_glScalef(GLfloat x, GLfloat y, GLfloat z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13702,10 +13888,10 @@ static void REGAL_CALL emu_glScalef(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -13724,6 +13910,7 @@ static void REGAL_CALL emu_glScalef(GLfloat x, GLfloat y, GLfloat z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13733,12 +13920,11 @@ static void REGAL_CALL emu_glScalef(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Scale( x, y, z ); return; } @@ -13765,14 +13951,14 @@ static void REGAL_CALL emu_glScissor(GLint x, GLint y, GLsizei width, GLsizei he // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glScissor( x, y, width, height ); } #endif @@ -13795,27 +13981,36 @@ static void REGAL_CALL emu_glShadeModel(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glShadeModel( mode ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + _context->quads->glShadeModel( mode ); + } + #endif case 5 : case 4 : case 3 : @@ -13831,6 +14026,7 @@ static void REGAL_CALL emu_glShadeModel(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13840,12 +14036,11 @@ static void REGAL_CALL emu_glShadeModel(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadeModel( mode ); if( !_context->isCore() && !_context->isES2() ) { _context->dispatcher.emulation.glShadeModel(mode); @@ -13853,6 +14048,7 @@ static void REGAL_CALL emu_glShadeModel(GLenum mode) return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -13894,14 +14090,14 @@ static void REGAL_CALL emu_glStencilFunc(GLenum func, GLint ref, GLuint mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilFunc( func, ref, mask ); } #endif @@ -13924,14 +14120,14 @@ static void REGAL_CALL emu_glStencilMask(GLuint mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilMask( mask ); } #endif @@ -13954,14 +14150,14 @@ static void REGAL_CALL emu_glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilOp( fail, zfail, zpass ); } #endif @@ -13984,6 +14180,7 @@ static void REGAL_CALL emu_glTexCoord1d(GLdouble s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -13993,7 +14190,6 @@ static void REGAL_CALL emu_glTexCoord1d(GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14005,6 +14201,7 @@ static void REGAL_CALL emu_glTexCoord1d(GLdouble s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14014,12 +14211,11 @@ static void REGAL_CALL emu_glTexCoord1d(GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s ); return; } @@ -14046,6 +14242,7 @@ static void REGAL_CALL emu_glTexCoord1dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14055,7 +14252,6 @@ static void REGAL_CALL emu_glTexCoord1dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14067,6 +14263,7 @@ static void REGAL_CALL emu_glTexCoord1dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14076,12 +14273,11 @@ static void REGAL_CALL emu_glTexCoord1dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14108,6 +14304,7 @@ static void REGAL_CALL emu_glTexCoord1f(GLfloat s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14117,7 +14314,6 @@ static void REGAL_CALL emu_glTexCoord1f(GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14129,6 +14325,7 @@ static void REGAL_CALL emu_glTexCoord1f(GLfloat s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14138,12 +14335,11 @@ static void REGAL_CALL emu_glTexCoord1f(GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s ); return; } @@ -14170,6 +14366,7 @@ static void REGAL_CALL emu_glTexCoord1fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14179,7 +14376,6 @@ static void REGAL_CALL emu_glTexCoord1fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14191,6 +14387,7 @@ static void REGAL_CALL emu_glTexCoord1fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14200,12 +14397,11 @@ static void REGAL_CALL emu_glTexCoord1fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14232,6 +14428,7 @@ static void REGAL_CALL emu_glTexCoord1i(GLint s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14241,7 +14438,6 @@ static void REGAL_CALL emu_glTexCoord1i(GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14253,6 +14449,7 @@ static void REGAL_CALL emu_glTexCoord1i(GLint s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14262,12 +14459,11 @@ static void REGAL_CALL emu_glTexCoord1i(GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s ); return; } @@ -14294,6 +14490,7 @@ static void REGAL_CALL emu_glTexCoord1iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14303,7 +14500,6 @@ static void REGAL_CALL emu_glTexCoord1iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14315,6 +14511,7 @@ static void REGAL_CALL emu_glTexCoord1iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14324,12 +14521,11 @@ static void REGAL_CALL emu_glTexCoord1iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14356,6 +14552,7 @@ static void REGAL_CALL emu_glTexCoord1s(GLshort s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14365,7 +14562,6 @@ static void REGAL_CALL emu_glTexCoord1s(GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14377,6 +14573,7 @@ static void REGAL_CALL emu_glTexCoord1s(GLshort s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14386,12 +14583,11 @@ static void REGAL_CALL emu_glTexCoord1s(GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s ); return; } @@ -14418,6 +14614,7 @@ static void REGAL_CALL emu_glTexCoord1sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14427,7 +14624,6 @@ static void REGAL_CALL emu_glTexCoord1sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14439,6 +14635,7 @@ static void REGAL_CALL emu_glTexCoord1sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14448,12 +14645,11 @@ static void REGAL_CALL emu_glTexCoord1sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14480,6 +14676,7 @@ static void REGAL_CALL emu_glTexCoord2d(GLdouble s, GLdouble t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14489,7 +14686,6 @@ static void REGAL_CALL emu_glTexCoord2d(GLdouble s, GLdouble t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14501,6 +14697,7 @@ static void REGAL_CALL emu_glTexCoord2d(GLdouble s, GLdouble t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14510,12 +14707,11 @@ static void REGAL_CALL emu_glTexCoord2d(GLdouble s, GLdouble t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t ); return; } @@ -14542,6 +14738,7 @@ static void REGAL_CALL emu_glTexCoord2dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14551,7 +14748,6 @@ static void REGAL_CALL emu_glTexCoord2dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14563,6 +14759,7 @@ static void REGAL_CALL emu_glTexCoord2dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14572,12 +14769,11 @@ static void REGAL_CALL emu_glTexCoord2dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14604,6 +14800,7 @@ static void REGAL_CALL emu_glTexCoord2f(GLfloat s, GLfloat t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14613,7 +14810,6 @@ static void REGAL_CALL emu_glTexCoord2f(GLfloat s, GLfloat t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14625,6 +14821,7 @@ static void REGAL_CALL emu_glTexCoord2f(GLfloat s, GLfloat t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14634,12 +14831,11 @@ static void REGAL_CALL emu_glTexCoord2f(GLfloat s, GLfloat t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t ); return; } @@ -14666,6 +14862,7 @@ static void REGAL_CALL emu_glTexCoord2fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14675,7 +14872,6 @@ static void REGAL_CALL emu_glTexCoord2fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14687,6 +14883,7 @@ static void REGAL_CALL emu_glTexCoord2fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14696,12 +14893,11 @@ static void REGAL_CALL emu_glTexCoord2fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14728,6 +14924,7 @@ static void REGAL_CALL emu_glTexCoord2i(GLint s, GLint t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14737,7 +14934,6 @@ static void REGAL_CALL emu_glTexCoord2i(GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14749,6 +14945,7 @@ static void REGAL_CALL emu_glTexCoord2i(GLint s, GLint t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14758,12 +14955,11 @@ static void REGAL_CALL emu_glTexCoord2i(GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t ); return; } @@ -14790,6 +14986,7 @@ static void REGAL_CALL emu_glTexCoord2iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14799,7 +14996,6 @@ static void REGAL_CALL emu_glTexCoord2iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14811,6 +15007,7 @@ static void REGAL_CALL emu_glTexCoord2iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14820,12 +15017,11 @@ static void REGAL_CALL emu_glTexCoord2iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14852,6 +15048,7 @@ static void REGAL_CALL emu_glTexCoord2s(GLshort s, GLshort t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14861,7 +15058,6 @@ static void REGAL_CALL emu_glTexCoord2s(GLshort s, GLshort t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14873,6 +15069,7 @@ static void REGAL_CALL emu_glTexCoord2s(GLshort s, GLshort t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14882,12 +15079,11 @@ static void REGAL_CALL emu_glTexCoord2s(GLshort s, GLshort t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t ); return; } @@ -14914,6 +15110,7 @@ static void REGAL_CALL emu_glTexCoord2sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14923,7 +15120,6 @@ static void REGAL_CALL emu_glTexCoord2sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14935,6 +15131,7 @@ static void REGAL_CALL emu_glTexCoord2sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14944,12 +15141,11 @@ static void REGAL_CALL emu_glTexCoord2sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -14976,6 +15172,7 @@ static void REGAL_CALL emu_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -14985,7 +15182,6 @@ static void REGAL_CALL emu_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -14997,6 +15193,7 @@ static void REGAL_CALL emu_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15006,12 +15203,11 @@ static void REGAL_CALL emu_glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r ); return; } @@ -15038,6 +15234,7 @@ static void REGAL_CALL emu_glTexCoord3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15047,7 +15244,6 @@ static void REGAL_CALL emu_glTexCoord3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15059,6 +15255,7 @@ static void REGAL_CALL emu_glTexCoord3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15068,12 +15265,11 @@ static void REGAL_CALL emu_glTexCoord3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15100,6 +15296,7 @@ static void REGAL_CALL emu_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15109,7 +15306,6 @@ static void REGAL_CALL emu_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15121,6 +15317,7 @@ static void REGAL_CALL emu_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15130,12 +15327,11 @@ static void REGAL_CALL emu_glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r ); return; } @@ -15162,6 +15358,7 @@ static void REGAL_CALL emu_glTexCoord3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15171,7 +15368,6 @@ static void REGAL_CALL emu_glTexCoord3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15183,6 +15379,7 @@ static void REGAL_CALL emu_glTexCoord3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15192,12 +15389,11 @@ static void REGAL_CALL emu_glTexCoord3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15224,6 +15420,7 @@ static void REGAL_CALL emu_glTexCoord3i(GLint s, GLint t, GLint r) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15233,7 +15430,6 @@ static void REGAL_CALL emu_glTexCoord3i(GLint s, GLint t, GLint r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15245,6 +15441,7 @@ static void REGAL_CALL emu_glTexCoord3i(GLint s, GLint t, GLint r) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15254,12 +15451,11 @@ static void REGAL_CALL emu_glTexCoord3i(GLint s, GLint t, GLint r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r ); return; } @@ -15286,6 +15482,7 @@ static void REGAL_CALL emu_glTexCoord3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15295,7 +15492,6 @@ static void REGAL_CALL emu_glTexCoord3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15307,6 +15503,7 @@ static void REGAL_CALL emu_glTexCoord3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15316,12 +15513,11 @@ static void REGAL_CALL emu_glTexCoord3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15348,6 +15544,7 @@ static void REGAL_CALL emu_glTexCoord3s(GLshort s, GLshort t, GLshort r) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15357,7 +15554,6 @@ static void REGAL_CALL emu_glTexCoord3s(GLshort s, GLshort t, GLshort r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15369,6 +15565,7 @@ static void REGAL_CALL emu_glTexCoord3s(GLshort s, GLshort t, GLshort r) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15378,12 +15575,11 @@ static void REGAL_CALL emu_glTexCoord3s(GLshort s, GLshort t, GLshort r) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r ); return; } @@ -15410,6 +15606,7 @@ static void REGAL_CALL emu_glTexCoord3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15419,7 +15616,6 @@ static void REGAL_CALL emu_glTexCoord3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15431,6 +15627,7 @@ static void REGAL_CALL emu_glTexCoord3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15440,12 +15637,11 @@ static void REGAL_CALL emu_glTexCoord3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15472,6 +15668,7 @@ static void REGAL_CALL emu_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15481,7 +15678,6 @@ static void REGAL_CALL emu_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdo case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15493,6 +15689,7 @@ static void REGAL_CALL emu_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15502,12 +15699,11 @@ static void REGAL_CALL emu_glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdo case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r, q ); return; } @@ -15534,6 +15730,7 @@ static void REGAL_CALL emu_glTexCoord4dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15543,7 +15740,6 @@ static void REGAL_CALL emu_glTexCoord4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15555,6 +15751,7 @@ static void REGAL_CALL emu_glTexCoord4dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15564,12 +15761,11 @@ static void REGAL_CALL emu_glTexCoord4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15596,6 +15792,7 @@ static void REGAL_CALL emu_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15605,7 +15802,6 @@ static void REGAL_CALL emu_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15617,6 +15813,7 @@ static void REGAL_CALL emu_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15626,12 +15823,11 @@ static void REGAL_CALL emu_glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r, q ); return; } @@ -15658,6 +15854,7 @@ static void REGAL_CALL emu_glTexCoord4fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15667,7 +15864,6 @@ static void REGAL_CALL emu_glTexCoord4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15679,6 +15875,7 @@ static void REGAL_CALL emu_glTexCoord4fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15688,12 +15885,11 @@ static void REGAL_CALL emu_glTexCoord4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15720,6 +15916,7 @@ static void REGAL_CALL emu_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15729,7 +15926,6 @@ static void REGAL_CALL emu_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15741,6 +15937,7 @@ static void REGAL_CALL emu_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15750,12 +15947,11 @@ static void REGAL_CALL emu_glTexCoord4i(GLint s, GLint t, GLint r, GLint q) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r, q ); return; } @@ -15782,6 +15978,7 @@ static void REGAL_CALL emu_glTexCoord4iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15791,7 +15988,6 @@ static void REGAL_CALL emu_glTexCoord4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15803,6 +15999,7 @@ static void REGAL_CALL emu_glTexCoord4iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15812,12 +16009,11 @@ static void REGAL_CALL emu_glTexCoord4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15844,6 +16040,7 @@ static void REGAL_CALL emu_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15853,7 +16050,6 @@ static void REGAL_CALL emu_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15865,6 +16061,7 @@ static void REGAL_CALL emu_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15874,12 +16071,11 @@ static void REGAL_CALL emu_glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), s, t, r, q ); return; } @@ -15906,6 +16102,7 @@ static void REGAL_CALL emu_glTexCoord4sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15915,7 +16112,6 @@ static void REGAL_CALL emu_glTexCoord4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -15927,6 +16123,7 @@ static void REGAL_CALL emu_glTexCoord4sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -15936,12 +16133,11 @@ static void REGAL_CALL emu_glTexCoord4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord ), v ); return; } @@ -15968,27 +16164,28 @@ static void REGAL_CALL emu_glTexEnvf(GLenum target, GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glTexEnv( target, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16008,6 +16205,7 @@ static void REGAL_CALL emu_glTexEnvf(GLenum target, GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16017,12 +16215,11 @@ static void REGAL_CALL emu_glTexEnvf(GLenum target, GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( target, pname, param ); return; } @@ -16049,27 +16246,28 @@ static void REGAL_CALL emu_glTexEnvfv(GLenum target, GLenum pname, const GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glTexEnvv( target, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16089,6 +16287,7 @@ static void REGAL_CALL emu_glTexEnvfv(GLenum target, GLenum pname, const GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16098,12 +16297,11 @@ static void REGAL_CALL emu_glTexEnvfv(GLenum target, GLenum pname, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( target, pname, params ); return; } @@ -16130,27 +16328,28 @@ static void REGAL_CALL emu_glTexEnvi(GLenum target, GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glTexEnv( target, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16170,6 +16369,7 @@ static void REGAL_CALL emu_glTexEnvi(GLenum target, GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16179,12 +16379,11 @@ static void REGAL_CALL emu_glTexEnvi(GLenum target, GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( target, pname, param ); return; } @@ -16211,27 +16410,28 @@ static void REGAL_CALL emu_glTexEnviv(GLenum target, GLenum pname, const GLint * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glTexEnvv( target, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16251,6 +16451,7 @@ static void REGAL_CALL emu_glTexEnviv(GLenum target, GLenum pname, const GLint * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16260,12 +16461,11 @@ static void REGAL_CALL emu_glTexEnviv(GLenum target, GLenum pname, const GLint * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( target, pname, params ); return; } @@ -16292,6 +16492,7 @@ static void REGAL_CALL emu_glTexGend(GLenum coord, GLenum pname, GLdouble param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16301,7 +16502,6 @@ static void REGAL_CALL emu_glTexGend(GLenum coord, GLenum pname, GLdouble param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -16313,6 +16513,7 @@ static void REGAL_CALL emu_glTexGend(GLenum coord, GLenum pname, GLdouble param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16322,12 +16523,11 @@ static void REGAL_CALL emu_glTexGend(GLenum coord, GLenum pname, GLdouble param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, param ) ) { _context->dispatcher.emulation.glTexGend( coord, pname, param ); } @@ -16356,6 +16556,7 @@ static void REGAL_CALL emu_glTexGendv(GLenum coord, GLenum pname, const GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16365,7 +16566,6 @@ static void REGAL_CALL emu_glTexGendv(GLenum coord, GLenum pname, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -16377,6 +16577,7 @@ static void REGAL_CALL emu_glTexGendv(GLenum coord, GLenum pname, const GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16386,12 +16587,11 @@ static void REGAL_CALL emu_glTexGendv(GLenum coord, GLenum pname, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, params ) ) { _context->dispatcher.emulation.glTexGendv( coord, pname, params ); } @@ -16420,6 +16620,7 @@ static void REGAL_CALL emu_glTexGenf(GLenum coord, GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16429,10 +16630,10 @@ static void REGAL_CALL emu_glTexGenf(GLenum coord, GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16451,6 +16652,7 @@ static void REGAL_CALL emu_glTexGenf(GLenum coord, GLenum pname, GLfloat param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16460,12 +16662,11 @@ static void REGAL_CALL emu_glTexGenf(GLenum coord, GLenum pname, GLfloat param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, param ) ) { _context->dispatcher.emulation.glTexGenf( coord, pname, param ); } @@ -16494,6 +16695,7 @@ static void REGAL_CALL emu_glTexGenfv(GLenum coord, GLenum pname, const GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16503,10 +16705,10 @@ static void REGAL_CALL emu_glTexGenfv(GLenum coord, GLenum pname, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16525,6 +16727,7 @@ static void REGAL_CALL emu_glTexGenfv(GLenum coord, GLenum pname, const GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16534,12 +16737,11 @@ static void REGAL_CALL emu_glTexGenfv(GLenum coord, GLenum pname, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, params ) ) { _context->dispatcher.emulation.glTexGenfv( coord, pname, params ); } @@ -16568,6 +16770,7 @@ static void REGAL_CALL emu_glTexGeni(GLenum coord, GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16577,10 +16780,10 @@ static void REGAL_CALL emu_glTexGeni(GLenum coord, GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16599,6 +16802,7 @@ static void REGAL_CALL emu_glTexGeni(GLenum coord, GLenum pname, GLint param) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16608,12 +16812,11 @@ static void REGAL_CALL emu_glTexGeni(GLenum coord, GLenum pname, GLint param) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, param ) ) { _context->dispatcher.emulation.glTexGeni( coord, pname, param ); } @@ -16642,6 +16845,7 @@ static void REGAL_CALL emu_glTexGeniv(GLenum coord, GLenum pname, const GLint *p // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16651,10 +16855,10 @@ static void REGAL_CALL emu_glTexGeniv(GLenum coord, GLenum pname, const GLint *p case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -16673,6 +16877,7 @@ static void REGAL_CALL emu_glTexGeniv(GLenum coord, GLenum pname, const GLint *p // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16682,12 +16887,11 @@ static void REGAL_CALL emu_glTexGeniv(GLenum coord, GLenum pname, const GLint *p case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if ( ! _context->iff->TexGen( coord, pname, params ) ) { _context->dispatcher.emulation.glTexGeniv( coord, pname, params ); } @@ -16716,6 +16920,7 @@ static void REGAL_CALL emu_glTexImage1D(GLenum target, GLint level, GLint intern // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16725,15 +16930,15 @@ static void REGAL_CALL emu_glTexImage1D(GLenum target, GLint level, GLint intern case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -16749,6 +16954,7 @@ static void REGAL_CALL emu_glTexImage1D(GLenum target, GLint level, GLint intern // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16800,27 +17006,28 @@ static void REGAL_CALL emu_glTexImage2D(GLenum target, GLint level, GLint intern // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif + case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -16844,21 +17051,22 @@ static void REGAL_CALL emu_glTexImage2D(GLenum target, GLint level, GLint intern // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->TexImage2D( _context, target, level, internalformat, width, height, border, format, type, pixels ); return; } #endif + case 10 : case 9 : case 8 : case 7 : @@ -16903,6 +17111,7 @@ static void REGAL_CALL emu_glTexParameterf(GLenum target, GLenum pname, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -16940,6 +17149,7 @@ static void REGAL_CALL emu_glTexParameterf(GLenum target, GLenum pname, GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17003,6 +17213,7 @@ static void REGAL_CALL emu_glTexParameterfv(GLenum target, GLenum pname, const G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17040,6 +17251,7 @@ static void REGAL_CALL emu_glTexParameterfv(GLenum target, GLenum pname, const G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17103,6 +17315,7 @@ static void REGAL_CALL emu_glTexParameteri(GLenum target, GLenum pname, GLint pa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17140,6 +17353,7 @@ static void REGAL_CALL emu_glTexParameteri(GLenum target, GLenum pname, GLint pa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17203,6 +17417,7 @@ static void REGAL_CALL emu_glTexParameteriv(GLenum target, GLenum pname, const G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17240,6 +17455,7 @@ static void REGAL_CALL emu_glTexParameteriv(GLenum target, GLenum pname, const G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17303,6 +17519,7 @@ static void REGAL_CALL emu_glTranslated(GLdouble x, GLdouble y, GLdouble z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17312,10 +17529,10 @@ static void REGAL_CALL emu_glTranslated(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -17334,6 +17551,7 @@ static void REGAL_CALL emu_glTranslated(GLdouble x, GLdouble y, GLdouble z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17343,12 +17561,11 @@ static void REGAL_CALL emu_glTranslated(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Translate( x, y, z ); return; } @@ -17375,6 +17592,7 @@ static void REGAL_CALL emu_glTranslatef(GLfloat x, GLfloat y, GLfloat z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17384,10 +17602,10 @@ static void REGAL_CALL emu_glTranslatef(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -17406,6 +17624,7 @@ static void REGAL_CALL emu_glTranslatef(GLfloat x, GLfloat y, GLfloat z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17415,12 +17634,11 @@ static void REGAL_CALL emu_glTranslatef(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Translate( x, y, z ); return; } @@ -17447,6 +17665,7 @@ static void REGAL_CALL emu_glVertex2d(GLdouble x, GLdouble y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17456,7 +17675,6 @@ static void REGAL_CALL emu_glVertex2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17468,6 +17686,7 @@ static void REGAL_CALL emu_glVertex2d(GLdouble x, GLdouble y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17477,12 +17696,11 @@ static void REGAL_CALL emu_glVertex2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y ); return; } @@ -17509,6 +17727,7 @@ static void REGAL_CALL emu_glVertex2dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17518,7 +17737,6 @@ static void REGAL_CALL emu_glVertex2dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17530,6 +17748,7 @@ static void REGAL_CALL emu_glVertex2dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17539,12 +17758,11 @@ static void REGAL_CALL emu_glVertex2dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -17571,6 +17789,7 @@ static void REGAL_CALL emu_glVertex2f(GLfloat x, GLfloat y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17580,7 +17799,6 @@ static void REGAL_CALL emu_glVertex2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17592,6 +17810,7 @@ static void REGAL_CALL emu_glVertex2f(GLfloat x, GLfloat y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17601,12 +17820,11 @@ static void REGAL_CALL emu_glVertex2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y ); return; } @@ -17633,6 +17851,7 @@ static void REGAL_CALL emu_glVertex2fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17642,7 +17861,6 @@ static void REGAL_CALL emu_glVertex2fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17654,6 +17872,7 @@ static void REGAL_CALL emu_glVertex2fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17663,12 +17882,11 @@ static void REGAL_CALL emu_glVertex2fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -17695,6 +17913,7 @@ static void REGAL_CALL emu_glVertex2i(GLint x, GLint y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17704,7 +17923,6 @@ static void REGAL_CALL emu_glVertex2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17716,6 +17934,7 @@ static void REGAL_CALL emu_glVertex2i(GLint x, GLint y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17725,12 +17944,11 @@ static void REGAL_CALL emu_glVertex2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y ); return; } @@ -17757,6 +17975,7 @@ static void REGAL_CALL emu_glVertex2iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17766,7 +17985,6 @@ static void REGAL_CALL emu_glVertex2iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17778,6 +17996,7 @@ static void REGAL_CALL emu_glVertex2iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17787,12 +18006,11 @@ static void REGAL_CALL emu_glVertex2iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -17819,6 +18037,7 @@ static void REGAL_CALL emu_glVertex2s(GLshort x, GLshort y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17828,7 +18047,6 @@ static void REGAL_CALL emu_glVertex2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17840,6 +18058,7 @@ static void REGAL_CALL emu_glVertex2s(GLshort x, GLshort y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17849,12 +18068,11 @@ static void REGAL_CALL emu_glVertex2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y ); return; } @@ -17881,6 +18099,7 @@ static void REGAL_CALL emu_glVertex2sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17890,7 +18109,6 @@ static void REGAL_CALL emu_glVertex2sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17902,6 +18120,7 @@ static void REGAL_CALL emu_glVertex2sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17911,12 +18130,11 @@ static void REGAL_CALL emu_glVertex2sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -17943,6 +18161,7 @@ static void REGAL_CALL emu_glVertex3d(GLdouble x, GLdouble y, GLdouble z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17952,7 +18171,6 @@ static void REGAL_CALL emu_glVertex3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -17964,6 +18182,7 @@ static void REGAL_CALL emu_glVertex3d(GLdouble x, GLdouble y, GLdouble z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -17973,12 +18192,11 @@ static void REGAL_CALL emu_glVertex3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z ); return; } @@ -18005,6 +18223,7 @@ static void REGAL_CALL emu_glVertex3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18014,7 +18233,6 @@ static void REGAL_CALL emu_glVertex3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18026,6 +18244,7 @@ static void REGAL_CALL emu_glVertex3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18035,12 +18254,11 @@ static void REGAL_CALL emu_glVertex3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18067,6 +18285,7 @@ static void REGAL_CALL emu_glVertex3f(GLfloat x, GLfloat y, GLfloat z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18076,7 +18295,6 @@ static void REGAL_CALL emu_glVertex3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18088,6 +18306,7 @@ static void REGAL_CALL emu_glVertex3f(GLfloat x, GLfloat y, GLfloat z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18097,12 +18316,11 @@ static void REGAL_CALL emu_glVertex3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z ); return; } @@ -18129,6 +18347,7 @@ static void REGAL_CALL emu_glVertex3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18138,7 +18357,6 @@ static void REGAL_CALL emu_glVertex3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18150,6 +18368,7 @@ static void REGAL_CALL emu_glVertex3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18159,12 +18378,11 @@ static void REGAL_CALL emu_glVertex3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18191,6 +18409,7 @@ static void REGAL_CALL emu_glVertex3i(GLint x, GLint y, GLint z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18200,7 +18419,6 @@ static void REGAL_CALL emu_glVertex3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18212,6 +18430,7 @@ static void REGAL_CALL emu_glVertex3i(GLint x, GLint y, GLint z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18221,12 +18440,11 @@ static void REGAL_CALL emu_glVertex3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z ); return; } @@ -18253,6 +18471,7 @@ static void REGAL_CALL emu_glVertex3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18262,7 +18481,6 @@ static void REGAL_CALL emu_glVertex3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18274,6 +18492,7 @@ static void REGAL_CALL emu_glVertex3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18283,12 +18502,11 @@ static void REGAL_CALL emu_glVertex3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18315,6 +18533,7 @@ static void REGAL_CALL emu_glVertex3s(GLshort x, GLshort y, GLshort z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18324,7 +18543,6 @@ static void REGAL_CALL emu_glVertex3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18336,6 +18554,7 @@ static void REGAL_CALL emu_glVertex3s(GLshort x, GLshort y, GLshort z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18345,12 +18564,11 @@ static void REGAL_CALL emu_glVertex3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z ); return; } @@ -18377,6 +18595,7 @@ static void REGAL_CALL emu_glVertex3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18386,7 +18605,6 @@ static void REGAL_CALL emu_glVertex3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18398,6 +18616,7 @@ static void REGAL_CALL emu_glVertex3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18407,12 +18626,11 @@ static void REGAL_CALL emu_glVertex3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18439,6 +18657,7 @@ static void REGAL_CALL emu_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoub // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18448,7 +18667,6 @@ static void REGAL_CALL emu_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18460,6 +18678,7 @@ static void REGAL_CALL emu_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoub // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18469,12 +18688,11 @@ static void REGAL_CALL emu_glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z, w ); return; } @@ -18501,6 +18719,7 @@ static void REGAL_CALL emu_glVertex4dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18510,7 +18729,6 @@ static void REGAL_CALL emu_glVertex4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18522,6 +18740,7 @@ static void REGAL_CALL emu_glVertex4dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18531,12 +18750,11 @@ static void REGAL_CALL emu_glVertex4dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18563,6 +18781,7 @@ static void REGAL_CALL emu_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18572,7 +18791,6 @@ static void REGAL_CALL emu_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18584,6 +18802,7 @@ static void REGAL_CALL emu_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18593,12 +18812,11 @@ static void REGAL_CALL emu_glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z, w ); return; } @@ -18625,6 +18843,7 @@ static void REGAL_CALL emu_glVertex4fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18634,7 +18853,6 @@ static void REGAL_CALL emu_glVertex4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18646,6 +18864,7 @@ static void REGAL_CALL emu_glVertex4fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18655,12 +18874,11 @@ static void REGAL_CALL emu_glVertex4fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18687,6 +18905,7 @@ static void REGAL_CALL emu_glVertex4i(GLint x, GLint y, GLint z, GLint w) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18696,7 +18915,6 @@ static void REGAL_CALL emu_glVertex4i(GLint x, GLint y, GLint z, GLint w) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18708,6 +18926,7 @@ static void REGAL_CALL emu_glVertex4i(GLint x, GLint y, GLint z, GLint w) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18717,12 +18936,11 @@ static void REGAL_CALL emu_glVertex4i(GLint x, GLint y, GLint z, GLint w) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z, w ); return; } @@ -18749,6 +18967,7 @@ static void REGAL_CALL emu_glVertex4iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18758,7 +18977,6 @@ static void REGAL_CALL emu_glVertex4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18770,6 +18988,7 @@ static void REGAL_CALL emu_glVertex4iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18779,12 +18998,11 @@ static void REGAL_CALL emu_glVertex4iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18811,6 +19029,7 @@ static void REGAL_CALL emu_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18820,7 +19039,6 @@ static void REGAL_CALL emu_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18832,6 +19050,7 @@ static void REGAL_CALL emu_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18841,12 +19060,11 @@ static void REGAL_CALL emu_glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), x, y, z, w ); return; } @@ -18873,6 +19091,7 @@ static void REGAL_CALL emu_glVertex4sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18882,7 +19101,6 @@ static void REGAL_CALL emu_glVertex4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -18894,6 +19112,7 @@ static void REGAL_CALL emu_glVertex4sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -18903,12 +19122,11 @@ static void REGAL_CALL emu_glVertex4sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_Vertex ), v ); return; } @@ -18935,29 +19153,29 @@ static void REGAL_CALL emu_glViewport(GLint x, GLint y, GLsizei width, GLsizei h // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glViewport( x, y, width, height ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Viewport( x, y, width, height ); } #endif @@ -18982,10 +19200,11 @@ static void REGAL_CALL emu_glBindTexture(GLenum target, GLuint texture) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -18994,15 +19213,15 @@ static void REGAL_CALL emu_glBindTexture(GLenum target, GLuint texture) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexBinding( target, texture ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -19032,16 +19251,17 @@ static void REGAL_CALL emu_glBindTexture(GLenum target, GLuint texture) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->BindTexture(*_context, target, texture); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -19124,35 +19344,36 @@ static void REGAL_CALL emu_glColorPointer(GLint size, GLenum type, GLsizei strid // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glColorPointer( size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glColorPointer( size, type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -19175,6 +19396,7 @@ static void REGAL_CALL emu_glColorPointer(GLint size, GLenum type, GLsizei strid // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19184,16 +19406,16 @@ static void REGAL_CALL emu_glColorPointer(GLint size, GLenum type, GLsizei strid case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ColorPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -19228,6 +19450,7 @@ static void REGAL_CALL emu_glCopyTexImage2D(GLenum target, GLint level, GLenum i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19237,12 +19460,11 @@ static void REGAL_CALL emu_glCopyTexImage2D(GLenum target, GLint level, GLenum i case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif @@ -19265,25 +19487,26 @@ static void REGAL_CALL emu_glDeleteTextures(GLsizei n, const GLuint *textures) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; RegalAssert(_context); _context->texsto->DeleteTextures( _context, n, textures ); } #endif + case 9 : case 8 : case 7 : case 6 : @@ -19324,12 +19547,12 @@ static void REGAL_CALL emu_glDeleteTextures(GLsizei n, const GLuint *textures) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->DeleteTextures(*_context, n, textures); return; } @@ -19356,35 +19579,36 @@ static void REGAL_CALL emu_glDisableClientState(GLenum cap) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableClientState( cap ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableClientState( cap ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -19408,6 +19632,7 @@ static void REGAL_CALL emu_glDisableClientState(GLenum cap) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19417,16 +19642,16 @@ static void REGAL_CALL emu_glDisableClientState(GLenum cap) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->DisableClientState( _context, cap ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -19461,6 +19686,7 @@ static void REGAL_CALL emu_glDrawArrays(GLenum mode, GLint first, GLsizei count) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19470,15 +19696,18 @@ static void REGAL_CALL emu_glDrawArrays(GLenum mode, GLint first, GLsizei count) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) break; + #endif case 5 : #if REGAL_EMU_SO if (_context->so) @@ -19512,9 +19741,46 @@ static void REGAL_CALL emu_glDrawArrays(GLenum mode, GLint first, GLsizei count) break; } - DispatchTableGL *_next = _dispatch.next(); - RegalAssert(_next); - _next->call(& _next->glDrawArrays)(mode, first, count); + // impl + switch( _context->emuLevel ) + { + case 16 : + case 15 : + case 14 : + case 13 : + case 12 : + case 11 : + case 10 : + case 9 : + case 8 : + case 7 : + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + + if ( ! _context->quads->glDrawArrays( _context, mode, first, count ) ) { + DispatchTableGL *_next = _context->dispatcher.emulation.next(); + RegalAssert(_next); + return _next->call(&_next->glDrawArrays)( mode, first, count ); + } + + return; + } + #endif + case 1 : + default: + { + DispatchTableGL *_next = _dispatch.next(); + RegalAssert(_next); + _next->call(&_next->glDrawArrays)(mode, first, count); + break; + } + + } + } static void REGAL_CALL emu_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) @@ -19526,6 +19792,7 @@ static void REGAL_CALL emu_glDrawElements(GLenum mode, GLsizei count, GLenum typ // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19535,15 +19802,15 @@ static void REGAL_CALL emu_glDrawElements(GLenum mode, GLsizei count, GLenum typ case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -19591,32 +19858,32 @@ static void REGAL_CALL emu_glEdgeFlagPointer(GLsizei stride, const GLvoid *point // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEdgeFlagPointer( stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEdgeFlagPointer( stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -19628,6 +19895,7 @@ static void REGAL_CALL emu_glEdgeFlagPointer(GLsizei stride, const GLvoid *point // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19637,12 +19905,11 @@ static void REGAL_CALL emu_glEdgeFlagPointer(GLsizei stride, const GLvoid *point case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->EdgeFlagPointer( _context, stride, pointer ); return; } @@ -19669,35 +19936,36 @@ static void REGAL_CALL emu_glEnableClientState(GLenum cap) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableClientState( cap ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableClientState( cap ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -19721,6 +19989,7 @@ static void REGAL_CALL emu_glEnableClientState(GLenum cap) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19730,16 +19999,16 @@ static void REGAL_CALL emu_glEnableClientState(GLenum cap) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->EnableClientState( _context, cap ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -19774,10 +20043,11 @@ static void REGAL_CALL emu_glGenTextures(GLsizei n, GLuint *textures) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -19805,16 +20075,17 @@ static void REGAL_CALL emu_glGenTextures(GLsizei n, GLuint *textures) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->GenTextures(*_context, n, textures); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -19871,27 +20142,27 @@ static void REGAL_CALL emu_glIndexPointer(GLenum type, GLsizei stride, const GLv // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glIndexPointer( type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glIndexPointer( type, stride, pointer ); } #endif @@ -19914,30 +20185,31 @@ static void REGAL_CALL emu_glInterleavedArrays(GLenum format, GLsizei stride, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glInterleavedArrays( format, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glInterleavedArrays( format, stride, pointer ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -19954,6 +20226,7 @@ static void REGAL_CALL emu_glInterleavedArrays(GLenum format, GLsizei stride, co // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -19998,7 +20271,7 @@ static GLboolean REGAL_CALL emu_glIsTexture(GLuint texture) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -20010,12 +20283,12 @@ static GLboolean REGAL_CALL emu_glIsTexture(GLuint texture) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; return _context->obj->IsTexture(*_context, texture); } #endif @@ -20040,35 +20313,36 @@ static void REGAL_CALL emu_glNormalPointer(GLenum type, GLsizei stride, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glNormalPointer( type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glNormalPointer( type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -20091,6 +20365,7 @@ static void REGAL_CALL emu_glNormalPointer(GLenum type, GLsizei stride, const GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20100,16 +20375,16 @@ static void REGAL_CALL emu_glNormalPointer(GLenum type, GLsizei stride, const GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->NormalPointer( _context, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -20144,14 +20419,14 @@ static void REGAL_CALL emu_glPolygonOffset(GLfloat factor, GLfloat units) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPolygonOffset( factor, units ); } #endif @@ -20174,10 +20449,10 @@ static void REGAL_CALL emu_glPopClientAttrib(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif @@ -20189,15 +20464,15 @@ static void REGAL_CALL emu_glPopClientAttrib(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPopClientAttrib( *_context ); return; } @@ -20224,10 +20499,10 @@ static void REGAL_CALL emu_glPushClientAttrib(GLbitfield mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif @@ -20239,15 +20514,15 @@ static void REGAL_CALL emu_glPushClientAttrib(GLbitfield mask) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPushClientAttrib( *_context, mask ); return; } @@ -20274,35 +20549,36 @@ static void REGAL_CALL emu_glTexCoordPointer(GLint size, GLenum type, GLsizei st // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glTexCoordPointer( size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glTexCoordPointer( size, type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -20326,6 +20602,7 @@ static void REGAL_CALL emu_glTexCoordPointer(GLint size, GLenum type, GLsizei st // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20335,16 +20612,16 @@ static void REGAL_CALL emu_glTexCoordPointer(GLint size, GLenum type, GLsizei st case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexCoordPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -20379,22 +20656,23 @@ static void REGAL_CALL emu_glTexSubImage2D(GLenum target, GLint level, GLint xof // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif + case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -20410,21 +20688,22 @@ static void REGAL_CALL emu_glTexSubImage2D(GLenum target, GLint level, GLint xof // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->TexSubImage2D( _context, target, level, xoffset, yoffset, width, height, format, type, pixels ); return; } #endif + case 10 : case 9 : case 8 : case 7 : @@ -20495,35 +20774,36 @@ static void REGAL_CALL emu_glVertexPointer(GLint size, GLenum type, GLsizei stri // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexPointer( size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexPointer( size, type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -20546,6 +20826,7 @@ static void REGAL_CALL emu_glVertexPointer(GLint size, GLenum type, GLsizei stri // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20555,16 +20836,16 @@ static void REGAL_CALL emu_glVertexPointer(GLint size, GLenum type, GLsizei stri case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->VertexPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -20601,14 +20882,14 @@ static void REGAL_CALL emu_glBlendColor(GLclampf red, GLclampf green, GLclampf b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendColor( red, green, blue, alpha ); } #endif @@ -20631,14 +20912,14 @@ static void REGAL_CALL emu_glBlendEquation(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendEquation( mode ); } #endif @@ -20661,6 +20942,7 @@ static void REGAL_CALL emu_glDrawRangeElements(GLenum mode, GLuint start, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20670,15 +20952,15 @@ static void REGAL_CALL emu_glDrawRangeElements(GLenum mode, GLuint start, GLuint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -20703,6 +20985,7 @@ static void REGAL_CALL emu_glDrawRangeElements(GLenum mode, GLuint start, GLuint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20752,6 +21035,7 @@ static void REGAL_CALL emu_glTexImage3D(GLenum target, GLint level, GLint intern // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20761,15 +21045,15 @@ static void REGAL_CALL emu_glTexImage3D(GLenum target, GLint level, GLint intern case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -20785,6 +21069,7 @@ static void REGAL_CALL emu_glTexImage3D(GLenum target, GLint level, GLint intern // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20838,40 +21123,41 @@ static void REGAL_CALL emu_glActiveTexture(GLenum texture) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glActiveTexture( texture ); } #endif + case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->ShadowActiveTexture( texture ); } #endif + case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowActiveTexture( texture ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -20898,6 +21184,7 @@ static void REGAL_CALL emu_glActiveTexture(GLenum texture) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -20955,40 +21242,41 @@ static void REGAL_CALL emu_glClientActiveTexture(GLenum texture) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glClientActiveTexture( texture ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glClientActiveTexture( texture ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowClientActiveTexture( texture ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -21015,6 +21303,7 @@ static void REGAL_CALL emu_glClientActiveTexture(GLenum texture) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21077,12 +21366,12 @@ static void REGAL_CALL emu_glCompressedTexImage2D(GLenum target, GLint level, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif @@ -21094,17 +21383,17 @@ static void REGAL_CALL emu_glCompressedTexImage2D(GLenum target, GLint level, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->CompressedTexImage2D( _context, target, level, internalformat, width, height, border, imageSize, data ); return; } @@ -21131,12 +21420,12 @@ static void REGAL_CALL emu_glCompressedTexSubImage2D(GLenum target, GLint level, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif @@ -21148,17 +21437,17 @@ static void REGAL_CALL emu_glCompressedTexSubImage2D(GLenum target, GLint level, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->CompressedTexSubImage2D( _context, target, level, xoffset, yoffset, width, height, format, imageSize, data ); return; } @@ -21185,6 +21474,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixd(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21194,10 +21484,10 @@ static void REGAL_CALL emu_glLoadTransposeMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -21216,6 +21506,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixd(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21225,12 +21516,11 @@ static void REGAL_CALL emu_glLoadTransposeMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadTransposeMatrix( m ); return; } @@ -21257,6 +21547,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixf(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21266,10 +21557,10 @@ static void REGAL_CALL emu_glLoadTransposeMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -21288,6 +21579,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixf(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21297,12 +21589,11 @@ static void REGAL_CALL emu_glLoadTransposeMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadTransposeMatrix( m ); return; } @@ -21329,6 +21620,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixd(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21338,10 +21630,10 @@ static void REGAL_CALL emu_glMultTransposeMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -21360,6 +21652,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixd(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21369,12 +21662,11 @@ static void REGAL_CALL emu_glMultTransposeMatrixd(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultTransposeMatrix( m ); return; } @@ -21401,6 +21693,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixf(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21410,10 +21703,10 @@ static void REGAL_CALL emu_glMultTransposeMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -21432,6 +21725,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixf(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21441,12 +21735,11 @@ static void REGAL_CALL emu_glMultTransposeMatrixf(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultTransposeMatrix( m ); return; } @@ -21473,6 +21766,7 @@ static void REGAL_CALL emu_glMultiTexCoord1d(GLenum target, GLdouble s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21482,7 +21776,6 @@ static void REGAL_CALL emu_glMultiTexCoord1d(GLenum target, GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21494,6 +21787,7 @@ static void REGAL_CALL emu_glMultiTexCoord1d(GLenum target, GLdouble s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21503,12 +21797,11 @@ static void REGAL_CALL emu_glMultiTexCoord1d(GLenum target, GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -21535,6 +21828,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dv(GLenum target, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21544,7 +21838,6 @@ static void REGAL_CALL emu_glMultiTexCoord1dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21556,6 +21849,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dv(GLenum target, const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21565,12 +21859,11 @@ static void REGAL_CALL emu_glMultiTexCoord1dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -21597,6 +21890,7 @@ static void REGAL_CALL emu_glMultiTexCoord1f(GLenum target, GLfloat s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21606,7 +21900,6 @@ static void REGAL_CALL emu_glMultiTexCoord1f(GLenum target, GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21618,6 +21911,7 @@ static void REGAL_CALL emu_glMultiTexCoord1f(GLenum target, GLfloat s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21627,12 +21921,11 @@ static void REGAL_CALL emu_glMultiTexCoord1f(GLenum target, GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -21659,6 +21952,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fv(GLenum target, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21668,7 +21962,6 @@ static void REGAL_CALL emu_glMultiTexCoord1fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21680,6 +21973,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fv(GLenum target, const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21689,12 +21983,11 @@ static void REGAL_CALL emu_glMultiTexCoord1fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -21721,6 +22014,7 @@ static void REGAL_CALL emu_glMultiTexCoord1i(GLenum target, GLint s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21730,7 +22024,6 @@ static void REGAL_CALL emu_glMultiTexCoord1i(GLenum target, GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21742,6 +22035,7 @@ static void REGAL_CALL emu_glMultiTexCoord1i(GLenum target, GLint s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21751,12 +22045,11 @@ static void REGAL_CALL emu_glMultiTexCoord1i(GLenum target, GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -21783,6 +22076,7 @@ static void REGAL_CALL emu_glMultiTexCoord1iv(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21792,7 +22086,6 @@ static void REGAL_CALL emu_glMultiTexCoord1iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21804,6 +22097,7 @@ static void REGAL_CALL emu_glMultiTexCoord1iv(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21813,12 +22107,11 @@ static void REGAL_CALL emu_glMultiTexCoord1iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -21845,6 +22138,7 @@ static void REGAL_CALL emu_glMultiTexCoord1s(GLenum target, GLshort s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21854,7 +22148,6 @@ static void REGAL_CALL emu_glMultiTexCoord1s(GLenum target, GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21866,6 +22159,7 @@ static void REGAL_CALL emu_glMultiTexCoord1s(GLenum target, GLshort s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21875,12 +22169,11 @@ static void REGAL_CALL emu_glMultiTexCoord1s(GLenum target, GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -21907,6 +22200,7 @@ static void REGAL_CALL emu_glMultiTexCoord1sv(GLenum target, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21916,7 +22210,6 @@ static void REGAL_CALL emu_glMultiTexCoord1sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21928,6 +22221,7 @@ static void REGAL_CALL emu_glMultiTexCoord1sv(GLenum target, const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21937,12 +22231,11 @@ static void REGAL_CALL emu_glMultiTexCoord1sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -21969,6 +22262,7 @@ static void REGAL_CALL emu_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21978,7 +22272,6 @@ static void REGAL_CALL emu_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -21990,6 +22283,7 @@ static void REGAL_CALL emu_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -21999,12 +22293,11 @@ static void REGAL_CALL emu_glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -22031,6 +22324,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dv(GLenum target, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22040,7 +22334,6 @@ static void REGAL_CALL emu_glMultiTexCoord2dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22052,6 +22345,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dv(GLenum target, const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22061,12 +22355,11 @@ static void REGAL_CALL emu_glMultiTexCoord2dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22093,6 +22386,7 @@ static void REGAL_CALL emu_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22102,7 +22396,6 @@ static void REGAL_CALL emu_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22114,6 +22407,7 @@ static void REGAL_CALL emu_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22123,12 +22417,11 @@ static void REGAL_CALL emu_glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -22155,6 +22448,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fv(GLenum target, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22164,7 +22458,6 @@ static void REGAL_CALL emu_glMultiTexCoord2fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22176,6 +22469,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fv(GLenum target, const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22185,12 +22479,11 @@ static void REGAL_CALL emu_glMultiTexCoord2fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22217,6 +22510,7 @@ static void REGAL_CALL emu_glMultiTexCoord2i(GLenum target, GLint s, GLint t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22226,7 +22520,6 @@ static void REGAL_CALL emu_glMultiTexCoord2i(GLenum target, GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22238,6 +22531,7 @@ static void REGAL_CALL emu_glMultiTexCoord2i(GLenum target, GLint s, GLint t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22247,12 +22541,11 @@ static void REGAL_CALL emu_glMultiTexCoord2i(GLenum target, GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -22279,6 +22572,7 @@ static void REGAL_CALL emu_glMultiTexCoord2iv(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22288,7 +22582,6 @@ static void REGAL_CALL emu_glMultiTexCoord2iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22300,6 +22593,7 @@ static void REGAL_CALL emu_glMultiTexCoord2iv(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22309,12 +22603,11 @@ static void REGAL_CALL emu_glMultiTexCoord2iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22341,6 +22634,7 @@ static void REGAL_CALL emu_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22350,7 +22644,6 @@ static void REGAL_CALL emu_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22362,6 +22655,7 @@ static void REGAL_CALL emu_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22371,12 +22665,11 @@ static void REGAL_CALL emu_glMultiTexCoord2s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -22403,6 +22696,7 @@ static void REGAL_CALL emu_glMultiTexCoord2sv(GLenum target, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22412,7 +22706,6 @@ static void REGAL_CALL emu_glMultiTexCoord2sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22424,6 +22717,7 @@ static void REGAL_CALL emu_glMultiTexCoord2sv(GLenum target, const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22433,12 +22727,11 @@ static void REGAL_CALL emu_glMultiTexCoord2sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22465,6 +22758,7 @@ static void REGAL_CALL emu_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22474,7 +22768,6 @@ static void REGAL_CALL emu_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22486,6 +22779,7 @@ static void REGAL_CALL emu_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22495,12 +22789,11 @@ static void REGAL_CALL emu_glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -22527,6 +22820,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dv(GLenum target, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22536,7 +22830,6 @@ static void REGAL_CALL emu_glMultiTexCoord3dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22548,6 +22841,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dv(GLenum target, const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22557,12 +22851,11 @@ static void REGAL_CALL emu_glMultiTexCoord3dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22589,6 +22882,7 @@ static void REGAL_CALL emu_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22598,7 +22892,6 @@ static void REGAL_CALL emu_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22610,6 +22903,7 @@ static void REGAL_CALL emu_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22619,12 +22913,11 @@ static void REGAL_CALL emu_glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -22651,6 +22944,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fv(GLenum target, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22660,7 +22954,6 @@ static void REGAL_CALL emu_glMultiTexCoord3fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22672,6 +22965,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fv(GLenum target, const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22681,12 +22975,11 @@ static void REGAL_CALL emu_glMultiTexCoord3fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22713,6 +23006,7 @@ static void REGAL_CALL emu_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22722,7 +23016,6 @@ static void REGAL_CALL emu_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22734,6 +23027,7 @@ static void REGAL_CALL emu_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22743,12 +23037,11 @@ static void REGAL_CALL emu_glMultiTexCoord3i(GLenum target, GLint s, GLint t, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -22775,6 +23068,7 @@ static void REGAL_CALL emu_glMultiTexCoord3iv(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22784,7 +23078,6 @@ static void REGAL_CALL emu_glMultiTexCoord3iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22796,6 +23089,7 @@ static void REGAL_CALL emu_glMultiTexCoord3iv(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22805,12 +23099,11 @@ static void REGAL_CALL emu_glMultiTexCoord3iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22837,6 +23130,7 @@ static void REGAL_CALL emu_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22846,7 +23140,6 @@ static void REGAL_CALL emu_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22858,6 +23151,7 @@ static void REGAL_CALL emu_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22867,12 +23161,11 @@ static void REGAL_CALL emu_glMultiTexCoord3s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -22899,6 +23192,7 @@ static void REGAL_CALL emu_glMultiTexCoord3sv(GLenum target, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22908,7 +23202,6 @@ static void REGAL_CALL emu_glMultiTexCoord3sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22920,6 +23213,7 @@ static void REGAL_CALL emu_glMultiTexCoord3sv(GLenum target, const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22929,12 +23223,11 @@ static void REGAL_CALL emu_glMultiTexCoord3sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -22961,6 +23254,7 @@ static void REGAL_CALL emu_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22970,7 +23264,6 @@ static void REGAL_CALL emu_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -22982,6 +23275,7 @@ static void REGAL_CALL emu_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -22991,12 +23285,11 @@ static void REGAL_CALL emu_glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -23023,6 +23316,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dv(GLenum target, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23032,7 +23326,6 @@ static void REGAL_CALL emu_glMultiTexCoord4dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23044,6 +23337,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dv(GLenum target, const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23053,12 +23347,11 @@ static void REGAL_CALL emu_glMultiTexCoord4dv(GLenum target, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -23085,6 +23378,7 @@ static void REGAL_CALL emu_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23094,7 +23388,6 @@ static void REGAL_CALL emu_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23106,6 +23399,7 @@ static void REGAL_CALL emu_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23115,12 +23409,11 @@ static void REGAL_CALL emu_glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -23147,6 +23440,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fv(GLenum target, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23156,7 +23450,6 @@ static void REGAL_CALL emu_glMultiTexCoord4fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23168,6 +23461,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fv(GLenum target, const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23177,12 +23471,11 @@ static void REGAL_CALL emu_glMultiTexCoord4fv(GLenum target, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -23209,6 +23502,7 @@ static void REGAL_CALL emu_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23218,7 +23512,6 @@ static void REGAL_CALL emu_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23230,6 +23523,7 @@ static void REGAL_CALL emu_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23239,12 +23533,11 @@ static void REGAL_CALL emu_glMultiTexCoord4i(GLenum target, GLint s, GLint t, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -23271,6 +23564,7 @@ static void REGAL_CALL emu_glMultiTexCoord4iv(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23280,7 +23574,6 @@ static void REGAL_CALL emu_glMultiTexCoord4iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23292,6 +23585,7 @@ static void REGAL_CALL emu_glMultiTexCoord4iv(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23301,12 +23595,11 @@ static void REGAL_CALL emu_glMultiTexCoord4iv(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -23333,6 +23626,7 @@ static void REGAL_CALL emu_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23342,7 +23636,6 @@ static void REGAL_CALL emu_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23354,6 +23647,7 @@ static void REGAL_CALL emu_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23363,12 +23657,11 @@ static void REGAL_CALL emu_glMultiTexCoord4s(GLenum target, GLshort s, GLshort t case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -23395,6 +23688,7 @@ static void REGAL_CALL emu_glMultiTexCoord4sv(GLenum target, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23404,7 +23698,6 @@ static void REGAL_CALL emu_glMultiTexCoord4sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23416,6 +23709,7 @@ static void REGAL_CALL emu_glMultiTexCoord4sv(GLenum target, const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23425,12 +23719,11 @@ static void REGAL_CALL emu_glMultiTexCoord4sv(GLenum target, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -23457,14 +23750,14 @@ static void REGAL_CALL emu_glSampleCoverage(GLclampf value, GLboolean invert) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glSampleCoverage( value, invert ); } #endif @@ -23489,14 +23782,14 @@ static void REGAL_CALL emu_glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendFuncSeparate( sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha ); } #endif @@ -23519,35 +23812,36 @@ static void REGAL_CALL emu_glFogCoordPointer(GLenum type, GLsizei stride, const // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glFogCoordPointer( type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glFogCoordPointer( type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -23562,6 +23856,7 @@ static void REGAL_CALL emu_glFogCoordPointer(GLenum type, GLsizei stride, const // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23571,16 +23866,16 @@ static void REGAL_CALL emu_glFogCoordPointer(GLenum type, GLsizei stride, const case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->FogCoordPointer( _context, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -23615,6 +23910,7 @@ static void REGAL_CALL emu_glMultiDrawArrays(GLenum mode, const GLint *first, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23624,15 +23920,15 @@ static void REGAL_CALL emu_glMultiDrawArrays(GLenum mode, const GLint *first, co case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -23680,6 +23976,7 @@ static void REGAL_CALL emu_glMultiDrawElements(GLenum mode, const GLsizei *count // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23689,15 +23986,15 @@ static void REGAL_CALL emu_glMultiDrawElements(GLenum mode, const GLsizei *count case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -23745,14 +24042,14 @@ static void REGAL_CALL emu_glPointParameterf(GLenum pname, GLfloat param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPointParameter( pname, param ); } #endif @@ -23775,14 +24072,14 @@ static void REGAL_CALL emu_glPointParameterfv(GLenum pname, const GLfloat *param // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPointParameterv( pname, params ); } #endif @@ -23805,14 +24102,14 @@ static void REGAL_CALL emu_glPointParameteri(GLenum pname, GLint param) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPointParameter( pname, param ); } #endif @@ -23835,14 +24132,14 @@ static void REGAL_CALL emu_glPointParameteriv(GLenum pname, const GLint *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glPointParameterv( pname, params ); } #endif @@ -23865,6 +24162,7 @@ static void REGAL_CALL emu_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23874,7 +24172,6 @@ static void REGAL_CALL emu_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte b case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23886,6 +24183,7 @@ static void REGAL_CALL emu_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte b // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23895,12 +24193,11 @@ static void REGAL_CALL emu_glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte b case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -23927,6 +24224,7 @@ static void REGAL_CALL emu_glSecondaryColor3bv(const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23936,7 +24234,6 @@ static void REGAL_CALL emu_glSecondaryColor3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -23948,6 +24245,7 @@ static void REGAL_CALL emu_glSecondaryColor3bv(const GLbyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23957,12 +24255,11 @@ static void REGAL_CALL emu_glSecondaryColor3bv(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -23989,6 +24286,7 @@ static void REGAL_CALL emu_glSecondaryColor3d(GLdouble red, GLdouble green, GLdo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -23998,7 +24296,6 @@ static void REGAL_CALL emu_glSecondaryColor3d(GLdouble red, GLdouble green, GLdo case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24010,6 +24307,7 @@ static void REGAL_CALL emu_glSecondaryColor3d(GLdouble red, GLdouble green, GLdo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24019,12 +24317,11 @@ static void REGAL_CALL emu_glSecondaryColor3d(GLdouble red, GLdouble green, GLdo case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24051,6 +24348,7 @@ static void REGAL_CALL emu_glSecondaryColor3dv(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24060,7 +24358,6 @@ static void REGAL_CALL emu_glSecondaryColor3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24072,6 +24369,7 @@ static void REGAL_CALL emu_glSecondaryColor3dv(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24081,12 +24379,11 @@ static void REGAL_CALL emu_glSecondaryColor3dv(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24113,6 +24410,7 @@ static void REGAL_CALL emu_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24122,7 +24420,6 @@ static void REGAL_CALL emu_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24134,6 +24431,7 @@ static void REGAL_CALL emu_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24143,12 +24441,11 @@ static void REGAL_CALL emu_glSecondaryColor3f(GLfloat red, GLfloat green, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24175,6 +24472,7 @@ static void REGAL_CALL emu_glSecondaryColor3fv(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24184,7 +24482,6 @@ static void REGAL_CALL emu_glSecondaryColor3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24196,6 +24493,7 @@ static void REGAL_CALL emu_glSecondaryColor3fv(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24205,12 +24503,11 @@ static void REGAL_CALL emu_glSecondaryColor3fv(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24237,6 +24534,7 @@ static void REGAL_CALL emu_glSecondaryColor3i(GLint red, GLint green, GLint blue // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24246,7 +24544,6 @@ static void REGAL_CALL emu_glSecondaryColor3i(GLint red, GLint green, GLint blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24258,6 +24555,7 @@ static void REGAL_CALL emu_glSecondaryColor3i(GLint red, GLint green, GLint blue // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24267,12 +24565,11 @@ static void REGAL_CALL emu_glSecondaryColor3i(GLint red, GLint green, GLint blue case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24299,6 +24596,7 @@ static void REGAL_CALL emu_glSecondaryColor3iv(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24308,7 +24606,6 @@ static void REGAL_CALL emu_glSecondaryColor3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24320,6 +24617,7 @@ static void REGAL_CALL emu_glSecondaryColor3iv(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24329,12 +24627,11 @@ static void REGAL_CALL emu_glSecondaryColor3iv(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24361,6 +24658,7 @@ static void REGAL_CALL emu_glSecondaryColor3s(GLshort red, GLshort green, GLshor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24370,7 +24668,6 @@ static void REGAL_CALL emu_glSecondaryColor3s(GLshort red, GLshort green, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24382,6 +24679,7 @@ static void REGAL_CALL emu_glSecondaryColor3s(GLshort red, GLshort green, GLshor // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24391,12 +24689,11 @@ static void REGAL_CALL emu_glSecondaryColor3s(GLshort red, GLshort green, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24423,6 +24720,7 @@ static void REGAL_CALL emu_glSecondaryColor3sv(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24432,7 +24730,6 @@ static void REGAL_CALL emu_glSecondaryColor3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24444,6 +24741,7 @@ static void REGAL_CALL emu_glSecondaryColor3sv(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24453,12 +24751,11 @@ static void REGAL_CALL emu_glSecondaryColor3sv(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24485,6 +24782,7 @@ static void REGAL_CALL emu_glSecondaryColor3ub(GLubyte red, GLubyte green, GLuby // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24494,7 +24792,6 @@ static void REGAL_CALL emu_glSecondaryColor3ub(GLubyte red, GLubyte green, GLuby case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24506,6 +24803,7 @@ static void REGAL_CALL emu_glSecondaryColor3ub(GLubyte red, GLubyte green, GLuby // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24515,12 +24813,11 @@ static void REGAL_CALL emu_glSecondaryColor3ub(GLubyte red, GLubyte green, GLuby case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24547,6 +24844,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubv(const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24556,7 +24854,6 @@ static void REGAL_CALL emu_glSecondaryColor3ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24568,6 +24865,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubv(const GLubyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24577,12 +24875,11 @@ static void REGAL_CALL emu_glSecondaryColor3ubv(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24609,6 +24906,7 @@ static void REGAL_CALL emu_glSecondaryColor3ui(GLuint red, GLuint green, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24618,7 +24916,6 @@ static void REGAL_CALL emu_glSecondaryColor3ui(GLuint red, GLuint green, GLuint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24630,6 +24927,7 @@ static void REGAL_CALL emu_glSecondaryColor3ui(GLuint red, GLuint green, GLuint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24639,12 +24937,11 @@ static void REGAL_CALL emu_glSecondaryColor3ui(GLuint red, GLuint green, GLuint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24671,6 +24968,7 @@ static void REGAL_CALL emu_glSecondaryColor3uiv(const GLuint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24680,7 +24978,6 @@ static void REGAL_CALL emu_glSecondaryColor3uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24692,6 +24989,7 @@ static void REGAL_CALL emu_glSecondaryColor3uiv(const GLuint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24701,12 +24999,11 @@ static void REGAL_CALL emu_glSecondaryColor3uiv(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24733,6 +25030,7 @@ static void REGAL_CALL emu_glSecondaryColor3us(GLushort red, GLushort green, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24742,7 +25040,6 @@ static void REGAL_CALL emu_glSecondaryColor3us(GLushort red, GLushort green, GLu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24754,6 +25051,7 @@ static void REGAL_CALL emu_glSecondaryColor3us(GLushort red, GLushort green, GLu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24763,12 +25061,11 @@ static void REGAL_CALL emu_glSecondaryColor3us(GLushort red, GLushort green, GLu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -24795,6 +25092,7 @@ static void REGAL_CALL emu_glSecondaryColor3usv(const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24804,7 +25102,6 @@ static void REGAL_CALL emu_glSecondaryColor3usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -24816,6 +25113,7 @@ static void REGAL_CALL emu_glSecondaryColor3usv(const GLushort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24825,12 +25123,11 @@ static void REGAL_CALL emu_glSecondaryColor3usv(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -24857,35 +25154,36 @@ static void REGAL_CALL emu_glSecondaryColorPointer(GLint size, GLenum type, GLsi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glSecondaryColorPointer( size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glSecondaryColorPointer( size, type, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -24908,6 +25206,7 @@ static void REGAL_CALL emu_glSecondaryColorPointer(GLint size, GLenum type, GLsi // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24917,16 +25216,16 @@ static void REGAL_CALL emu_glSecondaryColorPointer(GLint size, GLenum type, GLsi case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->SecondaryColorPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -24961,6 +25260,7 @@ static void REGAL_CALL emu_glWindowPos2d(GLdouble x, GLdouble y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24970,10 +25270,10 @@ static void REGAL_CALL emu_glWindowPos2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -24989,6 +25289,7 @@ static void REGAL_CALL emu_glWindowPos2d(GLdouble x, GLdouble y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -24998,16 +25299,16 @@ static void REGAL_CALL emu_glWindowPos2d(GLdouble x, GLdouble y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25049,6 +25350,7 @@ static void REGAL_CALL emu_glWindowPos2dv(const GLdouble *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25074,6 +25376,7 @@ static void REGAL_CALL emu_glWindowPos2dv(const GLdouble *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25125,6 +25428,7 @@ static void REGAL_CALL emu_glWindowPos2f(GLfloat x, GLfloat y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25134,10 +25438,10 @@ static void REGAL_CALL emu_glWindowPos2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25153,6 +25457,7 @@ static void REGAL_CALL emu_glWindowPos2f(GLfloat x, GLfloat y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25162,16 +25467,16 @@ static void REGAL_CALL emu_glWindowPos2f(GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25213,6 +25518,7 @@ static void REGAL_CALL emu_glWindowPos2fv(const GLfloat *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25238,6 +25544,7 @@ static void REGAL_CALL emu_glWindowPos2fv(const GLfloat *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25289,6 +25596,7 @@ static void REGAL_CALL emu_glWindowPos2i(GLint x, GLint y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25298,10 +25606,10 @@ static void REGAL_CALL emu_glWindowPos2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25317,6 +25625,7 @@ static void REGAL_CALL emu_glWindowPos2i(GLint x, GLint y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25326,16 +25635,16 @@ static void REGAL_CALL emu_glWindowPos2i(GLint x, GLint y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25377,6 +25686,7 @@ static void REGAL_CALL emu_glWindowPos2iv(const GLint *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25402,6 +25712,7 @@ static void REGAL_CALL emu_glWindowPos2iv(const GLint *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25453,6 +25764,7 @@ static void REGAL_CALL emu_glWindowPos2s(GLshort x, GLshort y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25462,10 +25774,10 @@ static void REGAL_CALL emu_glWindowPos2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25481,6 +25793,7 @@ static void REGAL_CALL emu_glWindowPos2s(GLshort x, GLshort y) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25490,16 +25803,16 @@ static void REGAL_CALL emu_glWindowPos2s(GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25541,6 +25854,7 @@ static void REGAL_CALL emu_glWindowPos2sv(const GLshort *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25566,6 +25880,7 @@ static void REGAL_CALL emu_glWindowPos2sv(const GLshort *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25617,6 +25932,7 @@ static void REGAL_CALL emu_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25626,10 +25942,10 @@ static void REGAL_CALL emu_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25645,6 +25961,7 @@ static void REGAL_CALL emu_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25654,16 +25971,16 @@ static void REGAL_CALL emu_glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25705,6 +26022,7 @@ static void REGAL_CALL emu_glWindowPos3dv(const GLdouble *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25730,6 +26048,7 @@ static void REGAL_CALL emu_glWindowPos3dv(const GLdouble *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25781,6 +26100,7 @@ static void REGAL_CALL emu_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25790,10 +26110,10 @@ static void REGAL_CALL emu_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25809,6 +26129,7 @@ static void REGAL_CALL emu_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25818,16 +26139,16 @@ static void REGAL_CALL emu_glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -25869,6 +26190,7 @@ static void REGAL_CALL emu_glWindowPos3fv(const GLfloat *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25894,6 +26216,7 @@ static void REGAL_CALL emu_glWindowPos3fv(const GLfloat *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25945,6 +26268,7 @@ static void REGAL_CALL emu_glWindowPos3i(GLint x, GLint y, GLint z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25954,10 +26278,10 @@ static void REGAL_CALL emu_glWindowPos3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -25973,6 +26297,7 @@ static void REGAL_CALL emu_glWindowPos3i(GLint x, GLint y, GLint z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -25982,16 +26307,16 @@ static void REGAL_CALL emu_glWindowPos3i(GLint x, GLint y, GLint z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -26033,6 +26358,7 @@ static void REGAL_CALL emu_glWindowPos3iv(const GLint *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26058,6 +26384,7 @@ static void REGAL_CALL emu_glWindowPos3iv(const GLint *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26109,6 +26436,7 @@ static void REGAL_CALL emu_glWindowPos3s(GLshort x, GLshort y, GLshort z) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26118,10 +26446,10 @@ static void REGAL_CALL emu_glWindowPos3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -26137,6 +26465,7 @@ static void REGAL_CALL emu_glWindowPos3s(GLshort x, GLshort y, GLshort z) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26146,16 +26475,16 @@ static void REGAL_CALL emu_glWindowPos3s(GLshort x, GLshort y, GLshort z) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->WindowPosition( _context, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -26197,6 +26526,7 @@ static void REGAL_CALL emu_glWindowPos3sv(const GLshort *p) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26222,6 +26552,7 @@ static void REGAL_CALL emu_glWindowPos3sv(const GLshort *p) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26275,43 +26606,44 @@ static void REGAL_CALL emu_glBindBuffer(GLenum target, GLuint buffer) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glBindBuffer( target, buffer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glBindBuffer( target, buffer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -26334,16 +26666,17 @@ static void REGAL_CALL emu_glBindBuffer(GLenum target, GLuint buffer) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->BindBuffer(*_context, target, buffer); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -26388,6 +26721,7 @@ static void REGAL_CALL emu_glBufferData(GLenum target, GLsizeiptr size, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26427,6 +26761,7 @@ static void REGAL_CALL emu_glBufferSubData(GLenum target, GLintptr offset, GLsiz // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26466,21 +26801,22 @@ static void REGAL_CALL emu_glDeleteBuffers(GLsizei n, const GLuint *buffers) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDeleteBuffers( n, buffers ); } #endif + case 12 : case 11 : case 10 : case 9 : @@ -26505,12 +26841,12 @@ static void REGAL_CALL emu_glDeleteBuffers(GLsizei n, const GLuint *buffers) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->DeleteBuffers(*_context, n, buffers); return; } @@ -26537,7 +26873,7 @@ static void REGAL_CALL emu_glGenBuffers(GLsizei n, GLuint *buffers) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -26549,12 +26885,12 @@ static void REGAL_CALL emu_glGenBuffers(GLsizei n, GLuint *buffers) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->GenBuffers(*_context, n, buffers); return; } @@ -26581,6 +26917,7 @@ static void REGAL_CALL emu_glGetBufferParameteriv(GLenum target, GLenum pname, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26620,6 +26957,7 @@ static void REGAL_CALL emu_glGetBufferPointerv(GLenum target, GLenum pname, GLvo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26659,6 +26997,7 @@ static void REGAL_CALL emu_glGetBufferSubData(GLenum target, GLintptr offset, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26698,7 +27037,7 @@ static GLboolean REGAL_CALL emu_glIsBuffer(GLuint buffer) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -26710,12 +27049,12 @@ static GLboolean REGAL_CALL emu_glIsBuffer(GLuint buffer) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; return _context->obj->IsBuffer(*_context, buffer); } #endif @@ -26740,6 +27079,7 @@ static GLvoid *REGAL_CALL emu_glMapBuffer(GLenum target, GLenum access) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26779,6 +27119,7 @@ static GLboolean REGAL_CALL emu_glUnmapBuffer(GLenum target) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26820,14 +27161,14 @@ static void REGAL_CALL emu_glBlendEquationSeparate(GLenum modeRGB, GLenum modeAl // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendEquationSeparate( modeRGB, modeAlpha ); } #endif @@ -26850,6 +27191,7 @@ static GLuint REGAL_CALL emu_glCreateShader(GLenum type) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26859,7 +27201,6 @@ static GLuint REGAL_CALL emu_glCreateShader(GLenum type) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -26871,6 +27212,7 @@ static GLuint REGAL_CALL emu_glCreateShader(GLenum type) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26880,12 +27222,11 @@ static GLuint REGAL_CALL emu_glCreateShader(GLenum type) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; return _context->iff->CreateShader( _context, type ); } #endif @@ -26910,6 +27251,7 @@ static void REGAL_CALL emu_glDeleteProgram(GLuint program) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -26949,41 +27291,42 @@ static void REGAL_CALL emu_glDisableVertexAttribArray(GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableVertexAttribArray( index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableVertexAttribArray( index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); _context->iff->DisableArray( _context, index ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -26998,6 +27341,7 @@ static void REGAL_CALL emu_glDisableVertexAttribArray(GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27041,12 +27385,13 @@ static void REGAL_CALL emu_glDrawBuffers(GLsizei n, const GLenum *bufs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -27069,14 +27414,14 @@ static void REGAL_CALL emu_glDrawBuffers(GLsizei n, const GLenum *bufs) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( !_context->isES2() ) { _context->ppa->glDrawBuffers( n, bufs ); _context->dispatcher.emulation.glDrawBuffers( n, bufs ); @@ -27084,6 +27429,7 @@ static void REGAL_CALL emu_glDrawBuffers(GLsizei n, const GLenum *bufs) return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -27141,41 +27487,42 @@ static void REGAL_CALL emu_glEnableVertexAttribArray(GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableVertexAttribArray( index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableVertexAttribArray( index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); _context->iff->EnableArray( _context, index ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -27190,6 +27537,7 @@ static void REGAL_CALL emu_glEnableVertexAttribArray(GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27233,6 +27581,7 @@ static void REGAL_CALL emu_glGetVertexAttribPointerv(GLuint index, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27242,15 +27591,15 @@ static void REGAL_CALL emu_glGetVertexAttribPointerv(GLuint index, GLenum pname, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -27265,6 +27614,7 @@ static void REGAL_CALL emu_glGetVertexAttribPointerv(GLuint index, GLenum pname, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27309,6 +27659,7 @@ static void REGAL_CALL emu_glGetVertexAttribdv(GLuint index, GLenum pname, GLdou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27318,15 +27669,15 @@ static void REGAL_CALL emu_glGetVertexAttribdv(GLuint index, GLenum pname, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -27341,6 +27692,7 @@ static void REGAL_CALL emu_glGetVertexAttribdv(GLuint index, GLenum pname, GLdou // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27385,6 +27737,7 @@ static void REGAL_CALL emu_glGetVertexAttribfv(GLuint index, GLenum pname, GLflo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27394,15 +27747,15 @@ static void REGAL_CALL emu_glGetVertexAttribfv(GLuint index, GLenum pname, GLflo case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -27417,6 +27770,7 @@ static void REGAL_CALL emu_glGetVertexAttribfv(GLuint index, GLenum pname, GLflo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27461,6 +27815,7 @@ static void REGAL_CALL emu_glGetVertexAttribiv(GLuint index, GLenum pname, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27470,15 +27825,15 @@ static void REGAL_CALL emu_glGetVertexAttribiv(GLuint index, GLenum pname, GLint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -27493,6 +27848,7 @@ static void REGAL_CALL emu_glGetVertexAttribiv(GLuint index, GLenum pname, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27537,6 +27893,7 @@ static void REGAL_CALL emu_glLinkProgram(GLuint program) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27546,7 +27903,6 @@ static void REGAL_CALL emu_glLinkProgram(GLuint program) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -27558,6 +27914,7 @@ static void REGAL_CALL emu_glLinkProgram(GLuint program) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27567,12 +27924,11 @@ static void REGAL_CALL emu_glLinkProgram(GLuint program) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LinkProgram( _context, program ); return; } @@ -27599,6 +27955,7 @@ static void REGAL_CALL emu_glShaderSource(GLuint shader, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27608,7 +27965,6 @@ static void REGAL_CALL emu_glShaderSource(GLuint shader, GLsizei count, const GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -27620,6 +27976,7 @@ static void REGAL_CALL emu_glShaderSource(GLuint shader, GLsizei count, const GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27629,12 +27986,11 @@ static void REGAL_CALL emu_glShaderSource(GLuint shader, GLsizei count, const GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShaderSource( _context, shader, count, string, length ); return; } @@ -27661,14 +28017,14 @@ static void REGAL_CALL emu_glStencilFuncSeparate(GLenum face, GLenum func, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilFuncSeparate( face, func, ref, mask ); } #endif @@ -27691,14 +28047,14 @@ static void REGAL_CALL emu_glStencilMaskSeparate(GLenum face, GLuint mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilMaskSeparate( face, mask ); } #endif @@ -27721,14 +28077,14 @@ static void REGAL_CALL emu_glStencilOpSeparate(GLenum face, GLenum fail, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glStencilOpSeparate( face, fail, zfail, zpass ); } #endif @@ -27751,6 +28107,7 @@ static void REGAL_CALL emu_glUniform1f(GLint location, GLfloat v0) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27790,6 +28147,7 @@ static void REGAL_CALL emu_glUniform1fv(GLint location, GLsizei count, const GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27829,6 +28187,7 @@ static void REGAL_CALL emu_glUniform1i(GLint location, GLint v0) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27868,6 +28227,7 @@ static void REGAL_CALL emu_glUniform1iv(GLint location, GLsizei count, const GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27907,6 +28267,7 @@ static void REGAL_CALL emu_glUniform2f(GLint location, GLfloat v0, GLfloat v1) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27946,6 +28307,7 @@ static void REGAL_CALL emu_glUniform2fv(GLint location, GLsizei count, const GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -27985,6 +28347,7 @@ static void REGAL_CALL emu_glUniform2i(GLint location, GLint v0, GLint v1) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28024,6 +28387,7 @@ static void REGAL_CALL emu_glUniform2iv(GLint location, GLsizei count, const GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28063,6 +28427,7 @@ static void REGAL_CALL emu_glUniform3f(GLint location, GLfloat v0, GLfloat v1, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28102,6 +28467,7 @@ static void REGAL_CALL emu_glUniform3fv(GLint location, GLsizei count, const GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28141,6 +28507,7 @@ static void REGAL_CALL emu_glUniform3i(GLint location, GLint v0, GLint v1, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28180,6 +28547,7 @@ static void REGAL_CALL emu_glUniform3iv(GLint location, GLsizei count, const GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28219,6 +28587,7 @@ static void REGAL_CALL emu_glUniform4f(GLint location, GLfloat v0, GLfloat v1, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28258,6 +28627,7 @@ static void REGAL_CALL emu_glUniform4fv(GLint location, GLsizei count, const GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28297,6 +28667,7 @@ static void REGAL_CALL emu_glUniform4i(GLint location, GLint v0, GLint v1, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28336,6 +28707,7 @@ static void REGAL_CALL emu_glUniform4iv(GLint location, GLsizei count, const GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28375,6 +28747,7 @@ static void REGAL_CALL emu_glUniformMatrix2fv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28414,6 +28787,7 @@ static void REGAL_CALL emu_glUniformMatrix3fv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28453,6 +28827,7 @@ static void REGAL_CALL emu_glUniformMatrix4fv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28492,6 +28867,7 @@ static void REGAL_CALL emu_glUseProgram(GLuint program) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28501,10 +28877,10 @@ static void REGAL_CALL emu_glUseProgram(GLuint program) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -28518,6 +28894,7 @@ static void REGAL_CALL emu_glUseProgram(GLuint program) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28527,18 +28904,18 @@ static void REGAL_CALL emu_glUseProgram(GLuint program) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if( ! _context->iff->ShadowUseProgram( program ) ) { _context->dispatcher.emulation.glUseProgram( program ); } return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -28574,6 +28951,7 @@ static void REGAL_CALL emu_glVertexAttrib1d(GLuint index, GLdouble x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28583,12 +28961,11 @@ static void REGAL_CALL emu_glVertexAttrib1d(GLuint index, GLdouble x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -28611,6 +28988,7 @@ static void REGAL_CALL emu_glVertexAttrib1dv(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28620,12 +28998,11 @@ static void REGAL_CALL emu_glVertexAttrib1dv(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -28648,6 +29025,7 @@ static void REGAL_CALL emu_glVertexAttrib1f(GLuint index, GLfloat x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28657,12 +29035,11 @@ static void REGAL_CALL emu_glVertexAttrib1f(GLuint index, GLfloat x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -28685,6 +29062,7 @@ static void REGAL_CALL emu_glVertexAttrib1fv(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28694,12 +29072,11 @@ static void REGAL_CALL emu_glVertexAttrib1fv(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -28722,6 +29099,7 @@ static void REGAL_CALL emu_glVertexAttrib1s(GLuint index, GLshort x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28731,12 +29109,11 @@ static void REGAL_CALL emu_glVertexAttrib1s(GLuint index, GLshort x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -28759,6 +29136,7 @@ static void REGAL_CALL emu_glVertexAttrib1sv(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28768,12 +29146,11 @@ static void REGAL_CALL emu_glVertexAttrib1sv(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -28796,6 +29173,7 @@ static void REGAL_CALL emu_glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28805,12 +29183,11 @@ static void REGAL_CALL emu_glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -28833,6 +29210,7 @@ static void REGAL_CALL emu_glVertexAttrib2dv(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28842,12 +29220,11 @@ static void REGAL_CALL emu_glVertexAttrib2dv(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -28870,6 +29247,7 @@ static void REGAL_CALL emu_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28879,12 +29257,11 @@ static void REGAL_CALL emu_glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -28907,6 +29284,7 @@ static void REGAL_CALL emu_glVertexAttrib2fv(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28916,12 +29294,11 @@ static void REGAL_CALL emu_glVertexAttrib2fv(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -28944,6 +29321,7 @@ static void REGAL_CALL emu_glVertexAttrib2s(GLuint index, GLshort x, GLshort y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28953,12 +29331,11 @@ static void REGAL_CALL emu_glVertexAttrib2s(GLuint index, GLshort x, GLshort y) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -28981,6 +29358,7 @@ static void REGAL_CALL emu_glVertexAttrib2sv(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -28990,12 +29368,11 @@ static void REGAL_CALL emu_glVertexAttrib2sv(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -29018,6 +29395,7 @@ static void REGAL_CALL emu_glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29027,12 +29405,11 @@ static void REGAL_CALL emu_glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -29055,6 +29432,7 @@ static void REGAL_CALL emu_glVertexAttrib3dv(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29064,12 +29442,11 @@ static void REGAL_CALL emu_glVertexAttrib3dv(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -29092,6 +29469,7 @@ static void REGAL_CALL emu_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29101,12 +29479,11 @@ static void REGAL_CALL emu_glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -29129,6 +29506,7 @@ static void REGAL_CALL emu_glVertexAttrib3fv(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29138,12 +29516,11 @@ static void REGAL_CALL emu_glVertexAttrib3fv(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -29166,6 +29543,7 @@ static void REGAL_CALL emu_glVertexAttrib3s(GLuint index, GLshort x, GLshort y, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29175,12 +29553,11 @@ static void REGAL_CALL emu_glVertexAttrib3s(GLuint index, GLshort x, GLshort y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -29203,6 +29580,7 @@ static void REGAL_CALL emu_glVertexAttrib3sv(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29212,12 +29590,11 @@ static void REGAL_CALL emu_glVertexAttrib3sv(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -29240,6 +29617,7 @@ static void REGAL_CALL emu_glVertexAttrib4Nbv(GLuint index, const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29249,12 +29627,11 @@ static void REGAL_CALL emu_glVertexAttrib4Nbv(GLuint index, const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -29277,6 +29654,7 @@ static void REGAL_CALL emu_glVertexAttrib4Niv(GLuint index, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29286,12 +29664,11 @@ static void REGAL_CALL emu_glVertexAttrib4Niv(GLuint index, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -29314,6 +29691,7 @@ static void REGAL_CALL emu_glVertexAttrib4Nsv(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29323,12 +29701,11 @@ static void REGAL_CALL emu_glVertexAttrib4Nsv(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -29351,6 +29728,7 @@ static void REGAL_CALL emu_glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29360,12 +29738,11 @@ static void REGAL_CALL emu_glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, x, y, z, w ); } #endif @@ -29388,6 +29765,7 @@ static void REGAL_CALL emu_glVertexAttrib4Nubv(GLuint index, const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29397,12 +29775,11 @@ static void REGAL_CALL emu_glVertexAttrib4Nubv(GLuint index, const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -29425,6 +29802,7 @@ static void REGAL_CALL emu_glVertexAttrib4Nusv(GLuint index, const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29434,12 +29812,11 @@ static void REGAL_CALL emu_glVertexAttrib4Nusv(GLuint index, const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -29462,6 +29839,7 @@ static void REGAL_CALL emu_glVertexAttrib4bv(GLuint index, const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29471,12 +29849,11 @@ static void REGAL_CALL emu_glVertexAttrib4bv(GLuint index, const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29499,6 +29876,7 @@ static void REGAL_CALL emu_glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29508,12 +29886,11 @@ static void REGAL_CALL emu_glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -29536,6 +29913,7 @@ static void REGAL_CALL emu_glVertexAttrib4dv(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29545,12 +29923,11 @@ static void REGAL_CALL emu_glVertexAttrib4dv(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29573,6 +29950,7 @@ static void REGAL_CALL emu_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29582,12 +29960,11 @@ static void REGAL_CALL emu_glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -29610,6 +29987,7 @@ static void REGAL_CALL emu_glVertexAttrib4fv(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29619,12 +29997,11 @@ static void REGAL_CALL emu_glVertexAttrib4fv(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29647,6 +30024,7 @@ static void REGAL_CALL emu_glVertexAttrib4iv(GLuint index, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29656,12 +30034,11 @@ static void REGAL_CALL emu_glVertexAttrib4iv(GLuint index, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29684,6 +30061,7 @@ static void REGAL_CALL emu_glVertexAttrib4s(GLuint index, GLshort x, GLshort y, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29693,12 +30071,11 @@ static void REGAL_CALL emu_glVertexAttrib4s(GLuint index, GLshort x, GLshort y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -29721,6 +30098,7 @@ static void REGAL_CALL emu_glVertexAttrib4sv(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29730,12 +30108,11 @@ static void REGAL_CALL emu_glVertexAttrib4sv(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29758,6 +30135,7 @@ static void REGAL_CALL emu_glVertexAttrib4ubv(GLuint index, const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29767,12 +30145,11 @@ static void REGAL_CALL emu_glVertexAttrib4ubv(GLuint index, const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29795,6 +30172,7 @@ static void REGAL_CALL emu_glVertexAttrib4usv(GLuint index, const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29804,12 +30182,11 @@ static void REGAL_CALL emu_glVertexAttrib4usv(GLuint index, const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -29832,40 +30209,41 @@ static void REGAL_CALL emu_glVertexAttribPointer(GLuint index, GLint size, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribPointer( index, size, type, normalized, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribPointer( index, size, type, normalized, stride, pointer ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -29880,6 +30258,7 @@ static void REGAL_CALL emu_glVertexAttribPointer(GLuint index, GLint size, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29925,6 +30304,7 @@ static void REGAL_CALL emu_glUniformMatrix2x3fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -29964,6 +30344,7 @@ static void REGAL_CALL emu_glUniformMatrix2x4fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30003,6 +30384,7 @@ static void REGAL_CALL emu_glUniformMatrix3x2fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30042,6 +30424,7 @@ static void REGAL_CALL emu_glUniformMatrix3x4fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30081,6 +30464,7 @@ static void REGAL_CALL emu_glUniformMatrix4x2fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30120,6 +30504,7 @@ static void REGAL_CALL emu_glUniformMatrix4x3fv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30161,14 +30546,14 @@ static void REGAL_CALL emu_glClampColor(GLenum target, GLenum clamp) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClampColor( target, clamp ); } #endif @@ -30191,14 +30576,14 @@ static void REGAL_CALL emu_glColorMaski(GLuint index, GLboolean r, GLboolean g, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glColorMaski( index, r, g, b, a ); } #endif @@ -30221,35 +30606,35 @@ static void REGAL_CALL emu_glDisablei(GLenum cap, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisablei( cap, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisablei( cap, index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -30261,32 +30646,32 @@ static void REGAL_CALL emu_glDisablei(GLenum cap, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->Disablei( _context, cap, index ) ) { _context->dispatcher.emulation.glDisablei( cap, index ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->DisableIndexed( cap, index ); return; } @@ -30313,35 +30698,35 @@ static void REGAL_CALL emu_glEnablei(GLenum cap, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif - case 12 : + case 13 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnablei( cap, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnablei( cap, index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -30353,32 +30738,32 @@ static void REGAL_CALL emu_glEnablei(GLenum cap, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->Enablei( _context, cap, index ) ) { _context->dispatcher.emulation.glEnablei( cap, index ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->EnableIndexed( cap, index ); return; } @@ -30405,9 +30790,9 @@ static void REGAL_CALL emu_glGetBooleani_v(GLenum target, GLuint index, GLboolea // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -30419,14 +30804,14 @@ static void REGAL_CALL emu_glGetBooleani_v(GLenum target, GLuint index, GLboolea // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, data ) ) { _context->dispatcher.emulation.glGetBooleani_v( target, index, data ); } @@ -30455,16 +30840,17 @@ static void REGAL_CALL emu_glGetTexParameterIiv(GLenum target, GLenum pname, GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif + case 9 : case 8 : case 7 : case 6 : @@ -30480,18 +30866,18 @@ static void REGAL_CALL emu_glGetTexParameterIiv(GLenum target, GLenum pname, GLi // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; RegalAssert(_context); if ( !_context->texsto->GetTexParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexParameterIiv( target, pname, params ); @@ -30499,6 +30885,7 @@ static void REGAL_CALL emu_glGetTexParameterIiv(GLenum target, GLenum pname, GLi return; } #endif + case 9 : case 8 : case 7 : case 6 : @@ -30537,16 +30924,17 @@ static void REGAL_CALL emu_glGetTexParameterIuiv(GLenum target, GLenum pname, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif + case 9 : case 8 : case 7 : case 6 : @@ -30562,18 +30950,18 @@ static void REGAL_CALL emu_glGetTexParameterIuiv(GLenum target, GLenum pname, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; RegalAssert(_context); if ( !_context->texsto->GetTexParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetTexParameterIuiv( target, pname, params ); @@ -30581,6 +30969,7 @@ static void REGAL_CALL emu_glGetTexParameterIuiv(GLenum target, GLenum pname, GL return; } #endif + case 9 : case 8 : case 7 : case 6 : @@ -30619,9 +31008,9 @@ static GLboolean REGAL_CALL emu_glIsEnabledi(GLenum target, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -30633,14 +31022,14 @@ static GLboolean REGAL_CALL emu_glIsEnabledi(GLenum target, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; { GLboolean enabled; if( ! _context->ppa->glIsEnabledi( _context, enabled, target, index ) ) @@ -30670,6 +31059,7 @@ static void REGAL_CALL emu_glTexParameterIiv(GLenum target, GLenum pname, const // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30692,6 +31082,7 @@ static void REGAL_CALL emu_glTexParameterIiv(GLenum target, GLenum pname, const // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30737,6 +31128,7 @@ static void REGAL_CALL emu_glTexParameterIuiv(GLenum target, GLenum pname, const // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30759,6 +31151,7 @@ static void REGAL_CALL emu_glTexParameterIuiv(GLenum target, GLenum pname, const // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30804,6 +31197,7 @@ static void REGAL_CALL emu_glUniform1ui(GLint location, GLuint v0) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30843,6 +31237,7 @@ static void REGAL_CALL emu_glUniform1uiv(GLint location, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30882,6 +31277,7 @@ static void REGAL_CALL emu_glUniform2ui(GLint location, GLuint v0, GLuint v1) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30921,6 +31317,7 @@ static void REGAL_CALL emu_glUniform2uiv(GLint location, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30960,6 +31357,7 @@ static void REGAL_CALL emu_glUniform3ui(GLint location, GLuint v0, GLuint v1, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -30999,6 +31397,7 @@ static void REGAL_CALL emu_glUniform3uiv(GLint location, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31038,6 +31437,7 @@ static void REGAL_CALL emu_glUniform4ui(GLint location, GLuint v0, GLuint v1, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31077,6 +31477,7 @@ static void REGAL_CALL emu_glUniform4uiv(GLint location, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31116,27 +31517,27 @@ static void REGAL_CALL emu_glVertexAttribIPointer(GLuint index, GLint size, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribIPointer( index, size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribIPointer( index, size, type, stride, pointer ); } #endif @@ -31161,6 +31562,7 @@ static void REGAL_CALL emu_glDrawArraysInstanced(GLenum mode, GLint start, GLsiz // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31170,15 +31572,15 @@ static void REGAL_CALL emu_glDrawArraysInstanced(GLenum mode, GLint start, GLsiz case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31226,6 +31628,7 @@ static void REGAL_CALL emu_glDrawElementsInstanced(GLenum mode, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31235,15 +31638,15 @@ static void REGAL_CALL emu_glDrawElementsInstanced(GLenum mode, GLsizei count, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31291,27 +31694,27 @@ static void REGAL_CALL emu_glPrimitiveRestartIndex(GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPrimitiveRestartIndex( index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glPrimitiveRestartIndex( index ); } #endif @@ -31334,6 +31737,7 @@ static void REGAL_CALL emu_glTexBuffer(GLenum target, GLenum internalformat, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31376,6 +31780,7 @@ static void REGAL_CALL emu_glFramebufferTexture(GLenum target, GLenum attachment // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31415,6 +31820,7 @@ static void REGAL_CALL emu_glFramebufferTextureFace(GLenum target, GLenum attach // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31456,27 +31862,27 @@ static void REGAL_CALL emu_glVertexAttribDivisor(GLuint index, GLuint divisor) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribDivisor( index, divisor ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribDivisor( index, divisor ); } #endif @@ -31501,14 +31907,14 @@ static void REGAL_CALL emu_glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendEquationSeparatei( buf, modeRGB, modeAlpha ); } #endif @@ -31531,14 +31937,14 @@ static void REGAL_CALL emu_glBlendEquationi(GLuint buf, GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendEquationi( buf, mode ); } #endif @@ -31561,14 +31967,14 @@ static void REGAL_CALL emu_glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendFuncSeparatei( buf, srcRGB, dstRGB, srcAlpha, dstAlpha ); } #endif @@ -31591,14 +31997,14 @@ static void REGAL_CALL emu_glBlendFunci(GLuint buf, GLenum src, GLenum dst) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glBlendFunci( buf, src, dst ); } #endif @@ -31631,6 +32037,7 @@ static void REGAL_CALL emu_glMultiDrawArraysIndirectAMD(GLenum mode, const GLvoi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31640,15 +32047,15 @@ static void REGAL_CALL emu_glMultiDrawArraysIndirectAMD(GLenum mode, const GLvoi case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31696,6 +32103,7 @@ static void REGAL_CALL emu_glMultiDrawElementsIndirectAMD(GLenum mode, GLenum ty // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31705,15 +32113,15 @@ static void REGAL_CALL emu_glMultiDrawElementsIndirectAMD(GLenum mode, GLenum ty case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31775,6 +32183,7 @@ static void REGAL_CALL emu_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31800,6 +32209,7 @@ static void REGAL_CALL emu_glBlitFramebufferANGLE(GLint srcX0, GLint srcY0, GLin // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31863,6 +32273,7 @@ static void REGAL_CALL emu_glDrawElementArrayAPPLE(GLenum mode, GLint first, GLs // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31872,15 +32283,15 @@ static void REGAL_CALL emu_glDrawElementArrayAPPLE(GLenum mode, GLint first, GLs case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31928,6 +32339,7 @@ static void REGAL_CALL emu_glDrawRangeElementArrayAPPLE(GLenum mode, GLuint star // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31937,15 +32349,15 @@ static void REGAL_CALL emu_glDrawRangeElementArrayAPPLE(GLenum mode, GLuint star case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -31975,6 +32387,7 @@ static void REGAL_CALL emu_glMultiDrawElementArrayAPPLE(GLenum mode, const GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -31984,15 +32397,15 @@ static void REGAL_CALL emu_glMultiDrawElementArrayAPPLE(GLenum mode, const GLint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32040,6 +32453,7 @@ static void REGAL_CALL emu_glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32049,15 +32463,15 @@ static void REGAL_CALL emu_glMultiDrawRangeElementArrayAPPLE(GLenum mode, GLuint case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32103,6 +32517,7 @@ static void REGAL_CALL emu_glBindVertexArrayAPPLE(GLuint array) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32112,12 +32527,11 @@ static void REGAL_CALL emu_glBindVertexArrayAPPLE(GLuint array) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowVao( _context, array ); } #endif @@ -32140,6 +32554,7 @@ static void REGAL_CALL emu_glDeleteVertexArraysAPPLE(GLsizei n, const GLuint *ar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32185,14 +32600,14 @@ static void REGAL_CALL emu_glClearDepthf(GLclampf d) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glClearDepth( d ); } #endif @@ -32215,14 +32630,14 @@ static void REGAL_CALL emu_glDepthRangef(GLclampf n, GLclampf f) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthRange( n, f ); } #endif @@ -32245,11 +32660,11 @@ static void REGAL_CALL emu_glShaderBinary(GLsizei count, const GLuint *shaders, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : - case 11 : #if REGAL_EMU_BIN if (_context->bin) break; #endif @@ -32261,16 +32676,16 @@ static void REGAL_CALL emu_glShaderBinary(GLsizei count, const GLuint *shaders, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : - case 11 : #if REGAL_EMU_BIN if (_context->bin) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 10; + _context->emuLevel = 11; _context->bin->ShaderBinary( _context, count, shaders, binaryformat, binary, length ); return; } @@ -32299,6 +32714,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertexBaseInstance(GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32306,7 +32722,6 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertexBaseInstance(GLenum case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) break; #endif @@ -32318,6 +32733,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertexBaseInstance(GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32325,12 +32741,11 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertexBaseInstance(GLenum case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; if( ! _context->bv->glDrawElementsInstancedBaseVertexBaseInstance( *_context, mode, count, type, indices, primcount, basevertex, baseinstance ) ) { _context->dispatcher.emulation.glDrawElementsInstancedBaseVertexBaseInstance( mode, count, type, indices, primcount, basevertex, baseinstance ); } @@ -32379,6 +32794,7 @@ static void REGAL_CALL emu_glCopyBufferSubData(GLenum readtarget, GLenum writeta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32424,12 +32840,13 @@ static void REGAL_CALL emu_glDrawBuffersARB(GLsizei n, const GLenum *bufs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -32452,14 +32869,14 @@ static void REGAL_CALL emu_glDrawBuffersARB(GLsizei n, const GLenum *bufs) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( !_context->isES2() ) { _context->ppa->glDrawBuffers( n, bufs ); _context->dispatcher.emulation.glDrawBuffers( n, bufs ); @@ -32467,6 +32884,7 @@ static void REGAL_CALL emu_glDrawBuffersARB(GLsizei n, const GLenum *bufs) return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -32518,6 +32936,7 @@ static void REGAL_CALL emu_glDrawElementsBaseVertex(GLenum mode, GLsizei count, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32525,20 +32944,20 @@ static void REGAL_CALL emu_glDrawElementsBaseVertex(GLenum mode, GLsizei count, case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) break; #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32575,6 +32994,7 @@ static void REGAL_CALL emu_glDrawElementsBaseVertex(GLenum mode, GLsizei count, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32582,12 +33002,11 @@ static void REGAL_CALL emu_glDrawElementsBaseVertex(GLenum mode, GLsizei count, case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; if( ! _context->bv->glDrawElementsBaseVertex( *_context, mode, count, type, indices, basevertex ) ) { _context->dispatcher.emulation.glDrawElementsBaseVertex( mode, count, type, indices, basevertex ); } @@ -32616,6 +33035,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertex(GLenum mode, GLsize // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32623,20 +33043,20 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertex(GLenum mode, GLsize case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) break; #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32673,6 +33093,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertex(GLenum mode, GLsize // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32680,12 +33101,11 @@ static void REGAL_CALL emu_glDrawElementsInstancedBaseVertex(GLenum mode, GLsize case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; if( ! _context->bv->glDrawElementsInstancedBaseVertex( *_context, mode, count, type, indices, primcount, basevertex ) ) { _context->dispatcher.emulation.glDrawElementsInstancedBaseVertex( mode, count, type, indices, primcount, basevertex ); } @@ -32714,6 +33134,7 @@ static void REGAL_CALL emu_glDrawRangeElementsBaseVertex(GLenum mode, GLuint sta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32721,20 +33142,20 @@ static void REGAL_CALL emu_glDrawRangeElementsBaseVertex(GLenum mode, GLuint sta case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) break; #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32759,6 +33180,7 @@ static void REGAL_CALL emu_glDrawRangeElementsBaseVertex(GLenum mode, GLuint sta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32766,18 +33188,18 @@ static void REGAL_CALL emu_glDrawRangeElementsBaseVertex(GLenum mode, GLuint sta case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; if( ! _context->bv->glDrawRangeElementsBaseVertex( *_context, mode, start, end, count, type, indices, basevertex ) ) { _context->dispatcher.emulation.glDrawRangeElementsBaseVertex( mode, start, end, count, type, indices, basevertex ); } return; } #endif + case 8 : case 7 : case 6 : case 5 : @@ -32827,6 +33249,7 @@ static void REGAL_CALL emu_glMultiDrawElementsBaseVertex(GLenum mode, const GLsi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32834,20 +33257,20 @@ static void REGAL_CALL emu_glMultiDrawElementsBaseVertex(GLenum mode, const GLsi case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) break; #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32884,6 +33307,7 @@ static void REGAL_CALL emu_glMultiDrawElementsBaseVertex(GLenum mode, const GLsi // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32891,12 +33315,11 @@ static void REGAL_CALL emu_glMultiDrawElementsBaseVertex(GLenum mode, const GLsi case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; if( ! _context->bv->glMultiDrawElementsBaseVertex( *_context, mode, count, type, indices, primcount, basevertex ) ) { _context->dispatcher.emulation.glMultiDrawElementsBaseVertex( mode, count, type, indices, primcount, basevertex ); } @@ -32927,6 +33350,7 @@ static void REGAL_CALL emu_glDrawArraysIndirect(GLenum mode, const GLvoid *indir // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -32936,15 +33360,15 @@ static void REGAL_CALL emu_glDrawArraysIndirect(GLenum mode, const GLvoid *indir case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -32992,6 +33416,7 @@ static void REGAL_CALL emu_glDrawElementsIndirect(GLenum mode, GLenum type, cons // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33001,15 +33426,15 @@ static void REGAL_CALL emu_glDrawElementsIndirect(GLenum mode, GLenum type, cons case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -33059,6 +33484,7 @@ static void REGAL_CALL emu_glDrawArraysInstancedARB(GLenum mode, GLint start, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33068,15 +33494,15 @@ static void REGAL_CALL emu_glDrawArraysInstancedARB(GLenum mode, GLint start, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -33124,6 +33550,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedARB(GLenum mode, GLsizei count // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33133,15 +33560,15 @@ static void REGAL_CALL emu_glDrawElementsInstancedARB(GLenum mode, GLsizei count case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -33193,6 +33620,7 @@ static void REGAL_CALL emu_glBindFramebuffer(GLenum target, GLuint framebuffer) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33221,6 +33649,7 @@ static void REGAL_CALL emu_glBindFramebuffer(GLenum target, GLuint framebuffer) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33287,6 +33716,7 @@ static void REGAL_CALL emu_glBindRenderbuffer(GLenum target, GLuint renderbuffer // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33310,6 +33740,7 @@ static void REGAL_CALL emu_glBindRenderbuffer(GLenum target, GLuint renderbuffer // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33355,6 +33786,7 @@ static void REGAL_CALL emu_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint src // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33380,6 +33812,7 @@ static void REGAL_CALL emu_glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint src // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33430,6 +33863,7 @@ static void REGAL_CALL emu_glDeleteFramebuffers(GLsizei n, const GLuint *framebu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33469,6 +33903,7 @@ static void REGAL_CALL emu_glDeleteRenderbuffers(GLsizei n, const GLuint *render // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33508,6 +33943,7 @@ static void REGAL_CALL emu_glFramebufferRenderbuffer(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33541,6 +33977,7 @@ static void REGAL_CALL emu_glFramebufferRenderbuffer(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33589,10 +34026,11 @@ static void REGAL_CALL emu_glFramebufferTexture1D(GLenum target, GLenum attachme // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -33625,16 +34063,17 @@ static void REGAL_CALL emu_glFramebufferTexture1D(GLenum target, GLenum attachme // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture1D)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -33682,10 +34121,11 @@ static void REGAL_CALL emu_glFramebufferTexture2D(GLenum target, GLenum attachme // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -33718,16 +34158,17 @@ static void REGAL_CALL emu_glFramebufferTexture2D(GLenum target, GLenum attachme // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture2D)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -33777,6 +34218,7 @@ static void REGAL_CALL emu_glFramebufferTexture3D(GLenum target, GLenum attachme // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33810,6 +34252,7 @@ static void REGAL_CALL emu_glFramebufferTexture3D(GLenum target, GLenum attachme // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33858,6 +34301,7 @@ static void REGAL_CALL emu_glFramebufferTextureLayer(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33897,6 +34341,7 @@ static void REGAL_CALL emu_glGenerateMipmap(GLenum target) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33939,6 +34384,7 @@ static void REGAL_CALL emu_glGenerateMipmap(GLenum target) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -33989,10 +34435,11 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameteriv(GLenum target, // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -34017,12 +34464,12 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameteriv(GLenum target, // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glGetFramebufferAttachmentParameteriv)(target, attachment, pname, params); if (pname == GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME) { @@ -34034,6 +34481,7 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameteriv(GLenum target, return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -34083,6 +34531,7 @@ static void REGAL_CALL emu_glGetRenderbufferParameteriv(GLenum target, GLenum pn // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34122,6 +34571,7 @@ static void REGAL_CALL emu_glRenderbufferStorage(GLenum target, GLenum internalf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34161,6 +34611,7 @@ static void REGAL_CALL emu_glRenderbufferStorageMultisample(GLenum target, GLsiz // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34202,6 +34653,7 @@ static void REGAL_CALL emu_glFramebufferTextureARB(GLenum target, GLenum attachm // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34241,6 +34693,7 @@ static void REGAL_CALL emu_glFramebufferTextureFaceARB(GLenum target, GLenum att // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34280,6 +34733,7 @@ static void REGAL_CALL emu_glFramebufferTextureLayerARB(GLenum target, GLenum at // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34323,6 +34777,7 @@ static void REGAL_CALL emu_glUniform1d(GLint location, GLdouble x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34362,6 +34817,7 @@ static void REGAL_CALL emu_glUniform1dv(GLint location, GLsizei count, const GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34401,6 +34857,7 @@ static void REGAL_CALL emu_glUniform2d(GLint location, GLdouble x, GLdouble y) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34440,6 +34897,7 @@ static void REGAL_CALL emu_glUniform2dv(GLint location, GLsizei count, const GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34479,6 +34937,7 @@ static void REGAL_CALL emu_glUniform3d(GLint location, GLdouble x, GLdouble y, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34518,6 +34977,7 @@ static void REGAL_CALL emu_glUniform3dv(GLint location, GLsizei count, const GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34557,6 +35017,7 @@ static void REGAL_CALL emu_glUniform4d(GLint location, GLdouble x, GLdouble y, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34596,6 +35057,7 @@ static void REGAL_CALL emu_glUniform4dv(GLint location, GLsizei count, const GLd // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34635,6 +35097,7 @@ static void REGAL_CALL emu_glUniformMatrix2dv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34674,6 +35137,7 @@ static void REGAL_CALL emu_glUniformMatrix2x3dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34713,6 +35177,7 @@ static void REGAL_CALL emu_glUniformMatrix2x4dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34752,6 +35217,7 @@ static void REGAL_CALL emu_glUniformMatrix3dv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34791,6 +35257,7 @@ static void REGAL_CALL emu_glUniformMatrix3x2dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34830,6 +35297,7 @@ static void REGAL_CALL emu_glUniformMatrix3x4dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34869,6 +35337,7 @@ static void REGAL_CALL emu_glUniformMatrix4dv(GLint location, GLsizei count, GLb // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34908,6 +35377,7 @@ static void REGAL_CALL emu_glUniformMatrix4x2dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34947,6 +35417,7 @@ static void REGAL_CALL emu_glUniformMatrix4x3dv(GLint location, GLsizei count, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -34988,14 +35459,14 @@ static void REGAL_CALL emu_glColorTableParameterfv(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glColorTableParameterv( target, pname, params ); } #endif @@ -35018,14 +35489,14 @@ static void REGAL_CALL emu_glColorTableParameteriv(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glColorTableParameterv( target, pname, params ); } #endif @@ -35048,14 +35519,14 @@ static void REGAL_CALL emu_glConvolutionParameterf(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glConvolutionParameter( target, pname, params ); } #endif @@ -35078,14 +35549,14 @@ static void REGAL_CALL emu_glConvolutionParameterfv(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glConvolutionParameterv( target, pname, params ); } #endif @@ -35108,14 +35579,14 @@ static void REGAL_CALL emu_glConvolutionParameteri(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glConvolutionParameter( target, pname, params ); } #endif @@ -35138,14 +35609,14 @@ static void REGAL_CALL emu_glConvolutionParameteriv(GLenum target, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glConvolutionParameterv( target, pname, params ); } #endif @@ -35168,9 +35639,9 @@ static void REGAL_CALL emu_glGetColorTableParameterfv(GLenum target, GLenum pnam // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -35182,14 +35653,14 @@ static void REGAL_CALL emu_glGetColorTableParameterfv(GLenum target, GLenum pnam // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetColorTableParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetColorTableParameterfv( target, pname, params ); } @@ -35218,9 +35689,9 @@ static void REGAL_CALL emu_glGetColorTableParameteriv(GLenum target, GLenum pnam // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -35232,14 +35703,14 @@ static void REGAL_CALL emu_glGetColorTableParameteriv(GLenum target, GLenum pnam // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetColorTableParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetColorTableParameteriv( target, pname, params ); } @@ -35268,9 +35739,9 @@ static void REGAL_CALL emu_glGetConvolutionParameterfv(GLenum target, GLenum pna // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -35282,14 +35753,14 @@ static void REGAL_CALL emu_glGetConvolutionParameterfv(GLenum target, GLenum pna // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetConvolutionParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetConvolutionParameterfv( target, pname, params ); } @@ -35318,9 +35789,9 @@ static void REGAL_CALL emu_glGetConvolutionParameteriv(GLenum target, GLenum pna // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -35332,14 +35803,14 @@ static void REGAL_CALL emu_glGetConvolutionParameteriv(GLenum target, GLenum pna // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetConvolutionParameterv( _context, target, pname, params ) ) { _context->dispatcher.emulation.glGetConvolutionParameteriv( target, pname, params ); } @@ -35380,6 +35851,7 @@ static void REGAL_CALL emu_glFlushMappedBufferRange(GLenum target, GLintptr offs // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35419,6 +35891,7 @@ static GLvoid *REGAL_CALL emu_glMapBufferRange(GLenum target, GLintptr offset, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35462,15 +35935,15 @@ static void REGAL_CALL emu_glBindVertexBuffers(GLuint first, GLsizei count, cons // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glBindVertexBuffers( first, count, buffers, offsets, strides ); } #endif @@ -35495,6 +35968,7 @@ static void REGAL_CALL emu_glMultiDrawArraysIndirect(GLenum mode, const GLvoid * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35504,15 +35978,15 @@ static void REGAL_CALL emu_glMultiDrawArraysIndirect(GLenum mode, const GLvoid * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -35560,6 +36034,7 @@ static void REGAL_CALL emu_glMultiDrawElementsIndirect(GLenum mode, GLenum type, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35569,15 +36044,15 @@ static void REGAL_CALL emu_glMultiDrawElementsIndirect(GLenum mode, GLenum type, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -35629,40 +36104,41 @@ static void REGAL_CALL emu_glActiveTextureARB(GLenum texture) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glActiveTexture( texture ); } #endif + case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->ShadowActiveTexture( texture ); } #endif + case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowActiveTexture( texture ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) break; @@ -35692,6 +36168,7 @@ static void REGAL_CALL emu_glActiveTextureARB(GLenum texture) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35765,40 +36242,41 @@ static void REGAL_CALL emu_glClientActiveTextureARB(GLenum texture) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glClientActiveTexture( texture ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glClientActiveTexture( texture ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowClientActiveTexture( texture ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -35825,6 +36303,7 @@ static void REGAL_CALL emu_glClientActiveTextureARB(GLenum texture) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35886,6 +36365,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dARB(GLenum target, GLdouble s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35895,7 +36375,6 @@ static void REGAL_CALL emu_glMultiTexCoord1dARB(GLenum target, GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -35907,6 +36386,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dARB(GLenum target, GLdouble s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35916,12 +36396,11 @@ static void REGAL_CALL emu_glMultiTexCoord1dARB(GLenum target, GLdouble s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -35948,6 +36427,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dvARB(GLenum target, const GLdouble * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35957,7 +36437,6 @@ static void REGAL_CALL emu_glMultiTexCoord1dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -35969,6 +36448,7 @@ static void REGAL_CALL emu_glMultiTexCoord1dvARB(GLenum target, const GLdouble * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -35978,12 +36458,11 @@ static void REGAL_CALL emu_glMultiTexCoord1dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36010,6 +36489,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fARB(GLenum target, GLfloat s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36019,7 +36499,6 @@ static void REGAL_CALL emu_glMultiTexCoord1fARB(GLenum target, GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36031,6 +36510,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fARB(GLenum target, GLfloat s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36040,12 +36520,11 @@ static void REGAL_CALL emu_glMultiTexCoord1fARB(GLenum target, GLfloat s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -36072,6 +36551,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fvARB(GLenum target, const GLfloat *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36081,7 +36561,6 @@ static void REGAL_CALL emu_glMultiTexCoord1fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36093,6 +36572,7 @@ static void REGAL_CALL emu_glMultiTexCoord1fvARB(GLenum target, const GLfloat *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36102,12 +36582,11 @@ static void REGAL_CALL emu_glMultiTexCoord1fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36134,6 +36613,7 @@ static void REGAL_CALL emu_glMultiTexCoord1iARB(GLenum target, GLint s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36143,7 +36623,6 @@ static void REGAL_CALL emu_glMultiTexCoord1iARB(GLenum target, GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36155,6 +36634,7 @@ static void REGAL_CALL emu_glMultiTexCoord1iARB(GLenum target, GLint s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36164,12 +36644,11 @@ static void REGAL_CALL emu_glMultiTexCoord1iARB(GLenum target, GLint s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -36196,6 +36675,7 @@ static void REGAL_CALL emu_glMultiTexCoord1ivARB(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36205,7 +36685,6 @@ static void REGAL_CALL emu_glMultiTexCoord1ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36217,6 +36696,7 @@ static void REGAL_CALL emu_glMultiTexCoord1ivARB(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36226,12 +36706,11 @@ static void REGAL_CALL emu_glMultiTexCoord1ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36258,6 +36737,7 @@ static void REGAL_CALL emu_glMultiTexCoord1sARB(GLenum target, GLshort s) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36267,7 +36747,6 @@ static void REGAL_CALL emu_glMultiTexCoord1sARB(GLenum target, GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36279,6 +36758,7 @@ static void REGAL_CALL emu_glMultiTexCoord1sARB(GLenum target, GLshort s) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36288,12 +36768,11 @@ static void REGAL_CALL emu_glMultiTexCoord1sARB(GLenum target, GLshort s) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s ); return; } @@ -36320,6 +36799,7 @@ static void REGAL_CALL emu_glMultiTexCoord1svARB(GLenum target, const GLshort *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36329,7 +36809,6 @@ static void REGAL_CALL emu_glMultiTexCoord1svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36341,6 +36820,7 @@ static void REGAL_CALL emu_glMultiTexCoord1svARB(GLenum target, const GLshort *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36350,12 +36830,11 @@ static void REGAL_CALL emu_glMultiTexCoord1svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36382,6 +36861,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36391,7 +36871,6 @@ static void REGAL_CALL emu_glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36403,6 +36882,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdou // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36412,12 +36892,11 @@ static void REGAL_CALL emu_glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -36444,6 +36923,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dvARB(GLenum target, const GLdouble * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36453,7 +36933,6 @@ static void REGAL_CALL emu_glMultiTexCoord2dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36465,6 +36944,7 @@ static void REGAL_CALL emu_glMultiTexCoord2dvARB(GLenum target, const GLdouble * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36474,12 +36954,11 @@ static void REGAL_CALL emu_glMultiTexCoord2dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36506,6 +36985,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36515,7 +36995,6 @@ static void REGAL_CALL emu_glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36527,6 +37006,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36536,12 +37016,11 @@ static void REGAL_CALL emu_glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -36568,6 +37047,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fvARB(GLenum target, const GLfloat *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36577,7 +37057,6 @@ static void REGAL_CALL emu_glMultiTexCoord2fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36589,6 +37068,7 @@ static void REGAL_CALL emu_glMultiTexCoord2fvARB(GLenum target, const GLfloat *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36598,12 +37078,11 @@ static void REGAL_CALL emu_glMultiTexCoord2fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36630,6 +37109,7 @@ static void REGAL_CALL emu_glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36639,7 +37119,6 @@ static void REGAL_CALL emu_glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36651,6 +37130,7 @@ static void REGAL_CALL emu_glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36660,12 +37140,11 @@ static void REGAL_CALL emu_glMultiTexCoord2iARB(GLenum target, GLint s, GLint t) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -36692,6 +37171,7 @@ static void REGAL_CALL emu_glMultiTexCoord2ivARB(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36701,7 +37181,6 @@ static void REGAL_CALL emu_glMultiTexCoord2ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36713,6 +37192,7 @@ static void REGAL_CALL emu_glMultiTexCoord2ivARB(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36722,12 +37202,11 @@ static void REGAL_CALL emu_glMultiTexCoord2ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36754,6 +37233,7 @@ static void REGAL_CALL emu_glMultiTexCoord2sARB(GLenum target, GLshort s, GLshor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36763,7 +37243,6 @@ static void REGAL_CALL emu_glMultiTexCoord2sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36775,6 +37254,7 @@ static void REGAL_CALL emu_glMultiTexCoord2sARB(GLenum target, GLshort s, GLshor // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36784,12 +37264,11 @@ static void REGAL_CALL emu_glMultiTexCoord2sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t ); return; } @@ -36816,6 +37295,7 @@ static void REGAL_CALL emu_glMultiTexCoord2svARB(GLenum target, const GLshort *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36825,7 +37305,6 @@ static void REGAL_CALL emu_glMultiTexCoord2svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36837,6 +37316,7 @@ static void REGAL_CALL emu_glMultiTexCoord2svARB(GLenum target, const GLshort *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36846,12 +37326,11 @@ static void REGAL_CALL emu_glMultiTexCoord2svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -36878,6 +37357,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36887,7 +37367,6 @@ static void REGAL_CALL emu_glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36899,6 +37378,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdou // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36908,12 +37388,11 @@ static void REGAL_CALL emu_glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -36940,6 +37419,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dvARB(GLenum target, const GLdouble * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36949,7 +37429,6 @@ static void REGAL_CALL emu_glMultiTexCoord3dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -36961,6 +37440,7 @@ static void REGAL_CALL emu_glMultiTexCoord3dvARB(GLenum target, const GLdouble * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -36970,12 +37450,11 @@ static void REGAL_CALL emu_glMultiTexCoord3dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37002,6 +37481,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37011,7 +37491,6 @@ static void REGAL_CALL emu_glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37023,6 +37502,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37032,12 +37512,11 @@ static void REGAL_CALL emu_glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -37064,6 +37543,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fvARB(GLenum target, const GLfloat *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37073,7 +37553,6 @@ static void REGAL_CALL emu_glMultiTexCoord3fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37085,6 +37564,7 @@ static void REGAL_CALL emu_glMultiTexCoord3fvARB(GLenum target, const GLfloat *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37094,12 +37574,11 @@ static void REGAL_CALL emu_glMultiTexCoord3fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37126,6 +37605,7 @@ static void REGAL_CALL emu_glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37135,7 +37615,6 @@ static void REGAL_CALL emu_glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37147,6 +37626,7 @@ static void REGAL_CALL emu_glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37156,12 +37636,11 @@ static void REGAL_CALL emu_glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -37188,6 +37667,7 @@ static void REGAL_CALL emu_glMultiTexCoord3ivARB(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37197,7 +37677,6 @@ static void REGAL_CALL emu_glMultiTexCoord3ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37209,6 +37688,7 @@ static void REGAL_CALL emu_glMultiTexCoord3ivARB(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37218,12 +37698,11 @@ static void REGAL_CALL emu_glMultiTexCoord3ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37250,6 +37729,7 @@ static void REGAL_CALL emu_glMultiTexCoord3sARB(GLenum target, GLshort s, GLshor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37259,7 +37739,6 @@ static void REGAL_CALL emu_glMultiTexCoord3sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37271,6 +37750,7 @@ static void REGAL_CALL emu_glMultiTexCoord3sARB(GLenum target, GLshort s, GLshor // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37280,12 +37760,11 @@ static void REGAL_CALL emu_glMultiTexCoord3sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r ); return; } @@ -37312,6 +37791,7 @@ static void REGAL_CALL emu_glMultiTexCoord3svARB(GLenum target, const GLshort *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37321,7 +37801,6 @@ static void REGAL_CALL emu_glMultiTexCoord3svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37333,6 +37812,7 @@ static void REGAL_CALL emu_glMultiTexCoord3svARB(GLenum target, const GLshort *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37342,12 +37822,11 @@ static void REGAL_CALL emu_glMultiTexCoord3svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37374,6 +37853,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37383,7 +37863,6 @@ static void REGAL_CALL emu_glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37395,6 +37874,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdou // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37404,12 +37884,11 @@ static void REGAL_CALL emu_glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -37436,6 +37915,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dvARB(GLenum target, const GLdouble * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37445,7 +37925,6 @@ static void REGAL_CALL emu_glMultiTexCoord4dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37457,6 +37936,7 @@ static void REGAL_CALL emu_glMultiTexCoord4dvARB(GLenum target, const GLdouble * // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37466,12 +37946,11 @@ static void REGAL_CALL emu_glMultiTexCoord4dvARB(GLenum target, const GLdouble * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37498,6 +37977,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37507,7 +37987,6 @@ static void REGAL_CALL emu_glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37519,6 +37998,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37528,12 +38008,11 @@ static void REGAL_CALL emu_glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -37560,6 +38039,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fvARB(GLenum target, const GLfloat *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37569,7 +38049,6 @@ static void REGAL_CALL emu_glMultiTexCoord4fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37581,6 +38060,7 @@ static void REGAL_CALL emu_glMultiTexCoord4fvARB(GLenum target, const GLfloat *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37590,12 +38070,11 @@ static void REGAL_CALL emu_glMultiTexCoord4fvARB(GLenum target, const GLfloat *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37622,6 +38101,7 @@ static void REGAL_CALL emu_glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37631,7 +38111,6 @@ static void REGAL_CALL emu_glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37643,6 +38122,7 @@ static void REGAL_CALL emu_glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37652,12 +38132,11 @@ static void REGAL_CALL emu_glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -37684,6 +38163,7 @@ static void REGAL_CALL emu_glMultiTexCoord4ivARB(GLenum target, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37693,7 +38173,6 @@ static void REGAL_CALL emu_glMultiTexCoord4ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37705,6 +38184,7 @@ static void REGAL_CALL emu_glMultiTexCoord4ivARB(GLenum target, const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37714,12 +38194,11 @@ static void REGAL_CALL emu_glMultiTexCoord4ivARB(GLenum target, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37746,6 +38225,7 @@ static void REGAL_CALL emu_glMultiTexCoord4sARB(GLenum target, GLshort s, GLshor // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37755,7 +38235,6 @@ static void REGAL_CALL emu_glMultiTexCoord4sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37767,6 +38246,7 @@ static void REGAL_CALL emu_glMultiTexCoord4sARB(GLenum target, GLshort s, GLshor // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37776,12 +38256,11 @@ static void REGAL_CALL emu_glMultiTexCoord4sARB(GLenum target, GLshort s, GLshor case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), s, t, r, q ); return; } @@ -37808,6 +38287,7 @@ static void REGAL_CALL emu_glMultiTexCoord4svARB(GLenum target, const GLshort *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37817,7 +38297,6 @@ static void REGAL_CALL emu_glMultiTexCoord4svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -37829,6 +38308,7 @@ static void REGAL_CALL emu_glMultiTexCoord4svARB(GLenum target, const GLshort *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37838,12 +38318,11 @@ static void REGAL_CALL emu_glMultiTexCoord4svARB(GLenum target, const GLshort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, _context->iff->AttrIndex( RFF2A_TexCoord, target - GL_TEXTURE0 ), v ); return; } @@ -37878,17 +38357,33 @@ static void REGAL_CALL emu_glProvokingVertex(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glProvokingVertex( mode ); } #endif + case 13 : + case 12 : + case 11 : + case 10 : + case 9 : + case 8 : + case 7 : + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + _context->quads->glProvokingVertex( mode ); + } + #endif case 1 : default: break; @@ -37912,14 +38407,14 @@ static void REGAL_CALL emu_glMinSampleShading(GLclampf value) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMinSampleShading( value ); } #endif @@ -37944,6 +38439,7 @@ static void REGAL_CALL emu_glBindSampler(GLuint unit, GLuint sampler) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -37966,6 +38462,7 @@ static void REGAL_CALL emu_glBindSampler(GLuint unit, GLuint sampler) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38008,6 +38505,7 @@ static void REGAL_CALL emu_glDeleteSamplers(GLsizei count, const GLuint *sampler // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38030,6 +38528,7 @@ static void REGAL_CALL emu_glDeleteSamplers(GLsizei count, const GLuint *sampler // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38072,6 +38571,7 @@ static void REGAL_CALL emu_glGenSamplers(GLsizei count, GLuint *samplers) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38100,6 +38600,7 @@ static void REGAL_CALL emu_glGenSamplers(GLsizei count, GLuint *samplers) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38160,6 +38661,7 @@ static void REGAL_CALL emu_glGetSamplerParameterIiv(GLuint sampler, GLenum pname // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38182,6 +38684,7 @@ static void REGAL_CALL emu_glGetSamplerParameterIiv(GLuint sampler, GLenum pname // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38227,6 +38730,7 @@ static void REGAL_CALL emu_glGetSamplerParameterIuiv(GLuint sampler, GLenum pnam // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38249,6 +38753,7 @@ static void REGAL_CALL emu_glGetSamplerParameterIuiv(GLuint sampler, GLenum pnam // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38294,6 +38799,7 @@ static void REGAL_CALL emu_glGetSamplerParameterfv(GLuint sampler, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38316,6 +38822,7 @@ static void REGAL_CALL emu_glGetSamplerParameterfv(GLuint sampler, GLenum pname, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38361,6 +38868,7 @@ static void REGAL_CALL emu_glGetSamplerParameteriv(GLuint sampler, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38383,6 +38891,7 @@ static void REGAL_CALL emu_glGetSamplerParameteriv(GLuint sampler, GLenum pname, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38428,6 +38937,7 @@ static GLboolean REGAL_CALL emu_glIsSampler(GLuint sampler) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38450,6 +38960,7 @@ static GLboolean REGAL_CALL emu_glIsSampler(GLuint sampler) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38490,6 +39001,7 @@ static void REGAL_CALL emu_glSamplerParameterIiv(GLuint sampler, GLenum pname, c // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38512,6 +39024,7 @@ static void REGAL_CALL emu_glSamplerParameterIiv(GLuint sampler, GLenum pname, c // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38557,6 +39070,7 @@ static void REGAL_CALL emu_glSamplerParameterIuiv(GLuint sampler, GLenum pname, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38579,6 +39093,7 @@ static void REGAL_CALL emu_glSamplerParameterIuiv(GLuint sampler, GLenum pname, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38624,6 +39139,7 @@ static void REGAL_CALL emu_glSamplerParameterf(GLuint sampler, GLenum pname, GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38646,6 +39162,7 @@ static void REGAL_CALL emu_glSamplerParameterf(GLuint sampler, GLenum pname, GLf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38691,6 +39208,7 @@ static void REGAL_CALL emu_glSamplerParameterfv(GLuint sampler, GLenum pname, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38713,6 +39231,7 @@ static void REGAL_CALL emu_glSamplerParameterfv(GLuint sampler, GLenum pname, co // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38758,6 +39277,7 @@ static void REGAL_CALL emu_glSamplerParameteri(GLuint sampler, GLenum pname, GLi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38780,6 +39300,7 @@ static void REGAL_CALL emu_glSamplerParameteri(GLuint sampler, GLenum pname, GLi // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38825,6 +39346,7 @@ static void REGAL_CALL emu_glSamplerParameteriv(GLuint sampler, GLenum pname, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38847,6 +39369,7 @@ static void REGAL_CALL emu_glSamplerParameteriv(GLuint sampler, GLenum pname, co // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38894,6 +39417,7 @@ static void REGAL_CALL emu_glBindProgramPipeline(GLuint pipeline) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38903,7 +39427,6 @@ static void REGAL_CALL emu_glBindProgramPipeline(GLuint pipeline) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -38915,6 +39438,7 @@ static void REGAL_CALL emu_glBindProgramPipeline(GLuint pipeline) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38924,12 +39448,11 @@ static void REGAL_CALL emu_glBindProgramPipeline(GLuint pipeline) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; if( ! _context->iff->ShadowBindProgramPipeline( pipeline ) ) { _context->dispatcher.emulation.glBindProgramPipeline( pipeline ); } @@ -38964,6 +39487,7 @@ static void REGAL_CALL emu_glAttachObjectARB(GLhandleARB containerObj, GLhandleA // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -38989,6 +39513,7 @@ static void REGAL_CALL emu_glAttachObjectARB(GLhandleARB containerObj, GLhandleA // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39039,6 +39564,7 @@ static void REGAL_CALL emu_glCompileShaderARB(GLhandleARB shaderObj) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39064,6 +39590,7 @@ static void REGAL_CALL emu_glCompileShaderARB(GLhandleARB shaderObj) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39114,6 +39641,7 @@ static GLhandleARB REGAL_CALL emu_glCreateProgramObjectARB(void) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39139,6 +39667,7 @@ static GLhandleARB REGAL_CALL emu_glCreateProgramObjectARB(void) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39187,6 +39716,7 @@ static GLhandleARB REGAL_CALL emu_glCreateShaderObjectARB(GLenum shaderType) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39196,7 +39726,6 @@ static GLhandleARB REGAL_CALL emu_glCreateShaderObjectARB(GLenum shaderType) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -39208,6 +39737,7 @@ static GLhandleARB REGAL_CALL emu_glCreateShaderObjectARB(GLenum shaderType) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39217,12 +39747,11 @@ static GLhandleARB REGAL_CALL emu_glCreateShaderObjectARB(GLenum shaderType) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; return _context->iff->CreateShader( _context, shaderType ); } #endif @@ -39247,6 +39776,7 @@ static void REGAL_CALL emu_glGetInfoLogARB(GLhandleARB obj, GLsizei maxLength, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39272,6 +39802,7 @@ static void REGAL_CALL emu_glGetInfoLogARB(GLhandleARB obj, GLsizei maxLength, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39325,6 +39856,7 @@ static void REGAL_CALL emu_glGetObjectParameterivARB(GLhandleARB obj, GLenum pna // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39350,6 +39882,7 @@ static void REGAL_CALL emu_glGetObjectParameterivARB(GLhandleARB obj, GLenum pna // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39403,6 +39936,7 @@ static GLint REGAL_CALL emu_glGetUniformLocationARB(GLhandleARB programObj, cons // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39428,6 +39962,7 @@ static GLint REGAL_CALL emu_glGetUniformLocationARB(GLhandleARB programObj, cons // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39476,6 +40011,7 @@ static void REGAL_CALL emu_glLinkProgramARB(GLhandleARB programObj) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39485,7 +40021,6 @@ static void REGAL_CALL emu_glLinkProgramARB(GLhandleARB programObj) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -39497,6 +40032,7 @@ static void REGAL_CALL emu_glLinkProgramARB(GLhandleARB programObj) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39506,12 +40042,11 @@ static void REGAL_CALL emu_glLinkProgramARB(GLhandleARB programObj) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LinkProgram( _context, programObj ); return; } @@ -39538,6 +40073,7 @@ static void REGAL_CALL emu_glShaderSourceARB(GLhandleARB shaderObj, GLsizei coun // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39547,7 +40083,6 @@ static void REGAL_CALL emu_glShaderSourceARB(GLhandleARB shaderObj, GLsizei coun case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -39559,6 +40094,7 @@ static void REGAL_CALL emu_glShaderSourceARB(GLhandleARB shaderObj, GLsizei coun // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39568,12 +40104,11 @@ static void REGAL_CALL emu_glShaderSourceARB(GLhandleARB shaderObj, GLsizei coun case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShaderSource( _context, shaderObj, count, string, length ); return; } @@ -39600,6 +40135,7 @@ static void REGAL_CALL emu_glUniform1iARB(GLint location, GLint v0) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39625,6 +40161,7 @@ static void REGAL_CALL emu_glUniform1iARB(GLint location, GLint v0) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39685,6 +40222,7 @@ static void REGAL_CALL emu_glGetInteger64v(GLenum pname, GLint64 *params) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39716,6 +40254,7 @@ static void REGAL_CALL emu_glGetInteger64v(GLenum pname, GLint64 *params) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39796,12 +40335,12 @@ static void REGAL_CALL emu_glCompressedTexImage2DARB(GLenum target, GLint level, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif @@ -39813,17 +40352,17 @@ static void REGAL_CALL emu_glCompressedTexImage2DARB(GLenum target, GLint level, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->CompressedTexImage2D( _context, target, level, internalformat, width, height, border, imageSize, data ); return; } @@ -39850,12 +40389,12 @@ static void REGAL_CALL emu_glCompressedTexSubImage2DARB(GLenum target, GLint lev // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif @@ -39867,17 +40406,17 @@ static void REGAL_CALL emu_glCompressedTexSubImage2DARB(GLenum target, GLint lev // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->CompressedTexSubImage2D( _context, target, level, xoffset, yoffset, width, height, format, imageSize, data ); return; } @@ -39906,6 +40445,7 @@ static void REGAL_CALL emu_glTexImage2DMultisample(GLenum target, GLsizei sample // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39915,12 +40455,11 @@ static void REGAL_CALL emu_glTexImage2DMultisample(GLenum target, GLsizei sample case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif @@ -39943,6 +40482,7 @@ static void REGAL_CALL emu_glTexImage3DMultisample(GLenum target, GLsizei sample // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -39952,12 +40492,11 @@ static void REGAL_CALL emu_glTexImage3DMultisample(GLenum target, GLsizei sample case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif @@ -39982,13 +40521,13 @@ static void REGAL_CALL emu_glTexStorage1D(GLenum target, GLsizei levels, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -40000,18 +40539,18 @@ static void REGAL_CALL emu_glTexStorage1D(GLenum target, GLsizei levels, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width ); return; } @@ -40038,13 +40577,13 @@ static void REGAL_CALL emu_glTexStorage2D(GLenum target, GLsizei levels, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -40056,18 +40595,18 @@ static void REGAL_CALL emu_glTexStorage2D(GLenum target, GLsizei levels, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width, height ); return; } @@ -40094,13 +40633,13 @@ static void REGAL_CALL emu_glTexStorage3D(GLenum target, GLsizei levels, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -40112,18 +40651,18 @@ static void REGAL_CALL emu_glTexStorage3D(GLenum target, GLsizei levels, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width, height, depth ); return; } @@ -40150,6 +40689,7 @@ static void REGAL_CALL emu_glTextureStorage1DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40173,6 +40713,7 @@ static void REGAL_CALL emu_glTextureStorage1DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40217,6 +40758,7 @@ static void REGAL_CALL emu_glTextureStorage2DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40240,6 +40782,7 @@ static void REGAL_CALL emu_glTextureStorage2DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40284,6 +40827,7 @@ static void REGAL_CALL emu_glTextureStorage3DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40307,6 +40851,7 @@ static void REGAL_CALL emu_glTextureStorage3DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40365,6 +40910,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixdARB(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40374,7 +40920,6 @@ static void REGAL_CALL emu_glLoadTransposeMatrixdARB(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -40386,6 +40931,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixdARB(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40395,12 +40941,11 @@ static void REGAL_CALL emu_glLoadTransposeMatrixdARB(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadTransposeMatrix( m ); return; } @@ -40427,6 +40972,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixfARB(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40436,7 +40982,6 @@ static void REGAL_CALL emu_glLoadTransposeMatrixfARB(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -40448,6 +40993,7 @@ static void REGAL_CALL emu_glLoadTransposeMatrixfARB(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40457,12 +41003,11 @@ static void REGAL_CALL emu_glLoadTransposeMatrixfARB(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->LoadTransposeMatrix( m ); return; } @@ -40489,6 +41034,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixdARB(const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40498,7 +41044,6 @@ static void REGAL_CALL emu_glMultTransposeMatrixdARB(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -40510,6 +41055,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixdARB(const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40519,12 +41065,11 @@ static void REGAL_CALL emu_glMultTransposeMatrixdARB(const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultTransposeMatrix( m ); return; } @@ -40551,6 +41096,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixfARB(const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40560,7 +41106,6 @@ static void REGAL_CALL emu_glMultTransposeMatrixfARB(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -40572,6 +41117,7 @@ static void REGAL_CALL emu_glMultTransposeMatrixfARB(const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -40581,12 +41127,11 @@ static void REGAL_CALL emu_glMultTransposeMatrixfARB(const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MultTransposeMatrix( m ); return; } @@ -40615,9 +41160,9 @@ static void REGAL_CALL emu_glGetIntegeri_v(GLenum target, GLuint index, GLint *d // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -40629,14 +41174,14 @@ static void REGAL_CALL emu_glGetIntegeri_v(GLenum target, GLuint index, GLint *d // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, data ) ) { _context->dispatcher.emulation.glGetIntegeri_v( target, index, data ); } @@ -40667,43 +41212,44 @@ static void REGAL_CALL emu_glBindVertexArray(GLuint array) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glBindVertexArray( array ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glBindVertexArray( array ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowVao( _context, array ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -40721,16 +41267,17 @@ static void REGAL_CALL emu_glBindVertexArray(GLuint array) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->BindVertexArray(*_context, array); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -40785,30 +41332,31 @@ static void REGAL_CALL emu_glDeleteVertexArrays(GLsizei n, const GLuint *arrays) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDeleteVertexArrays( n, arrays ); } #endif + case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -40831,16 +41379,17 @@ static void REGAL_CALL emu_glDeleteVertexArrays(GLsizei n, const GLuint *arrays) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->DeleteVertexArrays(*_context, n, arrays); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -40849,16 +41398,16 @@ static void REGAL_CALL emu_glDeleteVertexArrays(GLsizei n, const GLuint *arrays) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->DeleteVertexArrays( _context, n, arrays ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -40893,10 +41442,11 @@ static void REGAL_CALL emu_glGenVertexArrays(GLsizei n, GLuint *arrays) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -40920,16 +41470,17 @@ static void REGAL_CALL emu_glGenVertexArrays(GLsizei n, GLuint *arrays) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->GenVertexArrays(*_context, n, arrays); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -40973,10 +41524,11 @@ static GLboolean REGAL_CALL emu_glIsVertexArray(GLuint array) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -40985,10 +41537,10 @@ static GLboolean REGAL_CALL emu_glIsVertexArray(GLuint array) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -41003,15 +41555,16 @@ static GLboolean REGAL_CALL emu_glIsVertexArray(GLuint array) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; return _context->obj->IsVertexArray(*_context, array); } #endif + case 15 : case 14 : case 13 : case 12 : @@ -41020,15 +41573,15 @@ static GLboolean REGAL_CALL emu_glIsVertexArray(GLuint array) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; return _context->iff->IsVertexArray( _context, array ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -41063,27 +41616,27 @@ static void REGAL_CALL emu_glVertexAttribLPointer(GLuint index, GLint size, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribLPointer( index, size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribLPointer( index, size, type, stride, pointer ); } #endif @@ -41108,27 +41661,27 @@ static void REGAL_CALL emu_glBindVertexBuffer(GLuint bindingindex, GLuint buffer // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glBindVertexBuffer( bindingindex, buffer, offset, stride ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glBindVertexBuffer( bindingindex, buffer, offset, stride ); } #endif @@ -41151,27 +41704,27 @@ static void REGAL_CALL emu_glVertexAttribBinding(GLuint attribindex, GLuint bind // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribBinding( attribindex, bindingindex ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribBinding( attribindex, bindingindex ); } #endif @@ -41194,27 +41747,27 @@ static void REGAL_CALL emu_glVertexAttribFormat(GLuint attribindex, GLint size, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribFormat( attribindex, size, type, normalized, relativeoffset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribFormat( attribindex, size, type, normalized, relativeoffset ); } #endif @@ -41237,27 +41790,27 @@ static void REGAL_CALL emu_glVertexAttribIFormat(GLuint attribindex, GLint size, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribIFormat( attribindex, size, type, relativeoffset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribIFormat( attribindex, size, type, relativeoffset ); } #endif @@ -41280,27 +41833,27 @@ static void REGAL_CALL emu_glVertexAttribLFormat(GLuint attribindex, GLint size, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexAttribLFormat( attribindex, size, type, relativeoffset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexAttribLFormat( attribindex, size, type, relativeoffset ); } #endif @@ -41323,27 +41876,27 @@ static void REGAL_CALL emu_glVertexBindingDivisor(GLuint bindingindex, GLuint di // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexBindingDivisor( bindingindex, divisor ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexBindingDivisor( bindingindex, divisor ); } #endif @@ -41370,10 +41923,11 @@ static void REGAL_CALL emu_glBindBufferARB(GLenum target, GLuint buffer) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -41405,16 +41959,17 @@ static void REGAL_CALL emu_glBindBufferARB(GLenum target, GLuint buffer) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->BindBuffer(*_context, target, buffer); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -41459,6 +42014,7 @@ static void REGAL_CALL emu_glBufferDataARB(GLenum target, GLsizeiptrARB size, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41484,6 +42040,7 @@ static void REGAL_CALL emu_glBufferDataARB(GLenum target, GLsizeiptrARB size, co // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41534,10 +42091,11 @@ static void REGAL_CALL emu_glDeleteBuffersARB(GLsizei n, const GLuint *buffers) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -41565,12 +42123,12 @@ static void REGAL_CALL emu_glDeleteBuffersARB(GLsizei n, const GLuint *buffers) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->DeleteBuffers(*_context, n, buffers); return; } @@ -41597,7 +42155,7 @@ static void REGAL_CALL emu_glGenBuffersARB(GLsizei n, GLuint *buffers) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -41609,12 +42167,12 @@ static void REGAL_CALL emu_glGenBuffersARB(GLsizei n, GLuint *buffers) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _context->obj->GenBuffers(*_context, n, buffers); return; } @@ -41641,7 +42199,7 @@ static GLboolean REGAL_CALL emu_glIsBufferARB(GLuint buffer) // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -41653,12 +42211,12 @@ static GLboolean REGAL_CALL emu_glIsBufferARB(GLuint buffer) // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; return _context->obj->IsBuffer(*_context, buffer); } #endif @@ -41683,6 +42241,7 @@ static GLvoid *REGAL_CALL emu_glMapBufferARB(GLenum target, GLenum access) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41716,6 +42275,7 @@ static GLvoid *REGAL_CALL emu_glMapBufferARB(GLenum target, GLenum access) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41764,6 +42324,7 @@ static GLboolean REGAL_CALL emu_glUnmapBufferARB(GLenum target) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41805,6 +42366,7 @@ static void REGAL_CALL emu_glBindProgramARB(GLenum target, GLuint program) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41833,6 +42395,7 @@ static void REGAL_CALL emu_glBindProgramARB(GLenum target, GLuint program) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41892,6 +42455,7 @@ static void REGAL_CALL emu_glDeleteProgramsARB(GLsizei n, const GLuint *programs // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41931,6 +42495,7 @@ static void REGAL_CALL emu_glDisableVertexAttribArrayARB(GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -41940,16 +42505,16 @@ static void REGAL_CALL emu_glDisableVertexAttribArrayARB(GLuint index) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); _context->iff->DisableArray( _context, index ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -41964,6 +42529,7 @@ static void REGAL_CALL emu_glDisableVertexAttribArrayARB(GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42007,6 +42573,7 @@ static void REGAL_CALL emu_glEnableVertexAttribArrayARB(GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42016,16 +42583,16 @@ static void REGAL_CALL emu_glEnableVertexAttribArrayARB(GLuint index) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); _context->iff->EnableArray( _context, index ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -42040,6 +42607,7 @@ static void REGAL_CALL emu_glEnableVertexAttribArrayARB(GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42083,6 +42651,7 @@ static void REGAL_CALL emu_glGenProgramsARB(GLsizei n, GLuint *programs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42108,6 +42677,7 @@ static void REGAL_CALL emu_glGenProgramsARB(GLsizei n, GLuint *programs) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42156,6 +42726,7 @@ static void REGAL_CALL emu_glGetProgramEnvParameterdvARB(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42195,6 +42766,7 @@ static void REGAL_CALL emu_glGetProgramEnvParameterfvARB(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42234,6 +42806,7 @@ static void REGAL_CALL emu_glGetProgramLocalParameterdvARB(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42273,6 +42846,7 @@ static void REGAL_CALL emu_glGetProgramLocalParameterfvARB(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42312,6 +42886,7 @@ static void REGAL_CALL emu_glGetProgramivARB(GLenum target, GLenum pname, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42337,6 +42912,7 @@ static void REGAL_CALL emu_glGetProgramivARB(GLenum target, GLenum pname, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42385,6 +42961,7 @@ static void REGAL_CALL emu_glGetVertexAttribPointervARB(GLuint index, GLenum pna // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42394,15 +42971,15 @@ static void REGAL_CALL emu_glGetVertexAttribPointervARB(GLuint index, GLenum pna case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -42417,6 +42994,7 @@ static void REGAL_CALL emu_glGetVertexAttribPointervARB(GLuint index, GLenum pna // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42461,6 +43039,7 @@ static void REGAL_CALL emu_glGetVertexAttribdvARB(GLuint index, GLenum pname, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42470,15 +43049,15 @@ static void REGAL_CALL emu_glGetVertexAttribdvARB(GLuint index, GLenum pname, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -42493,6 +43072,7 @@ static void REGAL_CALL emu_glGetVertexAttribdvARB(GLuint index, GLenum pname, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42537,6 +43117,7 @@ static void REGAL_CALL emu_glGetVertexAttribfvARB(GLuint index, GLenum pname, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42546,15 +43127,15 @@ static void REGAL_CALL emu_glGetVertexAttribfvARB(GLuint index, GLenum pname, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -42569,6 +43150,7 @@ static void REGAL_CALL emu_glGetVertexAttribfvARB(GLuint index, GLenum pname, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42613,6 +43195,7 @@ static void REGAL_CALL emu_glGetVertexAttribivARB(GLuint index, GLenum pname, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42622,15 +43205,15 @@ static void REGAL_CALL emu_glGetVertexAttribivARB(GLuint index, GLenum pname, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -42645,6 +43228,7 @@ static void REGAL_CALL emu_glGetVertexAttribivARB(GLuint index, GLenum pname, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42689,6 +43273,7 @@ static void REGAL_CALL emu_glProgramEnvParameter4dARB(GLenum target, GLuint inde // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42728,6 +43313,7 @@ static void REGAL_CALL emu_glProgramEnvParameter4dvARB(GLenum target, GLuint ind // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42767,6 +43353,7 @@ static void REGAL_CALL emu_glProgramEnvParameter4fARB(GLenum target, GLuint inde // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42806,6 +43393,7 @@ static void REGAL_CALL emu_glProgramEnvParameter4fvARB(GLenum target, GLuint ind // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42845,6 +43433,7 @@ static void REGAL_CALL emu_glProgramLocalParameter4dARB(GLenum target, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42884,6 +43473,7 @@ static void REGAL_CALL emu_glProgramLocalParameter4dvARB(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42923,6 +43513,7 @@ static void REGAL_CALL emu_glProgramLocalParameter4fARB(GLenum target, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -42962,6 +43553,7 @@ static void REGAL_CALL emu_glProgramLocalParameter4fvARB(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43001,6 +43593,7 @@ static void REGAL_CALL emu_glProgramStringARB(GLenum target, GLenum format, GLsi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43026,6 +43619,7 @@ static void REGAL_CALL emu_glProgramStringARB(GLenum target, GLenum format, GLsi // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43074,6 +43668,7 @@ static void REGAL_CALL emu_glVertexAttrib1dARB(GLuint index, GLdouble x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43083,12 +43678,11 @@ static void REGAL_CALL emu_glVertexAttrib1dARB(GLuint index, GLdouble x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -43111,6 +43705,7 @@ static void REGAL_CALL emu_glVertexAttrib1dvARB(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43120,12 +43715,11 @@ static void REGAL_CALL emu_glVertexAttrib1dvARB(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -43148,6 +43742,7 @@ static void REGAL_CALL emu_glVertexAttrib1fARB(GLuint index, GLfloat x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43157,12 +43752,11 @@ static void REGAL_CALL emu_glVertexAttrib1fARB(GLuint index, GLfloat x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -43185,6 +43779,7 @@ static void REGAL_CALL emu_glVertexAttrib1fvARB(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43194,12 +43789,11 @@ static void REGAL_CALL emu_glVertexAttrib1fvARB(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -43222,6 +43816,7 @@ static void REGAL_CALL emu_glVertexAttrib1sARB(GLuint index, GLshort x) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43231,12 +43826,11 @@ static void REGAL_CALL emu_glVertexAttrib1sARB(GLuint index, GLshort x) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, x ); } #endif @@ -43259,6 +43853,7 @@ static void REGAL_CALL emu_glVertexAttrib1svARB(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43268,12 +43863,11 @@ static void REGAL_CALL emu_glVertexAttrib1svARB(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<1>( _context, index, v ); } #endif @@ -43296,6 +43890,7 @@ static void REGAL_CALL emu_glVertexAttrib2dARB(GLuint index, GLdouble x, GLdoubl // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43305,12 +43900,11 @@ static void REGAL_CALL emu_glVertexAttrib2dARB(GLuint index, GLdouble x, GLdoubl case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -43333,6 +43927,7 @@ static void REGAL_CALL emu_glVertexAttrib2dvARB(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43342,12 +43937,11 @@ static void REGAL_CALL emu_glVertexAttrib2dvARB(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -43370,6 +43964,7 @@ static void REGAL_CALL emu_glVertexAttrib2fARB(GLuint index, GLfloat x, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43379,12 +43974,11 @@ static void REGAL_CALL emu_glVertexAttrib2fARB(GLuint index, GLfloat x, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -43407,6 +44001,7 @@ static void REGAL_CALL emu_glVertexAttrib2fvARB(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43416,12 +44011,11 @@ static void REGAL_CALL emu_glVertexAttrib2fvARB(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -43444,6 +44038,7 @@ static void REGAL_CALL emu_glVertexAttrib2sARB(GLuint index, GLshort x, GLshort // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43453,12 +44048,11 @@ static void REGAL_CALL emu_glVertexAttrib2sARB(GLuint index, GLshort x, GLshort case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, x, y ); } #endif @@ -43481,6 +44075,7 @@ static void REGAL_CALL emu_glVertexAttrib2svARB(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43490,12 +44085,11 @@ static void REGAL_CALL emu_glVertexAttrib2svARB(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<2>( _context, index, v ); } #endif @@ -43518,6 +44112,7 @@ static void REGAL_CALL emu_glVertexAttrib3dARB(GLuint index, GLdouble x, GLdoubl // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43527,12 +44122,11 @@ static void REGAL_CALL emu_glVertexAttrib3dARB(GLuint index, GLdouble x, GLdoubl case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -43555,6 +44149,7 @@ static void REGAL_CALL emu_glVertexAttrib3dvARB(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43564,12 +44159,11 @@ static void REGAL_CALL emu_glVertexAttrib3dvARB(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -43592,6 +44186,7 @@ static void REGAL_CALL emu_glVertexAttrib3fARB(GLuint index, GLfloat x, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43601,12 +44196,11 @@ static void REGAL_CALL emu_glVertexAttrib3fARB(GLuint index, GLfloat x, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -43629,6 +44223,7 @@ static void REGAL_CALL emu_glVertexAttrib3fvARB(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43638,12 +44233,11 @@ static void REGAL_CALL emu_glVertexAttrib3fvARB(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -43666,6 +44260,7 @@ static void REGAL_CALL emu_glVertexAttrib3sARB(GLuint index, GLshort x, GLshort // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43675,12 +44270,11 @@ static void REGAL_CALL emu_glVertexAttrib3sARB(GLuint index, GLshort x, GLshort case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, x, y, z ); } #endif @@ -43703,6 +44297,7 @@ static void REGAL_CALL emu_glVertexAttrib3svARB(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43712,12 +44307,11 @@ static void REGAL_CALL emu_glVertexAttrib3svARB(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, index, v ); } #endif @@ -43740,6 +44334,7 @@ static void REGAL_CALL emu_glVertexAttrib4NbvARB(GLuint index, const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43749,12 +44344,11 @@ static void REGAL_CALL emu_glVertexAttrib4NbvARB(GLuint index, const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -43777,6 +44371,7 @@ static void REGAL_CALL emu_glVertexAttrib4NivARB(GLuint index, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43786,12 +44381,11 @@ static void REGAL_CALL emu_glVertexAttrib4NivARB(GLuint index, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -43814,6 +44408,7 @@ static void REGAL_CALL emu_glVertexAttrib4NsvARB(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43823,12 +44418,11 @@ static void REGAL_CALL emu_glVertexAttrib4NsvARB(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -43851,6 +44445,7 @@ static void REGAL_CALL emu_glVertexAttrib4NubARB(GLuint index, GLubyte x, GLubyt // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43860,12 +44455,11 @@ static void REGAL_CALL emu_glVertexAttrib4NubARB(GLuint index, GLubyte x, GLubyt case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, x, y, z, w ); } #endif @@ -43888,6 +44482,7 @@ static void REGAL_CALL emu_glVertexAttrib4NubvARB(GLuint index, const GLubyte *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43897,12 +44492,11 @@ static void REGAL_CALL emu_glVertexAttrib4NubvARB(GLuint index, const GLubyte *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -43925,6 +44519,7 @@ static void REGAL_CALL emu_glVertexAttrib4NusvARB(GLuint index, const GLushort * // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43934,12 +44529,11 @@ static void REGAL_CALL emu_glVertexAttrib4NusvARB(GLuint index, const GLushort * case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<4>( _context, index, v ); } #endif @@ -43962,6 +44556,7 @@ static void REGAL_CALL emu_glVertexAttrib4bvARB(GLuint index, const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -43971,12 +44566,11 @@ static void REGAL_CALL emu_glVertexAttrib4bvARB(GLuint index, const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -43999,6 +44593,7 @@ static void REGAL_CALL emu_glVertexAttrib4dARB(GLuint index, GLdouble x, GLdoubl // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44008,12 +44603,11 @@ static void REGAL_CALL emu_glVertexAttrib4dARB(GLuint index, GLdouble x, GLdoubl case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -44036,6 +44630,7 @@ static void REGAL_CALL emu_glVertexAttrib4dvARB(GLuint index, const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44045,12 +44640,11 @@ static void REGAL_CALL emu_glVertexAttrib4dvARB(GLuint index, const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44073,6 +44667,7 @@ static void REGAL_CALL emu_glVertexAttrib4fARB(GLuint index, GLfloat x, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44082,12 +44677,11 @@ static void REGAL_CALL emu_glVertexAttrib4fARB(GLuint index, GLfloat x, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -44110,6 +44704,7 @@ static void REGAL_CALL emu_glVertexAttrib4fvARB(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44119,12 +44714,11 @@ static void REGAL_CALL emu_glVertexAttrib4fvARB(GLuint index, const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44147,6 +44741,7 @@ static void REGAL_CALL emu_glVertexAttrib4ivARB(GLuint index, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44156,12 +44751,11 @@ static void REGAL_CALL emu_glVertexAttrib4ivARB(GLuint index, const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44184,6 +44778,7 @@ static void REGAL_CALL emu_glVertexAttrib4sARB(GLuint index, GLshort x, GLshort // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44193,12 +44788,11 @@ static void REGAL_CALL emu_glVertexAttrib4sARB(GLuint index, GLshort x, GLshort case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, x, y, z, w ); } #endif @@ -44221,6 +44815,7 @@ static void REGAL_CALL emu_glVertexAttrib4svARB(GLuint index, const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44230,12 +44825,11 @@ static void REGAL_CALL emu_glVertexAttrib4svARB(GLuint index, const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44258,6 +44852,7 @@ static void REGAL_CALL emu_glVertexAttrib4ubvARB(GLuint index, const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44267,12 +44862,11 @@ static void REGAL_CALL emu_glVertexAttrib4ubvARB(GLuint index, const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44295,6 +44889,7 @@ static void REGAL_CALL emu_glVertexAttrib4usvARB(GLuint index, const GLushort *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44304,12 +44899,11 @@ static void REGAL_CALL emu_glVertexAttrib4usvARB(GLuint index, const GLushort *v case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<4>( _context, index, v ); } #endif @@ -44332,6 +44926,7 @@ static void REGAL_CALL emu_glVertexAttribPointerARB(GLuint index, GLint size, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44341,15 +44936,15 @@ static void REGAL_CALL emu_glVertexAttribPointerARB(GLuint index, GLint size, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); } #endif + case 6 : case 5 : case 4 : case 3 : @@ -44364,6 +44959,7 @@ static void REGAL_CALL emu_glVertexAttribPointerARB(GLuint index, GLint size, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44409,6 +45005,7 @@ static void REGAL_CALL emu_glBindAttribLocationARB(GLhandleARB programObj, GLuin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44434,6 +45031,7 @@ static void REGAL_CALL emu_glBindAttribLocationARB(GLhandleARB programObj, GLuin // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44488,14 +45086,14 @@ static void REGAL_CALL emu_glDepthRangeArrayv(GLuint first, GLsizei count, const // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthRangeArrayv( first, count, v ); } #endif @@ -44518,14 +45116,14 @@ static void REGAL_CALL emu_glDepthRangeIndexed(GLuint index, GLclampd n, GLclamp // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glDepthRangeIndexed( index, n, f ); } #endif @@ -44548,12 +45146,13 @@ static void REGAL_CALL emu_glGetDoublei_v(GLenum target, GLuint index, GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -44574,20 +45173,21 @@ static void REGAL_CALL emu_glGetDoublei_v(GLenum target, GLuint index, GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, v ) ) { _context->dispatcher.emulation.glGetDoublei_v( target, index, v ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -44630,12 +45230,13 @@ static void REGAL_CALL emu_glGetFloati_v(GLenum target, GLuint index, GLfloat *v // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -44656,20 +45257,21 @@ static void REGAL_CALL emu_glGetFloati_v(GLenum target, GLuint index, GLfloat *v // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, v ) ) { _context->dispatcher.emulation.glGetFloati_v( target, index, v ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -44712,14 +45314,14 @@ static void REGAL_CALL emu_glScissorArrayv(GLuint first, GLsizei count, const GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glScissorArrayv( first, count, v ); } #endif @@ -44742,14 +45344,14 @@ static void REGAL_CALL emu_glScissorIndexed(GLuint index, GLint left, GLint bott // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glScissorIndexed( index, left, bottom, width, height ); } #endif @@ -44772,14 +45374,14 @@ static void REGAL_CALL emu_glScissorIndexedv(GLuint index, const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glScissorIndexedv( index, v ); } #endif @@ -44802,14 +45404,14 @@ static void REGAL_CALL emu_glViewportArrayv(GLuint first, GLsizei count, const G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glViewportArrayv( first, count, v ); } #endif @@ -44832,14 +45434,14 @@ static void REGAL_CALL emu_glViewportIndexedf(GLuint index, GLfloat x, GLfloat y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glViewportIndexedf( index, x, y, w, h ); } #endif @@ -44862,14 +45464,14 @@ static void REGAL_CALL emu_glViewportIndexedfv(GLuint index, const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glViewportIndexedfv( index, v ); } #endif @@ -44896,6 +45498,7 @@ static void REGAL_CALL emu_glDrawBuffersATI(GLsizei n, const GLenum *bufs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44921,6 +45524,7 @@ static void REGAL_CALL emu_glDrawBuffersATI(GLsizei n, const GLenum *bufs) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44973,6 +45577,7 @@ static void REGAL_CALL emu_glDrawElementArrayATI(GLenum mode, GLsizei count) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -44982,15 +45587,15 @@ static void REGAL_CALL emu_glDrawElementArrayATI(GLenum mode, GLsizei count) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -45038,6 +45643,7 @@ static void REGAL_CALL emu_glDrawRangeElementArrayATI(GLenum mode, GLuint start, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45047,15 +45653,15 @@ static void REGAL_CALL emu_glDrawRangeElementArrayATI(GLenum mode, GLuint start, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -45105,6 +45711,7 @@ static void REGAL_CALL emu_glBlendColorEXT(GLclampf red, GLclampf green, GLclamp // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45130,6 +45737,7 @@ static void REGAL_CALL emu_glBlendColorEXT(GLclampf red, GLclampf green, GLclamp // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45186,6 +45794,7 @@ static void REGAL_CALL emu_glBlendEquationEXT(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45211,6 +45820,7 @@ static void REGAL_CALL emu_glBlendEquationEXT(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45281,6 +45891,7 @@ static void REGAL_CALL emu_glBindMultiTextureEXT(GLenum texunit, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45290,15 +45901,15 @@ static void REGAL_CALL emu_glBindMultiTextureEXT(GLenum texunit, GLenum target, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowMultiTexBinding( texunit, target, texture ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -45312,6 +45923,7 @@ static void REGAL_CALL emu_glBindMultiTextureEXT(GLenum texunit, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45357,6 +45969,7 @@ static GLenum REGAL_CALL emu_glCheckNamedFramebufferStatusEXT(GLuint framebuffer // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45380,6 +45993,7 @@ static GLenum REGAL_CALL emu_glCheckNamedFramebufferStatusEXT(GLuint framebuffer // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45422,13 +46036,14 @@ static void REGAL_CALL emu_glClientAttribDefaultEXT(GLbitfield mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : @@ -45448,19 +46063,20 @@ static void REGAL_CALL emu_glClientAttribDefaultEXT(GLbitfield mask) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glClientAttribDefaultEXT( *_context, mask ); return; } #endif + case 12 : case 11 : case 10 : case 9 : @@ -45500,6 +46116,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage1DEXT(GLenum texunit, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45523,6 +46140,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage1DEXT(GLenum texunit, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45567,6 +46185,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage2DEXT(GLenum texunit, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45590,6 +46209,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage2DEXT(GLenum texunit, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45634,6 +46254,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage3DEXT(GLenum texunit, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45657,6 +46278,7 @@ static void REGAL_CALL emu_glCompressedMultiTexImage3DEXT(GLenum texunit, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45701,6 +46323,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage1DEXT(GLenum texunit, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45724,6 +46347,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage1DEXT(GLenum texunit, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45768,6 +46392,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage2DEXT(GLenum texunit, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45791,6 +46416,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage2DEXT(GLenum texunit, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45835,6 +46461,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage3DEXT(GLenum texunit, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45858,6 +46485,7 @@ static void REGAL_CALL emu_glCompressedMultiTexSubImage3DEXT(GLenum texunit, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45902,6 +46530,7 @@ static void REGAL_CALL emu_glCompressedTextureImage1DEXT(GLuint texture, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45925,6 +46554,7 @@ static void REGAL_CALL emu_glCompressedTextureImage1DEXT(GLuint texture, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45969,6 +46599,7 @@ static void REGAL_CALL emu_glCompressedTextureImage2DEXT(GLuint texture, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -45992,6 +46623,7 @@ static void REGAL_CALL emu_glCompressedTextureImage2DEXT(GLuint texture, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46036,6 +46668,7 @@ static void REGAL_CALL emu_glCompressedTextureImage3DEXT(GLuint texture, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46059,6 +46692,7 @@ static void REGAL_CALL emu_glCompressedTextureImage3DEXT(GLuint texture, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46103,6 +46737,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage1DEXT(GLuint texture, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46126,6 +46761,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage1DEXT(GLuint texture, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46170,6 +46806,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage2DEXT(GLuint texture, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46193,6 +46830,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage2DEXT(GLuint texture, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46237,6 +46875,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage3DEXT(GLuint texture, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46260,6 +46899,7 @@ static void REGAL_CALL emu_glCompressedTextureSubImage3DEXT(GLuint texture, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46304,6 +46944,7 @@ static void REGAL_CALL emu_glCopyMultiTexImage1DEXT(GLenum texunit, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46327,6 +46968,7 @@ static void REGAL_CALL emu_glCopyMultiTexImage1DEXT(GLenum texunit, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46371,6 +47013,7 @@ static void REGAL_CALL emu_glCopyMultiTexImage2DEXT(GLenum texunit, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46394,6 +47037,7 @@ static void REGAL_CALL emu_glCopyMultiTexImage2DEXT(GLenum texunit, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46438,6 +47082,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage1DEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46461,6 +47106,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage1DEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46505,6 +47151,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage2DEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46528,6 +47175,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage2DEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46572,6 +47220,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage3DEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46595,6 +47244,7 @@ static void REGAL_CALL emu_glCopyMultiTexSubImage3DEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46639,6 +47289,7 @@ static void REGAL_CALL emu_glCopyTextureImage1DEXT(GLuint texture, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46662,6 +47313,7 @@ static void REGAL_CALL emu_glCopyTextureImage1DEXT(GLuint texture, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46706,6 +47358,7 @@ static void REGAL_CALL emu_glCopyTextureImage2DEXT(GLuint texture, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46729,6 +47382,7 @@ static void REGAL_CALL emu_glCopyTextureImage2DEXT(GLuint texture, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46773,6 +47427,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage1DEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46796,6 +47451,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage1DEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46840,6 +47496,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage2DEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46863,6 +47520,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage2DEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46907,6 +47565,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage3DEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46930,6 +47589,7 @@ static void REGAL_CALL emu_glCopyTextureSubImage3DEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -46974,30 +47634,31 @@ static void REGAL_CALL emu_glDisableClientStateIndexedEXT(GLenum array, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableClientStateIndexedEXT( array, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableClientStateIndexedEXT( array, index ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47013,6 +47674,7 @@ static void REGAL_CALL emu_glDisableClientStateIndexedEXT(GLenum array, GLuint i // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47057,30 +47719,31 @@ static void REGAL_CALL emu_glDisableClientStateiEXT(GLenum array, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableClientStateiEXT( array, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableClientStateiEXT( array, index ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47096,6 +47759,7 @@ static void REGAL_CALL emu_glDisableClientStateiEXT(GLenum array, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47140,30 +47804,31 @@ static void REGAL_CALL emu_glDisableVertexArrayAttribEXT(GLuint vaobj, GLenum ar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableVertexArrayAttribEXT( vaobj, array ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableVertexArrayAttribEXT( vaobj, array ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47179,6 +47844,7 @@ static void REGAL_CALL emu_glDisableVertexArrayAttribEXT(GLuint vaobj, GLenum ar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47223,30 +47889,31 @@ static void REGAL_CALL emu_glDisableVertexArrayEXT(GLuint vaobj, GLenum array) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableVertexArrayEXT( vaobj, array ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableVertexArrayEXT( vaobj, array ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47262,6 +47929,7 @@ static void REGAL_CALL emu_glDisableVertexArrayEXT(GLuint vaobj, GLenum array) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47311,30 +47979,31 @@ static void REGAL_CALL emu_glEnableClientStateIndexedEXT(GLenum array, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableClientStateIndexedEXT( array, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableClientStateIndexedEXT( array, index ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47350,6 +48019,7 @@ static void REGAL_CALL emu_glEnableClientStateIndexedEXT(GLenum array, GLuint in // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47394,30 +48064,31 @@ static void REGAL_CALL emu_glEnableClientStateiEXT(GLenum array, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableClientStateiEXT( array, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableClientStateiEXT( array, index ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47433,6 +48104,7 @@ static void REGAL_CALL emu_glEnableClientStateiEXT(GLenum array, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47477,30 +48149,31 @@ static void REGAL_CALL emu_glEnableVertexArrayAttribEXT(GLuint vaobj, GLenum arr // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableVertexArrayAttribEXT( vaobj, array ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableVertexArrayAttribEXT( vaobj, array ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47516,6 +48189,7 @@ static void REGAL_CALL emu_glEnableVertexArrayAttribEXT(GLuint vaobj, GLenum arr // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47560,30 +48234,31 @@ static void REGAL_CALL emu_glEnableVertexArrayEXT(GLuint vaobj, GLenum array) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableVertexArrayEXT( vaobj, array ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableVertexArrayEXT( vaobj, array ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -47599,6 +48274,7 @@ static void REGAL_CALL emu_glEnableVertexArrayEXT(GLuint vaobj, GLenum array) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47648,6 +48324,7 @@ static void REGAL_CALL emu_glFlushMappedNamedBufferRangeEXT(GLuint buffer, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47671,6 +48348,7 @@ static void REGAL_CALL emu_glFlushMappedNamedBufferRangeEXT(GLuint buffer, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47715,6 +48393,7 @@ static void REGAL_CALL emu_glFramebufferDrawBufferEXT(GLuint framebuffer, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47738,6 +48417,7 @@ static void REGAL_CALL emu_glFramebufferDrawBufferEXT(GLuint framebuffer, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47782,6 +48462,7 @@ static void REGAL_CALL emu_glFramebufferDrawBuffersEXT(GLuint framebuffer, GLsiz // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47805,6 +48486,7 @@ static void REGAL_CALL emu_glFramebufferDrawBuffersEXT(GLuint framebuffer, GLsiz // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47849,6 +48531,7 @@ static void REGAL_CALL emu_glFramebufferReadBufferEXT(GLuint framebuffer, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47872,6 +48555,7 @@ static void REGAL_CALL emu_glFramebufferReadBufferEXT(GLuint framebuffer, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47916,6 +48600,7 @@ static void REGAL_CALL emu_glGenerateMultiTexMipmapEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47939,6 +48624,7 @@ static void REGAL_CALL emu_glGenerateMultiTexMipmapEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -47983,6 +48669,7 @@ static void REGAL_CALL emu_glGenerateTextureMipmapEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48006,6 +48693,7 @@ static void REGAL_CALL emu_glGenerateTextureMipmapEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48050,6 +48738,7 @@ static void REGAL_CALL emu_glGetCompressedMultiTexImageEXT(GLenum texunit, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48073,6 +48762,7 @@ static void REGAL_CALL emu_glGetCompressedMultiTexImageEXT(GLenum texunit, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48117,6 +48807,7 @@ static void REGAL_CALL emu_glGetCompressedTextureImageEXT(GLuint texture, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48140,6 +48831,7 @@ static void REGAL_CALL emu_glGetCompressedTextureImageEXT(GLuint texture, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48184,6 +48876,7 @@ static void REGAL_CALL emu_glGetDoubleIndexedvEXT(GLenum target, GLuint index, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48207,6 +48900,7 @@ static void REGAL_CALL emu_glGetDoubleIndexedvEXT(GLenum target, GLuint index, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48252,12 +48946,13 @@ static void REGAL_CALL emu_glGetDoublei_vEXT(GLenum target, GLuint index, GLdoub // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -48278,20 +48973,21 @@ static void REGAL_CALL emu_glGetDoublei_vEXT(GLenum target, GLuint index, GLdoub // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, data ) ) { _context->dispatcher.emulation.glGetDoublei_vEXT( target, index, data ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -48334,6 +49030,7 @@ static void REGAL_CALL emu_glGetFloatIndexedvEXT(GLenum target, GLuint index, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48357,6 +49054,7 @@ static void REGAL_CALL emu_glGetFloatIndexedvEXT(GLenum target, GLuint index, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48402,12 +49100,13 @@ static void REGAL_CALL emu_glGetFloati_vEXT(GLenum target, GLuint index, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -48428,20 +49127,21 @@ static void REGAL_CALL emu_glGetFloati_vEXT(GLenum target, GLuint index, GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, data ) ) { _context->dispatcher.emulation.glGetFloati_vEXT( target, index, data ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -48484,6 +49184,7 @@ static void REGAL_CALL emu_glGetFramebufferParameterivEXT(GLuint framebuffer, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48507,6 +49208,7 @@ static void REGAL_CALL emu_glGetFramebufferParameterivEXT(GLuint framebuffer, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48551,12 +49253,13 @@ static void REGAL_CALL emu_glGetMultiTexEnvfvEXT(GLenum texunit, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -48577,20 +49280,21 @@ static void REGAL_CALL emu_glGetMultiTexEnvfvEXT(GLenum texunit, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetMultiTexEnvv( _context, texunit, target, pname, params ) ) { _context->dispatcher.emulation.glGetMultiTexEnvfvEXT( texunit, target, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -48632,12 +49336,13 @@ static void REGAL_CALL emu_glGetMultiTexEnvivEXT(GLenum texunit, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif + case 13 : case 12 : case 11 : case 10 : @@ -48658,20 +49363,21 @@ static void REGAL_CALL emu_glGetMultiTexEnvivEXT(GLenum texunit, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetMultiTexEnvv( _context, texunit, target, pname, params ) ) { _context->dispatcher.emulation.glGetMultiTexEnvivEXT( texunit, target, pname, params ); } return; } #endif + case 13 : case 12 : case 11 : case 10 : @@ -48713,6 +49419,7 @@ static void REGAL_CALL emu_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48722,10 +49429,10 @@ static void REGAL_CALL emu_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48739,6 +49446,7 @@ static void REGAL_CALL emu_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48748,12 +49456,11 @@ static void REGAL_CALL emu_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetMultiTexGenv( _context, texunit, coord, pname, params ) ) { _context->dispatcher.emulation.glGetMultiTexGendvEXT( texunit, coord, pname, params ); @@ -48761,6 +49468,7 @@ static void REGAL_CALL emu_glGetMultiTexGendvEXT(GLenum texunit, GLenum coord, G return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48795,6 +49503,7 @@ static void REGAL_CALL emu_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48804,10 +49513,10 @@ static void REGAL_CALL emu_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48821,6 +49530,7 @@ static void REGAL_CALL emu_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48830,12 +49540,11 @@ static void REGAL_CALL emu_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetMultiTexGenv( _context, texunit, coord, pname, params ) ) { _context->dispatcher.emulation.glGetMultiTexGenfvEXT( texunit, coord, pname, params ); @@ -48843,6 +49552,7 @@ static void REGAL_CALL emu_glGetMultiTexGenfvEXT(GLenum texunit, GLenum coord, G return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48877,6 +49587,7 @@ static void REGAL_CALL emu_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48886,10 +49597,10 @@ static void REGAL_CALL emu_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48903,6 +49614,7 @@ static void REGAL_CALL emu_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48912,12 +49624,11 @@ static void REGAL_CALL emu_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->RestoreVao( _context ); if ( ! _context->iff->GetMultiTexGenv( _context, texunit, coord, pname, params ) ) { _context->dispatcher.emulation.glGetMultiTexGenivEXT( texunit, coord, pname, params ); @@ -48925,6 +49636,7 @@ static void REGAL_CALL emu_glGetMultiTexGenivEXT(GLenum texunit, GLenum coord, G return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -48959,6 +49671,7 @@ static void REGAL_CALL emu_glGetMultiTexImageEXT(GLenum texunit, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -48982,6 +49695,7 @@ static void REGAL_CALL emu_glGetMultiTexImageEXT(GLenum texunit, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49026,6 +49740,7 @@ static void REGAL_CALL emu_glGetMultiTexLevelParameterfvEXT(GLenum texunit, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49049,6 +49764,7 @@ static void REGAL_CALL emu_glGetMultiTexLevelParameterfvEXT(GLenum texunit, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49093,6 +49809,7 @@ static void REGAL_CALL emu_glGetMultiTexLevelParameterivEXT(GLenum texunit, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49116,6 +49833,7 @@ static void REGAL_CALL emu_glGetMultiTexLevelParameterivEXT(GLenum texunit, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49160,6 +49878,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterIivEXT(GLenum texunit, GLenum t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49183,6 +49902,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterIivEXT(GLenum texunit, GLenum t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49227,6 +49947,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterIuivEXT(GLenum texunit, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49250,6 +49971,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterIuivEXT(GLenum texunit, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49294,6 +50016,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterfvEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49317,6 +50040,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterfvEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49361,6 +50085,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterivEXT(GLenum texunit, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49384,6 +50109,7 @@ static void REGAL_CALL emu_glGetMultiTexParameterivEXT(GLenum texunit, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49428,6 +50154,7 @@ static void REGAL_CALL emu_glGetNamedBufferParameterivEXT(GLuint buffer, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49451,6 +50178,7 @@ static void REGAL_CALL emu_glGetNamedBufferParameterivEXT(GLuint buffer, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49495,6 +50223,7 @@ static void REGAL_CALL emu_glGetNamedBufferPointervEXT(GLuint buffer, GLenum pna // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49518,6 +50247,7 @@ static void REGAL_CALL emu_glGetNamedBufferPointervEXT(GLuint buffer, GLenum pna // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49562,6 +50292,7 @@ static void REGAL_CALL emu_glGetNamedBufferSubDataEXT(GLuint buffer, GLintptr of // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49585,6 +50316,7 @@ static void REGAL_CALL emu_glGetNamedBufferSubDataEXT(GLuint buffer, GLintptr of // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49629,6 +50361,7 @@ static void REGAL_CALL emu_glGetNamedFramebufferAttachmentParameterivEXT(GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49652,6 +50385,7 @@ static void REGAL_CALL emu_glGetNamedFramebufferAttachmentParameterivEXT(GLuint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49696,6 +50430,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterIivEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49719,6 +50454,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterIivEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49763,6 +50499,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterIuivEXT(GLuint program // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49786,6 +50523,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterIuivEXT(GLuint program // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49830,6 +50568,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterdvEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49853,6 +50592,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterdvEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49897,6 +50637,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterfvEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49920,6 +50661,7 @@ static void REGAL_CALL emu_glGetNamedProgramLocalParameterfvEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49964,6 +50706,7 @@ static void REGAL_CALL emu_glGetNamedProgramStringEXT(GLuint program, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -49987,6 +50730,7 @@ static void REGAL_CALL emu_glGetNamedProgramStringEXT(GLuint program, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50031,6 +50775,7 @@ static void REGAL_CALL emu_glGetNamedProgramivEXT(GLuint program, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50054,6 +50799,7 @@ static void REGAL_CALL emu_glGetNamedProgramivEXT(GLuint program, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50098,6 +50844,7 @@ static void REGAL_CALL emu_glGetNamedRenderbufferParameterivEXT(GLuint renderbuf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50121,6 +50868,7 @@ static void REGAL_CALL emu_glGetNamedRenderbufferParameterivEXT(GLuint renderbuf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50165,6 +50913,7 @@ static void REGAL_CALL emu_glGetPointerIndexedvEXT(GLenum target, GLuint index, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50188,6 +50937,7 @@ static void REGAL_CALL emu_glGetPointerIndexedvEXT(GLenum target, GLuint index, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50233,6 +50983,7 @@ static void REGAL_CALL emu_glGetTextureImageEXT(GLuint texture, GLenum target, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50256,6 +51007,7 @@ static void REGAL_CALL emu_glGetTextureImageEXT(GLuint texture, GLenum target, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50300,6 +51052,7 @@ static void REGAL_CALL emu_glGetTextureLevelParameterfvEXT(GLuint texture, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50323,6 +51076,7 @@ static void REGAL_CALL emu_glGetTextureLevelParameterfvEXT(GLuint texture, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50367,6 +51121,7 @@ static void REGAL_CALL emu_glGetTextureLevelParameterivEXT(GLuint texture, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50390,6 +51145,7 @@ static void REGAL_CALL emu_glGetTextureLevelParameterivEXT(GLuint texture, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50434,6 +51190,7 @@ static void REGAL_CALL emu_glGetTextureParameterIivEXT(GLuint texture, GLenum ta // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50457,6 +51214,7 @@ static void REGAL_CALL emu_glGetTextureParameterIivEXT(GLuint texture, GLenum ta // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50501,6 +51259,7 @@ static void REGAL_CALL emu_glGetTextureParameterIuivEXT(GLuint texture, GLenum t // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50524,6 +51283,7 @@ static void REGAL_CALL emu_glGetTextureParameterIuivEXT(GLuint texture, GLenum t // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50568,6 +51328,7 @@ static void REGAL_CALL emu_glGetTextureParameterfvEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50591,6 +51352,7 @@ static void REGAL_CALL emu_glGetTextureParameterfvEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50635,6 +51397,7 @@ static void REGAL_CALL emu_glGetTextureParameterivEXT(GLuint texture, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50658,6 +51421,7 @@ static void REGAL_CALL emu_glGetTextureParameterivEXT(GLuint texture, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50702,6 +51466,7 @@ static GLvoid *REGAL_CALL emu_glMapNamedBufferEXT(GLuint buffer, GLenum access) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50725,6 +51490,7 @@ static GLvoid *REGAL_CALL emu_glMapNamedBufferEXT(GLuint buffer, GLenum access) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50767,6 +51533,7 @@ static GLvoid *REGAL_CALL emu_glMapNamedBufferRangeEXT(GLuint buffer, GLintptr o // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50790,6 +51557,7 @@ static GLvoid *REGAL_CALL emu_glMapNamedBufferRangeEXT(GLuint buffer, GLintptr o // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50832,6 +51600,7 @@ static void REGAL_CALL emu_glMatrixFrustumEXT(GLenum mode, GLdouble left, GLdoub // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50841,10 +51610,10 @@ static void REGAL_CALL emu_glMatrixFrustumEXT(GLenum mode, GLdouble left, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -50858,6 +51627,7 @@ static void REGAL_CALL emu_glMatrixFrustumEXT(GLenum mode, GLdouble left, GLdoub // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50867,16 +51637,16 @@ static void REGAL_CALL emu_glMatrixFrustumEXT(GLenum mode, GLdouble left, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixFrustum( mode, left, right, bottom, top, zNear, zFar ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -50911,6 +51681,7 @@ static void REGAL_CALL emu_glMatrixLoadIdentityEXT(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50920,10 +51691,10 @@ static void REGAL_CALL emu_glMatrixLoadIdentityEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -50937,6 +51708,7 @@ static void REGAL_CALL emu_glMatrixLoadIdentityEXT(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50946,16 +51718,16 @@ static void REGAL_CALL emu_glMatrixLoadIdentityEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixLoadIdentity( mode ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -50990,6 +51762,7 @@ static void REGAL_CALL emu_glMatrixLoadTransposedEXT(GLenum mode, const GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -50999,10 +51772,10 @@ static void REGAL_CALL emu_glMatrixLoadTransposedEXT(GLenum mode, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51016,6 +51789,7 @@ static void REGAL_CALL emu_glMatrixLoadTransposedEXT(GLenum mode, const GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51025,16 +51799,16 @@ static void REGAL_CALL emu_glMatrixLoadTransposedEXT(GLenum mode, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixLoadTranspose( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51069,6 +51843,7 @@ static void REGAL_CALL emu_glMatrixLoadTransposefEXT(GLenum mode, const GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51078,10 +51853,10 @@ static void REGAL_CALL emu_glMatrixLoadTransposefEXT(GLenum mode, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51095,6 +51870,7 @@ static void REGAL_CALL emu_glMatrixLoadTransposefEXT(GLenum mode, const GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51104,16 +51880,16 @@ static void REGAL_CALL emu_glMatrixLoadTransposefEXT(GLenum mode, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixLoadTranspose( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51148,6 +51924,7 @@ static void REGAL_CALL emu_glMatrixLoaddEXT(GLenum mode, const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51157,10 +51934,10 @@ static void REGAL_CALL emu_glMatrixLoaddEXT(GLenum mode, const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51174,6 +51951,7 @@ static void REGAL_CALL emu_glMatrixLoaddEXT(GLenum mode, const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51183,16 +51961,16 @@ static void REGAL_CALL emu_glMatrixLoaddEXT(GLenum mode, const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixLoad( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51227,6 +52005,7 @@ static void REGAL_CALL emu_glMatrixLoadfEXT(GLenum mode, const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51236,10 +52015,10 @@ static void REGAL_CALL emu_glMatrixLoadfEXT(GLenum mode, const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51253,6 +52032,7 @@ static void REGAL_CALL emu_glMatrixLoadfEXT(GLenum mode, const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51262,16 +52042,16 @@ static void REGAL_CALL emu_glMatrixLoadfEXT(GLenum mode, const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixLoad( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51306,6 +52086,7 @@ static void REGAL_CALL emu_glMatrixMultTransposedEXT(GLenum mode, const GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51315,10 +52096,10 @@ static void REGAL_CALL emu_glMatrixMultTransposedEXT(GLenum mode, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51332,6 +52113,7 @@ static void REGAL_CALL emu_glMatrixMultTransposedEXT(GLenum mode, const GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51341,16 +52123,16 @@ static void REGAL_CALL emu_glMatrixMultTransposedEXT(GLenum mode, const GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixMultTranspose( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51385,6 +52167,7 @@ static void REGAL_CALL emu_glMatrixMultTransposefEXT(GLenum mode, const GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51394,10 +52177,10 @@ static void REGAL_CALL emu_glMatrixMultTransposefEXT(GLenum mode, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51411,6 +52194,7 @@ static void REGAL_CALL emu_glMatrixMultTransposefEXT(GLenum mode, const GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51420,16 +52204,16 @@ static void REGAL_CALL emu_glMatrixMultTransposefEXT(GLenum mode, const GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixMultTranspose( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51464,6 +52248,7 @@ static void REGAL_CALL emu_glMatrixMultdEXT(GLenum mode, const GLdouble *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51473,10 +52258,10 @@ static void REGAL_CALL emu_glMatrixMultdEXT(GLenum mode, const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51490,6 +52275,7 @@ static void REGAL_CALL emu_glMatrixMultdEXT(GLenum mode, const GLdouble *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51499,16 +52285,16 @@ static void REGAL_CALL emu_glMatrixMultdEXT(GLenum mode, const GLdouble *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixMult( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51543,6 +52329,7 @@ static void REGAL_CALL emu_glMatrixMultfEXT(GLenum mode, const GLfloat *m) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51552,10 +52339,10 @@ static void REGAL_CALL emu_glMatrixMultfEXT(GLenum mode, const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51569,6 +52356,7 @@ static void REGAL_CALL emu_glMatrixMultfEXT(GLenum mode, const GLfloat *m) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51578,16 +52366,16 @@ static void REGAL_CALL emu_glMatrixMultfEXT(GLenum mode, const GLfloat *m) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixMult( mode, m ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51622,6 +52410,7 @@ static void REGAL_CALL emu_glMatrixOrthoEXT(GLenum mode, GLdouble left, GLdouble // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51631,10 +52420,10 @@ static void REGAL_CALL emu_glMatrixOrthoEXT(GLenum mode, GLdouble left, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51648,6 +52437,7 @@ static void REGAL_CALL emu_glMatrixOrthoEXT(GLenum mode, GLdouble left, GLdouble // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51657,16 +52447,16 @@ static void REGAL_CALL emu_glMatrixOrthoEXT(GLenum mode, GLdouble left, GLdouble case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixOrtho( mode, left, right, bottom, top, zNear, zFar ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51701,6 +52491,7 @@ static void REGAL_CALL emu_glMatrixPopEXT(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51710,10 +52501,10 @@ static void REGAL_CALL emu_glMatrixPopEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51727,6 +52518,7 @@ static void REGAL_CALL emu_glMatrixPopEXT(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51736,16 +52528,16 @@ static void REGAL_CALL emu_glMatrixPopEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixPop( mode ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51780,6 +52572,7 @@ static void REGAL_CALL emu_glMatrixPushEXT(GLenum mode) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51789,10 +52582,10 @@ static void REGAL_CALL emu_glMatrixPushEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51806,6 +52599,7 @@ static void REGAL_CALL emu_glMatrixPushEXT(GLenum mode) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51815,16 +52609,16 @@ static void REGAL_CALL emu_glMatrixPushEXT(GLenum mode) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixPush( mode ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51859,6 +52653,7 @@ static void REGAL_CALL emu_glMatrixRotatedEXT(GLenum mode, GLdouble angle, GLdou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51868,10 +52663,10 @@ static void REGAL_CALL emu_glMatrixRotatedEXT(GLenum mode, GLdouble angle, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51885,6 +52680,7 @@ static void REGAL_CALL emu_glMatrixRotatedEXT(GLenum mode, GLdouble angle, GLdou // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51894,16 +52690,16 @@ static void REGAL_CALL emu_glMatrixRotatedEXT(GLenum mode, GLdouble angle, GLdou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixRotate( mode, angle, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51938,6 +52734,7 @@ static void REGAL_CALL emu_glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloa // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51947,10 +52744,10 @@ static void REGAL_CALL emu_glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -51964,6 +52761,7 @@ static void REGAL_CALL emu_glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloa // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -51973,16 +52771,16 @@ static void REGAL_CALL emu_glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloa case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixRotate( mode, angle, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52017,6 +52815,7 @@ static void REGAL_CALL emu_glMatrixScaledEXT(GLenum mode, GLdouble x, GLdouble y // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52026,10 +52825,10 @@ static void REGAL_CALL emu_glMatrixScaledEXT(GLenum mode, GLdouble x, GLdouble y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52043,6 +52842,7 @@ static void REGAL_CALL emu_glMatrixScaledEXT(GLenum mode, GLdouble x, GLdouble y // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52052,16 +52852,16 @@ static void REGAL_CALL emu_glMatrixScaledEXT(GLenum mode, GLdouble x, GLdouble y case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixScale( mode, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52096,6 +52896,7 @@ static void REGAL_CALL emu_glMatrixScalefEXT(GLenum mode, GLfloat x, GLfloat y, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52105,10 +52906,10 @@ static void REGAL_CALL emu_glMatrixScalefEXT(GLenum mode, GLfloat x, GLfloat y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52122,6 +52923,7 @@ static void REGAL_CALL emu_glMatrixScalefEXT(GLenum mode, GLfloat x, GLfloat y, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52131,16 +52933,16 @@ static void REGAL_CALL emu_glMatrixScalefEXT(GLenum mode, GLfloat x, GLfloat y, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixScale( mode, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52175,6 +52977,7 @@ static void REGAL_CALL emu_glMatrixTranslatedEXT(GLenum mode, GLdouble x, GLdoub // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52184,10 +52987,10 @@ static void REGAL_CALL emu_glMatrixTranslatedEXT(GLenum mode, GLdouble x, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52201,6 +53004,7 @@ static void REGAL_CALL emu_glMatrixTranslatedEXT(GLenum mode, GLdouble x, GLdoub // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52210,16 +53014,16 @@ static void REGAL_CALL emu_glMatrixTranslatedEXT(GLenum mode, GLdouble x, GLdoub case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixTranslate( mode, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52254,6 +53058,7 @@ static void REGAL_CALL emu_glMatrixTranslatefEXT(GLenum mode, GLfloat x, GLfloat // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52263,10 +53068,10 @@ static void REGAL_CALL emu_glMatrixTranslatefEXT(GLenum mode, GLfloat x, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52280,6 +53085,7 @@ static void REGAL_CALL emu_glMatrixTranslatefEXT(GLenum mode, GLfloat x, GLfloat // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52289,16 +53095,16 @@ static void REGAL_CALL emu_glMatrixTranslatefEXT(GLenum mode, GLfloat x, GLfloat case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->MatrixTranslate( mode, x, y, z ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52333,6 +53139,7 @@ static void REGAL_CALL emu_glMultiTexBufferEXT(GLenum texunit, GLenum target, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52356,6 +53163,7 @@ static void REGAL_CALL emu_glMultiTexBufferEXT(GLenum texunit, GLenum target, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52400,30 +53208,31 @@ static void REGAL_CALL emu_glMultiTexCoordPointerEXT(GLenum texunit, GLint size, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glMultiTexCoordPointerEXT( texunit, size, type, stride, pointer ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glMultiTexCoordPointerEXT( texunit, size, type, stride, pointer ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -52439,6 +53248,7 @@ static void REGAL_CALL emu_glMultiTexCoordPointerEXT(GLenum texunit, GLint size, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52483,27 +53293,28 @@ static void REGAL_CALL emu_glMultiTexEnvfEXT(GLenum texunit, GLenum target, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMultiTexEnv( texunit, target, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52517,6 +53328,7 @@ static void REGAL_CALL emu_glMultiTexEnvfEXT(GLenum texunit, GLenum target, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52526,16 +53338,16 @@ static void REGAL_CALL emu_glMultiTexEnvfEXT(GLenum texunit, GLenum target, GLen case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( texunit, target, pname, param ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52570,27 +53382,28 @@ static void REGAL_CALL emu_glMultiTexEnvfvEXT(GLenum texunit, GLenum target, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMultiTexEnvv( texunit, target, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52604,6 +53417,7 @@ static void REGAL_CALL emu_glMultiTexEnvfvEXT(GLenum texunit, GLenum target, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52613,16 +53427,16 @@ static void REGAL_CALL emu_glMultiTexEnvfvEXT(GLenum texunit, GLenum target, GLe case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( texunit, target, pname, params ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52657,27 +53471,28 @@ static void REGAL_CALL emu_glMultiTexEnviEXT(GLenum texunit, GLenum target, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMultiTexEnv( texunit, target, pname, param ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52691,6 +53506,7 @@ static void REGAL_CALL emu_glMultiTexEnviEXT(GLenum texunit, GLenum target, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52700,16 +53516,16 @@ static void REGAL_CALL emu_glMultiTexEnviEXT(GLenum texunit, GLenum target, GLen case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( texunit, target, pname, param ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52744,27 +53560,28 @@ static void REGAL_CALL emu_glMultiTexEnvivEXT(GLenum texunit, GLenum target, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; _context->ppa->glMultiTexEnvv( texunit, target, pname, params ); } #endif + case 13 : case 12 : case 11 : case 10 : case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52778,6 +53595,7 @@ static void REGAL_CALL emu_glMultiTexEnvivEXT(GLenum texunit, GLenum target, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52787,16 +53605,16 @@ static void REGAL_CALL emu_glMultiTexEnvivEXT(GLenum texunit, GLenum target, GLe case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexEnv( texunit, target, pname, params ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -52831,6 +53649,7 @@ static void REGAL_CALL emu_glMultiTexGendEXT(GLenum texunit, GLenum coord, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52854,6 +53673,7 @@ static void REGAL_CALL emu_glMultiTexGendEXT(GLenum texunit, GLenum coord, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52898,6 +53718,7 @@ static void REGAL_CALL emu_glMultiTexGendvEXT(GLenum texunit, GLenum coord, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52921,6 +53742,7 @@ static void REGAL_CALL emu_glMultiTexGendvEXT(GLenum texunit, GLenum coord, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52965,6 +53787,7 @@ static void REGAL_CALL emu_glMultiTexGenfEXT(GLenum texunit, GLenum coord, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -52988,6 +53811,7 @@ static void REGAL_CALL emu_glMultiTexGenfEXT(GLenum texunit, GLenum coord, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53032,6 +53856,7 @@ static void REGAL_CALL emu_glMultiTexGenfvEXT(GLenum texunit, GLenum coord, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53055,6 +53880,7 @@ static void REGAL_CALL emu_glMultiTexGenfvEXT(GLenum texunit, GLenum coord, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53099,6 +53925,7 @@ static void REGAL_CALL emu_glMultiTexGeniEXT(GLenum texunit, GLenum coord, GLenu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53122,6 +53949,7 @@ static void REGAL_CALL emu_glMultiTexGeniEXT(GLenum texunit, GLenum coord, GLenu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53166,6 +53994,7 @@ static void REGAL_CALL emu_glMultiTexGenivEXT(GLenum texunit, GLenum coord, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53189,6 +54018,7 @@ static void REGAL_CALL emu_glMultiTexGenivEXT(GLenum texunit, GLenum coord, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53233,6 +54063,7 @@ static void REGAL_CALL emu_glMultiTexImage1DEXT(GLenum texunit, GLenum target, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53242,15 +54073,15 @@ static void REGAL_CALL emu_glMultiTexImage1DEXT(GLenum texunit, GLenum target, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowMultiTexInfo( texunit, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -53264,6 +54095,7 @@ static void REGAL_CALL emu_glMultiTexImage1DEXT(GLenum texunit, GLenum target, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53308,6 +54140,7 @@ static void REGAL_CALL emu_glMultiTexImage2DEXT(GLenum texunit, GLenum target, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53317,15 +54150,15 @@ static void REGAL_CALL emu_glMultiTexImage2DEXT(GLenum texunit, GLenum target, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowMultiTexInfo( texunit, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -53339,6 +54172,7 @@ static void REGAL_CALL emu_glMultiTexImage2DEXT(GLenum texunit, GLenum target, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53383,6 +54217,7 @@ static void REGAL_CALL emu_glMultiTexImage3DEXT(GLenum texunit, GLenum target, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53392,15 +54227,15 @@ static void REGAL_CALL emu_glMultiTexImage3DEXT(GLenum texunit, GLenum target, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowMultiTexInfo( texunit, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -53414,6 +54249,7 @@ static void REGAL_CALL emu_glMultiTexImage3DEXT(GLenum texunit, GLenum target, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53458,6 +54294,7 @@ static void REGAL_CALL emu_glMultiTexParameterIivEXT(GLenum texunit, GLenum targ // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53481,6 +54318,7 @@ static void REGAL_CALL emu_glMultiTexParameterIivEXT(GLenum texunit, GLenum targ // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53525,6 +54363,7 @@ static void REGAL_CALL emu_glMultiTexParameterIuivEXT(GLenum texunit, GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53548,6 +54387,7 @@ static void REGAL_CALL emu_glMultiTexParameterIuivEXT(GLenum texunit, GLenum tar // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53592,6 +54432,7 @@ static void REGAL_CALL emu_glMultiTexParameterfEXT(GLenum texunit, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53615,6 +54456,7 @@ static void REGAL_CALL emu_glMultiTexParameterfEXT(GLenum texunit, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53659,6 +54501,7 @@ static void REGAL_CALL emu_glMultiTexParameterfvEXT(GLenum texunit, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53682,6 +54525,7 @@ static void REGAL_CALL emu_glMultiTexParameterfvEXT(GLenum texunit, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53726,6 +54570,7 @@ static void REGAL_CALL emu_glMultiTexParameteriEXT(GLenum texunit, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53749,6 +54594,7 @@ static void REGAL_CALL emu_glMultiTexParameteriEXT(GLenum texunit, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53793,6 +54639,7 @@ static void REGAL_CALL emu_glMultiTexParameterivEXT(GLenum texunit, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53816,6 +54663,7 @@ static void REGAL_CALL emu_glMultiTexParameterivEXT(GLenum texunit, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53860,6 +54708,7 @@ static void REGAL_CALL emu_glMultiTexRenderbufferEXT(GLenum texunit, GLenum targ // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53883,6 +54732,7 @@ static void REGAL_CALL emu_glMultiTexRenderbufferEXT(GLenum texunit, GLenum targ // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53927,6 +54777,7 @@ static void REGAL_CALL emu_glMultiTexSubImage1DEXT(GLenum texunit, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53950,6 +54801,7 @@ static void REGAL_CALL emu_glMultiTexSubImage1DEXT(GLenum texunit, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -53994,6 +54846,7 @@ static void REGAL_CALL emu_glMultiTexSubImage2DEXT(GLenum texunit, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54017,6 +54870,7 @@ static void REGAL_CALL emu_glMultiTexSubImage2DEXT(GLenum texunit, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54061,6 +54915,7 @@ static void REGAL_CALL emu_glMultiTexSubImage3DEXT(GLenum texunit, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54084,6 +54939,7 @@ static void REGAL_CALL emu_glMultiTexSubImage3DEXT(GLenum texunit, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54128,6 +54984,7 @@ static void REGAL_CALL emu_glNamedBufferDataEXT(GLuint buffer, GLsizeiptr size, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54151,6 +55008,7 @@ static void REGAL_CALL emu_glNamedBufferDataEXT(GLuint buffer, GLsizeiptr size, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54195,6 +55053,7 @@ static void REGAL_CALL emu_glNamedBufferSubDataEXT(GLuint buffer, GLintptr offse // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54218,6 +55077,7 @@ static void REGAL_CALL emu_glNamedBufferSubDataEXT(GLuint buffer, GLintptr offse // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54262,6 +55122,7 @@ static void REGAL_CALL emu_glNamedCopyBufferSubDataEXT(GLuint readBuffer, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54285,6 +55146,7 @@ static void REGAL_CALL emu_glNamedCopyBufferSubDataEXT(GLuint readBuffer, GLuint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54329,6 +55191,7 @@ static void REGAL_CALL emu_glNamedFramebufferRenderbufferEXT(GLuint framebuffer, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54352,6 +55215,7 @@ static void REGAL_CALL emu_glNamedFramebufferRenderbufferEXT(GLuint framebuffer, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54396,6 +55260,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture1DEXT(GLuint framebuffer, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54419,6 +55284,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture1DEXT(GLuint framebuffer, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54463,6 +55329,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture2DEXT(GLuint framebuffer, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54486,6 +55353,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture2DEXT(GLuint framebuffer, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54530,6 +55398,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture3DEXT(GLuint framebuffer, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54553,6 +55422,7 @@ static void REGAL_CALL emu_glNamedFramebufferTexture3DEXT(GLuint framebuffer, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54597,6 +55467,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureEXT(GLuint framebuffer, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54620,6 +55491,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureEXT(GLuint framebuffer, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54664,6 +55536,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureFaceEXT(GLuint framebuffer, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54687,6 +55560,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureFaceEXT(GLuint framebuffer, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54731,6 +55605,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureLayerEXT(GLuint framebuffer, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54754,6 +55629,7 @@ static void REGAL_CALL emu_glNamedFramebufferTextureLayerEXT(GLuint framebuffer, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54798,6 +55674,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4dEXT(GLuint program, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54821,6 +55698,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4dEXT(GLuint program, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54865,6 +55743,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4dvEXT(GLuint program, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54888,6 +55767,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4dvEXT(GLuint program, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54932,6 +55812,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4fEXT(GLuint program, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54955,6 +55836,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4fEXT(GLuint program, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -54999,6 +55881,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4fvEXT(GLuint program, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55022,6 +55905,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameter4fvEXT(GLuint program, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55066,6 +55950,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4iEXT(GLuint program, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55089,6 +55974,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4iEXT(GLuint program, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55133,6 +56019,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4ivEXT(GLuint program, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55156,6 +56043,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4ivEXT(GLuint program, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55200,6 +56088,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4uiEXT(GLuint program, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55223,6 +56112,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4uiEXT(GLuint program, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55267,6 +56157,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4uivEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55290,6 +56181,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameterI4uivEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55334,6 +56226,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameters4fvEXT(GLuint program, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55357,6 +56250,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParameters4fvEXT(GLuint program, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55401,6 +56295,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParametersI4ivEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55424,6 +56319,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParametersI4ivEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55468,6 +56364,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParametersI4uivEXT(GLuint program, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55491,6 +56388,7 @@ static void REGAL_CALL emu_glNamedProgramLocalParametersI4uivEXT(GLuint program, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55535,6 +56433,7 @@ static void REGAL_CALL emu_glNamedProgramStringEXT(GLuint program, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55558,6 +56457,7 @@ static void REGAL_CALL emu_glNamedProgramStringEXT(GLuint program, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55602,6 +56502,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageEXT(GLuint renderbuffer, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55625,6 +56526,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageEXT(GLuint renderbuffer, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55669,6 +56571,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageMultisampleCoverageEXT(GLui // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55692,6 +56595,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageMultisampleCoverageEXT(GLui // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55736,6 +56640,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageMultisampleEXT(GLuint rende // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55759,6 +56664,7 @@ static void REGAL_CALL emu_glNamedRenderbufferStorageMultisampleEXT(GLuint rende // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55803,6 +56709,7 @@ static void REGAL_CALL emu_glProgramUniform1dEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55826,6 +56733,7 @@ static void REGAL_CALL emu_glProgramUniform1dEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55870,6 +56778,7 @@ static void REGAL_CALL emu_glProgramUniform1dvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55893,6 +56802,7 @@ static void REGAL_CALL emu_glProgramUniform1dvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55937,6 +56847,7 @@ static void REGAL_CALL emu_glProgramUniform1fEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -55960,6 +56871,7 @@ static void REGAL_CALL emu_glProgramUniform1fEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56004,6 +56916,7 @@ static void REGAL_CALL emu_glProgramUniform1fvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56027,6 +56940,7 @@ static void REGAL_CALL emu_glProgramUniform1fvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56071,6 +56985,7 @@ static void REGAL_CALL emu_glProgramUniform1iEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56094,6 +57009,7 @@ static void REGAL_CALL emu_glProgramUniform1iEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56138,6 +57054,7 @@ static void REGAL_CALL emu_glProgramUniform1ivEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56161,6 +57078,7 @@ static void REGAL_CALL emu_glProgramUniform1ivEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56205,6 +57123,7 @@ static void REGAL_CALL emu_glProgramUniform1uiEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56228,6 +57147,7 @@ static void REGAL_CALL emu_glProgramUniform1uiEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56272,6 +57192,7 @@ static void REGAL_CALL emu_glProgramUniform1uivEXT(GLuint program, GLint locatio // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56295,6 +57216,7 @@ static void REGAL_CALL emu_glProgramUniform1uivEXT(GLuint program, GLint locatio // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56339,6 +57261,7 @@ static void REGAL_CALL emu_glProgramUniform2dEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56362,6 +57285,7 @@ static void REGAL_CALL emu_glProgramUniform2dEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56406,6 +57330,7 @@ static void REGAL_CALL emu_glProgramUniform2dvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56429,6 +57354,7 @@ static void REGAL_CALL emu_glProgramUniform2dvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56473,6 +57399,7 @@ static void REGAL_CALL emu_glProgramUniform2fEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56496,6 +57423,7 @@ static void REGAL_CALL emu_glProgramUniform2fEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56540,6 +57468,7 @@ static void REGAL_CALL emu_glProgramUniform2fvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56563,6 +57492,7 @@ static void REGAL_CALL emu_glProgramUniform2fvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56607,6 +57537,7 @@ static void REGAL_CALL emu_glProgramUniform2iEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56630,6 +57561,7 @@ static void REGAL_CALL emu_glProgramUniform2iEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56674,6 +57606,7 @@ static void REGAL_CALL emu_glProgramUniform2ivEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56697,6 +57630,7 @@ static void REGAL_CALL emu_glProgramUniform2ivEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56741,6 +57675,7 @@ static void REGAL_CALL emu_glProgramUniform2uiEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56764,6 +57699,7 @@ static void REGAL_CALL emu_glProgramUniform2uiEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56808,6 +57744,7 @@ static void REGAL_CALL emu_glProgramUniform2uivEXT(GLuint program, GLint locatio // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56831,6 +57768,7 @@ static void REGAL_CALL emu_glProgramUniform2uivEXT(GLuint program, GLint locatio // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56875,6 +57813,7 @@ static void REGAL_CALL emu_glProgramUniform3dEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56898,6 +57837,7 @@ static void REGAL_CALL emu_glProgramUniform3dEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56942,6 +57882,7 @@ static void REGAL_CALL emu_glProgramUniform3dvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -56965,6 +57906,7 @@ static void REGAL_CALL emu_glProgramUniform3dvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57009,6 +57951,7 @@ static void REGAL_CALL emu_glProgramUniform3fEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57032,6 +57975,7 @@ static void REGAL_CALL emu_glProgramUniform3fEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57076,6 +58020,7 @@ static void REGAL_CALL emu_glProgramUniform3fvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57099,6 +58044,7 @@ static void REGAL_CALL emu_glProgramUniform3fvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57143,6 +58089,7 @@ static void REGAL_CALL emu_glProgramUniform3iEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57166,6 +58113,7 @@ static void REGAL_CALL emu_glProgramUniform3iEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57210,6 +58158,7 @@ static void REGAL_CALL emu_glProgramUniform3ivEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57233,6 +58182,7 @@ static void REGAL_CALL emu_glProgramUniform3ivEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57277,6 +58227,7 @@ static void REGAL_CALL emu_glProgramUniform3uiEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57300,6 +58251,7 @@ static void REGAL_CALL emu_glProgramUniform3uiEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57344,6 +58296,7 @@ static void REGAL_CALL emu_glProgramUniform3uivEXT(GLuint program, GLint locatio // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57367,6 +58320,7 @@ static void REGAL_CALL emu_glProgramUniform3uivEXT(GLuint program, GLint locatio // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57411,6 +58365,7 @@ static void REGAL_CALL emu_glProgramUniform4dEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57434,6 +58389,7 @@ static void REGAL_CALL emu_glProgramUniform4dEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57478,6 +58434,7 @@ static void REGAL_CALL emu_glProgramUniform4dvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57501,6 +58458,7 @@ static void REGAL_CALL emu_glProgramUniform4dvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57545,6 +58503,7 @@ static void REGAL_CALL emu_glProgramUniform4fEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57568,6 +58527,7 @@ static void REGAL_CALL emu_glProgramUniform4fEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57612,6 +58572,7 @@ static void REGAL_CALL emu_glProgramUniform4fvEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57635,6 +58596,7 @@ static void REGAL_CALL emu_glProgramUniform4fvEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57679,6 +58641,7 @@ static void REGAL_CALL emu_glProgramUniform4iEXT(GLuint program, GLint location, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57702,6 +58665,7 @@ static void REGAL_CALL emu_glProgramUniform4iEXT(GLuint program, GLint location, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57746,6 +58710,7 @@ static void REGAL_CALL emu_glProgramUniform4ivEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57769,6 +58734,7 @@ static void REGAL_CALL emu_glProgramUniform4ivEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57813,6 +58779,7 @@ static void REGAL_CALL emu_glProgramUniform4uiEXT(GLuint program, GLint location // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57836,6 +58803,7 @@ static void REGAL_CALL emu_glProgramUniform4uiEXT(GLuint program, GLint location // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57880,6 +58848,7 @@ static void REGAL_CALL emu_glProgramUniform4uivEXT(GLuint program, GLint locatio // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57903,6 +58872,7 @@ static void REGAL_CALL emu_glProgramUniform4uivEXT(GLuint program, GLint locatio // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57947,6 +58917,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2dvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -57970,6 +58941,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2dvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58014,6 +58986,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2fvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58037,6 +59010,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2fvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58081,6 +59055,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x3dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58104,6 +59079,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x3dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58148,6 +59124,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x3fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58171,6 +59148,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x3fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58215,6 +59193,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x4dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58238,6 +59217,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x4dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58282,6 +59262,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x4fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58305,6 +59286,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix2x4fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58349,6 +59331,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3dvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58372,6 +59355,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3dvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58416,6 +59400,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3fvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58439,6 +59424,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3fvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58483,6 +59469,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x2dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58506,6 +59493,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x2dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58550,6 +59538,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x2fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58573,6 +59562,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x2fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58617,6 +59607,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x4dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58640,6 +59631,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x4dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58684,6 +59676,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x4fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58707,6 +59700,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix3x4fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58751,6 +59745,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4dvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58774,6 +59769,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4dvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58818,6 +59814,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4fvEXT(GLuint program, GLint lo // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58841,6 +59838,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4fvEXT(GLuint program, GLint lo // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58885,6 +59883,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x2dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58908,6 +59907,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x2dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58952,6 +59952,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x2fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -58975,6 +59976,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x2fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59019,6 +60021,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x3dvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59042,6 +60045,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x3dvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59086,6 +60090,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x3fvEXT(GLuint program, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59109,6 +60114,7 @@ static void REGAL_CALL emu_glProgramUniformMatrix4x3fvEXT(GLuint program, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59153,13 +60159,14 @@ static void REGAL_CALL emu_glPushClientAttribDefaultEXT(GLbitfield mask) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) break; #endif + case 12 : case 11 : case 10 : case 9 : @@ -59179,19 +60186,20 @@ static void REGAL_CALL emu_glPushClientAttribDefaultEXT(GLbitfield mask) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glPushClientAttribDefaultEXT( *_context, mask ); return; } #endif + case 12 : case 11 : case 10 : case 9 : @@ -59233,6 +60241,7 @@ static void REGAL_CALL emu_glTextureBufferEXT(GLuint texture, GLenum target, GLe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59256,6 +60265,7 @@ static void REGAL_CALL emu_glTextureBufferEXT(GLuint texture, GLenum target, GLe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59300,6 +60310,7 @@ static void REGAL_CALL emu_glTextureImage1DEXT(GLuint texture, GLenum target, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59309,15 +60320,15 @@ static void REGAL_CALL emu_glTextureImage1DEXT(GLuint texture, GLenum target, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTextureInfo( texture, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -59331,6 +60342,7 @@ static void REGAL_CALL emu_glTextureImage1DEXT(GLuint texture, GLenum target, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59375,6 +60387,7 @@ static void REGAL_CALL emu_glTextureImage2DEXT(GLuint texture, GLenum target, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59384,15 +60397,15 @@ static void REGAL_CALL emu_glTextureImage2DEXT(GLuint texture, GLenum target, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTextureInfo( texture, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -59406,6 +60419,7 @@ static void REGAL_CALL emu_glTextureImage2DEXT(GLuint texture, GLenum target, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59450,6 +60464,7 @@ static void REGAL_CALL emu_glTextureImage3DEXT(GLuint texture, GLenum target, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59459,15 +60474,15 @@ static void REGAL_CALL emu_glTextureImage3DEXT(GLuint texture, GLenum target, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTextureInfo( texture, target, internalformat ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -59481,6 +60496,7 @@ static void REGAL_CALL emu_glTextureImage3DEXT(GLuint texture, GLenum target, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59525,6 +60541,7 @@ static void REGAL_CALL emu_glTextureParameterIivEXT(GLuint texture, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59548,6 +60565,7 @@ static void REGAL_CALL emu_glTextureParameterIivEXT(GLuint texture, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59592,6 +60610,7 @@ static void REGAL_CALL emu_glTextureParameterIuivEXT(GLuint texture, GLenum targ // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59615,6 +60634,7 @@ static void REGAL_CALL emu_glTextureParameterIuivEXT(GLuint texture, GLenum targ // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59659,6 +60679,7 @@ static void REGAL_CALL emu_glTextureParameterfEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59682,6 +60703,7 @@ static void REGAL_CALL emu_glTextureParameterfEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59726,6 +60748,7 @@ static void REGAL_CALL emu_glTextureParameterfvEXT(GLuint texture, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59749,6 +60772,7 @@ static void REGAL_CALL emu_glTextureParameterfvEXT(GLuint texture, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59793,6 +60817,7 @@ static void REGAL_CALL emu_glTextureParameteriEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59816,6 +60841,7 @@ static void REGAL_CALL emu_glTextureParameteriEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59860,6 +60886,7 @@ static void REGAL_CALL emu_glTextureParameterivEXT(GLuint texture, GLenum target // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59883,6 +60910,7 @@ static void REGAL_CALL emu_glTextureParameterivEXT(GLuint texture, GLenum target // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59927,6 +60955,7 @@ static void REGAL_CALL emu_glTextureRenderbufferEXT(GLuint texture, GLenum targe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59950,6 +60979,7 @@ static void REGAL_CALL emu_glTextureRenderbufferEXT(GLuint texture, GLenum targe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -59994,6 +61024,7 @@ static void REGAL_CALL emu_glTextureSubImage1DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60017,6 +61048,7 @@ static void REGAL_CALL emu_glTextureSubImage1DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60061,6 +61093,7 @@ static void REGAL_CALL emu_glTextureSubImage2DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60084,6 +61117,7 @@ static void REGAL_CALL emu_glTextureSubImage2DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60128,6 +61162,7 @@ static void REGAL_CALL emu_glTextureSubImage3DEXT(GLuint texture, GLenum target, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60151,6 +61186,7 @@ static void REGAL_CALL emu_glTextureSubImage3DEXT(GLuint texture, GLenum target, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60195,6 +61231,7 @@ static GLboolean REGAL_CALL emu_glUnmapNamedBufferEXT(GLuint buffer) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60218,6 +61255,7 @@ static GLboolean REGAL_CALL emu_glUnmapNamedBufferEXT(GLuint buffer) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60260,30 +61298,31 @@ static void REGAL_CALL emu_glVertexArrayColorOffsetEXT(GLuint vaobj, GLuint buff // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayColorOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayColorOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60299,6 +61338,7 @@ static void REGAL_CALL emu_glVertexArrayColorOffsetEXT(GLuint vaobj, GLuint buff // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60343,30 +61383,31 @@ static void REGAL_CALL emu_glVertexArrayEdgeFlagOffsetEXT(GLuint vaobj, GLuint b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayEdgeFlagOffsetEXT( vaobj, buffer, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayEdgeFlagOffsetEXT( vaobj, buffer, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60382,6 +61423,7 @@ static void REGAL_CALL emu_glVertexArrayEdgeFlagOffsetEXT(GLuint vaobj, GLuint b // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60426,30 +61468,31 @@ static void REGAL_CALL emu_glVertexArrayFogCoordOffsetEXT(GLuint vaobj, GLuint b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayFogCoordOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayFogCoordOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60465,6 +61508,7 @@ static void REGAL_CALL emu_glVertexArrayFogCoordOffsetEXT(GLuint vaobj, GLuint b // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60509,30 +61553,31 @@ static void REGAL_CALL emu_glVertexArrayIndexOffsetEXT(GLuint vaobj, GLuint buff // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayIndexOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayIndexOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60548,6 +61593,7 @@ static void REGAL_CALL emu_glVertexArrayIndexOffsetEXT(GLuint vaobj, GLuint buff // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60592,30 +61638,31 @@ static void REGAL_CALL emu_glVertexArrayMultiTexCoordOffsetEXT(GLuint vaobj, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayMultiTexCoordOffsetEXT( vaobj, buffer, texunit, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayMultiTexCoordOffsetEXT( vaobj, buffer, texunit, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60631,6 +61678,7 @@ static void REGAL_CALL emu_glVertexArrayMultiTexCoordOffsetEXT(GLuint vaobj, GLu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60675,30 +61723,31 @@ static void REGAL_CALL emu_glVertexArrayNormalOffsetEXT(GLuint vaobj, GLuint buf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayNormalOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayNormalOffsetEXT( vaobj, buffer, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60714,6 +61763,7 @@ static void REGAL_CALL emu_glVertexArrayNormalOffsetEXT(GLuint vaobj, GLuint buf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60758,30 +61808,31 @@ static void REGAL_CALL emu_glVertexArraySecondaryColorOffsetEXT(GLuint vaobj, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArraySecondaryColorOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArraySecondaryColorOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60797,6 +61848,7 @@ static void REGAL_CALL emu_glVertexArraySecondaryColorOffsetEXT(GLuint vaobj, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60841,30 +61893,31 @@ static void REGAL_CALL emu_glVertexArrayTexCoordOffsetEXT(GLuint vaobj, GLuint b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayTexCoordOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayTexCoordOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60880,6 +61933,7 @@ static void REGAL_CALL emu_glVertexArrayTexCoordOffsetEXT(GLuint vaobj, GLuint b // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -60924,30 +61978,31 @@ static void REGAL_CALL emu_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayVertexAttribIOffsetEXT( vaobj, buffer, index, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayVertexAttribIOffsetEXT( vaobj, buffer, index, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -60963,6 +62018,7 @@ static void REGAL_CALL emu_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj, GLu // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61007,30 +62063,31 @@ static void REGAL_CALL emu_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, GLui // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayVertexAttribOffsetEXT( vaobj, buffer, index, size, type, normalized, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayVertexAttribOffsetEXT( vaobj, buffer, index, size, type, normalized, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -61046,6 +62103,7 @@ static void REGAL_CALL emu_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, GLui // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61090,30 +62148,31 @@ static void REGAL_CALL emu_glVertexArrayVertexOffsetEXT(GLuint vaobj, GLuint buf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glVertexArrayVertexOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glVertexArrayVertexOffsetEXT( vaobj, buffer, size, type, stride, offset ); } #endif + case 8 : case 7 : case 6 : case 5 : @@ -61129,6 +62188,7 @@ static void REGAL_CALL emu_glVertexArrayVertexOffsetEXT(GLuint vaobj, GLuint buf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61179,6 +62239,7 @@ static void REGAL_CALL emu_glColorMaskIndexedEXT(GLuint buf, GLboolean r, GLbool // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61204,6 +62265,7 @@ static void REGAL_CALL emu_glColorMaskIndexedEXT(GLuint buf, GLboolean r, GLbool // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61256,35 +62318,36 @@ static void REGAL_CALL emu_glDisableIndexedEXT(GLenum target, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glDisableIndexedEXT( target, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glDisableIndexedEXT( target, index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -61303,6 +62366,7 @@ static void REGAL_CALL emu_glDisableIndexedEXT(GLenum target, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61312,16 +62376,16 @@ static void REGAL_CALL emu_glDisableIndexedEXT(GLenum target, GLuint index) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->DisableIndexed( target, index ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -61374,35 +62438,36 @@ static void REGAL_CALL emu_glEnableIndexedEXT(GLenum target, GLuint index) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : - case 12 : #if REGAL_EMU_PPCA if (_context->ppca) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 11; + _context->emuLevel = 12; _context->ppca->glEnableIndexedEXT( target, index ); } #endif + case 12 : case 11 : case 10 : case 9 : - case 8 : #if REGAL_EMU_BASEVERTEX if (_context->bv) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 7; + _context->emuLevel = 8; _context->bv->glEnableIndexedEXT( target, index ); } #endif + case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -61421,6 +62486,7 @@ static void REGAL_CALL emu_glEnableIndexedEXT(GLenum target, GLuint index) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61430,16 +62496,16 @@ static void REGAL_CALL emu_glEnableIndexedEXT(GLenum target, GLuint index) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->EnableIndexed( target, index ); return; } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -61492,6 +62558,7 @@ static void REGAL_CALL emu_glGetBooleanIndexedvEXT(GLenum value, GLuint index, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61517,6 +62584,7 @@ static void REGAL_CALL emu_glGetBooleanIndexedvEXT(GLenum value, GLuint index, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61569,6 +62637,7 @@ static void REGAL_CALL emu_glGetIntegerIndexedvEXT(GLenum value, GLuint index, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61594,6 +62663,7 @@ static void REGAL_CALL emu_glGetIntegerIndexedvEXT(GLenum value, GLuint index, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61646,6 +62716,7 @@ static GLboolean REGAL_CALL emu_glIsEnabledIndexedEXT(GLenum target, GLuint inde // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61674,6 +62745,7 @@ static GLboolean REGAL_CALL emu_glIsEnabledIndexedEXT(GLenum target, GLuint inde // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61737,6 +62809,7 @@ static void REGAL_CALL emu_glDrawArraysInstancedEXT(GLenum mode, GLint start, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61746,15 +62819,15 @@ static void REGAL_CALL emu_glDrawArraysInstancedEXT(GLenum mode, GLint start, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -61802,6 +62875,7 @@ static void REGAL_CALL emu_glDrawElementsInstancedEXT(GLenum mode, GLsizei count // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61811,15 +62885,15 @@ static void REGAL_CALL emu_glDrawElementsInstancedEXT(GLenum mode, GLsizei count case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -61869,6 +62943,7 @@ static void REGAL_CALL emu_glDrawRangeElementsEXT(GLenum mode, GLuint start, GLu // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61878,15 +62953,15 @@ static void REGAL_CALL emu_glDrawRangeElementsEXT(GLenum mode, GLuint start, GLu case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -61918,6 +62993,7 @@ static void REGAL_CALL emu_glFogCoordPointerEXT(GLenum type, GLsizei stride, con // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61927,10 +63003,10 @@ static void REGAL_CALL emu_glFogCoordPointerEXT(GLenum type, GLsizei stride, con case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -61945,6 +63021,7 @@ static void REGAL_CALL emu_glFogCoordPointerEXT(GLenum type, GLsizei stride, con // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -61954,16 +63031,16 @@ static void REGAL_CALL emu_glFogCoordPointerEXT(GLenum type, GLsizei stride, con case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->FogCoordPointer( _context, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -62002,6 +63079,7 @@ static void REGAL_CALL emu_glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62027,6 +63105,7 @@ static void REGAL_CALL emu_glBlitFramebufferEXT(GLint srcX0, GLint srcY0, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62079,6 +63158,7 @@ static void REGAL_CALL emu_glRenderbufferStorageMultisampleEXT(GLenum target, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62120,6 +63200,7 @@ static void REGAL_CALL emu_glBindFramebufferEXT(GLenum target, GLuint framebuffe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62148,6 +63229,7 @@ static void REGAL_CALL emu_glBindFramebufferEXT(GLenum target, GLuint framebuffe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62209,6 +63291,7 @@ static void REGAL_CALL emu_glBindRenderbufferEXT(GLenum target, GLuint renderbuf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62237,6 +63320,7 @@ static void REGAL_CALL emu_glBindRenderbufferEXT(GLenum target, GLuint renderbuf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62298,6 +63382,7 @@ static GLenum REGAL_CALL emu_glCheckFramebufferStatusEXT(GLenum target) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62323,6 +63408,7 @@ static GLenum REGAL_CALL emu_glCheckFramebufferStatusEXT(GLenum target) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62371,6 +63457,7 @@ static void REGAL_CALL emu_glDeleteFramebuffersEXT(GLsizei n, const GLuint *fram // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62404,6 +63491,7 @@ static void REGAL_CALL emu_glDeleteFramebuffersEXT(GLsizei n, const GLuint *fram // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62454,6 +63542,7 @@ static void REGAL_CALL emu_glDeleteRenderbuffersEXT(GLsizei n, const GLuint *ren // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62487,6 +63576,7 @@ static void REGAL_CALL emu_glDeleteRenderbuffersEXT(GLsizei n, const GLuint *ren // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62537,6 +63627,7 @@ static void REGAL_CALL emu_glFramebufferRenderbufferEXT(GLenum target, GLenum at // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62570,6 +63661,7 @@ static void REGAL_CALL emu_glFramebufferRenderbufferEXT(GLenum target, GLenum at // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62620,10 +63712,11 @@ static void REGAL_CALL emu_glFramebufferTexture1DEXT(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -62656,16 +63749,17 @@ static void REGAL_CALL emu_glFramebufferTexture1DEXT(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture1DEXT)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -62715,10 +63809,11 @@ static void REGAL_CALL emu_glFramebufferTexture2DEXT(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -62751,16 +63846,17 @@ static void REGAL_CALL emu_glFramebufferTexture2DEXT(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture2DEXT)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -62810,10 +63906,11 @@ static void REGAL_CALL emu_glFramebufferTexture3DEXT(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -62846,16 +63943,17 @@ static void REGAL_CALL emu_glFramebufferTexture3DEXT(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture3DEXT)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level, zoffset); return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -62905,6 +64003,7 @@ static void REGAL_CALL emu_glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62930,6 +64029,7 @@ static void REGAL_CALL emu_glGenFramebuffersEXT(GLsizei n, GLuint *framebuffers) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -62980,6 +64080,7 @@ static void REGAL_CALL emu_glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffer // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63005,6 +64106,7 @@ static void REGAL_CALL emu_glGenRenderbuffersEXT(GLsizei n, GLuint *renderbuffer // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63055,6 +64157,7 @@ static void REGAL_CALL emu_glGenerateMipmapEXT(GLenum target) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63097,6 +64200,7 @@ static void REGAL_CALL emu_glGenerateMipmapEXT(GLenum target) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63147,10 +64251,11 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameterivEXT(GLenum targe // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif + case 15 : case 14 : case 13 : case 12 : @@ -63175,12 +64280,12 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameterivEXT(GLenum targe // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glGetFramebufferAttachmentParameterivEXT)(target, attachment, pname, params); if (pname == GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME) { @@ -63192,6 +64297,7 @@ static void REGAL_CALL emu_glGetFramebufferAttachmentParameterivEXT(GLenum targe return; } #endif + case 15 : case 14 : case 13 : case 12 : @@ -63241,6 +64347,7 @@ static void REGAL_CALL emu_glGetRenderbufferParameterivEXT(GLenum target, GLenum // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63274,6 +64381,7 @@ static void REGAL_CALL emu_glGetRenderbufferParameterivEXT(GLenum target, GLenum // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63324,6 +64432,7 @@ static GLboolean REGAL_CALL emu_glIsFramebufferEXT(GLuint framebuffer) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63349,6 +64458,7 @@ static GLboolean REGAL_CALL emu_glIsFramebufferEXT(GLuint framebuffer) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63397,6 +64507,7 @@ static GLboolean REGAL_CALL emu_glIsRenderbufferEXT(GLuint renderbuffer) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63422,6 +64533,7 @@ static GLboolean REGAL_CALL emu_glIsRenderbufferEXT(GLuint renderbuffer) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63470,6 +64582,7 @@ static void REGAL_CALL emu_glRenderbufferStorageEXT(GLenum target, GLenum intern // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63503,6 +64616,7 @@ static void REGAL_CALL emu_glRenderbufferStorageEXT(GLenum target, GLenum intern // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63555,6 +64669,7 @@ static void REGAL_CALL emu_glFramebufferTextureEXT(GLenum target, GLenum attachm // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63594,6 +64709,7 @@ static void REGAL_CALL emu_glFramebufferTextureFaceEXT(GLenum target, GLenum att // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63647,6 +64763,7 @@ static void REGAL_CALL emu_glFlushMappedBufferRangeEXT(GLenum target, GLintptr o // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63686,6 +64803,7 @@ static GLvoid *REGAL_CALL emu_glMapBufferRangeEXT(GLenum target, GLintptr offset // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63727,6 +64845,7 @@ static void REGAL_CALL emu_glMultiDrawArraysEXT(GLenum mode, const GLint *first, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63736,15 +64855,15 @@ static void REGAL_CALL emu_glMultiDrawArraysEXT(GLenum mode, const GLint *first, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -63792,6 +64911,7 @@ static void REGAL_CALL emu_glMultiDrawElementsEXT(GLenum mode, const GLsizei *co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63801,15 +64921,15 @@ static void REGAL_CALL emu_glMultiDrawElementsEXT(GLenum mode, const GLsizei *co case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : case 5 : #if REGAL_EMU_SO if (_context->so) @@ -63861,7 +64981,7 @@ static void REGAL_CALL emu_glFramebufferTexture2DMultisampleEXT(GLenum target, G // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -63873,12 +64993,12 @@ static void REGAL_CALL emu_glFramebufferTexture2DMultisampleEXT(GLenum target, G // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture2DMultisampleEXT)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level, samples); return; } @@ -63907,9 +65027,9 @@ static void REGAL_CALL emu_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -63921,14 +65041,14 @@ static void REGAL_CALL emu_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGeti_v( _context, target, index, data ) ) { _context->dispatcher.emulation.glGetIntegeri_vEXT( target, index, data ); } @@ -63960,6 +65080,44 @@ static void REGAL_CALL emu_glGetIntegeri_vEXT(GLenum target, GLuint index, GLint // GL_EXT_provoking_vertex +static void REGAL_CALL emu_glProvokingVertexEXT(GLenum mode) +{ + RegalContext *_context = REGAL_GET_CONTEXT(); + RegalAssert(_context); + DispatchTableGL &_dispatch = _context->dispatcher.emulation; + + // prefix + switch( _context->emuLevel ) + { + case 16 : + case 15 : + case 14 : + case 13 : + case 12 : + case 11 : + case 10 : + case 9 : + case 8 : + case 7 : + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + _context->quads->glProvokingVertex( mode ); + } + #endif + case 1 : + default: + break; + } + + DispatchTableGL *_next = _dispatch.next(); + RegalAssert(_next); + _next->call(& _next->glProvokingVertexEXT)(mode); +} + // GL_EXT_robustness // GL_EXT_scene_marker @@ -63975,6 +65133,7 @@ static void REGAL_CALL emu_glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyt // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -63984,7 +65143,6 @@ static void REGAL_CALL emu_glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyt case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -63996,6 +65154,7 @@ static void REGAL_CALL emu_glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyt // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64005,12 +65164,11 @@ static void REGAL_CALL emu_glSecondaryColor3bEXT(GLbyte red, GLbyte green, GLbyt case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64037,6 +65195,7 @@ static void REGAL_CALL emu_glSecondaryColor3bvEXT(const GLbyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64046,7 +65205,6 @@ static void REGAL_CALL emu_glSecondaryColor3bvEXT(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64058,6 +65216,7 @@ static void REGAL_CALL emu_glSecondaryColor3bvEXT(const GLbyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64067,12 +65226,11 @@ static void REGAL_CALL emu_glSecondaryColor3bvEXT(const GLbyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64099,6 +65257,7 @@ static void REGAL_CALL emu_glSecondaryColor3dEXT(GLdouble red, GLdouble green, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64108,7 +65267,6 @@ static void REGAL_CALL emu_glSecondaryColor3dEXT(GLdouble red, GLdouble green, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64120,6 +65278,7 @@ static void REGAL_CALL emu_glSecondaryColor3dEXT(GLdouble red, GLdouble green, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64129,12 +65288,11 @@ static void REGAL_CALL emu_glSecondaryColor3dEXT(GLdouble red, GLdouble green, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64161,6 +65319,7 @@ static void REGAL_CALL emu_glSecondaryColor3dvEXT(const GLdouble *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64170,7 +65329,6 @@ static void REGAL_CALL emu_glSecondaryColor3dvEXT(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64182,6 +65340,7 @@ static void REGAL_CALL emu_glSecondaryColor3dvEXT(const GLdouble *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64191,12 +65350,11 @@ static void REGAL_CALL emu_glSecondaryColor3dvEXT(const GLdouble *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64223,6 +65381,7 @@ static void REGAL_CALL emu_glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLf // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64232,7 +65391,6 @@ static void REGAL_CALL emu_glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLf case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64244,6 +65402,7 @@ static void REGAL_CALL emu_glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLf // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64253,12 +65412,11 @@ static void REGAL_CALL emu_glSecondaryColor3fEXT(GLfloat red, GLfloat green, GLf case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64285,6 +65443,7 @@ static void REGAL_CALL emu_glSecondaryColor3fvEXT(const GLfloat *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64294,7 +65453,6 @@ static void REGAL_CALL emu_glSecondaryColor3fvEXT(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64306,6 +65464,7 @@ static void REGAL_CALL emu_glSecondaryColor3fvEXT(const GLfloat *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64315,12 +65474,11 @@ static void REGAL_CALL emu_glSecondaryColor3fvEXT(const GLfloat *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->Attr<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64347,6 +65505,7 @@ static void REGAL_CALL emu_glSecondaryColor3iEXT(GLint red, GLint green, GLint b // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64356,7 +65515,6 @@ static void REGAL_CALL emu_glSecondaryColor3iEXT(GLint red, GLint green, GLint b case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64368,6 +65526,7 @@ static void REGAL_CALL emu_glSecondaryColor3iEXT(GLint red, GLint green, GLint b // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64377,12 +65536,11 @@ static void REGAL_CALL emu_glSecondaryColor3iEXT(GLint red, GLint green, GLint b case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64409,6 +65567,7 @@ static void REGAL_CALL emu_glSecondaryColor3ivEXT(const GLint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64418,7 +65577,6 @@ static void REGAL_CALL emu_glSecondaryColor3ivEXT(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64430,6 +65588,7 @@ static void REGAL_CALL emu_glSecondaryColor3ivEXT(const GLint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64439,12 +65598,11 @@ static void REGAL_CALL emu_glSecondaryColor3ivEXT(const GLint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64471,6 +65629,7 @@ static void REGAL_CALL emu_glSecondaryColor3sEXT(GLshort red, GLshort green, GLs // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64480,7 +65639,6 @@ static void REGAL_CALL emu_glSecondaryColor3sEXT(GLshort red, GLshort green, GLs case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64492,6 +65650,7 @@ static void REGAL_CALL emu_glSecondaryColor3sEXT(GLshort red, GLshort green, GLs // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64501,12 +65660,11 @@ static void REGAL_CALL emu_glSecondaryColor3sEXT(GLshort red, GLshort green, GLs case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64533,6 +65691,7 @@ static void REGAL_CALL emu_glSecondaryColor3svEXT(const GLshort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64542,7 +65701,6 @@ static void REGAL_CALL emu_glSecondaryColor3svEXT(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64554,6 +65712,7 @@ static void REGAL_CALL emu_glSecondaryColor3svEXT(const GLshort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64563,12 +65722,11 @@ static void REGAL_CALL emu_glSecondaryColor3svEXT(const GLshort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64595,6 +65753,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GL // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64604,7 +65763,6 @@ static void REGAL_CALL emu_glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64616,6 +65774,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GL // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64625,12 +65784,11 @@ static void REGAL_CALL emu_glSecondaryColor3ubEXT(GLubyte red, GLubyte green, GL case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64657,6 +65815,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubvEXT(const GLubyte *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64666,7 +65825,6 @@ static void REGAL_CALL emu_glSecondaryColor3ubvEXT(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64678,6 +65836,7 @@ static void REGAL_CALL emu_glSecondaryColor3ubvEXT(const GLubyte *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64687,12 +65846,11 @@ static void REGAL_CALL emu_glSecondaryColor3ubvEXT(const GLubyte *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64719,6 +65877,7 @@ static void REGAL_CALL emu_glSecondaryColor3uiEXT(GLuint red, GLuint green, GLui // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64728,7 +65887,6 @@ static void REGAL_CALL emu_glSecondaryColor3uiEXT(GLuint red, GLuint green, GLui case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64740,6 +65898,7 @@ static void REGAL_CALL emu_glSecondaryColor3uiEXT(GLuint red, GLuint green, GLui // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64749,12 +65908,11 @@ static void REGAL_CALL emu_glSecondaryColor3uiEXT(GLuint red, GLuint green, GLui case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64781,6 +65939,7 @@ static void REGAL_CALL emu_glSecondaryColor3uivEXT(const GLuint *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64790,7 +65949,6 @@ static void REGAL_CALL emu_glSecondaryColor3uivEXT(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64802,6 +65960,7 @@ static void REGAL_CALL emu_glSecondaryColor3uivEXT(const GLuint *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64811,12 +65970,11 @@ static void REGAL_CALL emu_glSecondaryColor3uivEXT(const GLuint *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64843,6 +66001,7 @@ static void REGAL_CALL emu_glSecondaryColor3usEXT(GLushort red, GLushort green, // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64852,7 +66011,6 @@ static void REGAL_CALL emu_glSecondaryColor3usEXT(GLushort red, GLushort green, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64864,6 +66022,7 @@ static void REGAL_CALL emu_glSecondaryColor3usEXT(GLushort red, GLushort green, // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64873,12 +66032,11 @@ static void REGAL_CALL emu_glSecondaryColor3usEXT(GLushort red, GLushort green, case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), red, green, blue ); return; } @@ -64905,6 +66063,7 @@ static void REGAL_CALL emu_glSecondaryColor3usvEXT(const GLushort *v) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64914,7 +66073,6 @@ static void REGAL_CALL emu_glSecondaryColor3usvEXT(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -64926,6 +66084,7 @@ static void REGAL_CALL emu_glSecondaryColor3usvEXT(const GLushort *v) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64935,12 +66094,11 @@ static void REGAL_CALL emu_glSecondaryColor3usvEXT(const GLushort *v) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->AttrN<3>( _context, _context->iff->AttrIndex( RFF2A_SecondaryColor ), v ); return; } @@ -64967,6 +66125,7 @@ static void REGAL_CALL emu_glSecondaryColorPointerEXT(GLint size, GLenum type, G // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -64976,10 +66135,10 @@ static void REGAL_CALL emu_glSecondaryColorPointerEXT(GLint size, GLenum type, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -64994,6 +66153,7 @@ static void REGAL_CALL emu_glSecondaryColorPointerEXT(GLint size, GLenum type, G // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65003,16 +66163,16 @@ static void REGAL_CALL emu_glSecondaryColorPointerEXT(GLint size, GLenum type, G case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->SecondaryColorPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -65057,12 +66217,12 @@ static void REGAL_CALL emu_glTexSubImage2DEXT(GLenum target, GLint level, GLint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) break; #endif @@ -65074,17 +66234,17 @@ static void REGAL_CALL emu_glTexSubImage2DEXT(GLenum target, GLint level, GLint // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : - case 10 : #if REGAL_EMU_XFER if (_context->xfer) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 9; + _context->emuLevel = 10; _context->xfer->TexSubImage2D( _context, target, level, xoffset, yoffset, width, height, format, type, pixels ); return; } @@ -65113,6 +66273,7 @@ static void REGAL_CALL emu_glTexImage3DEXT(GLenum target, GLint level, GLenum in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65122,12 +66283,11 @@ static void REGAL_CALL emu_glTexImage3DEXT(GLenum target, GLint level, GLenum in case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif @@ -65152,6 +66312,7 @@ static void REGAL_CALL emu_glFramebufferTextureLayerEXT(GLenum target, GLenum at // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65195,6 +66356,7 @@ static void REGAL_CALL emu_glTexParameterIivEXT(GLenum target, GLenum pname, con // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65217,6 +66379,7 @@ static void REGAL_CALL emu_glTexParameterIivEXT(GLenum target, GLenum pname, con // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65262,6 +66425,7 @@ static void REGAL_CALL emu_glTexParameterIuivEXT(GLenum target, GLenum pname, co // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65284,6 +66448,7 @@ static void REGAL_CALL emu_glTexParameterIuivEXT(GLenum target, GLenum pname, co // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65331,6 +66496,7 @@ static void REGAL_CALL emu_glBindTextureEXT(GLenum target, GLuint texture) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65340,15 +66506,15 @@ static void REGAL_CALL emu_glBindTextureEXT(GLenum target, GLuint texture) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexBinding( target, texture ); } #endif + case 6 : case 5 : case 4 : #if REGAL_EMU_DSA @@ -65372,6 +66538,7 @@ static void REGAL_CALL emu_glBindTextureEXT(GLenum target, GLuint texture) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65417,6 +66584,7 @@ static void REGAL_CALL emu_glDeleteTexturesEXT(GLsizei n, const GLuint *textures // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65466,6 +66634,7 @@ static void REGAL_CALL emu_glGenTexturesEXT(GLsizei n, GLuint *textures) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65491,6 +66660,7 @@ static void REGAL_CALL emu_glGenTexturesEXT(GLsizei n, GLuint *textures) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65542,13 +66712,13 @@ static void REGAL_CALL emu_glTexStorage1DEXT(GLenum target, GLsizei levels, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -65560,18 +66730,18 @@ static void REGAL_CALL emu_glTexStorage1DEXT(GLenum target, GLsizei levels, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width ); return; } @@ -65598,13 +66768,13 @@ static void REGAL_CALL emu_glTexStorage2DEXT(GLenum target, GLsizei levels, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -65616,18 +66786,18 @@ static void REGAL_CALL emu_glTexStorage2DEXT(GLenum target, GLsizei levels, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width, height ); return; } @@ -65654,13 +66824,13 @@ static void REGAL_CALL emu_glTexStorage3DEXT(GLenum target, GLsizei levels, GLen // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) break; #endif @@ -65672,18 +66842,18 @@ static void REGAL_CALL emu_glTexStorage3DEXT(GLenum target, GLsizei levels, GLen // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : case 12 : case 11 : case 10 : - case 9 : #if REGAL_EMU_TEXSTO if (_context->texsto) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 8; + _context->emuLevel = 9; _context->texsto->TextureStorage( _context, target, levels, internalformat, width, height, depth ); return; } @@ -65716,6 +66886,7 @@ static void REGAL_CALL emu_glColorPointerEXT(GLint size, GLenum type, GLsizei st // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65725,10 +66896,10 @@ static void REGAL_CALL emu_glColorPointerEXT(GLint size, GLenum type, GLsizei st case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -65743,6 +66914,7 @@ static void REGAL_CALL emu_glColorPointerEXT(GLint size, GLenum type, GLsizei st // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65752,16 +66924,16 @@ static void REGAL_CALL emu_glColorPointerEXT(GLint size, GLenum type, GLsizei st case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ColorPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -65796,6 +66968,7 @@ static void REGAL_CALL emu_glDrawArraysEXT(GLenum mode, GLint first, GLsizei cou // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65805,15 +66978,18 @@ static void REGAL_CALL emu_glDrawArraysEXT(GLenum mode, GLint first, GLsizei cou case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->PreDraw( _context ); } #endif + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) break; + #endif case 5 : #if REGAL_EMU_SO if (_context->so) @@ -65847,9 +67023,46 @@ static void REGAL_CALL emu_glDrawArraysEXT(GLenum mode, GLint first, GLsizei cou break; } - DispatchTableGL *_next = _dispatch.next(); - RegalAssert(_next); - _next->call(& _next->glDrawArraysEXT)(mode, first, count); + // impl + switch( _context->emuLevel ) + { + case 16 : + case 15 : + case 14 : + case 13 : + case 12 : + case 11 : + case 10 : + case 9 : + case 8 : + case 7 : + case 6 : + #if REGAL_EMU_QUADS + if (_context->quads) + { + Push pushLevel(_context->emuLevel); + _context->emuLevel = 5; + + if ( ! _context->quads->glDrawArrays( _context, mode, first, count ) ) { + DispatchTableGL *_next = _context->dispatcher.emulation.next(); + RegalAssert(_next); + return _next->call(&_next->glDrawArrays)( mode, first, count ); + } + + return; + } + #endif + case 1 : + default: + { + DispatchTableGL *_next = _dispatch.next(); + RegalAssert(_next); + _next->call(&_next->glDrawArraysEXT)(mode, first, count); + break; + } + + } + } static void REGAL_CALL emu_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, const GLboolean *pointer) @@ -65861,6 +67074,7 @@ static void REGAL_CALL emu_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, c // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65870,7 +67084,6 @@ static void REGAL_CALL emu_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, c case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif @@ -65882,6 +67095,7 @@ static void REGAL_CALL emu_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, c // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65891,12 +67105,11 @@ static void REGAL_CALL emu_glEdgeFlagPointerEXT(GLsizei stride, GLsizei count, c case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->EdgeFlagPointer( _context, stride, pointer ); return; } @@ -65923,6 +67136,7 @@ static void REGAL_CALL emu_glNormalPointerEXT(GLenum type, GLsizei stride, GLsiz // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65932,10 +67146,10 @@ static void REGAL_CALL emu_glNormalPointerEXT(GLenum type, GLsizei stride, GLsiz case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -65950,6 +67164,7 @@ static void REGAL_CALL emu_glNormalPointerEXT(GLenum type, GLsizei stride, GLsiz // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -65959,16 +67174,16 @@ static void REGAL_CALL emu_glNormalPointerEXT(GLenum type, GLsizei stride, GLsiz case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->NormalPointer( _context, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -66003,6 +67218,7 @@ static void REGAL_CALL emu_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66012,10 +67228,10 @@ static void REGAL_CALL emu_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -66030,6 +67246,7 @@ static void REGAL_CALL emu_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66039,16 +67256,16 @@ static void REGAL_CALL emu_glTexCoordPointerEXT(GLint size, GLenum type, GLsizei case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->TexCoordPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -66083,6 +67300,7 @@ static void REGAL_CALL emu_glVertexPointerEXT(GLint size, GLenum type, GLsizei s // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66092,10 +67310,10 @@ static void REGAL_CALL emu_glVertexPointerEXT(GLint size, GLenum type, GLsizei s case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) break; #endif + case 6 : case 5 : case 4 : case 3 : @@ -66110,6 +67328,7 @@ static void REGAL_CALL emu_glVertexPointerEXT(GLint size, GLenum type, GLsizei s // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66119,16 +67338,16 @@ static void REGAL_CALL emu_glVertexPointerEXT(GLint size, GLenum type, GLsizei s case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->VertexPointer( _context, size, type, stride, pointer ); return; } #endif + case 6 : case 5 : case 4 : case 3 : @@ -66217,9 +67436,9 @@ static void REGAL_CALL emu_glDrawBuffersNV(GLsizei n, const GLenum *bufs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -66231,14 +67450,14 @@ static void REGAL_CALL emu_glDrawBuffersNV(GLsizei n, const GLenum *bufs) // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( !_context->isES2() ) { _context->ppa->glDrawBuffers( n, bufs ); _context->dispatcher.emulation.glDrawBuffers( n, bufs ); @@ -66274,6 +67493,7 @@ static void REGAL_CALL emu_glTexRenderbufferNV(GLenum target, GLuint renderbuffe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66322,6 +67542,7 @@ static void REGAL_CALL emu_glRenderbufferStorageMultisampleCoverageNV(GLenum tar // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66365,6 +67586,7 @@ static void REGAL_CALL emu_glGetProgramEnvParameterIivNV(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66404,6 +67626,7 @@ static void REGAL_CALL emu_glGetProgramEnvParameterIuivNV(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66443,6 +67666,7 @@ static void REGAL_CALL emu_glGetProgramLocalParameterIivNV(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66482,6 +67706,7 @@ static void REGAL_CALL emu_glGetProgramLocalParameterIuivNV(GLenum target, GLuin // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66521,6 +67746,7 @@ static void REGAL_CALL emu_glProgramEnvParameterI4iNV(GLenum target, GLuint inde // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66560,6 +67786,7 @@ static void REGAL_CALL emu_glProgramEnvParameterI4ivNV(GLenum target, GLuint ind // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66599,6 +67826,7 @@ static void REGAL_CALL emu_glProgramEnvParameterI4uiNV(GLenum target, GLuint ind // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66638,6 +67866,7 @@ static void REGAL_CALL emu_glProgramEnvParameterI4uivNV(GLenum target, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66677,6 +67906,7 @@ static void REGAL_CALL emu_glProgramEnvParametersI4ivNV(GLenum target, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66716,6 +67946,7 @@ static void REGAL_CALL emu_glProgramEnvParametersI4uivNV(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66755,6 +67986,7 @@ static void REGAL_CALL emu_glProgramLocalParameterI4iNV(GLenum target, GLuint in // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66794,6 +68026,7 @@ static void REGAL_CALL emu_glProgramLocalParameterI4ivNV(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66833,6 +68066,7 @@ static void REGAL_CALL emu_glProgramLocalParameterI4uiNV(GLenum target, GLuint i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66872,6 +68106,7 @@ static void REGAL_CALL emu_glProgramLocalParameterI4uivNV(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66911,6 +68146,7 @@ static void REGAL_CALL emu_glProgramLocalParametersI4ivNV(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -66950,6 +68186,7 @@ static void REGAL_CALL emu_glProgramLocalParametersI4uivNV(GLenum target, GLuint // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67021,6 +68258,7 @@ static void REGAL_CALL emu_glTexImage2DMultisampleCoverageNV(GLenum target, GLsi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67030,12 +68268,11 @@ static void REGAL_CALL emu_glTexImage2DMultisampleCoverageNV(GLenum target, GLsi case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalFormat ); } #endif @@ -67058,6 +68295,7 @@ static void REGAL_CALL emu_glTexImage3DMultisampleCoverageNV(GLenum target, GLsi // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67067,12 +68305,11 @@ static void REGAL_CALL emu_glTexImage3DMultisampleCoverageNV(GLenum target, GLsi case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalFormat ); } #endif @@ -67109,6 +68346,7 @@ static void REGAL_CALL emu_glDeleteProgramsNV(GLsizei n, const GLuint *programs) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67158,6 +68396,7 @@ static void REGAL_CALL emu_glBindFramebufferOES(GLenum target, GLuint framebuffe // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67183,6 +68422,7 @@ static void REGAL_CALL emu_glBindFramebufferOES(GLenum target, GLuint framebuffe // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67238,6 +68478,7 @@ static void REGAL_CALL emu_glDeleteFramebuffersOES(GLsizei n, const GLuint *fram // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67277,6 +68518,7 @@ static void REGAL_CALL emu_glDeleteRenderbuffersOES(GLsizei n, const GLuint *ren // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67316,7 +68558,7 @@ static void REGAL_CALL emu_glFramebufferTexture2DOES(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -67328,12 +68570,12 @@ static void REGAL_CALL emu_glFramebufferTexture2DOES(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture2DOES)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level); return; } @@ -67370,7 +68612,7 @@ static void REGAL_CALL emu_glFramebufferTexture3DOES(GLenum target, GLenum attac // prefix switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) break; #endif @@ -67382,12 +68624,12 @@ static void REGAL_CALL emu_glFramebufferTexture3DOES(GLenum target, GLenum attac // impl switch( _context->emuLevel ) { - case 15 : + case 16 : #if REGAL_EMU_OBJ if (_context->obj) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 14; + _context->emuLevel = 15; _dispatch.call(&_dispatch.glFramebufferTexture3DOES)(target, attachment, textarget, _context->obj->textureNames.ToDriverName(texture), level, zoffset); return; } @@ -67418,6 +68660,7 @@ static void REGAL_CALL emu_glBindVertexArrayOES(GLuint array) // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67427,12 +68670,11 @@ static void REGAL_CALL emu_glBindVertexArrayOES(GLuint array) case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowVao( _context, array ); } #endif @@ -67455,6 +68697,7 @@ static void REGAL_CALL emu_glDeleteVertexArraysOES(GLsizei n, const GLuint *arra // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67642,9 +68885,9 @@ static void REGAL_CALL emu_glGetLightxv(GLenum light, GLenum pname, GLfixed *par // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -67656,14 +68899,14 @@ static void REGAL_CALL emu_glGetLightxv(GLenum light, GLenum pname, GLfixed *par // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetLightv( _context, light, pname, params ) ) { _context->dispatcher.emulation.glGetLightxv( light, pname, params ); } @@ -67692,9 +68935,9 @@ static void REGAL_CALL emu_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *p // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) break; #endif @@ -67706,14 +68949,14 @@ static void REGAL_CALL emu_glGetMaterialxv(GLenum face, GLenum pname, GLfixed *p // impl switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : - case 13 : #if REGAL_EMU_PPA if (_context->ppa) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 12; + _context->emuLevel = 13; if( ! _context->ppa->glGetMaterialv( _context, face, pname, params ) ) { _context->dispatcher.emulation.glGetMaterialxv( face, pname, params ); } @@ -67813,6 +69056,7 @@ static void REGAL_CALL emu_glTexImage4DSGIS(GLenum target, GLint level, GLenum i // prefix switch( _context->emuLevel ) { + case 16 : case 15 : case 14 : case 13 : @@ -67822,12 +69066,11 @@ static void REGAL_CALL emu_glTexImage4DSGIS(GLenum target, GLint level, GLenum i case 9 : case 8 : case 7 : - case 6 : #if REGAL_EMU_IFF if (_context->iff) { Push pushLevel(_context->emuLevel); - _context->emuLevel = 5; + _context->emuLevel = 6; _context->iff->ShadowTexInfo( target, internalformat ); } #endif @@ -69090,6 +70333,10 @@ void InitDispatchTableEmu(DispatchTableGL &tbl) tbl.glGetIntegeri_vEXT = emu_glGetIntegeri_vEXT; +// GL_EXT_provoking_vertex + + tbl.glProvokingVertexEXT = emu_glProvokingVertexEXT; + // GL_EXT_secondary_color tbl.glSecondaryColor3bEXT = emu_glSecondaryColor3bEXT; diff --git a/src/regal/RegalEmuInfo.cpp b/src/regal/RegalEmuInfo.cpp index 6e22f24..86018c7 100644 --- a/src/regal/RegalEmuInfo.cpp +++ b/src/regal/RegalEmuInfo.cpp @@ -101,6 +101,7 @@ EmuInfo::EmuInfo() gl_max_attrib_stack_depth(0), gl_max_client_attrib_stack_depth(0), gl_max_combined_texture_image_units(0), + gl_max_debug_message_length(0), gl_max_draw_buffers(0), gl_max_texture_coords(0), gl_max_texture_units(0), @@ -217,6 +218,7 @@ EmuInfo::init(const ContextInfo &contextInfo) gl_max_attrib_stack_depth = contextInfo.gl_max_attrib_stack_depth; gl_max_client_attrib_stack_depth = contextInfo.gl_max_client_attrib_stack_depth; gl_max_combined_texture_image_units = contextInfo.gl_max_combined_texture_image_units; + gl_max_debug_message_length = contextInfo.gl_max_debug_message_length; gl_max_draw_buffers = contextInfo.gl_max_draw_buffers; gl_max_texture_coords = contextInfo.gl_max_texture_coords; gl_max_texture_units = contextInfo.gl_max_texture_units; diff --git a/src/regal/RegalEmuInfo.h b/src/regal/RegalEmuInfo.h index f849c40..9ef8b37 100644 --- a/src/regal/RegalEmuInfo.h +++ b/src/regal/RegalEmuInfo.h @@ -114,6 +114,7 @@ struct EmuInfo GLuint gl_max_attrib_stack_depth; GLuint gl_max_client_attrib_stack_depth; GLuint gl_max_combined_texture_image_units; + GLuint gl_max_debug_message_length; GLuint gl_max_draw_buffers; GLuint gl_max_texture_coords; GLuint gl_max_texture_units; diff --git a/src/regal/RegalFrame.cpp b/src/regal/RegalFrame.cpp index 0e9bb64..ddc13a9 100644 --- a/src/regal/RegalFrame.cpp +++ b/src/regal/RegalFrame.cpp @@ -54,7 +54,7 @@ REGAL_NAMESPACE_BEGIN void Frame::capture(RegalContext &context) { - Internal("Regal::Frame::capture ",&context); + Internal("Regal::Frame::capture context=",boost::print::optional(&context,Logging::pointers)); ++frame; diff --git a/src/regal/RegalIff.cpp b/src/regal/RegalIff.cpp index 6003841..1433b3a 100644 --- a/src/regal/RegalIff.cpp +++ b/src/regal/RegalIff.cpp @@ -2564,8 +2564,8 @@ void Iff::State::Process( Iff * ffn ) } } } - p.hash = Lookup3::hashlittle(reinterpret_cast(&p) + sizeof(p.hash) + sizeof(p.ver), - sizeof(p)-sizeof(p.hash)-sizeof(p.ver), 0); + p.hash = Lookup3::hashlittle(reinterpret_cast(&p.hash) + sizeof( p.hash ), + reinterpret_cast((&p)+1) - reinterpret_cast(&p.hash) - sizeof( p.hash ), 0); } void Iff::UpdateUniforms( RegalContext * ctx ) diff --git a/src/regal/RegalIff.h b/src/regal/RegalIff.h index 582e501..c4def29 100644 --- a/src/regal/RegalIff.h +++ b/src/regal/RegalIff.h @@ -1485,8 +1485,8 @@ struct Iff } } - GLuint64 hash; GLuint64 ver; + GLuint hash; Light light[ REGAL_FIXED_FUNCTION_MAX_LIGHTS ]; Texture tex[ REGAL_EMU_MAX_TEXTURE_UNITS ]; bool clipPlaneEnabled[ REGAL_FIXED_FUNCTION_MAX_CLIP_PLANES ]; diff --git a/src/regal/RegalInit.cpp b/src/regal/RegalInit.cpp index 821d49a..04cb06a 100644 --- a/src/regal/RegalInit.cpp +++ b/src/regal/RegalInit.cpp @@ -115,6 +115,7 @@ Init::Init() #if !REGAL_NO_JSON if (Config::configFile.length()) { + Info("Reading Regal configuration from ",Config::configFile); bool ok = Json::Parser::parseFile(Config::configFile); if (!ok) Warning("Failed to parse configuration from ",Config::configFile); @@ -215,12 +216,12 @@ Init::getContext(RegalSystemContext sysCtx) SC2RC::iterator i = sc2rc.find(sysCtx); if (i!=sc2rc.end()) { - Internal("Init::context", "lookup for sysCtx=",sysCtx); + Internal("Init::context", "lookup for sysCtx=",boost::print::optional(sysCtx,Logging::pointers)); return i->second; } else { - Internal("Init::context", "factory for sysCtx=",sysCtx); + Internal("Init::context", "factory for sysCtx=",boost::print::optional(sysCtx,Logging::pointers)); RegalContext *context = new RegalContext(); RegalAssert(context); sc2rc[sysCtx] = context; @@ -234,7 +235,7 @@ Init::setContext(RegalContext *context) { Thread::Thread thread = Thread::Self(); - Internal("Init::setContext","thread=",::boost::print::hex(Thread::threadId())," context=",context," ",context ? context->info->version : ""); + Internal("Init::setContext","thread=",boost::print::optional(::boost::print::hex(Thread::threadId()),Logging::thread)," context=",boost::print::optional(context,Logging::pointers)," ",context ? context->info->version : ""); // std::map lookup @@ -337,7 +338,7 @@ ThreadLocalInit threadLocalInit; void Init::setContextTLS(RegalContext *context) { - Internal("Init::setContextTLS","thread=",::boost::print::hex(Thread::threadId())," context=",context); + Internal("Init::setContextTLS","thread=",boost::print::optional(::boost::print::hex(Thread::threadId()),Logging::thread)," context=",boost::print::optional(context,Logging::pointers)); Thread::ThreadLocal &instance = Thread::ThreadLocal::instance(); instance.currentContext = context; @@ -415,7 +416,7 @@ Init::makeCurrent(RegalSystemContext sysCtx, PPB_OpenGLES2 *ppb_interface) Init::makeCurrent(RegalSystemContext sysCtx) #endif { - Internal("Init::makeCurrent","thread=",::boost::print::hex(Thread::threadId())," sysCtx=",sysCtx); + Internal("Init::makeCurrent","thread=",boost::print::optional(::boost::print::hex(Thread::threadId()),Logging::thread)," sysCtx=",boost::print::optional(sysCtx,Logging::pointers)); if (sysCtx) { diff --git a/src/regal/RegalJson.cpp b/src/regal/RegalJson.cpp index ee29ad6..8aa5c47 100644 --- a/src/regal/RegalJson.cpp +++ b/src/regal/RegalJson.cpp @@ -81,6 +81,7 @@ const Object parent[JSON_UNDEFINED+1] = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE, + JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE, JSON_REGAL_CONFIG_DISPATCH_EMULATION, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, @@ -98,6 +99,7 @@ const Object parent[JSON_UNDEFINED+1] = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, + JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE, JSON_REGAL_CONFIG_DISPATCH, JSON_REGAL_CONFIG_DISPATCH_ENABLE, JSON_REGAL_CONFIG_DISPATCH_ENABLE, @@ -237,6 +239,7 @@ Parser::onPush(const string &name) if (name=="path" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PATH; return; } if (name=="ppa" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPA; return; } if (name=="ppca" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPCA; return; } + if (name=="quads" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_QUADS; return; } if (name=="rect" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_RECT; return; } if (name=="so" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_SO; return; } if (name=="texc" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_TEXC; return; } @@ -256,6 +259,7 @@ Parser::onPush(const string &name) if (name=="path" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PATH; return; } if (name=="ppa" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPA; return; } if (name=="ppca" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPCA; return; } + if (name=="quads" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_QUADS; return; } if (name=="rect" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_RECT; return; } if (name=="so" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_SO; return; } if (name=="texc" ) { current = JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_TEXC; return; } @@ -416,6 +420,7 @@ Parser::onValue(const bool value) case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PATH : { set_json_regal_config_dispatch_emulation_enable_path(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPA : { set_json_regal_config_dispatch_emulation_enable_ppa(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPCA : { set_json_regal_config_dispatch_emulation_enable_ppca(value); return; } + case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_QUADS : { set_json_regal_config_dispatch_emulation_enable_quads(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_RECT : { set_json_regal_config_dispatch_emulation_enable_rect(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_SO : { set_json_regal_config_dispatch_emulation_enable_so(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_TEXC : { set_json_regal_config_dispatch_emulation_enable_texc(value); return; } @@ -432,6 +437,7 @@ Parser::onValue(const bool value) case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PATH : { set_json_regal_config_dispatch_emulation_force_path(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPA : { set_json_regal_config_dispatch_emulation_force_ppa(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPCA : { set_json_regal_config_dispatch_emulation_force_ppca(value); return; } + case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_QUADS : { set_json_regal_config_dispatch_emulation_force_quads(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_RECT : { set_json_regal_config_dispatch_emulation_force_rect(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_SO : { set_json_regal_config_dispatch_emulation_force_so(value); return; } case JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_TEXC : { set_json_regal_config_dispatch_emulation_force_texc(value); return; } diff --git a/src/regal/RegalJson.h b/src/regal/RegalJson.h index dec81ac..2ef5c2e 100644 --- a/src/regal/RegalJson.h +++ b/src/regal/RegalJson.h @@ -71,6 +71,7 @@ enum Object JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PATH, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPA, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_PPCA, + JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_QUADS, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_RECT, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_SO, JSON_REGAL_CONFIG_DISPATCH_EMULATION_ENABLE_TEXC, @@ -88,6 +89,7 @@ enum Object JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PATH, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPA, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_PPCA, + JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_QUADS, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_RECT, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_SO, JSON_REGAL_CONFIG_DISPATCH_EMULATION_FORCE_TEXC, diff --git a/src/regal/RegalJson.inl b/src/regal/RegalJson.inl index 6bc2f08..1eb0361 100644 --- a/src/regal/RegalJson.inl +++ b/src/regal/RegalJson.inl @@ -17,6 +17,7 @@ #define set_json_regal_config_dispatch_emulation_enable_path(value) Config::enableEmuPath = value #define set_json_regal_config_dispatch_emulation_enable_ppa(value) Config::enableEmuPpa = value #define set_json_regal_config_dispatch_emulation_enable_ppca(value) Config::enableEmuPpca = value +#define set_json_regal_config_dispatch_emulation_enable_quads(value) Config::enableEmuQuads = value #define set_json_regal_config_dispatch_emulation_enable_rect(value) Config::enableEmuRect = value #define set_json_regal_config_dispatch_emulation_enable_so(value) Config::enableEmuSo = value #define set_json_regal_config_dispatch_emulation_enable_texc(value) Config::enableEmuTexC = value @@ -33,6 +34,7 @@ #define set_json_regal_config_dispatch_emulation_force_path(value) Config::forceEmuPath = value #define set_json_regal_config_dispatch_emulation_force_ppa(value) Config::forceEmuPpa = value #define set_json_regal_config_dispatch_emulation_force_ppca(value) Config::forceEmuPpca = value +#define set_json_regal_config_dispatch_emulation_force_quads(value) Config::forceEmuQuads = value #define set_json_regal_config_dispatch_emulation_force_rect(value) Config::forceEmuRect = value #define set_json_regal_config_dispatch_emulation_force_so(value) Config::forceEmuSo = value #define set_json_regal_config_dispatch_emulation_force_texc(value) Config::forceEmuTexC = value diff --git a/src/regal/RegalMarker.h b/src/regal/RegalMarker.h index 8f61981..71e3a58 100644 --- a/src/regal/RegalMarker.h +++ b/src/regal/RegalMarker.h @@ -82,11 +82,13 @@ struct Marker { { UNUSED_PARAMETER(ctx); Internal("Regal::Marker::PopGroupMarker","()"); - std::string marker; if (markerStack.size()) + { + std::string marker; marker.swap(markerStack.back()); - markerStack.pop_back(); - //Info("// ... ",marker); + markerStack.pop_back(); + //Info("// ... ",marker); + } } void FrameTerminator(RegalContext &ctx); @@ -100,10 +102,12 @@ struct Marker { //... If length is 0 then marker is assumed to be null-terminated.... static inline std::string - toStringEXT(GLsizei length, const char *marker) + toStringEXT(GLsizei length, const char *marker, GLsizei maxLength) { if (length<=0 || !marker) return std::string(marker ? marker : ""); + if (length >= maxLength) + return std::string(); return std::string(marker,length); } @@ -113,12 +117,14 @@ struct Marker { // a null terminated string... static inline std::string - toStringKHR(GLsizei length, const char *marker) + toStringKHR(GLsizei length, const char *marker, GLsizei maxLength) { if (length==0 || !marker) return std::string(); if (length<0) return std::string(marker); + if (length >= maxLength) + return std::string(); return std::string(marker,length); } diff --git a/src/regal/RegalPixelConversions.h b/src/regal/RegalPixelConversions.h index d954095..6cf25b6 100644 --- a/src/regal/RegalPixelConversions.h +++ b/src/regal/RegalPixelConversions.h @@ -49,14 +49,14 @@ REGAL_GLOBAL_BEGIN #include -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - using ::boost::uint8_t; using ::boost::uint16_t; using ::boost::uint32_t; +REGAL_GLOBAL_END + +REGAL_NAMESPACE_BEGIN + // The IConversion interface hides the implementation details of the conversion // module behind a standard interface. class IConversion diff --git a/src/regal/RegalPpa.h b/src/regal/RegalPpa.h index f81633c..ba09f11 100644 --- a/src/regal/RegalPpa.h +++ b/src/regal/RegalPpa.h @@ -374,7 +374,7 @@ struct Ppa : public State::Stencil, State::Depth, State::Polygon, State::Transfo // Ideally we'd only set the state that has changed // since the glPushAttrib() - revisit - State::Enable::set(ctx->dispatcher.emulation); + State::Enable::set(*ctx); mask &= ~GL_ENABLE_BIT; } @@ -474,7 +474,7 @@ struct Ppa : public State::Stencil, State::Depth, State::Polygon, State::Transfo // Ideally we'd only set the state that has changed // since the glPushAttrib() - revisit - State::Multisample::set(ctx->dispatcher.emulation); + State::Multisample::set(*ctx); mask &= ~GL_MULTISAMPLE_BIT; } diff --git a/src/regal/RegalQuads.cpp b/src/regal/RegalQuads.cpp new file mode 100644 index 0000000..7b26ac1 --- /dev/null +++ b/src/regal/RegalQuads.cpp @@ -0,0 +1,386 @@ +/* + Copyright (c) 2011-2013 NVIDIA Corporation + Copyright (c) 2011-2012 Cass Everitt + Copyright (c) 2012 Scott Nations + Copyright (c) 2012 Mathias Schott + Copyright (c) 2012 Nigel Stewart + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* + + Regal GL_QUADs emulation layer + Scott Nations + + Limitations: + + - Different front and back rendering modes aren't handled correctly. + Instead the "largest" of the two is always used. So if either mode + is FILL then triangles will be drawn. Otherwise if either mode is + LINE then lines will be drawn. Else points will be drawn. + + - The colors of lines and points are probably going to be wrong when + using flat shading, i.e. glShadeModel(GL_FLAT). + +*/ + + +/* + +From glspec44.compatibility.withchanges.pdf, page 485 + +Primitive type of polygon i First vertex convention Last vertex convention + +independent quad 4i - 3 4i (*1) + 4i 4i (*2) +quad strip 2i - 1 2i + 2 (*1) + 2i + 2 2i + 2 (*2) + +Table 13.2: Provoking vertex selection. The vertex colors and/or output values +used for flatshading the ith primitive generated by drawing commands with the +indicated primitive type are derived from the corresponding values of the vertex +whose index is shown in the table. Vertices are numbered 1 through n, where n is +the number of vertices drawn. + +*1 If the value of QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION is TRUE. +*2 If the value of QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION is FALSE. + +*/ + +#include "RegalUtil.h" + +#if REGAL_EMULATION + +#include "RegalQuads.h" +#include "RegalContextInfo.h" +#include "RegalToken.h" + +REGAL_GLOBAL_BEGIN + +#include + +#include + +REGAL_GLOBAL_END + +REGAL_NAMESPACE_BEGIN + +namespace Emu +{ + +void Quads::Init(RegalContext &ctx) +{ + UNUSED_PARAMETER(ctx); + frontFaceMode = backFaceMode = GL_FILL; + shadeMode = GL_SMOOTH; + provokeMode = GL_LAST_VERTEX_CONVENTION; + gl_quads_follow_provoking_vertex_convention = (ctx.info->gl_quads_follow_provoking_vertex_convention == GL_TRUE); +} + +void Quads::Cleanup(RegalContext &ctx) +{ + UNUSED_PARAMETER(ctx); +} + +bool Quads::glDrawArrays(RegalContext *ctx, GLenum mode, GLint first, GLsizei count) +{ + RegalAssert(ctx); + + if (mode != GL_QUADS && mode != GL_QUAD_STRIP) + return false; + + Internal("Regal::Emu::Quads::glDrawArrays(", Token::toString(mode), ", ", first, ", ", count, ")"); + + // count < 0 should generate an error + + if ( count < 0 ) + return false; + + // if we don't have at least 4 then we're done + + if ( count < 4 ) + return true; + + DispatchTableGL &dt = ctx->dispatcher.emulation; + +#define EMU_QUADS_BUFFER_SIZE 1024 + + GLsizei myCount = count &= (~0x1); + + if ( mode == GL_QUADS ) + myCount &= (~0x3); + + // either draw a surface, lines, or points + + if (frontFaceMode == GL_FILL || backFaceMode == GL_FILL) + { + if (frontFaceMode != GL_FILL || backFaceMode != GL_FILL) + dt.call(&dt.glPolygonMode)(GL_FRONT_AND_BACK, GL_FILL); + if ( mode == GL_QUAD_STRIP ) + { + // convert quad strips into triangles + + GLuint indices[EMU_QUADS_BUFFER_SIZE * 6]; + GLsizei n = ((myCount/2-1) < EMU_QUADS_BUFFER_SIZE) ? (myCount/2-1) : EMU_QUADS_BUFFER_SIZE; + if (shadeMode != GL_FLAT) + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 2 + 0; + indices[ii * 6 + 1] = first + ii * 2 + 1; + indices[ii * 6 + 2] = first + ii * 2 + 2; + indices[ii * 6 + 3] = first + ii * 2 + 3; + indices[ii * 6 + 4] = first + ii * 2 + 2; + indices[ii * 6 + 5] = first + ii * 2 + 1; + } + } + else + { + if (!gl_quads_follow_provoking_vertex_convention || (provokeMode == GL_LAST_VERTEX_CONVENTION)) + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 2 + 0; + indices[ii * 6 + 1] = first + ii * 2 + 1; + indices[ii * 6 + 2] = first + ii * 2 + 3; + indices[ii * 6 + 3] = first + ii * 2 + 2; + indices[ii * 6 + 4] = first + ii * 2 + 0; + indices[ii * 6 + 5] = first + ii * 2 + 3; + } + } + else + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 2 + 1; + indices[ii * 6 + 1] = first + ii * 2 + 3; + indices[ii * 6 + 2] = first + ii * 2 + 0; + indices[ii * 6 + 3] = first + ii * 2 + 3; + indices[ii * 6 + 4] = first + ii * 2 + 2; + indices[ii * 6 + 5] = first + ii * 2 + 0; + } + } + } + + while (myCount >= 2) + { + Internal("Regal::Emu::Quads::glDrawArrays","glDrawElements(GL_TRIANGLES,",n*6,",GL_UNSIGNED_INT, [])"); + dt.call(&dt.glDrawElements)(GL_TRIANGLES, n*6, GL_UNSIGNED_INT, indices); + myCount -= (EMU_QUADS_BUFFER_SIZE * 2); + + if (myCount >= 2) + { + n = ((myCount/2-1) < EMU_QUADS_BUFFER_SIZE) ? (myCount/2-1) : EMU_QUADS_BUFFER_SIZE; + for (GLsizei ii=0; ii<(n * 6); ii++) + indices[ii] += (EMU_QUADS_BUFFER_SIZE * 2); + } + } + } + else if ( mode == GL_QUADS ) + { + // convert quads into triangles + + GLuint indices[EMU_QUADS_BUFFER_SIZE * 6]; + GLsizei n = ((myCount/4) < EMU_QUADS_BUFFER_SIZE) ? (myCount/4) : EMU_QUADS_BUFFER_SIZE; + if (shadeMode != GL_FLAT) + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 4 + 0; + indices[ii * 6 + 1] = first + ii * 4 + 1; + indices[ii * 6 + 2] = first + ii * 4 + 2; + indices[ii * 6 + 3] = first + ii * 4 + 3; + indices[ii * 6 + 4] = first + ii * 4 + 0; + indices[ii * 6 + 5] = first + ii * 4 + 2; + } + } + else + { + if (!gl_quads_follow_provoking_vertex_convention || (provokeMode == GL_LAST_VERTEX_CONVENTION)) + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 4 + 0; + indices[ii * 6 + 1] = first + ii * 4 + 1; + indices[ii * 6 + 2] = first + ii * 4 + 3; + indices[ii * 6 + 3] = first + ii * 4 + 1; + indices[ii * 6 + 4] = first + ii * 4 + 2; + indices[ii * 6 + 5] = first + ii * 4 + 3; + } + } + else + { + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 0] = first + ii * 4 + 1; + indices[ii * 6 + 1] = first + ii * 4 + 2; + indices[ii * 6 + 2] = first + ii * 4 + 0; + indices[ii * 6 + 3] = first + ii * 4 + 2; + indices[ii * 6 + 4] = first + ii * 4 + 3; + indices[ii * 6 + 5] = first + ii * 4 + 0; + } + } + } + + while (myCount >= 4) + { + Internal("Regal::Emu::Quads::glDrawArrays","glDrawElements(GL_TRIANGLES,",n*6,",GL_UNSIGNED_INT, [])"); + dt.call(&dt.glDrawElements)(GL_TRIANGLES, n*6, GL_UNSIGNED_INT, indices); + myCount -= (EMU_QUADS_BUFFER_SIZE * 4); + + if (myCount >= 4) + { + n = ((myCount/4) < EMU_QUADS_BUFFER_SIZE) ? (myCount/4) : EMU_QUADS_BUFFER_SIZE; + for (GLsizei ii=0; ii<(n * 6); ii++) + indices[ii] += (EMU_QUADS_BUFFER_SIZE * 4); + } + } + } + if (frontFaceMode != GL_FILL) + dt.call(&dt.glPolygonMode)(GL_FRONT, frontFaceMode); + else if (backFaceMode != GL_FILL) + dt.call(&dt.glPolygonMode)(GL_BACK, backFaceMode); + } + else if (frontFaceMode == GL_LINE || backFaceMode == GL_LINE) + { + if (frontFaceMode != GL_LINE || backFaceMode != GL_LINE) + dt.call(&dt.glPolygonMode)(GL_FRONT_AND_BACK, GL_LINE); + if ( mode == GL_QUAD_STRIP ) + { + // convert quad strips into quad outlines + + GLuint indices[EMU_QUADS_BUFFER_SIZE * 6 + 2]; + GLsizei n = ((myCount/2-1) < EMU_QUADS_BUFFER_SIZE) ? (myCount/2-1) : EMU_QUADS_BUFFER_SIZE; + indices[0] = first + 1; + indices[1] = first + 0; + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 6 + 2] = first + ii * 2 + 1; + indices[ii * 6 + 3] = first + ii * 2 + 3; + indices[ii * 6 + 4] = first + ii * 2 + 2; + indices[ii * 6 + 5] = first + ii * 2 + 0; + indices[ii * 6 + 6] = first + ii * 2 + 2; + indices[ii * 6 + 7] = first + ii * 2 + 3; + } + + while (myCount >= 2) + { + Internal("Regal::Emu::Quads::glDrawArrays","glDrawElements(GL_LINES,",n*6+2,",GL_UNSIGNED_INT, [])"); + dt.call(&dt.glDrawElements)(GL_LINES, n*6+2, GL_UNSIGNED_INT, indices); + myCount -= (EMU_QUADS_BUFFER_SIZE * 2); + + if (myCount >= 2) + { + n = ((myCount/2-1) < EMU_QUADS_BUFFER_SIZE) ? (myCount/2-1) : EMU_QUADS_BUFFER_SIZE; + for (GLsizei ii=0; ii<(n * 6 + 2); ii++) + indices[ii] += (EMU_QUADS_BUFFER_SIZE * 2); + } + } + } + else if ( mode == GL_QUADS ) + { + // convert quads into quad outlines + + GLuint indices[EMU_QUADS_BUFFER_SIZE * 8]; + GLsizei n = ((myCount/4) < EMU_QUADS_BUFFER_SIZE) ? (myCount/4) : EMU_QUADS_BUFFER_SIZE; + for (GLuint ii=0; ii(n); ii++) + { + indices[ii * 8 + 0] = first + ii * 4 + 0; + indices[ii * 8 + 1] = first + ii * 4 + 3; + indices[ii * 8 + 2] = first + ii * 4 + 2; + indices[ii * 8 + 3] = first + ii * 4 + 3; + indices[ii * 8 + 4] = first + ii * 4 + 1; + indices[ii * 8 + 5] = first + ii * 4 + 2; + indices[ii * 8 + 6] = first + ii * 4 + 1; + indices[ii * 8 + 7] = first + ii * 4 + 0; + } + + while (myCount >= 4) + { + Internal("Regal::Emu::Quads::glDrawArrays","glDrawElements(GL_LINES,",n*8,",GL_UNSIGNED_INT, [])"); + dt.call(&dt.glDrawElements)(GL_LINES, n*8, GL_UNSIGNED_INT, indices); + myCount -= (EMU_QUADS_BUFFER_SIZE * 4); + + if (myCount >= 4) + { + n = ((myCount/4) < EMU_QUADS_BUFFER_SIZE) ? (myCount/4) : EMU_QUADS_BUFFER_SIZE; + for (GLsizei ii=0; ii<(n * 8); ii++) + indices[ii] += (EMU_QUADS_BUFFER_SIZE * 4); + } + } + } + if (frontFaceMode != GL_LINE) + dt.call(&dt.glPolygonMode)(GL_FRONT, frontFaceMode); + else if (backFaceMode != GL_LINE) + dt.call(&dt.glPolygonMode)(GL_BACK, backFaceMode); + } + else + { + // convert quad strips or quads into points + dt.call(&dt.glDrawArrays)(GL_POINTS, first, myCount); + } + + return true; +} + +void Quads::glPolygonMode(GLenum f, GLenum m) +{ + //<> Internal("Regal::Emu::Quads::glPolygonMode(", Token::toString(f), ", ", Token::toString(m), ")"); + + switch (f) + { + case GL_FRONT: + frontFaceMode = m; + break; + case GL_BACK: + backFaceMode = m; + break; + case GL_FRONT_AND_BACK: + frontFaceMode = backFaceMode = m; + break; + default: + break; + } +} + +void Quads::glShadeModel(GLenum mode) +{ + //<> Internal("Regal::Emu::Quads::glShadeModel(", Token::toString(mode), ")"); + if (mode == GL_SMOOTH || mode == GL_FLAT) + shadeMode = mode; +} + +void Quads::glProvokingVertex(GLenum mode) +{ + //<> Internal("Regal::Emu::Quads::glProvokingVertex(", Token::toString(mode), ")"); + if (mode == GL_FIRST_VERTEX_CONVENTION || mode == GL_LAST_VERTEX_CONVENTION) + provokeMode = mode; +} + + +}; + +REGAL_NAMESPACE_END + +#endif // REGAL_EMULATION diff --git a/src/regal/RegalQuads.h b/src/regal/RegalQuads.h new file mode 100644 index 0000000..2976280 --- /dev/null +++ b/src/regal/RegalQuads.h @@ -0,0 +1,82 @@ +/* + Copyright (c) 2011-2013 NVIDIA Corporation + Copyright (c) 2011-2012 Cass Everitt + Copyright (c) 2012 Scott Nations + Copyright (c) 2012 Mathias Schott + Copyright (c) 2012 Nigel Stewart + All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + + Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + + Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* + + Regal GL_QUADs emulation layer + Scott Nations + + */ + +#ifndef __REGAL_QUADS_H__ +#define __REGAL_QUADS_H__ + +#include "RegalUtil.h" + +#if REGAL_EMULATION + +REGAL_GLOBAL_BEGIN + +#include + +#include "RegalContext.h" + +REGAL_GLOBAL_END + +REGAL_NAMESPACE_BEGIN + +namespace Emu { + +struct Quads +{ + void Init(RegalContext &ctx); + void Cleanup(RegalContext &ctx); + bool glDrawArrays(RegalContext *ctx, GLenum mode, GLint first, GLsizei count); + + void glPolygonMode(GLenum face, GLenum mode); + void glShadeModel(GLenum mode); + void glProvokingVertex(GLenum mode); + + + + GLenum frontFaceMode; + GLenum backFaceMode; + GLenum shadeMode; + GLenum provokeMode; + bool gl_quads_follow_provoking_vertex_convention : 1; +}; + +} + +REGAL_NAMESPACE_END + +#endif // REGAL_EMULATION + +#endif // ! __REGAL_QUADS_H__ diff --git a/src/regal/RegalState.h b/src/regal/RegalState.h index 6af9235..dbda4f0 100644 --- a/src/regal/RegalState.h +++ b/src/regal/RegalState.h @@ -396,8 +396,9 @@ struct Enable return *this; } - inline Enable &get(DispatchTableGL &dt) + inline Enable &get(RegalContext &ctx) { + DispatchTableGL &dt = ctx.dispatcher.emulation; alphaTest = dt.call(&dt.glIsEnabled)(GL_ALPHA_TEST); autoNormal = dt.call(&dt.glIsEnabled)(GL_AUTO_NORMAL); size_t n = array_size( blend ); @@ -473,7 +474,8 @@ struct Enable sampleAlphaToCoverage = dt.call(&dt.glIsEnabled)(GL_SAMPLE_ALPHA_TO_COVERAGE); sampleAlphaToOne = dt.call(&dt.glIsEnabled)(GL_SAMPLE_ALPHA_TO_ONE); sampleCoverage = dt.call(&dt.glIsEnabled)(GL_SAMPLE_COVERAGE); - sampleShading = dt.call(&dt.glIsEnabled)(GL_SAMPLE_SHADING); + if (ctx.info->gl_version_4_0 || ctx.info->gl_arb_sample_shading) + sampleShading = dt.call(&dt.glIsEnabled)(GL_SAMPLE_SHADING); separable2d = dt.call(&dt.glIsEnabled)(GL_SEPARABLE_2D); stencilTest = dt.call(&dt.glIsEnabled)(GL_STENCIL_TEST); n = array_size( scissorTest ); @@ -507,8 +509,9 @@ struct Enable return *this; } - inline const Enable &set(DispatchTableGL &dt) const + inline const Enable &set(RegalContext &ctx) const { + DispatchTableGL &dt = ctx.dispatcher.emulation; setEnable(dt,GL_ALPHA_TEST,alphaTest); setEnable(dt,GL_AUTO_NORMAL,autoNormal); size_t n = array_size( blend ); @@ -584,7 +587,8 @@ struct Enable setEnable(dt,GL_SAMPLE_ALPHA_TO_COVERAGE,sampleAlphaToCoverage); setEnable(dt,GL_SAMPLE_ALPHA_TO_ONE,sampleAlphaToOne); setEnable(dt,GL_SAMPLE_COVERAGE,sampleCoverage); - setEnable(dt,GL_SAMPLE_SHADING,sampleShading); + if (ctx.info->gl_version_4_0 || ctx.info->gl_arb_sample_shading) + setEnable(dt,GL_SAMPLE_SHADING,sampleShading); setEnable(dt,GL_SEPARABLE_2D,separable2d); setEnable(dt,GL_STENCIL_TEST,stencilTest); n = array_size( scissorTest ); @@ -1974,27 +1978,31 @@ struct Multisample return *this; } - inline Multisample &get(DispatchTableGL &dt) + inline Multisample &get(RegalContext &ctx) { + DispatchTableGL &dt = ctx.dispatcher.emulation; multisample = dt.call(&dt.glIsEnabled)(GL_MULTISAMPLE); sampleAlphaToCoverage = dt.call(&dt.glIsEnabled)(GL_SAMPLE_ALPHA_TO_COVERAGE); sampleAlphaToOne = dt.call(&dt.glIsEnabled)(GL_SAMPLE_ALPHA_TO_ONE); sampleCoverage = dt.call(&dt.glIsEnabled)(GL_SAMPLE_COVERAGE); dt.call(&dt.glGetFloatv)(GL_SAMPLE_COVERAGE_VALUE,&sampleCoverageValue); dt.call(&dt.glGetBooleanv)(GL_SAMPLE_COVERAGE_INVERT,&sampleCoverageInvert); - sampleShading = dt.call(&dt.glIsEnabled)(GL_SAMPLE_SHADING); + if (ctx.info->gl_version_4_0 || ctx.info->gl_arb_sample_shading) + sampleShading = dt.call(&dt.glIsEnabled)(GL_SAMPLE_SHADING); dt.call(&dt.glGetFloatv)(GL_MIN_SAMPLE_SHADING_VALUE,&minSampleShadingValue); return *this; } - inline const Multisample &set(DispatchTableGL &dt) const + inline const Multisample &set(RegalContext &ctx) const { + DispatchTableGL &dt = ctx.dispatcher.emulation; setEnable(dt,GL_MULTISAMPLE,multisample); setEnable(dt,GL_SAMPLE_ALPHA_TO_COVERAGE,sampleAlphaToCoverage); setEnable(dt,GL_SAMPLE_ALPHA_TO_ONE,sampleAlphaToOne); setEnable(dt,GL_SAMPLE_COVERAGE,sampleCoverage); dt.call(&dt.glSampleCoverage)(sampleCoverageValue, sampleCoverageInvert); - setEnable(dt,GL_SAMPLE_SHADING,sampleShading); + if (ctx.info->gl_version_4_0 || ctx.info->gl_arb_sample_shading) + setEnable(dt,GL_SAMPLE_SHADING,sampleShading); dt.call(&dt.glMinSampleShading)(minSampleShadingValue); return *this; } diff --git a/src/regal/RegalTexC.h b/src/regal/RegalTexC.h index b3cec90..7191db8 100644 --- a/src/regal/RegalTexC.h +++ b/src/regal/RegalTexC.h @@ -54,14 +54,14 @@ REGAL_GLOBAL_BEGIN #include "RegalContext.h" #include "RegalSharedMap.h" -REGAL_GLOBAL_END - -REGAL_NAMESPACE_BEGIN - using ::boost::uint8_t; using ::boost::uint16_t; using ::boost::uint32_t; +REGAL_GLOBAL_END + +REGAL_NAMESPACE_BEGIN + namespace Emu { struct TexC; diff --git a/src/regal/RegalToken.cpp b/src/regal/RegalToken.cpp index cce9d51..91acefe 100644 --- a/src/regal/RegalToken.cpp +++ b/src/regal/RegalToken.cpp @@ -282,6 +282,7 @@ namespace Token { } const char * GLenumToString( GLenum e ) { + #if REGAL_ENUM_TO_STRING switch( e ) { case 0x00000000: return "GL_ZERO"; case 0x00000001: return "GL_ONE"; @@ -3598,10 +3599,12 @@ namespace Token { case 0xffffffff: return "GL_INVALID_INDEX"; default: break; } - return "unknown_gl_enum"; + #endif // REGAL_ENUM_TO_STRING + return "unknown_gl_enum"; } const char * GLerrorToString( GLenum e ) { + #if REGAL_ENUM_TO_STRING switch( e ) { case GL_INVALID_ENUM: return "invalid enumerant"; case GL_INVALID_FRAMEBUFFER_OPERATION_EXT: return "invalid framebuffer operation"; @@ -3614,11 +3617,13 @@ namespace Token { case GL_TABLE_TOO_LARGE: return "table too large"; default: break; } - return NULL; + #endif // REGAL_ENUM_TO_STRING + return NULL; } #if REGAL_SYS_GLX const char * GLXenumToString(int v) { + #if REGAL_ENUM_TO_STRING switch( v ) { case 0x00000000: return "GLX_SYNC_FRAME_SGIX"; case 0x00000001: return "GLX_3DFX_WINDOW_MODE_MESA"; @@ -3814,12 +3819,14 @@ namespace Token { case 0xffffffff: return "GLX_DONT_CARE"; default: break; } + #endif // REGAL_ENUM_TO_STRING return "unknown_glx_enum"; } #endif // REGAL_SYS_GLX #if REGAL_SYS_EGL const char * EGLenumToString(int v) { + #if REGAL_ENUM_TO_STRING switch( v ) { case 0x00000000: return "EGL_FALSE"; case 0x00000001: return "EGL_TRUE"; @@ -4041,6 +4048,7 @@ namespace Token { case 0x00008f73: return "EGL_COLOR_ARGB_HI"; default: break; } + #endif // REGAL_ENUM_TO_STRING return "unknown_egl_enum"; } #endif // REGAL_SYS_EGL diff --git a/src/regal/RegalUtil.h b/src/regal/RegalUtil.h index 7900cbb..501d32d 100644 --- a/src/regal/RegalUtil.h +++ b/src/regal/RegalUtil.h @@ -194,6 +194,13 @@ # endif #endif +// Converting enum values to strings adds some footprint, +// opt-out with -DREGAL_ENUM_TO_STRING=0 + +#ifndef REGAL_ENUM_TO_STRING +#define REGAL_ENUM_TO_STRING 1 +#endif + // Driver dispatch supported by default #ifndef REGAL_DRIVER @@ -270,6 +277,10 @@ #define REGAL_EMU_IFF 1 #endif +#ifndef REGAL_EMU_QUADS +#define REGAL_EMU_QUADS 0 +#endif + #ifndef REGAL_EMU_SO #define REGAL_EMU_SO 1 #endif @@ -340,6 +351,10 @@ #define REGAL_FORCE_EMU_IFF 0 #endif +#ifndef REGAL_FORCE_EMU_QUADS +#define REGAL_FORCE_EMU_QUADS 0 +#endif + #ifndef REGAL_FORCE_EMU_SO #define REGAL_FORCE_EMU_SO 0 #endif diff --git a/tests/testRegalPixelConversions.cpp b/tests/testRegalPixelConversions.cpp index e40f723..813edc7 100644 --- a/tests/testRegalPixelConversions.cpp +++ b/tests/testRegalPixelConversions.cpp @@ -33,7 +33,7 @@ #include -#include "RegalPixelConversions.h" +#include namespace { diff --git a/tests/testRegalState.cpp b/tests/testRegalState.cpp index 7124a02..2b971c5 100644 --- a/tests/testRegalState.cpp +++ b/tests/testRegalState.cpp @@ -110,9 +110,9 @@ TEST( RegalStateTransform, WorksAsExpected ) State::Transform t2; for ( size_t i = 0; i < t1.maxPlanes(); ++i ) { - t1.clipPlane[ i ].enabled = 50 + i; + t1.clipPlane[ i ].enabled = static_cast(50 + i); for ( size_t j = 0; j < 4; ++j ) { - t1.clipPlane[ i ].equation.data[ j ] = i * 4 + j; + t1.clipPlane[ i ].equation.data[ j ] = static_cast(i * 4 + j); } }