From 3b259ace0270dcdfd4931b9ec3d5860f35764279 Mon Sep 17 00:00:00 2001 From: Peter Mackay Date: Sun, 28 Jan 2018 09:07:32 +0000 Subject: [PATCH] Import. --- .clang-format | 102 + .gitignore | 4 + .gitmodules | 24 + COPYING.txt | 339 + README.md | 52 + docs/screenshots/VitaTester.png | Bin 0 -> 142914 bytes docs/screenshots/vitaQuake.png | Bin 0 -> 674434 bytes format.sh | 4 + gen.bat | 4 + gen.sh | 6 + reversing/SceGxmProgram.grammar | 32 + src/CMakeLists.txt | 6 + src/emulator/CMakeLists.txt | 64 + src/emulator/audio/CMakeLists.txt | 10 + src/emulator/audio/include/audio/functions.h | 28 + src/emulator/audio/include/audio/state.h | 83 + src/emulator/audio/src/audio.cpp | 109 + src/emulator/cpu/CMakeLists.txt | 10 + src/emulator/cpu/include/cpu/functions.h | 37 + src/emulator/cpu/src/cpu.cpp | 223 + src/emulator/ctrl/CMakeLists.txt | 7 + src/emulator/ctrl/include/ctrl/state.h | 15 + src/emulator/disasm/CMakeLists.txt | 11 + .../disasm/include/disasm/functions.h | 25 + src/emulator/disasm/include/disasm/state.h | 30 + src/emulator/disasm/src/disasm.cpp | 63 + src/emulator/glutil/CMakeLists.txt | 11 + src/emulator/glutil/include/glutil/gl.h | 24 + src/emulator/glutil/include/glutil/object.h | 37 + .../glutil/include/glutil/object_array.h | 69 + src/emulator/glutil/src/object.cpp | 43 + src/emulator/gxm/CMakeLists.txt | 7 + src/emulator/gxm/include/gxm/state.h | 19 + src/emulator/host/CMakeLists.txt | 16 + src/emulator/host/include/host/functions.h | 26 + src/emulator/host/include/host/import_fn.h | 24 + src/emulator/host/include/host/state.h | 42 + src/emulator/host/include/host/version.h | 5 + src/emulator/host/src/host.cpp | 103 + src/emulator/host/src/version.cpp.in | 5 + src/emulator/io/CMakeLists.txt | 10 + src/emulator/io/include/io/functions.h | 29 + src/emulator/io/include/io/state.h | 39 + src/emulator/io/src/io.cpp | 210 + src/emulator/kernel/CMakeLists.txt | 13 + .../kernel/include/kernel/functions.h | 28 + src/emulator/kernel/include/kernel/state.h | 62 + .../kernel/include/kernel/thread_functions.h | 32 + .../kernel/include/kernel/thread_state.h | 44 + src/emulator/kernel/src/kernel.cpp | 53 + src/emulator/kernel/src/thread.cpp | 69 + src/emulator/load_self.cpp | 124 + src/emulator/load_self.h | 24 + src/emulator/main.cpp | 112 + src/emulator/mem/CMakeLists.txt | 9 + src/emulator/mem/include/mem/mem.h | 55 + src/emulator/mem/include/mem/ptr.h | 98 + src/emulator/mem/src/mem.cpp | 147 + src/emulator/module/CMakeLists.txt | 14 + src/emulator/module/include/module/bridge.h | 72 + .../module/include/module/bridge_args.h | 122 + .../module/include/module/bridge_return.h | 41 + src/emulator/module/include/module/module.h | 34 + src/emulator/module/src/bridge_return.cpp | 36 + src/emulator/module/src/module.cpp | 42 + src/emulator/modules/CMakeLists.txt | 261 + .../modules/SceAVConfig/CMakeLists.txt | 3 + .../SceAVConfig/include/SceAVConfig/exports.h | 56 + .../modules/SceAVConfig/src/SceAVConfig.cpp | 189 + src/emulator/modules/SceAppMgr/CMakeLists.txt | 3 + .../SceAppMgr/include/SceAppMgr/exports.h | 352 + .../modules/SceAppMgr/src/SceAppMgr.cpp | 974 ++ .../modules/SceAppMgr/src/SceAppMgrUser.cpp | 634 + .../modules/SceAppMgr/src/SceSharedFb.cpp | 79 + .../modules/SceAppUtil/CMakeLists.txt | 3 + .../SceAppUtil/include/SceAppUtil/exports.h | 67 + .../modules/SceAppUtil/src/SceAppUtil.cpp | 229 + .../SceAppUtil/src/SceAppUtilCache.cpp | 24 + src/emulator/modules/SceAtrac/CMakeLists.txt | 3 + .../SceAtrac/include/SceAtrac/exports.h | 46 + .../modules/SceAtrac/src/SceAtrac.cpp | 139 + src/emulator/modules/SceAudio/CMakeLists.txt | 3 + .../SceAudio/include/SceAudio/exports.h | 31 + .../modules/SceAudio/src/SceAudio.cpp | 112 + .../modules/SceAudioIn/CMakeLists.txt | 3 + .../SceAudioIn/include/SceAudioIn/exports.h | 27 + .../modules/SceAudioIn/src/SceAudioIn.cpp | 44 + .../modules/SceAudiodec/CMakeLists.txt | 3 + .../SceAudiodec/include/SceAudiodec/exports.h | 34 + .../SceAudiodec/src/SceAudiodecUser.cpp | 79 + .../modules/SceAudioenc/CMakeLists.txt | 3 + .../SceAudioenc/include/SceAudioenc/exports.h | 33 + .../SceAudioenc/src/SceAudioencUser.cpp | 74 + .../modules/SceAvPlayer/CMakeLists.txt | 3 + .../SceAvPlayer/include/SceAvPlayer/exports.h | 42 + .../modules/SceAvPlayer/src/SceAvPlayer.cpp | 119 + src/emulator/modules/SceBt/CMakeLists.txt | 3 + .../modules/SceBt/include/SceBt/exports.h | 68 + src/emulator/modules/SceBt/src/SceBt.cpp | 249 + src/emulator/modules/SceCamera/CMakeLists.txt | 3 + .../SceCamera/include/SceCamera/exports.h | 61 + .../modules/SceCamera/src/SceCamera.cpp | 214 + .../modules/SceClipboard/CMakeLists.txt | 3 + .../include/SceClipboard/exports.h | 24 + .../modules/SceClipboard/src/SceClipboard.cpp | 29 + .../modules/SceCodecEngine/CMakeLists.txt | 3 + .../include/SceCodecEngine/exports.h | 26 + .../SceCodecEngine/src/SceCodecEngineUser.cpp | 39 + .../modules/SceCodecEnginePerf/CMakeLists.txt | 3 + .../include/SceCodecEnginePerf/exports.h | 26 + .../src/SceCodecEnginePerf.cpp | 39 + .../modules/SceCommonDialog/CMakeLists.txt | 3 + .../include/SceCommonDialog/exports.h | 121 + .../SceCommonDialog/src/SceCommonDialog.cpp | 514 + .../modules/SceCoredump/CMakeLists.txt | 3 + .../SceCoredump/include/SceCoredump/exports.h | 27 + .../modules/SceCoredump/src/SceCoredump.cpp | 29 + .../SceCoredump/src/SceCoredumpNounlink.cpp | 24 + src/emulator/modules/SceCtrl/CMakeLists.txt | 3 + .../modules/SceCtrl/include/SceCtrl/exports.h | 59 + src/emulator/modules/SceCtrl/src/SceCtrl.cpp | 373 + src/emulator/modules/SceDTrace/CMakeLists.txt | 3 + .../SceDTrace/include/SceDTrace/exports.h | 28 + .../modules/SceDTrace/src/SceDTrace.cpp | 49 + src/emulator/modules/SceDeci4p/CMakeLists.txt | 3 + .../SceDeci4p/include/SceDeci4p/exports.h | 32 + .../modules/SceDeci4p/src/SceDeci4pUserp.cpp | 69 + src/emulator/modules/SceDeflt/CMakeLists.txt | 3 + .../SceDeflt/include/SceDeflt/exports.h | 37 + .../modules/SceDeflt/src/SceDeflt.cpp | 94 + .../modules/SceDisplay/CMakeLists.txt | 3 + .../SceDisplay/include/SceDisplay/exports.h | 38 + .../modules/SceDisplay/src/SceDisplay.cpp | 85 + .../modules/SceDisplay/src/SceDisplayUser.cpp | 99 + src/emulator/modules/SceFace/CMakeLists.txt | 3 + .../modules/SceFace/include/SceFace/exports.h | 45 + src/emulator/modules/SceFace/src/SceFace.cpp | 134 + src/emulator/modules/SceFiber/CMakeLists.txt | 3 + .../SceFiber/include/SceFiber/exports.h | 38 + .../modules/SceFiber/src/SceFiber.cpp | 99 + src/emulator/modules/SceFios2/CMakeLists.txt | 3 + .../SceFios2/include/SceFios2/exports.h | 172 + .../modules/SceFios2/src/SceFios2.cpp | 769 ++ src/emulator/modules/SceGpuEs4/CMakeLists.txt | 3 + .../SceGpuEs4/include/SceGpuEs4/exports.h | 29 + .../SceGpuEs4/src/SceGpuEs4ForUser.cpp | 54 + src/emulator/modules/SceGxm/CMakeLists.txt | 3 + .../modules/SceGxm/include/SceGxm/exports.h | 275 + src/emulator/modules/SceGxm/src/SceGxm.cpp | 2061 +++ src/emulator/modules/SceGxm/src/gxm.h | 198 + .../modules/SceHandwriting/CMakeLists.txt | 3 + .../include/SceHandwriting/exports.h | 33 + .../SceHandwriting/src/SceHandwriting.cpp | 74 + src/emulator/modules/SceHeap/CMakeLists.txt | 3 + .../modules/SceHeap/include/SceHeap/exports.h | 32 + src/emulator/modules/SceHeap/src/SceHeap.cpp | 69 + src/emulator/modules/SceHid/CMakeLists.txt | 3 + .../modules/SceHid/include/SceHid/exports.h | 26 + src/emulator/modules/SceHid/src/SceHid.cpp | 39 + src/emulator/modules/SceHmac/CMakeLists.txt | 3 + .../modules/SceHmac/include/SceHmac/exports.h | 50 + src/emulator/modules/SceHmac/src/SceHmac.cpp | 159 + src/emulator/modules/SceIme/CMakeLists.txt | 3 + .../modules/SceIme/include/SceIme/exports.h | 28 + src/emulator/modules/SceIme/src/SceIme.cpp | 49 + .../modules/SceIofilemgr/CMakeLists.txt | 3 + .../include/SceIofilemgr/exports.h | 43 + .../modules/SceIofilemgr/src/SceIofilemgr.cpp | 127 + src/emulator/modules/SceJpeg/CMakeLists.txt | 3 + .../modules/SceJpeg/include/SceJpeg/exports.h | 33 + .../modules/SceJpeg/src/SceJpegUser.cpp | 74 + .../modules/SceJpegEnc/CMakeLists.txt | 3 + .../SceJpegEnc/include/SceJpegEnc/exports.h | 32 + .../modules/SceJpegEnc/src/SceJpegEncUser.cpp | 69 + .../modules/SceKernelDmacMgr/CMakeLists.txt | 3 + .../include/SceKernelDmacMgr/exports.h | 24 + .../SceKernelDmacMgr/src/SceDmacmgr.cpp | 29 + .../modules/SceKernelModulemgr/CMakeLists.txt | 3 + .../include/SceKernelModulemgr/exports.h | 29 + .../SceKernelModulemgr/src/SceModulemgr.cpp | 54 + .../modules/SceKernelThreadMgr/CMakeLists.txt | 3 + .../include/SceKernelThreadMgr/exports.h | 105 + .../SceKernelThreadMgr/src/SceDebugLed.cpp | 29 + .../SceKernelThreadMgr/src/SceDipsw.cpp | 34 + .../SceKernelThreadMgr/src/SceThreadmgr.cpp | 392 + .../src/SceThreadmgrCoredumpTime.cpp | 24 + src/emulator/modules/SceLibDbg/CMakeLists.txt | 3 + .../SceLibDbg/include/SceLibDbg/exports.h | 27 + src/emulator/modules/SceLibDbg/src/SceDbg.cpp | 44 + .../modules/SceLibGameUpdate/CMakeLists.txt | 3 + .../include/SceLibGameUpdate/exports.h | 26 + .../SceLibGameUpdate/src/SceGameUpdate.cpp | 39 + .../modules/SceLibHttp/CMakeLists.txt | 3 + .../SceLibHttp/include/SceLibHttp/exports.h | 109 + .../modules/SceLibHttp/src/SceHttp.cpp | 454 + .../modules/SceLibKernel/CMakeLists.txt | 3 + .../include/SceLibKernel/exports.h | 292 + .../modules/SceLibKernel/src/SceLibKernel.cpp | 1508 +++ .../modules/SceLibKernel/src/SceLibRng.cpp | 24 + .../modules/SceLibLocation/CMakeLists.txt | 3 + .../include/SceLibLocation/exports.h | 44 + .../SceLibLocation/src/SceLibLocation.cpp | 129 + .../SceLibLocationExtension/CMakeLists.txt | 3 + .../include/SceLibLocationExtension/exports.h | 25 + .../src/SceLibLocationExtension.cpp | 34 + .../modules/SceLibMonoBridge/CMakeLists.txt | 3 + .../include/SceLibMonoBridge/exports.h | 316 + .../SceLibMonoBridge/src/SceLibMonoBridge.cpp | 1489 ++ .../modules/SceLibNetCtl/CMakeLists.txt | 3 + .../include/SceLibNetCtl/exports.h | 40 + .../modules/SceLibNetCtl/src/SceNetCtl.cpp | 109 + src/emulator/modules/SceLibPgf/CMakeLists.txt | 3 + .../SceLibPgf/include/SceLibPgf/exports.h | 45 + src/emulator/modules/SceLibPgf/src/ScePgf.cpp | 134 + .../modules/SceLibPspnetAdhoc/CMakeLists.txt | 3 + .../include/SceLibPspnetAdhoc/exports.h | 50 + .../SceLibPspnetAdhoc/src/ScePspnetAdhoc.cpp | 159 + src/emulator/modules/SceLibPvf/CMakeLists.txt | 3 + .../SceLibPvf/include/SceLibPvf/exports.h | 65 + src/emulator/modules/SceLibPvf/src/ScePvf.cpp | 234 + .../modules/SceLibRudp/CMakeLists.txt | 3 + .../SceLibRudp/include/SceLibRudp/exports.h | 52 + .../modules/SceLibRudp/src/SceLibRudp.cpp | 169 + src/emulator/modules/SceLibSsl/CMakeLists.txt | 3 + .../SceLibSsl/include/SceLibSsl/exports.h | 33 + src/emulator/modules/SceLibSsl/src/SceSsl.cpp | 74 + src/emulator/modules/SceLibc/CMakeLists.txt | 3 + src/emulator/modules/SceLibc/SceLibc.cpp | 11 + .../modules/SceLibc/include/SceLibc/exports.h | 314 + src/emulator/modules/SceLibc/src/SceLibc.cpp | 1479 ++ .../modules/SceLiveAreaUtil/CMakeLists.txt | 3 + .../include/SceLiveAreaUtil/exports.h | 30 + .../SceLiveAreaUtil/src/SceLiveAreaUtil.cpp | 59 + src/emulator/modules/SceLsdb/CMakeLists.txt | 3 + .../modules/SceLsdb/include/SceLsdb/exports.h | 37 + src/emulator/modules/SceLsdb/src/SceLsdb.cpp | 94 + src/emulator/modules/SceMd5/CMakeLists.txt | 3 + .../modules/SceMd5/include/SceMd5/exports.h | 26 + src/emulator/modules/SceMd5/src/SceMd5.cpp | 39 + src/emulator/modules/SceMotion/CMakeLists.txt | 3 + .../SceMotion/include/SceMotion/exports.h | 41 + .../modules/SceMotion/src/SceMotion.cpp | 114 + .../modules/SceMotionDev/CMakeLists.txt | 3 + .../include/SceMotionDev/exports.h | 53 + .../modules/SceMotionDev/src/SceMotionDev.cpp | 174 + .../modules/SceMt19937/CMakeLists.txt | 3 + .../SceMt19937/include/SceMt19937/exports.h | 24 + .../modules/SceMt19937/src/SceMt19937.cpp | 29 + .../modules/SceMtpIfDriver/CMakeLists.txt | 3 + .../include/SceMtpIfDriver/exports.h | 37 + .../modules/SceMtpIfDriver/src/SceMtpIf.cpp | 94 + .../modules/SceMusicExport/CMakeLists.txt | 3 + .../include/SceMusicExport/exports.h | 23 + .../SceMusicExport/src/SceMusicExport.cpp | 24 + .../modules/SceNearDialogUtil/CMakeLists.txt | 3 + .../include/SceNearDialogUtil/exports.h | 55 + .../src/SceNearDialogUtil.cpp | 184 + .../modules/SceNearUtil/CMakeLists.txt | 3 + .../SceNearUtil/include/SceNearUtil/exports.h | 51 + .../modules/SceNearUtil/src/SceNearUtil.cpp | 164 + src/emulator/modules/SceNet/CMakeLists.txt | 3 + .../modules/SceNet/include/SceNet/exports.h | 78 + src/emulator/modules/SceNet/src/SceNet.cpp | 299 + .../SceNetAdhocMatching/CMakeLists.txt | 3 + .../include/SceNetAdhocMatching/exports.h | 36 + .../src/SceNetAdhocMatching.cpp | 89 + src/emulator/modules/SceNgs/CMakeLists.txt | 3 + .../modules/SceNgs/include/SceNgs/exports.h | 90 + src/emulator/modules/SceNgs/src/SceNgs.cpp | 359 + .../modules/SceNpActivity/CMakeLists.txt | 3 + .../include/SceNpActivity/exports.h | 25 + .../SceNpActivity/src/SceNpActivity.cpp | 34 + .../modules/SceNpBasic/CMakeLists.txt | 3 + .../SceNpBasic/include/SceNpBasic/exports.h | 49 + .../modules/SceNpBasic/src/SceNpBasic.cpp | 154 + .../modules/SceNpCommerce2/CMakeLists.txt | 3 + .../include/SceNpCommerce2/exports.h | 64 + .../SceNpCommerce2/src/SceNpCommerce2.cpp | 229 + .../modules/SceNpCommon/CMakeLists.txt | 3 + .../SceNpCommon/include/SceNpCommon/exports.h | 37 + .../modules/SceNpCommon/src/SceNpCommon.cpp | 94 + src/emulator/modules/SceNpDrm/CMakeLists.txt | 3 + .../SceNpDrm/include/SceNpDrm/exports.h | 42 + .../modules/SceNpDrm/src/SceNpDrm.cpp | 59 + .../modules/SceNpDrm/src/SceNpDrmPackage.cpp | 69 + .../modules/SceNpManager/CMakeLists.txt | 3 + .../include/SceNpManager/exports.h | 33 + .../modules/SceNpManager/src/SceNpManager.cpp | 74 + .../modules/SceNpMatching2/CMakeLists.txt | 3 + .../include/SceNpMatching2/exports.h | 72 + .../SceNpMatching2/src/SceNpMatching2.cpp | 269 + .../modules/SceNpMessage/CMakeLists.txt | 3 + .../include/SceNpMessage/exports.h | 33 + .../modules/SceNpMessage/src/SceNpMessage.cpp | 74 + .../modules/SceNpPartyGameUtil/CMakeLists.txt | 3 + .../include/SceNpPartyGameUtil/exports.h | 30 + .../src/SceNpPartyGameUtil.cpp | 59 + .../modules/SceNpScore/CMakeLists.txt | 3 + .../SceNpScore/include/SceNpScore/exports.h | 52 + .../modules/SceNpScore/src/SceNpScore.cpp | 169 + .../modules/SceNpSignaling/CMakeLists.txt | 3 + .../include/SceNpSignaling/exports.h | 40 + .../SceNpSignaling/src/SceNpSignaling.cpp | 109 + .../modules/SceNpSnsFacebook/CMakeLists.txt | 3 + .../include/SceNpSnsFacebook/exports.h | 29 + .../SceNpSnsFacebook/src/SceNpSnsFacebook.cpp | 54 + .../modules/SceNpTrophy/CMakeLists.txt | 3 + .../SceNpTrophy/include/SceNpTrophy/exports.h | 37 + .../modules/SceNpTrophy/src/SceNpTrophy.cpp | 94 + src/emulator/modules/SceNpTus/CMakeLists.txt | 3 + .../SceNpTus/include/SceNpTus/exports.h | 85 + .../modules/SceNpTus/src/SceNpTus.cpp | 334 + .../modules/SceNpUtility/CMakeLists.txt | 3 + .../include/SceNpUtility/exports.h | 56 + .../modules/SceNpUtility/src/SceNpUtility.cpp | 189 + src/emulator/modules/ScePaf/CMakeLists.txt | 3 + .../modules/ScePaf/include/ScePaf/exports.h | 41 + .../modules/ScePaf/src/ScePafStdc.cpp | 114 + src/emulator/modules/ScePerf/CMakeLists.txt | 3 + .../modules/ScePerf/include/ScePerf/exports.h | 49 + src/emulator/modules/ScePerf/src/ScePerf.cpp | 154 + .../modules/ScePhotoExport/CMakeLists.txt | 3 + .../include/ScePhotoExport/exports.h | 26 + .../ScePhotoExport/src/ScePhotoExport.cpp | 39 + src/emulator/modules/ScePower/CMakeLists.txt | 3 + .../ScePower/include/ScePower/exports.h | 60 + .../modules/ScePower/src/ScePower.cpp | 211 + .../modules/SceProcessmgr/CMakeLists.txt | 3 + .../include/SceProcessmgr/exports.h | 38 + .../SceProcessmgr/src/SceProcessmgr.cpp | 102 + .../modules/ScePromoterUtil/CMakeLists.txt | 3 + .../include/ScePromoterUtil/exports.h | 32 + .../ScePromoterUtil/src/ScePromoterUtil.cpp | 69 + .../modules/SceRazorCapture/CMakeLists.txt | 3 + .../include/SceRazorCapture/exports.h | 32 + .../SceRazorCapture/src/SceRazorCapture.cpp | 69 + .../modules/SceRazorHud/CMakeLists.txt | 3 + .../SceRazorHud/include/SceRazorHud/exports.h | 39 + .../modules/SceRazorHud/src/SceRazorHud.cpp | 104 + .../modules/SceRegistryMgr/CMakeLists.txt | 3 + .../include/SceRegistryMgr/exports.h | 67 + .../modules/SceRegistryMgr/src/SceRegMgr.cpp | 129 + .../SceRegistryMgr/src/SceRegMgrForGame.cpp | 49 + .../SceRegistryMgr/src/SceRegMgrForSDK.cpp | 49 + .../SceRegistryMgr/src/SceRegMgrService.cpp | 44 + src/emulator/modules/SceRtc/CMakeLists.txt | 3 + .../modules/SceRtc/include/SceRtc/exports.h | 65 + src/emulator/modules/SceRtc/src/SceRtc.cpp | 24 + .../modules/SceRtc/src/SceRtcUser.cpp | 229 + .../modules/SceSasUser/CMakeLists.txt | 3 + .../SceSasUser/include/SceSasUser/exports.h | 55 + .../modules/SceSasUser/src/SceSas.cpp | 184 + .../modules/SceSblUpdateMgr/CMakeLists.txt | 3 + .../include/SceSblUpdateMgr/exports.h | 23 + .../SceSblUpdateMgr/src/SceSblSsUpdateMgr.cpp | 24 + .../modules/SceScreenShot/CMakeLists.txt | 3 + .../include/SceScreenShot/exports.h | 30 + .../SceScreenShot/src/SceScreenShot.cpp | 59 + .../modules/SceSfmt11213/CMakeLists.txt | 3 + .../include/SceSfmt11213/exports.h | 28 + .../modules/SceSfmt11213/src/SceSfmt11213.cpp | 49 + .../modules/SceSfmt1279/CMakeLists.txt | 3 + .../SceSfmt1279/include/SceSfmt1279/exports.h | 28 + .../modules/SceSfmt1279/src/SceSfmt1279.cpp | 49 + .../modules/SceSfmt132049/CMakeLists.txt | 3 + .../include/SceSfmt132049/exports.h | 28 + .../SceSfmt132049/src/SceSfmt132049.cpp | 49 + .../modules/SceSfmt19937/CMakeLists.txt | 3 + .../include/SceSfmt19937/exports.h | 28 + .../modules/SceSfmt19937/src/SceSfmt19937.cpp | 49 + .../modules/SceSfmt216091/CMakeLists.txt | 3 + .../include/SceSfmt216091/exports.h | 28 + .../SceSfmt216091/src/SceSfmt216091.cpp | 49 + .../modules/SceSfmt2281/CMakeLists.txt | 3 + .../SceSfmt2281/include/SceSfmt2281/exports.h | 28 + .../modules/SceSfmt2281/src/SceSfmt2281.cpp | 49 + .../modules/SceSfmt4253/CMakeLists.txt | 3 + .../SceSfmt4253/include/SceSfmt4253/exports.h | 28 + .../modules/SceSfmt4253/src/SceSfmt4253.cpp | 49 + .../modules/SceSfmt44497/CMakeLists.txt | 3 + .../include/SceSfmt44497/exports.h | 28 + .../modules/SceSfmt44497/src/SceSfmt44497.cpp | 49 + .../modules/SceSfmt607/CMakeLists.txt | 3 + .../SceSfmt607/include/SceSfmt607/exports.h | 28 + .../modules/SceSfmt607/src/SceSfmt607.cpp | 49 + .../modules/SceSfmt86243/CMakeLists.txt | 3 + .../include/SceSfmt86243/exports.h | 28 + .../modules/SceSfmt86243/src/SceSfmt86243.cpp | 49 + src/emulator/modules/SceSha0/CMakeLists.txt | 3 + .../modules/SceSha0/include/SceSha0/exports.h | 26 + src/emulator/modules/SceSha0/src/SceSha0.cpp | 39 + src/emulator/modules/SceSha1/CMakeLists.txt | 3 + .../modules/SceSha1/include/SceSha1/exports.h | 26 + src/emulator/modules/SceSha1/src/SceSha1.cpp | 39 + src/emulator/modules/SceSha224/CMakeLists.txt | 3 + .../SceSha224/include/SceSha224/exports.h | 26 + .../modules/SceSha224/src/SceSha224.cpp | 39 + src/emulator/modules/SceSha256/CMakeLists.txt | 3 + .../SceSha256/include/SceSha256/exports.h | 26 + .../modules/SceSha256/src/SceSha256.cpp | 39 + src/emulator/modules/SceSha384/CMakeLists.txt | 3 + .../SceSha384/include/SceSha384/exports.h | 26 + .../modules/SceSha384/src/SceSha384.cpp | 39 + src/emulator/modules/SceSha512/CMakeLists.txt | 3 + .../SceSha512/include/SceSha512/exports.h | 26 + .../modules/SceSha512/src/SceSha512.cpp | 39 + .../modules/SceSha512t/CMakeLists.txt | 3 + .../SceSha512t/include/SceSha512t/exports.h | 26 + .../modules/SceSha512t/src/SceSha512t.cpp | 39 + .../modules/SceShellSvc/CMakeLists.txt | 3 + .../SceShellSvc/include/SceShellSvc/exports.h | 26 + .../modules/SceShellSvc/src/SceShellUtil.cpp | 39 + .../modules/SceShutterSound/CMakeLists.txt | 3 + .../include/SceShutterSound/exports.h | 23 + .../SceShutterSound/src/SceShutterSound.cpp | 24 + src/emulator/modules/SceSmart/CMakeLists.txt | 3 + .../SceSmart/include/SceSmart/exports.h | 62 + .../modules/SceSmart/src/SceSmart.cpp | 219 + src/emulator/modules/SceSqlite/CMakeLists.txt | 3 + .../SceSqlite/include/SceSqlite/exports.h | 195 + .../modules/SceSqlite/src/SceSqlite.cpp | 884 ++ src/emulator/modules/SceStdio/CMakeLists.txt | 3 + .../SceStdio/include/SceStdio/exports.h | 25 + .../modules/SceStdio/src/SceStdio.cpp | 34 + src/emulator/modules/SceSulpha/CMakeLists.txt | 3 + .../SceSulpha/include/SceSulpha/exports.h | 45 + .../modules/SceSulpha/src/SceSulpha.cpp | 134 + src/emulator/modules/SceSysmem/CMakeLists.txt | 3 + .../SceSysmem/include/SceSysmem/exports.h | 42 + .../modules/SceSysmem/src/SceSysmem.cpp | 164 + .../modules/SceSysmodule/CMakeLists.txt | 3 + .../include/SceSysmodule/exports.h | 30 + .../modules/SceSysmodule/src/SceSysmodule.cpp | 61 + .../modules/SceSystemGesture/CMakeLists.txt | 3 + .../include/SceSystemGesture/exports.h | 39 + .../SceSystemGesture/src/SceSystemGesture.cpp | 104 + src/emulator/modules/SceTouch/CMakeLists.txt | 3 + .../SceTouch/include/SceTouch/exports.h | 48 + .../modules/SceTouch/src/SceTouch.cpp | 184 + src/emulator/modules/SceUdcd/CMakeLists.txt | 3 + .../modules/SceUdcd/include/SceUdcd/exports.h | 28 + src/emulator/modules/SceUdcd/src/SceUdcd.cpp | 49 + src/emulator/modules/SceUlt/CMakeLists.txt | 3 + .../modules/SceUlt/include/SceUlt/exports.h | 84 + src/emulator/modules/SceUlt/src/SceUlt.cpp | 329 + .../modules/SceUsbSerial/CMakeLists.txt | 3 + .../include/SceUsbSerial/exports.h | 29 + .../modules/SceUsbSerial/src/SceUsbSerial.cpp | 54 + src/emulator/modules/SceUsbd/CMakeLists.txt | 3 + .../modules/SceUsbd/include/SceUsbd/exports.h | 45 + .../modules/SceUsbd/src/SceUsbdForUser.cpp | 134 + .../SceUsbstorVStorDriver/CMakeLists.txt | 3 + .../include/SceUsbstorVStorDriver/exports.h | 26 + .../src/SceUsbstorVStor.cpp | 39 + .../modules/SceVideoExport/CMakeLists.txt | 3 + .../include/SceVideoExport/exports.h | 23 + .../SceVideoExport/src/SceVideoExport.cpp | 24 + .../modules/SceVideodec/CMakeLists.txt | 3 + .../SceVideodec/include/SceVideodec/exports.h | 43 + .../SceVideodec/src/SceVideodecUser.cpp | 124 + src/emulator/modules/SceVoice/CMakeLists.txt | 3 + .../SceVoice/include/SceVoice/exports.h | 50 + .../modules/SceVoice/src/SceVoice.cpp | 159 + .../modules/SceVoiceQoS/CMakeLists.txt | 3 + .../SceVoiceQoS/include/SceVoiceQoS/exports.h | 39 + .../modules/SceVoiceQoS/src/SceVoiceQoS.cpp | 104 + .../modules/SceVshBridge/CMakeLists.txt | 3 + .../include/SceVshBridge/exports.h | 209 + .../modules/SceVshBridge/src/SceVshBridge.cpp | 954 ++ src/emulator/nids/CMakeLists.txt | 9 + src/emulator/nids/include/nids/functions.h | 5 + src/emulator/nids/include/nids/nids.h | 4485 +++++++ src/emulator/nids/src/nids.cpp | 17 + src/emulator/relocation.cpp | 227 + src/emulator/relocation.h | 29 + .../shaders/10622023203265062212.glsl | 9 + .../shaders/13599876527580594779.glsl | 9 + .../shaders/13734954368157190244.glsl | 11 + .../shaders/15572183010274844106.glsl | 9 + src/emulator/shaders/6959385632856496271.glsl | 14 + src/emulator/shaders/7762965783345142270.glsl | 10 + src/emulator/shaders/8854786452444500389.glsl | 14 + src/emulator/util/CMakeLists.txt | 6 + src/emulator/util/include/util/find.h | 14 + .../util/include/util/lock_and_find.h | 11 + src/emulator/util/include/util/resource.h | 31 + src/emulator/vpk.cpp | 69 + src/emulator/vpk.h | 25 + src/external/CMakeLists.txt | 62 + src/external/capstone | 1 + src/external/elfio | 1 + src/external/glbinding | 1 + src/external/microprofile | 1 + src/external/miniz/LICENSE | 22 + src/external/miniz/miniz.c | 7557 +++++++++++ src/external/miniz/miniz.h | 1328 ++ src/external/sdl/macos/License.txt | 19 + src/external/sdl/macos/ReadMe.txt | 32 + src/external/sdl/macos/SDL2.framework/Headers | 1 + .../sdl/macos/SDL2.framework/Resources | 1 + src/external/sdl/macos/SDL2.framework/SDL2 | 1 + .../SDL2.framework/Versions/A/Headers/SDL.h | 133 + .../Versions/A/Headers/SDL_assert.h | 291 + .../Versions/A/Headers/SDL_atomic.h | 274 + .../Versions/A/Headers/SDL_audio.h | 825 ++ .../Versions/A/Headers/SDL_bits.h | 112 + .../Versions/A/Headers/SDL_blendmode.h | 120 + .../Versions/A/Headers/SDL_clipboard.h | 71 + .../Versions/A/Headers/SDL_config.h | 53 + .../Versions/A/Headers/SDL_config_macosx.h | 199 + .../Versions/A/Headers/SDL_copying.h | 20 + .../Versions/A/Headers/SDL_cpuinfo.h | 176 + .../Versions/A/Headers/SDL_endian.h | 260 + .../Versions/A/Headers/SDL_error.h | 76 + .../Versions/A/Headers/SDL_events.h | 754 ++ .../Versions/A/Headers/SDL_filesystem.h | 136 + .../Versions/A/Headers/SDL_gamecontroller.h | 362 + .../Versions/A/Headers/SDL_gesture.h | 87 + .../Versions/A/Headers/SDL_haptic.h | 1227 ++ .../Versions/A/Headers/SDL_hints.h | 959 ++ .../Versions/A/Headers/SDL_joystick.h | 382 + .../Versions/A/Headers/SDL_keyboard.h | 217 + .../Versions/A/Headers/SDL_keycode.h | 349 + .../Versions/A/Headers/SDL_loadso.h | 81 + .../Versions/A/Headers/SDL_log.h | 211 + .../Versions/A/Headers/SDL_main.h | 161 + .../Versions/A/Headers/SDL_messagebox.h | 144 + .../Versions/A/Headers/SDL_mouse.h | 302 + .../Versions/A/Headers/SDL_mutex.h | 251 + .../Versions/A/Headers/SDL_name.h | 33 + .../Versions/A/Headers/SDL_opengl.h | 2183 +++ .../Versions/A/Headers/SDL_opengl_glext.h | 11177 ++++++++++++++++ .../Versions/A/Headers/SDL_opengles.h | 39 + .../Versions/A/Headers/SDL_opengles2.h | 52 + .../Versions/A/Headers/SDL_opengles2_gl2.h | 621 + .../Versions/A/Headers/SDL_opengles2_gl2ext.h | 2050 +++ .../A/Headers/SDL_opengles2_gl2platform.h | 30 + .../A/Headers/SDL_opengles2_khrplatform.h | 282 + .../Versions/A/Headers/SDL_pixels.h | 468 + .../Versions/A/Headers/SDL_platform.h | 193 + .../Versions/A/Headers/SDL_power.h | 75 + .../Versions/A/Headers/SDL_quit.h | 58 + .../Versions/A/Headers/SDL_rect.h | 148 + .../Versions/A/Headers/SDL_render.h | 910 ++ .../Versions/A/Headers/SDL_revision.h | 2 + .../Versions/A/Headers/SDL_rwops.h | 254 + .../Versions/A/Headers/SDL_scancode.h | 413 + .../Versions/A/Headers/SDL_shape.h | 144 + .../Versions/A/Headers/SDL_stdinc.h | 590 + .../Versions/A/Headers/SDL_surface.h | 521 + .../Versions/A/Headers/SDL_system.h | 216 + .../Versions/A/Headers/SDL_syswm.h | 324 + .../Versions/A/Headers/SDL_thread.h | 308 + .../Versions/A/Headers/SDL_timer.h | 115 + .../Versions/A/Headers/SDL_touch.h | 86 + .../Versions/A/Headers/SDL_types.h | 29 + .../Versions/A/Headers/SDL_version.h | 162 + .../Versions/A/Headers/SDL_video.h | 1247 ++ .../Versions/A/Headers/SDL_vulkan.h | 257 + .../Versions/A/Headers/begin_code.h | 167 + .../Versions/A/Headers/close_code.h | 37 + .../Versions/A/Resources/Info.plist | 46 + .../sdl/macos/SDL2.framework/Versions/A/SDL2 | Bin 0 -> 1936624 bytes .../Versions/A/_CodeSignature/CodeResources | 792 ++ .../sdl/macos/SDL2.framework/Versions/Current | 1 + src/external/sdl/windows/BUGS.txt | 16 + src/external/sdl/windows/COPYING.txt | 20 + src/external/sdl/windows/README-SDL.txt | 13 + src/external/sdl/windows/README.txt | 21 + src/external/sdl/windows/WhatsNew.txt | 349 + .../sdl/windows/docs/README-android.md | 484 + src/external/sdl/windows/docs/README-cmake.md | 32 + .../sdl/windows/docs/README-directfb.md | 107 + .../sdl/windows/docs/README-dynapi.md | 130 + .../sdl/windows/docs/README-emscripten.md | 35 + .../sdl/windows/docs/README-gesture.md | 71 + src/external/sdl/windows/docs/README-hg.md | 22 + src/external/sdl/windows/docs/README-ios.md | 284 + src/external/sdl/windows/docs/README-linux.md | 90 + .../sdl/windows/docs/README-macosx.md | 240 + src/external/sdl/windows/docs/README-nacl.md | 103 + .../sdl/windows/docs/README-pandora.md | 17 + .../sdl/windows/docs/README-platforms.md | 8 + .../sdl/windows/docs/README-porting.md | 68 + src/external/sdl/windows/docs/README-psp.md | 19 + .../sdl/windows/docs/README-raspberrypi.md | 178 + src/external/sdl/windows/docs/README-touch.md | 86 + src/external/sdl/windows/docs/README-wince.md | 10 + .../sdl/windows/docs/README-windows.md | 45 + src/external/sdl/windows/docs/README-winrt.md | 541 + src/external/sdl/windows/docs/README.md | 63 + src/external/sdl/windows/docs/doxyfile | 1560 +++ src/external/sdl/windows/include/SDL.h | 133 + src/external/sdl/windows/include/SDL_assert.h | 291 + src/external/sdl/windows/include/SDL_atomic.h | 274 + src/external/sdl/windows/include/SDL_audio.h | 825 ++ src/external/sdl/windows/include/SDL_bits.h | 112 + .../sdl/windows/include/SDL_blendmode.h | 120 + .../sdl/windows/include/SDL_clipboard.h | 71 + src/external/sdl/windows/include/SDL_config.h | 234 + .../sdl/windows/include/SDL_config.h.cmake | 445 + .../sdl/windows/include/SDL_config.h.in | 389 + .../sdl/windows/include/SDL_config_android.h | 157 + .../sdl/windows/include/SDL_config_iphoneos.h | 166 + .../sdl/windows/include/SDL_config_macosx.h | 197 + .../windows/include/SDL_config_macosx.h.orig | 197 + .../sdl/windows/include/SDL_config_minimal.h | 82 + .../sdl/windows/include/SDL_config_pandora.h | 128 + .../sdl/windows/include/SDL_config_psp.h | 144 + .../sdl/windows/include/SDL_config_windows.h | 225 + .../sdl/windows/include/SDL_config_winrt.h | 215 + .../sdl/windows/include/SDL_config_wiz.h | 121 + .../sdl/windows/include/SDL_copying.h | 20 + .../sdl/windows/include/SDL_cpuinfo.h | 176 + src/external/sdl/windows/include/SDL_egl.h | 1673 +++ src/external/sdl/windows/include/SDL_endian.h | 260 + src/external/sdl/windows/include/SDL_error.h | 76 + src/external/sdl/windows/include/SDL_events.h | 754 ++ .../sdl/windows/include/SDL_filesystem.h | 136 + .../sdl/windows/include/SDL_gamecontroller.h | 362 + .../sdl/windows/include/SDL_gesture.h | 87 + src/external/sdl/windows/include/SDL_haptic.h | 1227 ++ src/external/sdl/windows/include/SDL_hints.h | 959 ++ .../sdl/windows/include/SDL_joystick.h | 382 + .../sdl/windows/include/SDL_keyboard.h | 217 + .../sdl/windows/include/SDL_keycode.h | 349 + src/external/sdl/windows/include/SDL_loadso.h | 81 + src/external/sdl/windows/include/SDL_log.h | 211 + src/external/sdl/windows/include/SDL_main.h | 161 + .../sdl/windows/include/SDL_messagebox.h | 144 + src/external/sdl/windows/include/SDL_mouse.h | 302 + src/external/sdl/windows/include/SDL_mutex.h | 251 + src/external/sdl/windows/include/SDL_name.h | 33 + src/external/sdl/windows/include/SDL_opengl.h | 2183 +++ .../sdl/windows/include/SDL_opengl_glext.h | 11177 ++++++++++++++++ .../sdl/windows/include/SDL_opengles.h | 39 + .../sdl/windows/include/SDL_opengles2.h | 52 + .../sdl/windows/include/SDL_opengles2_gl2.h | 621 + .../windows/include/SDL_opengles2_gl2ext.h | 2050 +++ .../include/SDL_opengles2_gl2platform.h | 30 + .../include/SDL_opengles2_khrplatform.h | 282 + src/external/sdl/windows/include/SDL_pixels.h | 468 + .../sdl/windows/include/SDL_platform.h | 193 + src/external/sdl/windows/include/SDL_power.h | 75 + src/external/sdl/windows/include/SDL_quit.h | 58 + src/external/sdl/windows/include/SDL_rect.h | 148 + src/external/sdl/windows/include/SDL_render.h | 910 ++ .../sdl/windows/include/SDL_revision.h | 2 + src/external/sdl/windows/include/SDL_rwops.h | 254 + .../sdl/windows/include/SDL_scancode.h | 413 + src/external/sdl/windows/include/SDL_shape.h | 144 + src/external/sdl/windows/include/SDL_stdinc.h | 590 + .../sdl/windows/include/SDL_surface.h | 521 + src/external/sdl/windows/include/SDL_system.h | 216 + src/external/sdl/windows/include/SDL_syswm.h | 324 + src/external/sdl/windows/include/SDL_test.h | 69 + .../sdl/windows/include/SDL_test_assert.h | 105 + .../sdl/windows/include/SDL_test_common.h | 188 + .../sdl/windows/include/SDL_test_compare.h | 69 + .../sdl/windows/include/SDL_test_crc32.h | 124 + .../sdl/windows/include/SDL_test_font.h | 81 + .../sdl/windows/include/SDL_test_fuzzer.h | 384 + .../sdl/windows/include/SDL_test_harness.h | 134 + .../sdl/windows/include/SDL_test_images.h | 78 + .../sdl/windows/include/SDL_test_log.h | 67 + .../sdl/windows/include/SDL_test_md5.h | 129 + .../sdl/windows/include/SDL_test_memory.h | 63 + .../sdl/windows/include/SDL_test_random.h | 115 + src/external/sdl/windows/include/SDL_thread.h | 308 + src/external/sdl/windows/include/SDL_timer.h | 115 + src/external/sdl/windows/include/SDL_touch.h | 86 + src/external/sdl/windows/include/SDL_types.h | 29 + .../sdl/windows/include/SDL_version.h | 162 + src/external/sdl/windows/include/SDL_video.h | 1247 ++ src/external/sdl/windows/include/SDL_vulkan.h | 257 + src/external/sdl/windows/include/begin_code.h | 167 + src/external/sdl/windows/include/close_code.h | 37 + src/external/sdl/windows/lib/x64/SDL2.dll | Bin 0 -> 1220096 bytes src/external/sdl/windows/lib/x64/SDL2.lib | Bin 0 -> 130646 bytes src/external/sdl/windows/lib/x64/SDL2main.lib | Bin 0 -> 45212 bytes src/external/sdl/windows/lib/x64/SDL2test.lib | Bin 0 -> 940792 bytes src/external/sdl/windows/lib/x86/SDL2.dll | Bin 0 -> 996352 bytes src/external/sdl/windows/lib/x86/SDL2.lib | Bin 0 -> 133714 bytes src/external/sdl/windows/lib/x86/SDL2main.lib | Bin 0 -> 43794 bytes src/external/sdl/windows/lib/x86/SDL2test.lib | Bin 0 -> 899966 bytes src/external/sdl2-cmake-scripts | 1 + src/external/unicorn/macos/AUTHORS.TXT | 2 + src/external/unicorn/macos/COPYING | 339 + src/external/unicorn/macos/ChangeLog | 70 + src/external/unicorn/macos/README.md | 54 + .../unicorn/macos/include/unicorn/arm.h | 150 + .../unicorn/macos/include/unicorn/arm64.h | 297 + .../unicorn/macos/include/unicorn/m68k.h | 49 + .../unicorn/macos/include/unicorn/mips.h | 226 + .../unicorn/macos/include/unicorn/sparc.h | 129 + .../unicorn/macos/include/unicorn/unicorn.h | 714 + .../unicorn/macos/include/unicorn/x86.h | 1441 ++ .../unicorn/macos/lib/libunicorn.1.dylib | Bin 0 -> 4876840 bytes src/external/unicorn/macos/lib/libunicorn.a | Bin 0 -> 7291664 bytes .../unicorn/macos/lib/libunicorn.dylib | 1 + .../unicorn/macos/lib/pkgconfig/unicorn.pc | 8 + src/external/unicorn/windows/AUTHORS.TXT | 2 + src/external/unicorn/windows/COPYING | 339 + src/external/unicorn/windows/COPYING_GLIB | 482 + src/external/unicorn/windows/CREDITS.TXT | 69 + src/external/unicorn/windows/ChangeLog | 70 + src/external/unicorn/windows/README.md | 54 + .../unicorn/windows/include/unicorn/arm.h | 150 + .../unicorn/windows/include/unicorn/arm64.h | 297 + .../unicorn/windows/include/unicorn/m68k.h | 49 + .../unicorn/windows/include/unicorn/mips.h | 226 + .../unicorn/windows/include/unicorn/sparc.h | 129 + .../unicorn/windows/include/unicorn/unicorn.h | 714 + .../unicorn/windows/include/unicorn/x86.h | 1441 ++ .../unicorn/windows/libgcc_s_seh-1.dll | Bin 0 -> 83742 bytes .../unicorn/windows/libwinpthread-1.dll | Bin 0 -> 56978 bytes src/external/unicorn/windows/sample_x86.exe | Bin 0 -> 405443 bytes src/external/unicorn/windows/unicorn.a | Bin 0 -> 32097124 bytes src/external/unicorn/windows/unicorn.dll | Bin 0 -> 26899223 bytes src/external/unicorn/windows/unicorn.lib | Bin 0 -> 2646620 bytes src/external/vita-headers | 1 + src/external/vita-toolchain | 1 + src/external/yaml-cpp | 1 + src/gen-modules/CMakeLists.txt | 7 + src/gen-modules/gen-modules.cpp | 221 + src/native-tool/Makefile | 64 + src/native-tool/sce_sys/icon0.png | Bin 0 -> 1375 bytes .../sce_sys/livearea/contents/bg.png | Bin 0 -> 324 bytes .../sce_sys/livearea/contents/startup.png | Bin 0 -> 928 bytes .../sce_sys/livearea/contents/template.xml | 11 + src/native-tool/src/main.cpp | 139 + src/native-tool/src/shaders.h | 24 + src/native-tool/src/shaders/clear_f.gxp | Bin 0 -> 244 bytes src/native-tool/src/shaders/clear_v.gxp | Bin 0 -> 266 bytes src/native-tool/src/shaders/color_f.gxp | Bin 0 -> 216 bytes src/native-tool/src/shaders/color_v.gxp | Bin 0 -> 341 bytes src/native-tool/src/shaders/texture_f.gxp | Bin 0 -> 228 bytes .../src/shaders/texture_tint_f.gxp | Bin 0 -> 295 bytes src/native-tool/src/shaders/texture_v.gxp | Bin 0 -> 344 bytes 739 files changed, 132225 insertions(+) create mode 100644 .clang-format create mode 100644 .gitignore create mode 100644 .gitmodules create mode 100644 COPYING.txt create mode 100644 README.md create mode 100644 docs/screenshots/VitaTester.png create mode 100644 docs/screenshots/vitaQuake.png create mode 100755 format.sh create mode 100644 gen.bat create mode 100755 gen.sh create mode 100644 reversing/SceGxmProgram.grammar create mode 100644 src/CMakeLists.txt create mode 100644 src/emulator/CMakeLists.txt create mode 100644 src/emulator/audio/CMakeLists.txt create mode 100644 src/emulator/audio/include/audio/functions.h create mode 100644 src/emulator/audio/include/audio/state.h create mode 100644 src/emulator/audio/src/audio.cpp create mode 100644 src/emulator/cpu/CMakeLists.txt create mode 100644 src/emulator/cpu/include/cpu/functions.h create mode 100644 src/emulator/cpu/src/cpu.cpp create mode 100644 src/emulator/ctrl/CMakeLists.txt create mode 100644 src/emulator/ctrl/include/ctrl/state.h create mode 100644 src/emulator/disasm/CMakeLists.txt create mode 100644 src/emulator/disasm/include/disasm/functions.h create mode 100644 src/emulator/disasm/include/disasm/state.h create mode 100644 src/emulator/disasm/src/disasm.cpp create mode 100644 src/emulator/glutil/CMakeLists.txt create mode 100644 src/emulator/glutil/include/glutil/gl.h create mode 100644 src/emulator/glutil/include/glutil/object.h create mode 100644 src/emulator/glutil/include/glutil/object_array.h create mode 100644 src/emulator/glutil/src/object.cpp create mode 100644 src/emulator/gxm/CMakeLists.txt create mode 100644 src/emulator/gxm/include/gxm/state.h create mode 100644 src/emulator/host/CMakeLists.txt create mode 100644 src/emulator/host/include/host/functions.h create mode 100644 src/emulator/host/include/host/import_fn.h create mode 100644 src/emulator/host/include/host/state.h create mode 100644 src/emulator/host/include/host/version.h create mode 100644 src/emulator/host/src/host.cpp create mode 100644 src/emulator/host/src/version.cpp.in create mode 100644 src/emulator/io/CMakeLists.txt create mode 100644 src/emulator/io/include/io/functions.h create mode 100644 src/emulator/io/include/io/state.h create mode 100644 src/emulator/io/src/io.cpp create mode 100644 src/emulator/kernel/CMakeLists.txt create mode 100644 src/emulator/kernel/include/kernel/functions.h create mode 100644 src/emulator/kernel/include/kernel/state.h create mode 100644 src/emulator/kernel/include/kernel/thread_functions.h create mode 100644 src/emulator/kernel/include/kernel/thread_state.h create mode 100644 src/emulator/kernel/src/kernel.cpp create mode 100644 src/emulator/kernel/src/thread.cpp create mode 100644 src/emulator/load_self.cpp create mode 100644 src/emulator/load_self.h create mode 100644 src/emulator/main.cpp create mode 100644 src/emulator/mem/CMakeLists.txt create mode 100644 src/emulator/mem/include/mem/mem.h create mode 100644 src/emulator/mem/include/mem/ptr.h create mode 100644 src/emulator/mem/src/mem.cpp create mode 100644 src/emulator/module/CMakeLists.txt create mode 100644 src/emulator/module/include/module/bridge.h create mode 100644 src/emulator/module/include/module/bridge_args.h create mode 100644 src/emulator/module/include/module/bridge_return.h create mode 100644 src/emulator/module/include/module/module.h create mode 100644 src/emulator/module/src/bridge_return.cpp create mode 100644 src/emulator/module/src/module.cpp create mode 100644 src/emulator/modules/CMakeLists.txt create mode 100644 src/emulator/modules/SceAVConfig/CMakeLists.txt create mode 100644 src/emulator/modules/SceAVConfig/include/SceAVConfig/exports.h create mode 100644 src/emulator/modules/SceAVConfig/src/SceAVConfig.cpp create mode 100644 src/emulator/modules/SceAppMgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceAppMgr/include/SceAppMgr/exports.h create mode 100644 src/emulator/modules/SceAppMgr/src/SceAppMgr.cpp create mode 100644 src/emulator/modules/SceAppMgr/src/SceAppMgrUser.cpp create mode 100644 src/emulator/modules/SceAppMgr/src/SceSharedFb.cpp create mode 100644 src/emulator/modules/SceAppUtil/CMakeLists.txt create mode 100644 src/emulator/modules/SceAppUtil/include/SceAppUtil/exports.h create mode 100644 src/emulator/modules/SceAppUtil/src/SceAppUtil.cpp create mode 100644 src/emulator/modules/SceAppUtil/src/SceAppUtilCache.cpp create mode 100644 src/emulator/modules/SceAtrac/CMakeLists.txt create mode 100644 src/emulator/modules/SceAtrac/include/SceAtrac/exports.h create mode 100644 src/emulator/modules/SceAtrac/src/SceAtrac.cpp create mode 100644 src/emulator/modules/SceAudio/CMakeLists.txt create mode 100644 src/emulator/modules/SceAudio/include/SceAudio/exports.h create mode 100644 src/emulator/modules/SceAudio/src/SceAudio.cpp create mode 100644 src/emulator/modules/SceAudioIn/CMakeLists.txt create mode 100644 src/emulator/modules/SceAudioIn/include/SceAudioIn/exports.h create mode 100644 src/emulator/modules/SceAudioIn/src/SceAudioIn.cpp create mode 100644 src/emulator/modules/SceAudiodec/CMakeLists.txt create mode 100644 src/emulator/modules/SceAudiodec/include/SceAudiodec/exports.h create mode 100644 src/emulator/modules/SceAudiodec/src/SceAudiodecUser.cpp create mode 100644 src/emulator/modules/SceAudioenc/CMakeLists.txt create mode 100644 src/emulator/modules/SceAudioenc/include/SceAudioenc/exports.h create mode 100644 src/emulator/modules/SceAudioenc/src/SceAudioencUser.cpp create mode 100644 src/emulator/modules/SceAvPlayer/CMakeLists.txt create mode 100644 src/emulator/modules/SceAvPlayer/include/SceAvPlayer/exports.h create mode 100644 src/emulator/modules/SceAvPlayer/src/SceAvPlayer.cpp create mode 100644 src/emulator/modules/SceBt/CMakeLists.txt create mode 100644 src/emulator/modules/SceBt/include/SceBt/exports.h create mode 100644 src/emulator/modules/SceBt/src/SceBt.cpp create mode 100644 src/emulator/modules/SceCamera/CMakeLists.txt create mode 100644 src/emulator/modules/SceCamera/include/SceCamera/exports.h create mode 100644 src/emulator/modules/SceCamera/src/SceCamera.cpp create mode 100644 src/emulator/modules/SceClipboard/CMakeLists.txt create mode 100644 src/emulator/modules/SceClipboard/include/SceClipboard/exports.h create mode 100644 src/emulator/modules/SceClipboard/src/SceClipboard.cpp create mode 100644 src/emulator/modules/SceCodecEngine/CMakeLists.txt create mode 100644 src/emulator/modules/SceCodecEngine/include/SceCodecEngine/exports.h create mode 100644 src/emulator/modules/SceCodecEngine/src/SceCodecEngineUser.cpp create mode 100644 src/emulator/modules/SceCodecEnginePerf/CMakeLists.txt create mode 100644 src/emulator/modules/SceCodecEnginePerf/include/SceCodecEnginePerf/exports.h create mode 100644 src/emulator/modules/SceCodecEnginePerf/src/SceCodecEnginePerf.cpp create mode 100644 src/emulator/modules/SceCommonDialog/CMakeLists.txt create mode 100644 src/emulator/modules/SceCommonDialog/include/SceCommonDialog/exports.h create mode 100644 src/emulator/modules/SceCommonDialog/src/SceCommonDialog.cpp create mode 100644 src/emulator/modules/SceCoredump/CMakeLists.txt create mode 100644 src/emulator/modules/SceCoredump/include/SceCoredump/exports.h create mode 100644 src/emulator/modules/SceCoredump/src/SceCoredump.cpp create mode 100644 src/emulator/modules/SceCoredump/src/SceCoredumpNounlink.cpp create mode 100644 src/emulator/modules/SceCtrl/CMakeLists.txt create mode 100644 src/emulator/modules/SceCtrl/include/SceCtrl/exports.h create mode 100644 src/emulator/modules/SceCtrl/src/SceCtrl.cpp create mode 100644 src/emulator/modules/SceDTrace/CMakeLists.txt create mode 100644 src/emulator/modules/SceDTrace/include/SceDTrace/exports.h create mode 100644 src/emulator/modules/SceDTrace/src/SceDTrace.cpp create mode 100644 src/emulator/modules/SceDeci4p/CMakeLists.txt create mode 100644 src/emulator/modules/SceDeci4p/include/SceDeci4p/exports.h create mode 100644 src/emulator/modules/SceDeci4p/src/SceDeci4pUserp.cpp create mode 100644 src/emulator/modules/SceDeflt/CMakeLists.txt create mode 100644 src/emulator/modules/SceDeflt/include/SceDeflt/exports.h create mode 100644 src/emulator/modules/SceDeflt/src/SceDeflt.cpp create mode 100644 src/emulator/modules/SceDisplay/CMakeLists.txt create mode 100644 src/emulator/modules/SceDisplay/include/SceDisplay/exports.h create mode 100644 src/emulator/modules/SceDisplay/src/SceDisplay.cpp create mode 100644 src/emulator/modules/SceDisplay/src/SceDisplayUser.cpp create mode 100644 src/emulator/modules/SceFace/CMakeLists.txt create mode 100644 src/emulator/modules/SceFace/include/SceFace/exports.h create mode 100644 src/emulator/modules/SceFace/src/SceFace.cpp create mode 100644 src/emulator/modules/SceFiber/CMakeLists.txt create mode 100644 src/emulator/modules/SceFiber/include/SceFiber/exports.h create mode 100644 src/emulator/modules/SceFiber/src/SceFiber.cpp create mode 100644 src/emulator/modules/SceFios2/CMakeLists.txt create mode 100644 src/emulator/modules/SceFios2/include/SceFios2/exports.h create mode 100644 src/emulator/modules/SceFios2/src/SceFios2.cpp create mode 100644 src/emulator/modules/SceGpuEs4/CMakeLists.txt create mode 100644 src/emulator/modules/SceGpuEs4/include/SceGpuEs4/exports.h create mode 100644 src/emulator/modules/SceGpuEs4/src/SceGpuEs4ForUser.cpp create mode 100644 src/emulator/modules/SceGxm/CMakeLists.txt create mode 100644 src/emulator/modules/SceGxm/include/SceGxm/exports.h create mode 100644 src/emulator/modules/SceGxm/src/SceGxm.cpp create mode 100644 src/emulator/modules/SceGxm/src/gxm.h create mode 100644 src/emulator/modules/SceHandwriting/CMakeLists.txt create mode 100644 src/emulator/modules/SceHandwriting/include/SceHandwriting/exports.h create mode 100644 src/emulator/modules/SceHandwriting/src/SceHandwriting.cpp create mode 100644 src/emulator/modules/SceHeap/CMakeLists.txt create mode 100644 src/emulator/modules/SceHeap/include/SceHeap/exports.h create mode 100644 src/emulator/modules/SceHeap/src/SceHeap.cpp create mode 100644 src/emulator/modules/SceHid/CMakeLists.txt create mode 100644 src/emulator/modules/SceHid/include/SceHid/exports.h create mode 100644 src/emulator/modules/SceHid/src/SceHid.cpp create mode 100644 src/emulator/modules/SceHmac/CMakeLists.txt create mode 100644 src/emulator/modules/SceHmac/include/SceHmac/exports.h create mode 100644 src/emulator/modules/SceHmac/src/SceHmac.cpp create mode 100644 src/emulator/modules/SceIme/CMakeLists.txt create mode 100644 src/emulator/modules/SceIme/include/SceIme/exports.h create mode 100644 src/emulator/modules/SceIme/src/SceIme.cpp create mode 100644 src/emulator/modules/SceIofilemgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceIofilemgr/include/SceIofilemgr/exports.h create mode 100644 src/emulator/modules/SceIofilemgr/src/SceIofilemgr.cpp create mode 100644 src/emulator/modules/SceJpeg/CMakeLists.txt create mode 100644 src/emulator/modules/SceJpeg/include/SceJpeg/exports.h create mode 100644 src/emulator/modules/SceJpeg/src/SceJpegUser.cpp create mode 100644 src/emulator/modules/SceJpegEnc/CMakeLists.txt create mode 100644 src/emulator/modules/SceJpegEnc/include/SceJpegEnc/exports.h create mode 100644 src/emulator/modules/SceJpegEnc/src/SceJpegEncUser.cpp create mode 100644 src/emulator/modules/SceKernelDmacMgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceKernelDmacMgr/include/SceKernelDmacMgr/exports.h create mode 100644 src/emulator/modules/SceKernelDmacMgr/src/SceDmacmgr.cpp create mode 100644 src/emulator/modules/SceKernelModulemgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceKernelModulemgr/include/SceKernelModulemgr/exports.h create mode 100644 src/emulator/modules/SceKernelModulemgr/src/SceModulemgr.cpp create mode 100644 src/emulator/modules/SceKernelThreadMgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceKernelThreadMgr/include/SceKernelThreadMgr/exports.h create mode 100644 src/emulator/modules/SceKernelThreadMgr/src/SceDebugLed.cpp create mode 100644 src/emulator/modules/SceKernelThreadMgr/src/SceDipsw.cpp create mode 100644 src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgr.cpp create mode 100644 src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgrCoredumpTime.cpp create mode 100644 src/emulator/modules/SceLibDbg/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibDbg/include/SceLibDbg/exports.h create mode 100644 src/emulator/modules/SceLibDbg/src/SceDbg.cpp create mode 100644 src/emulator/modules/SceLibGameUpdate/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibGameUpdate/include/SceLibGameUpdate/exports.h create mode 100644 src/emulator/modules/SceLibGameUpdate/src/SceGameUpdate.cpp create mode 100644 src/emulator/modules/SceLibHttp/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibHttp/include/SceLibHttp/exports.h create mode 100644 src/emulator/modules/SceLibHttp/src/SceHttp.cpp create mode 100644 src/emulator/modules/SceLibKernel/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibKernel/include/SceLibKernel/exports.h create mode 100644 src/emulator/modules/SceLibKernel/src/SceLibKernel.cpp create mode 100644 src/emulator/modules/SceLibKernel/src/SceLibRng.cpp create mode 100644 src/emulator/modules/SceLibLocation/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibLocation/include/SceLibLocation/exports.h create mode 100644 src/emulator/modules/SceLibLocation/src/SceLibLocation.cpp create mode 100644 src/emulator/modules/SceLibLocationExtension/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibLocationExtension/include/SceLibLocationExtension/exports.h create mode 100644 src/emulator/modules/SceLibLocationExtension/src/SceLibLocationExtension.cpp create mode 100644 src/emulator/modules/SceLibMonoBridge/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibMonoBridge/include/SceLibMonoBridge/exports.h create mode 100644 src/emulator/modules/SceLibMonoBridge/src/SceLibMonoBridge.cpp create mode 100644 src/emulator/modules/SceLibNetCtl/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibNetCtl/include/SceLibNetCtl/exports.h create mode 100644 src/emulator/modules/SceLibNetCtl/src/SceNetCtl.cpp create mode 100644 src/emulator/modules/SceLibPgf/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibPgf/include/SceLibPgf/exports.h create mode 100644 src/emulator/modules/SceLibPgf/src/ScePgf.cpp create mode 100644 src/emulator/modules/SceLibPspnetAdhoc/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibPspnetAdhoc/include/SceLibPspnetAdhoc/exports.h create mode 100644 src/emulator/modules/SceLibPspnetAdhoc/src/ScePspnetAdhoc.cpp create mode 100644 src/emulator/modules/SceLibPvf/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibPvf/include/SceLibPvf/exports.h create mode 100644 src/emulator/modules/SceLibPvf/src/ScePvf.cpp create mode 100644 src/emulator/modules/SceLibRudp/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibRudp/include/SceLibRudp/exports.h create mode 100644 src/emulator/modules/SceLibRudp/src/SceLibRudp.cpp create mode 100644 src/emulator/modules/SceLibSsl/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibSsl/include/SceLibSsl/exports.h create mode 100644 src/emulator/modules/SceLibSsl/src/SceSsl.cpp create mode 100644 src/emulator/modules/SceLibc/CMakeLists.txt create mode 100644 src/emulator/modules/SceLibc/SceLibc.cpp create mode 100644 src/emulator/modules/SceLibc/include/SceLibc/exports.h create mode 100644 src/emulator/modules/SceLibc/src/SceLibc.cpp create mode 100644 src/emulator/modules/SceLiveAreaUtil/CMakeLists.txt create mode 100644 src/emulator/modules/SceLiveAreaUtil/include/SceLiveAreaUtil/exports.h create mode 100644 src/emulator/modules/SceLiveAreaUtil/src/SceLiveAreaUtil.cpp create mode 100644 src/emulator/modules/SceLsdb/CMakeLists.txt create mode 100644 src/emulator/modules/SceLsdb/include/SceLsdb/exports.h create mode 100644 src/emulator/modules/SceLsdb/src/SceLsdb.cpp create mode 100644 src/emulator/modules/SceMd5/CMakeLists.txt create mode 100644 src/emulator/modules/SceMd5/include/SceMd5/exports.h create mode 100644 src/emulator/modules/SceMd5/src/SceMd5.cpp create mode 100644 src/emulator/modules/SceMotion/CMakeLists.txt create mode 100644 src/emulator/modules/SceMotion/include/SceMotion/exports.h create mode 100644 src/emulator/modules/SceMotion/src/SceMotion.cpp create mode 100644 src/emulator/modules/SceMotionDev/CMakeLists.txt create mode 100644 src/emulator/modules/SceMotionDev/include/SceMotionDev/exports.h create mode 100644 src/emulator/modules/SceMotionDev/src/SceMotionDev.cpp create mode 100644 src/emulator/modules/SceMt19937/CMakeLists.txt create mode 100644 src/emulator/modules/SceMt19937/include/SceMt19937/exports.h create mode 100644 src/emulator/modules/SceMt19937/src/SceMt19937.cpp create mode 100644 src/emulator/modules/SceMtpIfDriver/CMakeLists.txt create mode 100644 src/emulator/modules/SceMtpIfDriver/include/SceMtpIfDriver/exports.h create mode 100644 src/emulator/modules/SceMtpIfDriver/src/SceMtpIf.cpp create mode 100644 src/emulator/modules/SceMusicExport/CMakeLists.txt create mode 100644 src/emulator/modules/SceMusicExport/include/SceMusicExport/exports.h create mode 100644 src/emulator/modules/SceMusicExport/src/SceMusicExport.cpp create mode 100644 src/emulator/modules/SceNearDialogUtil/CMakeLists.txt create mode 100644 src/emulator/modules/SceNearDialogUtil/include/SceNearDialogUtil/exports.h create mode 100644 src/emulator/modules/SceNearDialogUtil/src/SceNearDialogUtil.cpp create mode 100644 src/emulator/modules/SceNearUtil/CMakeLists.txt create mode 100644 src/emulator/modules/SceNearUtil/include/SceNearUtil/exports.h create mode 100644 src/emulator/modules/SceNearUtil/src/SceNearUtil.cpp create mode 100644 src/emulator/modules/SceNet/CMakeLists.txt create mode 100644 src/emulator/modules/SceNet/include/SceNet/exports.h create mode 100644 src/emulator/modules/SceNet/src/SceNet.cpp create mode 100644 src/emulator/modules/SceNetAdhocMatching/CMakeLists.txt create mode 100644 src/emulator/modules/SceNetAdhocMatching/include/SceNetAdhocMatching/exports.h create mode 100644 src/emulator/modules/SceNetAdhocMatching/src/SceNetAdhocMatching.cpp create mode 100644 src/emulator/modules/SceNgs/CMakeLists.txt create mode 100644 src/emulator/modules/SceNgs/include/SceNgs/exports.h create mode 100644 src/emulator/modules/SceNgs/src/SceNgs.cpp create mode 100644 src/emulator/modules/SceNpActivity/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpActivity/include/SceNpActivity/exports.h create mode 100644 src/emulator/modules/SceNpActivity/src/SceNpActivity.cpp create mode 100644 src/emulator/modules/SceNpBasic/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpBasic/include/SceNpBasic/exports.h create mode 100644 src/emulator/modules/SceNpBasic/src/SceNpBasic.cpp create mode 100644 src/emulator/modules/SceNpCommerce2/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpCommerce2/include/SceNpCommerce2/exports.h create mode 100644 src/emulator/modules/SceNpCommerce2/src/SceNpCommerce2.cpp create mode 100644 src/emulator/modules/SceNpCommon/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpCommon/include/SceNpCommon/exports.h create mode 100644 src/emulator/modules/SceNpCommon/src/SceNpCommon.cpp create mode 100644 src/emulator/modules/SceNpDrm/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpDrm/include/SceNpDrm/exports.h create mode 100644 src/emulator/modules/SceNpDrm/src/SceNpDrm.cpp create mode 100644 src/emulator/modules/SceNpDrm/src/SceNpDrmPackage.cpp create mode 100644 src/emulator/modules/SceNpManager/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpManager/include/SceNpManager/exports.h create mode 100644 src/emulator/modules/SceNpManager/src/SceNpManager.cpp create mode 100644 src/emulator/modules/SceNpMatching2/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpMatching2/include/SceNpMatching2/exports.h create mode 100644 src/emulator/modules/SceNpMatching2/src/SceNpMatching2.cpp create mode 100644 src/emulator/modules/SceNpMessage/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpMessage/include/SceNpMessage/exports.h create mode 100644 src/emulator/modules/SceNpMessage/src/SceNpMessage.cpp create mode 100644 src/emulator/modules/SceNpPartyGameUtil/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpPartyGameUtil/include/SceNpPartyGameUtil/exports.h create mode 100644 src/emulator/modules/SceNpPartyGameUtil/src/SceNpPartyGameUtil.cpp create mode 100644 src/emulator/modules/SceNpScore/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpScore/include/SceNpScore/exports.h create mode 100644 src/emulator/modules/SceNpScore/src/SceNpScore.cpp create mode 100644 src/emulator/modules/SceNpSignaling/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpSignaling/include/SceNpSignaling/exports.h create mode 100644 src/emulator/modules/SceNpSignaling/src/SceNpSignaling.cpp create mode 100644 src/emulator/modules/SceNpSnsFacebook/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpSnsFacebook/include/SceNpSnsFacebook/exports.h create mode 100644 src/emulator/modules/SceNpSnsFacebook/src/SceNpSnsFacebook.cpp create mode 100644 src/emulator/modules/SceNpTrophy/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpTrophy/include/SceNpTrophy/exports.h create mode 100644 src/emulator/modules/SceNpTrophy/src/SceNpTrophy.cpp create mode 100644 src/emulator/modules/SceNpTus/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpTus/include/SceNpTus/exports.h create mode 100644 src/emulator/modules/SceNpTus/src/SceNpTus.cpp create mode 100644 src/emulator/modules/SceNpUtility/CMakeLists.txt create mode 100644 src/emulator/modules/SceNpUtility/include/SceNpUtility/exports.h create mode 100644 src/emulator/modules/SceNpUtility/src/SceNpUtility.cpp create mode 100644 src/emulator/modules/ScePaf/CMakeLists.txt create mode 100644 src/emulator/modules/ScePaf/include/ScePaf/exports.h create mode 100644 src/emulator/modules/ScePaf/src/ScePafStdc.cpp create mode 100644 src/emulator/modules/ScePerf/CMakeLists.txt create mode 100644 src/emulator/modules/ScePerf/include/ScePerf/exports.h create mode 100644 src/emulator/modules/ScePerf/src/ScePerf.cpp create mode 100644 src/emulator/modules/ScePhotoExport/CMakeLists.txt create mode 100644 src/emulator/modules/ScePhotoExport/include/ScePhotoExport/exports.h create mode 100644 src/emulator/modules/ScePhotoExport/src/ScePhotoExport.cpp create mode 100644 src/emulator/modules/ScePower/CMakeLists.txt create mode 100644 src/emulator/modules/ScePower/include/ScePower/exports.h create mode 100644 src/emulator/modules/ScePower/src/ScePower.cpp create mode 100644 src/emulator/modules/SceProcessmgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceProcessmgr/include/SceProcessmgr/exports.h create mode 100644 src/emulator/modules/SceProcessmgr/src/SceProcessmgr.cpp create mode 100644 src/emulator/modules/ScePromoterUtil/CMakeLists.txt create mode 100644 src/emulator/modules/ScePromoterUtil/include/ScePromoterUtil/exports.h create mode 100644 src/emulator/modules/ScePromoterUtil/src/ScePromoterUtil.cpp create mode 100644 src/emulator/modules/SceRazorCapture/CMakeLists.txt create mode 100644 src/emulator/modules/SceRazorCapture/include/SceRazorCapture/exports.h create mode 100644 src/emulator/modules/SceRazorCapture/src/SceRazorCapture.cpp create mode 100644 src/emulator/modules/SceRazorHud/CMakeLists.txt create mode 100644 src/emulator/modules/SceRazorHud/include/SceRazorHud/exports.h create mode 100644 src/emulator/modules/SceRazorHud/src/SceRazorHud.cpp create mode 100644 src/emulator/modules/SceRegistryMgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceRegistryMgr/include/SceRegistryMgr/exports.h create mode 100644 src/emulator/modules/SceRegistryMgr/src/SceRegMgr.cpp create mode 100644 src/emulator/modules/SceRegistryMgr/src/SceRegMgrForGame.cpp create mode 100644 src/emulator/modules/SceRegistryMgr/src/SceRegMgrForSDK.cpp create mode 100644 src/emulator/modules/SceRegistryMgr/src/SceRegMgrService.cpp create mode 100644 src/emulator/modules/SceRtc/CMakeLists.txt create mode 100644 src/emulator/modules/SceRtc/include/SceRtc/exports.h create mode 100644 src/emulator/modules/SceRtc/src/SceRtc.cpp create mode 100644 src/emulator/modules/SceRtc/src/SceRtcUser.cpp create mode 100644 src/emulator/modules/SceSasUser/CMakeLists.txt create mode 100644 src/emulator/modules/SceSasUser/include/SceSasUser/exports.h create mode 100644 src/emulator/modules/SceSasUser/src/SceSas.cpp create mode 100644 src/emulator/modules/SceSblUpdateMgr/CMakeLists.txt create mode 100644 src/emulator/modules/SceSblUpdateMgr/include/SceSblUpdateMgr/exports.h create mode 100644 src/emulator/modules/SceSblUpdateMgr/src/SceSblSsUpdateMgr.cpp create mode 100644 src/emulator/modules/SceScreenShot/CMakeLists.txt create mode 100644 src/emulator/modules/SceScreenShot/include/SceScreenShot/exports.h create mode 100644 src/emulator/modules/SceScreenShot/src/SceScreenShot.cpp create mode 100644 src/emulator/modules/SceSfmt11213/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt11213/include/SceSfmt11213/exports.h create mode 100644 src/emulator/modules/SceSfmt11213/src/SceSfmt11213.cpp create mode 100644 src/emulator/modules/SceSfmt1279/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt1279/include/SceSfmt1279/exports.h create mode 100644 src/emulator/modules/SceSfmt1279/src/SceSfmt1279.cpp create mode 100644 src/emulator/modules/SceSfmt132049/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt132049/include/SceSfmt132049/exports.h create mode 100644 src/emulator/modules/SceSfmt132049/src/SceSfmt132049.cpp create mode 100644 src/emulator/modules/SceSfmt19937/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt19937/include/SceSfmt19937/exports.h create mode 100644 src/emulator/modules/SceSfmt19937/src/SceSfmt19937.cpp create mode 100644 src/emulator/modules/SceSfmt216091/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt216091/include/SceSfmt216091/exports.h create mode 100644 src/emulator/modules/SceSfmt216091/src/SceSfmt216091.cpp create mode 100644 src/emulator/modules/SceSfmt2281/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt2281/include/SceSfmt2281/exports.h create mode 100644 src/emulator/modules/SceSfmt2281/src/SceSfmt2281.cpp create mode 100644 src/emulator/modules/SceSfmt4253/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt4253/include/SceSfmt4253/exports.h create mode 100644 src/emulator/modules/SceSfmt4253/src/SceSfmt4253.cpp create mode 100644 src/emulator/modules/SceSfmt44497/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt44497/include/SceSfmt44497/exports.h create mode 100644 src/emulator/modules/SceSfmt44497/src/SceSfmt44497.cpp create mode 100644 src/emulator/modules/SceSfmt607/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt607/include/SceSfmt607/exports.h create mode 100644 src/emulator/modules/SceSfmt607/src/SceSfmt607.cpp create mode 100644 src/emulator/modules/SceSfmt86243/CMakeLists.txt create mode 100644 src/emulator/modules/SceSfmt86243/include/SceSfmt86243/exports.h create mode 100644 src/emulator/modules/SceSfmt86243/src/SceSfmt86243.cpp create mode 100644 src/emulator/modules/SceSha0/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha0/include/SceSha0/exports.h create mode 100644 src/emulator/modules/SceSha0/src/SceSha0.cpp create mode 100644 src/emulator/modules/SceSha1/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha1/include/SceSha1/exports.h create mode 100644 src/emulator/modules/SceSha1/src/SceSha1.cpp create mode 100644 src/emulator/modules/SceSha224/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha224/include/SceSha224/exports.h create mode 100644 src/emulator/modules/SceSha224/src/SceSha224.cpp create mode 100644 src/emulator/modules/SceSha256/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha256/include/SceSha256/exports.h create mode 100644 src/emulator/modules/SceSha256/src/SceSha256.cpp create mode 100644 src/emulator/modules/SceSha384/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha384/include/SceSha384/exports.h create mode 100644 src/emulator/modules/SceSha384/src/SceSha384.cpp create mode 100644 src/emulator/modules/SceSha512/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha512/include/SceSha512/exports.h create mode 100644 src/emulator/modules/SceSha512/src/SceSha512.cpp create mode 100644 src/emulator/modules/SceSha512t/CMakeLists.txt create mode 100644 src/emulator/modules/SceSha512t/include/SceSha512t/exports.h create mode 100644 src/emulator/modules/SceSha512t/src/SceSha512t.cpp create mode 100644 src/emulator/modules/SceShellSvc/CMakeLists.txt create mode 100644 src/emulator/modules/SceShellSvc/include/SceShellSvc/exports.h create mode 100644 src/emulator/modules/SceShellSvc/src/SceShellUtil.cpp create mode 100644 src/emulator/modules/SceShutterSound/CMakeLists.txt create mode 100644 src/emulator/modules/SceShutterSound/include/SceShutterSound/exports.h create mode 100644 src/emulator/modules/SceShutterSound/src/SceShutterSound.cpp create mode 100644 src/emulator/modules/SceSmart/CMakeLists.txt create mode 100644 src/emulator/modules/SceSmart/include/SceSmart/exports.h create mode 100644 src/emulator/modules/SceSmart/src/SceSmart.cpp create mode 100644 src/emulator/modules/SceSqlite/CMakeLists.txt create mode 100644 src/emulator/modules/SceSqlite/include/SceSqlite/exports.h create mode 100644 src/emulator/modules/SceSqlite/src/SceSqlite.cpp create mode 100644 src/emulator/modules/SceStdio/CMakeLists.txt create mode 100644 src/emulator/modules/SceStdio/include/SceStdio/exports.h create mode 100644 src/emulator/modules/SceStdio/src/SceStdio.cpp create mode 100644 src/emulator/modules/SceSulpha/CMakeLists.txt create mode 100644 src/emulator/modules/SceSulpha/include/SceSulpha/exports.h create mode 100644 src/emulator/modules/SceSulpha/src/SceSulpha.cpp create mode 100644 src/emulator/modules/SceSysmem/CMakeLists.txt create mode 100644 src/emulator/modules/SceSysmem/include/SceSysmem/exports.h create mode 100644 src/emulator/modules/SceSysmem/src/SceSysmem.cpp create mode 100644 src/emulator/modules/SceSysmodule/CMakeLists.txt create mode 100644 src/emulator/modules/SceSysmodule/include/SceSysmodule/exports.h create mode 100644 src/emulator/modules/SceSysmodule/src/SceSysmodule.cpp create mode 100644 src/emulator/modules/SceSystemGesture/CMakeLists.txt create mode 100644 src/emulator/modules/SceSystemGesture/include/SceSystemGesture/exports.h create mode 100644 src/emulator/modules/SceSystemGesture/src/SceSystemGesture.cpp create mode 100644 src/emulator/modules/SceTouch/CMakeLists.txt create mode 100644 src/emulator/modules/SceTouch/include/SceTouch/exports.h create mode 100644 src/emulator/modules/SceTouch/src/SceTouch.cpp create mode 100644 src/emulator/modules/SceUdcd/CMakeLists.txt create mode 100644 src/emulator/modules/SceUdcd/include/SceUdcd/exports.h create mode 100644 src/emulator/modules/SceUdcd/src/SceUdcd.cpp create mode 100644 src/emulator/modules/SceUlt/CMakeLists.txt create mode 100644 src/emulator/modules/SceUlt/include/SceUlt/exports.h create mode 100644 src/emulator/modules/SceUlt/src/SceUlt.cpp create mode 100644 src/emulator/modules/SceUsbSerial/CMakeLists.txt create mode 100644 src/emulator/modules/SceUsbSerial/include/SceUsbSerial/exports.h create mode 100644 src/emulator/modules/SceUsbSerial/src/SceUsbSerial.cpp create mode 100644 src/emulator/modules/SceUsbd/CMakeLists.txt create mode 100644 src/emulator/modules/SceUsbd/include/SceUsbd/exports.h create mode 100644 src/emulator/modules/SceUsbd/src/SceUsbdForUser.cpp create mode 100644 src/emulator/modules/SceUsbstorVStorDriver/CMakeLists.txt create mode 100644 src/emulator/modules/SceUsbstorVStorDriver/include/SceUsbstorVStorDriver/exports.h create mode 100644 src/emulator/modules/SceUsbstorVStorDriver/src/SceUsbstorVStor.cpp create mode 100644 src/emulator/modules/SceVideoExport/CMakeLists.txt create mode 100644 src/emulator/modules/SceVideoExport/include/SceVideoExport/exports.h create mode 100644 src/emulator/modules/SceVideoExport/src/SceVideoExport.cpp create mode 100644 src/emulator/modules/SceVideodec/CMakeLists.txt create mode 100644 src/emulator/modules/SceVideodec/include/SceVideodec/exports.h create mode 100644 src/emulator/modules/SceVideodec/src/SceVideodecUser.cpp create mode 100644 src/emulator/modules/SceVoice/CMakeLists.txt create mode 100644 src/emulator/modules/SceVoice/include/SceVoice/exports.h create mode 100644 src/emulator/modules/SceVoice/src/SceVoice.cpp create mode 100644 src/emulator/modules/SceVoiceQoS/CMakeLists.txt create mode 100644 src/emulator/modules/SceVoiceQoS/include/SceVoiceQoS/exports.h create mode 100644 src/emulator/modules/SceVoiceQoS/src/SceVoiceQoS.cpp create mode 100644 src/emulator/modules/SceVshBridge/CMakeLists.txt create mode 100644 src/emulator/modules/SceVshBridge/include/SceVshBridge/exports.h create mode 100644 src/emulator/modules/SceVshBridge/src/SceVshBridge.cpp create mode 100644 src/emulator/nids/CMakeLists.txt create mode 100644 src/emulator/nids/include/nids/functions.h create mode 100644 src/emulator/nids/include/nids/nids.h create mode 100644 src/emulator/nids/src/nids.cpp create mode 100644 src/emulator/relocation.cpp create mode 100644 src/emulator/relocation.h create mode 100644 src/emulator/shaders/10622023203265062212.glsl create mode 100644 src/emulator/shaders/13599876527580594779.glsl create mode 100644 src/emulator/shaders/13734954368157190244.glsl create mode 100644 src/emulator/shaders/15572183010274844106.glsl create mode 100644 src/emulator/shaders/6959385632856496271.glsl create mode 100644 src/emulator/shaders/7762965783345142270.glsl create mode 100644 src/emulator/shaders/8854786452444500389.glsl create mode 100644 src/emulator/util/CMakeLists.txt create mode 100644 src/emulator/util/include/util/find.h create mode 100644 src/emulator/util/include/util/lock_and_find.h create mode 100644 src/emulator/util/include/util/resource.h create mode 100644 src/emulator/vpk.cpp create mode 100644 src/emulator/vpk.h create mode 100644 src/external/CMakeLists.txt create mode 160000 src/external/capstone create mode 160000 src/external/elfio create mode 160000 src/external/glbinding create mode 160000 src/external/microprofile create mode 100644 src/external/miniz/LICENSE create mode 100644 src/external/miniz/miniz.c create mode 100644 src/external/miniz/miniz.h create mode 100644 src/external/sdl/macos/License.txt create mode 100755 src/external/sdl/macos/ReadMe.txt create mode 120000 src/external/sdl/macos/SDL2.framework/Headers create mode 120000 src/external/sdl/macos/SDL2.framework/Resources create mode 120000 src/external/sdl/macos/SDL2.framework/SDL2 create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_assert.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_atomic.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_audio.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_bits.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_blendmode.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_clipboard.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_copying.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_endian.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_error.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_events.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_filesystem.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gesture.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_haptic.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_hints.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_joystick.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keyboard.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keycode.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_loadso.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_log.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_main.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_messagebox.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mouse.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mutex.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_name.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_pixels.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_platform.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_power.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_quit.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rect.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_render.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_revision.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rwops.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_scancode.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_shape.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_stdinc.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_surface.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_system.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_syswm.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_thread.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_timer.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_touch.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_types.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_version.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_video.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_vulkan.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/begin_code.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Headers/close_code.h create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/Resources/Info.plist create mode 100755 src/external/sdl/macos/SDL2.framework/Versions/A/SDL2 create mode 100644 src/external/sdl/macos/SDL2.framework/Versions/A/_CodeSignature/CodeResources create mode 120000 src/external/sdl/macos/SDL2.framework/Versions/Current create mode 100644 src/external/sdl/windows/BUGS.txt create mode 100644 src/external/sdl/windows/COPYING.txt create mode 100644 src/external/sdl/windows/README-SDL.txt create mode 100644 src/external/sdl/windows/README.txt create mode 100644 src/external/sdl/windows/WhatsNew.txt create mode 100644 src/external/sdl/windows/docs/README-android.md create mode 100644 src/external/sdl/windows/docs/README-cmake.md create mode 100644 src/external/sdl/windows/docs/README-directfb.md create mode 100644 src/external/sdl/windows/docs/README-dynapi.md create mode 100644 src/external/sdl/windows/docs/README-emscripten.md create mode 100644 src/external/sdl/windows/docs/README-gesture.md create mode 100644 src/external/sdl/windows/docs/README-hg.md create mode 100644 src/external/sdl/windows/docs/README-ios.md create mode 100644 src/external/sdl/windows/docs/README-linux.md create mode 100644 src/external/sdl/windows/docs/README-macosx.md create mode 100644 src/external/sdl/windows/docs/README-nacl.md create mode 100644 src/external/sdl/windows/docs/README-pandora.md create mode 100644 src/external/sdl/windows/docs/README-platforms.md create mode 100644 src/external/sdl/windows/docs/README-porting.md create mode 100644 src/external/sdl/windows/docs/README-psp.md create mode 100644 src/external/sdl/windows/docs/README-raspberrypi.md create mode 100644 src/external/sdl/windows/docs/README-touch.md create mode 100644 src/external/sdl/windows/docs/README-wince.md create mode 100644 src/external/sdl/windows/docs/README-windows.md create mode 100644 src/external/sdl/windows/docs/README-winrt.md create mode 100644 src/external/sdl/windows/docs/README.md create mode 100644 src/external/sdl/windows/docs/doxyfile create mode 100644 src/external/sdl/windows/include/SDL.h create mode 100644 src/external/sdl/windows/include/SDL_assert.h create mode 100644 src/external/sdl/windows/include/SDL_atomic.h create mode 100644 src/external/sdl/windows/include/SDL_audio.h create mode 100644 src/external/sdl/windows/include/SDL_bits.h create mode 100644 src/external/sdl/windows/include/SDL_blendmode.h create mode 100644 src/external/sdl/windows/include/SDL_clipboard.h create mode 100644 src/external/sdl/windows/include/SDL_config.h create mode 100644 src/external/sdl/windows/include/SDL_config.h.cmake create mode 100644 src/external/sdl/windows/include/SDL_config.h.in create mode 100644 src/external/sdl/windows/include/SDL_config_android.h create mode 100644 src/external/sdl/windows/include/SDL_config_iphoneos.h create mode 100644 src/external/sdl/windows/include/SDL_config_macosx.h create mode 100644 src/external/sdl/windows/include/SDL_config_macosx.h.orig create mode 100644 src/external/sdl/windows/include/SDL_config_minimal.h create mode 100644 src/external/sdl/windows/include/SDL_config_pandora.h create mode 100644 src/external/sdl/windows/include/SDL_config_psp.h create mode 100644 src/external/sdl/windows/include/SDL_config_windows.h create mode 100644 src/external/sdl/windows/include/SDL_config_winrt.h create mode 100644 src/external/sdl/windows/include/SDL_config_wiz.h create mode 100644 src/external/sdl/windows/include/SDL_copying.h create mode 100644 src/external/sdl/windows/include/SDL_cpuinfo.h create mode 100644 src/external/sdl/windows/include/SDL_egl.h create mode 100644 src/external/sdl/windows/include/SDL_endian.h create mode 100644 src/external/sdl/windows/include/SDL_error.h create mode 100644 src/external/sdl/windows/include/SDL_events.h create mode 100644 src/external/sdl/windows/include/SDL_filesystem.h create mode 100644 src/external/sdl/windows/include/SDL_gamecontroller.h create mode 100644 src/external/sdl/windows/include/SDL_gesture.h create mode 100644 src/external/sdl/windows/include/SDL_haptic.h create mode 100644 src/external/sdl/windows/include/SDL_hints.h create mode 100644 src/external/sdl/windows/include/SDL_joystick.h create mode 100644 src/external/sdl/windows/include/SDL_keyboard.h create mode 100644 src/external/sdl/windows/include/SDL_keycode.h create mode 100644 src/external/sdl/windows/include/SDL_loadso.h create mode 100644 src/external/sdl/windows/include/SDL_log.h create mode 100644 src/external/sdl/windows/include/SDL_main.h create mode 100644 src/external/sdl/windows/include/SDL_messagebox.h create mode 100644 src/external/sdl/windows/include/SDL_mouse.h create mode 100644 src/external/sdl/windows/include/SDL_mutex.h create mode 100644 src/external/sdl/windows/include/SDL_name.h create mode 100644 src/external/sdl/windows/include/SDL_opengl.h create mode 100644 src/external/sdl/windows/include/SDL_opengl_glext.h create mode 100644 src/external/sdl/windows/include/SDL_opengles.h create mode 100644 src/external/sdl/windows/include/SDL_opengles2.h create mode 100644 src/external/sdl/windows/include/SDL_opengles2_gl2.h create mode 100644 src/external/sdl/windows/include/SDL_opengles2_gl2ext.h create mode 100644 src/external/sdl/windows/include/SDL_opengles2_gl2platform.h create mode 100644 src/external/sdl/windows/include/SDL_opengles2_khrplatform.h create mode 100644 src/external/sdl/windows/include/SDL_pixels.h create mode 100644 src/external/sdl/windows/include/SDL_platform.h create mode 100644 src/external/sdl/windows/include/SDL_power.h create mode 100644 src/external/sdl/windows/include/SDL_quit.h create mode 100644 src/external/sdl/windows/include/SDL_rect.h create mode 100644 src/external/sdl/windows/include/SDL_render.h create mode 100644 src/external/sdl/windows/include/SDL_revision.h create mode 100644 src/external/sdl/windows/include/SDL_rwops.h create mode 100644 src/external/sdl/windows/include/SDL_scancode.h create mode 100644 src/external/sdl/windows/include/SDL_shape.h create mode 100644 src/external/sdl/windows/include/SDL_stdinc.h create mode 100644 src/external/sdl/windows/include/SDL_surface.h create mode 100644 src/external/sdl/windows/include/SDL_system.h create mode 100644 src/external/sdl/windows/include/SDL_syswm.h create mode 100644 src/external/sdl/windows/include/SDL_test.h create mode 100644 src/external/sdl/windows/include/SDL_test_assert.h create mode 100644 src/external/sdl/windows/include/SDL_test_common.h create mode 100644 src/external/sdl/windows/include/SDL_test_compare.h create mode 100644 src/external/sdl/windows/include/SDL_test_crc32.h create mode 100644 src/external/sdl/windows/include/SDL_test_font.h create mode 100644 src/external/sdl/windows/include/SDL_test_fuzzer.h create mode 100644 src/external/sdl/windows/include/SDL_test_harness.h create mode 100644 src/external/sdl/windows/include/SDL_test_images.h create mode 100644 src/external/sdl/windows/include/SDL_test_log.h create mode 100644 src/external/sdl/windows/include/SDL_test_md5.h create mode 100644 src/external/sdl/windows/include/SDL_test_memory.h create mode 100644 src/external/sdl/windows/include/SDL_test_random.h create mode 100644 src/external/sdl/windows/include/SDL_thread.h create mode 100644 src/external/sdl/windows/include/SDL_timer.h create mode 100644 src/external/sdl/windows/include/SDL_touch.h create mode 100644 src/external/sdl/windows/include/SDL_types.h create mode 100644 src/external/sdl/windows/include/SDL_version.h create mode 100644 src/external/sdl/windows/include/SDL_video.h create mode 100644 src/external/sdl/windows/include/SDL_vulkan.h create mode 100644 src/external/sdl/windows/include/begin_code.h create mode 100644 src/external/sdl/windows/include/close_code.h create mode 100644 src/external/sdl/windows/lib/x64/SDL2.dll create mode 100644 src/external/sdl/windows/lib/x64/SDL2.lib create mode 100644 src/external/sdl/windows/lib/x64/SDL2main.lib create mode 100644 src/external/sdl/windows/lib/x64/SDL2test.lib create mode 100644 src/external/sdl/windows/lib/x86/SDL2.dll create mode 100644 src/external/sdl/windows/lib/x86/SDL2.lib create mode 100644 src/external/sdl/windows/lib/x86/SDL2main.lib create mode 100644 src/external/sdl/windows/lib/x86/SDL2test.lib create mode 160000 src/external/sdl2-cmake-scripts create mode 100644 src/external/unicorn/macos/AUTHORS.TXT create mode 100644 src/external/unicorn/macos/COPYING create mode 100644 src/external/unicorn/macos/ChangeLog create mode 100644 src/external/unicorn/macos/README.md create mode 100644 src/external/unicorn/macos/include/unicorn/arm.h create mode 100644 src/external/unicorn/macos/include/unicorn/arm64.h create mode 100644 src/external/unicorn/macos/include/unicorn/m68k.h create mode 100644 src/external/unicorn/macos/include/unicorn/mips.h create mode 100644 src/external/unicorn/macos/include/unicorn/sparc.h create mode 100644 src/external/unicorn/macos/include/unicorn/unicorn.h create mode 100644 src/external/unicorn/macos/include/unicorn/x86.h create mode 100644 src/external/unicorn/macos/lib/libunicorn.1.dylib create mode 100644 src/external/unicorn/macos/lib/libunicorn.a create mode 120000 src/external/unicorn/macos/lib/libunicorn.dylib create mode 100644 src/external/unicorn/macos/lib/pkgconfig/unicorn.pc create mode 100644 src/external/unicorn/windows/AUTHORS.TXT create mode 100644 src/external/unicorn/windows/COPYING create mode 100644 src/external/unicorn/windows/COPYING_GLIB create mode 100644 src/external/unicorn/windows/CREDITS.TXT create mode 100644 src/external/unicorn/windows/ChangeLog create mode 100644 src/external/unicorn/windows/README.md create mode 100644 src/external/unicorn/windows/include/unicorn/arm.h create mode 100644 src/external/unicorn/windows/include/unicorn/arm64.h create mode 100644 src/external/unicorn/windows/include/unicorn/m68k.h create mode 100644 src/external/unicorn/windows/include/unicorn/mips.h create mode 100644 src/external/unicorn/windows/include/unicorn/sparc.h create mode 100644 src/external/unicorn/windows/include/unicorn/unicorn.h create mode 100644 src/external/unicorn/windows/include/unicorn/x86.h create mode 100644 src/external/unicorn/windows/libgcc_s_seh-1.dll create mode 100644 src/external/unicorn/windows/libwinpthread-1.dll create mode 100644 src/external/unicorn/windows/sample_x86.exe create mode 100644 src/external/unicorn/windows/unicorn.a create mode 100644 src/external/unicorn/windows/unicorn.dll create mode 100644 src/external/unicorn/windows/unicorn.lib create mode 160000 src/external/vita-headers create mode 160000 src/external/vita-toolchain create mode 160000 src/external/yaml-cpp create mode 100644 src/gen-modules/CMakeLists.txt create mode 100644 src/gen-modules/gen-modules.cpp create mode 100755 src/native-tool/Makefile create mode 100755 src/native-tool/sce_sys/icon0.png create mode 100755 src/native-tool/sce_sys/livearea/contents/bg.png create mode 100755 src/native-tool/sce_sys/livearea/contents/startup.png create mode 100755 src/native-tool/sce_sys/livearea/contents/template.xml create mode 100644 src/native-tool/src/main.cpp create mode 100644 src/native-tool/src/shaders.h create mode 100644 src/native-tool/src/shaders/clear_f.gxp create mode 100644 src/native-tool/src/shaders/clear_v.gxp create mode 100644 src/native-tool/src/shaders/color_f.gxp create mode 100644 src/native-tool/src/shaders/color_v.gxp create mode 100644 src/native-tool/src/shaders/texture_f.gxp create mode 100644 src/native-tool/src/shaders/texture_tint_f.gxp create mode 100644 src/native-tool/src/shaders/texture_v.gxp diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..44d78c0b9 --- /dev/null +++ b/.clang-format @@ -0,0 +1,102 @@ +--- +Language: Cpp +# BasedOnStyle: WebKit +AccessModifierOffset: -4 +AlignAfterOpenBracket: DontAlign +AlignConsecutiveAssignments: false +AlignConsecutiveDeclarations: false +AlignEscapedNewlines: Right +AlignOperands: false +AlignTrailingComments: false +AllowAllParametersOfDeclarationOnNextLine: true +AllowShortBlocksOnASingleLine: false +AllowShortCaseLabelsOnASingleLine: false +AllowShortFunctionsOnASingleLine: All +AllowShortIfStatementsOnASingleLine: false +AllowShortLoopsOnASingleLine: false +AlwaysBreakAfterDefinitionReturnType: None +AlwaysBreakAfterReturnType: None +AlwaysBreakBeforeMultilineStrings: false +AlwaysBreakTemplateDeclarations: false +BinPackArguments: true +BinPackParameters: true +BraceWrapping: + AfterClass: false + AfterControlStatement: false + AfterEnum: false + AfterFunction: true + AfterNamespace: false + AfterObjCDeclaration: false + AfterStruct: false + AfterUnion: false + BeforeCatch: false + BeforeElse: false + IndentBraces: false + SplitEmptyFunctionBody: true +BreakBeforeBinaryOperators: All +BreakBeforeBraces: Attach +BreakBeforeInheritanceComma: false +BreakBeforeTernaryOperators: true +BreakConstructorInitializersBeforeComma: false +BreakConstructorInitializers: BeforeComma +BreakAfterJavaFieldAnnotations: false +BreakStringLiterals: true +ColumnLimit: 0 +CommentPragmas: '^ IWYU pragma:' +CompactNamespaces: false +ConstructorInitializerAllOnOneLineOrOnePerLine: false +ConstructorInitializerIndentWidth: 4 +ContinuationIndentWidth: 4 +Cpp11BracedListStyle: false +DerivePointerAlignment: false +DisableFormat: false +ExperimentalAutoDetectBinPacking: false +FixNamespaceComments: false +ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ] +IncludeCategories: + - Regex: '^"(llvm|llvm-c|clang|clang-c)/' + Priority: 2 + - Regex: '^(<|"(gtest|isl|json)/)' + Priority: 3 + - Regex: '.*' + Priority: 1 +IncludeIsMainRegex: '$' +IndentCaseLabels: false +IndentWidth: 4 +IndentWrappedFunctionNames: false +JavaScriptQuotes: Leave +JavaScriptWrapImports: true +KeepEmptyLinesAtTheStartOfBlocks: false +MacroBlockBegin: '' +MacroBlockEnd: '' +MaxEmptyLinesToKeep: 1 +NamespaceIndentation: All +ObjCBlockIndentWidth: 4 +ObjCSpaceAfterProperty: true +ObjCSpaceBeforeProtocolList: true +PenaltyBreakAssignment: 2 +PenaltyBreakBeforeFirstCallParameter: 19 +PenaltyBreakComment: 300 +PenaltyBreakFirstLessLess: 120 +PenaltyBreakString: 1000 +PenaltyExcessCharacter: 1000000 +PenaltyReturnTypeOnItsOwnLine: 60 +PointerAlignment: Right +ReflowComments: true +SortIncludes: true +SpaceAfterCStyleCast: false +SpaceAfterTemplateKeyword: true +SpaceBeforeAssignmentOperators: true +SpaceBeforeParens: ControlStatements +SpaceInEmptyParentheses: false +SpacesBeforeTrailingComments: 1 +SpacesInAngles: false +SpacesInContainerLiterals: true +SpacesInCStyleCastParentheses: false +SpacesInParentheses: false +SpacesInSquareBrackets: false +Standard: Cpp11 +TabWidth: 8 +UseTab: Never +... + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..020bc2fb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/build-macos/ +/build-windows/ +/api.trace +.vs/ diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..d0320f138 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,24 @@ +[submodule "src/external/elfio"] + path = src/external/elfio + url = https://github.com/serge1/ELFIO.git +[submodule "src/external/capstone"] + path = src/external/capstone + url = https://github.com/aquynh/capstone.git +[submodule "src/external/vita-headers"] + path = src/external/vita-headers + url = https://github.com/vitasdk/vita-headers.git +[submodule "src/external/glbinding"] + path = src/external/glbinding + url = https://github.com/cginternals/glbinding.git +[submodule "src/external/yaml-cpp"] + path = src/external/yaml-cpp + url = https://github.com/jbeder/yaml-cpp +[submodule "src/external/vita-toolchain"] + path = src/external/vita-toolchain + url = https://github.com/vitasdk/vita-toolchain +[submodule "src/external/microprofile"] + path = src/external/microprofile + url = https://github.com/jonasmr/microprofile.git +[submodule "src/external/sdl2-cmake-scripts"] + path = src/external/sdl2-cmake-scripts + url = https://github.com/tcbrindle/sdl2-cmake-scripts.git diff --git a/COPYING.txt b/COPYING.txt new file mode 100644 index 000000000..d159169d1 --- /dev/null +++ b/COPYING.txt @@ -0,0 +1,339 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/README.md b/README.md new file mode 100644 index 000000000..1b225eaa0 --- /dev/null +++ b/README.md @@ -0,0 +1,52 @@ +# Vita3K +## Introduction +Vita3K is an experimental PlayStation Vita emulator for Windows and macOS. + +* [Website](https://Vita3K.github.io/) +* Feel free to join channel `#vita3k` on **freenode** IRC ([Web-based IRC client](https://webchat.freenode.net/?channels=%23vita3k)) +* [Patreon](https://www.patreon.com/Vita3K) + +## Compatibility +The emulator currently runs a few homebrew programs in .vpk format. No commercial games are playable. + +[vitaQuake](https://github.com/Rinnegatamante/vitaQuake) by **Rinnegatamante** +![](docs/screenshots/vitaQuake.png) + +[VitaTester](https://github.com/SMOKE5/VitaTester) by **SMOKE5** +![](docs/screenshots/VitaTester.png) + +## Licence +Vita3K is licensed under the **GPLv2** license. This is largely dictated by external dependencies, most notably Unicorn. + +## Building +### Prerequisites +[CMake](https://cmake.org/) is used to generate Visual Studio and Xcode project files. It is assumed that you have CMake installed and on your path. Other dependencies are provided as Git submodules or as prebuilt binaries. + +### Windows (Visual Studio) +1. Run `gen.bat` to create a `build-windows` directory and generate a Visual Studio solution in there. +2. Open the `Vita3K.sln` solution. +3. Set the startup project to `emulator`. +4. Build. + +### macOS (Xcode) +1. Run `gen.sh` to create a `build-macos` directory and generate an Xcode project in there. +2. Open the `Vita3K.xcodeproj` project. +3. When prompted to create schemes, create one for the `emulator` target only. The project builds many targets, so it will make your life easier if you create schemes as needed. +4. Build. + +## Running +The emulator does not yet have a front end. Please specify the path to a .vpk file as the first command line argument. + +## Bugs and issues +The project is at an early stage, so please be sensitive to that when opening new issues. Expect crashes, glitches, low compatibility and poor performance. + +## Thanks +Thanks go out to people who offered advice or otherwise made this project possible, such as Davee, korruptor, Rinnegatamante, ScHlAuChi, Simon Kilroy, TheFlow, xerpi, xyz, Yifan Lu and many others. + +## Donations +If you would like to show your appreciation or even help fund development, the project has a [Patreon](https://www.patreon.com/Vita3K) page. + +## Note +The purpose of the emulator is not to enable illegal activity. + +PlayStation and PS Vita are trademarks of Sony Interactive Entertainment Inc. The emulator is not related to or endorsed by Sony, or derived from confidential materials belonging to Sony. diff --git a/docs/screenshots/VitaTester.png b/docs/screenshots/VitaTester.png new file mode 100644 index 0000000000000000000000000000000000000000..42d16067e1de30afae348e161a98c07e9ec7d119 GIT binary patch literal 142914 zcmd42WmFv7(mxCdt_kk$?ykWdf;$9vcMk!ALxAA!?(Xg`gZtnPgUg?D?z!^ZbJu#m zzO(j+p6*?>yJT1Wx~e-=QC4U|8%H zA|i@XA|gbJj&`ON)+S(J8bJvj&|C`}8*dNZXOS!GUgz!PUg!ME&8KpW=we@Lq*=a7 z636C*O8?9wqs>L5ZdJh<8o3q*z3^}B`@Liya|2ui_FdX1pV}smeQuvRz&91if`TBs z>%bsFL}P3sojuZZbvzu-!N|KliW9+BkxgDO;agcb`R54&{S;(Gz?NzBC2f`-GeK_~ zqWeJnGgvU=NCV_b`$+?c4Jfek6KwG)Ffi8WA;=uko=*{C8Xv@2zI^KbuD$36U21C> zjc?siZe&*)V&DdLp+bhTgb8*;uh*uO(eV@iNH#A@pl?(VLaE)~Ku$sM7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0Z~`vXnv&1TPQkm+McW!-vZ1)S9U&?m&{z)HF&^pPgP;DYd6wT%AG4Z zRfUy7=;dUbyB|4YQ|19ZZ75G7W_}cGj9(~A8`Y@(gfl}%=a^fLN7BCp zb?u8_vqJ&l5)r9{gyj~W7Uu2zedK>=avnz9^qqNoJ`6r6m-EQZckU<5#T?udL2Rvc z%8)9DuS|OEZH=w8&{xt z5wHRVR}LyjrR4<|3S0!3>Q6JBZ{|tEPa~^^f8J+>$(^P+Q9Wsjjr+0G;>8b!O8TsO z;4kP@&mTbBkmkME@BKfPf|Rh)3^UC}C&i*UTYZ%V1B2O|rBWBl9&j}|OtsnzUGQ_9 z8wl3JgXO0ZyVnsaZ}fhge1zF(T}*Jf0E&b9V)0Uv=42#orWCevA%ZdXPc&hN9K2(f z%4aVE8aaQ*v}t;YD}VkaTqxXaV{CN-_g@#NBi5lXGq`+(>Y(|ALU0rig08SKZrI zIF#Siw;NeF(kbbytInAE4|Ac2LI-2Mj_>K%>_Uq7O1v)C4iEUN-nOw-yBP`}gj=kf z+pby6z%K64V3{cFX5V#B2Dakgo^Cb$aa3EmFe=*cuiMyKEhIcX*mj|xYTG*2#_8!? zKs7I@cp0OxIO^^@^5Kb*bYIqSajSc2LGc$9sfdSEVf+g^o?{h87hw28Q~iJN$JrZE a=S&&z^EhK}Z^JK + + + Grammar for my file format + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 000000000..08bfa54de --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,6 @@ +cmake_minimum_required(VERSION 3.8) +project(Vita3K) + +add_subdirectory(external) +add_subdirectory(emulator) +add_subdirectory(gen-modules) diff --git a/src/emulator/CMakeLists.txt b/src/emulator/CMakeLists.txt new file mode 100644 index 000000000..6f22f9545 --- /dev/null +++ b/src/emulator/CMakeLists.txt @@ -0,0 +1,64 @@ +set(VITA3K_ORG_NAME "Vita3K") +set(VITA3K_APP_NAME "Vita3K") +set(VITA3K_VERSION "") + +if(VITA3K_VERSION STREQUAL "") + execute_process( + COMMAND git log -1 --format=%H + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + OUTPUT_VARIABLE GIT_HASH + OUTPUT_STRIP_TRAILING_WHITESPACE) + if(GIT_HASH STREQUAL "") + set(VITA3K_VERSION "development version") + else() + set(VITA3K_VERSION "(git ${GIT_HASH})") + endif() +endif() + +set(CMAKE_CXX_STANDARD 14) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CMAKE_CXX_EXTENSIONS OFF) + +add_subdirectory(audio) +add_subdirectory(cpu) +add_subdirectory(ctrl) +add_subdirectory(disasm) +add_subdirectory(glutil) +add_subdirectory(gxm) +add_subdirectory(host) +add_subdirectory(io) +add_subdirectory(kernel) +add_subdirectory(mem) +add_subdirectory(module) +add_subdirectory(modules) +add_subdirectory(nids) +add_subdirectory(util) + +add_executable( +emulator +MACOSX_BUNDLE +shaders +load_self.cpp +load_self.h +main.cpp +relocation.cpp +relocation.h +vpk.cpp +vpk.h +) + +target_link_libraries(emulator PRIVATE cpu elfio host modules nids vita-toolchain) +set_target_properties(emulator PROPERTIES + OUTPUT_NAME Vita3K + RESOURCE shaders) + +if(WIN32) + add_custom_command( + TARGET emulator + POST_BUILD + COMMAND ${CMAKE_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/shaders" "$/shaders" + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${PROJECT_SOURCE_DIR}/external/sdl/windows/lib/x64/SDL2.dll" "$" + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${PROJECT_SOURCE_DIR}/external/unicorn/windows/unicorn.dll" "$" + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${PROJECT_SOURCE_DIR}/external/unicorn/windows/libgcc_s_seh-1.dll" "$" + COMMAND ${CMAKE_COMMAND} -E copy_if_different "${PROJECT_SOURCE_DIR}/external/unicorn/windows/libwinpthread-1.dll" "$") +endif() diff --git a/src/emulator/audio/CMakeLists.txt b/src/emulator/audio/CMakeLists.txt new file mode 100644 index 000000000..44d4a6896 --- /dev/null +++ b/src/emulator/audio/CMakeLists.txt @@ -0,0 +1,10 @@ +add_library( +audio +STATIC +include/audio/functions.h +include/audio/state.h +src/audio.cpp +) + +target_include_directories(audio PUBLIC include) +target_link_libraries(audio PUBLIC sdl2 vita-headers) diff --git a/src/emulator/audio/include/audio/functions.h b/src/emulator/audio/include/audio/functions.h new file mode 100644 index 000000000..9acca5582 --- /dev/null +++ b/src/emulator/audio/include/audio/functions.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +#include + +struct AudioState; + +typedef std::function ResumeThread; + +bool init(AudioState &state, ResumeThread resume_thread); diff --git a/src/emulator/audio/include/audio/state.h b/src/emulator/audio/include/audio/state.h new file mode 100644 index 000000000..60486f555 --- /dev/null +++ b/src/emulator/audio/include/audio/state.h @@ -0,0 +1,83 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include +#include +#include +#include +#include + +#include + +#include + +typedef std::shared_ptr AudioStreamPtr; +typedef std::function ResumeThread; + +struct AudioOutput { + const uint8_t *buf = nullptr; + int len_bytes = 0; + SceUID thread = -1; +}; + +struct ReadOnlyAudioOutPortState { + int len_bytes = 0; +}; + +struct AudioCallbackOutPortState { + AudioStreamPtr stream; +}; + +struct SharedAudioOutPortState { + std::mutex mutex; + std::queue outputs; +}; + +struct AudioOutPort { + ReadOnlyAudioOutPortState ro; + AudioCallbackOutPortState callback; + SharedAudioOutPortState shared; +}; + +typedef std::shared_ptr AudioOutPortPtr; +typedef std::map AudioOutPortPtrs; +typedef std::shared_ptr AudioDevicePtr; + +struct ReadOnlyAudioState { + SDL_AudioSpec spec; + ResumeThread resume_thread; +}; + +struct AudioCallbackState { + std::vector temp_buffer; +}; + +struct SharedAudioState { + std::mutex mutex; + int next_port_id = 0; + AudioOutPortPtrs out_ports; +}; + +struct AudioState { + ReadOnlyAudioState ro; + AudioCallbackState callback; + SharedAudioState shared; + AudioDevicePtr device; +}; diff --git a/src/emulator/audio/src/audio.cpp b/src/emulator/audio/src/audio.cpp new file mode 100644 index 000000000..5b1cc0d2e --- /dev/null +++ b/src/emulator/audio/src/audio.cpp @@ -0,0 +1,109 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include

(address)).get(mem); + const size_t buffer_size = GB(4) - address; + const bool thumb = is_thumb_mode(uc); + const std::string disassembly = disassemble(state.disasm, code, buffer_size, address, thumb); + std::cout << std::hex << std::setw(8) << address << std::dec << " " << disassembly << std::endl; +} + +static void log_memory_access(const char *type, Address address, int size, int64_t value, const MemState &mem) { + const char *const name = mem_name(address, mem); + std::cout << type << " " << size << " bytes, address 0x" << std::hex << address << " (" << name << "), value 0x" << value << std::dec << std::endl; +} + +static void read_hook(uc_engine *uc, uc_mem_type type, uint64_t address, int size, int64_t value, void *user_data) { + assert(value == 0); + + const CPUState &state = *static_cast(user_data); + const MemState &mem = *state.mem; + memcpy(&value, Ptr(static_cast
(address)).get(mem), size); + log_memory_access("Read", static_cast
(address), size, value, mem); +} + +static void write_hook(uc_engine *uc, uc_mem_type type, uint64_t address, int size, int64_t value, void *user_data) { + const CPUState &state = *static_cast(user_data); + const MemState &mem = *state.mem; + log_memory_access("Write", static_cast
(address), size, value, mem); +} + +static void intr_hook(uc_engine *uc, uint32_t intno, void *user_data) { + assert(intno == 2); + + CPUState &state = *static_cast(user_data); + + uint32_t pc = 0; + uc_err err = uc_reg_read(uc, UC_ARM_REG_PC, &pc); + assert(err == UC_ERR_OK); + + if (is_thumb_mode(uc)) { + const Address svc_address = pc - 2; + uint16_t svc_instruction = 0; + err = uc_mem_read(uc, svc_address, &svc_instruction, sizeof(svc_instruction)); + assert(err == UC_ERR_OK); + const uint8_t imm = svc_instruction & 0xff; + state.call_svc(imm, pc); + } else { + const Address svc_address = pc - 4; + uint32_t svc_instruction = 0; + err = uc_mem_read(uc, svc_address, &svc_instruction, sizeof(svc_instruction)); + assert(err == UC_ERR_OK); + const uint32_t imm = svc_instruction & 0xffffff; + state.call_svc(imm, pc); + } +} + +static void enable_vfp_fpu(uc_engine *uc) { + uint64_t c1_c0_2 = 0; + uc_err err = uc_reg_read(uc, UC_ARM_REG_C1_C0_2, &c1_c0_2); + assert(err == UC_ERR_OK); + + c1_c0_2 |= (0xf << 20); + + err = uc_reg_write(uc, UC_ARM_REG_C1_C0_2, &c1_c0_2); + assert(err == UC_ERR_OK); + + const uint64_t fpexc = 0xf0000000; + + err = uc_reg_write(uc, UC_ARM_REG_FPEXC, &fpexc); + assert(err == UC_ERR_OK); +} + +CPUStatePtr init_cpu(Address pc, Address sp, bool log_code, CallSVC call_svc, MemState &mem) { + CPUStatePtr state(new CPUState(), delete_cpu_state); + state->mem = &mem; + state->call_svc = call_svc; + + if (!init(state->disasm)) { + return CPUStatePtr(); + } + + uc_engine *temp_uc = nullptr; + uc_err err = uc_open(UC_ARCH_ARM, UC_MODE_ARM, &temp_uc); + assert(err == UC_ERR_OK); + + state->uc = UnicornPtr(temp_uc, uc_close); + temp_uc = nullptr; + + uc_hook hh = 0; + if (log_code && LOG_CODE) { + const uc_err err = uc_hook_add(state->uc.get(), &hh, UC_HOOK_CODE, reinterpret_cast(&code_hook), state.get(), 1, 0); + assert(err == UC_ERR_OK); + } + + if (LOG_MEM_ACCESS) { + uc_err err = uc_hook_add(state->uc.get(), &hh, UC_HOOK_MEM_READ, reinterpret_cast(&read_hook), state.get(), 1, 0); + assert(err == UC_ERR_OK); + + err = uc_hook_add(state->uc.get(), &hh, UC_HOOK_MEM_WRITE, reinterpret_cast(&write_hook), state.get(), 1, 0); + assert(err == UC_ERR_OK); + } + + err = uc_hook_add(state->uc.get(), &hh, UC_HOOK_INTR, reinterpret_cast(&intr_hook), state.get(), 1, 0); + assert(err == UC_ERR_OK); + + err = uc_reg_write(state->uc.get(), UC_ARM_REG_SP, &sp); + assert(err == UC_ERR_OK); + + err = uc_mem_map_ptr(state->uc.get(), 0, GB(4), UC_PROT_ALL, &mem.memory[0]); + assert(err == UC_ERR_OK); + + err = uc_reg_write(state->uc.get(), UC_ARM_REG_PC, &pc); + assert(err == UC_ERR_OK); + + enable_vfp_fpu(state->uc.get()); + + return state; +} + +bool run(CPUState &state) { + uint64_t pc = 0; + uc_err err = uc_reg_read(state.uc.get(), UC_ARM_REG_PC, &pc); + assert(err == UC_ERR_OK); + + if (is_thumb_mode(state.uc.get())) { + pc |= 1; + } + + err = uc_emu_start(state.uc.get(), pc, 0, 0, 0); + assert(err == UC_ERR_OK); + + return true; +} + +void stop(CPUState &state) { + const uc_err err = uc_emu_stop(state.uc.get()); + assert(err == UC_ERR_OK); +} + +uint32_t read_reg(CPUState &state, size_t index) { + assert(index >= 0); + assert(index <= 3); + + uint32_t value = 0; + const uc_err err = uc_reg_read(state.uc.get(), UC_ARM_REG_R0 + index, &value); + assert(err == UC_ERR_OK); + + return value; +} + +uint32_t read_sp(CPUState &state) { + uint32_t value = 0; + const uc_err err = uc_reg_read(state.uc.get(), UC_ARM_REG_SP, &value); + assert(err == UC_ERR_OK); + + return value; +} + +void write_reg(CPUState &state, size_t index, uint32_t value) { + assert(index >= 0); + assert(index <= 1); + + const uc_err err = uc_reg_write(state.uc.get(), UC_ARM_REG_R0 + index, &value); + assert(err == UC_ERR_OK); +} + +void write_pc(CPUState &state, uint32_t value) { + const uc_err err = uc_reg_write(state.uc.get(), UC_ARM_REG_PC, &value); + assert(err == UC_ERR_OK); +} diff --git a/src/emulator/ctrl/CMakeLists.txt b/src/emulator/ctrl/CMakeLists.txt new file mode 100644 index 000000000..aacf42989 --- /dev/null +++ b/src/emulator/ctrl/CMakeLists.txt @@ -0,0 +1,7 @@ +add_library( + ctrl + INTERFACE +) + +target_include_directories(ctrl INTERFACE include) +target_link_libraries(ctrl INTERFACE sdl2) diff --git a/src/emulator/ctrl/include/ctrl/state.h b/src/emulator/ctrl/include/ctrl/state.h new file mode 100644 index 000000000..1a0c298ec --- /dev/null +++ b/src/emulator/ctrl/include/ctrl/state.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +#include +#include + +struct _SDL_GameController; + +typedef std::shared_ptr<_SDL_GameController> GameControllerPtr; +typedef std::map GameControllerList; + +struct CtrlState { + GameControllerList controllers; +}; diff --git a/src/emulator/disasm/CMakeLists.txt b/src/emulator/disasm/CMakeLists.txt new file mode 100644 index 000000000..4ef286e5c --- /dev/null +++ b/src/emulator/disasm/CMakeLists.txt @@ -0,0 +1,11 @@ +add_library( + disasm + STATIC + src/disasm.cpp + include/disasm/functions.h + include/disasm/state.h +) + +target_include_directories(disasm PUBLIC include) +target_include_directories(disasm PRIVATE ${capstone_INCLUDE_DIRS}) +target_link_libraries(disasm PRIVATE capstone-static) diff --git a/src/emulator/disasm/include/disasm/functions.h b/src/emulator/disasm/include/disasm/functions.h new file mode 100644 index 000000000..1c79576c8 --- /dev/null +++ b/src/emulator/disasm/include/disasm/functions.h @@ -0,0 +1,25 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +struct DisasmState; + +bool init(DisasmState &state); +std::string disassemble(DisasmState &state, const uint8_t *code, size_t size, uint64_t address, bool thumb); diff --git a/src/emulator/disasm/include/disasm/state.h b/src/emulator/disasm/include/disasm/state.h new file mode 100644 index 000000000..cb73daf54 --- /dev/null +++ b/src/emulator/disasm/include/disasm/state.h @@ -0,0 +1,30 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include + +struct cs_insn; + +typedef std::unique_ptr> InsnPtr; + +struct DisasmState { + size_t csh; + InsnPtr insn; +}; diff --git a/src/emulator/disasm/src/disasm.cpp b/src/emulator/disasm/src/disasm.cpp new file mode 100644 index 000000000..1da56a818 --- /dev/null +++ b/src/emulator/disasm/src/disasm.cpp @@ -0,0 +1,63 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include + +#include +#include + +static void delete_insn(cs_insn *insn) { + if (insn != nullptr) { + cs_free(insn, 1); + } +} + +bool init(DisasmState &state) { + cs_err err = cs_open(CS_ARCH_ARM, CS_MODE_THUMB, &state.csh); + if (err != CS_ERR_OK) { + return false; + } + + cs_option(state.csh, CS_OPT_SKIPDATA, CS_OPT_ON); + + state.insn = InsnPtr(cs_malloc(state.csh), delete_insn); + if (!state.insn) { + return false; + } + + return true; +} + +std::string disassemble(DisasmState &state, const uint8_t *code, size_t size, uint64_t address, bool thumb) { + const cs_err err = cs_option(state.csh, CS_OPT_MODE, thumb ? CS_MODE_THUMB : CS_MODE_ARM); + assert(err == CS_ERR_OK); + + const bool success = cs_disasm_iter(state.csh, &code, &size, &address, state.insn.get()); + + std::ostringstream out; + out << state.insn->mnemonic << " " << state.insn->op_str; + if (!success) { + const cs_err err = cs_errno(state.csh); + out << " (" << cs_strerror(err) << ")"; + } + + return out.str(); +} diff --git a/src/emulator/glutil/CMakeLists.txt b/src/emulator/glutil/CMakeLists.txt new file mode 100644 index 000000000..74846a092 --- /dev/null +++ b/src/emulator/glutil/CMakeLists.txt @@ -0,0 +1,11 @@ +add_library( + glutil + STATIC + include/glutil/gl.h + include/glutil/object.h + include/glutil/object_array.h + src/object.cpp +) + +target_include_directories(glutil PUBLIC include) +target_link_libraries(glutil PUBLIC glbinding) diff --git a/src/emulator/glutil/include/glutil/gl.h b/src/emulator/glutil/include/glutil/gl.h new file mode 100644 index 000000000..6f5b8a7df --- /dev/null +++ b/src/emulator/glutil/include/glutil/gl.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include + +using namespace gl21; +using namespace gl21ext; diff --git a/src/emulator/glutil/include/glutil/object.h b/src/emulator/glutil/include/glutil/object.h new file mode 100644 index 000000000..5ed0b2d23 --- /dev/null +++ b/src/emulator/glutil/include/glutil/object.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +class GLObject { +public: + typedef void Deleter(GLuint); + + GLObject() = default; + ~GLObject(); + bool init(GLuint name, Deleter *deleter); + GLuint get() const; + +private: + GLObject(const GLObject &); + const GLObject &operator=(const GLObject &); + + GLuint name = 0; + Deleter *deleter = nullptr; +}; diff --git a/src/emulator/glutil/include/glutil/object_array.h b/src/emulator/glutil/include/glutil/object_array.h new file mode 100644 index 000000000..b62832c15 --- /dev/null +++ b/src/emulator/glutil/include/glutil/object_array.h @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +#include +#include + +template +class GLObjectArray { +public: + typedef void Generator(GLsizei, GLuint *); + typedef void Deleter(GLsizei, const GLuint *); + + GLObjectArray() { + names.fill(0); + } + + ~GLObjectArray() { + assert(deleter != nullptr); + deleter(static_cast(names.size()), &names[0]); + names.fill(0); + } + + bool init(Generator *generator, Deleter *deleter) { + assert(generator != nullptr); + assert(deleter != nullptr); + this->deleter = deleter; + generator(static_cast(names.size()), &names[0]); + + return glGetError() == GL_NO_ERROR; + } + + const GLuint operator[](size_t i) const { + assert(i >= 0); + assert(i < names.size()); + assert(names[i] != 0); + return names[i]; + } + + size_t size() const { + return names.size(); + } + +private: + typedef std::array Names; + + GLObjectArray(const GLObjectArray &); + const GLObjectArray &operator=(const GLObjectArray &); + + Names names; + Deleter *deleter = nullptr; +}; diff --git a/src/emulator/glutil/src/object.cpp b/src/emulator/glutil/src/object.cpp new file mode 100644 index 000000000..655f96d5a --- /dev/null +++ b/src/emulator/glutil/src/object.cpp @@ -0,0 +1,43 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +GLObject::~GLObject() { + if (deleter != nullptr) { + deleter(name); + } + name = 0; +} + +bool GLObject::init(GLuint name, Deleter *deleter) { + assert(name != 0); + assert(deleter != nullptr); + assert(this->name == 0); + assert(this->deleter == nullptr); + this->name = name; + this->deleter = deleter; + + return name != 0; +} + +GLuint GLObject::get() const { + assert(name != 0); + return name; +} diff --git a/src/emulator/gxm/CMakeLists.txt b/src/emulator/gxm/CMakeLists.txt new file mode 100644 index 000000000..d598f3742 --- /dev/null +++ b/src/emulator/gxm/CMakeLists.txt @@ -0,0 +1,7 @@ +add_library( + gxm + INTERFACE +) + +target_include_directories(gxm INTERFACE include) +target_link_libraries(gxm INTERFACE mem) diff --git a/src/emulator/gxm/include/gxm/state.h b/src/emulator/gxm/include/gxm/state.h new file mode 100644 index 000000000..348aad541 --- /dev/null +++ b/src/emulator/gxm/include/gxm/state.h @@ -0,0 +1,19 @@ +#pragma once + +#include + +namespace emu { + typedef void SceGxmDisplayQueueCallback(Ptr callbackData); + + struct SceGxmInitializeParams { + uint32_t flags = 0; + uint32_t displayQueueMaxPendingCount = 0; + Ptr displayQueueCallback; + uint32_t displayQueueCallbackDataSize = 0; + uint32_t parameterBufferSize = 0; + }; +} + +struct GxmState { + emu::SceGxmInitializeParams params; +}; diff --git a/src/emulator/host/CMakeLists.txt b/src/emulator/host/CMakeLists.txt new file mode 100644 index 000000000..0eebeb175 --- /dev/null +++ b/src/emulator/host/CMakeLists.txt @@ -0,0 +1,16 @@ +add_library( +host +STATIC +include/host/functions.h +include/host/import_fn.h +include/host/state.h +include/host/version.h +src/host.cpp +version.cpp +) + +configure_file(src/version.cpp.in version.cpp) + +target_include_directories(host PUBLIC include) +target_link_libraries(host PUBLIC audio cpu ctrl gxm io kernel mem) +target_link_libraries(host PRIVATE nids sdl2) diff --git a/src/emulator/host/include/host/functions.h b/src/emulator/host/include/host/functions.h new file mode 100644 index 000000000..87eda2238 --- /dev/null +++ b/src/emulator/host/include/host/functions.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +struct HostState; + +bool init(HostState &state); +bool handle_events(HostState &host); +void call_import(HostState &host, uint32_t nid, SceUID thread_id); diff --git a/src/emulator/host/include/host/import_fn.h b/src/emulator/host/include/host/import_fn.h new file mode 100644 index 000000000..46434226a --- /dev/null +++ b/src/emulator/host/include/host/import_fn.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +struct HostState; + +typedef void ImportFn(HostState &host, SceUID thread_id); diff --git a/src/emulator/host/include/host/state.h b/src/emulator/host/include/host/state.h new file mode 100644 index 000000000..4678f6a67 --- /dev/null +++ b/src/emulator/host/include/host/state.h @@ -0,0 +1,42 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include
ThreadStack; +typedef std::shared_ptr ThreadStackPtr; +typedef std::unique_ptr> CPUStatePtr; + +enum class ThreadToDo { + exit, + run, + wait, +}; + +struct ThreadState { + ThreadStackPtr stack; + CPUStatePtr cpu; + ThreadToDo to_do = ThreadToDo::run; + std::mutex mutex; + std::condition_variable something_to_do; +}; diff --git a/src/emulator/kernel/src/kernel.cpp b/src/emulator/kernel/src/kernel.cpp new file mode 100644 index 000000000..adf3a26d9 --- /dev/null +++ b/src/emulator/kernel/src/kernel.cpp @@ -0,0 +1,53 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include + +#include +#include +#include + +Ptr> get_thread_tls_addr(KernelState &kernel, MemState &mem, SceUID thread_id, int key) { + SlotToAddress &slot_to_address = kernel.tls[thread_id]; + + const SlotToAddress::const_iterator existing = slot_to_address.find(key); + if (existing != slot_to_address.end()) { + return existing->second; + } + + // TODO Use a finer-grained allocator. + // TODO This is a memory leak. + const Ptr> address(alloc>(mem, "TLS")); + slot_to_address.insert(SlotToAddress::value_type(key, address)); + + return address; +} + +void stop_all_threads(KernelState &kernel) { + const std::unique_lock lock(kernel.mutex); + for (ThreadStatePtrs::iterator thread = kernel.threads.begin(); thread != kernel.threads.end(); ++thread) { + { + const std::unique_lock lock(thread->second->mutex); + thread->second->to_do = ThreadToDo::exit; + } + thread->second->something_to_do.notify_all(); + stop(*thread->second->cpu); + } +} diff --git a/src/emulator/kernel/src/thread.cpp b/src/emulator/kernel/src/thread.cpp new file mode 100644 index 000000000..7a84a2f34 --- /dev/null +++ b/src/emulator/kernel/src/thread.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include +#include + +#include + +ThreadStatePtr init_thread(Ptr entry_point, size_t stack_size, bool log_code, MemState &mem, CallImport call_import) { + const ThreadStack::Deleter stack_deleter = [&mem](Address stack) { + free(mem, stack); + }; + + const ThreadStatePtr thread = std::make_shared(); + thread->stack = std::make_shared(alloc(mem, stack_size, "Stack"), stack_deleter); + const Address stack_top = thread->stack->get() + stack_size; + memset(Ptr(thread->stack->get()).get(mem), 0xcc, stack_size); + + const CallSVC call_svc = [call_import, &mem](uint32_t imm, Address pc) { + assert(imm == 0); + const uint32_t nid = *Ptr(pc + 4).get(mem); + call_import(nid); + }; + + thread->cpu = init_cpu(entry_point.address(), stack_top, log_code, call_svc, mem); + if (!thread->cpu) { + return ThreadStatePtr(); + } + + return thread; +} + +bool run_thread(ThreadState &thread) { + std::unique_lock lock(thread.mutex); + while (true) { + switch (thread.to_do) { + case ThreadToDo::exit: + return true; + case ThreadToDo::run: + lock.unlock(); + if (!run(*thread.cpu)) { + return false; + } + lock.lock(); + break; + case ThreadToDo::wait: + thread.something_to_do.wait(lock); + break; + } + } +} diff --git a/src/emulator/load_self.cpp b/src/emulator/load_self.cpp new file mode 100644 index 000000000..e0a91b2f3 --- /dev/null +++ b/src/emulator/load_self.cpp @@ -0,0 +1,124 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include "load_self.h" + +#include "relocation.h" + +#include + +#include +#define SCE_ELF_DEFS_TARGET +#include +#undef SCE_ELF_DEFS_TARGET +#include + +#include +#include +#include + +using namespace ELFIO; + +static const bool LOG_IMPORTS = false; + +static bool load_func_imports(const uint32_t *nids, const Ptr *entries, size_t count, const MemState &mem) { + for (size_t i = 0; i < count; ++i) { + const uint32_t nid = nids[i]; + const Ptr entry = entries[i]; + + if (LOG_IMPORTS) { + const char *const name = import_name(nid); + const char prev_fill = std::cout.fill(); + std::cout << "\tNID " << std::hex << std::setw(8) << std::setfill('0') << nid << std::setfill(prev_fill) << " (" << name << ") at 0x" << entry.address() << std::dec << std::endl; + } + + uint32_t *const stub = entry.get(mem); + stub[0] = 0xef000000; // svc #0 - Call our interrupt hook. + stub[1] = 0xe1a0f00e; // mov pc, lr - Return to the caller. + stub[2] = nid; // Our interrupt hook will read this. + } + + return true; +} + +static bool load_imports(const sce_module_info_raw &module, Ptr segment_address, const MemState &mem) { + const uint8_t *const base = segment_address.cast().get(mem); + const sce_module_imports_raw *const imports_begin = reinterpret_cast(base + module.import_top); + const sce_module_imports_raw *const imports_end = reinterpret_cast(base + module.import_end); + + for (const sce_module_imports_raw *imports = imports_begin; imports < imports_end; imports = reinterpret_cast(reinterpret_cast(imports) + imports->size)) { + if (LOG_IMPORTS) { + const char *const lib_name = Ptr(imports->module_name).get(mem); + std::cout << "Loading imports from " << lib_name << std::endl; + } + + assert(imports->version == 1); + assert(imports->num_syms_vars == 0); + assert(imports->num_syms_unk == 0); + + const uint32_t *const nids = Ptr(imports->func_nid_table).get(mem); + const Ptr *const entries = Ptr>(imports->func_entry_table).get(mem); + if (!load_func_imports(nids, entries, imports->num_syms_funcs, mem)) { + return false; + } + } + + return true; +} + +bool load_self(Ptr &entry_point, MemState &mem, const void *self) { + const uint8_t *const self_bytes = static_cast(self); + const SCE_header &self_header = *static_cast(self); + const uint8_t *const elf_bytes = self_bytes + self_header.header_len; + const Elf32_Ehdr &elf = *reinterpret_cast(elf_bytes); + const unsigned int module_info_segment_index = static_cast(elf.e_entry >> 30); + const uint32_t module_info_offset = elf.e_entry & 0x3fffffff; + const Elf32_Phdr *const segments = reinterpret_cast(self_bytes + self_header.phdr_offset); + const Elf32_Phdr &module_info_segment = segments[module_info_segment_index]; + const uint8_t *const module_info_segment_bytes = elf_bytes + module_info_segment.p_offset; + const sce_module_info_raw *const module_info = reinterpret_cast(module_info_segment_bytes + module_info_offset); + + SegmentAddresses segment_addrs; + for (Elf_Half segment_index = 0; segment_index < elf.e_phnum; ++segment_index) { + const Elf32_Phdr &src = segments[segment_index]; + const uint8_t *const segment_bytes = elf_bytes + src.p_offset; + if (src.p_type == PT_LOAD) { + const Ptr address(alloc(mem, src.p_memsz, "segment")); + if (!address) { + std::cerr << "Failed to allocate memory for segment." << std::endl; + return false; + } + + memcpy(address.get(mem), segment_bytes, src.p_filesz); + + segment_addrs[segment_index] = address; + } else if (src.p_type == PT_LOOS) { + if (!relocate(segment_bytes, src.p_filesz, segment_addrs, mem)) { + return false; + } + } + } + + const Ptr module_info_segment_address = segment_addrs[module_info_segment_index].cast(); + entry_point = module_info_segment_address + module_info->module_start; + + if (!load_imports(*module_info, module_info_segment_address, mem)) { + return false; + } + + return true; +} diff --git a/src/emulator/load_self.h b/src/emulator/load_self.h new file mode 100644 index 000000000..c6a096636 --- /dev/null +++ b/src/emulator/load_self.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +struct MemState; +template +class Ptr; + +bool load_self(Ptr &entry_point, MemState &mem, const void *self); diff --git a/src/emulator/main.cpp b/src/emulator/main.cpp new file mode 100644 index 000000000..28e94487a --- /dev/null +++ b/src/emulator/main.cpp @@ -0,0 +1,112 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include "vpk.h" + +#include +#include +#include +#include + +#include + +#include +#include + +typedef std::unique_ptr SDLPtr; + +enum ExitCode { + Success = 0, + IncorrectArgs, + SDLInitFailed, + HostInitFailed, + ModuleLoadFailed, + InitThreadFailed, + RunThreadFailed +}; + +static void error(const char *message, SDL_Window *window) { + if (SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Error", message, window) < 0) { + std::cerr << message << std::endl; + } +} + +static void term_sdl(const void *succeeded) { + assert(succeeded != nullptr); + + SDL_Quit(); +} + +int main(int argc, char *argv[]) { + std::cout << window_title << std::endl; + + if (argc < 2) { + std::string message = "Usage: "; + message += argv[0]; + message += " "; + error(message.c_str(), nullptr); + return IncorrectArgs; + } + + const SDLPtr sdl(reinterpret_cast(SDL_Init(SDL_INIT_AUDIO | SDL_INIT_GAMECONTROLLER | SDL_INIT_VIDEO) >= 0), term_sdl); + if (!sdl) { + error("SDL initialisation failed.", nullptr); + return SDLInitFailed; + } + + HostState host; + if (!init(host)) { + error("Host initialisation failed.", host.window.get()); + return HostInitFailed; + } + + Ptr entry_point; + const char *const path = argv[1]; + if (!load_vpk(entry_point, host.io, host.mem, path)) { + std::string message = "Failed to load \""; + message += path; + message += "\"."; + error(message.c_str(), host.window.get()); + return ModuleLoadFailed; + } + + // TODO This is hacky. Belongs in kernel? + const SceUID main_thread_id = host.kernel.next_uid++; + + const CallImport call_import = [&host, main_thread_id](uint32_t nid) { + ::call_import(host, nid, main_thread_id); + }; + + const size_t stack_size = MB(1); // TODO Get main thread stack size from somewhere? + const bool log_code = false; + const ThreadStatePtr main_thread = init_thread(entry_point, stack_size, log_code, host.mem, call_import); + if (!main_thread) { + error("Failed to init main thread.", host.window.get()); + return InitThreadFailed; + } + + // TODO Move this to kernel. + host.kernel.threads.emplace(main_thread_id, main_thread); + + host.t1 = SDL_GetTicks(); + if (!run_thread(*main_thread)) { + error("Failed to run main thread.", host.window.get()); + return RunThreadFailed; + } + + return Success; +} diff --git a/src/emulator/mem/CMakeLists.txt b/src/emulator/mem/CMakeLists.txt new file mode 100644 index 000000000..a58437304 --- /dev/null +++ b/src/emulator/mem/CMakeLists.txt @@ -0,0 +1,9 @@ +add_library( + mem + STATIC + src/mem.cpp + include/mem/mem.h + include/mem/ptr.h +) + +target_include_directories(mem PUBLIC include) diff --git a/src/emulator/mem/include/mem/mem.h b/src/emulator/mem/include/mem/mem.h new file mode 100644 index 000000000..295429e6e --- /dev/null +++ b/src/emulator/mem/include/mem/mem.h @@ -0,0 +1,55 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include +#include +#include +#include + +typedef uint32_t Address; +typedef size_t Generation; +typedef std::unique_ptr> Memory; +typedef std::vector Allocated; +typedef std::map GenerationNames; + +struct MemState { + size_t page_size = 0; + Generation generation = 0; + Memory memory; + Allocated allocated_pages; + GenerationNames generation_names; +}; + +constexpr size_t KB(size_t kb) { + return kb * 1024; +} + +constexpr size_t MB(size_t mb) { + return mb * KB(1024); +} + +constexpr size_t GB(size_t gb) { + return gb * MB(1024); +} + +bool init(MemState &state); +Address alloc(MemState &state, size_t size, const char *name); +void free(MemState &state, Address address); +const char *mem_name(Address address, const MemState &state); diff --git a/src/emulator/mem/include/mem/ptr.h b/src/emulator/mem/include/mem/ptr.h new file mode 100644 index 000000000..2fe370117 --- /dev/null +++ b/src/emulator/mem/include/mem/ptr.h @@ -0,0 +1,98 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +template +class Ptr { +public: + Ptr() + : addr(0) { + } + + explicit Ptr(Address address) + : addr(address) { + } + + template + Ptr(const Ptr &other) + : addr(other.address()) { + static_assert(std::is_convertible::value, "Ptr is not convertible."); + } + + Address address() const { + return addr; + } + + template + Ptr cast() const { + return Ptr(addr); + } + + T *get(const MemState &mem) const { + if (addr == 0) { + return nullptr; + } else { + return reinterpret_cast(&mem.memory[addr]); + } + } + + void reset() { + addr = 0; + } + + explicit operator bool() const { + return addr != 0; + } + +private: + Address addr; +}; + +static_assert(sizeof(Ptr) == 4, "Size of Ptr isn't 4 bytes."); + +template +Ptr operator+(const Ptr &base, int32_t offset) { + return Ptr(base.address() + (offset * sizeof(T))); +} + +template +bool operator<(const Ptr &a, const Ptr &b) { + return a.address() < b.address(); +} + +template +Ptr alloc(MemState &mem, const char *name) { + const Address address = alloc(mem, sizeof(T), name); + const Ptr ptr(address); + if (!ptr) { + return ptr; + } + + T *const memory = ptr.get(mem); + new (memory) T; + + return ptr; +} + +template +void free(MemState &mem, const Ptr &ptr) { + ptr.get(mem)->~T(); + free(mem, ptr.address()); +} diff --git a/src/emulator/mem/src/mem.cpp b/src/emulator/mem/src/mem.cpp new file mode 100644 index 000000000..6cbb94065 --- /dev/null +++ b/src/emulator/mem/src/mem.cpp @@ -0,0 +1,147 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include +#include + +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#include +#else +#include +#include +#endif + +static void delete_memory(uint8_t *memory) { + if (memory != nullptr) { +#ifdef WIN32 + const BOOL ret = VirtualFree(memory, 0, MEM_RELEASE); + assert(ret); +#else + munmap(memory, GB(4)); +#endif + } +} + +static void alloc_inner(MemState &state, Address address, size_t page_count, Allocated::iterator block, const char *name) { + uint8_t *const memory = &state.memory[address]; + const size_t aligned_size = page_count * state.page_size; + + const Generation generation = ++state.generation; + std::fill_n(block, page_count, generation); + state.generation_names[generation] = name; + +#ifdef WIN32 + const void *const ret = VirtualAlloc(memory, aligned_size, MEM_COMMIT, PAGE_READWRITE); + assert(ret == memory); +#else + mprotect(memory, aligned_size, PROT_READ | PROT_WRITE); +#endif + std::memset(memory, 0, aligned_size); +} + +bool init(MemState &state) { +#ifdef WIN32 + SYSTEM_INFO system_info = {}; + GetSystemInfo(&system_info); + state.page_size = system_info.dwPageSize; +#else + state.page_size = sysconf(_SC_PAGESIZE); +#endif + assert(state.page_size >= 4096); // Limit imposed by Unicorn. + + const size_t length = GB(4); +#ifdef WIN32 + state.memory = Memory(static_cast(VirtualAlloc(nullptr, length, MEM_RESERVE, PAGE_NOACCESS)), delete_memory); +#else + // http://man7.org/linux/man-pages/man2/mmap.2.html + void *const addr = nullptr; + const int prot = PROT_NONE; + const int flags = MAP_PRIVATE | MAP_ANONYMOUS; + const int fd = 0; + const off_t offset = 0; + state.memory = Memory(static_cast(mmap(addr, length, prot, flags, fd, offset)), delete_memory); +#endif + if (!state.memory) { + return false; + } + + state.allocated_pages.resize(length / state.page_size); + const Address null_address = alloc(state, 1, "NULL"); + assert(null_address == 0); +#ifdef WIN32 + const BOOL res = VirtualProtect(state.memory.get(), state.page_size, PAGE_NOACCESS, nullptr); +#else + mprotect(state.memory.get(), state.page_size, PROT_NONE); +#endif + + return true; +} + +Address alloc(MemState &state, size_t size, const char *name) { + const size_t page_count = (size + (state.page_size - 1)) / state.page_size; + const Allocated::iterator block = std::search_n(state.allocated_pages.begin(), state.allocated_pages.end(), page_count, 0); + if (block == state.allocated_pages.end()) { + assert(false); + return 0; + } + + const size_t block_page_index = block - state.allocated_pages.begin(); + const Address address = static_cast
(block_page_index * state.page_size); + + alloc_inner(state, address, page_count, block, name); + + return address; +} + +void free(MemState &state, Address address) { + const size_t page = address / state.page_size; + assert(page >= 0); + assert(page < state.allocated_pages.size()); + + const Generation generation = state.allocated_pages[page]; + assert(generation != 0); + + const std::binder1st> different_generation = std::bind1st(std::not_equal_to(), generation); + const Allocated::iterator first_page = state.allocated_pages.begin() + page; + const Allocated::iterator last_page = std::find_if(first_page, state.allocated_pages.end(), different_generation); + std::fill(first_page, last_page, 0); + + // TODO Decommit/protect freed memory. +} + +const char *mem_name(Address address, const MemState &state) { + const size_t page = address / state.page_size; + assert(page >= 0); + assert(page < state.allocated_pages.size()); + + const Generation generation = state.allocated_pages[page]; + if (generation == 0) { + return "UNALLOCATED"; + } + + const GenerationNames::const_iterator found = state.generation_names.find(generation); + assert(found != state.generation_names.end()); + if (found == state.generation_names.end()) { + return "UNNAMED"; + } + + return found->second.c_str(); +} diff --git a/src/emulator/module/CMakeLists.txt b/src/emulator/module/CMakeLists.txt new file mode 100644 index 000000000..8ec5a56d4 --- /dev/null +++ b/src/emulator/module/CMakeLists.txt @@ -0,0 +1,14 @@ +add_library( + module + STATIC + include/module/bridge.h + include/module/bridge_args.h + include/module/bridge_return.h + include/module/module.h + src/bridge_return.cpp + src/module.cpp +) + +target_include_directories(module PUBLIC include) +target_link_libraries(module PUBLIC host microprofile) +target_link_libraries(module PRIVATE util) diff --git a/src/emulator/module/include/module/bridge.h b/src/emulator/module/include/module/bridge.h new file mode 100644 index 000000000..142128b56 --- /dev/null +++ b/src/emulator/module/include/module/bridge.h @@ -0,0 +1,72 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include +#include + +#include + +#include + +struct CPUState; + +template +struct ArgLayout; + +template +struct BridgeReturn; + +template +struct CallAndBridgeReturn; + +// Function returns a value that requires bridging. +template +struct CallAndBridgeReturn> { + static void call(SceUID thread_id, CPUState &cpu, HostState &host) { + using ArgLayoutType = ArgLayout; + const Ret ret = (*export_fn)(host, thread_id, ArgLayoutType::template read(cpu, host.mem)...); + BridgeReturn::write(cpu, ret); + } +}; + +// Function does not return a value. +template +struct CallAndBridgeReturn> { + static void call(SceUID thread_id, CPUState &cpu, HostState &host) { + using ArgLayoutType = ArgLayout; + (*export_fn)(host, thread_id, ArgLayoutType::template read(cpu, host.mem)...); + } +}; + +template +struct Bridge; + +template +struct Bridge { + static void call(HostState &host, SceUID thread_id) { + MICROPROFILE_SCOPEI("HLE", "", MP_YELLOW); + + const ThreadStatePtr thread = lock_and_find(thread_id, host.kernel.threads, host.kernel.mutex); + assert(thread); + + using Indices = std::index_sequence_for; + CallAndBridgeReturn::call(thread_id, *thread->cpu, host); + } +}; diff --git a/src/emulator/module/include/module/bridge_args.h b/src/emulator/module/include/module/bridge_args.h new file mode 100644 index 000000000..125698e4f --- /dev/null +++ b/src/emulator/module/include/module/bridge_args.h @@ -0,0 +1,122 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include +#include + +// Given some types on the stack... +template +struct StackLayout { + // Compute the offset of a particular argument on the stack. + template + static constexpr size_t offset() { + constexpr size_t sizes[] = { sizeof(Args)... }; + size_t size = 0; + + for (size_t i = 0; i < index; ++i) { + size += sizes[i]; + } + + return size; + } +}; + +// Simple case - argument can be cast from integer. +template +struct RegArg { + static T bridge(const MemState &, uint32_t value) { + return static_cast(value); + } +}; + +// Emulated pointer constructed from address in register. +template +struct RegArg> { + static Ptr bridge(const MemState &, uint32_t value) { + return Ptr(value); + } +}; + +// Real pointer bridged from address in register. +template +struct RegArg { + static Pointee *bridge(const MemState &mem, uint32_t value) { + const Ptr ptr(value); + return ptr.get(mem); + } +}; + +// Simple case - argument is on stack. +template +struct StackArg { + using Type = T; + + static T bridge(const MemState &, const Type &value) { + return value; + } +}; + +// Real pointer bridged from emulated pointer on stack. +template +struct StackArg { + using Type = Ptr; + + static Pointee *bridge(const MemState &mem, Ptr ptr) { + return ptr.get(mem); + } +}; + +// Syntactic sugar. +template +using StackType = const typename StackArg::Type; + +// Simple case - all arguments in registers. +template +struct ArgLayout { + template + static T read(CPUState &cpu, const MemState &mem) { + const uint32_t value = read_reg(cpu, index); + return RegArg::bridge(mem, value); + } +}; + +// Complex case - at least one argument has spilled onto stack. +template +struct ArgLayout { + using StackLayout = StackLayout, StackType...>; + + template + static typename std::enable_if < index<4, T>::type read(CPUState &cpu, const MemState &mem) { + const uint32_t value = read_reg(cpu, index); + return RegArg::bridge(mem, value); + } + + template + static typename std::enable_if= 4, T>::type read(CPUState &cpu, const MemState &mem) { + using StackType = StackType; + + constexpr size_t offset_on_stack = StackLayout::template offset(); + const Address sp = read_sp(cpu); + const Address address = static_cast
(sp + offset_on_stack); + const Ptr ptr(address); + const StackType &value_on_stack = *ptr.get(mem); + const T bridged_value = StackArg::bridge(mem, std::forward(value_on_stack)); + return bridged_value; + } +}; diff --git a/src/emulator/module/include/module/bridge_return.h b/src/emulator/module/include/module/bridge_return.h new file mode 100644 index 000000000..9e0d46a5a --- /dev/null +++ b/src/emulator/module/include/module/bridge_return.h @@ -0,0 +1,41 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +struct CPUState; + +template +void bridge_return(CPUState &, Ret ret); + +// Simple case - return value can be written directly to registers. +template +struct BridgeReturn { + static void write(CPUState &cpu, Ret ret) { + bridge_return(cpu, ret); + } +}; + +// Write pointers as addresses. +template +struct BridgeReturn> { + static void write(CPUState &cpu, const Ptr &ret) { + bridge_return(cpu, ret.address()); + } +}; diff --git a/src/emulator/module/include/module/module.h b/src/emulator/module/include/module/module.h new file mode 100644 index 000000000..103907c0b --- /dev/null +++ b/src/emulator/module/include/module/module.h @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include "bridge.h" +#include "bridge_args.h" +#include "bridge_return.h" + +#include +#include + +#include + +int unimplemented(const char *name); + +#define BRIDGE_DECL(name) extern ImportFn *const import_##name; +#define BRIDGE_IMPL(name) ImportFn *const import_##name = &Bridge::call; + +#define EXPORT(ret, name, ...) ret export_##name(HostState &host, SceUID thread_id, ##__VA_ARGS__) diff --git a/src/emulator/module/src/bridge_return.cpp b/src/emulator/module/src/bridge_return.cpp new file mode 100644 index 000000000..feaa1a54e --- /dev/null +++ b/src/emulator/module/src/bridge_return.cpp @@ -0,0 +1,36 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +template <> +void bridge_return(CPUState &cpu, int32_t ret) { + write_reg(cpu, 0, ret); +} + +template <> +void bridge_return(CPUState &cpu, uint32_t ret) { + write_reg(cpu, 0, ret); +} + +template <> +void bridge_return(CPUState &cpu, uint64_t ret) { + write_reg(cpu, 0, ret & UINT32_MAX); + write_reg(cpu, 1, ret >> 32); +} diff --git a/src/emulator/module/src/module.cpp b/src/emulator/module/src/module.cpp new file mode 100644 index 000000000..06d6084b6 --- /dev/null +++ b/src/emulator/module/src/module.cpp @@ -0,0 +1,42 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include +#include + +typedef std::set NameSet; + +static std::mutex mutex; +static NameSet logged; + +int unimplemented(const char *name) { + bool inserted = false; + + { + const std::lock_guard lock(mutex); + inserted = logged.insert(name).second; + } + + if (inserted) { + std::cerr << ">>> " << name << " <<< Unimplemented import called." << std::endl; + } + + return 0; +} diff --git a/src/emulator/modules/CMakeLists.txt b/src/emulator/modules/CMakeLists.txt new file mode 100644 index 000000000..a234b320e --- /dev/null +++ b/src/emulator/modules/CMakeLists.txt @@ -0,0 +1,261 @@ +add_subdirectory(SceAVConfig) +add_subdirectory(SceAppMgr) +add_subdirectory(SceAppUtil) +add_subdirectory(SceAtrac) +add_subdirectory(SceAudio) +add_subdirectory(SceAudioIn) +add_subdirectory(SceAudiodec) +add_subdirectory(SceAudioenc) +add_subdirectory(SceAvPlayer) +add_subdirectory(SceBt) +add_subdirectory(SceCamera) +add_subdirectory(SceClipboard) +add_subdirectory(SceCodecEngine) +add_subdirectory(SceCodecEnginePerf) +add_subdirectory(SceCommonDialog) +add_subdirectory(SceCoredump) +add_subdirectory(SceCtrl) +add_subdirectory(SceDTrace) +add_subdirectory(SceDeci4p) +add_subdirectory(SceDeflt) +add_subdirectory(SceDisplay) +add_subdirectory(SceFace) +add_subdirectory(SceFiber) +add_subdirectory(SceFios2) +add_subdirectory(SceGpuEs4) +add_subdirectory(SceGxm) +add_subdirectory(SceHandwriting) +add_subdirectory(SceHeap) +add_subdirectory(SceHid) +add_subdirectory(SceHmac) +add_subdirectory(SceIme) +add_subdirectory(SceIofilemgr) +add_subdirectory(SceJpeg) +add_subdirectory(SceJpegEnc) +add_subdirectory(SceKernelDmacMgr) +add_subdirectory(SceKernelModulemgr) +add_subdirectory(SceKernelThreadMgr) +add_subdirectory(SceLibDbg) +add_subdirectory(SceLibGameUpdate) +add_subdirectory(SceLibHttp) +add_subdirectory(SceLibKernel) +add_subdirectory(SceLibLocation) +add_subdirectory(SceLibLocationExtension) +add_subdirectory(SceLibMonoBridge) +add_subdirectory(SceLibNetCtl) +add_subdirectory(SceLibPgf) +add_subdirectory(SceLibPspnetAdhoc) +add_subdirectory(SceLibPvf) +add_subdirectory(SceLibRudp) +add_subdirectory(SceLibSsl) +add_subdirectory(SceLibc) +add_subdirectory(SceLiveAreaUtil) +add_subdirectory(SceLsdb) +add_subdirectory(SceMd5) +add_subdirectory(SceMotion) +add_subdirectory(SceMotionDev) +add_subdirectory(SceMt19937) +add_subdirectory(SceMtpIfDriver) +add_subdirectory(SceMusicExport) +add_subdirectory(SceNearDialogUtil) +add_subdirectory(SceNearUtil) +add_subdirectory(SceNet) +add_subdirectory(SceNetAdhocMatching) +add_subdirectory(SceNgs) +add_subdirectory(SceNpActivity) +add_subdirectory(SceNpBasic) +add_subdirectory(SceNpCommerce2) +add_subdirectory(SceNpCommon) +add_subdirectory(SceNpDrm) +add_subdirectory(SceNpManager) +add_subdirectory(SceNpMatching2) +add_subdirectory(SceNpMessage) +add_subdirectory(SceNpPartyGameUtil) +add_subdirectory(SceNpScore) +add_subdirectory(SceNpSignaling) +add_subdirectory(SceNpSnsFacebook) +add_subdirectory(SceNpTrophy) +add_subdirectory(SceNpTus) +add_subdirectory(SceNpUtility) +add_subdirectory(ScePaf) +add_subdirectory(ScePerf) +add_subdirectory(ScePhotoExport) +add_subdirectory(ScePower) +add_subdirectory(SceProcessmgr) +add_subdirectory(ScePromoterUtil) +add_subdirectory(SceRazorCapture) +add_subdirectory(SceRazorHud) +add_subdirectory(SceRegistryMgr) +add_subdirectory(SceRtc) +add_subdirectory(SceSasUser) +add_subdirectory(SceSblUpdateMgr) +add_subdirectory(SceScreenShot) +add_subdirectory(SceSfmt11213) +add_subdirectory(SceSfmt1279) +add_subdirectory(SceSfmt132049) +add_subdirectory(SceSfmt19937) +add_subdirectory(SceSfmt216091) +add_subdirectory(SceSfmt2281) +add_subdirectory(SceSfmt4253) +add_subdirectory(SceSfmt44497) +add_subdirectory(SceSfmt607) +add_subdirectory(SceSfmt86243) +add_subdirectory(SceSha0) +add_subdirectory(SceSha1) +add_subdirectory(SceSha224) +add_subdirectory(SceSha256) +add_subdirectory(SceSha384) +add_subdirectory(SceSha512) +add_subdirectory(SceSha512t) +add_subdirectory(SceShellSvc) +add_subdirectory(SceShutterSound) +add_subdirectory(SceSmart) +add_subdirectory(SceSqlite) +add_subdirectory(SceStdio) +add_subdirectory(SceSulpha) +add_subdirectory(SceSysmem) +add_subdirectory(SceSysmodule) +add_subdirectory(SceSystemGesture) +add_subdirectory(SceTouch) +add_subdirectory(SceUdcd) +add_subdirectory(SceUlt) +add_subdirectory(SceUsbSerial) +add_subdirectory(SceUsbd) +add_subdirectory(SceUsbstorVStorDriver) +add_subdirectory(SceVideoExport) +add_subdirectory(SceVideodec) +add_subdirectory(SceVoice) +add_subdirectory(SceVoiceQoS) +add_subdirectory(SceVshBridge) + +add_library(modules INTERFACE) +target_link_libraries(modules INTERFACE +SceAVConfig +SceAppMgr +SceAppUtil +SceAtrac +SceAudio +SceAudioIn +SceAudiodec +SceAudioenc +SceAvPlayer +SceBt +SceCamera +SceClipboard +SceCodecEngine +SceCodecEnginePerf +SceCommonDialog +SceCoredump +SceCtrl +SceDTrace +SceDeci4p +SceDeflt +SceDisplay +SceFace +SceFiber +SceFios2 +SceGpuEs4 +SceGxm +SceHandwriting +SceHeap +SceHid +SceHmac +SceIme +SceIofilemgr +SceJpeg +SceJpegEnc +SceKernelDmacMgr +SceKernelModulemgr +SceKernelThreadMgr +SceLibDbg +SceLibGameUpdate +SceLibHttp +SceLibKernel +SceLibLocation +SceLibLocationExtension +SceLibMonoBridge +SceLibNetCtl +SceLibPgf +SceLibPspnetAdhoc +SceLibPvf +SceLibRudp +SceLibSsl +SceLibc +SceLiveAreaUtil +SceLsdb +SceMd5 +SceMotion +SceMotionDev +SceMt19937 +SceMtpIfDriver +SceMusicExport +SceNearDialogUtil +SceNearUtil +SceNet +SceNetAdhocMatching +SceNgs +SceNpActivity +SceNpBasic +SceNpCommerce2 +SceNpCommon +SceNpDrm +SceNpManager +SceNpMatching2 +SceNpMessage +SceNpPartyGameUtil +SceNpScore +SceNpSignaling +SceNpSnsFacebook +SceNpTrophy +SceNpTus +SceNpUtility +ScePaf +ScePerf +ScePhotoExport +ScePower +SceProcessmgr +ScePromoterUtil +SceRazorCapture +SceRazorHud +SceRegistryMgr +SceRtc +SceSasUser +SceSblUpdateMgr +SceScreenShot +SceSfmt11213 +SceSfmt1279 +SceSfmt132049 +SceSfmt19937 +SceSfmt216091 +SceSfmt2281 +SceSfmt4253 +SceSfmt44497 +SceSfmt607 +SceSfmt86243 +SceSha0 +SceSha1 +SceSha224 +SceSha256 +SceSha384 +SceSha512 +SceSha512t +SceShellSvc +SceShutterSound +SceSmart +SceSqlite +SceStdio +SceSulpha +SceSysmem +SceSysmodule +SceSystemGesture +SceTouch +SceUdcd +SceUlt +SceUsbSerial +SceUsbd +SceUsbstorVStorDriver +SceVideoExport +SceVideodec +SceVoice +SceVoiceQoS +SceVshBridge) diff --git a/src/emulator/modules/SceAVConfig/CMakeLists.txt b/src/emulator/modules/SceAVConfig/CMakeLists.txt new file mode 100644 index 000000000..5aecc262e --- /dev/null +++ b/src/emulator/modules/SceAVConfig/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAVConfig STATIC include/SceAVConfig/exports.h src/SceAVConfig.cpp) +target_include_directories(SceAVConfig PUBLIC include) +target_link_libraries(SceAVConfig PRIVATE module) diff --git a/src/emulator/modules/SceAVConfig/include/SceAVConfig/exports.h b/src/emulator/modules/SceAVConfig/include/SceAVConfig/exports.h new file mode 100644 index 000000000..baf5c9b6d --- /dev/null +++ b/src/emulator/modules/SceAVConfig/include/SceAVConfig/exports.h @@ -0,0 +1,56 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAVConfig +BRIDGE_DECL(sceAVConfigChangeReg) +BRIDGE_DECL(sceAVConfigClearAutoSuspend2) +BRIDGE_DECL(sceAVConfigDisplayOn) +BRIDGE_DECL(sceAVConfigGetAcStatus) +BRIDGE_DECL(sceAVConfigGetBtVol) +BRIDGE_DECL(sceAVConfigGetConnectedAudioDevice) +BRIDGE_DECL(sceAVConfigGetDisplayMaxBrightness) +BRIDGE_DECL(sceAVConfigGetMasterVol) +BRIDGE_DECL(sceAVConfigGetShutterVol) +BRIDGE_DECL(sceAVConfigGetSystemVol) +BRIDGE_DECL(sceAVConfigGetVolCtrlEnable) +BRIDGE_DECL(sceAVConfigHdmiCecCmdOneTouchPlay) +BRIDGE_DECL(sceAVConfigHdmiCecDisable) +BRIDGE_DECL(sceAVConfigHdmiCecEnable) +BRIDGE_DECL(sceAVConfigHdmiClearCecInfo) +BRIDGE_DECL(sceAVConfigHdmiGetCecInfo) +BRIDGE_DECL(sceAVConfigHdmiGetMonitorInfo) +BRIDGE_DECL(sceAVConfigHdmiGetOutScalingRatio) +BRIDGE_DECL(sceAVConfigHdmiSetOutScalingRatio) +BRIDGE_DECL(sceAVConfigHdmiSetResolution) +BRIDGE_DECL(sceAVConfigHdmiSetRgbRangeMode) +BRIDGE_DECL(sceAVConfigMuteOn) +BRIDGE_DECL(sceAVConfigRegisterCallback) +BRIDGE_DECL(sceAVConfigSendVolKey) +BRIDGE_DECL(sceAVConfigSetAutoDisplayDimming) +BRIDGE_DECL(sceAVConfigSetAutoSuspend) +BRIDGE_DECL(sceAVConfigSetAutoSuspend2) +BRIDGE_DECL(sceAVConfigSetDisplayBrightness) +BRIDGE_DECL(sceAVConfigSetDisplayColorSpaceMode) +BRIDGE_DECL(sceAVConfigSetMasterVol) +BRIDGE_DECL(sceAVConfigSetSystemVol) +BRIDGE_DECL(sceAVConfigUnRegisterCallback) +BRIDGE_DECL(sceAVConfigWriteMasterVol) +BRIDGE_DECL(sceAVConfigWriteRegSystemVol) diff --git a/src/emulator/modules/SceAVConfig/src/SceAVConfig.cpp b/src/emulator/modules/SceAVConfig/src/SceAVConfig.cpp new file mode 100644 index 000000000..38b80c732 --- /dev/null +++ b/src/emulator/modules/SceAVConfig/src/SceAVConfig.cpp @@ -0,0 +1,189 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAVConfigChangeReg) { + return unimplemented("sceAVConfigChangeReg"); +} + +EXPORT(int, sceAVConfigClearAutoSuspend2) { + return unimplemented("sceAVConfigClearAutoSuspend2"); +} + +EXPORT(int, sceAVConfigDisplayOn) { + return unimplemented("sceAVConfigDisplayOn"); +} + +EXPORT(int, sceAVConfigGetAcStatus) { + return unimplemented("sceAVConfigGetAcStatus"); +} + +EXPORT(int, sceAVConfigGetBtVol) { + return unimplemented("sceAVConfigGetBtVol"); +} + +EXPORT(int, sceAVConfigGetConnectedAudioDevice) { + return unimplemented("sceAVConfigGetConnectedAudioDevice"); +} + +EXPORT(int, sceAVConfigGetDisplayMaxBrightness) { + return unimplemented("sceAVConfigGetDisplayMaxBrightness"); +} + +EXPORT(int, sceAVConfigGetMasterVol) { + return unimplemented("sceAVConfigGetMasterVol"); +} + +EXPORT(int, sceAVConfigGetShutterVol) { + return unimplemented("sceAVConfigGetShutterVol"); +} + +EXPORT(int, sceAVConfigGetSystemVol) { + return unimplemented("sceAVConfigGetSystemVol"); +} + +EXPORT(int, sceAVConfigGetVolCtrlEnable) { + return unimplemented("sceAVConfigGetVolCtrlEnable"); +} + +EXPORT(int, sceAVConfigHdmiCecCmdOneTouchPlay) { + return unimplemented("sceAVConfigHdmiCecCmdOneTouchPlay"); +} + +EXPORT(int, sceAVConfigHdmiCecDisable) { + return unimplemented("sceAVConfigHdmiCecDisable"); +} + +EXPORT(int, sceAVConfigHdmiCecEnable) { + return unimplemented("sceAVConfigHdmiCecEnable"); +} + +EXPORT(int, sceAVConfigHdmiClearCecInfo) { + return unimplemented("sceAVConfigHdmiClearCecInfo"); +} + +EXPORT(int, sceAVConfigHdmiGetCecInfo) { + return unimplemented("sceAVConfigHdmiGetCecInfo"); +} + +EXPORT(int, sceAVConfigHdmiGetMonitorInfo) { + return unimplemented("sceAVConfigHdmiGetMonitorInfo"); +} + +EXPORT(int, sceAVConfigHdmiGetOutScalingRatio) { + return unimplemented("sceAVConfigHdmiGetOutScalingRatio"); +} + +EXPORT(int, sceAVConfigHdmiSetOutScalingRatio) { + return unimplemented("sceAVConfigHdmiSetOutScalingRatio"); +} + +EXPORT(int, sceAVConfigHdmiSetResolution) { + return unimplemented("sceAVConfigHdmiSetResolution"); +} + +EXPORT(int, sceAVConfigHdmiSetRgbRangeMode) { + return unimplemented("sceAVConfigHdmiSetRgbRangeMode"); +} + +EXPORT(int, sceAVConfigMuteOn) { + return unimplemented("sceAVConfigMuteOn"); +} + +EXPORT(int, sceAVConfigRegisterCallback) { + return unimplemented("sceAVConfigRegisterCallback"); +} + +EXPORT(int, sceAVConfigSendVolKey) { + return unimplemented("sceAVConfigSendVolKey"); +} + +EXPORT(int, sceAVConfigSetAutoDisplayDimming) { + return unimplemented("sceAVConfigSetAutoDisplayDimming"); +} + +EXPORT(int, sceAVConfigSetAutoSuspend) { + return unimplemented("sceAVConfigSetAutoSuspend"); +} + +EXPORT(int, sceAVConfigSetAutoSuspend2) { + return unimplemented("sceAVConfigSetAutoSuspend2"); +} + +EXPORT(int, sceAVConfigSetDisplayBrightness) { + return unimplemented("sceAVConfigSetDisplayBrightness"); +} + +EXPORT(int, sceAVConfigSetDisplayColorSpaceMode) { + return unimplemented("sceAVConfigSetDisplayColorSpaceMode"); +} + +EXPORT(int, sceAVConfigSetMasterVol) { + return unimplemented("sceAVConfigSetMasterVol"); +} + +EXPORT(int, sceAVConfigSetSystemVol) { + return unimplemented("sceAVConfigSetSystemVol"); +} + +EXPORT(int, sceAVConfigUnRegisterCallback) { + return unimplemented("sceAVConfigUnRegisterCallback"); +} + +EXPORT(int, sceAVConfigWriteMasterVol) { + return unimplemented("sceAVConfigWriteMasterVol"); +} + +EXPORT(int, sceAVConfigWriteRegSystemVol) { + return unimplemented("sceAVConfigWriteRegSystemVol"); +} + +BRIDGE_IMPL(sceAVConfigChangeReg) +BRIDGE_IMPL(sceAVConfigClearAutoSuspend2) +BRIDGE_IMPL(sceAVConfigDisplayOn) +BRIDGE_IMPL(sceAVConfigGetAcStatus) +BRIDGE_IMPL(sceAVConfigGetBtVol) +BRIDGE_IMPL(sceAVConfigGetConnectedAudioDevice) +BRIDGE_IMPL(sceAVConfigGetDisplayMaxBrightness) +BRIDGE_IMPL(sceAVConfigGetMasterVol) +BRIDGE_IMPL(sceAVConfigGetShutterVol) +BRIDGE_IMPL(sceAVConfigGetSystemVol) +BRIDGE_IMPL(sceAVConfigGetVolCtrlEnable) +BRIDGE_IMPL(sceAVConfigHdmiCecCmdOneTouchPlay) +BRIDGE_IMPL(sceAVConfigHdmiCecDisable) +BRIDGE_IMPL(sceAVConfigHdmiCecEnable) +BRIDGE_IMPL(sceAVConfigHdmiClearCecInfo) +BRIDGE_IMPL(sceAVConfigHdmiGetCecInfo) +BRIDGE_IMPL(sceAVConfigHdmiGetMonitorInfo) +BRIDGE_IMPL(sceAVConfigHdmiGetOutScalingRatio) +BRIDGE_IMPL(sceAVConfigHdmiSetOutScalingRatio) +BRIDGE_IMPL(sceAVConfigHdmiSetResolution) +BRIDGE_IMPL(sceAVConfigHdmiSetRgbRangeMode) +BRIDGE_IMPL(sceAVConfigMuteOn) +BRIDGE_IMPL(sceAVConfigRegisterCallback) +BRIDGE_IMPL(sceAVConfigSendVolKey) +BRIDGE_IMPL(sceAVConfigSetAutoDisplayDimming) +BRIDGE_IMPL(sceAVConfigSetAutoSuspend) +BRIDGE_IMPL(sceAVConfigSetAutoSuspend2) +BRIDGE_IMPL(sceAVConfigSetDisplayBrightness) +BRIDGE_IMPL(sceAVConfigSetDisplayColorSpaceMode) +BRIDGE_IMPL(sceAVConfigSetMasterVol) +BRIDGE_IMPL(sceAVConfigSetSystemVol) +BRIDGE_IMPL(sceAVConfigUnRegisterCallback) +BRIDGE_IMPL(sceAVConfigWriteMasterVol) +BRIDGE_IMPL(sceAVConfigWriteRegSystemVol) diff --git a/src/emulator/modules/SceAppMgr/CMakeLists.txt b/src/emulator/modules/SceAppMgr/CMakeLists.txt new file mode 100644 index 000000000..7a3be9153 --- /dev/null +++ b/src/emulator/modules/SceAppMgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAppMgr STATIC include/SceAppMgr/exports.h src/SceAppMgr.cpp src/SceAppMgrUser.cpp src/SceSharedFb.cpp) +target_include_directories(SceAppMgr PUBLIC include) +target_link_libraries(SceAppMgr PRIVATE module) diff --git a/src/emulator/modules/SceAppMgr/include/SceAppMgr/exports.h b/src/emulator/modules/SceAppMgr/include/SceAppMgr/exports.h new file mode 100644 index 000000000..32b338b42 --- /dev/null +++ b/src/emulator/modules/SceAppMgr/include/SceAppMgr/exports.h @@ -0,0 +1,352 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAppMgr +BRIDGE_DECL(__sceAppMgrGetAppState) +BRIDGE_DECL(_sceAppMgrAcidDirSet) +BRIDGE_DECL(_sceAppMgrAcquireSoundOutExclusive3) +BRIDGE_DECL(_sceAppMgrAddContAddMount) +BRIDGE_DECL(_sceAppMgrAddContMount) +BRIDGE_DECL(_sceAppMgrAppDataMount) +BRIDGE_DECL(_sceAppMgrAppDataMountById) +BRIDGE_DECL(_sceAppMgrAppMount) +BRIDGE_DECL(_sceAppMgrAppParamGetInt) +BRIDGE_DECL(_sceAppMgrAppParamGetString) +BRIDGE_DECL(_sceAppMgrAppParamSetString) +BRIDGE_DECL(_sceAppMgrAppUmount) +BRIDGE_DECL(_sceAppMgrBgdlGetQueueStatus) +BRIDGE_DECL(_sceAppMgrCaptureFrameBufDMACByAppId) +BRIDGE_DECL(_sceAppMgrCaptureFrameBufIFTUByAppId) +BRIDGE_DECL(_sceAppMgrCheckRifGD) +BRIDGE_DECL(_sceAppMgrContentInstallPeriodStart) +BRIDGE_DECL(_sceAppMgrContentInstallPeriodStop) +BRIDGE_DECL(_sceAppMgrConvertVs0UserDrivePath) +BRIDGE_DECL(_sceAppMgrDeclareShellProcess2) +BRIDGE_DECL(_sceAppMgrDestroyAppByName) +BRIDGE_DECL(_sceAppMgrDrmClose) +BRIDGE_DECL(_sceAppMgrDrmOpen) +BRIDGE_DECL(_sceAppMgrForceUmount) +BRIDGE_DECL(_sceAppMgrGameDataMount) +BRIDGE_DECL(_sceAppMgrGetAppInfo) +BRIDGE_DECL(_sceAppMgrGetAppMgrState) +BRIDGE_DECL(_sceAppMgrGetAppParam) +BRIDGE_DECL(_sceAppMgrGetAppParam2) +BRIDGE_DECL(_sceAppMgrGetBootParam) +BRIDGE_DECL(_sceAppMgrGetBudgetInfo) +BRIDGE_DECL(_sceAppMgrGetCoredumpStateForShell) +BRIDGE_DECL(_sceAppMgrGetCurrentBgmState) +BRIDGE_DECL(_sceAppMgrGetCurrentBgmState2) +BRIDGE_DECL(_sceAppMgrGetDevInfo) +BRIDGE_DECL(_sceAppMgrGetFgAppInfo) +BRIDGE_DECL(_sceAppMgrGetIdByName) +BRIDGE_DECL(_sceAppMgrGetMediaTypeFromDrive) +BRIDGE_DECL(_sceAppMgrGetMediaTypeFromDriveByPid) +BRIDGE_DECL(_sceAppMgrGetMountProcessNum) +BRIDGE_DECL(_sceAppMgrGetNameById) +BRIDGE_DECL(_sceAppMgrGetPfsDrive) +BRIDGE_DECL(_sceAppMgrGetPidListForShell) +BRIDGE_DECL(_sceAppMgrGetRawPath) +BRIDGE_DECL(_sceAppMgrGetRawPathOfApp0ByAppIdForShell) +BRIDGE_DECL(_sceAppMgrGetRawPathOfApp0ByPidForShell) +BRIDGE_DECL(_sceAppMgrGetRecommendedScreenOrientation) +BRIDGE_DECL(_sceAppMgrGetRunningAppIdListForShell) +BRIDGE_DECL(_sceAppMgrGetSaveDataInfo) +BRIDGE_DECL(_sceAppMgrGetSaveDataInfoForSpecialExport) +BRIDGE_DECL(_sceAppMgrGetStatusByAppId) +BRIDGE_DECL(_sceAppMgrGetStatusById) +BRIDGE_DECL(_sceAppMgrGetStatusByName) +BRIDGE_DECL(_sceAppMgrGetSystemDataFilePlayReady) +BRIDGE_DECL(_sceAppMgrGetUserDirPath) +BRIDGE_DECL(_sceAppMgrGetUserDirPathById) +BRIDGE_DECL(_sceAppMgrGetVs0UserDataDrive) +BRIDGE_DECL(_sceAppMgrGetVs0UserModuleDrive) +BRIDGE_DECL(_sceAppMgrInitSafeMemoryById) +BRIDGE_DECL(_sceAppMgrInstallDirMount) +BRIDGE_DECL(_sceAppMgrIsCameraActive) +BRIDGE_DECL(_sceAppMgrLaunchAppByName) +BRIDGE_DECL(_sceAppMgrLaunchAppByName2) +BRIDGE_DECL(_sceAppMgrLaunchAppByName2ForShell) +BRIDGE_DECL(_sceAppMgrLaunchAppByName2ndStage) +BRIDGE_DECL(_sceAppMgrLaunchAppByNameForShell) +BRIDGE_DECL(_sceAppMgrLaunchAppByPath4) +BRIDGE_DECL(_sceAppMgrLaunchAppByUri) +BRIDGE_DECL(_sceAppMgrLaunchAppByUri2) +BRIDGE_DECL(_sceAppMgrLaunchVideoStreamingApp) +BRIDGE_DECL(_sceAppMgrLoadExec) +BRIDGE_DECL(_sceAppMgrLoadSaveDataSystemFile) +BRIDGE_DECL(_sceAppMgrLoopBackFormat) +BRIDGE_DECL(_sceAppMgrLoopBackMount) +BRIDGE_DECL(_sceAppMgrMmsMount) +BRIDGE_DECL(_sceAppMgrOverwriteLaunchParamForShell) +BRIDGE_DECL(_sceAppMgrPeekLaunchParamForShell) +BRIDGE_DECL(_sceAppMgrPhotoMount) +BRIDGE_DECL(_sceAppMgrPhotoUmount) +BRIDGE_DECL(_sceAppMgrPspSaveDataGetParams) +BRIDGE_DECL(_sceAppMgrPspSaveDataRead) +BRIDGE_DECL(_sceAppMgrPspSaveDataRootMount) +BRIDGE_DECL(_sceAppMgrReceiveEvent) +BRIDGE_DECL(_sceAppMgrReceiveEventNum) +BRIDGE_DECL(_sceAppMgrReceiveNotificationRequestForShell) +BRIDGE_DECL(_sceAppMgrReceiveShellEvent) +BRIDGE_DECL(_sceAppMgrReceiveSystemEvent) +BRIDGE_DECL(_sceAppMgrSaveDataAddMount) +BRIDGE_DECL(_sceAppMgrSaveDataDataRemove) +BRIDGE_DECL(_sceAppMgrSaveDataDataRemove2) +BRIDGE_DECL(_sceAppMgrSaveDataDataSave) +BRIDGE_DECL(_sceAppMgrSaveDataDataSave2) +BRIDGE_DECL(_sceAppMgrSaveDataGetQuota) +BRIDGE_DECL(_sceAppMgrSaveDataMount) +BRIDGE_DECL(_sceAppMgrSaveDataSlotCreate) +BRIDGE_DECL(_sceAppMgrSaveDataSlotDelete) +BRIDGE_DECL(_sceAppMgrSaveDataSlotFileClose) +BRIDGE_DECL(_sceAppMgrSaveDataSlotFileGetParam) +BRIDGE_DECL(_sceAppMgrSaveDataSlotFileOpen) +BRIDGE_DECL(_sceAppMgrSaveDataSlotGetParam) +BRIDGE_DECL(_sceAppMgrSaveDataSlotGetStatus) +BRIDGE_DECL(_sceAppMgrSaveDataSlotInit) +BRIDGE_DECL(_sceAppMgrSaveDataSlotSetParam) +BRIDGE_DECL(_sceAppMgrSaveDataSlotSetStatus) +BRIDGE_DECL(_sceAppMgrSaveDataUmount) +BRIDGE_DECL(_sceAppMgrSendNotificationRequest) +BRIDGE_DECL(_sceAppMgrSendParam) +BRIDGE_DECL(_sceAppMgrSendSystemEvent) +BRIDGE_DECL(_sceAppMgrSendSystemEvent2) +BRIDGE_DECL(_sceAppMgrSetBackRenderPortOwner) +BRIDGE_DECL(_sceAppMgrSetBgmProxyApp) +BRIDGE_DECL(_sceAppMgrSetNetworkDisconnectionWarningDialogState) +BRIDGE_DECL(_sceAppMgrSetPowerSaveMode) +BRIDGE_DECL(_sceAppMgrSetRecommendedScreenOrientationForShell) +BRIDGE_DECL(_sceAppMgrSetShellScreenOrientation) +BRIDGE_DECL(_sceAppMgrSetSystemDataFile) +BRIDGE_DECL(_sceAppMgrSetSystemDataFilePlayReady) +BRIDGE_DECL(_sceAppMgrSystemParamDateTimeGetConf) +BRIDGE_DECL(_sceAppMgrSystemParamGetInt) +BRIDGE_DECL(_sceAppMgrSystemParamGetString) +BRIDGE_DECL(_sceAppMgrThemeDataMount) +BRIDGE_DECL(_sceAppMgrTrophyMount) +BRIDGE_DECL(_sceAppMgrTrophyMountById) +BRIDGE_DECL(_sceAppMgrUmount) +BRIDGE_DECL(_sceAppMgrUmountByPid) +BRIDGE_DECL(_sceAppMgrUpdateSaveDataParam) +BRIDGE_DECL(_sceAppMgrWorkDirMount) +BRIDGE_DECL(_sceAppMgrWorkDirMountById) +BRIDGE_DECL(sceAppMgrAcquireBgmPort) +BRIDGE_DECL(sceAppMgrAcquireBgmPortForMusicPlayer) +BRIDGE_DECL(sceAppMgrAcquireBgmPortWithPriority) +BRIDGE_DECL(sceAppMgrAcquireBtrm) +BRIDGE_DECL(sceAppMgrAcquireSoundOutExclusive) +BRIDGE_DECL(sceAppMgrAcquireSoundOutExclusive2) +BRIDGE_DECL(sceAppMgrActivateApp) +BRIDGE_DECL(sceAppMgrDeactivateApp) +BRIDGE_DECL(sceAppMgrDeclareSystemChatApp) +BRIDGE_DECL(sceAppMgrDestroyAppByAppId) +BRIDGE_DECL(sceAppMgrDestroyOtherApp) +BRIDGE_DECL(sceAppMgrDestroyOtherAppByAppIdForShell) +BRIDGE_DECL(sceAppMgrDestroyOtherAppByPidForShell) +BRIDGE_DECL(sceAppMgrDump) +BRIDGE_DECL(sceAppMgrEnableCoredumpForTest) +BRIDGE_DECL(sceAppMgrEnableDuckingOnSystemChat) +BRIDGE_DECL(sceAppMgrEnablePrioritizingSystemChat) +BRIDGE_DECL(sceAppMgrExitToLiveboardForGameApp) +BRIDGE_DECL(sceAppMgrFinishCoredumpForShell) +BRIDGE_DECL(sceAppMgrGetAppIdByAppId) +BRIDGE_DECL(sceAppMgrGetExtraAppParam) +BRIDGE_DECL(sceAppMgrGetProcessIdByAppIdForShell) +BRIDGE_DECL(sceAppMgrGetSystemDataFile) +BRIDGE_DECL(sceAppMgrGrowMemory) +BRIDGE_DECL(sceAppMgrGrowMemory3) +BRIDGE_DECL(sceAppMgrIsDevelopmentMode) +BRIDGE_DECL(sceAppMgrIsGameBudgetAppPresent) +BRIDGE_DECL(sceAppMgrIsGameProgram) +BRIDGE_DECL(sceAppMgrIsNonGameProgram) +BRIDGE_DECL(sceAppMgrIsOtherAppPresent) +BRIDGE_DECL(sceAppMgrIsPidShellAndCrashed) +BRIDGE_DECL(sceAppMgrIsPsNowClient) +BRIDGE_DECL(sceAppMgrLaunchAppCancel) +BRIDGE_DECL(sceAppMgrLoadSafeMemory) +BRIDGE_DECL(sceAppMgrNotifyLiveBoardModeForShell) +BRIDGE_DECL(sceAppMgrQuitApp) +BRIDGE_DECL(sceAppMgrQuitForNonSuspendableApp) +BRIDGE_DECL(sceAppMgrReceiveShellEventNum) +BRIDGE_DECL(sceAppMgrReleaseBgmPort) +BRIDGE_DECL(sceAppMgrReleaseBtrm) +BRIDGE_DECL(sceAppMgrReleaseSoundOutExclusive) +BRIDGE_DECL(sceAppMgrReleaseSoundOutExclusive2) +BRIDGE_DECL(sceAppMgrReleaseSoundOutExclusive3) +BRIDGE_DECL(sceAppMgrRestoreBgmSettingForShell) +BRIDGE_DECL(sceAppMgrRestoreDisplaySettingForShell) +BRIDGE_DECL(sceAppMgrResumeBgAppByShell) +BRIDGE_DECL(sceAppMgrReturnLiveAreaOperationResultForShell) +BRIDGE_DECL(sceAppMgrSaveDataGetCachedRequiredSizeKiB) +BRIDGE_DECL(sceAppMgrSaveSafeMemory) +BRIDGE_DECL(sceAppMgrSendLiveBoardMode) +BRIDGE_DECL(sceAppMgrSetAppProtectionModeOnMemoryShortage) +BRIDGE_DECL(sceAppMgrSetBgmSubPriority) +BRIDGE_DECL(sceAppMgrSetBgmSubPriorityForSystemChat) +BRIDGE_DECL(sceAppMgrSetDisplayMergeConf) +BRIDGE_DECL(sceAppMgrSetFakeSettingBug51800) +BRIDGE_DECL(sceAppMgrSetInfobarState) +BRIDGE_DECL(sceAppMgrSetInfobarStateForCommonDialog) +BRIDGE_DECL(sceAppMgrSetInfobarStateForShellByAppId) +BRIDGE_DECL(sceAppMgrSetRecommendedScreenOrientationActivated) +BRIDGE_DECL(sceAppMgrSetSystemImposeState) +BRIDGE_DECL(sceAppMgrSetSystemImposeState2) +BRIDGE_DECL(sceAppMgrSuspendBgAppByShell) +BRIDGE_DECL(sceAppMgrSuspendUntilActivated) + +// SceAppMgrUser +BRIDGE_DECL(_sceAppMgrGetAppState) +BRIDGE_DECL(sceAppMgrAcidDirSet) +BRIDGE_DECL(sceAppMgrAcquireSoundOutExclusive3) +BRIDGE_DECL(sceAppMgrAddContAddMount) +BRIDGE_DECL(sceAppMgrAddContMount) +BRIDGE_DECL(sceAppMgrAppDataMount) +BRIDGE_DECL(sceAppMgrAppDataMountById) +BRIDGE_DECL(sceAppMgrAppMount) +BRIDGE_DECL(sceAppMgrAppParamGetInt) +BRIDGE_DECL(sceAppMgrAppParamGetString) +BRIDGE_DECL(sceAppMgrAppParamSetString) +BRIDGE_DECL(sceAppMgrAppUmount) +BRIDGE_DECL(sceAppMgrBgdlGetQueueStatus) +BRIDGE_DECL(sceAppMgrCaptureFrameBufDMACByAppId) +BRIDGE_DECL(sceAppMgrCaptureFrameBufIFTUByAppId) +BRIDGE_DECL(sceAppMgrCheckRifGD) +BRIDGE_DECL(sceAppMgrContentInstallPeriodStart) +BRIDGE_DECL(sceAppMgrContentInstallPeriodStop) +BRIDGE_DECL(sceAppMgrConvertVs0UserDrivePath) +BRIDGE_DECL(sceAppMgrDeclareShellProcess2) +BRIDGE_DECL(sceAppMgrDestroyAppByName) +BRIDGE_DECL(sceAppMgrDrmClose) +BRIDGE_DECL(sceAppMgrDrmOpen) +BRIDGE_DECL(sceAppMgrForceUmount) +BRIDGE_DECL(sceAppMgrGameDataMount) +BRIDGE_DECL(sceAppMgrGetAppInfo) +BRIDGE_DECL(sceAppMgrGetAppMgrState) +BRIDGE_DECL(sceAppMgrGetAppParam) +BRIDGE_DECL(sceAppMgrGetAppParam2) +BRIDGE_DECL(sceAppMgrGetBootParam) +BRIDGE_DECL(sceAppMgrGetBudgetInfo) +BRIDGE_DECL(sceAppMgrGetCoredumpStateForShell) +BRIDGE_DECL(sceAppMgrGetCurrentBgmState) +BRIDGE_DECL(sceAppMgrGetCurrentBgmState2) +BRIDGE_DECL(sceAppMgrGetDevInfo) +BRIDGE_DECL(sceAppMgrGetFgAppInfo) +BRIDGE_DECL(sceAppMgrGetIdByName) +BRIDGE_DECL(sceAppMgrGetMediaTypeFromDrive) +BRIDGE_DECL(sceAppMgrGetMediaTypeFromDriveByPid) +BRIDGE_DECL(sceAppMgrGetMountProcessNum) +BRIDGE_DECL(sceAppMgrGetNameById) +BRIDGE_DECL(sceAppMgrGetPfsDrive) +BRIDGE_DECL(sceAppMgrGetPidListForShell) +BRIDGE_DECL(sceAppMgrGetRawPath) +BRIDGE_DECL(sceAppMgrGetRawPathOfApp0ByAppIdForShell) +BRIDGE_DECL(sceAppMgrGetRawPathOfApp0ByPidForShell) +BRIDGE_DECL(sceAppMgrGetRecommendedScreenOrientation) +BRIDGE_DECL(sceAppMgrGetRunningAppIdListForShell) +BRIDGE_DECL(sceAppMgrGetSaveDataInfo) +BRIDGE_DECL(sceAppMgrGetSaveDataInfoForSpecialExport) +BRIDGE_DECL(sceAppMgrGetStatusByAppId) +BRIDGE_DECL(sceAppMgrGetStatusById) +BRIDGE_DECL(sceAppMgrGetStatusByName) +BRIDGE_DECL(sceAppMgrGetSystemDataFilePlayReady) +BRIDGE_DECL(sceAppMgrGetUserDirPath) +BRIDGE_DECL(sceAppMgrGetVs0UserDataDrive) +BRIDGE_DECL(sceAppMgrGetVs0UserModuleDrive) +BRIDGE_DECL(sceAppMgrInitSafeMemoryById) +BRIDGE_DECL(sceAppMgrInstallDirMount) +BRIDGE_DECL(sceAppMgrIsCameraActive) +BRIDGE_DECL(sceAppMgrLaunchAppByName) +BRIDGE_DECL(sceAppMgrLaunchAppByName2) +BRIDGE_DECL(sceAppMgrLaunchAppByName2ForShell) +BRIDGE_DECL(sceAppMgrLaunchAppByName2ndStage) +BRIDGE_DECL(sceAppMgrLaunchAppByNameForShell) +BRIDGE_DECL(sceAppMgrLaunchAppByPath4) +BRIDGE_DECL(sceAppMgrLaunchAppByUri) +BRIDGE_DECL(sceAppMgrLaunchAppByUri2) +BRIDGE_DECL(sceAppMgrLaunchVideoStreamingApp) +BRIDGE_DECL(sceAppMgrLoadExec) +BRIDGE_DECL(sceAppMgrLoopBackFormat) +BRIDGE_DECL(sceAppMgrLoopBackMount) +BRIDGE_DECL(sceAppMgrMmsMount) +BRIDGE_DECL(sceAppMgrOverwriteLaunchParamForShell) +BRIDGE_DECL(sceAppMgrPeekLaunchParamForShell) +BRIDGE_DECL(sceAppMgrPhotoMount) +BRIDGE_DECL(sceAppMgrPhotoUmount) +BRIDGE_DECL(sceAppMgrPspSaveDataGetParams) +BRIDGE_DECL(sceAppMgrPspSaveDataRead) +BRIDGE_DECL(sceAppMgrPspSaveDataRootMount) +BRIDGE_DECL(sceAppMgrReceiveEvent) +BRIDGE_DECL(sceAppMgrReceiveEventNum) +BRIDGE_DECL(sceAppMgrReceiveNotificationRequestForShell) +BRIDGE_DECL(sceAppMgrReceiveShellEvent) +BRIDGE_DECL(sceAppMgrReceiveSystemEvent) +BRIDGE_DECL(sceAppMgrSaveDataAddMount) +BRIDGE_DECL(sceAppMgrSaveDataDataRemove) +BRIDGE_DECL(sceAppMgrSaveDataDataSave) +BRIDGE_DECL(sceAppMgrSaveDataGetQuota) +BRIDGE_DECL(sceAppMgrSaveDataMount) +BRIDGE_DECL(sceAppMgrSaveDataSlotCreate) +BRIDGE_DECL(sceAppMgrSaveDataSlotDelete) +BRIDGE_DECL(sceAppMgrSaveDataSlotFileClose) +BRIDGE_DECL(sceAppMgrSaveDataSlotFileGetParam) +BRIDGE_DECL(sceAppMgrSaveDataSlotFileOpen) +BRIDGE_DECL(sceAppMgrSaveDataSlotGetParam) +BRIDGE_DECL(sceAppMgrSaveDataSlotGetStatus) +BRIDGE_DECL(sceAppMgrSaveDataSlotInit) +BRIDGE_DECL(sceAppMgrSaveDataSlotSetParam) +BRIDGE_DECL(sceAppMgrSaveDataSlotSetStatus) +BRIDGE_DECL(sceAppMgrSaveDataUmount) +BRIDGE_DECL(sceAppMgrSendNotificationRequest) +BRIDGE_DECL(sceAppMgrSendParam) +BRIDGE_DECL(sceAppMgrSendSystemEvent) +BRIDGE_DECL(sceAppMgrSendSystemEvent2) +BRIDGE_DECL(sceAppMgrSetBackRenderPortOwner) +BRIDGE_DECL(sceAppMgrSetBgmProxyApp) +BRIDGE_DECL(sceAppMgrSetNetworkDisconnectionWarningDialogState) +BRIDGE_DECL(sceAppMgrSetPowerSaveMode) +BRIDGE_DECL(sceAppMgrSetRecommendedScreenOrientationForShell) +BRIDGE_DECL(sceAppMgrSetShellScreenOrientation) +BRIDGE_DECL(sceAppMgrSetSystemDataFile) +BRIDGE_DECL(sceAppMgrSetSystemDataFilePlayReady) +BRIDGE_DECL(sceAppMgrSystemParamDateTimeGetConf) +BRIDGE_DECL(sceAppMgrSystemParamGetInt) +BRIDGE_DECL(sceAppMgrSystemParamGetString) +BRIDGE_DECL(sceAppMgrTrophyMount) +BRIDGE_DECL(sceAppMgrTrophyMountById) +BRIDGE_DECL(sceAppMgrUmount) +BRIDGE_DECL(sceAppMgrUmountByPid) +BRIDGE_DECL(sceAppMgrUpdateSaveDataParam) +BRIDGE_DECL(sceAppMgrWorkDirMount) +BRIDGE_DECL(sceAppMgrWorkDirMountById) + +// SceSharedFb +BRIDGE_DECL(_sceSharedFbOpen) +BRIDGE_DECL(sceSharedFbBegin) +BRIDGE_DECL(sceSharedFbClose) +BRIDGE_DECL(sceSharedFbCreate) +BRIDGE_DECL(sceSharedFbDelete) +BRIDGE_DECL(sceSharedFbEnd) +BRIDGE_DECL(sceSharedFbGetInfo) +BRIDGE_DECL(sceSharedFbGetRenderingInfo) +BRIDGE_DECL(sceSharedFbGetShellRenderPort) +BRIDGE_DECL(sceSharedFbUpdateProcess) +BRIDGE_DECL(sceSharedFbUpdateProcessBegin) +BRIDGE_DECL(sceSharedFbUpdateProcessEnd) diff --git a/src/emulator/modules/SceAppMgr/src/SceAppMgr.cpp b/src/emulator/modules/SceAppMgr/src/SceAppMgr.cpp new file mode 100644 index 000000000..83b6fb720 --- /dev/null +++ b/src/emulator/modules/SceAppMgr/src/SceAppMgr.cpp @@ -0,0 +1,974 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, __sceAppMgrGetAppState) { + return unimplemented("__sceAppMgrGetAppState"); +} + +EXPORT(int, _sceAppMgrAcidDirSet) { + return unimplemented("_sceAppMgrAcidDirSet"); +} + +EXPORT(int, _sceAppMgrAcquireSoundOutExclusive3) { + return unimplemented("_sceAppMgrAcquireSoundOutExclusive3"); +} + +EXPORT(int, _sceAppMgrAddContAddMount) { + return unimplemented("_sceAppMgrAddContAddMount"); +} + +EXPORT(int, _sceAppMgrAddContMount) { + return unimplemented("_sceAppMgrAddContMount"); +} + +EXPORT(int, _sceAppMgrAppDataMount) { + return unimplemented("_sceAppMgrAppDataMount"); +} + +EXPORT(int, _sceAppMgrAppDataMountById) { + return unimplemented("_sceAppMgrAppDataMountById"); +} + +EXPORT(int, _sceAppMgrAppMount) { + return unimplemented("_sceAppMgrAppMount"); +} + +EXPORT(int, _sceAppMgrAppParamGetInt) { + return unimplemented("_sceAppMgrAppParamGetInt"); +} + +EXPORT(int, _sceAppMgrAppParamGetString) { + return unimplemented("_sceAppMgrAppParamGetString"); +} + +EXPORT(int, _sceAppMgrAppParamSetString) { + return unimplemented("_sceAppMgrAppParamSetString"); +} + +EXPORT(int, _sceAppMgrAppUmount) { + return unimplemented("_sceAppMgrAppUmount"); +} + +EXPORT(int, _sceAppMgrBgdlGetQueueStatus) { + return unimplemented("_sceAppMgrBgdlGetQueueStatus"); +} + +EXPORT(int, _sceAppMgrCaptureFrameBufDMACByAppId) { + return unimplemented("_sceAppMgrCaptureFrameBufDMACByAppId"); +} + +EXPORT(int, _sceAppMgrCaptureFrameBufIFTUByAppId) { + return unimplemented("_sceAppMgrCaptureFrameBufIFTUByAppId"); +} + +EXPORT(int, _sceAppMgrCheckRifGD) { + return unimplemented("_sceAppMgrCheckRifGD"); +} + +EXPORT(int, _sceAppMgrContentInstallPeriodStart) { + return unimplemented("_sceAppMgrContentInstallPeriodStart"); +} + +EXPORT(int, _sceAppMgrContentInstallPeriodStop) { + return unimplemented("_sceAppMgrContentInstallPeriodStop"); +} + +EXPORT(int, _sceAppMgrConvertVs0UserDrivePath) { + return unimplemented("_sceAppMgrConvertVs0UserDrivePath"); +} + +EXPORT(int, _sceAppMgrDeclareShellProcess2) { + return unimplemented("_sceAppMgrDeclareShellProcess2"); +} + +EXPORT(int, _sceAppMgrDestroyAppByName) { + return unimplemented("_sceAppMgrDestroyAppByName"); +} + +EXPORT(int, _sceAppMgrDrmClose) { + return unimplemented("_sceAppMgrDrmClose"); +} + +EXPORT(int, _sceAppMgrDrmOpen) { + return unimplemented("_sceAppMgrDrmOpen"); +} + +EXPORT(int, _sceAppMgrForceUmount) { + return unimplemented("_sceAppMgrForceUmount"); +} + +EXPORT(int, _sceAppMgrGameDataMount) { + return unimplemented("_sceAppMgrGameDataMount"); +} + +EXPORT(int, _sceAppMgrGetAppInfo) { + return unimplemented("_sceAppMgrGetAppInfo"); +} + +EXPORT(int, _sceAppMgrGetAppMgrState) { + return unimplemented("_sceAppMgrGetAppMgrState"); +} + +EXPORT(int, _sceAppMgrGetAppParam) { + return unimplemented("_sceAppMgrGetAppParam"); +} + +EXPORT(int, _sceAppMgrGetAppParam2) { + return unimplemented("_sceAppMgrGetAppParam2"); +} + +EXPORT(int, _sceAppMgrGetBootParam) { + return unimplemented("_sceAppMgrGetBootParam"); +} + +EXPORT(int, _sceAppMgrGetBudgetInfo) { + return unimplemented("_sceAppMgrGetBudgetInfo"); +} + +EXPORT(int, _sceAppMgrGetCoredumpStateForShell) { + return unimplemented("_sceAppMgrGetCoredumpStateForShell"); +} + +EXPORT(int, _sceAppMgrGetCurrentBgmState) { + return unimplemented("_sceAppMgrGetCurrentBgmState"); +} + +EXPORT(int, _sceAppMgrGetCurrentBgmState2) { + return unimplemented("_sceAppMgrGetCurrentBgmState2"); +} + +EXPORT(int, _sceAppMgrGetDevInfo) { + return unimplemented("_sceAppMgrGetDevInfo"); +} + +EXPORT(int, _sceAppMgrGetFgAppInfo) { + return unimplemented("_sceAppMgrGetFgAppInfo"); +} + +EXPORT(int, _sceAppMgrGetIdByName) { + return unimplemented("_sceAppMgrGetIdByName"); +} + +EXPORT(int, _sceAppMgrGetMediaTypeFromDrive) { + return unimplemented("_sceAppMgrGetMediaTypeFromDrive"); +} + +EXPORT(int, _sceAppMgrGetMediaTypeFromDriveByPid) { + return unimplemented("_sceAppMgrGetMediaTypeFromDriveByPid"); +} + +EXPORT(int, _sceAppMgrGetMountProcessNum) { + return unimplemented("_sceAppMgrGetMountProcessNum"); +} + +EXPORT(int, _sceAppMgrGetNameById) { + return unimplemented("_sceAppMgrGetNameById"); +} + +EXPORT(int, _sceAppMgrGetPfsDrive) { + return unimplemented("_sceAppMgrGetPfsDrive"); +} + +EXPORT(int, _sceAppMgrGetPidListForShell) { + return unimplemented("_sceAppMgrGetPidListForShell"); +} + +EXPORT(int, _sceAppMgrGetRawPath) { + return unimplemented("_sceAppMgrGetRawPath"); +} + +EXPORT(int, _sceAppMgrGetRawPathOfApp0ByAppIdForShell) { + return unimplemented("_sceAppMgrGetRawPathOfApp0ByAppIdForShell"); +} + +EXPORT(int, _sceAppMgrGetRawPathOfApp0ByPidForShell) { + return unimplemented("_sceAppMgrGetRawPathOfApp0ByPidForShell"); +} + +EXPORT(int, _sceAppMgrGetRecommendedScreenOrientation) { + return unimplemented("_sceAppMgrGetRecommendedScreenOrientation"); +} + +EXPORT(int, _sceAppMgrGetRunningAppIdListForShell) { + return unimplemented("_sceAppMgrGetRunningAppIdListForShell"); +} + +EXPORT(int, _sceAppMgrGetSaveDataInfo) { + return unimplemented("_sceAppMgrGetSaveDataInfo"); +} + +EXPORT(int, _sceAppMgrGetSaveDataInfoForSpecialExport) { + return unimplemented("_sceAppMgrGetSaveDataInfoForSpecialExport"); +} + +EXPORT(int, _sceAppMgrGetStatusByAppId) { + return unimplemented("_sceAppMgrGetStatusByAppId"); +} + +EXPORT(int, _sceAppMgrGetStatusById) { + return unimplemented("_sceAppMgrGetStatusById"); +} + +EXPORT(int, _sceAppMgrGetStatusByName) { + return unimplemented("_sceAppMgrGetStatusByName"); +} + +EXPORT(int, _sceAppMgrGetSystemDataFilePlayReady) { + return unimplemented("_sceAppMgrGetSystemDataFilePlayReady"); +} + +EXPORT(int, _sceAppMgrGetUserDirPath) { + return unimplemented("_sceAppMgrGetUserDirPath"); +} + +EXPORT(int, _sceAppMgrGetUserDirPathById) { + return unimplemented("_sceAppMgrGetUserDirPathById"); +} + +EXPORT(int, _sceAppMgrGetVs0UserDataDrive) { + return unimplemented("_sceAppMgrGetVs0UserDataDrive"); +} + +EXPORT(int, _sceAppMgrGetVs0UserModuleDrive) { + return unimplemented("_sceAppMgrGetVs0UserModuleDrive"); +} + +EXPORT(int, _sceAppMgrInitSafeMemoryById) { + return unimplemented("_sceAppMgrInitSafeMemoryById"); +} + +EXPORT(int, _sceAppMgrInstallDirMount) { + return unimplemented("_sceAppMgrInstallDirMount"); +} + +EXPORT(int, _sceAppMgrIsCameraActive) { + return unimplemented("_sceAppMgrIsCameraActive"); +} + +EXPORT(int, _sceAppMgrLaunchAppByName) { + return unimplemented("_sceAppMgrLaunchAppByName"); +} + +EXPORT(int, _sceAppMgrLaunchAppByName2) { + return unimplemented("_sceAppMgrLaunchAppByName2"); +} + +EXPORT(int, _sceAppMgrLaunchAppByName2ForShell) { + return unimplemented("_sceAppMgrLaunchAppByName2ForShell"); +} + +EXPORT(int, _sceAppMgrLaunchAppByName2ndStage) { + return unimplemented("_sceAppMgrLaunchAppByName2ndStage"); +} + +EXPORT(int, _sceAppMgrLaunchAppByNameForShell) { + return unimplemented("_sceAppMgrLaunchAppByNameForShell"); +} + +EXPORT(int, _sceAppMgrLaunchAppByPath4) { + return unimplemented("_sceAppMgrLaunchAppByPath4"); +} + +EXPORT(int, _sceAppMgrLaunchAppByUri) { + return unimplemented("_sceAppMgrLaunchAppByUri"); +} + +EXPORT(int, _sceAppMgrLaunchAppByUri2) { + return unimplemented("_sceAppMgrLaunchAppByUri2"); +} + +EXPORT(int, _sceAppMgrLaunchVideoStreamingApp) { + return unimplemented("_sceAppMgrLaunchVideoStreamingApp"); +} + +EXPORT(int, _sceAppMgrLoadExec) { + return unimplemented("_sceAppMgrLoadExec"); +} + +EXPORT(int, _sceAppMgrLoadSaveDataSystemFile) { + return unimplemented("_sceAppMgrLoadSaveDataSystemFile"); +} + +EXPORT(int, _sceAppMgrLoopBackFormat) { + return unimplemented("_sceAppMgrLoopBackFormat"); +} + +EXPORT(int, _sceAppMgrLoopBackMount) { + return unimplemented("_sceAppMgrLoopBackMount"); +} + +EXPORT(int, _sceAppMgrMmsMount) { + return unimplemented("_sceAppMgrMmsMount"); +} + +EXPORT(int, _sceAppMgrOverwriteLaunchParamForShell) { + return unimplemented("_sceAppMgrOverwriteLaunchParamForShell"); +} + +EXPORT(int, _sceAppMgrPeekLaunchParamForShell) { + return unimplemented("_sceAppMgrPeekLaunchParamForShell"); +} + +EXPORT(int, _sceAppMgrPhotoMount) { + return unimplemented("_sceAppMgrPhotoMount"); +} + +EXPORT(int, _sceAppMgrPhotoUmount) { + return unimplemented("_sceAppMgrPhotoUmount"); +} + +EXPORT(int, _sceAppMgrPspSaveDataGetParams) { + return unimplemented("_sceAppMgrPspSaveDataGetParams"); +} + +EXPORT(int, _sceAppMgrPspSaveDataRead) { + return unimplemented("_sceAppMgrPspSaveDataRead"); +} + +EXPORT(int, _sceAppMgrPspSaveDataRootMount) { + return unimplemented("_sceAppMgrPspSaveDataRootMount"); +} + +EXPORT(int, _sceAppMgrReceiveEvent) { + return unimplemented("_sceAppMgrReceiveEvent"); +} + +EXPORT(int, _sceAppMgrReceiveEventNum) { + return unimplemented("_sceAppMgrReceiveEventNum"); +} + +EXPORT(int, _sceAppMgrReceiveNotificationRequestForShell) { + return unimplemented("_sceAppMgrReceiveNotificationRequestForShell"); +} + +EXPORT(int, _sceAppMgrReceiveShellEvent) { + return unimplemented("_sceAppMgrReceiveShellEvent"); +} + +EXPORT(int, _sceAppMgrReceiveSystemEvent) { + return unimplemented("_sceAppMgrReceiveSystemEvent"); +} + +EXPORT(int, _sceAppMgrSaveDataAddMount) { + return unimplemented("_sceAppMgrSaveDataAddMount"); +} + +EXPORT(int, _sceAppMgrSaveDataDataRemove) { + return unimplemented("_sceAppMgrSaveDataDataRemove"); +} + +EXPORT(int, _sceAppMgrSaveDataDataRemove2) { + return unimplemented("_sceAppMgrSaveDataDataRemove2"); +} + +EXPORT(int, _sceAppMgrSaveDataDataSave) { + return unimplemented("_sceAppMgrSaveDataDataSave"); +} + +EXPORT(int, _sceAppMgrSaveDataDataSave2) { + return unimplemented("_sceAppMgrSaveDataDataSave2"); +} + +EXPORT(int, _sceAppMgrSaveDataGetQuota) { + return unimplemented("_sceAppMgrSaveDataGetQuota"); +} + +EXPORT(int, _sceAppMgrSaveDataMount) { + return unimplemented("_sceAppMgrSaveDataMount"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotCreate) { + return unimplemented("_sceAppMgrSaveDataSlotCreate"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotDelete) { + return unimplemented("_sceAppMgrSaveDataSlotDelete"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotFileClose) { + return unimplemented("_sceAppMgrSaveDataSlotFileClose"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotFileGetParam) { + return unimplemented("_sceAppMgrSaveDataSlotFileGetParam"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotFileOpen) { + return unimplemented("_sceAppMgrSaveDataSlotFileOpen"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotGetParam) { + return unimplemented("_sceAppMgrSaveDataSlotGetParam"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotGetStatus) { + return unimplemented("_sceAppMgrSaveDataSlotGetStatus"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotInit) { + return unimplemented("_sceAppMgrSaveDataSlotInit"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotSetParam) { + return unimplemented("_sceAppMgrSaveDataSlotSetParam"); +} + +EXPORT(int, _sceAppMgrSaveDataSlotSetStatus) { + return unimplemented("_sceAppMgrSaveDataSlotSetStatus"); +} + +EXPORT(int, _sceAppMgrSaveDataUmount) { + return unimplemented("_sceAppMgrSaveDataUmount"); +} + +EXPORT(int, _sceAppMgrSendNotificationRequest) { + return unimplemented("_sceAppMgrSendNotificationRequest"); +} + +EXPORT(int, _sceAppMgrSendParam) { + return unimplemented("_sceAppMgrSendParam"); +} + +EXPORT(int, _sceAppMgrSendSystemEvent) { + return unimplemented("_sceAppMgrSendSystemEvent"); +} + +EXPORT(int, _sceAppMgrSendSystemEvent2) { + return unimplemented("_sceAppMgrSendSystemEvent2"); +} + +EXPORT(int, _sceAppMgrSetBackRenderPortOwner) { + return unimplemented("_sceAppMgrSetBackRenderPortOwner"); +} + +EXPORT(int, _sceAppMgrSetBgmProxyApp) { + return unimplemented("_sceAppMgrSetBgmProxyApp"); +} + +EXPORT(int, _sceAppMgrSetNetworkDisconnectionWarningDialogState) { + return unimplemented("_sceAppMgrSetNetworkDisconnectionWarningDialogState"); +} + +EXPORT(int, _sceAppMgrSetPowerSaveMode) { + return unimplemented("_sceAppMgrSetPowerSaveMode"); +} + +EXPORT(int, _sceAppMgrSetRecommendedScreenOrientationForShell) { + return unimplemented("_sceAppMgrSetRecommendedScreenOrientationForShell"); +} + +EXPORT(int, _sceAppMgrSetShellScreenOrientation) { + return unimplemented("_sceAppMgrSetShellScreenOrientation"); +} + +EXPORT(int, _sceAppMgrSetSystemDataFile) { + return unimplemented("_sceAppMgrSetSystemDataFile"); +} + +EXPORT(int, _sceAppMgrSetSystemDataFilePlayReady) { + return unimplemented("_sceAppMgrSetSystemDataFilePlayReady"); +} + +EXPORT(int, _sceAppMgrSystemParamDateTimeGetConf) { + return unimplemented("_sceAppMgrSystemParamDateTimeGetConf"); +} + +EXPORT(int, _sceAppMgrSystemParamGetInt) { + return unimplemented("_sceAppMgrSystemParamGetInt"); +} + +EXPORT(int, _sceAppMgrSystemParamGetString) { + return unimplemented("_sceAppMgrSystemParamGetString"); +} + +EXPORT(int, _sceAppMgrThemeDataMount) { + return unimplemented("_sceAppMgrThemeDataMount"); +} + +EXPORT(int, _sceAppMgrTrophyMount) { + return unimplemented("_sceAppMgrTrophyMount"); +} + +EXPORT(int, _sceAppMgrTrophyMountById) { + return unimplemented("_sceAppMgrTrophyMountById"); +} + +EXPORT(int, _sceAppMgrUmount) { + return unimplemented("_sceAppMgrUmount"); +} + +EXPORT(int, _sceAppMgrUmountByPid) { + return unimplemented("_sceAppMgrUmountByPid"); +} + +EXPORT(int, _sceAppMgrUpdateSaveDataParam) { + return unimplemented("_sceAppMgrUpdateSaveDataParam"); +} + +EXPORT(int, _sceAppMgrWorkDirMount) { + return unimplemented("_sceAppMgrWorkDirMount"); +} + +EXPORT(int, _sceAppMgrWorkDirMountById) { + return unimplemented("_sceAppMgrWorkDirMountById"); +} + +EXPORT(int, sceAppMgrAcquireBgmPort) { + return unimplemented("sceAppMgrAcquireBgmPort"); +} + +EXPORT(int, sceAppMgrAcquireBgmPortForMusicPlayer) { + return unimplemented("sceAppMgrAcquireBgmPortForMusicPlayer"); +} + +EXPORT(int, sceAppMgrAcquireBgmPortWithPriority) { + return unimplemented("sceAppMgrAcquireBgmPortWithPriority"); +} + +EXPORT(int, sceAppMgrAcquireBtrm) { + return unimplemented("sceAppMgrAcquireBtrm"); +} + +EXPORT(int, sceAppMgrAcquireSoundOutExclusive) { + return unimplemented("sceAppMgrAcquireSoundOutExclusive"); +} + +EXPORT(int, sceAppMgrAcquireSoundOutExclusive2) { + return unimplemented("sceAppMgrAcquireSoundOutExclusive2"); +} + +EXPORT(int, sceAppMgrActivateApp) { + return unimplemented("sceAppMgrActivateApp"); +} + +EXPORT(int, sceAppMgrDeactivateApp) { + return unimplemented("sceAppMgrDeactivateApp"); +} + +EXPORT(int, sceAppMgrDeclareSystemChatApp) { + return unimplemented("sceAppMgrDeclareSystemChatApp"); +} + +EXPORT(int, sceAppMgrDestroyAppByAppId) { + return unimplemented("sceAppMgrDestroyAppByAppId"); +} + +EXPORT(int, sceAppMgrDestroyOtherApp) { + return unimplemented("sceAppMgrDestroyOtherApp"); +} + +EXPORT(int, sceAppMgrDestroyOtherAppByAppIdForShell) { + return unimplemented("sceAppMgrDestroyOtherAppByAppIdForShell"); +} + +EXPORT(int, sceAppMgrDestroyOtherAppByPidForShell) { + return unimplemented("sceAppMgrDestroyOtherAppByPidForShell"); +} + +EXPORT(int, sceAppMgrDump) { + return unimplemented("sceAppMgrDump"); +} + +EXPORT(int, sceAppMgrEnableCoredumpForTest) { + return unimplemented("sceAppMgrEnableCoredumpForTest"); +} + +EXPORT(int, sceAppMgrEnableDuckingOnSystemChat) { + return unimplemented("sceAppMgrEnableDuckingOnSystemChat"); +} + +EXPORT(int, sceAppMgrEnablePrioritizingSystemChat) { + return unimplemented("sceAppMgrEnablePrioritizingSystemChat"); +} + +EXPORT(int, sceAppMgrExitToLiveboardForGameApp) { + return unimplemented("sceAppMgrExitToLiveboardForGameApp"); +} + +EXPORT(int, sceAppMgrFinishCoredumpForShell) { + return unimplemented("sceAppMgrFinishCoredumpForShell"); +} + +EXPORT(int, sceAppMgrGetAppIdByAppId) { + return unimplemented("sceAppMgrGetAppIdByAppId"); +} + +EXPORT(int, sceAppMgrGetExtraAppParam) { + return unimplemented("sceAppMgrGetExtraAppParam"); +} + +EXPORT(int, sceAppMgrGetProcessIdByAppIdForShell) { + return unimplemented("sceAppMgrGetProcessIdByAppIdForShell"); +} + +EXPORT(int, sceAppMgrGetSystemDataFile) { + return unimplemented("sceAppMgrGetSystemDataFile"); +} + +EXPORT(int, sceAppMgrGrowMemory) { + return unimplemented("sceAppMgrGrowMemory"); +} + +EXPORT(int, sceAppMgrGrowMemory3) { + return unimplemented("sceAppMgrGrowMemory3"); +} + +EXPORT(int, sceAppMgrIsDevelopmentMode) { + return unimplemented("sceAppMgrIsDevelopmentMode"); +} + +EXPORT(int, sceAppMgrIsGameBudgetAppPresent) { + return unimplemented("sceAppMgrIsGameBudgetAppPresent"); +} + +EXPORT(int, sceAppMgrIsGameProgram) { + return unimplemented("sceAppMgrIsGameProgram"); +} + +EXPORT(int, sceAppMgrIsNonGameProgram) { + return unimplemented("sceAppMgrIsNonGameProgram"); +} + +EXPORT(int, sceAppMgrIsOtherAppPresent) { + return unimplemented("sceAppMgrIsOtherAppPresent"); +} + +EXPORT(int, sceAppMgrIsPidShellAndCrashed) { + return unimplemented("sceAppMgrIsPidShellAndCrashed"); +} + +EXPORT(int, sceAppMgrIsPsNowClient) { + return unimplemented("sceAppMgrIsPsNowClient"); +} + +EXPORT(int, sceAppMgrLaunchAppCancel) { + return unimplemented("sceAppMgrLaunchAppCancel"); +} + +EXPORT(int, sceAppMgrLoadSafeMemory) { + return unimplemented("sceAppMgrLoadSafeMemory"); +} + +EXPORT(int, sceAppMgrNotifyLiveBoardModeForShell) { + return unimplemented("sceAppMgrNotifyLiveBoardModeForShell"); +} + +EXPORT(int, sceAppMgrQuitApp) { + return unimplemented("sceAppMgrQuitApp"); +} + +EXPORT(int, sceAppMgrQuitForNonSuspendableApp) { + return unimplemented("sceAppMgrQuitForNonSuspendableApp"); +} + +EXPORT(int, sceAppMgrReceiveShellEventNum) { + return unimplemented("sceAppMgrReceiveShellEventNum"); +} + +EXPORT(int, sceAppMgrReleaseBgmPort) { + return unimplemented("sceAppMgrReleaseBgmPort"); +} + +EXPORT(int, sceAppMgrReleaseBtrm) { + return unimplemented("sceAppMgrReleaseBtrm"); +} + +EXPORT(int, sceAppMgrReleaseSoundOutExclusive) { + return unimplemented("sceAppMgrReleaseSoundOutExclusive"); +} + +EXPORT(int, sceAppMgrReleaseSoundOutExclusive2) { + return unimplemented("sceAppMgrReleaseSoundOutExclusive2"); +} + +EXPORT(int, sceAppMgrReleaseSoundOutExclusive3) { + return unimplemented("sceAppMgrReleaseSoundOutExclusive3"); +} + +EXPORT(int, sceAppMgrRestoreBgmSettingForShell) { + return unimplemented("sceAppMgrRestoreBgmSettingForShell"); +} + +EXPORT(int, sceAppMgrRestoreDisplaySettingForShell) { + return unimplemented("sceAppMgrRestoreDisplaySettingForShell"); +} + +EXPORT(int, sceAppMgrResumeBgAppByShell) { + return unimplemented("sceAppMgrResumeBgAppByShell"); +} + +EXPORT(int, sceAppMgrReturnLiveAreaOperationResultForShell) { + return unimplemented("sceAppMgrReturnLiveAreaOperationResultForShell"); +} + +EXPORT(int, sceAppMgrSaveDataGetCachedRequiredSizeKiB) { + return unimplemented("sceAppMgrSaveDataGetCachedRequiredSizeKiB"); +} + +EXPORT(int, sceAppMgrSaveSafeMemory) { + return unimplemented("sceAppMgrSaveSafeMemory"); +} + +EXPORT(int, sceAppMgrSendLiveBoardMode) { + return unimplemented("sceAppMgrSendLiveBoardMode"); +} + +EXPORT(int, sceAppMgrSetAppProtectionModeOnMemoryShortage) { + return unimplemented("sceAppMgrSetAppProtectionModeOnMemoryShortage"); +} + +EXPORT(int, sceAppMgrSetBgmSubPriority) { + return unimplemented("sceAppMgrSetBgmSubPriority"); +} + +EXPORT(int, sceAppMgrSetBgmSubPriorityForSystemChat) { + return unimplemented("sceAppMgrSetBgmSubPriorityForSystemChat"); +} + +EXPORT(int, sceAppMgrSetDisplayMergeConf) { + return unimplemented("sceAppMgrSetDisplayMergeConf"); +} + +EXPORT(int, sceAppMgrSetFakeSettingBug51800) { + return unimplemented("sceAppMgrSetFakeSettingBug51800"); +} + +EXPORT(int, sceAppMgrSetInfobarState) { + return unimplemented("sceAppMgrSetInfobarState"); +} + +EXPORT(int, sceAppMgrSetInfobarStateForCommonDialog) { + return unimplemented("sceAppMgrSetInfobarStateForCommonDialog"); +} + +EXPORT(int, sceAppMgrSetInfobarStateForShellByAppId) { + return unimplemented("sceAppMgrSetInfobarStateForShellByAppId"); +} + +EXPORT(int, sceAppMgrSetRecommendedScreenOrientationActivated) { + return unimplemented("sceAppMgrSetRecommendedScreenOrientationActivated"); +} + +EXPORT(int, sceAppMgrSetSystemImposeState) { + return unimplemented("sceAppMgrSetSystemImposeState"); +} + +EXPORT(int, sceAppMgrSetSystemImposeState2) { + return unimplemented("sceAppMgrSetSystemImposeState2"); +} + +EXPORT(int, sceAppMgrSuspendBgAppByShell) { + return unimplemented("sceAppMgrSuspendBgAppByShell"); +} + +EXPORT(int, sceAppMgrSuspendUntilActivated) { + return unimplemented("sceAppMgrSuspendUntilActivated"); +} + +BRIDGE_IMPL(__sceAppMgrGetAppState) +BRIDGE_IMPL(_sceAppMgrAcidDirSet) +BRIDGE_IMPL(_sceAppMgrAcquireSoundOutExclusive3) +BRIDGE_IMPL(_sceAppMgrAddContAddMount) +BRIDGE_IMPL(_sceAppMgrAddContMount) +BRIDGE_IMPL(_sceAppMgrAppDataMount) +BRIDGE_IMPL(_sceAppMgrAppDataMountById) +BRIDGE_IMPL(_sceAppMgrAppMount) +BRIDGE_IMPL(_sceAppMgrAppParamGetInt) +BRIDGE_IMPL(_sceAppMgrAppParamGetString) +BRIDGE_IMPL(_sceAppMgrAppParamSetString) +BRIDGE_IMPL(_sceAppMgrAppUmount) +BRIDGE_IMPL(_sceAppMgrBgdlGetQueueStatus) +BRIDGE_IMPL(_sceAppMgrCaptureFrameBufDMACByAppId) +BRIDGE_IMPL(_sceAppMgrCaptureFrameBufIFTUByAppId) +BRIDGE_IMPL(_sceAppMgrCheckRifGD) +BRIDGE_IMPL(_sceAppMgrContentInstallPeriodStart) +BRIDGE_IMPL(_sceAppMgrContentInstallPeriodStop) +BRIDGE_IMPL(_sceAppMgrConvertVs0UserDrivePath) +BRIDGE_IMPL(_sceAppMgrDeclareShellProcess2) +BRIDGE_IMPL(_sceAppMgrDestroyAppByName) +BRIDGE_IMPL(_sceAppMgrDrmClose) +BRIDGE_IMPL(_sceAppMgrDrmOpen) +BRIDGE_IMPL(_sceAppMgrForceUmount) +BRIDGE_IMPL(_sceAppMgrGameDataMount) +BRIDGE_IMPL(_sceAppMgrGetAppInfo) +BRIDGE_IMPL(_sceAppMgrGetAppMgrState) +BRIDGE_IMPL(_sceAppMgrGetAppParam) +BRIDGE_IMPL(_sceAppMgrGetAppParam2) +BRIDGE_IMPL(_sceAppMgrGetBootParam) +BRIDGE_IMPL(_sceAppMgrGetBudgetInfo) +BRIDGE_IMPL(_sceAppMgrGetCoredumpStateForShell) +BRIDGE_IMPL(_sceAppMgrGetCurrentBgmState) +BRIDGE_IMPL(_sceAppMgrGetCurrentBgmState2) +BRIDGE_IMPL(_sceAppMgrGetDevInfo) +BRIDGE_IMPL(_sceAppMgrGetFgAppInfo) +BRIDGE_IMPL(_sceAppMgrGetIdByName) +BRIDGE_IMPL(_sceAppMgrGetMediaTypeFromDrive) +BRIDGE_IMPL(_sceAppMgrGetMediaTypeFromDriveByPid) +BRIDGE_IMPL(_sceAppMgrGetMountProcessNum) +BRIDGE_IMPL(_sceAppMgrGetNameById) +BRIDGE_IMPL(_sceAppMgrGetPfsDrive) +BRIDGE_IMPL(_sceAppMgrGetPidListForShell) +BRIDGE_IMPL(_sceAppMgrGetRawPath) +BRIDGE_IMPL(_sceAppMgrGetRawPathOfApp0ByAppIdForShell) +BRIDGE_IMPL(_sceAppMgrGetRawPathOfApp0ByPidForShell) +BRIDGE_IMPL(_sceAppMgrGetRecommendedScreenOrientation) +BRIDGE_IMPL(_sceAppMgrGetRunningAppIdListForShell) +BRIDGE_IMPL(_sceAppMgrGetSaveDataInfo) +BRIDGE_IMPL(_sceAppMgrGetSaveDataInfoForSpecialExport) +BRIDGE_IMPL(_sceAppMgrGetStatusByAppId) +BRIDGE_IMPL(_sceAppMgrGetStatusById) +BRIDGE_IMPL(_sceAppMgrGetStatusByName) +BRIDGE_IMPL(_sceAppMgrGetSystemDataFilePlayReady) +BRIDGE_IMPL(_sceAppMgrGetUserDirPath) +BRIDGE_IMPL(_sceAppMgrGetUserDirPathById) +BRIDGE_IMPL(_sceAppMgrGetVs0UserDataDrive) +BRIDGE_IMPL(_sceAppMgrGetVs0UserModuleDrive) +BRIDGE_IMPL(_sceAppMgrInitSafeMemoryById) +BRIDGE_IMPL(_sceAppMgrInstallDirMount) +BRIDGE_IMPL(_sceAppMgrIsCameraActive) +BRIDGE_IMPL(_sceAppMgrLaunchAppByName) +BRIDGE_IMPL(_sceAppMgrLaunchAppByName2) +BRIDGE_IMPL(_sceAppMgrLaunchAppByName2ForShell) +BRIDGE_IMPL(_sceAppMgrLaunchAppByName2ndStage) +BRIDGE_IMPL(_sceAppMgrLaunchAppByNameForShell) +BRIDGE_IMPL(_sceAppMgrLaunchAppByPath4) +BRIDGE_IMPL(_sceAppMgrLaunchAppByUri) +BRIDGE_IMPL(_sceAppMgrLaunchAppByUri2) +BRIDGE_IMPL(_sceAppMgrLaunchVideoStreamingApp) +BRIDGE_IMPL(_sceAppMgrLoadExec) +BRIDGE_IMPL(_sceAppMgrLoadSaveDataSystemFile) +BRIDGE_IMPL(_sceAppMgrLoopBackFormat) +BRIDGE_IMPL(_sceAppMgrLoopBackMount) +BRIDGE_IMPL(_sceAppMgrMmsMount) +BRIDGE_IMPL(_sceAppMgrOverwriteLaunchParamForShell) +BRIDGE_IMPL(_sceAppMgrPeekLaunchParamForShell) +BRIDGE_IMPL(_sceAppMgrPhotoMount) +BRIDGE_IMPL(_sceAppMgrPhotoUmount) +BRIDGE_IMPL(_sceAppMgrPspSaveDataGetParams) +BRIDGE_IMPL(_sceAppMgrPspSaveDataRead) +BRIDGE_IMPL(_sceAppMgrPspSaveDataRootMount) +BRIDGE_IMPL(_sceAppMgrReceiveEvent) +BRIDGE_IMPL(_sceAppMgrReceiveEventNum) +BRIDGE_IMPL(_sceAppMgrReceiveNotificationRequestForShell) +BRIDGE_IMPL(_sceAppMgrReceiveShellEvent) +BRIDGE_IMPL(_sceAppMgrReceiveSystemEvent) +BRIDGE_IMPL(_sceAppMgrSaveDataAddMount) +BRIDGE_IMPL(_sceAppMgrSaveDataDataRemove) +BRIDGE_IMPL(_sceAppMgrSaveDataDataRemove2) +BRIDGE_IMPL(_sceAppMgrSaveDataDataSave) +BRIDGE_IMPL(_sceAppMgrSaveDataDataSave2) +BRIDGE_IMPL(_sceAppMgrSaveDataGetQuota) +BRIDGE_IMPL(_sceAppMgrSaveDataMount) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotCreate) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotDelete) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileClose) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileGetParam) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotFileOpen) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotGetParam) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotGetStatus) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotInit) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotSetParam) +BRIDGE_IMPL(_sceAppMgrSaveDataSlotSetStatus) +BRIDGE_IMPL(_sceAppMgrSaveDataUmount) +BRIDGE_IMPL(_sceAppMgrSendNotificationRequest) +BRIDGE_IMPL(_sceAppMgrSendParam) +BRIDGE_IMPL(_sceAppMgrSendSystemEvent) +BRIDGE_IMPL(_sceAppMgrSendSystemEvent2) +BRIDGE_IMPL(_sceAppMgrSetBackRenderPortOwner) +BRIDGE_IMPL(_sceAppMgrSetBgmProxyApp) +BRIDGE_IMPL(_sceAppMgrSetNetworkDisconnectionWarningDialogState) +BRIDGE_IMPL(_sceAppMgrSetPowerSaveMode) +BRIDGE_IMPL(_sceAppMgrSetRecommendedScreenOrientationForShell) +BRIDGE_IMPL(_sceAppMgrSetShellScreenOrientation) +BRIDGE_IMPL(_sceAppMgrSetSystemDataFile) +BRIDGE_IMPL(_sceAppMgrSetSystemDataFilePlayReady) +BRIDGE_IMPL(_sceAppMgrSystemParamDateTimeGetConf) +BRIDGE_IMPL(_sceAppMgrSystemParamGetInt) +BRIDGE_IMPL(_sceAppMgrSystemParamGetString) +BRIDGE_IMPL(_sceAppMgrThemeDataMount) +BRIDGE_IMPL(_sceAppMgrTrophyMount) +BRIDGE_IMPL(_sceAppMgrTrophyMountById) +BRIDGE_IMPL(_sceAppMgrUmount) +BRIDGE_IMPL(_sceAppMgrUmountByPid) +BRIDGE_IMPL(_sceAppMgrUpdateSaveDataParam) +BRIDGE_IMPL(_sceAppMgrWorkDirMount) +BRIDGE_IMPL(_sceAppMgrWorkDirMountById) +BRIDGE_IMPL(sceAppMgrAcquireBgmPort) +BRIDGE_IMPL(sceAppMgrAcquireBgmPortForMusicPlayer) +BRIDGE_IMPL(sceAppMgrAcquireBgmPortWithPriority) +BRIDGE_IMPL(sceAppMgrAcquireBtrm) +BRIDGE_IMPL(sceAppMgrAcquireSoundOutExclusive) +BRIDGE_IMPL(sceAppMgrAcquireSoundOutExclusive2) +BRIDGE_IMPL(sceAppMgrActivateApp) +BRIDGE_IMPL(sceAppMgrDeactivateApp) +BRIDGE_IMPL(sceAppMgrDeclareSystemChatApp) +BRIDGE_IMPL(sceAppMgrDestroyAppByAppId) +BRIDGE_IMPL(sceAppMgrDestroyOtherApp) +BRIDGE_IMPL(sceAppMgrDestroyOtherAppByAppIdForShell) +BRIDGE_IMPL(sceAppMgrDestroyOtherAppByPidForShell) +BRIDGE_IMPL(sceAppMgrDump) +BRIDGE_IMPL(sceAppMgrEnableCoredumpForTest) +BRIDGE_IMPL(sceAppMgrEnableDuckingOnSystemChat) +BRIDGE_IMPL(sceAppMgrEnablePrioritizingSystemChat) +BRIDGE_IMPL(sceAppMgrExitToLiveboardForGameApp) +BRIDGE_IMPL(sceAppMgrFinishCoredumpForShell) +BRIDGE_IMPL(sceAppMgrGetAppIdByAppId) +BRIDGE_IMPL(sceAppMgrGetExtraAppParam) +BRIDGE_IMPL(sceAppMgrGetProcessIdByAppIdForShell) +BRIDGE_IMPL(sceAppMgrGetSystemDataFile) +BRIDGE_IMPL(sceAppMgrGrowMemory) +BRIDGE_IMPL(sceAppMgrGrowMemory3) +BRIDGE_IMPL(sceAppMgrIsDevelopmentMode) +BRIDGE_IMPL(sceAppMgrIsGameBudgetAppPresent) +BRIDGE_IMPL(sceAppMgrIsGameProgram) +BRIDGE_IMPL(sceAppMgrIsNonGameProgram) +BRIDGE_IMPL(sceAppMgrIsOtherAppPresent) +BRIDGE_IMPL(sceAppMgrIsPidShellAndCrashed) +BRIDGE_IMPL(sceAppMgrIsPsNowClient) +BRIDGE_IMPL(sceAppMgrLaunchAppCancel) +BRIDGE_IMPL(sceAppMgrLoadSafeMemory) +BRIDGE_IMPL(sceAppMgrNotifyLiveBoardModeForShell) +BRIDGE_IMPL(sceAppMgrQuitApp) +BRIDGE_IMPL(sceAppMgrQuitForNonSuspendableApp) +BRIDGE_IMPL(sceAppMgrReceiveShellEventNum) +BRIDGE_IMPL(sceAppMgrReleaseBgmPort) +BRIDGE_IMPL(sceAppMgrReleaseBtrm) +BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive) +BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive2) +BRIDGE_IMPL(sceAppMgrReleaseSoundOutExclusive3) +BRIDGE_IMPL(sceAppMgrRestoreBgmSettingForShell) +BRIDGE_IMPL(sceAppMgrRestoreDisplaySettingForShell) +BRIDGE_IMPL(sceAppMgrResumeBgAppByShell) +BRIDGE_IMPL(sceAppMgrReturnLiveAreaOperationResultForShell) +BRIDGE_IMPL(sceAppMgrSaveDataGetCachedRequiredSizeKiB) +BRIDGE_IMPL(sceAppMgrSaveSafeMemory) +BRIDGE_IMPL(sceAppMgrSendLiveBoardMode) +BRIDGE_IMPL(sceAppMgrSetAppProtectionModeOnMemoryShortage) +BRIDGE_IMPL(sceAppMgrSetBgmSubPriority) +BRIDGE_IMPL(sceAppMgrSetBgmSubPriorityForSystemChat) +BRIDGE_IMPL(sceAppMgrSetDisplayMergeConf) +BRIDGE_IMPL(sceAppMgrSetFakeSettingBug51800) +BRIDGE_IMPL(sceAppMgrSetInfobarState) +BRIDGE_IMPL(sceAppMgrSetInfobarStateForCommonDialog) +BRIDGE_IMPL(sceAppMgrSetInfobarStateForShellByAppId) +BRIDGE_IMPL(sceAppMgrSetRecommendedScreenOrientationActivated) +BRIDGE_IMPL(sceAppMgrSetSystemImposeState) +BRIDGE_IMPL(sceAppMgrSetSystemImposeState2) +BRIDGE_IMPL(sceAppMgrSuspendBgAppByShell) +BRIDGE_IMPL(sceAppMgrSuspendUntilActivated) diff --git a/src/emulator/modules/SceAppMgr/src/SceAppMgrUser.cpp b/src/emulator/modules/SceAppMgr/src/SceAppMgrUser.cpp new file mode 100644 index 000000000..8af2bb1e2 --- /dev/null +++ b/src/emulator/modules/SceAppMgr/src/SceAppMgrUser.cpp @@ -0,0 +1,634 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceAppMgrGetAppState) { + return unimplemented("_sceAppMgrGetAppState"); +} + +EXPORT(int, sceAppMgrAcidDirSet) { + return unimplemented("sceAppMgrAcidDirSet"); +} + +EXPORT(int, sceAppMgrAcquireSoundOutExclusive3) { + return unimplemented("sceAppMgrAcquireSoundOutExclusive3"); +} + +EXPORT(int, sceAppMgrAddContAddMount) { + return unimplemented("sceAppMgrAddContAddMount"); +} + +EXPORT(int, sceAppMgrAddContMount) { + return unimplemented("sceAppMgrAddContMount"); +} + +EXPORT(int, sceAppMgrAppDataMount) { + return unimplemented("sceAppMgrAppDataMount"); +} + +EXPORT(int, sceAppMgrAppDataMountById) { + return unimplemented("sceAppMgrAppDataMountById"); +} + +EXPORT(int, sceAppMgrAppMount) { + return unimplemented("sceAppMgrAppMount"); +} + +EXPORT(int, sceAppMgrAppParamGetInt) { + return unimplemented("sceAppMgrAppParamGetInt"); +} + +EXPORT(int, sceAppMgrAppParamGetString) { + return unimplemented("sceAppMgrAppParamGetString"); +} + +EXPORT(int, sceAppMgrAppParamSetString) { + return unimplemented("sceAppMgrAppParamSetString"); +} + +EXPORT(int, sceAppMgrAppUmount) { + return unimplemented("sceAppMgrAppUmount"); +} + +EXPORT(int, sceAppMgrBgdlGetQueueStatus) { + return unimplemented("sceAppMgrBgdlGetQueueStatus"); +} + +EXPORT(int, sceAppMgrCaptureFrameBufDMACByAppId) { + return unimplemented("sceAppMgrCaptureFrameBufDMACByAppId"); +} + +EXPORT(int, sceAppMgrCaptureFrameBufIFTUByAppId) { + return unimplemented("sceAppMgrCaptureFrameBufIFTUByAppId"); +} + +EXPORT(int, sceAppMgrCheckRifGD) { + return unimplemented("sceAppMgrCheckRifGD"); +} + +EXPORT(int, sceAppMgrContentInstallPeriodStart) { + return unimplemented("sceAppMgrContentInstallPeriodStart"); +} + +EXPORT(int, sceAppMgrContentInstallPeriodStop) { + return unimplemented("sceAppMgrContentInstallPeriodStop"); +} + +EXPORT(int, sceAppMgrConvertVs0UserDrivePath) { + return unimplemented("sceAppMgrConvertVs0UserDrivePath"); +} + +EXPORT(int, sceAppMgrDeclareShellProcess2) { + return unimplemented("sceAppMgrDeclareShellProcess2"); +} + +EXPORT(int, sceAppMgrDestroyAppByName) { + return unimplemented("sceAppMgrDestroyAppByName"); +} + +EXPORT(int, sceAppMgrDrmClose) { + return unimplemented("sceAppMgrDrmClose"); +} + +EXPORT(int, sceAppMgrDrmOpen) { + return unimplemented("sceAppMgrDrmOpen"); +} + +EXPORT(int, sceAppMgrForceUmount) { + return unimplemented("sceAppMgrForceUmount"); +} + +EXPORT(int, sceAppMgrGameDataMount) { + return unimplemented("sceAppMgrGameDataMount"); +} + +EXPORT(int, sceAppMgrGetAppInfo) { + return unimplemented("sceAppMgrGetAppInfo"); +} + +EXPORT(int, sceAppMgrGetAppMgrState) { + return unimplemented("sceAppMgrGetAppMgrState"); +} + +EXPORT(int, sceAppMgrGetAppParam) { + return unimplemented("sceAppMgrGetAppParam"); +} + +EXPORT(int, sceAppMgrGetAppParam2) { + return unimplemented("sceAppMgrGetAppParam2"); +} + +EXPORT(int, sceAppMgrGetBootParam) { + return unimplemented("sceAppMgrGetBootParam"); +} + +EXPORT(int, sceAppMgrGetBudgetInfo) { + return unimplemented("sceAppMgrGetBudgetInfo"); +} + +EXPORT(int, sceAppMgrGetCoredumpStateForShell) { + return unimplemented("sceAppMgrGetCoredumpStateForShell"); +} + +EXPORT(int, sceAppMgrGetCurrentBgmState) { + return unimplemented("sceAppMgrGetCurrentBgmState"); +} + +EXPORT(int, sceAppMgrGetCurrentBgmState2) { + return unimplemented("sceAppMgrGetCurrentBgmState2"); +} + +EXPORT(int, sceAppMgrGetDevInfo) { + return unimplemented("sceAppMgrGetDevInfo"); +} + +EXPORT(int, sceAppMgrGetFgAppInfo) { + return unimplemented("sceAppMgrGetFgAppInfo"); +} + +EXPORT(int, sceAppMgrGetIdByName) { + return unimplemented("sceAppMgrGetIdByName"); +} + +EXPORT(int, sceAppMgrGetMediaTypeFromDrive) { + return unimplemented("sceAppMgrGetMediaTypeFromDrive"); +} + +EXPORT(int, sceAppMgrGetMediaTypeFromDriveByPid) { + return unimplemented("sceAppMgrGetMediaTypeFromDriveByPid"); +} + +EXPORT(int, sceAppMgrGetMountProcessNum) { + return unimplemented("sceAppMgrGetMountProcessNum"); +} + +EXPORT(int, sceAppMgrGetNameById) { + return unimplemented("sceAppMgrGetNameById"); +} + +EXPORT(int, sceAppMgrGetPfsDrive) { + return unimplemented("sceAppMgrGetPfsDrive"); +} + +EXPORT(int, sceAppMgrGetPidListForShell) { + return unimplemented("sceAppMgrGetPidListForShell"); +} + +EXPORT(int, sceAppMgrGetRawPath) { + return unimplemented("sceAppMgrGetRawPath"); +} + +EXPORT(int, sceAppMgrGetRawPathOfApp0ByAppIdForShell) { + return unimplemented("sceAppMgrGetRawPathOfApp0ByAppIdForShell"); +} + +EXPORT(int, sceAppMgrGetRawPathOfApp0ByPidForShell) { + return unimplemented("sceAppMgrGetRawPathOfApp0ByPidForShell"); +} + +EXPORT(int, sceAppMgrGetRecommendedScreenOrientation) { + return unimplemented("sceAppMgrGetRecommendedScreenOrientation"); +} + +EXPORT(int, sceAppMgrGetRunningAppIdListForShell) { + return unimplemented("sceAppMgrGetRunningAppIdListForShell"); +} + +EXPORT(int, sceAppMgrGetSaveDataInfo) { + return unimplemented("sceAppMgrGetSaveDataInfo"); +} + +EXPORT(int, sceAppMgrGetSaveDataInfoForSpecialExport) { + return unimplemented("sceAppMgrGetSaveDataInfoForSpecialExport"); +} + +EXPORT(int, sceAppMgrGetStatusByAppId) { + return unimplemented("sceAppMgrGetStatusByAppId"); +} + +EXPORT(int, sceAppMgrGetStatusById) { + return unimplemented("sceAppMgrGetStatusById"); +} + +EXPORT(int, sceAppMgrGetStatusByName) { + return unimplemented("sceAppMgrGetStatusByName"); +} + +EXPORT(int, sceAppMgrGetSystemDataFilePlayReady) { + return unimplemented("sceAppMgrGetSystemDataFilePlayReady"); +} + +EXPORT(int, sceAppMgrGetUserDirPath) { + return unimplemented("sceAppMgrGetUserDirPath"); +} + +EXPORT(int, sceAppMgrGetVs0UserDataDrive) { + return unimplemented("sceAppMgrGetVs0UserDataDrive"); +} + +EXPORT(int, sceAppMgrGetVs0UserModuleDrive) { + return unimplemented("sceAppMgrGetVs0UserModuleDrive"); +} + +EXPORT(int, sceAppMgrInitSafeMemoryById) { + return unimplemented("sceAppMgrInitSafeMemoryById"); +} + +EXPORT(int, sceAppMgrInstallDirMount) { + return unimplemented("sceAppMgrInstallDirMount"); +} + +EXPORT(int, sceAppMgrIsCameraActive) { + return unimplemented("sceAppMgrIsCameraActive"); +} + +EXPORT(int, sceAppMgrLaunchAppByName) { + return unimplemented("sceAppMgrLaunchAppByName"); +} + +EXPORT(int, sceAppMgrLaunchAppByName2) { + return unimplemented("sceAppMgrLaunchAppByName2"); +} + +EXPORT(int, sceAppMgrLaunchAppByName2ForShell) { + return unimplemented("sceAppMgrLaunchAppByName2ForShell"); +} + +EXPORT(int, sceAppMgrLaunchAppByName2ndStage) { + return unimplemented("sceAppMgrLaunchAppByName2ndStage"); +} + +EXPORT(int, sceAppMgrLaunchAppByNameForShell) { + return unimplemented("sceAppMgrLaunchAppByNameForShell"); +} + +EXPORT(int, sceAppMgrLaunchAppByPath4) { + return unimplemented("sceAppMgrLaunchAppByPath4"); +} + +EXPORT(int, sceAppMgrLaunchAppByUri) { + return unimplemented("sceAppMgrLaunchAppByUri"); +} + +EXPORT(int, sceAppMgrLaunchAppByUri2) { + return unimplemented("sceAppMgrLaunchAppByUri2"); +} + +EXPORT(int, sceAppMgrLaunchVideoStreamingApp) { + return unimplemented("sceAppMgrLaunchVideoStreamingApp"); +} + +EXPORT(int, sceAppMgrLoadExec) { + return unimplemented("sceAppMgrLoadExec"); +} + +EXPORT(int, sceAppMgrLoopBackFormat) { + return unimplemented("sceAppMgrLoopBackFormat"); +} + +EXPORT(int, sceAppMgrLoopBackMount) { + return unimplemented("sceAppMgrLoopBackMount"); +} + +EXPORT(int, sceAppMgrMmsMount) { + return unimplemented("sceAppMgrMmsMount"); +} + +EXPORT(int, sceAppMgrOverwriteLaunchParamForShell) { + return unimplemented("sceAppMgrOverwriteLaunchParamForShell"); +} + +EXPORT(int, sceAppMgrPeekLaunchParamForShell) { + return unimplemented("sceAppMgrPeekLaunchParamForShell"); +} + +EXPORT(int, sceAppMgrPhotoMount) { + return unimplemented("sceAppMgrPhotoMount"); +} + +EXPORT(int, sceAppMgrPhotoUmount) { + return unimplemented("sceAppMgrPhotoUmount"); +} + +EXPORT(int, sceAppMgrPspSaveDataGetParams) { + return unimplemented("sceAppMgrPspSaveDataGetParams"); +} + +EXPORT(int, sceAppMgrPspSaveDataRead) { + return unimplemented("sceAppMgrPspSaveDataRead"); +} + +EXPORT(int, sceAppMgrPspSaveDataRootMount) { + return unimplemented("sceAppMgrPspSaveDataRootMount"); +} + +EXPORT(int, sceAppMgrReceiveEvent) { + return unimplemented("sceAppMgrReceiveEvent"); +} + +EXPORT(int, sceAppMgrReceiveEventNum) { + return unimplemented("sceAppMgrReceiveEventNum"); +} + +EXPORT(int, sceAppMgrReceiveNotificationRequestForShell) { + return unimplemented("sceAppMgrReceiveNotificationRequestForShell"); +} + +EXPORT(int, sceAppMgrReceiveShellEvent) { + return unimplemented("sceAppMgrReceiveShellEvent"); +} + +EXPORT(int, sceAppMgrReceiveSystemEvent) { + return unimplemented("sceAppMgrReceiveSystemEvent"); +} + +EXPORT(int, sceAppMgrSaveDataAddMount) { + return unimplemented("sceAppMgrSaveDataAddMount"); +} + +EXPORT(int, sceAppMgrSaveDataDataRemove) { + return unimplemented("sceAppMgrSaveDataDataRemove"); +} + +EXPORT(int, sceAppMgrSaveDataDataSave) { + return unimplemented("sceAppMgrSaveDataDataSave"); +} + +EXPORT(int, sceAppMgrSaveDataGetQuota) { + return unimplemented("sceAppMgrSaveDataGetQuota"); +} + +EXPORT(int, sceAppMgrSaveDataMount) { + return unimplemented("sceAppMgrSaveDataMount"); +} + +EXPORT(int, sceAppMgrSaveDataSlotCreate) { + return unimplemented("sceAppMgrSaveDataSlotCreate"); +} + +EXPORT(int, sceAppMgrSaveDataSlotDelete) { + return unimplemented("sceAppMgrSaveDataSlotDelete"); +} + +EXPORT(int, sceAppMgrSaveDataSlotFileClose) { + return unimplemented("sceAppMgrSaveDataSlotFileClose"); +} + +EXPORT(int, sceAppMgrSaveDataSlotFileGetParam) { + return unimplemented("sceAppMgrSaveDataSlotFileGetParam"); +} + +EXPORT(int, sceAppMgrSaveDataSlotFileOpen) { + return unimplemented("sceAppMgrSaveDataSlotFileOpen"); +} + +EXPORT(int, sceAppMgrSaveDataSlotGetParam) { + return unimplemented("sceAppMgrSaveDataSlotGetParam"); +} + +EXPORT(int, sceAppMgrSaveDataSlotGetStatus) { + return unimplemented("sceAppMgrSaveDataSlotGetStatus"); +} + +EXPORT(int, sceAppMgrSaveDataSlotInit) { + return unimplemented("sceAppMgrSaveDataSlotInit"); +} + +EXPORT(int, sceAppMgrSaveDataSlotSetParam) { + return unimplemented("sceAppMgrSaveDataSlotSetParam"); +} + +EXPORT(int, sceAppMgrSaveDataSlotSetStatus) { + return unimplemented("sceAppMgrSaveDataSlotSetStatus"); +} + +EXPORT(int, sceAppMgrSaveDataUmount) { + return unimplemented("sceAppMgrSaveDataUmount"); +} + +EXPORT(int, sceAppMgrSendNotificationRequest) { + return unimplemented("sceAppMgrSendNotificationRequest"); +} + +EXPORT(int, sceAppMgrSendParam) { + return unimplemented("sceAppMgrSendParam"); +} + +EXPORT(int, sceAppMgrSendSystemEvent) { + return unimplemented("sceAppMgrSendSystemEvent"); +} + +EXPORT(int, sceAppMgrSendSystemEvent2) { + return unimplemented("sceAppMgrSendSystemEvent2"); +} + +EXPORT(int, sceAppMgrSetBackRenderPortOwner) { + return unimplemented("sceAppMgrSetBackRenderPortOwner"); +} + +EXPORT(int, sceAppMgrSetBgmProxyApp) { + return unimplemented("sceAppMgrSetBgmProxyApp"); +} + +EXPORT(int, sceAppMgrSetNetworkDisconnectionWarningDialogState) { + return unimplemented("sceAppMgrSetNetworkDisconnectionWarningDialogState"); +} + +EXPORT(int, sceAppMgrSetPowerSaveMode) { + return unimplemented("sceAppMgrSetPowerSaveMode"); +} + +EXPORT(int, sceAppMgrSetRecommendedScreenOrientationForShell) { + return unimplemented("sceAppMgrSetRecommendedScreenOrientationForShell"); +} + +EXPORT(int, sceAppMgrSetShellScreenOrientation) { + return unimplemented("sceAppMgrSetShellScreenOrientation"); +} + +EXPORT(int, sceAppMgrSetSystemDataFile) { + return unimplemented("sceAppMgrSetSystemDataFile"); +} + +EXPORT(int, sceAppMgrSetSystemDataFilePlayReady) { + return unimplemented("sceAppMgrSetSystemDataFilePlayReady"); +} + +EXPORT(int, sceAppMgrSystemParamDateTimeGetConf) { + return unimplemented("sceAppMgrSystemParamDateTimeGetConf"); +} + +EXPORT(int, sceAppMgrSystemParamGetInt) { + return unimplemented("sceAppMgrSystemParamGetInt"); +} + +EXPORT(int, sceAppMgrSystemParamGetString) { + return unimplemented("sceAppMgrSystemParamGetString"); +} + +EXPORT(int, sceAppMgrTrophyMount) { + return unimplemented("sceAppMgrTrophyMount"); +} + +EXPORT(int, sceAppMgrTrophyMountById) { + return unimplemented("sceAppMgrTrophyMountById"); +} + +EXPORT(int, sceAppMgrUmount) { + return unimplemented("sceAppMgrUmount"); +} + +EXPORT(int, sceAppMgrUmountByPid) { + return unimplemented("sceAppMgrUmountByPid"); +} + +EXPORT(int, sceAppMgrUpdateSaveDataParam) { + return unimplemented("sceAppMgrUpdateSaveDataParam"); +} + +EXPORT(int, sceAppMgrWorkDirMount) { + return unimplemented("sceAppMgrWorkDirMount"); +} + +EXPORT(int, sceAppMgrWorkDirMountById) { + return unimplemented("sceAppMgrWorkDirMountById"); +} + +BRIDGE_IMPL(_sceAppMgrGetAppState) +BRIDGE_IMPL(sceAppMgrAcidDirSet) +BRIDGE_IMPL(sceAppMgrAcquireSoundOutExclusive3) +BRIDGE_IMPL(sceAppMgrAddContAddMount) +BRIDGE_IMPL(sceAppMgrAddContMount) +BRIDGE_IMPL(sceAppMgrAppDataMount) +BRIDGE_IMPL(sceAppMgrAppDataMountById) +BRIDGE_IMPL(sceAppMgrAppMount) +BRIDGE_IMPL(sceAppMgrAppParamGetInt) +BRIDGE_IMPL(sceAppMgrAppParamGetString) +BRIDGE_IMPL(sceAppMgrAppParamSetString) +BRIDGE_IMPL(sceAppMgrAppUmount) +BRIDGE_IMPL(sceAppMgrBgdlGetQueueStatus) +BRIDGE_IMPL(sceAppMgrCaptureFrameBufDMACByAppId) +BRIDGE_IMPL(sceAppMgrCaptureFrameBufIFTUByAppId) +BRIDGE_IMPL(sceAppMgrCheckRifGD) +BRIDGE_IMPL(sceAppMgrContentInstallPeriodStart) +BRIDGE_IMPL(sceAppMgrContentInstallPeriodStop) +BRIDGE_IMPL(sceAppMgrConvertVs0UserDrivePath) +BRIDGE_IMPL(sceAppMgrDeclareShellProcess2) +BRIDGE_IMPL(sceAppMgrDestroyAppByName) +BRIDGE_IMPL(sceAppMgrDrmClose) +BRIDGE_IMPL(sceAppMgrDrmOpen) +BRIDGE_IMPL(sceAppMgrForceUmount) +BRIDGE_IMPL(sceAppMgrGameDataMount) +BRIDGE_IMPL(sceAppMgrGetAppInfo) +BRIDGE_IMPL(sceAppMgrGetAppMgrState) +BRIDGE_IMPL(sceAppMgrGetAppParam) +BRIDGE_IMPL(sceAppMgrGetAppParam2) +BRIDGE_IMPL(sceAppMgrGetBootParam) +BRIDGE_IMPL(sceAppMgrGetBudgetInfo) +BRIDGE_IMPL(sceAppMgrGetCoredumpStateForShell) +BRIDGE_IMPL(sceAppMgrGetCurrentBgmState) +BRIDGE_IMPL(sceAppMgrGetCurrentBgmState2) +BRIDGE_IMPL(sceAppMgrGetDevInfo) +BRIDGE_IMPL(sceAppMgrGetFgAppInfo) +BRIDGE_IMPL(sceAppMgrGetIdByName) +BRIDGE_IMPL(sceAppMgrGetMediaTypeFromDrive) +BRIDGE_IMPL(sceAppMgrGetMediaTypeFromDriveByPid) +BRIDGE_IMPL(sceAppMgrGetMountProcessNum) +BRIDGE_IMPL(sceAppMgrGetNameById) +BRIDGE_IMPL(sceAppMgrGetPfsDrive) +BRIDGE_IMPL(sceAppMgrGetPidListForShell) +BRIDGE_IMPL(sceAppMgrGetRawPath) +BRIDGE_IMPL(sceAppMgrGetRawPathOfApp0ByAppIdForShell) +BRIDGE_IMPL(sceAppMgrGetRawPathOfApp0ByPidForShell) +BRIDGE_IMPL(sceAppMgrGetRecommendedScreenOrientation) +BRIDGE_IMPL(sceAppMgrGetRunningAppIdListForShell) +BRIDGE_IMPL(sceAppMgrGetSaveDataInfo) +BRIDGE_IMPL(sceAppMgrGetSaveDataInfoForSpecialExport) +BRIDGE_IMPL(sceAppMgrGetStatusByAppId) +BRIDGE_IMPL(sceAppMgrGetStatusById) +BRIDGE_IMPL(sceAppMgrGetStatusByName) +BRIDGE_IMPL(sceAppMgrGetSystemDataFilePlayReady) +BRIDGE_IMPL(sceAppMgrGetUserDirPath) +BRIDGE_IMPL(sceAppMgrGetVs0UserDataDrive) +BRIDGE_IMPL(sceAppMgrGetVs0UserModuleDrive) +BRIDGE_IMPL(sceAppMgrInitSafeMemoryById) +BRIDGE_IMPL(sceAppMgrInstallDirMount) +BRIDGE_IMPL(sceAppMgrIsCameraActive) +BRIDGE_IMPL(sceAppMgrLaunchAppByName) +BRIDGE_IMPL(sceAppMgrLaunchAppByName2) +BRIDGE_IMPL(sceAppMgrLaunchAppByName2ForShell) +BRIDGE_IMPL(sceAppMgrLaunchAppByName2ndStage) +BRIDGE_IMPL(sceAppMgrLaunchAppByNameForShell) +BRIDGE_IMPL(sceAppMgrLaunchAppByPath4) +BRIDGE_IMPL(sceAppMgrLaunchAppByUri) +BRIDGE_IMPL(sceAppMgrLaunchAppByUri2) +BRIDGE_IMPL(sceAppMgrLaunchVideoStreamingApp) +BRIDGE_IMPL(sceAppMgrLoadExec) +BRIDGE_IMPL(sceAppMgrLoopBackFormat) +BRIDGE_IMPL(sceAppMgrLoopBackMount) +BRIDGE_IMPL(sceAppMgrMmsMount) +BRIDGE_IMPL(sceAppMgrOverwriteLaunchParamForShell) +BRIDGE_IMPL(sceAppMgrPeekLaunchParamForShell) +BRIDGE_IMPL(sceAppMgrPhotoMount) +BRIDGE_IMPL(sceAppMgrPhotoUmount) +BRIDGE_IMPL(sceAppMgrPspSaveDataGetParams) +BRIDGE_IMPL(sceAppMgrPspSaveDataRead) +BRIDGE_IMPL(sceAppMgrPspSaveDataRootMount) +BRIDGE_IMPL(sceAppMgrReceiveEvent) +BRIDGE_IMPL(sceAppMgrReceiveEventNum) +BRIDGE_IMPL(sceAppMgrReceiveNotificationRequestForShell) +BRIDGE_IMPL(sceAppMgrReceiveShellEvent) +BRIDGE_IMPL(sceAppMgrReceiveSystemEvent) +BRIDGE_IMPL(sceAppMgrSaveDataAddMount) +BRIDGE_IMPL(sceAppMgrSaveDataDataRemove) +BRIDGE_IMPL(sceAppMgrSaveDataDataSave) +BRIDGE_IMPL(sceAppMgrSaveDataGetQuota) +BRIDGE_IMPL(sceAppMgrSaveDataMount) +BRIDGE_IMPL(sceAppMgrSaveDataSlotCreate) +BRIDGE_IMPL(sceAppMgrSaveDataSlotDelete) +BRIDGE_IMPL(sceAppMgrSaveDataSlotFileClose) +BRIDGE_IMPL(sceAppMgrSaveDataSlotFileGetParam) +BRIDGE_IMPL(sceAppMgrSaveDataSlotFileOpen) +BRIDGE_IMPL(sceAppMgrSaveDataSlotGetParam) +BRIDGE_IMPL(sceAppMgrSaveDataSlotGetStatus) +BRIDGE_IMPL(sceAppMgrSaveDataSlotInit) +BRIDGE_IMPL(sceAppMgrSaveDataSlotSetParam) +BRIDGE_IMPL(sceAppMgrSaveDataSlotSetStatus) +BRIDGE_IMPL(sceAppMgrSaveDataUmount) +BRIDGE_IMPL(sceAppMgrSendNotificationRequest) +BRIDGE_IMPL(sceAppMgrSendParam) +BRIDGE_IMPL(sceAppMgrSendSystemEvent) +BRIDGE_IMPL(sceAppMgrSendSystemEvent2) +BRIDGE_IMPL(sceAppMgrSetBackRenderPortOwner) +BRIDGE_IMPL(sceAppMgrSetBgmProxyApp) +BRIDGE_IMPL(sceAppMgrSetNetworkDisconnectionWarningDialogState) +BRIDGE_IMPL(sceAppMgrSetPowerSaveMode) +BRIDGE_IMPL(sceAppMgrSetRecommendedScreenOrientationForShell) +BRIDGE_IMPL(sceAppMgrSetShellScreenOrientation) +BRIDGE_IMPL(sceAppMgrSetSystemDataFile) +BRIDGE_IMPL(sceAppMgrSetSystemDataFilePlayReady) +BRIDGE_IMPL(sceAppMgrSystemParamDateTimeGetConf) +BRIDGE_IMPL(sceAppMgrSystemParamGetInt) +BRIDGE_IMPL(sceAppMgrSystemParamGetString) +BRIDGE_IMPL(sceAppMgrTrophyMount) +BRIDGE_IMPL(sceAppMgrTrophyMountById) +BRIDGE_IMPL(sceAppMgrUmount) +BRIDGE_IMPL(sceAppMgrUmountByPid) +BRIDGE_IMPL(sceAppMgrUpdateSaveDataParam) +BRIDGE_IMPL(sceAppMgrWorkDirMount) +BRIDGE_IMPL(sceAppMgrWorkDirMountById) diff --git a/src/emulator/modules/SceAppMgr/src/SceSharedFb.cpp b/src/emulator/modules/SceAppMgr/src/SceSharedFb.cpp new file mode 100644 index 000000000..1a8c15423 --- /dev/null +++ b/src/emulator/modules/SceAppMgr/src/SceSharedFb.cpp @@ -0,0 +1,79 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceSharedFbOpen) { + return unimplemented("_sceSharedFbOpen"); +} + +EXPORT(int, sceSharedFbBegin) { + return unimplemented("sceSharedFbBegin"); +} + +EXPORT(int, sceSharedFbClose) { + return unimplemented("sceSharedFbClose"); +} + +EXPORT(int, sceSharedFbCreate) { + return unimplemented("sceSharedFbCreate"); +} + +EXPORT(int, sceSharedFbDelete) { + return unimplemented("sceSharedFbDelete"); +} + +EXPORT(int, sceSharedFbEnd) { + return unimplemented("sceSharedFbEnd"); +} + +EXPORT(int, sceSharedFbGetInfo) { + return unimplemented("sceSharedFbGetInfo"); +} + +EXPORT(int, sceSharedFbGetRenderingInfo) { + return unimplemented("sceSharedFbGetRenderingInfo"); +} + +EXPORT(int, sceSharedFbGetShellRenderPort) { + return unimplemented("sceSharedFbGetShellRenderPort"); +} + +EXPORT(int, sceSharedFbUpdateProcess) { + return unimplemented("sceSharedFbUpdateProcess"); +} + +EXPORT(int, sceSharedFbUpdateProcessBegin) { + return unimplemented("sceSharedFbUpdateProcessBegin"); +} + +EXPORT(int, sceSharedFbUpdateProcessEnd) { + return unimplemented("sceSharedFbUpdateProcessEnd"); +} + +BRIDGE_IMPL(_sceSharedFbOpen) +BRIDGE_IMPL(sceSharedFbBegin) +BRIDGE_IMPL(sceSharedFbClose) +BRIDGE_IMPL(sceSharedFbCreate) +BRIDGE_IMPL(sceSharedFbDelete) +BRIDGE_IMPL(sceSharedFbEnd) +BRIDGE_IMPL(sceSharedFbGetInfo) +BRIDGE_IMPL(sceSharedFbGetRenderingInfo) +BRIDGE_IMPL(sceSharedFbGetShellRenderPort) +BRIDGE_IMPL(sceSharedFbUpdateProcess) +BRIDGE_IMPL(sceSharedFbUpdateProcessBegin) +BRIDGE_IMPL(sceSharedFbUpdateProcessEnd) diff --git a/src/emulator/modules/SceAppUtil/CMakeLists.txt b/src/emulator/modules/SceAppUtil/CMakeLists.txt new file mode 100644 index 000000000..732266727 --- /dev/null +++ b/src/emulator/modules/SceAppUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAppUtil STATIC include/SceAppUtil/exports.h src/SceAppUtil.cpp src/SceAppUtilCache.cpp) +target_include_directories(SceAppUtil PUBLIC include) +target_link_libraries(SceAppUtil PRIVATE module) diff --git a/src/emulator/modules/SceAppUtil/include/SceAppUtil/exports.h b/src/emulator/modules/SceAppUtil/include/SceAppUtil/exports.h new file mode 100644 index 000000000..2b1858a55 --- /dev/null +++ b/src/emulator/modules/SceAppUtil/include/SceAppUtil/exports.h @@ -0,0 +1,67 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAppUtil +BRIDGE_DECL(sceAppUtilAddCookieWebBrowser) +BRIDGE_DECL(sceAppUtilAddcontMount) +BRIDGE_DECL(sceAppUtilAddcontUmount) +BRIDGE_DECL(sceAppUtilAppEventParseIncomingDialog) +BRIDGE_DECL(sceAppUtilAppEventParseLiveArea) +BRIDGE_DECL(sceAppUtilAppEventParseNearGift) +BRIDGE_DECL(sceAppUtilAppEventParseNpAppDataMessage) +BRIDGE_DECL(sceAppUtilAppEventParseNpBasicJoinablePresence) +BRIDGE_DECL(sceAppUtilAppEventParseNpInviteMessage) +BRIDGE_DECL(sceAppUtilAppEventParseScreenShotNotification) +BRIDGE_DECL(sceAppUtilAppEventParseTriggerUtil) +BRIDGE_DECL(sceAppUtilAppEventParseWebBrowser) +BRIDGE_DECL(sceAppUtilAppParamGetInt) +BRIDGE_DECL(sceAppUtilBgdlGetStatus) +BRIDGE_DECL(sceAppUtilDrmClose) +BRIDGE_DECL(sceAppUtilDrmOpen) +BRIDGE_DECL(sceAppUtilInit) +BRIDGE_DECL(sceAppUtilLaunchWebBrowser) +BRIDGE_DECL(sceAppUtilLoadSafeMemory) +BRIDGE_DECL(sceAppUtilMusicMount) +BRIDGE_DECL(sceAppUtilMusicUmount) +BRIDGE_DECL(sceAppUtilPhotoMount) +BRIDGE_DECL(sceAppUtilPhotoUmount) +BRIDGE_DECL(sceAppUtilPspSaveDataGetDirNameList) +BRIDGE_DECL(sceAppUtilPspSaveDataLoad) +BRIDGE_DECL(sceAppUtilReceiveAppEvent) +BRIDGE_DECL(sceAppUtilResetCookieWebBrowser) +BRIDGE_DECL(sceAppUtilSaveDataDataRemove) +BRIDGE_DECL(sceAppUtilSaveDataDataSave) +BRIDGE_DECL(sceAppUtilSaveDataGetQuota) +BRIDGE_DECL(sceAppUtilSaveDataMount) +BRIDGE_DECL(sceAppUtilSaveDataSlotCreate) +BRIDGE_DECL(sceAppUtilSaveDataSlotDelete) +BRIDGE_DECL(sceAppUtilSaveDataSlotGetParam) +BRIDGE_DECL(sceAppUtilSaveDataSlotSearch) +BRIDGE_DECL(sceAppUtilSaveDataSlotSetParam) +BRIDGE_DECL(sceAppUtilSaveDataUmount) +BRIDGE_DECL(sceAppUtilSaveSafeMemory) +BRIDGE_DECL(sceAppUtilShutdown) +BRIDGE_DECL(sceAppUtilStoreBrowse) +BRIDGE_DECL(sceAppUtilSystemParamGetInt) +BRIDGE_DECL(sceAppUtilSystemParamGetString) + +// SceAppUtilCache +BRIDGE_DECL(sceAppUtilCacheMount) diff --git a/src/emulator/modules/SceAppUtil/src/SceAppUtil.cpp b/src/emulator/modules/SceAppUtil/src/SceAppUtil.cpp new file mode 100644 index 000000000..e632efa65 --- /dev/null +++ b/src/emulator/modules/SceAppUtil/src/SceAppUtil.cpp @@ -0,0 +1,229 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAppUtilAddCookieWebBrowser) { + return unimplemented("sceAppUtilAddCookieWebBrowser"); +} + +EXPORT(int, sceAppUtilAddcontMount) { + return unimplemented("sceAppUtilAddcontMount"); +} + +EXPORT(int, sceAppUtilAddcontUmount) { + return unimplemented("sceAppUtilAddcontUmount"); +} + +EXPORT(int, sceAppUtilAppEventParseIncomingDialog) { + return unimplemented("sceAppUtilAppEventParseIncomingDialog"); +} + +EXPORT(int, sceAppUtilAppEventParseLiveArea) { + return unimplemented("sceAppUtilAppEventParseLiveArea"); +} + +EXPORT(int, sceAppUtilAppEventParseNearGift) { + return unimplemented("sceAppUtilAppEventParseNearGift"); +} + +EXPORT(int, sceAppUtilAppEventParseNpAppDataMessage) { + return unimplemented("sceAppUtilAppEventParseNpAppDataMessage"); +} + +EXPORT(int, sceAppUtilAppEventParseNpBasicJoinablePresence) { + return unimplemented("sceAppUtilAppEventParseNpBasicJoinablePresence"); +} + +EXPORT(int, sceAppUtilAppEventParseNpInviteMessage) { + return unimplemented("sceAppUtilAppEventParseNpInviteMessage"); +} + +EXPORT(int, sceAppUtilAppEventParseScreenShotNotification) { + return unimplemented("sceAppUtilAppEventParseScreenShotNotification"); +} + +EXPORT(int, sceAppUtilAppEventParseTriggerUtil) { + return unimplemented("sceAppUtilAppEventParseTriggerUtil"); +} + +EXPORT(int, sceAppUtilAppEventParseWebBrowser) { + return unimplemented("sceAppUtilAppEventParseWebBrowser"); +} + +EXPORT(int, sceAppUtilAppParamGetInt) { + return unimplemented("sceAppUtilAppParamGetInt"); +} + +EXPORT(int, sceAppUtilBgdlGetStatus) { + return unimplemented("sceAppUtilBgdlGetStatus"); +} + +EXPORT(int, sceAppUtilDrmClose) { + return unimplemented("sceAppUtilDrmClose"); +} + +EXPORT(int, sceAppUtilDrmOpen) { + return unimplemented("sceAppUtilDrmOpen"); +} + +EXPORT(int, sceAppUtilInit) { + return unimplemented("sceAppUtilInit"); +} + +EXPORT(int, sceAppUtilLaunchWebBrowser) { + return unimplemented("sceAppUtilLaunchWebBrowser"); +} + +EXPORT(int, sceAppUtilLoadSafeMemory) { + return unimplemented("sceAppUtilLoadSafeMemory"); +} + +EXPORT(int, sceAppUtilMusicMount) { + return unimplemented("sceAppUtilMusicMount"); +} + +EXPORT(int, sceAppUtilMusicUmount) { + return unimplemented("sceAppUtilMusicUmount"); +} + +EXPORT(int, sceAppUtilPhotoMount) { + return unimplemented("sceAppUtilPhotoMount"); +} + +EXPORT(int, sceAppUtilPhotoUmount) { + return unimplemented("sceAppUtilPhotoUmount"); +} + +EXPORT(int, sceAppUtilPspSaveDataGetDirNameList) { + return unimplemented("sceAppUtilPspSaveDataGetDirNameList"); +} + +EXPORT(int, sceAppUtilPspSaveDataLoad) { + return unimplemented("sceAppUtilPspSaveDataLoad"); +} + +EXPORT(int, sceAppUtilReceiveAppEvent) { + return unimplemented("sceAppUtilReceiveAppEvent"); +} + +EXPORT(int, sceAppUtilResetCookieWebBrowser) { + return unimplemented("sceAppUtilResetCookieWebBrowser"); +} + +EXPORT(int, sceAppUtilSaveDataDataRemove) { + return unimplemented("sceAppUtilSaveDataDataRemove"); +} + +EXPORT(int, sceAppUtilSaveDataDataSave) { + return unimplemented("sceAppUtilSaveDataDataSave"); +} + +EXPORT(int, sceAppUtilSaveDataGetQuota) { + return unimplemented("sceAppUtilSaveDataGetQuota"); +} + +EXPORT(int, sceAppUtilSaveDataMount) { + return unimplemented("sceAppUtilSaveDataMount"); +} + +EXPORT(int, sceAppUtilSaveDataSlotCreate) { + return unimplemented("sceAppUtilSaveDataSlotCreate"); +} + +EXPORT(int, sceAppUtilSaveDataSlotDelete) { + return unimplemented("sceAppUtilSaveDataSlotDelete"); +} + +EXPORT(int, sceAppUtilSaveDataSlotGetParam) { + return unimplemented("sceAppUtilSaveDataSlotGetParam"); +} + +EXPORT(int, sceAppUtilSaveDataSlotSearch) { + return unimplemented("sceAppUtilSaveDataSlotSearch"); +} + +EXPORT(int, sceAppUtilSaveDataSlotSetParam) { + return unimplemented("sceAppUtilSaveDataSlotSetParam"); +} + +EXPORT(int, sceAppUtilSaveDataUmount) { + return unimplemented("sceAppUtilSaveDataUmount"); +} + +EXPORT(int, sceAppUtilSaveSafeMemory) { + return unimplemented("sceAppUtilSaveSafeMemory"); +} + +EXPORT(int, sceAppUtilShutdown) { + return unimplemented("sceAppUtilShutdown"); +} + +EXPORT(int, sceAppUtilStoreBrowse) { + return unimplemented("sceAppUtilStoreBrowse"); +} + +EXPORT(int, sceAppUtilSystemParamGetInt) { + return unimplemented("sceAppUtilSystemParamGetInt"); +} + +EXPORT(int, sceAppUtilSystemParamGetString) { + return unimplemented("sceAppUtilSystemParamGetString"); +} + +BRIDGE_IMPL(sceAppUtilAddCookieWebBrowser) +BRIDGE_IMPL(sceAppUtilAddcontMount) +BRIDGE_IMPL(sceAppUtilAddcontUmount) +BRIDGE_IMPL(sceAppUtilAppEventParseIncomingDialog) +BRIDGE_IMPL(sceAppUtilAppEventParseLiveArea) +BRIDGE_IMPL(sceAppUtilAppEventParseNearGift) +BRIDGE_IMPL(sceAppUtilAppEventParseNpAppDataMessage) +BRIDGE_IMPL(sceAppUtilAppEventParseNpBasicJoinablePresence) +BRIDGE_IMPL(sceAppUtilAppEventParseNpInviteMessage) +BRIDGE_IMPL(sceAppUtilAppEventParseScreenShotNotification) +BRIDGE_IMPL(sceAppUtilAppEventParseTriggerUtil) +BRIDGE_IMPL(sceAppUtilAppEventParseWebBrowser) +BRIDGE_IMPL(sceAppUtilAppParamGetInt) +BRIDGE_IMPL(sceAppUtilBgdlGetStatus) +BRIDGE_IMPL(sceAppUtilDrmClose) +BRIDGE_IMPL(sceAppUtilDrmOpen) +BRIDGE_IMPL(sceAppUtilInit) +BRIDGE_IMPL(sceAppUtilLaunchWebBrowser) +BRIDGE_IMPL(sceAppUtilLoadSafeMemory) +BRIDGE_IMPL(sceAppUtilMusicMount) +BRIDGE_IMPL(sceAppUtilMusicUmount) +BRIDGE_IMPL(sceAppUtilPhotoMount) +BRIDGE_IMPL(sceAppUtilPhotoUmount) +BRIDGE_IMPL(sceAppUtilPspSaveDataGetDirNameList) +BRIDGE_IMPL(sceAppUtilPspSaveDataLoad) +BRIDGE_IMPL(sceAppUtilReceiveAppEvent) +BRIDGE_IMPL(sceAppUtilResetCookieWebBrowser) +BRIDGE_IMPL(sceAppUtilSaveDataDataRemove) +BRIDGE_IMPL(sceAppUtilSaveDataDataSave) +BRIDGE_IMPL(sceAppUtilSaveDataGetQuota) +BRIDGE_IMPL(sceAppUtilSaveDataMount) +BRIDGE_IMPL(sceAppUtilSaveDataSlotCreate) +BRIDGE_IMPL(sceAppUtilSaveDataSlotDelete) +BRIDGE_IMPL(sceAppUtilSaveDataSlotGetParam) +BRIDGE_IMPL(sceAppUtilSaveDataSlotSearch) +BRIDGE_IMPL(sceAppUtilSaveDataSlotSetParam) +BRIDGE_IMPL(sceAppUtilSaveDataUmount) +BRIDGE_IMPL(sceAppUtilSaveSafeMemory) +BRIDGE_IMPL(sceAppUtilShutdown) +BRIDGE_IMPL(sceAppUtilStoreBrowse) +BRIDGE_IMPL(sceAppUtilSystemParamGetInt) +BRIDGE_IMPL(sceAppUtilSystemParamGetString) diff --git a/src/emulator/modules/SceAppUtil/src/SceAppUtilCache.cpp b/src/emulator/modules/SceAppUtil/src/SceAppUtilCache.cpp new file mode 100644 index 000000000..202acaec8 --- /dev/null +++ b/src/emulator/modules/SceAppUtil/src/SceAppUtilCache.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAppUtilCacheMount) { + return unimplemented("sceAppUtilCacheMount"); +} + +BRIDGE_IMPL(sceAppUtilCacheMount) diff --git a/src/emulator/modules/SceAtrac/CMakeLists.txt b/src/emulator/modules/SceAtrac/CMakeLists.txt new file mode 100644 index 000000000..4b23fbf07 --- /dev/null +++ b/src/emulator/modules/SceAtrac/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAtrac STATIC include/SceAtrac/exports.h src/SceAtrac.cpp) +target_include_directories(SceAtrac PUBLIC include) +target_link_libraries(SceAtrac PRIVATE module) diff --git a/src/emulator/modules/SceAtrac/include/SceAtrac/exports.h b/src/emulator/modules/SceAtrac/include/SceAtrac/exports.h new file mode 100644 index 000000000..a68312076 --- /dev/null +++ b/src/emulator/modules/SceAtrac/include/SceAtrac/exports.h @@ -0,0 +1,46 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAtrac +BRIDGE_DECL(sceAtracAddStreamData) +BRIDGE_DECL(sceAtracCreateDecoderGroup) +BRIDGE_DECL(sceAtracDecode) +BRIDGE_DECL(sceAtracDeleteDecoderGroup) +BRIDGE_DECL(sceAtracGetContentInfo) +BRIDGE_DECL(sceAtracGetDecoderGroupInfo) +BRIDGE_DECL(sceAtracGetDecoderStatus) +BRIDGE_DECL(sceAtracGetInternalError) +BRIDGE_DECL(sceAtracGetLoopInfo) +BRIDGE_DECL(sceAtracGetNextOutputPosition) +BRIDGE_DECL(sceAtracGetOutputSamples) +BRIDGE_DECL(sceAtracGetOutputableSamples) +BRIDGE_DECL(sceAtracGetRemainSamples) +BRIDGE_DECL(sceAtracGetStreamInfo) +BRIDGE_DECL(sceAtracGetSubBufferInfo) +BRIDGE_DECL(sceAtracGetVacantSize) +BRIDGE_DECL(sceAtracIsSubBufferNeeded) +BRIDGE_DECL(sceAtracQueryDecoderGroupMemSize) +BRIDGE_DECL(sceAtracReleaseHandle) +BRIDGE_DECL(sceAtracResetNextOutputPosition) +BRIDGE_DECL(sceAtracSetDataAndAcquireHandle) +BRIDGE_DECL(sceAtracSetLoopNum) +BRIDGE_DECL(sceAtracSetOutputSamples) +BRIDGE_DECL(sceAtracSetSubBuffer) diff --git a/src/emulator/modules/SceAtrac/src/SceAtrac.cpp b/src/emulator/modules/SceAtrac/src/SceAtrac.cpp new file mode 100644 index 000000000..f4c4ba536 --- /dev/null +++ b/src/emulator/modules/SceAtrac/src/SceAtrac.cpp @@ -0,0 +1,139 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAtracAddStreamData) { + return unimplemented("sceAtracAddStreamData"); +} + +EXPORT(int, sceAtracCreateDecoderGroup) { + return unimplemented("sceAtracCreateDecoderGroup"); +} + +EXPORT(int, sceAtracDecode) { + return unimplemented("sceAtracDecode"); +} + +EXPORT(int, sceAtracDeleteDecoderGroup) { + return unimplemented("sceAtracDeleteDecoderGroup"); +} + +EXPORT(int, sceAtracGetContentInfo) { + return unimplemented("sceAtracGetContentInfo"); +} + +EXPORT(int, sceAtracGetDecoderGroupInfo) { + return unimplemented("sceAtracGetDecoderGroupInfo"); +} + +EXPORT(int, sceAtracGetDecoderStatus) { + return unimplemented("sceAtracGetDecoderStatus"); +} + +EXPORT(int, sceAtracGetInternalError) { + return unimplemented("sceAtracGetInternalError"); +} + +EXPORT(int, sceAtracGetLoopInfo) { + return unimplemented("sceAtracGetLoopInfo"); +} + +EXPORT(int, sceAtracGetNextOutputPosition) { + return unimplemented("sceAtracGetNextOutputPosition"); +} + +EXPORT(int, sceAtracGetOutputSamples) { + return unimplemented("sceAtracGetOutputSamples"); +} + +EXPORT(int, sceAtracGetOutputableSamples) { + return unimplemented("sceAtracGetOutputableSamples"); +} + +EXPORT(int, sceAtracGetRemainSamples) { + return unimplemented("sceAtracGetRemainSamples"); +} + +EXPORT(int, sceAtracGetStreamInfo) { + return unimplemented("sceAtracGetStreamInfo"); +} + +EXPORT(int, sceAtracGetSubBufferInfo) { + return unimplemented("sceAtracGetSubBufferInfo"); +} + +EXPORT(int, sceAtracGetVacantSize) { + return unimplemented("sceAtracGetVacantSize"); +} + +EXPORT(int, sceAtracIsSubBufferNeeded) { + return unimplemented("sceAtracIsSubBufferNeeded"); +} + +EXPORT(int, sceAtracQueryDecoderGroupMemSize) { + return unimplemented("sceAtracQueryDecoderGroupMemSize"); +} + +EXPORT(int, sceAtracReleaseHandle) { + return unimplemented("sceAtracReleaseHandle"); +} + +EXPORT(int, sceAtracResetNextOutputPosition) { + return unimplemented("sceAtracResetNextOutputPosition"); +} + +EXPORT(int, sceAtracSetDataAndAcquireHandle) { + return unimplemented("sceAtracSetDataAndAcquireHandle"); +} + +EXPORT(int, sceAtracSetLoopNum) { + return unimplemented("sceAtracSetLoopNum"); +} + +EXPORT(int, sceAtracSetOutputSamples) { + return unimplemented("sceAtracSetOutputSamples"); +} + +EXPORT(int, sceAtracSetSubBuffer) { + return unimplemented("sceAtracSetSubBuffer"); +} + +BRIDGE_IMPL(sceAtracAddStreamData) +BRIDGE_IMPL(sceAtracCreateDecoderGroup) +BRIDGE_IMPL(sceAtracDecode) +BRIDGE_IMPL(sceAtracDeleteDecoderGroup) +BRIDGE_IMPL(sceAtracGetContentInfo) +BRIDGE_IMPL(sceAtracGetDecoderGroupInfo) +BRIDGE_IMPL(sceAtracGetDecoderStatus) +BRIDGE_IMPL(sceAtracGetInternalError) +BRIDGE_IMPL(sceAtracGetLoopInfo) +BRIDGE_IMPL(sceAtracGetNextOutputPosition) +BRIDGE_IMPL(sceAtracGetOutputSamples) +BRIDGE_IMPL(sceAtracGetOutputableSamples) +BRIDGE_IMPL(sceAtracGetRemainSamples) +BRIDGE_IMPL(sceAtracGetStreamInfo) +BRIDGE_IMPL(sceAtracGetSubBufferInfo) +BRIDGE_IMPL(sceAtracGetVacantSize) +BRIDGE_IMPL(sceAtracIsSubBufferNeeded) +BRIDGE_IMPL(sceAtracQueryDecoderGroupMemSize) +BRIDGE_IMPL(sceAtracReleaseHandle) +BRIDGE_IMPL(sceAtracResetNextOutputPosition) +BRIDGE_IMPL(sceAtracSetDataAndAcquireHandle) +BRIDGE_IMPL(sceAtracSetLoopNum) +BRIDGE_IMPL(sceAtracSetOutputSamples) +BRIDGE_IMPL(sceAtracSetSubBuffer) diff --git a/src/emulator/modules/SceAudio/CMakeLists.txt b/src/emulator/modules/SceAudio/CMakeLists.txt new file mode 100644 index 000000000..a439903b3 --- /dev/null +++ b/src/emulator/modules/SceAudio/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAudio STATIC include/SceAudio/exports.h src/SceAudio.cpp) +target_include_directories(SceAudio PUBLIC include) +target_link_libraries(SceAudio PRIVATE module) diff --git a/src/emulator/modules/SceAudio/include/SceAudio/exports.h b/src/emulator/modules/SceAudio/include/SceAudio/exports.h new file mode 100644 index 000000000..f59505fdc --- /dev/null +++ b/src/emulator/modules/SceAudio/include/SceAudio/exports.h @@ -0,0 +1,31 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAudio +BRIDGE_DECL(sceAudioOutGetAdopt) +BRIDGE_DECL(sceAudioOutGetConfig) +BRIDGE_DECL(sceAudioOutGetRestSample) +BRIDGE_DECL(sceAudioOutOpenPort) +BRIDGE_DECL(sceAudioOutOutput) +BRIDGE_DECL(sceAudioOutReleasePort) +BRIDGE_DECL(sceAudioOutSetAlcMode) +BRIDGE_DECL(sceAudioOutSetConfig) +BRIDGE_DECL(sceAudioOutSetVolume) diff --git a/src/emulator/modules/SceAudio/src/SceAudio.cpp b/src/emulator/modules/SceAudio/src/SceAudio.cpp new file mode 100644 index 000000000..5503982ec --- /dev/null +++ b/src/emulator/modules/SceAudio/src/SceAudio.cpp @@ -0,0 +1,112 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include + +EXPORT(int, sceAudioOutGetAdopt) { + return unimplemented("sceAudioOutGetAdopt"); +} + +EXPORT(int, sceAudioOutGetConfig) { + return unimplemented("sceAudioOutGetConfig"); +} + +EXPORT(int, sceAudioOutGetRestSample) { + return unimplemented("sceAudioOutGetRestSample"); +} + +EXPORT(int, sceAudioOutOpenPort, SceAudioOutPortType type, int len, int freq, SceAudioOutMode mode) { + assert(type == SCE_AUDIO_OUT_PORT_TYPE_MAIN); + assert(len > 0); + assert(freq == 48000); + assert((mode == SCE_AUDIO_OUT_MODE_MONO) || (mode == SCE_AUDIO_OUT_MODE_STEREO)); + + const int channels = (mode == SCE_AUDIO_OUT_MODE_MONO) ? 1 : 2; + const AudioStreamPtr stream(SDL_NewAudioStream(AUDIO_S16LSB, channels, freq, host.audio.ro.spec.format, host.audio.ro.spec.channels, host.audio.ro.spec.freq), SDL_FreeAudioStream); + if (!stream) { + return SCE_AUDIO_OUT_ERROR_NOT_OPENED; + } + + const AudioOutPortPtr port = std::make_shared(); + port->ro.len_bytes = len * channels * sizeof(int16_t); + port->callback.stream = stream; + + const std::unique_lock lock(host.audio.shared.mutex); + const int port_id = host.audio.shared.next_port_id++; + host.audio.shared.out_ports.emplace(port_id, port); + + return port_id; +} + +EXPORT(int, sceAudioOutOutput, int port, const void *buf) { + const AudioOutPortPtr prt = lock_and_find(port, host.audio.shared.out_ports, host.audio.shared.mutex); + if (!prt) { + return SCE_AUDIO_OUT_ERROR_INVALID_PORT; + } + + const ThreadStatePtr thread = lock_and_find(thread_id, host.kernel.threads, host.kernel.mutex); + if (!thread) { + return SCE_AUDIO_OUT_ERROR_INVALID_PORT; + } + + const std::unique_lock lock(thread->mutex); + assert(thread->to_do == ThreadToDo::run); + thread->to_do = ThreadToDo::wait; + stop(*thread->cpu); + + AudioOutput output; + output.buf = static_cast(buf); + output.len_bytes = prt->ro.len_bytes; + output.thread = thread_id; + + { + const std::unique_lock lock(prt->shared.mutex); + prt->shared.outputs.push(output); + } + + return 0; +} + +EXPORT(int, sceAudioOutReleasePort) { + return unimplemented("sceAudioOutReleasePort"); +} + +EXPORT(int, sceAudioOutSetAlcMode) { + return unimplemented("sceAudioOutSetAlcMode"); +} + +EXPORT(int, sceAudioOutSetConfig) { + return unimplemented("sceAudioOutSetConfig"); +} + +EXPORT(int, sceAudioOutSetVolume) { + return unimplemented("sceAudioOutSetVolume"); +} + +BRIDGE_IMPL(sceAudioOutGetAdopt) +BRIDGE_IMPL(sceAudioOutGetConfig) +BRIDGE_IMPL(sceAudioOutGetRestSample) +BRIDGE_IMPL(sceAudioOutOpenPort) +BRIDGE_IMPL(sceAudioOutOutput) +BRIDGE_IMPL(sceAudioOutReleasePort) +BRIDGE_IMPL(sceAudioOutSetAlcMode) +BRIDGE_IMPL(sceAudioOutSetConfig) +BRIDGE_IMPL(sceAudioOutSetVolume) diff --git a/src/emulator/modules/SceAudioIn/CMakeLists.txt b/src/emulator/modules/SceAudioIn/CMakeLists.txt new file mode 100644 index 000000000..2122a5469 --- /dev/null +++ b/src/emulator/modules/SceAudioIn/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAudioIn STATIC include/SceAudioIn/exports.h src/SceAudioIn.cpp) +target_include_directories(SceAudioIn PUBLIC include) +target_link_libraries(SceAudioIn PRIVATE module) diff --git a/src/emulator/modules/SceAudioIn/include/SceAudioIn/exports.h b/src/emulator/modules/SceAudioIn/include/SceAudioIn/exports.h new file mode 100644 index 000000000..08e433269 --- /dev/null +++ b/src/emulator/modules/SceAudioIn/include/SceAudioIn/exports.h @@ -0,0 +1,27 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAudioIn +BRIDGE_DECL(sceAudioInGetAdopt) +BRIDGE_DECL(sceAudioInGetStatus) +BRIDGE_DECL(sceAudioInInput) +BRIDGE_DECL(sceAudioInOpenPort) +BRIDGE_DECL(sceAudioInReleasePort) diff --git a/src/emulator/modules/SceAudioIn/src/SceAudioIn.cpp b/src/emulator/modules/SceAudioIn/src/SceAudioIn.cpp new file mode 100644 index 000000000..6b696f353 --- /dev/null +++ b/src/emulator/modules/SceAudioIn/src/SceAudioIn.cpp @@ -0,0 +1,44 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAudioInGetAdopt) { + return unimplemented("sceAudioInGetAdopt"); +} + +EXPORT(int, sceAudioInGetStatus) { + return unimplemented("sceAudioInGetStatus"); +} + +EXPORT(int, sceAudioInInput) { + return unimplemented("sceAudioInInput"); +} + +EXPORT(int, sceAudioInOpenPort) { + return unimplemented("sceAudioInOpenPort"); +} + +EXPORT(int, sceAudioInReleasePort) { + return unimplemented("sceAudioInReleasePort"); +} + +BRIDGE_IMPL(sceAudioInGetAdopt) +BRIDGE_IMPL(sceAudioInGetStatus) +BRIDGE_IMPL(sceAudioInInput) +BRIDGE_IMPL(sceAudioInOpenPort) +BRIDGE_IMPL(sceAudioInReleasePort) diff --git a/src/emulator/modules/SceAudiodec/CMakeLists.txt b/src/emulator/modules/SceAudiodec/CMakeLists.txt new file mode 100644 index 000000000..7b9ad2e8e --- /dev/null +++ b/src/emulator/modules/SceAudiodec/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAudiodec STATIC include/SceAudiodec/exports.h src/SceAudiodecUser.cpp) +target_include_directories(SceAudiodec PUBLIC include) +target_link_libraries(SceAudiodec PRIVATE module) diff --git a/src/emulator/modules/SceAudiodec/include/SceAudiodec/exports.h b/src/emulator/modules/SceAudiodec/include/SceAudiodec/exports.h new file mode 100644 index 000000000..5e09dd307 --- /dev/null +++ b/src/emulator/modules/SceAudiodec/include/SceAudiodec/exports.h @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAudiodecUser +BRIDGE_DECL(sceAudiodecClearContext) +BRIDGE_DECL(sceAudiodecCreateDecoder) +BRIDGE_DECL(sceAudiodecCreateDecoderExternal) +BRIDGE_DECL(sceAudiodecDecode) +BRIDGE_DECL(sceAudiodecDecodeNFrames) +BRIDGE_DECL(sceAudiodecDecodeNStreams) +BRIDGE_DECL(sceAudiodecDeleteDecoder) +BRIDGE_DECL(sceAudiodecDeleteDecoderExternal) +BRIDGE_DECL(sceAudiodecGetContextSize) +BRIDGE_DECL(sceAudiodecGetInternalError) +BRIDGE_DECL(sceAudiodecInitLibrary) +BRIDGE_DECL(sceAudiodecTermLibrary) diff --git a/src/emulator/modules/SceAudiodec/src/SceAudiodecUser.cpp b/src/emulator/modules/SceAudiodec/src/SceAudiodecUser.cpp new file mode 100644 index 000000000..c377429d6 --- /dev/null +++ b/src/emulator/modules/SceAudiodec/src/SceAudiodecUser.cpp @@ -0,0 +1,79 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAudiodecClearContext) { + return unimplemented("sceAudiodecClearContext"); +} + +EXPORT(int, sceAudiodecCreateDecoder) { + return unimplemented("sceAudiodecCreateDecoder"); +} + +EXPORT(int, sceAudiodecCreateDecoderExternal) { + return unimplemented("sceAudiodecCreateDecoderExternal"); +} + +EXPORT(int, sceAudiodecDecode) { + return unimplemented("sceAudiodecDecode"); +} + +EXPORT(int, sceAudiodecDecodeNFrames) { + return unimplemented("sceAudiodecDecodeNFrames"); +} + +EXPORT(int, sceAudiodecDecodeNStreams) { + return unimplemented("sceAudiodecDecodeNStreams"); +} + +EXPORT(int, sceAudiodecDeleteDecoder) { + return unimplemented("sceAudiodecDeleteDecoder"); +} + +EXPORT(int, sceAudiodecDeleteDecoderExternal) { + return unimplemented("sceAudiodecDeleteDecoderExternal"); +} + +EXPORT(int, sceAudiodecGetContextSize) { + return unimplemented("sceAudiodecGetContextSize"); +} + +EXPORT(int, sceAudiodecGetInternalError) { + return unimplemented("sceAudiodecGetInternalError"); +} + +EXPORT(int, sceAudiodecInitLibrary) { + return unimplemented("sceAudiodecInitLibrary"); +} + +EXPORT(int, sceAudiodecTermLibrary) { + return unimplemented("sceAudiodecTermLibrary"); +} + +BRIDGE_IMPL(sceAudiodecClearContext) +BRIDGE_IMPL(sceAudiodecCreateDecoder) +BRIDGE_IMPL(sceAudiodecCreateDecoderExternal) +BRIDGE_IMPL(sceAudiodecDecode) +BRIDGE_IMPL(sceAudiodecDecodeNFrames) +BRIDGE_IMPL(sceAudiodecDecodeNStreams) +BRIDGE_IMPL(sceAudiodecDeleteDecoder) +BRIDGE_IMPL(sceAudiodecDeleteDecoderExternal) +BRIDGE_IMPL(sceAudiodecGetContextSize) +BRIDGE_IMPL(sceAudiodecGetInternalError) +BRIDGE_IMPL(sceAudiodecInitLibrary) +BRIDGE_IMPL(sceAudiodecTermLibrary) diff --git a/src/emulator/modules/SceAudioenc/CMakeLists.txt b/src/emulator/modules/SceAudioenc/CMakeLists.txt new file mode 100644 index 000000000..044537cff --- /dev/null +++ b/src/emulator/modules/SceAudioenc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAudioenc STATIC include/SceAudioenc/exports.h src/SceAudioencUser.cpp) +target_include_directories(SceAudioenc PUBLIC include) +target_link_libraries(SceAudioenc PRIVATE module) diff --git a/src/emulator/modules/SceAudioenc/include/SceAudioenc/exports.h b/src/emulator/modules/SceAudioenc/include/SceAudioenc/exports.h new file mode 100644 index 000000000..c6d987ed7 --- /dev/null +++ b/src/emulator/modules/SceAudioenc/include/SceAudioenc/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAudioencUser +BRIDGE_DECL(sceAudioencClearContext) +BRIDGE_DECL(sceAudioencCreateEncoder) +BRIDGE_DECL(sceAudioencCreateEncoderExternal) +BRIDGE_DECL(sceAudioencDeleteEncoder) +BRIDGE_DECL(sceAudioencDeleteEncoderExternal) +BRIDGE_DECL(sceAudioencEncode) +BRIDGE_DECL(sceAudioencGetContextSize) +BRIDGE_DECL(sceAudioencGetInternalError) +BRIDGE_DECL(sceAudioencGetOptInfo) +BRIDGE_DECL(sceAudioencInitLibrary) +BRIDGE_DECL(sceAudioencTermLibrary) diff --git a/src/emulator/modules/SceAudioenc/src/SceAudioencUser.cpp b/src/emulator/modules/SceAudioenc/src/SceAudioencUser.cpp new file mode 100644 index 000000000..5a9468dce --- /dev/null +++ b/src/emulator/modules/SceAudioenc/src/SceAudioencUser.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAudioencClearContext) { + return unimplemented("sceAudioencClearContext"); +} + +EXPORT(int, sceAudioencCreateEncoder) { + return unimplemented("sceAudioencCreateEncoder"); +} + +EXPORT(int, sceAudioencCreateEncoderExternal) { + return unimplemented("sceAudioencCreateEncoderExternal"); +} + +EXPORT(int, sceAudioencDeleteEncoder) { + return unimplemented("sceAudioencDeleteEncoder"); +} + +EXPORT(int, sceAudioencDeleteEncoderExternal) { + return unimplemented("sceAudioencDeleteEncoderExternal"); +} + +EXPORT(int, sceAudioencEncode) { + return unimplemented("sceAudioencEncode"); +} + +EXPORT(int, sceAudioencGetContextSize) { + return unimplemented("sceAudioencGetContextSize"); +} + +EXPORT(int, sceAudioencGetInternalError) { + return unimplemented("sceAudioencGetInternalError"); +} + +EXPORT(int, sceAudioencGetOptInfo) { + return unimplemented("sceAudioencGetOptInfo"); +} + +EXPORT(int, sceAudioencInitLibrary) { + return unimplemented("sceAudioencInitLibrary"); +} + +EXPORT(int, sceAudioencTermLibrary) { + return unimplemented("sceAudioencTermLibrary"); +} + +BRIDGE_IMPL(sceAudioencClearContext) +BRIDGE_IMPL(sceAudioencCreateEncoder) +BRIDGE_IMPL(sceAudioencCreateEncoderExternal) +BRIDGE_IMPL(sceAudioencDeleteEncoder) +BRIDGE_IMPL(sceAudioencDeleteEncoderExternal) +BRIDGE_IMPL(sceAudioencEncode) +BRIDGE_IMPL(sceAudioencGetContextSize) +BRIDGE_IMPL(sceAudioencGetInternalError) +BRIDGE_IMPL(sceAudioencGetOptInfo) +BRIDGE_IMPL(sceAudioencInitLibrary) +BRIDGE_IMPL(sceAudioencTermLibrary) diff --git a/src/emulator/modules/SceAvPlayer/CMakeLists.txt b/src/emulator/modules/SceAvPlayer/CMakeLists.txt new file mode 100644 index 000000000..44b3573bb --- /dev/null +++ b/src/emulator/modules/SceAvPlayer/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceAvPlayer STATIC include/SceAvPlayer/exports.h src/SceAvPlayer.cpp) +target_include_directories(SceAvPlayer PUBLIC include) +target_link_libraries(SceAvPlayer PRIVATE module) diff --git a/src/emulator/modules/SceAvPlayer/include/SceAvPlayer/exports.h b/src/emulator/modules/SceAvPlayer/include/SceAvPlayer/exports.h new file mode 100644 index 000000000..2f8e20606 --- /dev/null +++ b/src/emulator/modules/SceAvPlayer/include/SceAvPlayer/exports.h @@ -0,0 +1,42 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceAvPlayer +BRIDGE_DECL(sceAvPlayerAddSource) +BRIDGE_DECL(sceAvPlayerClose) +BRIDGE_DECL(sceAvPlayerCurrentTime) +BRIDGE_DECL(sceAvPlayerDisableStream) +BRIDGE_DECL(sceAvPlayerEnableStream) +BRIDGE_DECL(sceAvPlayerGetAudioData) +BRIDGE_DECL(sceAvPlayerGetStreamInfo) +BRIDGE_DECL(sceAvPlayerGetVideoData) +BRIDGE_DECL(sceAvPlayerGetVideoDataEx) +BRIDGE_DECL(sceAvPlayerInit) +BRIDGE_DECL(sceAvPlayerIsActive) +BRIDGE_DECL(sceAvPlayerJumpToTime) +BRIDGE_DECL(sceAvPlayerPause) +BRIDGE_DECL(sceAvPlayerPostInit) +BRIDGE_DECL(sceAvPlayerResume) +BRIDGE_DECL(sceAvPlayerSetLooping) +BRIDGE_DECL(sceAvPlayerSetTrickSpeed) +BRIDGE_DECL(sceAvPlayerStart) +BRIDGE_DECL(sceAvPlayerStop) +BRIDGE_DECL(sceAvPlayerStreamCount) diff --git a/src/emulator/modules/SceAvPlayer/src/SceAvPlayer.cpp b/src/emulator/modules/SceAvPlayer/src/SceAvPlayer.cpp new file mode 100644 index 000000000..29ab0a5e0 --- /dev/null +++ b/src/emulator/modules/SceAvPlayer/src/SceAvPlayer.cpp @@ -0,0 +1,119 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAvPlayerAddSource) { + return unimplemented("sceAvPlayerAddSource"); +} + +EXPORT(int, sceAvPlayerClose) { + return unimplemented("sceAvPlayerClose"); +} + +EXPORT(int, sceAvPlayerCurrentTime) { + return unimplemented("sceAvPlayerCurrentTime"); +} + +EXPORT(int, sceAvPlayerDisableStream) { + return unimplemented("sceAvPlayerDisableStream"); +} + +EXPORT(int, sceAvPlayerEnableStream) { + return unimplemented("sceAvPlayerEnableStream"); +} + +EXPORT(int, sceAvPlayerGetAudioData) { + return unimplemented("sceAvPlayerGetAudioData"); +} + +EXPORT(int, sceAvPlayerGetStreamInfo) { + return unimplemented("sceAvPlayerGetStreamInfo"); +} + +EXPORT(int, sceAvPlayerGetVideoData) { + return unimplemented("sceAvPlayerGetVideoData"); +} + +EXPORT(int, sceAvPlayerGetVideoDataEx) { + return unimplemented("sceAvPlayerGetVideoDataEx"); +} + +EXPORT(int, sceAvPlayerInit) { + return unimplemented("sceAvPlayerInit"); +} + +EXPORT(int, sceAvPlayerIsActive) { + return unimplemented("sceAvPlayerIsActive"); +} + +EXPORT(int, sceAvPlayerJumpToTime) { + return unimplemented("sceAvPlayerJumpToTime"); +} + +EXPORT(int, sceAvPlayerPause) { + return unimplemented("sceAvPlayerPause"); +} + +EXPORT(int, sceAvPlayerPostInit) { + return unimplemented("sceAvPlayerPostInit"); +} + +EXPORT(int, sceAvPlayerResume) { + return unimplemented("sceAvPlayerResume"); +} + +EXPORT(int, sceAvPlayerSetLooping) { + return unimplemented("sceAvPlayerSetLooping"); +} + +EXPORT(int, sceAvPlayerSetTrickSpeed) { + return unimplemented("sceAvPlayerSetTrickSpeed"); +} + +EXPORT(int, sceAvPlayerStart) { + return unimplemented("sceAvPlayerStart"); +} + +EXPORT(int, sceAvPlayerStop) { + return unimplemented("sceAvPlayerStop"); +} + +EXPORT(int, sceAvPlayerStreamCount) { + return unimplemented("sceAvPlayerStreamCount"); +} + +BRIDGE_IMPL(sceAvPlayerAddSource) +BRIDGE_IMPL(sceAvPlayerClose) +BRIDGE_IMPL(sceAvPlayerCurrentTime) +BRIDGE_IMPL(sceAvPlayerDisableStream) +BRIDGE_IMPL(sceAvPlayerEnableStream) +BRIDGE_IMPL(sceAvPlayerGetAudioData) +BRIDGE_IMPL(sceAvPlayerGetStreamInfo) +BRIDGE_IMPL(sceAvPlayerGetVideoData) +BRIDGE_IMPL(sceAvPlayerGetVideoDataEx) +BRIDGE_IMPL(sceAvPlayerInit) +BRIDGE_IMPL(sceAvPlayerIsActive) +BRIDGE_IMPL(sceAvPlayerJumpToTime) +BRIDGE_IMPL(sceAvPlayerPause) +BRIDGE_IMPL(sceAvPlayerPostInit) +BRIDGE_IMPL(sceAvPlayerResume) +BRIDGE_IMPL(sceAvPlayerSetLooping) +BRIDGE_IMPL(sceAvPlayerSetTrickSpeed) +BRIDGE_IMPL(sceAvPlayerStart) +BRIDGE_IMPL(sceAvPlayerStop) +BRIDGE_IMPL(sceAvPlayerStreamCount) diff --git a/src/emulator/modules/SceBt/CMakeLists.txt b/src/emulator/modules/SceBt/CMakeLists.txt new file mode 100644 index 000000000..0ebd49349 --- /dev/null +++ b/src/emulator/modules/SceBt/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceBt STATIC include/SceBt/exports.h src/SceBt.cpp) +target_include_directories(SceBt PUBLIC include) +target_link_libraries(SceBt PRIVATE module) diff --git a/src/emulator/modules/SceBt/include/SceBt/exports.h b/src/emulator/modules/SceBt/include/SceBt/exports.h new file mode 100644 index 000000000..f27e77504 --- /dev/null +++ b/src/emulator/modules/SceBt/include/SceBt/exports.h @@ -0,0 +1,68 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceBt +BRIDGE_DECL(sceBtAvrcpReadVolume) +BRIDGE_DECL(sceBtAvrcpSendButton) +BRIDGE_DECL(sceBtAvrcpSendVolume) +BRIDGE_DECL(sceBtAvrcpSetPlayStatus) +BRIDGE_DECL(sceBtAvrcpSetTitle) +BRIDGE_DECL(sceBtDeleteRegisteredInfo) +BRIDGE_DECL(sceBtFreqAudio) +BRIDGE_DECL(sceBtGetConfiguration) +BRIDGE_DECL(sceBtGetConnectingInfo) +BRIDGE_DECL(sceBtGetDeviceName) +BRIDGE_DECL(sceBtGetInfoForTest) +BRIDGE_DECL(sceBtGetLastError) +BRIDGE_DECL(sceBtGetRegisteredInfo) +BRIDGE_DECL(sceBtGetStatusForTest) +BRIDGE_DECL(sceBtGetVidPid) +BRIDGE_DECL(sceBtHfpGetCurrentPhoneNumber) +BRIDGE_DECL(sceBtHfpRequest) +BRIDGE_DECL(sceBtHidGetReportDescriptor) +BRIDGE_DECL(sceBtHidTransfer) +BRIDGE_DECL(sceBtPairingOOB) +BRIDGE_DECL(sceBtPushBip) +BRIDGE_DECL(sceBtPushOpp) +BRIDGE_DECL(sceBtReadEvent) +BRIDGE_DECL(sceBtRecvAudio) +BRIDGE_DECL(sceBtRecvBip) +BRIDGE_DECL(sceBtRecvOpp) +BRIDGE_DECL(sceBtRecvSpp) +BRIDGE_DECL(sceBtRegisterCallback) +BRIDGE_DECL(sceBtReplyPinCode) +BRIDGE_DECL(sceBtReplyUserConfirmation) +BRIDGE_DECL(sceBtSendAudio) +BRIDGE_DECL(sceBtSendL2capEchoRequestForTest) +BRIDGE_DECL(sceBtSendSpp) +BRIDGE_DECL(sceBtSetConfiguration) +BRIDGE_DECL(sceBtSetContentProtection) +BRIDGE_DECL(sceBtSetInquiryResultForTest) +BRIDGE_DECL(sceBtSetInquiryScan) +BRIDGE_DECL(sceBtSetL2capEchoResponseBufferForTest) +BRIDGE_DECL(sceBtSetStatusForTest) +BRIDGE_DECL(sceBtStartAudio) +BRIDGE_DECL(sceBtStartConnect) +BRIDGE_DECL(sceBtStartDisconnect) +BRIDGE_DECL(sceBtStartInquiry) +BRIDGE_DECL(sceBtStopAudio) +BRIDGE_DECL(sceBtStopInquiry) +BRIDGE_DECL(sceBtUnregisterCallback) diff --git a/src/emulator/modules/SceBt/src/SceBt.cpp b/src/emulator/modules/SceBt/src/SceBt.cpp new file mode 100644 index 000000000..a1b869a44 --- /dev/null +++ b/src/emulator/modules/SceBt/src/SceBt.cpp @@ -0,0 +1,249 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceBtAvrcpReadVolume) { + return unimplemented("sceBtAvrcpReadVolume"); +} + +EXPORT(int, sceBtAvrcpSendButton) { + return unimplemented("sceBtAvrcpSendButton"); +} + +EXPORT(int, sceBtAvrcpSendVolume) { + return unimplemented("sceBtAvrcpSendVolume"); +} + +EXPORT(int, sceBtAvrcpSetPlayStatus) { + return unimplemented("sceBtAvrcpSetPlayStatus"); +} + +EXPORT(int, sceBtAvrcpSetTitle) { + return unimplemented("sceBtAvrcpSetTitle"); +} + +EXPORT(int, sceBtDeleteRegisteredInfo) { + return unimplemented("sceBtDeleteRegisteredInfo"); +} + +EXPORT(int, sceBtFreqAudio) { + return unimplemented("sceBtFreqAudio"); +} + +EXPORT(int, sceBtGetConfiguration) { + return unimplemented("sceBtGetConfiguration"); +} + +EXPORT(int, sceBtGetConnectingInfo) { + return unimplemented("sceBtGetConnectingInfo"); +} + +EXPORT(int, sceBtGetDeviceName) { + return unimplemented("sceBtGetDeviceName"); +} + +EXPORT(int, sceBtGetInfoForTest) { + return unimplemented("sceBtGetInfoForTest"); +} + +EXPORT(int, sceBtGetLastError) { + return unimplemented("sceBtGetLastError"); +} + +EXPORT(int, sceBtGetRegisteredInfo) { + return unimplemented("sceBtGetRegisteredInfo"); +} + +EXPORT(int, sceBtGetStatusForTest) { + return unimplemented("sceBtGetStatusForTest"); +} + +EXPORT(int, sceBtGetVidPid) { + return unimplemented("sceBtGetVidPid"); +} + +EXPORT(int, sceBtHfpGetCurrentPhoneNumber) { + return unimplemented("sceBtHfpGetCurrentPhoneNumber"); +} + +EXPORT(int, sceBtHfpRequest) { + return unimplemented("sceBtHfpRequest"); +} + +EXPORT(int, sceBtHidGetReportDescriptor) { + return unimplemented("sceBtHidGetReportDescriptor"); +} + +EXPORT(int, sceBtHidTransfer) { + return unimplemented("sceBtHidTransfer"); +} + +EXPORT(int, sceBtPairingOOB) { + return unimplemented("sceBtPairingOOB"); +} + +EXPORT(int, sceBtPushBip) { + return unimplemented("sceBtPushBip"); +} + +EXPORT(int, sceBtPushOpp) { + return unimplemented("sceBtPushOpp"); +} + +EXPORT(int, sceBtReadEvent) { + return unimplemented("sceBtReadEvent"); +} + +EXPORT(int, sceBtRecvAudio) { + return unimplemented("sceBtRecvAudio"); +} + +EXPORT(int, sceBtRecvBip) { + return unimplemented("sceBtRecvBip"); +} + +EXPORT(int, sceBtRecvOpp) { + return unimplemented("sceBtRecvOpp"); +} + +EXPORT(int, sceBtRecvSpp) { + return unimplemented("sceBtRecvSpp"); +} + +EXPORT(int, sceBtRegisterCallback) { + return unimplemented("sceBtRegisterCallback"); +} + +EXPORT(int, sceBtReplyPinCode) { + return unimplemented("sceBtReplyPinCode"); +} + +EXPORT(int, sceBtReplyUserConfirmation) { + return unimplemented("sceBtReplyUserConfirmation"); +} + +EXPORT(int, sceBtSendAudio) { + return unimplemented("sceBtSendAudio"); +} + +EXPORT(int, sceBtSendL2capEchoRequestForTest) { + return unimplemented("sceBtSendL2capEchoRequestForTest"); +} + +EXPORT(int, sceBtSendSpp) { + return unimplemented("sceBtSendSpp"); +} + +EXPORT(int, sceBtSetConfiguration) { + return unimplemented("sceBtSetConfiguration"); +} + +EXPORT(int, sceBtSetContentProtection) { + return unimplemented("sceBtSetContentProtection"); +} + +EXPORT(int, sceBtSetInquiryResultForTest) { + return unimplemented("sceBtSetInquiryResultForTest"); +} + +EXPORT(int, sceBtSetInquiryScan) { + return unimplemented("sceBtSetInquiryScan"); +} + +EXPORT(int, sceBtSetL2capEchoResponseBufferForTest) { + return unimplemented("sceBtSetL2capEchoResponseBufferForTest"); +} + +EXPORT(int, sceBtSetStatusForTest) { + return unimplemented("sceBtSetStatusForTest"); +} + +EXPORT(int, sceBtStartAudio) { + return unimplemented("sceBtStartAudio"); +} + +EXPORT(int, sceBtStartConnect) { + return unimplemented("sceBtStartConnect"); +} + +EXPORT(int, sceBtStartDisconnect) { + return unimplemented("sceBtStartDisconnect"); +} + +EXPORT(int, sceBtStartInquiry) { + return unimplemented("sceBtStartInquiry"); +} + +EXPORT(int, sceBtStopAudio) { + return unimplemented("sceBtStopAudio"); +} + +EXPORT(int, sceBtStopInquiry) { + return unimplemented("sceBtStopInquiry"); +} + +EXPORT(int, sceBtUnregisterCallback) { + return unimplemented("sceBtUnregisterCallback"); +} + +BRIDGE_IMPL(sceBtAvrcpReadVolume) +BRIDGE_IMPL(sceBtAvrcpSendButton) +BRIDGE_IMPL(sceBtAvrcpSendVolume) +BRIDGE_IMPL(sceBtAvrcpSetPlayStatus) +BRIDGE_IMPL(sceBtAvrcpSetTitle) +BRIDGE_IMPL(sceBtDeleteRegisteredInfo) +BRIDGE_IMPL(sceBtFreqAudio) +BRIDGE_IMPL(sceBtGetConfiguration) +BRIDGE_IMPL(sceBtGetConnectingInfo) +BRIDGE_IMPL(sceBtGetDeviceName) +BRIDGE_IMPL(sceBtGetInfoForTest) +BRIDGE_IMPL(sceBtGetLastError) +BRIDGE_IMPL(sceBtGetRegisteredInfo) +BRIDGE_IMPL(sceBtGetStatusForTest) +BRIDGE_IMPL(sceBtGetVidPid) +BRIDGE_IMPL(sceBtHfpGetCurrentPhoneNumber) +BRIDGE_IMPL(sceBtHfpRequest) +BRIDGE_IMPL(sceBtHidGetReportDescriptor) +BRIDGE_IMPL(sceBtHidTransfer) +BRIDGE_IMPL(sceBtPairingOOB) +BRIDGE_IMPL(sceBtPushBip) +BRIDGE_IMPL(sceBtPushOpp) +BRIDGE_IMPL(sceBtReadEvent) +BRIDGE_IMPL(sceBtRecvAudio) +BRIDGE_IMPL(sceBtRecvBip) +BRIDGE_IMPL(sceBtRecvOpp) +BRIDGE_IMPL(sceBtRecvSpp) +BRIDGE_IMPL(sceBtRegisterCallback) +BRIDGE_IMPL(sceBtReplyPinCode) +BRIDGE_IMPL(sceBtReplyUserConfirmation) +BRIDGE_IMPL(sceBtSendAudio) +BRIDGE_IMPL(sceBtSendL2capEchoRequestForTest) +BRIDGE_IMPL(sceBtSendSpp) +BRIDGE_IMPL(sceBtSetConfiguration) +BRIDGE_IMPL(sceBtSetContentProtection) +BRIDGE_IMPL(sceBtSetInquiryResultForTest) +BRIDGE_IMPL(sceBtSetInquiryScan) +BRIDGE_IMPL(sceBtSetL2capEchoResponseBufferForTest) +BRIDGE_IMPL(sceBtSetStatusForTest) +BRIDGE_IMPL(sceBtStartAudio) +BRIDGE_IMPL(sceBtStartConnect) +BRIDGE_IMPL(sceBtStartDisconnect) +BRIDGE_IMPL(sceBtStartInquiry) +BRIDGE_IMPL(sceBtStopAudio) +BRIDGE_IMPL(sceBtStopInquiry) +BRIDGE_IMPL(sceBtUnregisterCallback) diff --git a/src/emulator/modules/SceCamera/CMakeLists.txt b/src/emulator/modules/SceCamera/CMakeLists.txt new file mode 100644 index 000000000..197991de1 --- /dev/null +++ b/src/emulator/modules/SceCamera/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCamera STATIC include/SceCamera/exports.h src/SceCamera.cpp) +target_include_directories(SceCamera PUBLIC include) +target_link_libraries(SceCamera PRIVATE module) diff --git a/src/emulator/modules/SceCamera/include/SceCamera/exports.h b/src/emulator/modules/SceCamera/include/SceCamera/exports.h new file mode 100644 index 000000000..4e2c67d1f --- /dev/null +++ b/src/emulator/modules/SceCamera/include/SceCamera/exports.h @@ -0,0 +1,61 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCamera +BRIDGE_DECL(sceCameraClose) +BRIDGE_DECL(sceCameraGetAntiFlicker) +BRIDGE_DECL(sceCameraGetAutoControlHold) +BRIDGE_DECL(sceCameraGetBacklight) +BRIDGE_DECL(sceCameraGetBrightness) +BRIDGE_DECL(sceCameraGetContrast) +BRIDGE_DECL(sceCameraGetDeviceLocation) +BRIDGE_DECL(sceCameraGetEV) +BRIDGE_DECL(sceCameraGetEffect) +BRIDGE_DECL(sceCameraGetExposureCeiling) +BRIDGE_DECL(sceCameraGetGain) +BRIDGE_DECL(sceCameraGetISO) +BRIDGE_DECL(sceCameraGetNightmode) +BRIDGE_DECL(sceCameraGetReverse) +BRIDGE_DECL(sceCameraGetSaturation) +BRIDGE_DECL(sceCameraGetSharpness) +BRIDGE_DECL(sceCameraGetWhiteBalance) +BRIDGE_DECL(sceCameraGetZoom) +BRIDGE_DECL(sceCameraIsActive) +BRIDGE_DECL(sceCameraOpen) +BRIDGE_DECL(sceCameraRead) +BRIDGE_DECL(sceCameraSetAntiFlicker) +BRIDGE_DECL(sceCameraSetAutoControlHold) +BRIDGE_DECL(sceCameraSetBacklight) +BRIDGE_DECL(sceCameraSetBrightness) +BRIDGE_DECL(sceCameraSetContrast) +BRIDGE_DECL(sceCameraSetEV) +BRIDGE_DECL(sceCameraSetEffect) +BRIDGE_DECL(sceCameraSetExposureCeiling) +BRIDGE_DECL(sceCameraSetGain) +BRIDGE_DECL(sceCameraSetISO) +BRIDGE_DECL(sceCameraSetNightmode) +BRIDGE_DECL(sceCameraSetReverse) +BRIDGE_DECL(sceCameraSetSaturation) +BRIDGE_DECL(sceCameraSetSharpness) +BRIDGE_DECL(sceCameraSetWhiteBalance) +BRIDGE_DECL(sceCameraSetZoom) +BRIDGE_DECL(sceCameraStart) +BRIDGE_DECL(sceCameraStop) diff --git a/src/emulator/modules/SceCamera/src/SceCamera.cpp b/src/emulator/modules/SceCamera/src/SceCamera.cpp new file mode 100644 index 000000000..1d73a8af4 --- /dev/null +++ b/src/emulator/modules/SceCamera/src/SceCamera.cpp @@ -0,0 +1,214 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCameraClose) { + return unimplemented("sceCameraClose"); +} + +EXPORT(int, sceCameraGetAntiFlicker) { + return unimplemented("sceCameraGetAntiFlicker"); +} + +EXPORT(int, sceCameraGetAutoControlHold) { + return unimplemented("sceCameraGetAutoControlHold"); +} + +EXPORT(int, sceCameraGetBacklight) { + return unimplemented("sceCameraGetBacklight"); +} + +EXPORT(int, sceCameraGetBrightness) { + return unimplemented("sceCameraGetBrightness"); +} + +EXPORT(int, sceCameraGetContrast) { + return unimplemented("sceCameraGetContrast"); +} + +EXPORT(int, sceCameraGetDeviceLocation) { + return unimplemented("sceCameraGetDeviceLocation"); +} + +EXPORT(int, sceCameraGetEV) { + return unimplemented("sceCameraGetEV"); +} + +EXPORT(int, sceCameraGetEffect) { + return unimplemented("sceCameraGetEffect"); +} + +EXPORT(int, sceCameraGetExposureCeiling) { + return unimplemented("sceCameraGetExposureCeiling"); +} + +EXPORT(int, sceCameraGetGain) { + return unimplemented("sceCameraGetGain"); +} + +EXPORT(int, sceCameraGetISO) { + return unimplemented("sceCameraGetISO"); +} + +EXPORT(int, sceCameraGetNightmode) { + return unimplemented("sceCameraGetNightmode"); +} + +EXPORT(int, sceCameraGetReverse) { + return unimplemented("sceCameraGetReverse"); +} + +EXPORT(int, sceCameraGetSaturation) { + return unimplemented("sceCameraGetSaturation"); +} + +EXPORT(int, sceCameraGetSharpness) { + return unimplemented("sceCameraGetSharpness"); +} + +EXPORT(int, sceCameraGetWhiteBalance) { + return unimplemented("sceCameraGetWhiteBalance"); +} + +EXPORT(int, sceCameraGetZoom) { + return unimplemented("sceCameraGetZoom"); +} + +EXPORT(int, sceCameraIsActive) { + return unimplemented("sceCameraIsActive"); +} + +EXPORT(int, sceCameraOpen) { + return unimplemented("sceCameraOpen"); +} + +EXPORT(int, sceCameraRead) { + return unimplemented("sceCameraRead"); +} + +EXPORT(int, sceCameraSetAntiFlicker) { + return unimplemented("sceCameraSetAntiFlicker"); +} + +EXPORT(int, sceCameraSetAutoControlHold) { + return unimplemented("sceCameraSetAutoControlHold"); +} + +EXPORT(int, sceCameraSetBacklight) { + return unimplemented("sceCameraSetBacklight"); +} + +EXPORT(int, sceCameraSetBrightness) { + return unimplemented("sceCameraSetBrightness"); +} + +EXPORT(int, sceCameraSetContrast) { + return unimplemented("sceCameraSetContrast"); +} + +EXPORT(int, sceCameraSetEV) { + return unimplemented("sceCameraSetEV"); +} + +EXPORT(int, sceCameraSetEffect) { + return unimplemented("sceCameraSetEffect"); +} + +EXPORT(int, sceCameraSetExposureCeiling) { + return unimplemented("sceCameraSetExposureCeiling"); +} + +EXPORT(int, sceCameraSetGain) { + return unimplemented("sceCameraSetGain"); +} + +EXPORT(int, sceCameraSetISO) { + return unimplemented("sceCameraSetISO"); +} + +EXPORT(int, sceCameraSetNightmode) { + return unimplemented("sceCameraSetNightmode"); +} + +EXPORT(int, sceCameraSetReverse) { + return unimplemented("sceCameraSetReverse"); +} + +EXPORT(int, sceCameraSetSaturation) { + return unimplemented("sceCameraSetSaturation"); +} + +EXPORT(int, sceCameraSetSharpness) { + return unimplemented("sceCameraSetSharpness"); +} + +EXPORT(int, sceCameraSetWhiteBalance) { + return unimplemented("sceCameraSetWhiteBalance"); +} + +EXPORT(int, sceCameraSetZoom) { + return unimplemented("sceCameraSetZoom"); +} + +EXPORT(int, sceCameraStart) { + return unimplemented("sceCameraStart"); +} + +EXPORT(int, sceCameraStop) { + return unimplemented("sceCameraStop"); +} + +BRIDGE_IMPL(sceCameraClose) +BRIDGE_IMPL(sceCameraGetAntiFlicker) +BRIDGE_IMPL(sceCameraGetAutoControlHold) +BRIDGE_IMPL(sceCameraGetBacklight) +BRIDGE_IMPL(sceCameraGetBrightness) +BRIDGE_IMPL(sceCameraGetContrast) +BRIDGE_IMPL(sceCameraGetDeviceLocation) +BRIDGE_IMPL(sceCameraGetEV) +BRIDGE_IMPL(sceCameraGetEffect) +BRIDGE_IMPL(sceCameraGetExposureCeiling) +BRIDGE_IMPL(sceCameraGetGain) +BRIDGE_IMPL(sceCameraGetISO) +BRIDGE_IMPL(sceCameraGetNightmode) +BRIDGE_IMPL(sceCameraGetReverse) +BRIDGE_IMPL(sceCameraGetSaturation) +BRIDGE_IMPL(sceCameraGetSharpness) +BRIDGE_IMPL(sceCameraGetWhiteBalance) +BRIDGE_IMPL(sceCameraGetZoom) +BRIDGE_IMPL(sceCameraIsActive) +BRIDGE_IMPL(sceCameraOpen) +BRIDGE_IMPL(sceCameraRead) +BRIDGE_IMPL(sceCameraSetAntiFlicker) +BRIDGE_IMPL(sceCameraSetAutoControlHold) +BRIDGE_IMPL(sceCameraSetBacklight) +BRIDGE_IMPL(sceCameraSetBrightness) +BRIDGE_IMPL(sceCameraSetContrast) +BRIDGE_IMPL(sceCameraSetEV) +BRIDGE_IMPL(sceCameraSetEffect) +BRIDGE_IMPL(sceCameraSetExposureCeiling) +BRIDGE_IMPL(sceCameraSetGain) +BRIDGE_IMPL(sceCameraSetISO) +BRIDGE_IMPL(sceCameraSetNightmode) +BRIDGE_IMPL(sceCameraSetReverse) +BRIDGE_IMPL(sceCameraSetSaturation) +BRIDGE_IMPL(sceCameraSetSharpness) +BRIDGE_IMPL(sceCameraSetWhiteBalance) +BRIDGE_IMPL(sceCameraSetZoom) +BRIDGE_IMPL(sceCameraStart) +BRIDGE_IMPL(sceCameraStop) diff --git a/src/emulator/modules/SceClipboard/CMakeLists.txt b/src/emulator/modules/SceClipboard/CMakeLists.txt new file mode 100644 index 000000000..b141839d0 --- /dev/null +++ b/src/emulator/modules/SceClipboard/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceClipboard STATIC include/SceClipboard/exports.h src/SceClipboard.cpp) +target_include_directories(SceClipboard PUBLIC include) +target_link_libraries(SceClipboard PRIVATE module) diff --git a/src/emulator/modules/SceClipboard/include/SceClipboard/exports.h b/src/emulator/modules/SceClipboard/include/SceClipboard/exports.h new file mode 100644 index 000000000..569943494 --- /dev/null +++ b/src/emulator/modules/SceClipboard/include/SceClipboard/exports.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceClipboard +BRIDGE_DECL(sceClipboardGetText) +BRIDGE_DECL(sceClipboardSetText) diff --git a/src/emulator/modules/SceClipboard/src/SceClipboard.cpp b/src/emulator/modules/SceClipboard/src/SceClipboard.cpp new file mode 100644 index 000000000..7d9ef1522 --- /dev/null +++ b/src/emulator/modules/SceClipboard/src/SceClipboard.cpp @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceClipboardGetText) { + return unimplemented("sceClipboardGetText"); +} + +EXPORT(int, sceClipboardSetText) { + return unimplemented("sceClipboardSetText"); +} + +BRIDGE_IMPL(sceClipboardGetText) +BRIDGE_IMPL(sceClipboardSetText) diff --git a/src/emulator/modules/SceCodecEngine/CMakeLists.txt b/src/emulator/modules/SceCodecEngine/CMakeLists.txt new file mode 100644 index 000000000..865ec84ea --- /dev/null +++ b/src/emulator/modules/SceCodecEngine/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCodecEngine STATIC include/SceCodecEngine/exports.h src/SceCodecEngineUser.cpp) +target_include_directories(SceCodecEngine PUBLIC include) +target_link_libraries(SceCodecEngine PRIVATE module) diff --git a/src/emulator/modules/SceCodecEngine/include/SceCodecEngine/exports.h b/src/emulator/modules/SceCodecEngine/include/SceCodecEngine/exports.h new file mode 100644 index 000000000..fb46fcddc --- /dev/null +++ b/src/emulator/modules/SceCodecEngine/include/SceCodecEngine/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCodecEngineUser +BRIDGE_DECL(sceCodecEngineAllocMemoryFromUnmapMemBlock) +BRIDGE_DECL(sceCodecEngineCloseUnmapMemBlock) +BRIDGE_DECL(sceCodecEngineFreeMemoryFromUnmapMemBlock) +BRIDGE_DECL(sceCodecEngineOpenUnmapMemBlock) diff --git a/src/emulator/modules/SceCodecEngine/src/SceCodecEngineUser.cpp b/src/emulator/modules/SceCodecEngine/src/SceCodecEngineUser.cpp new file mode 100644 index 000000000..da00b35c3 --- /dev/null +++ b/src/emulator/modules/SceCodecEngine/src/SceCodecEngineUser.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCodecEngineAllocMemoryFromUnmapMemBlock) { + return unimplemented("sceCodecEngineAllocMemoryFromUnmapMemBlock"); +} + +EXPORT(int, sceCodecEngineCloseUnmapMemBlock) { + return unimplemented("sceCodecEngineCloseUnmapMemBlock"); +} + +EXPORT(int, sceCodecEngineFreeMemoryFromUnmapMemBlock) { + return unimplemented("sceCodecEngineFreeMemoryFromUnmapMemBlock"); +} + +EXPORT(int, sceCodecEngineOpenUnmapMemBlock) { + return unimplemented("sceCodecEngineOpenUnmapMemBlock"); +} + +BRIDGE_IMPL(sceCodecEngineAllocMemoryFromUnmapMemBlock) +BRIDGE_IMPL(sceCodecEngineCloseUnmapMemBlock) +BRIDGE_IMPL(sceCodecEngineFreeMemoryFromUnmapMemBlock) +BRIDGE_IMPL(sceCodecEngineOpenUnmapMemBlock) diff --git a/src/emulator/modules/SceCodecEnginePerf/CMakeLists.txt b/src/emulator/modules/SceCodecEnginePerf/CMakeLists.txt new file mode 100644 index 000000000..e1489e6e3 --- /dev/null +++ b/src/emulator/modules/SceCodecEnginePerf/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCodecEnginePerf STATIC include/SceCodecEnginePerf/exports.h src/SceCodecEnginePerf.cpp) +target_include_directories(SceCodecEnginePerf PUBLIC include) +target_link_libraries(SceCodecEnginePerf PRIVATE module) diff --git a/src/emulator/modules/SceCodecEnginePerf/include/SceCodecEnginePerf/exports.h b/src/emulator/modules/SceCodecEnginePerf/include/SceCodecEnginePerf/exports.h new file mode 100644 index 000000000..3f5dd54d6 --- /dev/null +++ b/src/emulator/modules/SceCodecEnginePerf/include/SceCodecEnginePerf/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCodecEnginePerf +BRIDGE_DECL(sceCodecEnginePmonGetProcessorLoad) +BRIDGE_DECL(sceCodecEnginePmonReset) +BRIDGE_DECL(sceCodecEnginePmonStart) +BRIDGE_DECL(sceCodecEnginePmonStop) diff --git a/src/emulator/modules/SceCodecEnginePerf/src/SceCodecEnginePerf.cpp b/src/emulator/modules/SceCodecEnginePerf/src/SceCodecEnginePerf.cpp new file mode 100644 index 000000000..c4a2ee93d --- /dev/null +++ b/src/emulator/modules/SceCodecEnginePerf/src/SceCodecEnginePerf.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCodecEnginePmonGetProcessorLoad) { + return unimplemented("sceCodecEnginePmonGetProcessorLoad"); +} + +EXPORT(int, sceCodecEnginePmonReset) { + return unimplemented("sceCodecEnginePmonReset"); +} + +EXPORT(int, sceCodecEnginePmonStart) { + return unimplemented("sceCodecEnginePmonStart"); +} + +EXPORT(int, sceCodecEnginePmonStop) { + return unimplemented("sceCodecEnginePmonStop"); +} + +BRIDGE_IMPL(sceCodecEnginePmonGetProcessorLoad) +BRIDGE_IMPL(sceCodecEnginePmonReset) +BRIDGE_IMPL(sceCodecEnginePmonStart) +BRIDGE_IMPL(sceCodecEnginePmonStop) diff --git a/src/emulator/modules/SceCommonDialog/CMakeLists.txt b/src/emulator/modules/SceCommonDialog/CMakeLists.txt new file mode 100644 index 000000000..b1e1f650f --- /dev/null +++ b/src/emulator/modules/SceCommonDialog/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCommonDialog STATIC include/SceCommonDialog/exports.h src/SceCommonDialog.cpp) +target_include_directories(SceCommonDialog PUBLIC include) +target_link_libraries(SceCommonDialog PRIVATE module) diff --git a/src/emulator/modules/SceCommonDialog/include/SceCommonDialog/exports.h b/src/emulator/modules/SceCommonDialog/include/SceCommonDialog/exports.h new file mode 100644 index 000000000..8684c6fa4 --- /dev/null +++ b/src/emulator/modules/SceCommonDialog/include/SceCommonDialog/exports.h @@ -0,0 +1,121 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCommonDialog +BRIDGE_DECL(sceCameraImportDialogAbort) +BRIDGE_DECL(sceCameraImportDialogGetResult) +BRIDGE_DECL(sceCameraImportDialogGetStatus) +BRIDGE_DECL(sceCameraImportDialogInit) +BRIDGE_DECL(sceCameraImportDialogTerm) +BRIDGE_DECL(sceCommonDialogGetWorkerThreadId) +BRIDGE_DECL(sceCommonDialogIsRunning) +BRIDGE_DECL(sceCommonDialogSetConfigParam) +BRIDGE_DECL(sceCommonDialogUpdate) +BRIDGE_DECL(sceCrossControllerDialogAbort) +BRIDGE_DECL(sceCrossControllerDialogGetResult) +BRIDGE_DECL(sceCrossControllerDialogGetStatus) +BRIDGE_DECL(sceCrossControllerDialogInit) +BRIDGE_DECL(sceCrossControllerDialogTerm) +BRIDGE_DECL(sceImeDialogAbort) +BRIDGE_DECL(sceImeDialogGetResult) +BRIDGE_DECL(sceImeDialogGetStatus) +BRIDGE_DECL(sceImeDialogInit) +BRIDGE_DECL(sceImeDialogTerm) +BRIDGE_DECL(sceMsgDialogAbort) +BRIDGE_DECL(sceMsgDialogClose) +BRIDGE_DECL(sceMsgDialogGetResult) +BRIDGE_DECL(sceMsgDialogGetStatus) +BRIDGE_DECL(sceMsgDialogInit) +BRIDGE_DECL(sceMsgDialogProgressBarInc) +BRIDGE_DECL(sceMsgDialogProgressBarSetMsg) +BRIDGE_DECL(sceMsgDialogProgressBarSetValue) +BRIDGE_DECL(sceMsgDialogTerm) +BRIDGE_DECL(sceNetCheckDialogAbort) +BRIDGE_DECL(sceNetCheckDialogGetPS3ConnectInfo) +BRIDGE_DECL(sceNetCheckDialogGetResult) +BRIDGE_DECL(sceNetCheckDialogGetStatus) +BRIDGE_DECL(sceNetCheckDialogInit) +BRIDGE_DECL(sceNetCheckDialogTerm) +BRIDGE_DECL(sceNpFriendListDialogAbort) +BRIDGE_DECL(sceNpFriendListDialogGetResult) +BRIDGE_DECL(sceNpFriendListDialogGetStatus) +BRIDGE_DECL(sceNpFriendListDialogInit) +BRIDGE_DECL(sceNpFriendListDialogTerm) +BRIDGE_DECL(sceNpMessageDialogAbort) +BRIDGE_DECL(sceNpMessageDialogGetResult) +BRIDGE_DECL(sceNpMessageDialogGetStatus) +BRIDGE_DECL(sceNpMessageDialogInit) +BRIDGE_DECL(sceNpMessageDialogTerm) +BRIDGE_DECL(sceNpProfileDialogAbort) +BRIDGE_DECL(sceNpProfileDialogGetResult) +BRIDGE_DECL(sceNpProfileDialogGetStatus) +BRIDGE_DECL(sceNpProfileDialogInit) +BRIDGE_DECL(sceNpProfileDialogTerm) +BRIDGE_DECL(sceNpSnsFacebookDialogAbort) +BRIDGE_DECL(sceNpSnsFacebookDialogGetResult) +BRIDGE_DECL(sceNpSnsFacebookDialogGetResultLongToken) +BRIDGE_DECL(sceNpSnsFacebookDialogGetStatus) +BRIDGE_DECL(sceNpSnsFacebookDialogInit) +BRIDGE_DECL(sceNpSnsFacebookDialogTerm) +BRIDGE_DECL(sceNpTrophySetupDialogAbort) +BRIDGE_DECL(sceNpTrophySetupDialogGetResult) +BRIDGE_DECL(sceNpTrophySetupDialogGetStatus) +BRIDGE_DECL(sceNpTrophySetupDialogInit) +BRIDGE_DECL(sceNpTrophySetupDialogTerm) +BRIDGE_DECL(scePhotoImportDialogAbort) +BRIDGE_DECL(scePhotoImportDialogGetResult) +BRIDGE_DECL(scePhotoImportDialogGetStatus) +BRIDGE_DECL(scePhotoImportDialogInit) +BRIDGE_DECL(scePhotoImportDialogTerm) +BRIDGE_DECL(scePhotoReviewDialogAbort) +BRIDGE_DECL(scePhotoReviewDialogGetResult) +BRIDGE_DECL(scePhotoReviewDialogGetStatus) +BRIDGE_DECL(scePhotoReviewDialogInit) +BRIDGE_DECL(scePhotoReviewDialogTerm) +BRIDGE_DECL(scePspSaveDataDialogContinue) +BRIDGE_DECL(scePspSaveDataDialogGetResult) +BRIDGE_DECL(scePspSaveDataDialogInit) +BRIDGE_DECL(scePspSaveDataDialogTerm) +BRIDGE_DECL(sceSaveDataDialogAbort) +BRIDGE_DECL(sceSaveDataDialogContinue) +BRIDGE_DECL(sceSaveDataDialogFinish) +BRIDGE_DECL(sceSaveDataDialogGetResult) +BRIDGE_DECL(sceSaveDataDialogGetStatus) +BRIDGE_DECL(sceSaveDataDialogGetSubStatus) +BRIDGE_DECL(sceSaveDataDialogInit) +BRIDGE_DECL(sceSaveDataDialogProgressBarInc) +BRIDGE_DECL(sceSaveDataDialogProgressBarSetValue) +BRIDGE_DECL(sceSaveDataDialogSubClose) +BRIDGE_DECL(sceSaveDataDialogTerm) +BRIDGE_DECL(sceStoreCheckoutDialogAbort) +BRIDGE_DECL(sceStoreCheckoutDialogGetResult) +BRIDGE_DECL(sceStoreCheckoutDialogGetStatus) +BRIDGE_DECL(sceStoreCheckoutDialogInit) +BRIDGE_DECL(sceStoreCheckoutDialogTerm) +BRIDGE_DECL(sceTwDialogAbort) +BRIDGE_DECL(sceTwDialogGetResult) +BRIDGE_DECL(sceTwDialogGetStatus) +BRIDGE_DECL(sceTwDialogInit) +BRIDGE_DECL(sceTwDialogTerm) +BRIDGE_DECL(sceTwLoginDialogAbort) +BRIDGE_DECL(sceTwLoginDialogGetResult) +BRIDGE_DECL(sceTwLoginDialogGetStatus) +BRIDGE_DECL(sceTwLoginDialogTerm) diff --git a/src/emulator/modules/SceCommonDialog/src/SceCommonDialog.cpp b/src/emulator/modules/SceCommonDialog/src/SceCommonDialog.cpp new file mode 100644 index 000000000..2cc644298 --- /dev/null +++ b/src/emulator/modules/SceCommonDialog/src/SceCommonDialog.cpp @@ -0,0 +1,514 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCameraImportDialogAbort) { + return unimplemented("sceCameraImportDialogAbort"); +} + +EXPORT(int, sceCameraImportDialogGetResult) { + return unimplemented("sceCameraImportDialogGetResult"); +} + +EXPORT(int, sceCameraImportDialogGetStatus) { + return unimplemented("sceCameraImportDialogGetStatus"); +} + +EXPORT(int, sceCameraImportDialogInit) { + return unimplemented("sceCameraImportDialogInit"); +} + +EXPORT(int, sceCameraImportDialogTerm) { + return unimplemented("sceCameraImportDialogTerm"); +} + +EXPORT(int, sceCommonDialogGetWorkerThreadId) { + return unimplemented("sceCommonDialogGetWorkerThreadId"); +} + +EXPORT(int, sceCommonDialogIsRunning) { + return unimplemented("sceCommonDialogIsRunning"); +} + +EXPORT(int, sceCommonDialogSetConfigParam) { + return unimplemented("sceCommonDialogSetConfigParam"); +} + +EXPORT(int, sceCommonDialogUpdate) { + return unimplemented("sceCommonDialogUpdate"); +} + +EXPORT(int, sceCrossControllerDialogAbort) { + return unimplemented("sceCrossControllerDialogAbort"); +} + +EXPORT(int, sceCrossControllerDialogGetResult) { + return unimplemented("sceCrossControllerDialogGetResult"); +} + +EXPORT(int, sceCrossControllerDialogGetStatus) { + return unimplemented("sceCrossControllerDialogGetStatus"); +} + +EXPORT(int, sceCrossControllerDialogInit) { + return unimplemented("sceCrossControllerDialogInit"); +} + +EXPORT(int, sceCrossControllerDialogTerm) { + return unimplemented("sceCrossControllerDialogTerm"); +} + +EXPORT(int, sceImeDialogAbort) { + return unimplemented("sceImeDialogAbort"); +} + +EXPORT(int, sceImeDialogGetResult) { + return unimplemented("sceImeDialogGetResult"); +} + +EXPORT(int, sceImeDialogGetStatus) { + return unimplemented("sceImeDialogGetStatus"); +} + +EXPORT(int, sceImeDialogInit) { + return unimplemented("sceImeDialogInit"); +} + +EXPORT(int, sceImeDialogTerm) { + return unimplemented("sceImeDialogTerm"); +} + +EXPORT(int, sceMsgDialogAbort) { + return unimplemented("sceMsgDialogAbort"); +} + +EXPORT(int, sceMsgDialogClose) { + return unimplemented("sceMsgDialogClose"); +} + +EXPORT(int, sceMsgDialogGetResult) { + return unimplemented("sceMsgDialogGetResult"); +} + +EXPORT(int, sceMsgDialogGetStatus) { + return unimplemented("sceMsgDialogGetStatus"); +} + +EXPORT(int, sceMsgDialogInit) { + return unimplemented("sceMsgDialogInit"); +} + +EXPORT(int, sceMsgDialogProgressBarInc) { + return unimplemented("sceMsgDialogProgressBarInc"); +} + +EXPORT(int, sceMsgDialogProgressBarSetMsg) { + return unimplemented("sceMsgDialogProgressBarSetMsg"); +} + +EXPORT(int, sceMsgDialogProgressBarSetValue) { + return unimplemented("sceMsgDialogProgressBarSetValue"); +} + +EXPORT(int, sceMsgDialogTerm) { + return unimplemented("sceMsgDialogTerm"); +} + +EXPORT(int, sceNetCheckDialogAbort) { + return unimplemented("sceNetCheckDialogAbort"); +} + +EXPORT(int, sceNetCheckDialogGetPS3ConnectInfo) { + return unimplemented("sceNetCheckDialogGetPS3ConnectInfo"); +} + +EXPORT(int, sceNetCheckDialogGetResult) { + return unimplemented("sceNetCheckDialogGetResult"); +} + +EXPORT(int, sceNetCheckDialogGetStatus) { + return unimplemented("sceNetCheckDialogGetStatus"); +} + +EXPORT(int, sceNetCheckDialogInit) { + return unimplemented("sceNetCheckDialogInit"); +} + +EXPORT(int, sceNetCheckDialogTerm) { + return unimplemented("sceNetCheckDialogTerm"); +} + +EXPORT(int, sceNpFriendListDialogAbort) { + return unimplemented("sceNpFriendListDialogAbort"); +} + +EXPORT(int, sceNpFriendListDialogGetResult) { + return unimplemented("sceNpFriendListDialogGetResult"); +} + +EXPORT(int, sceNpFriendListDialogGetStatus) { + return unimplemented("sceNpFriendListDialogGetStatus"); +} + +EXPORT(int, sceNpFriendListDialogInit) { + return unimplemented("sceNpFriendListDialogInit"); +} + +EXPORT(int, sceNpFriendListDialogTerm) { + return unimplemented("sceNpFriendListDialogTerm"); +} + +EXPORT(int, sceNpMessageDialogAbort) { + return unimplemented("sceNpMessageDialogAbort"); +} + +EXPORT(int, sceNpMessageDialogGetResult) { + return unimplemented("sceNpMessageDialogGetResult"); +} + +EXPORT(int, sceNpMessageDialogGetStatus) { + return unimplemented("sceNpMessageDialogGetStatus"); +} + +EXPORT(int, sceNpMessageDialogInit) { + return unimplemented("sceNpMessageDialogInit"); +} + +EXPORT(int, sceNpMessageDialogTerm) { + return unimplemented("sceNpMessageDialogTerm"); +} + +EXPORT(int, sceNpProfileDialogAbort) { + return unimplemented("sceNpProfileDialogAbort"); +} + +EXPORT(int, sceNpProfileDialogGetResult) { + return unimplemented("sceNpProfileDialogGetResult"); +} + +EXPORT(int, sceNpProfileDialogGetStatus) { + return unimplemented("sceNpProfileDialogGetStatus"); +} + +EXPORT(int, sceNpProfileDialogInit) { + return unimplemented("sceNpProfileDialogInit"); +} + +EXPORT(int, sceNpProfileDialogTerm) { + return unimplemented("sceNpProfileDialogTerm"); +} + +EXPORT(int, sceNpSnsFacebookDialogAbort) { + return unimplemented("sceNpSnsFacebookDialogAbort"); +} + +EXPORT(int, sceNpSnsFacebookDialogGetResult) { + return unimplemented("sceNpSnsFacebookDialogGetResult"); +} + +EXPORT(int, sceNpSnsFacebookDialogGetResultLongToken) { + return unimplemented("sceNpSnsFacebookDialogGetResultLongToken"); +} + +EXPORT(int, sceNpSnsFacebookDialogGetStatus) { + return unimplemented("sceNpSnsFacebookDialogGetStatus"); +} + +EXPORT(int, sceNpSnsFacebookDialogInit) { + return unimplemented("sceNpSnsFacebookDialogInit"); +} + +EXPORT(int, sceNpSnsFacebookDialogTerm) { + return unimplemented("sceNpSnsFacebookDialogTerm"); +} + +EXPORT(int, sceNpTrophySetupDialogAbort) { + return unimplemented("sceNpTrophySetupDialogAbort"); +} + +EXPORT(int, sceNpTrophySetupDialogGetResult) { + return unimplemented("sceNpTrophySetupDialogGetResult"); +} + +EXPORT(int, sceNpTrophySetupDialogGetStatus) { + return unimplemented("sceNpTrophySetupDialogGetStatus"); +} + +EXPORT(int, sceNpTrophySetupDialogInit) { + return unimplemented("sceNpTrophySetupDialogInit"); +} + +EXPORT(int, sceNpTrophySetupDialogTerm) { + return unimplemented("sceNpTrophySetupDialogTerm"); +} + +EXPORT(int, scePhotoImportDialogAbort) { + return unimplemented("scePhotoImportDialogAbort"); +} + +EXPORT(int, scePhotoImportDialogGetResult) { + return unimplemented("scePhotoImportDialogGetResult"); +} + +EXPORT(int, scePhotoImportDialogGetStatus) { + return unimplemented("scePhotoImportDialogGetStatus"); +} + +EXPORT(int, scePhotoImportDialogInit) { + return unimplemented("scePhotoImportDialogInit"); +} + +EXPORT(int, scePhotoImportDialogTerm) { + return unimplemented("scePhotoImportDialogTerm"); +} + +EXPORT(int, scePhotoReviewDialogAbort) { + return unimplemented("scePhotoReviewDialogAbort"); +} + +EXPORT(int, scePhotoReviewDialogGetResult) { + return unimplemented("scePhotoReviewDialogGetResult"); +} + +EXPORT(int, scePhotoReviewDialogGetStatus) { + return unimplemented("scePhotoReviewDialogGetStatus"); +} + +EXPORT(int, scePhotoReviewDialogInit) { + return unimplemented("scePhotoReviewDialogInit"); +} + +EXPORT(int, scePhotoReviewDialogTerm) { + return unimplemented("scePhotoReviewDialogTerm"); +} + +EXPORT(int, scePspSaveDataDialogContinue) { + return unimplemented("scePspSaveDataDialogContinue"); +} + +EXPORT(int, scePspSaveDataDialogGetResult) { + return unimplemented("scePspSaveDataDialogGetResult"); +} + +EXPORT(int, scePspSaveDataDialogInit) { + return unimplemented("scePspSaveDataDialogInit"); +} + +EXPORT(int, scePspSaveDataDialogTerm) { + return unimplemented("scePspSaveDataDialogTerm"); +} + +EXPORT(int, sceSaveDataDialogAbort) { + return unimplemented("sceSaveDataDialogAbort"); +} + +EXPORT(int, sceSaveDataDialogContinue) { + return unimplemented("sceSaveDataDialogContinue"); +} + +EXPORT(int, sceSaveDataDialogFinish) { + return unimplemented("sceSaveDataDialogFinish"); +} + +EXPORT(int, sceSaveDataDialogGetResult) { + return unimplemented("sceSaveDataDialogGetResult"); +} + +EXPORT(int, sceSaveDataDialogGetStatus) { + return unimplemented("sceSaveDataDialogGetStatus"); +} + +EXPORT(int, sceSaveDataDialogGetSubStatus) { + return unimplemented("sceSaveDataDialogGetSubStatus"); +} + +EXPORT(int, sceSaveDataDialogInit) { + return unimplemented("sceSaveDataDialogInit"); +} + +EXPORT(int, sceSaveDataDialogProgressBarInc) { + return unimplemented("sceSaveDataDialogProgressBarInc"); +} + +EXPORT(int, sceSaveDataDialogProgressBarSetValue) { + return unimplemented("sceSaveDataDialogProgressBarSetValue"); +} + +EXPORT(int, sceSaveDataDialogSubClose) { + return unimplemented("sceSaveDataDialogSubClose"); +} + +EXPORT(int, sceSaveDataDialogTerm) { + return unimplemented("sceSaveDataDialogTerm"); +} + +EXPORT(int, sceStoreCheckoutDialogAbort) { + return unimplemented("sceStoreCheckoutDialogAbort"); +} + +EXPORT(int, sceStoreCheckoutDialogGetResult) { + return unimplemented("sceStoreCheckoutDialogGetResult"); +} + +EXPORT(int, sceStoreCheckoutDialogGetStatus) { + return unimplemented("sceStoreCheckoutDialogGetStatus"); +} + +EXPORT(int, sceStoreCheckoutDialogInit) { + return unimplemented("sceStoreCheckoutDialogInit"); +} + +EXPORT(int, sceStoreCheckoutDialogTerm) { + return unimplemented("sceStoreCheckoutDialogTerm"); +} + +EXPORT(int, sceTwDialogAbort) { + return unimplemented("sceTwDialogAbort"); +} + +EXPORT(int, sceTwDialogGetResult) { + return unimplemented("sceTwDialogGetResult"); +} + +EXPORT(int, sceTwDialogGetStatus) { + return unimplemented("sceTwDialogGetStatus"); +} + +EXPORT(int, sceTwDialogInit) { + return unimplemented("sceTwDialogInit"); +} + +EXPORT(int, sceTwDialogTerm) { + return unimplemented("sceTwDialogTerm"); +} + +EXPORT(int, sceTwLoginDialogAbort) { + return unimplemented("sceTwLoginDialogAbort"); +} + +EXPORT(int, sceTwLoginDialogGetResult) { + return unimplemented("sceTwLoginDialogGetResult"); +} + +EXPORT(int, sceTwLoginDialogGetStatus) { + return unimplemented("sceTwLoginDialogGetStatus"); +} + +EXPORT(int, sceTwLoginDialogTerm) { + return unimplemented("sceTwLoginDialogTerm"); +} + +BRIDGE_IMPL(sceCameraImportDialogAbort) +BRIDGE_IMPL(sceCameraImportDialogGetResult) +BRIDGE_IMPL(sceCameraImportDialogGetStatus) +BRIDGE_IMPL(sceCameraImportDialogInit) +BRIDGE_IMPL(sceCameraImportDialogTerm) +BRIDGE_IMPL(sceCommonDialogGetWorkerThreadId) +BRIDGE_IMPL(sceCommonDialogIsRunning) +BRIDGE_IMPL(sceCommonDialogSetConfigParam) +BRIDGE_IMPL(sceCommonDialogUpdate) +BRIDGE_IMPL(sceCrossControllerDialogAbort) +BRIDGE_IMPL(sceCrossControllerDialogGetResult) +BRIDGE_IMPL(sceCrossControllerDialogGetStatus) +BRIDGE_IMPL(sceCrossControllerDialogInit) +BRIDGE_IMPL(sceCrossControllerDialogTerm) +BRIDGE_IMPL(sceImeDialogAbort) +BRIDGE_IMPL(sceImeDialogGetResult) +BRIDGE_IMPL(sceImeDialogGetStatus) +BRIDGE_IMPL(sceImeDialogInit) +BRIDGE_IMPL(sceImeDialogTerm) +BRIDGE_IMPL(sceMsgDialogAbort) +BRIDGE_IMPL(sceMsgDialogClose) +BRIDGE_IMPL(sceMsgDialogGetResult) +BRIDGE_IMPL(sceMsgDialogGetStatus) +BRIDGE_IMPL(sceMsgDialogInit) +BRIDGE_IMPL(sceMsgDialogProgressBarInc) +BRIDGE_IMPL(sceMsgDialogProgressBarSetMsg) +BRIDGE_IMPL(sceMsgDialogProgressBarSetValue) +BRIDGE_IMPL(sceMsgDialogTerm) +BRIDGE_IMPL(sceNetCheckDialogAbort) +BRIDGE_IMPL(sceNetCheckDialogGetPS3ConnectInfo) +BRIDGE_IMPL(sceNetCheckDialogGetResult) +BRIDGE_IMPL(sceNetCheckDialogGetStatus) +BRIDGE_IMPL(sceNetCheckDialogInit) +BRIDGE_IMPL(sceNetCheckDialogTerm) +BRIDGE_IMPL(sceNpFriendListDialogAbort) +BRIDGE_IMPL(sceNpFriendListDialogGetResult) +BRIDGE_IMPL(sceNpFriendListDialogGetStatus) +BRIDGE_IMPL(sceNpFriendListDialogInit) +BRIDGE_IMPL(sceNpFriendListDialogTerm) +BRIDGE_IMPL(sceNpMessageDialogAbort) +BRIDGE_IMPL(sceNpMessageDialogGetResult) +BRIDGE_IMPL(sceNpMessageDialogGetStatus) +BRIDGE_IMPL(sceNpMessageDialogInit) +BRIDGE_IMPL(sceNpMessageDialogTerm) +BRIDGE_IMPL(sceNpProfileDialogAbort) +BRIDGE_IMPL(sceNpProfileDialogGetResult) +BRIDGE_IMPL(sceNpProfileDialogGetStatus) +BRIDGE_IMPL(sceNpProfileDialogInit) +BRIDGE_IMPL(sceNpProfileDialogTerm) +BRIDGE_IMPL(sceNpSnsFacebookDialogAbort) +BRIDGE_IMPL(sceNpSnsFacebookDialogGetResult) +BRIDGE_IMPL(sceNpSnsFacebookDialogGetResultLongToken) +BRIDGE_IMPL(sceNpSnsFacebookDialogGetStatus) +BRIDGE_IMPL(sceNpSnsFacebookDialogInit) +BRIDGE_IMPL(sceNpSnsFacebookDialogTerm) +BRIDGE_IMPL(sceNpTrophySetupDialogAbort) +BRIDGE_IMPL(sceNpTrophySetupDialogGetResult) +BRIDGE_IMPL(sceNpTrophySetupDialogGetStatus) +BRIDGE_IMPL(sceNpTrophySetupDialogInit) +BRIDGE_IMPL(sceNpTrophySetupDialogTerm) +BRIDGE_IMPL(scePhotoImportDialogAbort) +BRIDGE_IMPL(scePhotoImportDialogGetResult) +BRIDGE_IMPL(scePhotoImportDialogGetStatus) +BRIDGE_IMPL(scePhotoImportDialogInit) +BRIDGE_IMPL(scePhotoImportDialogTerm) +BRIDGE_IMPL(scePhotoReviewDialogAbort) +BRIDGE_IMPL(scePhotoReviewDialogGetResult) +BRIDGE_IMPL(scePhotoReviewDialogGetStatus) +BRIDGE_IMPL(scePhotoReviewDialogInit) +BRIDGE_IMPL(scePhotoReviewDialogTerm) +BRIDGE_IMPL(scePspSaveDataDialogContinue) +BRIDGE_IMPL(scePspSaveDataDialogGetResult) +BRIDGE_IMPL(scePspSaveDataDialogInit) +BRIDGE_IMPL(scePspSaveDataDialogTerm) +BRIDGE_IMPL(sceSaveDataDialogAbort) +BRIDGE_IMPL(sceSaveDataDialogContinue) +BRIDGE_IMPL(sceSaveDataDialogFinish) +BRIDGE_IMPL(sceSaveDataDialogGetResult) +BRIDGE_IMPL(sceSaveDataDialogGetStatus) +BRIDGE_IMPL(sceSaveDataDialogGetSubStatus) +BRIDGE_IMPL(sceSaveDataDialogInit) +BRIDGE_IMPL(sceSaveDataDialogProgressBarInc) +BRIDGE_IMPL(sceSaveDataDialogProgressBarSetValue) +BRIDGE_IMPL(sceSaveDataDialogSubClose) +BRIDGE_IMPL(sceSaveDataDialogTerm) +BRIDGE_IMPL(sceStoreCheckoutDialogAbort) +BRIDGE_IMPL(sceStoreCheckoutDialogGetResult) +BRIDGE_IMPL(sceStoreCheckoutDialogGetStatus) +BRIDGE_IMPL(sceStoreCheckoutDialogInit) +BRIDGE_IMPL(sceStoreCheckoutDialogTerm) +BRIDGE_IMPL(sceTwDialogAbort) +BRIDGE_IMPL(sceTwDialogGetResult) +BRIDGE_IMPL(sceTwDialogGetStatus) +BRIDGE_IMPL(sceTwDialogInit) +BRIDGE_IMPL(sceTwDialogTerm) +BRIDGE_IMPL(sceTwLoginDialogAbort) +BRIDGE_IMPL(sceTwLoginDialogGetResult) +BRIDGE_IMPL(sceTwLoginDialogGetStatus) +BRIDGE_IMPL(sceTwLoginDialogTerm) diff --git a/src/emulator/modules/SceCoredump/CMakeLists.txt b/src/emulator/modules/SceCoredump/CMakeLists.txt new file mode 100644 index 000000000..26bd5738b --- /dev/null +++ b/src/emulator/modules/SceCoredump/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCoredump STATIC include/SceCoredump/exports.h src/SceCoredump.cpp src/SceCoredumpNounlink.cpp) +target_include_directories(SceCoredump PUBLIC include) +target_link_libraries(SceCoredump PRIVATE module) diff --git a/src/emulator/modules/SceCoredump/include/SceCoredump/exports.h b/src/emulator/modules/SceCoredump/include/SceCoredump/exports.h new file mode 100644 index 000000000..c84904cb0 --- /dev/null +++ b/src/emulator/modules/SceCoredump/include/SceCoredump/exports.h @@ -0,0 +1,27 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCoredump +BRIDGE_DECL(sceCoredumpRegisterCoredumpHandler) +BRIDGE_DECL(sceCoredumpUnregisterCoredumpHandler) + +// SceCoredumpNounlink +BRIDGE_DECL(sceCoredumpWriteUserData) diff --git a/src/emulator/modules/SceCoredump/src/SceCoredump.cpp b/src/emulator/modules/SceCoredump/src/SceCoredump.cpp new file mode 100644 index 000000000..51f0c89ae --- /dev/null +++ b/src/emulator/modules/SceCoredump/src/SceCoredump.cpp @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCoredumpRegisterCoredumpHandler) { + return unimplemented("sceCoredumpRegisterCoredumpHandler"); +} + +EXPORT(int, sceCoredumpUnregisterCoredumpHandler) { + return unimplemented("sceCoredumpUnregisterCoredumpHandler"); +} + +BRIDGE_IMPL(sceCoredumpRegisterCoredumpHandler) +BRIDGE_IMPL(sceCoredumpUnregisterCoredumpHandler) diff --git a/src/emulator/modules/SceCoredump/src/SceCoredumpNounlink.cpp b/src/emulator/modules/SceCoredump/src/SceCoredumpNounlink.cpp new file mode 100644 index 000000000..f18fb3c70 --- /dev/null +++ b/src/emulator/modules/SceCoredump/src/SceCoredumpNounlink.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceCoredumpWriteUserData) { + return unimplemented("sceCoredumpWriteUserData"); +} + +BRIDGE_IMPL(sceCoredumpWriteUserData) diff --git a/src/emulator/modules/SceCtrl/CMakeLists.txt b/src/emulator/modules/SceCtrl/CMakeLists.txt new file mode 100644 index 000000000..557b18701 --- /dev/null +++ b/src/emulator/modules/SceCtrl/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceCtrl STATIC include/SceCtrl/exports.h src/SceCtrl.cpp) +target_include_directories(SceCtrl PUBLIC include) +target_link_libraries(SceCtrl PRIVATE module) diff --git a/src/emulator/modules/SceCtrl/include/SceCtrl/exports.h b/src/emulator/modules/SceCtrl/include/SceCtrl/exports.h new file mode 100644 index 000000000..ec53a9571 --- /dev/null +++ b/src/emulator/modules/SceCtrl/include/SceCtrl/exports.h @@ -0,0 +1,59 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceCtrl +BRIDGE_DECL(sceCtrlClearRapidFire) +BRIDGE_DECL(sceCtrlDisconnect) +BRIDGE_DECL(sceCtrlGetAnalogStickCheckMode) +BRIDGE_DECL(sceCtrlGetAnalogStickCheckTarget) +BRIDGE_DECL(sceCtrlGetBatteryInfo) +BRIDGE_DECL(sceCtrlGetButtonIntercept) +BRIDGE_DECL(sceCtrlGetControllerPortInfo) +BRIDGE_DECL(sceCtrlGetProcessStatus) +BRIDGE_DECL(sceCtrlGetSamplingMode) +BRIDGE_DECL(sceCtrlGetSamplingModeExt) +BRIDGE_DECL(sceCtrlGetWirelessControllerInfo) +BRIDGE_DECL(sceCtrlIsMultiControllerSupported) +BRIDGE_DECL(sceCtrlPeekBufferNegative) +BRIDGE_DECL(sceCtrlPeekBufferNegative2) +BRIDGE_DECL(sceCtrlPeekBufferPositive) +BRIDGE_DECL(sceCtrlPeekBufferPositive2) +BRIDGE_DECL(sceCtrlPeekBufferPositiveExt) +BRIDGE_DECL(sceCtrlPeekBufferPositiveExt2) +BRIDGE_DECL(sceCtrlReadBufferNegative) +BRIDGE_DECL(sceCtrlReadBufferNegative2) +BRIDGE_DECL(sceCtrlReadBufferPositive) +BRIDGE_DECL(sceCtrlReadBufferPositive2) +BRIDGE_DECL(sceCtrlReadBufferPositiveExt) +BRIDGE_DECL(sceCtrlReadBufferPositiveExt2) +BRIDGE_DECL(sceCtrlRegisterBdRMCCallback) +BRIDGE_DECL(sceCtrlResetLightBar) +BRIDGE_DECL(sceCtrlSetActuator) +BRIDGE_DECL(sceCtrlSetAnalogStickCheckMode) +BRIDGE_DECL(sceCtrlSetAnalogStickCheckTarget) +BRIDGE_DECL(sceCtrlSetButtonIntercept) +BRIDGE_DECL(sceCtrlSetButtonRemappingInfo) +BRIDGE_DECL(sceCtrlSetLightBar) +BRIDGE_DECL(sceCtrlSetRapidFire) +BRIDGE_DECL(sceCtrlSetSamplingMode) +BRIDGE_DECL(sceCtrlSetSamplingModeExt) +BRIDGE_DECL(sceCtrlSingleControllerMode) +BRIDGE_DECL(sceCtrlUnregisterBdRMCCallback) diff --git a/src/emulator/modules/SceCtrl/src/SceCtrl.cpp b/src/emulator/modules/SceCtrl/src/SceCtrl.cpp new file mode 100644 index 000000000..848773ff4 --- /dev/null +++ b/src/emulator/modules/SceCtrl/src/SceCtrl.cpp @@ -0,0 +1,373 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include +#include + +#include +#include + +// TODO Move elsewhere. +static uint64_t timestamp; + +struct KeyBinding { + SDL_Scancode scancode; + uint32_t button; +}; + +struct ControllerBinding { + SDL_GameControllerButton controller; + uint32_t button; +}; + +static const KeyBinding key_bindings[] = { + { SDL_SCANCODE_RSHIFT, SCE_CTRL_SELECT }, + { SDL_SCANCODE_RETURN, SCE_CTRL_START }, + { SDL_SCANCODE_UP, SCE_CTRL_UP }, + { SDL_SCANCODE_RIGHT, SCE_CTRL_RIGHT }, + { SDL_SCANCODE_DOWN, SCE_CTRL_DOWN }, + { SDL_SCANCODE_LEFT, SCE_CTRL_LEFT }, + { SDL_SCANCODE_Q, SCE_CTRL_LTRIGGER }, + { SDL_SCANCODE_E, SCE_CTRL_RTRIGGER }, + { SDL_SCANCODE_V, SCE_CTRL_TRIANGLE }, + { SDL_SCANCODE_C, SCE_CTRL_CIRCLE }, + { SDL_SCANCODE_X, SCE_CTRL_CROSS }, + { SDL_SCANCODE_Z, SCE_CTRL_SQUARE }, +}; + +static const size_t key_binding_count = sizeof(key_bindings) / sizeof(key_bindings[0]); + +static const ControllerBinding controller_bindings[] = { + { SDL_CONTROLLER_BUTTON_BACK, SCE_CTRL_SELECT }, + { SDL_CONTROLLER_BUTTON_START, SCE_CTRL_START }, + { SDL_CONTROLLER_BUTTON_DPAD_UP, SCE_CTRL_UP }, + { SDL_CONTROLLER_BUTTON_DPAD_RIGHT, SCE_CTRL_RIGHT }, + { SDL_CONTROLLER_BUTTON_DPAD_DOWN, SCE_CTRL_DOWN }, + { SDL_CONTROLLER_BUTTON_DPAD_LEFT, SCE_CTRL_LEFT }, + { SDL_CONTROLLER_BUTTON_LEFTSHOULDER, SCE_CTRL_LTRIGGER }, + { SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, SCE_CTRL_RTRIGGER }, + { SDL_CONTROLLER_BUTTON_Y, SCE_CTRL_TRIANGLE }, + { SDL_CONTROLLER_BUTTON_B, SCE_CTRL_CIRCLE }, + { SDL_CONTROLLER_BUTTON_A, SCE_CTRL_CROSS }, + { SDL_CONTROLLER_BUTTON_X, SCE_CTRL_SQUARE }, +}; + +static const size_t controller_binding_count = sizeof(controller_bindings) / sizeof(controller_bindings[0]); + +static bool operator<(const SDL_JoystickGUID &a, const SDL_JoystickGUID &b) { + return memcmp(&a, &b, sizeof(a)) < 0; +} + +static float keys_to_axis(const uint8_t *keys, SDL_Scancode code1, SDL_Scancode code2) { + float temp = 0; + if (keys[code1]) { + temp -= 1; + } + if (keys[code2]) { + temp += 1; + } + + return temp; +} + +static void apply_keyboard(uint32_t *buttons, float axes[4]) { + const uint8_t *const keys = SDL_GetKeyboardState(nullptr); + for (int i = 0; i < key_binding_count; ++i) { + const KeyBinding &binding = key_bindings[i]; + if (keys[binding.scancode]) { + *buttons |= binding.button; + } + } + + axes[0] += keys_to_axis(keys, SDL_SCANCODE_A, SDL_SCANCODE_D); + axes[1] += keys_to_axis(keys, SDL_SCANCODE_W, SDL_SCANCODE_S); + axes[2] += keys_to_axis(keys, SDL_SCANCODE_J, SDL_SCANCODE_L); + axes[3] += keys_to_axis(keys, SDL_SCANCODE_I, SDL_SCANCODE_K); +} + +static float axis_to_axis(int16_t axis) { + const float unsigned_axis = axis - INT16_MIN; + assert(unsigned_axis >= 0); + assert(unsigned_axis <= UINT16_MAX); + + const float f = unsigned_axis / UINT16_MAX; + + const float output = (f * 2) - 1; + assert(output >= -1); + assert(output <= 1); + + return output; +} + +static void apply_controller(uint32_t *buttons, float axes[4], SDL_GameController *controller) { + for (int i = 0; i < controller_binding_count; ++i) { + const ControllerBinding &binding = controller_bindings[i]; + if (SDL_GameControllerGetButton(controller, binding.controller)) { + *buttons |= binding.button; + } + } + + axes[0] += axis_to_axis(SDL_GameControllerGetAxis(controller, SDL_CONTROLLER_AXIS_LEFTX)); + axes[1] += axis_to_axis(SDL_GameControllerGetAxis(controller, SDL_CONTROLLER_AXIS_LEFTY)); + axes[2] += axis_to_axis(SDL_GameControllerGetAxis(controller, SDL_CONTROLLER_AXIS_RIGHTX)); + axes[3] += axis_to_axis(SDL_GameControllerGetAxis(controller, SDL_CONTROLLER_AXIS_RIGHTY)); +} + +static uint8_t float_to_byte(float f) { + const float mapped = (f * 0.5f) + 0.5f; + const float clamped = std::max(0.0f, std::min(mapped, 1.0f)); + assert(clamped >= 0); + assert(clamped <= 1); + + return static_cast(clamped * 255); +} + +static void remove_disconnected_controllers(CtrlState &state) { + for (GameControllerList::iterator controller = state.controllers.begin(); controller != state.controllers.end();) { + if (SDL_GameControllerGetAttached(controller->second.get())) { + ++controller; + } else { + controller = state.controllers.erase(controller); + } + } +} + +static void add_new_controllers(CtrlState &state) { + const int num_joysticks = SDL_NumJoysticks(); + for (int joystick_index = 0; joystick_index < num_joysticks; ++joystick_index) { + if (SDL_IsGameController(joystick_index)) { + const SDL_JoystickGUID guid = SDL_JoystickGetDeviceGUID(joystick_index); + if (state.controllers.find(guid) == state.controllers.end()) { + const GameControllerPtr controller(SDL_GameControllerOpen(joystick_index), SDL_GameControllerClose); + state.controllers.insert(GameControllerList::value_type(guid, controller)); + } + } + } +} + +EXPORT(int, sceCtrlClearRapidFire) { + return unimplemented("sceCtrlClearRapidFire"); +} + +EXPORT(int, sceCtrlDisconnect) { + return unimplemented("sceCtrlDisconnect"); +} + +EXPORT(int, sceCtrlGetAnalogStickCheckMode) { + return unimplemented("sceCtrlGetAnalogStickCheckMode"); +} + +EXPORT(int, sceCtrlGetAnalogStickCheckTarget) { + return unimplemented("sceCtrlGetAnalogStickCheckTarget"); +} + +EXPORT(int, sceCtrlGetBatteryInfo) { + return unimplemented("sceCtrlGetBatteryInfo"); +} + +EXPORT(int, sceCtrlGetButtonIntercept) { + return unimplemented("sceCtrlGetButtonIntercept"); +} + +EXPORT(int, sceCtrlGetControllerPortInfo) { + return unimplemented("sceCtrlGetControllerPortInfo"); +} + +EXPORT(int, sceCtrlGetProcessStatus) { + return unimplemented("sceCtrlGetProcessStatus"); +} + +EXPORT(int, sceCtrlGetSamplingMode) { + return unimplemented("sceCtrlGetSamplingMode"); +} + +EXPORT(int, sceCtrlGetSamplingModeExt) { + return unimplemented("sceCtrlGetSamplingModeExt"); +} + +EXPORT(int, sceCtrlGetWirelessControllerInfo) { + return unimplemented("sceCtrlGetWirelessControllerInfo"); +} + +EXPORT(int, sceCtrlIsMultiControllerSupported) { + return unimplemented("sceCtrlIsMultiControllerSupported"); +} + +EXPORT(int, sceCtrlPeekBufferNegative) { + return unimplemented("sceCtrlPeekBufferNegative"); +} + +EXPORT(int, sceCtrlPeekBufferNegative2) { + return unimplemented("sceCtrlPeekBufferNegative2"); +} + +EXPORT(int, sceCtrlPeekBufferPositive, int port, SceCtrlData *pad_data, int count) { + assert(port == 0); + assert(pad_data != nullptr); + assert(count == 1); + + CtrlState &state = host.ctrl; + remove_disconnected_controllers(state); + add_new_controllers(state); + + memset(pad_data, 0, sizeof(*pad_data)); + pad_data->timeStamp = timestamp++; // TODO Use the real time and units. + + std::array axes; + axes.fill(0); + apply_keyboard(&pad_data->buttons, axes.data()); + for (const GameControllerList::value_type &controller : state.controllers) { + apply_controller(&pad_data->buttons, axes.data(), controller.second.get()); + } + + pad_data->lx = float_to_byte(axes[0]); + pad_data->ly = float_to_byte(axes[1]); + pad_data->rx = float_to_byte(axes[2]); + pad_data->ry = float_to_byte(axes[3]); + + return 0; +} + +EXPORT(int, sceCtrlPeekBufferPositive2) { + return unimplemented("sceCtrlPeekBufferPositive2"); +} + +EXPORT(int, sceCtrlPeekBufferPositiveExt) { + return unimplemented("sceCtrlPeekBufferPositiveExt"); +} + +EXPORT(int, sceCtrlPeekBufferPositiveExt2) { + return unimplemented("sceCtrlPeekBufferPositiveExt2"); +} + +EXPORT(int, sceCtrlReadBufferNegative) { + return unimplemented("sceCtrlReadBufferNegative"); +} + +EXPORT(int, sceCtrlReadBufferNegative2) { + return unimplemented("sceCtrlReadBufferNegative2"); +} + +EXPORT(int, sceCtrlReadBufferPositive) { + return unimplemented("sceCtrlReadBufferPositive"); +} + +EXPORT(int, sceCtrlReadBufferPositive2) { + return unimplemented("sceCtrlReadBufferPositive2"); +} + +EXPORT(int, sceCtrlReadBufferPositiveExt) { + return unimplemented("sceCtrlReadBufferPositiveExt"); +} + +EXPORT(int, sceCtrlReadBufferPositiveExt2) { + return unimplemented("sceCtrlReadBufferPositiveExt2"); +} + +EXPORT(int, sceCtrlRegisterBdRMCCallback) { + return unimplemented("sceCtrlRegisterBdRMCCallback"); +} + +EXPORT(int, sceCtrlResetLightBar) { + return unimplemented("sceCtrlResetLightBar"); +} + +EXPORT(int, sceCtrlSetActuator) { + return unimplemented("sceCtrlSetActuator"); +} + +EXPORT(int, sceCtrlSetAnalogStickCheckMode) { + return unimplemented("sceCtrlSetAnalogStickCheckMode"); +} + +EXPORT(int, sceCtrlSetAnalogStickCheckTarget) { + return unimplemented("sceCtrlSetAnalogStickCheckTarget"); +} + +EXPORT(int, sceCtrlSetButtonIntercept) { + return unimplemented("sceCtrlSetButtonIntercept"); +} + +EXPORT(int, sceCtrlSetButtonRemappingInfo) { + return unimplemented("sceCtrlSetButtonRemappingInfo"); +} + +EXPORT(int, sceCtrlSetLightBar) { + return unimplemented("sceCtrlSetLightBar"); +} + +EXPORT(int, sceCtrlSetRapidFire) { + return unimplemented("sceCtrlSetRapidFire"); +} + +EXPORT(int, sceCtrlSetSamplingMode) { + return unimplemented("sceCtrlSetSamplingMode"); +} + +EXPORT(int, sceCtrlSetSamplingModeExt) { + return unimplemented("sceCtrlSetSamplingModeExt"); +} + +EXPORT(int, sceCtrlSingleControllerMode) { + return unimplemented("sceCtrlSingleControllerMode"); +} + +EXPORT(int, sceCtrlUnregisterBdRMCCallback) { + return unimplemented("sceCtrlUnregisterBdRMCCallback"); +} + +BRIDGE_IMPL(sceCtrlClearRapidFire) +BRIDGE_IMPL(sceCtrlDisconnect) +BRIDGE_IMPL(sceCtrlGetAnalogStickCheckMode) +BRIDGE_IMPL(sceCtrlGetAnalogStickCheckTarget) +BRIDGE_IMPL(sceCtrlGetBatteryInfo) +BRIDGE_IMPL(sceCtrlGetButtonIntercept) +BRIDGE_IMPL(sceCtrlGetControllerPortInfo) +BRIDGE_IMPL(sceCtrlGetProcessStatus) +BRIDGE_IMPL(sceCtrlGetSamplingMode) +BRIDGE_IMPL(sceCtrlGetSamplingModeExt) +BRIDGE_IMPL(sceCtrlGetWirelessControllerInfo) +BRIDGE_IMPL(sceCtrlIsMultiControllerSupported) +BRIDGE_IMPL(sceCtrlPeekBufferNegative) +BRIDGE_IMPL(sceCtrlPeekBufferNegative2) +BRIDGE_IMPL(sceCtrlPeekBufferPositive) +BRIDGE_IMPL(sceCtrlPeekBufferPositive2) +BRIDGE_IMPL(sceCtrlPeekBufferPositiveExt) +BRIDGE_IMPL(sceCtrlPeekBufferPositiveExt2) +BRIDGE_IMPL(sceCtrlReadBufferNegative) +BRIDGE_IMPL(sceCtrlReadBufferNegative2) +BRIDGE_IMPL(sceCtrlReadBufferPositive) +BRIDGE_IMPL(sceCtrlReadBufferPositive2) +BRIDGE_IMPL(sceCtrlReadBufferPositiveExt) +BRIDGE_IMPL(sceCtrlReadBufferPositiveExt2) +BRIDGE_IMPL(sceCtrlRegisterBdRMCCallback) +BRIDGE_IMPL(sceCtrlResetLightBar) +BRIDGE_IMPL(sceCtrlSetActuator) +BRIDGE_IMPL(sceCtrlSetAnalogStickCheckMode) +BRIDGE_IMPL(sceCtrlSetAnalogStickCheckTarget) +BRIDGE_IMPL(sceCtrlSetButtonIntercept) +BRIDGE_IMPL(sceCtrlSetButtonRemappingInfo) +BRIDGE_IMPL(sceCtrlSetLightBar) +BRIDGE_IMPL(sceCtrlSetRapidFire) +BRIDGE_IMPL(sceCtrlSetSamplingMode) +BRIDGE_IMPL(sceCtrlSetSamplingModeExt) +BRIDGE_IMPL(sceCtrlSingleControllerMode) +BRIDGE_IMPL(sceCtrlUnregisterBdRMCCallback) diff --git a/src/emulator/modules/SceDTrace/CMakeLists.txt b/src/emulator/modules/SceDTrace/CMakeLists.txt new file mode 100644 index 000000000..86a04270a --- /dev/null +++ b/src/emulator/modules/SceDTrace/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceDTrace STATIC include/SceDTrace/exports.h src/SceDTrace.cpp) +target_include_directories(SceDTrace PUBLIC include) +target_link_libraries(SceDTrace PRIVATE module) diff --git a/src/emulator/modules/SceDTrace/include/SceDTrace/exports.h b/src/emulator/modules/SceDTrace/include/SceDTrace/exports.h new file mode 100644 index 000000000..88622fa4e --- /dev/null +++ b/src/emulator/modules/SceDTrace/include/SceDTrace/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDTrace +BRIDGE_DECL(sceDTraceAddHelperDof) +BRIDGE_DECL(sceDTraceClientClose) +BRIDGE_DECL(sceDTraceClientIoctl) +BRIDGE_DECL(sceDTraceClientOpen) +BRIDGE_DECL(sceDTraceHelperIoctl) +BRIDGE_DECL(sceDTraceRemoveHelperDof) diff --git a/src/emulator/modules/SceDTrace/src/SceDTrace.cpp b/src/emulator/modules/SceDTrace/src/SceDTrace.cpp new file mode 100644 index 000000000..36a1567ba --- /dev/null +++ b/src/emulator/modules/SceDTrace/src/SceDTrace.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceDTraceAddHelperDof) { + return unimplemented("sceDTraceAddHelperDof"); +} + +EXPORT(int, sceDTraceClientClose) { + return unimplemented("sceDTraceClientClose"); +} + +EXPORT(int, sceDTraceClientIoctl) { + return unimplemented("sceDTraceClientIoctl"); +} + +EXPORT(int, sceDTraceClientOpen) { + return unimplemented("sceDTraceClientOpen"); +} + +EXPORT(int, sceDTraceHelperIoctl) { + return unimplemented("sceDTraceHelperIoctl"); +} + +EXPORT(int, sceDTraceRemoveHelperDof) { + return unimplemented("sceDTraceRemoveHelperDof"); +} + +BRIDGE_IMPL(sceDTraceAddHelperDof) +BRIDGE_IMPL(sceDTraceClientClose) +BRIDGE_IMPL(sceDTraceClientIoctl) +BRIDGE_IMPL(sceDTraceClientOpen) +BRIDGE_IMPL(sceDTraceHelperIoctl) +BRIDGE_IMPL(sceDTraceRemoveHelperDof) diff --git a/src/emulator/modules/SceDeci4p/CMakeLists.txt b/src/emulator/modules/SceDeci4p/CMakeLists.txt new file mode 100644 index 000000000..1956a921e --- /dev/null +++ b/src/emulator/modules/SceDeci4p/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceDeci4p STATIC include/SceDeci4p/exports.h src/SceDeci4pUserp.cpp) +target_include_directories(SceDeci4p PUBLIC include) +target_link_libraries(SceDeci4p PRIVATE module) diff --git a/src/emulator/modules/SceDeci4p/include/SceDeci4p/exports.h b/src/emulator/modules/SceDeci4p/include/SceDeci4p/exports.h new file mode 100644 index 000000000..3caf90e9c --- /dev/null +++ b/src/emulator/modules/SceDeci4p/include/SceDeci4p/exports.h @@ -0,0 +1,32 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDeci4pUserp +BRIDGE_DECL(sceKernelDeci4pClose) +BRIDGE_DECL(sceKernelDeci4pCreateHostProcess) +BRIDGE_DECL(sceKernelDeci4pCreateHostProcessAndWait) +BRIDGE_DECL(sceKernelDeci4pDisableWatchpoint) +BRIDGE_DECL(sceKernelDeci4pEnableWatchpoint) +BRIDGE_DECL(sceKernelDeci4pIsProcessAttached) +BRIDGE_DECL(sceKernelDeci4pOpen) +BRIDGE_DECL(sceKernelDeci4pRead) +BRIDGE_DECL(sceKernelDeci4pRegisterCallback) +BRIDGE_DECL(sceKernelDeci4pWrite) diff --git a/src/emulator/modules/SceDeci4p/src/SceDeci4pUserp.cpp b/src/emulator/modules/SceDeci4p/src/SceDeci4pUserp.cpp new file mode 100644 index 000000000..2459b1a7c --- /dev/null +++ b/src/emulator/modules/SceDeci4p/src/SceDeci4pUserp.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelDeci4pClose) { + return unimplemented("sceKernelDeci4pClose"); +} + +EXPORT(int, sceKernelDeci4pCreateHostProcess) { + return unimplemented("sceKernelDeci4pCreateHostProcess"); +} + +EXPORT(int, sceKernelDeci4pCreateHostProcessAndWait) { + return unimplemented("sceKernelDeci4pCreateHostProcessAndWait"); +} + +EXPORT(int, sceKernelDeci4pDisableWatchpoint) { + return unimplemented("sceKernelDeci4pDisableWatchpoint"); +} + +EXPORT(int, sceKernelDeci4pEnableWatchpoint) { + return unimplemented("sceKernelDeci4pEnableWatchpoint"); +} + +EXPORT(int, sceKernelDeci4pIsProcessAttached) { + return unimplemented("sceKernelDeci4pIsProcessAttached"); +} + +EXPORT(int, sceKernelDeci4pOpen) { + return unimplemented("sceKernelDeci4pOpen"); +} + +EXPORT(int, sceKernelDeci4pRead) { + return unimplemented("sceKernelDeci4pRead"); +} + +EXPORT(int, sceKernelDeci4pRegisterCallback) { + return unimplemented("sceKernelDeci4pRegisterCallback"); +} + +EXPORT(int, sceKernelDeci4pWrite) { + return unimplemented("sceKernelDeci4pWrite"); +} + +BRIDGE_IMPL(sceKernelDeci4pClose) +BRIDGE_IMPL(sceKernelDeci4pCreateHostProcess) +BRIDGE_IMPL(sceKernelDeci4pCreateHostProcessAndWait) +BRIDGE_IMPL(sceKernelDeci4pDisableWatchpoint) +BRIDGE_IMPL(sceKernelDeci4pEnableWatchpoint) +BRIDGE_IMPL(sceKernelDeci4pIsProcessAttached) +BRIDGE_IMPL(sceKernelDeci4pOpen) +BRIDGE_IMPL(sceKernelDeci4pRead) +BRIDGE_IMPL(sceKernelDeci4pRegisterCallback) +BRIDGE_IMPL(sceKernelDeci4pWrite) diff --git a/src/emulator/modules/SceDeflt/CMakeLists.txt b/src/emulator/modules/SceDeflt/CMakeLists.txt new file mode 100644 index 000000000..2aa23fb0a --- /dev/null +++ b/src/emulator/modules/SceDeflt/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceDeflt STATIC include/SceDeflt/exports.h src/SceDeflt.cpp) +target_include_directories(SceDeflt PUBLIC include) +target_link_libraries(SceDeflt PRIVATE module) diff --git a/src/emulator/modules/SceDeflt/include/SceDeflt/exports.h b/src/emulator/modules/SceDeflt/include/SceDeflt/exports.h new file mode 100644 index 000000000..f720f5a40 --- /dev/null +++ b/src/emulator/modules/SceDeflt/include/SceDeflt/exports.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDeflt +BRIDGE_DECL(sceDeflateDecompress) +BRIDGE_DECL(sceDeflateDecompressPartial) +BRIDGE_DECL(sceGzipCrc32) +BRIDGE_DECL(sceGzipDecompress) +BRIDGE_DECL(sceGzipGetComment) +BRIDGE_DECL(sceGzipGetCompressedData) +BRIDGE_DECL(sceGzipGetInfo) +BRIDGE_DECL(sceGzipGetName) +BRIDGE_DECL(sceGzipIsValid) +BRIDGE_DECL(sceZipGetInfo) +BRIDGE_DECL(sceZlibAdler32) +BRIDGE_DECL(sceZlibDecompress) +BRIDGE_DECL(sceZlibGetCompressedData) +BRIDGE_DECL(sceZlibGetInfo) +BRIDGE_DECL(sceZlibIsValid) diff --git a/src/emulator/modules/SceDeflt/src/SceDeflt.cpp b/src/emulator/modules/SceDeflt/src/SceDeflt.cpp new file mode 100644 index 000000000..306a1e58b --- /dev/null +++ b/src/emulator/modules/SceDeflt/src/SceDeflt.cpp @@ -0,0 +1,94 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceDeflateDecompress) { + return unimplemented("sceDeflateDecompress"); +} + +EXPORT(int, sceDeflateDecompressPartial) { + return unimplemented("sceDeflateDecompressPartial"); +} + +EXPORT(int, sceGzipCrc32) { + return unimplemented("sceGzipCrc32"); +} + +EXPORT(int, sceGzipDecompress) { + return unimplemented("sceGzipDecompress"); +} + +EXPORT(int, sceGzipGetComment) { + return unimplemented("sceGzipGetComment"); +} + +EXPORT(int, sceGzipGetCompressedData) { + return unimplemented("sceGzipGetCompressedData"); +} + +EXPORT(int, sceGzipGetInfo) { + return unimplemented("sceGzipGetInfo"); +} + +EXPORT(int, sceGzipGetName) { + return unimplemented("sceGzipGetName"); +} + +EXPORT(int, sceGzipIsValid) { + return unimplemented("sceGzipIsValid"); +} + +EXPORT(int, sceZipGetInfo) { + return unimplemented("sceZipGetInfo"); +} + +EXPORT(int, sceZlibAdler32) { + return unimplemented("sceZlibAdler32"); +} + +EXPORT(int, sceZlibDecompress) { + return unimplemented("sceZlibDecompress"); +} + +EXPORT(int, sceZlibGetCompressedData) { + return unimplemented("sceZlibGetCompressedData"); +} + +EXPORT(int, sceZlibGetInfo) { + return unimplemented("sceZlibGetInfo"); +} + +EXPORT(int, sceZlibIsValid) { + return unimplemented("sceZlibIsValid"); +} + +BRIDGE_IMPL(sceDeflateDecompress) +BRIDGE_IMPL(sceDeflateDecompressPartial) +BRIDGE_IMPL(sceGzipCrc32) +BRIDGE_IMPL(sceGzipDecompress) +BRIDGE_IMPL(sceGzipGetComment) +BRIDGE_IMPL(sceGzipGetCompressedData) +BRIDGE_IMPL(sceGzipGetInfo) +BRIDGE_IMPL(sceGzipGetName) +BRIDGE_IMPL(sceGzipIsValid) +BRIDGE_IMPL(sceZipGetInfo) +BRIDGE_IMPL(sceZlibAdler32) +BRIDGE_IMPL(sceZlibDecompress) +BRIDGE_IMPL(sceZlibGetCompressedData) +BRIDGE_IMPL(sceZlibGetInfo) +BRIDGE_IMPL(sceZlibIsValid) diff --git a/src/emulator/modules/SceDisplay/CMakeLists.txt b/src/emulator/modules/SceDisplay/CMakeLists.txt new file mode 100644 index 000000000..d5283ee96 --- /dev/null +++ b/src/emulator/modules/SceDisplay/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceDisplay STATIC include/SceDisplay/exports.h src/SceDisplay.cpp src/SceDisplayUser.cpp) +target_include_directories(SceDisplay PUBLIC include) +target_link_libraries(SceDisplay PRIVATE module) diff --git a/src/emulator/modules/SceDisplay/include/SceDisplay/exports.h b/src/emulator/modules/SceDisplay/include/SceDisplay/exports.h new file mode 100644 index 000000000..d43b7372b --- /dev/null +++ b/src/emulator/modules/SceDisplay/include/SceDisplay/exports.h @@ -0,0 +1,38 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDisplay +BRIDGE_DECL(sceDisplayGetRefreshRate) +BRIDGE_DECL(sceDisplayGetVcount) +BRIDGE_DECL(sceDisplayRegisterVblankStartCallback) +BRIDGE_DECL(sceDisplayUnregisterVblankStartCallback) +BRIDGE_DECL(sceDisplayWaitSetFrameBuf) +BRIDGE_DECL(sceDisplayWaitSetFrameBufCB) +BRIDGE_DECL(sceDisplayWaitSetFrameBufMulti) +BRIDGE_DECL(sceDisplayWaitSetFrameBufMultiCB) +BRIDGE_DECL(sceDisplayWaitVblankStart) +BRIDGE_DECL(sceDisplayWaitVblankStartCB) +BRIDGE_DECL(sceDisplayWaitVblankStartMulti) +BRIDGE_DECL(sceDisplayWaitVblankStartMultiCB) + +// SceDisplayUser +BRIDGE_DECL(sceDisplayGetFrameBuf) +BRIDGE_DECL(sceDisplaySetFrameBuf) diff --git a/src/emulator/modules/SceDisplay/src/SceDisplay.cpp b/src/emulator/modules/SceDisplay/src/SceDisplay.cpp new file mode 100644 index 000000000..47f944463 --- /dev/null +++ b/src/emulator/modules/SceDisplay/src/SceDisplay.cpp @@ -0,0 +1,85 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include + +EXPORT(int, sceDisplayGetRefreshRate) { + return unimplemented("sceDisplayGetRefreshRate"); +} + +EXPORT(int, sceDisplayGetVcount) { + return unimplemented("sceDisplayGetVcount"); +} + +EXPORT(int, sceDisplayRegisterVblankStartCallback) { + return unimplemented("sceDisplayRegisterVblankStartCallback"); +} + +EXPORT(int, sceDisplayUnregisterVblankStartCallback) { + return unimplemented("sceDisplayUnregisterVblankStartCallback"); +} + +EXPORT(int, sceDisplayWaitSetFrameBuf) { + return unimplemented("sceDisplayWaitSetFrameBuf"); +} + +EXPORT(int, sceDisplayWaitSetFrameBufCB) { + return unimplemented("sceDisplayWaitSetFrameBufCB"); +} + +EXPORT(int, sceDisplayWaitSetFrameBufMulti) { + return unimplemented("sceDisplayWaitSetFrameBufMulti"); +} + +EXPORT(int, sceDisplayWaitSetFrameBufMultiCB) { + return unimplemented("sceDisplayWaitSetFrameBufMultiCB"); +} + +EXPORT(int, sceDisplayWaitVblankStart) { + handle_events(host); + + return SCE_DISPLAY_ERROR_OK; +} + +EXPORT(int, sceDisplayWaitVblankStartCB) { + return unimplemented("sceDisplayWaitVblankStartCB"); +} + +EXPORT(int, sceDisplayWaitVblankStartMulti) { + return unimplemented("sceDisplayWaitVblankStartMulti"); +} + +EXPORT(int, sceDisplayWaitVblankStartMultiCB) { + return unimplemented("sceDisplayWaitVblankStartMultiCB"); +} + +BRIDGE_IMPL(sceDisplayGetRefreshRate) +BRIDGE_IMPL(sceDisplayGetVcount) +BRIDGE_IMPL(sceDisplayRegisterVblankStartCallback) +BRIDGE_IMPL(sceDisplayUnregisterVblankStartCallback) +BRIDGE_IMPL(sceDisplayWaitSetFrameBuf) +BRIDGE_IMPL(sceDisplayWaitSetFrameBufCB) +BRIDGE_IMPL(sceDisplayWaitSetFrameBufMulti) +BRIDGE_IMPL(sceDisplayWaitSetFrameBufMultiCB) +BRIDGE_IMPL(sceDisplayWaitVblankStart) +BRIDGE_IMPL(sceDisplayWaitVblankStartCB) +BRIDGE_IMPL(sceDisplayWaitVblankStartMulti) +BRIDGE_IMPL(sceDisplayWaitVblankStartMultiCB) diff --git a/src/emulator/modules/SceDisplay/src/SceDisplayUser.cpp b/src/emulator/modules/SceDisplay/src/SceDisplayUser.cpp new file mode 100644 index 000000000..28b1ec38c --- /dev/null +++ b/src/emulator/modules/SceDisplay/src/SceDisplayUser.cpp @@ -0,0 +1,99 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include +#include +#include + +#include + +static bool SAVE_SURFACE_IMAGES = false; + +namespace emu { + struct SceDisplayFrameBuf { + uint32_t size = 0; + Ptr base; + uint32_t pitch = 0; + uint32_t pixelformat = SCE_DISPLAY_PIXELFORMAT_A8B8G8R8; + uint32_t width = 0; + uint32_t height = 0; + }; +} + +using namespace emu; + +EXPORT(int, sceDisplayGetFrameBuf) { + return unimplemented("sceDisplayGetFrameBuf"); +} + +EXPORT(int, sceDisplaySetFrameBuf, const emu::SceDisplayFrameBuf *pParam, SceDisplaySetBufSync sync) { + typedef std::unique_ptr SurfacePtr; + + const MemState &mem = host.mem; + assert(pParam != nullptr); + assert(pParam->size == sizeof(emu::SceDisplayFrameBuf)); + assert(pParam->base); + assert(pParam->pitch >= pParam->width); + assert(pParam->pixelformat == SCE_DISPLAY_PIXELFORMAT_A8B8G8R8); + assert(pParam->width == 960); + assert(pParam->height == 544); + assert(sync == SCE_DISPLAY_SETBUF_NEXTFRAME); + + SDL_Window *const prev_gl_window = SDL_GL_GetCurrentWindow(); + const SDL_GLContext prev_gl_context = SDL_GL_GetCurrentContext(); + + // TODO SLOW + void *const pixels = pParam->base.cast().get(mem); + const SurfacePtr framebuffer_surface(SDL_CreateRGBSurfaceFrom(pixels, pParam->width, pParam->height, 32, pParam->pitch * 4, 0xff << 0, 0xff << 8, 0xff << 16, 0), SDL_FreeSurface); + if (SAVE_SURFACE_IMAGES) { + SDL_SaveBMP(framebuffer_surface.get(), (host.pref_path + "framebuffer.bmp").c_str()); + } + SDL_Surface *const window_surface = SDL_GetWindowSurface(host.window.get()); + SDL_UpperBlit(framebuffer_surface.get(), nullptr, window_surface, nullptr); + if (SAVE_SURFACE_IMAGES) { + SDL_LockSurface(window_surface); + SDL_SaveBMP(window_surface, (host.pref_path + "window.bmp").c_str()); + SDL_UnlockSurface(window_surface); + } + SDL_UpdateWindowSurface(host.window.get()); + + SDL_GL_MakeCurrent(prev_gl_window, prev_gl_context); + + ++host.frame_count; + const uint32_t t2 = SDL_GetTicks(); + const uint32_t ms = t2 - host.t1; + if (ms >= 1000) { + const uint32_t fps = (host.frame_count * 1000) / ms; + const uint32_t ms_per_frame = ms / host.frame_count; + std::ostringstream title; + title << window_title << " - " << ms_per_frame << " ms/frame (" << fps << " frames/sec)"; + SDL_SetWindowTitle(host.window.get(), title.str().c_str()); + host.t1 = t2; + host.frame_count = 0; + } + + MicroProfileFlip(nullptr); + + return SCE_DISPLAY_ERROR_OK; +} + +BRIDGE_IMPL(sceDisplayGetFrameBuf) +BRIDGE_IMPL(sceDisplaySetFrameBuf) diff --git a/src/emulator/modules/SceFace/CMakeLists.txt b/src/emulator/modules/SceFace/CMakeLists.txt new file mode 100644 index 000000000..3240ef33a --- /dev/null +++ b/src/emulator/modules/SceFace/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceFace STATIC include/SceFace/exports.h src/SceFace.cpp) +target_include_directories(SceFace PUBLIC include) +target_link_libraries(SceFace PRIVATE module) diff --git a/src/emulator/modules/SceFace/include/SceFace/exports.h b/src/emulator/modules/SceFace/include/SceFace/exports.h new file mode 100644 index 000000000..81be8573f --- /dev/null +++ b/src/emulator/modules/SceFace/include/SceFace/exports.h @@ -0,0 +1,45 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceFace +BRIDGE_DECL(sceFaceAgeGetWorkingMemorySize) +BRIDGE_DECL(sceFaceAgeRangeEstimate) +BRIDGE_DECL(sceFaceAgeRangeIntegrate) +BRIDGE_DECL(sceFaceAllParts) +BRIDGE_DECL(sceFaceAllPartsGetWorkingMemorySize) +BRIDGE_DECL(sceFaceAttribute) +BRIDGE_DECL(sceFaceAttributeGetWorkingMemorySize) +BRIDGE_DECL(sceFaceDetection) +BRIDGE_DECL(sceFaceDetectionEx) +BRIDGE_DECL(sceFaceDetectionGetDefaultParam) +BRIDGE_DECL(sceFaceDetectionGetWorkingMemorySize) +BRIDGE_DECL(sceFaceDetectionLocal) +BRIDGE_DECL(sceFaceEstimatePoseRegion) +BRIDGE_DECL(sceFaceIdentifyGetFeature) +BRIDGE_DECL(sceFaceIdentifyGetWorkingMemorySize) +BRIDGE_DECL(sceFaceIdentifySimilarity) +BRIDGE_DECL(sceFaceParts) +BRIDGE_DECL(sceFacePartsEx) +BRIDGE_DECL(sceFacePartsGetWorkingMemorySize) +BRIDGE_DECL(sceFacePartsResultCheck) +BRIDGE_DECL(sceFaceShapeFit) +BRIDGE_DECL(sceFaceShapeGetWorkingMemorySize) +BRIDGE_DECL(sceFaceShapeTrack) diff --git a/src/emulator/modules/SceFace/src/SceFace.cpp b/src/emulator/modules/SceFace/src/SceFace.cpp new file mode 100644 index 000000000..42d4f4cb3 --- /dev/null +++ b/src/emulator/modules/SceFace/src/SceFace.cpp @@ -0,0 +1,134 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceFaceAgeGetWorkingMemorySize) { + return unimplemented("sceFaceAgeGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceAgeRangeEstimate) { + return unimplemented("sceFaceAgeRangeEstimate"); +} + +EXPORT(int, sceFaceAgeRangeIntegrate) { + return unimplemented("sceFaceAgeRangeIntegrate"); +} + +EXPORT(int, sceFaceAllParts) { + return unimplemented("sceFaceAllParts"); +} + +EXPORT(int, sceFaceAllPartsGetWorkingMemorySize) { + return unimplemented("sceFaceAllPartsGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceAttribute) { + return unimplemented("sceFaceAttribute"); +} + +EXPORT(int, sceFaceAttributeGetWorkingMemorySize) { + return unimplemented("sceFaceAttributeGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceDetection) { + return unimplemented("sceFaceDetection"); +} + +EXPORT(int, sceFaceDetectionEx) { + return unimplemented("sceFaceDetectionEx"); +} + +EXPORT(int, sceFaceDetectionGetDefaultParam) { + return unimplemented("sceFaceDetectionGetDefaultParam"); +} + +EXPORT(int, sceFaceDetectionGetWorkingMemorySize) { + return unimplemented("sceFaceDetectionGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceDetectionLocal) { + return unimplemented("sceFaceDetectionLocal"); +} + +EXPORT(int, sceFaceEstimatePoseRegion) { + return unimplemented("sceFaceEstimatePoseRegion"); +} + +EXPORT(int, sceFaceIdentifyGetFeature) { + return unimplemented("sceFaceIdentifyGetFeature"); +} + +EXPORT(int, sceFaceIdentifyGetWorkingMemorySize) { + return unimplemented("sceFaceIdentifyGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceIdentifySimilarity) { + return unimplemented("sceFaceIdentifySimilarity"); +} + +EXPORT(int, sceFaceParts) { + return unimplemented("sceFaceParts"); +} + +EXPORT(int, sceFacePartsEx) { + return unimplemented("sceFacePartsEx"); +} + +EXPORT(int, sceFacePartsGetWorkingMemorySize) { + return unimplemented("sceFacePartsGetWorkingMemorySize"); +} + +EXPORT(int, sceFacePartsResultCheck) { + return unimplemented("sceFacePartsResultCheck"); +} + +EXPORT(int, sceFaceShapeFit) { + return unimplemented("sceFaceShapeFit"); +} + +EXPORT(int, sceFaceShapeGetWorkingMemorySize) { + return unimplemented("sceFaceShapeGetWorkingMemorySize"); +} + +EXPORT(int, sceFaceShapeTrack) { + return unimplemented("sceFaceShapeTrack"); +} + +BRIDGE_IMPL(sceFaceAgeGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceAgeRangeEstimate) +BRIDGE_IMPL(sceFaceAgeRangeIntegrate) +BRIDGE_IMPL(sceFaceAllParts) +BRIDGE_IMPL(sceFaceAllPartsGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceAttribute) +BRIDGE_IMPL(sceFaceAttributeGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceDetection) +BRIDGE_IMPL(sceFaceDetectionEx) +BRIDGE_IMPL(sceFaceDetectionGetDefaultParam) +BRIDGE_IMPL(sceFaceDetectionGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceDetectionLocal) +BRIDGE_IMPL(sceFaceEstimatePoseRegion) +BRIDGE_IMPL(sceFaceIdentifyGetFeature) +BRIDGE_IMPL(sceFaceIdentifyGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceIdentifySimilarity) +BRIDGE_IMPL(sceFaceParts) +BRIDGE_IMPL(sceFacePartsEx) +BRIDGE_IMPL(sceFacePartsGetWorkingMemorySize) +BRIDGE_IMPL(sceFacePartsResultCheck) +BRIDGE_IMPL(sceFaceShapeFit) +BRIDGE_IMPL(sceFaceShapeGetWorkingMemorySize) +BRIDGE_IMPL(sceFaceShapeTrack) diff --git a/src/emulator/modules/SceFiber/CMakeLists.txt b/src/emulator/modules/SceFiber/CMakeLists.txt new file mode 100644 index 000000000..13c1f60ec --- /dev/null +++ b/src/emulator/modules/SceFiber/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceFiber STATIC include/SceFiber/exports.h src/SceFiber.cpp) +target_include_directories(SceFiber PUBLIC include) +target_link_libraries(SceFiber PRIVATE module) diff --git a/src/emulator/modules/SceFiber/include/SceFiber/exports.h b/src/emulator/modules/SceFiber/include/SceFiber/exports.h new file mode 100644 index 000000000..c5cb674fe --- /dev/null +++ b/src/emulator/modules/SceFiber/include/SceFiber/exports.h @@ -0,0 +1,38 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceFiber +BRIDGE_DECL(_sceFiberAttachContextAndRun) +BRIDGE_DECL(_sceFiberAttachContextAndSwitch) +BRIDGE_DECL(_sceFiberInitializeImpl) +BRIDGE_DECL(_sceFiberInitializeWithInternalOptionImpl) +BRIDGE_DECL(sceFiberFinalize) +BRIDGE_DECL(sceFiberGetInfo) +BRIDGE_DECL(sceFiberGetSelf) +BRIDGE_DECL(sceFiberOptParamInitialize) +BRIDGE_DECL(sceFiberPopUserMarkerWithHud) +BRIDGE_DECL(sceFiberPushUserMarkerWithHud) +BRIDGE_DECL(sceFiberRenameSelf) +BRIDGE_DECL(sceFiberReturnToThread) +BRIDGE_DECL(sceFiberRun) +BRIDGE_DECL(sceFiberStartContextSizeCheck) +BRIDGE_DECL(sceFiberStopContextSizeCheck) +BRIDGE_DECL(sceFiberSwitch) diff --git a/src/emulator/modules/SceFiber/src/SceFiber.cpp b/src/emulator/modules/SceFiber/src/SceFiber.cpp new file mode 100644 index 000000000..9d8afb88b --- /dev/null +++ b/src/emulator/modules/SceFiber/src/SceFiber.cpp @@ -0,0 +1,99 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceFiberAttachContextAndRun) { + return unimplemented("_sceFiberAttachContextAndRun"); +} + +EXPORT(int, _sceFiberAttachContextAndSwitch) { + return unimplemented("_sceFiberAttachContextAndSwitch"); +} + +EXPORT(int, _sceFiberInitializeImpl) { + return unimplemented("_sceFiberInitializeImpl"); +} + +EXPORT(int, _sceFiberInitializeWithInternalOptionImpl) { + return unimplemented("_sceFiberInitializeWithInternalOptionImpl"); +} + +EXPORT(int, sceFiberFinalize) { + return unimplemented("sceFiberFinalize"); +} + +EXPORT(int, sceFiberGetInfo) { + return unimplemented("sceFiberGetInfo"); +} + +EXPORT(int, sceFiberGetSelf) { + return unimplemented("sceFiberGetSelf"); +} + +EXPORT(int, sceFiberOptParamInitialize) { + return unimplemented("sceFiberOptParamInitialize"); +} + +EXPORT(int, sceFiberPopUserMarkerWithHud) { + return unimplemented("sceFiberPopUserMarkerWithHud"); +} + +EXPORT(int, sceFiberPushUserMarkerWithHud) { + return unimplemented("sceFiberPushUserMarkerWithHud"); +} + +EXPORT(int, sceFiberRenameSelf) { + return unimplemented("sceFiberRenameSelf"); +} + +EXPORT(int, sceFiberReturnToThread) { + return unimplemented("sceFiberReturnToThread"); +} + +EXPORT(int, sceFiberRun) { + return unimplemented("sceFiberRun"); +} + +EXPORT(int, sceFiberStartContextSizeCheck) { + return unimplemented("sceFiberStartContextSizeCheck"); +} + +EXPORT(int, sceFiberStopContextSizeCheck) { + return unimplemented("sceFiberStopContextSizeCheck"); +} + +EXPORT(int, sceFiberSwitch) { + return unimplemented("sceFiberSwitch"); +} + +BRIDGE_IMPL(_sceFiberAttachContextAndRun) +BRIDGE_IMPL(_sceFiberAttachContextAndSwitch) +BRIDGE_IMPL(_sceFiberInitializeImpl) +BRIDGE_IMPL(_sceFiberInitializeWithInternalOptionImpl) +BRIDGE_IMPL(sceFiberFinalize) +BRIDGE_IMPL(sceFiberGetInfo) +BRIDGE_IMPL(sceFiberGetSelf) +BRIDGE_IMPL(sceFiberOptParamInitialize) +BRIDGE_IMPL(sceFiberPopUserMarkerWithHud) +BRIDGE_IMPL(sceFiberPushUserMarkerWithHud) +BRIDGE_IMPL(sceFiberRenameSelf) +BRIDGE_IMPL(sceFiberReturnToThread) +BRIDGE_IMPL(sceFiberRun) +BRIDGE_IMPL(sceFiberStartContextSizeCheck) +BRIDGE_IMPL(sceFiberStopContextSizeCheck) +BRIDGE_IMPL(sceFiberSwitch) diff --git a/src/emulator/modules/SceFios2/CMakeLists.txt b/src/emulator/modules/SceFios2/CMakeLists.txt new file mode 100644 index 000000000..b75ddddc0 --- /dev/null +++ b/src/emulator/modules/SceFios2/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceFios2 STATIC include/SceFios2/exports.h src/SceFios2.cpp) +target_include_directories(SceFios2 PUBLIC include) +target_link_libraries(SceFios2 PRIVATE module) diff --git a/src/emulator/modules/SceFios2/include/SceFios2/exports.h b/src/emulator/modules/SceFios2/include/SceFios2/exports.h new file mode 100644 index 000000000..67cdc8904 --- /dev/null +++ b/src/emulator/modules/SceFios2/include/SceFios2/exports.h @@ -0,0 +1,172 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceFios2 +BRIDGE_DECL(sceFiosArchiveGetDecompressorThreadCount) +BRIDGE_DECL(sceFiosArchiveGetMountBufferSize) +BRIDGE_DECL(sceFiosArchiveGetMountBufferSizeSync) +BRIDGE_DECL(sceFiosArchiveMount) +BRIDGE_DECL(sceFiosArchiveMountSync) +BRIDGE_DECL(sceFiosArchiveSetDecompressorThreadCount) +BRIDGE_DECL(sceFiosArchiveUnmount) +BRIDGE_DECL(sceFiosArchiveUnmountSync) +BRIDGE_DECL(sceFiosCancelAllOps) +BRIDGE_DECL(sceFiosChangeStat) +BRIDGE_DECL(sceFiosChangeStatSync) +BRIDGE_DECL(sceFiosCloseAllFiles) +BRIDGE_DECL(sceFiosDHClose) +BRIDGE_DECL(sceFiosDHCloseSync) +BRIDGE_DECL(sceFiosDHGetPath) +BRIDGE_DECL(sceFiosDHOpen) +BRIDGE_DECL(sceFiosDHOpenSync) +BRIDGE_DECL(sceFiosDHRead) +BRIDGE_DECL(sceFiosDHReadSync) +BRIDGE_DECL(sceFiosDateFromComponents) +BRIDGE_DECL(sceFiosDateFromSceDateTime) +BRIDGE_DECL(sceFiosDateGetCurrent) +BRIDGE_DECL(sceFiosDateToComponents) +BRIDGE_DECL(sceFiosDateToSceDateTime) +BRIDGE_DECL(sceFiosDebugDumpDH) +BRIDGE_DECL(sceFiosDebugDumpDate) +BRIDGE_DECL(sceFiosDebugDumpError) +BRIDGE_DECL(sceFiosDebugDumpFH) +BRIDGE_DECL(sceFiosDebugDumpOp) +BRIDGE_DECL(sceFiosDelete) +BRIDGE_DECL(sceFiosDeleteSync) +BRIDGE_DECL(sceFiosDevctl) +BRIDGE_DECL(sceFiosDevctlSync) +BRIDGE_DECL(sceFiosDirectoryCreate) +BRIDGE_DECL(sceFiosDirectoryCreateSync) +BRIDGE_DECL(sceFiosDirectoryCreateWithMode) +BRIDGE_DECL(sceFiosDirectoryCreateWithModeSync) +BRIDGE_DECL(sceFiosDirectoryDelete) +BRIDGE_DECL(sceFiosDirectoryDeleteSync) +BRIDGE_DECL(sceFiosDirectoryExists) +BRIDGE_DECL(sceFiosDirectoryExistsSync) +BRIDGE_DECL(sceFiosExists) +BRIDGE_DECL(sceFiosExistsSync) +BRIDGE_DECL(sceFiosFHClose) +BRIDGE_DECL(sceFiosFHCloseSync) +BRIDGE_DECL(sceFiosFHGetOpenParams) +BRIDGE_DECL(sceFiosFHGetPath) +BRIDGE_DECL(sceFiosFHGetSize) +BRIDGE_DECL(sceFiosFHIoctl) +BRIDGE_DECL(sceFiosFHIoctlSync) +BRIDGE_DECL(sceFiosFHOpen) +BRIDGE_DECL(sceFiosFHOpenSync) +BRIDGE_DECL(sceFiosFHOpenWithMode) +BRIDGE_DECL(sceFiosFHOpenWithModeSync) +BRIDGE_DECL(sceFiosFHPread) +BRIDGE_DECL(sceFiosFHPreadSync) +BRIDGE_DECL(sceFiosFHPreadv) +BRIDGE_DECL(sceFiosFHPreadvSync) +BRIDGE_DECL(sceFiosFHPwrite) +BRIDGE_DECL(sceFiosFHPwriteSync) +BRIDGE_DECL(sceFiosFHPwritev) +BRIDGE_DECL(sceFiosFHPwritevSync) +BRIDGE_DECL(sceFiosFHRead) +BRIDGE_DECL(sceFiosFHReadSync) +BRIDGE_DECL(sceFiosFHReadv) +BRIDGE_DECL(sceFiosFHReadvSync) +BRIDGE_DECL(sceFiosFHSeek) +BRIDGE_DECL(sceFiosFHStat) +BRIDGE_DECL(sceFiosFHStatSync) +BRIDGE_DECL(sceFiosFHSync) +BRIDGE_DECL(sceFiosFHSyncSync) +BRIDGE_DECL(sceFiosFHTell) +BRIDGE_DECL(sceFiosFHTruncate) +BRIDGE_DECL(sceFiosFHTruncateSync) +BRIDGE_DECL(sceFiosFHWrite) +BRIDGE_DECL(sceFiosFHWriteSync) +BRIDGE_DECL(sceFiosFHWritev) +BRIDGE_DECL(sceFiosFHWritevSync) +BRIDGE_DECL(sceFiosFileDelete) +BRIDGE_DECL(sceFiosFileDeleteSync) +BRIDGE_DECL(sceFiosFileExists) +BRIDGE_DECL(sceFiosFileExistsSync) +BRIDGE_DECL(sceFiosFileGetSize) +BRIDGE_DECL(sceFiosFileGetSizeSync) +BRIDGE_DECL(sceFiosFileRead) +BRIDGE_DECL(sceFiosFileReadSync) +BRIDGE_DECL(sceFiosFileTruncate) +BRIDGE_DECL(sceFiosFileTruncateSync) +BRIDGE_DECL(sceFiosFileWrite) +BRIDGE_DECL(sceFiosFileWriteSync) +BRIDGE_DECL(sceFiosGetAllDHs) +BRIDGE_DECL(sceFiosGetAllFHs) +BRIDGE_DECL(sceFiosGetAllOps) +BRIDGE_DECL(sceFiosGetDefaultOpAttr) +BRIDGE_DECL(sceFiosGetGlobalDefaultOpAttr) +BRIDGE_DECL(sceFiosGetSuspendCount) +BRIDGE_DECL(sceFiosIOFilterAdd) +BRIDGE_DECL(sceFiosIOFilterCache) +BRIDGE_DECL(sceFiosIOFilterGetInfo) +BRIDGE_DECL(sceFiosIOFilterPsarcDearchiver) +BRIDGE_DECL(sceFiosIOFilterRemove) +BRIDGE_DECL(sceFiosInitialize) +BRIDGE_DECL(sceFiosIsIdle) +BRIDGE_DECL(sceFiosIsInitialized) +BRIDGE_DECL(sceFiosIsSuspended) +BRIDGE_DECL(sceFiosIsValidHandle) +BRIDGE_DECL(sceFiosOpCancel) +BRIDGE_DECL(sceFiosOpDelete) +BRIDGE_DECL(sceFiosOpGetActualCount) +BRIDGE_DECL(sceFiosOpGetAttr) +BRIDGE_DECL(sceFiosOpGetBuffer) +BRIDGE_DECL(sceFiosOpGetError) +BRIDGE_DECL(sceFiosOpGetOffset) +BRIDGE_DECL(sceFiosOpGetPath) +BRIDGE_DECL(sceFiosOpGetRequestCount) +BRIDGE_DECL(sceFiosOpIsCancelled) +BRIDGE_DECL(sceFiosOpIsDone) +BRIDGE_DECL(sceFiosOpReschedule) +BRIDGE_DECL(sceFiosOpSyncWait) +BRIDGE_DECL(sceFiosOpSyncWaitForIO) +BRIDGE_DECL(sceFiosOpWait) +BRIDGE_DECL(sceFiosOpWaitUntil) +BRIDGE_DECL(sceFiosOverlayAdd) +BRIDGE_DECL(sceFiosOverlayGetInfo) +BRIDGE_DECL(sceFiosOverlayGetList) +BRIDGE_DECL(sceFiosOverlayModify) +BRIDGE_DECL(sceFiosOverlayRemove) +BRIDGE_DECL(sceFiosOverlayResolveSync) +BRIDGE_DECL(sceFiosPathNormalize) +BRIDGE_DECL(sceFiosPathcmp) +BRIDGE_DECL(sceFiosPathncmp) +BRIDGE_DECL(sceFiosPrintf) +BRIDGE_DECL(sceFiosRename) +BRIDGE_DECL(sceFiosRenameSync) +BRIDGE_DECL(sceFiosResolve) +BRIDGE_DECL(sceFiosResolveSync) +BRIDGE_DECL(sceFiosResume) +BRIDGE_DECL(sceFiosSetGlobalDefaultOpAttr) +BRIDGE_DECL(sceFiosShutdownAndCancelOps) +BRIDGE_DECL(sceFiosStat) +BRIDGE_DECL(sceFiosStatSync) +BRIDGE_DECL(sceFiosSuspend) +BRIDGE_DECL(sceFiosSync) +BRIDGE_DECL(sceFiosSyncSync) +BRIDGE_DECL(sceFiosTerminate) +BRIDGE_DECL(sceFiosTimeGetCurrent) +BRIDGE_DECL(sceFiosTimeIntervalFromNanoseconds) +BRIDGE_DECL(sceFiosTimeIntervalToNanoseconds) +BRIDGE_DECL(sceFiosUpdateParameters) +BRIDGE_DECL(sceFiosVprintf) diff --git a/src/emulator/modules/SceFios2/src/SceFios2.cpp b/src/emulator/modules/SceFios2/src/SceFios2.cpp new file mode 100644 index 000000000..1f1e57e2a --- /dev/null +++ b/src/emulator/modules/SceFios2/src/SceFios2.cpp @@ -0,0 +1,769 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceFiosArchiveGetDecompressorThreadCount) { + return unimplemented("sceFiosArchiveGetDecompressorThreadCount"); +} + +EXPORT(int, sceFiosArchiveGetMountBufferSize) { + return unimplemented("sceFiosArchiveGetMountBufferSize"); +} + +EXPORT(int, sceFiosArchiveGetMountBufferSizeSync) { + return unimplemented("sceFiosArchiveGetMountBufferSizeSync"); +} + +EXPORT(int, sceFiosArchiveMount) { + return unimplemented("sceFiosArchiveMount"); +} + +EXPORT(int, sceFiosArchiveMountSync) { + return unimplemented("sceFiosArchiveMountSync"); +} + +EXPORT(int, sceFiosArchiveSetDecompressorThreadCount) { + return unimplemented("sceFiosArchiveSetDecompressorThreadCount"); +} + +EXPORT(int, sceFiosArchiveUnmount) { + return unimplemented("sceFiosArchiveUnmount"); +} + +EXPORT(int, sceFiosArchiveUnmountSync) { + return unimplemented("sceFiosArchiveUnmountSync"); +} + +EXPORT(int, sceFiosCancelAllOps) { + return unimplemented("sceFiosCancelAllOps"); +} + +EXPORT(int, sceFiosChangeStat) { + return unimplemented("sceFiosChangeStat"); +} + +EXPORT(int, sceFiosChangeStatSync) { + return unimplemented("sceFiosChangeStatSync"); +} + +EXPORT(int, sceFiosCloseAllFiles) { + return unimplemented("sceFiosCloseAllFiles"); +} + +EXPORT(int, sceFiosDHClose) { + return unimplemented("sceFiosDHClose"); +} + +EXPORT(int, sceFiosDHCloseSync) { + return unimplemented("sceFiosDHCloseSync"); +} + +EXPORT(int, sceFiosDHGetPath) { + return unimplemented("sceFiosDHGetPath"); +} + +EXPORT(int, sceFiosDHOpen) { + return unimplemented("sceFiosDHOpen"); +} + +EXPORT(int, sceFiosDHOpenSync) { + return unimplemented("sceFiosDHOpenSync"); +} + +EXPORT(int, sceFiosDHRead) { + return unimplemented("sceFiosDHRead"); +} + +EXPORT(int, sceFiosDHReadSync) { + return unimplemented("sceFiosDHReadSync"); +} + +EXPORT(int, sceFiosDateFromComponents) { + return unimplemented("sceFiosDateFromComponents"); +} + +EXPORT(int, sceFiosDateFromSceDateTime) { + return unimplemented("sceFiosDateFromSceDateTime"); +} + +EXPORT(int, sceFiosDateGetCurrent) { + return unimplemented("sceFiosDateGetCurrent"); +} + +EXPORT(int, sceFiosDateToComponents) { + return unimplemented("sceFiosDateToComponents"); +} + +EXPORT(int, sceFiosDateToSceDateTime) { + return unimplemented("sceFiosDateToSceDateTime"); +} + +EXPORT(int, sceFiosDebugDumpDH) { + return unimplemented("sceFiosDebugDumpDH"); +} + +EXPORT(int, sceFiosDebugDumpDate) { + return unimplemented("sceFiosDebugDumpDate"); +} + +EXPORT(int, sceFiosDebugDumpError) { + return unimplemented("sceFiosDebugDumpError"); +} + +EXPORT(int, sceFiosDebugDumpFH) { + return unimplemented("sceFiosDebugDumpFH"); +} + +EXPORT(int, sceFiosDebugDumpOp) { + return unimplemented("sceFiosDebugDumpOp"); +} + +EXPORT(int, sceFiosDelete) { + return unimplemented("sceFiosDelete"); +} + +EXPORT(int, sceFiosDeleteSync) { + return unimplemented("sceFiosDeleteSync"); +} + +EXPORT(int, sceFiosDevctl) { + return unimplemented("sceFiosDevctl"); +} + +EXPORT(int, sceFiosDevctlSync) { + return unimplemented("sceFiosDevctlSync"); +} + +EXPORT(int, sceFiosDirectoryCreate) { + return unimplemented("sceFiosDirectoryCreate"); +} + +EXPORT(int, sceFiosDirectoryCreateSync) { + return unimplemented("sceFiosDirectoryCreateSync"); +} + +EXPORT(int, sceFiosDirectoryCreateWithMode) { + return unimplemented("sceFiosDirectoryCreateWithMode"); +} + +EXPORT(int, sceFiosDirectoryCreateWithModeSync) { + return unimplemented("sceFiosDirectoryCreateWithModeSync"); +} + +EXPORT(int, sceFiosDirectoryDelete) { + return unimplemented("sceFiosDirectoryDelete"); +} + +EXPORT(int, sceFiosDirectoryDeleteSync) { + return unimplemented("sceFiosDirectoryDeleteSync"); +} + +EXPORT(int, sceFiosDirectoryExists) { + return unimplemented("sceFiosDirectoryExists"); +} + +EXPORT(int, sceFiosDirectoryExistsSync) { + return unimplemented("sceFiosDirectoryExistsSync"); +} + +EXPORT(int, sceFiosExists) { + return unimplemented("sceFiosExists"); +} + +EXPORT(int, sceFiosExistsSync) { + return unimplemented("sceFiosExistsSync"); +} + +EXPORT(int, sceFiosFHClose) { + return unimplemented("sceFiosFHClose"); +} + +EXPORT(int, sceFiosFHCloseSync) { + return unimplemented("sceFiosFHCloseSync"); +} + +EXPORT(int, sceFiosFHGetOpenParams) { + return unimplemented("sceFiosFHGetOpenParams"); +} + +EXPORT(int, sceFiosFHGetPath) { + return unimplemented("sceFiosFHGetPath"); +} + +EXPORT(int, sceFiosFHGetSize) { + return unimplemented("sceFiosFHGetSize"); +} + +EXPORT(int, sceFiosFHIoctl) { + return unimplemented("sceFiosFHIoctl"); +} + +EXPORT(int, sceFiosFHIoctlSync) { + return unimplemented("sceFiosFHIoctlSync"); +} + +EXPORT(int, sceFiosFHOpen) { + return unimplemented("sceFiosFHOpen"); +} + +EXPORT(int, sceFiosFHOpenSync) { + return unimplemented("sceFiosFHOpenSync"); +} + +EXPORT(int, sceFiosFHOpenWithMode) { + return unimplemented("sceFiosFHOpenWithMode"); +} + +EXPORT(int, sceFiosFHOpenWithModeSync) { + return unimplemented("sceFiosFHOpenWithModeSync"); +} + +EXPORT(int, sceFiosFHPread) { + return unimplemented("sceFiosFHPread"); +} + +EXPORT(int, sceFiosFHPreadSync) { + return unimplemented("sceFiosFHPreadSync"); +} + +EXPORT(int, sceFiosFHPreadv) { + return unimplemented("sceFiosFHPreadv"); +} + +EXPORT(int, sceFiosFHPreadvSync) { + return unimplemented("sceFiosFHPreadvSync"); +} + +EXPORT(int, sceFiosFHPwrite) { + return unimplemented("sceFiosFHPwrite"); +} + +EXPORT(int, sceFiosFHPwriteSync) { + return unimplemented("sceFiosFHPwriteSync"); +} + +EXPORT(int, sceFiosFHPwritev) { + return unimplemented("sceFiosFHPwritev"); +} + +EXPORT(int, sceFiosFHPwritevSync) { + return unimplemented("sceFiosFHPwritevSync"); +} + +EXPORT(int, sceFiosFHRead) { + return unimplemented("sceFiosFHRead"); +} + +EXPORT(int, sceFiosFHReadSync) { + return unimplemented("sceFiosFHReadSync"); +} + +EXPORT(int, sceFiosFHReadv) { + return unimplemented("sceFiosFHReadv"); +} + +EXPORT(int, sceFiosFHReadvSync) { + return unimplemented("sceFiosFHReadvSync"); +} + +EXPORT(int, sceFiosFHSeek) { + return unimplemented("sceFiosFHSeek"); +} + +EXPORT(int, sceFiosFHStat) { + return unimplemented("sceFiosFHStat"); +} + +EXPORT(int, sceFiosFHStatSync) { + return unimplemented("sceFiosFHStatSync"); +} + +EXPORT(int, sceFiosFHSync) { + return unimplemented("sceFiosFHSync"); +} + +EXPORT(int, sceFiosFHSyncSync) { + return unimplemented("sceFiosFHSyncSync"); +} + +EXPORT(int, sceFiosFHTell) { + return unimplemented("sceFiosFHTell"); +} + +EXPORT(int, sceFiosFHTruncate) { + return unimplemented("sceFiosFHTruncate"); +} + +EXPORT(int, sceFiosFHTruncateSync) { + return unimplemented("sceFiosFHTruncateSync"); +} + +EXPORT(int, sceFiosFHWrite) { + return unimplemented("sceFiosFHWrite"); +} + +EXPORT(int, sceFiosFHWriteSync) { + return unimplemented("sceFiosFHWriteSync"); +} + +EXPORT(int, sceFiosFHWritev) { + return unimplemented("sceFiosFHWritev"); +} + +EXPORT(int, sceFiosFHWritevSync) { + return unimplemented("sceFiosFHWritevSync"); +} + +EXPORT(int, sceFiosFileDelete) { + return unimplemented("sceFiosFileDelete"); +} + +EXPORT(int, sceFiosFileDeleteSync) { + return unimplemented("sceFiosFileDeleteSync"); +} + +EXPORT(int, sceFiosFileExists) { + return unimplemented("sceFiosFileExists"); +} + +EXPORT(int, sceFiosFileExistsSync) { + return unimplemented("sceFiosFileExistsSync"); +} + +EXPORT(int, sceFiosFileGetSize) { + return unimplemented("sceFiosFileGetSize"); +} + +EXPORT(int, sceFiosFileGetSizeSync) { + return unimplemented("sceFiosFileGetSizeSync"); +} + +EXPORT(int, sceFiosFileRead) { + return unimplemented("sceFiosFileRead"); +} + +EXPORT(int, sceFiosFileReadSync) { + return unimplemented("sceFiosFileReadSync"); +} + +EXPORT(int, sceFiosFileTruncate) { + return unimplemented("sceFiosFileTruncate"); +} + +EXPORT(int, sceFiosFileTruncateSync) { + return unimplemented("sceFiosFileTruncateSync"); +} + +EXPORT(int, sceFiosFileWrite) { + return unimplemented("sceFiosFileWrite"); +} + +EXPORT(int, sceFiosFileWriteSync) { + return unimplemented("sceFiosFileWriteSync"); +} + +EXPORT(int, sceFiosGetAllDHs) { + return unimplemented("sceFiosGetAllDHs"); +} + +EXPORT(int, sceFiosGetAllFHs) { + return unimplemented("sceFiosGetAllFHs"); +} + +EXPORT(int, sceFiosGetAllOps) { + return unimplemented("sceFiosGetAllOps"); +} + +EXPORT(int, sceFiosGetDefaultOpAttr) { + return unimplemented("sceFiosGetDefaultOpAttr"); +} + +EXPORT(int, sceFiosGetGlobalDefaultOpAttr) { + return unimplemented("sceFiosGetGlobalDefaultOpAttr"); +} + +EXPORT(int, sceFiosGetSuspendCount) { + return unimplemented("sceFiosGetSuspendCount"); +} + +EXPORT(int, sceFiosIOFilterAdd) { + return unimplemented("sceFiosIOFilterAdd"); +} + +EXPORT(int, sceFiosIOFilterCache) { + return unimplemented("sceFiosIOFilterCache"); +} + +EXPORT(int, sceFiosIOFilterGetInfo) { + return unimplemented("sceFiosIOFilterGetInfo"); +} + +EXPORT(int, sceFiosIOFilterPsarcDearchiver) { + return unimplemented("sceFiosIOFilterPsarcDearchiver"); +} + +EXPORT(int, sceFiosIOFilterRemove) { + return unimplemented("sceFiosIOFilterRemove"); +} + +EXPORT(int, sceFiosInitialize) { + return unimplemented("sceFiosInitialize"); +} + +EXPORT(int, sceFiosIsIdle) { + return unimplemented("sceFiosIsIdle"); +} + +EXPORT(int, sceFiosIsInitialized) { + return unimplemented("sceFiosIsInitialized"); +} + +EXPORT(int, sceFiosIsSuspended) { + return unimplemented("sceFiosIsSuspended"); +} + +EXPORT(int, sceFiosIsValidHandle) { + return unimplemented("sceFiosIsValidHandle"); +} + +EXPORT(int, sceFiosOpCancel) { + return unimplemented("sceFiosOpCancel"); +} + +EXPORT(int, sceFiosOpDelete) { + return unimplemented("sceFiosOpDelete"); +} + +EXPORT(int, sceFiosOpGetActualCount) { + return unimplemented("sceFiosOpGetActualCount"); +} + +EXPORT(int, sceFiosOpGetAttr) { + return unimplemented("sceFiosOpGetAttr"); +} + +EXPORT(int, sceFiosOpGetBuffer) { + return unimplemented("sceFiosOpGetBuffer"); +} + +EXPORT(int, sceFiosOpGetError) { + return unimplemented("sceFiosOpGetError"); +} + +EXPORT(int, sceFiosOpGetOffset) { + return unimplemented("sceFiosOpGetOffset"); +} + +EXPORT(int, sceFiosOpGetPath) { + return unimplemented("sceFiosOpGetPath"); +} + +EXPORT(int, sceFiosOpGetRequestCount) { + return unimplemented("sceFiosOpGetRequestCount"); +} + +EXPORT(int, sceFiosOpIsCancelled) { + return unimplemented("sceFiosOpIsCancelled"); +} + +EXPORT(int, sceFiosOpIsDone) { + return unimplemented("sceFiosOpIsDone"); +} + +EXPORT(int, sceFiosOpReschedule) { + return unimplemented("sceFiosOpReschedule"); +} + +EXPORT(int, sceFiosOpSyncWait) { + return unimplemented("sceFiosOpSyncWait"); +} + +EXPORT(int, sceFiosOpSyncWaitForIO) { + return unimplemented("sceFiosOpSyncWaitForIO"); +} + +EXPORT(int, sceFiosOpWait) { + return unimplemented("sceFiosOpWait"); +} + +EXPORT(int, sceFiosOpWaitUntil) { + return unimplemented("sceFiosOpWaitUntil"); +} + +EXPORT(int, sceFiosOverlayAdd) { + return unimplemented("sceFiosOverlayAdd"); +} + +EXPORT(int, sceFiosOverlayGetInfo) { + return unimplemented("sceFiosOverlayGetInfo"); +} + +EXPORT(int, sceFiosOverlayGetList) { + return unimplemented("sceFiosOverlayGetList"); +} + +EXPORT(int, sceFiosOverlayModify) { + return unimplemented("sceFiosOverlayModify"); +} + +EXPORT(int, sceFiosOverlayRemove) { + return unimplemented("sceFiosOverlayRemove"); +} + +EXPORT(int, sceFiosOverlayResolveSync) { + return unimplemented("sceFiosOverlayResolveSync"); +} + +EXPORT(int, sceFiosPathNormalize) { + return unimplemented("sceFiosPathNormalize"); +} + +EXPORT(int, sceFiosPathcmp) { + return unimplemented("sceFiosPathcmp"); +} + +EXPORT(int, sceFiosPathncmp) { + return unimplemented("sceFiosPathncmp"); +} + +EXPORT(int, sceFiosPrintf) { + return unimplemented("sceFiosPrintf"); +} + +EXPORT(int, sceFiosRename) { + return unimplemented("sceFiosRename"); +} + +EXPORT(int, sceFiosRenameSync) { + return unimplemented("sceFiosRenameSync"); +} + +EXPORT(int, sceFiosResolve) { + return unimplemented("sceFiosResolve"); +} + +EXPORT(int, sceFiosResolveSync) { + return unimplemented("sceFiosResolveSync"); +} + +EXPORT(int, sceFiosResume) { + return unimplemented("sceFiosResume"); +} + +EXPORT(int, sceFiosSetGlobalDefaultOpAttr) { + return unimplemented("sceFiosSetGlobalDefaultOpAttr"); +} + +EXPORT(int, sceFiosShutdownAndCancelOps) { + return unimplemented("sceFiosShutdownAndCancelOps"); +} + +EXPORT(int, sceFiosStat) { + return unimplemented("sceFiosStat"); +} + +EXPORT(int, sceFiosStatSync) { + return unimplemented("sceFiosStatSync"); +} + +EXPORT(int, sceFiosSuspend) { + return unimplemented("sceFiosSuspend"); +} + +EXPORT(int, sceFiosSync) { + return unimplemented("sceFiosSync"); +} + +EXPORT(int, sceFiosSyncSync) { + return unimplemented("sceFiosSyncSync"); +} + +EXPORT(int, sceFiosTerminate) { + return unimplemented("sceFiosTerminate"); +} + +EXPORT(int, sceFiosTimeGetCurrent) { + return unimplemented("sceFiosTimeGetCurrent"); +} + +EXPORT(int, sceFiosTimeIntervalFromNanoseconds) { + return unimplemented("sceFiosTimeIntervalFromNanoseconds"); +} + +EXPORT(int, sceFiosTimeIntervalToNanoseconds) { + return unimplemented("sceFiosTimeIntervalToNanoseconds"); +} + +EXPORT(int, sceFiosUpdateParameters) { + return unimplemented("sceFiosUpdateParameters"); +} + +EXPORT(int, sceFiosVprintf) { + return unimplemented("sceFiosVprintf"); +} + +BRIDGE_IMPL(sceFiosArchiveGetDecompressorThreadCount) +BRIDGE_IMPL(sceFiosArchiveGetMountBufferSize) +BRIDGE_IMPL(sceFiosArchiveGetMountBufferSizeSync) +BRIDGE_IMPL(sceFiosArchiveMount) +BRIDGE_IMPL(sceFiosArchiveMountSync) +BRIDGE_IMPL(sceFiosArchiveSetDecompressorThreadCount) +BRIDGE_IMPL(sceFiosArchiveUnmount) +BRIDGE_IMPL(sceFiosArchiveUnmountSync) +BRIDGE_IMPL(sceFiosCancelAllOps) +BRIDGE_IMPL(sceFiosChangeStat) +BRIDGE_IMPL(sceFiosChangeStatSync) +BRIDGE_IMPL(sceFiosCloseAllFiles) +BRIDGE_IMPL(sceFiosDHClose) +BRIDGE_IMPL(sceFiosDHCloseSync) +BRIDGE_IMPL(sceFiosDHGetPath) +BRIDGE_IMPL(sceFiosDHOpen) +BRIDGE_IMPL(sceFiosDHOpenSync) +BRIDGE_IMPL(sceFiosDHRead) +BRIDGE_IMPL(sceFiosDHReadSync) +BRIDGE_IMPL(sceFiosDateFromComponents) +BRIDGE_IMPL(sceFiosDateFromSceDateTime) +BRIDGE_IMPL(sceFiosDateGetCurrent) +BRIDGE_IMPL(sceFiosDateToComponents) +BRIDGE_IMPL(sceFiosDateToSceDateTime) +BRIDGE_IMPL(sceFiosDebugDumpDH) +BRIDGE_IMPL(sceFiosDebugDumpDate) +BRIDGE_IMPL(sceFiosDebugDumpError) +BRIDGE_IMPL(sceFiosDebugDumpFH) +BRIDGE_IMPL(sceFiosDebugDumpOp) +BRIDGE_IMPL(sceFiosDelete) +BRIDGE_IMPL(sceFiosDeleteSync) +BRIDGE_IMPL(sceFiosDevctl) +BRIDGE_IMPL(sceFiosDevctlSync) +BRIDGE_IMPL(sceFiosDirectoryCreate) +BRIDGE_IMPL(sceFiosDirectoryCreateSync) +BRIDGE_IMPL(sceFiosDirectoryCreateWithMode) +BRIDGE_IMPL(sceFiosDirectoryCreateWithModeSync) +BRIDGE_IMPL(sceFiosDirectoryDelete) +BRIDGE_IMPL(sceFiosDirectoryDeleteSync) +BRIDGE_IMPL(sceFiosDirectoryExists) +BRIDGE_IMPL(sceFiosDirectoryExistsSync) +BRIDGE_IMPL(sceFiosExists) +BRIDGE_IMPL(sceFiosExistsSync) +BRIDGE_IMPL(sceFiosFHClose) +BRIDGE_IMPL(sceFiosFHCloseSync) +BRIDGE_IMPL(sceFiosFHGetOpenParams) +BRIDGE_IMPL(sceFiosFHGetPath) +BRIDGE_IMPL(sceFiosFHGetSize) +BRIDGE_IMPL(sceFiosFHIoctl) +BRIDGE_IMPL(sceFiosFHIoctlSync) +BRIDGE_IMPL(sceFiosFHOpen) +BRIDGE_IMPL(sceFiosFHOpenSync) +BRIDGE_IMPL(sceFiosFHOpenWithMode) +BRIDGE_IMPL(sceFiosFHOpenWithModeSync) +BRIDGE_IMPL(sceFiosFHPread) +BRIDGE_IMPL(sceFiosFHPreadSync) +BRIDGE_IMPL(sceFiosFHPreadv) +BRIDGE_IMPL(sceFiosFHPreadvSync) +BRIDGE_IMPL(sceFiosFHPwrite) +BRIDGE_IMPL(sceFiosFHPwriteSync) +BRIDGE_IMPL(sceFiosFHPwritev) +BRIDGE_IMPL(sceFiosFHPwritevSync) +BRIDGE_IMPL(sceFiosFHRead) +BRIDGE_IMPL(sceFiosFHReadSync) +BRIDGE_IMPL(sceFiosFHReadv) +BRIDGE_IMPL(sceFiosFHReadvSync) +BRIDGE_IMPL(sceFiosFHSeek) +BRIDGE_IMPL(sceFiosFHStat) +BRIDGE_IMPL(sceFiosFHStatSync) +BRIDGE_IMPL(sceFiosFHSync) +BRIDGE_IMPL(sceFiosFHSyncSync) +BRIDGE_IMPL(sceFiosFHTell) +BRIDGE_IMPL(sceFiosFHTruncate) +BRIDGE_IMPL(sceFiosFHTruncateSync) +BRIDGE_IMPL(sceFiosFHWrite) +BRIDGE_IMPL(sceFiosFHWriteSync) +BRIDGE_IMPL(sceFiosFHWritev) +BRIDGE_IMPL(sceFiosFHWritevSync) +BRIDGE_IMPL(sceFiosFileDelete) +BRIDGE_IMPL(sceFiosFileDeleteSync) +BRIDGE_IMPL(sceFiosFileExists) +BRIDGE_IMPL(sceFiosFileExistsSync) +BRIDGE_IMPL(sceFiosFileGetSize) +BRIDGE_IMPL(sceFiosFileGetSizeSync) +BRIDGE_IMPL(sceFiosFileRead) +BRIDGE_IMPL(sceFiosFileReadSync) +BRIDGE_IMPL(sceFiosFileTruncate) +BRIDGE_IMPL(sceFiosFileTruncateSync) +BRIDGE_IMPL(sceFiosFileWrite) +BRIDGE_IMPL(sceFiosFileWriteSync) +BRIDGE_IMPL(sceFiosGetAllDHs) +BRIDGE_IMPL(sceFiosGetAllFHs) +BRIDGE_IMPL(sceFiosGetAllOps) +BRIDGE_IMPL(sceFiosGetDefaultOpAttr) +BRIDGE_IMPL(sceFiosGetGlobalDefaultOpAttr) +BRIDGE_IMPL(sceFiosGetSuspendCount) +BRIDGE_IMPL(sceFiosIOFilterAdd) +BRIDGE_IMPL(sceFiosIOFilterCache) +BRIDGE_IMPL(sceFiosIOFilterGetInfo) +BRIDGE_IMPL(sceFiosIOFilterPsarcDearchiver) +BRIDGE_IMPL(sceFiosIOFilterRemove) +BRIDGE_IMPL(sceFiosInitialize) +BRIDGE_IMPL(sceFiosIsIdle) +BRIDGE_IMPL(sceFiosIsInitialized) +BRIDGE_IMPL(sceFiosIsSuspended) +BRIDGE_IMPL(sceFiosIsValidHandle) +BRIDGE_IMPL(sceFiosOpCancel) +BRIDGE_IMPL(sceFiosOpDelete) +BRIDGE_IMPL(sceFiosOpGetActualCount) +BRIDGE_IMPL(sceFiosOpGetAttr) +BRIDGE_IMPL(sceFiosOpGetBuffer) +BRIDGE_IMPL(sceFiosOpGetError) +BRIDGE_IMPL(sceFiosOpGetOffset) +BRIDGE_IMPL(sceFiosOpGetPath) +BRIDGE_IMPL(sceFiosOpGetRequestCount) +BRIDGE_IMPL(sceFiosOpIsCancelled) +BRIDGE_IMPL(sceFiosOpIsDone) +BRIDGE_IMPL(sceFiosOpReschedule) +BRIDGE_IMPL(sceFiosOpSyncWait) +BRIDGE_IMPL(sceFiosOpSyncWaitForIO) +BRIDGE_IMPL(sceFiosOpWait) +BRIDGE_IMPL(sceFiosOpWaitUntil) +BRIDGE_IMPL(sceFiosOverlayAdd) +BRIDGE_IMPL(sceFiosOverlayGetInfo) +BRIDGE_IMPL(sceFiosOverlayGetList) +BRIDGE_IMPL(sceFiosOverlayModify) +BRIDGE_IMPL(sceFiosOverlayRemove) +BRIDGE_IMPL(sceFiosOverlayResolveSync) +BRIDGE_IMPL(sceFiosPathNormalize) +BRIDGE_IMPL(sceFiosPathcmp) +BRIDGE_IMPL(sceFiosPathncmp) +BRIDGE_IMPL(sceFiosPrintf) +BRIDGE_IMPL(sceFiosRename) +BRIDGE_IMPL(sceFiosRenameSync) +BRIDGE_IMPL(sceFiosResolve) +BRIDGE_IMPL(sceFiosResolveSync) +BRIDGE_IMPL(sceFiosResume) +BRIDGE_IMPL(sceFiosSetGlobalDefaultOpAttr) +BRIDGE_IMPL(sceFiosShutdownAndCancelOps) +BRIDGE_IMPL(sceFiosStat) +BRIDGE_IMPL(sceFiosStatSync) +BRIDGE_IMPL(sceFiosSuspend) +BRIDGE_IMPL(sceFiosSync) +BRIDGE_IMPL(sceFiosSyncSync) +BRIDGE_IMPL(sceFiosTerminate) +BRIDGE_IMPL(sceFiosTimeGetCurrent) +BRIDGE_IMPL(sceFiosTimeIntervalFromNanoseconds) +BRIDGE_IMPL(sceFiosTimeIntervalToNanoseconds) +BRIDGE_IMPL(sceFiosUpdateParameters) +BRIDGE_IMPL(sceFiosVprintf) diff --git a/src/emulator/modules/SceGpuEs4/CMakeLists.txt b/src/emulator/modules/SceGpuEs4/CMakeLists.txt new file mode 100644 index 000000000..9245b0325 --- /dev/null +++ b/src/emulator/modules/SceGpuEs4/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceGpuEs4 STATIC include/SceGpuEs4/exports.h src/SceGpuEs4ForUser.cpp) +target_include_directories(SceGpuEs4 PUBLIC include) +target_link_libraries(SceGpuEs4 PRIVATE module) diff --git a/src/emulator/modules/SceGpuEs4/include/SceGpuEs4/exports.h b/src/emulator/modules/SceGpuEs4/include/SceGpuEs4/exports.h new file mode 100644 index 000000000..bd90f2100 --- /dev/null +++ b/src/emulator/modules/SceGpuEs4/include/SceGpuEs4/exports.h @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceGpuEs4ForUser +BRIDGE_DECL(PVRSRVOpen) +BRIDGE_DECL(PVRSRVRelease) +BRIDGE_DECL(PVRSRV_BridgeDispatchKM) +BRIDGE_DECL(sceGpuRegisterSalvage) +BRIDGE_DECL(sceGpuSignalWait) +BRIDGE_DECL(sceGpuSignalWaitLockup) +BRIDGE_DECL(sceGpuUnregisterSalvage) diff --git a/src/emulator/modules/SceGpuEs4/src/SceGpuEs4ForUser.cpp b/src/emulator/modules/SceGpuEs4/src/SceGpuEs4ForUser.cpp new file mode 100644 index 000000000..e70afe885 --- /dev/null +++ b/src/emulator/modules/SceGpuEs4/src/SceGpuEs4ForUser.cpp @@ -0,0 +1,54 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, PVRSRVOpen) { + return unimplemented("PVRSRVOpen"); +} + +EXPORT(int, PVRSRVRelease) { + return unimplemented("PVRSRVRelease"); +} + +EXPORT(int, PVRSRV_BridgeDispatchKM) { + return unimplemented("PVRSRV_BridgeDispatchKM"); +} + +EXPORT(int, sceGpuRegisterSalvage) { + return unimplemented("sceGpuRegisterSalvage"); +} + +EXPORT(int, sceGpuSignalWait) { + return unimplemented("sceGpuSignalWait"); +} + +EXPORT(int, sceGpuSignalWaitLockup) { + return unimplemented("sceGpuSignalWaitLockup"); +} + +EXPORT(int, sceGpuUnregisterSalvage) { + return unimplemented("sceGpuUnregisterSalvage"); +} + +BRIDGE_IMPL(PVRSRVOpen) +BRIDGE_IMPL(PVRSRVRelease) +BRIDGE_IMPL(PVRSRV_BridgeDispatchKM) +BRIDGE_IMPL(sceGpuRegisterSalvage) +BRIDGE_IMPL(sceGpuSignalWait) +BRIDGE_IMPL(sceGpuSignalWaitLockup) +BRIDGE_IMPL(sceGpuUnregisterSalvage) diff --git a/src/emulator/modules/SceGxm/CMakeLists.txt b/src/emulator/modules/SceGxm/CMakeLists.txt new file mode 100644 index 000000000..de6269245 --- /dev/null +++ b/src/emulator/modules/SceGxm/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceGxm STATIC include/SceGxm/exports.h src/gxm.h src/SceGxm.cpp) +target_include_directories(SceGxm PUBLIC include) +target_link_libraries(SceGxm PRIVATE glutil module) diff --git a/src/emulator/modules/SceGxm/include/SceGxm/exports.h b/src/emulator/modules/SceGxm/include/SceGxm/exports.h new file mode 100644 index 000000000..61a0709c1 --- /dev/null +++ b/src/emulator/modules/SceGxm/include/SceGxm/exports.h @@ -0,0 +1,275 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceGxm +BRIDGE_DECL(sceGxmAddRazorGpuCaptureBuffer) +BRIDGE_DECL(sceGxmBeginCommandList) +BRIDGE_DECL(sceGxmBeginScene) +BRIDGE_DECL(sceGxmBeginSceneEx) +BRIDGE_DECL(sceGxmColorSurfaceGetClip) +BRIDGE_DECL(sceGxmColorSurfaceGetData) +BRIDGE_DECL(sceGxmColorSurfaceGetDitherMode) +BRIDGE_DECL(sceGxmColorSurfaceGetFormat) +BRIDGE_DECL(sceGxmColorSurfaceGetGammaMode) +BRIDGE_DECL(sceGxmColorSurfaceGetScaleMode) +BRIDGE_DECL(sceGxmColorSurfaceGetStrideInPixels) +BRIDGE_DECL(sceGxmColorSurfaceGetType) +BRIDGE_DECL(sceGxmColorSurfaceInit) +BRIDGE_DECL(sceGxmColorSurfaceInitDisabled) +BRIDGE_DECL(sceGxmColorSurfaceIsEnabled) +BRIDGE_DECL(sceGxmColorSurfaceSetClip) +BRIDGE_DECL(sceGxmColorSurfaceSetData) +BRIDGE_DECL(sceGxmColorSurfaceSetDitherMode) +BRIDGE_DECL(sceGxmColorSurfaceSetFormat) +BRIDGE_DECL(sceGxmColorSurfaceSetGammaMode) +BRIDGE_DECL(sceGxmColorSurfaceSetScaleMode) +BRIDGE_DECL(sceGxmCreateContext) +BRIDGE_DECL(sceGxmCreateDeferredContext) +BRIDGE_DECL(sceGxmCreateRenderTarget) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetBackgroundDepth) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetBackgroundMask) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetBackgroundStencil) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetForceLoadMode) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetForceStoreMode) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetFormat) +BRIDGE_DECL(sceGxmDepthStencilSurfaceGetStrideInSamples) +BRIDGE_DECL(sceGxmDepthStencilSurfaceInit) +BRIDGE_DECL(sceGxmDepthStencilSurfaceInitDisabled) +BRIDGE_DECL(sceGxmDepthStencilSurfaceIsEnabled) +BRIDGE_DECL(sceGxmDepthStencilSurfaceSetBackgroundDepth) +BRIDGE_DECL(sceGxmDepthStencilSurfaceSetBackgroundMask) +BRIDGE_DECL(sceGxmDepthStencilSurfaceSetBackgroundStencil) +BRIDGE_DECL(sceGxmDepthStencilSurfaceSetForceLoadMode) +BRIDGE_DECL(sceGxmDepthStencilSurfaceSetForceStoreMode) +BRIDGE_DECL(sceGxmDestroyContext) +BRIDGE_DECL(sceGxmDestroyDeferredContext) +BRIDGE_DECL(sceGxmDestroyRenderTarget) +BRIDGE_DECL(sceGxmDisplayQueueAddEntry) +BRIDGE_DECL(sceGxmDisplayQueueFinish) +BRIDGE_DECL(sceGxmDraw) +BRIDGE_DECL(sceGxmDrawInstanced) +BRIDGE_DECL(sceGxmDrawPrecomputed) +BRIDGE_DECL(sceGxmEndCommandList) +BRIDGE_DECL(sceGxmEndScene) +BRIDGE_DECL(sceGxmExecuteCommandList) +BRIDGE_DECL(sceGxmFinish) +BRIDGE_DECL(sceGxmFragmentProgramGetPassType) +BRIDGE_DECL(sceGxmFragmentProgramGetProgram) +BRIDGE_DECL(sceGxmFragmentProgramIsEnabled) +BRIDGE_DECL(sceGxmGetContextType) +BRIDGE_DECL(sceGxmGetDeferredContextFragmentBuffer) +BRIDGE_DECL(sceGxmGetDeferredContextVdmBuffer) +BRIDGE_DECL(sceGxmGetDeferredContextVertexBuffer) +BRIDGE_DECL(sceGxmGetNotificationRegion) +BRIDGE_DECL(sceGxmGetParameterBufferThreshold) +BRIDGE_DECL(sceGxmGetPrecomputedDrawSize) +BRIDGE_DECL(sceGxmGetPrecomputedFragmentStateSize) +BRIDGE_DECL(sceGxmGetPrecomputedVertexStateSize) +BRIDGE_DECL(sceGxmGetRenderTargetMemSizes) +BRIDGE_DECL(sceGxmInitialize) +BRIDGE_DECL(sceGxmIsDebugVersion) +BRIDGE_DECL(sceGxmMapFragmentUsseMemory) +BRIDGE_DECL(sceGxmMapMemory) +BRIDGE_DECL(sceGxmMapVertexUsseMemory) +BRIDGE_DECL(sceGxmMidSceneFlush) +BRIDGE_DECL(sceGxmNotificationWait) +BRIDGE_DECL(sceGxmPadHeartbeat) +BRIDGE_DECL(sceGxmPopUserMarker) +BRIDGE_DECL(sceGxmPrecomputedDrawInit) +BRIDGE_DECL(sceGxmPrecomputedDrawSetAllVertexStreams) +BRIDGE_DECL(sceGxmPrecomputedDrawSetParams) +BRIDGE_DECL(sceGxmPrecomputedDrawSetParamsInstanced) +BRIDGE_DECL(sceGxmPrecomputedDrawSetVertexStream) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateGetDefaultUniformBuffer) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateInit) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateSetAllTextures) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateSetAllUniformBuffers) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateSetDefaultUniformBuffer) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateSetTexture) +BRIDGE_DECL(sceGxmPrecomputedFragmentStateSetUniformBuffer) +BRIDGE_DECL(sceGxmPrecomputedVertexStateGetDefaultUniformBuffer) +BRIDGE_DECL(sceGxmPrecomputedVertexStateInit) +BRIDGE_DECL(sceGxmPrecomputedVertexStateSetAllTextures) +BRIDGE_DECL(sceGxmPrecomputedVertexStateSetAllUniformBuffers) +BRIDGE_DECL(sceGxmPrecomputedVertexStateSetDefaultUniformBuffer) +BRIDGE_DECL(sceGxmPrecomputedVertexStateSetTexture) +BRIDGE_DECL(sceGxmPrecomputedVertexStateSetUniformBuffer) +BRIDGE_DECL(sceGxmProgramCheck) +BRIDGE_DECL(sceGxmProgramFindParameterByName) +BRIDGE_DECL(sceGxmProgramFindParameterBySemantic) +BRIDGE_DECL(sceGxmProgramGetDefaultUniformBufferSize) +BRIDGE_DECL(sceGxmProgramGetFragmentProgramInputs) +BRIDGE_DECL(sceGxmProgramGetOutputRegisterFormat) +BRIDGE_DECL(sceGxmProgramGetParameter) +BRIDGE_DECL(sceGxmProgramGetParameterCount) +BRIDGE_DECL(sceGxmProgramGetSize) +BRIDGE_DECL(sceGxmProgramGetType) +BRIDGE_DECL(sceGxmProgramGetVertexProgramOutputs) +BRIDGE_DECL(sceGxmProgramIsDepthReplaceUsed) +BRIDGE_DECL(sceGxmProgramIsDiscardUsed) +BRIDGE_DECL(sceGxmProgramIsEquivalent) +BRIDGE_DECL(sceGxmProgramIsFragColorUsed) +BRIDGE_DECL(sceGxmProgramIsNativeColorUsed) +BRIDGE_DECL(sceGxmProgramIsSpriteCoordUsed) +BRIDGE_DECL(sceGxmProgramParameterGetArraySize) +BRIDGE_DECL(sceGxmProgramParameterGetCategory) +BRIDGE_DECL(sceGxmProgramParameterGetComponentCount) +BRIDGE_DECL(sceGxmProgramParameterGetContainerIndex) +BRIDGE_DECL(sceGxmProgramParameterGetIndex) +BRIDGE_DECL(sceGxmProgramParameterGetName) +BRIDGE_DECL(sceGxmProgramParameterGetResourceIndex) +BRIDGE_DECL(sceGxmProgramParameterGetSemantic) +BRIDGE_DECL(sceGxmProgramParameterGetSemanticIndex) +BRIDGE_DECL(sceGxmProgramParameterGetType) +BRIDGE_DECL(sceGxmProgramParameterIsRegFormat) +BRIDGE_DECL(sceGxmProgramParameterIsSamplerCube) +BRIDGE_DECL(sceGxmPushUserMarker) +BRIDGE_DECL(sceGxmRemoveRazorGpuCaptureBuffer) +BRIDGE_DECL(sceGxmRenderTargetGetDriverMemBlock) +BRIDGE_DECL(sceGxmReserveFragmentDefaultUniformBuffer) +BRIDGE_DECL(sceGxmReserveVertexDefaultUniformBuffer) +BRIDGE_DECL(sceGxmSetBackDepthBias) +BRIDGE_DECL(sceGxmSetBackDepthFunc) +BRIDGE_DECL(sceGxmSetBackDepthWriteEnable) +BRIDGE_DECL(sceGxmSetBackFragmentProgramEnable) +BRIDGE_DECL(sceGxmSetBackLineFillLastPixelEnable) +BRIDGE_DECL(sceGxmSetBackPointLineWidth) +BRIDGE_DECL(sceGxmSetBackPolygonMode) +BRIDGE_DECL(sceGxmSetBackStencilFunc) +BRIDGE_DECL(sceGxmSetBackStencilRef) +BRIDGE_DECL(sceGxmSetBackVisibilityTestEnable) +BRIDGE_DECL(sceGxmSetBackVisibilityTestIndex) +BRIDGE_DECL(sceGxmSetBackVisibilityTestOp) +BRIDGE_DECL(sceGxmSetCullMode) +BRIDGE_DECL(sceGxmSetDefaultRegionClipAndViewport) +BRIDGE_DECL(sceGxmSetDeferredContextFragmentBuffer) +BRIDGE_DECL(sceGxmSetDeferredContextVdmBuffer) +BRIDGE_DECL(sceGxmSetDeferredContextVertexBuffer) +BRIDGE_DECL(sceGxmSetFragmentDefaultUniformBuffer) +BRIDGE_DECL(sceGxmSetFragmentProgram) +BRIDGE_DECL(sceGxmSetFragmentTexture) +BRIDGE_DECL(sceGxmSetFragmentUniformBuffer) +BRIDGE_DECL(sceGxmSetFrontDepthBias) +BRIDGE_DECL(sceGxmSetFrontDepthFunc) +BRIDGE_DECL(sceGxmSetFrontDepthWriteEnable) +BRIDGE_DECL(sceGxmSetFrontFragmentProgramEnable) +BRIDGE_DECL(sceGxmSetFrontLineFillLastPixelEnable) +BRIDGE_DECL(sceGxmSetFrontPointLineWidth) +BRIDGE_DECL(sceGxmSetFrontPolygonMode) +BRIDGE_DECL(sceGxmSetFrontStencilFunc) +BRIDGE_DECL(sceGxmSetFrontStencilRef) +BRIDGE_DECL(sceGxmSetFrontVisibilityTestEnable) +BRIDGE_DECL(sceGxmSetFrontVisibilityTestIndex) +BRIDGE_DECL(sceGxmSetFrontVisibilityTestOp) +BRIDGE_DECL(sceGxmSetPrecomputedFragmentState) +BRIDGE_DECL(sceGxmSetPrecomputedVertexState) +BRIDGE_DECL(sceGxmSetRegionClip) +BRIDGE_DECL(sceGxmSetTwoSidedEnable) +BRIDGE_DECL(sceGxmSetUniformDataF) +BRIDGE_DECL(sceGxmSetUserMarker) +BRIDGE_DECL(sceGxmSetVertexDefaultUniformBuffer) +BRIDGE_DECL(sceGxmSetVertexProgram) +BRIDGE_DECL(sceGxmSetVertexStream) +BRIDGE_DECL(sceGxmSetVertexTexture) +BRIDGE_DECL(sceGxmSetVertexUniformBuffer) +BRIDGE_DECL(sceGxmSetViewport) +BRIDGE_DECL(sceGxmSetViewportEnable) +BRIDGE_DECL(sceGxmSetVisibilityBuffer) +BRIDGE_DECL(sceGxmSetWBufferEnable) +BRIDGE_DECL(sceGxmSetWClampEnable) +BRIDGE_DECL(sceGxmSetWClampValue) +BRIDGE_DECL(sceGxmSetWarningEnabled) +BRIDGE_DECL(sceGxmSetYuvProfile) +BRIDGE_DECL(sceGxmShaderPatcherAddRefFragmentProgram) +BRIDGE_DECL(sceGxmShaderPatcherAddRefVertexProgram) +BRIDGE_DECL(sceGxmShaderPatcherCreate) +BRIDGE_DECL(sceGxmShaderPatcherCreateFragmentProgram) +BRIDGE_DECL(sceGxmShaderPatcherCreateMaskUpdateFragmentProgram) +BRIDGE_DECL(sceGxmShaderPatcherCreateVertexProgram) +BRIDGE_DECL(sceGxmShaderPatcherDestroy) +BRIDGE_DECL(sceGxmShaderPatcherForceUnregisterProgram) +BRIDGE_DECL(sceGxmShaderPatcherGetBufferMemAllocated) +BRIDGE_DECL(sceGxmShaderPatcherGetFragmentProgramRefCount) +BRIDGE_DECL(sceGxmShaderPatcherGetFragmentUsseMemAllocated) +BRIDGE_DECL(sceGxmShaderPatcherGetHostMemAllocated) +BRIDGE_DECL(sceGxmShaderPatcherGetProgramFromId) +BRIDGE_DECL(sceGxmShaderPatcherGetUserData) +BRIDGE_DECL(sceGxmShaderPatcherGetVertexProgramRefCount) +BRIDGE_DECL(sceGxmShaderPatcherGetVertexUsseMemAllocated) +BRIDGE_DECL(sceGxmShaderPatcherRegisterProgram) +BRIDGE_DECL(sceGxmShaderPatcherReleaseFragmentProgram) +BRIDGE_DECL(sceGxmShaderPatcherReleaseVertexProgram) +BRIDGE_DECL(sceGxmShaderPatcherSetUserData) +BRIDGE_DECL(sceGxmShaderPatcherUnregisterProgram) +BRIDGE_DECL(sceGxmSyncObjectCreate) +BRIDGE_DECL(sceGxmSyncObjectDestroy) +BRIDGE_DECL(sceGxmTerminate) +BRIDGE_DECL(sceGxmTextureGetData) +BRIDGE_DECL(sceGxmTextureGetFormat) +BRIDGE_DECL(sceGxmTextureGetGammaMode) +BRIDGE_DECL(sceGxmTextureGetHeight) +BRIDGE_DECL(sceGxmTextureGetLodBias) +BRIDGE_DECL(sceGxmTextureGetLodMin) +BRIDGE_DECL(sceGxmTextureGetMagFilter) +BRIDGE_DECL(sceGxmTextureGetMinFilter) +BRIDGE_DECL(sceGxmTextureGetMipFilter) +BRIDGE_DECL(sceGxmTextureGetMipmapCount) +BRIDGE_DECL(sceGxmTextureGetNormalizeMode) +BRIDGE_DECL(sceGxmTextureGetPalette) +BRIDGE_DECL(sceGxmTextureGetStride) +BRIDGE_DECL(sceGxmTextureGetType) +BRIDGE_DECL(sceGxmTextureGetUAddrMode) +BRIDGE_DECL(sceGxmTextureGetVAddrMode) +BRIDGE_DECL(sceGxmTextureGetWidth) +BRIDGE_DECL(sceGxmTextureInitCube) +BRIDGE_DECL(sceGxmTextureInitCubeArbitrary) +BRIDGE_DECL(sceGxmTextureInitLinear) +BRIDGE_DECL(sceGxmTextureInitLinearStrided) +BRIDGE_DECL(sceGxmTextureInitSwizzled) +BRIDGE_DECL(sceGxmTextureInitSwizzledArbitrary) +BRIDGE_DECL(sceGxmTextureInitTiled) +BRIDGE_DECL(sceGxmTextureSetData) +BRIDGE_DECL(sceGxmTextureSetFormat) +BRIDGE_DECL(sceGxmTextureSetGammaMode) +BRIDGE_DECL(sceGxmTextureSetHeight) +BRIDGE_DECL(sceGxmTextureSetLodBias) +BRIDGE_DECL(sceGxmTextureSetLodMin) +BRIDGE_DECL(sceGxmTextureSetMagFilter) +BRIDGE_DECL(sceGxmTextureSetMinFilter) +BRIDGE_DECL(sceGxmTextureSetMipFilter) +BRIDGE_DECL(sceGxmTextureSetMipmapCount) +BRIDGE_DECL(sceGxmTextureSetNormalizeMode) +BRIDGE_DECL(sceGxmTextureSetPalette) +BRIDGE_DECL(sceGxmTextureSetStride) +BRIDGE_DECL(sceGxmTextureSetUAddrMode) +BRIDGE_DECL(sceGxmTextureSetVAddrMode) +BRIDGE_DECL(sceGxmTextureSetWidth) +BRIDGE_DECL(sceGxmTextureValidate) +BRIDGE_DECL(sceGxmTransferCopy) +BRIDGE_DECL(sceGxmTransferDownscale) +BRIDGE_DECL(sceGxmTransferFill) +BRIDGE_DECL(sceGxmTransferFinish) +BRIDGE_DECL(sceGxmUnmapFragmentUsseMemory) +BRIDGE_DECL(sceGxmUnmapMemory) +BRIDGE_DECL(sceGxmUnmapVertexUsseMemory) +BRIDGE_DECL(sceGxmVertexFence) +BRIDGE_DECL(sceGxmVertexProgramGetProgram) +BRIDGE_DECL(sceGxmWaitEvent) diff --git a/src/emulator/modules/SceGxm/src/SceGxm.cpp b/src/emulator/modules/SceGxm/src/SceGxm.cpp new file mode 100644 index 000000000..d14d1c012 --- /dev/null +++ b/src/emulator/modules/SceGxm/src/SceGxm.cpp @@ -0,0 +1,2061 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include "gxm.h" + +#include + +#include +#include +#include +#include + +using namespace emu; +using namespace glbinding; + +#define GXM_PROFILE(name) MICROPROFILE_SCOPEI("GXM", name, MP_BLUE) + +// https://en.wikipedia.org/wiki/Fowler%E2%80%93Noll%E2%80%93Vo_hash_function#FNV-1a_hash +static uint64_t fnv1a(const void *data, size_t size) { + GXM_PROFILE(__FUNCTION__); + + const uint8_t *const begin = static_cast(data); + const uint8_t *const end = begin + size; + uint64_t result = 0xcbf29ce484222325; + + for (const uint8_t *p = begin; p != end; ++p) { + result ^= *p; + result *= 0x100000001b3; + } + + return result; +} + +#if MICROPROFILE_ENABLED != 0 +static void before_callback(const FunctionCall &fn) { + const MicroProfileToken token = MicroProfileGetToken("OpenGL", fn.function->name(), MP_CYAN, MicroProfileTokenTypeCpu); + MICROPROFILE_ENTER_TOKEN(token); +} +#endif // MICROPROFILE_ENABLED + +static void after_callback(const FunctionCall &fn) { + MICROPROFILE_LEAVE(); + for (GLenum error = glGetError(); error != GL_NO_ERROR; error = glGetError()) { + std::cerr << "OpenGL: " << fn.function->name() << " set error " << error << "." << std::endl; + assert(false); + } +} + +static bool compile_shader(GLuint shader, const GLchar *source) { + GXM_PROFILE(__FUNCTION__); + + const GLint length = static_cast(strlen(source)); + glShaderSource(shader, 1, &source, &length); + + glCompileShader(shader); + + GLint log_length = 0; + glGetShaderiv(shader, GL_INFO_LOG_LENGTH, &log_length); + + if (log_length > 0) { + std::vector log; + log.resize(log_length); + glGetShaderInfoLog(shader, log_length, nullptr, &log.front()); + + std::cerr << &log.front() << std::endl; + } + + GLboolean is_compiled = GL_FALSE; + glGetShaderiv(shader, GL_COMPILE_STATUS, &is_compiled); + assert(is_compiled != GL_FALSE); + + return is_compiled != GL_FALSE; +} + +static bool compile_shader(GLuint shader, const SceGxmProgram *program, const char *base_path) { + GXM_PROFILE(__FUNCTION__); + + const uint64_t hash = fnv1a(program, program->size); + std::ostringstream path; + path << base_path << "shaders/" << hash << ".glsl"; + + std::ifstream is(path.str()); + if (is.fail()) { + std::cerr << "Couldn't open '" << path.str() << "' for reading." << std::endl; + return false; + } + + is.seekg(0, std::ios::end); + const size_t size = is.tellg(); + is.seekg(0); + + std::string source(size, ' '); + is.read(&source[0], size); + + return compile_shader(shader, source.c_str()); +} + +static GLenum attribute_format_to_gl_type(SceGxmAttributeFormat format) { + GXM_PROFILE(__FUNCTION__); + + switch (format) { + case SCE_GXM_ATTRIBUTE_FORMAT_U8: + case SCE_GXM_ATTRIBUTE_FORMAT_U8N: + return GL_UNSIGNED_BYTE; + case SCE_GXM_ATTRIBUTE_FORMAT_S8: + case SCE_GXM_ATTRIBUTE_FORMAT_S8N: + return GL_BYTE; + case SCE_GXM_ATTRIBUTE_FORMAT_U16: + case SCE_GXM_ATTRIBUTE_FORMAT_U16N: + return GL_UNSIGNED_SHORT; + case SCE_GXM_ATTRIBUTE_FORMAT_S16: + case SCE_GXM_ATTRIBUTE_FORMAT_S16N: + return GL_SHORT; + case SCE_GXM_ATTRIBUTE_FORMAT_F16: + return GL_HALF_FLOAT; + case SCE_GXM_ATTRIBUTE_FORMAT_F32: + return GL_FLOAT; + + default: + assert(!"Unhandled format."); + return GL_UNSIGNED_BYTE; + } +} + +static bool attribute_format_normalised(SceGxmAttributeFormat format) { + GXM_PROFILE(__FUNCTION__); + + switch (format) { + case SCE_GXM_ATTRIBUTE_FORMAT_U8N: + case SCE_GXM_ATTRIBUTE_FORMAT_S8N: + case SCE_GXM_ATTRIBUTE_FORMAT_U16N: + case SCE_GXM_ATTRIBUTE_FORMAT_S16N: + return true; + default: + return false; + } +} + +static void bind_attribute_locations(GLuint gl_program, const SceGxmProgram *program) { + GXM_PROFILE(__FUNCTION__); + + const SceGxmProgramParameter *const parameters = reinterpret_cast(reinterpret_cast(&program->parameters_offset) + program->parameters_offset); + for (uint32_t i = 0; i < program->parameter_count; ++i) { + const SceGxmProgramParameter *const parameter = ¶meters[i]; + if (parameter->category == SCE_GXM_PARAMETER_CATEGORY_ATTRIBUTE) { + const uint8_t *const parameter_bytes = reinterpret_cast(parameter); + const char *const parameter_name = reinterpret_cast(parameter_bytes + parameter->name_offset); + + glBindAttribLocation(gl_program, parameter->resource_index, parameter_name); + } + } +} + +static void flip_vertically(uint32_t *pixels, size_t width, size_t height, size_t stride_in_pixels) { + GXM_PROFILE(__FUNCTION__); + + uint32_t *row1 = &pixels[0]; + uint32_t *row2 = &pixels[(height - 1) * stride_in_pixels]; + + while (row1 < row2) { + std::swap_ranges(&row1[0], &row1[width], &row2[0]); + row1 += stride_in_pixels; + row2 -= stride_in_pixels; + } +} + +static GLenum translate_blend_func(SceGxmBlendFunc src) { + GXM_PROFILE(__FUNCTION__); + + switch (src) { + case SCE_GXM_BLEND_FUNC_NONE: + return GL_FUNC_ADD; // TODO Disable blending? Warn? + case SCE_GXM_BLEND_FUNC_ADD: + return GL_FUNC_ADD; + case SCE_GXM_BLEND_FUNC_SUBTRACT: + return GL_FUNC_SUBTRACT; + case SCE_GXM_BLEND_FUNC_REVERSE_SUBTRACT: + return GL_FUNC_REVERSE_SUBTRACT; + } + + return GL_FUNC_ADD; +} + +static GLenum translate_blend_factor(SceGxmBlendFactor src) { + GXM_PROFILE(__FUNCTION__); + + switch (src) { + case SCE_GXM_BLEND_FACTOR_ZERO: + return GL_ZERO; + case SCE_GXM_BLEND_FACTOR_ONE: + return GL_ONE; + case SCE_GXM_BLEND_FACTOR_SRC_COLOR: + return GL_SRC_COLOR; + case SCE_GXM_BLEND_FACTOR_ONE_MINUS_SRC_COLOR: + return GL_ONE_MINUS_SRC_COLOR; + case SCE_GXM_BLEND_FACTOR_SRC_ALPHA: + return GL_SRC_ALPHA; + case SCE_GXM_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA: + return GL_ONE_MINUS_SRC_ALPHA; + case SCE_GXM_BLEND_FACTOR_DST_COLOR: + return GL_DST_COLOR; + case SCE_GXM_BLEND_FACTOR_ONE_MINUS_DST_COLOR: + return GL_ONE_MINUS_DST_COLOR; + case SCE_GXM_BLEND_FACTOR_DST_ALPHA: + return GL_DST_ALPHA; + case SCE_GXM_BLEND_FACTOR_ONE_MINUS_DST_ALPHA: + return GL_ONE_MINUS_DST_ALPHA; + case SCE_GXM_BLEND_FACTOR_SRC_ALPHA_SATURATE: + return GL_SRC_ALPHA_SATURATE; + case SCE_GXM_BLEND_FACTOR_DST_ALPHA_SATURATE: + return GL_DST_ALPHA; // TODO Not supported. + } + + return GL_ONE; +} + +static GLenum translate_internal_format(SceGxmTextureFormat src) { + GXM_PROFILE(__FUNCTION__); + + switch (src) { + case SCE_GXM_TEXTURE_FORMAT_P8_ABGR: + return GL_RGBA; + case SCE_GXM_TEXTURE_FORMAT_U8U8U8U8_ABGR: + return GL_RGBA8; + case SCE_GXM_TEXTURE_FORMAT_U8_R111: + return GL_INTENSITY8; + default: + return GL_RGBA8; // TODO Warn. + } +} + +static GLenum translate_format(SceGxmTextureFormat src) { + GXM_PROFILE(__FUNCTION__); + + switch (src) { + case SCE_GXM_TEXTURE_FORMAT_P8_ABGR: + return GL_COLOR_INDEX; + case SCE_GXM_TEXTURE_FORMAT_U8U8U8U8_ABGR: + return GL_RGBA; + case SCE_GXM_TEXTURE_FORMAT_U8_R111: + return GL_RED; + default: + return GL_RGBA; // TODO Warn. + } +} + +EXPORT(int, sceGxmAddRazorGpuCaptureBuffer) { + return unimplemented("sceGxmAddRazorGpuCaptureBuffer"); +} + +EXPORT(int, sceGxmBeginCommandList) { + return unimplemented("sceGxmBeginCommandList"); +} + +EXPORT(int, sceGxmBeginScene, SceGxmContext *context, unsigned int flags, const SceGxmRenderTarget *renderTarget, const SceGxmValidRegion *validRegion, SceGxmSyncObject *vertexSyncObject, SceGxmSyncObject *fragmentSyncObject, const emu::SceGxmColorSurface *colorSurface, const emu::SceGxmDepthStencilSurface *depthStencil) { + assert(context != nullptr); + assert(flags == 0); + assert(renderTarget != nullptr); + assert(validRegion == nullptr); + assert(vertexSyncObject == nullptr); + assert(fragmentSyncObject != nullptr); + assert(colorSurface != nullptr); + assert(depthStencil != nullptr); + + // TODO This may not be right. + context->fragment_ring_buffer_used = 0; + context->vertex_ring_buffer_used = 0; + context->color_surface = *colorSurface; + + glBindFramebuffer(GL_FRAMEBUFFER, renderTarget->framebuffer[0]); + + // TODO This is just for debugging. + glClear(GL_COLOR_BUFFER_BIT); + + return 0; +} + +EXPORT(int, sceGxmBeginSceneEx) { + return unimplemented("sceGxmBeginSceneEx"); +} + +EXPORT(int, sceGxmColorSurfaceGetClip) { + return unimplemented("sceGxmColorSurfaceGetClip"); +} + +EXPORT(int, sceGxmColorSurfaceGetData) { + return unimplemented("sceGxmColorSurfaceGetData"); +} + +EXPORT(int, sceGxmColorSurfaceGetDitherMode) { + return unimplemented("sceGxmColorSurfaceGetDitherMode"); +} + +EXPORT(int, sceGxmColorSurfaceGetFormat) { + return unimplemented("sceGxmColorSurfaceGetFormat"); +} + +EXPORT(int, sceGxmColorSurfaceGetGammaMode) { + return unimplemented("sceGxmColorSurfaceGetGammaMode"); +} + +EXPORT(int, sceGxmColorSurfaceGetScaleMode) { + return unimplemented("sceGxmColorSurfaceGetScaleMode"); +} + +EXPORT(int, sceGxmColorSurfaceGetStrideInPixels) { + return unimplemented("sceGxmColorSurfaceGetStrideInPixels"); +} + +EXPORT(int, sceGxmColorSurfaceGetType) { + return unimplemented("sceGxmColorSurfaceGetType"); +} + +EXPORT(int, sceGxmColorSurfaceInit, emu::SceGxmColorSurface *surface, SceGxmColorFormat colorFormat, SceGxmColorSurfaceType surfaceType, SceGxmColorSurfaceScaleMode scaleMode, SceGxmOutputRegisterSize outputRegisterSize, unsigned int width, unsigned int height, unsigned int strideInPixels, Ptr data) { + assert(surface != nullptr); + assert(colorFormat == SCE_GXM_COLOR_FORMAT_A8B8G8R8); + assert(surfaceType == SCE_GXM_COLOR_SURFACE_LINEAR); + assert(scaleMode == SCE_GXM_COLOR_SURFACE_SCALE_NONE); + assert(outputRegisterSize == SCE_GXM_OUTPUT_REGISTER_SIZE_32BIT); + assert(width > 0); + assert(height > 0); + assert(strideInPixels > 0); + assert(data); + + memset(surface, 0, sizeof(*surface)); + surface->pbeEmitWords[0] = width; + surface->pbeEmitWords[1] = height; + surface->pbeEmitWords[2] = strideInPixels; + surface->pbeEmitWords[3] = data.address(); + surface->outputRegisterSize = outputRegisterSize; + + return 0; +} + +EXPORT(int, sceGxmColorSurfaceInitDisabled) { + return unimplemented("sceGxmColorSurfaceInitDisabled"); +} + +EXPORT(int, sceGxmColorSurfaceIsEnabled) { + return unimplemented("sceGxmColorSurfaceIsEnabled"); +} + +EXPORT(int, sceGxmColorSurfaceSetClip) { + return unimplemented("sceGxmColorSurfaceSetClip"); +} + +EXPORT(int, sceGxmColorSurfaceSetData) { + return unimplemented("sceGxmColorSurfaceSetData"); +} + +EXPORT(int, sceGxmColorSurfaceSetDitherMode) { + return unimplemented("sceGxmColorSurfaceSetDitherMode"); +} + +EXPORT(int, sceGxmColorSurfaceSetFormat) { + return unimplemented("sceGxmColorSurfaceSetFormat"); +} + +EXPORT(int, sceGxmColorSurfaceSetGammaMode) { + return unimplemented("sceGxmColorSurfaceSetGammaMode"); +} + +EXPORT(int, sceGxmColorSurfaceSetScaleMode) { + return unimplemented("sceGxmColorSurfaceSetScaleMode"); +} + +EXPORT(int, sceGxmCreateContext, const emu::SceGxmContextParams *params, Ptr *context) { + assert(params != nullptr); + assert(context != nullptr); + + *context = alloc(host.mem, __FUNCTION__); + if (!*context) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + SceGxmContext *const ctx = context->get(host.mem); + ctx->params = *params; + + assert(SDL_GL_GetCurrentContext() == nullptr); + ctx->gl = GLContextPtr(SDL_GL_CreateContext(host.window.get()), SDL_GL_DeleteContext); + assert(ctx->gl != nullptr); + + Binding::initialize(false); + setCallbackMaskExcept(CallbackMask::Before | CallbackMask::After, { "glGetError" }); +#if MICROPROFILE_ENABLED != 0 + setBeforeCallback(before_callback); +#endif // MICROPROFILE_ENABLED + setAfterCallback(after_callback); + + std::cout << "GL_VERSION = " << glGetString(GL_VERSION) << std::endl; + std::cout << "GL_SHADING_LANGUAGE_VERSION = " << glGetString(GL_SHADING_LANGUAGE_VERSION) << std::endl; + + // TODO This is just for debugging. + glClearColor(0.0625f, 0.125f, 0.25f, 0); + + if (!ctx->texture.init(glGenTextures, glDeleteTextures)) { + free(host.mem, *context); + context->reset(); + + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + return 0; +} + +EXPORT(int, sceGxmCreateDeferredContext) { + return unimplemented("sceGxmCreateDeferredContext"); +} + +EXPORT(int, sceGxmCreateRenderTarget, const SceGxmRenderTargetParams *params, Ptr *renderTarget) { + assert(params != nullptr); + assert(renderTarget != nullptr); + + *renderTarget = alloc(host.mem, __FUNCTION__); + if (!*renderTarget) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + SceGxmRenderTarget *const rt = renderTarget->get(host.mem); + if (!rt->renderbuffers.init(glGenRenderbuffers, glDeleteRenderbuffers) || !rt->framebuffer.init(glGenFramebuffers, glDeleteFramebuffers)) { + free(host.mem, *renderTarget); + return SCE_GXM_ERROR_DRIVER; + } + + glBindRenderbuffer(GL_RENDERBUFFER, rt->renderbuffers[0]); + glRenderbufferStorage(GL_RENDERBUFFER, GL_RGBA, params->width, params->height); + glBindRenderbuffer(GL_RENDERBUFFER, rt->renderbuffers[1]); + glRenderbufferStorage(GL_RENDERBUFFER, GL_DEPTH_COMPONENT, params->width, params->height); + glBindRenderbuffer(GL_RENDERBUFFER, 0); + + glBindFramebuffer(GL_FRAMEBUFFER, rt->framebuffer[0]); + glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rt->renderbuffers[0]); + glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_RENDERBUFFER, rt->renderbuffers[1]); + glBindFramebuffer(GL_FRAMEBUFFER, 0); + + return 0; +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetBackgroundDepth) { + return unimplemented("sceGxmDepthStencilSurfaceGetBackgroundDepth"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetBackgroundMask) { + return unimplemented("sceGxmDepthStencilSurfaceGetBackgroundMask"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetBackgroundStencil) { + return unimplemented("sceGxmDepthStencilSurfaceGetBackgroundStencil"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetForceLoadMode) { + return unimplemented("sceGxmDepthStencilSurfaceGetForceLoadMode"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetForceStoreMode) { + return unimplemented("sceGxmDepthStencilSurfaceGetForceStoreMode"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetFormat) { + return unimplemented("sceGxmDepthStencilSurfaceGetFormat"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceGetStrideInSamples) { + return unimplemented("sceGxmDepthStencilSurfaceGetStrideInSamples"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceInit, emu::SceGxmDepthStencilSurface *surface, SceGxmDepthStencilFormat depthStencilFormat, SceGxmDepthStencilSurfaceType surfaceType, unsigned int strideInSamples, Ptr depthData, Ptr stencilData) { + assert(surface != nullptr); + assert(depthStencilFormat == SCE_GXM_DEPTH_STENCIL_FORMAT_S8D24); + assert(surfaceType == SCE_GXM_DEPTH_STENCIL_SURFACE_TILED); + assert(strideInSamples > 0); + assert(depthData); + assert(!stencilData); + + // TODO What to do here? + memset(surface, 0, sizeof(*surface)); + surface->depthData = depthData; + surface->stencilData = stencilData; + + return 0; +} + +EXPORT(int, sceGxmDepthStencilSurfaceInitDisabled) { + return unimplemented("sceGxmDepthStencilSurfaceInitDisabled"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceIsEnabled) { + return unimplemented("sceGxmDepthStencilSurfaceIsEnabled"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceSetBackgroundDepth) { + return unimplemented("sceGxmDepthStencilSurfaceSetBackgroundDepth"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceSetBackgroundMask) { + return unimplemented("sceGxmDepthStencilSurfaceSetBackgroundMask"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceSetBackgroundStencil) { + return unimplemented("sceGxmDepthStencilSurfaceSetBackgroundStencil"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceSetForceLoadMode) { + return unimplemented("sceGxmDepthStencilSurfaceSetForceLoadMode"); +} + +EXPORT(int, sceGxmDepthStencilSurfaceSetForceStoreMode) { + return unimplemented("sceGxmDepthStencilSurfaceSetForceStoreMode"); +} + +EXPORT(int, sceGxmDestroyContext, Ptr context) { + assert(context); + + free(host.mem, context); + + return 0; +} + +EXPORT(int, sceGxmDestroyDeferredContext) { + return unimplemented("sceGxmDestroyDeferredContext"); +} + +EXPORT(int, sceGxmDestroyRenderTarget, Ptr renderTarget) { + MemState &mem = host.mem; + assert(renderTarget); + + free(mem, renderTarget); + + return 0; +} + +EXPORT(void, sceGxmDisplayQueueAddEntry, SceGxmSyncObject *oldBuffer, SceGxmSyncObject *newBuffer, Ptr callbackData) { + assert(oldBuffer != nullptr); + assert(newBuffer != nullptr); + assert(callbackData); + + const Address callback_data_address = callbackData.address(); + const Address callback_pc = host.gxm.params.displayQueueCallback.address(); + + const ThreadStatePtr thread = lock_and_find(thread_id, host.kernel.threads, host.kernel.mutex); + write_reg(*thread->cpu, 0, callback_data_address); + write_pc(*thread->cpu, callback_pc); + + // TODO Return success if/when we call callback not as a tail call. +} + +EXPORT(int, sceGxmDisplayQueueFinish) { + return 0; +} + +EXPORT(int, sceGxmDraw, SceGxmContext *context, SceGxmPrimitiveType primType, SceGxmIndexFormat indexType, const void *indexData, unsigned int indexCount) { + assert(context != nullptr); + assert((primType == SCE_GXM_PRIMITIVE_TRIANGLES) || (primType == SCE_GXM_PRIMITIVE_TRIANGLE_STRIP)); + assert(indexType == SCE_GXM_INDEX_FORMAT_U16); + assert(indexData != nullptr); + assert(indexCount > 0); + + const GLenum mode = primType == SCE_GXM_PRIMITIVE_TRIANGLES ? GL_TRIANGLES : GL_TRIANGLE_STRIP; + const GLenum type = indexType == SCE_GXM_INDEX_FORMAT_U16 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT; + glDrawElements(mode, indexCount, type, indexData); + + return 0; +} + +EXPORT(int, sceGxmDrawInstanced) { + return unimplemented("sceGxmDrawInstanced"); +} + +EXPORT(int, sceGxmDrawPrecomputed) { + return unimplemented("sceGxmDrawPrecomputed"); +} + +EXPORT(int, sceGxmEndCommandList) { + return unimplemented("sceGxmEndCommandList"); +} + +EXPORT(int, sceGxmEndScene, SceGxmContext *context, const emu::SceGxmNotification *vertexNotification, const emu::SceGxmNotification *fragmentNotification) { + const MemState &mem = host.mem; + assert(context != nullptr); + assert(vertexNotification == nullptr); + assert(fragmentNotification == nullptr); + + const GLsizei width = context->color_surface.pbeEmitWords[0]; + const GLsizei height = context->color_surface.pbeEmitWords[1]; + const GLsizei stride_in_pixels = context->color_surface.pbeEmitWords[2]; + const Address data = context->color_surface.pbeEmitWords[3]; + uint32_t *const pixels = Ptr(data).get(mem); + glPixelStorei(GL_PACK_ROW_LENGTH, stride_in_pixels); // TODO Reset to 0? + glReadPixels(0, 0, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels); + flip_vertically(pixels, width, height, stride_in_pixels); + + glBindFramebuffer(GL_FRAMEBUFFER, 0); + + return 0; +} + +EXPORT(int, sceGxmExecuteCommandList) { + return unimplemented("sceGxmExecuteCommandList"); +} + +EXPORT(void, sceGxmFinish, SceGxmContext *context) { + assert(context != nullptr); +} + +EXPORT(int, sceGxmFragmentProgramGetPassType) { + return unimplemented("sceGxmFragmentProgramGetPassType"); +} + +EXPORT(int, sceGxmFragmentProgramGetProgram) { + return unimplemented("sceGxmFragmentProgramGetProgram"); +} + +EXPORT(int, sceGxmFragmentProgramIsEnabled) { + return unimplemented("sceGxmFragmentProgramIsEnabled"); +} + +EXPORT(int, sceGxmGetContextType) { + return unimplemented("sceGxmGetContextType"); +} + +EXPORT(int, sceGxmGetDeferredContextFragmentBuffer) { + return unimplemented("sceGxmGetDeferredContextFragmentBuffer"); +} + +EXPORT(int, sceGxmGetDeferredContextVdmBuffer) { + return unimplemented("sceGxmGetDeferredContextVdmBuffer"); +} + +EXPORT(int, sceGxmGetDeferredContextVertexBuffer) { + return unimplemented("sceGxmGetDeferredContextVertexBuffer"); +} + +EXPORT(int, sceGxmGetNotificationRegion) { + return unimplemented("sceGxmGetNotificationRegion"); +} + +EXPORT(int, sceGxmGetParameterBufferThreshold) { + return unimplemented("sceGxmGetParameterBufferThreshold"); +} + +EXPORT(int, sceGxmGetPrecomputedDrawSize) { + return unimplemented("sceGxmGetPrecomputedDrawSize"); +} + +EXPORT(int, sceGxmGetPrecomputedFragmentStateSize) { + return unimplemented("sceGxmGetPrecomputedFragmentStateSize"); +} + +EXPORT(int, sceGxmGetPrecomputedVertexStateSize) { + return unimplemented("sceGxmGetPrecomputedVertexStateSize"); +} + +EXPORT(int, sceGxmGetRenderTargetMemSizes) { + return unimplemented("sceGxmGetRenderTargetMemSizes"); +} + +EXPORT(int, sceGxmInitialize, const emu::SceGxmInitializeParams *params) { + assert(params != nullptr); + + host.gxm.params = *params; + + return 0; +} + +EXPORT(int, sceGxmIsDebugVersion) { + return unimplemented("sceGxmIsDebugVersion"); +} + +EXPORT(int, sceGxmMapFragmentUsseMemory, Ptr base, SceSize size, unsigned int *offset) { + assert(base); + assert(size > 0); + assert(offset != nullptr); + + // TODO What should this be? + *offset = base.address(); + + return 0; +} + +EXPORT(int, sceGxmMapMemory, void *base, SceSize size, SceGxmMemoryAttribFlags attr) { + assert(base != nullptr); + assert(size > 0); + assert((attr == SCE_GXM_MEMORY_ATTRIB_READ) || (attr == SCE_GXM_MEMORY_ATTRIB_RW)); + + return 0; +} + +EXPORT(int, sceGxmMapVertexUsseMemory, Ptr base, SceSize size, unsigned int *offset) { + assert(base); + assert(size > 0); + assert(offset != nullptr); + + // TODO What should this be? + *offset = base.address(); + + return 0; +} + +EXPORT(int, sceGxmMidSceneFlush) { + return unimplemented("sceGxmMidSceneFlush"); +} + +EXPORT(int, sceGxmNotificationWait) { + return unimplemented("sceGxmNotificationWait"); +} + +EXPORT(int, sceGxmPadHeartbeat, const emu::SceGxmColorSurface *displaySurface, SceGxmSyncObject *displaySyncObject) { + assert(displaySurface != nullptr); + assert(displaySyncObject != nullptr); + + return 0; +} + +EXPORT(int, sceGxmPopUserMarker) { + return unimplemented("sceGxmPopUserMarker"); +} + +EXPORT(int, sceGxmPrecomputedDrawInit) { + return unimplemented("sceGxmPrecomputedDrawInit"); +} + +EXPORT(int, sceGxmPrecomputedDrawSetAllVertexStreams) { + return unimplemented("sceGxmPrecomputedDrawSetAllVertexStreams"); +} + +EXPORT(int, sceGxmPrecomputedDrawSetParams) { + return unimplemented("sceGxmPrecomputedDrawSetParams"); +} + +EXPORT(int, sceGxmPrecomputedDrawSetParamsInstanced) { + return unimplemented("sceGxmPrecomputedDrawSetParamsInstanced"); +} + +EXPORT(int, sceGxmPrecomputedDrawSetVertexStream) { + return unimplemented("sceGxmPrecomputedDrawSetVertexStream"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateGetDefaultUniformBuffer) { + return unimplemented("sceGxmPrecomputedFragmentStateGetDefaultUniformBuffer"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateInit) { + return unimplemented("sceGxmPrecomputedFragmentStateInit"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateSetAllTextures) { + return unimplemented("sceGxmPrecomputedFragmentStateSetAllTextures"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateSetAllUniformBuffers) { + return unimplemented("sceGxmPrecomputedFragmentStateSetAllUniformBuffers"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateSetDefaultUniformBuffer) { + return unimplemented("sceGxmPrecomputedFragmentStateSetDefaultUniformBuffer"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateSetTexture) { + return unimplemented("sceGxmPrecomputedFragmentStateSetTexture"); +} + +EXPORT(int, sceGxmPrecomputedFragmentStateSetUniformBuffer) { + return unimplemented("sceGxmPrecomputedFragmentStateSetUniformBuffer"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateGetDefaultUniformBuffer) { + return unimplemented("sceGxmPrecomputedVertexStateGetDefaultUniformBuffer"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateInit) { + return unimplemented("sceGxmPrecomputedVertexStateInit"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateSetAllTextures) { + return unimplemented("sceGxmPrecomputedVertexStateSetAllTextures"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateSetAllUniformBuffers) { + return unimplemented("sceGxmPrecomputedVertexStateSetAllUniformBuffers"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateSetDefaultUniformBuffer) { + return unimplemented("sceGxmPrecomputedVertexStateSetDefaultUniformBuffer"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateSetTexture) { + return unimplemented("sceGxmPrecomputedVertexStateSetTexture"); +} + +EXPORT(int, sceGxmPrecomputedVertexStateSetUniformBuffer) { + return unimplemented("sceGxmPrecomputedVertexStateSetUniformBuffer"); +} + +EXPORT(int, sceGxmProgramCheck, const SceGxmProgram *program) { + assert(program != nullptr); + + assert(memcmp(program->magic, "GXP", 4) == 0); + assert(program->maybe_version[0] == 1); + assert(program->maybe_version[1] == 4); + assert(program->maybe_padding[0] == 0); + assert(program->maybe_padding[1] == 0); + + return 0; +} + +EXPORT(Ptr, sceGxmProgramFindParameterByName, const SceGxmProgram *program, const char *name) { + const MemState &mem = host.mem; + assert(program != nullptr); + assert(name != nullptr); + + const SceGxmProgramParameter *const parameters = reinterpret_cast(reinterpret_cast(&program->parameters_offset) + program->parameters_offset); + for (uint32_t i = 0; i < program->parameter_count; ++i) { + const SceGxmProgramParameter *const parameter = ¶meters[i]; + const uint8_t *const parameter_bytes = reinterpret_cast(parameter); + const char *const parameter_name = reinterpret_cast(parameter_bytes + parameter->name_offset); + if (strcmp(parameter_name, name) == 0) { + const Address parameter_address = static_cast
(parameter_bytes - &mem.memory[0]); + return Ptr(parameter_address); + } + } + + return Ptr(); +} + +EXPORT(int, sceGxmProgramFindParameterBySemantic) { + return unimplemented("sceGxmProgramFindParameterBySemantic"); +} + +EXPORT(int, sceGxmProgramGetDefaultUniformBufferSize) { + return unimplemented("sceGxmProgramGetDefaultUniformBufferSize"); +} + +EXPORT(int, sceGxmProgramGetFragmentProgramInputs) { + return unimplemented("sceGxmProgramGetFragmentProgramInputs"); +} + +EXPORT(int, sceGxmProgramGetOutputRegisterFormat) { + return unimplemented("sceGxmProgramGetOutputRegisterFormat"); +} + +EXPORT(int, sceGxmProgramGetParameter) { + return unimplemented("sceGxmProgramGetParameter"); +} + +EXPORT(int, sceGxmProgramGetParameterCount) { + return unimplemented("sceGxmProgramGetParameterCount"); +} + +EXPORT(int, sceGxmProgramGetSize) { + return unimplemented("sceGxmProgramGetSize"); +} + +EXPORT(int, sceGxmProgramGetType) { + return unimplemented("sceGxmProgramGetType"); +} + +EXPORT(int, sceGxmProgramGetVertexProgramOutputs) { + return unimplemented("sceGxmProgramGetVertexProgramOutputs"); +} + +EXPORT(int, sceGxmProgramIsDepthReplaceUsed) { + return unimplemented("sceGxmProgramIsDepthReplaceUsed"); +} + +EXPORT(int, sceGxmProgramIsDiscardUsed) { + return unimplemented("sceGxmProgramIsDiscardUsed"); +} + +EXPORT(int, sceGxmProgramIsEquivalent) { + return unimplemented("sceGxmProgramIsEquivalent"); +} + +EXPORT(int, sceGxmProgramIsFragColorUsed) { + return unimplemented("sceGxmProgramIsFragColorUsed"); +} + +EXPORT(int, sceGxmProgramIsNativeColorUsed) { + return unimplemented("sceGxmProgramIsNativeColorUsed"); +} + +EXPORT(int, sceGxmProgramIsSpriteCoordUsed) { + return unimplemented("sceGxmProgramIsSpriteCoordUsed"); +} + +EXPORT(int, sceGxmProgramParameterGetArraySize) { + return unimplemented("sceGxmProgramParameterGetArraySize"); +} + +EXPORT(int, sceGxmProgramParameterGetCategory) { + return unimplemented("sceGxmProgramParameterGetCategory"); +} + +EXPORT(int, sceGxmProgramParameterGetComponentCount) { + return unimplemented("sceGxmProgramParameterGetComponentCount"); +} + +EXPORT(int, sceGxmProgramParameterGetContainerIndex) { + return unimplemented("sceGxmProgramParameterGetContainerIndex"); +} + +EXPORT(int, sceGxmProgramParameterGetIndex) { + return unimplemented("sceGxmProgramParameterGetIndex"); +} + +EXPORT(int, sceGxmProgramParameterGetName) { + return unimplemented("sceGxmProgramParameterGetName"); +} + +EXPORT(unsigned int, sceGxmProgramParameterGetResourceIndex, const SceGxmProgramParameter *parameter) { + assert(parameter != nullptr); + + return parameter->resource_index; +} + +EXPORT(int, sceGxmProgramParameterGetSemantic) { + return unimplemented("sceGxmProgramParameterGetSemantic"); +} + +EXPORT(int, sceGxmProgramParameterGetSemanticIndex) { + return unimplemented("sceGxmProgramParameterGetSemanticIndex"); +} + +EXPORT(int, sceGxmProgramParameterGetType) { + return unimplemented("sceGxmProgramParameterGetType"); +} + +EXPORT(int, sceGxmProgramParameterIsRegFormat) { + return unimplemented("sceGxmProgramParameterIsRegFormat"); +} + +EXPORT(int, sceGxmProgramParameterIsSamplerCube) { + return unimplemented("sceGxmProgramParameterIsSamplerCube"); +} + +EXPORT(int, sceGxmPushUserMarker) { + return unimplemented("sceGxmPushUserMarker"); +} + +EXPORT(int, sceGxmRemoveRazorGpuCaptureBuffer) { + return unimplemented("sceGxmRemoveRazorGpuCaptureBuffer"); +} + +EXPORT(int, sceGxmRenderTargetGetDriverMemBlock) { + return unimplemented("sceGxmRenderTargetGetDriverMemBlock"); +} + +EXPORT(int, sceGxmReserveFragmentDefaultUniformBuffer, SceGxmContext *context, Ptr *uniformBuffer) { + assert(context != nullptr); + assert(uniformBuffer != nullptr); + + const size_t size = 64; // TODO I guess this must be in the fragment program. + const size_t next_used = context->fragment_ring_buffer_used + size; + assert(next_used <= context->params.fragmentRingBufferMemSize); + if (next_used > context->params.fragmentRingBufferMemSize) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + *uniformBuffer = context->params.fragmentRingBufferMem.cast() + static_cast(context->fragment_ring_buffer_used); + context->fragment_ring_buffer_used = next_used; + + return 0; +} + +EXPORT(int, sceGxmReserveVertexDefaultUniformBuffer, SceGxmContext *context, Ptr *uniformBuffer) { + assert(context != nullptr); + assert(uniformBuffer != nullptr); + + const size_t size = 64; // TODO I guess this must be in the vertex program. + const size_t next_used = context->vertex_ring_buffer_used + size; + assert(next_used <= context->params.vertexRingBufferMemSize); + if (next_used > context->params.vertexRingBufferMemSize) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + *uniformBuffer = context->params.vertexRingBufferMem.cast() + static_cast(context->vertex_ring_buffer_used); + context->vertex_ring_buffer_used = next_used; + + return 0; +} + +EXPORT(int, sceGxmSetBackDepthBias) { + return unimplemented("sceGxmSetBackDepthBias"); +} + +EXPORT(int, sceGxmSetBackDepthFunc) { + return unimplemented("sceGxmSetBackDepthFunc"); +} + +EXPORT(int, sceGxmSetBackDepthWriteEnable) { + return unimplemented("sceGxmSetBackDepthWriteEnable"); +} + +EXPORT(int, sceGxmSetBackFragmentProgramEnable) { + return unimplemented("sceGxmSetBackFragmentProgramEnable"); +} + +EXPORT(int, sceGxmSetBackLineFillLastPixelEnable) { + return unimplemented("sceGxmSetBackLineFillLastPixelEnable"); +} + +EXPORT(int, sceGxmSetBackPointLineWidth) { + return unimplemented("sceGxmSetBackPointLineWidth"); +} + +EXPORT(int, sceGxmSetBackPolygonMode) { + return unimplemented("sceGxmSetBackPolygonMode"); +} + +EXPORT(int, sceGxmSetBackStencilFunc) { + return unimplemented("sceGxmSetBackStencilFunc"); +} + +EXPORT(int, sceGxmSetBackStencilRef) { + return unimplemented("sceGxmSetBackStencilRef"); +} + +EXPORT(int, sceGxmSetBackVisibilityTestEnable) { + return unimplemented("sceGxmSetBackVisibilityTestEnable"); +} + +EXPORT(int, sceGxmSetBackVisibilityTestIndex) { + return unimplemented("sceGxmSetBackVisibilityTestIndex"); +} + +EXPORT(int, sceGxmSetBackVisibilityTestOp) { + return unimplemented("sceGxmSetBackVisibilityTestOp"); +} + +EXPORT(int, sceGxmSetCullMode) { + return unimplemented("sceGxmSetCullMode"); +} + +EXPORT(int, sceGxmSetDefaultRegionClipAndViewport) { + return unimplemented("sceGxmSetDefaultRegionClipAndViewport"); +} + +EXPORT(int, sceGxmSetDeferredContextFragmentBuffer) { + return unimplemented("sceGxmSetDeferredContextFragmentBuffer"); +} + +EXPORT(int, sceGxmSetDeferredContextVdmBuffer) { + return unimplemented("sceGxmSetDeferredContextVdmBuffer"); +} + +EXPORT(int, sceGxmSetDeferredContextVertexBuffer) { + return unimplemented("sceGxmSetDeferredContextVertexBuffer"); +} + +EXPORT(int, sceGxmSetFragmentDefaultUniformBuffer) { + return unimplemented("sceGxmSetFragmentDefaultUniformBuffer"); +} + +EXPORT(void, sceGxmSetFragmentProgram, SceGxmContext *context, const SceGxmFragmentProgram *fragmentProgram) { + assert(context != nullptr); + assert(fragmentProgram != nullptr); + + glUseProgram(fragmentProgram->program.get()); + glColorMask(fragmentProgram->color_mask_red, fragmentProgram->color_mask_green, fragmentProgram->color_mask_blue, fragmentProgram->color_mask_alpha); + if (fragmentProgram->blend_enabled) { + glEnable(GL_BLEND); + glBlendEquationSeparate(fragmentProgram->color_func, fragmentProgram->alpha_func); + glBlendFuncSeparate(fragmentProgram->color_src, fragmentProgram->color_dst, fragmentProgram->alpha_src, fragmentProgram->alpha_dst); + } else { + glDisable(GL_BLEND); + } +} + +EXPORT(int, sceGxmSetFragmentTexture, SceGxmContext *context, unsigned int textureIndex, const emu::SceGxmTexture *texture) { + assert(context != nullptr); + assert(textureIndex == 0); + assert(texture != nullptr); + + glBindTexture(GL_TEXTURE_2D, context->texture[0]); + glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAX_LEVEL, 0); + + if (texture->format == SCE_GXM_TEXTURE_FORMAT_P8_ABGR) { + glPixelTransferi(GL_MAP_COLOR, GL_TRUE); + GLfloat map[4][256]; + const uint8_t(*const src)[4] = static_cast(texture->palette.get(host.mem)); + for (size_t i = 0; i < 256; ++i) { + map[0][i] = src[i][0] / 255.0f; + map[1][i] = src[i][1] / 255.0f; + map[2][i] = src[i][2] / 255.0f; + map[3][i] = src[i][3] / 255.0f; + } + glPixelMapfv(GL_PIXEL_MAP_I_TO_R, 256, map[0]); + glPixelMapfv(GL_PIXEL_MAP_I_TO_G, 256, map[1]); + glPixelMapfv(GL_PIXEL_MAP_I_TO_B, 256, map[2]); + glPixelMapfv(GL_PIXEL_MAP_I_TO_A, 256, map[3]); + } + + const void *const pixels = texture->data.get(host.mem); + const GLenum internal_format = translate_internal_format(texture->format); + const GLenum format = translate_format(texture->format); + glPixelStorei(GL_UNPACK_ROW_LENGTH, (texture->width + 7) & ~7); + glTexImage2D(GL_TEXTURE_2D, 0, internal_format, texture->width, texture->height, 0, format, GL_UNSIGNED_BYTE, pixels); + glPixelStorei(GL_UNPACK_ROW_LENGTH, 0); + glPixelTransferi(GL_MAP_COLOR, GL_FALSE); + + return 0; +} + +EXPORT(int, sceGxmSetFragmentUniformBuffer) { + return unimplemented("sceGxmSetFragmentUniformBuffer"); +} + +EXPORT(int, sceGxmSetFrontDepthBias) { + return unimplemented("sceGxmSetFrontDepthBias"); +} + +EXPORT(int, sceGxmSetFrontDepthFunc) { + return unimplemented("sceGxmSetFrontDepthFunc"); +} + +EXPORT(int, sceGxmSetFrontDepthWriteEnable) { + return unimplemented("sceGxmSetFrontDepthWriteEnable"); +} + +EXPORT(int, sceGxmSetFrontFragmentProgramEnable) { + return unimplemented("sceGxmSetFrontFragmentProgramEnable"); +} + +EXPORT(int, sceGxmSetFrontLineFillLastPixelEnable) { + return unimplemented("sceGxmSetFrontLineFillLastPixelEnable"); +} + +EXPORT(int, sceGxmSetFrontPointLineWidth) { + return unimplemented("sceGxmSetFrontPointLineWidth"); +} + +EXPORT(int, sceGxmSetFrontPolygonMode) { + return unimplemented("sceGxmSetFrontPolygonMode"); +} + +EXPORT(int, sceGxmSetFrontStencilFunc) { + return unimplemented("sceGxmSetFrontStencilFunc"); +} + +EXPORT(int, sceGxmSetFrontStencilRef) { + return unimplemented("sceGxmSetFrontStencilRef"); +} + +EXPORT(int, sceGxmSetFrontVisibilityTestEnable) { + return unimplemented("sceGxmSetFrontVisibilityTestEnable"); +} + +EXPORT(int, sceGxmSetFrontVisibilityTestIndex) { + return unimplemented("sceGxmSetFrontVisibilityTestIndex"); +} + +EXPORT(int, sceGxmSetFrontVisibilityTestOp) { + return unimplemented("sceGxmSetFrontVisibilityTestOp"); +} + +EXPORT(int, sceGxmSetPrecomputedFragmentState) { + return unimplemented("sceGxmSetPrecomputedFragmentState"); +} + +EXPORT(int, sceGxmSetPrecomputedVertexState) { + return unimplemented("sceGxmSetPrecomputedVertexState"); +} + +EXPORT(int, sceGxmSetRegionClip) { + return unimplemented("sceGxmSetRegionClip"); +} + +EXPORT(int, sceGxmSetTwoSidedEnable) { + return unimplemented("sceGxmSetTwoSidedEnable"); +} + +EXPORT(int, sceGxmSetUniformDataF, void *uniformBuffer, const SceGxmProgramParameter *parameter, unsigned int componentOffset, unsigned int componentCount, const float *sourceData) { + assert(uniformBuffer != nullptr); + assert(parameter != nullptr); + assert(componentOffset == 0); + assert(componentCount > 0); + assert(sourceData != nullptr); + + const char *const name = reinterpret_cast(parameter) + parameter->name_offset; + + GLint program = 0; + glGetIntegerv(GL_CURRENT_PROGRAM, &program); + assert(program != 0); + + const GLint location = glGetUniformLocation(program, name); + assert(location >= 0); + + switch (componentCount) { + case 4: + glUniform4fv(location, 1, sourceData); + break; + + case 16: + glUniformMatrix4fv(location, 1, GL_TRUE, sourceData); + break; + + default: + assert(!"Unhandled component count."); + break; + } + + return 0; +} + +EXPORT(int, sceGxmSetUserMarker) { + return unimplemented("sceGxmSetUserMarker"); +} + +EXPORT(int, sceGxmSetVertexDefaultUniformBuffer) { + return unimplemented("sceGxmSetVertexDefaultUniformBuffer"); +} + +EXPORT(void, sceGxmSetVertexProgram, SceGxmContext *context, const SceGxmVertexProgram *vertexProgram) { + assert(context != nullptr); + assert(vertexProgram != nullptr); + + context->vertex_program = vertexProgram; +} + +EXPORT(int, sceGxmSetVertexStream, SceGxmContext *context, unsigned int streamIndex, const uint8_t *streamData) { + assert(context != nullptr); + assert(streamIndex == 0); + assert(streamData != nullptr); + + for (const emu::SceGxmVertexAttribute &attribute : context->vertex_program->attributes) { + if (attribute.streamIndex != streamIndex) { + continue; + } + + const SceGxmVertexStream &stream = context->vertex_program->streams[attribute.streamIndex]; + + const GLenum type = attribute_format_to_gl_type(static_cast(attribute.format)); + const GLboolean normalised = attribute_format_normalised(static_cast(attribute.format)) ? GL_TRUE : GL_FALSE; + const GLvoid *const pointer = streamData + attribute.offset; + glVertexAttribPointer(attribute.regIndex, attribute.componentCount, type, normalised, stream.stride, pointer); + + glEnableVertexAttribArray(attribute.regIndex); // TODO Disable. + } + + return 0; +} + +EXPORT(int, sceGxmSetVertexTexture) { + return unimplemented("sceGxmSetVertexTexture"); +} + +EXPORT(int, sceGxmSetVertexUniformBuffer) { + return unimplemented("sceGxmSetVertexUniformBuffer"); +} + +EXPORT(int, sceGxmSetViewport) { + return unimplemented("sceGxmSetViewport"); +} + +EXPORT(int, sceGxmSetViewportEnable) { + return unimplemented("sceGxmSetViewportEnable"); +} + +EXPORT(int, sceGxmSetVisibilityBuffer) { + return unimplemented("sceGxmSetVisibilityBuffer"); +} + +EXPORT(int, sceGxmSetWBufferEnable) { + return unimplemented("sceGxmSetWBufferEnable"); +} + +EXPORT(int, sceGxmSetWClampEnable) { + return unimplemented("sceGxmSetWClampEnable"); +} + +EXPORT(int, sceGxmSetWClampValue) { + return unimplemented("sceGxmSetWClampValue"); +} + +EXPORT(int, sceGxmSetWarningEnabled) { + return unimplemented("sceGxmSetWarningEnabled"); +} + +EXPORT(int, sceGxmSetYuvProfile) { + return unimplemented("sceGxmSetYuvProfile"); +} + +EXPORT(int, sceGxmShaderPatcherAddRefFragmentProgram) { + return unimplemented("sceGxmShaderPatcherAddRefFragmentProgram"); +} + +EXPORT(int, sceGxmShaderPatcherAddRefVertexProgram) { + return unimplemented("sceGxmShaderPatcherAddRefVertexProgram"); +} + +EXPORT(int, sceGxmShaderPatcherCreate, const emu::SceGxmShaderPatcherParams *params, Ptr *shaderPatcher) { + assert(params != nullptr); + assert(shaderPatcher != nullptr); + + *shaderPatcher = alloc(host.mem, __FUNCTION__); + assert(*shaderPatcher); + if (!*shaderPatcher) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherCreateFragmentProgram, SceGxmShaderPatcher *shaderPatcher, const SceGxmRegisteredProgram *programId, SceGxmOutputRegisterFormat outputFormat, SceGxmMultisampleMode multisampleMode, const emu::SceGxmBlendInfo *blendInfo, Ptr vertexProgram, Ptr *fragmentProgram) { + MemState &mem = host.mem; + assert(shaderPatcher != nullptr); + assert(programId != nullptr); + assert(outputFormat == SCE_GXM_OUTPUT_REGISTER_FORMAT_UCHAR4); + assert(multisampleMode == SCE_GXM_MULTISAMPLE_NONE); + assert((blendInfo == nullptr) || (blendInfo != nullptr)); + assert(vertexProgram); + assert(fragmentProgram != nullptr); + + *fragmentProgram = alloc(mem, __FUNCTION__); + assert(*fragmentProgram); + if (!*fragmentProgram) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + GLObject fragment_shader; + if (!fragment_shader.init(glCreateShader(GL_FRAGMENT_SHADER), glDeleteShader)) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + SceGxmFragmentProgram *const fp = fragmentProgram->get(mem); + if (!compile_shader(fragment_shader.get(), programId->program.get(mem), host.base_path.c_str())) { + free(mem, *fragmentProgram); + fragmentProgram->reset(); + + return SCE_GXM_ERROR_PATCHER_INTERNAL; + } + + if (!fp->program.init(glCreateProgram(), glDeleteProgram)) { + free(mem, *fragmentProgram); + fragmentProgram->reset(); + + return SCE_GXM_ERROR_PATCHER_INTERNAL; + } + + const ProgramToVertexShader::const_iterator vertex_shader = shaderPatcher->vertex_shaders.find(vertexProgram); + assert(vertex_shader != shaderPatcher->vertex_shaders.end()); + + glAttachShader(fp->program.get(), vertex_shader->second->get()); + glAttachShader(fp->program.get(), fragment_shader.get()); + + bind_attribute_locations(fp->program.get(), vertexProgram.get(mem)); + + glLinkProgram(fp->program.get()); + + GLint log_length = 0; + glGetProgramiv(fp->program.get(), GL_INFO_LOG_LENGTH, &log_length); + + if (log_length > 0) { + std::vector log; + log.resize(log_length); + glGetProgramInfoLog(fp->program.get(), log_length, nullptr, &log.front()); + + std::cerr << &log.front() << std::endl; + } + + GLboolean is_linked = GL_FALSE; + glGetProgramiv(fp->program.get(), GL_LINK_STATUS, &is_linked); + assert(is_linked != GL_FALSE); + if (is_linked == GL_FALSE) { + free(mem, *fragmentProgram); + fragmentProgram->reset(); + + return SCE_GXM_ERROR_PATCHER_INTERNAL; + } + + glDetachShader(fp->program.get(), fragment_shader.get()); + glDetachShader(fp->program.get(), vertex_shader->second->get()); + + // Translate blending. + if (blendInfo != nullptr) { + fp->color_mask_red = ((blendInfo->colorMask & SCE_GXM_COLOR_MASK_R) != 0) ? GL_TRUE : GL_FALSE; + fp->color_mask_green = ((blendInfo->colorMask & SCE_GXM_COLOR_MASK_G) != 0) ? GL_TRUE : GL_FALSE; + fp->color_mask_blue = ((blendInfo->colorMask & SCE_GXM_COLOR_MASK_B) != 0) ? GL_TRUE : GL_FALSE; + fp->color_mask_alpha = ((blendInfo->colorMask & SCE_GXM_COLOR_MASK_A) != 0) ? GL_TRUE : GL_FALSE; + fp->blend_enabled = true; + fp->color_func = translate_blend_func(blendInfo->colorFunc); + fp->alpha_func = translate_blend_func(blendInfo->alphaFunc); + fp->color_src = translate_blend_factor(blendInfo->colorSrc); + fp->color_dst = translate_blend_factor(blendInfo->colorDst); + fp->alpha_src = translate_blend_factor(blendInfo->alphaSrc); + fp->alpha_dst = translate_blend_factor(blendInfo->alphaDst); + } + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherCreateMaskUpdateFragmentProgram) { + return unimplemented("sceGxmShaderPatcherCreateMaskUpdateFragmentProgram"); +} + +EXPORT(int, sceGxmShaderPatcherCreateVertexProgram, SceGxmShaderPatcher *shaderPatcher, const SceGxmRegisteredProgram *programId, const emu::SceGxmVertexAttribute *attributes, unsigned int attributeCount, const SceGxmVertexStream *streams, unsigned int streamCount, Ptr *vertexProgram) { + MemState &mem = host.mem; + assert(shaderPatcher != nullptr); + assert(programId != nullptr); + assert(attributes != nullptr); + assert(attributeCount > 0); + assert(streams != nullptr); + assert(streamCount > 0); + assert(vertexProgram != nullptr); + + *vertexProgram = alloc(mem, __FUNCTION__); + assert(*vertexProgram); + if (!*vertexProgram) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + SceGxmVertexProgram *const vp = vertexProgram->get(mem); + if (!vp->shader->init(glCreateShader(GL_VERTEX_SHADER), glDeleteShader)) { + free(mem, *vertexProgram); + vertexProgram->reset(); + + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + if (!compile_shader(vp->shader->get(), programId->program.get(mem), host.base_path.c_str())) { + free(mem, *vertexProgram); + vertexProgram->reset(); + + return SCE_GXM_ERROR_PATCHER_INTERNAL; + } + + vp->streams.insert(vp->streams.end(), &streams[0], &streams[streamCount]); + vp->attributes.insert(vp->attributes.end(), &attributes[0], &attributes[attributeCount]); + + shaderPatcher->vertex_shaders[programId->program] = vp->shader; + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherDestroy, Ptr shaderPatcher) { + assert(shaderPatcher); + + free(host.mem, shaderPatcher); + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherForceUnregisterProgram) { + return unimplemented("sceGxmShaderPatcherForceUnregisterProgram"); +} + +EXPORT(int, sceGxmShaderPatcherGetBufferMemAllocated) { + return unimplemented("sceGxmShaderPatcherGetBufferMemAllocated"); +} + +EXPORT(int, sceGxmShaderPatcherGetFragmentProgramRefCount) { + return unimplemented("sceGxmShaderPatcherGetFragmentProgramRefCount"); +} + +EXPORT(int, sceGxmShaderPatcherGetFragmentUsseMemAllocated) { + return unimplemented("sceGxmShaderPatcherGetFragmentUsseMemAllocated"); +} + +EXPORT(int, sceGxmShaderPatcherGetHostMemAllocated) { + return unimplemented("sceGxmShaderPatcherGetHostMemAllocated"); +} + +EXPORT(int, sceGxmShaderPatcherGetProgramFromId) { + return unimplemented("sceGxmShaderPatcherGetProgramFromId"); +} + +EXPORT(int, sceGxmShaderPatcherGetUserData) { + return unimplemented("sceGxmShaderPatcherGetUserData"); +} + +EXPORT(int, sceGxmShaderPatcherGetVertexProgramRefCount) { + return unimplemented("sceGxmShaderPatcherGetVertexProgramRefCount"); +} + +EXPORT(int, sceGxmShaderPatcherGetVertexUsseMemAllocated) { + return unimplemented("sceGxmShaderPatcherGetVertexUsseMemAllocated"); +} + +EXPORT(int, sceGxmShaderPatcherRegisterProgram, SceGxmShaderPatcher *shaderPatcher, Ptr programHeader, emu::SceGxmShaderPatcherId *programId) { + assert(shaderPatcher != nullptr); + assert(programHeader); + assert(programId != nullptr); + + *programId = alloc(host.mem, __FUNCTION__); + assert(*programId); + if (!*programId) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + SceGxmRegisteredProgram *const rp = programId->get(host.mem); + rp->program = programHeader; + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherReleaseFragmentProgram, SceGxmShaderPatcher *shaderPatcher, Ptr fragmentProgram) { + assert(shaderPatcher != nullptr); + assert(fragmentProgram); + + free(host.mem, fragmentProgram); + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherReleaseVertexProgram, SceGxmShaderPatcher *shaderPatcher, Ptr vertexProgram) { + assert(shaderPatcher != nullptr); + assert(vertexProgram); + + free(host.mem, vertexProgram); + + return 0; +} + +EXPORT(int, sceGxmShaderPatcherSetUserData) { + return unimplemented("sceGxmShaderPatcherSetUserData"); +} + +EXPORT(int, sceGxmShaderPatcherUnregisterProgram, SceGxmShaderPatcher *shaderPatcher, emu::SceGxmShaderPatcherId programId) { + assert(shaderPatcher != nullptr); + assert(programId); + + SceGxmRegisteredProgram *const rp = programId.get(host.mem); + shaderPatcher->vertex_shaders.erase(rp->program); + rp->program.reset(); + + free(host.mem, programId); + + return 0; +} + +EXPORT(int, sceGxmSyncObjectCreate, Ptr *syncObject) { + assert(syncObject != nullptr); + + *syncObject = alloc(host.mem, __FUNCTION__); + if (!*syncObject) { + return SCE_GXM_ERROR_OUT_OF_MEMORY; + } + + return 0; +} + +EXPORT(int, sceGxmSyncObjectDestroy, Ptr syncObject) { + assert(syncObject); + + free(host.mem, syncObject); + + return 0; +} + +EXPORT(int, sceGxmTerminate) { + return 0; +} + +EXPORT(int, sceGxmTextureGetData, const emu::SceGxmTexture *texture) { + assert(texture != nullptr); + + return texture->data.address(); +} + +EXPORT(int, sceGxmTextureGetFormat, const emu::SceGxmTexture *texture) { + assert(texture != nullptr); + + return texture->format; +} + +EXPORT(int, sceGxmTextureGetGammaMode) { + return unimplemented("sceGxmTextureGetGammaMode"); +} + +EXPORT(int, sceGxmTextureGetHeight, const emu::SceGxmTexture *texture) { + assert(texture != nullptr); + + return texture->height; +} + +EXPORT(int, sceGxmTextureGetLodBias) { + return unimplemented("sceGxmTextureGetLodBias"); +} + +EXPORT(int, sceGxmTextureGetLodMin) { + return unimplemented("sceGxmTextureGetLodMin"); +} + +EXPORT(int, sceGxmTextureGetMagFilter) { + return unimplemented("sceGxmTextureGetMagFilter"); +} + +EXPORT(int, sceGxmTextureGetMinFilter) { + return unimplemented("sceGxmTextureGetMinFilter"); +} + +EXPORT(int, sceGxmTextureGetMipFilter) { + return unimplemented("sceGxmTextureGetMipFilter"); +} + +EXPORT(int, sceGxmTextureGetMipmapCount) { + return unimplemented("sceGxmTextureGetMipmapCount"); +} + +EXPORT(int, sceGxmTextureGetNormalizeMode) { + return unimplemented("sceGxmTextureGetNormalizeMode"); +} + +EXPORT(Ptr, sceGxmTextureGetPalette, const emu::SceGxmTexture *texture) { + assert(texture != nullptr); + assert(texture->format == SCE_GXM_TEXTURE_FORMAT_P8_ABGR); + + return texture->palette; +} + +EXPORT(int, sceGxmTextureGetStride) { + return unimplemented("sceGxmTextureGetStride"); +} + +EXPORT(int, sceGxmTextureGetType) { + return unimplemented("sceGxmTextureGetType"); +} + +EXPORT(int, sceGxmTextureGetUAddrMode) { + return unimplemented("sceGxmTextureGetUAddrMode"); +} + +EXPORT(int, sceGxmTextureGetVAddrMode) { + return unimplemented("sceGxmTextureGetVAddrMode"); +} + +EXPORT(int, sceGxmTextureGetWidth, const emu::SceGxmTexture *texture) { + assert(texture != nullptr); + + return texture->width; +} + +EXPORT(int, sceGxmTextureInitCube) { + return unimplemented("sceGxmTextureInitCube"); +} + +EXPORT(int, sceGxmTextureInitCubeArbitrary) { + return unimplemented("sceGxmTextureInitCubeArbitrary"); +} + +EXPORT(int, sceGxmTextureInitLinear, emu::SceGxmTexture *texture, Ptr data, SceGxmTextureFormat texFormat, unsigned int width, unsigned int height, unsigned int mipCount) { + assert(texture != nullptr); + assert(data); + assert((texFormat == SCE_GXM_TEXTURE_FORMAT_U8U8U8U8_ABGR) || (texFormat == SCE_GXM_TEXTURE_FORMAT_U8_R111) || (texFormat == SCE_GXM_TEXTURE_FORMAT_P8_ABGR)); + assert(width > 0); + assert(height > 0); + assert(mipCount == 0); + + texture->format = texFormat; + texture->width = width; + texture->height = height; + texture->data = data; + texture->palette = Ptr(); + + return 0; +} + +EXPORT(int, sceGxmTextureInitLinearStrided) { + return unimplemented("sceGxmTextureInitLinearStrided"); +} + +EXPORT(int, sceGxmTextureInitSwizzled) { + return unimplemented("sceGxmTextureInitSwizzled"); +} + +EXPORT(int, sceGxmTextureInitSwizzledArbitrary) { + return unimplemented("sceGxmTextureInitSwizzledArbitrary"); +} + +EXPORT(int, sceGxmTextureInitTiled) { + return unimplemented("sceGxmTextureInitTiled"); +} + +EXPORT(int, sceGxmTextureSetData) { + return unimplemented("sceGxmTextureSetData"); +} + +EXPORT(int, sceGxmTextureSetFormat) { + return unimplemented("sceGxmTextureSetFormat"); +} + +EXPORT(int, sceGxmTextureSetGammaMode) { + return unimplemented("sceGxmTextureSetGammaMode"); +} + +EXPORT(int, sceGxmTextureSetHeight) { + return unimplemented("sceGxmTextureSetHeight"); +} + +EXPORT(int, sceGxmTextureSetLodBias) { + return unimplemented("sceGxmTextureSetLodBias"); +} + +EXPORT(int, sceGxmTextureSetLodMin) { + return unimplemented("sceGxmTextureSetLodMin"); +} + +EXPORT(int, sceGxmTextureSetMagFilter) { + return unimplemented("sceGxmTextureSetMagFilter"); +} + +EXPORT(int, sceGxmTextureSetMinFilter) { + return unimplemented("sceGxmTextureSetMinFilter"); +} + +EXPORT(int, sceGxmTextureSetMipFilter) { + return unimplemented("sceGxmTextureSetMipFilter"); +} + +EXPORT(int, sceGxmTextureSetMipmapCount) { + return unimplemented("sceGxmTextureSetMipmapCount"); +} + +EXPORT(int, sceGxmTextureSetNormalizeMode) { + return unimplemented("sceGxmTextureSetNormalizeMode"); +} + +EXPORT(int, sceGxmTextureSetPalette, emu::SceGxmTexture *texture, Ptr paletteData) { + assert(texture != nullptr); + assert(texture->format == SCE_GXM_TEXTURE_FORMAT_P8_ABGR); + assert(paletteData); + + texture->palette = paletteData; + + return 0; +} + +EXPORT(int, sceGxmTextureSetStride) { + return unimplemented("sceGxmTextureSetStride"); +} + +EXPORT(int, sceGxmTextureSetUAddrMode) { + return unimplemented("sceGxmTextureSetUAddrMode"); +} + +EXPORT(int, sceGxmTextureSetVAddrMode) { + return unimplemented("sceGxmTextureSetVAddrMode"); +} + +EXPORT(int, sceGxmTextureSetWidth) { + return unimplemented("sceGxmTextureSetWidth"); +} + +EXPORT(int, sceGxmTextureValidate) { + return unimplemented("sceGxmTextureValidate"); +} + +EXPORT(int, sceGxmTransferCopy) { + return unimplemented("sceGxmTransferCopy"); +} + +EXPORT(int, sceGxmTransferDownscale) { + return unimplemented("sceGxmTransferDownscale"); +} + +EXPORT(int, sceGxmTransferFill) { + return unimplemented("sceGxmTransferFill"); +} + +EXPORT(int, sceGxmTransferFinish) { + return unimplemented("sceGxmTransferFinish"); +} + +EXPORT(int, sceGxmUnmapFragmentUsseMemory, void *base) { + assert(base != nullptr); + + return 0; +} + +EXPORT(int, sceGxmUnmapMemory, void *base) { + assert(base != nullptr); + + return 0; +} + +EXPORT(int, sceGxmUnmapVertexUsseMemory, void *base) { + assert(base != nullptr); + + return 0; +} + +EXPORT(int, sceGxmVertexFence) { + return unimplemented("sceGxmVertexFence"); +} + +EXPORT(int, sceGxmVertexProgramGetProgram) { + return unimplemented("sceGxmVertexProgramGetProgram"); +} + +EXPORT(int, sceGxmWaitEvent) { + return unimplemented("sceGxmWaitEvent"); +} + +BRIDGE_IMPL(sceGxmAddRazorGpuCaptureBuffer) +BRIDGE_IMPL(sceGxmBeginCommandList) +BRIDGE_IMPL(sceGxmBeginScene) +BRIDGE_IMPL(sceGxmBeginSceneEx) +BRIDGE_IMPL(sceGxmColorSurfaceGetClip) +BRIDGE_IMPL(sceGxmColorSurfaceGetData) +BRIDGE_IMPL(sceGxmColorSurfaceGetDitherMode) +BRIDGE_IMPL(sceGxmColorSurfaceGetFormat) +BRIDGE_IMPL(sceGxmColorSurfaceGetGammaMode) +BRIDGE_IMPL(sceGxmColorSurfaceGetScaleMode) +BRIDGE_IMPL(sceGxmColorSurfaceGetStrideInPixels) +BRIDGE_IMPL(sceGxmColorSurfaceGetType) +BRIDGE_IMPL(sceGxmColorSurfaceInit) +BRIDGE_IMPL(sceGxmColorSurfaceInitDisabled) +BRIDGE_IMPL(sceGxmColorSurfaceIsEnabled) +BRIDGE_IMPL(sceGxmColorSurfaceSetClip) +BRIDGE_IMPL(sceGxmColorSurfaceSetData) +BRIDGE_IMPL(sceGxmColorSurfaceSetDitherMode) +BRIDGE_IMPL(sceGxmColorSurfaceSetFormat) +BRIDGE_IMPL(sceGxmColorSurfaceSetGammaMode) +BRIDGE_IMPL(sceGxmColorSurfaceSetScaleMode) +BRIDGE_IMPL(sceGxmCreateContext) +BRIDGE_IMPL(sceGxmCreateDeferredContext) +BRIDGE_IMPL(sceGxmCreateRenderTarget) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetBackgroundDepth) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetBackgroundMask) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetBackgroundStencil) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetForceLoadMode) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetForceStoreMode) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetFormat) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceGetStrideInSamples) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceInit) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceInitDisabled) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceIsEnabled) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceSetBackgroundDepth) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceSetBackgroundMask) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceSetBackgroundStencil) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceSetForceLoadMode) +BRIDGE_IMPL(sceGxmDepthStencilSurfaceSetForceStoreMode) +BRIDGE_IMPL(sceGxmDestroyContext) +BRIDGE_IMPL(sceGxmDestroyDeferredContext) +BRIDGE_IMPL(sceGxmDestroyRenderTarget) +BRIDGE_IMPL(sceGxmDisplayQueueAddEntry) +BRIDGE_IMPL(sceGxmDisplayQueueFinish) +BRIDGE_IMPL(sceGxmDraw) +BRIDGE_IMPL(sceGxmDrawInstanced) +BRIDGE_IMPL(sceGxmDrawPrecomputed) +BRIDGE_IMPL(sceGxmEndCommandList) +BRIDGE_IMPL(sceGxmEndScene) +BRIDGE_IMPL(sceGxmExecuteCommandList) +BRIDGE_IMPL(sceGxmFinish) +BRIDGE_IMPL(sceGxmFragmentProgramGetPassType) +BRIDGE_IMPL(sceGxmFragmentProgramGetProgram) +BRIDGE_IMPL(sceGxmFragmentProgramIsEnabled) +BRIDGE_IMPL(sceGxmGetContextType) +BRIDGE_IMPL(sceGxmGetDeferredContextFragmentBuffer) +BRIDGE_IMPL(sceGxmGetDeferredContextVdmBuffer) +BRIDGE_IMPL(sceGxmGetDeferredContextVertexBuffer) +BRIDGE_IMPL(sceGxmGetNotificationRegion) +BRIDGE_IMPL(sceGxmGetParameterBufferThreshold) +BRIDGE_IMPL(sceGxmGetPrecomputedDrawSize) +BRIDGE_IMPL(sceGxmGetPrecomputedFragmentStateSize) +BRIDGE_IMPL(sceGxmGetPrecomputedVertexStateSize) +BRIDGE_IMPL(sceGxmGetRenderTargetMemSizes) +BRIDGE_IMPL(sceGxmInitialize) +BRIDGE_IMPL(sceGxmIsDebugVersion) +BRIDGE_IMPL(sceGxmMapFragmentUsseMemory) +BRIDGE_IMPL(sceGxmMapMemory) +BRIDGE_IMPL(sceGxmMapVertexUsseMemory) +BRIDGE_IMPL(sceGxmMidSceneFlush) +BRIDGE_IMPL(sceGxmNotificationWait) +BRIDGE_IMPL(sceGxmPadHeartbeat) +BRIDGE_IMPL(sceGxmPopUserMarker) +BRIDGE_IMPL(sceGxmPrecomputedDrawInit) +BRIDGE_IMPL(sceGxmPrecomputedDrawSetAllVertexStreams) +BRIDGE_IMPL(sceGxmPrecomputedDrawSetParams) +BRIDGE_IMPL(sceGxmPrecomputedDrawSetParamsInstanced) +BRIDGE_IMPL(sceGxmPrecomputedDrawSetVertexStream) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateGetDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateInit) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateSetAllTextures) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateSetAllUniformBuffers) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateSetDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateSetTexture) +BRIDGE_IMPL(sceGxmPrecomputedFragmentStateSetUniformBuffer) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateGetDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateInit) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateSetAllTextures) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateSetAllUniformBuffers) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateSetDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateSetTexture) +BRIDGE_IMPL(sceGxmPrecomputedVertexStateSetUniformBuffer) +BRIDGE_IMPL(sceGxmProgramCheck) +BRIDGE_IMPL(sceGxmProgramFindParameterByName) +BRIDGE_IMPL(sceGxmProgramFindParameterBySemantic) +BRIDGE_IMPL(sceGxmProgramGetDefaultUniformBufferSize) +BRIDGE_IMPL(sceGxmProgramGetFragmentProgramInputs) +BRIDGE_IMPL(sceGxmProgramGetOutputRegisterFormat) +BRIDGE_IMPL(sceGxmProgramGetParameter) +BRIDGE_IMPL(sceGxmProgramGetParameterCount) +BRIDGE_IMPL(sceGxmProgramGetSize) +BRIDGE_IMPL(sceGxmProgramGetType) +BRIDGE_IMPL(sceGxmProgramGetVertexProgramOutputs) +BRIDGE_IMPL(sceGxmProgramIsDepthReplaceUsed) +BRIDGE_IMPL(sceGxmProgramIsDiscardUsed) +BRIDGE_IMPL(sceGxmProgramIsEquivalent) +BRIDGE_IMPL(sceGxmProgramIsFragColorUsed) +BRIDGE_IMPL(sceGxmProgramIsNativeColorUsed) +BRIDGE_IMPL(sceGxmProgramIsSpriteCoordUsed) +BRIDGE_IMPL(sceGxmProgramParameterGetArraySize) +BRIDGE_IMPL(sceGxmProgramParameterGetCategory) +BRIDGE_IMPL(sceGxmProgramParameterGetComponentCount) +BRIDGE_IMPL(sceGxmProgramParameterGetContainerIndex) +BRIDGE_IMPL(sceGxmProgramParameterGetIndex) +BRIDGE_IMPL(sceGxmProgramParameterGetName) +BRIDGE_IMPL(sceGxmProgramParameterGetResourceIndex) +BRIDGE_IMPL(sceGxmProgramParameterGetSemantic) +BRIDGE_IMPL(sceGxmProgramParameterGetSemanticIndex) +BRIDGE_IMPL(sceGxmProgramParameterGetType) +BRIDGE_IMPL(sceGxmProgramParameterIsRegFormat) +BRIDGE_IMPL(sceGxmProgramParameterIsSamplerCube) +BRIDGE_IMPL(sceGxmPushUserMarker) +BRIDGE_IMPL(sceGxmRemoveRazorGpuCaptureBuffer) +BRIDGE_IMPL(sceGxmRenderTargetGetDriverMemBlock) +BRIDGE_IMPL(sceGxmReserveFragmentDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmReserveVertexDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmSetBackDepthBias) +BRIDGE_IMPL(sceGxmSetBackDepthFunc) +BRIDGE_IMPL(sceGxmSetBackDepthWriteEnable) +BRIDGE_IMPL(sceGxmSetBackFragmentProgramEnable) +BRIDGE_IMPL(sceGxmSetBackLineFillLastPixelEnable) +BRIDGE_IMPL(sceGxmSetBackPointLineWidth) +BRIDGE_IMPL(sceGxmSetBackPolygonMode) +BRIDGE_IMPL(sceGxmSetBackStencilFunc) +BRIDGE_IMPL(sceGxmSetBackStencilRef) +BRIDGE_IMPL(sceGxmSetBackVisibilityTestEnable) +BRIDGE_IMPL(sceGxmSetBackVisibilityTestIndex) +BRIDGE_IMPL(sceGxmSetBackVisibilityTestOp) +BRIDGE_IMPL(sceGxmSetCullMode) +BRIDGE_IMPL(sceGxmSetDefaultRegionClipAndViewport) +BRIDGE_IMPL(sceGxmSetDeferredContextFragmentBuffer) +BRIDGE_IMPL(sceGxmSetDeferredContextVdmBuffer) +BRIDGE_IMPL(sceGxmSetDeferredContextVertexBuffer) +BRIDGE_IMPL(sceGxmSetFragmentDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmSetFragmentProgram) +BRIDGE_IMPL(sceGxmSetFragmentTexture) +BRIDGE_IMPL(sceGxmSetFragmentUniformBuffer) +BRIDGE_IMPL(sceGxmSetFrontDepthBias) +BRIDGE_IMPL(sceGxmSetFrontDepthFunc) +BRIDGE_IMPL(sceGxmSetFrontDepthWriteEnable) +BRIDGE_IMPL(sceGxmSetFrontFragmentProgramEnable) +BRIDGE_IMPL(sceGxmSetFrontLineFillLastPixelEnable) +BRIDGE_IMPL(sceGxmSetFrontPointLineWidth) +BRIDGE_IMPL(sceGxmSetFrontPolygonMode) +BRIDGE_IMPL(sceGxmSetFrontStencilFunc) +BRIDGE_IMPL(sceGxmSetFrontStencilRef) +BRIDGE_IMPL(sceGxmSetFrontVisibilityTestEnable) +BRIDGE_IMPL(sceGxmSetFrontVisibilityTestIndex) +BRIDGE_IMPL(sceGxmSetFrontVisibilityTestOp) +BRIDGE_IMPL(sceGxmSetPrecomputedFragmentState) +BRIDGE_IMPL(sceGxmSetPrecomputedVertexState) +BRIDGE_IMPL(sceGxmSetRegionClip) +BRIDGE_IMPL(sceGxmSetTwoSidedEnable) +BRIDGE_IMPL(sceGxmSetUniformDataF) +BRIDGE_IMPL(sceGxmSetUserMarker) +BRIDGE_IMPL(sceGxmSetVertexDefaultUniformBuffer) +BRIDGE_IMPL(sceGxmSetVertexProgram) +BRIDGE_IMPL(sceGxmSetVertexStream) +BRIDGE_IMPL(sceGxmSetVertexTexture) +BRIDGE_IMPL(sceGxmSetVertexUniformBuffer) +BRIDGE_IMPL(sceGxmSetViewport) +BRIDGE_IMPL(sceGxmSetViewportEnable) +BRIDGE_IMPL(sceGxmSetVisibilityBuffer) +BRIDGE_IMPL(sceGxmSetWBufferEnable) +BRIDGE_IMPL(sceGxmSetWClampEnable) +BRIDGE_IMPL(sceGxmSetWClampValue) +BRIDGE_IMPL(sceGxmSetWarningEnabled) +BRIDGE_IMPL(sceGxmSetYuvProfile) +BRIDGE_IMPL(sceGxmShaderPatcherAddRefFragmentProgram) +BRIDGE_IMPL(sceGxmShaderPatcherAddRefVertexProgram) +BRIDGE_IMPL(sceGxmShaderPatcherCreate) +BRIDGE_IMPL(sceGxmShaderPatcherCreateFragmentProgram) +BRIDGE_IMPL(sceGxmShaderPatcherCreateMaskUpdateFragmentProgram) +BRIDGE_IMPL(sceGxmShaderPatcherCreateVertexProgram) +BRIDGE_IMPL(sceGxmShaderPatcherDestroy) +BRIDGE_IMPL(sceGxmShaderPatcherForceUnregisterProgram) +BRIDGE_IMPL(sceGxmShaderPatcherGetBufferMemAllocated) +BRIDGE_IMPL(sceGxmShaderPatcherGetFragmentProgramRefCount) +BRIDGE_IMPL(sceGxmShaderPatcherGetFragmentUsseMemAllocated) +BRIDGE_IMPL(sceGxmShaderPatcherGetHostMemAllocated) +BRIDGE_IMPL(sceGxmShaderPatcherGetProgramFromId) +BRIDGE_IMPL(sceGxmShaderPatcherGetUserData) +BRIDGE_IMPL(sceGxmShaderPatcherGetVertexProgramRefCount) +BRIDGE_IMPL(sceGxmShaderPatcherGetVertexUsseMemAllocated) +BRIDGE_IMPL(sceGxmShaderPatcherRegisterProgram) +BRIDGE_IMPL(sceGxmShaderPatcherReleaseFragmentProgram) +BRIDGE_IMPL(sceGxmShaderPatcherReleaseVertexProgram) +BRIDGE_IMPL(sceGxmShaderPatcherSetUserData) +BRIDGE_IMPL(sceGxmShaderPatcherUnregisterProgram) +BRIDGE_IMPL(sceGxmSyncObjectCreate) +BRIDGE_IMPL(sceGxmSyncObjectDestroy) +BRIDGE_IMPL(sceGxmTerminate) +BRIDGE_IMPL(sceGxmTextureGetData) +BRIDGE_IMPL(sceGxmTextureGetFormat) +BRIDGE_IMPL(sceGxmTextureGetGammaMode) +BRIDGE_IMPL(sceGxmTextureGetHeight) +BRIDGE_IMPL(sceGxmTextureGetLodBias) +BRIDGE_IMPL(sceGxmTextureGetLodMin) +BRIDGE_IMPL(sceGxmTextureGetMagFilter) +BRIDGE_IMPL(sceGxmTextureGetMinFilter) +BRIDGE_IMPL(sceGxmTextureGetMipFilter) +BRIDGE_IMPL(sceGxmTextureGetMipmapCount) +BRIDGE_IMPL(sceGxmTextureGetNormalizeMode) +BRIDGE_IMPL(sceGxmTextureGetPalette) +BRIDGE_IMPL(sceGxmTextureGetStride) +BRIDGE_IMPL(sceGxmTextureGetType) +BRIDGE_IMPL(sceGxmTextureGetUAddrMode) +BRIDGE_IMPL(sceGxmTextureGetVAddrMode) +BRIDGE_IMPL(sceGxmTextureGetWidth) +BRIDGE_IMPL(sceGxmTextureInitCube) +BRIDGE_IMPL(sceGxmTextureInitCubeArbitrary) +BRIDGE_IMPL(sceGxmTextureInitLinear) +BRIDGE_IMPL(sceGxmTextureInitLinearStrided) +BRIDGE_IMPL(sceGxmTextureInitSwizzled) +BRIDGE_IMPL(sceGxmTextureInitSwizzledArbitrary) +BRIDGE_IMPL(sceGxmTextureInitTiled) +BRIDGE_IMPL(sceGxmTextureSetData) +BRIDGE_IMPL(sceGxmTextureSetFormat) +BRIDGE_IMPL(sceGxmTextureSetGammaMode) +BRIDGE_IMPL(sceGxmTextureSetHeight) +BRIDGE_IMPL(sceGxmTextureSetLodBias) +BRIDGE_IMPL(sceGxmTextureSetLodMin) +BRIDGE_IMPL(sceGxmTextureSetMagFilter) +BRIDGE_IMPL(sceGxmTextureSetMinFilter) +BRIDGE_IMPL(sceGxmTextureSetMipFilter) +BRIDGE_IMPL(sceGxmTextureSetMipmapCount) +BRIDGE_IMPL(sceGxmTextureSetNormalizeMode) +BRIDGE_IMPL(sceGxmTextureSetPalette) +BRIDGE_IMPL(sceGxmTextureSetStride) +BRIDGE_IMPL(sceGxmTextureSetUAddrMode) +BRIDGE_IMPL(sceGxmTextureSetVAddrMode) +BRIDGE_IMPL(sceGxmTextureSetWidth) +BRIDGE_IMPL(sceGxmTextureValidate) +BRIDGE_IMPL(sceGxmTransferCopy) +BRIDGE_IMPL(sceGxmTransferDownscale) +BRIDGE_IMPL(sceGxmTransferFill) +BRIDGE_IMPL(sceGxmTransferFinish) +BRIDGE_IMPL(sceGxmUnmapFragmentUsseMemory) +BRIDGE_IMPL(sceGxmUnmapMemory) +BRIDGE_IMPL(sceGxmUnmapVertexUsseMemory) +BRIDGE_IMPL(sceGxmVertexFence) +BRIDGE_IMPL(sceGxmVertexProgramGetProgram) +BRIDGE_IMPL(sceGxmWaitEvent) diff --git a/src/emulator/modules/SceGxm/src/gxm.h b/src/emulator/modules/SceGxm/src/gxm.h new file mode 100644 index 000000000..e83dbb27f --- /dev/null +++ b/src/emulator/modules/SceGxm/src/gxm.h @@ -0,0 +1,198 @@ +#pragma once + +#include +#include +#include + +#include + +#include + +namespace emu { + struct SceGxmBlendInfo { + SceGxmColorMask colorMask : 8; + SceGxmBlendFunc colorFunc : 4; + SceGxmBlendFunc alphaFunc : 4; + SceGxmBlendFactor colorSrc : 4; + SceGxmBlendFactor colorDst : 4; + SceGxmBlendFactor alphaSrc : 4; + SceGxmBlendFactor alphaDst : 4; + }; + + static_assert(sizeof(SceGxmBlendInfo) == 4, "Incorrect size."); + + struct SceGxmTexture { + //uint32_t controlWords[4]; + SceGxmTextureFormat format; + uint16_t width; + uint16_t height; + Ptr data; + Ptr palette; + }; + + static_assert(sizeof(SceGxmTexture) == 16, "Incorrect size."); + + struct SceGxmColorSurface { + uint32_t pbeSidebandWord; + uint32_t pbeEmitWords[6]; + uint32_t outputRegisterSize; + SceGxmTexture backgroundTex; + }; + + struct SceGxmContextParams { + Ptr hostMem; + uint32_t hostMemSize; + Ptr vdmRingBufferMem; + uint32_t vdmRingBufferMemSize; + Ptr vertexRingBufferMem; + uint32_t vertexRingBufferMemSize; + Ptr fragmentRingBufferMem; + uint32_t fragmentRingBufferMemSize; + Ptr fragmentUsseRingBufferMem; + uint32_t fragmentUsseRingBufferMemSize; + uint32_t fragmentUsseRingBufferOffset; + }; +} + +typedef std::unique_ptr> GLContextPtr; + +struct SceGxmContext { + // This is an opaque type. + emu::SceGxmContextParams params; + GLContextPtr gl; + size_t fragment_ring_buffer_used = 0; + size_t vertex_ring_buffer_used = 0; + emu::SceGxmColorSurface color_surface; + const SceGxmVertexProgram *vertex_program = nullptr; + GLObjectArray<1> texture; +}; + +namespace emu { + struct SceGxmDepthStencilSurface { + uint32_t zlsControl; + Ptr depthData; + Ptr stencilData; + float backgroundDepth; + uint32_t backgroundControl; + }; +} + +struct SceGxmFragmentProgram { + // TODO This is an opaque type. + GLObject program; + GLboolean color_mask_red = GL_TRUE; + GLboolean color_mask_green = GL_TRUE; + GLboolean color_mask_blue = GL_TRUE; + GLboolean color_mask_alpha = GL_TRUE; + bool blend_enabled = false; + GLenum color_func = GL_ADD; + GLenum alpha_func = GL_ADD; + GLenum color_src = GL_ONE; + GLenum color_dst = GL_ZERO; + GLenum alpha_src = GL_ONE; + GLenum alpha_dst = GL_ZERO; +}; + +namespace emu { + struct SceGxmNotification { + Ptr address; + uint32_t value; + }; +} + +struct SceGxmProgram { + char magic[4]; + char maybe_version[2]; + char maybe_padding[2]; + uint32_t size; + uint8_t unknown1[8]; + uint16_t maybe_type; + uint16_t unknown2[7]; + uint32_t parameter_count; + uint32_t parameters_offset; // Number of bytes from the start of this field to the first parameter. +}; + +struct SceGxmProgramParameter { + int32_t name_offset; // Number of bytes from the start of this structure to the name string. + uint8_t category; // SceGxmParameterCategory. + uint8_t container_index : 4; + uint8_t component_count : 4; + uint8_t unknown1[2]; + uint8_t array_size; + uint8_t unknown2[3]; + uint8_t resource_index; + uint8_t unknown3[3]; +}; + +static_assert(sizeof(SceGxmProgramParameter) == 16, "Incorrect structure layout."); + +struct SceGxmRegisteredProgram { + // TODO This is an opaque type. + Ptr program; +}; + +struct SceGxmRenderTarget { + GLObjectArray<2> renderbuffers; + GLObjectArray<1> framebuffer; +}; + +typedef std::shared_ptr GLObjectPtr; +typedef std::map, GLObjectPtr> ProgramToVertexShader; + +struct SceGxmShaderPatcher { + // TODO This is an opaque struct. + ProgramToVertexShader vertex_shaders; +}; + +namespace emu { + typedef Ptr SceGxmShaderPatcherId; + + typedef Ptr SceGxmShaderPatcherHostAllocCallback(Ptr userData, uint32_t size); + typedef void SceGxmShaderPatcherHostFreeCallback(Ptr userData, Ptr mem); + typedef Ptr SceGxmShaderPatcherBufferAllocCallback(Ptr userData, uint32_t size); + typedef void SceGxmShaderPatcherBufferFreeCallback(Ptr userData, Ptr mem); + typedef Ptr SceGxmShaderPatcherUsseAllocCallback(Ptr userData, uint32_t size, Ptr usseOffset); + typedef void SceGxmShaderPatcherUsseFreeCallback(Ptr userData, Ptr mem); + + struct SceGxmShaderPatcherParams { + Ptr userData; + Ptr hostAllocCallback; + Ptr hostFreeCallback; + Ptr bufferAllocCallback; + Ptr bufferFreeCallback; + Ptr bufferMem; + uint32_t bufferMemSize; + Ptr vertexUsseAllocCallback; + Ptr vertexUsseFreeCallback; + Ptr vertexUsseMem; + uint32_t vertexUsseMemSize; + uint32_t vertexUsseOffset; + Ptr fragmentUsseAllocCallback; + Ptr fragmentUsseFreeCallback; + Ptr fragmentUsseMem; + uint32_t fragmentUsseMemSize; + uint32_t fragmentUsseOffset; + }; +} + +struct SceGxmSyncObject { +}; + +namespace emu { + struct SceGxmVertexAttribute { + uint16_t streamIndex; + uint16_t offset; + uint8_t format; // SceGxmAttributeFormat. + uint8_t componentCount; + uint16_t regIndex; // Returned from sceGxmProgramParameterGetResourceIndex(). + }; + + static_assert(sizeof(SceGxmVertexAttribute) == 8, "Structure has been incorrectly packed."); +} + +struct SceGxmVertexProgram { + // TODO I think this is an opaque type. + GLObjectPtr shader = std::make_shared(); + std::vector streams; + std::vector attributes; +}; diff --git a/src/emulator/modules/SceHandwriting/CMakeLists.txt b/src/emulator/modules/SceHandwriting/CMakeLists.txt new file mode 100644 index 000000000..505c5163c --- /dev/null +++ b/src/emulator/modules/SceHandwriting/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceHandwriting STATIC include/SceHandwriting/exports.h src/SceHandwriting.cpp) +target_include_directories(SceHandwriting PUBLIC include) +target_link_libraries(SceHandwriting PRIVATE module) diff --git a/src/emulator/modules/SceHandwriting/include/SceHandwriting/exports.h b/src/emulator/modules/SceHandwriting/include/SceHandwriting/exports.h new file mode 100644 index 000000000..675e500e3 --- /dev/null +++ b/src/emulator/modules/SceHandwriting/include/SceHandwriting/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceHandwriting +BRIDGE_DECL(sceHandwritingGetBufferSize) +BRIDGE_DECL(sceHandwritingInit) +BRIDGE_DECL(sceHandwritingRecognize) +BRIDGE_DECL(sceHandwritingRegisterDelete) +BRIDGE_DECL(sceHandwritingRegisterGetResult) +BRIDGE_DECL(sceHandwritingRegisterInfo) +BRIDGE_DECL(sceHandwritingRegisterInit) +BRIDGE_DECL(sceHandwritingRegisterSet) +BRIDGE_DECL(sceHandwritingRegisterTerm) +BRIDGE_DECL(sceHandwritingSetMode) +BRIDGE_DECL(sceHandwritingTerm) diff --git a/src/emulator/modules/SceHandwriting/src/SceHandwriting.cpp b/src/emulator/modules/SceHandwriting/src/SceHandwriting.cpp new file mode 100644 index 000000000..b5cb15a51 --- /dev/null +++ b/src/emulator/modules/SceHandwriting/src/SceHandwriting.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceHandwritingGetBufferSize) { + return unimplemented("sceHandwritingGetBufferSize"); +} + +EXPORT(int, sceHandwritingInit) { + return unimplemented("sceHandwritingInit"); +} + +EXPORT(int, sceHandwritingRecognize) { + return unimplemented("sceHandwritingRecognize"); +} + +EXPORT(int, sceHandwritingRegisterDelete) { + return unimplemented("sceHandwritingRegisterDelete"); +} + +EXPORT(int, sceHandwritingRegisterGetResult) { + return unimplemented("sceHandwritingRegisterGetResult"); +} + +EXPORT(int, sceHandwritingRegisterInfo) { + return unimplemented("sceHandwritingRegisterInfo"); +} + +EXPORT(int, sceHandwritingRegisterInit) { + return unimplemented("sceHandwritingRegisterInit"); +} + +EXPORT(int, sceHandwritingRegisterSet) { + return unimplemented("sceHandwritingRegisterSet"); +} + +EXPORT(int, sceHandwritingRegisterTerm) { + return unimplemented("sceHandwritingRegisterTerm"); +} + +EXPORT(int, sceHandwritingSetMode) { + return unimplemented("sceHandwritingSetMode"); +} + +EXPORT(int, sceHandwritingTerm) { + return unimplemented("sceHandwritingTerm"); +} + +BRIDGE_IMPL(sceHandwritingGetBufferSize) +BRIDGE_IMPL(sceHandwritingInit) +BRIDGE_IMPL(sceHandwritingRecognize) +BRIDGE_IMPL(sceHandwritingRegisterDelete) +BRIDGE_IMPL(sceHandwritingRegisterGetResult) +BRIDGE_IMPL(sceHandwritingRegisterInfo) +BRIDGE_IMPL(sceHandwritingRegisterInit) +BRIDGE_IMPL(sceHandwritingRegisterSet) +BRIDGE_IMPL(sceHandwritingRegisterTerm) +BRIDGE_IMPL(sceHandwritingSetMode) +BRIDGE_IMPL(sceHandwritingTerm) diff --git a/src/emulator/modules/SceHeap/CMakeLists.txt b/src/emulator/modules/SceHeap/CMakeLists.txt new file mode 100644 index 000000000..33b5bf922 --- /dev/null +++ b/src/emulator/modules/SceHeap/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceHeap STATIC include/SceHeap/exports.h src/SceHeap.cpp) +target_include_directories(SceHeap PUBLIC include) +target_link_libraries(SceHeap PRIVATE module) diff --git a/src/emulator/modules/SceHeap/include/SceHeap/exports.h b/src/emulator/modules/SceHeap/include/SceHeap/exports.h new file mode 100644 index 000000000..613fd79f8 --- /dev/null +++ b/src/emulator/modules/SceHeap/include/SceHeap/exports.h @@ -0,0 +1,32 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceHeap +BRIDGE_DECL(sceHeapAllocHeapMemory) +BRIDGE_DECL(sceHeapAllocHeapMemoryWithOption) +BRIDGE_DECL(sceHeapCreateHeap) +BRIDGE_DECL(sceHeapDeleteHeap) +BRIDGE_DECL(sceHeapFreeHeapMemory) +BRIDGE_DECL(sceHeapGetMallinfo) +BRIDGE_DECL(sceHeapGetTotalFreeSize) +BRIDGE_DECL(sceHeapIsAllocatedHeapMemory) +BRIDGE_DECL(sceHeapReallocHeapMemory) +BRIDGE_DECL(sceHeapReallocHeapMemoryWithOption) diff --git a/src/emulator/modules/SceHeap/src/SceHeap.cpp b/src/emulator/modules/SceHeap/src/SceHeap.cpp new file mode 100644 index 000000000..1ec0c08b3 --- /dev/null +++ b/src/emulator/modules/SceHeap/src/SceHeap.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceHeapAllocHeapMemory) { + return unimplemented("sceHeapAllocHeapMemory"); +} + +EXPORT(int, sceHeapAllocHeapMemoryWithOption) { + return unimplemented("sceHeapAllocHeapMemoryWithOption"); +} + +EXPORT(int, sceHeapCreateHeap) { + return unimplemented("sceHeapCreateHeap"); +} + +EXPORT(int, sceHeapDeleteHeap) { + return unimplemented("sceHeapDeleteHeap"); +} + +EXPORT(int, sceHeapFreeHeapMemory) { + return unimplemented("sceHeapFreeHeapMemory"); +} + +EXPORT(int, sceHeapGetMallinfo) { + return unimplemented("sceHeapGetMallinfo"); +} + +EXPORT(int, sceHeapGetTotalFreeSize) { + return unimplemented("sceHeapGetTotalFreeSize"); +} + +EXPORT(int, sceHeapIsAllocatedHeapMemory) { + return unimplemented("sceHeapIsAllocatedHeapMemory"); +} + +EXPORT(int, sceHeapReallocHeapMemory) { + return unimplemented("sceHeapReallocHeapMemory"); +} + +EXPORT(int, sceHeapReallocHeapMemoryWithOption) { + return unimplemented("sceHeapReallocHeapMemoryWithOption"); +} + +BRIDGE_IMPL(sceHeapAllocHeapMemory) +BRIDGE_IMPL(sceHeapAllocHeapMemoryWithOption) +BRIDGE_IMPL(sceHeapCreateHeap) +BRIDGE_IMPL(sceHeapDeleteHeap) +BRIDGE_IMPL(sceHeapFreeHeapMemory) +BRIDGE_IMPL(sceHeapGetMallinfo) +BRIDGE_IMPL(sceHeapGetTotalFreeSize) +BRIDGE_IMPL(sceHeapIsAllocatedHeapMemory) +BRIDGE_IMPL(sceHeapReallocHeapMemory) +BRIDGE_IMPL(sceHeapReallocHeapMemoryWithOption) diff --git a/src/emulator/modules/SceHid/CMakeLists.txt b/src/emulator/modules/SceHid/CMakeLists.txt new file mode 100644 index 000000000..a639ffad9 --- /dev/null +++ b/src/emulator/modules/SceHid/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceHid STATIC include/SceHid/exports.h src/SceHid.cpp) +target_include_directories(SceHid PUBLIC include) +target_link_libraries(SceHid PRIVATE module) diff --git a/src/emulator/modules/SceHid/include/SceHid/exports.h b/src/emulator/modules/SceHid/include/SceHid/exports.h new file mode 100644 index 000000000..9da1fa44b --- /dev/null +++ b/src/emulator/modules/SceHid/include/SceHid/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceHid +BRIDGE_DECL(sceHidKeyboardEnumerate) +BRIDGE_DECL(sceHidKeyboardRead) +BRIDGE_DECL(sceHidMouseEnumerate) +BRIDGE_DECL(sceHidMouseRead) diff --git a/src/emulator/modules/SceHid/src/SceHid.cpp b/src/emulator/modules/SceHid/src/SceHid.cpp new file mode 100644 index 000000000..30cd5d1ba --- /dev/null +++ b/src/emulator/modules/SceHid/src/SceHid.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceHidKeyboardEnumerate) { + return unimplemented("sceHidKeyboardEnumerate"); +} + +EXPORT(int, sceHidKeyboardRead) { + return unimplemented("sceHidKeyboardRead"); +} + +EXPORT(int, sceHidMouseEnumerate) { + return unimplemented("sceHidMouseEnumerate"); +} + +EXPORT(int, sceHidMouseRead) { + return unimplemented("sceHidMouseRead"); +} + +BRIDGE_IMPL(sceHidKeyboardEnumerate) +BRIDGE_IMPL(sceHidKeyboardRead) +BRIDGE_IMPL(sceHidMouseEnumerate) +BRIDGE_IMPL(sceHidMouseRead) diff --git a/src/emulator/modules/SceHmac/CMakeLists.txt b/src/emulator/modules/SceHmac/CMakeLists.txt new file mode 100644 index 000000000..749fdf930 --- /dev/null +++ b/src/emulator/modules/SceHmac/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceHmac STATIC include/SceHmac/exports.h src/SceHmac.cpp) +target_include_directories(SceHmac PUBLIC include) +target_link_libraries(SceHmac PRIVATE module) diff --git a/src/emulator/modules/SceHmac/include/SceHmac/exports.h b/src/emulator/modules/SceHmac/include/SceHmac/exports.h new file mode 100644 index 000000000..d475427da --- /dev/null +++ b/src/emulator/modules/SceHmac/include/SceHmac/exports.h @@ -0,0 +1,50 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceHmac +BRIDGE_DECL(sceHmacMd5BlockInit) +BRIDGE_DECL(sceHmacMd5BlockResult) +BRIDGE_DECL(sceHmacMd5BlockUpdate) +BRIDGE_DECL(sceHmacMd5Digest) +BRIDGE_DECL(sceHmacSha0BlockInit) +BRIDGE_DECL(sceHmacSha0BlockResult) +BRIDGE_DECL(sceHmacSha0BlockUpdate) +BRIDGE_DECL(sceHmacSha0Digest) +BRIDGE_DECL(sceHmacSha1BlockInit) +BRIDGE_DECL(sceHmacSha1BlockResult) +BRIDGE_DECL(sceHmacSha1BlockUpdate) +BRIDGE_DECL(sceHmacSha1Digest) +BRIDGE_DECL(sceHmacSha224BlockInit) +BRIDGE_DECL(sceHmacSha224BlockResult) +BRIDGE_DECL(sceHmacSha224BlockUpdate) +BRIDGE_DECL(sceHmacSha224Digest) +BRIDGE_DECL(sceHmacSha256BlockInit) +BRIDGE_DECL(sceHmacSha256BlockResult) +BRIDGE_DECL(sceHmacSha256BlockUpdate) +BRIDGE_DECL(sceHmacSha256Digest) +BRIDGE_DECL(sceHmacSha384BlockInit) +BRIDGE_DECL(sceHmacSha384BlockResult) +BRIDGE_DECL(sceHmacSha384BlockUpdate) +BRIDGE_DECL(sceHmacSha384Digest) +BRIDGE_DECL(sceHmacSha512BlockInit) +BRIDGE_DECL(sceHmacSha512BlockResult) +BRIDGE_DECL(sceHmacSha512BlockUpdate) +BRIDGE_DECL(sceHmacSha512Digest) diff --git a/src/emulator/modules/SceHmac/src/SceHmac.cpp b/src/emulator/modules/SceHmac/src/SceHmac.cpp new file mode 100644 index 000000000..fd40e7f69 --- /dev/null +++ b/src/emulator/modules/SceHmac/src/SceHmac.cpp @@ -0,0 +1,159 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceHmacMd5BlockInit) { + return unimplemented("sceHmacMd5BlockInit"); +} + +EXPORT(int, sceHmacMd5BlockResult) { + return unimplemented("sceHmacMd5BlockResult"); +} + +EXPORT(int, sceHmacMd5BlockUpdate) { + return unimplemented("sceHmacMd5BlockUpdate"); +} + +EXPORT(int, sceHmacMd5Digest) { + return unimplemented("sceHmacMd5Digest"); +} + +EXPORT(int, sceHmacSha0BlockInit) { + return unimplemented("sceHmacSha0BlockInit"); +} + +EXPORT(int, sceHmacSha0BlockResult) { + return unimplemented("sceHmacSha0BlockResult"); +} + +EXPORT(int, sceHmacSha0BlockUpdate) { + return unimplemented("sceHmacSha0BlockUpdate"); +} + +EXPORT(int, sceHmacSha0Digest) { + return unimplemented("sceHmacSha0Digest"); +} + +EXPORT(int, sceHmacSha1BlockInit) { + return unimplemented("sceHmacSha1BlockInit"); +} + +EXPORT(int, sceHmacSha1BlockResult) { + return unimplemented("sceHmacSha1BlockResult"); +} + +EXPORT(int, sceHmacSha1BlockUpdate) { + return unimplemented("sceHmacSha1BlockUpdate"); +} + +EXPORT(int, sceHmacSha1Digest) { + return unimplemented("sceHmacSha1Digest"); +} + +EXPORT(int, sceHmacSha224BlockInit) { + return unimplemented("sceHmacSha224BlockInit"); +} + +EXPORT(int, sceHmacSha224BlockResult) { + return unimplemented("sceHmacSha224BlockResult"); +} + +EXPORT(int, sceHmacSha224BlockUpdate) { + return unimplemented("sceHmacSha224BlockUpdate"); +} + +EXPORT(int, sceHmacSha224Digest) { + return unimplemented("sceHmacSha224Digest"); +} + +EXPORT(int, sceHmacSha256BlockInit) { + return unimplemented("sceHmacSha256BlockInit"); +} + +EXPORT(int, sceHmacSha256BlockResult) { + return unimplemented("sceHmacSha256BlockResult"); +} + +EXPORT(int, sceHmacSha256BlockUpdate) { + return unimplemented("sceHmacSha256BlockUpdate"); +} + +EXPORT(int, sceHmacSha256Digest) { + return unimplemented("sceHmacSha256Digest"); +} + +EXPORT(int, sceHmacSha384BlockInit) { + return unimplemented("sceHmacSha384BlockInit"); +} + +EXPORT(int, sceHmacSha384BlockResult) { + return unimplemented("sceHmacSha384BlockResult"); +} + +EXPORT(int, sceHmacSha384BlockUpdate) { + return unimplemented("sceHmacSha384BlockUpdate"); +} + +EXPORT(int, sceHmacSha384Digest) { + return unimplemented("sceHmacSha384Digest"); +} + +EXPORT(int, sceHmacSha512BlockInit) { + return unimplemented("sceHmacSha512BlockInit"); +} + +EXPORT(int, sceHmacSha512BlockResult) { + return unimplemented("sceHmacSha512BlockResult"); +} + +EXPORT(int, sceHmacSha512BlockUpdate) { + return unimplemented("sceHmacSha512BlockUpdate"); +} + +EXPORT(int, sceHmacSha512Digest) { + return unimplemented("sceHmacSha512Digest"); +} + +BRIDGE_IMPL(sceHmacMd5BlockInit) +BRIDGE_IMPL(sceHmacMd5BlockResult) +BRIDGE_IMPL(sceHmacMd5BlockUpdate) +BRIDGE_IMPL(sceHmacMd5Digest) +BRIDGE_IMPL(sceHmacSha0BlockInit) +BRIDGE_IMPL(sceHmacSha0BlockResult) +BRIDGE_IMPL(sceHmacSha0BlockUpdate) +BRIDGE_IMPL(sceHmacSha0Digest) +BRIDGE_IMPL(sceHmacSha1BlockInit) +BRIDGE_IMPL(sceHmacSha1BlockResult) +BRIDGE_IMPL(sceHmacSha1BlockUpdate) +BRIDGE_IMPL(sceHmacSha1Digest) +BRIDGE_IMPL(sceHmacSha224BlockInit) +BRIDGE_IMPL(sceHmacSha224BlockResult) +BRIDGE_IMPL(sceHmacSha224BlockUpdate) +BRIDGE_IMPL(sceHmacSha224Digest) +BRIDGE_IMPL(sceHmacSha256BlockInit) +BRIDGE_IMPL(sceHmacSha256BlockResult) +BRIDGE_IMPL(sceHmacSha256BlockUpdate) +BRIDGE_IMPL(sceHmacSha256Digest) +BRIDGE_IMPL(sceHmacSha384BlockInit) +BRIDGE_IMPL(sceHmacSha384BlockResult) +BRIDGE_IMPL(sceHmacSha384BlockUpdate) +BRIDGE_IMPL(sceHmacSha384Digest) +BRIDGE_IMPL(sceHmacSha512BlockInit) +BRIDGE_IMPL(sceHmacSha512BlockResult) +BRIDGE_IMPL(sceHmacSha512BlockUpdate) +BRIDGE_IMPL(sceHmacSha512Digest) diff --git a/src/emulator/modules/SceIme/CMakeLists.txt b/src/emulator/modules/SceIme/CMakeLists.txt new file mode 100644 index 000000000..edad695a1 --- /dev/null +++ b/src/emulator/modules/SceIme/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceIme STATIC include/SceIme/exports.h src/SceIme.cpp) +target_include_directories(SceIme PUBLIC include) +target_link_libraries(SceIme PRIVATE module) diff --git a/src/emulator/modules/SceIme/include/SceIme/exports.h b/src/emulator/modules/SceIme/include/SceIme/exports.h new file mode 100644 index 000000000..bbf43d9f1 --- /dev/null +++ b/src/emulator/modules/SceIme/include/SceIme/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceIme +BRIDGE_DECL(sceImeClose) +BRIDGE_DECL(sceImeOpen) +BRIDGE_DECL(sceImeSetCaret) +BRIDGE_DECL(sceImeSetPreeditGeometry) +BRIDGE_DECL(sceImeSetText) +BRIDGE_DECL(sceImeUpdate) diff --git a/src/emulator/modules/SceIme/src/SceIme.cpp b/src/emulator/modules/SceIme/src/SceIme.cpp new file mode 100644 index 000000000..118c3454b --- /dev/null +++ b/src/emulator/modules/SceIme/src/SceIme.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceImeClose) { + return unimplemented("sceImeClose"); +} + +EXPORT(int, sceImeOpen) { + return unimplemented("sceImeOpen"); +} + +EXPORT(int, sceImeSetCaret) { + return unimplemented("sceImeSetCaret"); +} + +EXPORT(int, sceImeSetPreeditGeometry) { + return unimplemented("sceImeSetPreeditGeometry"); +} + +EXPORT(int, sceImeSetText) { + return unimplemented("sceImeSetText"); +} + +EXPORT(int, sceImeUpdate) { + return unimplemented("sceImeUpdate"); +} + +BRIDGE_IMPL(sceImeClose) +BRIDGE_IMPL(sceImeOpen) +BRIDGE_IMPL(sceImeSetCaret) +BRIDGE_IMPL(sceImeSetPreeditGeometry) +BRIDGE_IMPL(sceImeSetText) +BRIDGE_IMPL(sceImeUpdate) diff --git a/src/emulator/modules/SceIofilemgr/CMakeLists.txt b/src/emulator/modules/SceIofilemgr/CMakeLists.txt new file mode 100644 index 000000000..3d28745dd --- /dev/null +++ b/src/emulator/modules/SceIofilemgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceIofilemgr STATIC include/SceIofilemgr/exports.h src/SceIofilemgr.cpp) +target_include_directories(SceIofilemgr PUBLIC include) +target_link_libraries(SceIofilemgr PRIVATE module) diff --git a/src/emulator/modules/SceIofilemgr/include/SceIofilemgr/exports.h b/src/emulator/modules/SceIofilemgr/include/SceIofilemgr/exports.h new file mode 100644 index 000000000..d30cbbe5e --- /dev/null +++ b/src/emulator/modules/SceIofilemgr/include/SceIofilemgr/exports.h @@ -0,0 +1,43 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceIofilemgr +BRIDGE_DECL(sceIoCancel) +BRIDGE_DECL(sceIoClose) +BRIDGE_DECL(sceIoCloseAsync) +BRIDGE_DECL(sceIoComplete) +BRIDGE_DECL(sceIoDclose) +BRIDGE_DECL(sceIoFlockForSystem) +BRIDGE_DECL(sceIoGetPriority) +BRIDGE_DECL(sceIoGetProcessDefaultPriority) +BRIDGE_DECL(sceIoGetThreadDefaultPriority) +BRIDGE_DECL(sceIoLseek32) +BRIDGE_DECL(sceIoRead) +BRIDGE_DECL(sceIoReadAsync) +BRIDGE_DECL(sceIoSetPriority) +BRIDGE_DECL(sceIoSetPriorityForSystem) +BRIDGE_DECL(sceIoSetProcessDefaultPriority) +BRIDGE_DECL(sceIoSetThreadDefaultPriority) +BRIDGE_DECL(sceIoSetThreadDefaultPriorityForSystem) +BRIDGE_DECL(sceIoSyncByFd) +BRIDGE_DECL(sceIoSyncByFdAsync) +BRIDGE_DECL(sceIoWrite) +BRIDGE_DECL(sceIoWriteAsync) diff --git a/src/emulator/modules/SceIofilemgr/src/SceIofilemgr.cpp b/src/emulator/modules/SceIofilemgr/src/SceIofilemgr.cpp new file mode 100644 index 000000000..c83e7ad48 --- /dev/null +++ b/src/emulator/modules/SceIofilemgr/src/SceIofilemgr.cpp @@ -0,0 +1,127 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +EXPORT(int, sceIoCancel) { + return unimplemented("sceIoCancel"); +} + +EXPORT(int, sceIoClose, SceUID fd) { + close_file(host.io, fd); + return 0; +} + +EXPORT(int, sceIoCloseAsync) { + return unimplemented("sceIoCloseAsync"); +} + +EXPORT(int, sceIoComplete) { + return unimplemented("sceIoComplete"); +} + +EXPORT(int, sceIoDclose) { + return unimplemented("sceIoDclose"); +} + +EXPORT(int, sceIoFlockForSystem) { + return unimplemented("sceIoFlockForSystem"); +} + +EXPORT(int, sceIoGetPriority) { + return unimplemented("sceIoGetPriority"); +} + +EXPORT(int, sceIoGetProcessDefaultPriority) { + return unimplemented("sceIoGetProcessDefaultPriority"); +} + +EXPORT(int, sceIoGetThreadDefaultPriority) { + return unimplemented("sceIoGetThreadDefaultPriority"); +} + +EXPORT(int, sceIoLseek32, SceUID fd, int offset, int whence) { + return seek_file(fd, offset, whence, host.io); +} + +EXPORT(int, sceIoRead, SceUID fd, void *data, SceSize size) { + return read_file(data, host.io, fd, size); +} + +EXPORT(int, sceIoReadAsync) { + return unimplemented("sceIoReadAsync"); +} + +EXPORT(int, sceIoSetPriority) { + return unimplemented("sceIoSetPriority"); +} + +EXPORT(int, sceIoSetPriorityForSystem) { + return unimplemented("sceIoSetPriorityForSystem"); +} + +EXPORT(int, sceIoSetProcessDefaultPriority) { + return unimplemented("sceIoSetProcessDefaultPriority"); +} + +EXPORT(int, sceIoSetThreadDefaultPriority) { + return unimplemented("sceIoSetThreadDefaultPriority"); +} + +EXPORT(int, sceIoSetThreadDefaultPriorityForSystem) { + return unimplemented("sceIoSetThreadDefaultPriorityForSystem"); +} + +EXPORT(int, sceIoSyncByFd) { + return unimplemented("sceIoSyncByFd"); +} + +EXPORT(int, sceIoSyncByFdAsync) { + return unimplemented("sceIoSyncByFdAsync"); +} + +EXPORT(int, sceIoWrite, SceUID fd, const void *data, SceSize size) { + return write_file(fd, data, size, host.io); +} + +EXPORT(int, sceIoWriteAsync) { + return unimplemented("sceIoWriteAsync"); +} + +BRIDGE_IMPL(sceIoCancel) +BRIDGE_IMPL(sceIoClose) +BRIDGE_IMPL(sceIoCloseAsync) +BRIDGE_IMPL(sceIoComplete) +BRIDGE_IMPL(sceIoDclose) +BRIDGE_IMPL(sceIoFlockForSystem) +BRIDGE_IMPL(sceIoGetPriority) +BRIDGE_IMPL(sceIoGetProcessDefaultPriority) +BRIDGE_IMPL(sceIoGetThreadDefaultPriority) +BRIDGE_IMPL(sceIoLseek32) +BRIDGE_IMPL(sceIoRead) +BRIDGE_IMPL(sceIoReadAsync) +BRIDGE_IMPL(sceIoSetPriority) +BRIDGE_IMPL(sceIoSetPriorityForSystem) +BRIDGE_IMPL(sceIoSetProcessDefaultPriority) +BRIDGE_IMPL(sceIoSetThreadDefaultPriority) +BRIDGE_IMPL(sceIoSetThreadDefaultPriorityForSystem) +BRIDGE_IMPL(sceIoSyncByFd) +BRIDGE_IMPL(sceIoSyncByFdAsync) +BRIDGE_IMPL(sceIoWrite) +BRIDGE_IMPL(sceIoWriteAsync) diff --git a/src/emulator/modules/SceJpeg/CMakeLists.txt b/src/emulator/modules/SceJpeg/CMakeLists.txt new file mode 100644 index 000000000..9756725bb --- /dev/null +++ b/src/emulator/modules/SceJpeg/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceJpeg STATIC include/SceJpeg/exports.h src/SceJpegUser.cpp) +target_include_directories(SceJpeg PUBLIC include) +target_link_libraries(SceJpeg PRIVATE module) diff --git a/src/emulator/modules/SceJpeg/include/SceJpeg/exports.h b/src/emulator/modules/SceJpeg/include/SceJpeg/exports.h new file mode 100644 index 000000000..0e431dad4 --- /dev/null +++ b/src/emulator/modules/SceJpeg/include/SceJpeg/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceJpegUser +BRIDGE_DECL(sceJpegCreateSplitDecoder) +BRIDGE_DECL(sceJpegCsc) +BRIDGE_DECL(sceJpegDecodeMJpeg) +BRIDGE_DECL(sceJpegDecodeMJpegYCbCr) +BRIDGE_DECL(sceJpegDeleteSplitDecoder) +BRIDGE_DECL(sceJpegFinishMJpeg) +BRIDGE_DECL(sceJpegGetOutputInfo) +BRIDGE_DECL(sceJpegInitMJpeg) +BRIDGE_DECL(sceJpegInitMJpegWithParam) +BRIDGE_DECL(sceJpegMJpegCsc) +BRIDGE_DECL(sceJpegSplitDecodeMJpeg) diff --git a/src/emulator/modules/SceJpeg/src/SceJpegUser.cpp b/src/emulator/modules/SceJpeg/src/SceJpegUser.cpp new file mode 100644 index 000000000..eb88d7129 --- /dev/null +++ b/src/emulator/modules/SceJpeg/src/SceJpegUser.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceJpegCreateSplitDecoder) { + return unimplemented("sceJpegCreateSplitDecoder"); +} + +EXPORT(int, sceJpegCsc) { + return unimplemented("sceJpegCsc"); +} + +EXPORT(int, sceJpegDecodeMJpeg) { + return unimplemented("sceJpegDecodeMJpeg"); +} + +EXPORT(int, sceJpegDecodeMJpegYCbCr) { + return unimplemented("sceJpegDecodeMJpegYCbCr"); +} + +EXPORT(int, sceJpegDeleteSplitDecoder) { + return unimplemented("sceJpegDeleteSplitDecoder"); +} + +EXPORT(int, sceJpegFinishMJpeg) { + return unimplemented("sceJpegFinishMJpeg"); +} + +EXPORT(int, sceJpegGetOutputInfo) { + return unimplemented("sceJpegGetOutputInfo"); +} + +EXPORT(int, sceJpegInitMJpeg) { + return unimplemented("sceJpegInitMJpeg"); +} + +EXPORT(int, sceJpegInitMJpegWithParam) { + return unimplemented("sceJpegInitMJpegWithParam"); +} + +EXPORT(int, sceJpegMJpegCsc) { + return unimplemented("sceJpegMJpegCsc"); +} + +EXPORT(int, sceJpegSplitDecodeMJpeg) { + return unimplemented("sceJpegSplitDecodeMJpeg"); +} + +BRIDGE_IMPL(sceJpegCreateSplitDecoder) +BRIDGE_IMPL(sceJpegCsc) +BRIDGE_IMPL(sceJpegDecodeMJpeg) +BRIDGE_IMPL(sceJpegDecodeMJpegYCbCr) +BRIDGE_IMPL(sceJpegDeleteSplitDecoder) +BRIDGE_IMPL(sceJpegFinishMJpeg) +BRIDGE_IMPL(sceJpegGetOutputInfo) +BRIDGE_IMPL(sceJpegInitMJpeg) +BRIDGE_IMPL(sceJpegInitMJpegWithParam) +BRIDGE_IMPL(sceJpegMJpegCsc) +BRIDGE_IMPL(sceJpegSplitDecodeMJpeg) diff --git a/src/emulator/modules/SceJpegEnc/CMakeLists.txt b/src/emulator/modules/SceJpegEnc/CMakeLists.txt new file mode 100644 index 000000000..458c56791 --- /dev/null +++ b/src/emulator/modules/SceJpegEnc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceJpegEnc STATIC include/SceJpegEnc/exports.h src/SceJpegEncUser.cpp) +target_include_directories(SceJpegEnc PUBLIC include) +target_link_libraries(SceJpegEnc PRIVATE module) diff --git a/src/emulator/modules/SceJpegEnc/include/SceJpegEnc/exports.h b/src/emulator/modules/SceJpegEnc/include/SceJpegEnc/exports.h new file mode 100644 index 000000000..56ceabb1d --- /dev/null +++ b/src/emulator/modules/SceJpegEnc/include/SceJpegEnc/exports.h @@ -0,0 +1,32 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceJpegEncUser +BRIDGE_DECL(sceJpegEncoderCsc) +BRIDGE_DECL(sceJpegEncoderEncode) +BRIDGE_DECL(sceJpegEncoderEnd) +BRIDGE_DECL(sceJpegEncoderGetContextSize) +BRIDGE_DECL(sceJpegEncoderInit) +BRIDGE_DECL(sceJpegEncoderInitWithParam) +BRIDGE_DECL(sceJpegEncoderSetCompressionRatio) +BRIDGE_DECL(sceJpegEncoderSetHeaderMode) +BRIDGE_DECL(sceJpegEncoderSetOutputAddr) +BRIDGE_DECL(sceJpegEncoderSetValidRegion) diff --git a/src/emulator/modules/SceJpegEnc/src/SceJpegEncUser.cpp b/src/emulator/modules/SceJpegEnc/src/SceJpegEncUser.cpp new file mode 100644 index 000000000..c3bd43dcd --- /dev/null +++ b/src/emulator/modules/SceJpegEnc/src/SceJpegEncUser.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceJpegEncoderCsc) { + return unimplemented("sceJpegEncoderCsc"); +} + +EXPORT(int, sceJpegEncoderEncode) { + return unimplemented("sceJpegEncoderEncode"); +} + +EXPORT(int, sceJpegEncoderEnd) { + return unimplemented("sceJpegEncoderEnd"); +} + +EXPORT(int, sceJpegEncoderGetContextSize) { + return unimplemented("sceJpegEncoderGetContextSize"); +} + +EXPORT(int, sceJpegEncoderInit) { + return unimplemented("sceJpegEncoderInit"); +} + +EXPORT(int, sceJpegEncoderInitWithParam) { + return unimplemented("sceJpegEncoderInitWithParam"); +} + +EXPORT(int, sceJpegEncoderSetCompressionRatio) { + return unimplemented("sceJpegEncoderSetCompressionRatio"); +} + +EXPORT(int, sceJpegEncoderSetHeaderMode) { + return unimplemented("sceJpegEncoderSetHeaderMode"); +} + +EXPORT(int, sceJpegEncoderSetOutputAddr) { + return unimplemented("sceJpegEncoderSetOutputAddr"); +} + +EXPORT(int, sceJpegEncoderSetValidRegion) { + return unimplemented("sceJpegEncoderSetValidRegion"); +} + +BRIDGE_IMPL(sceJpegEncoderCsc) +BRIDGE_IMPL(sceJpegEncoderEncode) +BRIDGE_IMPL(sceJpegEncoderEnd) +BRIDGE_IMPL(sceJpegEncoderGetContextSize) +BRIDGE_IMPL(sceJpegEncoderInit) +BRIDGE_IMPL(sceJpegEncoderInitWithParam) +BRIDGE_IMPL(sceJpegEncoderSetCompressionRatio) +BRIDGE_IMPL(sceJpegEncoderSetHeaderMode) +BRIDGE_IMPL(sceJpegEncoderSetOutputAddr) +BRIDGE_IMPL(sceJpegEncoderSetValidRegion) diff --git a/src/emulator/modules/SceKernelDmacMgr/CMakeLists.txt b/src/emulator/modules/SceKernelDmacMgr/CMakeLists.txt new file mode 100644 index 000000000..56404e58a --- /dev/null +++ b/src/emulator/modules/SceKernelDmacMgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceKernelDmacMgr STATIC include/SceKernelDmacMgr/exports.h src/SceDmacmgr.cpp) +target_include_directories(SceKernelDmacMgr PUBLIC include) +target_link_libraries(SceKernelDmacMgr PRIVATE module) diff --git a/src/emulator/modules/SceKernelDmacMgr/include/SceKernelDmacMgr/exports.h b/src/emulator/modules/SceKernelDmacMgr/include/SceKernelDmacMgr/exports.h new file mode 100644 index 000000000..98c424876 --- /dev/null +++ b/src/emulator/modules/SceKernelDmacMgr/include/SceKernelDmacMgr/exports.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDmacmgr +BRIDGE_DECL(sceDmacMemcpy) +BRIDGE_DECL(sceDmacMemset) diff --git a/src/emulator/modules/SceKernelDmacMgr/src/SceDmacmgr.cpp b/src/emulator/modules/SceKernelDmacMgr/src/SceDmacmgr.cpp new file mode 100644 index 000000000..ff77b8c41 --- /dev/null +++ b/src/emulator/modules/SceKernelDmacMgr/src/SceDmacmgr.cpp @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceDmacMemcpy) { + return unimplemented("sceDmacMemcpy"); +} + +EXPORT(int, sceDmacMemset) { + return unimplemented("sceDmacMemset"); +} + +BRIDGE_IMPL(sceDmacMemcpy) +BRIDGE_IMPL(sceDmacMemset) diff --git a/src/emulator/modules/SceKernelModulemgr/CMakeLists.txt b/src/emulator/modules/SceKernelModulemgr/CMakeLists.txt new file mode 100644 index 000000000..a119a01f8 --- /dev/null +++ b/src/emulator/modules/SceKernelModulemgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceKernelModulemgr STATIC include/SceKernelModulemgr/exports.h src/SceModulemgr.cpp) +target_include_directories(SceKernelModulemgr PUBLIC include) +target_link_libraries(SceKernelModulemgr PRIVATE module) diff --git a/src/emulator/modules/SceKernelModulemgr/include/SceKernelModulemgr/exports.h b/src/emulator/modules/SceKernelModulemgr/include/SceKernelModulemgr/exports.h new file mode 100644 index 000000000..23f8c2516 --- /dev/null +++ b/src/emulator/modules/SceKernelModulemgr/include/SceKernelModulemgr/exports.h @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceModulemgr +BRIDGE_DECL(sceKernelGetAllowedSdkVersionOnSystem) +BRIDGE_DECL(sceKernelGetLibraryInfoByNID) +BRIDGE_DECL(sceKernelGetModuleIdByAddr) +BRIDGE_DECL(sceKernelGetModuleInfo) +BRIDGE_DECL(sceKernelGetModuleList) +BRIDGE_DECL(sceKernelGetSystemSwVersion) +BRIDGE_DECL(sceKernelIsCalledFromSysModule) diff --git a/src/emulator/modules/SceKernelModulemgr/src/SceModulemgr.cpp b/src/emulator/modules/SceKernelModulemgr/src/SceModulemgr.cpp new file mode 100644 index 000000000..55c61a2ed --- /dev/null +++ b/src/emulator/modules/SceKernelModulemgr/src/SceModulemgr.cpp @@ -0,0 +1,54 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelGetAllowedSdkVersionOnSystem) { + return unimplemented("sceKernelGetAllowedSdkVersionOnSystem"); +} + +EXPORT(int, sceKernelGetLibraryInfoByNID) { + return unimplemented("sceKernelGetLibraryInfoByNID"); +} + +EXPORT(int, sceKernelGetModuleIdByAddr) { + return unimplemented("sceKernelGetModuleIdByAddr"); +} + +EXPORT(int, sceKernelGetModuleInfo) { + return unimplemented("sceKernelGetModuleInfo"); +} + +EXPORT(int, sceKernelGetModuleList) { + return unimplemented("sceKernelGetModuleList"); +} + +EXPORT(int, sceKernelGetSystemSwVersion) { + return unimplemented("sceKernelGetSystemSwVersion"); +} + +EXPORT(int, sceKernelIsCalledFromSysModule) { + return unimplemented("sceKernelIsCalledFromSysModule"); +} + +BRIDGE_IMPL(sceKernelGetAllowedSdkVersionOnSystem) +BRIDGE_IMPL(sceKernelGetLibraryInfoByNID) +BRIDGE_IMPL(sceKernelGetModuleIdByAddr) +BRIDGE_IMPL(sceKernelGetModuleInfo) +BRIDGE_IMPL(sceKernelGetModuleList) +BRIDGE_IMPL(sceKernelGetSystemSwVersion) +BRIDGE_IMPL(sceKernelIsCalledFromSysModule) diff --git a/src/emulator/modules/SceKernelThreadMgr/CMakeLists.txt b/src/emulator/modules/SceKernelThreadMgr/CMakeLists.txt new file mode 100644 index 000000000..96c2d6d33 --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceKernelThreadMgr STATIC include/SceKernelThreadMgr/exports.h src/SceDebugLed.cpp src/SceDipsw.cpp src/SceThreadmgr.cpp src/SceThreadmgrCoredumpTime.cpp) +target_include_directories(SceKernelThreadMgr PUBLIC include) +target_link_libraries(SceKernelThreadMgr PRIVATE module) diff --git a/src/emulator/modules/SceKernelThreadMgr/include/SceKernelThreadMgr/exports.h b/src/emulator/modules/SceKernelThreadMgr/include/SceKernelThreadMgr/exports.h new file mode 100644 index 000000000..9637af9b2 --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/include/SceKernelThreadMgr/exports.h @@ -0,0 +1,105 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDebugLed +BRIDGE_DECL(sceKernelGetGPI) +BRIDGE_DECL(sceKernelSetGPO) + +// SceDipsw +BRIDGE_DECL(sceKernelCheckDipsw) +BRIDGE_DECL(sceKernelClearDipsw) +BRIDGE_DECL(sceKernelSetDipsw) + +// SceThreadmgr +BRIDGE_DECL(sceKernelCancelCallback) +BRIDGE_DECL(sceKernelChangeActiveCpuMask) +BRIDGE_DECL(sceKernelChangeThreadCpuAffinityMask) +BRIDGE_DECL(sceKernelChangeThreadPriority) +BRIDGE_DECL(sceKernelChangeThreadVfpException) +BRIDGE_DECL(sceKernelCheckCallback) +BRIDGE_DECL(sceKernelCheckWaitableStatus) +BRIDGE_DECL(sceKernelClearEvent) +BRIDGE_DECL(sceKernelClearEventFlag) +BRIDGE_DECL(sceKernelCloseCond) +BRIDGE_DECL(sceKernelCloseEventFlag) +BRIDGE_DECL(sceKernelCloseMsgPipe) +BRIDGE_DECL(sceKernelCloseMutex) +BRIDGE_DECL(sceKernelCloseRWLock) +BRIDGE_DECL(sceKernelCloseSema) +BRIDGE_DECL(sceKernelCloseSimpleEvent) +BRIDGE_DECL(sceKernelCloseTimer) +BRIDGE_DECL(sceKernelCreateCallback) +BRIDGE_DECL(sceKernelCreateThreadForUser) +BRIDGE_DECL(sceKernelDelayThread) +BRIDGE_DECL(sceKernelDelayThreadCB) +BRIDGE_DECL(sceKernelDeleteCallback) +BRIDGE_DECL(sceKernelDeleteCond) +BRIDGE_DECL(sceKernelDeleteEventFlag) +BRIDGE_DECL(sceKernelDeleteMsgPipe) +BRIDGE_DECL(sceKernelDeleteMutex) +BRIDGE_DECL(sceKernelDeleteRWLock) +BRIDGE_DECL(sceKernelDeleteSema) +BRIDGE_DECL(sceKernelDeleteSimpleEvent) +BRIDGE_DECL(sceKernelDeleteThread) +BRIDGE_DECL(sceKernelDeleteTimer) +BRIDGE_DECL(sceKernelExitDeleteThread) +BRIDGE_DECL(sceKernelGetCallbackCount) +BRIDGE_DECL(sceKernelGetMsgPipeCreatorId) +BRIDGE_DECL(sceKernelGetProcessId) +BRIDGE_DECL(sceKernelGetSystemTimeWide) +BRIDGE_DECL(sceKernelGetThreadStackFreeSize) +BRIDGE_DECL(sceKernelGetThreadTLSAddr) +BRIDGE_DECL(sceKernelGetThreadmgrUIDClass) +BRIDGE_DECL(sceKernelGetTimerBaseWide) +BRIDGE_DECL(sceKernelGetTimerTimeWide) +BRIDGE_DECL(sceKernelNotifyCallback) +BRIDGE_DECL(sceKernelOpenCond) +BRIDGE_DECL(sceKernelOpenEventFlag) +BRIDGE_DECL(sceKernelOpenMsgPipe) +BRIDGE_DECL(sceKernelOpenMutex) +BRIDGE_DECL(sceKernelOpenRWLock) +BRIDGE_DECL(sceKernelOpenSema) +BRIDGE_DECL(sceKernelOpenSimpleEvent) +BRIDGE_DECL(sceKernelOpenTimer) +BRIDGE_DECL(sceKernelPollSema) +BRIDGE_DECL(sceKernelPulseEvent) +BRIDGE_DECL(sceKernelRegisterCallbackToEvent) +BRIDGE_DECL(sceKernelSendSignal) +BRIDGE_DECL(sceKernelSetEvent) +BRIDGE_DECL(sceKernelSetEventFlag) +BRIDGE_DECL(sceKernelSetTimerTimeWide) +BRIDGE_DECL(sceKernelSignalCond) +BRIDGE_DECL(sceKernelSignalCondAll) +BRIDGE_DECL(sceKernelSignalCondTo) +BRIDGE_DECL(sceKernelSignalSema) +BRIDGE_DECL(sceKernelStartTimer) +BRIDGE_DECL(sceKernelStopTimer) +BRIDGE_DECL(sceKernelTryLockMutex) +BRIDGE_DECL(sceKernelTryLockReadRWLock) +BRIDGE_DECL(sceKernelTryLockWriteRWLock) +BRIDGE_DECL(sceKernelUnlockMutex) +BRIDGE_DECL(sceKernelUnlockReadRWLock) +BRIDGE_DECL(sceKernelUnlockWriteRWLock) +BRIDGE_DECL(sceKernelUnregisterCallbackFromEvent) +BRIDGE_DECL(sceKernelUnregisterCallbackFromEventAll) + +// SceThreadmgrCoredumpTime +BRIDGE_DECL(sceKernelExitThread) diff --git a/src/emulator/modules/SceKernelThreadMgr/src/SceDebugLed.cpp b/src/emulator/modules/SceKernelThreadMgr/src/SceDebugLed.cpp new file mode 100644 index 000000000..083704c56 --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/src/SceDebugLed.cpp @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelGetGPI) { + return unimplemented("sceKernelGetGPI"); +} + +EXPORT(int, sceKernelSetGPO) { + return unimplemented("sceKernelSetGPO"); +} + +BRIDGE_IMPL(sceKernelGetGPI) +BRIDGE_IMPL(sceKernelSetGPO) diff --git a/src/emulator/modules/SceKernelThreadMgr/src/SceDipsw.cpp b/src/emulator/modules/SceKernelThreadMgr/src/SceDipsw.cpp new file mode 100644 index 000000000..62b9e632d --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/src/SceDipsw.cpp @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelCheckDipsw) { + return unimplemented("sceKernelCheckDipsw"); +} + +EXPORT(int, sceKernelClearDipsw) { + return unimplemented("sceKernelClearDipsw"); +} + +EXPORT(int, sceKernelSetDipsw) { + return unimplemented("sceKernelSetDipsw"); +} + +BRIDGE_IMPL(sceKernelCheckDipsw) +BRIDGE_IMPL(sceKernelClearDipsw) +BRIDGE_IMPL(sceKernelSetDipsw) diff --git a/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgr.cpp b/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgr.cpp new file mode 100644 index 000000000..41749ceb4 --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgr.cpp @@ -0,0 +1,392 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include + +#include +#include + +EXPORT(int, sceKernelCancelCallback) { + return unimplemented("sceKernelCancelCallback"); +} + +EXPORT(int, sceKernelChangeActiveCpuMask) { + return unimplemented("sceKernelChangeActiveCpuMask"); +} + +EXPORT(int, sceKernelChangeThreadCpuAffinityMask) { + return unimplemented("sceKernelChangeThreadCpuAffinityMask"); +} + +EXPORT(int, sceKernelChangeThreadPriority) { + return unimplemented("sceKernelChangeThreadPriority"); +} + +EXPORT(int, sceKernelChangeThreadVfpException) { + return unimplemented("sceKernelChangeThreadVfpException"); +} + +EXPORT(int, sceKernelCheckCallback) { + return unimplemented("sceKernelCheckCallback"); +} + +EXPORT(int, sceKernelCheckWaitableStatus) { + return unimplemented("sceKernelCheckWaitableStatus"); +} + +EXPORT(int, sceKernelClearEvent) { + return unimplemented("sceKernelClearEvent"); +} + +EXPORT(int, sceKernelClearEventFlag) { + return unimplemented("sceKernelClearEventFlag"); +} + +EXPORT(int, sceKernelCloseCond) { + return unimplemented("sceKernelCloseCond"); +} + +EXPORT(int, sceKernelCloseEventFlag) { + return unimplemented("sceKernelCloseEventFlag"); +} + +EXPORT(int, sceKernelCloseMsgPipe) { + return unimplemented("sceKernelCloseMsgPipe"); +} + +EXPORT(int, sceKernelCloseMutex) { + return unimplemented("sceKernelCloseMutex"); +} + +EXPORT(int, sceKernelCloseRWLock) { + return unimplemented("sceKernelCloseRWLock"); +} + +EXPORT(int, sceKernelCloseSema) { + return unimplemented("sceKernelCloseSema"); +} + +EXPORT(int, sceKernelCloseSimpleEvent) { + return unimplemented("sceKernelCloseSimpleEvent"); +} + +EXPORT(int, sceKernelCloseTimer) { + return unimplemented("sceKernelCloseTimer"); +} + +EXPORT(int, sceKernelCreateCallback) { + return unimplemented("sceKernelCreateCallback"); +} + +EXPORT(int, sceKernelCreateThreadForUser) { + return unimplemented("sceKernelCreateThreadForUser"); +} + +EXPORT(int, sceKernelDelayThread, SceUInt delay) { + const uint32_t delay_ms = delay / 1000; + const uint32_t t1 = SDL_GetTicks(); + uint32_t elapsed; + do { + if (handle_events(host)) { + const uint32_t t2 = SDL_GetTicks(); + elapsed = t2 - t1; + } else { + elapsed = delay_ms; + } + } while (elapsed < delay_ms); + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelDelayThreadCB) { + return unimplemented("sceKernelDelayThreadCB"); +} + +EXPORT(int, sceKernelDeleteCallback) { + return unimplemented("sceKernelDeleteCallback"); +} + +EXPORT(int, sceKernelDeleteCond) { + return unimplemented("sceKernelDeleteCond"); +} + +EXPORT(int, sceKernelDeleteEventFlag) { + return unimplemented("sceKernelDeleteEventFlag"); +} + +EXPORT(int, sceKernelDeleteMsgPipe) { + return unimplemented("sceKernelDeleteMsgPipe"); +} + +EXPORT(int, sceKernelDeleteMutex) { + return unimplemented("sceKernelDeleteMutex"); +} + +EXPORT(int, sceKernelDeleteRWLock) { + return unimplemented("sceKernelDeleteRWLock"); +} + +EXPORT(int, sceKernelDeleteSema) { + return unimplemented("sceKernelDeleteSema"); +} + +EXPORT(int, sceKernelDeleteSimpleEvent) { + return unimplemented("sceKernelDeleteSimpleEvent"); +} + +EXPORT(int, sceKernelDeleteThread) { + return unimplemented("sceKernelDeleteThread"); +} + +EXPORT(int, sceKernelDeleteTimer) { + return unimplemented("sceKernelDeleteTimer"); +} + +EXPORT(int, sceKernelExitDeleteThread) { + return unimplemented("sceKernelExitDeleteThread"); +} + +EXPORT(int, sceKernelGetCallbackCount) { + return unimplemented("sceKernelGetCallbackCount"); +} + +EXPORT(int, sceKernelGetMsgPipeCreatorId) { + return unimplemented("sceKernelGetMsgPipeCreatorId"); +} + +EXPORT(int, sceKernelGetProcessId) { + return unimplemented("sceKernelGetProcessId"); +} + +EXPORT(int, sceKernelGetSystemTimeWide) { + return unimplemented("sceKernelGetSystemTimeWide"); +} + +EXPORT(int, sceKernelGetThreadStackFreeSize) { + return unimplemented("sceKernelGetThreadStackFreeSize"); +} + +EXPORT(Ptr, sceKernelGetThreadTLSAddr, SceUID thid, int key) { + return get_thread_tls_addr(host.kernel, host.mem, thid, key); +} + +EXPORT(int, sceKernelGetThreadmgrUIDClass) { + return unimplemented("sceKernelGetThreadmgrUIDClass"); +} + +EXPORT(int, sceKernelGetTimerBaseWide) { + return unimplemented("sceKernelGetTimerBaseWide"); +} + +EXPORT(int, sceKernelGetTimerTimeWide) { + return unimplemented("sceKernelGetTimerTimeWide"); +} + +EXPORT(int, sceKernelNotifyCallback) { + return unimplemented("sceKernelNotifyCallback"); +} + +EXPORT(int, sceKernelOpenCond) { + return unimplemented("sceKernelOpenCond"); +} + +EXPORT(int, sceKernelOpenEventFlag) { + return unimplemented("sceKernelOpenEventFlag"); +} + +EXPORT(int, sceKernelOpenMsgPipe) { + return unimplemented("sceKernelOpenMsgPipe"); +} + +EXPORT(int, sceKernelOpenMutex) { + return unimplemented("sceKernelOpenMutex"); +} + +EXPORT(int, sceKernelOpenRWLock) { + return unimplemented("sceKernelOpenRWLock"); +} + +EXPORT(int, sceKernelOpenSema) { + return unimplemented("sceKernelOpenSema"); +} + +EXPORT(int, sceKernelOpenSimpleEvent) { + return unimplemented("sceKernelOpenSimpleEvent"); +} + +EXPORT(int, sceKernelOpenTimer) { + return unimplemented("sceKernelOpenTimer"); +} + +EXPORT(int, sceKernelPollSema) { + return unimplemented("sceKernelPollSema"); +} + +EXPORT(int, sceKernelPulseEvent) { + return unimplemented("sceKernelPulseEvent"); +} + +EXPORT(int, sceKernelRegisterCallbackToEvent) { + return unimplemented("sceKernelRegisterCallbackToEvent"); +} + +EXPORT(int, sceKernelSendSignal) { + return unimplemented("sceKernelSendSignal"); +} + +EXPORT(int, sceKernelSetEvent) { + return unimplemented("sceKernelSetEvent"); +} + +EXPORT(int, sceKernelSetEventFlag) { + return unimplemented("sceKernelSetEventFlag"); +} + +EXPORT(int, sceKernelSetTimerTimeWide) { + return unimplemented("sceKernelSetTimerTimeWide"); +} + +EXPORT(int, sceKernelSignalCond) { + return unimplemented("sceKernelSignalCond"); +} + +EXPORT(int, sceKernelSignalCondAll) { + return unimplemented("sceKernelSignalCondAll"); +} + +EXPORT(int, sceKernelSignalCondTo) { + return unimplemented("sceKernelSignalCondTo"); +} + +EXPORT(int, sceKernelSignalSema) { + return unimplemented("sceKernelSignalSema"); +} + +EXPORT(int, sceKernelStartTimer) { + return unimplemented("sceKernelStartTimer"); +} + +EXPORT(int, sceKernelStopTimer) { + return unimplemented("sceKernelStopTimer"); +} + +EXPORT(int, sceKernelTryLockMutex) { + return unimplemented("sceKernelTryLockMutex"); +} + +EXPORT(int, sceKernelTryLockReadRWLock) { + return unimplemented("sceKernelTryLockReadRWLock"); +} + +EXPORT(int, sceKernelTryLockWriteRWLock) { + return unimplemented("sceKernelTryLockWriteRWLock"); +} + +EXPORT(int, sceKernelUnlockMutex) { + return unimplemented("sceKernelUnlockMutex"); +} + +EXPORT(int, sceKernelUnlockReadRWLock) { + return unimplemented("sceKernelUnlockReadRWLock"); +} + +EXPORT(int, sceKernelUnlockWriteRWLock) { + return unimplemented("sceKernelUnlockWriteRWLock"); +} + +EXPORT(int, sceKernelUnregisterCallbackFromEvent) { + return unimplemented("sceKernelUnregisterCallbackFromEvent"); +} + +EXPORT(int, sceKernelUnregisterCallbackFromEventAll) { + return unimplemented("sceKernelUnregisterCallbackFromEventAll"); +} + +BRIDGE_IMPL(sceKernelCancelCallback) +BRIDGE_IMPL(sceKernelChangeActiveCpuMask) +BRIDGE_IMPL(sceKernelChangeThreadCpuAffinityMask) +BRIDGE_IMPL(sceKernelChangeThreadPriority) +BRIDGE_IMPL(sceKernelChangeThreadVfpException) +BRIDGE_IMPL(sceKernelCheckCallback) +BRIDGE_IMPL(sceKernelCheckWaitableStatus) +BRIDGE_IMPL(sceKernelClearEvent) +BRIDGE_IMPL(sceKernelClearEventFlag) +BRIDGE_IMPL(sceKernelCloseCond) +BRIDGE_IMPL(sceKernelCloseEventFlag) +BRIDGE_IMPL(sceKernelCloseMsgPipe) +BRIDGE_IMPL(sceKernelCloseMutex) +BRIDGE_IMPL(sceKernelCloseRWLock) +BRIDGE_IMPL(sceKernelCloseSema) +BRIDGE_IMPL(sceKernelCloseSimpleEvent) +BRIDGE_IMPL(sceKernelCloseTimer) +BRIDGE_IMPL(sceKernelCreateCallback) +BRIDGE_IMPL(sceKernelCreateThreadForUser) +BRIDGE_IMPL(sceKernelDelayThread) +BRIDGE_IMPL(sceKernelDelayThreadCB) +BRIDGE_IMPL(sceKernelDeleteCallback) +BRIDGE_IMPL(sceKernelDeleteCond) +BRIDGE_IMPL(sceKernelDeleteEventFlag) +BRIDGE_IMPL(sceKernelDeleteMsgPipe) +BRIDGE_IMPL(sceKernelDeleteMutex) +BRIDGE_IMPL(sceKernelDeleteRWLock) +BRIDGE_IMPL(sceKernelDeleteSema) +BRIDGE_IMPL(sceKernelDeleteSimpleEvent) +BRIDGE_IMPL(sceKernelDeleteThread) +BRIDGE_IMPL(sceKernelDeleteTimer) +BRIDGE_IMPL(sceKernelExitDeleteThread) +BRIDGE_IMPL(sceKernelGetCallbackCount) +BRIDGE_IMPL(sceKernelGetMsgPipeCreatorId) +BRIDGE_IMPL(sceKernelGetProcessId) +BRIDGE_IMPL(sceKernelGetSystemTimeWide) +BRIDGE_IMPL(sceKernelGetThreadStackFreeSize) +BRIDGE_IMPL(sceKernelGetThreadTLSAddr) +BRIDGE_IMPL(sceKernelGetThreadmgrUIDClass) +BRIDGE_IMPL(sceKernelGetTimerBaseWide) +BRIDGE_IMPL(sceKernelGetTimerTimeWide) +BRIDGE_IMPL(sceKernelNotifyCallback) +BRIDGE_IMPL(sceKernelOpenCond) +BRIDGE_IMPL(sceKernelOpenEventFlag) +BRIDGE_IMPL(sceKernelOpenMsgPipe) +BRIDGE_IMPL(sceKernelOpenMutex) +BRIDGE_IMPL(sceKernelOpenRWLock) +BRIDGE_IMPL(sceKernelOpenSema) +BRIDGE_IMPL(sceKernelOpenSimpleEvent) +BRIDGE_IMPL(sceKernelOpenTimer) +BRIDGE_IMPL(sceKernelPollSema) +BRIDGE_IMPL(sceKernelPulseEvent) +BRIDGE_IMPL(sceKernelRegisterCallbackToEvent) +BRIDGE_IMPL(sceKernelSendSignal) +BRIDGE_IMPL(sceKernelSetEvent) +BRIDGE_IMPL(sceKernelSetEventFlag) +BRIDGE_IMPL(sceKernelSetTimerTimeWide) +BRIDGE_IMPL(sceKernelSignalCond) +BRIDGE_IMPL(sceKernelSignalCondAll) +BRIDGE_IMPL(sceKernelSignalCondTo) +BRIDGE_IMPL(sceKernelSignalSema) +BRIDGE_IMPL(sceKernelStartTimer) +BRIDGE_IMPL(sceKernelStopTimer) +BRIDGE_IMPL(sceKernelTryLockMutex) +BRIDGE_IMPL(sceKernelTryLockReadRWLock) +BRIDGE_IMPL(sceKernelTryLockWriteRWLock) +BRIDGE_IMPL(sceKernelUnlockMutex) +BRIDGE_IMPL(sceKernelUnlockReadRWLock) +BRIDGE_IMPL(sceKernelUnlockWriteRWLock) +BRIDGE_IMPL(sceKernelUnregisterCallbackFromEvent) +BRIDGE_IMPL(sceKernelUnregisterCallbackFromEventAll) diff --git a/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgrCoredumpTime.cpp b/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgrCoredumpTime.cpp new file mode 100644 index 000000000..c5ae9c789 --- /dev/null +++ b/src/emulator/modules/SceKernelThreadMgr/src/SceThreadmgrCoredumpTime.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelExitThread) { + return unimplemented("sceKernelExitThread"); +} + +BRIDGE_IMPL(sceKernelExitThread) diff --git a/src/emulator/modules/SceLibDbg/CMakeLists.txt b/src/emulator/modules/SceLibDbg/CMakeLists.txt new file mode 100644 index 000000000..45e2dae69 --- /dev/null +++ b/src/emulator/modules/SceLibDbg/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibDbg STATIC include/SceLibDbg/exports.h src/SceDbg.cpp) +target_include_directories(SceLibDbg PUBLIC include) +target_link_libraries(SceLibDbg PRIVATE module) diff --git a/src/emulator/modules/SceLibDbg/include/SceLibDbg/exports.h b/src/emulator/modules/SceLibDbg/include/SceLibDbg/exports.h new file mode 100644 index 000000000..a851cae5d --- /dev/null +++ b/src/emulator/modules/SceLibDbg/include/SceLibDbg/exports.h @@ -0,0 +1,27 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceDbg +BRIDGE_DECL(sceDbgAssertionHandler) +BRIDGE_DECL(sceDbgLoggingHandler) +BRIDGE_DECL(sceDbgSetBreakOnErrorState) +BRIDGE_DECL(sceDbgSetBreakOnWarningState) +BRIDGE_DECL(sceDbgSetMinimumLogLevel) diff --git a/src/emulator/modules/SceLibDbg/src/SceDbg.cpp b/src/emulator/modules/SceLibDbg/src/SceDbg.cpp new file mode 100644 index 000000000..1c71db4d1 --- /dev/null +++ b/src/emulator/modules/SceLibDbg/src/SceDbg.cpp @@ -0,0 +1,44 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceDbgAssertionHandler) { + return unimplemented("sceDbgAssertionHandler"); +} + +EXPORT(int, sceDbgLoggingHandler) { + return unimplemented("sceDbgLoggingHandler"); +} + +EXPORT(int, sceDbgSetBreakOnErrorState) { + return unimplemented("sceDbgSetBreakOnErrorState"); +} + +EXPORT(int, sceDbgSetBreakOnWarningState) { + return unimplemented("sceDbgSetBreakOnWarningState"); +} + +EXPORT(int, sceDbgSetMinimumLogLevel) { + return unimplemented("sceDbgSetMinimumLogLevel"); +} + +BRIDGE_IMPL(sceDbgAssertionHandler) +BRIDGE_IMPL(sceDbgLoggingHandler) +BRIDGE_IMPL(sceDbgSetBreakOnErrorState) +BRIDGE_IMPL(sceDbgSetBreakOnWarningState) +BRIDGE_IMPL(sceDbgSetMinimumLogLevel) diff --git a/src/emulator/modules/SceLibGameUpdate/CMakeLists.txt b/src/emulator/modules/SceLibGameUpdate/CMakeLists.txt new file mode 100644 index 000000000..1a63698d7 --- /dev/null +++ b/src/emulator/modules/SceLibGameUpdate/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibGameUpdate STATIC include/SceLibGameUpdate/exports.h src/SceGameUpdate.cpp) +target_include_directories(SceLibGameUpdate PUBLIC include) +target_link_libraries(SceLibGameUpdate PRIVATE module) diff --git a/src/emulator/modules/SceLibGameUpdate/include/SceLibGameUpdate/exports.h b/src/emulator/modules/SceLibGameUpdate/include/SceLibGameUpdate/exports.h new file mode 100644 index 000000000..d33864aec --- /dev/null +++ b/src/emulator/modules/SceLibGameUpdate/include/SceLibGameUpdate/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceGameUpdate +BRIDGE_DECL(sceGameUpdateAbort) +BRIDGE_DECL(sceGameUpdateInit) +BRIDGE_DECL(sceGameUpdateRun) +BRIDGE_DECL(sceGameUpdateTerm) diff --git a/src/emulator/modules/SceLibGameUpdate/src/SceGameUpdate.cpp b/src/emulator/modules/SceLibGameUpdate/src/SceGameUpdate.cpp new file mode 100644 index 000000000..7258a136d --- /dev/null +++ b/src/emulator/modules/SceLibGameUpdate/src/SceGameUpdate.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceGameUpdateAbort) { + return unimplemented("sceGameUpdateAbort"); +} + +EXPORT(int, sceGameUpdateInit) { + return unimplemented("sceGameUpdateInit"); +} + +EXPORT(int, sceGameUpdateRun) { + return unimplemented("sceGameUpdateRun"); +} + +EXPORT(int, sceGameUpdateTerm) { + return unimplemented("sceGameUpdateTerm"); +} + +BRIDGE_IMPL(sceGameUpdateAbort) +BRIDGE_IMPL(sceGameUpdateInit) +BRIDGE_IMPL(sceGameUpdateRun) +BRIDGE_IMPL(sceGameUpdateTerm) diff --git a/src/emulator/modules/SceLibHttp/CMakeLists.txt b/src/emulator/modules/SceLibHttp/CMakeLists.txt new file mode 100644 index 000000000..87b52434b --- /dev/null +++ b/src/emulator/modules/SceLibHttp/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibHttp STATIC include/SceLibHttp/exports.h src/SceHttp.cpp) +target_include_directories(SceLibHttp PUBLIC include) +target_link_libraries(SceLibHttp PRIVATE module) diff --git a/src/emulator/modules/SceLibHttp/include/SceLibHttp/exports.h b/src/emulator/modules/SceLibHttp/include/SceLibHttp/exports.h new file mode 100644 index 000000000..ec948244d --- /dev/null +++ b/src/emulator/modules/SceLibHttp/include/SceLibHttp/exports.h @@ -0,0 +1,109 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceHttp +BRIDGE_DECL(sceHttpAbortRequest) +BRIDGE_DECL(sceHttpAbortRequestForce) +BRIDGE_DECL(sceHttpAbortWaitRequest) +BRIDGE_DECL(sceHttpAddCookie) +BRIDGE_DECL(sceHttpAddRequestHeader) +BRIDGE_DECL(sceHttpAddRequestHeaderRaw) +BRIDGE_DECL(sceHttpAuthCacheFlush) +BRIDGE_DECL(sceHttpCookieExport) +BRIDGE_DECL(sceHttpCookieFlush) +BRIDGE_DECL(sceHttpCookieImport) +BRIDGE_DECL(sceHttpCreateConnection) +BRIDGE_DECL(sceHttpCreateConnectionWithURL) +BRIDGE_DECL(sceHttpCreateEpoll) +BRIDGE_DECL(sceHttpCreateRequest) +BRIDGE_DECL(sceHttpCreateRequestWithURL) +BRIDGE_DECL(sceHttpCreateTemplate) +BRIDGE_DECL(sceHttpDeleteConnection) +BRIDGE_DECL(sceHttpDeleteRequest) +BRIDGE_DECL(sceHttpDeleteTemplate) +BRIDGE_DECL(sceHttpDestroyEpoll) +BRIDGE_DECL(sceHttpGetAcceptEncodingGZIPEnabled) +BRIDGE_DECL(sceHttpGetAllResponseHeaders) +BRIDGE_DECL(sceHttpGetAuthEnabled) +BRIDGE_DECL(sceHttpGetAutoRedirect) +BRIDGE_DECL(sceHttpGetCookie) +BRIDGE_DECL(sceHttpGetCookieEnabled) +BRIDGE_DECL(sceHttpGetCookieStats) +BRIDGE_DECL(sceHttpGetEpoll) +BRIDGE_DECL(sceHttpGetEpollId) +BRIDGE_DECL(sceHttpGetIcmOption) +BRIDGE_DECL(sceHttpGetLastErrno) +BRIDGE_DECL(sceHttpGetMemoryPoolStats) +BRIDGE_DECL(sceHttpGetNonblock) +BRIDGE_DECL(sceHttpGetResponseContentLength) +BRIDGE_DECL(sceHttpGetStatusCode) +BRIDGE_DECL(sceHttpInit) +BRIDGE_DECL(sceHttpParseResponseHeader) +BRIDGE_DECL(sceHttpParseStatusLine) +BRIDGE_DECL(sceHttpReadData) +BRIDGE_DECL(sceHttpRedirectCacheFlush) +BRIDGE_DECL(sceHttpRemoveRequestHeader) +BRIDGE_DECL(sceHttpRequestGetAllHeaders) +BRIDGE_DECL(sceHttpSendRequest) +BRIDGE_DECL(sceHttpSetAcceptEncodingGZIPEnabled) +BRIDGE_DECL(sceHttpSetAuthEnabled) +BRIDGE_DECL(sceHttpSetAuthInfoCallback) +BRIDGE_DECL(sceHttpSetAutoRedirect) +BRIDGE_DECL(sceHttpSetConnectTimeOut) +BRIDGE_DECL(sceHttpSetCookieEnabled) +BRIDGE_DECL(sceHttpSetCookieMaxNum) +BRIDGE_DECL(sceHttpSetCookieMaxNumPerDomain) +BRIDGE_DECL(sceHttpSetCookieMaxSize) +BRIDGE_DECL(sceHttpSetCookieRecvCallback) +BRIDGE_DECL(sceHttpSetCookieSendCallback) +BRIDGE_DECL(sceHttpSetCookieTotalMaxSize) +BRIDGE_DECL(sceHttpSetDefaultAcceptEncodingGZIPEnabled) +BRIDGE_DECL(sceHttpSetEpoll) +BRIDGE_DECL(sceHttpSetEpollId) +BRIDGE_DECL(sceHttpSetIcmOption) +BRIDGE_DECL(sceHttpSetNonblock) +BRIDGE_DECL(sceHttpSetRecvTimeOut) +BRIDGE_DECL(sceHttpSetRedirectCallback) +BRIDGE_DECL(sceHttpSetRequestContentLength) +BRIDGE_DECL(sceHttpSetResolveRetry) +BRIDGE_DECL(sceHttpSetResolveTimeOut) +BRIDGE_DECL(sceHttpSetSendTimeOut) +BRIDGE_DECL(sceHttpSslIsCtxCreated) +BRIDGE_DECL(sceHttpTerm) +BRIDGE_DECL(sceHttpUnsetEpoll) +BRIDGE_DECL(sceHttpUriBuild) +BRIDGE_DECL(sceHttpUriEscape) +BRIDGE_DECL(sceHttpUriMerge) +BRIDGE_DECL(sceHttpUriParse) +BRIDGE_DECL(sceHttpUriSweepPath) +BRIDGE_DECL(sceHttpUriUnescape) +BRIDGE_DECL(sceHttpWaitRequest) +BRIDGE_DECL(sceHttpWaitRequestCB) +BRIDGE_DECL(sceHttpsDisableOption) +BRIDGE_DECL(sceHttpsDisableOptionPrivate) +BRIDGE_DECL(sceHttpsEnableOption) +BRIDGE_DECL(sceHttpsEnableOptionPrivate) +BRIDGE_DECL(sceHttpsFreeCaList) +BRIDGE_DECL(sceHttpsGetCaList) +BRIDGE_DECL(sceHttpsGetSslError) +BRIDGE_DECL(sceHttpsLoadCert) +BRIDGE_DECL(sceHttpsSetSslCallback) +BRIDGE_DECL(sceHttpsUnloadCert) diff --git a/src/emulator/modules/SceLibHttp/src/SceHttp.cpp b/src/emulator/modules/SceLibHttp/src/SceHttp.cpp new file mode 100644 index 000000000..91ceef1ed --- /dev/null +++ b/src/emulator/modules/SceLibHttp/src/SceHttp.cpp @@ -0,0 +1,454 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceHttpAbortRequest) { + return unimplemented("sceHttpAbortRequest"); +} + +EXPORT(int, sceHttpAbortRequestForce) { + return unimplemented("sceHttpAbortRequestForce"); +} + +EXPORT(int, sceHttpAbortWaitRequest) { + return unimplemented("sceHttpAbortWaitRequest"); +} + +EXPORT(int, sceHttpAddCookie) { + return unimplemented("sceHttpAddCookie"); +} + +EXPORT(int, sceHttpAddRequestHeader) { + return unimplemented("sceHttpAddRequestHeader"); +} + +EXPORT(int, sceHttpAddRequestHeaderRaw) { + return unimplemented("sceHttpAddRequestHeaderRaw"); +} + +EXPORT(int, sceHttpAuthCacheFlush) { + return unimplemented("sceHttpAuthCacheFlush"); +} + +EXPORT(int, sceHttpCookieExport) { + return unimplemented("sceHttpCookieExport"); +} + +EXPORT(int, sceHttpCookieFlush) { + return unimplemented("sceHttpCookieFlush"); +} + +EXPORT(int, sceHttpCookieImport) { + return unimplemented("sceHttpCookieImport"); +} + +EXPORT(int, sceHttpCreateConnection) { + return unimplemented("sceHttpCreateConnection"); +} + +EXPORT(int, sceHttpCreateConnectionWithURL) { + return unimplemented("sceHttpCreateConnectionWithURL"); +} + +EXPORT(int, sceHttpCreateEpoll) { + return unimplemented("sceHttpCreateEpoll"); +} + +EXPORT(int, sceHttpCreateRequest) { + return unimplemented("sceHttpCreateRequest"); +} + +EXPORT(int, sceHttpCreateRequestWithURL) { + return unimplemented("sceHttpCreateRequestWithURL"); +} + +EXPORT(int, sceHttpCreateTemplate) { + return unimplemented("sceHttpCreateTemplate"); +} + +EXPORT(int, sceHttpDeleteConnection) { + return unimplemented("sceHttpDeleteConnection"); +} + +EXPORT(int, sceHttpDeleteRequest) { + return unimplemented("sceHttpDeleteRequest"); +} + +EXPORT(int, sceHttpDeleteTemplate) { + return unimplemented("sceHttpDeleteTemplate"); +} + +EXPORT(int, sceHttpDestroyEpoll) { + return unimplemented("sceHttpDestroyEpoll"); +} + +EXPORT(int, sceHttpGetAcceptEncodingGZIPEnabled) { + return unimplemented("sceHttpGetAcceptEncodingGZIPEnabled"); +} + +EXPORT(int, sceHttpGetAllResponseHeaders) { + return unimplemented("sceHttpGetAllResponseHeaders"); +} + +EXPORT(int, sceHttpGetAuthEnabled) { + return unimplemented("sceHttpGetAuthEnabled"); +} + +EXPORT(int, sceHttpGetAutoRedirect) { + return unimplemented("sceHttpGetAutoRedirect"); +} + +EXPORT(int, sceHttpGetCookie) { + return unimplemented("sceHttpGetCookie"); +} + +EXPORT(int, sceHttpGetCookieEnabled) { + return unimplemented("sceHttpGetCookieEnabled"); +} + +EXPORT(int, sceHttpGetCookieStats) { + return unimplemented("sceHttpGetCookieStats"); +} + +EXPORT(int, sceHttpGetEpoll) { + return unimplemented("sceHttpGetEpoll"); +} + +EXPORT(int, sceHttpGetEpollId) { + return unimplemented("sceHttpGetEpollId"); +} + +EXPORT(int, sceHttpGetIcmOption) { + return unimplemented("sceHttpGetIcmOption"); +} + +EXPORT(int, sceHttpGetLastErrno) { + return unimplemented("sceHttpGetLastErrno"); +} + +EXPORT(int, sceHttpGetMemoryPoolStats) { + return unimplemented("sceHttpGetMemoryPoolStats"); +} + +EXPORT(int, sceHttpGetNonblock) { + return unimplemented("sceHttpGetNonblock"); +} + +EXPORT(int, sceHttpGetResponseContentLength) { + return unimplemented("sceHttpGetResponseContentLength"); +} + +EXPORT(int, sceHttpGetStatusCode) { + return unimplemented("sceHttpGetStatusCode"); +} + +EXPORT(int, sceHttpInit) { + return unimplemented("sceHttpInit"); +} + +EXPORT(int, sceHttpParseResponseHeader) { + return unimplemented("sceHttpParseResponseHeader"); +} + +EXPORT(int, sceHttpParseStatusLine) { + return unimplemented("sceHttpParseStatusLine"); +} + +EXPORT(int, sceHttpReadData) { + return unimplemented("sceHttpReadData"); +} + +EXPORT(int, sceHttpRedirectCacheFlush) { + return unimplemented("sceHttpRedirectCacheFlush"); +} + +EXPORT(int, sceHttpRemoveRequestHeader) { + return unimplemented("sceHttpRemoveRequestHeader"); +} + +EXPORT(int, sceHttpRequestGetAllHeaders) { + return unimplemented("sceHttpRequestGetAllHeaders"); +} + +EXPORT(int, sceHttpSendRequest) { + return unimplemented("sceHttpSendRequest"); +} + +EXPORT(int, sceHttpSetAcceptEncodingGZIPEnabled) { + return unimplemented("sceHttpSetAcceptEncodingGZIPEnabled"); +} + +EXPORT(int, sceHttpSetAuthEnabled) { + return unimplemented("sceHttpSetAuthEnabled"); +} + +EXPORT(int, sceHttpSetAuthInfoCallback) { + return unimplemented("sceHttpSetAuthInfoCallback"); +} + +EXPORT(int, sceHttpSetAutoRedirect) { + return unimplemented("sceHttpSetAutoRedirect"); +} + +EXPORT(int, sceHttpSetConnectTimeOut) { + return unimplemented("sceHttpSetConnectTimeOut"); +} + +EXPORT(int, sceHttpSetCookieEnabled) { + return unimplemented("sceHttpSetCookieEnabled"); +} + +EXPORT(int, sceHttpSetCookieMaxNum) { + return unimplemented("sceHttpSetCookieMaxNum"); +} + +EXPORT(int, sceHttpSetCookieMaxNumPerDomain) { + return unimplemented("sceHttpSetCookieMaxNumPerDomain"); +} + +EXPORT(int, sceHttpSetCookieMaxSize) { + return unimplemented("sceHttpSetCookieMaxSize"); +} + +EXPORT(int, sceHttpSetCookieRecvCallback) { + return unimplemented("sceHttpSetCookieRecvCallback"); +} + +EXPORT(int, sceHttpSetCookieSendCallback) { + return unimplemented("sceHttpSetCookieSendCallback"); +} + +EXPORT(int, sceHttpSetCookieTotalMaxSize) { + return unimplemented("sceHttpSetCookieTotalMaxSize"); +} + +EXPORT(int, sceHttpSetDefaultAcceptEncodingGZIPEnabled) { + return unimplemented("sceHttpSetDefaultAcceptEncodingGZIPEnabled"); +} + +EXPORT(int, sceHttpSetEpoll) { + return unimplemented("sceHttpSetEpoll"); +} + +EXPORT(int, sceHttpSetEpollId) { + return unimplemented("sceHttpSetEpollId"); +} + +EXPORT(int, sceHttpSetIcmOption) { + return unimplemented("sceHttpSetIcmOption"); +} + +EXPORT(int, sceHttpSetNonblock) { + return unimplemented("sceHttpSetNonblock"); +} + +EXPORT(int, sceHttpSetRecvTimeOut) { + return unimplemented("sceHttpSetRecvTimeOut"); +} + +EXPORT(int, sceHttpSetRedirectCallback) { + return unimplemented("sceHttpSetRedirectCallback"); +} + +EXPORT(int, sceHttpSetRequestContentLength) { + return unimplemented("sceHttpSetRequestContentLength"); +} + +EXPORT(int, sceHttpSetResolveRetry) { + return unimplemented("sceHttpSetResolveRetry"); +} + +EXPORT(int, sceHttpSetResolveTimeOut) { + return unimplemented("sceHttpSetResolveTimeOut"); +} + +EXPORT(int, sceHttpSetSendTimeOut) { + return unimplemented("sceHttpSetSendTimeOut"); +} + +EXPORT(int, sceHttpSslIsCtxCreated) { + return unimplemented("sceHttpSslIsCtxCreated"); +} + +EXPORT(int, sceHttpTerm) { + return unimplemented("sceHttpTerm"); +} + +EXPORT(int, sceHttpUnsetEpoll) { + return unimplemented("sceHttpUnsetEpoll"); +} + +EXPORT(int, sceHttpUriBuild) { + return unimplemented("sceHttpUriBuild"); +} + +EXPORT(int, sceHttpUriEscape) { + return unimplemented("sceHttpUriEscape"); +} + +EXPORT(int, sceHttpUriMerge) { + return unimplemented("sceHttpUriMerge"); +} + +EXPORT(int, sceHttpUriParse) { + return unimplemented("sceHttpUriParse"); +} + +EXPORT(int, sceHttpUriSweepPath) { + return unimplemented("sceHttpUriSweepPath"); +} + +EXPORT(int, sceHttpUriUnescape) { + return unimplemented("sceHttpUriUnescape"); +} + +EXPORT(int, sceHttpWaitRequest) { + return unimplemented("sceHttpWaitRequest"); +} + +EXPORT(int, sceHttpWaitRequestCB) { + return unimplemented("sceHttpWaitRequestCB"); +} + +EXPORT(int, sceHttpsDisableOption) { + return unimplemented("sceHttpsDisableOption"); +} + +EXPORT(int, sceHttpsDisableOptionPrivate) { + return unimplemented("sceHttpsDisableOptionPrivate"); +} + +EXPORT(int, sceHttpsEnableOption) { + return unimplemented("sceHttpsEnableOption"); +} + +EXPORT(int, sceHttpsEnableOptionPrivate) { + return unimplemented("sceHttpsEnableOptionPrivate"); +} + +EXPORT(int, sceHttpsFreeCaList) { + return unimplemented("sceHttpsFreeCaList"); +} + +EXPORT(int, sceHttpsGetCaList) { + return unimplemented("sceHttpsGetCaList"); +} + +EXPORT(int, sceHttpsGetSslError) { + return unimplemented("sceHttpsGetSslError"); +} + +EXPORT(int, sceHttpsLoadCert) { + return unimplemented("sceHttpsLoadCert"); +} + +EXPORT(int, sceHttpsSetSslCallback) { + return unimplemented("sceHttpsSetSslCallback"); +} + +EXPORT(int, sceHttpsUnloadCert) { + return unimplemented("sceHttpsUnloadCert"); +} + +BRIDGE_IMPL(sceHttpAbortRequest) +BRIDGE_IMPL(sceHttpAbortRequestForce) +BRIDGE_IMPL(sceHttpAbortWaitRequest) +BRIDGE_IMPL(sceHttpAddCookie) +BRIDGE_IMPL(sceHttpAddRequestHeader) +BRIDGE_IMPL(sceHttpAddRequestHeaderRaw) +BRIDGE_IMPL(sceHttpAuthCacheFlush) +BRIDGE_IMPL(sceHttpCookieExport) +BRIDGE_IMPL(sceHttpCookieFlush) +BRIDGE_IMPL(sceHttpCookieImport) +BRIDGE_IMPL(sceHttpCreateConnection) +BRIDGE_IMPL(sceHttpCreateConnectionWithURL) +BRIDGE_IMPL(sceHttpCreateEpoll) +BRIDGE_IMPL(sceHttpCreateRequest) +BRIDGE_IMPL(sceHttpCreateRequestWithURL) +BRIDGE_IMPL(sceHttpCreateTemplate) +BRIDGE_IMPL(sceHttpDeleteConnection) +BRIDGE_IMPL(sceHttpDeleteRequest) +BRIDGE_IMPL(sceHttpDeleteTemplate) +BRIDGE_IMPL(sceHttpDestroyEpoll) +BRIDGE_IMPL(sceHttpGetAcceptEncodingGZIPEnabled) +BRIDGE_IMPL(sceHttpGetAllResponseHeaders) +BRIDGE_IMPL(sceHttpGetAuthEnabled) +BRIDGE_IMPL(sceHttpGetAutoRedirect) +BRIDGE_IMPL(sceHttpGetCookie) +BRIDGE_IMPL(sceHttpGetCookieEnabled) +BRIDGE_IMPL(sceHttpGetCookieStats) +BRIDGE_IMPL(sceHttpGetEpoll) +BRIDGE_IMPL(sceHttpGetEpollId) +BRIDGE_IMPL(sceHttpGetIcmOption) +BRIDGE_IMPL(sceHttpGetLastErrno) +BRIDGE_IMPL(sceHttpGetMemoryPoolStats) +BRIDGE_IMPL(sceHttpGetNonblock) +BRIDGE_IMPL(sceHttpGetResponseContentLength) +BRIDGE_IMPL(sceHttpGetStatusCode) +BRIDGE_IMPL(sceHttpInit) +BRIDGE_IMPL(sceHttpParseResponseHeader) +BRIDGE_IMPL(sceHttpParseStatusLine) +BRIDGE_IMPL(sceHttpReadData) +BRIDGE_IMPL(sceHttpRedirectCacheFlush) +BRIDGE_IMPL(sceHttpRemoveRequestHeader) +BRIDGE_IMPL(sceHttpRequestGetAllHeaders) +BRIDGE_IMPL(sceHttpSendRequest) +BRIDGE_IMPL(sceHttpSetAcceptEncodingGZIPEnabled) +BRIDGE_IMPL(sceHttpSetAuthEnabled) +BRIDGE_IMPL(sceHttpSetAuthInfoCallback) +BRIDGE_IMPL(sceHttpSetAutoRedirect) +BRIDGE_IMPL(sceHttpSetConnectTimeOut) +BRIDGE_IMPL(sceHttpSetCookieEnabled) +BRIDGE_IMPL(sceHttpSetCookieMaxNum) +BRIDGE_IMPL(sceHttpSetCookieMaxNumPerDomain) +BRIDGE_IMPL(sceHttpSetCookieMaxSize) +BRIDGE_IMPL(sceHttpSetCookieRecvCallback) +BRIDGE_IMPL(sceHttpSetCookieSendCallback) +BRIDGE_IMPL(sceHttpSetCookieTotalMaxSize) +BRIDGE_IMPL(sceHttpSetDefaultAcceptEncodingGZIPEnabled) +BRIDGE_IMPL(sceHttpSetEpoll) +BRIDGE_IMPL(sceHttpSetEpollId) +BRIDGE_IMPL(sceHttpSetIcmOption) +BRIDGE_IMPL(sceHttpSetNonblock) +BRIDGE_IMPL(sceHttpSetRecvTimeOut) +BRIDGE_IMPL(sceHttpSetRedirectCallback) +BRIDGE_IMPL(sceHttpSetRequestContentLength) +BRIDGE_IMPL(sceHttpSetResolveRetry) +BRIDGE_IMPL(sceHttpSetResolveTimeOut) +BRIDGE_IMPL(sceHttpSetSendTimeOut) +BRIDGE_IMPL(sceHttpSslIsCtxCreated) +BRIDGE_IMPL(sceHttpTerm) +BRIDGE_IMPL(sceHttpUnsetEpoll) +BRIDGE_IMPL(sceHttpUriBuild) +BRIDGE_IMPL(sceHttpUriEscape) +BRIDGE_IMPL(sceHttpUriMerge) +BRIDGE_IMPL(sceHttpUriParse) +BRIDGE_IMPL(sceHttpUriSweepPath) +BRIDGE_IMPL(sceHttpUriUnescape) +BRIDGE_IMPL(sceHttpWaitRequest) +BRIDGE_IMPL(sceHttpWaitRequestCB) +BRIDGE_IMPL(sceHttpsDisableOption) +BRIDGE_IMPL(sceHttpsDisableOptionPrivate) +BRIDGE_IMPL(sceHttpsEnableOption) +BRIDGE_IMPL(sceHttpsEnableOptionPrivate) +BRIDGE_IMPL(sceHttpsFreeCaList) +BRIDGE_IMPL(sceHttpsGetCaList) +BRIDGE_IMPL(sceHttpsGetSslError) +BRIDGE_IMPL(sceHttpsLoadCert) +BRIDGE_IMPL(sceHttpsSetSslCallback) +BRIDGE_IMPL(sceHttpsUnloadCert) diff --git a/src/emulator/modules/SceLibKernel/CMakeLists.txt b/src/emulator/modules/SceLibKernel/CMakeLists.txt new file mode 100644 index 000000000..d8e3f96ea --- /dev/null +++ b/src/emulator/modules/SceLibKernel/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibKernel STATIC include/SceLibKernel/exports.h src/SceLibKernel.cpp src/SceLibRng.cpp) +target_include_directories(SceLibKernel PUBLIC include) +target_link_libraries(SceLibKernel PRIVATE module) diff --git a/src/emulator/modules/SceLibKernel/include/SceLibKernel/exports.h b/src/emulator/modules/SceLibKernel/include/SceLibKernel/exports.h new file mode 100644 index 000000000..11793ab01 --- /dev/null +++ b/src/emulator/modules/SceLibKernel/include/SceLibKernel/exports.h @@ -0,0 +1,292 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibKernel +BRIDGE_DECL(SceKernelStackChkGuard) +BRIDGE_DECL(__sce_aeabi_idiv0) +BRIDGE_DECL(__sce_aeabi_ldiv0) +BRIDGE_DECL(__stack_chk_fail) +BRIDGE_DECL(__stack_chk_guard) +BRIDGE_DECL(_sceKernelCreateLwMutex) +BRIDGE_DECL(sceClibAbort) +BRIDGE_DECL(sceClibDprintf) +BRIDGE_DECL(sceClibLookCtypeTable) +BRIDGE_DECL(sceClibMemchr) +BRIDGE_DECL(sceClibMemcmp) +BRIDGE_DECL(sceClibMemcmpConstTime) +BRIDGE_DECL(sceClibMemcpy) +BRIDGE_DECL(sceClibMemcpyChk) +BRIDGE_DECL(sceClibMemcpy_safe) +BRIDGE_DECL(sceClibMemmove) +BRIDGE_DECL(sceClibMemmoveChk) +BRIDGE_DECL(sceClibMemset) +BRIDGE_DECL(sceClibMemsetChk) +BRIDGE_DECL(sceClibMspaceCalloc) +BRIDGE_DECL(sceClibMspaceCreate) +BRIDGE_DECL(sceClibMspaceDestroy) +BRIDGE_DECL(sceClibMspaceFree) +BRIDGE_DECL(sceClibMspaceIsHeapEmpty) +BRIDGE_DECL(sceClibMspaceMalloc) +BRIDGE_DECL(sceClibMspaceMallocStats) +BRIDGE_DECL(sceClibMspaceMallocStatsFast) +BRIDGE_DECL(sceClibMspaceMallocUsableSize) +BRIDGE_DECL(sceClibMspaceMemalign) +BRIDGE_DECL(sceClibMspaceRealloc) +BRIDGE_DECL(sceClibMspaceReallocalign) +BRIDGE_DECL(sceClibPrintf) +BRIDGE_DECL(sceClibSnprintf) +BRIDGE_DECL(sceClibSnprintfChk) +BRIDGE_DECL(sceClibStrcatChk) +BRIDGE_DECL(sceClibStrchr) +BRIDGE_DECL(sceClibStrcmp) +BRIDGE_DECL(sceClibStrcpyChk) +BRIDGE_DECL(sceClibStrlcat) +BRIDGE_DECL(sceClibStrlcatChk) +BRIDGE_DECL(sceClibStrlcpy) +BRIDGE_DECL(sceClibStrlcpyChk) +BRIDGE_DECL(sceClibStrncasecmp) +BRIDGE_DECL(sceClibStrncat) +BRIDGE_DECL(sceClibStrncatChk) +BRIDGE_DECL(sceClibStrncmp) +BRIDGE_DECL(sceClibStrncpy) +BRIDGE_DECL(sceClibStrncpyChk) +BRIDGE_DECL(sceClibStrnlen) +BRIDGE_DECL(sceClibStrrchr) +BRIDGE_DECL(sceClibStrstr) +BRIDGE_DECL(sceClibStrtoll) +BRIDGE_DECL(sceClibTolower) +BRIDGE_DECL(sceClibToupper) +BRIDGE_DECL(sceClibVdprintf) +BRIDGE_DECL(sceClibVprintf) +BRIDGE_DECL(sceClibVsnprintf) +BRIDGE_DECL(sceClibVsnprintfChk) +BRIDGE_DECL(sceIoChstat) +BRIDGE_DECL(sceIoChstatByFd) +BRIDGE_DECL(sceIoDevctl) +BRIDGE_DECL(sceIoDopen) +BRIDGE_DECL(sceIoDread) +BRIDGE_DECL(sceIoGetstat) +BRIDGE_DECL(sceIoGetstatByFd) +BRIDGE_DECL(sceIoIoctl) +BRIDGE_DECL(sceIoLseek) +BRIDGE_DECL(sceIoMkdir) +BRIDGE_DECL(sceIoOpen) +BRIDGE_DECL(sceIoPread) +BRIDGE_DECL(sceIoPwrite) +BRIDGE_DECL(sceIoRemove) +BRIDGE_DECL(sceIoRename) +BRIDGE_DECL(sceIoRmdir) +BRIDGE_DECL(sceIoSync) +BRIDGE_DECL(sceKernelAtomicAddAndGet16) +BRIDGE_DECL(sceKernelAtomicAddAndGet32) +BRIDGE_DECL(sceKernelAtomicAddAndGet64) +BRIDGE_DECL(sceKernelAtomicAddAndGet8) +BRIDGE_DECL(sceKernelAtomicAddUnless16) +BRIDGE_DECL(sceKernelAtomicAddUnless32) +BRIDGE_DECL(sceKernelAtomicAddUnless64) +BRIDGE_DECL(sceKernelAtomicAddUnless8) +BRIDGE_DECL(sceKernelAtomicAndAndGet16) +BRIDGE_DECL(sceKernelAtomicAndAndGet32) +BRIDGE_DECL(sceKernelAtomicAndAndGet64) +BRIDGE_DECL(sceKernelAtomicAndAndGet8) +BRIDGE_DECL(sceKernelAtomicClearAndGet16) +BRIDGE_DECL(sceKernelAtomicClearAndGet32) +BRIDGE_DECL(sceKernelAtomicClearAndGet64) +BRIDGE_DECL(sceKernelAtomicClearAndGet8) +BRIDGE_DECL(sceKernelAtomicClearMask16) +BRIDGE_DECL(sceKernelAtomicClearMask32) +BRIDGE_DECL(sceKernelAtomicClearMask64) +BRIDGE_DECL(sceKernelAtomicClearMask8) +BRIDGE_DECL(sceKernelAtomicCompareAndSet16) +BRIDGE_DECL(sceKernelAtomicCompareAndSet32) +BRIDGE_DECL(sceKernelAtomicCompareAndSet64) +BRIDGE_DECL(sceKernelAtomicCompareAndSet8) +BRIDGE_DECL(sceKernelAtomicDecIfPositive16) +BRIDGE_DECL(sceKernelAtomicDecIfPositive32) +BRIDGE_DECL(sceKernelAtomicDecIfPositive64) +BRIDGE_DECL(sceKernelAtomicDecIfPositive8) +BRIDGE_DECL(sceKernelAtomicGetAndAdd16) +BRIDGE_DECL(sceKernelAtomicGetAndAdd32) +BRIDGE_DECL(sceKernelAtomicGetAndAdd64) +BRIDGE_DECL(sceKernelAtomicGetAndAdd8) +BRIDGE_DECL(sceKernelAtomicGetAndAnd16) +BRIDGE_DECL(sceKernelAtomicGetAndAnd32) +BRIDGE_DECL(sceKernelAtomicGetAndAnd64) +BRIDGE_DECL(sceKernelAtomicGetAndAnd8) +BRIDGE_DECL(sceKernelAtomicGetAndClear16) +BRIDGE_DECL(sceKernelAtomicGetAndClear32) +BRIDGE_DECL(sceKernelAtomicGetAndClear64) +BRIDGE_DECL(sceKernelAtomicGetAndClear8) +BRIDGE_DECL(sceKernelAtomicGetAndOr16) +BRIDGE_DECL(sceKernelAtomicGetAndOr32) +BRIDGE_DECL(sceKernelAtomicGetAndOr64) +BRIDGE_DECL(sceKernelAtomicGetAndOr8) +BRIDGE_DECL(sceKernelAtomicGetAndSet16) +BRIDGE_DECL(sceKernelAtomicGetAndSet32) +BRIDGE_DECL(sceKernelAtomicGetAndSet64) +BRIDGE_DECL(sceKernelAtomicGetAndSet8) +BRIDGE_DECL(sceKernelAtomicGetAndSub16) +BRIDGE_DECL(sceKernelAtomicGetAndSub32) +BRIDGE_DECL(sceKernelAtomicGetAndSub64) +BRIDGE_DECL(sceKernelAtomicGetAndSub8) +BRIDGE_DECL(sceKernelAtomicGetAndXor16) +BRIDGE_DECL(sceKernelAtomicGetAndXor32) +BRIDGE_DECL(sceKernelAtomicGetAndXor64) +BRIDGE_DECL(sceKernelAtomicGetAndXor8) +BRIDGE_DECL(sceKernelAtomicOrAndGet16) +BRIDGE_DECL(sceKernelAtomicOrAndGet32) +BRIDGE_DECL(sceKernelAtomicOrAndGet64) +BRIDGE_DECL(sceKernelAtomicOrAndGet8) +BRIDGE_DECL(sceKernelAtomicSet16) +BRIDGE_DECL(sceKernelAtomicSet32) +BRIDGE_DECL(sceKernelAtomicSet64) +BRIDGE_DECL(sceKernelAtomicSet8) +BRIDGE_DECL(sceKernelAtomicSubAndGet16) +BRIDGE_DECL(sceKernelAtomicSubAndGet32) +BRIDGE_DECL(sceKernelAtomicSubAndGet64) +BRIDGE_DECL(sceKernelAtomicSubAndGet8) +BRIDGE_DECL(sceKernelAtomicXorAndGet16) +BRIDGE_DECL(sceKernelAtomicXorAndGet32) +BRIDGE_DECL(sceKernelAtomicXorAndGet64) +BRIDGE_DECL(sceKernelAtomicXorAndGet8) +BRIDGE_DECL(sceKernelBacktrace) +BRIDGE_DECL(sceKernelBacktraceSelf) +BRIDGE_DECL(sceKernelCallModuleExit) +BRIDGE_DECL(sceKernelCallWithChangeStack) +BRIDGE_DECL(sceKernelCancelEvent) +BRIDGE_DECL(sceKernelCancelEventFlag) +BRIDGE_DECL(sceKernelCancelEventWithSetPattern) +BRIDGE_DECL(sceKernelCancelMsgPipe) +BRIDGE_DECL(sceKernelCancelMutex) +BRIDGE_DECL(sceKernelCancelRWLock) +BRIDGE_DECL(sceKernelCancelSema) +BRIDGE_DECL(sceKernelCancelTimer) +BRIDGE_DECL(sceKernelChangeCurrentThreadAttr) +BRIDGE_DECL(sceKernelCheckThreadStack) +BRIDGE_DECL(sceKernelCloseModule) +BRIDGE_DECL(sceKernelCreateCond) +BRIDGE_DECL(sceKernelCreateEventFlag) +BRIDGE_DECL(sceKernelCreateLwCond) +BRIDGE_DECL(sceKernelCreateLwMutex) +BRIDGE_DECL(sceKernelCreateMsgPipe) +BRIDGE_DECL(sceKernelCreateMutex) +BRIDGE_DECL(sceKernelCreateRWLock) +BRIDGE_DECL(sceKernelCreateSema) +BRIDGE_DECL(sceKernelCreateSimpleEvent) +BRIDGE_DECL(sceKernelCreateThread) +BRIDGE_DECL(sceKernelCreateTimer) +BRIDGE_DECL(sceKernelDeleteLwCond) +BRIDGE_DECL(sceKernelDeleteLwMutex) +BRIDGE_DECL(sceKernelExitProcess) +BRIDGE_DECL(sceKernelGetCallbackInfo) +BRIDGE_DECL(sceKernelGetCondInfo) +BRIDGE_DECL(sceKernelGetCurrentThreadVfpException) +BRIDGE_DECL(sceKernelGetEventFlagInfo) +BRIDGE_DECL(sceKernelGetEventInfo) +BRIDGE_DECL(sceKernelGetEventPattern) +BRIDGE_DECL(sceKernelGetLwCondInfo) +BRIDGE_DECL(sceKernelGetLwCondInfoById) +BRIDGE_DECL(sceKernelGetLwMutexInfo) +BRIDGE_DECL(sceKernelGetLwMutexInfoById) +BRIDGE_DECL(sceKernelGetModuleInfoByAddr) +BRIDGE_DECL(sceKernelGetMsgPipeInfo) +BRIDGE_DECL(sceKernelGetMutexInfo) +BRIDGE_DECL(sceKernelGetOpenPsId) +BRIDGE_DECL(sceKernelGetPMUSERENR) +BRIDGE_DECL(sceKernelGetProcessTime) +BRIDGE_DECL(sceKernelGetProcessTimeLow) +BRIDGE_DECL(sceKernelGetProcessTimeWide) +BRIDGE_DECL(sceKernelGetRWLockInfo) +BRIDGE_DECL(sceKernelGetSemaInfo) +BRIDGE_DECL(sceKernelGetSystemInfo) +BRIDGE_DECL(sceKernelGetTLSAddr) +BRIDGE_DECL(sceKernelGetThreadCpuAffinityMask) +BRIDGE_DECL(sceKernelGetThreadCurrentPriority) +BRIDGE_DECL(sceKernelGetThreadExitStatus) +BRIDGE_DECL(sceKernelGetThreadId) +BRIDGE_DECL(sceKernelGetThreadInfo) +BRIDGE_DECL(sceKernelGetThreadRunStatus) +BRIDGE_DECL(sceKernelGetTimerBase) +BRIDGE_DECL(sceKernelGetTimerEventRemainingTime) +BRIDGE_DECL(sceKernelGetTimerInfo) +BRIDGE_DECL(sceKernelGetTimerTime) +BRIDGE_DECL(sceKernelLoadModule) +BRIDGE_DECL(sceKernelLoadStartModule) +BRIDGE_DECL(sceKernelLockLwMutex) +BRIDGE_DECL(sceKernelLockLwMutexCB) +BRIDGE_DECL(sceKernelLockMutex) +BRIDGE_DECL(sceKernelLockMutexCB) +BRIDGE_DECL(sceKernelLockReadRWLock) +BRIDGE_DECL(sceKernelLockReadRWLockCB) +BRIDGE_DECL(sceKernelLockWriteRWLock) +BRIDGE_DECL(sceKernelLockWriteRWLockCB) +BRIDGE_DECL(sceKernelOpenModule) +BRIDGE_DECL(sceKernelPMonThreadGetCounter) +BRIDGE_DECL(sceKernelPollEvent) +BRIDGE_DECL(sceKernelPollEventFlag) +BRIDGE_DECL(sceKernelPrintBacktrace) +BRIDGE_DECL(sceKernelPulseEventWithNotifyCallback) +BRIDGE_DECL(sceKernelReceiveMsgPipe) +BRIDGE_DECL(sceKernelReceiveMsgPipeCB) +BRIDGE_DECL(sceKernelReceiveMsgPipeVector) +BRIDGE_DECL(sceKernelReceiveMsgPipeVectorCB) +BRIDGE_DECL(sceKernelSendMsgPipe) +BRIDGE_DECL(sceKernelSendMsgPipeCB) +BRIDGE_DECL(sceKernelSendMsgPipeVector) +BRIDGE_DECL(sceKernelSendMsgPipeVectorCB) +BRIDGE_DECL(sceKernelSetEventWithNotifyCallback) +BRIDGE_DECL(sceKernelSetTimerEvent) +BRIDGE_DECL(sceKernelSetTimerTime) +BRIDGE_DECL(sceKernelSignalLwCond) +BRIDGE_DECL(sceKernelSignalLwCondAll) +BRIDGE_DECL(sceKernelSignalLwCondTo) +BRIDGE_DECL(sceKernelStackChkFail) +BRIDGE_DECL(sceKernelStartModule) +BRIDGE_DECL(sceKernelStartThread) +BRIDGE_DECL(sceKernelStopModule) +BRIDGE_DECL(sceKernelStopUnloadModule) +BRIDGE_DECL(sceKernelTryLockLwMutex) +BRIDGE_DECL(sceKernelTryReceiveMsgPipe) +BRIDGE_DECL(sceKernelTryReceiveMsgPipeVector) +BRIDGE_DECL(sceKernelTrySendMsgPipe) +BRIDGE_DECL(sceKernelTrySendMsgPipeVector) +BRIDGE_DECL(sceKernelUnloadModule) +BRIDGE_DECL(sceKernelUnlockLwMutex) +BRIDGE_DECL(sceKernelWaitCond) +BRIDGE_DECL(sceKernelWaitCondCB) +BRIDGE_DECL(sceKernelWaitEvent) +BRIDGE_DECL(sceKernelWaitEventCB) +BRIDGE_DECL(sceKernelWaitEventFlag) +BRIDGE_DECL(sceKernelWaitEventFlagCB) +BRIDGE_DECL(sceKernelWaitLwCond) +BRIDGE_DECL(sceKernelWaitLwCondCB) +BRIDGE_DECL(sceKernelWaitMultipleEvents) +BRIDGE_DECL(sceKernelWaitMultipleEventsCB) +BRIDGE_DECL(sceKernelWaitSema) +BRIDGE_DECL(sceKernelWaitSemaCB) +BRIDGE_DECL(sceKernelWaitSignal) +BRIDGE_DECL(sceKernelWaitSignalCB) +BRIDGE_DECL(sceKernelWaitThreadEnd) +BRIDGE_DECL(sceKernelWaitThreadEndCB) +BRIDGE_DECL(sceSblACMgrIsGameProgram) + +// SceLibRng +BRIDGE_DECL(sceKernelGetRandomNumber) diff --git a/src/emulator/modules/SceLibKernel/src/SceLibKernel.cpp b/src/emulator/modules/SceLibKernel/src/SceLibKernel.cpp new file mode 100644 index 000000000..c92cf3aee --- /dev/null +++ b/src/emulator/modules/SceLibKernel/src/SceLibKernel.cpp @@ -0,0 +1,1508 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include +#include +#include + +#include +#include +#include + +struct Semaphore { +}; + +struct ThreadParams { + HostState *host = nullptr; + SceUID thid = SCE_KERNEL_ERROR_ILLEGAL_THREAD_ID; + SceSize arglen = 0; + Ptr argp; + std::shared_ptr host_may_destroy_params = std::shared_ptr(SDL_CreateSemaphore(0), SDL_DestroySemaphore); +}; + +static int SDLCALL thread_function(void *data) { + assert(data != nullptr); + + const ThreadParams params = *static_cast(data); + SDL_SemPost(params.host_may_destroy_params.get()); + + const ThreadStatePtr thread = lock_and_find(params.thid, params.host->kernel.threads, params.host->kernel.mutex); + write_reg(*thread->cpu, 0, params.arglen); + write_reg(*thread->cpu, 0, params.argp.address()); + + const bool succeeded = run_thread(*thread); + assert(succeeded); + + const uint32_t r0 = read_reg(*thread->cpu, 0); + + return r0; +} + +EXPORT(int, SceKernelStackChkGuard) { + return unimplemented("SceKernelStackChkGuard"); +} + +EXPORT(int, __sce_aeabi_idiv0) { + return unimplemented("__sce_aeabi_idiv0"); +} + +EXPORT(int, __sce_aeabi_ldiv0) { + return unimplemented("__sce_aeabi_ldiv0"); +} + +EXPORT(int, __stack_chk_fail) { + return unimplemented("__stack_chk_fail"); +} + +EXPORT(int, __stack_chk_guard) { + return unimplemented("__stack_chk_guard"); +} + +EXPORT(int, _sceKernelCreateLwMutex) { + return unimplemented("_sceKernelCreateLwMutex"); +} + +EXPORT(int, sceClibAbort) { + return unimplemented("sceClibAbort"); +} + +EXPORT(int, sceClibDprintf) { + return unimplemented("sceClibDprintf"); +} + +EXPORT(int, sceClibLookCtypeTable) { + return unimplemented("sceClibLookCtypeTable"); +} + +EXPORT(int, sceClibMemchr) { + return unimplemented("sceClibMemchr"); +} + +EXPORT(int, sceClibMemcmp) { + return unimplemented("sceClibMemcmp"); +} + +EXPORT(int, sceClibMemcmpConstTime) { + return unimplemented("sceClibMemcmpConstTime"); +} + +EXPORT(int, sceClibMemcpy) { + return unimplemented("sceClibMemcpy"); +} + +EXPORT(int, sceClibMemcpyChk) { + return unimplemented("sceClibMemcpyChk"); +} + +EXPORT(int, sceClibMemcpy_safe) { + return unimplemented("sceClibMemcpy_safe"); +} + +EXPORT(int, sceClibMemmove) { + return unimplemented("sceClibMemmove"); +} + +EXPORT(int, sceClibMemmoveChk) { + return unimplemented("sceClibMemmoveChk"); +} + +EXPORT(int, sceClibMemset) { + return unimplemented("sceClibMemset"); +} + +EXPORT(int, sceClibMemsetChk) { + return unimplemented("sceClibMemsetChk"); +} + +EXPORT(int, sceClibMspaceCalloc) { + return unimplemented("sceClibMspaceCalloc"); +} + +EXPORT(int, sceClibMspaceCreate) { + return unimplemented("sceClibMspaceCreate"); +} + +EXPORT(int, sceClibMspaceDestroy) { + return unimplemented("sceClibMspaceDestroy"); +} + +EXPORT(int, sceClibMspaceFree) { + return unimplemented("sceClibMspaceFree"); +} + +EXPORT(int, sceClibMspaceIsHeapEmpty) { + return unimplemented("sceClibMspaceIsHeapEmpty"); +} + +EXPORT(int, sceClibMspaceMalloc) { + return unimplemented("sceClibMspaceMalloc"); +} + +EXPORT(int, sceClibMspaceMallocStats) { + return unimplemented("sceClibMspaceMallocStats"); +} + +EXPORT(int, sceClibMspaceMallocStatsFast) { + return unimplemented("sceClibMspaceMallocStatsFast"); +} + +EXPORT(int, sceClibMspaceMallocUsableSize) { + return unimplemented("sceClibMspaceMallocUsableSize"); +} + +EXPORT(int, sceClibMspaceMemalign) { + return unimplemented("sceClibMspaceMemalign"); +} + +EXPORT(int, sceClibMspaceRealloc) { + return unimplemented("sceClibMspaceRealloc"); +} + +EXPORT(int, sceClibMspaceReallocalign) { + return unimplemented("sceClibMspaceReallocalign"); +} + +EXPORT(int, sceClibPrintf) { + return unimplemented("sceClibPrintf"); +} + +EXPORT(int, sceClibSnprintf) { + return unimplemented("sceClibSnprintf"); +} + +EXPORT(int, sceClibSnprintfChk) { + return unimplemented("sceClibSnprintfChk"); +} + +EXPORT(int, sceClibStrcatChk) { + return unimplemented("sceClibStrcatChk"); +} + +EXPORT(int, sceClibStrchr) { + return unimplemented("sceClibStrchr"); +} + +EXPORT(int, sceClibStrcmp) { + return unimplemented("sceClibStrcmp"); +} + +EXPORT(int, sceClibStrcpyChk) { + return unimplemented("sceClibStrcpyChk"); +} + +EXPORT(int, sceClibStrlcat) { + return unimplemented("sceClibStrlcat"); +} + +EXPORT(int, sceClibStrlcatChk) { + return unimplemented("sceClibStrlcatChk"); +} + +EXPORT(int, sceClibStrlcpy) { + return unimplemented("sceClibStrlcpy"); +} + +EXPORT(int, sceClibStrlcpyChk) { + return unimplemented("sceClibStrlcpyChk"); +} + +EXPORT(int, sceClibStrncasecmp) { + return unimplemented("sceClibStrncasecmp"); +} + +EXPORT(int, sceClibStrncat) { + return unimplemented("sceClibStrncat"); +} + +EXPORT(int, sceClibStrncatChk) { + return unimplemented("sceClibStrncatChk"); +} + +EXPORT(int, sceClibStrncmp) { + return unimplemented("sceClibStrncmp"); +} + +EXPORT(int, sceClibStrncpy) { + return unimplemented("sceClibStrncpy"); +} + +EXPORT(int, sceClibStrncpyChk) { + return unimplemented("sceClibStrncpyChk"); +} + +EXPORT(int, sceClibStrnlen) { + return unimplemented("sceClibStrnlen"); +} + +EXPORT(int, sceClibStrrchr) { + return unimplemented("sceClibStrrchr"); +} + +EXPORT(int, sceClibStrstr) { + return unimplemented("sceClibStrstr"); +} + +EXPORT(int, sceClibStrtoll) { + return unimplemented("sceClibStrtoll"); +} + +EXPORT(int, sceClibTolower) { + return unimplemented("sceClibTolower"); +} + +EXPORT(int, sceClibToupper) { + return unimplemented("sceClibToupper"); +} + +EXPORT(int, sceClibVdprintf) { + return unimplemented("sceClibVdprintf"); +} + +EXPORT(int, sceClibVprintf) { + return unimplemented("sceClibVprintf"); +} + +EXPORT(int, sceClibVsnprintf) { + return unimplemented("sceClibVsnprintf"); +} + +EXPORT(int, sceClibVsnprintfChk) { + return unimplemented("sceClibVsnprintfChk"); +} + +EXPORT(int, sceIoChstat) { + return unimplemented("sceIoChstat"); +} + +EXPORT(int, sceIoChstatByFd) { + return unimplemented("sceIoChstatByFd"); +} + +EXPORT(int, sceIoDevctl) { + return unimplemented("sceIoDevctl"); +} + +EXPORT(int, sceIoDopen) { + return unimplemented("sceIoDopen"); +} + +EXPORT(int, sceIoDread) { + return unimplemented("sceIoDread"); +} + +EXPORT(int, sceIoGetstat) { + return unimplemented("sceIoGetstat"); +} + +EXPORT(int, sceIoGetstatByFd) { + return unimplemented("sceIoGetstatByFd"); +} + +EXPORT(int, sceIoIoctl) { + return unimplemented("sceIoIoctl"); +} + +EXPORT(int, sceIoLseek) { + return unimplemented("sceIoLseek"); +} + +EXPORT(int, sceIoMkdir) { + return unimplemented("sceIoMkdir"); +} + +EXPORT(SceUID, sceIoOpen, const char *file, int flags, SceMode mode) { + assert(file != nullptr); + assert((mode == 0) || (mode == 0666) || (mode == 0777)); + + return open_file(host.io, file, flags, host.pref_path.c_str()); +} + +EXPORT(int, sceIoPread) { + return unimplemented("sceIoPread"); +} + +EXPORT(int, sceIoPwrite) { + return unimplemented("sceIoPwrite"); +} + +EXPORT(int, sceIoRemove) { + return unimplemented("sceIoRemove"); +} + +EXPORT(int, sceIoRename) { + return unimplemented("sceIoRename"); +} + +EXPORT(int, sceIoRmdir) { + return unimplemented("sceIoRmdir"); +} + +EXPORT(int, sceIoSync) { + return unimplemented("sceIoSync"); +} + +EXPORT(int, sceKernelAtomicAddAndGet16) { + return unimplemented("sceKernelAtomicAddAndGet16"); +} + +EXPORT(int, sceKernelAtomicAddAndGet32) { + return unimplemented("sceKernelAtomicAddAndGet32"); +} + +EXPORT(int, sceKernelAtomicAddAndGet64) { + return unimplemented("sceKernelAtomicAddAndGet64"); +} + +EXPORT(int, sceKernelAtomicAddAndGet8) { + return unimplemented("sceKernelAtomicAddAndGet8"); +} + +EXPORT(int, sceKernelAtomicAddUnless16) { + return unimplemented("sceKernelAtomicAddUnless16"); +} + +EXPORT(int, sceKernelAtomicAddUnless32) { + return unimplemented("sceKernelAtomicAddUnless32"); +} + +EXPORT(int, sceKernelAtomicAddUnless64) { + return unimplemented("sceKernelAtomicAddUnless64"); +} + +EXPORT(int, sceKernelAtomicAddUnless8) { + return unimplemented("sceKernelAtomicAddUnless8"); +} + +EXPORT(int, sceKernelAtomicAndAndGet16) { + return unimplemented("sceKernelAtomicAndAndGet16"); +} + +EXPORT(int, sceKernelAtomicAndAndGet32) { + return unimplemented("sceKernelAtomicAndAndGet32"); +} + +EXPORT(int, sceKernelAtomicAndAndGet64) { + return unimplemented("sceKernelAtomicAndAndGet64"); +} + +EXPORT(int, sceKernelAtomicAndAndGet8) { + return unimplemented("sceKernelAtomicAndAndGet8"); +} + +EXPORT(int, sceKernelAtomicClearAndGet16) { + return unimplemented("sceKernelAtomicClearAndGet16"); +} + +EXPORT(int, sceKernelAtomicClearAndGet32) { + return unimplemented("sceKernelAtomicClearAndGet32"); +} + +EXPORT(int, sceKernelAtomicClearAndGet64) { + return unimplemented("sceKernelAtomicClearAndGet64"); +} + +EXPORT(int, sceKernelAtomicClearAndGet8) { + return unimplemented("sceKernelAtomicClearAndGet8"); +} + +EXPORT(int, sceKernelAtomicClearMask16) { + return unimplemented("sceKernelAtomicClearMask16"); +} + +EXPORT(int, sceKernelAtomicClearMask32) { + return unimplemented("sceKernelAtomicClearMask32"); +} + +EXPORT(int, sceKernelAtomicClearMask64) { + return unimplemented("sceKernelAtomicClearMask64"); +} + +EXPORT(int, sceKernelAtomicClearMask8) { + return unimplemented("sceKernelAtomicClearMask8"); +} + +EXPORT(int, sceKernelAtomicCompareAndSet16) { + return unimplemented("sceKernelAtomicCompareAndSet16"); +} + +EXPORT(int, sceKernelAtomicCompareAndSet32) { + return unimplemented("sceKernelAtomicCompareAndSet32"); +} + +EXPORT(int, sceKernelAtomicCompareAndSet64) { + return unimplemented("sceKernelAtomicCompareAndSet64"); +} + +EXPORT(int, sceKernelAtomicCompareAndSet8) { + return unimplemented("sceKernelAtomicCompareAndSet8"); +} + +EXPORT(int, sceKernelAtomicDecIfPositive16) { + return unimplemented("sceKernelAtomicDecIfPositive16"); +} + +EXPORT(int, sceKernelAtomicDecIfPositive32) { + return unimplemented("sceKernelAtomicDecIfPositive32"); +} + +EXPORT(int, sceKernelAtomicDecIfPositive64) { + return unimplemented("sceKernelAtomicDecIfPositive64"); +} + +EXPORT(int, sceKernelAtomicDecIfPositive8) { + return unimplemented("sceKernelAtomicDecIfPositive8"); +} + +EXPORT(int, sceKernelAtomicGetAndAdd16) { + return unimplemented("sceKernelAtomicGetAndAdd16"); +} + +EXPORT(int, sceKernelAtomicGetAndAdd32) { + return unimplemented("sceKernelAtomicGetAndAdd32"); +} + +EXPORT(int, sceKernelAtomicGetAndAdd64) { + return unimplemented("sceKernelAtomicGetAndAdd64"); +} + +EXPORT(int, sceKernelAtomicGetAndAdd8) { + return unimplemented("sceKernelAtomicGetAndAdd8"); +} + +EXPORT(int, sceKernelAtomicGetAndAnd16) { + return unimplemented("sceKernelAtomicGetAndAnd16"); +} + +EXPORT(int, sceKernelAtomicGetAndAnd32) { + return unimplemented("sceKernelAtomicGetAndAnd32"); +} + +EXPORT(int, sceKernelAtomicGetAndAnd64) { + return unimplemented("sceKernelAtomicGetAndAnd64"); +} + +EXPORT(int, sceKernelAtomicGetAndAnd8) { + return unimplemented("sceKernelAtomicGetAndAnd8"); +} + +EXPORT(int, sceKernelAtomicGetAndClear16) { + return unimplemented("sceKernelAtomicGetAndClear16"); +} + +EXPORT(int, sceKernelAtomicGetAndClear32) { + return unimplemented("sceKernelAtomicGetAndClear32"); +} + +EXPORT(int, sceKernelAtomicGetAndClear64) { + return unimplemented("sceKernelAtomicGetAndClear64"); +} + +EXPORT(int, sceKernelAtomicGetAndClear8) { + return unimplemented("sceKernelAtomicGetAndClear8"); +} + +EXPORT(int, sceKernelAtomicGetAndOr16) { + return unimplemented("sceKernelAtomicGetAndOr16"); +} + +EXPORT(int, sceKernelAtomicGetAndOr32) { + return unimplemented("sceKernelAtomicGetAndOr32"); +} + +EXPORT(int, sceKernelAtomicGetAndOr64) { + return unimplemented("sceKernelAtomicGetAndOr64"); +} + +EXPORT(int, sceKernelAtomicGetAndOr8) { + return unimplemented("sceKernelAtomicGetAndOr8"); +} + +EXPORT(int, sceKernelAtomicGetAndSet16) { + return unimplemented("sceKernelAtomicGetAndSet16"); +} + +EXPORT(int, sceKernelAtomicGetAndSet32) { + return unimplemented("sceKernelAtomicGetAndSet32"); +} + +EXPORT(int, sceKernelAtomicGetAndSet64) { + return unimplemented("sceKernelAtomicGetAndSet64"); +} + +EXPORT(int, sceKernelAtomicGetAndSet8) { + return unimplemented("sceKernelAtomicGetAndSet8"); +} + +EXPORT(int, sceKernelAtomicGetAndSub16) { + return unimplemented("sceKernelAtomicGetAndSub16"); +} + +EXPORT(int, sceKernelAtomicGetAndSub32) { + return unimplemented("sceKernelAtomicGetAndSub32"); +} + +EXPORT(int, sceKernelAtomicGetAndSub64) { + return unimplemented("sceKernelAtomicGetAndSub64"); +} + +EXPORT(int, sceKernelAtomicGetAndSub8) { + return unimplemented("sceKernelAtomicGetAndSub8"); +} + +EXPORT(int, sceKernelAtomicGetAndXor16) { + return unimplemented("sceKernelAtomicGetAndXor16"); +} + +EXPORT(int, sceKernelAtomicGetAndXor32) { + return unimplemented("sceKernelAtomicGetAndXor32"); +} + +EXPORT(int, sceKernelAtomicGetAndXor64) { + return unimplemented("sceKernelAtomicGetAndXor64"); +} + +EXPORT(int, sceKernelAtomicGetAndXor8) { + return unimplemented("sceKernelAtomicGetAndXor8"); +} + +EXPORT(int, sceKernelAtomicOrAndGet16) { + return unimplemented("sceKernelAtomicOrAndGet16"); +} + +EXPORT(int, sceKernelAtomicOrAndGet32) { + return unimplemented("sceKernelAtomicOrAndGet32"); +} + +EXPORT(int, sceKernelAtomicOrAndGet64) { + return unimplemented("sceKernelAtomicOrAndGet64"); +} + +EXPORT(int, sceKernelAtomicOrAndGet8) { + return unimplemented("sceKernelAtomicOrAndGet8"); +} + +EXPORT(int, sceKernelAtomicSet16) { + return unimplemented("sceKernelAtomicSet16"); +} + +EXPORT(int, sceKernelAtomicSet32) { + return unimplemented("sceKernelAtomicSet32"); +} + +EXPORT(int, sceKernelAtomicSet64) { + return unimplemented("sceKernelAtomicSet64"); +} + +EXPORT(int, sceKernelAtomicSet8) { + return unimplemented("sceKernelAtomicSet8"); +} + +EXPORT(int, sceKernelAtomicSubAndGet16) { + return unimplemented("sceKernelAtomicSubAndGet16"); +} + +EXPORT(int, sceKernelAtomicSubAndGet32) { + return unimplemented("sceKernelAtomicSubAndGet32"); +} + +EXPORT(int, sceKernelAtomicSubAndGet64) { + return unimplemented("sceKernelAtomicSubAndGet64"); +} + +EXPORT(int, sceKernelAtomicSubAndGet8) { + return unimplemented("sceKernelAtomicSubAndGet8"); +} + +EXPORT(int, sceKernelAtomicXorAndGet16) { + return unimplemented("sceKernelAtomicXorAndGet16"); +} + +EXPORT(int, sceKernelAtomicXorAndGet32) { + return unimplemented("sceKernelAtomicXorAndGet32"); +} + +EXPORT(int, sceKernelAtomicXorAndGet64) { + return unimplemented("sceKernelAtomicXorAndGet64"); +} + +EXPORT(int, sceKernelAtomicXorAndGet8) { + return unimplemented("sceKernelAtomicXorAndGet8"); +} + +EXPORT(int, sceKernelBacktrace) { + return unimplemented("sceKernelBacktrace"); +} + +EXPORT(int, sceKernelBacktraceSelf) { + return unimplemented("sceKernelBacktraceSelf"); +} + +EXPORT(int, sceKernelCallModuleExit) { + return unimplemented("sceKernelCallModuleExit"); +} + +EXPORT(int, sceKernelCallWithChangeStack) { + return unimplemented("sceKernelCallWithChangeStack"); +} + +EXPORT(int, sceKernelCancelEvent) { + return unimplemented("sceKernelCancelEvent"); +} + +EXPORT(int, sceKernelCancelEventFlag) { + return unimplemented("sceKernelCancelEventFlag"); +} + +EXPORT(int, sceKernelCancelEventWithSetPattern) { + return unimplemented("sceKernelCancelEventWithSetPattern"); +} + +EXPORT(int, sceKernelCancelMsgPipe) { + return unimplemented("sceKernelCancelMsgPipe"); +} + +EXPORT(int, sceKernelCancelMutex) { + return unimplemented("sceKernelCancelMutex"); +} + +EXPORT(int, sceKernelCancelRWLock) { + return unimplemented("sceKernelCancelRWLock"); +} + +EXPORT(int, sceKernelCancelSema) { + return unimplemented("sceKernelCancelSema"); +} + +EXPORT(int, sceKernelCancelTimer) { + return unimplemented("sceKernelCancelTimer"); +} + +EXPORT(int, sceKernelChangeCurrentThreadAttr) { + return unimplemented("sceKernelChangeCurrentThreadAttr"); +} + +EXPORT(int, sceKernelCheckThreadStack) { + return unimplemented("sceKernelCheckThreadStack"); +} + +EXPORT(int, sceKernelCloseModule) { + return unimplemented("sceKernelCloseModule"); +} + +EXPORT(int, sceKernelCreateCond) { + return unimplemented("sceKernelCreateCond"); +} + +EXPORT(int, sceKernelCreateEventFlag) { + return unimplemented("sceKernelCreateEventFlag"); +} + +EXPORT(int, sceKernelCreateLwCond) { + return unimplemented("sceKernelCreateLwCond"); +} + +EXPORT(int, sceKernelCreateLwMutex, SceKernelLwMutexWork *pWork, const char *pName, unsigned int attr, int initCount, const SceKernelLwMutexOptParam *pOptParam) { + assert(pWork != nullptr); + assert(pName != nullptr); + assert((attr == 0) || (attr == 2)); + assert(initCount >= 0); + assert(initCount <= 1); + assert(pOptParam == nullptr); + + return unimplemented("sceKernelCreateLwMutex"); +} + +EXPORT(int, sceKernelCreateMsgPipe) { + return unimplemented("sceKernelCreateMsgPipe"); +} + +EXPORT(int, sceKernelCreateMutex) { + return unimplemented("sceKernelCreateMutex"); +} + +EXPORT(int, sceKernelCreateRWLock) { + return unimplemented("sceKernelCreateRWLock"); +} + +EXPORT(SceUID, sceKernelCreateSema, const char *name, SceUInt attr, int initVal, int maxVal, SceKernelSemaOptParam *option) { + assert(name != nullptr); + assert(attr == 0); + assert(initVal == 0); + assert(maxVal == 1); + assert(option == nullptr); + + const SemaphorePtr semaphore = std::make_shared(); + const std::unique_lock lock(host.kernel.mutex); + const SceUID uid = host.kernel.next_uid++; + host.kernel.semaphores.emplace(uid, semaphore); + + return uid; +} + +EXPORT(int, sceKernelCreateSimpleEvent) { + return unimplemented("sceKernelCreateSimpleEvent"); +} + +EXPORT(SceUID, sceKernelCreateThread, const char *name, emu::SceKernelThreadEntry entry, int initPriority, int stackSize, SceUInt attr, int cpuAffinityMask, const SceKernelThreadOptParam *option) { + assert(name != nullptr); + assert(entry); + assert(initPriority == 0x10000100); + assert(stackSize == 65536); + assert(attr == 0); + assert(cpuAffinityMask == 0); + assert(option == nullptr); + + WaitingThreadState waiting; + waiting.name = name; + + const SceUID thid = host.kernel.next_uid++; + const CallImport call_import = [&host, thid](uint32_t nid) { + ::call_import(host, nid, thid); + }; + + const bool log_code = false; + const ThreadStatePtr thread = init_thread(entry.cast(), stackSize, log_code, host.mem, call_import); + if (!thread) { + return SCE_KERNEL_ERROR_ERROR; + } + + const std::unique_lock lock(host.kernel.mutex); + host.kernel.threads.emplace(thid, thread); + host.kernel.waiting_threads.emplace(thid, waiting); + + return thid; +} + +EXPORT(int, sceKernelCreateTimer) { + return unimplemented("sceKernelCreateTimer"); +} + +EXPORT(int, sceKernelDeleteLwCond) { + return unimplemented("sceKernelDeleteLwCond"); +} + +EXPORT(int, sceKernelDeleteLwMutex) { + return unimplemented("sceKernelDeleteLwMutex"); +} + +EXPORT(int, sceKernelExitProcess, int res) { + // TODO Handle exit code? + stop_all_threads(host.kernel); + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelGetCallbackInfo) { + return unimplemented("sceKernelGetCallbackInfo"); +} + +EXPORT(int, sceKernelGetCondInfo) { + return unimplemented("sceKernelGetCondInfo"); +} + +EXPORT(int, sceKernelGetCurrentThreadVfpException) { + return unimplemented("sceKernelGetCurrentThreadVfpException"); +} + +EXPORT(int, sceKernelGetEventFlagInfo) { + return unimplemented("sceKernelGetEventFlagInfo"); +} + +EXPORT(int, sceKernelGetEventInfo) { + return unimplemented("sceKernelGetEventInfo"); +} + +EXPORT(int, sceKernelGetEventPattern) { + return unimplemented("sceKernelGetEventPattern"); +} + +EXPORT(int, sceKernelGetLwCondInfo) { + return unimplemented("sceKernelGetLwCondInfo"); +} + +EXPORT(int, sceKernelGetLwCondInfoById) { + return unimplemented("sceKernelGetLwCondInfoById"); +} + +EXPORT(int, sceKernelGetLwMutexInfo) { + return unimplemented("sceKernelGetLwMutexInfo"); +} + +EXPORT(int, sceKernelGetLwMutexInfoById) { + return unimplemented("sceKernelGetLwMutexInfoById"); +} + +EXPORT(int, sceKernelGetModuleInfoByAddr) { + return unimplemented("sceKernelGetModuleInfoByAddr"); +} + +EXPORT(int, sceKernelGetMsgPipeInfo) { + return unimplemented("sceKernelGetMsgPipeInfo"); +} + +EXPORT(int, sceKernelGetMutexInfo) { + return unimplemented("sceKernelGetMutexInfo"); +} + +EXPORT(int, sceKernelGetOpenPsId) { + return unimplemented("sceKernelGetOpenPsId"); +} + +EXPORT(int, sceKernelGetPMUSERENR) { + return unimplemented("sceKernelGetPMUSERENR"); +} + +EXPORT(int, sceKernelGetProcessTime) { + return unimplemented("sceKernelGetProcessTime"); +} + +EXPORT(int, sceKernelGetProcessTimeLow) { + return unimplemented("sceKernelGetProcessTimeLow"); +} + +EXPORT(SceUInt64, sceKernelGetProcessTimeWide) { + constexpr SceUInt64 scale = 1000000 / CLOCKS_PER_SEC; + static_assert((CLOCKS_PER_SEC * scale) == 1000000, "CLOCKS_PER_SEC doesn't scale easily to Vita's."); + + const clock_t clocks = clock(); + + return clocks * scale; +} + +EXPORT(int, sceKernelGetRWLockInfo) { + return unimplemented("sceKernelGetRWLockInfo"); +} + +EXPORT(int, sceKernelGetSemaInfo) { + return unimplemented("sceKernelGetSemaInfo"); +} + +EXPORT(int, sceKernelGetSystemInfo) { + return unimplemented("sceKernelGetSystemInfo"); +} + +EXPORT(Ptr>, sceKernelGetTLSAddr, int key) { + return get_thread_tls_addr(host.kernel, host.mem, thread_id, key); +} + +EXPORT(int, sceKernelGetThreadCpuAffinityMask) { + return unimplemented("sceKernelGetThreadCpuAffinityMask"); +} + +EXPORT(int, sceKernelGetThreadCurrentPriority) { + return unimplemented("sceKernelGetThreadCurrentPriority"); +} + +EXPORT(int, sceKernelGetThreadExitStatus) { + return unimplemented("sceKernelGetThreadExitStatus"); +} + +EXPORT(int, sceKernelGetThreadId) { + return thread_id; +} + +EXPORT(int, sceKernelGetThreadInfo) { + return unimplemented("sceKernelGetThreadInfo"); +} + +EXPORT(int, sceKernelGetThreadRunStatus) { + return unimplemented("sceKernelGetThreadRunStatus"); +} + +EXPORT(int, sceKernelGetTimerBase) { + return unimplemented("sceKernelGetTimerBase"); +} + +EXPORT(int, sceKernelGetTimerEventRemainingTime) { + return unimplemented("sceKernelGetTimerEventRemainingTime"); +} + +EXPORT(int, sceKernelGetTimerInfo) { + return unimplemented("sceKernelGetTimerInfo"); +} + +EXPORT(int, sceKernelGetTimerTime) { + return unimplemented("sceKernelGetTimerTime"); +} + +EXPORT(int, sceKernelLoadModule) { + return unimplemented("sceKernelLoadModule"); +} + +EXPORT(int, sceKernelLoadStartModule) { + return unimplemented("sceKernelLoadStartModule"); +} + +EXPORT(int, sceKernelLockLwMutex, SceKernelLwMutexWork *pWork, int lockCount, unsigned int *pTimeout) { + assert(pWork != nullptr); + assert(lockCount == 1); + assert(pTimeout == nullptr); + + return unimplemented("sceKernelLockLwMutex"); +} + +EXPORT(int, sceKernelLockLwMutexCB) { + return unimplemented("sceKernelLockLwMutexCB"); +} + +EXPORT(int, sceKernelLockMutex) { + return unimplemented("sceKernelLockMutex"); +} + +EXPORT(int, sceKernelLockMutexCB) { + return unimplemented("sceKernelLockMutexCB"); +} + +EXPORT(int, sceKernelLockReadRWLock) { + return unimplemented("sceKernelLockReadRWLock"); +} + +EXPORT(int, sceKernelLockReadRWLockCB) { + return unimplemented("sceKernelLockReadRWLockCB"); +} + +EXPORT(int, sceKernelLockWriteRWLock) { + return unimplemented("sceKernelLockWriteRWLock"); +} + +EXPORT(int, sceKernelLockWriteRWLockCB) { + return unimplemented("sceKernelLockWriteRWLockCB"); +} + +EXPORT(int, sceKernelOpenModule) { + return unimplemented("sceKernelOpenModule"); +} + +EXPORT(int, sceKernelPMonThreadGetCounter) { + return unimplemented("sceKernelPMonThreadGetCounter"); +} + +EXPORT(int, sceKernelPollEvent) { + return unimplemented("sceKernelPollEvent"); +} + +EXPORT(int, sceKernelPollEventFlag) { + return unimplemented("sceKernelPollEventFlag"); +} + +EXPORT(int, sceKernelPrintBacktrace) { + return unimplemented("sceKernelPrintBacktrace"); +} + +EXPORT(int, sceKernelPulseEventWithNotifyCallback) { + return unimplemented("sceKernelPulseEventWithNotifyCallback"); +} + +EXPORT(int, sceKernelReceiveMsgPipe) { + return unimplemented("sceKernelReceiveMsgPipe"); +} + +EXPORT(int, sceKernelReceiveMsgPipeCB) { + return unimplemented("sceKernelReceiveMsgPipeCB"); +} + +EXPORT(int, sceKernelReceiveMsgPipeVector) { + return unimplemented("sceKernelReceiveMsgPipeVector"); +} + +EXPORT(int, sceKernelReceiveMsgPipeVectorCB) { + return unimplemented("sceKernelReceiveMsgPipeVectorCB"); +} + +EXPORT(int, sceKernelSendMsgPipe) { + return unimplemented("sceKernelSendMsgPipe"); +} + +EXPORT(int, sceKernelSendMsgPipeCB) { + return unimplemented("sceKernelSendMsgPipeCB"); +} + +EXPORT(int, sceKernelSendMsgPipeVector) { + return unimplemented("sceKernelSendMsgPipeVector"); +} + +EXPORT(int, sceKernelSendMsgPipeVectorCB) { + return unimplemented("sceKernelSendMsgPipeVectorCB"); +} + +EXPORT(int, sceKernelSetEventWithNotifyCallback) { + return unimplemented("sceKernelSetEventWithNotifyCallback"); +} + +EXPORT(int, sceKernelSetTimerEvent) { + return unimplemented("sceKernelSetTimerEvent"); +} + +EXPORT(int, sceKernelSetTimerTime) { + return unimplemented("sceKernelSetTimerTime"); +} + +EXPORT(int, sceKernelSignalLwCond) { + return unimplemented("sceKernelSignalLwCond"); +} + +EXPORT(int, sceKernelSignalLwCondAll) { + return unimplemented("sceKernelSignalLwCondAll"); +} + +EXPORT(int, sceKernelSignalLwCondTo) { + return unimplemented("sceKernelSignalLwCondTo"); +} + +EXPORT(int, sceKernelStackChkFail) { + return unimplemented("sceKernelStackChkFail"); +} + +EXPORT(int, sceKernelStartModule) { + return unimplemented("sceKernelStartModule"); +} + +EXPORT(int, sceKernelStartThread, SceUID thid, SceSize arglen, Ptr argp) { + const std::unique_lock lock(host.kernel.mutex); + + const WaitingThreadStates::const_iterator waiting = host.kernel.waiting_threads.find(thid); + if (waiting == host.kernel.waiting_threads.end()) { + return SCE_KERNEL_ERROR_UNKNOWN_THREAD_ID; + } + + const ThreadStatePtr thread = find(thid, host.kernel.threads); + assert(thread); + + ThreadParams params; + params.host = &host; + params.thid = thid; + params.arglen = arglen; + params.argp = argp; + + const std::function delete_thread = [thread](SDL_Thread *running_thread) { + { + const std::unique_lock lock(thread->mutex); + thread->to_do = ThreadToDo::exit; + } + thread->something_to_do.notify_all(); // TODO Should this be notify_one()? + SDL_WaitThread(running_thread, nullptr); + }; + + const ThreadPtr running_thread(SDL_CreateThread(&thread_function, waiting->second.name.c_str(), ¶ms), delete_thread); + if (!running_thread) { + return SCE_KERNEL_ERROR_THREAD_ERROR; + } + + host.kernel.waiting_threads.erase(waiting); + host.kernel.running_threads.emplace(thid, running_thread); + + SDL_SemWait(params.host_may_destroy_params.get()); + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelStopModule) { + return unimplemented("sceKernelStopModule"); +} + +EXPORT(int, sceKernelStopUnloadModule) { + return unimplemented("sceKernelStopUnloadModule"); +} + +EXPORT(int, sceKernelTryLockLwMutex) { + return unimplemented("sceKernelTryLockLwMutex"); +} + +EXPORT(int, sceKernelTryReceiveMsgPipe) { + return unimplemented("sceKernelTryReceiveMsgPipe"); +} + +EXPORT(int, sceKernelTryReceiveMsgPipeVector) { + return unimplemented("sceKernelTryReceiveMsgPipeVector"); +} + +EXPORT(int, sceKernelTrySendMsgPipe) { + return unimplemented("sceKernelTrySendMsgPipe"); +} + +EXPORT(int, sceKernelTrySendMsgPipeVector) { + return unimplemented("sceKernelTrySendMsgPipeVector"); +} + +EXPORT(int, sceKernelUnloadModule) { + return unimplemented("sceKernelUnloadModule"); +} + +EXPORT(int, sceKernelUnlockLwMutex, SceKernelLwMutexWork *pWork, int unlockCount) { + assert(pWork != nullptr); + assert(unlockCount == 1); + + return unimplemented("sceKernelUnlockLwMutex"); +} + +EXPORT(int, sceKernelWaitCond) { + return unimplemented("sceKernelWaitCond"); +} + +EXPORT(int, sceKernelWaitCondCB) { + return unimplemented("sceKernelWaitCondCB"); +} + +EXPORT(int, sceKernelWaitEvent) { + return unimplemented("sceKernelWaitEvent"); +} + +EXPORT(int, sceKernelWaitEventCB) { + return unimplemented("sceKernelWaitEventCB"); +} + +EXPORT(int, sceKernelWaitEventFlag) { + return unimplemented("sceKernelWaitEventFlag"); +} + +EXPORT(int, sceKernelWaitEventFlagCB) { + return unimplemented("sceKernelWaitEventFlagCB"); +} + +EXPORT(int, sceKernelWaitLwCond) { + return unimplemented("sceKernelWaitLwCond"); +} + +EXPORT(int, sceKernelWaitLwCondCB) { + return unimplemented("sceKernelWaitLwCondCB"); +} + +EXPORT(int, sceKernelWaitMultipleEvents) { + return unimplemented("sceKernelWaitMultipleEvents"); +} + +EXPORT(int, sceKernelWaitMultipleEventsCB) { + return unimplemented("sceKernelWaitMultipleEventsCB"); +} + +EXPORT(int, sceKernelWaitSema, SceUID semaid, int signal, SceUInt *timeout) { + assert(semaid >= 0); + assert(signal == 1); + assert(timeout == nullptr); + + // TODO Don't lock twice. + const SemaphorePtr semaphore = lock_and_find(semaid, host.kernel.semaphores, host.kernel.mutex); + if (!semaphore) { + return SCE_KERNEL_ERROR_UNKNOWN_SEMA_ID; + } + + const ThreadStatePtr thread = lock_and_find(thread_id, host.kernel.threads, host.kernel.mutex); + + { + const std::unique_lock lock(thread->mutex); + assert(thread->to_do == ThreadToDo::run); + thread->to_do = ThreadToDo::wait; + } + stop(*thread->cpu); + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelWaitSemaCB) { + return unimplemented("sceKernelWaitSemaCB"); +} + +EXPORT(int, sceKernelWaitSignal) { + return unimplemented("sceKernelWaitSignal"); +} + +EXPORT(int, sceKernelWaitSignalCB) { + return unimplemented("sceKernelWaitSignalCB"); +} + +EXPORT(int, sceKernelWaitThreadEnd) { + return unimplemented("sceKernelWaitThreadEnd"); +} + +EXPORT(int, sceKernelWaitThreadEndCB) { + return unimplemented("sceKernelWaitThreadEndCB"); +} + +EXPORT(int, sceSblACMgrIsGameProgram) { + return unimplemented("sceSblACMgrIsGameProgram"); +} + +BRIDGE_IMPL(SceKernelStackChkGuard) +BRIDGE_IMPL(__sce_aeabi_idiv0) +BRIDGE_IMPL(__sce_aeabi_ldiv0) +BRIDGE_IMPL(__stack_chk_fail) +BRIDGE_IMPL(__stack_chk_guard) +BRIDGE_IMPL(_sceKernelCreateLwMutex) +BRIDGE_IMPL(sceClibAbort) +BRIDGE_IMPL(sceClibDprintf) +BRIDGE_IMPL(sceClibLookCtypeTable) +BRIDGE_IMPL(sceClibMemchr) +BRIDGE_IMPL(sceClibMemcmp) +BRIDGE_IMPL(sceClibMemcmpConstTime) +BRIDGE_IMPL(sceClibMemcpy) +BRIDGE_IMPL(sceClibMemcpyChk) +BRIDGE_IMPL(sceClibMemcpy_safe) +BRIDGE_IMPL(sceClibMemmove) +BRIDGE_IMPL(sceClibMemmoveChk) +BRIDGE_IMPL(sceClibMemset) +BRIDGE_IMPL(sceClibMemsetChk) +BRIDGE_IMPL(sceClibMspaceCalloc) +BRIDGE_IMPL(sceClibMspaceCreate) +BRIDGE_IMPL(sceClibMspaceDestroy) +BRIDGE_IMPL(sceClibMspaceFree) +BRIDGE_IMPL(sceClibMspaceIsHeapEmpty) +BRIDGE_IMPL(sceClibMspaceMalloc) +BRIDGE_IMPL(sceClibMspaceMallocStats) +BRIDGE_IMPL(sceClibMspaceMallocStatsFast) +BRIDGE_IMPL(sceClibMspaceMallocUsableSize) +BRIDGE_IMPL(sceClibMspaceMemalign) +BRIDGE_IMPL(sceClibMspaceRealloc) +BRIDGE_IMPL(sceClibMspaceReallocalign) +BRIDGE_IMPL(sceClibPrintf) +BRIDGE_IMPL(sceClibSnprintf) +BRIDGE_IMPL(sceClibSnprintfChk) +BRIDGE_IMPL(sceClibStrcatChk) +BRIDGE_IMPL(sceClibStrchr) +BRIDGE_IMPL(sceClibStrcmp) +BRIDGE_IMPL(sceClibStrcpyChk) +BRIDGE_IMPL(sceClibStrlcat) +BRIDGE_IMPL(sceClibStrlcatChk) +BRIDGE_IMPL(sceClibStrlcpy) +BRIDGE_IMPL(sceClibStrlcpyChk) +BRIDGE_IMPL(sceClibStrncasecmp) +BRIDGE_IMPL(sceClibStrncat) +BRIDGE_IMPL(sceClibStrncatChk) +BRIDGE_IMPL(sceClibStrncmp) +BRIDGE_IMPL(sceClibStrncpy) +BRIDGE_IMPL(sceClibStrncpyChk) +BRIDGE_IMPL(sceClibStrnlen) +BRIDGE_IMPL(sceClibStrrchr) +BRIDGE_IMPL(sceClibStrstr) +BRIDGE_IMPL(sceClibStrtoll) +BRIDGE_IMPL(sceClibTolower) +BRIDGE_IMPL(sceClibToupper) +BRIDGE_IMPL(sceClibVdprintf) +BRIDGE_IMPL(sceClibVprintf) +BRIDGE_IMPL(sceClibVsnprintf) +BRIDGE_IMPL(sceClibVsnprintfChk) +BRIDGE_IMPL(sceIoChstat) +BRIDGE_IMPL(sceIoChstatByFd) +BRIDGE_IMPL(sceIoDevctl) +BRIDGE_IMPL(sceIoDopen) +BRIDGE_IMPL(sceIoDread) +BRIDGE_IMPL(sceIoGetstat) +BRIDGE_IMPL(sceIoGetstatByFd) +BRIDGE_IMPL(sceIoIoctl) +BRIDGE_IMPL(sceIoLseek) +BRIDGE_IMPL(sceIoMkdir) +BRIDGE_IMPL(sceIoOpen) +BRIDGE_IMPL(sceIoPread) +BRIDGE_IMPL(sceIoPwrite) +BRIDGE_IMPL(sceIoRemove) +BRIDGE_IMPL(sceIoRename) +BRIDGE_IMPL(sceIoRmdir) +BRIDGE_IMPL(sceIoSync) +BRIDGE_IMPL(sceKernelAtomicAddAndGet16) +BRIDGE_IMPL(sceKernelAtomicAddAndGet32) +BRIDGE_IMPL(sceKernelAtomicAddAndGet64) +BRIDGE_IMPL(sceKernelAtomicAddAndGet8) +BRIDGE_IMPL(sceKernelAtomicAddUnless16) +BRIDGE_IMPL(sceKernelAtomicAddUnless32) +BRIDGE_IMPL(sceKernelAtomicAddUnless64) +BRIDGE_IMPL(sceKernelAtomicAddUnless8) +BRIDGE_IMPL(sceKernelAtomicAndAndGet16) +BRIDGE_IMPL(sceKernelAtomicAndAndGet32) +BRIDGE_IMPL(sceKernelAtomicAndAndGet64) +BRIDGE_IMPL(sceKernelAtomicAndAndGet8) +BRIDGE_IMPL(sceKernelAtomicClearAndGet16) +BRIDGE_IMPL(sceKernelAtomicClearAndGet32) +BRIDGE_IMPL(sceKernelAtomicClearAndGet64) +BRIDGE_IMPL(sceKernelAtomicClearAndGet8) +BRIDGE_IMPL(sceKernelAtomicClearMask16) +BRIDGE_IMPL(sceKernelAtomicClearMask32) +BRIDGE_IMPL(sceKernelAtomicClearMask64) +BRIDGE_IMPL(sceKernelAtomicClearMask8) +BRIDGE_IMPL(sceKernelAtomicCompareAndSet16) +BRIDGE_IMPL(sceKernelAtomicCompareAndSet32) +BRIDGE_IMPL(sceKernelAtomicCompareAndSet64) +BRIDGE_IMPL(sceKernelAtomicCompareAndSet8) +BRIDGE_IMPL(sceKernelAtomicDecIfPositive16) +BRIDGE_IMPL(sceKernelAtomicDecIfPositive32) +BRIDGE_IMPL(sceKernelAtomicDecIfPositive64) +BRIDGE_IMPL(sceKernelAtomicDecIfPositive8) +BRIDGE_IMPL(sceKernelAtomicGetAndAdd16) +BRIDGE_IMPL(sceKernelAtomicGetAndAdd32) +BRIDGE_IMPL(sceKernelAtomicGetAndAdd64) +BRIDGE_IMPL(sceKernelAtomicGetAndAdd8) +BRIDGE_IMPL(sceKernelAtomicGetAndAnd16) +BRIDGE_IMPL(sceKernelAtomicGetAndAnd32) +BRIDGE_IMPL(sceKernelAtomicGetAndAnd64) +BRIDGE_IMPL(sceKernelAtomicGetAndAnd8) +BRIDGE_IMPL(sceKernelAtomicGetAndClear16) +BRIDGE_IMPL(sceKernelAtomicGetAndClear32) +BRIDGE_IMPL(sceKernelAtomicGetAndClear64) +BRIDGE_IMPL(sceKernelAtomicGetAndClear8) +BRIDGE_IMPL(sceKernelAtomicGetAndOr16) +BRIDGE_IMPL(sceKernelAtomicGetAndOr32) +BRIDGE_IMPL(sceKernelAtomicGetAndOr64) +BRIDGE_IMPL(sceKernelAtomicGetAndOr8) +BRIDGE_IMPL(sceKernelAtomicGetAndSet16) +BRIDGE_IMPL(sceKernelAtomicGetAndSet32) +BRIDGE_IMPL(sceKernelAtomicGetAndSet64) +BRIDGE_IMPL(sceKernelAtomicGetAndSet8) +BRIDGE_IMPL(sceKernelAtomicGetAndSub16) +BRIDGE_IMPL(sceKernelAtomicGetAndSub32) +BRIDGE_IMPL(sceKernelAtomicGetAndSub64) +BRIDGE_IMPL(sceKernelAtomicGetAndSub8) +BRIDGE_IMPL(sceKernelAtomicGetAndXor16) +BRIDGE_IMPL(sceKernelAtomicGetAndXor32) +BRIDGE_IMPL(sceKernelAtomicGetAndXor64) +BRIDGE_IMPL(sceKernelAtomicGetAndXor8) +BRIDGE_IMPL(sceKernelAtomicOrAndGet16) +BRIDGE_IMPL(sceKernelAtomicOrAndGet32) +BRIDGE_IMPL(sceKernelAtomicOrAndGet64) +BRIDGE_IMPL(sceKernelAtomicOrAndGet8) +BRIDGE_IMPL(sceKernelAtomicSet16) +BRIDGE_IMPL(sceKernelAtomicSet32) +BRIDGE_IMPL(sceKernelAtomicSet64) +BRIDGE_IMPL(sceKernelAtomicSet8) +BRIDGE_IMPL(sceKernelAtomicSubAndGet16) +BRIDGE_IMPL(sceKernelAtomicSubAndGet32) +BRIDGE_IMPL(sceKernelAtomicSubAndGet64) +BRIDGE_IMPL(sceKernelAtomicSubAndGet8) +BRIDGE_IMPL(sceKernelAtomicXorAndGet16) +BRIDGE_IMPL(sceKernelAtomicXorAndGet32) +BRIDGE_IMPL(sceKernelAtomicXorAndGet64) +BRIDGE_IMPL(sceKernelAtomicXorAndGet8) +BRIDGE_IMPL(sceKernelBacktrace) +BRIDGE_IMPL(sceKernelBacktraceSelf) +BRIDGE_IMPL(sceKernelCallModuleExit) +BRIDGE_IMPL(sceKernelCallWithChangeStack) +BRIDGE_IMPL(sceKernelCancelEvent) +BRIDGE_IMPL(sceKernelCancelEventFlag) +BRIDGE_IMPL(sceKernelCancelEventWithSetPattern) +BRIDGE_IMPL(sceKernelCancelMsgPipe) +BRIDGE_IMPL(sceKernelCancelMutex) +BRIDGE_IMPL(sceKernelCancelRWLock) +BRIDGE_IMPL(sceKernelCancelSema) +BRIDGE_IMPL(sceKernelCancelTimer) +BRIDGE_IMPL(sceKernelChangeCurrentThreadAttr) +BRIDGE_IMPL(sceKernelCheckThreadStack) +BRIDGE_IMPL(sceKernelCloseModule) +BRIDGE_IMPL(sceKernelCreateCond) +BRIDGE_IMPL(sceKernelCreateEventFlag) +BRIDGE_IMPL(sceKernelCreateLwCond) +BRIDGE_IMPL(sceKernelCreateLwMutex) +BRIDGE_IMPL(sceKernelCreateMsgPipe) +BRIDGE_IMPL(sceKernelCreateMutex) +BRIDGE_IMPL(sceKernelCreateRWLock) +BRIDGE_IMPL(sceKernelCreateSema) +BRIDGE_IMPL(sceKernelCreateSimpleEvent) +BRIDGE_IMPL(sceKernelCreateThread) +BRIDGE_IMPL(sceKernelCreateTimer) +BRIDGE_IMPL(sceKernelDeleteLwCond) +BRIDGE_IMPL(sceKernelDeleteLwMutex) +BRIDGE_IMPL(sceKernelExitProcess) +BRIDGE_IMPL(sceKernelGetCallbackInfo) +BRIDGE_IMPL(sceKernelGetCondInfo) +BRIDGE_IMPL(sceKernelGetCurrentThreadVfpException) +BRIDGE_IMPL(sceKernelGetEventFlagInfo) +BRIDGE_IMPL(sceKernelGetEventInfo) +BRIDGE_IMPL(sceKernelGetEventPattern) +BRIDGE_IMPL(sceKernelGetLwCondInfo) +BRIDGE_IMPL(sceKernelGetLwCondInfoById) +BRIDGE_IMPL(sceKernelGetLwMutexInfo) +BRIDGE_IMPL(sceKernelGetLwMutexInfoById) +BRIDGE_IMPL(sceKernelGetModuleInfoByAddr) +BRIDGE_IMPL(sceKernelGetMsgPipeInfo) +BRIDGE_IMPL(sceKernelGetMutexInfo) +BRIDGE_IMPL(sceKernelGetOpenPsId) +BRIDGE_IMPL(sceKernelGetPMUSERENR) +BRIDGE_IMPL(sceKernelGetProcessTime) +BRIDGE_IMPL(sceKernelGetProcessTimeLow) +BRIDGE_IMPL(sceKernelGetProcessTimeWide) +BRIDGE_IMPL(sceKernelGetRWLockInfo) +BRIDGE_IMPL(sceKernelGetSemaInfo) +BRIDGE_IMPL(sceKernelGetSystemInfo) +BRIDGE_IMPL(sceKernelGetTLSAddr) +BRIDGE_IMPL(sceKernelGetThreadCpuAffinityMask) +BRIDGE_IMPL(sceKernelGetThreadCurrentPriority) +BRIDGE_IMPL(sceKernelGetThreadExitStatus) +BRIDGE_IMPL(sceKernelGetThreadId) +BRIDGE_IMPL(sceKernelGetThreadInfo) +BRIDGE_IMPL(sceKernelGetThreadRunStatus) +BRIDGE_IMPL(sceKernelGetTimerBase) +BRIDGE_IMPL(sceKernelGetTimerEventRemainingTime) +BRIDGE_IMPL(sceKernelGetTimerInfo) +BRIDGE_IMPL(sceKernelGetTimerTime) +BRIDGE_IMPL(sceKernelLoadModule) +BRIDGE_IMPL(sceKernelLoadStartModule) +BRIDGE_IMPL(sceKernelLockLwMutex) +BRIDGE_IMPL(sceKernelLockLwMutexCB) +BRIDGE_IMPL(sceKernelLockMutex) +BRIDGE_IMPL(sceKernelLockMutexCB) +BRIDGE_IMPL(sceKernelLockReadRWLock) +BRIDGE_IMPL(sceKernelLockReadRWLockCB) +BRIDGE_IMPL(sceKernelLockWriteRWLock) +BRIDGE_IMPL(sceKernelLockWriteRWLockCB) +BRIDGE_IMPL(sceKernelOpenModule) +BRIDGE_IMPL(sceKernelPMonThreadGetCounter) +BRIDGE_IMPL(sceKernelPollEvent) +BRIDGE_IMPL(sceKernelPollEventFlag) +BRIDGE_IMPL(sceKernelPrintBacktrace) +BRIDGE_IMPL(sceKernelPulseEventWithNotifyCallback) +BRIDGE_IMPL(sceKernelReceiveMsgPipe) +BRIDGE_IMPL(sceKernelReceiveMsgPipeCB) +BRIDGE_IMPL(sceKernelReceiveMsgPipeVector) +BRIDGE_IMPL(sceKernelReceiveMsgPipeVectorCB) +BRIDGE_IMPL(sceKernelSendMsgPipe) +BRIDGE_IMPL(sceKernelSendMsgPipeCB) +BRIDGE_IMPL(sceKernelSendMsgPipeVector) +BRIDGE_IMPL(sceKernelSendMsgPipeVectorCB) +BRIDGE_IMPL(sceKernelSetEventWithNotifyCallback) +BRIDGE_IMPL(sceKernelSetTimerEvent) +BRIDGE_IMPL(sceKernelSetTimerTime) +BRIDGE_IMPL(sceKernelSignalLwCond) +BRIDGE_IMPL(sceKernelSignalLwCondAll) +BRIDGE_IMPL(sceKernelSignalLwCondTo) +BRIDGE_IMPL(sceKernelStackChkFail) +BRIDGE_IMPL(sceKernelStartModule) +BRIDGE_IMPL(sceKernelStartThread) +BRIDGE_IMPL(sceKernelStopModule) +BRIDGE_IMPL(sceKernelStopUnloadModule) +BRIDGE_IMPL(sceKernelTryLockLwMutex) +BRIDGE_IMPL(sceKernelTryReceiveMsgPipe) +BRIDGE_IMPL(sceKernelTryReceiveMsgPipeVector) +BRIDGE_IMPL(sceKernelTrySendMsgPipe) +BRIDGE_IMPL(sceKernelTrySendMsgPipeVector) +BRIDGE_IMPL(sceKernelUnloadModule) +BRIDGE_IMPL(sceKernelUnlockLwMutex) +BRIDGE_IMPL(sceKernelWaitCond) +BRIDGE_IMPL(sceKernelWaitCondCB) +BRIDGE_IMPL(sceKernelWaitEvent) +BRIDGE_IMPL(sceKernelWaitEventCB) +BRIDGE_IMPL(sceKernelWaitEventFlag) +BRIDGE_IMPL(sceKernelWaitEventFlagCB) +BRIDGE_IMPL(sceKernelWaitLwCond) +BRIDGE_IMPL(sceKernelWaitLwCondCB) +BRIDGE_IMPL(sceKernelWaitMultipleEvents) +BRIDGE_IMPL(sceKernelWaitMultipleEventsCB) +BRIDGE_IMPL(sceKernelWaitSema) +BRIDGE_IMPL(sceKernelWaitSemaCB) +BRIDGE_IMPL(sceKernelWaitSignal) +BRIDGE_IMPL(sceKernelWaitSignalCB) +BRIDGE_IMPL(sceKernelWaitThreadEnd) +BRIDGE_IMPL(sceKernelWaitThreadEndCB) +BRIDGE_IMPL(sceSblACMgrIsGameProgram) diff --git a/src/emulator/modules/SceLibKernel/src/SceLibRng.cpp b/src/emulator/modules/SceLibKernel/src/SceLibRng.cpp new file mode 100644 index 000000000..f552db45b --- /dev/null +++ b/src/emulator/modules/SceLibKernel/src/SceLibRng.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelGetRandomNumber) { + return unimplemented("sceKernelGetRandomNumber"); +} + +BRIDGE_IMPL(sceKernelGetRandomNumber) diff --git a/src/emulator/modules/SceLibLocation/CMakeLists.txt b/src/emulator/modules/SceLibLocation/CMakeLists.txt new file mode 100644 index 000000000..db786cef5 --- /dev/null +++ b/src/emulator/modules/SceLibLocation/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibLocation STATIC include/SceLibLocation/exports.h src/SceLibLocation.cpp) +target_include_directories(SceLibLocation PUBLIC include) +target_link_libraries(SceLibLocation PRIVATE module) diff --git a/src/emulator/modules/SceLibLocation/include/SceLibLocation/exports.h b/src/emulator/modules/SceLibLocation/include/SceLibLocation/exports.h new file mode 100644 index 000000000..f29d6edfa --- /dev/null +++ b/src/emulator/modules/SceLibLocation/include/SceLibLocation/exports.h @@ -0,0 +1,44 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibLocation +BRIDGE_DECL(sceLocationCancelGetLocation) +BRIDGE_DECL(sceLocationClose) +BRIDGE_DECL(sceLocationConfirm) +BRIDGE_DECL(sceLocationConfirmAbort) +BRIDGE_DECL(sceLocationConfirmGetResult) +BRIDGE_DECL(sceLocationConfirmGetStatus) +BRIDGE_DECL(sceLocationDenyApplication) +BRIDGE_DECL(sceLocationGetHeading) +BRIDGE_DECL(sceLocationGetLocation) +BRIDGE_DECL(sceLocationGetLocationWithTimeout) +BRIDGE_DECL(sceLocationGetMethod) +BRIDGE_DECL(sceLocationGetPermission) +BRIDGE_DECL(sceLocationInit) +BRIDGE_DECL(sceLocationOpen) +BRIDGE_DECL(sceLocationReopen) +BRIDGE_DECL(sceLocationSetGpsEmulationFile) +BRIDGE_DECL(sceLocationSetThreadParameter) +BRIDGE_DECL(sceLocationStartHeadingCallback) +BRIDGE_DECL(sceLocationStartLocationCallback) +BRIDGE_DECL(sceLocationStopHeadingCallback) +BRIDGE_DECL(sceLocationStopLocationCallback) +BRIDGE_DECL(sceLocationTerm) diff --git a/src/emulator/modules/SceLibLocation/src/SceLibLocation.cpp b/src/emulator/modules/SceLibLocation/src/SceLibLocation.cpp new file mode 100644 index 000000000..c7f2808ae --- /dev/null +++ b/src/emulator/modules/SceLibLocation/src/SceLibLocation.cpp @@ -0,0 +1,129 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceLocationCancelGetLocation) { + return unimplemented("sceLocationCancelGetLocation"); +} + +EXPORT(int, sceLocationClose) { + return unimplemented("sceLocationClose"); +} + +EXPORT(int, sceLocationConfirm) { + return unimplemented("sceLocationConfirm"); +} + +EXPORT(int, sceLocationConfirmAbort) { + return unimplemented("sceLocationConfirmAbort"); +} + +EXPORT(int, sceLocationConfirmGetResult) { + return unimplemented("sceLocationConfirmGetResult"); +} + +EXPORT(int, sceLocationConfirmGetStatus) { + return unimplemented("sceLocationConfirmGetStatus"); +} + +EXPORT(int, sceLocationDenyApplication) { + return unimplemented("sceLocationDenyApplication"); +} + +EXPORT(int, sceLocationGetHeading) { + return unimplemented("sceLocationGetHeading"); +} + +EXPORT(int, sceLocationGetLocation) { + return unimplemented("sceLocationGetLocation"); +} + +EXPORT(int, sceLocationGetLocationWithTimeout) { + return unimplemented("sceLocationGetLocationWithTimeout"); +} + +EXPORT(int, sceLocationGetMethod) { + return unimplemented("sceLocationGetMethod"); +} + +EXPORT(int, sceLocationGetPermission) { + return unimplemented("sceLocationGetPermission"); +} + +EXPORT(int, sceLocationInit) { + return unimplemented("sceLocationInit"); +} + +EXPORT(int, sceLocationOpen) { + return unimplemented("sceLocationOpen"); +} + +EXPORT(int, sceLocationReopen) { + return unimplemented("sceLocationReopen"); +} + +EXPORT(int, sceLocationSetGpsEmulationFile) { + return unimplemented("sceLocationSetGpsEmulationFile"); +} + +EXPORT(int, sceLocationSetThreadParameter) { + return unimplemented("sceLocationSetThreadParameter"); +} + +EXPORT(int, sceLocationStartHeadingCallback) { + return unimplemented("sceLocationStartHeadingCallback"); +} + +EXPORT(int, sceLocationStartLocationCallback) { + return unimplemented("sceLocationStartLocationCallback"); +} + +EXPORT(int, sceLocationStopHeadingCallback) { + return unimplemented("sceLocationStopHeadingCallback"); +} + +EXPORT(int, sceLocationStopLocationCallback) { + return unimplemented("sceLocationStopLocationCallback"); +} + +EXPORT(int, sceLocationTerm) { + return unimplemented("sceLocationTerm"); +} + +BRIDGE_IMPL(sceLocationCancelGetLocation) +BRIDGE_IMPL(sceLocationClose) +BRIDGE_IMPL(sceLocationConfirm) +BRIDGE_IMPL(sceLocationConfirmAbort) +BRIDGE_IMPL(sceLocationConfirmGetResult) +BRIDGE_IMPL(sceLocationConfirmGetStatus) +BRIDGE_IMPL(sceLocationDenyApplication) +BRIDGE_IMPL(sceLocationGetHeading) +BRIDGE_IMPL(sceLocationGetLocation) +BRIDGE_IMPL(sceLocationGetLocationWithTimeout) +BRIDGE_IMPL(sceLocationGetMethod) +BRIDGE_IMPL(sceLocationGetPermission) +BRIDGE_IMPL(sceLocationInit) +BRIDGE_IMPL(sceLocationOpen) +BRIDGE_IMPL(sceLocationReopen) +BRIDGE_IMPL(sceLocationSetGpsEmulationFile) +BRIDGE_IMPL(sceLocationSetThreadParameter) +BRIDGE_IMPL(sceLocationStartHeadingCallback) +BRIDGE_IMPL(sceLocationStartLocationCallback) +BRIDGE_IMPL(sceLocationStopHeadingCallback) +BRIDGE_IMPL(sceLocationStopLocationCallback) +BRIDGE_IMPL(sceLocationTerm) diff --git a/src/emulator/modules/SceLibLocationExtension/CMakeLists.txt b/src/emulator/modules/SceLibLocationExtension/CMakeLists.txt new file mode 100644 index 000000000..2f0119816 --- /dev/null +++ b/src/emulator/modules/SceLibLocationExtension/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibLocationExtension STATIC include/SceLibLocationExtension/exports.h src/SceLibLocationExtension.cpp) +target_include_directories(SceLibLocationExtension PUBLIC include) +target_link_libraries(SceLibLocationExtension PRIVATE module) diff --git a/src/emulator/modules/SceLibLocationExtension/include/SceLibLocationExtension/exports.h b/src/emulator/modules/SceLibLocationExtension/include/SceLibLocationExtension/exports.h new file mode 100644 index 000000000..099fca3c4 --- /dev/null +++ b/src/emulator/modules/SceLibLocationExtension/include/SceLibLocationExtension/exports.h @@ -0,0 +1,25 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibLocationExtension +BRIDGE_DECL(sceLocationCancelQueryLocationWifiHistory) +BRIDGE_DECL(sceLocationGetLocationWifiHistory) +BRIDGE_DECL(sceLocationQueryLocationWifiHistory) diff --git a/src/emulator/modules/SceLibLocationExtension/src/SceLibLocationExtension.cpp b/src/emulator/modules/SceLibLocationExtension/src/SceLibLocationExtension.cpp new file mode 100644 index 000000000..c2145208b --- /dev/null +++ b/src/emulator/modules/SceLibLocationExtension/src/SceLibLocationExtension.cpp @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceLocationCancelQueryLocationWifiHistory) { + return unimplemented("sceLocationCancelQueryLocationWifiHistory"); +} + +EXPORT(int, sceLocationGetLocationWifiHistory) { + return unimplemented("sceLocationGetLocationWifiHistory"); +} + +EXPORT(int, sceLocationQueryLocationWifiHistory) { + return unimplemented("sceLocationQueryLocationWifiHistory"); +} + +BRIDGE_IMPL(sceLocationCancelQueryLocationWifiHistory) +BRIDGE_IMPL(sceLocationGetLocationWifiHistory) +BRIDGE_IMPL(sceLocationQueryLocationWifiHistory) diff --git a/src/emulator/modules/SceLibMonoBridge/CMakeLists.txt b/src/emulator/modules/SceLibMonoBridge/CMakeLists.txt new file mode 100644 index 000000000..2298e4014 --- /dev/null +++ b/src/emulator/modules/SceLibMonoBridge/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibMonoBridge STATIC include/SceLibMonoBridge/exports.h src/SceLibMonoBridge.cpp) +target_include_directories(SceLibMonoBridge PUBLIC include) +target_link_libraries(SceLibMonoBridge PRIVATE module) diff --git a/src/emulator/modules/SceLibMonoBridge/include/SceLibMonoBridge/exports.h b/src/emulator/modules/SceLibMonoBridge/include/SceLibMonoBridge/exports.h new file mode 100644 index 000000000..a0625b8f6 --- /dev/null +++ b/src/emulator/modules/SceLibMonoBridge/include/SceLibMonoBridge/exports.h @@ -0,0 +1,316 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibMonoBridge +BRIDGE_DECL(__aeabi_unwind_cpp_pr0) +BRIDGE_DECL(__aeabi_unwind_cpp_pr1) +BRIDGE_DECL(__ashldi3) +BRIDGE_DECL(__divdi3) +BRIDGE_DECL(__divsi3) +BRIDGE_DECL(__lshrdi3) +BRIDGE_DECL(__moddi3) +BRIDGE_DECL(__modsi3) +BRIDGE_DECL(__sce_aeabi_idiv0_dupe) +BRIDGE_DECL(__sce_aeabi_ldiv0_dupe) +BRIDGE_DECL(__udivdi3) +BRIDGE_DECL(__udivsi3) +BRIDGE_DECL(__umoddi3) +BRIDGE_DECL(__umodsi3) +BRIDGE_DECL(environ) +BRIDGE_DECL(g_ascii_strcasecmp) +BRIDGE_DECL(g_file_vita_get_current_dir) +BRIDGE_DECL(g_file_vita_get_full_path) +BRIDGE_DECL(g_file_vita_set_current_dir) +BRIDGE_DECL(getenv) +BRIDGE_DECL(monoeg_assertion_message) +BRIDGE_DECL(monoeg_g_array_append_vals) +BRIDGE_DECL(monoeg_g_array_free) +BRIDGE_DECL(monoeg_g_array_insert_vals) +BRIDGE_DECL(monoeg_g_array_new) +BRIDGE_DECL(monoeg_g_ascii_strdown) +BRIDGE_DECL(monoeg_g_ascii_strncasecmp) +BRIDGE_DECL(monoeg_g_ascii_tolower) +BRIDGE_DECL(monoeg_g_ascii_xdigit_value) +BRIDGE_DECL(monoeg_g_build_path) +BRIDGE_DECL(monoeg_g_convert) +BRIDGE_DECL(monoeg_g_dir_close) +BRIDGE_DECL(monoeg_g_dir_open) +BRIDGE_DECL(monoeg_g_dir_read_name) +BRIDGE_DECL(monoeg_g_direct_equal) +BRIDGE_DECL(monoeg_g_direct_hash) +BRIDGE_DECL(monoeg_g_error_free) +BRIDGE_DECL(monoeg_g_file_get_contents) +BRIDGE_DECL(monoeg_g_file_open_tmp) +BRIDGE_DECL(monoeg_g_file_test) +BRIDGE_DECL(monoeg_g_filename_from_uri) +BRIDGE_DECL(monoeg_g_filename_from_utf8) +BRIDGE_DECL(monoeg_g_filename_to_uri) +BRIDGE_DECL(monoeg_g_find_program_in_path) +BRIDGE_DECL(monoeg_g_free) +BRIDGE_DECL(monoeg_g_get_charset) +BRIDGE_DECL(monoeg_g_get_current_dir) +BRIDGE_DECL(monoeg_g_get_home_dir) +BRIDGE_DECL(monoeg_g_get_tmp_dir) +BRIDGE_DECL(monoeg_g_get_user_name) +BRIDGE_DECL(monoeg_g_getenv) +BRIDGE_DECL(monoeg_g_hash_table_destroy) +BRIDGE_DECL(monoeg_g_hash_table_foreach) +BRIDGE_DECL(monoeg_g_hash_table_foreach_remove) +BRIDGE_DECL(monoeg_g_hash_table_foreach_steal) +BRIDGE_DECL(monoeg_g_hash_table_insert_replace) +BRIDGE_DECL(monoeg_g_hash_table_iter_init) +BRIDGE_DECL(monoeg_g_hash_table_iter_next) +BRIDGE_DECL(monoeg_g_hash_table_lookup) +BRIDGE_DECL(monoeg_g_hash_table_lookup_extended) +BRIDGE_DECL(monoeg_g_hash_table_new) +BRIDGE_DECL(monoeg_g_hash_table_new_full) +BRIDGE_DECL(monoeg_g_hash_table_remove) +BRIDGE_DECL(monoeg_g_hash_table_size) +BRIDGE_DECL(monoeg_g_list_alloc) +BRIDGE_DECL(monoeg_g_list_append) +BRIDGE_DECL(monoeg_g_list_copy) +BRIDGE_DECL(monoeg_g_list_delete_link) +BRIDGE_DECL(monoeg_g_list_find) +BRIDGE_DECL(monoeg_g_list_foreach) +BRIDGE_DECL(monoeg_g_list_free) +BRIDGE_DECL(monoeg_g_list_insert_before) +BRIDGE_DECL(monoeg_g_list_length) +BRIDGE_DECL(monoeg_g_list_nth) +BRIDGE_DECL(monoeg_g_list_nth_data) +BRIDGE_DECL(monoeg_g_list_prepend) +BRIDGE_DECL(monoeg_g_list_remove) +BRIDGE_DECL(monoeg_g_list_remove_link) +BRIDGE_DECL(monoeg_g_list_reverse) +BRIDGE_DECL(monoeg_g_list_sort) +BRIDGE_DECL(monoeg_g_locale_from_utf8) +BRIDGE_DECL(monoeg_g_locale_to_utf8) +BRIDGE_DECL(monoeg_g_log) +BRIDGE_DECL(monoeg_g_log_set_always_fatal) +BRIDGE_DECL(monoeg_g_log_set_fatal_mask) +BRIDGE_DECL(monoeg_g_logv) +BRIDGE_DECL(monoeg_g_markup_parse_context_end_parse) +BRIDGE_DECL(monoeg_g_markup_parse_context_free) +BRIDGE_DECL(monoeg_g_markup_parse_context_new) +BRIDGE_DECL(monoeg_g_markup_parse_context_parse) +BRIDGE_DECL(monoeg_g_memdup) +BRIDGE_DECL(monoeg_g_path_get_basename) +BRIDGE_DECL(monoeg_g_path_get_dirname) +BRIDGE_DECL(monoeg_g_path_is_absolute) +BRIDGE_DECL(monoeg_g_print) +BRIDGE_DECL(monoeg_g_printerr) +BRIDGE_DECL(monoeg_g_ptr_array_add) +BRIDGE_DECL(monoeg_g_ptr_array_free) +BRIDGE_DECL(monoeg_g_ptr_array_new) +BRIDGE_DECL(monoeg_g_ptr_array_remove) +BRIDGE_DECL(monoeg_g_ptr_array_remove_fast) +BRIDGE_DECL(monoeg_g_ptr_array_remove_index) +BRIDGE_DECL(monoeg_g_ptr_array_remove_index_fast) +BRIDGE_DECL(monoeg_g_ptr_array_sized_new) +BRIDGE_DECL(monoeg_g_queue_free) +BRIDGE_DECL(monoeg_g_queue_is_empty) +BRIDGE_DECL(monoeg_g_queue_new) +BRIDGE_DECL(monoeg_g_queue_pop_head) +BRIDGE_DECL(monoeg_g_queue_push_head) +BRIDGE_DECL(monoeg_g_set_prgname) +BRIDGE_DECL(monoeg_g_setenv) +BRIDGE_DECL(monoeg_g_shell_quote) +BRIDGE_DECL(monoeg_g_slist_append) +BRIDGE_DECL(monoeg_g_slist_concat) +BRIDGE_DECL(monoeg_g_slist_copy) +BRIDGE_DECL(monoeg_g_slist_delete_link) +BRIDGE_DECL(monoeg_g_slist_find) +BRIDGE_DECL(monoeg_g_slist_foreach) +BRIDGE_DECL(monoeg_g_slist_free) +BRIDGE_DECL(monoeg_g_slist_free_1) +BRIDGE_DECL(monoeg_g_slist_insert_sorted) +BRIDGE_DECL(monoeg_g_slist_last) +BRIDGE_DECL(monoeg_g_slist_length) +BRIDGE_DECL(monoeg_g_slist_nth) +BRIDGE_DECL(monoeg_g_slist_nth_data) +BRIDGE_DECL(monoeg_g_slist_prepend) +BRIDGE_DECL(monoeg_g_slist_remove) +BRIDGE_DECL(monoeg_g_slist_reverse) +BRIDGE_DECL(monoeg_g_snprintf) +BRIDGE_DECL(monoeg_g_spaced_primes_closest) +BRIDGE_DECL(monoeg_g_spawn_async_with_pipes) +BRIDGE_DECL(monoeg_g_str_equal) +BRIDGE_DECL(monoeg_g_str_has_prefix) +BRIDGE_DECL(monoeg_g_str_hash) +BRIDGE_DECL(monoeg_g_strchomp) +BRIDGE_DECL(monoeg_g_strchug) +BRIDGE_DECL(monoeg_g_strconcat) +BRIDGE_DECL(monoeg_g_strdup_printf) +BRIDGE_DECL(monoeg_g_strdup_vprintf) +BRIDGE_DECL(monoeg_g_strerror) +BRIDGE_DECL(monoeg_g_strfreev) +BRIDGE_DECL(monoeg_g_string_append) +BRIDGE_DECL(monoeg_g_string_append_c) +BRIDGE_DECL(monoeg_g_string_append_len) +BRIDGE_DECL(monoeg_g_string_append_printf) +BRIDGE_DECL(monoeg_g_string_free) +BRIDGE_DECL(monoeg_g_string_new) +BRIDGE_DECL(monoeg_g_string_printf) +BRIDGE_DECL(monoeg_g_strjoin) +BRIDGE_DECL(monoeg_g_strlcpy) +BRIDGE_DECL(monoeg_g_strndup) +BRIDGE_DECL(monoeg_g_strreverse) +BRIDGE_DECL(monoeg_g_strsplit) +BRIDGE_DECL(monoeg_g_timer_destroy) +BRIDGE_DECL(monoeg_g_timer_elapsed) +BRIDGE_DECL(monoeg_g_timer_new) +BRIDGE_DECL(monoeg_g_timer_start) +BRIDGE_DECL(monoeg_g_timer_stop) +BRIDGE_DECL(monoeg_g_ucs4_to_utf16) +BRIDGE_DECL(monoeg_g_unichar_tolower) +BRIDGE_DECL(monoeg_g_unichar_type) +BRIDGE_DECL(monoeg_g_unichar_xdigit_value) +BRIDGE_DECL(monoeg_g_unsetenv) +BRIDGE_DECL(monoeg_g_usleep) +BRIDGE_DECL(monoeg_g_utf16_to_ucs4) +BRIDGE_DECL(monoeg_g_utf16_to_utf8) +BRIDGE_DECL(monoeg_g_utf8_strdown) +BRIDGE_DECL(monoeg_g_utf8_to_utf16) +BRIDGE_DECL(monoeg_g_utf8_validate) +BRIDGE_DECL(monoeg_malloc) +BRIDGE_DECL(monoeg_malloc0) +BRIDGE_DECL(monoeg_realloc) +BRIDGE_DECL(monoeg_try_malloc) +BRIDGE_DECL(monoeg_try_realloc) +BRIDGE_DECL(pss_alloc_mem) +BRIDGE_DECL(pss_alloc_raw) +BRIDGE_DECL(pss_code_mem_alloc) +BRIDGE_DECL(pss_code_mem_flush_icache) +BRIDGE_DECL(pss_code_mem_free) +BRIDGE_DECL(pss_code_mem_initialize) +BRIDGE_DECL(pss_code_mem_lock) +BRIDGE_DECL(pss_code_mem_terminate) +BRIDGE_DECL(pss_code_mem_unlock) +BRIDGE_DECL(pss_create_semaphore) +BRIDGE_DECL(pss_crypto_close) +BRIDGE_DECL(pss_crypto_fread) +BRIDGE_DECL(pss_crypto_open) +BRIDGE_DECL(pss_crypto_read) +BRIDGE_DECL(pss_delay_thread) +BRIDGE_DECL(pss_delete_semaphore) +BRIDGE_DECL(pss_disable_ftz) +BRIDGE_DECL(pss_free_mem) +BRIDGE_DECL(pss_free_prng_provider) +BRIDGE_DECL(pss_free_raw) +BRIDGE_DECL(pss_get_errnoloc) +BRIDGE_DECL(pss_get_prng_provider) +BRIDGE_DECL(pss_get_thread_context) +BRIDGE_DECL(pss_get_ticks_32) +BRIDGE_DECL(pss_get_ticks_64) +BRIDGE_DECL(pss_get_ticks_since_111) +BRIDGE_DECL(pss_get_win32_filetime) +BRIDGE_DECL(pss_getpagesize) +BRIDGE_DECL(pss_getpid) +BRIDGE_DECL(pss_gettimeofday) +BRIDGE_DECL(pss_io_chstat) +BRIDGE_DECL(pss_io_close) +BRIDGE_DECL(pss_io_dclose) +BRIDGE_DECL(pss_io_dopen) +BRIDGE_DECL(pss_io_getstat) +BRIDGE_DECL(pss_io_lseek) +BRIDGE_DECL(pss_io_mkdir) +BRIDGE_DECL(pss_io_open) +BRIDGE_DECL(pss_io_read) +BRIDGE_DECL(pss_io_remove) +BRIDGE_DECL(pss_io_rename) +BRIDGE_DECL(pss_io_rmdir) +BRIDGE_DECL(pss_io_write) +BRIDGE_DECL(pss_nanosleep) +BRIDGE_DECL(pss_net_accept) +BRIDGE_DECL(pss_net_bind) +BRIDGE_DECL(pss_net_connect) +BRIDGE_DECL(pss_net_epoll_create) +BRIDGE_DECL(pss_net_epoll_ctl) +BRIDGE_DECL(pss_net_epoll_destroy) +BRIDGE_DECL(pss_net_epoll_wait) +BRIDGE_DECL(pss_net_gethostname) +BRIDGE_DECL(pss_net_getpeername) +BRIDGE_DECL(pss_net_getsockname) +BRIDGE_DECL(pss_net_getsockopt) +BRIDGE_DECL(pss_net_htonl) +BRIDGE_DECL(pss_net_htons) +BRIDGE_DECL(pss_net_init) +BRIDGE_DECL(pss_net_listen) +BRIDGE_DECL(pss_net_ntohl) +BRIDGE_DECL(pss_net_ntohs) +BRIDGE_DECL(pss_net_recv) +BRIDGE_DECL(pss_net_recvfrom) +BRIDGE_DECL(pss_net_resolver_create) +BRIDGE_DECL(pss_net_resolver_start_aton) +BRIDGE_DECL(pss_net_resolver_start_ntoa) +BRIDGE_DECL(pss_net_send) +BRIDGE_DECL(pss_net_sendto) +BRIDGE_DECL(pss_net_setsockopt) +BRIDGE_DECL(pss_net_shutdown) +BRIDGE_DECL(pss_net_socket) +BRIDGE_DECL(pss_net_socket_close) +BRIDGE_DECL(pss_prng_fill) +BRIDGE_DECL(pss_resume_thread) +BRIDGE_DECL(pss_set_thread_context) +BRIDGE_DECL(pss_set_win32_filetime) +BRIDGE_DECL(pss_signal_semaphore) +BRIDGE_DECL(pss_supports_fast_tls) +BRIDGE_DECL(pss_suspend_thread) +BRIDGE_DECL(pss_threads_initialize) +BRIDGE_DECL(pss_usb_transport_close1) +BRIDGE_DECL(pss_usb_transport_close2) +BRIDGE_DECL(pss_usb_transport_connect) +BRIDGE_DECL(pss_usb_transport_recv) +BRIDGE_DECL(pss_usb_transport_send) +BRIDGE_DECL(pss_wait_semaphore) +BRIDGE_DECL(pthread_attr_init) +BRIDGE_DECL(pthread_attr_setstacksize) +BRIDGE_DECL(pthread_cleanup_pop_) +BRIDGE_DECL(pthread_cleanup_push_) +BRIDGE_DECL(pthread_cond_broadcast) +BRIDGE_DECL(pthread_cond_destroy) +BRIDGE_DECL(pthread_cond_init) +BRIDGE_DECL(pthread_cond_signal) +BRIDGE_DECL(pthread_cond_timedwait) +BRIDGE_DECL(pthread_cond_wait) +BRIDGE_DECL(pthread_create) +BRIDGE_DECL(pthread_detach) +BRIDGE_DECL(pthread_equal) +BRIDGE_DECL(pthread_exit) +BRIDGE_DECL(pthread_getspecific) +BRIDGE_DECL(pthread_getspecific_for_thread) +BRIDGE_DECL(pthread_join) +BRIDGE_DECL(pthread_key_create) +BRIDGE_DECL(pthread_key_delete) +BRIDGE_DECL(pthread_mutex_destroy) +BRIDGE_DECL(pthread_mutex_init) +BRIDGE_DECL(pthread_mutex_lock) +BRIDGE_DECL(pthread_mutex_trylock) +BRIDGE_DECL(pthread_mutex_unlock) +BRIDGE_DECL(pthread_mutexattr_destroy) +BRIDGE_DECL(pthread_mutexattr_init) +BRIDGE_DECL(pthread_mutexattr_settype) +BRIDGE_DECL(pthread_self) +BRIDGE_DECL(pthread_setspecific) +BRIDGE_DECL(pthread_vita_tls_create_np) +BRIDGE_DECL(pthread_vita_tls_get_np) +BRIDGE_DECL(pthread_vita_tls_set_np) +BRIDGE_DECL(sched_yield) +BRIDGE_DECL(unlink) diff --git a/src/emulator/modules/SceLibMonoBridge/src/SceLibMonoBridge.cpp b/src/emulator/modules/SceLibMonoBridge/src/SceLibMonoBridge.cpp new file mode 100644 index 000000000..5af7d2603 --- /dev/null +++ b/src/emulator/modules/SceLibMonoBridge/src/SceLibMonoBridge.cpp @@ -0,0 +1,1489 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, __aeabi_unwind_cpp_pr0) { + return unimplemented("__aeabi_unwind_cpp_pr0"); +} + +EXPORT(int, __aeabi_unwind_cpp_pr1) { + return unimplemented("__aeabi_unwind_cpp_pr1"); +} + +EXPORT(int, __ashldi3) { + return unimplemented("__ashldi3"); +} + +EXPORT(int, __divdi3) { + return unimplemented("__divdi3"); +} + +EXPORT(int, __divsi3) { + return unimplemented("__divsi3"); +} + +EXPORT(int, __lshrdi3) { + return unimplemented("__lshrdi3"); +} + +EXPORT(int, __moddi3) { + return unimplemented("__moddi3"); +} + +EXPORT(int, __modsi3) { + return unimplemented("__modsi3"); +} + +EXPORT(int, __sce_aeabi_idiv0_dupe) { + return unimplemented("__sce_aeabi_idiv0_dupe"); +} + +EXPORT(int, __sce_aeabi_ldiv0_dupe) { + return unimplemented("__sce_aeabi_ldiv0_dupe"); +} + +EXPORT(int, __udivdi3) { + return unimplemented("__udivdi3"); +} + +EXPORT(int, __udivsi3) { + return unimplemented("__udivsi3"); +} + +EXPORT(int, __umoddi3) { + return unimplemented("__umoddi3"); +} + +EXPORT(int, __umodsi3) { + return unimplemented("__umodsi3"); +} + +EXPORT(int, environ) { + return unimplemented("environ"); +} + +EXPORT(int, g_ascii_strcasecmp) { + return unimplemented("g_ascii_strcasecmp"); +} + +EXPORT(int, g_file_vita_get_current_dir) { + return unimplemented("g_file_vita_get_current_dir"); +} + +EXPORT(int, g_file_vita_get_full_path) { + return unimplemented("g_file_vita_get_full_path"); +} + +EXPORT(int, g_file_vita_set_current_dir) { + return unimplemented("g_file_vita_set_current_dir"); +} + +EXPORT(int, getenv) { + return unimplemented("getenv"); +} + +EXPORT(int, monoeg_assertion_message) { + return unimplemented("monoeg_assertion_message"); +} + +EXPORT(int, monoeg_g_array_append_vals) { + return unimplemented("monoeg_g_array_append_vals"); +} + +EXPORT(int, monoeg_g_array_free) { + return unimplemented("monoeg_g_array_free"); +} + +EXPORT(int, monoeg_g_array_insert_vals) { + return unimplemented("monoeg_g_array_insert_vals"); +} + +EXPORT(int, monoeg_g_array_new) { + return unimplemented("monoeg_g_array_new"); +} + +EXPORT(int, monoeg_g_ascii_strdown) { + return unimplemented("monoeg_g_ascii_strdown"); +} + +EXPORT(int, monoeg_g_ascii_strncasecmp) { + return unimplemented("monoeg_g_ascii_strncasecmp"); +} + +EXPORT(int, monoeg_g_ascii_tolower) { + return unimplemented("monoeg_g_ascii_tolower"); +} + +EXPORT(int, monoeg_g_ascii_xdigit_value) { + return unimplemented("monoeg_g_ascii_xdigit_value"); +} + +EXPORT(int, monoeg_g_build_path) { + return unimplemented("monoeg_g_build_path"); +} + +EXPORT(int, monoeg_g_convert) { + return unimplemented("monoeg_g_convert"); +} + +EXPORT(int, monoeg_g_dir_close) { + return unimplemented("monoeg_g_dir_close"); +} + +EXPORT(int, monoeg_g_dir_open) { + return unimplemented("monoeg_g_dir_open"); +} + +EXPORT(int, monoeg_g_dir_read_name) { + return unimplemented("monoeg_g_dir_read_name"); +} + +EXPORT(int, monoeg_g_direct_equal) { + return unimplemented("monoeg_g_direct_equal"); +} + +EXPORT(int, monoeg_g_direct_hash) { + return unimplemented("monoeg_g_direct_hash"); +} + +EXPORT(int, monoeg_g_error_free) { + return unimplemented("monoeg_g_error_free"); +} + +EXPORT(int, monoeg_g_file_get_contents) { + return unimplemented("monoeg_g_file_get_contents"); +} + +EXPORT(int, monoeg_g_file_open_tmp) { + return unimplemented("monoeg_g_file_open_tmp"); +} + +EXPORT(int, monoeg_g_file_test) { + return unimplemented("monoeg_g_file_test"); +} + +EXPORT(int, monoeg_g_filename_from_uri) { + return unimplemented("monoeg_g_filename_from_uri"); +} + +EXPORT(int, monoeg_g_filename_from_utf8) { + return unimplemented("monoeg_g_filename_from_utf8"); +} + +EXPORT(int, monoeg_g_filename_to_uri) { + return unimplemented("monoeg_g_filename_to_uri"); +} + +EXPORT(int, monoeg_g_find_program_in_path) { + return unimplemented("monoeg_g_find_program_in_path"); +} + +EXPORT(int, monoeg_g_free) { + return unimplemented("monoeg_g_free"); +} + +EXPORT(int, monoeg_g_get_charset) { + return unimplemented("monoeg_g_get_charset"); +} + +EXPORT(int, monoeg_g_get_current_dir) { + return unimplemented("monoeg_g_get_current_dir"); +} + +EXPORT(int, monoeg_g_get_home_dir) { + return unimplemented("monoeg_g_get_home_dir"); +} + +EXPORT(int, monoeg_g_get_tmp_dir) { + return unimplemented("monoeg_g_get_tmp_dir"); +} + +EXPORT(int, monoeg_g_get_user_name) { + return unimplemented("monoeg_g_get_user_name"); +} + +EXPORT(int, monoeg_g_getenv) { + return unimplemented("monoeg_g_getenv"); +} + +EXPORT(int, monoeg_g_hash_table_destroy) { + return unimplemented("monoeg_g_hash_table_destroy"); +} + +EXPORT(int, monoeg_g_hash_table_foreach) { + return unimplemented("monoeg_g_hash_table_foreach"); +} + +EXPORT(int, monoeg_g_hash_table_foreach_remove) { + return unimplemented("monoeg_g_hash_table_foreach_remove"); +} + +EXPORT(int, monoeg_g_hash_table_foreach_steal) { + return unimplemented("monoeg_g_hash_table_foreach_steal"); +} + +EXPORT(int, monoeg_g_hash_table_insert_replace) { + return unimplemented("monoeg_g_hash_table_insert_replace"); +} + +EXPORT(int, monoeg_g_hash_table_iter_init) { + return unimplemented("monoeg_g_hash_table_iter_init"); +} + +EXPORT(int, monoeg_g_hash_table_iter_next) { + return unimplemented("monoeg_g_hash_table_iter_next"); +} + +EXPORT(int, monoeg_g_hash_table_lookup) { + return unimplemented("monoeg_g_hash_table_lookup"); +} + +EXPORT(int, monoeg_g_hash_table_lookup_extended) { + return unimplemented("monoeg_g_hash_table_lookup_extended"); +} + +EXPORT(int, monoeg_g_hash_table_new) { + return unimplemented("monoeg_g_hash_table_new"); +} + +EXPORT(int, monoeg_g_hash_table_new_full) { + return unimplemented("monoeg_g_hash_table_new_full"); +} + +EXPORT(int, monoeg_g_hash_table_remove) { + return unimplemented("monoeg_g_hash_table_remove"); +} + +EXPORT(int, monoeg_g_hash_table_size) { + return unimplemented("monoeg_g_hash_table_size"); +} + +EXPORT(int, monoeg_g_list_alloc) { + return unimplemented("monoeg_g_list_alloc"); +} + +EXPORT(int, monoeg_g_list_append) { + return unimplemented("monoeg_g_list_append"); +} + +EXPORT(int, monoeg_g_list_copy) { + return unimplemented("monoeg_g_list_copy"); +} + +EXPORT(int, monoeg_g_list_delete_link) { + return unimplemented("monoeg_g_list_delete_link"); +} + +EXPORT(int, monoeg_g_list_find) { + return unimplemented("monoeg_g_list_find"); +} + +EXPORT(int, monoeg_g_list_foreach) { + return unimplemented("monoeg_g_list_foreach"); +} + +EXPORT(int, monoeg_g_list_free) { + return unimplemented("monoeg_g_list_free"); +} + +EXPORT(int, monoeg_g_list_insert_before) { + return unimplemented("monoeg_g_list_insert_before"); +} + +EXPORT(int, monoeg_g_list_length) { + return unimplemented("monoeg_g_list_length"); +} + +EXPORT(int, monoeg_g_list_nth) { + return unimplemented("monoeg_g_list_nth"); +} + +EXPORT(int, monoeg_g_list_nth_data) { + return unimplemented("monoeg_g_list_nth_data"); +} + +EXPORT(int, monoeg_g_list_prepend) { + return unimplemented("monoeg_g_list_prepend"); +} + +EXPORT(int, monoeg_g_list_remove) { + return unimplemented("monoeg_g_list_remove"); +} + +EXPORT(int, monoeg_g_list_remove_link) { + return unimplemented("monoeg_g_list_remove_link"); +} + +EXPORT(int, monoeg_g_list_reverse) { + return unimplemented("monoeg_g_list_reverse"); +} + +EXPORT(int, monoeg_g_list_sort) { + return unimplemented("monoeg_g_list_sort"); +} + +EXPORT(int, monoeg_g_locale_from_utf8) { + return unimplemented("monoeg_g_locale_from_utf8"); +} + +EXPORT(int, monoeg_g_locale_to_utf8) { + return unimplemented("monoeg_g_locale_to_utf8"); +} + +EXPORT(int, monoeg_g_log) { + return unimplemented("monoeg_g_log"); +} + +EXPORT(int, monoeg_g_log_set_always_fatal) { + return unimplemented("monoeg_g_log_set_always_fatal"); +} + +EXPORT(int, monoeg_g_log_set_fatal_mask) { + return unimplemented("monoeg_g_log_set_fatal_mask"); +} + +EXPORT(int, monoeg_g_logv) { + return unimplemented("monoeg_g_logv"); +} + +EXPORT(int, monoeg_g_markup_parse_context_end_parse) { + return unimplemented("monoeg_g_markup_parse_context_end_parse"); +} + +EXPORT(int, monoeg_g_markup_parse_context_free) { + return unimplemented("monoeg_g_markup_parse_context_free"); +} + +EXPORT(int, monoeg_g_markup_parse_context_new) { + return unimplemented("monoeg_g_markup_parse_context_new"); +} + +EXPORT(int, monoeg_g_markup_parse_context_parse) { + return unimplemented("monoeg_g_markup_parse_context_parse"); +} + +EXPORT(int, monoeg_g_memdup) { + return unimplemented("monoeg_g_memdup"); +} + +EXPORT(int, monoeg_g_path_get_basename) { + return unimplemented("monoeg_g_path_get_basename"); +} + +EXPORT(int, monoeg_g_path_get_dirname) { + return unimplemented("monoeg_g_path_get_dirname"); +} + +EXPORT(int, monoeg_g_path_is_absolute) { + return unimplemented("monoeg_g_path_is_absolute"); +} + +EXPORT(int, monoeg_g_print) { + return unimplemented("monoeg_g_print"); +} + +EXPORT(int, monoeg_g_printerr) { + return unimplemented("monoeg_g_printerr"); +} + +EXPORT(int, monoeg_g_ptr_array_add) { + return unimplemented("monoeg_g_ptr_array_add"); +} + +EXPORT(int, monoeg_g_ptr_array_free) { + return unimplemented("monoeg_g_ptr_array_free"); +} + +EXPORT(int, monoeg_g_ptr_array_new) { + return unimplemented("monoeg_g_ptr_array_new"); +} + +EXPORT(int, monoeg_g_ptr_array_remove) { + return unimplemented("monoeg_g_ptr_array_remove"); +} + +EXPORT(int, monoeg_g_ptr_array_remove_fast) { + return unimplemented("monoeg_g_ptr_array_remove_fast"); +} + +EXPORT(int, monoeg_g_ptr_array_remove_index) { + return unimplemented("monoeg_g_ptr_array_remove_index"); +} + +EXPORT(int, monoeg_g_ptr_array_remove_index_fast) { + return unimplemented("monoeg_g_ptr_array_remove_index_fast"); +} + +EXPORT(int, monoeg_g_ptr_array_sized_new) { + return unimplemented("monoeg_g_ptr_array_sized_new"); +} + +EXPORT(int, monoeg_g_queue_free) { + return unimplemented("monoeg_g_queue_free"); +} + +EXPORT(int, monoeg_g_queue_is_empty) { + return unimplemented("monoeg_g_queue_is_empty"); +} + +EXPORT(int, monoeg_g_queue_new) { + return unimplemented("monoeg_g_queue_new"); +} + +EXPORT(int, monoeg_g_queue_pop_head) { + return unimplemented("monoeg_g_queue_pop_head"); +} + +EXPORT(int, monoeg_g_queue_push_head) { + return unimplemented("monoeg_g_queue_push_head"); +} + +EXPORT(int, monoeg_g_set_prgname) { + return unimplemented("monoeg_g_set_prgname"); +} + +EXPORT(int, monoeg_g_setenv) { + return unimplemented("monoeg_g_setenv"); +} + +EXPORT(int, monoeg_g_shell_quote) { + return unimplemented("monoeg_g_shell_quote"); +} + +EXPORT(int, monoeg_g_slist_append) { + return unimplemented("monoeg_g_slist_append"); +} + +EXPORT(int, monoeg_g_slist_concat) { + return unimplemented("monoeg_g_slist_concat"); +} + +EXPORT(int, monoeg_g_slist_copy) { + return unimplemented("monoeg_g_slist_copy"); +} + +EXPORT(int, monoeg_g_slist_delete_link) { + return unimplemented("monoeg_g_slist_delete_link"); +} + +EXPORT(int, monoeg_g_slist_find) { + return unimplemented("monoeg_g_slist_find"); +} + +EXPORT(int, monoeg_g_slist_foreach) { + return unimplemented("monoeg_g_slist_foreach"); +} + +EXPORT(int, monoeg_g_slist_free) { + return unimplemented("monoeg_g_slist_free"); +} + +EXPORT(int, monoeg_g_slist_free_1) { + return unimplemented("monoeg_g_slist_free_1"); +} + +EXPORT(int, monoeg_g_slist_insert_sorted) { + return unimplemented("monoeg_g_slist_insert_sorted"); +} + +EXPORT(int, monoeg_g_slist_last) { + return unimplemented("monoeg_g_slist_last"); +} + +EXPORT(int, monoeg_g_slist_length) { + return unimplemented("monoeg_g_slist_length"); +} + +EXPORT(int, monoeg_g_slist_nth) { + return unimplemented("monoeg_g_slist_nth"); +} + +EXPORT(int, monoeg_g_slist_nth_data) { + return unimplemented("monoeg_g_slist_nth_data"); +} + +EXPORT(int, monoeg_g_slist_prepend) { + return unimplemented("monoeg_g_slist_prepend"); +} + +EXPORT(int, monoeg_g_slist_remove) { + return unimplemented("monoeg_g_slist_remove"); +} + +EXPORT(int, monoeg_g_slist_reverse) { + return unimplemented("monoeg_g_slist_reverse"); +} + +EXPORT(int, monoeg_g_snprintf) { + return unimplemented("monoeg_g_snprintf"); +} + +EXPORT(int, monoeg_g_spaced_primes_closest) { + return unimplemented("monoeg_g_spaced_primes_closest"); +} + +EXPORT(int, monoeg_g_spawn_async_with_pipes) { + return unimplemented("monoeg_g_spawn_async_with_pipes"); +} + +EXPORT(int, monoeg_g_str_equal) { + return unimplemented("monoeg_g_str_equal"); +} + +EXPORT(int, monoeg_g_str_has_prefix) { + return unimplemented("monoeg_g_str_has_prefix"); +} + +EXPORT(int, monoeg_g_str_hash) { + return unimplemented("monoeg_g_str_hash"); +} + +EXPORT(int, monoeg_g_strchomp) { + return unimplemented("monoeg_g_strchomp"); +} + +EXPORT(int, monoeg_g_strchug) { + return unimplemented("monoeg_g_strchug"); +} + +EXPORT(int, monoeg_g_strconcat) { + return unimplemented("monoeg_g_strconcat"); +} + +EXPORT(int, monoeg_g_strdup_printf) { + return unimplemented("monoeg_g_strdup_printf"); +} + +EXPORT(int, monoeg_g_strdup_vprintf) { + return unimplemented("monoeg_g_strdup_vprintf"); +} + +EXPORT(int, monoeg_g_strerror) { + return unimplemented("monoeg_g_strerror"); +} + +EXPORT(int, monoeg_g_strfreev) { + return unimplemented("monoeg_g_strfreev"); +} + +EXPORT(int, monoeg_g_string_append) { + return unimplemented("monoeg_g_string_append"); +} + +EXPORT(int, monoeg_g_string_append_c) { + return unimplemented("monoeg_g_string_append_c"); +} + +EXPORT(int, monoeg_g_string_append_len) { + return unimplemented("monoeg_g_string_append_len"); +} + +EXPORT(int, monoeg_g_string_append_printf) { + return unimplemented("monoeg_g_string_append_printf"); +} + +EXPORT(int, monoeg_g_string_free) { + return unimplemented("monoeg_g_string_free"); +} + +EXPORT(int, monoeg_g_string_new) { + return unimplemented("monoeg_g_string_new"); +} + +EXPORT(int, monoeg_g_string_printf) { + return unimplemented("monoeg_g_string_printf"); +} + +EXPORT(int, monoeg_g_strjoin) { + return unimplemented("monoeg_g_strjoin"); +} + +EXPORT(int, monoeg_g_strlcpy) { + return unimplemented("monoeg_g_strlcpy"); +} + +EXPORT(int, monoeg_g_strndup) { + return unimplemented("monoeg_g_strndup"); +} + +EXPORT(int, monoeg_g_strreverse) { + return unimplemented("monoeg_g_strreverse"); +} + +EXPORT(int, monoeg_g_strsplit) { + return unimplemented("monoeg_g_strsplit"); +} + +EXPORT(int, monoeg_g_timer_destroy) { + return unimplemented("monoeg_g_timer_destroy"); +} + +EXPORT(int, monoeg_g_timer_elapsed) { + return unimplemented("monoeg_g_timer_elapsed"); +} + +EXPORT(int, monoeg_g_timer_new) { + return unimplemented("monoeg_g_timer_new"); +} + +EXPORT(int, monoeg_g_timer_start) { + return unimplemented("monoeg_g_timer_start"); +} + +EXPORT(int, monoeg_g_timer_stop) { + return unimplemented("monoeg_g_timer_stop"); +} + +EXPORT(int, monoeg_g_ucs4_to_utf16) { + return unimplemented("monoeg_g_ucs4_to_utf16"); +} + +EXPORT(int, monoeg_g_unichar_tolower) { + return unimplemented("monoeg_g_unichar_tolower"); +} + +EXPORT(int, monoeg_g_unichar_type) { + return unimplemented("monoeg_g_unichar_type"); +} + +EXPORT(int, monoeg_g_unichar_xdigit_value) { + return unimplemented("monoeg_g_unichar_xdigit_value"); +} + +EXPORT(int, monoeg_g_unsetenv) { + return unimplemented("monoeg_g_unsetenv"); +} + +EXPORT(int, monoeg_g_usleep) { + return unimplemented("monoeg_g_usleep"); +} + +EXPORT(int, monoeg_g_utf16_to_ucs4) { + return unimplemented("monoeg_g_utf16_to_ucs4"); +} + +EXPORT(int, monoeg_g_utf16_to_utf8) { + return unimplemented("monoeg_g_utf16_to_utf8"); +} + +EXPORT(int, monoeg_g_utf8_strdown) { + return unimplemented("monoeg_g_utf8_strdown"); +} + +EXPORT(int, monoeg_g_utf8_to_utf16) { + return unimplemented("monoeg_g_utf8_to_utf16"); +} + +EXPORT(int, monoeg_g_utf8_validate) { + return unimplemented("monoeg_g_utf8_validate"); +} + +EXPORT(int, monoeg_malloc) { + return unimplemented("monoeg_malloc"); +} + +EXPORT(int, monoeg_malloc0) { + return unimplemented("monoeg_malloc0"); +} + +EXPORT(int, monoeg_realloc) { + return unimplemented("monoeg_realloc"); +} + +EXPORT(int, monoeg_try_malloc) { + return unimplemented("monoeg_try_malloc"); +} + +EXPORT(int, monoeg_try_realloc) { + return unimplemented("monoeg_try_realloc"); +} + +EXPORT(int, pss_alloc_mem) { + return unimplemented("pss_alloc_mem"); +} + +EXPORT(int, pss_alloc_raw) { + return unimplemented("pss_alloc_raw"); +} + +EXPORT(int, pss_code_mem_alloc) { + return unimplemented("pss_code_mem_alloc"); +} + +EXPORT(int, pss_code_mem_flush_icache) { + return unimplemented("pss_code_mem_flush_icache"); +} + +EXPORT(int, pss_code_mem_free) { + return unimplemented("pss_code_mem_free"); +} + +EXPORT(int, pss_code_mem_initialize) { + return unimplemented("pss_code_mem_initialize"); +} + +EXPORT(int, pss_code_mem_lock) { + return unimplemented("pss_code_mem_lock"); +} + +EXPORT(int, pss_code_mem_terminate) { + return unimplemented("pss_code_mem_terminate"); +} + +EXPORT(int, pss_code_mem_unlock) { + return unimplemented("pss_code_mem_unlock"); +} + +EXPORT(int, pss_create_semaphore) { + return unimplemented("pss_create_semaphore"); +} + +EXPORT(int, pss_crypto_close) { + return unimplemented("pss_crypto_close"); +} + +EXPORT(int, pss_crypto_fread) { + return unimplemented("pss_crypto_fread"); +} + +EXPORT(int, pss_crypto_open) { + return unimplemented("pss_crypto_open"); +} + +EXPORT(int, pss_crypto_read) { + return unimplemented("pss_crypto_read"); +} + +EXPORT(int, pss_delay_thread) { + return unimplemented("pss_delay_thread"); +} + +EXPORT(int, pss_delete_semaphore) { + return unimplemented("pss_delete_semaphore"); +} + +EXPORT(int, pss_disable_ftz) { + return unimplemented("pss_disable_ftz"); +} + +EXPORT(int, pss_free_mem) { + return unimplemented("pss_free_mem"); +} + +EXPORT(int, pss_free_prng_provider) { + return unimplemented("pss_free_prng_provider"); +} + +EXPORT(int, pss_free_raw) { + return unimplemented("pss_free_raw"); +} + +EXPORT(int, pss_get_errnoloc) { + return unimplemented("pss_get_errnoloc"); +} + +EXPORT(int, pss_get_prng_provider) { + return unimplemented("pss_get_prng_provider"); +} + +EXPORT(int, pss_get_thread_context) { + return unimplemented("pss_get_thread_context"); +} + +EXPORT(int, pss_get_ticks_32) { + return unimplemented("pss_get_ticks_32"); +} + +EXPORT(int, pss_get_ticks_64) { + return unimplemented("pss_get_ticks_64"); +} + +EXPORT(int, pss_get_ticks_since_111) { + return unimplemented("pss_get_ticks_since_111"); +} + +EXPORT(int, pss_get_win32_filetime) { + return unimplemented("pss_get_win32_filetime"); +} + +EXPORT(int, pss_getpagesize) { + return unimplemented("pss_getpagesize"); +} + +EXPORT(int, pss_getpid) { + return unimplemented("pss_getpid"); +} + +EXPORT(int, pss_gettimeofday) { + return unimplemented("pss_gettimeofday"); +} + +EXPORT(int, pss_io_chstat) { + return unimplemented("pss_io_chstat"); +} + +EXPORT(int, pss_io_close) { + return unimplemented("pss_io_close"); +} + +EXPORT(int, pss_io_dclose) { + return unimplemented("pss_io_dclose"); +} + +EXPORT(int, pss_io_dopen) { + return unimplemented("pss_io_dopen"); +} + +EXPORT(int, pss_io_getstat) { + return unimplemented("pss_io_getstat"); +} + +EXPORT(int, pss_io_lseek) { + return unimplemented("pss_io_lseek"); +} + +EXPORT(int, pss_io_mkdir) { + return unimplemented("pss_io_mkdir"); +} + +EXPORT(int, pss_io_open) { + return unimplemented("pss_io_open"); +} + +EXPORT(int, pss_io_read) { + return unimplemented("pss_io_read"); +} + +EXPORT(int, pss_io_remove) { + return unimplemented("pss_io_remove"); +} + +EXPORT(int, pss_io_rename) { + return unimplemented("pss_io_rename"); +} + +EXPORT(int, pss_io_rmdir) { + return unimplemented("pss_io_rmdir"); +} + +EXPORT(int, pss_io_write) { + return unimplemented("pss_io_write"); +} + +EXPORT(int, pss_nanosleep) { + return unimplemented("pss_nanosleep"); +} + +EXPORT(int, pss_net_accept) { + return unimplemented("pss_net_accept"); +} + +EXPORT(int, pss_net_bind) { + return unimplemented("pss_net_bind"); +} + +EXPORT(int, pss_net_connect) { + return unimplemented("pss_net_connect"); +} + +EXPORT(int, pss_net_epoll_create) { + return unimplemented("pss_net_epoll_create"); +} + +EXPORT(int, pss_net_epoll_ctl) { + return unimplemented("pss_net_epoll_ctl"); +} + +EXPORT(int, pss_net_epoll_destroy) { + return unimplemented("pss_net_epoll_destroy"); +} + +EXPORT(int, pss_net_epoll_wait) { + return unimplemented("pss_net_epoll_wait"); +} + +EXPORT(int, pss_net_gethostname) { + return unimplemented("pss_net_gethostname"); +} + +EXPORT(int, pss_net_getpeername) { + return unimplemented("pss_net_getpeername"); +} + +EXPORT(int, pss_net_getsockname) { + return unimplemented("pss_net_getsockname"); +} + +EXPORT(int, pss_net_getsockopt) { + return unimplemented("pss_net_getsockopt"); +} + +EXPORT(int, pss_net_htonl) { + return unimplemented("pss_net_htonl"); +} + +EXPORT(int, pss_net_htons) { + return unimplemented("pss_net_htons"); +} + +EXPORT(int, pss_net_init) { + return unimplemented("pss_net_init"); +} + +EXPORT(int, pss_net_listen) { + return unimplemented("pss_net_listen"); +} + +EXPORT(int, pss_net_ntohl) { + return unimplemented("pss_net_ntohl"); +} + +EXPORT(int, pss_net_ntohs) { + return unimplemented("pss_net_ntohs"); +} + +EXPORT(int, pss_net_recv) { + return unimplemented("pss_net_recv"); +} + +EXPORT(int, pss_net_recvfrom) { + return unimplemented("pss_net_recvfrom"); +} + +EXPORT(int, pss_net_resolver_create) { + return unimplemented("pss_net_resolver_create"); +} + +EXPORT(int, pss_net_resolver_start_aton) { + return unimplemented("pss_net_resolver_start_aton"); +} + +EXPORT(int, pss_net_resolver_start_ntoa) { + return unimplemented("pss_net_resolver_start_ntoa"); +} + +EXPORT(int, pss_net_send) { + return unimplemented("pss_net_send"); +} + +EXPORT(int, pss_net_sendto) { + return unimplemented("pss_net_sendto"); +} + +EXPORT(int, pss_net_setsockopt) { + return unimplemented("pss_net_setsockopt"); +} + +EXPORT(int, pss_net_shutdown) { + return unimplemented("pss_net_shutdown"); +} + +EXPORT(int, pss_net_socket) { + return unimplemented("pss_net_socket"); +} + +EXPORT(int, pss_net_socket_close) { + return unimplemented("pss_net_socket_close"); +} + +EXPORT(int, pss_prng_fill) { + return unimplemented("pss_prng_fill"); +} + +EXPORT(int, pss_resume_thread) { + return unimplemented("pss_resume_thread"); +} + +EXPORT(int, pss_set_thread_context) { + return unimplemented("pss_set_thread_context"); +} + +EXPORT(int, pss_set_win32_filetime) { + return unimplemented("pss_set_win32_filetime"); +} + +EXPORT(int, pss_signal_semaphore) { + return unimplemented("pss_signal_semaphore"); +} + +EXPORT(int, pss_supports_fast_tls) { + return unimplemented("pss_supports_fast_tls"); +} + +EXPORT(int, pss_suspend_thread) { + return unimplemented("pss_suspend_thread"); +} + +EXPORT(int, pss_threads_initialize) { + return unimplemented("pss_threads_initialize"); +} + +EXPORT(int, pss_usb_transport_close1) { + return unimplemented("pss_usb_transport_close1"); +} + +EXPORT(int, pss_usb_transport_close2) { + return unimplemented("pss_usb_transport_close2"); +} + +EXPORT(int, pss_usb_transport_connect) { + return unimplemented("pss_usb_transport_connect"); +} + +EXPORT(int, pss_usb_transport_recv) { + return unimplemented("pss_usb_transport_recv"); +} + +EXPORT(int, pss_usb_transport_send) { + return unimplemented("pss_usb_transport_send"); +} + +EXPORT(int, pss_wait_semaphore) { + return unimplemented("pss_wait_semaphore"); +} + +EXPORT(int, pthread_attr_init) { + return unimplemented("pthread_attr_init"); +} + +EXPORT(int, pthread_attr_setstacksize) { + return unimplemented("pthread_attr_setstacksize"); +} + +EXPORT(int, pthread_cleanup_pop_) { + return unimplemented("pthread_cleanup_pop_"); +} + +EXPORT(int, pthread_cleanup_push_) { + return unimplemented("pthread_cleanup_push_"); +} + +EXPORT(int, pthread_cond_broadcast) { + return unimplemented("pthread_cond_broadcast"); +} + +EXPORT(int, pthread_cond_destroy) { + return unimplemented("pthread_cond_destroy"); +} + +EXPORT(int, pthread_cond_init) { + return unimplemented("pthread_cond_init"); +} + +EXPORT(int, pthread_cond_signal) { + return unimplemented("pthread_cond_signal"); +} + +EXPORT(int, pthread_cond_timedwait) { + return unimplemented("pthread_cond_timedwait"); +} + +EXPORT(int, pthread_cond_wait) { + return unimplemented("pthread_cond_wait"); +} + +EXPORT(int, pthread_create) { + return unimplemented("pthread_create"); +} + +EXPORT(int, pthread_detach) { + return unimplemented("pthread_detach"); +} + +EXPORT(int, pthread_equal) { + return unimplemented("pthread_equal"); +} + +EXPORT(int, pthread_exit) { + return unimplemented("pthread_exit"); +} + +EXPORT(int, pthread_getspecific) { + return unimplemented("pthread_getspecific"); +} + +EXPORT(int, pthread_getspecific_for_thread) { + return unimplemented("pthread_getspecific_for_thread"); +} + +EXPORT(int, pthread_join) { + return unimplemented("pthread_join"); +} + +EXPORT(int, pthread_key_create) { + return unimplemented("pthread_key_create"); +} + +EXPORT(int, pthread_key_delete) { + return unimplemented("pthread_key_delete"); +} + +EXPORT(int, pthread_mutex_destroy) { + return unimplemented("pthread_mutex_destroy"); +} + +EXPORT(int, pthread_mutex_init) { + return unimplemented("pthread_mutex_init"); +} + +EXPORT(int, pthread_mutex_lock) { + return unimplemented("pthread_mutex_lock"); +} + +EXPORT(int, pthread_mutex_trylock) { + return unimplemented("pthread_mutex_trylock"); +} + +EXPORT(int, pthread_mutex_unlock) { + return unimplemented("pthread_mutex_unlock"); +} + +EXPORT(int, pthread_mutexattr_destroy) { + return unimplemented("pthread_mutexattr_destroy"); +} + +EXPORT(int, pthread_mutexattr_init) { + return unimplemented("pthread_mutexattr_init"); +} + +EXPORT(int, pthread_mutexattr_settype) { + return unimplemented("pthread_mutexattr_settype"); +} + +EXPORT(int, pthread_self) { + return unimplemented("pthread_self"); +} + +EXPORT(int, pthread_setspecific) { + return unimplemented("pthread_setspecific"); +} + +EXPORT(int, pthread_vita_tls_create_np) { + return unimplemented("pthread_vita_tls_create_np"); +} + +EXPORT(int, pthread_vita_tls_get_np) { + return unimplemented("pthread_vita_tls_get_np"); +} + +EXPORT(int, pthread_vita_tls_set_np) { + return unimplemented("pthread_vita_tls_set_np"); +} + +EXPORT(int, sched_yield) { + return unimplemented("sched_yield"); +} + +EXPORT(int, unlink) { + return unimplemented("unlink"); +} + +BRIDGE_IMPL(__aeabi_unwind_cpp_pr0) +BRIDGE_IMPL(__aeabi_unwind_cpp_pr1) +BRIDGE_IMPL(__ashldi3) +BRIDGE_IMPL(__divdi3) +BRIDGE_IMPL(__divsi3) +BRIDGE_IMPL(__lshrdi3) +BRIDGE_IMPL(__moddi3) +BRIDGE_IMPL(__modsi3) +BRIDGE_IMPL(__sce_aeabi_idiv0_dupe) +BRIDGE_IMPL(__sce_aeabi_ldiv0_dupe) +BRIDGE_IMPL(__udivdi3) +BRIDGE_IMPL(__udivsi3) +BRIDGE_IMPL(__umoddi3) +BRIDGE_IMPL(__umodsi3) +BRIDGE_IMPL(environ) +BRIDGE_IMPL(g_ascii_strcasecmp) +BRIDGE_IMPL(g_file_vita_get_current_dir) +BRIDGE_IMPL(g_file_vita_get_full_path) +BRIDGE_IMPL(g_file_vita_set_current_dir) +BRIDGE_IMPL(getenv) +BRIDGE_IMPL(monoeg_assertion_message) +BRIDGE_IMPL(monoeg_g_array_append_vals) +BRIDGE_IMPL(monoeg_g_array_free) +BRIDGE_IMPL(monoeg_g_array_insert_vals) +BRIDGE_IMPL(monoeg_g_array_new) +BRIDGE_IMPL(monoeg_g_ascii_strdown) +BRIDGE_IMPL(monoeg_g_ascii_strncasecmp) +BRIDGE_IMPL(monoeg_g_ascii_tolower) +BRIDGE_IMPL(monoeg_g_ascii_xdigit_value) +BRIDGE_IMPL(monoeg_g_build_path) +BRIDGE_IMPL(monoeg_g_convert) +BRIDGE_IMPL(monoeg_g_dir_close) +BRIDGE_IMPL(monoeg_g_dir_open) +BRIDGE_IMPL(monoeg_g_dir_read_name) +BRIDGE_IMPL(monoeg_g_direct_equal) +BRIDGE_IMPL(monoeg_g_direct_hash) +BRIDGE_IMPL(monoeg_g_error_free) +BRIDGE_IMPL(monoeg_g_file_get_contents) +BRIDGE_IMPL(monoeg_g_file_open_tmp) +BRIDGE_IMPL(monoeg_g_file_test) +BRIDGE_IMPL(monoeg_g_filename_from_uri) +BRIDGE_IMPL(monoeg_g_filename_from_utf8) +BRIDGE_IMPL(monoeg_g_filename_to_uri) +BRIDGE_IMPL(monoeg_g_find_program_in_path) +BRIDGE_IMPL(monoeg_g_free) +BRIDGE_IMPL(monoeg_g_get_charset) +BRIDGE_IMPL(monoeg_g_get_current_dir) +BRIDGE_IMPL(monoeg_g_get_home_dir) +BRIDGE_IMPL(monoeg_g_get_tmp_dir) +BRIDGE_IMPL(monoeg_g_get_user_name) +BRIDGE_IMPL(monoeg_g_getenv) +BRIDGE_IMPL(monoeg_g_hash_table_destroy) +BRIDGE_IMPL(monoeg_g_hash_table_foreach) +BRIDGE_IMPL(monoeg_g_hash_table_foreach_remove) +BRIDGE_IMPL(monoeg_g_hash_table_foreach_steal) +BRIDGE_IMPL(monoeg_g_hash_table_insert_replace) +BRIDGE_IMPL(monoeg_g_hash_table_iter_init) +BRIDGE_IMPL(monoeg_g_hash_table_iter_next) +BRIDGE_IMPL(monoeg_g_hash_table_lookup) +BRIDGE_IMPL(monoeg_g_hash_table_lookup_extended) +BRIDGE_IMPL(monoeg_g_hash_table_new) +BRIDGE_IMPL(monoeg_g_hash_table_new_full) +BRIDGE_IMPL(monoeg_g_hash_table_remove) +BRIDGE_IMPL(monoeg_g_hash_table_size) +BRIDGE_IMPL(monoeg_g_list_alloc) +BRIDGE_IMPL(monoeg_g_list_append) +BRIDGE_IMPL(monoeg_g_list_copy) +BRIDGE_IMPL(monoeg_g_list_delete_link) +BRIDGE_IMPL(monoeg_g_list_find) +BRIDGE_IMPL(monoeg_g_list_foreach) +BRIDGE_IMPL(monoeg_g_list_free) +BRIDGE_IMPL(monoeg_g_list_insert_before) +BRIDGE_IMPL(monoeg_g_list_length) +BRIDGE_IMPL(monoeg_g_list_nth) +BRIDGE_IMPL(monoeg_g_list_nth_data) +BRIDGE_IMPL(monoeg_g_list_prepend) +BRIDGE_IMPL(monoeg_g_list_remove) +BRIDGE_IMPL(monoeg_g_list_remove_link) +BRIDGE_IMPL(monoeg_g_list_reverse) +BRIDGE_IMPL(monoeg_g_list_sort) +BRIDGE_IMPL(monoeg_g_locale_from_utf8) +BRIDGE_IMPL(monoeg_g_locale_to_utf8) +BRIDGE_IMPL(monoeg_g_log) +BRIDGE_IMPL(monoeg_g_log_set_always_fatal) +BRIDGE_IMPL(monoeg_g_log_set_fatal_mask) +BRIDGE_IMPL(monoeg_g_logv) +BRIDGE_IMPL(monoeg_g_markup_parse_context_end_parse) +BRIDGE_IMPL(monoeg_g_markup_parse_context_free) +BRIDGE_IMPL(monoeg_g_markup_parse_context_new) +BRIDGE_IMPL(monoeg_g_markup_parse_context_parse) +BRIDGE_IMPL(monoeg_g_memdup) +BRIDGE_IMPL(monoeg_g_path_get_basename) +BRIDGE_IMPL(monoeg_g_path_get_dirname) +BRIDGE_IMPL(monoeg_g_path_is_absolute) +BRIDGE_IMPL(monoeg_g_print) +BRIDGE_IMPL(monoeg_g_printerr) +BRIDGE_IMPL(monoeg_g_ptr_array_add) +BRIDGE_IMPL(monoeg_g_ptr_array_free) +BRIDGE_IMPL(monoeg_g_ptr_array_new) +BRIDGE_IMPL(monoeg_g_ptr_array_remove) +BRIDGE_IMPL(monoeg_g_ptr_array_remove_fast) +BRIDGE_IMPL(monoeg_g_ptr_array_remove_index) +BRIDGE_IMPL(monoeg_g_ptr_array_remove_index_fast) +BRIDGE_IMPL(monoeg_g_ptr_array_sized_new) +BRIDGE_IMPL(monoeg_g_queue_free) +BRIDGE_IMPL(monoeg_g_queue_is_empty) +BRIDGE_IMPL(monoeg_g_queue_new) +BRIDGE_IMPL(monoeg_g_queue_pop_head) +BRIDGE_IMPL(monoeg_g_queue_push_head) +BRIDGE_IMPL(monoeg_g_set_prgname) +BRIDGE_IMPL(monoeg_g_setenv) +BRIDGE_IMPL(monoeg_g_shell_quote) +BRIDGE_IMPL(monoeg_g_slist_append) +BRIDGE_IMPL(monoeg_g_slist_concat) +BRIDGE_IMPL(monoeg_g_slist_copy) +BRIDGE_IMPL(monoeg_g_slist_delete_link) +BRIDGE_IMPL(monoeg_g_slist_find) +BRIDGE_IMPL(monoeg_g_slist_foreach) +BRIDGE_IMPL(monoeg_g_slist_free) +BRIDGE_IMPL(monoeg_g_slist_free_1) +BRIDGE_IMPL(monoeg_g_slist_insert_sorted) +BRIDGE_IMPL(monoeg_g_slist_last) +BRIDGE_IMPL(monoeg_g_slist_length) +BRIDGE_IMPL(monoeg_g_slist_nth) +BRIDGE_IMPL(monoeg_g_slist_nth_data) +BRIDGE_IMPL(monoeg_g_slist_prepend) +BRIDGE_IMPL(monoeg_g_slist_remove) +BRIDGE_IMPL(monoeg_g_slist_reverse) +BRIDGE_IMPL(monoeg_g_snprintf) +BRIDGE_IMPL(monoeg_g_spaced_primes_closest) +BRIDGE_IMPL(monoeg_g_spawn_async_with_pipes) +BRIDGE_IMPL(monoeg_g_str_equal) +BRIDGE_IMPL(monoeg_g_str_has_prefix) +BRIDGE_IMPL(monoeg_g_str_hash) +BRIDGE_IMPL(monoeg_g_strchomp) +BRIDGE_IMPL(monoeg_g_strchug) +BRIDGE_IMPL(monoeg_g_strconcat) +BRIDGE_IMPL(monoeg_g_strdup_printf) +BRIDGE_IMPL(monoeg_g_strdup_vprintf) +BRIDGE_IMPL(monoeg_g_strerror) +BRIDGE_IMPL(monoeg_g_strfreev) +BRIDGE_IMPL(monoeg_g_string_append) +BRIDGE_IMPL(monoeg_g_string_append_c) +BRIDGE_IMPL(monoeg_g_string_append_len) +BRIDGE_IMPL(monoeg_g_string_append_printf) +BRIDGE_IMPL(monoeg_g_string_free) +BRIDGE_IMPL(monoeg_g_string_new) +BRIDGE_IMPL(monoeg_g_string_printf) +BRIDGE_IMPL(monoeg_g_strjoin) +BRIDGE_IMPL(monoeg_g_strlcpy) +BRIDGE_IMPL(monoeg_g_strndup) +BRIDGE_IMPL(monoeg_g_strreverse) +BRIDGE_IMPL(monoeg_g_strsplit) +BRIDGE_IMPL(monoeg_g_timer_destroy) +BRIDGE_IMPL(monoeg_g_timer_elapsed) +BRIDGE_IMPL(monoeg_g_timer_new) +BRIDGE_IMPL(monoeg_g_timer_start) +BRIDGE_IMPL(monoeg_g_timer_stop) +BRIDGE_IMPL(monoeg_g_ucs4_to_utf16) +BRIDGE_IMPL(monoeg_g_unichar_tolower) +BRIDGE_IMPL(monoeg_g_unichar_type) +BRIDGE_IMPL(monoeg_g_unichar_xdigit_value) +BRIDGE_IMPL(monoeg_g_unsetenv) +BRIDGE_IMPL(monoeg_g_usleep) +BRIDGE_IMPL(monoeg_g_utf16_to_ucs4) +BRIDGE_IMPL(monoeg_g_utf16_to_utf8) +BRIDGE_IMPL(monoeg_g_utf8_strdown) +BRIDGE_IMPL(monoeg_g_utf8_to_utf16) +BRIDGE_IMPL(monoeg_g_utf8_validate) +BRIDGE_IMPL(monoeg_malloc) +BRIDGE_IMPL(monoeg_malloc0) +BRIDGE_IMPL(monoeg_realloc) +BRIDGE_IMPL(monoeg_try_malloc) +BRIDGE_IMPL(monoeg_try_realloc) +BRIDGE_IMPL(pss_alloc_mem) +BRIDGE_IMPL(pss_alloc_raw) +BRIDGE_IMPL(pss_code_mem_alloc) +BRIDGE_IMPL(pss_code_mem_flush_icache) +BRIDGE_IMPL(pss_code_mem_free) +BRIDGE_IMPL(pss_code_mem_initialize) +BRIDGE_IMPL(pss_code_mem_lock) +BRIDGE_IMPL(pss_code_mem_terminate) +BRIDGE_IMPL(pss_code_mem_unlock) +BRIDGE_IMPL(pss_create_semaphore) +BRIDGE_IMPL(pss_crypto_close) +BRIDGE_IMPL(pss_crypto_fread) +BRIDGE_IMPL(pss_crypto_open) +BRIDGE_IMPL(pss_crypto_read) +BRIDGE_IMPL(pss_delay_thread) +BRIDGE_IMPL(pss_delete_semaphore) +BRIDGE_IMPL(pss_disable_ftz) +BRIDGE_IMPL(pss_free_mem) +BRIDGE_IMPL(pss_free_prng_provider) +BRIDGE_IMPL(pss_free_raw) +BRIDGE_IMPL(pss_get_errnoloc) +BRIDGE_IMPL(pss_get_prng_provider) +BRIDGE_IMPL(pss_get_thread_context) +BRIDGE_IMPL(pss_get_ticks_32) +BRIDGE_IMPL(pss_get_ticks_64) +BRIDGE_IMPL(pss_get_ticks_since_111) +BRIDGE_IMPL(pss_get_win32_filetime) +BRIDGE_IMPL(pss_getpagesize) +BRIDGE_IMPL(pss_getpid) +BRIDGE_IMPL(pss_gettimeofday) +BRIDGE_IMPL(pss_io_chstat) +BRIDGE_IMPL(pss_io_close) +BRIDGE_IMPL(pss_io_dclose) +BRIDGE_IMPL(pss_io_dopen) +BRIDGE_IMPL(pss_io_getstat) +BRIDGE_IMPL(pss_io_lseek) +BRIDGE_IMPL(pss_io_mkdir) +BRIDGE_IMPL(pss_io_open) +BRIDGE_IMPL(pss_io_read) +BRIDGE_IMPL(pss_io_remove) +BRIDGE_IMPL(pss_io_rename) +BRIDGE_IMPL(pss_io_rmdir) +BRIDGE_IMPL(pss_io_write) +BRIDGE_IMPL(pss_nanosleep) +BRIDGE_IMPL(pss_net_accept) +BRIDGE_IMPL(pss_net_bind) +BRIDGE_IMPL(pss_net_connect) +BRIDGE_IMPL(pss_net_epoll_create) +BRIDGE_IMPL(pss_net_epoll_ctl) +BRIDGE_IMPL(pss_net_epoll_destroy) +BRIDGE_IMPL(pss_net_epoll_wait) +BRIDGE_IMPL(pss_net_gethostname) +BRIDGE_IMPL(pss_net_getpeername) +BRIDGE_IMPL(pss_net_getsockname) +BRIDGE_IMPL(pss_net_getsockopt) +BRIDGE_IMPL(pss_net_htonl) +BRIDGE_IMPL(pss_net_htons) +BRIDGE_IMPL(pss_net_init) +BRIDGE_IMPL(pss_net_listen) +BRIDGE_IMPL(pss_net_ntohl) +BRIDGE_IMPL(pss_net_ntohs) +BRIDGE_IMPL(pss_net_recv) +BRIDGE_IMPL(pss_net_recvfrom) +BRIDGE_IMPL(pss_net_resolver_create) +BRIDGE_IMPL(pss_net_resolver_start_aton) +BRIDGE_IMPL(pss_net_resolver_start_ntoa) +BRIDGE_IMPL(pss_net_send) +BRIDGE_IMPL(pss_net_sendto) +BRIDGE_IMPL(pss_net_setsockopt) +BRIDGE_IMPL(pss_net_shutdown) +BRIDGE_IMPL(pss_net_socket) +BRIDGE_IMPL(pss_net_socket_close) +BRIDGE_IMPL(pss_prng_fill) +BRIDGE_IMPL(pss_resume_thread) +BRIDGE_IMPL(pss_set_thread_context) +BRIDGE_IMPL(pss_set_win32_filetime) +BRIDGE_IMPL(pss_signal_semaphore) +BRIDGE_IMPL(pss_supports_fast_tls) +BRIDGE_IMPL(pss_suspend_thread) +BRIDGE_IMPL(pss_threads_initialize) +BRIDGE_IMPL(pss_usb_transport_close1) +BRIDGE_IMPL(pss_usb_transport_close2) +BRIDGE_IMPL(pss_usb_transport_connect) +BRIDGE_IMPL(pss_usb_transport_recv) +BRIDGE_IMPL(pss_usb_transport_send) +BRIDGE_IMPL(pss_wait_semaphore) +BRIDGE_IMPL(pthread_attr_init) +BRIDGE_IMPL(pthread_attr_setstacksize) +BRIDGE_IMPL(pthread_cleanup_pop_) +BRIDGE_IMPL(pthread_cleanup_push_) +BRIDGE_IMPL(pthread_cond_broadcast) +BRIDGE_IMPL(pthread_cond_destroy) +BRIDGE_IMPL(pthread_cond_init) +BRIDGE_IMPL(pthread_cond_signal) +BRIDGE_IMPL(pthread_cond_timedwait) +BRIDGE_IMPL(pthread_cond_wait) +BRIDGE_IMPL(pthread_create) +BRIDGE_IMPL(pthread_detach) +BRIDGE_IMPL(pthread_equal) +BRIDGE_IMPL(pthread_exit) +BRIDGE_IMPL(pthread_getspecific) +BRIDGE_IMPL(pthread_getspecific_for_thread) +BRIDGE_IMPL(pthread_join) +BRIDGE_IMPL(pthread_key_create) +BRIDGE_IMPL(pthread_key_delete) +BRIDGE_IMPL(pthread_mutex_destroy) +BRIDGE_IMPL(pthread_mutex_init) +BRIDGE_IMPL(pthread_mutex_lock) +BRIDGE_IMPL(pthread_mutex_trylock) +BRIDGE_IMPL(pthread_mutex_unlock) +BRIDGE_IMPL(pthread_mutexattr_destroy) +BRIDGE_IMPL(pthread_mutexattr_init) +BRIDGE_IMPL(pthread_mutexattr_settype) +BRIDGE_IMPL(pthread_self) +BRIDGE_IMPL(pthread_setspecific) +BRIDGE_IMPL(pthread_vita_tls_create_np) +BRIDGE_IMPL(pthread_vita_tls_get_np) +BRIDGE_IMPL(pthread_vita_tls_set_np) +BRIDGE_IMPL(sched_yield) +BRIDGE_IMPL(unlink) diff --git a/src/emulator/modules/SceLibNetCtl/CMakeLists.txt b/src/emulator/modules/SceLibNetCtl/CMakeLists.txt new file mode 100644 index 000000000..8b92f669c --- /dev/null +++ b/src/emulator/modules/SceLibNetCtl/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibNetCtl STATIC include/SceLibNetCtl/exports.h src/SceNetCtl.cpp) +target_include_directories(SceLibNetCtl PUBLIC include) +target_link_libraries(SceLibNetCtl PRIVATE module) diff --git a/src/emulator/modules/SceLibNetCtl/include/SceLibNetCtl/exports.h b/src/emulator/modules/SceLibNetCtl/include/SceLibNetCtl/exports.h new file mode 100644 index 000000000..0e1b3eb6e --- /dev/null +++ b/src/emulator/modules/SceLibNetCtl/include/SceLibNetCtl/exports.h @@ -0,0 +1,40 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNetCtl +BRIDGE_DECL(sceNetCtlAdhocDisconnect) +BRIDGE_DECL(sceNetCtlAdhocGetInAddr) +BRIDGE_DECL(sceNetCtlAdhocGetPeerList) +BRIDGE_DECL(sceNetCtlAdhocGetResult) +BRIDGE_DECL(sceNetCtlAdhocGetState) +BRIDGE_DECL(sceNetCtlAdhocRegisterCallback) +BRIDGE_DECL(sceNetCtlAdhocUnregisterCallback) +BRIDGE_DECL(sceNetCtlCheckCallback) +BRIDGE_DECL(sceNetCtlGetIfStat) +BRIDGE_DECL(sceNetCtlGetNatInfo) +BRIDGE_DECL(sceNetCtlGetPhoneMaxDownloadableSize) +BRIDGE_DECL(sceNetCtlInetGetInfo) +BRIDGE_DECL(sceNetCtlInetGetResult) +BRIDGE_DECL(sceNetCtlInetGetState) +BRIDGE_DECL(sceNetCtlInetRegisterCallback) +BRIDGE_DECL(sceNetCtlInetUnregisterCallback) +BRIDGE_DECL(sceNetCtlInit) +BRIDGE_DECL(sceNetCtlTerm) diff --git a/src/emulator/modules/SceLibNetCtl/src/SceNetCtl.cpp b/src/emulator/modules/SceLibNetCtl/src/SceNetCtl.cpp new file mode 100644 index 000000000..3ce738cd2 --- /dev/null +++ b/src/emulator/modules/SceLibNetCtl/src/SceNetCtl.cpp @@ -0,0 +1,109 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNetCtlAdhocDisconnect) { + return unimplemented("sceNetCtlAdhocDisconnect"); +} + +EXPORT(int, sceNetCtlAdhocGetInAddr) { + return unimplemented("sceNetCtlAdhocGetInAddr"); +} + +EXPORT(int, sceNetCtlAdhocGetPeerList) { + return unimplemented("sceNetCtlAdhocGetPeerList"); +} + +EXPORT(int, sceNetCtlAdhocGetResult) { + return unimplemented("sceNetCtlAdhocGetResult"); +} + +EXPORT(int, sceNetCtlAdhocGetState) { + return unimplemented("sceNetCtlAdhocGetState"); +} + +EXPORT(int, sceNetCtlAdhocRegisterCallback) { + return unimplemented("sceNetCtlAdhocRegisterCallback"); +} + +EXPORT(int, sceNetCtlAdhocUnregisterCallback) { + return unimplemented("sceNetCtlAdhocUnregisterCallback"); +} + +EXPORT(int, sceNetCtlCheckCallback) { + return unimplemented("sceNetCtlCheckCallback"); +} + +EXPORT(int, sceNetCtlGetIfStat) { + return unimplemented("sceNetCtlGetIfStat"); +} + +EXPORT(int, sceNetCtlGetNatInfo) { + return unimplemented("sceNetCtlGetNatInfo"); +} + +EXPORT(int, sceNetCtlGetPhoneMaxDownloadableSize) { + return unimplemented("sceNetCtlGetPhoneMaxDownloadableSize"); +} + +EXPORT(int, sceNetCtlInetGetInfo) { + return unimplemented("sceNetCtlInetGetInfo"); +} + +EXPORT(int, sceNetCtlInetGetResult) { + return unimplemented("sceNetCtlInetGetResult"); +} + +EXPORT(int, sceNetCtlInetGetState) { + return unimplemented("sceNetCtlInetGetState"); +} + +EXPORT(int, sceNetCtlInetRegisterCallback) { + return unimplemented("sceNetCtlInetRegisterCallback"); +} + +EXPORT(int, sceNetCtlInetUnregisterCallback) { + return unimplemented("sceNetCtlInetUnregisterCallback"); +} + +EXPORT(int, sceNetCtlInit) { + return unimplemented("sceNetCtlInit"); +} + +EXPORT(int, sceNetCtlTerm) { + return unimplemented("sceNetCtlTerm"); +} + +BRIDGE_IMPL(sceNetCtlAdhocDisconnect) +BRIDGE_IMPL(sceNetCtlAdhocGetInAddr) +BRIDGE_IMPL(sceNetCtlAdhocGetPeerList) +BRIDGE_IMPL(sceNetCtlAdhocGetResult) +BRIDGE_IMPL(sceNetCtlAdhocGetState) +BRIDGE_IMPL(sceNetCtlAdhocRegisterCallback) +BRIDGE_IMPL(sceNetCtlAdhocUnregisterCallback) +BRIDGE_IMPL(sceNetCtlCheckCallback) +BRIDGE_IMPL(sceNetCtlGetIfStat) +BRIDGE_IMPL(sceNetCtlGetNatInfo) +BRIDGE_IMPL(sceNetCtlGetPhoneMaxDownloadableSize) +BRIDGE_IMPL(sceNetCtlInetGetInfo) +BRIDGE_IMPL(sceNetCtlInetGetResult) +BRIDGE_IMPL(sceNetCtlInetGetState) +BRIDGE_IMPL(sceNetCtlInetRegisterCallback) +BRIDGE_IMPL(sceNetCtlInetUnregisterCallback) +BRIDGE_IMPL(sceNetCtlInit) +BRIDGE_IMPL(sceNetCtlTerm) diff --git a/src/emulator/modules/SceLibPgf/CMakeLists.txt b/src/emulator/modules/SceLibPgf/CMakeLists.txt new file mode 100644 index 000000000..c46563a35 --- /dev/null +++ b/src/emulator/modules/SceLibPgf/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibPgf STATIC include/SceLibPgf/exports.h src/ScePgf.cpp) +target_include_directories(SceLibPgf PUBLIC include) +target_link_libraries(SceLibPgf PRIVATE module) diff --git a/src/emulator/modules/SceLibPgf/include/SceLibPgf/exports.h b/src/emulator/modules/SceLibPgf/include/SceLibPgf/exports.h new file mode 100644 index 000000000..1e0239bc1 --- /dev/null +++ b/src/emulator/modules/SceLibPgf/include/SceLibPgf/exports.h @@ -0,0 +1,45 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePgf +BRIDGE_DECL(sceFontClose) +BRIDGE_DECL(sceFontDoneLib) +BRIDGE_DECL(sceFontFindFont) +BRIDGE_DECL(sceFontFindOptimumFont) +BRIDGE_DECL(sceFontFlush) +BRIDGE_DECL(sceFontGetCharGlyphImage) +BRIDGE_DECL(sceFontGetCharGlyphImage_Clip) +BRIDGE_DECL(sceFontGetCharImageRect) +BRIDGE_DECL(sceFontGetCharInfo) +BRIDGE_DECL(sceFontGetFontInfo) +BRIDGE_DECL(sceFontGetFontInfoByIndexNumber) +BRIDGE_DECL(sceFontGetFontList) +BRIDGE_DECL(sceFontGetNumFontList) +BRIDGE_DECL(sceFontNewLib) +BRIDGE_DECL(sceFontOpen) +BRIDGE_DECL(sceFontOpenUserFile) +BRIDGE_DECL(sceFontOpenUserMemory) +BRIDGE_DECL(sceFontPixelToPointH) +BRIDGE_DECL(sceFontPixelToPointV) +BRIDGE_DECL(sceFontPointToPixelH) +BRIDGE_DECL(sceFontPointToPixelV) +BRIDGE_DECL(sceFontSetAltCharacterCode) +BRIDGE_DECL(sceFontSetResolution) diff --git a/src/emulator/modules/SceLibPgf/src/ScePgf.cpp b/src/emulator/modules/SceLibPgf/src/ScePgf.cpp new file mode 100644 index 000000000..2f3c99411 --- /dev/null +++ b/src/emulator/modules/SceLibPgf/src/ScePgf.cpp @@ -0,0 +1,134 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceFontClose) { + return unimplemented("sceFontClose"); +} + +EXPORT(int, sceFontDoneLib) { + return unimplemented("sceFontDoneLib"); +} + +EXPORT(int, sceFontFindFont) { + return unimplemented("sceFontFindFont"); +} + +EXPORT(int, sceFontFindOptimumFont) { + return unimplemented("sceFontFindOptimumFont"); +} + +EXPORT(int, sceFontFlush) { + return unimplemented("sceFontFlush"); +} + +EXPORT(int, sceFontGetCharGlyphImage) { + return unimplemented("sceFontGetCharGlyphImage"); +} + +EXPORT(int, sceFontGetCharGlyphImage_Clip) { + return unimplemented("sceFontGetCharGlyphImage_Clip"); +} + +EXPORT(int, sceFontGetCharImageRect) { + return unimplemented("sceFontGetCharImageRect"); +} + +EXPORT(int, sceFontGetCharInfo) { + return unimplemented("sceFontGetCharInfo"); +} + +EXPORT(int, sceFontGetFontInfo) { + return unimplemented("sceFontGetFontInfo"); +} + +EXPORT(int, sceFontGetFontInfoByIndexNumber) { + return unimplemented("sceFontGetFontInfoByIndexNumber"); +} + +EXPORT(int, sceFontGetFontList) { + return unimplemented("sceFontGetFontList"); +} + +EXPORT(int, sceFontGetNumFontList) { + return unimplemented("sceFontGetNumFontList"); +} + +EXPORT(int, sceFontNewLib) { + return unimplemented("sceFontNewLib"); +} + +EXPORT(int, sceFontOpen) { + return unimplemented("sceFontOpen"); +} + +EXPORT(int, sceFontOpenUserFile) { + return unimplemented("sceFontOpenUserFile"); +} + +EXPORT(int, sceFontOpenUserMemory) { + return unimplemented("sceFontOpenUserMemory"); +} + +EXPORT(int, sceFontPixelToPointH) { + return unimplemented("sceFontPixelToPointH"); +} + +EXPORT(int, sceFontPixelToPointV) { + return unimplemented("sceFontPixelToPointV"); +} + +EXPORT(int, sceFontPointToPixelH) { + return unimplemented("sceFontPointToPixelH"); +} + +EXPORT(int, sceFontPointToPixelV) { + return unimplemented("sceFontPointToPixelV"); +} + +EXPORT(int, sceFontSetAltCharacterCode) { + return unimplemented("sceFontSetAltCharacterCode"); +} + +EXPORT(int, sceFontSetResolution) { + return unimplemented("sceFontSetResolution"); +} + +BRIDGE_IMPL(sceFontClose) +BRIDGE_IMPL(sceFontDoneLib) +BRIDGE_IMPL(sceFontFindFont) +BRIDGE_IMPL(sceFontFindOptimumFont) +BRIDGE_IMPL(sceFontFlush) +BRIDGE_IMPL(sceFontGetCharGlyphImage) +BRIDGE_IMPL(sceFontGetCharGlyphImage_Clip) +BRIDGE_IMPL(sceFontGetCharImageRect) +BRIDGE_IMPL(sceFontGetCharInfo) +BRIDGE_IMPL(sceFontGetFontInfo) +BRIDGE_IMPL(sceFontGetFontInfoByIndexNumber) +BRIDGE_IMPL(sceFontGetFontList) +BRIDGE_IMPL(sceFontGetNumFontList) +BRIDGE_IMPL(sceFontNewLib) +BRIDGE_IMPL(sceFontOpen) +BRIDGE_IMPL(sceFontOpenUserFile) +BRIDGE_IMPL(sceFontOpenUserMemory) +BRIDGE_IMPL(sceFontPixelToPointH) +BRIDGE_IMPL(sceFontPixelToPointV) +BRIDGE_IMPL(sceFontPointToPixelH) +BRIDGE_IMPL(sceFontPointToPixelV) +BRIDGE_IMPL(sceFontSetAltCharacterCode) +BRIDGE_IMPL(sceFontSetResolution) diff --git a/src/emulator/modules/SceLibPspnetAdhoc/CMakeLists.txt b/src/emulator/modules/SceLibPspnetAdhoc/CMakeLists.txt new file mode 100644 index 000000000..14f799333 --- /dev/null +++ b/src/emulator/modules/SceLibPspnetAdhoc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibPspnetAdhoc STATIC include/SceLibPspnetAdhoc/exports.h src/ScePspnetAdhoc.cpp) +target_include_directories(SceLibPspnetAdhoc PUBLIC include) +target_link_libraries(SceLibPspnetAdhoc PRIVATE module) diff --git a/src/emulator/modules/SceLibPspnetAdhoc/include/SceLibPspnetAdhoc/exports.h b/src/emulator/modules/SceLibPspnetAdhoc/include/SceLibPspnetAdhoc/exports.h new file mode 100644 index 000000000..19751f5d9 --- /dev/null +++ b/src/emulator/modules/SceLibPspnetAdhoc/include/SceLibPspnetAdhoc/exports.h @@ -0,0 +1,50 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePspnetAdhoc +BRIDGE_DECL(sceNetAdhocGetPdpStat) +BRIDGE_DECL(sceNetAdhocGetPtpStat) +BRIDGE_DECL(sceNetAdhocGetSocketAlert) +BRIDGE_DECL(sceNetAdhocInit) +BRIDGE_DECL(sceNetAdhocPdpCreate) +BRIDGE_DECL(sceNetAdhocPdpDelete) +BRIDGE_DECL(sceNetAdhocPdpRecv) +BRIDGE_DECL(sceNetAdhocPdpSend) +BRIDGE_DECL(sceNetAdhocPollSocket) +BRIDGE_DECL(sceNetAdhocPtpAccept) +BRIDGE_DECL(sceNetAdhocPtpClose) +BRIDGE_DECL(sceNetAdhocPtpConnect) +BRIDGE_DECL(sceNetAdhocPtpFlush) +BRIDGE_DECL(sceNetAdhocPtpListen) +BRIDGE_DECL(sceNetAdhocPtpOpen) +BRIDGE_DECL(sceNetAdhocPtpRecv) +BRIDGE_DECL(sceNetAdhocPtpSend) +BRIDGE_DECL(sceNetAdhocSetSocketAlert) +BRIDGE_DECL(sceNetAdhocTerm) +BRIDGE_DECL(sceNetAdhocctlGetAddrByName) +BRIDGE_DECL(sceNetAdhocctlGetAdhocId) +BRIDGE_DECL(sceNetAdhocctlGetEtherAddr) +BRIDGE_DECL(sceNetAdhocctlGetNameByAddr) +BRIDGE_DECL(sceNetAdhocctlGetParameter) +BRIDGE_DECL(sceNetAdhocctlGetPeerInfo) +BRIDGE_DECL(sceNetAdhocctlGetPeerList) +BRIDGE_DECL(sceNetAdhocctlInit) +BRIDGE_DECL(sceNetAdhocctlTerm) diff --git a/src/emulator/modules/SceLibPspnetAdhoc/src/ScePspnetAdhoc.cpp b/src/emulator/modules/SceLibPspnetAdhoc/src/ScePspnetAdhoc.cpp new file mode 100644 index 000000000..8c89e3be7 --- /dev/null +++ b/src/emulator/modules/SceLibPspnetAdhoc/src/ScePspnetAdhoc.cpp @@ -0,0 +1,159 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNetAdhocGetPdpStat) { + return unimplemented("sceNetAdhocGetPdpStat"); +} + +EXPORT(int, sceNetAdhocGetPtpStat) { + return unimplemented("sceNetAdhocGetPtpStat"); +} + +EXPORT(int, sceNetAdhocGetSocketAlert) { + return unimplemented("sceNetAdhocGetSocketAlert"); +} + +EXPORT(int, sceNetAdhocInit) { + return unimplemented("sceNetAdhocInit"); +} + +EXPORT(int, sceNetAdhocPdpCreate) { + return unimplemented("sceNetAdhocPdpCreate"); +} + +EXPORT(int, sceNetAdhocPdpDelete) { + return unimplemented("sceNetAdhocPdpDelete"); +} + +EXPORT(int, sceNetAdhocPdpRecv) { + return unimplemented("sceNetAdhocPdpRecv"); +} + +EXPORT(int, sceNetAdhocPdpSend) { + return unimplemented("sceNetAdhocPdpSend"); +} + +EXPORT(int, sceNetAdhocPollSocket) { + return unimplemented("sceNetAdhocPollSocket"); +} + +EXPORT(int, sceNetAdhocPtpAccept) { + return unimplemented("sceNetAdhocPtpAccept"); +} + +EXPORT(int, sceNetAdhocPtpClose) { + return unimplemented("sceNetAdhocPtpClose"); +} + +EXPORT(int, sceNetAdhocPtpConnect) { + return unimplemented("sceNetAdhocPtpConnect"); +} + +EXPORT(int, sceNetAdhocPtpFlush) { + return unimplemented("sceNetAdhocPtpFlush"); +} + +EXPORT(int, sceNetAdhocPtpListen) { + return unimplemented("sceNetAdhocPtpListen"); +} + +EXPORT(int, sceNetAdhocPtpOpen) { + return unimplemented("sceNetAdhocPtpOpen"); +} + +EXPORT(int, sceNetAdhocPtpRecv) { + return unimplemented("sceNetAdhocPtpRecv"); +} + +EXPORT(int, sceNetAdhocPtpSend) { + return unimplemented("sceNetAdhocPtpSend"); +} + +EXPORT(int, sceNetAdhocSetSocketAlert) { + return unimplemented("sceNetAdhocSetSocketAlert"); +} + +EXPORT(int, sceNetAdhocTerm) { + return unimplemented("sceNetAdhocTerm"); +} + +EXPORT(int, sceNetAdhocctlGetAddrByName) { + return unimplemented("sceNetAdhocctlGetAddrByName"); +} + +EXPORT(int, sceNetAdhocctlGetAdhocId) { + return unimplemented("sceNetAdhocctlGetAdhocId"); +} + +EXPORT(int, sceNetAdhocctlGetEtherAddr) { + return unimplemented("sceNetAdhocctlGetEtherAddr"); +} + +EXPORT(int, sceNetAdhocctlGetNameByAddr) { + return unimplemented("sceNetAdhocctlGetNameByAddr"); +} + +EXPORT(int, sceNetAdhocctlGetParameter) { + return unimplemented("sceNetAdhocctlGetParameter"); +} + +EXPORT(int, sceNetAdhocctlGetPeerInfo) { + return unimplemented("sceNetAdhocctlGetPeerInfo"); +} + +EXPORT(int, sceNetAdhocctlGetPeerList) { + return unimplemented("sceNetAdhocctlGetPeerList"); +} + +EXPORT(int, sceNetAdhocctlInit) { + return unimplemented("sceNetAdhocctlInit"); +} + +EXPORT(int, sceNetAdhocctlTerm) { + return unimplemented("sceNetAdhocctlTerm"); +} + +BRIDGE_IMPL(sceNetAdhocGetPdpStat) +BRIDGE_IMPL(sceNetAdhocGetPtpStat) +BRIDGE_IMPL(sceNetAdhocGetSocketAlert) +BRIDGE_IMPL(sceNetAdhocInit) +BRIDGE_IMPL(sceNetAdhocPdpCreate) +BRIDGE_IMPL(sceNetAdhocPdpDelete) +BRIDGE_IMPL(sceNetAdhocPdpRecv) +BRIDGE_IMPL(sceNetAdhocPdpSend) +BRIDGE_IMPL(sceNetAdhocPollSocket) +BRIDGE_IMPL(sceNetAdhocPtpAccept) +BRIDGE_IMPL(sceNetAdhocPtpClose) +BRIDGE_IMPL(sceNetAdhocPtpConnect) +BRIDGE_IMPL(sceNetAdhocPtpFlush) +BRIDGE_IMPL(sceNetAdhocPtpListen) +BRIDGE_IMPL(sceNetAdhocPtpOpen) +BRIDGE_IMPL(sceNetAdhocPtpRecv) +BRIDGE_IMPL(sceNetAdhocPtpSend) +BRIDGE_IMPL(sceNetAdhocSetSocketAlert) +BRIDGE_IMPL(sceNetAdhocTerm) +BRIDGE_IMPL(sceNetAdhocctlGetAddrByName) +BRIDGE_IMPL(sceNetAdhocctlGetAdhocId) +BRIDGE_IMPL(sceNetAdhocctlGetEtherAddr) +BRIDGE_IMPL(sceNetAdhocctlGetNameByAddr) +BRIDGE_IMPL(sceNetAdhocctlGetParameter) +BRIDGE_IMPL(sceNetAdhocctlGetPeerInfo) +BRIDGE_IMPL(sceNetAdhocctlGetPeerList) +BRIDGE_IMPL(sceNetAdhocctlInit) +BRIDGE_IMPL(sceNetAdhocctlTerm) diff --git a/src/emulator/modules/SceLibPvf/CMakeLists.txt b/src/emulator/modules/SceLibPvf/CMakeLists.txt new file mode 100644 index 000000000..7ba2bcc57 --- /dev/null +++ b/src/emulator/modules/SceLibPvf/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibPvf STATIC include/SceLibPvf/exports.h src/ScePvf.cpp) +target_include_directories(SceLibPvf PUBLIC include) +target_link_libraries(SceLibPvf PRIVATE module) diff --git a/src/emulator/modules/SceLibPvf/include/SceLibPvf/exports.h b/src/emulator/modules/SceLibPvf/include/SceLibPvf/exports.h new file mode 100644 index 000000000..0a41f8ee7 --- /dev/null +++ b/src/emulator/modules/SceLibPvf/include/SceLibPvf/exports.h @@ -0,0 +1,65 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePvf +BRIDGE_DECL(__scePvfSetFt2DoneLibCHook) +BRIDGE_DECL(__scePvfSetFt2LibCHook) +BRIDGE_DECL(scePvfClose) +BRIDGE_DECL(scePvfDoneLib) +BRIDGE_DECL(scePvfFindFont) +BRIDGE_DECL(scePvfFindOptimumFont) +BRIDGE_DECL(scePvfFlush) +BRIDGE_DECL(scePvfGetCharGlyphImage) +BRIDGE_DECL(scePvfGetCharGlyphImage_Clip) +BRIDGE_DECL(scePvfGetCharGlyphOutline) +BRIDGE_DECL(scePvfGetCharImageRect) +BRIDGE_DECL(scePvfGetCharInfo) +BRIDGE_DECL(scePvfGetFontInfo) +BRIDGE_DECL(scePvfGetFontInfoByIndexNumber) +BRIDGE_DECL(scePvfGetFontList) +BRIDGE_DECL(scePvfGetKerningInfo) +BRIDGE_DECL(scePvfGetNumFontList) +BRIDGE_DECL(scePvfGetVertCharGlyphImage) +BRIDGE_DECL(scePvfGetVertCharGlyphImage_Clip) +BRIDGE_DECL(scePvfGetVertCharGlyphOutline) +BRIDGE_DECL(scePvfGetVertCharImageRect) +BRIDGE_DECL(scePvfGetVertCharInfo) +BRIDGE_DECL(scePvfIsElement) +BRIDGE_DECL(scePvfIsVertElement) +BRIDGE_DECL(scePvfNewLib) +BRIDGE_DECL(scePvfOpen) +BRIDGE_DECL(scePvfOpenDefaultJapaneseFontOnSharedMemory) +BRIDGE_DECL(scePvfOpenDefaultLatinFontOnSharedMemory) +BRIDGE_DECL(scePvfOpenUserFile) +BRIDGE_DECL(scePvfOpenUserFileWithSubfontIndex) +BRIDGE_DECL(scePvfOpenUserMemory) +BRIDGE_DECL(scePvfOpenUserMemoryWithSubfontIndex) +BRIDGE_DECL(scePvfPixelToPointH) +BRIDGE_DECL(scePvfPixelToPointV) +BRIDGE_DECL(scePvfPointToPixelH) +BRIDGE_DECL(scePvfPointToPixelV) +BRIDGE_DECL(scePvfReleaseCharGlyphOutline) +BRIDGE_DECL(scePvfSetAltCharacterCode) +BRIDGE_DECL(scePvfSetCharSize) +BRIDGE_DECL(scePvfSetEM) +BRIDGE_DECL(scePvfSetEmboldenRate) +BRIDGE_DECL(scePvfSetResolution) +BRIDGE_DECL(scePvfSetSkewValue) diff --git a/src/emulator/modules/SceLibPvf/src/ScePvf.cpp b/src/emulator/modules/SceLibPvf/src/ScePvf.cpp new file mode 100644 index 000000000..52a67edff --- /dev/null +++ b/src/emulator/modules/SceLibPvf/src/ScePvf.cpp @@ -0,0 +1,234 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, __scePvfSetFt2DoneLibCHook) { + return unimplemented("__scePvfSetFt2DoneLibCHook"); +} + +EXPORT(int, __scePvfSetFt2LibCHook) { + return unimplemented("__scePvfSetFt2LibCHook"); +} + +EXPORT(int, scePvfClose) { + return unimplemented("scePvfClose"); +} + +EXPORT(int, scePvfDoneLib) { + return unimplemented("scePvfDoneLib"); +} + +EXPORT(int, scePvfFindFont) { + return unimplemented("scePvfFindFont"); +} + +EXPORT(int, scePvfFindOptimumFont) { + return unimplemented("scePvfFindOptimumFont"); +} + +EXPORT(int, scePvfFlush) { + return unimplemented("scePvfFlush"); +} + +EXPORT(int, scePvfGetCharGlyphImage) { + return unimplemented("scePvfGetCharGlyphImage"); +} + +EXPORT(int, scePvfGetCharGlyphImage_Clip) { + return unimplemented("scePvfGetCharGlyphImage_Clip"); +} + +EXPORT(int, scePvfGetCharGlyphOutline) { + return unimplemented("scePvfGetCharGlyphOutline"); +} + +EXPORT(int, scePvfGetCharImageRect) { + return unimplemented("scePvfGetCharImageRect"); +} + +EXPORT(int, scePvfGetCharInfo) { + return unimplemented("scePvfGetCharInfo"); +} + +EXPORT(int, scePvfGetFontInfo) { + return unimplemented("scePvfGetFontInfo"); +} + +EXPORT(int, scePvfGetFontInfoByIndexNumber) { + return unimplemented("scePvfGetFontInfoByIndexNumber"); +} + +EXPORT(int, scePvfGetFontList) { + return unimplemented("scePvfGetFontList"); +} + +EXPORT(int, scePvfGetKerningInfo) { + return unimplemented("scePvfGetKerningInfo"); +} + +EXPORT(int, scePvfGetNumFontList) { + return unimplemented("scePvfGetNumFontList"); +} + +EXPORT(int, scePvfGetVertCharGlyphImage) { + return unimplemented("scePvfGetVertCharGlyphImage"); +} + +EXPORT(int, scePvfGetVertCharGlyphImage_Clip) { + return unimplemented("scePvfGetVertCharGlyphImage_Clip"); +} + +EXPORT(int, scePvfGetVertCharGlyphOutline) { + return unimplemented("scePvfGetVertCharGlyphOutline"); +} + +EXPORT(int, scePvfGetVertCharImageRect) { + return unimplemented("scePvfGetVertCharImageRect"); +} + +EXPORT(int, scePvfGetVertCharInfo) { + return unimplemented("scePvfGetVertCharInfo"); +} + +EXPORT(int, scePvfIsElement) { + return unimplemented("scePvfIsElement"); +} + +EXPORT(int, scePvfIsVertElement) { + return unimplemented("scePvfIsVertElement"); +} + +EXPORT(int, scePvfNewLib) { + return unimplemented("scePvfNewLib"); +} + +EXPORT(int, scePvfOpen) { + return unimplemented("scePvfOpen"); +} + +EXPORT(int, scePvfOpenDefaultJapaneseFontOnSharedMemory) { + return unimplemented("scePvfOpenDefaultJapaneseFontOnSharedMemory"); +} + +EXPORT(int, scePvfOpenDefaultLatinFontOnSharedMemory) { + return unimplemented("scePvfOpenDefaultLatinFontOnSharedMemory"); +} + +EXPORT(int, scePvfOpenUserFile) { + return unimplemented("scePvfOpenUserFile"); +} + +EXPORT(int, scePvfOpenUserFileWithSubfontIndex) { + return unimplemented("scePvfOpenUserFileWithSubfontIndex"); +} + +EXPORT(int, scePvfOpenUserMemory) { + return unimplemented("scePvfOpenUserMemory"); +} + +EXPORT(int, scePvfOpenUserMemoryWithSubfontIndex) { + return unimplemented("scePvfOpenUserMemoryWithSubfontIndex"); +} + +EXPORT(int, scePvfPixelToPointH) { + return unimplemented("scePvfPixelToPointH"); +} + +EXPORT(int, scePvfPixelToPointV) { + return unimplemented("scePvfPixelToPointV"); +} + +EXPORT(int, scePvfPointToPixelH) { + return unimplemented("scePvfPointToPixelH"); +} + +EXPORT(int, scePvfPointToPixelV) { + return unimplemented("scePvfPointToPixelV"); +} + +EXPORT(int, scePvfReleaseCharGlyphOutline) { + return unimplemented("scePvfReleaseCharGlyphOutline"); +} + +EXPORT(int, scePvfSetAltCharacterCode) { + return unimplemented("scePvfSetAltCharacterCode"); +} + +EXPORT(int, scePvfSetCharSize) { + return unimplemented("scePvfSetCharSize"); +} + +EXPORT(int, scePvfSetEM) { + return unimplemented("scePvfSetEM"); +} + +EXPORT(int, scePvfSetEmboldenRate) { + return unimplemented("scePvfSetEmboldenRate"); +} + +EXPORT(int, scePvfSetResolution) { + return unimplemented("scePvfSetResolution"); +} + +EXPORT(int, scePvfSetSkewValue) { + return unimplemented("scePvfSetSkewValue"); +} + +BRIDGE_IMPL(__scePvfSetFt2DoneLibCHook) +BRIDGE_IMPL(__scePvfSetFt2LibCHook) +BRIDGE_IMPL(scePvfClose) +BRIDGE_IMPL(scePvfDoneLib) +BRIDGE_IMPL(scePvfFindFont) +BRIDGE_IMPL(scePvfFindOptimumFont) +BRIDGE_IMPL(scePvfFlush) +BRIDGE_IMPL(scePvfGetCharGlyphImage) +BRIDGE_IMPL(scePvfGetCharGlyphImage_Clip) +BRIDGE_IMPL(scePvfGetCharGlyphOutline) +BRIDGE_IMPL(scePvfGetCharImageRect) +BRIDGE_IMPL(scePvfGetCharInfo) +BRIDGE_IMPL(scePvfGetFontInfo) +BRIDGE_IMPL(scePvfGetFontInfoByIndexNumber) +BRIDGE_IMPL(scePvfGetFontList) +BRIDGE_IMPL(scePvfGetKerningInfo) +BRIDGE_IMPL(scePvfGetNumFontList) +BRIDGE_IMPL(scePvfGetVertCharGlyphImage) +BRIDGE_IMPL(scePvfGetVertCharGlyphImage_Clip) +BRIDGE_IMPL(scePvfGetVertCharGlyphOutline) +BRIDGE_IMPL(scePvfGetVertCharImageRect) +BRIDGE_IMPL(scePvfGetVertCharInfo) +BRIDGE_IMPL(scePvfIsElement) +BRIDGE_IMPL(scePvfIsVertElement) +BRIDGE_IMPL(scePvfNewLib) +BRIDGE_IMPL(scePvfOpen) +BRIDGE_IMPL(scePvfOpenDefaultJapaneseFontOnSharedMemory) +BRIDGE_IMPL(scePvfOpenDefaultLatinFontOnSharedMemory) +BRIDGE_IMPL(scePvfOpenUserFile) +BRIDGE_IMPL(scePvfOpenUserFileWithSubfontIndex) +BRIDGE_IMPL(scePvfOpenUserMemory) +BRIDGE_IMPL(scePvfOpenUserMemoryWithSubfontIndex) +BRIDGE_IMPL(scePvfPixelToPointH) +BRIDGE_IMPL(scePvfPixelToPointV) +BRIDGE_IMPL(scePvfPointToPixelH) +BRIDGE_IMPL(scePvfPointToPixelV) +BRIDGE_IMPL(scePvfReleaseCharGlyphOutline) +BRIDGE_IMPL(scePvfSetAltCharacterCode) +BRIDGE_IMPL(scePvfSetCharSize) +BRIDGE_IMPL(scePvfSetEM) +BRIDGE_IMPL(scePvfSetEmboldenRate) +BRIDGE_IMPL(scePvfSetResolution) +BRIDGE_IMPL(scePvfSetSkewValue) diff --git a/src/emulator/modules/SceLibRudp/CMakeLists.txt b/src/emulator/modules/SceLibRudp/CMakeLists.txt new file mode 100644 index 000000000..0770de422 --- /dev/null +++ b/src/emulator/modules/SceLibRudp/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibRudp STATIC include/SceLibRudp/exports.h src/SceLibRudp.cpp) +target_include_directories(SceLibRudp PUBLIC include) +target_link_libraries(SceLibRudp PRIVATE module) diff --git a/src/emulator/modules/SceLibRudp/include/SceLibRudp/exports.h b/src/emulator/modules/SceLibRudp/include/SceLibRudp/exports.h new file mode 100644 index 000000000..fe1b5019d --- /dev/null +++ b/src/emulator/modules/SceLibRudp/include/SceLibRudp/exports.h @@ -0,0 +1,52 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibRudp +BRIDGE_DECL(sceRudpActivate) +BRIDGE_DECL(sceRudpBind) +BRIDGE_DECL(sceRudpCreateContext) +BRIDGE_DECL(sceRudpEnableInternalIOThread) +BRIDGE_DECL(sceRudpEnd) +BRIDGE_DECL(sceRudpFlush) +BRIDGE_DECL(sceRudpGetContextStatus) +BRIDGE_DECL(sceRudpGetLocalInfo) +BRIDGE_DECL(sceRudpGetMaxSegmentSize) +BRIDGE_DECL(sceRudpGetNumberOfPacketsToRead) +BRIDGE_DECL(sceRudpGetOption) +BRIDGE_DECL(sceRudpGetRemoteInfo) +BRIDGE_DECL(sceRudpGetSizeReadable) +BRIDGE_DECL(sceRudpGetSizeWritable) +BRIDGE_DECL(sceRudpGetStatus) +BRIDGE_DECL(sceRudpInit) +BRIDGE_DECL(sceRudpInitiate) +BRIDGE_DECL(sceRudpNetReceived) +BRIDGE_DECL(sceRudpPollCancel) +BRIDGE_DECL(sceRudpPollControl) +BRIDGE_DECL(sceRudpPollCreate) +BRIDGE_DECL(sceRudpPollDestroy) +BRIDGE_DECL(sceRudpPollWait) +BRIDGE_DECL(sceRudpProcessEvents) +BRIDGE_DECL(sceRudpRead) +BRIDGE_DECL(sceRudpSetEventHandler) +BRIDGE_DECL(sceRudpSetMaxSegmentSize) +BRIDGE_DECL(sceRudpSetOption) +BRIDGE_DECL(sceRudpTerminate) +BRIDGE_DECL(sceRudpWrite) diff --git a/src/emulator/modules/SceLibRudp/src/SceLibRudp.cpp b/src/emulator/modules/SceLibRudp/src/SceLibRudp.cpp new file mode 100644 index 000000000..1493c5d10 --- /dev/null +++ b/src/emulator/modules/SceLibRudp/src/SceLibRudp.cpp @@ -0,0 +1,169 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRudpActivate) { + return unimplemented("sceRudpActivate"); +} + +EXPORT(int, sceRudpBind) { + return unimplemented("sceRudpBind"); +} + +EXPORT(int, sceRudpCreateContext) { + return unimplemented("sceRudpCreateContext"); +} + +EXPORT(int, sceRudpEnableInternalIOThread) { + return unimplemented("sceRudpEnableInternalIOThread"); +} + +EXPORT(int, sceRudpEnd) { + return unimplemented("sceRudpEnd"); +} + +EXPORT(int, sceRudpFlush) { + return unimplemented("sceRudpFlush"); +} + +EXPORT(int, sceRudpGetContextStatus) { + return unimplemented("sceRudpGetContextStatus"); +} + +EXPORT(int, sceRudpGetLocalInfo) { + return unimplemented("sceRudpGetLocalInfo"); +} + +EXPORT(int, sceRudpGetMaxSegmentSize) { + return unimplemented("sceRudpGetMaxSegmentSize"); +} + +EXPORT(int, sceRudpGetNumberOfPacketsToRead) { + return unimplemented("sceRudpGetNumberOfPacketsToRead"); +} + +EXPORT(int, sceRudpGetOption) { + return unimplemented("sceRudpGetOption"); +} + +EXPORT(int, sceRudpGetRemoteInfo) { + return unimplemented("sceRudpGetRemoteInfo"); +} + +EXPORT(int, sceRudpGetSizeReadable) { + return unimplemented("sceRudpGetSizeReadable"); +} + +EXPORT(int, sceRudpGetSizeWritable) { + return unimplemented("sceRudpGetSizeWritable"); +} + +EXPORT(int, sceRudpGetStatus) { + return unimplemented("sceRudpGetStatus"); +} + +EXPORT(int, sceRudpInit) { + return unimplemented("sceRudpInit"); +} + +EXPORT(int, sceRudpInitiate) { + return unimplemented("sceRudpInitiate"); +} + +EXPORT(int, sceRudpNetReceived) { + return unimplemented("sceRudpNetReceived"); +} + +EXPORT(int, sceRudpPollCancel) { + return unimplemented("sceRudpPollCancel"); +} + +EXPORT(int, sceRudpPollControl) { + return unimplemented("sceRudpPollControl"); +} + +EXPORT(int, sceRudpPollCreate) { + return unimplemented("sceRudpPollCreate"); +} + +EXPORT(int, sceRudpPollDestroy) { + return unimplemented("sceRudpPollDestroy"); +} + +EXPORT(int, sceRudpPollWait) { + return unimplemented("sceRudpPollWait"); +} + +EXPORT(int, sceRudpProcessEvents) { + return unimplemented("sceRudpProcessEvents"); +} + +EXPORT(int, sceRudpRead) { + return unimplemented("sceRudpRead"); +} + +EXPORT(int, sceRudpSetEventHandler) { + return unimplemented("sceRudpSetEventHandler"); +} + +EXPORT(int, sceRudpSetMaxSegmentSize) { + return unimplemented("sceRudpSetMaxSegmentSize"); +} + +EXPORT(int, sceRudpSetOption) { + return unimplemented("sceRudpSetOption"); +} + +EXPORT(int, sceRudpTerminate) { + return unimplemented("sceRudpTerminate"); +} + +EXPORT(int, sceRudpWrite) { + return unimplemented("sceRudpWrite"); +} + +BRIDGE_IMPL(sceRudpActivate) +BRIDGE_IMPL(sceRudpBind) +BRIDGE_IMPL(sceRudpCreateContext) +BRIDGE_IMPL(sceRudpEnableInternalIOThread) +BRIDGE_IMPL(sceRudpEnd) +BRIDGE_IMPL(sceRudpFlush) +BRIDGE_IMPL(sceRudpGetContextStatus) +BRIDGE_IMPL(sceRudpGetLocalInfo) +BRIDGE_IMPL(sceRudpGetMaxSegmentSize) +BRIDGE_IMPL(sceRudpGetNumberOfPacketsToRead) +BRIDGE_IMPL(sceRudpGetOption) +BRIDGE_IMPL(sceRudpGetRemoteInfo) +BRIDGE_IMPL(sceRudpGetSizeReadable) +BRIDGE_IMPL(sceRudpGetSizeWritable) +BRIDGE_IMPL(sceRudpGetStatus) +BRIDGE_IMPL(sceRudpInit) +BRIDGE_IMPL(sceRudpInitiate) +BRIDGE_IMPL(sceRudpNetReceived) +BRIDGE_IMPL(sceRudpPollCancel) +BRIDGE_IMPL(sceRudpPollControl) +BRIDGE_IMPL(sceRudpPollCreate) +BRIDGE_IMPL(sceRudpPollDestroy) +BRIDGE_IMPL(sceRudpPollWait) +BRIDGE_IMPL(sceRudpProcessEvents) +BRIDGE_IMPL(sceRudpRead) +BRIDGE_IMPL(sceRudpSetEventHandler) +BRIDGE_IMPL(sceRudpSetMaxSegmentSize) +BRIDGE_IMPL(sceRudpSetOption) +BRIDGE_IMPL(sceRudpTerminate) +BRIDGE_IMPL(sceRudpWrite) diff --git a/src/emulator/modules/SceLibSsl/CMakeLists.txt b/src/emulator/modules/SceLibSsl/CMakeLists.txt new file mode 100644 index 000000000..b21dcecf6 --- /dev/null +++ b/src/emulator/modules/SceLibSsl/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibSsl STATIC include/SceLibSsl/exports.h src/SceSsl.cpp) +target_include_directories(SceLibSsl PUBLIC include) +target_link_libraries(SceLibSsl PRIVATE module) diff --git a/src/emulator/modules/SceLibSsl/include/SceLibSsl/exports.h b/src/emulator/modules/SceLibSsl/include/SceLibSsl/exports.h new file mode 100644 index 000000000..07e9dc4ba --- /dev/null +++ b/src/emulator/modules/SceLibSsl/include/SceLibSsl/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSsl +BRIDGE_DECL(sceSslFreeSslCertName) +BRIDGE_DECL(sceSslGetIssuerName) +BRIDGE_DECL(sceSslGetMemoryPoolStats) +BRIDGE_DECL(sceSslGetNameEntryCount) +BRIDGE_DECL(sceSslGetNameEntryInfo) +BRIDGE_DECL(sceSslGetNotAfter) +BRIDGE_DECL(sceSslGetNotBefore) +BRIDGE_DECL(sceSslGetSerialNumber) +BRIDGE_DECL(sceSslGetSubjectName) +BRIDGE_DECL(sceSslInit) +BRIDGE_DECL(sceSslTerm) diff --git a/src/emulator/modules/SceLibSsl/src/SceSsl.cpp b/src/emulator/modules/SceLibSsl/src/SceSsl.cpp new file mode 100644 index 000000000..584251db6 --- /dev/null +++ b/src/emulator/modules/SceLibSsl/src/SceSsl.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSslFreeSslCertName) { + return unimplemented("sceSslFreeSslCertName"); +} + +EXPORT(int, sceSslGetIssuerName) { + return unimplemented("sceSslGetIssuerName"); +} + +EXPORT(int, sceSslGetMemoryPoolStats) { + return unimplemented("sceSslGetMemoryPoolStats"); +} + +EXPORT(int, sceSslGetNameEntryCount) { + return unimplemented("sceSslGetNameEntryCount"); +} + +EXPORT(int, sceSslGetNameEntryInfo) { + return unimplemented("sceSslGetNameEntryInfo"); +} + +EXPORT(int, sceSslGetNotAfter) { + return unimplemented("sceSslGetNotAfter"); +} + +EXPORT(int, sceSslGetNotBefore) { + return unimplemented("sceSslGetNotBefore"); +} + +EXPORT(int, sceSslGetSerialNumber) { + return unimplemented("sceSslGetSerialNumber"); +} + +EXPORT(int, sceSslGetSubjectName) { + return unimplemented("sceSslGetSubjectName"); +} + +EXPORT(int, sceSslInit) { + return unimplemented("sceSslInit"); +} + +EXPORT(int, sceSslTerm) { + return unimplemented("sceSslTerm"); +} + +BRIDGE_IMPL(sceSslFreeSslCertName) +BRIDGE_IMPL(sceSslGetIssuerName) +BRIDGE_IMPL(sceSslGetMemoryPoolStats) +BRIDGE_IMPL(sceSslGetNameEntryCount) +BRIDGE_IMPL(sceSslGetNameEntryInfo) +BRIDGE_IMPL(sceSslGetNotAfter) +BRIDGE_IMPL(sceSslGetNotBefore) +BRIDGE_IMPL(sceSslGetSerialNumber) +BRIDGE_IMPL(sceSslGetSubjectName) +BRIDGE_IMPL(sceSslInit) +BRIDGE_IMPL(sceSslTerm) diff --git a/src/emulator/modules/SceLibc/CMakeLists.txt b/src/emulator/modules/SceLibc/CMakeLists.txt new file mode 100644 index 000000000..6a02b27a9 --- /dev/null +++ b/src/emulator/modules/SceLibc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLibc STATIC include/SceLibc/exports.h src/SceLibc.cpp) +target_include_directories(SceLibc PUBLIC include) +target_link_libraries(SceLibc PRIVATE module) diff --git a/src/emulator/modules/SceLibc/SceLibc.cpp b/src/emulator/modules/SceLibc/SceLibc.cpp new file mode 100644 index 000000000..8b5b8924b --- /dev/null +++ b/src/emulator/modules/SceLibc/SceLibc.cpp @@ -0,0 +1,11 @@ +#include + +#include + +IMP_SIG(exit) { + const int status = r0; + (void)status; + uc_emu_stop(thread->uc.get()); + + return 0; +} diff --git a/src/emulator/modules/SceLibc/include/SceLibc/exports.h b/src/emulator/modules/SceLibc/include/SceLibc/exports.h new file mode 100644 index 000000000..6f872b6ff --- /dev/null +++ b/src/emulator/modules/SceLibc/include/SceLibc/exports.h @@ -0,0 +1,314 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLibc +BRIDGE_DECL(_Assert) +BRIDGE_DECL(_Btowc) +BRIDGE_DECL(_Ctype) +BRIDGE_DECL(_Dbl) +BRIDGE_DECL(_Denorm) +BRIDGE_DECL(_Exit) +BRIDGE_DECL(_FCbuild) +BRIDGE_DECL(_FDenorm) +BRIDGE_DECL(_FInf) +BRIDGE_DECL(_FNan) +BRIDGE_DECL(_FSnan) +BRIDGE_DECL(_Files) +BRIDGE_DECL(_Flt) +BRIDGE_DECL(_Fltrounds) +BRIDGE_DECL(_Inf) +BRIDGE_DECL(_Iswctype) +BRIDGE_DECL(_LDenorm) +BRIDGE_DECL(_LInf) +BRIDGE_DECL(_LNan) +BRIDGE_DECL(_LSnan) +BRIDGE_DECL(_Ldbl) +BRIDGE_DECL(_Lockfilelock) +BRIDGE_DECL(_Locksyslock) +BRIDGE_DECL(_Mbtowc) +BRIDGE_DECL(_Nan) +BRIDGE_DECL(_Snan) +BRIDGE_DECL(_Stderr) +BRIDGE_DECL(_Stdin) +BRIDGE_DECL(_Stdout) +BRIDGE_DECL(_Stod) +BRIDGE_DECL(_Stodx) +BRIDGE_DECL(_Stof) +BRIDGE_DECL(_Stofx) +BRIDGE_DECL(_Stold) +BRIDGE_DECL(_Stoldx) +BRIDGE_DECL(_Stoll) +BRIDGE_DECL(_Stollx) +BRIDGE_DECL(_Stolx) +BRIDGE_DECL(_Stoul) +BRIDGE_DECL(_Stoull) +BRIDGE_DECL(_Stoullx) +BRIDGE_DECL(_Stoulx) +BRIDGE_DECL(_Tolotab) +BRIDGE_DECL(_Touptab) +BRIDGE_DECL(_Towctrans) +BRIDGE_DECL(_Unlockfilelock) +BRIDGE_DECL(_Unlocksyslock) +BRIDGE_DECL(_WStod) +BRIDGE_DECL(_WStof) +BRIDGE_DECL(_WStold) +BRIDGE_DECL(_WStoul) +BRIDGE_DECL(_Wctob) +BRIDGE_DECL(_Wctomb) +BRIDGE_DECL(__aeabi_atexit) +BRIDGE_DECL(__cxa_atexit) +BRIDGE_DECL(__cxa_finalize) +BRIDGE_DECL(__cxa_guard_abort) +BRIDGE_DECL(__cxa_guard_acquire) +BRIDGE_DECL(__cxa_guard_release) +BRIDGE_DECL(__cxa_set_dso_handle_main) +BRIDGE_DECL(__set_exidx_main) +BRIDGE_DECL(_sceLibcErrnoLoc) +BRIDGE_DECL(abort) +BRIDGE_DECL(abs) +BRIDGE_DECL(asctime) +BRIDGE_DECL(atof) +BRIDGE_DECL(atoi) +BRIDGE_DECL(atol) +BRIDGE_DECL(atoll) +BRIDGE_DECL(bsearch) +BRIDGE_DECL(btowc) +BRIDGE_DECL(calloc) +BRIDGE_DECL(clearerr) +BRIDGE_DECL(clock) +BRIDGE_DECL(ctime) +BRIDGE_DECL(difftime) +BRIDGE_DECL(div) +BRIDGE_DECL(exit) +BRIDGE_DECL(fclose) +BRIDGE_DECL(fdopen) +BRIDGE_DECL(feof) +BRIDGE_DECL(ferror) +BRIDGE_DECL(fflush) +BRIDGE_DECL(fgetc) +BRIDGE_DECL(fgetpos) +BRIDGE_DECL(fgets) +BRIDGE_DECL(fgetwc) +BRIDGE_DECL(fgetws) +BRIDGE_DECL(fileno) +BRIDGE_DECL(fopen) +BRIDGE_DECL(fprintf) +BRIDGE_DECL(fputc) +BRIDGE_DECL(fputs) +BRIDGE_DECL(fputwc) +BRIDGE_DECL(fputws) +BRIDGE_DECL(fread) +BRIDGE_DECL(free) +BRIDGE_DECL(freopen) +BRIDGE_DECL(fscanf) +BRIDGE_DECL(fseek) +BRIDGE_DECL(fsetpos) +BRIDGE_DECL(ftell) +BRIDGE_DECL(fwide) +BRIDGE_DECL(fwprintf) +BRIDGE_DECL(fwrite) +BRIDGE_DECL(fwscanf) +BRIDGE_DECL(getc) +BRIDGE_DECL(getchar) +BRIDGE_DECL(gets) +BRIDGE_DECL(getwc) +BRIDGE_DECL(getwchar) +BRIDGE_DECL(gmtime) +BRIDGE_DECL(imaxabs) +BRIDGE_DECL(imaxdiv) +BRIDGE_DECL(isalnum) +BRIDGE_DECL(isalpha) +BRIDGE_DECL(isblank) +BRIDGE_DECL(iscntrl) +BRIDGE_DECL(isdigit) +BRIDGE_DECL(isgraph) +BRIDGE_DECL(islower) +BRIDGE_DECL(isprint) +BRIDGE_DECL(ispunct) +BRIDGE_DECL(isspace) +BRIDGE_DECL(isupper) +BRIDGE_DECL(iswalnum) +BRIDGE_DECL(iswalpha) +BRIDGE_DECL(iswblank) +BRIDGE_DECL(iswcntrl) +BRIDGE_DECL(iswctype) +BRIDGE_DECL(iswdigit) +BRIDGE_DECL(iswgraph) +BRIDGE_DECL(iswlower) +BRIDGE_DECL(iswprint) +BRIDGE_DECL(iswpunct) +BRIDGE_DECL(iswspace) +BRIDGE_DECL(iswupper) +BRIDGE_DECL(iswxdigit) +BRIDGE_DECL(isxdigit) +BRIDGE_DECL(labs) +BRIDGE_DECL(ldiv) +BRIDGE_DECL(llabs) +BRIDGE_DECL(lldiv) +BRIDGE_DECL(localtime) +BRIDGE_DECL(longjmp) +BRIDGE_DECL(malloc) +BRIDGE_DECL(malloc_stats) +BRIDGE_DECL(malloc_stats_fast) +BRIDGE_DECL(malloc_usable_size) +BRIDGE_DECL(mblen) +BRIDGE_DECL(mbrlen) +BRIDGE_DECL(mbrtowc) +BRIDGE_DECL(mbsinit) +BRIDGE_DECL(mbsrtowcs) +BRIDGE_DECL(mbstowcs) +BRIDGE_DECL(mbtowc) +BRIDGE_DECL(memalign) +BRIDGE_DECL(memchr) +BRIDGE_DECL(memcmp) +BRIDGE_DECL(memcpy) +BRIDGE_DECL(memmove) +BRIDGE_DECL(memset) +BRIDGE_DECL(mktime) +BRIDGE_DECL(mspace_calloc) +BRIDGE_DECL(mspace_create) +BRIDGE_DECL(mspace_destroy) +BRIDGE_DECL(mspace_free) +BRIDGE_DECL(mspace_is_heap_empty) +BRIDGE_DECL(mspace_malloc) +BRIDGE_DECL(mspace_malloc_stats) +BRIDGE_DECL(mspace_malloc_stats_fast) +BRIDGE_DECL(mspace_malloc_usable_size) +BRIDGE_DECL(mspace_memalign) +BRIDGE_DECL(mspace_realloc) +BRIDGE_DECL(mspace_reallocalign) +BRIDGE_DECL(perror) +BRIDGE_DECL(printf) +BRIDGE_DECL(putc) +BRIDGE_DECL(putchar) +BRIDGE_DECL(puts) +BRIDGE_DECL(putwc) +BRIDGE_DECL(putwchar) +BRIDGE_DECL(qsort) +BRIDGE_DECL(rand) +BRIDGE_DECL(rand_r) +BRIDGE_DECL(realloc) +BRIDGE_DECL(reallocalign) +BRIDGE_DECL(remove) +BRIDGE_DECL(rename) +BRIDGE_DECL(rewind) +BRIDGE_DECL(scanf) +BRIDGE_DECL(setbuf) +BRIDGE_DECL(setjmp) +BRIDGE_DECL(setvbuf) +BRIDGE_DECL(snprintf) +BRIDGE_DECL(sprintf) +BRIDGE_DECL(srand) +BRIDGE_DECL(sscanf) +BRIDGE_DECL(strcasecmp) +BRIDGE_DECL(strcat) +BRIDGE_DECL(strchr) +BRIDGE_DECL(strcmp) +BRIDGE_DECL(strcoll) +BRIDGE_DECL(strcpy) +BRIDGE_DECL(strcspn) +BRIDGE_DECL(strdup) +BRIDGE_DECL(strerror) +BRIDGE_DECL(strftime) +BRIDGE_DECL(strlen) +BRIDGE_DECL(strncasecmp) +BRIDGE_DECL(strncat) +BRIDGE_DECL(strncmp) +BRIDGE_DECL(strncpy) +BRIDGE_DECL(strpbrk) +BRIDGE_DECL(strrchr) +BRIDGE_DECL(strspn) +BRIDGE_DECL(strstr) +BRIDGE_DECL(strtod) +BRIDGE_DECL(strtof) +BRIDGE_DECL(strtoimax) +BRIDGE_DECL(strtok) +BRIDGE_DECL(strtok_r) +BRIDGE_DECL(strtol) +BRIDGE_DECL(strtold) +BRIDGE_DECL(strtoll) +BRIDGE_DECL(strtoul) +BRIDGE_DECL(strtoull) +BRIDGE_DECL(strtoumax) +BRIDGE_DECL(strxfrm) +BRIDGE_DECL(swprintf) +BRIDGE_DECL(swscanf) +BRIDGE_DECL(time) +BRIDGE_DECL(tolower) +BRIDGE_DECL(toupper) +BRIDGE_DECL(towctrans) +BRIDGE_DECL(towlower) +BRIDGE_DECL(towupper) +BRIDGE_DECL(ungetc) +BRIDGE_DECL(ungetwc) +BRIDGE_DECL(vfprintf) +BRIDGE_DECL(vfscanf) +BRIDGE_DECL(vfwprintf) +BRIDGE_DECL(vfwscanf) +BRIDGE_DECL(vprintf) +BRIDGE_DECL(vscanf) +BRIDGE_DECL(vsnprintf) +BRIDGE_DECL(vsprintf) +BRIDGE_DECL(vsscanf) +BRIDGE_DECL(vswprintf) +BRIDGE_DECL(vswscanf) +BRIDGE_DECL(vwprintf) +BRIDGE_DECL(vwscanf) +BRIDGE_DECL(wcrtomb) +BRIDGE_DECL(wcscat) +BRIDGE_DECL(wcschr) +BRIDGE_DECL(wcscmp) +BRIDGE_DECL(wcscoll) +BRIDGE_DECL(wcscpy) +BRIDGE_DECL(wcscspn) +BRIDGE_DECL(wcsftime) +BRIDGE_DECL(wcslen) +BRIDGE_DECL(wcsncat) +BRIDGE_DECL(wcsncmp) +BRIDGE_DECL(wcsncpy) +BRIDGE_DECL(wcspbrk) +BRIDGE_DECL(wcsrchr) +BRIDGE_DECL(wcsrtombs) +BRIDGE_DECL(wcsspn) +BRIDGE_DECL(wcsstr) +BRIDGE_DECL(wcstod) +BRIDGE_DECL(wcstof) +BRIDGE_DECL(wcstoimax) +BRIDGE_DECL(wcstok) +BRIDGE_DECL(wcstol) +BRIDGE_DECL(wcstold) +BRIDGE_DECL(wcstoll) +BRIDGE_DECL(wcstombs) +BRIDGE_DECL(wcstoul) +BRIDGE_DECL(wcstoull) +BRIDGE_DECL(wcstoumax) +BRIDGE_DECL(wcsxfrm) +BRIDGE_DECL(wctob) +BRIDGE_DECL(wctomb) +BRIDGE_DECL(wctrans) +BRIDGE_DECL(wctype) +BRIDGE_DECL(wmemchr) +BRIDGE_DECL(wmemcmp) +BRIDGE_DECL(wmemcpy) +BRIDGE_DECL(wmemmove) +BRIDGE_DECL(wmemset) +BRIDGE_DECL(wprintf) +BRIDGE_DECL(wscanf) diff --git a/src/emulator/modules/SceLibc/src/SceLibc.cpp b/src/emulator/modules/SceLibc/src/SceLibc.cpp new file mode 100644 index 000000000..d855e6347 --- /dev/null +++ b/src/emulator/modules/SceLibc/src/SceLibc.cpp @@ -0,0 +1,1479 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _Assert) { + return unimplemented("_Assert"); +} + +EXPORT(int, _Btowc) { + return unimplemented("_Btowc"); +} + +EXPORT(int, _Ctype) { + return unimplemented("_Ctype"); +} + +EXPORT(int, _Dbl) { + return unimplemented("_Dbl"); +} + +EXPORT(int, _Denorm) { + return unimplemented("_Denorm"); +} + +EXPORT(int, _Exit) { + return unimplemented("_Exit"); +} + +EXPORT(int, _FCbuild) { + return unimplemented("_FCbuild"); +} + +EXPORT(int, _FDenorm) { + return unimplemented("_FDenorm"); +} + +EXPORT(int, _FInf) { + return unimplemented("_FInf"); +} + +EXPORT(int, _FNan) { + return unimplemented("_FNan"); +} + +EXPORT(int, _FSnan) { + return unimplemented("_FSnan"); +} + +EXPORT(int, _Files) { + return unimplemented("_Files"); +} + +EXPORT(int, _Flt) { + return unimplemented("_Flt"); +} + +EXPORT(int, _Fltrounds) { + return unimplemented("_Fltrounds"); +} + +EXPORT(int, _Inf) { + return unimplemented("_Inf"); +} + +EXPORT(int, _Iswctype) { + return unimplemented("_Iswctype"); +} + +EXPORT(int, _LDenorm) { + return unimplemented("_LDenorm"); +} + +EXPORT(int, _LInf) { + return unimplemented("_LInf"); +} + +EXPORT(int, _LNan) { + return unimplemented("_LNan"); +} + +EXPORT(int, _LSnan) { + return unimplemented("_LSnan"); +} + +EXPORT(int, _Ldbl) { + return unimplemented("_Ldbl"); +} + +EXPORT(int, _Lockfilelock) { + return unimplemented("_Lockfilelock"); +} + +EXPORT(int, _Locksyslock) { + return unimplemented("_Locksyslock"); +} + +EXPORT(int, _Mbtowc) { + return unimplemented("_Mbtowc"); +} + +EXPORT(int, _Nan) { + return unimplemented("_Nan"); +} + +EXPORT(int, _Snan) { + return unimplemented("_Snan"); +} + +EXPORT(int, _Stderr) { + return unimplemented("_Stderr"); +} + +EXPORT(int, _Stdin) { + return unimplemented("_Stdin"); +} + +EXPORT(int, _Stdout) { + return unimplemented("_Stdout"); +} + +EXPORT(int, _Stod) { + return unimplemented("_Stod"); +} + +EXPORT(int, _Stodx) { + return unimplemented("_Stodx"); +} + +EXPORT(int, _Stof) { + return unimplemented("_Stof"); +} + +EXPORT(int, _Stofx) { + return unimplemented("_Stofx"); +} + +EXPORT(int, _Stold) { + return unimplemented("_Stold"); +} + +EXPORT(int, _Stoldx) { + return unimplemented("_Stoldx"); +} + +EXPORT(int, _Stoll) { + return unimplemented("_Stoll"); +} + +EXPORT(int, _Stollx) { + return unimplemented("_Stollx"); +} + +EXPORT(int, _Stolx) { + return unimplemented("_Stolx"); +} + +EXPORT(int, _Stoul) { + return unimplemented("_Stoul"); +} + +EXPORT(int, _Stoull) { + return unimplemented("_Stoull"); +} + +EXPORT(int, _Stoullx) { + return unimplemented("_Stoullx"); +} + +EXPORT(int, _Stoulx) { + return unimplemented("_Stoulx"); +} + +EXPORT(int, _Tolotab) { + return unimplemented("_Tolotab"); +} + +EXPORT(int, _Touptab) { + return unimplemented("_Touptab"); +} + +EXPORT(int, _Towctrans) { + return unimplemented("_Towctrans"); +} + +EXPORT(int, _Unlockfilelock) { + return unimplemented("_Unlockfilelock"); +} + +EXPORT(int, _Unlocksyslock) { + return unimplemented("_Unlocksyslock"); +} + +EXPORT(int, _WStod) { + return unimplemented("_WStod"); +} + +EXPORT(int, _WStof) { + return unimplemented("_WStof"); +} + +EXPORT(int, _WStold) { + return unimplemented("_WStold"); +} + +EXPORT(int, _WStoul) { + return unimplemented("_WStoul"); +} + +EXPORT(int, _Wctob) { + return unimplemented("_Wctob"); +} + +EXPORT(int, _Wctomb) { + return unimplemented("_Wctomb"); +} + +EXPORT(int, __aeabi_atexit) { + return unimplemented("__aeabi_atexit"); +} + +EXPORT(int, __cxa_atexit) { + return unimplemented("__cxa_atexit"); +} + +EXPORT(int, __cxa_finalize) { + return unimplemented("__cxa_finalize"); +} + +EXPORT(int, __cxa_guard_abort) { + return unimplemented("__cxa_guard_abort"); +} + +EXPORT(int, __cxa_guard_acquire) { + return unimplemented("__cxa_guard_acquire"); +} + +EXPORT(int, __cxa_guard_release) { + return unimplemented("__cxa_guard_release"); +} + +EXPORT(int, __cxa_set_dso_handle_main) { + return unimplemented("__cxa_set_dso_handle_main"); +} + +EXPORT(int, __set_exidx_main) { + return unimplemented("__set_exidx_main"); +} + +EXPORT(int, _sceLibcErrnoLoc) { + return unimplemented("_sceLibcErrnoLoc"); +} + +EXPORT(int, abort) { + return unimplemented("abort"); +} + +EXPORT(int, abs) { + return unimplemented("abs"); +} + +EXPORT(int, asctime) { + return unimplemented("asctime"); +} + +EXPORT(int, atof) { + return unimplemented("atof"); +} + +EXPORT(int, atoi) { + return unimplemented("atoi"); +} + +EXPORT(int, atol) { + return unimplemented("atol"); +} + +EXPORT(int, atoll) { + return unimplemented("atoll"); +} + +EXPORT(int, bsearch) { + return unimplemented("bsearch"); +} + +EXPORT(int, btowc) { + return unimplemented("btowc"); +} + +EXPORT(int, calloc) { + return unimplemented("calloc"); +} + +EXPORT(int, clearerr) { + return unimplemented("clearerr"); +} + +EXPORT(int, clock) { + return unimplemented("clock"); +} + +EXPORT(int, ctime) { + return unimplemented("ctime"); +} + +EXPORT(int, difftime) { + return unimplemented("difftime"); +} + +EXPORT(int, div) { + return unimplemented("div"); +} + +EXPORT(int, exit) { + return unimplemented("exit"); +} + +EXPORT(int, fclose) { + return unimplemented("fclose"); +} + +EXPORT(int, fdopen) { + return unimplemented("fdopen"); +} + +EXPORT(int, feof) { + return unimplemented("feof"); +} + +EXPORT(int, ferror) { + return unimplemented("ferror"); +} + +EXPORT(int, fflush) { + return unimplemented("fflush"); +} + +EXPORT(int, fgetc) { + return unimplemented("fgetc"); +} + +EXPORT(int, fgetpos) { + return unimplemented("fgetpos"); +} + +EXPORT(int, fgets) { + return unimplemented("fgets"); +} + +EXPORT(int, fgetwc) { + return unimplemented("fgetwc"); +} + +EXPORT(int, fgetws) { + return unimplemented("fgetws"); +} + +EXPORT(int, fileno) { + return unimplemented("fileno"); +} + +EXPORT(int, fopen) { + return unimplemented("fopen"); +} + +EXPORT(int, fprintf) { + return unimplemented("fprintf"); +} + +EXPORT(int, fputc) { + return unimplemented("fputc"); +} + +EXPORT(int, fputs) { + return unimplemented("fputs"); +} + +EXPORT(int, fputwc) { + return unimplemented("fputwc"); +} + +EXPORT(int, fputws) { + return unimplemented("fputws"); +} + +EXPORT(int, fread) { + return unimplemented("fread"); +} + +EXPORT(int, free) { + return unimplemented("free"); +} + +EXPORT(int, freopen) { + return unimplemented("freopen"); +} + +EXPORT(int, fscanf) { + return unimplemented("fscanf"); +} + +EXPORT(int, fseek) { + return unimplemented("fseek"); +} + +EXPORT(int, fsetpos) { + return unimplemented("fsetpos"); +} + +EXPORT(int, ftell) { + return unimplemented("ftell"); +} + +EXPORT(int, fwide) { + return unimplemented("fwide"); +} + +EXPORT(int, fwprintf) { + return unimplemented("fwprintf"); +} + +EXPORT(int, fwrite) { + return unimplemented("fwrite"); +} + +EXPORT(int, fwscanf) { + return unimplemented("fwscanf"); +} + +EXPORT(int, getc) { + return unimplemented("getc"); +} + +EXPORT(int, getchar) { + return unimplemented("getchar"); +} + +EXPORT(int, gets) { + return unimplemented("gets"); +} + +EXPORT(int, getwc) { + return unimplemented("getwc"); +} + +EXPORT(int, getwchar) { + return unimplemented("getwchar"); +} + +EXPORT(int, gmtime) { + return unimplemented("gmtime"); +} + +EXPORT(int, imaxabs) { + return unimplemented("imaxabs"); +} + +EXPORT(int, imaxdiv) { + return unimplemented("imaxdiv"); +} + +EXPORT(int, isalnum) { + return unimplemented("isalnum"); +} + +EXPORT(int, isalpha) { + return unimplemented("isalpha"); +} + +EXPORT(int, isblank) { + return unimplemented("isblank"); +} + +EXPORT(int, iscntrl) { + return unimplemented("iscntrl"); +} + +EXPORT(int, isdigit) { + return unimplemented("isdigit"); +} + +EXPORT(int, isgraph) { + return unimplemented("isgraph"); +} + +EXPORT(int, islower) { + return unimplemented("islower"); +} + +EXPORT(int, isprint) { + return unimplemented("isprint"); +} + +EXPORT(int, ispunct) { + return unimplemented("ispunct"); +} + +EXPORT(int, isspace) { + return unimplemented("isspace"); +} + +EXPORT(int, isupper) { + return unimplemented("isupper"); +} + +EXPORT(int, iswalnum) { + return unimplemented("iswalnum"); +} + +EXPORT(int, iswalpha) { + return unimplemented("iswalpha"); +} + +EXPORT(int, iswblank) { + return unimplemented("iswblank"); +} + +EXPORT(int, iswcntrl) { + return unimplemented("iswcntrl"); +} + +EXPORT(int, iswctype) { + return unimplemented("iswctype"); +} + +EXPORT(int, iswdigit) { + return unimplemented("iswdigit"); +} + +EXPORT(int, iswgraph) { + return unimplemented("iswgraph"); +} + +EXPORT(int, iswlower) { + return unimplemented("iswlower"); +} + +EXPORT(int, iswprint) { + return unimplemented("iswprint"); +} + +EXPORT(int, iswpunct) { + return unimplemented("iswpunct"); +} + +EXPORT(int, iswspace) { + return unimplemented("iswspace"); +} + +EXPORT(int, iswupper) { + return unimplemented("iswupper"); +} + +EXPORT(int, iswxdigit) { + return unimplemented("iswxdigit"); +} + +EXPORT(int, isxdigit) { + return unimplemented("isxdigit"); +} + +EXPORT(int, labs) { + return unimplemented("labs"); +} + +EXPORT(int, ldiv) { + return unimplemented("ldiv"); +} + +EXPORT(int, llabs) { + return unimplemented("llabs"); +} + +EXPORT(int, lldiv) { + return unimplemented("lldiv"); +} + +EXPORT(int, localtime) { + return unimplemented("localtime"); +} + +EXPORT(int, longjmp) { + return unimplemented("longjmp"); +} + +EXPORT(int, malloc) { + return unimplemented("malloc"); +} + +EXPORT(int, malloc_stats) { + return unimplemented("malloc_stats"); +} + +EXPORT(int, malloc_stats_fast) { + return unimplemented("malloc_stats_fast"); +} + +EXPORT(int, malloc_usable_size) { + return unimplemented("malloc_usable_size"); +} + +EXPORT(int, mblen) { + return unimplemented("mblen"); +} + +EXPORT(int, mbrlen) { + return unimplemented("mbrlen"); +} + +EXPORT(int, mbrtowc) { + return unimplemented("mbrtowc"); +} + +EXPORT(int, mbsinit) { + return unimplemented("mbsinit"); +} + +EXPORT(int, mbsrtowcs) { + return unimplemented("mbsrtowcs"); +} + +EXPORT(int, mbstowcs) { + return unimplemented("mbstowcs"); +} + +EXPORT(int, mbtowc) { + return unimplemented("mbtowc"); +} + +EXPORT(int, memalign) { + return unimplemented("memalign"); +} + +EXPORT(int, memchr) { + return unimplemented("memchr"); +} + +EXPORT(int, memcmp) { + return unimplemented("memcmp"); +} + +EXPORT(int, memcpy) { + return unimplemented("memcpy"); +} + +EXPORT(int, memmove) { + return unimplemented("memmove"); +} + +EXPORT(int, memset) { + return unimplemented("memset"); +} + +EXPORT(int, mktime) { + return unimplemented("mktime"); +} + +EXPORT(int, mspace_calloc) { + return unimplemented("mspace_calloc"); +} + +EXPORT(int, mspace_create) { + return unimplemented("mspace_create"); +} + +EXPORT(int, mspace_destroy) { + return unimplemented("mspace_destroy"); +} + +EXPORT(int, mspace_free) { + return unimplemented("mspace_free"); +} + +EXPORT(int, mspace_is_heap_empty) { + return unimplemented("mspace_is_heap_empty"); +} + +EXPORT(int, mspace_malloc) { + return unimplemented("mspace_malloc"); +} + +EXPORT(int, mspace_malloc_stats) { + return unimplemented("mspace_malloc_stats"); +} + +EXPORT(int, mspace_malloc_stats_fast) { + return unimplemented("mspace_malloc_stats_fast"); +} + +EXPORT(int, mspace_malloc_usable_size) { + return unimplemented("mspace_malloc_usable_size"); +} + +EXPORT(int, mspace_memalign) { + return unimplemented("mspace_memalign"); +} + +EXPORT(int, mspace_realloc) { + return unimplemented("mspace_realloc"); +} + +EXPORT(int, mspace_reallocalign) { + return unimplemented("mspace_reallocalign"); +} + +EXPORT(int, perror) { + return unimplemented("perror"); +} + +EXPORT(int, printf) { + return unimplemented("printf"); +} + +EXPORT(int, putc) { + return unimplemented("putc"); +} + +EXPORT(int, putchar) { + return unimplemented("putchar"); +} + +EXPORT(int, puts) { + return unimplemented("puts"); +} + +EXPORT(int, putwc) { + return unimplemented("putwc"); +} + +EXPORT(int, putwchar) { + return unimplemented("putwchar"); +} + +EXPORT(int, qsort) { + return unimplemented("qsort"); +} + +EXPORT(int, rand) { + return unimplemented("rand"); +} + +EXPORT(int, rand_r) { + return unimplemented("rand_r"); +} + +EXPORT(int, realloc) { + return unimplemented("realloc"); +} + +EXPORT(int, reallocalign) { + return unimplemented("reallocalign"); +} + +EXPORT(int, remove) { + return unimplemented("remove"); +} + +EXPORT(int, rename) { + return unimplemented("rename"); +} + +EXPORT(int, rewind) { + return unimplemented("rewind"); +} + +EXPORT(int, scanf) { + return unimplemented("scanf"); +} + +EXPORT(int, setbuf) { + return unimplemented("setbuf"); +} + +EXPORT(int, setjmp) { + return unimplemented("setjmp"); +} + +EXPORT(int, setvbuf) { + return unimplemented("setvbuf"); +} + +EXPORT(int, snprintf) { + return unimplemented("snprintf"); +} + +EXPORT(int, sprintf) { + return unimplemented("sprintf"); +} + +EXPORT(int, srand) { + return unimplemented("srand"); +} + +EXPORT(int, sscanf) { + return unimplemented("sscanf"); +} + +EXPORT(int, strcasecmp) { + return unimplemented("strcasecmp"); +} + +EXPORT(int, strcat) { + return unimplemented("strcat"); +} + +EXPORT(int, strchr) { + return unimplemented("strchr"); +} + +EXPORT(int, strcmp) { + return unimplemented("strcmp"); +} + +EXPORT(int, strcoll) { + return unimplemented("strcoll"); +} + +EXPORT(int, strcpy) { + return unimplemented("strcpy"); +} + +EXPORT(int, strcspn) { + return unimplemented("strcspn"); +} + +EXPORT(int, strdup) { + return unimplemented("strdup"); +} + +EXPORT(int, strerror) { + return unimplemented("strerror"); +} + +EXPORT(int, strftime) { + return unimplemented("strftime"); +} + +EXPORT(int, strlen) { + return unimplemented("strlen"); +} + +EXPORT(int, strncasecmp) { + return unimplemented("strncasecmp"); +} + +EXPORT(int, strncat) { + return unimplemented("strncat"); +} + +EXPORT(int, strncmp) { + return unimplemented("strncmp"); +} + +EXPORT(int, strncpy) { + return unimplemented("strncpy"); +} + +EXPORT(int, strpbrk) { + return unimplemented("strpbrk"); +} + +EXPORT(int, strrchr) { + return unimplemented("strrchr"); +} + +EXPORT(int, strspn) { + return unimplemented("strspn"); +} + +EXPORT(int, strstr) { + return unimplemented("strstr"); +} + +EXPORT(int, strtod) { + return unimplemented("strtod"); +} + +EXPORT(int, strtof) { + return unimplemented("strtof"); +} + +EXPORT(int, strtoimax) { + return unimplemented("strtoimax"); +} + +EXPORT(int, strtok) { + return unimplemented("strtok"); +} + +EXPORT(int, strtok_r) { + return unimplemented("strtok_r"); +} + +EXPORT(int, strtol) { + return unimplemented("strtol"); +} + +EXPORT(int, strtold) { + return unimplemented("strtold"); +} + +EXPORT(int, strtoll) { + return unimplemented("strtoll"); +} + +EXPORT(int, strtoul) { + return unimplemented("strtoul"); +} + +EXPORT(int, strtoull) { + return unimplemented("strtoull"); +} + +EXPORT(int, strtoumax) { + return unimplemented("strtoumax"); +} + +EXPORT(int, strxfrm) { + return unimplemented("strxfrm"); +} + +EXPORT(int, swprintf) { + return unimplemented("swprintf"); +} + +EXPORT(int, swscanf) { + return unimplemented("swscanf"); +} + +EXPORT(int, time) { + return unimplemented("time"); +} + +EXPORT(int, tolower) { + return unimplemented("tolower"); +} + +EXPORT(int, toupper) { + return unimplemented("toupper"); +} + +EXPORT(int, towctrans) { + return unimplemented("towctrans"); +} + +EXPORT(int, towlower) { + return unimplemented("towlower"); +} + +EXPORT(int, towupper) { + return unimplemented("towupper"); +} + +EXPORT(int, ungetc) { + return unimplemented("ungetc"); +} + +EXPORT(int, ungetwc) { + return unimplemented("ungetwc"); +} + +EXPORT(int, vfprintf) { + return unimplemented("vfprintf"); +} + +EXPORT(int, vfscanf) { + return unimplemented("vfscanf"); +} + +EXPORT(int, vfwprintf) { + return unimplemented("vfwprintf"); +} + +EXPORT(int, vfwscanf) { + return unimplemented("vfwscanf"); +} + +EXPORT(int, vprintf) { + return unimplemented("vprintf"); +} + +EXPORT(int, vscanf) { + return unimplemented("vscanf"); +} + +EXPORT(int, vsnprintf) { + return unimplemented("vsnprintf"); +} + +EXPORT(int, vsprintf) { + return unimplemented("vsprintf"); +} + +EXPORT(int, vsscanf) { + return unimplemented("vsscanf"); +} + +EXPORT(int, vswprintf) { + return unimplemented("vswprintf"); +} + +EXPORT(int, vswscanf) { + return unimplemented("vswscanf"); +} + +EXPORT(int, vwprintf) { + return unimplemented("vwprintf"); +} + +EXPORT(int, vwscanf) { + return unimplemented("vwscanf"); +} + +EXPORT(int, wcrtomb) { + return unimplemented("wcrtomb"); +} + +EXPORT(int, wcscat) { + return unimplemented("wcscat"); +} + +EXPORT(int, wcschr) { + return unimplemented("wcschr"); +} + +EXPORT(int, wcscmp) { + return unimplemented("wcscmp"); +} + +EXPORT(int, wcscoll) { + return unimplemented("wcscoll"); +} + +EXPORT(int, wcscpy) { + return unimplemented("wcscpy"); +} + +EXPORT(int, wcscspn) { + return unimplemented("wcscspn"); +} + +EXPORT(int, wcsftime) { + return unimplemented("wcsftime"); +} + +EXPORT(int, wcslen) { + return unimplemented("wcslen"); +} + +EXPORT(int, wcsncat) { + return unimplemented("wcsncat"); +} + +EXPORT(int, wcsncmp) { + return unimplemented("wcsncmp"); +} + +EXPORT(int, wcsncpy) { + return unimplemented("wcsncpy"); +} + +EXPORT(int, wcspbrk) { + return unimplemented("wcspbrk"); +} + +EXPORT(int, wcsrchr) { + return unimplemented("wcsrchr"); +} + +EXPORT(int, wcsrtombs) { + return unimplemented("wcsrtombs"); +} + +EXPORT(int, wcsspn) { + return unimplemented("wcsspn"); +} + +EXPORT(int, wcsstr) { + return unimplemented("wcsstr"); +} + +EXPORT(int, wcstod) { + return unimplemented("wcstod"); +} + +EXPORT(int, wcstof) { + return unimplemented("wcstof"); +} + +EXPORT(int, wcstoimax) { + return unimplemented("wcstoimax"); +} + +EXPORT(int, wcstok) { + return unimplemented("wcstok"); +} + +EXPORT(int, wcstol) { + return unimplemented("wcstol"); +} + +EXPORT(int, wcstold) { + return unimplemented("wcstold"); +} + +EXPORT(int, wcstoll) { + return unimplemented("wcstoll"); +} + +EXPORT(int, wcstombs) { + return unimplemented("wcstombs"); +} + +EXPORT(int, wcstoul) { + return unimplemented("wcstoul"); +} + +EXPORT(int, wcstoull) { + return unimplemented("wcstoull"); +} + +EXPORT(int, wcstoumax) { + return unimplemented("wcstoumax"); +} + +EXPORT(int, wcsxfrm) { + return unimplemented("wcsxfrm"); +} + +EXPORT(int, wctob) { + return unimplemented("wctob"); +} + +EXPORT(int, wctomb) { + return unimplemented("wctomb"); +} + +EXPORT(int, wctrans) { + return unimplemented("wctrans"); +} + +EXPORT(int, wctype) { + return unimplemented("wctype"); +} + +EXPORT(int, wmemchr) { + return unimplemented("wmemchr"); +} + +EXPORT(int, wmemcmp) { + return unimplemented("wmemcmp"); +} + +EXPORT(int, wmemcpy) { + return unimplemented("wmemcpy"); +} + +EXPORT(int, wmemmove) { + return unimplemented("wmemmove"); +} + +EXPORT(int, wmemset) { + return unimplemented("wmemset"); +} + +EXPORT(int, wprintf) { + return unimplemented("wprintf"); +} + +EXPORT(int, wscanf) { + return unimplemented("wscanf"); +} + +BRIDGE_IMPL(_Assert) +BRIDGE_IMPL(_Btowc) +BRIDGE_IMPL(_Ctype) +BRIDGE_IMPL(_Dbl) +BRIDGE_IMPL(_Denorm) +BRIDGE_IMPL(_Exit) +BRIDGE_IMPL(_FCbuild) +BRIDGE_IMPL(_FDenorm) +BRIDGE_IMPL(_FInf) +BRIDGE_IMPL(_FNan) +BRIDGE_IMPL(_FSnan) +BRIDGE_IMPL(_Files) +BRIDGE_IMPL(_Flt) +BRIDGE_IMPL(_Fltrounds) +BRIDGE_IMPL(_Inf) +BRIDGE_IMPL(_Iswctype) +BRIDGE_IMPL(_LDenorm) +BRIDGE_IMPL(_LInf) +BRIDGE_IMPL(_LNan) +BRIDGE_IMPL(_LSnan) +BRIDGE_IMPL(_Ldbl) +BRIDGE_IMPL(_Lockfilelock) +BRIDGE_IMPL(_Locksyslock) +BRIDGE_IMPL(_Mbtowc) +BRIDGE_IMPL(_Nan) +BRIDGE_IMPL(_Snan) +BRIDGE_IMPL(_Stderr) +BRIDGE_IMPL(_Stdin) +BRIDGE_IMPL(_Stdout) +BRIDGE_IMPL(_Stod) +BRIDGE_IMPL(_Stodx) +BRIDGE_IMPL(_Stof) +BRIDGE_IMPL(_Stofx) +BRIDGE_IMPL(_Stold) +BRIDGE_IMPL(_Stoldx) +BRIDGE_IMPL(_Stoll) +BRIDGE_IMPL(_Stollx) +BRIDGE_IMPL(_Stolx) +BRIDGE_IMPL(_Stoul) +BRIDGE_IMPL(_Stoull) +BRIDGE_IMPL(_Stoullx) +BRIDGE_IMPL(_Stoulx) +BRIDGE_IMPL(_Tolotab) +BRIDGE_IMPL(_Touptab) +BRIDGE_IMPL(_Towctrans) +BRIDGE_IMPL(_Unlockfilelock) +BRIDGE_IMPL(_Unlocksyslock) +BRIDGE_IMPL(_WStod) +BRIDGE_IMPL(_WStof) +BRIDGE_IMPL(_WStold) +BRIDGE_IMPL(_WStoul) +BRIDGE_IMPL(_Wctob) +BRIDGE_IMPL(_Wctomb) +BRIDGE_IMPL(__aeabi_atexit) +BRIDGE_IMPL(__cxa_atexit) +BRIDGE_IMPL(__cxa_finalize) +BRIDGE_IMPL(__cxa_guard_abort) +BRIDGE_IMPL(__cxa_guard_acquire) +BRIDGE_IMPL(__cxa_guard_release) +BRIDGE_IMPL(__cxa_set_dso_handle_main) +BRIDGE_IMPL(__set_exidx_main) +BRIDGE_IMPL(_sceLibcErrnoLoc) +BRIDGE_IMPL(abort) +BRIDGE_IMPL(abs) +BRIDGE_IMPL(asctime) +BRIDGE_IMPL(atof) +BRIDGE_IMPL(atoi) +BRIDGE_IMPL(atol) +BRIDGE_IMPL(atoll) +BRIDGE_IMPL(bsearch) +BRIDGE_IMPL(btowc) +BRIDGE_IMPL(calloc) +BRIDGE_IMPL(clearerr) +BRIDGE_IMPL(clock) +BRIDGE_IMPL(ctime) +BRIDGE_IMPL(difftime) +BRIDGE_IMPL(div) +BRIDGE_IMPL(exit) +BRIDGE_IMPL(fclose) +BRIDGE_IMPL(fdopen) +BRIDGE_IMPL(feof) +BRIDGE_IMPL(ferror) +BRIDGE_IMPL(fflush) +BRIDGE_IMPL(fgetc) +BRIDGE_IMPL(fgetpos) +BRIDGE_IMPL(fgets) +BRIDGE_IMPL(fgetwc) +BRIDGE_IMPL(fgetws) +BRIDGE_IMPL(fileno) +BRIDGE_IMPL(fopen) +BRIDGE_IMPL(fprintf) +BRIDGE_IMPL(fputc) +BRIDGE_IMPL(fputs) +BRIDGE_IMPL(fputwc) +BRIDGE_IMPL(fputws) +BRIDGE_IMPL(fread) +BRIDGE_IMPL(free) +BRIDGE_IMPL(freopen) +BRIDGE_IMPL(fscanf) +BRIDGE_IMPL(fseek) +BRIDGE_IMPL(fsetpos) +BRIDGE_IMPL(ftell) +BRIDGE_IMPL(fwide) +BRIDGE_IMPL(fwprintf) +BRIDGE_IMPL(fwrite) +BRIDGE_IMPL(fwscanf) +BRIDGE_IMPL(getc) +BRIDGE_IMPL(getchar) +BRIDGE_IMPL(gets) +BRIDGE_IMPL(getwc) +BRIDGE_IMPL(getwchar) +BRIDGE_IMPL(gmtime) +BRIDGE_IMPL(imaxabs) +BRIDGE_IMPL(imaxdiv) +BRIDGE_IMPL(isalnum) +BRIDGE_IMPL(isalpha) +BRIDGE_IMPL(isblank) +BRIDGE_IMPL(iscntrl) +BRIDGE_IMPL(isdigit) +BRIDGE_IMPL(isgraph) +BRIDGE_IMPL(islower) +BRIDGE_IMPL(isprint) +BRIDGE_IMPL(ispunct) +BRIDGE_IMPL(isspace) +BRIDGE_IMPL(isupper) +BRIDGE_IMPL(iswalnum) +BRIDGE_IMPL(iswalpha) +BRIDGE_IMPL(iswblank) +BRIDGE_IMPL(iswcntrl) +BRIDGE_IMPL(iswctype) +BRIDGE_IMPL(iswdigit) +BRIDGE_IMPL(iswgraph) +BRIDGE_IMPL(iswlower) +BRIDGE_IMPL(iswprint) +BRIDGE_IMPL(iswpunct) +BRIDGE_IMPL(iswspace) +BRIDGE_IMPL(iswupper) +BRIDGE_IMPL(iswxdigit) +BRIDGE_IMPL(isxdigit) +BRIDGE_IMPL(labs) +BRIDGE_IMPL(ldiv) +BRIDGE_IMPL(llabs) +BRIDGE_IMPL(lldiv) +BRIDGE_IMPL(localtime) +BRIDGE_IMPL(longjmp) +BRIDGE_IMPL(malloc) +BRIDGE_IMPL(malloc_stats) +BRIDGE_IMPL(malloc_stats_fast) +BRIDGE_IMPL(malloc_usable_size) +BRIDGE_IMPL(mblen) +BRIDGE_IMPL(mbrlen) +BRIDGE_IMPL(mbrtowc) +BRIDGE_IMPL(mbsinit) +BRIDGE_IMPL(mbsrtowcs) +BRIDGE_IMPL(mbstowcs) +BRIDGE_IMPL(mbtowc) +BRIDGE_IMPL(memalign) +BRIDGE_IMPL(memchr) +BRIDGE_IMPL(memcmp) +BRIDGE_IMPL(memcpy) +BRIDGE_IMPL(memmove) +BRIDGE_IMPL(memset) +BRIDGE_IMPL(mktime) +BRIDGE_IMPL(mspace_calloc) +BRIDGE_IMPL(mspace_create) +BRIDGE_IMPL(mspace_destroy) +BRIDGE_IMPL(mspace_free) +BRIDGE_IMPL(mspace_is_heap_empty) +BRIDGE_IMPL(mspace_malloc) +BRIDGE_IMPL(mspace_malloc_stats) +BRIDGE_IMPL(mspace_malloc_stats_fast) +BRIDGE_IMPL(mspace_malloc_usable_size) +BRIDGE_IMPL(mspace_memalign) +BRIDGE_IMPL(mspace_realloc) +BRIDGE_IMPL(mspace_reallocalign) +BRIDGE_IMPL(perror) +BRIDGE_IMPL(printf) +BRIDGE_IMPL(putc) +BRIDGE_IMPL(putchar) +BRIDGE_IMPL(puts) +BRIDGE_IMPL(putwc) +BRIDGE_IMPL(putwchar) +BRIDGE_IMPL(qsort) +BRIDGE_IMPL(rand) +BRIDGE_IMPL(rand_r) +BRIDGE_IMPL(realloc) +BRIDGE_IMPL(reallocalign) +BRIDGE_IMPL(remove) +BRIDGE_IMPL(rename) +BRIDGE_IMPL(rewind) +BRIDGE_IMPL(scanf) +BRIDGE_IMPL(setbuf) +BRIDGE_IMPL(setjmp) +BRIDGE_IMPL(setvbuf) +BRIDGE_IMPL(snprintf) +BRIDGE_IMPL(sprintf) +BRIDGE_IMPL(srand) +BRIDGE_IMPL(sscanf) +BRIDGE_IMPL(strcasecmp) +BRIDGE_IMPL(strcat) +BRIDGE_IMPL(strchr) +BRIDGE_IMPL(strcmp) +BRIDGE_IMPL(strcoll) +BRIDGE_IMPL(strcpy) +BRIDGE_IMPL(strcspn) +BRIDGE_IMPL(strdup) +BRIDGE_IMPL(strerror) +BRIDGE_IMPL(strftime) +BRIDGE_IMPL(strlen) +BRIDGE_IMPL(strncasecmp) +BRIDGE_IMPL(strncat) +BRIDGE_IMPL(strncmp) +BRIDGE_IMPL(strncpy) +BRIDGE_IMPL(strpbrk) +BRIDGE_IMPL(strrchr) +BRIDGE_IMPL(strspn) +BRIDGE_IMPL(strstr) +BRIDGE_IMPL(strtod) +BRIDGE_IMPL(strtof) +BRIDGE_IMPL(strtoimax) +BRIDGE_IMPL(strtok) +BRIDGE_IMPL(strtok_r) +BRIDGE_IMPL(strtol) +BRIDGE_IMPL(strtold) +BRIDGE_IMPL(strtoll) +BRIDGE_IMPL(strtoul) +BRIDGE_IMPL(strtoull) +BRIDGE_IMPL(strtoumax) +BRIDGE_IMPL(strxfrm) +BRIDGE_IMPL(swprintf) +BRIDGE_IMPL(swscanf) +BRIDGE_IMPL(time) +BRIDGE_IMPL(tolower) +BRIDGE_IMPL(toupper) +BRIDGE_IMPL(towctrans) +BRIDGE_IMPL(towlower) +BRIDGE_IMPL(towupper) +BRIDGE_IMPL(ungetc) +BRIDGE_IMPL(ungetwc) +BRIDGE_IMPL(vfprintf) +BRIDGE_IMPL(vfscanf) +BRIDGE_IMPL(vfwprintf) +BRIDGE_IMPL(vfwscanf) +BRIDGE_IMPL(vprintf) +BRIDGE_IMPL(vscanf) +BRIDGE_IMPL(vsnprintf) +BRIDGE_IMPL(vsprintf) +BRIDGE_IMPL(vsscanf) +BRIDGE_IMPL(vswprintf) +BRIDGE_IMPL(vswscanf) +BRIDGE_IMPL(vwprintf) +BRIDGE_IMPL(vwscanf) +BRIDGE_IMPL(wcrtomb) +BRIDGE_IMPL(wcscat) +BRIDGE_IMPL(wcschr) +BRIDGE_IMPL(wcscmp) +BRIDGE_IMPL(wcscoll) +BRIDGE_IMPL(wcscpy) +BRIDGE_IMPL(wcscspn) +BRIDGE_IMPL(wcsftime) +BRIDGE_IMPL(wcslen) +BRIDGE_IMPL(wcsncat) +BRIDGE_IMPL(wcsncmp) +BRIDGE_IMPL(wcsncpy) +BRIDGE_IMPL(wcspbrk) +BRIDGE_IMPL(wcsrchr) +BRIDGE_IMPL(wcsrtombs) +BRIDGE_IMPL(wcsspn) +BRIDGE_IMPL(wcsstr) +BRIDGE_IMPL(wcstod) +BRIDGE_IMPL(wcstof) +BRIDGE_IMPL(wcstoimax) +BRIDGE_IMPL(wcstok) +BRIDGE_IMPL(wcstol) +BRIDGE_IMPL(wcstold) +BRIDGE_IMPL(wcstoll) +BRIDGE_IMPL(wcstombs) +BRIDGE_IMPL(wcstoul) +BRIDGE_IMPL(wcstoull) +BRIDGE_IMPL(wcstoumax) +BRIDGE_IMPL(wcsxfrm) +BRIDGE_IMPL(wctob) +BRIDGE_IMPL(wctomb) +BRIDGE_IMPL(wctrans) +BRIDGE_IMPL(wctype) +BRIDGE_IMPL(wmemchr) +BRIDGE_IMPL(wmemcmp) +BRIDGE_IMPL(wmemcpy) +BRIDGE_IMPL(wmemmove) +BRIDGE_IMPL(wmemset) +BRIDGE_IMPL(wprintf) +BRIDGE_IMPL(wscanf) diff --git a/src/emulator/modules/SceLiveAreaUtil/CMakeLists.txt b/src/emulator/modules/SceLiveAreaUtil/CMakeLists.txt new file mode 100644 index 000000000..d90ecf8d0 --- /dev/null +++ b/src/emulator/modules/SceLiveAreaUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLiveAreaUtil STATIC include/SceLiveAreaUtil/exports.h src/SceLiveAreaUtil.cpp) +target_include_directories(SceLiveAreaUtil PUBLIC include) +target_link_libraries(SceLiveAreaUtil PRIVATE module) diff --git a/src/emulator/modules/SceLiveAreaUtil/include/SceLiveAreaUtil/exports.h b/src/emulator/modules/SceLiveAreaUtil/include/SceLiveAreaUtil/exports.h new file mode 100644 index 000000000..c69810a7a --- /dev/null +++ b/src/emulator/modules/SceLiveAreaUtil/include/SceLiveAreaUtil/exports.h @@ -0,0 +1,30 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLiveAreaUtil +BRIDGE_DECL(sceLiveAreaGetFrameRevision) +BRIDGE_DECL(sceLiveAreaGetFrameUserData) +BRIDGE_DECL(sceLiveAreaGetRevision) +BRIDGE_DECL(sceLiveAreaGetStatus) +BRIDGE_DECL(sceLiveAreaReplaceAllAsync) +BRIDGE_DECL(sceLiveAreaReplaceAllSync) +BRIDGE_DECL(sceLiveAreaUpdateFrameAsync) +BRIDGE_DECL(sceLiveAreaUpdateFrameSync) diff --git a/src/emulator/modules/SceLiveAreaUtil/src/SceLiveAreaUtil.cpp b/src/emulator/modules/SceLiveAreaUtil/src/SceLiveAreaUtil.cpp new file mode 100644 index 000000000..82da71dcb --- /dev/null +++ b/src/emulator/modules/SceLiveAreaUtil/src/SceLiveAreaUtil.cpp @@ -0,0 +1,59 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceLiveAreaGetFrameRevision) { + return unimplemented("sceLiveAreaGetFrameRevision"); +} + +EXPORT(int, sceLiveAreaGetFrameUserData) { + return unimplemented("sceLiveAreaGetFrameUserData"); +} + +EXPORT(int, sceLiveAreaGetRevision) { + return unimplemented("sceLiveAreaGetRevision"); +} + +EXPORT(int, sceLiveAreaGetStatus) { + return unimplemented("sceLiveAreaGetStatus"); +} + +EXPORT(int, sceLiveAreaReplaceAllAsync) { + return unimplemented("sceLiveAreaReplaceAllAsync"); +} + +EXPORT(int, sceLiveAreaReplaceAllSync) { + return unimplemented("sceLiveAreaReplaceAllSync"); +} + +EXPORT(int, sceLiveAreaUpdateFrameAsync) { + return unimplemented("sceLiveAreaUpdateFrameAsync"); +} + +EXPORT(int, sceLiveAreaUpdateFrameSync) { + return unimplemented("sceLiveAreaUpdateFrameSync"); +} + +BRIDGE_IMPL(sceLiveAreaGetFrameRevision) +BRIDGE_IMPL(sceLiveAreaGetFrameUserData) +BRIDGE_IMPL(sceLiveAreaGetRevision) +BRIDGE_IMPL(sceLiveAreaGetStatus) +BRIDGE_IMPL(sceLiveAreaReplaceAllAsync) +BRIDGE_IMPL(sceLiveAreaReplaceAllSync) +BRIDGE_IMPL(sceLiveAreaUpdateFrameAsync) +BRIDGE_IMPL(sceLiveAreaUpdateFrameSync) diff --git a/src/emulator/modules/SceLsdb/CMakeLists.txt b/src/emulator/modules/SceLsdb/CMakeLists.txt new file mode 100644 index 000000000..0672f68f6 --- /dev/null +++ b/src/emulator/modules/SceLsdb/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceLsdb STATIC include/SceLsdb/exports.h src/SceLsdb.cpp) +target_include_directories(SceLsdb PUBLIC include) +target_link_libraries(SceLsdb PRIVATE module) diff --git a/src/emulator/modules/SceLsdb/include/SceLsdb/exports.h b/src/emulator/modules/SceLsdb/include/SceLsdb/exports.h new file mode 100644 index 000000000..be738574a --- /dev/null +++ b/src/emulator/modules/SceLsdb/include/SceLsdb/exports.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceLsdb +BRIDGE_DECL(sceLsdbGetAppVer) +BRIDGE_DECL(sceLsdbGetAttribute) +BRIDGE_DECL(sceLsdbGetBootable) +BRIDGE_DECL(sceLsdbGetCategory) +BRIDGE_DECL(sceLsdbGetDiscId) +BRIDGE_DECL(sceLsdbGetGameDataId) +BRIDGE_DECL(sceLsdbGetMetaContentsPath) +BRIDGE_DECL(sceLsdbGetName) +BRIDGE_DECL(sceLsdbGetOriginalPath) +BRIDGE_DECL(sceLsdbGetParentalLevel) +BRIDGE_DECL(sceLsdbGetSelfPath) +BRIDGE_DECL(sceLsdbGetStitle) +BRIDGE_DECL(sceLsdbGetSystemVersion) +BRIDGE_DECL(sceLsdbGetTitle) +BRIDGE_DECL(sceLsdbGetType) diff --git a/src/emulator/modules/SceLsdb/src/SceLsdb.cpp b/src/emulator/modules/SceLsdb/src/SceLsdb.cpp new file mode 100644 index 000000000..efe9b1e7f --- /dev/null +++ b/src/emulator/modules/SceLsdb/src/SceLsdb.cpp @@ -0,0 +1,94 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceLsdbGetAppVer) { + return unimplemented("sceLsdbGetAppVer"); +} + +EXPORT(int, sceLsdbGetAttribute) { + return unimplemented("sceLsdbGetAttribute"); +} + +EXPORT(int, sceLsdbGetBootable) { + return unimplemented("sceLsdbGetBootable"); +} + +EXPORT(int, sceLsdbGetCategory) { + return unimplemented("sceLsdbGetCategory"); +} + +EXPORT(int, sceLsdbGetDiscId) { + return unimplemented("sceLsdbGetDiscId"); +} + +EXPORT(int, sceLsdbGetGameDataId) { + return unimplemented("sceLsdbGetGameDataId"); +} + +EXPORT(int, sceLsdbGetMetaContentsPath) { + return unimplemented("sceLsdbGetMetaContentsPath"); +} + +EXPORT(int, sceLsdbGetName) { + return unimplemented("sceLsdbGetName"); +} + +EXPORT(int, sceLsdbGetOriginalPath) { + return unimplemented("sceLsdbGetOriginalPath"); +} + +EXPORT(int, sceLsdbGetParentalLevel) { + return unimplemented("sceLsdbGetParentalLevel"); +} + +EXPORT(int, sceLsdbGetSelfPath) { + return unimplemented("sceLsdbGetSelfPath"); +} + +EXPORT(int, sceLsdbGetStitle) { + return unimplemented("sceLsdbGetStitle"); +} + +EXPORT(int, sceLsdbGetSystemVersion) { + return unimplemented("sceLsdbGetSystemVersion"); +} + +EXPORT(int, sceLsdbGetTitle) { + return unimplemented("sceLsdbGetTitle"); +} + +EXPORT(int, sceLsdbGetType) { + return unimplemented("sceLsdbGetType"); +} + +BRIDGE_IMPL(sceLsdbGetAppVer) +BRIDGE_IMPL(sceLsdbGetAttribute) +BRIDGE_IMPL(sceLsdbGetBootable) +BRIDGE_IMPL(sceLsdbGetCategory) +BRIDGE_IMPL(sceLsdbGetDiscId) +BRIDGE_IMPL(sceLsdbGetGameDataId) +BRIDGE_IMPL(sceLsdbGetMetaContentsPath) +BRIDGE_IMPL(sceLsdbGetName) +BRIDGE_IMPL(sceLsdbGetOriginalPath) +BRIDGE_IMPL(sceLsdbGetParentalLevel) +BRIDGE_IMPL(sceLsdbGetSelfPath) +BRIDGE_IMPL(sceLsdbGetStitle) +BRIDGE_IMPL(sceLsdbGetSystemVersion) +BRIDGE_IMPL(sceLsdbGetTitle) +BRIDGE_IMPL(sceLsdbGetType) diff --git a/src/emulator/modules/SceMd5/CMakeLists.txt b/src/emulator/modules/SceMd5/CMakeLists.txt new file mode 100644 index 000000000..41b722fc7 --- /dev/null +++ b/src/emulator/modules/SceMd5/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMd5 STATIC include/SceMd5/exports.h src/SceMd5.cpp) +target_include_directories(SceMd5 PUBLIC include) +target_link_libraries(SceMd5 PRIVATE module) diff --git a/src/emulator/modules/SceMd5/include/SceMd5/exports.h b/src/emulator/modules/SceMd5/include/SceMd5/exports.h new file mode 100644 index 000000000..b64b6b30b --- /dev/null +++ b/src/emulator/modules/SceMd5/include/SceMd5/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMd5 +BRIDGE_DECL(sceMd5BlockInit) +BRIDGE_DECL(sceMd5BlockResult) +BRIDGE_DECL(sceMd5BlockUpdate) +BRIDGE_DECL(sceMd5Digest) diff --git a/src/emulator/modules/SceMd5/src/SceMd5.cpp b/src/emulator/modules/SceMd5/src/SceMd5.cpp new file mode 100644 index 000000000..9797854e0 --- /dev/null +++ b/src/emulator/modules/SceMd5/src/SceMd5.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMd5BlockInit) { + return unimplemented("sceMd5BlockInit"); +} + +EXPORT(int, sceMd5BlockResult) { + return unimplemented("sceMd5BlockResult"); +} + +EXPORT(int, sceMd5BlockUpdate) { + return unimplemented("sceMd5BlockUpdate"); +} + +EXPORT(int, sceMd5Digest) { + return unimplemented("sceMd5Digest"); +} + +BRIDGE_IMPL(sceMd5BlockInit) +BRIDGE_IMPL(sceMd5BlockResult) +BRIDGE_IMPL(sceMd5BlockUpdate) +BRIDGE_IMPL(sceMd5Digest) diff --git a/src/emulator/modules/SceMotion/CMakeLists.txt b/src/emulator/modules/SceMotion/CMakeLists.txt new file mode 100644 index 000000000..2c9eb7f22 --- /dev/null +++ b/src/emulator/modules/SceMotion/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMotion STATIC include/SceMotion/exports.h src/SceMotion.cpp) +target_include_directories(SceMotion PUBLIC include) +target_link_libraries(SceMotion PRIVATE module) diff --git a/src/emulator/modules/SceMotion/include/SceMotion/exports.h b/src/emulator/modules/SceMotion/include/SceMotion/exports.h new file mode 100644 index 000000000..53c1690fc --- /dev/null +++ b/src/emulator/modules/SceMotion/include/SceMotion/exports.h @@ -0,0 +1,41 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMotion +BRIDGE_DECL(sceMotionGetAngleThreshold) +BRIDGE_DECL(sceMotionGetBasicOrientation) +BRIDGE_DECL(sceMotionGetDeadband) +BRIDGE_DECL(sceMotionGetDeviceLocation) +BRIDGE_DECL(sceMotionGetGyroBiasCorrection) +BRIDGE_DECL(sceMotionGetMagnetometerState) +BRIDGE_DECL(sceMotionGetSensorState) +BRIDGE_DECL(sceMotionGetState) +BRIDGE_DECL(sceMotionGetTiltCorrection) +BRIDGE_DECL(sceMotionMagnetometerOff) +BRIDGE_DECL(sceMotionMagnetometerOn) +BRIDGE_DECL(sceMotionReset) +BRIDGE_DECL(sceMotionRotateYaw) +BRIDGE_DECL(sceMotionSetAngleThreshold) +BRIDGE_DECL(sceMotionSetDeadband) +BRIDGE_DECL(sceMotionSetGyroBiasCorrection) +BRIDGE_DECL(sceMotionSetTiltCorrection) +BRIDGE_DECL(sceMotionStartSampling) +BRIDGE_DECL(sceMotionStopSampling) diff --git a/src/emulator/modules/SceMotion/src/SceMotion.cpp b/src/emulator/modules/SceMotion/src/SceMotion.cpp new file mode 100644 index 000000000..5482f3f47 --- /dev/null +++ b/src/emulator/modules/SceMotion/src/SceMotion.cpp @@ -0,0 +1,114 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMotionGetAngleThreshold) { + return unimplemented("sceMotionGetAngleThreshold"); +} + +EXPORT(int, sceMotionGetBasicOrientation) { + return unimplemented("sceMotionGetBasicOrientation"); +} + +EXPORT(int, sceMotionGetDeadband) { + return unimplemented("sceMotionGetDeadband"); +} + +EXPORT(int, sceMotionGetDeviceLocation) { + return unimplemented("sceMotionGetDeviceLocation"); +} + +EXPORT(int, sceMotionGetGyroBiasCorrection) { + return unimplemented("sceMotionGetGyroBiasCorrection"); +} + +EXPORT(int, sceMotionGetMagnetometerState) { + return unimplemented("sceMotionGetMagnetometerState"); +} + +EXPORT(int, sceMotionGetSensorState) { + return unimplemented("sceMotionGetSensorState"); +} + +EXPORT(int, sceMotionGetState) { + return unimplemented("sceMotionGetState"); +} + +EXPORT(int, sceMotionGetTiltCorrection) { + return unimplemented("sceMotionGetTiltCorrection"); +} + +EXPORT(int, sceMotionMagnetometerOff) { + return unimplemented("sceMotionMagnetometerOff"); +} + +EXPORT(int, sceMotionMagnetometerOn) { + return unimplemented("sceMotionMagnetometerOn"); +} + +EXPORT(int, sceMotionReset) { + return unimplemented("sceMotionReset"); +} + +EXPORT(int, sceMotionRotateYaw) { + return unimplemented("sceMotionRotateYaw"); +} + +EXPORT(int, sceMotionSetAngleThreshold) { + return unimplemented("sceMotionSetAngleThreshold"); +} + +EXPORT(int, sceMotionSetDeadband) { + return unimplemented("sceMotionSetDeadband"); +} + +EXPORT(int, sceMotionSetGyroBiasCorrection) { + return unimplemented("sceMotionSetGyroBiasCorrection"); +} + +EXPORT(int, sceMotionSetTiltCorrection) { + return unimplemented("sceMotionSetTiltCorrection"); +} + +EXPORT(int, sceMotionStartSampling) { + return unimplemented("sceMotionStartSampling"); +} + +EXPORT(int, sceMotionStopSampling) { + return unimplemented("sceMotionStopSampling"); +} + +BRIDGE_IMPL(sceMotionGetAngleThreshold) +BRIDGE_IMPL(sceMotionGetBasicOrientation) +BRIDGE_IMPL(sceMotionGetDeadband) +BRIDGE_IMPL(sceMotionGetDeviceLocation) +BRIDGE_IMPL(sceMotionGetGyroBiasCorrection) +BRIDGE_IMPL(sceMotionGetMagnetometerState) +BRIDGE_IMPL(sceMotionGetSensorState) +BRIDGE_IMPL(sceMotionGetState) +BRIDGE_IMPL(sceMotionGetTiltCorrection) +BRIDGE_IMPL(sceMotionMagnetometerOff) +BRIDGE_IMPL(sceMotionMagnetometerOn) +BRIDGE_IMPL(sceMotionReset) +BRIDGE_IMPL(sceMotionRotateYaw) +BRIDGE_IMPL(sceMotionSetAngleThreshold) +BRIDGE_IMPL(sceMotionSetDeadband) +BRIDGE_IMPL(sceMotionSetGyroBiasCorrection) +BRIDGE_IMPL(sceMotionSetTiltCorrection) +BRIDGE_IMPL(sceMotionStartSampling) +BRIDGE_IMPL(sceMotionStopSampling) diff --git a/src/emulator/modules/SceMotionDev/CMakeLists.txt b/src/emulator/modules/SceMotionDev/CMakeLists.txt new file mode 100644 index 000000000..a54e23a3c --- /dev/null +++ b/src/emulator/modules/SceMotionDev/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMotionDev STATIC include/SceMotionDev/exports.h src/SceMotionDev.cpp) +target_include_directories(SceMotionDev PUBLIC include) +target_link_libraries(SceMotionDev PRIVATE module) diff --git a/src/emulator/modules/SceMotionDev/include/SceMotionDev/exports.h b/src/emulator/modules/SceMotionDev/include/SceMotionDev/exports.h new file mode 100644 index 000000000..3ebebdfd1 --- /dev/null +++ b/src/emulator/modules/SceMotionDev/include/SceMotionDev/exports.h @@ -0,0 +1,53 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMotionDev +BRIDGE_DECL(sceMotionDevGetAccCalibData) +BRIDGE_DECL(sceMotionDevGetAccCalibData2) +BRIDGE_DECL(sceMotionDevGetCalibrationData) +BRIDGE_DECL(sceMotionDevGetCalibrationHeader) +BRIDGE_DECL(sceMotionDevGetControllerType) +BRIDGE_DECL(sceMotionDevGetCurrentMagnCalibData) +BRIDGE_DECL(sceMotionDevGetCurrentMagnStabilityLevel) +BRIDGE_DECL(sceMotionDevGetDeviceInfo) +BRIDGE_DECL(sceMotionDevGetDeviceLocation) +BRIDGE_DECL(sceMotionDevGetDs3CalibData) +BRIDGE_DECL(sceMotionDevGetFactoryMagnCalibData) +BRIDGE_DECL(sceMotionDevGetGyroBias) +BRIDGE_DECL(sceMotionDevGetGyroBias2) +BRIDGE_DECL(sceMotionDevGetGyroCalibData) +BRIDGE_DECL(sceMotionDevGetGyroCalibData2) +BRIDGE_DECL(sceMotionDevGetMeasMode) +BRIDGE_DECL(sceMotionDevIsReady) +BRIDGE_DECL(sceMotionDevMagnSamplingStart) +BRIDGE_DECL(sceMotionDevMagnSamplingStop) +BRIDGE_DECL(sceMotionDevRead) +BRIDGE_DECL(sceMotionDevRead2) +BRIDGE_DECL(sceMotionDevRead3) +BRIDGE_DECL(sceMotionDevReadForMagnCalib) +BRIDGE_DECL(sceMotionDevSamplingStart) +BRIDGE_DECL(sceMotionDevSamplingStart2) +BRIDGE_DECL(sceMotionDevSamplingStop) +BRIDGE_DECL(sceMotionDevSamplingStop2) +BRIDGE_DECL(sceMotionDevSetGyroFeedBack) +BRIDGE_DECL(sceMotionDevSetSamplingMode) +BRIDGE_DECL(sceMotionDevUpdateMagnCalibData) +BRIDGE_DECL(sceMotionDevUpdateMagnStabilityLevel) diff --git a/src/emulator/modules/SceMotionDev/src/SceMotionDev.cpp b/src/emulator/modules/SceMotionDev/src/SceMotionDev.cpp new file mode 100644 index 000000000..3c150d185 --- /dev/null +++ b/src/emulator/modules/SceMotionDev/src/SceMotionDev.cpp @@ -0,0 +1,174 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMotionDevGetAccCalibData) { + return unimplemented("sceMotionDevGetAccCalibData"); +} + +EXPORT(int, sceMotionDevGetAccCalibData2) { + return unimplemented("sceMotionDevGetAccCalibData2"); +} + +EXPORT(int, sceMotionDevGetCalibrationData) { + return unimplemented("sceMotionDevGetCalibrationData"); +} + +EXPORT(int, sceMotionDevGetCalibrationHeader) { + return unimplemented("sceMotionDevGetCalibrationHeader"); +} + +EXPORT(int, sceMotionDevGetControllerType) { + return unimplemented("sceMotionDevGetControllerType"); +} + +EXPORT(int, sceMotionDevGetCurrentMagnCalibData) { + return unimplemented("sceMotionDevGetCurrentMagnCalibData"); +} + +EXPORT(int, sceMotionDevGetCurrentMagnStabilityLevel) { + return unimplemented("sceMotionDevGetCurrentMagnStabilityLevel"); +} + +EXPORT(int, sceMotionDevGetDeviceInfo) { + return unimplemented("sceMotionDevGetDeviceInfo"); +} + +EXPORT(int, sceMotionDevGetDeviceLocation) { + return unimplemented("sceMotionDevGetDeviceLocation"); +} + +EXPORT(int, sceMotionDevGetDs3CalibData) { + return unimplemented("sceMotionDevGetDs3CalibData"); +} + +EXPORT(int, sceMotionDevGetFactoryMagnCalibData) { + return unimplemented("sceMotionDevGetFactoryMagnCalibData"); +} + +EXPORT(int, sceMotionDevGetGyroBias) { + return unimplemented("sceMotionDevGetGyroBias"); +} + +EXPORT(int, sceMotionDevGetGyroBias2) { + return unimplemented("sceMotionDevGetGyroBias2"); +} + +EXPORT(int, sceMotionDevGetGyroCalibData) { + return unimplemented("sceMotionDevGetGyroCalibData"); +} + +EXPORT(int, sceMotionDevGetGyroCalibData2) { + return unimplemented("sceMotionDevGetGyroCalibData2"); +} + +EXPORT(int, sceMotionDevGetMeasMode) { + return unimplemented("sceMotionDevGetMeasMode"); +} + +EXPORT(int, sceMotionDevIsReady) { + return unimplemented("sceMotionDevIsReady"); +} + +EXPORT(int, sceMotionDevMagnSamplingStart) { + return unimplemented("sceMotionDevMagnSamplingStart"); +} + +EXPORT(int, sceMotionDevMagnSamplingStop) { + return unimplemented("sceMotionDevMagnSamplingStop"); +} + +EXPORT(int, sceMotionDevRead) { + return unimplemented("sceMotionDevRead"); +} + +EXPORT(int, sceMotionDevRead2) { + return unimplemented("sceMotionDevRead2"); +} + +EXPORT(int, sceMotionDevRead3) { + return unimplemented("sceMotionDevRead3"); +} + +EXPORT(int, sceMotionDevReadForMagnCalib) { + return unimplemented("sceMotionDevReadForMagnCalib"); +} + +EXPORT(int, sceMotionDevSamplingStart) { + return unimplemented("sceMotionDevSamplingStart"); +} + +EXPORT(int, sceMotionDevSamplingStart2) { + return unimplemented("sceMotionDevSamplingStart2"); +} + +EXPORT(int, sceMotionDevSamplingStop) { + return unimplemented("sceMotionDevSamplingStop"); +} + +EXPORT(int, sceMotionDevSamplingStop2) { + return unimplemented("sceMotionDevSamplingStop2"); +} + +EXPORT(int, sceMotionDevSetGyroFeedBack) { + return unimplemented("sceMotionDevSetGyroFeedBack"); +} + +EXPORT(int, sceMotionDevSetSamplingMode) { + return unimplemented("sceMotionDevSetSamplingMode"); +} + +EXPORT(int, sceMotionDevUpdateMagnCalibData) { + return unimplemented("sceMotionDevUpdateMagnCalibData"); +} + +EXPORT(int, sceMotionDevUpdateMagnStabilityLevel) { + return unimplemented("sceMotionDevUpdateMagnStabilityLevel"); +} + +BRIDGE_IMPL(sceMotionDevGetAccCalibData) +BRIDGE_IMPL(sceMotionDevGetAccCalibData2) +BRIDGE_IMPL(sceMotionDevGetCalibrationData) +BRIDGE_IMPL(sceMotionDevGetCalibrationHeader) +BRIDGE_IMPL(sceMotionDevGetControllerType) +BRIDGE_IMPL(sceMotionDevGetCurrentMagnCalibData) +BRIDGE_IMPL(sceMotionDevGetCurrentMagnStabilityLevel) +BRIDGE_IMPL(sceMotionDevGetDeviceInfo) +BRIDGE_IMPL(sceMotionDevGetDeviceLocation) +BRIDGE_IMPL(sceMotionDevGetDs3CalibData) +BRIDGE_IMPL(sceMotionDevGetFactoryMagnCalibData) +BRIDGE_IMPL(sceMotionDevGetGyroBias) +BRIDGE_IMPL(sceMotionDevGetGyroBias2) +BRIDGE_IMPL(sceMotionDevGetGyroCalibData) +BRIDGE_IMPL(sceMotionDevGetGyroCalibData2) +BRIDGE_IMPL(sceMotionDevGetMeasMode) +BRIDGE_IMPL(sceMotionDevIsReady) +BRIDGE_IMPL(sceMotionDevMagnSamplingStart) +BRIDGE_IMPL(sceMotionDevMagnSamplingStop) +BRIDGE_IMPL(sceMotionDevRead) +BRIDGE_IMPL(sceMotionDevRead2) +BRIDGE_IMPL(sceMotionDevRead3) +BRIDGE_IMPL(sceMotionDevReadForMagnCalib) +BRIDGE_IMPL(sceMotionDevSamplingStart) +BRIDGE_IMPL(sceMotionDevSamplingStart2) +BRIDGE_IMPL(sceMotionDevSamplingStop) +BRIDGE_IMPL(sceMotionDevSamplingStop2) +BRIDGE_IMPL(sceMotionDevSetGyroFeedBack) +BRIDGE_IMPL(sceMotionDevSetSamplingMode) +BRIDGE_IMPL(sceMotionDevUpdateMagnCalibData) +BRIDGE_IMPL(sceMotionDevUpdateMagnStabilityLevel) diff --git a/src/emulator/modules/SceMt19937/CMakeLists.txt b/src/emulator/modules/SceMt19937/CMakeLists.txt new file mode 100644 index 000000000..6dc875ab1 --- /dev/null +++ b/src/emulator/modules/SceMt19937/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMt19937 STATIC include/SceMt19937/exports.h src/SceMt19937.cpp) +target_include_directories(SceMt19937 PUBLIC include) +target_link_libraries(SceMt19937 PRIVATE module) diff --git a/src/emulator/modules/SceMt19937/include/SceMt19937/exports.h b/src/emulator/modules/SceMt19937/include/SceMt19937/exports.h new file mode 100644 index 000000000..7af1019f1 --- /dev/null +++ b/src/emulator/modules/SceMt19937/include/SceMt19937/exports.h @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMt19937 +BRIDGE_DECL(sceMt19937Init) +BRIDGE_DECL(sceMt19937UInt) diff --git a/src/emulator/modules/SceMt19937/src/SceMt19937.cpp b/src/emulator/modules/SceMt19937/src/SceMt19937.cpp new file mode 100644 index 000000000..56022a464 --- /dev/null +++ b/src/emulator/modules/SceMt19937/src/SceMt19937.cpp @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMt19937Init) { + return unimplemented("sceMt19937Init"); +} + +EXPORT(int, sceMt19937UInt) { + return unimplemented("sceMt19937UInt"); +} + +BRIDGE_IMPL(sceMt19937Init) +BRIDGE_IMPL(sceMt19937UInt) diff --git a/src/emulator/modules/SceMtpIfDriver/CMakeLists.txt b/src/emulator/modules/SceMtpIfDriver/CMakeLists.txt new file mode 100644 index 000000000..3def62643 --- /dev/null +++ b/src/emulator/modules/SceMtpIfDriver/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMtpIfDriver STATIC include/SceMtpIfDriver/exports.h src/SceMtpIf.cpp) +target_include_directories(SceMtpIfDriver PUBLIC include) +target_link_libraries(SceMtpIfDriver PRIVATE module) diff --git a/src/emulator/modules/SceMtpIfDriver/include/SceMtpIfDriver/exports.h b/src/emulator/modules/SceMtpIfDriver/include/SceMtpIfDriver/exports.h new file mode 100644 index 000000000..db1648203 --- /dev/null +++ b/src/emulator/modules/SceMtpIfDriver/include/SceMtpIfDriver/exports.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMtpIf +BRIDGE_DECL(sceMtpIfCancelTransfer) +BRIDGE_DECL(sceMtpIfChangePhase) +BRIDGE_DECL(sceMtpIfGetPort) +BRIDGE_DECL(sceMtpIfIsConnected) +BRIDGE_DECL(sceMtpIfRecvCommand) +BRIDGE_DECL(sceMtpIfRecvDataWithParam) +BRIDGE_DECL(sceMtpIfReset) +BRIDGE_DECL(sceMtpIfSendDataWithParam) +BRIDGE_DECL(sceMtpIfSendEvent) +BRIDGE_DECL(sceMtpIfSendResponse) +BRIDGE_DECL(sceMtpIfStartDriver) +BRIDGE_DECL(sceMtpIfStartPort) +BRIDGE_DECL(sceMtpIfStopDriver) +BRIDGE_DECL(sceMtpIfStopPort) +BRIDGE_DECL(sceMtpIfWaitConnect) diff --git a/src/emulator/modules/SceMtpIfDriver/src/SceMtpIf.cpp b/src/emulator/modules/SceMtpIfDriver/src/SceMtpIf.cpp new file mode 100644 index 000000000..b63bfed06 --- /dev/null +++ b/src/emulator/modules/SceMtpIfDriver/src/SceMtpIf.cpp @@ -0,0 +1,94 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMtpIfCancelTransfer) { + return unimplemented("sceMtpIfCancelTransfer"); +} + +EXPORT(int, sceMtpIfChangePhase) { + return unimplemented("sceMtpIfChangePhase"); +} + +EXPORT(int, sceMtpIfGetPort) { + return unimplemented("sceMtpIfGetPort"); +} + +EXPORT(int, sceMtpIfIsConnected) { + return unimplemented("sceMtpIfIsConnected"); +} + +EXPORT(int, sceMtpIfRecvCommand) { + return unimplemented("sceMtpIfRecvCommand"); +} + +EXPORT(int, sceMtpIfRecvDataWithParam) { + return unimplemented("sceMtpIfRecvDataWithParam"); +} + +EXPORT(int, sceMtpIfReset) { + return unimplemented("sceMtpIfReset"); +} + +EXPORT(int, sceMtpIfSendDataWithParam) { + return unimplemented("sceMtpIfSendDataWithParam"); +} + +EXPORT(int, sceMtpIfSendEvent) { + return unimplemented("sceMtpIfSendEvent"); +} + +EXPORT(int, sceMtpIfSendResponse) { + return unimplemented("sceMtpIfSendResponse"); +} + +EXPORT(int, sceMtpIfStartDriver) { + return unimplemented("sceMtpIfStartDriver"); +} + +EXPORT(int, sceMtpIfStartPort) { + return unimplemented("sceMtpIfStartPort"); +} + +EXPORT(int, sceMtpIfStopDriver) { + return unimplemented("sceMtpIfStopDriver"); +} + +EXPORT(int, sceMtpIfStopPort) { + return unimplemented("sceMtpIfStopPort"); +} + +EXPORT(int, sceMtpIfWaitConnect) { + return unimplemented("sceMtpIfWaitConnect"); +} + +BRIDGE_IMPL(sceMtpIfCancelTransfer) +BRIDGE_IMPL(sceMtpIfChangePhase) +BRIDGE_IMPL(sceMtpIfGetPort) +BRIDGE_IMPL(sceMtpIfIsConnected) +BRIDGE_IMPL(sceMtpIfRecvCommand) +BRIDGE_IMPL(sceMtpIfRecvDataWithParam) +BRIDGE_IMPL(sceMtpIfReset) +BRIDGE_IMPL(sceMtpIfSendDataWithParam) +BRIDGE_IMPL(sceMtpIfSendEvent) +BRIDGE_IMPL(sceMtpIfSendResponse) +BRIDGE_IMPL(sceMtpIfStartDriver) +BRIDGE_IMPL(sceMtpIfStartPort) +BRIDGE_IMPL(sceMtpIfStopDriver) +BRIDGE_IMPL(sceMtpIfStopPort) +BRIDGE_IMPL(sceMtpIfWaitConnect) diff --git a/src/emulator/modules/SceMusicExport/CMakeLists.txt b/src/emulator/modules/SceMusicExport/CMakeLists.txt new file mode 100644 index 000000000..d2b5484d8 --- /dev/null +++ b/src/emulator/modules/SceMusicExport/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceMusicExport STATIC include/SceMusicExport/exports.h src/SceMusicExport.cpp) +target_include_directories(SceMusicExport PUBLIC include) +target_link_libraries(SceMusicExport PRIVATE module) diff --git a/src/emulator/modules/SceMusicExport/include/SceMusicExport/exports.h b/src/emulator/modules/SceMusicExport/include/SceMusicExport/exports.h new file mode 100644 index 000000000..c1f6ba8b7 --- /dev/null +++ b/src/emulator/modules/SceMusicExport/include/SceMusicExport/exports.h @@ -0,0 +1,23 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceMusicExport +BRIDGE_DECL(sceMusicExportFromFile) diff --git a/src/emulator/modules/SceMusicExport/src/SceMusicExport.cpp b/src/emulator/modules/SceMusicExport/src/SceMusicExport.cpp new file mode 100644 index 000000000..31aa9bc39 --- /dev/null +++ b/src/emulator/modules/SceMusicExport/src/SceMusicExport.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceMusicExportFromFile) { + return unimplemented("sceMusicExportFromFile"); +} + +BRIDGE_IMPL(sceMusicExportFromFile) diff --git a/src/emulator/modules/SceNearDialogUtil/CMakeLists.txt b/src/emulator/modules/SceNearDialogUtil/CMakeLists.txt new file mode 100644 index 000000000..b3999fce5 --- /dev/null +++ b/src/emulator/modules/SceNearDialogUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNearDialogUtil STATIC include/SceNearDialogUtil/exports.h src/SceNearDialogUtil.cpp) +target_include_directories(SceNearDialogUtil PUBLIC include) +target_link_libraries(SceNearDialogUtil PRIVATE module) diff --git a/src/emulator/modules/SceNearDialogUtil/include/SceNearDialogUtil/exports.h b/src/emulator/modules/SceNearDialogUtil/include/SceNearDialogUtil/exports.h new file mode 100644 index 000000000..37f6b03ef --- /dev/null +++ b/src/emulator/modules/SceNearDialogUtil/include/SceNearDialogUtil/exports.h @@ -0,0 +1,55 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNearDialogUtil +BRIDGE_DECL(sceNearDialogAbort) +BRIDGE_DECL(sceNearDialogGetResult) +BRIDGE_DECL(sceNearDialogGetStatus) +BRIDGE_DECL(sceNearDialogInit) +BRIDGE_DECL(sceNearDialogTerm) +BRIDGE_DECL(sceNearUtilityCloseDiscoveredGiftImage) +BRIDGE_DECL(sceNearUtilityCloseReceivedGiftData) +BRIDGE_DECL(sceNearUtilityConvertDiscoveredGiftParam) +BRIDGE_DECL(sceNearUtilityDeleteDiscoveredGift) +BRIDGE_DECL(sceNearUtilityDeleteGift) +BRIDGE_DECL(sceNearUtilityFinalize) +BRIDGE_DECL(sceNearUtilityGetDiscoveredGiftInfo) +BRIDGE_DECL(sceNearUtilityGetDiscoveredGiftSender) +BRIDGE_DECL(sceNearUtilityGetDiscoveredGiftStatus) +BRIDGE_DECL(sceNearUtilityGetDiscoveredGifts) +BRIDGE_DECL(sceNearUtilityGetGift) +BRIDGE_DECL(sceNearUtilityGetGiftStatus) +BRIDGE_DECL(sceNearUtilityGetLastNeighborFoundDateTime) +BRIDGE_DECL(sceNearUtilityGetMyStatus) +BRIDGE_DECL(sceNearUtilityGetNeighbors) +BRIDGE_DECL(sceNearUtilityGetNewNeighbors) +BRIDGE_DECL(sceNearUtilityGetRecentNeighbors) +BRIDGE_DECL(sceNearUtilityIgnoreDiscoveredGift) +BRIDGE_DECL(sceNearUtilityInitialize) +BRIDGE_DECL(sceNearUtilityLaunchNearAppForDownload) +BRIDGE_DECL(sceNearUtilityLaunchNearAppForUpdate) +BRIDGE_DECL(sceNearUtilityOpenDiscoveredGiftImage) +BRIDGE_DECL(sceNearUtilityOpenReceivedGiftData) +BRIDGE_DECL(sceNearUtilityReadDiscoveredGiftImage) +BRIDGE_DECL(sceNearUtilityReadReceivedGiftData) +BRIDGE_DECL(sceNearUtilityRefresh) +BRIDGE_DECL(sceNearUtilitySetGift) +BRIDGE_DECL(sceNearUtilitySetGift2) diff --git a/src/emulator/modules/SceNearDialogUtil/src/SceNearDialogUtil.cpp b/src/emulator/modules/SceNearDialogUtil/src/SceNearDialogUtil.cpp new file mode 100644 index 000000000..9e961f7e3 --- /dev/null +++ b/src/emulator/modules/SceNearDialogUtil/src/SceNearDialogUtil.cpp @@ -0,0 +1,184 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNearDialogAbort) { + return unimplemented("sceNearDialogAbort"); +} + +EXPORT(int, sceNearDialogGetResult) { + return unimplemented("sceNearDialogGetResult"); +} + +EXPORT(int, sceNearDialogGetStatus) { + return unimplemented("sceNearDialogGetStatus"); +} + +EXPORT(int, sceNearDialogInit) { + return unimplemented("sceNearDialogInit"); +} + +EXPORT(int, sceNearDialogTerm) { + return unimplemented("sceNearDialogTerm"); +} + +EXPORT(int, sceNearUtilityCloseDiscoveredGiftImage) { + return unimplemented("sceNearUtilityCloseDiscoveredGiftImage"); +} + +EXPORT(int, sceNearUtilityCloseReceivedGiftData) { + return unimplemented("sceNearUtilityCloseReceivedGiftData"); +} + +EXPORT(int, sceNearUtilityConvertDiscoveredGiftParam) { + return unimplemented("sceNearUtilityConvertDiscoveredGiftParam"); +} + +EXPORT(int, sceNearUtilityDeleteDiscoveredGift) { + return unimplemented("sceNearUtilityDeleteDiscoveredGift"); +} + +EXPORT(int, sceNearUtilityDeleteGift) { + return unimplemented("sceNearUtilityDeleteGift"); +} + +EXPORT(int, sceNearUtilityFinalize) { + return unimplemented("sceNearUtilityFinalize"); +} + +EXPORT(int, sceNearUtilityGetDiscoveredGiftInfo) { + return unimplemented("sceNearUtilityGetDiscoveredGiftInfo"); +} + +EXPORT(int, sceNearUtilityGetDiscoveredGiftSender) { + return unimplemented("sceNearUtilityGetDiscoveredGiftSender"); +} + +EXPORT(int, sceNearUtilityGetDiscoveredGiftStatus) { + return unimplemented("sceNearUtilityGetDiscoveredGiftStatus"); +} + +EXPORT(int, sceNearUtilityGetDiscoveredGifts) { + return unimplemented("sceNearUtilityGetDiscoveredGifts"); +} + +EXPORT(int, sceNearUtilityGetGift) { + return unimplemented("sceNearUtilityGetGift"); +} + +EXPORT(int, sceNearUtilityGetGiftStatus) { + return unimplemented("sceNearUtilityGetGiftStatus"); +} + +EXPORT(int, sceNearUtilityGetLastNeighborFoundDateTime) { + return unimplemented("sceNearUtilityGetLastNeighborFoundDateTime"); +} + +EXPORT(int, sceNearUtilityGetMyStatus) { + return unimplemented("sceNearUtilityGetMyStatus"); +} + +EXPORT(int, sceNearUtilityGetNeighbors) { + return unimplemented("sceNearUtilityGetNeighbors"); +} + +EXPORT(int, sceNearUtilityGetNewNeighbors) { + return unimplemented("sceNearUtilityGetNewNeighbors"); +} + +EXPORT(int, sceNearUtilityGetRecentNeighbors) { + return unimplemented("sceNearUtilityGetRecentNeighbors"); +} + +EXPORT(int, sceNearUtilityIgnoreDiscoveredGift) { + return unimplemented("sceNearUtilityIgnoreDiscoveredGift"); +} + +EXPORT(int, sceNearUtilityInitialize) { + return unimplemented("sceNearUtilityInitialize"); +} + +EXPORT(int, sceNearUtilityLaunchNearAppForDownload) { + return unimplemented("sceNearUtilityLaunchNearAppForDownload"); +} + +EXPORT(int, sceNearUtilityLaunchNearAppForUpdate) { + return unimplemented("sceNearUtilityLaunchNearAppForUpdate"); +} + +EXPORT(int, sceNearUtilityOpenDiscoveredGiftImage) { + return unimplemented("sceNearUtilityOpenDiscoveredGiftImage"); +} + +EXPORT(int, sceNearUtilityOpenReceivedGiftData) { + return unimplemented("sceNearUtilityOpenReceivedGiftData"); +} + +EXPORT(int, sceNearUtilityReadDiscoveredGiftImage) { + return unimplemented("sceNearUtilityReadDiscoveredGiftImage"); +} + +EXPORT(int, sceNearUtilityReadReceivedGiftData) { + return unimplemented("sceNearUtilityReadReceivedGiftData"); +} + +EXPORT(int, sceNearUtilityRefresh) { + return unimplemented("sceNearUtilityRefresh"); +} + +EXPORT(int, sceNearUtilitySetGift) { + return unimplemented("sceNearUtilitySetGift"); +} + +EXPORT(int, sceNearUtilitySetGift2) { + return unimplemented("sceNearUtilitySetGift2"); +} + +BRIDGE_IMPL(sceNearDialogAbort) +BRIDGE_IMPL(sceNearDialogGetResult) +BRIDGE_IMPL(sceNearDialogGetStatus) +BRIDGE_IMPL(sceNearDialogInit) +BRIDGE_IMPL(sceNearDialogTerm) +BRIDGE_IMPL(sceNearUtilityCloseDiscoveredGiftImage) +BRIDGE_IMPL(sceNearUtilityCloseReceivedGiftData) +BRIDGE_IMPL(sceNearUtilityConvertDiscoveredGiftParam) +BRIDGE_IMPL(sceNearUtilityDeleteDiscoveredGift) +BRIDGE_IMPL(sceNearUtilityDeleteGift) +BRIDGE_IMPL(sceNearUtilityFinalize) +BRIDGE_IMPL(sceNearUtilityGetDiscoveredGiftInfo) +BRIDGE_IMPL(sceNearUtilityGetDiscoveredGiftSender) +BRIDGE_IMPL(sceNearUtilityGetDiscoveredGiftStatus) +BRIDGE_IMPL(sceNearUtilityGetDiscoveredGifts) +BRIDGE_IMPL(sceNearUtilityGetGift) +BRIDGE_IMPL(sceNearUtilityGetGiftStatus) +BRIDGE_IMPL(sceNearUtilityGetLastNeighborFoundDateTime) +BRIDGE_IMPL(sceNearUtilityGetMyStatus) +BRIDGE_IMPL(sceNearUtilityGetNeighbors) +BRIDGE_IMPL(sceNearUtilityGetNewNeighbors) +BRIDGE_IMPL(sceNearUtilityGetRecentNeighbors) +BRIDGE_IMPL(sceNearUtilityIgnoreDiscoveredGift) +BRIDGE_IMPL(sceNearUtilityInitialize) +BRIDGE_IMPL(sceNearUtilityLaunchNearAppForDownload) +BRIDGE_IMPL(sceNearUtilityLaunchNearAppForUpdate) +BRIDGE_IMPL(sceNearUtilityOpenDiscoveredGiftImage) +BRIDGE_IMPL(sceNearUtilityOpenReceivedGiftData) +BRIDGE_IMPL(sceNearUtilityReadDiscoveredGiftImage) +BRIDGE_IMPL(sceNearUtilityReadReceivedGiftData) +BRIDGE_IMPL(sceNearUtilityRefresh) +BRIDGE_IMPL(sceNearUtilitySetGift) +BRIDGE_IMPL(sceNearUtilitySetGift2) diff --git a/src/emulator/modules/SceNearUtil/CMakeLists.txt b/src/emulator/modules/SceNearUtil/CMakeLists.txt new file mode 100644 index 000000000..5f8aba24e --- /dev/null +++ b/src/emulator/modules/SceNearUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNearUtil STATIC include/SceNearUtil/exports.h src/SceNearUtil.cpp) +target_include_directories(SceNearUtil PUBLIC include) +target_link_libraries(SceNearUtil PRIVATE module) diff --git a/src/emulator/modules/SceNearUtil/include/SceNearUtil/exports.h b/src/emulator/modules/SceNearUtil/include/SceNearUtil/exports.h new file mode 100644 index 000000000..1f5159635 --- /dev/null +++ b/src/emulator/modules/SceNearUtil/include/SceNearUtil/exports.h @@ -0,0 +1,51 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNearUtil +BRIDGE_DECL(sceNearCloseDiscoveredGiftImage) +BRIDGE_DECL(sceNearCloseReceivedGiftData) +BRIDGE_DECL(sceNearConvertDiscoveredGiftParam) +BRIDGE_DECL(sceNearDeleteDiscoveredGift) +BRIDGE_DECL(sceNearDeleteGift) +BRIDGE_DECL(sceNearFinalize) +BRIDGE_DECL(sceNearFinalizeAndLaunchNearApp) +BRIDGE_DECL(sceNearGetDiscoveredGiftInfo) +BRIDGE_DECL(sceNearGetDiscoveredGiftSender) +BRIDGE_DECL(sceNearGetDiscoveredGiftStatus) +BRIDGE_DECL(sceNearGetDiscoveredGifts) +BRIDGE_DECL(sceNearGetGift) +BRIDGE_DECL(sceNearGetGiftStatus) +BRIDGE_DECL(sceNearGetLastNeighborFoundDateTime) +BRIDGE_DECL(sceNearGetMyStatus) +BRIDGE_DECL(sceNearGetNeighbors) +BRIDGE_DECL(sceNearGetNewNeighbors) +BRIDGE_DECL(sceNearGetRecentNeighbors) +BRIDGE_DECL(sceNearIgnoreDiscoveredGift) +BRIDGE_DECL(sceNearInitialize) +BRIDGE_DECL(sceNearLaunchNearAppForDownload) +BRIDGE_DECL(sceNearLaunchNearAppForUpdate) +BRIDGE_DECL(sceNearOpenDiscoveredGiftImage) +BRIDGE_DECL(sceNearOpenReceivedGiftData) +BRIDGE_DECL(sceNearReadDiscoveredGiftImage) +BRIDGE_DECL(sceNearReadReceivedGiftData) +BRIDGE_DECL(sceNearRefresh) +BRIDGE_DECL(sceNearSetGift) +BRIDGE_DECL(sceNearSetGift2) diff --git a/src/emulator/modules/SceNearUtil/src/SceNearUtil.cpp b/src/emulator/modules/SceNearUtil/src/SceNearUtil.cpp new file mode 100644 index 000000000..af1594949 --- /dev/null +++ b/src/emulator/modules/SceNearUtil/src/SceNearUtil.cpp @@ -0,0 +1,164 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNearCloseDiscoveredGiftImage) { + return unimplemented("sceNearCloseDiscoveredGiftImage"); +} + +EXPORT(int, sceNearCloseReceivedGiftData) { + return unimplemented("sceNearCloseReceivedGiftData"); +} + +EXPORT(int, sceNearConvertDiscoveredGiftParam) { + return unimplemented("sceNearConvertDiscoveredGiftParam"); +} + +EXPORT(int, sceNearDeleteDiscoveredGift) { + return unimplemented("sceNearDeleteDiscoveredGift"); +} + +EXPORT(int, sceNearDeleteGift) { + return unimplemented("sceNearDeleteGift"); +} + +EXPORT(int, sceNearFinalize) { + return unimplemented("sceNearFinalize"); +} + +EXPORT(int, sceNearFinalizeAndLaunchNearApp) { + return unimplemented("sceNearFinalizeAndLaunchNearApp"); +} + +EXPORT(int, sceNearGetDiscoveredGiftInfo) { + return unimplemented("sceNearGetDiscoveredGiftInfo"); +} + +EXPORT(int, sceNearGetDiscoveredGiftSender) { + return unimplemented("sceNearGetDiscoveredGiftSender"); +} + +EXPORT(int, sceNearGetDiscoveredGiftStatus) { + return unimplemented("sceNearGetDiscoveredGiftStatus"); +} + +EXPORT(int, sceNearGetDiscoveredGifts) { + return unimplemented("sceNearGetDiscoveredGifts"); +} + +EXPORT(int, sceNearGetGift) { + return unimplemented("sceNearGetGift"); +} + +EXPORT(int, sceNearGetGiftStatus) { + return unimplemented("sceNearGetGiftStatus"); +} + +EXPORT(int, sceNearGetLastNeighborFoundDateTime) { + return unimplemented("sceNearGetLastNeighborFoundDateTime"); +} + +EXPORT(int, sceNearGetMyStatus) { + return unimplemented("sceNearGetMyStatus"); +} + +EXPORT(int, sceNearGetNeighbors) { + return unimplemented("sceNearGetNeighbors"); +} + +EXPORT(int, sceNearGetNewNeighbors) { + return unimplemented("sceNearGetNewNeighbors"); +} + +EXPORT(int, sceNearGetRecentNeighbors) { + return unimplemented("sceNearGetRecentNeighbors"); +} + +EXPORT(int, sceNearIgnoreDiscoveredGift) { + return unimplemented("sceNearIgnoreDiscoveredGift"); +} + +EXPORT(int, sceNearInitialize) { + return unimplemented("sceNearInitialize"); +} + +EXPORT(int, sceNearLaunchNearAppForDownload) { + return unimplemented("sceNearLaunchNearAppForDownload"); +} + +EXPORT(int, sceNearLaunchNearAppForUpdate) { + return unimplemented("sceNearLaunchNearAppForUpdate"); +} + +EXPORT(int, sceNearOpenDiscoveredGiftImage) { + return unimplemented("sceNearOpenDiscoveredGiftImage"); +} + +EXPORT(int, sceNearOpenReceivedGiftData) { + return unimplemented("sceNearOpenReceivedGiftData"); +} + +EXPORT(int, sceNearReadDiscoveredGiftImage) { + return unimplemented("sceNearReadDiscoveredGiftImage"); +} + +EXPORT(int, sceNearReadReceivedGiftData) { + return unimplemented("sceNearReadReceivedGiftData"); +} + +EXPORT(int, sceNearRefresh) { + return unimplemented("sceNearRefresh"); +} + +EXPORT(int, sceNearSetGift) { + return unimplemented("sceNearSetGift"); +} + +EXPORT(int, sceNearSetGift2) { + return unimplemented("sceNearSetGift2"); +} + +BRIDGE_IMPL(sceNearCloseDiscoveredGiftImage) +BRIDGE_IMPL(sceNearCloseReceivedGiftData) +BRIDGE_IMPL(sceNearConvertDiscoveredGiftParam) +BRIDGE_IMPL(sceNearDeleteDiscoveredGift) +BRIDGE_IMPL(sceNearDeleteGift) +BRIDGE_IMPL(sceNearFinalize) +BRIDGE_IMPL(sceNearFinalizeAndLaunchNearApp) +BRIDGE_IMPL(sceNearGetDiscoveredGiftInfo) +BRIDGE_IMPL(sceNearGetDiscoveredGiftSender) +BRIDGE_IMPL(sceNearGetDiscoveredGiftStatus) +BRIDGE_IMPL(sceNearGetDiscoveredGifts) +BRIDGE_IMPL(sceNearGetGift) +BRIDGE_IMPL(sceNearGetGiftStatus) +BRIDGE_IMPL(sceNearGetLastNeighborFoundDateTime) +BRIDGE_IMPL(sceNearGetMyStatus) +BRIDGE_IMPL(sceNearGetNeighbors) +BRIDGE_IMPL(sceNearGetNewNeighbors) +BRIDGE_IMPL(sceNearGetRecentNeighbors) +BRIDGE_IMPL(sceNearIgnoreDiscoveredGift) +BRIDGE_IMPL(sceNearInitialize) +BRIDGE_IMPL(sceNearLaunchNearAppForDownload) +BRIDGE_IMPL(sceNearLaunchNearAppForUpdate) +BRIDGE_IMPL(sceNearOpenDiscoveredGiftImage) +BRIDGE_IMPL(sceNearOpenReceivedGiftData) +BRIDGE_IMPL(sceNearReadDiscoveredGiftImage) +BRIDGE_IMPL(sceNearReadReceivedGiftData) +BRIDGE_IMPL(sceNearRefresh) +BRIDGE_IMPL(sceNearSetGift) +BRIDGE_IMPL(sceNearSetGift2) diff --git a/src/emulator/modules/SceNet/CMakeLists.txt b/src/emulator/modules/SceNet/CMakeLists.txt new file mode 100644 index 000000000..f887604a2 --- /dev/null +++ b/src/emulator/modules/SceNet/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNet STATIC include/SceNet/exports.h src/SceNet.cpp) +target_include_directories(SceNet PUBLIC include) +target_link_libraries(SceNet PRIVATE module) diff --git a/src/emulator/modules/SceNet/include/SceNet/exports.h b/src/emulator/modules/SceNet/include/SceNet/exports.h new file mode 100644 index 000000000..e30dbb789 --- /dev/null +++ b/src/emulator/modules/SceNet/include/SceNet/exports.h @@ -0,0 +1,78 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNet +BRIDGE_DECL(sceNetAccept) +BRIDGE_DECL(sceNetBind) +BRIDGE_DECL(sceNetClearDnsCache) +BRIDGE_DECL(sceNetConnect) +BRIDGE_DECL(sceNetDumpAbort) +BRIDGE_DECL(sceNetDumpCreate) +BRIDGE_DECL(sceNetDumpDestroy) +BRIDGE_DECL(sceNetDumpRead) +BRIDGE_DECL(sceNetEpollAbort) +BRIDGE_DECL(sceNetEpollControl) +BRIDGE_DECL(sceNetEpollCreate) +BRIDGE_DECL(sceNetEpollDestroy) +BRIDGE_DECL(sceNetEpollWait) +BRIDGE_DECL(sceNetEpollWaitCB) +BRIDGE_DECL(sceNetErrnoLoc) +BRIDGE_DECL(sceNetEtherNtostr) +BRIDGE_DECL(sceNetEtherStrton) +BRIDGE_DECL(sceNetGetMacAddress) +BRIDGE_DECL(sceNetGetSockIdInfo) +BRIDGE_DECL(sceNetGetSockInfo) +BRIDGE_DECL(sceNetGetStatisticsInfo) +BRIDGE_DECL(sceNetGetpeername) +BRIDGE_DECL(sceNetGetsockname) +BRIDGE_DECL(sceNetGetsockopt) +BRIDGE_DECL(sceNetHtonl) +BRIDGE_DECL(sceNetHtonll) +BRIDGE_DECL(sceNetHtons) +BRIDGE_DECL(sceNetInetNtop) +BRIDGE_DECL(sceNetInetPton) +BRIDGE_DECL(sceNetInit) +BRIDGE_DECL(sceNetListen) +BRIDGE_DECL(sceNetNtohl) +BRIDGE_DECL(sceNetNtohll) +BRIDGE_DECL(sceNetNtohs) +BRIDGE_DECL(sceNetRecv) +BRIDGE_DECL(sceNetRecvfrom) +BRIDGE_DECL(sceNetRecvmsg) +BRIDGE_DECL(sceNetResolverAbort) +BRIDGE_DECL(sceNetResolverCreate) +BRIDGE_DECL(sceNetResolverDestroy) +BRIDGE_DECL(sceNetResolverGetError) +BRIDGE_DECL(sceNetResolverStartAton) +BRIDGE_DECL(sceNetResolverStartNtoa) +BRIDGE_DECL(sceNetSend) +BRIDGE_DECL(sceNetSendmsg) +BRIDGE_DECL(sceNetSendto) +BRIDGE_DECL(sceNetSetDnsInfo) +BRIDGE_DECL(sceNetSetsockopt) +BRIDGE_DECL(sceNetShowIfconfig) +BRIDGE_DECL(sceNetShowNetstat) +BRIDGE_DECL(sceNetShowRoute) +BRIDGE_DECL(sceNetShutdown) +BRIDGE_DECL(sceNetSocket) +BRIDGE_DECL(sceNetSocketAbort) +BRIDGE_DECL(sceNetSocketClose) +BRIDGE_DECL(sceNetTerm) diff --git a/src/emulator/modules/SceNet/src/SceNet.cpp b/src/emulator/modules/SceNet/src/SceNet.cpp new file mode 100644 index 000000000..d0ddf1868 --- /dev/null +++ b/src/emulator/modules/SceNet/src/SceNet.cpp @@ -0,0 +1,299 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNetAccept) { + return unimplemented("sceNetAccept"); +} + +EXPORT(int, sceNetBind) { + return unimplemented("sceNetBind"); +} + +EXPORT(int, sceNetClearDnsCache) { + return unimplemented("sceNetClearDnsCache"); +} + +EXPORT(int, sceNetConnect) { + return unimplemented("sceNetConnect"); +} + +EXPORT(int, sceNetDumpAbort) { + return unimplemented("sceNetDumpAbort"); +} + +EXPORT(int, sceNetDumpCreate) { + return unimplemented("sceNetDumpCreate"); +} + +EXPORT(int, sceNetDumpDestroy) { + return unimplemented("sceNetDumpDestroy"); +} + +EXPORT(int, sceNetDumpRead) { + return unimplemented("sceNetDumpRead"); +} + +EXPORT(int, sceNetEpollAbort) { + return unimplemented("sceNetEpollAbort"); +} + +EXPORT(int, sceNetEpollControl) { + return unimplemented("sceNetEpollControl"); +} + +EXPORT(int, sceNetEpollCreate) { + return unimplemented("sceNetEpollCreate"); +} + +EXPORT(int, sceNetEpollDestroy) { + return unimplemented("sceNetEpollDestroy"); +} + +EXPORT(int, sceNetEpollWait) { + return unimplemented("sceNetEpollWait"); +} + +EXPORT(int, sceNetEpollWaitCB) { + return unimplemented("sceNetEpollWaitCB"); +} + +EXPORT(int, sceNetErrnoLoc) { + return unimplemented("sceNetErrnoLoc"); +} + +EXPORT(int, sceNetEtherNtostr) { + return unimplemented("sceNetEtherNtostr"); +} + +EXPORT(int, sceNetEtherStrton) { + return unimplemented("sceNetEtherStrton"); +} + +EXPORT(int, sceNetGetMacAddress) { + return unimplemented("sceNetGetMacAddress"); +} + +EXPORT(int, sceNetGetSockIdInfo) { + return unimplemented("sceNetGetSockIdInfo"); +} + +EXPORT(int, sceNetGetSockInfo) { + return unimplemented("sceNetGetSockInfo"); +} + +EXPORT(int, sceNetGetStatisticsInfo) { + return unimplemented("sceNetGetStatisticsInfo"); +} + +EXPORT(int, sceNetGetpeername) { + return unimplemented("sceNetGetpeername"); +} + +EXPORT(int, sceNetGetsockname) { + return unimplemented("sceNetGetsockname"); +} + +EXPORT(int, sceNetGetsockopt) { + return unimplemented("sceNetGetsockopt"); +} + +EXPORT(int, sceNetHtonl) { + return unimplemented("sceNetHtonl"); +} + +EXPORT(int, sceNetHtonll) { + return unimplemented("sceNetHtonll"); +} + +EXPORT(int, sceNetHtons) { + return unimplemented("sceNetHtons"); +} + +EXPORT(int, sceNetInetNtop) { + return unimplemented("sceNetInetNtop"); +} + +EXPORT(int, sceNetInetPton) { + return unimplemented("sceNetInetPton"); +} + +EXPORT(int, sceNetInit) { + return unimplemented("sceNetInit"); +} + +EXPORT(int, sceNetListen) { + return unimplemented("sceNetListen"); +} + +EXPORT(int, sceNetNtohl) { + return unimplemented("sceNetNtohl"); +} + +EXPORT(int, sceNetNtohll) { + return unimplemented("sceNetNtohll"); +} + +EXPORT(int, sceNetNtohs) { + return unimplemented("sceNetNtohs"); +} + +EXPORT(int, sceNetRecv) { + return unimplemented("sceNetRecv"); +} + +EXPORT(int, sceNetRecvfrom) { + return unimplemented("sceNetRecvfrom"); +} + +EXPORT(int, sceNetRecvmsg) { + return unimplemented("sceNetRecvmsg"); +} + +EXPORT(int, sceNetResolverAbort) { + return unimplemented("sceNetResolverAbort"); +} + +EXPORT(int, sceNetResolverCreate) { + return unimplemented("sceNetResolverCreate"); +} + +EXPORT(int, sceNetResolverDestroy) { + return unimplemented("sceNetResolverDestroy"); +} + +EXPORT(int, sceNetResolverGetError) { + return unimplemented("sceNetResolverGetError"); +} + +EXPORT(int, sceNetResolverStartAton) { + return unimplemented("sceNetResolverStartAton"); +} + +EXPORT(int, sceNetResolverStartNtoa) { + return unimplemented("sceNetResolverStartNtoa"); +} + +EXPORT(int, sceNetSend) { + return unimplemented("sceNetSend"); +} + +EXPORT(int, sceNetSendmsg) { + return unimplemented("sceNetSendmsg"); +} + +EXPORT(int, sceNetSendto) { + return unimplemented("sceNetSendto"); +} + +EXPORT(int, sceNetSetDnsInfo) { + return unimplemented("sceNetSetDnsInfo"); +} + +EXPORT(int, sceNetSetsockopt) { + return unimplemented("sceNetSetsockopt"); +} + +EXPORT(int, sceNetShowIfconfig) { + return unimplemented("sceNetShowIfconfig"); +} + +EXPORT(int, sceNetShowNetstat) { + return unimplemented("sceNetShowNetstat"); +} + +EXPORT(int, sceNetShowRoute) { + return unimplemented("sceNetShowRoute"); +} + +EXPORT(int, sceNetShutdown) { + return unimplemented("sceNetShutdown"); +} + +EXPORT(int, sceNetSocket) { + return unimplemented("sceNetSocket"); +} + +EXPORT(int, sceNetSocketAbort) { + return unimplemented("sceNetSocketAbort"); +} + +EXPORT(int, sceNetSocketClose) { + return unimplemented("sceNetSocketClose"); +} + +EXPORT(int, sceNetTerm) { + return unimplemented("sceNetTerm"); +} + +BRIDGE_IMPL(sceNetAccept) +BRIDGE_IMPL(sceNetBind) +BRIDGE_IMPL(sceNetClearDnsCache) +BRIDGE_IMPL(sceNetConnect) +BRIDGE_IMPL(sceNetDumpAbort) +BRIDGE_IMPL(sceNetDumpCreate) +BRIDGE_IMPL(sceNetDumpDestroy) +BRIDGE_IMPL(sceNetDumpRead) +BRIDGE_IMPL(sceNetEpollAbort) +BRIDGE_IMPL(sceNetEpollControl) +BRIDGE_IMPL(sceNetEpollCreate) +BRIDGE_IMPL(sceNetEpollDestroy) +BRIDGE_IMPL(sceNetEpollWait) +BRIDGE_IMPL(sceNetEpollWaitCB) +BRIDGE_IMPL(sceNetErrnoLoc) +BRIDGE_IMPL(sceNetEtherNtostr) +BRIDGE_IMPL(sceNetEtherStrton) +BRIDGE_IMPL(sceNetGetMacAddress) +BRIDGE_IMPL(sceNetGetSockIdInfo) +BRIDGE_IMPL(sceNetGetSockInfo) +BRIDGE_IMPL(sceNetGetStatisticsInfo) +BRIDGE_IMPL(sceNetGetpeername) +BRIDGE_IMPL(sceNetGetsockname) +BRIDGE_IMPL(sceNetGetsockopt) +BRIDGE_IMPL(sceNetHtonl) +BRIDGE_IMPL(sceNetHtonll) +BRIDGE_IMPL(sceNetHtons) +BRIDGE_IMPL(sceNetInetNtop) +BRIDGE_IMPL(sceNetInetPton) +BRIDGE_IMPL(sceNetInit) +BRIDGE_IMPL(sceNetListen) +BRIDGE_IMPL(sceNetNtohl) +BRIDGE_IMPL(sceNetNtohll) +BRIDGE_IMPL(sceNetNtohs) +BRIDGE_IMPL(sceNetRecv) +BRIDGE_IMPL(sceNetRecvfrom) +BRIDGE_IMPL(sceNetRecvmsg) +BRIDGE_IMPL(sceNetResolverAbort) +BRIDGE_IMPL(sceNetResolverCreate) +BRIDGE_IMPL(sceNetResolverDestroy) +BRIDGE_IMPL(sceNetResolverGetError) +BRIDGE_IMPL(sceNetResolverStartAton) +BRIDGE_IMPL(sceNetResolverStartNtoa) +BRIDGE_IMPL(sceNetSend) +BRIDGE_IMPL(sceNetSendmsg) +BRIDGE_IMPL(sceNetSendto) +BRIDGE_IMPL(sceNetSetDnsInfo) +BRIDGE_IMPL(sceNetSetsockopt) +BRIDGE_IMPL(sceNetShowIfconfig) +BRIDGE_IMPL(sceNetShowNetstat) +BRIDGE_IMPL(sceNetShowRoute) +BRIDGE_IMPL(sceNetShutdown) +BRIDGE_IMPL(sceNetSocket) +BRIDGE_IMPL(sceNetSocketAbort) +BRIDGE_IMPL(sceNetSocketClose) +BRIDGE_IMPL(sceNetTerm) diff --git a/src/emulator/modules/SceNetAdhocMatching/CMakeLists.txt b/src/emulator/modules/SceNetAdhocMatching/CMakeLists.txt new file mode 100644 index 000000000..e7d7a251a --- /dev/null +++ b/src/emulator/modules/SceNetAdhocMatching/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNetAdhocMatching STATIC include/SceNetAdhocMatching/exports.h src/SceNetAdhocMatching.cpp) +target_include_directories(SceNetAdhocMatching PUBLIC include) +target_link_libraries(SceNetAdhocMatching PRIVATE module) diff --git a/src/emulator/modules/SceNetAdhocMatching/include/SceNetAdhocMatching/exports.h b/src/emulator/modules/SceNetAdhocMatching/include/SceNetAdhocMatching/exports.h new file mode 100644 index 000000000..e7425a169 --- /dev/null +++ b/src/emulator/modules/SceNetAdhocMatching/include/SceNetAdhocMatching/exports.h @@ -0,0 +1,36 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNetAdhocMatching +BRIDGE_DECL(sceNetAdhocMatchingAbortSendData) +BRIDGE_DECL(sceNetAdhocMatchingCancelTarget) +BRIDGE_DECL(sceNetAdhocMatchingCancelTargetWithOpt) +BRIDGE_DECL(sceNetAdhocMatchingCreate) +BRIDGE_DECL(sceNetAdhocMatchingDelete) +BRIDGE_DECL(sceNetAdhocMatchingGetHelloOpt) +BRIDGE_DECL(sceNetAdhocMatchingGetMembers) +BRIDGE_DECL(sceNetAdhocMatchingInit) +BRIDGE_DECL(sceNetAdhocMatchingSelectTarget) +BRIDGE_DECL(sceNetAdhocMatchingSendData) +BRIDGE_DECL(sceNetAdhocMatchingSetHelloOpt) +BRIDGE_DECL(sceNetAdhocMatchingStart) +BRIDGE_DECL(sceNetAdhocMatchingStop) +BRIDGE_DECL(sceNetAdhocMatchingTerm) diff --git a/src/emulator/modules/SceNetAdhocMatching/src/SceNetAdhocMatching.cpp b/src/emulator/modules/SceNetAdhocMatching/src/SceNetAdhocMatching.cpp new file mode 100644 index 000000000..05f3e80a0 --- /dev/null +++ b/src/emulator/modules/SceNetAdhocMatching/src/SceNetAdhocMatching.cpp @@ -0,0 +1,89 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNetAdhocMatchingAbortSendData) { + return unimplemented("sceNetAdhocMatchingAbortSendData"); +} + +EXPORT(int, sceNetAdhocMatchingCancelTarget) { + return unimplemented("sceNetAdhocMatchingCancelTarget"); +} + +EXPORT(int, sceNetAdhocMatchingCancelTargetWithOpt) { + return unimplemented("sceNetAdhocMatchingCancelTargetWithOpt"); +} + +EXPORT(int, sceNetAdhocMatchingCreate) { + return unimplemented("sceNetAdhocMatchingCreate"); +} + +EXPORT(int, sceNetAdhocMatchingDelete) { + return unimplemented("sceNetAdhocMatchingDelete"); +} + +EXPORT(int, sceNetAdhocMatchingGetHelloOpt) { + return unimplemented("sceNetAdhocMatchingGetHelloOpt"); +} + +EXPORT(int, sceNetAdhocMatchingGetMembers) { + return unimplemented("sceNetAdhocMatchingGetMembers"); +} + +EXPORT(int, sceNetAdhocMatchingInit) { + return unimplemented("sceNetAdhocMatchingInit"); +} + +EXPORT(int, sceNetAdhocMatchingSelectTarget) { + return unimplemented("sceNetAdhocMatchingSelectTarget"); +} + +EXPORT(int, sceNetAdhocMatchingSendData) { + return unimplemented("sceNetAdhocMatchingSendData"); +} + +EXPORT(int, sceNetAdhocMatchingSetHelloOpt) { + return unimplemented("sceNetAdhocMatchingSetHelloOpt"); +} + +EXPORT(int, sceNetAdhocMatchingStart) { + return unimplemented("sceNetAdhocMatchingStart"); +} + +EXPORT(int, sceNetAdhocMatchingStop) { + return unimplemented("sceNetAdhocMatchingStop"); +} + +EXPORT(int, sceNetAdhocMatchingTerm) { + return unimplemented("sceNetAdhocMatchingTerm"); +} + +BRIDGE_IMPL(sceNetAdhocMatchingAbortSendData) +BRIDGE_IMPL(sceNetAdhocMatchingCancelTarget) +BRIDGE_IMPL(sceNetAdhocMatchingCancelTargetWithOpt) +BRIDGE_IMPL(sceNetAdhocMatchingCreate) +BRIDGE_IMPL(sceNetAdhocMatchingDelete) +BRIDGE_IMPL(sceNetAdhocMatchingGetHelloOpt) +BRIDGE_IMPL(sceNetAdhocMatchingGetMembers) +BRIDGE_IMPL(sceNetAdhocMatchingInit) +BRIDGE_IMPL(sceNetAdhocMatchingSelectTarget) +BRIDGE_IMPL(sceNetAdhocMatchingSendData) +BRIDGE_IMPL(sceNetAdhocMatchingSetHelloOpt) +BRIDGE_IMPL(sceNetAdhocMatchingStart) +BRIDGE_IMPL(sceNetAdhocMatchingStop) +BRIDGE_IMPL(sceNetAdhocMatchingTerm) diff --git a/src/emulator/modules/SceNgs/CMakeLists.txt b/src/emulator/modules/SceNgs/CMakeLists.txt new file mode 100644 index 000000000..c10dd96a6 --- /dev/null +++ b/src/emulator/modules/SceNgs/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNgs STATIC include/SceNgs/exports.h src/SceNgs.cpp) +target_include_directories(SceNgs PUBLIC include) +target_link_libraries(SceNgs PRIVATE module) diff --git a/src/emulator/modules/SceNgs/include/SceNgs/exports.h b/src/emulator/modules/SceNgs/include/SceNgs/exports.h new file mode 100644 index 000000000..4956be98f --- /dev/null +++ b/src/emulator/modules/SceNgs/include/SceNgs/exports.h @@ -0,0 +1,90 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNgs +BRIDGE_DECL(sceNgsAT9GetSectionDetails) +BRIDGE_DECL(sceNgsModuleGetNumPresets) +BRIDGE_DECL(sceNgsModuleGetPreset) +BRIDGE_DECL(sceNgsPatchCreateRouting) +BRIDGE_DECL(sceNgsPatchGetInfo) +BRIDGE_DECL(sceNgsPatchRemoveRouting) +BRIDGE_DECL(sceNgsRackGetRequiredMemorySize) +BRIDGE_DECL(sceNgsRackGetVoiceHandle) +BRIDGE_DECL(sceNgsRackInit) +BRIDGE_DECL(sceNgsRackRelease) +BRIDGE_DECL(sceNgsRackSetParamErrorCallback) +BRIDGE_DECL(sceNgsSystemGetRequiredMemorySize) +BRIDGE_DECL(sceNgsSystemInit) +BRIDGE_DECL(sceNgsSystemLock) +BRIDGE_DECL(sceNgsSystemRelease) +BRIDGE_DECL(sceNgsSystemSetFlags) +BRIDGE_DECL(sceNgsSystemSetParamErrorCallback) +BRIDGE_DECL(sceNgsSystemUnlock) +BRIDGE_DECL(sceNgsSystemUpdate) +BRIDGE_DECL(sceNgsVoiceBypassModule) +BRIDGE_DECL(sceNgsVoiceDefGetAtrac9Voice) +BRIDGE_DECL(sceNgsVoiceDefGetCompressorBuss) +BRIDGE_DECL(sceNgsVoiceDefGetCompressorSideChainBuss) +BRIDGE_DECL(sceNgsVoiceDefGetDelayBuss) +BRIDGE_DECL(sceNgsVoiceDefGetDistortionBuss) +BRIDGE_DECL(sceNgsVoiceDefGetEnvelopeBuss) +BRIDGE_DECL(sceNgsVoiceDefGetEqBuss) +BRIDGE_DECL(sceNgsVoiceDefGetMasterBuss) +BRIDGE_DECL(sceNgsVoiceDefGetMixerBuss) +BRIDGE_DECL(sceNgsVoiceDefGetPauserBuss) +BRIDGE_DECL(sceNgsVoiceDefGetPitchShiftBuss) +BRIDGE_DECL(sceNgsVoiceDefGetReverbBuss) +BRIDGE_DECL(sceNgsVoiceDefGetSasEmuVoice) +BRIDGE_DECL(sceNgsVoiceDefGetScreamAtrac9Voice) +BRIDGE_DECL(sceNgsVoiceDefGetScreamVoice) +BRIDGE_DECL(sceNgsVoiceDefGetSimpleAtrac9Voice) +BRIDGE_DECL(sceNgsVoiceDefGetSimpleVoice) +BRIDGE_DECL(sceNgsVoiceDefGetTemplate1) +BRIDGE_DECL(sceNgsVoiceGetInfo) +BRIDGE_DECL(sceNgsVoiceGetModuleBypass) +BRIDGE_DECL(sceNgsVoiceGetModuleType) +BRIDGE_DECL(sceNgsVoiceGetOutputPatch) +BRIDGE_DECL(sceNgsVoiceGetParamsOutOfRange) +BRIDGE_DECL(sceNgsVoiceGetStateData) +BRIDGE_DECL(sceNgsVoiceInit) +BRIDGE_DECL(sceNgsVoiceKeyOff) +BRIDGE_DECL(sceNgsVoiceKill) +BRIDGE_DECL(sceNgsVoiceLockParams) +BRIDGE_DECL(sceNgsVoicePatchSetVolume) +BRIDGE_DECL(sceNgsVoicePatchSetVolumes) +BRIDGE_DECL(sceNgsVoicePatchSetVolumesMatrix) +BRIDGE_DECL(sceNgsVoicePause) +BRIDGE_DECL(sceNgsVoicePlay) +BRIDGE_DECL(sceNgsVoiceResume) +BRIDGE_DECL(sceNgsVoiceSetFinishedCallback) +BRIDGE_DECL(sceNgsVoiceSetModuleCallback) +BRIDGE_DECL(sceNgsVoiceSetParamsBlock) +BRIDGE_DECL(sceNgsVoiceSetPreset) +BRIDGE_DECL(sceNgsVoiceUnlockParams) +BRIDGE_DECL(sceSulphaNgsGetDefaultConfig) +BRIDGE_DECL(sceSulphaNgsGetNeededMemory) +BRIDGE_DECL(sceSulphaNgsInit) +BRIDGE_DECL(sceSulphaNgsSetRackName) +BRIDGE_DECL(sceSulphaNgsSetSampleName) +BRIDGE_DECL(sceSulphaNgsSetSynthName) +BRIDGE_DECL(sceSulphaNgsSetVoiceName) +BRIDGE_DECL(sceSulphaNgsShutdown) +BRIDGE_DECL(sceSulphaNgsTrace) diff --git a/src/emulator/modules/SceNgs/src/SceNgs.cpp b/src/emulator/modules/SceNgs/src/SceNgs.cpp new file mode 100644 index 000000000..9473bc5fe --- /dev/null +++ b/src/emulator/modules/SceNgs/src/SceNgs.cpp @@ -0,0 +1,359 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNgsAT9GetSectionDetails) { + return unimplemented("sceNgsAT9GetSectionDetails"); +} + +EXPORT(int, sceNgsModuleGetNumPresets) { + return unimplemented("sceNgsModuleGetNumPresets"); +} + +EXPORT(int, sceNgsModuleGetPreset) { + return unimplemented("sceNgsModuleGetPreset"); +} + +EXPORT(int, sceNgsPatchCreateRouting) { + return unimplemented("sceNgsPatchCreateRouting"); +} + +EXPORT(int, sceNgsPatchGetInfo) { + return unimplemented("sceNgsPatchGetInfo"); +} + +EXPORT(int, sceNgsPatchRemoveRouting) { + return unimplemented("sceNgsPatchRemoveRouting"); +} + +EXPORT(int, sceNgsRackGetRequiredMemorySize) { + return unimplemented("sceNgsRackGetRequiredMemorySize"); +} + +EXPORT(int, sceNgsRackGetVoiceHandle) { + return unimplemented("sceNgsRackGetVoiceHandle"); +} + +EXPORT(int, sceNgsRackInit) { + return unimplemented("sceNgsRackInit"); +} + +EXPORT(int, sceNgsRackRelease) { + return unimplemented("sceNgsRackRelease"); +} + +EXPORT(int, sceNgsRackSetParamErrorCallback) { + return unimplemented("sceNgsRackSetParamErrorCallback"); +} + +EXPORT(int, sceNgsSystemGetRequiredMemorySize) { + return unimplemented("sceNgsSystemGetRequiredMemorySize"); +} + +EXPORT(int, sceNgsSystemInit) { + return unimplemented("sceNgsSystemInit"); +} + +EXPORT(int, sceNgsSystemLock) { + return unimplemented("sceNgsSystemLock"); +} + +EXPORT(int, sceNgsSystemRelease) { + return unimplemented("sceNgsSystemRelease"); +} + +EXPORT(int, sceNgsSystemSetFlags) { + return unimplemented("sceNgsSystemSetFlags"); +} + +EXPORT(int, sceNgsSystemSetParamErrorCallback) { + return unimplemented("sceNgsSystemSetParamErrorCallback"); +} + +EXPORT(int, sceNgsSystemUnlock) { + return unimplemented("sceNgsSystemUnlock"); +} + +EXPORT(int, sceNgsSystemUpdate) { + return unimplemented("sceNgsSystemUpdate"); +} + +EXPORT(int, sceNgsVoiceBypassModule) { + return unimplemented("sceNgsVoiceBypassModule"); +} + +EXPORT(int, sceNgsVoiceDefGetAtrac9Voice) { + return unimplemented("sceNgsVoiceDefGetAtrac9Voice"); +} + +EXPORT(int, sceNgsVoiceDefGetCompressorBuss) { + return unimplemented("sceNgsVoiceDefGetCompressorBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetCompressorSideChainBuss) { + return unimplemented("sceNgsVoiceDefGetCompressorSideChainBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetDelayBuss) { + return unimplemented("sceNgsVoiceDefGetDelayBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetDistortionBuss) { + return unimplemented("sceNgsVoiceDefGetDistortionBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetEnvelopeBuss) { + return unimplemented("sceNgsVoiceDefGetEnvelopeBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetEqBuss) { + return unimplemented("sceNgsVoiceDefGetEqBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetMasterBuss) { + return unimplemented("sceNgsVoiceDefGetMasterBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetMixerBuss) { + return unimplemented("sceNgsVoiceDefGetMixerBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetPauserBuss) { + return unimplemented("sceNgsVoiceDefGetPauserBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetPitchShiftBuss) { + return unimplemented("sceNgsVoiceDefGetPitchShiftBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetReverbBuss) { + return unimplemented("sceNgsVoiceDefGetReverbBuss"); +} + +EXPORT(int, sceNgsVoiceDefGetSasEmuVoice) { + return unimplemented("sceNgsVoiceDefGetSasEmuVoice"); +} + +EXPORT(int, sceNgsVoiceDefGetScreamAtrac9Voice) { + return unimplemented("sceNgsVoiceDefGetScreamAtrac9Voice"); +} + +EXPORT(int, sceNgsVoiceDefGetScreamVoice) { + return unimplemented("sceNgsVoiceDefGetScreamVoice"); +} + +EXPORT(int, sceNgsVoiceDefGetSimpleAtrac9Voice) { + return unimplemented("sceNgsVoiceDefGetSimpleAtrac9Voice"); +} + +EXPORT(int, sceNgsVoiceDefGetSimpleVoice) { + return unimplemented("sceNgsVoiceDefGetSimpleVoice"); +} + +EXPORT(int, sceNgsVoiceDefGetTemplate1) { + return unimplemented("sceNgsVoiceDefGetTemplate1"); +} + +EXPORT(int, sceNgsVoiceGetInfo) { + return unimplemented("sceNgsVoiceGetInfo"); +} + +EXPORT(int, sceNgsVoiceGetModuleBypass) { + return unimplemented("sceNgsVoiceGetModuleBypass"); +} + +EXPORT(int, sceNgsVoiceGetModuleType) { + return unimplemented("sceNgsVoiceGetModuleType"); +} + +EXPORT(int, sceNgsVoiceGetOutputPatch) { + return unimplemented("sceNgsVoiceGetOutputPatch"); +} + +EXPORT(int, sceNgsVoiceGetParamsOutOfRange) { + return unimplemented("sceNgsVoiceGetParamsOutOfRange"); +} + +EXPORT(int, sceNgsVoiceGetStateData) { + return unimplemented("sceNgsVoiceGetStateData"); +} + +EXPORT(int, sceNgsVoiceInit) { + return unimplemented("sceNgsVoiceInit"); +} + +EXPORT(int, sceNgsVoiceKeyOff) { + return unimplemented("sceNgsVoiceKeyOff"); +} + +EXPORT(int, sceNgsVoiceKill) { + return unimplemented("sceNgsVoiceKill"); +} + +EXPORT(int, sceNgsVoiceLockParams) { + return unimplemented("sceNgsVoiceLockParams"); +} + +EXPORT(int, sceNgsVoicePatchSetVolume) { + return unimplemented("sceNgsVoicePatchSetVolume"); +} + +EXPORT(int, sceNgsVoicePatchSetVolumes) { + return unimplemented("sceNgsVoicePatchSetVolumes"); +} + +EXPORT(int, sceNgsVoicePatchSetVolumesMatrix) { + return unimplemented("sceNgsVoicePatchSetVolumesMatrix"); +} + +EXPORT(int, sceNgsVoicePause) { + return unimplemented("sceNgsVoicePause"); +} + +EXPORT(int, sceNgsVoicePlay) { + return unimplemented("sceNgsVoicePlay"); +} + +EXPORT(int, sceNgsVoiceResume) { + return unimplemented("sceNgsVoiceResume"); +} + +EXPORT(int, sceNgsVoiceSetFinishedCallback) { + return unimplemented("sceNgsVoiceSetFinishedCallback"); +} + +EXPORT(int, sceNgsVoiceSetModuleCallback) { + return unimplemented("sceNgsVoiceSetModuleCallback"); +} + +EXPORT(int, sceNgsVoiceSetParamsBlock) { + return unimplemented("sceNgsVoiceSetParamsBlock"); +} + +EXPORT(int, sceNgsVoiceSetPreset) { + return unimplemented("sceNgsVoiceSetPreset"); +} + +EXPORT(int, sceNgsVoiceUnlockParams) { + return unimplemented("sceNgsVoiceUnlockParams"); +} + +EXPORT(int, sceSulphaNgsGetDefaultConfig) { + return unimplemented("sceSulphaNgsGetDefaultConfig"); +} + +EXPORT(int, sceSulphaNgsGetNeededMemory) { + return unimplemented("sceSulphaNgsGetNeededMemory"); +} + +EXPORT(int, sceSulphaNgsInit) { + return unimplemented("sceSulphaNgsInit"); +} + +EXPORT(int, sceSulphaNgsSetRackName) { + return unimplemented("sceSulphaNgsSetRackName"); +} + +EXPORT(int, sceSulphaNgsSetSampleName) { + return unimplemented("sceSulphaNgsSetSampleName"); +} + +EXPORT(int, sceSulphaNgsSetSynthName) { + return unimplemented("sceSulphaNgsSetSynthName"); +} + +EXPORT(int, sceSulphaNgsSetVoiceName) { + return unimplemented("sceSulphaNgsSetVoiceName"); +} + +EXPORT(int, sceSulphaNgsShutdown) { + return unimplemented("sceSulphaNgsShutdown"); +} + +EXPORT(int, sceSulphaNgsTrace) { + return unimplemented("sceSulphaNgsTrace"); +} + +BRIDGE_IMPL(sceNgsAT9GetSectionDetails) +BRIDGE_IMPL(sceNgsModuleGetNumPresets) +BRIDGE_IMPL(sceNgsModuleGetPreset) +BRIDGE_IMPL(sceNgsPatchCreateRouting) +BRIDGE_IMPL(sceNgsPatchGetInfo) +BRIDGE_IMPL(sceNgsPatchRemoveRouting) +BRIDGE_IMPL(sceNgsRackGetRequiredMemorySize) +BRIDGE_IMPL(sceNgsRackGetVoiceHandle) +BRIDGE_IMPL(sceNgsRackInit) +BRIDGE_IMPL(sceNgsRackRelease) +BRIDGE_IMPL(sceNgsRackSetParamErrorCallback) +BRIDGE_IMPL(sceNgsSystemGetRequiredMemorySize) +BRIDGE_IMPL(sceNgsSystemInit) +BRIDGE_IMPL(sceNgsSystemLock) +BRIDGE_IMPL(sceNgsSystemRelease) +BRIDGE_IMPL(sceNgsSystemSetFlags) +BRIDGE_IMPL(sceNgsSystemSetParamErrorCallback) +BRIDGE_IMPL(sceNgsSystemUnlock) +BRIDGE_IMPL(sceNgsSystemUpdate) +BRIDGE_IMPL(sceNgsVoiceBypassModule) +BRIDGE_IMPL(sceNgsVoiceDefGetAtrac9Voice) +BRIDGE_IMPL(sceNgsVoiceDefGetCompressorBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetCompressorSideChainBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetDelayBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetDistortionBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetEnvelopeBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetEqBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetMasterBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetMixerBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetPauserBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetPitchShiftBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetReverbBuss) +BRIDGE_IMPL(sceNgsVoiceDefGetSasEmuVoice) +BRIDGE_IMPL(sceNgsVoiceDefGetScreamAtrac9Voice) +BRIDGE_IMPL(sceNgsVoiceDefGetScreamVoice) +BRIDGE_IMPL(sceNgsVoiceDefGetSimpleAtrac9Voice) +BRIDGE_IMPL(sceNgsVoiceDefGetSimpleVoice) +BRIDGE_IMPL(sceNgsVoiceDefGetTemplate1) +BRIDGE_IMPL(sceNgsVoiceGetInfo) +BRIDGE_IMPL(sceNgsVoiceGetModuleBypass) +BRIDGE_IMPL(sceNgsVoiceGetModuleType) +BRIDGE_IMPL(sceNgsVoiceGetOutputPatch) +BRIDGE_IMPL(sceNgsVoiceGetParamsOutOfRange) +BRIDGE_IMPL(sceNgsVoiceGetStateData) +BRIDGE_IMPL(sceNgsVoiceInit) +BRIDGE_IMPL(sceNgsVoiceKeyOff) +BRIDGE_IMPL(sceNgsVoiceKill) +BRIDGE_IMPL(sceNgsVoiceLockParams) +BRIDGE_IMPL(sceNgsVoicePatchSetVolume) +BRIDGE_IMPL(sceNgsVoicePatchSetVolumes) +BRIDGE_IMPL(sceNgsVoicePatchSetVolumesMatrix) +BRIDGE_IMPL(sceNgsVoicePause) +BRIDGE_IMPL(sceNgsVoicePlay) +BRIDGE_IMPL(sceNgsVoiceResume) +BRIDGE_IMPL(sceNgsVoiceSetFinishedCallback) +BRIDGE_IMPL(sceNgsVoiceSetModuleCallback) +BRIDGE_IMPL(sceNgsVoiceSetParamsBlock) +BRIDGE_IMPL(sceNgsVoiceSetPreset) +BRIDGE_IMPL(sceNgsVoiceUnlockParams) +BRIDGE_IMPL(sceSulphaNgsGetDefaultConfig) +BRIDGE_IMPL(sceSulphaNgsGetNeededMemory) +BRIDGE_IMPL(sceSulphaNgsInit) +BRIDGE_IMPL(sceSulphaNgsSetRackName) +BRIDGE_IMPL(sceSulphaNgsSetSampleName) +BRIDGE_IMPL(sceSulphaNgsSetSynthName) +BRIDGE_IMPL(sceSulphaNgsSetVoiceName) +BRIDGE_IMPL(sceSulphaNgsShutdown) +BRIDGE_IMPL(sceSulphaNgsTrace) diff --git a/src/emulator/modules/SceNpActivity/CMakeLists.txt b/src/emulator/modules/SceNpActivity/CMakeLists.txt new file mode 100644 index 000000000..073d44d66 --- /dev/null +++ b/src/emulator/modules/SceNpActivity/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpActivity STATIC include/SceNpActivity/exports.h src/SceNpActivity.cpp) +target_include_directories(SceNpActivity PUBLIC include) +target_link_libraries(SceNpActivity PRIVATE module) diff --git a/src/emulator/modules/SceNpActivity/include/SceNpActivity/exports.h b/src/emulator/modules/SceNpActivity/include/SceNpActivity/exports.h new file mode 100644 index 000000000..444c446b1 --- /dev/null +++ b/src/emulator/modules/SceNpActivity/include/SceNpActivity/exports.h @@ -0,0 +1,25 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpActivity +BRIDGE_DECL(sceNpActivityInit) +BRIDGE_DECL(sceNpActivityPostStatus) +BRIDGE_DECL(sceNpActivityTerm) diff --git a/src/emulator/modules/SceNpActivity/src/SceNpActivity.cpp b/src/emulator/modules/SceNpActivity/src/SceNpActivity.cpp new file mode 100644 index 000000000..d9bfb8541 --- /dev/null +++ b/src/emulator/modules/SceNpActivity/src/SceNpActivity.cpp @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpActivityInit) { + return unimplemented("sceNpActivityInit"); +} + +EXPORT(int, sceNpActivityPostStatus) { + return unimplemented("sceNpActivityPostStatus"); +} + +EXPORT(int, sceNpActivityTerm) { + return unimplemented("sceNpActivityTerm"); +} + +BRIDGE_IMPL(sceNpActivityInit) +BRIDGE_IMPL(sceNpActivityPostStatus) +BRIDGE_IMPL(sceNpActivityTerm) diff --git a/src/emulator/modules/SceNpBasic/CMakeLists.txt b/src/emulator/modules/SceNpBasic/CMakeLists.txt new file mode 100644 index 000000000..dbe2fc6e6 --- /dev/null +++ b/src/emulator/modules/SceNpBasic/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpBasic STATIC include/SceNpBasic/exports.h src/SceNpBasic.cpp) +target_include_directories(SceNpBasic PUBLIC include) +target_link_libraries(SceNpBasic PRIVATE module) diff --git a/src/emulator/modules/SceNpBasic/include/SceNpBasic/exports.h b/src/emulator/modules/SceNpBasic/include/SceNpBasic/exports.h new file mode 100644 index 000000000..14e74e573 --- /dev/null +++ b/src/emulator/modules/SceNpBasic/include/SceNpBasic/exports.h @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpBasic +BRIDGE_DECL(sceNpBasicCheckCallback) +BRIDGE_DECL(sceNpBasicCheckIfPlayerIsBlocked) +BRIDGE_DECL(sceNpBasicGetBlockListEntries) +BRIDGE_DECL(sceNpBasicGetBlockListEntryCount) +BRIDGE_DECL(sceNpBasicGetFriendContextState) +BRIDGE_DECL(sceNpBasicGetFriendListEntries) +BRIDGE_DECL(sceNpBasicGetFriendListEntryCount) +BRIDGE_DECL(sceNpBasicGetFriendOnlineStatus) +BRIDGE_DECL(sceNpBasicGetFriendRequestEntries) +BRIDGE_DECL(sceNpBasicGetFriendRequestEntryCount) +BRIDGE_DECL(sceNpBasicGetGameJoiningPresence) +BRIDGE_DECL(sceNpBasicGetGamePresenceOfFriend) +BRIDGE_DECL(sceNpBasicGetPlaySessionLog) +BRIDGE_DECL(sceNpBasicGetPlaySessionLogSize) +BRIDGE_DECL(sceNpBasicGetRequestedFriendRequestEntries) +BRIDGE_DECL(sceNpBasicGetRequestedFriendRequestEntryCount) +BRIDGE_DECL(sceNpBasicInit) +BRIDGE_DECL(sceNpBasicJoinGameAckResponseSend) +BRIDGE_DECL(sceNpBasicRecordPlaySessionLog) +BRIDGE_DECL(sceNpBasicRegisterHandler) +BRIDGE_DECL(sceNpBasicRegisterJoinGameAckHandler) +BRIDGE_DECL(sceNpBasicSendInGameDataMessage) +BRIDGE_DECL(sceNpBasicSetInGamePresence) +BRIDGE_DECL(sceNpBasicTerm) +BRIDGE_DECL(sceNpBasicUnregisterHandler) +BRIDGE_DECL(sceNpBasicUnregisterJoinGameAckHandler) +BRIDGE_DECL(sceNpBasicUnsetInGamePresence) diff --git a/src/emulator/modules/SceNpBasic/src/SceNpBasic.cpp b/src/emulator/modules/SceNpBasic/src/SceNpBasic.cpp new file mode 100644 index 000000000..4e2c710da --- /dev/null +++ b/src/emulator/modules/SceNpBasic/src/SceNpBasic.cpp @@ -0,0 +1,154 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpBasicCheckCallback) { + return unimplemented("sceNpBasicCheckCallback"); +} + +EXPORT(int, sceNpBasicCheckIfPlayerIsBlocked) { + return unimplemented("sceNpBasicCheckIfPlayerIsBlocked"); +} + +EXPORT(int, sceNpBasicGetBlockListEntries) { + return unimplemented("sceNpBasicGetBlockListEntries"); +} + +EXPORT(int, sceNpBasicGetBlockListEntryCount) { + return unimplemented("sceNpBasicGetBlockListEntryCount"); +} + +EXPORT(int, sceNpBasicGetFriendContextState) { + return unimplemented("sceNpBasicGetFriendContextState"); +} + +EXPORT(int, sceNpBasicGetFriendListEntries) { + return unimplemented("sceNpBasicGetFriendListEntries"); +} + +EXPORT(int, sceNpBasicGetFriendListEntryCount) { + return unimplemented("sceNpBasicGetFriendListEntryCount"); +} + +EXPORT(int, sceNpBasicGetFriendOnlineStatus) { + return unimplemented("sceNpBasicGetFriendOnlineStatus"); +} + +EXPORT(int, sceNpBasicGetFriendRequestEntries) { + return unimplemented("sceNpBasicGetFriendRequestEntries"); +} + +EXPORT(int, sceNpBasicGetFriendRequestEntryCount) { + return unimplemented("sceNpBasicGetFriendRequestEntryCount"); +} + +EXPORT(int, sceNpBasicGetGameJoiningPresence) { + return unimplemented("sceNpBasicGetGameJoiningPresence"); +} + +EXPORT(int, sceNpBasicGetGamePresenceOfFriend) { + return unimplemented("sceNpBasicGetGamePresenceOfFriend"); +} + +EXPORT(int, sceNpBasicGetPlaySessionLog) { + return unimplemented("sceNpBasicGetPlaySessionLog"); +} + +EXPORT(int, sceNpBasicGetPlaySessionLogSize) { + return unimplemented("sceNpBasicGetPlaySessionLogSize"); +} + +EXPORT(int, sceNpBasicGetRequestedFriendRequestEntries) { + return unimplemented("sceNpBasicGetRequestedFriendRequestEntries"); +} + +EXPORT(int, sceNpBasicGetRequestedFriendRequestEntryCount) { + return unimplemented("sceNpBasicGetRequestedFriendRequestEntryCount"); +} + +EXPORT(int, sceNpBasicInit) { + return unimplemented("sceNpBasicInit"); +} + +EXPORT(int, sceNpBasicJoinGameAckResponseSend) { + return unimplemented("sceNpBasicJoinGameAckResponseSend"); +} + +EXPORT(int, sceNpBasicRecordPlaySessionLog) { + return unimplemented("sceNpBasicRecordPlaySessionLog"); +} + +EXPORT(int, sceNpBasicRegisterHandler) { + return unimplemented("sceNpBasicRegisterHandler"); +} + +EXPORT(int, sceNpBasicRegisterJoinGameAckHandler) { + return unimplemented("sceNpBasicRegisterJoinGameAckHandler"); +} + +EXPORT(int, sceNpBasicSendInGameDataMessage) { + return unimplemented("sceNpBasicSendInGameDataMessage"); +} + +EXPORT(int, sceNpBasicSetInGamePresence) { + return unimplemented("sceNpBasicSetInGamePresence"); +} + +EXPORT(int, sceNpBasicTerm) { + return unimplemented("sceNpBasicTerm"); +} + +EXPORT(int, sceNpBasicUnregisterHandler) { + return unimplemented("sceNpBasicUnregisterHandler"); +} + +EXPORT(int, sceNpBasicUnregisterJoinGameAckHandler) { + return unimplemented("sceNpBasicUnregisterJoinGameAckHandler"); +} + +EXPORT(int, sceNpBasicUnsetInGamePresence) { + return unimplemented("sceNpBasicUnsetInGamePresence"); +} + +BRIDGE_IMPL(sceNpBasicCheckCallback) +BRIDGE_IMPL(sceNpBasicCheckIfPlayerIsBlocked) +BRIDGE_IMPL(sceNpBasicGetBlockListEntries) +BRIDGE_IMPL(sceNpBasicGetBlockListEntryCount) +BRIDGE_IMPL(sceNpBasicGetFriendContextState) +BRIDGE_IMPL(sceNpBasicGetFriendListEntries) +BRIDGE_IMPL(sceNpBasicGetFriendListEntryCount) +BRIDGE_IMPL(sceNpBasicGetFriendOnlineStatus) +BRIDGE_IMPL(sceNpBasicGetFriendRequestEntries) +BRIDGE_IMPL(sceNpBasicGetFriendRequestEntryCount) +BRIDGE_IMPL(sceNpBasicGetGameJoiningPresence) +BRIDGE_IMPL(sceNpBasicGetGamePresenceOfFriend) +BRIDGE_IMPL(sceNpBasicGetPlaySessionLog) +BRIDGE_IMPL(sceNpBasicGetPlaySessionLogSize) +BRIDGE_IMPL(sceNpBasicGetRequestedFriendRequestEntries) +BRIDGE_IMPL(sceNpBasicGetRequestedFriendRequestEntryCount) +BRIDGE_IMPL(sceNpBasicInit) +BRIDGE_IMPL(sceNpBasicJoinGameAckResponseSend) +BRIDGE_IMPL(sceNpBasicRecordPlaySessionLog) +BRIDGE_IMPL(sceNpBasicRegisterHandler) +BRIDGE_IMPL(sceNpBasicRegisterJoinGameAckHandler) +BRIDGE_IMPL(sceNpBasicSendInGameDataMessage) +BRIDGE_IMPL(sceNpBasicSetInGamePresence) +BRIDGE_IMPL(sceNpBasicTerm) +BRIDGE_IMPL(sceNpBasicUnregisterHandler) +BRIDGE_IMPL(sceNpBasicUnregisterJoinGameAckHandler) +BRIDGE_IMPL(sceNpBasicUnsetInGamePresence) diff --git a/src/emulator/modules/SceNpCommerce2/CMakeLists.txt b/src/emulator/modules/SceNpCommerce2/CMakeLists.txt new file mode 100644 index 000000000..1346334c4 --- /dev/null +++ b/src/emulator/modules/SceNpCommerce2/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpCommerce2 STATIC include/SceNpCommerce2/exports.h src/SceNpCommerce2.cpp) +target_include_directories(SceNpCommerce2 PUBLIC include) +target_link_libraries(SceNpCommerce2 PRIVATE module) diff --git a/src/emulator/modules/SceNpCommerce2/include/SceNpCommerce2/exports.h b/src/emulator/modules/SceNpCommerce2/include/SceNpCommerce2/exports.h new file mode 100644 index 000000000..5d71d90c7 --- /dev/null +++ b/src/emulator/modules/SceNpCommerce2/include/SceNpCommerce2/exports.h @@ -0,0 +1,64 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpCommerce2 +BRIDGE_DECL(sceNpCommerce2AbortReq) +BRIDGE_DECL(sceNpCommerce2CreateCtx) +BRIDGE_DECL(sceNpCommerce2CreateSessionCreateReq) +BRIDGE_DECL(sceNpCommerce2CreateSessionGetResult) +BRIDGE_DECL(sceNpCommerce2CreateSessionStart) +BRIDGE_DECL(sceNpCommerce2DestroyCtx) +BRIDGE_DECL(sceNpCommerce2DestroyGetCategoryContentsResult) +BRIDGE_DECL(sceNpCommerce2DestroyGetProductInfoListResult) +BRIDGE_DECL(sceNpCommerce2DestroyGetProductInfoResult) +BRIDGE_DECL(sceNpCommerce2DestroyReq) +BRIDGE_DECL(sceNpCommerce2GetCategoryContentsCreateReq) +BRIDGE_DECL(sceNpCommerce2GetCategoryContentsGetResult) +BRIDGE_DECL(sceNpCommerce2GetCategoryContentsStart) +BRIDGE_DECL(sceNpCommerce2GetCategoryInfo) +BRIDGE_DECL(sceNpCommerce2GetCategoryInfoFromContentInfo) +BRIDGE_DECL(sceNpCommerce2GetContentInfo) +BRIDGE_DECL(sceNpCommerce2GetContentRatingDescriptor) +BRIDGE_DECL(sceNpCommerce2GetContentRatingInfoFromCategoryInfo) +BRIDGE_DECL(sceNpCommerce2GetContentRatingInfoFromGameProductInfo) +BRIDGE_DECL(sceNpCommerce2GetGameProductInfo) +BRIDGE_DECL(sceNpCommerce2GetGameProductInfoFromContentInfo) +BRIDGE_DECL(sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult) +BRIDGE_DECL(sceNpCommerce2GetGameSkuInfoFromGameProductInfo) +BRIDGE_DECL(sceNpCommerce2GetPrice) +BRIDGE_DECL(sceNpCommerce2GetProductInfoCreateReq) +BRIDGE_DECL(sceNpCommerce2GetProductInfoGetResult) +BRIDGE_DECL(sceNpCommerce2GetProductInfoListCreateReq) +BRIDGE_DECL(sceNpCommerce2GetProductInfoListGetResult) +BRIDGE_DECL(sceNpCommerce2GetProductInfoListStart) +BRIDGE_DECL(sceNpCommerce2GetProductInfoStart) +BRIDGE_DECL(sceNpCommerce2GetSessionInfo) +BRIDGE_DECL(sceNpCommerce2GetShortfallOfLibhttpPool) +BRIDGE_DECL(sceNpCommerce2GetShortfallOfLibsslPool) +BRIDGE_DECL(sceNpCommerce2HidePsStoreIcon) +BRIDGE_DECL(sceNpCommerce2Init) +BRIDGE_DECL(sceNpCommerce2InitGetCategoryContentsResult) +BRIDGE_DECL(sceNpCommerce2InitGetProductInfoListResult) +BRIDGE_DECL(sceNpCommerce2InitGetProductInfoResult) +BRIDGE_DECL(sceNpCommerce2ShowPsStoreIcon) +BRIDGE_DECL(sceNpCommerce2StartEmptyStoreCheck) +BRIDGE_DECL(sceNpCommerce2StopEmptyStoreCheck) +BRIDGE_DECL(sceNpCommerce2Term) diff --git a/src/emulator/modules/SceNpCommerce2/src/SceNpCommerce2.cpp b/src/emulator/modules/SceNpCommerce2/src/SceNpCommerce2.cpp new file mode 100644 index 000000000..0a6bbeddd --- /dev/null +++ b/src/emulator/modules/SceNpCommerce2/src/SceNpCommerce2.cpp @@ -0,0 +1,229 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpCommerce2AbortReq) { + return unimplemented("sceNpCommerce2AbortReq"); +} + +EXPORT(int, sceNpCommerce2CreateCtx) { + return unimplemented("sceNpCommerce2CreateCtx"); +} + +EXPORT(int, sceNpCommerce2CreateSessionCreateReq) { + return unimplemented("sceNpCommerce2CreateSessionCreateReq"); +} + +EXPORT(int, sceNpCommerce2CreateSessionGetResult) { + return unimplemented("sceNpCommerce2CreateSessionGetResult"); +} + +EXPORT(int, sceNpCommerce2CreateSessionStart) { + return unimplemented("sceNpCommerce2CreateSessionStart"); +} + +EXPORT(int, sceNpCommerce2DestroyCtx) { + return unimplemented("sceNpCommerce2DestroyCtx"); +} + +EXPORT(int, sceNpCommerce2DestroyGetCategoryContentsResult) { + return unimplemented("sceNpCommerce2DestroyGetCategoryContentsResult"); +} + +EXPORT(int, sceNpCommerce2DestroyGetProductInfoListResult) { + return unimplemented("sceNpCommerce2DestroyGetProductInfoListResult"); +} + +EXPORT(int, sceNpCommerce2DestroyGetProductInfoResult) { + return unimplemented("sceNpCommerce2DestroyGetProductInfoResult"); +} + +EXPORT(int, sceNpCommerce2DestroyReq) { + return unimplemented("sceNpCommerce2DestroyReq"); +} + +EXPORT(int, sceNpCommerce2GetCategoryContentsCreateReq) { + return unimplemented("sceNpCommerce2GetCategoryContentsCreateReq"); +} + +EXPORT(int, sceNpCommerce2GetCategoryContentsGetResult) { + return unimplemented("sceNpCommerce2GetCategoryContentsGetResult"); +} + +EXPORT(int, sceNpCommerce2GetCategoryContentsStart) { + return unimplemented("sceNpCommerce2GetCategoryContentsStart"); +} + +EXPORT(int, sceNpCommerce2GetCategoryInfo) { + return unimplemented("sceNpCommerce2GetCategoryInfo"); +} + +EXPORT(int, sceNpCommerce2GetCategoryInfoFromContentInfo) { + return unimplemented("sceNpCommerce2GetCategoryInfoFromContentInfo"); +} + +EXPORT(int, sceNpCommerce2GetContentInfo) { + return unimplemented("sceNpCommerce2GetContentInfo"); +} + +EXPORT(int, sceNpCommerce2GetContentRatingDescriptor) { + return unimplemented("sceNpCommerce2GetContentRatingDescriptor"); +} + +EXPORT(int, sceNpCommerce2GetContentRatingInfoFromCategoryInfo) { + return unimplemented("sceNpCommerce2GetContentRatingInfoFromCategoryInfo"); +} + +EXPORT(int, sceNpCommerce2GetContentRatingInfoFromGameProductInfo) { + return unimplemented("sceNpCommerce2GetContentRatingInfoFromGameProductInfo"); +} + +EXPORT(int, sceNpCommerce2GetGameProductInfo) { + return unimplemented("sceNpCommerce2GetGameProductInfo"); +} + +EXPORT(int, sceNpCommerce2GetGameProductInfoFromContentInfo) { + return unimplemented("sceNpCommerce2GetGameProductInfoFromContentInfo"); +} + +EXPORT(int, sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult) { + return unimplemented("sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult"); +} + +EXPORT(int, sceNpCommerce2GetGameSkuInfoFromGameProductInfo) { + return unimplemented("sceNpCommerce2GetGameSkuInfoFromGameProductInfo"); +} + +EXPORT(int, sceNpCommerce2GetPrice) { + return unimplemented("sceNpCommerce2GetPrice"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoCreateReq) { + return unimplemented("sceNpCommerce2GetProductInfoCreateReq"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoGetResult) { + return unimplemented("sceNpCommerce2GetProductInfoGetResult"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoListCreateReq) { + return unimplemented("sceNpCommerce2GetProductInfoListCreateReq"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoListGetResult) { + return unimplemented("sceNpCommerce2GetProductInfoListGetResult"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoListStart) { + return unimplemented("sceNpCommerce2GetProductInfoListStart"); +} + +EXPORT(int, sceNpCommerce2GetProductInfoStart) { + return unimplemented("sceNpCommerce2GetProductInfoStart"); +} + +EXPORT(int, sceNpCommerce2GetSessionInfo) { + return unimplemented("sceNpCommerce2GetSessionInfo"); +} + +EXPORT(int, sceNpCommerce2GetShortfallOfLibhttpPool) { + return unimplemented("sceNpCommerce2GetShortfallOfLibhttpPool"); +} + +EXPORT(int, sceNpCommerce2GetShortfallOfLibsslPool) { + return unimplemented("sceNpCommerce2GetShortfallOfLibsslPool"); +} + +EXPORT(int, sceNpCommerce2HidePsStoreIcon) { + return unimplemented("sceNpCommerce2HidePsStoreIcon"); +} + +EXPORT(int, sceNpCommerce2Init) { + return unimplemented("sceNpCommerce2Init"); +} + +EXPORT(int, sceNpCommerce2InitGetCategoryContentsResult) { + return unimplemented("sceNpCommerce2InitGetCategoryContentsResult"); +} + +EXPORT(int, sceNpCommerce2InitGetProductInfoListResult) { + return unimplemented("sceNpCommerce2InitGetProductInfoListResult"); +} + +EXPORT(int, sceNpCommerce2InitGetProductInfoResult) { + return unimplemented("sceNpCommerce2InitGetProductInfoResult"); +} + +EXPORT(int, sceNpCommerce2ShowPsStoreIcon) { + return unimplemented("sceNpCommerce2ShowPsStoreIcon"); +} + +EXPORT(int, sceNpCommerce2StartEmptyStoreCheck) { + return unimplemented("sceNpCommerce2StartEmptyStoreCheck"); +} + +EXPORT(int, sceNpCommerce2StopEmptyStoreCheck) { + return unimplemented("sceNpCommerce2StopEmptyStoreCheck"); +} + +EXPORT(int, sceNpCommerce2Term) { + return unimplemented("sceNpCommerce2Term"); +} + +BRIDGE_IMPL(sceNpCommerce2AbortReq) +BRIDGE_IMPL(sceNpCommerce2CreateCtx) +BRIDGE_IMPL(sceNpCommerce2CreateSessionCreateReq) +BRIDGE_IMPL(sceNpCommerce2CreateSessionGetResult) +BRIDGE_IMPL(sceNpCommerce2CreateSessionStart) +BRIDGE_IMPL(sceNpCommerce2DestroyCtx) +BRIDGE_IMPL(sceNpCommerce2DestroyGetCategoryContentsResult) +BRIDGE_IMPL(sceNpCommerce2DestroyGetProductInfoListResult) +BRIDGE_IMPL(sceNpCommerce2DestroyGetProductInfoResult) +BRIDGE_IMPL(sceNpCommerce2DestroyReq) +BRIDGE_IMPL(sceNpCommerce2GetCategoryContentsCreateReq) +BRIDGE_IMPL(sceNpCommerce2GetCategoryContentsGetResult) +BRIDGE_IMPL(sceNpCommerce2GetCategoryContentsStart) +BRIDGE_IMPL(sceNpCommerce2GetCategoryInfo) +BRIDGE_IMPL(sceNpCommerce2GetCategoryInfoFromContentInfo) +BRIDGE_IMPL(sceNpCommerce2GetContentInfo) +BRIDGE_IMPL(sceNpCommerce2GetContentRatingDescriptor) +BRIDGE_IMPL(sceNpCommerce2GetContentRatingInfoFromCategoryInfo) +BRIDGE_IMPL(sceNpCommerce2GetContentRatingInfoFromGameProductInfo) +BRIDGE_IMPL(sceNpCommerce2GetGameProductInfo) +BRIDGE_IMPL(sceNpCommerce2GetGameProductInfoFromContentInfo) +BRIDGE_IMPL(sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult) +BRIDGE_IMPL(sceNpCommerce2GetGameSkuInfoFromGameProductInfo) +BRIDGE_IMPL(sceNpCommerce2GetPrice) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoCreateReq) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoGetResult) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoListCreateReq) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoListGetResult) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoListStart) +BRIDGE_IMPL(sceNpCommerce2GetProductInfoStart) +BRIDGE_IMPL(sceNpCommerce2GetSessionInfo) +BRIDGE_IMPL(sceNpCommerce2GetShortfallOfLibhttpPool) +BRIDGE_IMPL(sceNpCommerce2GetShortfallOfLibsslPool) +BRIDGE_IMPL(sceNpCommerce2HidePsStoreIcon) +BRIDGE_IMPL(sceNpCommerce2Init) +BRIDGE_IMPL(sceNpCommerce2InitGetCategoryContentsResult) +BRIDGE_IMPL(sceNpCommerce2InitGetProductInfoListResult) +BRIDGE_IMPL(sceNpCommerce2InitGetProductInfoResult) +BRIDGE_IMPL(sceNpCommerce2ShowPsStoreIcon) +BRIDGE_IMPL(sceNpCommerce2StartEmptyStoreCheck) +BRIDGE_IMPL(sceNpCommerce2StopEmptyStoreCheck) +BRIDGE_IMPL(sceNpCommerce2Term) diff --git a/src/emulator/modules/SceNpCommon/CMakeLists.txt b/src/emulator/modules/SceNpCommon/CMakeLists.txt new file mode 100644 index 000000000..fdf513b41 --- /dev/null +++ b/src/emulator/modules/SceNpCommon/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpCommon STATIC include/SceNpCommon/exports.h src/SceNpCommon.cpp) +target_include_directories(SceNpCommon PUBLIC include) +target_link_libraries(SceNpCommon PRIVATE module) diff --git a/src/emulator/modules/SceNpCommon/include/SceNpCommon/exports.h b/src/emulator/modules/SceNpCommon/include/SceNpCommon/exports.h new file mode 100644 index 000000000..e1bdbbefc --- /dev/null +++ b/src/emulator/modules/SceNpCommon/include/SceNpCommon/exports.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpCommon +BRIDGE_DECL(sceNpAuthAbortRequest) +BRIDGE_DECL(sceNpAuthCreateStartRequest) +BRIDGE_DECL(sceNpAuthDestroyRequest) +BRIDGE_DECL(sceNpAuthGetEntitlementById) +BRIDGE_DECL(sceNpAuthGetEntitlementByIdPrefix) +BRIDGE_DECL(sceNpAuthGetEntitlementIdList) +BRIDGE_DECL(sceNpAuthGetTicket) +BRIDGE_DECL(sceNpAuthGetTicketParam) +BRIDGE_DECL(sceNpAuthInit) +BRIDGE_DECL(sceNpAuthTerm) +BRIDGE_DECL(sceNpCmpNpId) +BRIDGE_DECL(sceNpCmpNpIdInOrder) +BRIDGE_DECL(sceNpCmpOnlineId) +BRIDGE_DECL(sceNpGetPlatformType) +BRIDGE_DECL(sceNpSetPlatformType) diff --git a/src/emulator/modules/SceNpCommon/src/SceNpCommon.cpp b/src/emulator/modules/SceNpCommon/src/SceNpCommon.cpp new file mode 100644 index 000000000..5f873f892 --- /dev/null +++ b/src/emulator/modules/SceNpCommon/src/SceNpCommon.cpp @@ -0,0 +1,94 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpAuthAbortRequest) { + return unimplemented("sceNpAuthAbortRequest"); +} + +EXPORT(int, sceNpAuthCreateStartRequest) { + return unimplemented("sceNpAuthCreateStartRequest"); +} + +EXPORT(int, sceNpAuthDestroyRequest) { + return unimplemented("sceNpAuthDestroyRequest"); +} + +EXPORT(int, sceNpAuthGetEntitlementById) { + return unimplemented("sceNpAuthGetEntitlementById"); +} + +EXPORT(int, sceNpAuthGetEntitlementByIdPrefix) { + return unimplemented("sceNpAuthGetEntitlementByIdPrefix"); +} + +EXPORT(int, sceNpAuthGetEntitlementIdList) { + return unimplemented("sceNpAuthGetEntitlementIdList"); +} + +EXPORT(int, sceNpAuthGetTicket) { + return unimplemented("sceNpAuthGetTicket"); +} + +EXPORT(int, sceNpAuthGetTicketParam) { + return unimplemented("sceNpAuthGetTicketParam"); +} + +EXPORT(int, sceNpAuthInit) { + return unimplemented("sceNpAuthInit"); +} + +EXPORT(int, sceNpAuthTerm) { + return unimplemented("sceNpAuthTerm"); +} + +EXPORT(int, sceNpCmpNpId) { + return unimplemented("sceNpCmpNpId"); +} + +EXPORT(int, sceNpCmpNpIdInOrder) { + return unimplemented("sceNpCmpNpIdInOrder"); +} + +EXPORT(int, sceNpCmpOnlineId) { + return unimplemented("sceNpCmpOnlineId"); +} + +EXPORT(int, sceNpGetPlatformType) { + return unimplemented("sceNpGetPlatformType"); +} + +EXPORT(int, sceNpSetPlatformType) { + return unimplemented("sceNpSetPlatformType"); +} + +BRIDGE_IMPL(sceNpAuthAbortRequest) +BRIDGE_IMPL(sceNpAuthCreateStartRequest) +BRIDGE_IMPL(sceNpAuthDestroyRequest) +BRIDGE_IMPL(sceNpAuthGetEntitlementById) +BRIDGE_IMPL(sceNpAuthGetEntitlementByIdPrefix) +BRIDGE_IMPL(sceNpAuthGetEntitlementIdList) +BRIDGE_IMPL(sceNpAuthGetTicket) +BRIDGE_IMPL(sceNpAuthGetTicketParam) +BRIDGE_IMPL(sceNpAuthInit) +BRIDGE_IMPL(sceNpAuthTerm) +BRIDGE_IMPL(sceNpCmpNpId) +BRIDGE_IMPL(sceNpCmpNpIdInOrder) +BRIDGE_IMPL(sceNpCmpOnlineId) +BRIDGE_IMPL(sceNpGetPlatformType) +BRIDGE_IMPL(sceNpSetPlatformType) diff --git a/src/emulator/modules/SceNpDrm/CMakeLists.txt b/src/emulator/modules/SceNpDrm/CMakeLists.txt new file mode 100644 index 000000000..08dec1169 --- /dev/null +++ b/src/emulator/modules/SceNpDrm/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpDrm STATIC include/SceNpDrm/exports.h src/SceNpDrm.cpp src/SceNpDrmPackage.cpp) +target_include_directories(SceNpDrm PUBLIC include) +target_link_libraries(SceNpDrm PRIVATE module) diff --git a/src/emulator/modules/SceNpDrm/include/SceNpDrm/exports.h b/src/emulator/modules/SceNpDrm/include/SceNpDrm/exports.h new file mode 100644 index 000000000..76766f536 --- /dev/null +++ b/src/emulator/modules/SceNpDrm/include/SceNpDrm/exports.h @@ -0,0 +1,42 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpDrm +BRIDGE_DECL(_sceNpDrmCheckActData) +BRIDGE_DECL(_sceNpDrmCheckDrmReset) +BRIDGE_DECL(_sceNpDrmGetFixedRifName) +BRIDGE_DECL(_sceNpDrmGetRifInfo) +BRIDGE_DECL(_sceNpDrmGetRifName) +BRIDGE_DECL(_sceNpDrmGetRifNameForInstall) +BRIDGE_DECL(_sceNpDrmPresetRifProvisionalFlag) +BRIDGE_DECL(_sceNpDrmRemoveActData) + +// SceNpDrmPackage +BRIDGE_DECL(_sceNpDrmPackageCheck) +BRIDGE_DECL(_sceNpDrmPackageDecrypt) +BRIDGE_DECL(_sceNpDrmPackageInstallFinished) +BRIDGE_DECL(_sceNpDrmPackageInstallStarted) +BRIDGE_DECL(_sceNpDrmPackageTransform) +BRIDGE_DECL(_sceNpDrmPackageUninstallFinished) +BRIDGE_DECL(_sceNpDrmPackageUninstallStarted) +BRIDGE_DECL(sceNpDrmPackageInstallOngoing) +BRIDGE_DECL(sceNpDrmPackageIsGameExist) +BRIDGE_DECL(sceNpDrmPackageUninstallOngoing) diff --git a/src/emulator/modules/SceNpDrm/src/SceNpDrm.cpp b/src/emulator/modules/SceNpDrm/src/SceNpDrm.cpp new file mode 100644 index 000000000..f3f8d9a87 --- /dev/null +++ b/src/emulator/modules/SceNpDrm/src/SceNpDrm.cpp @@ -0,0 +1,59 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceNpDrmCheckActData) { + return unimplemented("_sceNpDrmCheckActData"); +} + +EXPORT(int, _sceNpDrmCheckDrmReset) { + return unimplemented("_sceNpDrmCheckDrmReset"); +} + +EXPORT(int, _sceNpDrmGetFixedRifName) { + return unimplemented("_sceNpDrmGetFixedRifName"); +} + +EXPORT(int, _sceNpDrmGetRifInfo) { + return unimplemented("_sceNpDrmGetRifInfo"); +} + +EXPORT(int, _sceNpDrmGetRifName) { + return unimplemented("_sceNpDrmGetRifName"); +} + +EXPORT(int, _sceNpDrmGetRifNameForInstall) { + return unimplemented("_sceNpDrmGetRifNameForInstall"); +} + +EXPORT(int, _sceNpDrmPresetRifProvisionalFlag) { + return unimplemented("_sceNpDrmPresetRifProvisionalFlag"); +} + +EXPORT(int, _sceNpDrmRemoveActData) { + return unimplemented("_sceNpDrmRemoveActData"); +} + +BRIDGE_IMPL(_sceNpDrmCheckActData) +BRIDGE_IMPL(_sceNpDrmCheckDrmReset) +BRIDGE_IMPL(_sceNpDrmGetFixedRifName) +BRIDGE_IMPL(_sceNpDrmGetRifInfo) +BRIDGE_IMPL(_sceNpDrmGetRifName) +BRIDGE_IMPL(_sceNpDrmGetRifNameForInstall) +BRIDGE_IMPL(_sceNpDrmPresetRifProvisionalFlag) +BRIDGE_IMPL(_sceNpDrmRemoveActData) diff --git a/src/emulator/modules/SceNpDrm/src/SceNpDrmPackage.cpp b/src/emulator/modules/SceNpDrm/src/SceNpDrmPackage.cpp new file mode 100644 index 000000000..faf00dd2a --- /dev/null +++ b/src/emulator/modules/SceNpDrm/src/SceNpDrmPackage.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceNpDrmPackageCheck) { + return unimplemented("_sceNpDrmPackageCheck"); +} + +EXPORT(int, _sceNpDrmPackageDecrypt) { + return unimplemented("_sceNpDrmPackageDecrypt"); +} + +EXPORT(int, _sceNpDrmPackageInstallFinished) { + return unimplemented("_sceNpDrmPackageInstallFinished"); +} + +EXPORT(int, _sceNpDrmPackageInstallStarted) { + return unimplemented("_sceNpDrmPackageInstallStarted"); +} + +EXPORT(int, _sceNpDrmPackageTransform) { + return unimplemented("_sceNpDrmPackageTransform"); +} + +EXPORT(int, _sceNpDrmPackageUninstallFinished) { + return unimplemented("_sceNpDrmPackageUninstallFinished"); +} + +EXPORT(int, _sceNpDrmPackageUninstallStarted) { + return unimplemented("_sceNpDrmPackageUninstallStarted"); +} + +EXPORT(int, sceNpDrmPackageInstallOngoing) { + return unimplemented("sceNpDrmPackageInstallOngoing"); +} + +EXPORT(int, sceNpDrmPackageIsGameExist) { + return unimplemented("sceNpDrmPackageIsGameExist"); +} + +EXPORT(int, sceNpDrmPackageUninstallOngoing) { + return unimplemented("sceNpDrmPackageUninstallOngoing"); +} + +BRIDGE_IMPL(_sceNpDrmPackageCheck) +BRIDGE_IMPL(_sceNpDrmPackageDecrypt) +BRIDGE_IMPL(_sceNpDrmPackageInstallFinished) +BRIDGE_IMPL(_sceNpDrmPackageInstallStarted) +BRIDGE_IMPL(_sceNpDrmPackageTransform) +BRIDGE_IMPL(_sceNpDrmPackageUninstallFinished) +BRIDGE_IMPL(_sceNpDrmPackageUninstallStarted) +BRIDGE_IMPL(sceNpDrmPackageInstallOngoing) +BRIDGE_IMPL(sceNpDrmPackageIsGameExist) +BRIDGE_IMPL(sceNpDrmPackageUninstallOngoing) diff --git a/src/emulator/modules/SceNpManager/CMakeLists.txt b/src/emulator/modules/SceNpManager/CMakeLists.txt new file mode 100644 index 000000000..202408a41 --- /dev/null +++ b/src/emulator/modules/SceNpManager/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpManager STATIC include/SceNpManager/exports.h src/SceNpManager.cpp) +target_include_directories(SceNpManager PUBLIC include) +target_link_libraries(SceNpManager PRIVATE module) diff --git a/src/emulator/modules/SceNpManager/include/SceNpManager/exports.h b/src/emulator/modules/SceNpManager/include/SceNpManager/exports.h new file mode 100644 index 000000000..2ce56a432 --- /dev/null +++ b/src/emulator/modules/SceNpManager/include/SceNpManager/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpManager +BRIDGE_DECL(sceNpCheckCallback) +BRIDGE_DECL(sceNpGetServiceState) +BRIDGE_DECL(sceNpInit) +BRIDGE_DECL(sceNpManagerGetAccountRegion) +BRIDGE_DECL(sceNpManagerGetCachedParam) +BRIDGE_DECL(sceNpManagerGetChatRestrictionFlag) +BRIDGE_DECL(sceNpManagerGetContentRatingFlag) +BRIDGE_DECL(sceNpManagerGetNpId) +BRIDGE_DECL(sceNpRegisterServiceStateCallback) +BRIDGE_DECL(sceNpTerm) +BRIDGE_DECL(sceNpUnregisterServiceStateCallback) diff --git a/src/emulator/modules/SceNpManager/src/SceNpManager.cpp b/src/emulator/modules/SceNpManager/src/SceNpManager.cpp new file mode 100644 index 000000000..cf7b50563 --- /dev/null +++ b/src/emulator/modules/SceNpManager/src/SceNpManager.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpCheckCallback) { + return unimplemented("sceNpCheckCallback"); +} + +EXPORT(int, sceNpGetServiceState) { + return unimplemented("sceNpGetServiceState"); +} + +EXPORT(int, sceNpInit) { + return unimplemented("sceNpInit"); +} + +EXPORT(int, sceNpManagerGetAccountRegion) { + return unimplemented("sceNpManagerGetAccountRegion"); +} + +EXPORT(int, sceNpManagerGetCachedParam) { + return unimplemented("sceNpManagerGetCachedParam"); +} + +EXPORT(int, sceNpManagerGetChatRestrictionFlag) { + return unimplemented("sceNpManagerGetChatRestrictionFlag"); +} + +EXPORT(int, sceNpManagerGetContentRatingFlag) { + return unimplemented("sceNpManagerGetContentRatingFlag"); +} + +EXPORT(int, sceNpManagerGetNpId) { + return unimplemented("sceNpManagerGetNpId"); +} + +EXPORT(int, sceNpRegisterServiceStateCallback) { + return unimplemented("sceNpRegisterServiceStateCallback"); +} + +EXPORT(int, sceNpTerm) { + return unimplemented("sceNpTerm"); +} + +EXPORT(int, sceNpUnregisterServiceStateCallback) { + return unimplemented("sceNpUnregisterServiceStateCallback"); +} + +BRIDGE_IMPL(sceNpCheckCallback) +BRIDGE_IMPL(sceNpGetServiceState) +BRIDGE_IMPL(sceNpInit) +BRIDGE_IMPL(sceNpManagerGetAccountRegion) +BRIDGE_IMPL(sceNpManagerGetCachedParam) +BRIDGE_IMPL(sceNpManagerGetChatRestrictionFlag) +BRIDGE_IMPL(sceNpManagerGetContentRatingFlag) +BRIDGE_IMPL(sceNpManagerGetNpId) +BRIDGE_IMPL(sceNpRegisterServiceStateCallback) +BRIDGE_IMPL(sceNpTerm) +BRIDGE_IMPL(sceNpUnregisterServiceStateCallback) diff --git a/src/emulator/modules/SceNpMatching2/CMakeLists.txt b/src/emulator/modules/SceNpMatching2/CMakeLists.txt new file mode 100644 index 000000000..44adf7e96 --- /dev/null +++ b/src/emulator/modules/SceNpMatching2/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpMatching2 STATIC include/SceNpMatching2/exports.h src/SceNpMatching2.cpp) +target_include_directories(SceNpMatching2 PUBLIC include) +target_link_libraries(SceNpMatching2 PRIVATE module) diff --git a/src/emulator/modules/SceNpMatching2/include/SceNpMatching2/exports.h b/src/emulator/modules/SceNpMatching2/include/SceNpMatching2/exports.h new file mode 100644 index 000000000..d7a714b12 --- /dev/null +++ b/src/emulator/modules/SceNpMatching2/include/SceNpMatching2/exports.h @@ -0,0 +1,72 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpMatching2 +BRIDGE_DECL(sceNpMatching2AbortContextStart) +BRIDGE_DECL(sceNpMatching2AbortRequest) +BRIDGE_DECL(sceNpMatching2ContextStart) +BRIDGE_DECL(sceNpMatching2ContextStop) +BRIDGE_DECL(sceNpMatching2CreateContext) +BRIDGE_DECL(sceNpMatching2CreateJoinRoom) +BRIDGE_DECL(sceNpMatching2DestroyContext) +BRIDGE_DECL(sceNpMatching2GetLobbyInfoList) +BRIDGE_DECL(sceNpMatching2GetMemoryInfo) +BRIDGE_DECL(sceNpMatching2GetRoomDataExternalList) +BRIDGE_DECL(sceNpMatching2GetRoomDataInternal) +BRIDGE_DECL(sceNpMatching2GetRoomMemberDataExternalList) +BRIDGE_DECL(sceNpMatching2GetRoomMemberDataInternal) +BRIDGE_DECL(sceNpMatching2GetRoomMemberIdListLocal) +BRIDGE_DECL(sceNpMatching2GetRoomPasswordLocal) +BRIDGE_DECL(sceNpMatching2GetServerLocal) +BRIDGE_DECL(sceNpMatching2GetSignalingOptParamLocal) +BRIDGE_DECL(sceNpMatching2GetUserInfoList) +BRIDGE_DECL(sceNpMatching2GetWorldInfoList) +BRIDGE_DECL(sceNpMatching2GrantRoomOwner) +BRIDGE_DECL(sceNpMatching2Init) +BRIDGE_DECL(sceNpMatching2JoinLobby) +BRIDGE_DECL(sceNpMatching2JoinRoom) +BRIDGE_DECL(sceNpMatching2KickoutRoomMember) +BRIDGE_DECL(sceNpMatching2LeaveLobby) +BRIDGE_DECL(sceNpMatching2LeaveRoom) +BRIDGE_DECL(sceNpMatching2RegisterContextCallback) +BRIDGE_DECL(sceNpMatching2RegisterLobbyEventCallback) +BRIDGE_DECL(sceNpMatching2RegisterLobbyMessageCallback) +BRIDGE_DECL(sceNpMatching2RegisterRoomEventCallback) +BRIDGE_DECL(sceNpMatching2RegisterRoomMessageCallback) +BRIDGE_DECL(sceNpMatching2RegisterSignalingCallback) +BRIDGE_DECL(sceNpMatching2SearchRoom) +BRIDGE_DECL(sceNpMatching2SendLobbyChatMessage) +BRIDGE_DECL(sceNpMatching2SendRoomChatMessage) +BRIDGE_DECL(sceNpMatching2SendRoomMessage) +BRIDGE_DECL(sceNpMatching2SetDefaultRequestOptParam) +BRIDGE_DECL(sceNpMatching2SetRoomDataExternal) +BRIDGE_DECL(sceNpMatching2SetRoomDataInternal) +BRIDGE_DECL(sceNpMatching2SetRoomMemberDataInternal) +BRIDGE_DECL(sceNpMatching2SetSignalingOptParam) +BRIDGE_DECL(sceNpMatching2SetUserInfo) +BRIDGE_DECL(sceNpMatching2SignalingCancelPeerNetInfo) +BRIDGE_DECL(sceNpMatching2SignalingGetConnectionInfo) +BRIDGE_DECL(sceNpMatching2SignalingGetConnectionStatus) +BRIDGE_DECL(sceNpMatching2SignalingGetLocalNetInfo) +BRIDGE_DECL(sceNpMatching2SignalingGetPeerNetInfo) +BRIDGE_DECL(sceNpMatching2SignalingGetPeerNetInfoResult) +BRIDGE_DECL(sceNpMatching2SignalingGetPingInfo) +BRIDGE_DECL(sceNpMatching2Term) diff --git a/src/emulator/modules/SceNpMatching2/src/SceNpMatching2.cpp b/src/emulator/modules/SceNpMatching2/src/SceNpMatching2.cpp new file mode 100644 index 000000000..0a0c2e50b --- /dev/null +++ b/src/emulator/modules/SceNpMatching2/src/SceNpMatching2.cpp @@ -0,0 +1,269 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpMatching2AbortContextStart) { + return unimplemented("sceNpMatching2AbortContextStart"); +} + +EXPORT(int, sceNpMatching2AbortRequest) { + return unimplemented("sceNpMatching2AbortRequest"); +} + +EXPORT(int, sceNpMatching2ContextStart) { + return unimplemented("sceNpMatching2ContextStart"); +} + +EXPORT(int, sceNpMatching2ContextStop) { + return unimplemented("sceNpMatching2ContextStop"); +} + +EXPORT(int, sceNpMatching2CreateContext) { + return unimplemented("sceNpMatching2CreateContext"); +} + +EXPORT(int, sceNpMatching2CreateJoinRoom) { + return unimplemented("sceNpMatching2CreateJoinRoom"); +} + +EXPORT(int, sceNpMatching2DestroyContext) { + return unimplemented("sceNpMatching2DestroyContext"); +} + +EXPORT(int, sceNpMatching2GetLobbyInfoList) { + return unimplemented("sceNpMatching2GetLobbyInfoList"); +} + +EXPORT(int, sceNpMatching2GetMemoryInfo) { + return unimplemented("sceNpMatching2GetMemoryInfo"); +} + +EXPORT(int, sceNpMatching2GetRoomDataExternalList) { + return unimplemented("sceNpMatching2GetRoomDataExternalList"); +} + +EXPORT(int, sceNpMatching2GetRoomDataInternal) { + return unimplemented("sceNpMatching2GetRoomDataInternal"); +} + +EXPORT(int, sceNpMatching2GetRoomMemberDataExternalList) { + return unimplemented("sceNpMatching2GetRoomMemberDataExternalList"); +} + +EXPORT(int, sceNpMatching2GetRoomMemberDataInternal) { + return unimplemented("sceNpMatching2GetRoomMemberDataInternal"); +} + +EXPORT(int, sceNpMatching2GetRoomMemberIdListLocal) { + return unimplemented("sceNpMatching2GetRoomMemberIdListLocal"); +} + +EXPORT(int, sceNpMatching2GetRoomPasswordLocal) { + return unimplemented("sceNpMatching2GetRoomPasswordLocal"); +} + +EXPORT(int, sceNpMatching2GetServerLocal) { + return unimplemented("sceNpMatching2GetServerLocal"); +} + +EXPORT(int, sceNpMatching2GetSignalingOptParamLocal) { + return unimplemented("sceNpMatching2GetSignalingOptParamLocal"); +} + +EXPORT(int, sceNpMatching2GetUserInfoList) { + return unimplemented("sceNpMatching2GetUserInfoList"); +} + +EXPORT(int, sceNpMatching2GetWorldInfoList) { + return unimplemented("sceNpMatching2GetWorldInfoList"); +} + +EXPORT(int, sceNpMatching2GrantRoomOwner) { + return unimplemented("sceNpMatching2GrantRoomOwner"); +} + +EXPORT(int, sceNpMatching2Init) { + return unimplemented("sceNpMatching2Init"); +} + +EXPORT(int, sceNpMatching2JoinLobby) { + return unimplemented("sceNpMatching2JoinLobby"); +} + +EXPORT(int, sceNpMatching2JoinRoom) { + return unimplemented("sceNpMatching2JoinRoom"); +} + +EXPORT(int, sceNpMatching2KickoutRoomMember) { + return unimplemented("sceNpMatching2KickoutRoomMember"); +} + +EXPORT(int, sceNpMatching2LeaveLobby) { + return unimplemented("sceNpMatching2LeaveLobby"); +} + +EXPORT(int, sceNpMatching2LeaveRoom) { + return unimplemented("sceNpMatching2LeaveRoom"); +} + +EXPORT(int, sceNpMatching2RegisterContextCallback) { + return unimplemented("sceNpMatching2RegisterContextCallback"); +} + +EXPORT(int, sceNpMatching2RegisterLobbyEventCallback) { + return unimplemented("sceNpMatching2RegisterLobbyEventCallback"); +} + +EXPORT(int, sceNpMatching2RegisterLobbyMessageCallback) { + return unimplemented("sceNpMatching2RegisterLobbyMessageCallback"); +} + +EXPORT(int, sceNpMatching2RegisterRoomEventCallback) { + return unimplemented("sceNpMatching2RegisterRoomEventCallback"); +} + +EXPORT(int, sceNpMatching2RegisterRoomMessageCallback) { + return unimplemented("sceNpMatching2RegisterRoomMessageCallback"); +} + +EXPORT(int, sceNpMatching2RegisterSignalingCallback) { + return unimplemented("sceNpMatching2RegisterSignalingCallback"); +} + +EXPORT(int, sceNpMatching2SearchRoom) { + return unimplemented("sceNpMatching2SearchRoom"); +} + +EXPORT(int, sceNpMatching2SendLobbyChatMessage) { + return unimplemented("sceNpMatching2SendLobbyChatMessage"); +} + +EXPORT(int, sceNpMatching2SendRoomChatMessage) { + return unimplemented("sceNpMatching2SendRoomChatMessage"); +} + +EXPORT(int, sceNpMatching2SendRoomMessage) { + return unimplemented("sceNpMatching2SendRoomMessage"); +} + +EXPORT(int, sceNpMatching2SetDefaultRequestOptParam) { + return unimplemented("sceNpMatching2SetDefaultRequestOptParam"); +} + +EXPORT(int, sceNpMatching2SetRoomDataExternal) { + return unimplemented("sceNpMatching2SetRoomDataExternal"); +} + +EXPORT(int, sceNpMatching2SetRoomDataInternal) { + return unimplemented("sceNpMatching2SetRoomDataInternal"); +} + +EXPORT(int, sceNpMatching2SetRoomMemberDataInternal) { + return unimplemented("sceNpMatching2SetRoomMemberDataInternal"); +} + +EXPORT(int, sceNpMatching2SetSignalingOptParam) { + return unimplemented("sceNpMatching2SetSignalingOptParam"); +} + +EXPORT(int, sceNpMatching2SetUserInfo) { + return unimplemented("sceNpMatching2SetUserInfo"); +} + +EXPORT(int, sceNpMatching2SignalingCancelPeerNetInfo) { + return unimplemented("sceNpMatching2SignalingCancelPeerNetInfo"); +} + +EXPORT(int, sceNpMatching2SignalingGetConnectionInfo) { + return unimplemented("sceNpMatching2SignalingGetConnectionInfo"); +} + +EXPORT(int, sceNpMatching2SignalingGetConnectionStatus) { + return unimplemented("sceNpMatching2SignalingGetConnectionStatus"); +} + +EXPORT(int, sceNpMatching2SignalingGetLocalNetInfo) { + return unimplemented("sceNpMatching2SignalingGetLocalNetInfo"); +} + +EXPORT(int, sceNpMatching2SignalingGetPeerNetInfo) { + return unimplemented("sceNpMatching2SignalingGetPeerNetInfo"); +} + +EXPORT(int, sceNpMatching2SignalingGetPeerNetInfoResult) { + return unimplemented("sceNpMatching2SignalingGetPeerNetInfoResult"); +} + +EXPORT(int, sceNpMatching2SignalingGetPingInfo) { + return unimplemented("sceNpMatching2SignalingGetPingInfo"); +} + +EXPORT(int, sceNpMatching2Term) { + return unimplemented("sceNpMatching2Term"); +} + +BRIDGE_IMPL(sceNpMatching2AbortContextStart) +BRIDGE_IMPL(sceNpMatching2AbortRequest) +BRIDGE_IMPL(sceNpMatching2ContextStart) +BRIDGE_IMPL(sceNpMatching2ContextStop) +BRIDGE_IMPL(sceNpMatching2CreateContext) +BRIDGE_IMPL(sceNpMatching2CreateJoinRoom) +BRIDGE_IMPL(sceNpMatching2DestroyContext) +BRIDGE_IMPL(sceNpMatching2GetLobbyInfoList) +BRIDGE_IMPL(sceNpMatching2GetMemoryInfo) +BRIDGE_IMPL(sceNpMatching2GetRoomDataExternalList) +BRIDGE_IMPL(sceNpMatching2GetRoomDataInternal) +BRIDGE_IMPL(sceNpMatching2GetRoomMemberDataExternalList) +BRIDGE_IMPL(sceNpMatching2GetRoomMemberDataInternal) +BRIDGE_IMPL(sceNpMatching2GetRoomMemberIdListLocal) +BRIDGE_IMPL(sceNpMatching2GetRoomPasswordLocal) +BRIDGE_IMPL(sceNpMatching2GetServerLocal) +BRIDGE_IMPL(sceNpMatching2GetSignalingOptParamLocal) +BRIDGE_IMPL(sceNpMatching2GetUserInfoList) +BRIDGE_IMPL(sceNpMatching2GetWorldInfoList) +BRIDGE_IMPL(sceNpMatching2GrantRoomOwner) +BRIDGE_IMPL(sceNpMatching2Init) +BRIDGE_IMPL(sceNpMatching2JoinLobby) +BRIDGE_IMPL(sceNpMatching2JoinRoom) +BRIDGE_IMPL(sceNpMatching2KickoutRoomMember) +BRIDGE_IMPL(sceNpMatching2LeaveLobby) +BRIDGE_IMPL(sceNpMatching2LeaveRoom) +BRIDGE_IMPL(sceNpMatching2RegisterContextCallback) +BRIDGE_IMPL(sceNpMatching2RegisterLobbyEventCallback) +BRIDGE_IMPL(sceNpMatching2RegisterLobbyMessageCallback) +BRIDGE_IMPL(sceNpMatching2RegisterRoomEventCallback) +BRIDGE_IMPL(sceNpMatching2RegisterRoomMessageCallback) +BRIDGE_IMPL(sceNpMatching2RegisterSignalingCallback) +BRIDGE_IMPL(sceNpMatching2SearchRoom) +BRIDGE_IMPL(sceNpMatching2SendLobbyChatMessage) +BRIDGE_IMPL(sceNpMatching2SendRoomChatMessage) +BRIDGE_IMPL(sceNpMatching2SendRoomMessage) +BRIDGE_IMPL(sceNpMatching2SetDefaultRequestOptParam) +BRIDGE_IMPL(sceNpMatching2SetRoomDataExternal) +BRIDGE_IMPL(sceNpMatching2SetRoomDataInternal) +BRIDGE_IMPL(sceNpMatching2SetRoomMemberDataInternal) +BRIDGE_IMPL(sceNpMatching2SetSignalingOptParam) +BRIDGE_IMPL(sceNpMatching2SetUserInfo) +BRIDGE_IMPL(sceNpMatching2SignalingCancelPeerNetInfo) +BRIDGE_IMPL(sceNpMatching2SignalingGetConnectionInfo) +BRIDGE_IMPL(sceNpMatching2SignalingGetConnectionStatus) +BRIDGE_IMPL(sceNpMatching2SignalingGetLocalNetInfo) +BRIDGE_IMPL(sceNpMatching2SignalingGetPeerNetInfo) +BRIDGE_IMPL(sceNpMatching2SignalingGetPeerNetInfoResult) +BRIDGE_IMPL(sceNpMatching2SignalingGetPingInfo) +BRIDGE_IMPL(sceNpMatching2Term) diff --git a/src/emulator/modules/SceNpMessage/CMakeLists.txt b/src/emulator/modules/SceNpMessage/CMakeLists.txt new file mode 100644 index 000000000..bef2caf27 --- /dev/null +++ b/src/emulator/modules/SceNpMessage/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpMessage STATIC include/SceNpMessage/exports.h src/SceNpMessage.cpp) +target_include_directories(SceNpMessage PUBLIC include) +target_link_libraries(SceNpMessage PRIVATE module) diff --git a/src/emulator/modules/SceNpMessage/include/SceNpMessage/exports.h b/src/emulator/modules/SceNpMessage/include/SceNpMessage/exports.h new file mode 100644 index 000000000..76e6b0cd9 --- /dev/null +++ b/src/emulator/modules/SceNpMessage/include/SceNpMessage/exports.h @@ -0,0 +1,33 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpMessage +BRIDGE_DECL(sceNpMessageAbort) +BRIDGE_DECL(sceNpMessageGetAttachedData) +BRIDGE_DECL(sceNpMessageGetMessage) +BRIDGE_DECL(sceNpMessageGetMessageEntries) +BRIDGE_DECL(sceNpMessageGetMessageEntry) +BRIDGE_DECL(sceNpMessageGetMessageEntryCount) +BRIDGE_DECL(sceNpMessageInit) +BRIDGE_DECL(sceNpMessageInitWithParam) +BRIDGE_DECL(sceNpMessageSetAttachedDataUsedFlag) +BRIDGE_DECL(sceNpMessageSyncMessage) +BRIDGE_DECL(sceNpMessageTerm) diff --git a/src/emulator/modules/SceNpMessage/src/SceNpMessage.cpp b/src/emulator/modules/SceNpMessage/src/SceNpMessage.cpp new file mode 100644 index 000000000..6ac28c9b7 --- /dev/null +++ b/src/emulator/modules/SceNpMessage/src/SceNpMessage.cpp @@ -0,0 +1,74 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpMessageAbort) { + return unimplemented("sceNpMessageAbort"); +} + +EXPORT(int, sceNpMessageGetAttachedData) { + return unimplemented("sceNpMessageGetAttachedData"); +} + +EXPORT(int, sceNpMessageGetMessage) { + return unimplemented("sceNpMessageGetMessage"); +} + +EXPORT(int, sceNpMessageGetMessageEntries) { + return unimplemented("sceNpMessageGetMessageEntries"); +} + +EXPORT(int, sceNpMessageGetMessageEntry) { + return unimplemented("sceNpMessageGetMessageEntry"); +} + +EXPORT(int, sceNpMessageGetMessageEntryCount) { + return unimplemented("sceNpMessageGetMessageEntryCount"); +} + +EXPORT(int, sceNpMessageInit) { + return unimplemented("sceNpMessageInit"); +} + +EXPORT(int, sceNpMessageInitWithParam) { + return unimplemented("sceNpMessageInitWithParam"); +} + +EXPORT(int, sceNpMessageSetAttachedDataUsedFlag) { + return unimplemented("sceNpMessageSetAttachedDataUsedFlag"); +} + +EXPORT(int, sceNpMessageSyncMessage) { + return unimplemented("sceNpMessageSyncMessage"); +} + +EXPORT(int, sceNpMessageTerm) { + return unimplemented("sceNpMessageTerm"); +} + +BRIDGE_IMPL(sceNpMessageAbort) +BRIDGE_IMPL(sceNpMessageGetAttachedData) +BRIDGE_IMPL(sceNpMessageGetMessage) +BRIDGE_IMPL(sceNpMessageGetMessageEntries) +BRIDGE_IMPL(sceNpMessageGetMessageEntry) +BRIDGE_IMPL(sceNpMessageGetMessageEntryCount) +BRIDGE_IMPL(sceNpMessageInit) +BRIDGE_IMPL(sceNpMessageInitWithParam) +BRIDGE_IMPL(sceNpMessageSetAttachedDataUsedFlag) +BRIDGE_IMPL(sceNpMessageSyncMessage) +BRIDGE_IMPL(sceNpMessageTerm) diff --git a/src/emulator/modules/SceNpPartyGameUtil/CMakeLists.txt b/src/emulator/modules/SceNpPartyGameUtil/CMakeLists.txt new file mode 100644 index 000000000..a6de4a25f --- /dev/null +++ b/src/emulator/modules/SceNpPartyGameUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpPartyGameUtil STATIC include/SceNpPartyGameUtil/exports.h src/SceNpPartyGameUtil.cpp) +target_include_directories(SceNpPartyGameUtil PUBLIC include) +target_link_libraries(SceNpPartyGameUtil PRIVATE module) diff --git a/src/emulator/modules/SceNpPartyGameUtil/include/SceNpPartyGameUtil/exports.h b/src/emulator/modules/SceNpPartyGameUtil/include/SceNpPartyGameUtil/exports.h new file mode 100644 index 000000000..4e065c84e --- /dev/null +++ b/src/emulator/modules/SceNpPartyGameUtil/include/SceNpPartyGameUtil/exports.h @@ -0,0 +1,30 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpPartyGameUtil +BRIDGE_DECL(sceNpPartyCheckCallback) +BRIDGE_DECL(sceNpPartyGetMemberInfo) +BRIDGE_DECL(sceNpPartyGetMemberVoiceInfo) +BRIDGE_DECL(sceNpPartyGetMembers) +BRIDGE_DECL(sceNpPartyGetState) +BRIDGE_DECL(sceNpPartyInit) +BRIDGE_DECL(sceNpPartyRegisterHandler) +BRIDGE_DECL(sceNpPartyTerm) diff --git a/src/emulator/modules/SceNpPartyGameUtil/src/SceNpPartyGameUtil.cpp b/src/emulator/modules/SceNpPartyGameUtil/src/SceNpPartyGameUtil.cpp new file mode 100644 index 000000000..6aa77fc29 --- /dev/null +++ b/src/emulator/modules/SceNpPartyGameUtil/src/SceNpPartyGameUtil.cpp @@ -0,0 +1,59 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpPartyCheckCallback) { + return unimplemented("sceNpPartyCheckCallback"); +} + +EXPORT(int, sceNpPartyGetMemberInfo) { + return unimplemented("sceNpPartyGetMemberInfo"); +} + +EXPORT(int, sceNpPartyGetMemberVoiceInfo) { + return unimplemented("sceNpPartyGetMemberVoiceInfo"); +} + +EXPORT(int, sceNpPartyGetMembers) { + return unimplemented("sceNpPartyGetMembers"); +} + +EXPORT(int, sceNpPartyGetState) { + return unimplemented("sceNpPartyGetState"); +} + +EXPORT(int, sceNpPartyInit) { + return unimplemented("sceNpPartyInit"); +} + +EXPORT(int, sceNpPartyRegisterHandler) { + return unimplemented("sceNpPartyRegisterHandler"); +} + +EXPORT(int, sceNpPartyTerm) { + return unimplemented("sceNpPartyTerm"); +} + +BRIDGE_IMPL(sceNpPartyCheckCallback) +BRIDGE_IMPL(sceNpPartyGetMemberInfo) +BRIDGE_IMPL(sceNpPartyGetMemberVoiceInfo) +BRIDGE_IMPL(sceNpPartyGetMembers) +BRIDGE_IMPL(sceNpPartyGetState) +BRIDGE_IMPL(sceNpPartyInit) +BRIDGE_IMPL(sceNpPartyRegisterHandler) +BRIDGE_IMPL(sceNpPartyTerm) diff --git a/src/emulator/modules/SceNpScore/CMakeLists.txt b/src/emulator/modules/SceNpScore/CMakeLists.txt new file mode 100644 index 000000000..68b21536b --- /dev/null +++ b/src/emulator/modules/SceNpScore/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpScore STATIC include/SceNpScore/exports.h src/SceNpScore.cpp) +target_include_directories(SceNpScore PUBLIC include) +target_link_libraries(SceNpScore PRIVATE module) diff --git a/src/emulator/modules/SceNpScore/include/SceNpScore/exports.h b/src/emulator/modules/SceNpScore/include/SceNpScore/exports.h new file mode 100644 index 000000000..6f901d4e1 --- /dev/null +++ b/src/emulator/modules/SceNpScore/include/SceNpScore/exports.h @@ -0,0 +1,52 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpScore +BRIDGE_DECL(sceNpScoreAbortRequest) +BRIDGE_DECL(sceNpScoreCensorComment) +BRIDGE_DECL(sceNpScoreCensorCommentAsync) +BRIDGE_DECL(sceNpScoreChangeModeForOtherSaveDataOwners) +BRIDGE_DECL(sceNpScoreCreateRequest) +BRIDGE_DECL(sceNpScoreCreateTitleCtx) +BRIDGE_DECL(sceNpScoreDeleteRequest) +BRIDGE_DECL(sceNpScoreDeleteTitleCtx) +BRIDGE_DECL(sceNpScoreGetBoardInfo) +BRIDGE_DECL(sceNpScoreGetBoardInfoAsync) +BRIDGE_DECL(sceNpScoreGetGameData) +BRIDGE_DECL(sceNpScoreGetGameDataAsync) +BRIDGE_DECL(sceNpScoreGetRankingByNpId) +BRIDGE_DECL(sceNpScoreGetRankingByNpIdAsync) +BRIDGE_DECL(sceNpScoreGetRankingByNpIdPcId) +BRIDGE_DECL(sceNpScoreGetRankingByNpIdPcIdAsync) +BRIDGE_DECL(sceNpScoreGetRankingByRange) +BRIDGE_DECL(sceNpScoreGetRankingByRangeAsync) +BRIDGE_DECL(sceNpScoreInit) +BRIDGE_DECL(sceNpScorePollAsync) +BRIDGE_DECL(sceNpScoreRecordGameData) +BRIDGE_DECL(sceNpScoreRecordGameDataAsync) +BRIDGE_DECL(sceNpScoreRecordScore) +BRIDGE_DECL(sceNpScoreRecordScoreAsync) +BRIDGE_DECL(sceNpScoreSanitizeComment) +BRIDGE_DECL(sceNpScoreSanitizeCommentAsync) +BRIDGE_DECL(sceNpScoreSetPlayerCharacterId) +BRIDGE_DECL(sceNpScoreSetTimeout) +BRIDGE_DECL(sceNpScoreTerm) +BRIDGE_DECL(sceNpScoreWaitAsync) diff --git a/src/emulator/modules/SceNpScore/src/SceNpScore.cpp b/src/emulator/modules/SceNpScore/src/SceNpScore.cpp new file mode 100644 index 000000000..bb1155af1 --- /dev/null +++ b/src/emulator/modules/SceNpScore/src/SceNpScore.cpp @@ -0,0 +1,169 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpScoreAbortRequest) { + return unimplemented("sceNpScoreAbortRequest"); +} + +EXPORT(int, sceNpScoreCensorComment) { + return unimplemented("sceNpScoreCensorComment"); +} + +EXPORT(int, sceNpScoreCensorCommentAsync) { + return unimplemented("sceNpScoreCensorCommentAsync"); +} + +EXPORT(int, sceNpScoreChangeModeForOtherSaveDataOwners) { + return unimplemented("sceNpScoreChangeModeForOtherSaveDataOwners"); +} + +EXPORT(int, sceNpScoreCreateRequest) { + return unimplemented("sceNpScoreCreateRequest"); +} + +EXPORT(int, sceNpScoreCreateTitleCtx) { + return unimplemented("sceNpScoreCreateTitleCtx"); +} + +EXPORT(int, sceNpScoreDeleteRequest) { + return unimplemented("sceNpScoreDeleteRequest"); +} + +EXPORT(int, sceNpScoreDeleteTitleCtx) { + return unimplemented("sceNpScoreDeleteTitleCtx"); +} + +EXPORT(int, sceNpScoreGetBoardInfo) { + return unimplemented("sceNpScoreGetBoardInfo"); +} + +EXPORT(int, sceNpScoreGetBoardInfoAsync) { + return unimplemented("sceNpScoreGetBoardInfoAsync"); +} + +EXPORT(int, sceNpScoreGetGameData) { + return unimplemented("sceNpScoreGetGameData"); +} + +EXPORT(int, sceNpScoreGetGameDataAsync) { + return unimplemented("sceNpScoreGetGameDataAsync"); +} + +EXPORT(int, sceNpScoreGetRankingByNpId) { + return unimplemented("sceNpScoreGetRankingByNpId"); +} + +EXPORT(int, sceNpScoreGetRankingByNpIdAsync) { + return unimplemented("sceNpScoreGetRankingByNpIdAsync"); +} + +EXPORT(int, sceNpScoreGetRankingByNpIdPcId) { + return unimplemented("sceNpScoreGetRankingByNpIdPcId"); +} + +EXPORT(int, sceNpScoreGetRankingByNpIdPcIdAsync) { + return unimplemented("sceNpScoreGetRankingByNpIdPcIdAsync"); +} + +EXPORT(int, sceNpScoreGetRankingByRange) { + return unimplemented("sceNpScoreGetRankingByRange"); +} + +EXPORT(int, sceNpScoreGetRankingByRangeAsync) { + return unimplemented("sceNpScoreGetRankingByRangeAsync"); +} + +EXPORT(int, sceNpScoreInit) { + return unimplemented("sceNpScoreInit"); +} + +EXPORT(int, sceNpScorePollAsync) { + return unimplemented("sceNpScorePollAsync"); +} + +EXPORT(int, sceNpScoreRecordGameData) { + return unimplemented("sceNpScoreRecordGameData"); +} + +EXPORT(int, sceNpScoreRecordGameDataAsync) { + return unimplemented("sceNpScoreRecordGameDataAsync"); +} + +EXPORT(int, sceNpScoreRecordScore) { + return unimplemented("sceNpScoreRecordScore"); +} + +EXPORT(int, sceNpScoreRecordScoreAsync) { + return unimplemented("sceNpScoreRecordScoreAsync"); +} + +EXPORT(int, sceNpScoreSanitizeComment) { + return unimplemented("sceNpScoreSanitizeComment"); +} + +EXPORT(int, sceNpScoreSanitizeCommentAsync) { + return unimplemented("sceNpScoreSanitizeCommentAsync"); +} + +EXPORT(int, sceNpScoreSetPlayerCharacterId) { + return unimplemented("sceNpScoreSetPlayerCharacterId"); +} + +EXPORT(int, sceNpScoreSetTimeout) { + return unimplemented("sceNpScoreSetTimeout"); +} + +EXPORT(int, sceNpScoreTerm) { + return unimplemented("sceNpScoreTerm"); +} + +EXPORT(int, sceNpScoreWaitAsync) { + return unimplemented("sceNpScoreWaitAsync"); +} + +BRIDGE_IMPL(sceNpScoreAbortRequest) +BRIDGE_IMPL(sceNpScoreCensorComment) +BRIDGE_IMPL(sceNpScoreCensorCommentAsync) +BRIDGE_IMPL(sceNpScoreChangeModeForOtherSaveDataOwners) +BRIDGE_IMPL(sceNpScoreCreateRequest) +BRIDGE_IMPL(sceNpScoreCreateTitleCtx) +BRIDGE_IMPL(sceNpScoreDeleteRequest) +BRIDGE_IMPL(sceNpScoreDeleteTitleCtx) +BRIDGE_IMPL(sceNpScoreGetBoardInfo) +BRIDGE_IMPL(sceNpScoreGetBoardInfoAsync) +BRIDGE_IMPL(sceNpScoreGetGameData) +BRIDGE_IMPL(sceNpScoreGetGameDataAsync) +BRIDGE_IMPL(sceNpScoreGetRankingByNpId) +BRIDGE_IMPL(sceNpScoreGetRankingByNpIdAsync) +BRIDGE_IMPL(sceNpScoreGetRankingByNpIdPcId) +BRIDGE_IMPL(sceNpScoreGetRankingByNpIdPcIdAsync) +BRIDGE_IMPL(sceNpScoreGetRankingByRange) +BRIDGE_IMPL(sceNpScoreGetRankingByRangeAsync) +BRIDGE_IMPL(sceNpScoreInit) +BRIDGE_IMPL(sceNpScorePollAsync) +BRIDGE_IMPL(sceNpScoreRecordGameData) +BRIDGE_IMPL(sceNpScoreRecordGameDataAsync) +BRIDGE_IMPL(sceNpScoreRecordScore) +BRIDGE_IMPL(sceNpScoreRecordScoreAsync) +BRIDGE_IMPL(sceNpScoreSanitizeComment) +BRIDGE_IMPL(sceNpScoreSanitizeCommentAsync) +BRIDGE_IMPL(sceNpScoreSetPlayerCharacterId) +BRIDGE_IMPL(sceNpScoreSetTimeout) +BRIDGE_IMPL(sceNpScoreTerm) +BRIDGE_IMPL(sceNpScoreWaitAsync) diff --git a/src/emulator/modules/SceNpSignaling/CMakeLists.txt b/src/emulator/modules/SceNpSignaling/CMakeLists.txt new file mode 100644 index 000000000..45033db2c --- /dev/null +++ b/src/emulator/modules/SceNpSignaling/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpSignaling STATIC include/SceNpSignaling/exports.h src/SceNpSignaling.cpp) +target_include_directories(SceNpSignaling PUBLIC include) +target_link_libraries(SceNpSignaling PRIVATE module) diff --git a/src/emulator/modules/SceNpSignaling/include/SceNpSignaling/exports.h b/src/emulator/modules/SceNpSignaling/include/SceNpSignaling/exports.h new file mode 100644 index 000000000..686ae9638 --- /dev/null +++ b/src/emulator/modules/SceNpSignaling/include/SceNpSignaling/exports.h @@ -0,0 +1,40 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpSignaling +BRIDGE_DECL(sceNpSignalingActivateConnection) +BRIDGE_DECL(sceNpSignalingCancelPeerNetInfo) +BRIDGE_DECL(sceNpSignalingCreateCtx) +BRIDGE_DECL(sceNpSignalingDeactivateConnection) +BRIDGE_DECL(sceNpSignalingDestroyCtx) +BRIDGE_DECL(sceNpSignalingGetConnectionFromNpId) +BRIDGE_DECL(sceNpSignalingGetConnectionFromPeerAddress) +BRIDGE_DECL(sceNpSignalingGetConnectionInfo) +BRIDGE_DECL(sceNpSignalingGetConnectionStatus) +BRIDGE_DECL(sceNpSignalingGetCtxOpt) +BRIDGE_DECL(sceNpSignalingGetLocalNetInfo) +BRIDGE_DECL(sceNpSignalingGetMemoryInfo) +BRIDGE_DECL(sceNpSignalingGetPeerNetInfo) +BRIDGE_DECL(sceNpSignalingGetPeerNetInfoResult) +BRIDGE_DECL(sceNpSignalingInit) +BRIDGE_DECL(sceNpSignalingSetCtxOpt) +BRIDGE_DECL(sceNpSignalingTerm) +BRIDGE_DECL(sceNpSignalingTerminateConnection) diff --git a/src/emulator/modules/SceNpSignaling/src/SceNpSignaling.cpp b/src/emulator/modules/SceNpSignaling/src/SceNpSignaling.cpp new file mode 100644 index 000000000..babfd7bb1 --- /dev/null +++ b/src/emulator/modules/SceNpSignaling/src/SceNpSignaling.cpp @@ -0,0 +1,109 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpSignalingActivateConnection) { + return unimplemented("sceNpSignalingActivateConnection"); +} + +EXPORT(int, sceNpSignalingCancelPeerNetInfo) { + return unimplemented("sceNpSignalingCancelPeerNetInfo"); +} + +EXPORT(int, sceNpSignalingCreateCtx) { + return unimplemented("sceNpSignalingCreateCtx"); +} + +EXPORT(int, sceNpSignalingDeactivateConnection) { + return unimplemented("sceNpSignalingDeactivateConnection"); +} + +EXPORT(int, sceNpSignalingDestroyCtx) { + return unimplemented("sceNpSignalingDestroyCtx"); +} + +EXPORT(int, sceNpSignalingGetConnectionFromNpId) { + return unimplemented("sceNpSignalingGetConnectionFromNpId"); +} + +EXPORT(int, sceNpSignalingGetConnectionFromPeerAddress) { + return unimplemented("sceNpSignalingGetConnectionFromPeerAddress"); +} + +EXPORT(int, sceNpSignalingGetConnectionInfo) { + return unimplemented("sceNpSignalingGetConnectionInfo"); +} + +EXPORT(int, sceNpSignalingGetConnectionStatus) { + return unimplemented("sceNpSignalingGetConnectionStatus"); +} + +EXPORT(int, sceNpSignalingGetCtxOpt) { + return unimplemented("sceNpSignalingGetCtxOpt"); +} + +EXPORT(int, sceNpSignalingGetLocalNetInfo) { + return unimplemented("sceNpSignalingGetLocalNetInfo"); +} + +EXPORT(int, sceNpSignalingGetMemoryInfo) { + return unimplemented("sceNpSignalingGetMemoryInfo"); +} + +EXPORT(int, sceNpSignalingGetPeerNetInfo) { + return unimplemented("sceNpSignalingGetPeerNetInfo"); +} + +EXPORT(int, sceNpSignalingGetPeerNetInfoResult) { + return unimplemented("sceNpSignalingGetPeerNetInfoResult"); +} + +EXPORT(int, sceNpSignalingInit) { + return unimplemented("sceNpSignalingInit"); +} + +EXPORT(int, sceNpSignalingSetCtxOpt) { + return unimplemented("sceNpSignalingSetCtxOpt"); +} + +EXPORT(int, sceNpSignalingTerm) { + return unimplemented("sceNpSignalingTerm"); +} + +EXPORT(int, sceNpSignalingTerminateConnection) { + return unimplemented("sceNpSignalingTerminateConnection"); +} + +BRIDGE_IMPL(sceNpSignalingActivateConnection) +BRIDGE_IMPL(sceNpSignalingCancelPeerNetInfo) +BRIDGE_IMPL(sceNpSignalingCreateCtx) +BRIDGE_IMPL(sceNpSignalingDeactivateConnection) +BRIDGE_IMPL(sceNpSignalingDestroyCtx) +BRIDGE_IMPL(sceNpSignalingGetConnectionFromNpId) +BRIDGE_IMPL(sceNpSignalingGetConnectionFromPeerAddress) +BRIDGE_IMPL(sceNpSignalingGetConnectionInfo) +BRIDGE_IMPL(sceNpSignalingGetConnectionStatus) +BRIDGE_IMPL(sceNpSignalingGetCtxOpt) +BRIDGE_IMPL(sceNpSignalingGetLocalNetInfo) +BRIDGE_IMPL(sceNpSignalingGetMemoryInfo) +BRIDGE_IMPL(sceNpSignalingGetPeerNetInfo) +BRIDGE_IMPL(sceNpSignalingGetPeerNetInfoResult) +BRIDGE_IMPL(sceNpSignalingInit) +BRIDGE_IMPL(sceNpSignalingSetCtxOpt) +BRIDGE_IMPL(sceNpSignalingTerm) +BRIDGE_IMPL(sceNpSignalingTerminateConnection) diff --git a/src/emulator/modules/SceNpSnsFacebook/CMakeLists.txt b/src/emulator/modules/SceNpSnsFacebook/CMakeLists.txt new file mode 100644 index 000000000..025f525f2 --- /dev/null +++ b/src/emulator/modules/SceNpSnsFacebook/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpSnsFacebook STATIC include/SceNpSnsFacebook/exports.h src/SceNpSnsFacebook.cpp) +target_include_directories(SceNpSnsFacebook PUBLIC include) +target_link_libraries(SceNpSnsFacebook PRIVATE module) diff --git a/src/emulator/modules/SceNpSnsFacebook/include/SceNpSnsFacebook/exports.h b/src/emulator/modules/SceNpSnsFacebook/include/SceNpSnsFacebook/exports.h new file mode 100644 index 000000000..99ed3b6e1 --- /dev/null +++ b/src/emulator/modules/SceNpSnsFacebook/include/SceNpSnsFacebook/exports.h @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpSnsFacebook +BRIDGE_DECL(sceNpSnsFacebookAbortRequest) +BRIDGE_DECL(sceNpSnsFacebookCreateRequest) +BRIDGE_DECL(sceNpSnsFacebookDeleteRequest) +BRIDGE_DECL(sceNpSnsFacebookGetAccessToken) +BRIDGE_DECL(sceNpSnsFacebookGetLongAccessToken) +BRIDGE_DECL(sceNpSnsFacebookInit) +BRIDGE_DECL(sceNpSnsFacebookTerm) diff --git a/src/emulator/modules/SceNpSnsFacebook/src/SceNpSnsFacebook.cpp b/src/emulator/modules/SceNpSnsFacebook/src/SceNpSnsFacebook.cpp new file mode 100644 index 000000000..a92faf2fe --- /dev/null +++ b/src/emulator/modules/SceNpSnsFacebook/src/SceNpSnsFacebook.cpp @@ -0,0 +1,54 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpSnsFacebookAbortRequest) { + return unimplemented("sceNpSnsFacebookAbortRequest"); +} + +EXPORT(int, sceNpSnsFacebookCreateRequest) { + return unimplemented("sceNpSnsFacebookCreateRequest"); +} + +EXPORT(int, sceNpSnsFacebookDeleteRequest) { + return unimplemented("sceNpSnsFacebookDeleteRequest"); +} + +EXPORT(int, sceNpSnsFacebookGetAccessToken) { + return unimplemented("sceNpSnsFacebookGetAccessToken"); +} + +EXPORT(int, sceNpSnsFacebookGetLongAccessToken) { + return unimplemented("sceNpSnsFacebookGetLongAccessToken"); +} + +EXPORT(int, sceNpSnsFacebookInit) { + return unimplemented("sceNpSnsFacebookInit"); +} + +EXPORT(int, sceNpSnsFacebookTerm) { + return unimplemented("sceNpSnsFacebookTerm"); +} + +BRIDGE_IMPL(sceNpSnsFacebookAbortRequest) +BRIDGE_IMPL(sceNpSnsFacebookCreateRequest) +BRIDGE_IMPL(sceNpSnsFacebookDeleteRequest) +BRIDGE_IMPL(sceNpSnsFacebookGetAccessToken) +BRIDGE_IMPL(sceNpSnsFacebookGetLongAccessToken) +BRIDGE_IMPL(sceNpSnsFacebookInit) +BRIDGE_IMPL(sceNpSnsFacebookTerm) diff --git a/src/emulator/modules/SceNpTrophy/CMakeLists.txt b/src/emulator/modules/SceNpTrophy/CMakeLists.txt new file mode 100644 index 000000000..ad64780c1 --- /dev/null +++ b/src/emulator/modules/SceNpTrophy/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpTrophy STATIC include/SceNpTrophy/exports.h src/SceNpTrophy.cpp) +target_include_directories(SceNpTrophy PUBLIC include) +target_link_libraries(SceNpTrophy PRIVATE module) diff --git a/src/emulator/modules/SceNpTrophy/include/SceNpTrophy/exports.h b/src/emulator/modules/SceNpTrophy/include/SceNpTrophy/exports.h new file mode 100644 index 000000000..60161258e --- /dev/null +++ b/src/emulator/modules/SceNpTrophy/include/SceNpTrophy/exports.h @@ -0,0 +1,37 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpTrophy +BRIDGE_DECL(sceNpTrophyAbortHandle) +BRIDGE_DECL(sceNpTrophyCreateContext) +BRIDGE_DECL(sceNpTrophyCreateHandle) +BRIDGE_DECL(sceNpTrophyDestroyContext) +BRIDGE_DECL(sceNpTrophyDestroyHandle) +BRIDGE_DECL(sceNpTrophyGetGameIcon) +BRIDGE_DECL(sceNpTrophyGetGameInfo) +BRIDGE_DECL(sceNpTrophyGetGroupIcon) +BRIDGE_DECL(sceNpTrophyGetGroupInfo) +BRIDGE_DECL(sceNpTrophyGetTrophyIcon) +BRIDGE_DECL(sceNpTrophyGetTrophyInfo) +BRIDGE_DECL(sceNpTrophyGetTrophyUnlockState) +BRIDGE_DECL(sceNpTrophyInit) +BRIDGE_DECL(sceNpTrophyTerm) +BRIDGE_DECL(sceNpTrophyUnlockTrophy) diff --git a/src/emulator/modules/SceNpTrophy/src/SceNpTrophy.cpp b/src/emulator/modules/SceNpTrophy/src/SceNpTrophy.cpp new file mode 100644 index 000000000..2df500fef --- /dev/null +++ b/src/emulator/modules/SceNpTrophy/src/SceNpTrophy.cpp @@ -0,0 +1,94 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpTrophyAbortHandle) { + return unimplemented("sceNpTrophyAbortHandle"); +} + +EXPORT(int, sceNpTrophyCreateContext) { + return unimplemented("sceNpTrophyCreateContext"); +} + +EXPORT(int, sceNpTrophyCreateHandle) { + return unimplemented("sceNpTrophyCreateHandle"); +} + +EXPORT(int, sceNpTrophyDestroyContext) { + return unimplemented("sceNpTrophyDestroyContext"); +} + +EXPORT(int, sceNpTrophyDestroyHandle) { + return unimplemented("sceNpTrophyDestroyHandle"); +} + +EXPORT(int, sceNpTrophyGetGameIcon) { + return unimplemented("sceNpTrophyGetGameIcon"); +} + +EXPORT(int, sceNpTrophyGetGameInfo) { + return unimplemented("sceNpTrophyGetGameInfo"); +} + +EXPORT(int, sceNpTrophyGetGroupIcon) { + return unimplemented("sceNpTrophyGetGroupIcon"); +} + +EXPORT(int, sceNpTrophyGetGroupInfo) { + return unimplemented("sceNpTrophyGetGroupInfo"); +} + +EXPORT(int, sceNpTrophyGetTrophyIcon) { + return unimplemented("sceNpTrophyGetTrophyIcon"); +} + +EXPORT(int, sceNpTrophyGetTrophyInfo) { + return unimplemented("sceNpTrophyGetTrophyInfo"); +} + +EXPORT(int, sceNpTrophyGetTrophyUnlockState) { + return unimplemented("sceNpTrophyGetTrophyUnlockState"); +} + +EXPORT(int, sceNpTrophyInit) { + return unimplemented("sceNpTrophyInit"); +} + +EXPORT(int, sceNpTrophyTerm) { + return unimplemented("sceNpTrophyTerm"); +} + +EXPORT(int, sceNpTrophyUnlockTrophy) { + return unimplemented("sceNpTrophyUnlockTrophy"); +} + +BRIDGE_IMPL(sceNpTrophyAbortHandle) +BRIDGE_IMPL(sceNpTrophyCreateContext) +BRIDGE_IMPL(sceNpTrophyCreateHandle) +BRIDGE_IMPL(sceNpTrophyDestroyContext) +BRIDGE_IMPL(sceNpTrophyDestroyHandle) +BRIDGE_IMPL(sceNpTrophyGetGameIcon) +BRIDGE_IMPL(sceNpTrophyGetGameInfo) +BRIDGE_IMPL(sceNpTrophyGetGroupIcon) +BRIDGE_IMPL(sceNpTrophyGetGroupInfo) +BRIDGE_IMPL(sceNpTrophyGetTrophyIcon) +BRIDGE_IMPL(sceNpTrophyGetTrophyInfo) +BRIDGE_IMPL(sceNpTrophyGetTrophyUnlockState) +BRIDGE_IMPL(sceNpTrophyInit) +BRIDGE_IMPL(sceNpTrophyTerm) +BRIDGE_IMPL(sceNpTrophyUnlockTrophy) diff --git a/src/emulator/modules/SceNpTus/CMakeLists.txt b/src/emulator/modules/SceNpTus/CMakeLists.txt new file mode 100644 index 000000000..f20e48443 --- /dev/null +++ b/src/emulator/modules/SceNpTus/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpTus STATIC include/SceNpTus/exports.h src/SceNpTus.cpp) +target_include_directories(SceNpTus PUBLIC include) +target_link_libraries(SceNpTus PRIVATE module) diff --git a/src/emulator/modules/SceNpTus/include/SceNpTus/exports.h b/src/emulator/modules/SceNpTus/include/SceNpTus/exports.h new file mode 100644 index 000000000..d03f70020 --- /dev/null +++ b/src/emulator/modules/SceNpTus/include/SceNpTus/exports.h @@ -0,0 +1,85 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpTus +BRIDGE_DECL(sceNpTssGetData) +BRIDGE_DECL(sceNpTssGetDataAsync) +BRIDGE_DECL(sceNpTssGetDataNoLimit) +BRIDGE_DECL(sceNpTssGetDataNoLimitAsync) +BRIDGE_DECL(sceNpTssGetSmallStorage) +BRIDGE_DECL(sceNpTssGetSmallStorageAsync) +BRIDGE_DECL(sceNpTssGetStorage) +BRIDGE_DECL(sceNpTssGetStorageAsync) +BRIDGE_DECL(sceNpTusAbortRequest) +BRIDGE_DECL(sceNpTusAddAndGetVariable) +BRIDGE_DECL(sceNpTusAddAndGetVariableAsync) +BRIDGE_DECL(sceNpTusAddAndGetVariableVUser) +BRIDGE_DECL(sceNpTusAddAndGetVariableVUserAsync) +BRIDGE_DECL(sceNpTusChangeModeForOtherSaveDataOwners) +BRIDGE_DECL(sceNpTusCreateRequest) +BRIDGE_DECL(sceNpTusCreateTitleCtx) +BRIDGE_DECL(sceNpTusDeleteMultiSlotData) +BRIDGE_DECL(sceNpTusDeleteMultiSlotDataAsync) +BRIDGE_DECL(sceNpTusDeleteMultiSlotDataVUser) +BRIDGE_DECL(sceNpTusDeleteMultiSlotDataVUserAsync) +BRIDGE_DECL(sceNpTusDeleteMultiSlotVariable) +BRIDGE_DECL(sceNpTusDeleteMultiSlotVariableAsync) +BRIDGE_DECL(sceNpTusDeleteMultiSlotVariableVUser) +BRIDGE_DECL(sceNpTusDeleteMultiSlotVariableVUserAsync) +BRIDGE_DECL(sceNpTusDeleteRequest) +BRIDGE_DECL(sceNpTusDeleteTitleCtx) +BRIDGE_DECL(sceNpTusGetData) +BRIDGE_DECL(sceNpTusGetDataAsync) +BRIDGE_DECL(sceNpTusGetDataVUser) +BRIDGE_DECL(sceNpTusGetDataVUserAsync) +BRIDGE_DECL(sceNpTusGetMultiSlotDataStatus) +BRIDGE_DECL(sceNpTusGetMultiSlotDataStatusAsync) +BRIDGE_DECL(sceNpTusGetMultiSlotDataStatusVUser) +BRIDGE_DECL(sceNpTusGetMultiSlotDataStatusVUserAsync) +BRIDGE_DECL(sceNpTusGetMultiSlotVariable) +BRIDGE_DECL(sceNpTusGetMultiSlotVariableAsync) +BRIDGE_DECL(sceNpTusGetMultiSlotVariableVUser) +BRIDGE_DECL(sceNpTusGetMultiSlotVariableVUserAsync) +BRIDGE_DECL(sceNpTusGetMultiUserDataStatus) +BRIDGE_DECL(sceNpTusGetMultiUserDataStatusAsync) +BRIDGE_DECL(sceNpTusGetMultiUserDataStatusVUser) +BRIDGE_DECL(sceNpTusGetMultiUserDataStatusVUserAsync) +BRIDGE_DECL(sceNpTusGetMultiUserVariable) +BRIDGE_DECL(sceNpTusGetMultiUserVariableAsync) +BRIDGE_DECL(sceNpTusGetMultiUserVariableVUser) +BRIDGE_DECL(sceNpTusGetMultiUserVariableVUserAsync) +BRIDGE_DECL(sceNpTusInit) +BRIDGE_DECL(sceNpTusPollAsync) +BRIDGE_DECL(sceNpTusSetData) +BRIDGE_DECL(sceNpTusSetDataAsync) +BRIDGE_DECL(sceNpTusSetDataVUser) +BRIDGE_DECL(sceNpTusSetDataVUserAsync) +BRIDGE_DECL(sceNpTusSetMultiSlotVariable) +BRIDGE_DECL(sceNpTusSetMultiSlotVariableAsync) +BRIDGE_DECL(sceNpTusSetMultiSlotVariableVUser) +BRIDGE_DECL(sceNpTusSetMultiSlotVariableVUserAsync) +BRIDGE_DECL(sceNpTusSetTimeout) +BRIDGE_DECL(sceNpTusTerm) +BRIDGE_DECL(sceNpTusTryAndSetVariable) +BRIDGE_DECL(sceNpTusTryAndSetVariableAsync) +BRIDGE_DECL(sceNpTusTryAndSetVariableVUser) +BRIDGE_DECL(sceNpTusTryAndSetVariableVUserAsync) +BRIDGE_DECL(sceNpTusWaitAsync) diff --git a/src/emulator/modules/SceNpTus/src/SceNpTus.cpp b/src/emulator/modules/SceNpTus/src/SceNpTus.cpp new file mode 100644 index 000000000..e31ef5ce6 --- /dev/null +++ b/src/emulator/modules/SceNpTus/src/SceNpTus.cpp @@ -0,0 +1,334 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpTssGetData) { + return unimplemented("sceNpTssGetData"); +} + +EXPORT(int, sceNpTssGetDataAsync) { + return unimplemented("sceNpTssGetDataAsync"); +} + +EXPORT(int, sceNpTssGetDataNoLimit) { + return unimplemented("sceNpTssGetDataNoLimit"); +} + +EXPORT(int, sceNpTssGetDataNoLimitAsync) { + return unimplemented("sceNpTssGetDataNoLimitAsync"); +} + +EXPORT(int, sceNpTssGetSmallStorage) { + return unimplemented("sceNpTssGetSmallStorage"); +} + +EXPORT(int, sceNpTssGetSmallStorageAsync) { + return unimplemented("sceNpTssGetSmallStorageAsync"); +} + +EXPORT(int, sceNpTssGetStorage) { + return unimplemented("sceNpTssGetStorage"); +} + +EXPORT(int, sceNpTssGetStorageAsync) { + return unimplemented("sceNpTssGetStorageAsync"); +} + +EXPORT(int, sceNpTusAbortRequest) { + return unimplemented("sceNpTusAbortRequest"); +} + +EXPORT(int, sceNpTusAddAndGetVariable) { + return unimplemented("sceNpTusAddAndGetVariable"); +} + +EXPORT(int, sceNpTusAddAndGetVariableAsync) { + return unimplemented("sceNpTusAddAndGetVariableAsync"); +} + +EXPORT(int, sceNpTusAddAndGetVariableVUser) { + return unimplemented("sceNpTusAddAndGetVariableVUser"); +} + +EXPORT(int, sceNpTusAddAndGetVariableVUserAsync) { + return unimplemented("sceNpTusAddAndGetVariableVUserAsync"); +} + +EXPORT(int, sceNpTusChangeModeForOtherSaveDataOwners) { + return unimplemented("sceNpTusChangeModeForOtherSaveDataOwners"); +} + +EXPORT(int, sceNpTusCreateRequest) { + return unimplemented("sceNpTusCreateRequest"); +} + +EXPORT(int, sceNpTusCreateTitleCtx) { + return unimplemented("sceNpTusCreateTitleCtx"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotData) { + return unimplemented("sceNpTusDeleteMultiSlotData"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotDataAsync) { + return unimplemented("sceNpTusDeleteMultiSlotDataAsync"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotDataVUser) { + return unimplemented("sceNpTusDeleteMultiSlotDataVUser"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotDataVUserAsync) { + return unimplemented("sceNpTusDeleteMultiSlotDataVUserAsync"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotVariable) { + return unimplemented("sceNpTusDeleteMultiSlotVariable"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotVariableAsync) { + return unimplemented("sceNpTusDeleteMultiSlotVariableAsync"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotVariableVUser) { + return unimplemented("sceNpTusDeleteMultiSlotVariableVUser"); +} + +EXPORT(int, sceNpTusDeleteMultiSlotVariableVUserAsync) { + return unimplemented("sceNpTusDeleteMultiSlotVariableVUserAsync"); +} + +EXPORT(int, sceNpTusDeleteRequest) { + return unimplemented("sceNpTusDeleteRequest"); +} + +EXPORT(int, sceNpTusDeleteTitleCtx) { + return unimplemented("sceNpTusDeleteTitleCtx"); +} + +EXPORT(int, sceNpTusGetData) { + return unimplemented("sceNpTusGetData"); +} + +EXPORT(int, sceNpTusGetDataAsync) { + return unimplemented("sceNpTusGetDataAsync"); +} + +EXPORT(int, sceNpTusGetDataVUser) { + return unimplemented("sceNpTusGetDataVUser"); +} + +EXPORT(int, sceNpTusGetDataVUserAsync) { + return unimplemented("sceNpTusGetDataVUserAsync"); +} + +EXPORT(int, sceNpTusGetMultiSlotDataStatus) { + return unimplemented("sceNpTusGetMultiSlotDataStatus"); +} + +EXPORT(int, sceNpTusGetMultiSlotDataStatusAsync) { + return unimplemented("sceNpTusGetMultiSlotDataStatusAsync"); +} + +EXPORT(int, sceNpTusGetMultiSlotDataStatusVUser) { + return unimplemented("sceNpTusGetMultiSlotDataStatusVUser"); +} + +EXPORT(int, sceNpTusGetMultiSlotDataStatusVUserAsync) { + return unimplemented("sceNpTusGetMultiSlotDataStatusVUserAsync"); +} + +EXPORT(int, sceNpTusGetMultiSlotVariable) { + return unimplemented("sceNpTusGetMultiSlotVariable"); +} + +EXPORT(int, sceNpTusGetMultiSlotVariableAsync) { + return unimplemented("sceNpTusGetMultiSlotVariableAsync"); +} + +EXPORT(int, sceNpTusGetMultiSlotVariableVUser) { + return unimplemented("sceNpTusGetMultiSlotVariableVUser"); +} + +EXPORT(int, sceNpTusGetMultiSlotVariableVUserAsync) { + return unimplemented("sceNpTusGetMultiSlotVariableVUserAsync"); +} + +EXPORT(int, sceNpTusGetMultiUserDataStatus) { + return unimplemented("sceNpTusGetMultiUserDataStatus"); +} + +EXPORT(int, sceNpTusGetMultiUserDataStatusAsync) { + return unimplemented("sceNpTusGetMultiUserDataStatusAsync"); +} + +EXPORT(int, sceNpTusGetMultiUserDataStatusVUser) { + return unimplemented("sceNpTusGetMultiUserDataStatusVUser"); +} + +EXPORT(int, sceNpTusGetMultiUserDataStatusVUserAsync) { + return unimplemented("sceNpTusGetMultiUserDataStatusVUserAsync"); +} + +EXPORT(int, sceNpTusGetMultiUserVariable) { + return unimplemented("sceNpTusGetMultiUserVariable"); +} + +EXPORT(int, sceNpTusGetMultiUserVariableAsync) { + return unimplemented("sceNpTusGetMultiUserVariableAsync"); +} + +EXPORT(int, sceNpTusGetMultiUserVariableVUser) { + return unimplemented("sceNpTusGetMultiUserVariableVUser"); +} + +EXPORT(int, sceNpTusGetMultiUserVariableVUserAsync) { + return unimplemented("sceNpTusGetMultiUserVariableVUserAsync"); +} + +EXPORT(int, sceNpTusInit) { + return unimplemented("sceNpTusInit"); +} + +EXPORT(int, sceNpTusPollAsync) { + return unimplemented("sceNpTusPollAsync"); +} + +EXPORT(int, sceNpTusSetData) { + return unimplemented("sceNpTusSetData"); +} + +EXPORT(int, sceNpTusSetDataAsync) { + return unimplemented("sceNpTusSetDataAsync"); +} + +EXPORT(int, sceNpTusSetDataVUser) { + return unimplemented("sceNpTusSetDataVUser"); +} + +EXPORT(int, sceNpTusSetDataVUserAsync) { + return unimplemented("sceNpTusSetDataVUserAsync"); +} + +EXPORT(int, sceNpTusSetMultiSlotVariable) { + return unimplemented("sceNpTusSetMultiSlotVariable"); +} + +EXPORT(int, sceNpTusSetMultiSlotVariableAsync) { + return unimplemented("sceNpTusSetMultiSlotVariableAsync"); +} + +EXPORT(int, sceNpTusSetMultiSlotVariableVUser) { + return unimplemented("sceNpTusSetMultiSlotVariableVUser"); +} + +EXPORT(int, sceNpTusSetMultiSlotVariableVUserAsync) { + return unimplemented("sceNpTusSetMultiSlotVariableVUserAsync"); +} + +EXPORT(int, sceNpTusSetTimeout) { + return unimplemented("sceNpTusSetTimeout"); +} + +EXPORT(int, sceNpTusTerm) { + return unimplemented("sceNpTusTerm"); +} + +EXPORT(int, sceNpTusTryAndSetVariable) { + return unimplemented("sceNpTusTryAndSetVariable"); +} + +EXPORT(int, sceNpTusTryAndSetVariableAsync) { + return unimplemented("sceNpTusTryAndSetVariableAsync"); +} + +EXPORT(int, sceNpTusTryAndSetVariableVUser) { + return unimplemented("sceNpTusTryAndSetVariableVUser"); +} + +EXPORT(int, sceNpTusTryAndSetVariableVUserAsync) { + return unimplemented("sceNpTusTryAndSetVariableVUserAsync"); +} + +EXPORT(int, sceNpTusWaitAsync) { + return unimplemented("sceNpTusWaitAsync"); +} + +BRIDGE_IMPL(sceNpTssGetData) +BRIDGE_IMPL(sceNpTssGetDataAsync) +BRIDGE_IMPL(sceNpTssGetDataNoLimit) +BRIDGE_IMPL(sceNpTssGetDataNoLimitAsync) +BRIDGE_IMPL(sceNpTssGetSmallStorage) +BRIDGE_IMPL(sceNpTssGetSmallStorageAsync) +BRIDGE_IMPL(sceNpTssGetStorage) +BRIDGE_IMPL(sceNpTssGetStorageAsync) +BRIDGE_IMPL(sceNpTusAbortRequest) +BRIDGE_IMPL(sceNpTusAddAndGetVariable) +BRIDGE_IMPL(sceNpTusAddAndGetVariableAsync) +BRIDGE_IMPL(sceNpTusAddAndGetVariableVUser) +BRIDGE_IMPL(sceNpTusAddAndGetVariableVUserAsync) +BRIDGE_IMPL(sceNpTusChangeModeForOtherSaveDataOwners) +BRIDGE_IMPL(sceNpTusCreateRequest) +BRIDGE_IMPL(sceNpTusCreateTitleCtx) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotData) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotDataAsync) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotDataVUser) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotDataVUserAsync) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotVariable) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotVariableAsync) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotVariableVUser) +BRIDGE_IMPL(sceNpTusDeleteMultiSlotVariableVUserAsync) +BRIDGE_IMPL(sceNpTusDeleteRequest) +BRIDGE_IMPL(sceNpTusDeleteTitleCtx) +BRIDGE_IMPL(sceNpTusGetData) +BRIDGE_IMPL(sceNpTusGetDataAsync) +BRIDGE_IMPL(sceNpTusGetDataVUser) +BRIDGE_IMPL(sceNpTusGetDataVUserAsync) +BRIDGE_IMPL(sceNpTusGetMultiSlotDataStatus) +BRIDGE_IMPL(sceNpTusGetMultiSlotDataStatusAsync) +BRIDGE_IMPL(sceNpTusGetMultiSlotDataStatusVUser) +BRIDGE_IMPL(sceNpTusGetMultiSlotDataStatusVUserAsync) +BRIDGE_IMPL(sceNpTusGetMultiSlotVariable) +BRIDGE_IMPL(sceNpTusGetMultiSlotVariableAsync) +BRIDGE_IMPL(sceNpTusGetMultiSlotVariableVUser) +BRIDGE_IMPL(sceNpTusGetMultiSlotVariableVUserAsync) +BRIDGE_IMPL(sceNpTusGetMultiUserDataStatus) +BRIDGE_IMPL(sceNpTusGetMultiUserDataStatusAsync) +BRIDGE_IMPL(sceNpTusGetMultiUserDataStatusVUser) +BRIDGE_IMPL(sceNpTusGetMultiUserDataStatusVUserAsync) +BRIDGE_IMPL(sceNpTusGetMultiUserVariable) +BRIDGE_IMPL(sceNpTusGetMultiUserVariableAsync) +BRIDGE_IMPL(sceNpTusGetMultiUserVariableVUser) +BRIDGE_IMPL(sceNpTusGetMultiUserVariableVUserAsync) +BRIDGE_IMPL(sceNpTusInit) +BRIDGE_IMPL(sceNpTusPollAsync) +BRIDGE_IMPL(sceNpTusSetData) +BRIDGE_IMPL(sceNpTusSetDataAsync) +BRIDGE_IMPL(sceNpTusSetDataVUser) +BRIDGE_IMPL(sceNpTusSetDataVUserAsync) +BRIDGE_IMPL(sceNpTusSetMultiSlotVariable) +BRIDGE_IMPL(sceNpTusSetMultiSlotVariableAsync) +BRIDGE_IMPL(sceNpTusSetMultiSlotVariableVUser) +BRIDGE_IMPL(sceNpTusSetMultiSlotVariableVUserAsync) +BRIDGE_IMPL(sceNpTusSetTimeout) +BRIDGE_IMPL(sceNpTusTerm) +BRIDGE_IMPL(sceNpTusTryAndSetVariable) +BRIDGE_IMPL(sceNpTusTryAndSetVariableAsync) +BRIDGE_IMPL(sceNpTusTryAndSetVariableVUser) +BRIDGE_IMPL(sceNpTusTryAndSetVariableVUserAsync) +BRIDGE_IMPL(sceNpTusWaitAsync) diff --git a/src/emulator/modules/SceNpUtility/CMakeLists.txt b/src/emulator/modules/SceNpUtility/CMakeLists.txt new file mode 100644 index 000000000..7cfe12d78 --- /dev/null +++ b/src/emulator/modules/SceNpUtility/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceNpUtility STATIC include/SceNpUtility/exports.h src/SceNpUtility.cpp) +target_include_directories(SceNpUtility PUBLIC include) +target_link_libraries(SceNpUtility PRIVATE module) diff --git a/src/emulator/modules/SceNpUtility/include/SceNpUtility/exports.h b/src/emulator/modules/SceNpUtility/include/SceNpUtility/exports.h new file mode 100644 index 000000000..07a049160 --- /dev/null +++ b/src/emulator/modules/SceNpUtility/include/SceNpUtility/exports.h @@ -0,0 +1,56 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceNpUtility +BRIDGE_DECL(sceNpBandwidthTestAbort) +BRIDGE_DECL(sceNpBandwidthTestGetStatus) +BRIDGE_DECL(sceNpBandwidthTestInitStart) +BRIDGE_DECL(sceNpBandwidthTestShutdown) +BRIDGE_DECL(sceNpLookupAbortRequest) +BRIDGE_DECL(sceNpLookupAvatarImage) +BRIDGE_DECL(sceNpLookupAvatarImageAsync) +BRIDGE_DECL(sceNpLookupCreateRequest) +BRIDGE_DECL(sceNpLookupCreateTitleCtx) +BRIDGE_DECL(sceNpLookupDeleteRequest) +BRIDGE_DECL(sceNpLookupDeleteTitleCtx) +BRIDGE_DECL(sceNpLookupInit) +BRIDGE_DECL(sceNpLookupNpId) +BRIDGE_DECL(sceNpLookupNpIdAsync) +BRIDGE_DECL(sceNpLookupPollAsync) +BRIDGE_DECL(sceNpLookupSetTimeout) +BRIDGE_DECL(sceNpLookupTerm) +BRIDGE_DECL(sceNpLookupUserProfile) +BRIDGE_DECL(sceNpLookupUserProfileAsync) +BRIDGE_DECL(sceNpLookupWaitAsync) +BRIDGE_DECL(sceNpWordFilterAbortRequest) +BRIDGE_DECL(sceNpWordFilterCensorComment) +BRIDGE_DECL(sceNpWordFilterCensorCommentAsync) +BRIDGE_DECL(sceNpWordFilterCreateRequest) +BRIDGE_DECL(sceNpWordFilterCreateTitleCtx) +BRIDGE_DECL(sceNpWordFilterDeleteRequest) +BRIDGE_DECL(sceNpWordFilterDeleteTitleCtx) +BRIDGE_DECL(sceNpWordFilterInit) +BRIDGE_DECL(sceNpWordFilterPollAsync) +BRIDGE_DECL(sceNpWordFilterSanitizeComment) +BRIDGE_DECL(sceNpWordFilterSanitizeCommentAsync) +BRIDGE_DECL(sceNpWordFilterSetTimeout) +BRIDGE_DECL(sceNpWordFilterTerm) +BRIDGE_DECL(sceNpWordFilterWaitAsync) diff --git a/src/emulator/modules/SceNpUtility/src/SceNpUtility.cpp b/src/emulator/modules/SceNpUtility/src/SceNpUtility.cpp new file mode 100644 index 000000000..9fb189362 --- /dev/null +++ b/src/emulator/modules/SceNpUtility/src/SceNpUtility.cpp @@ -0,0 +1,189 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceNpBandwidthTestAbort) { + return unimplemented("sceNpBandwidthTestAbort"); +} + +EXPORT(int, sceNpBandwidthTestGetStatus) { + return unimplemented("sceNpBandwidthTestGetStatus"); +} + +EXPORT(int, sceNpBandwidthTestInitStart) { + return unimplemented("sceNpBandwidthTestInitStart"); +} + +EXPORT(int, sceNpBandwidthTestShutdown) { + return unimplemented("sceNpBandwidthTestShutdown"); +} + +EXPORT(int, sceNpLookupAbortRequest) { + return unimplemented("sceNpLookupAbortRequest"); +} + +EXPORT(int, sceNpLookupAvatarImage) { + return unimplemented("sceNpLookupAvatarImage"); +} + +EXPORT(int, sceNpLookupAvatarImageAsync) { + return unimplemented("sceNpLookupAvatarImageAsync"); +} + +EXPORT(int, sceNpLookupCreateRequest) { + return unimplemented("sceNpLookupCreateRequest"); +} + +EXPORT(int, sceNpLookupCreateTitleCtx) { + return unimplemented("sceNpLookupCreateTitleCtx"); +} + +EXPORT(int, sceNpLookupDeleteRequest) { + return unimplemented("sceNpLookupDeleteRequest"); +} + +EXPORT(int, sceNpLookupDeleteTitleCtx) { + return unimplemented("sceNpLookupDeleteTitleCtx"); +} + +EXPORT(int, sceNpLookupInit) { + return unimplemented("sceNpLookupInit"); +} + +EXPORT(int, sceNpLookupNpId) { + return unimplemented("sceNpLookupNpId"); +} + +EXPORT(int, sceNpLookupNpIdAsync) { + return unimplemented("sceNpLookupNpIdAsync"); +} + +EXPORT(int, sceNpLookupPollAsync) { + return unimplemented("sceNpLookupPollAsync"); +} + +EXPORT(int, sceNpLookupSetTimeout) { + return unimplemented("sceNpLookupSetTimeout"); +} + +EXPORT(int, sceNpLookupTerm) { + return unimplemented("sceNpLookupTerm"); +} + +EXPORT(int, sceNpLookupUserProfile) { + return unimplemented("sceNpLookupUserProfile"); +} + +EXPORT(int, sceNpLookupUserProfileAsync) { + return unimplemented("sceNpLookupUserProfileAsync"); +} + +EXPORT(int, sceNpLookupWaitAsync) { + return unimplemented("sceNpLookupWaitAsync"); +} + +EXPORT(int, sceNpWordFilterAbortRequest) { + return unimplemented("sceNpWordFilterAbortRequest"); +} + +EXPORT(int, sceNpWordFilterCensorComment) { + return unimplemented("sceNpWordFilterCensorComment"); +} + +EXPORT(int, sceNpWordFilterCensorCommentAsync) { + return unimplemented("sceNpWordFilterCensorCommentAsync"); +} + +EXPORT(int, sceNpWordFilterCreateRequest) { + return unimplemented("sceNpWordFilterCreateRequest"); +} + +EXPORT(int, sceNpWordFilterCreateTitleCtx) { + return unimplemented("sceNpWordFilterCreateTitleCtx"); +} + +EXPORT(int, sceNpWordFilterDeleteRequest) { + return unimplemented("sceNpWordFilterDeleteRequest"); +} + +EXPORT(int, sceNpWordFilterDeleteTitleCtx) { + return unimplemented("sceNpWordFilterDeleteTitleCtx"); +} + +EXPORT(int, sceNpWordFilterInit) { + return unimplemented("sceNpWordFilterInit"); +} + +EXPORT(int, sceNpWordFilterPollAsync) { + return unimplemented("sceNpWordFilterPollAsync"); +} + +EXPORT(int, sceNpWordFilterSanitizeComment) { + return unimplemented("sceNpWordFilterSanitizeComment"); +} + +EXPORT(int, sceNpWordFilterSanitizeCommentAsync) { + return unimplemented("sceNpWordFilterSanitizeCommentAsync"); +} + +EXPORT(int, sceNpWordFilterSetTimeout) { + return unimplemented("sceNpWordFilterSetTimeout"); +} + +EXPORT(int, sceNpWordFilterTerm) { + return unimplemented("sceNpWordFilterTerm"); +} + +EXPORT(int, sceNpWordFilterWaitAsync) { + return unimplemented("sceNpWordFilterWaitAsync"); +} + +BRIDGE_IMPL(sceNpBandwidthTestAbort) +BRIDGE_IMPL(sceNpBandwidthTestGetStatus) +BRIDGE_IMPL(sceNpBandwidthTestInitStart) +BRIDGE_IMPL(sceNpBandwidthTestShutdown) +BRIDGE_IMPL(sceNpLookupAbortRequest) +BRIDGE_IMPL(sceNpLookupAvatarImage) +BRIDGE_IMPL(sceNpLookupAvatarImageAsync) +BRIDGE_IMPL(sceNpLookupCreateRequest) +BRIDGE_IMPL(sceNpLookupCreateTitleCtx) +BRIDGE_IMPL(sceNpLookupDeleteRequest) +BRIDGE_IMPL(sceNpLookupDeleteTitleCtx) +BRIDGE_IMPL(sceNpLookupInit) +BRIDGE_IMPL(sceNpLookupNpId) +BRIDGE_IMPL(sceNpLookupNpIdAsync) +BRIDGE_IMPL(sceNpLookupPollAsync) +BRIDGE_IMPL(sceNpLookupSetTimeout) +BRIDGE_IMPL(sceNpLookupTerm) +BRIDGE_IMPL(sceNpLookupUserProfile) +BRIDGE_IMPL(sceNpLookupUserProfileAsync) +BRIDGE_IMPL(sceNpLookupWaitAsync) +BRIDGE_IMPL(sceNpWordFilterAbortRequest) +BRIDGE_IMPL(sceNpWordFilterCensorComment) +BRIDGE_IMPL(sceNpWordFilterCensorCommentAsync) +BRIDGE_IMPL(sceNpWordFilterCreateRequest) +BRIDGE_IMPL(sceNpWordFilterCreateTitleCtx) +BRIDGE_IMPL(sceNpWordFilterDeleteRequest) +BRIDGE_IMPL(sceNpWordFilterDeleteTitleCtx) +BRIDGE_IMPL(sceNpWordFilterInit) +BRIDGE_IMPL(sceNpWordFilterPollAsync) +BRIDGE_IMPL(sceNpWordFilterSanitizeComment) +BRIDGE_IMPL(sceNpWordFilterSanitizeCommentAsync) +BRIDGE_IMPL(sceNpWordFilterSetTimeout) +BRIDGE_IMPL(sceNpWordFilterTerm) +BRIDGE_IMPL(sceNpWordFilterWaitAsync) diff --git a/src/emulator/modules/ScePaf/CMakeLists.txt b/src/emulator/modules/ScePaf/CMakeLists.txt new file mode 100644 index 000000000..a187698db --- /dev/null +++ b/src/emulator/modules/ScePaf/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(ScePaf STATIC include/ScePaf/exports.h src/ScePafStdc.cpp) +target_include_directories(ScePaf PUBLIC include) +target_link_libraries(ScePaf PRIVATE module) diff --git a/src/emulator/modules/ScePaf/include/ScePaf/exports.h b/src/emulator/modules/ScePaf/include/ScePaf/exports.h new file mode 100644 index 000000000..5c3f3e2e8 --- /dev/null +++ b/src/emulator/modules/ScePaf/include/ScePaf/exports.h @@ -0,0 +1,41 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePafStdc +BRIDGE_DECL(sce_paf_private_free) +BRIDGE_DECL(sce_paf_private_malloc) +BRIDGE_DECL(sce_paf_private_memchr) +BRIDGE_DECL(sce_paf_private_memclr) +BRIDGE_DECL(sce_paf_private_memcmp) +BRIDGE_DECL(sce_paf_private_memcmp2) +BRIDGE_DECL(sce_paf_private_memcpy) +BRIDGE_DECL(sce_paf_private_memcpy2) +BRIDGE_DECL(sce_paf_private_memmove) +BRIDGE_DECL(sce_paf_private_memmove2) +BRIDGE_DECL(sce_paf_private_memset) +BRIDGE_DECL(sce_paf_private_snprintf) +BRIDGE_DECL(sce_paf_private_strcasecmp) +BRIDGE_DECL(sce_paf_private_strchr) +BRIDGE_DECL(sce_paf_private_strcmp) +BRIDGE_DECL(sce_paf_private_strlen) +BRIDGE_DECL(sce_paf_private_strncasecmp) +BRIDGE_DECL(sce_paf_private_strncmp) +BRIDGE_DECL(sce_paf_private_strrchr) diff --git a/src/emulator/modules/ScePaf/src/ScePafStdc.cpp b/src/emulator/modules/ScePaf/src/ScePafStdc.cpp new file mode 100644 index 000000000..3807cf6c3 --- /dev/null +++ b/src/emulator/modules/ScePaf/src/ScePafStdc.cpp @@ -0,0 +1,114 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sce_paf_private_free) { + return unimplemented("sce_paf_private_free"); +} + +EXPORT(int, sce_paf_private_malloc) { + return unimplemented("sce_paf_private_malloc"); +} + +EXPORT(int, sce_paf_private_memchr) { + return unimplemented("sce_paf_private_memchr"); +} + +EXPORT(int, sce_paf_private_memclr) { + return unimplemented("sce_paf_private_memclr"); +} + +EXPORT(int, sce_paf_private_memcmp) { + return unimplemented("sce_paf_private_memcmp"); +} + +EXPORT(int, sce_paf_private_memcmp2) { + return unimplemented("sce_paf_private_memcmp2"); +} + +EXPORT(int, sce_paf_private_memcpy) { + return unimplemented("sce_paf_private_memcpy"); +} + +EXPORT(int, sce_paf_private_memcpy2) { + return unimplemented("sce_paf_private_memcpy2"); +} + +EXPORT(int, sce_paf_private_memmove) { + return unimplemented("sce_paf_private_memmove"); +} + +EXPORT(int, sce_paf_private_memmove2) { + return unimplemented("sce_paf_private_memmove2"); +} + +EXPORT(int, sce_paf_private_memset) { + return unimplemented("sce_paf_private_memset"); +} + +EXPORT(int, sce_paf_private_snprintf) { + return unimplemented("sce_paf_private_snprintf"); +} + +EXPORT(int, sce_paf_private_strcasecmp) { + return unimplemented("sce_paf_private_strcasecmp"); +} + +EXPORT(int, sce_paf_private_strchr) { + return unimplemented("sce_paf_private_strchr"); +} + +EXPORT(int, sce_paf_private_strcmp) { + return unimplemented("sce_paf_private_strcmp"); +} + +EXPORT(int, sce_paf_private_strlen) { + return unimplemented("sce_paf_private_strlen"); +} + +EXPORT(int, sce_paf_private_strncasecmp) { + return unimplemented("sce_paf_private_strncasecmp"); +} + +EXPORT(int, sce_paf_private_strncmp) { + return unimplemented("sce_paf_private_strncmp"); +} + +EXPORT(int, sce_paf_private_strrchr) { + return unimplemented("sce_paf_private_strrchr"); +} + +BRIDGE_IMPL(sce_paf_private_free) +BRIDGE_IMPL(sce_paf_private_malloc) +BRIDGE_IMPL(sce_paf_private_memchr) +BRIDGE_IMPL(sce_paf_private_memclr) +BRIDGE_IMPL(sce_paf_private_memcmp) +BRIDGE_IMPL(sce_paf_private_memcmp2) +BRIDGE_IMPL(sce_paf_private_memcpy) +BRIDGE_IMPL(sce_paf_private_memcpy2) +BRIDGE_IMPL(sce_paf_private_memmove) +BRIDGE_IMPL(sce_paf_private_memmove2) +BRIDGE_IMPL(sce_paf_private_memset) +BRIDGE_IMPL(sce_paf_private_snprintf) +BRIDGE_IMPL(sce_paf_private_strcasecmp) +BRIDGE_IMPL(sce_paf_private_strchr) +BRIDGE_IMPL(sce_paf_private_strcmp) +BRIDGE_IMPL(sce_paf_private_strlen) +BRIDGE_IMPL(sce_paf_private_strncasecmp) +BRIDGE_IMPL(sce_paf_private_strncmp) +BRIDGE_IMPL(sce_paf_private_strrchr) diff --git a/src/emulator/modules/ScePerf/CMakeLists.txt b/src/emulator/modules/ScePerf/CMakeLists.txt new file mode 100644 index 000000000..2c546732c --- /dev/null +++ b/src/emulator/modules/ScePerf/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(ScePerf STATIC include/ScePerf/exports.h src/ScePerf.cpp) +target_include_directories(ScePerf PUBLIC include) +target_link_libraries(ScePerf PRIVATE module) diff --git a/src/emulator/modules/ScePerf/include/ScePerf/exports.h b/src/emulator/modules/ScePerf/include/ScePerf/exports.h new file mode 100644 index 000000000..d71b85c7f --- /dev/null +++ b/src/emulator/modules/ScePerf/include/ScePerf/exports.h @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePerf +BRIDGE_DECL(_pLibPerfCaptureFlagPtr) +BRIDGE_DECL(_sceCpuRazorPopFiberUserMarker) +BRIDGE_DECL(_sceCpuRazorPushFiberUserMarker) +BRIDGE_DECL(_sceRazorCpuInit) +BRIDGE_DECL(_sceRazorCpuWriteFiberUltPkt) +BRIDGE_DECL(scePerfArmPmonGetCounterValue) +BRIDGE_DECL(scePerfArmPmonReset) +BRIDGE_DECL(scePerfArmPmonSelectEvent) +BRIDGE_DECL(scePerfArmPmonSetCounterValue) +BRIDGE_DECL(scePerfArmPmonSoftwareIncrement) +BRIDGE_DECL(scePerfArmPmonStart) +BRIDGE_DECL(scePerfArmPmonStop) +BRIDGE_DECL(scePerfGetTimebaseFrequency) +BRIDGE_DECL(scePerfGetTimebaseValue) +BRIDGE_DECL(sceRazorCpuGetActivityMonitorTraceBuffer) +BRIDGE_DECL(sceRazorCpuGetUserMarkerTraceBuffer) +BRIDGE_DECL(sceRazorCpuIsCapturing) +BRIDGE_DECL(sceRazorCpuPopMarker) +BRIDGE_DECL(sceRazorCpuPushMarker) +BRIDGE_DECL(sceRazorCpuPushMarkerWithHud) +BRIDGE_DECL(sceRazorCpuStartActivityMonitor) +BRIDGE_DECL(sceRazorCpuStartCapture) +BRIDGE_DECL(sceRazorCpuStartUserMarkerTrace) +BRIDGE_DECL(sceRazorCpuStopActivityMonitor) +BRIDGE_DECL(sceRazorCpuStopCapture) +BRIDGE_DECL(sceRazorCpuStopUserMarkerTrace) +BRIDGE_DECL(sceRazorCpuSync) diff --git a/src/emulator/modules/ScePerf/src/ScePerf.cpp b/src/emulator/modules/ScePerf/src/ScePerf.cpp new file mode 100644 index 000000000..50e77575b --- /dev/null +++ b/src/emulator/modules/ScePerf/src/ScePerf.cpp @@ -0,0 +1,154 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _pLibPerfCaptureFlagPtr) { + return unimplemented("_pLibPerfCaptureFlagPtr"); +} + +EXPORT(int, _sceCpuRazorPopFiberUserMarker) { + return unimplemented("_sceCpuRazorPopFiberUserMarker"); +} + +EXPORT(int, _sceCpuRazorPushFiberUserMarker) { + return unimplemented("_sceCpuRazorPushFiberUserMarker"); +} + +EXPORT(int, _sceRazorCpuInit) { + return unimplemented("_sceRazorCpuInit"); +} + +EXPORT(int, _sceRazorCpuWriteFiberUltPkt) { + return unimplemented("_sceRazorCpuWriteFiberUltPkt"); +} + +EXPORT(int, scePerfArmPmonGetCounterValue) { + return unimplemented("scePerfArmPmonGetCounterValue"); +} + +EXPORT(int, scePerfArmPmonReset) { + return unimplemented("scePerfArmPmonReset"); +} + +EXPORT(int, scePerfArmPmonSelectEvent) { + return unimplemented("scePerfArmPmonSelectEvent"); +} + +EXPORT(int, scePerfArmPmonSetCounterValue) { + return unimplemented("scePerfArmPmonSetCounterValue"); +} + +EXPORT(int, scePerfArmPmonSoftwareIncrement) { + return unimplemented("scePerfArmPmonSoftwareIncrement"); +} + +EXPORT(int, scePerfArmPmonStart) { + return unimplemented("scePerfArmPmonStart"); +} + +EXPORT(int, scePerfArmPmonStop) { + return unimplemented("scePerfArmPmonStop"); +} + +EXPORT(int, scePerfGetTimebaseFrequency) { + return unimplemented("scePerfGetTimebaseFrequency"); +} + +EXPORT(int, scePerfGetTimebaseValue) { + return unimplemented("scePerfGetTimebaseValue"); +} + +EXPORT(int, sceRazorCpuGetActivityMonitorTraceBuffer) { + return unimplemented("sceRazorCpuGetActivityMonitorTraceBuffer"); +} + +EXPORT(int, sceRazorCpuGetUserMarkerTraceBuffer) { + return unimplemented("sceRazorCpuGetUserMarkerTraceBuffer"); +} + +EXPORT(int, sceRazorCpuIsCapturing) { + return unimplemented("sceRazorCpuIsCapturing"); +} + +EXPORT(int, sceRazorCpuPopMarker) { + return unimplemented("sceRazorCpuPopMarker"); +} + +EXPORT(int, sceRazorCpuPushMarker) { + return unimplemented("sceRazorCpuPushMarker"); +} + +EXPORT(int, sceRazorCpuPushMarkerWithHud) { + return unimplemented("sceRazorCpuPushMarkerWithHud"); +} + +EXPORT(int, sceRazorCpuStartActivityMonitor) { + return unimplemented("sceRazorCpuStartActivityMonitor"); +} + +EXPORT(int, sceRazorCpuStartCapture) { + return unimplemented("sceRazorCpuStartCapture"); +} + +EXPORT(int, sceRazorCpuStartUserMarkerTrace) { + return unimplemented("sceRazorCpuStartUserMarkerTrace"); +} + +EXPORT(int, sceRazorCpuStopActivityMonitor) { + return unimplemented("sceRazorCpuStopActivityMonitor"); +} + +EXPORT(int, sceRazorCpuStopCapture) { + return unimplemented("sceRazorCpuStopCapture"); +} + +EXPORT(int, sceRazorCpuStopUserMarkerTrace) { + return unimplemented("sceRazorCpuStopUserMarkerTrace"); +} + +EXPORT(int, sceRazorCpuSync) { + return unimplemented("sceRazorCpuSync"); +} + +BRIDGE_IMPL(_pLibPerfCaptureFlagPtr) +BRIDGE_IMPL(_sceCpuRazorPopFiberUserMarker) +BRIDGE_IMPL(_sceCpuRazorPushFiberUserMarker) +BRIDGE_IMPL(_sceRazorCpuInit) +BRIDGE_IMPL(_sceRazorCpuWriteFiberUltPkt) +BRIDGE_IMPL(scePerfArmPmonGetCounterValue) +BRIDGE_IMPL(scePerfArmPmonReset) +BRIDGE_IMPL(scePerfArmPmonSelectEvent) +BRIDGE_IMPL(scePerfArmPmonSetCounterValue) +BRIDGE_IMPL(scePerfArmPmonSoftwareIncrement) +BRIDGE_IMPL(scePerfArmPmonStart) +BRIDGE_IMPL(scePerfArmPmonStop) +BRIDGE_IMPL(scePerfGetTimebaseFrequency) +BRIDGE_IMPL(scePerfGetTimebaseValue) +BRIDGE_IMPL(sceRazorCpuGetActivityMonitorTraceBuffer) +BRIDGE_IMPL(sceRazorCpuGetUserMarkerTraceBuffer) +BRIDGE_IMPL(sceRazorCpuIsCapturing) +BRIDGE_IMPL(sceRazorCpuPopMarker) +BRIDGE_IMPL(sceRazorCpuPushMarker) +BRIDGE_IMPL(sceRazorCpuPushMarkerWithHud) +BRIDGE_IMPL(sceRazorCpuStartActivityMonitor) +BRIDGE_IMPL(sceRazorCpuStartCapture) +BRIDGE_IMPL(sceRazorCpuStartUserMarkerTrace) +BRIDGE_IMPL(sceRazorCpuStopActivityMonitor) +BRIDGE_IMPL(sceRazorCpuStopCapture) +BRIDGE_IMPL(sceRazorCpuStopUserMarkerTrace) +BRIDGE_IMPL(sceRazorCpuSync) diff --git a/src/emulator/modules/ScePhotoExport/CMakeLists.txt b/src/emulator/modules/ScePhotoExport/CMakeLists.txt new file mode 100644 index 000000000..ced59093f --- /dev/null +++ b/src/emulator/modules/ScePhotoExport/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(ScePhotoExport STATIC include/ScePhotoExport/exports.h src/ScePhotoExport.cpp) +target_include_directories(ScePhotoExport PUBLIC include) +target_link_libraries(ScePhotoExport PRIVATE module) diff --git a/src/emulator/modules/ScePhotoExport/include/ScePhotoExport/exports.h b/src/emulator/modules/ScePhotoExport/include/ScePhotoExport/exports.h new file mode 100644 index 000000000..f4a0f4e4b --- /dev/null +++ b/src/emulator/modules/ScePhotoExport/include/ScePhotoExport/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePhotoExport +BRIDGE_DECL(scePhotoExportFromData) +BRIDGE_DECL(scePhotoExportFromFile) +BRIDGE_DECL(scePhotoExportIsAvailableFromData) +BRIDGE_DECL(scePhotoExportIsAvailableFromFile) diff --git a/src/emulator/modules/ScePhotoExport/src/ScePhotoExport.cpp b/src/emulator/modules/ScePhotoExport/src/ScePhotoExport.cpp new file mode 100644 index 000000000..22580a168 --- /dev/null +++ b/src/emulator/modules/ScePhotoExport/src/ScePhotoExport.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, scePhotoExportFromData) { + return unimplemented("scePhotoExportFromData"); +} + +EXPORT(int, scePhotoExportFromFile) { + return unimplemented("scePhotoExportFromFile"); +} + +EXPORT(int, scePhotoExportIsAvailableFromData) { + return unimplemented("scePhotoExportIsAvailableFromData"); +} + +EXPORT(int, scePhotoExportIsAvailableFromFile) { + return unimplemented("scePhotoExportIsAvailableFromFile"); +} + +BRIDGE_IMPL(scePhotoExportFromData) +BRIDGE_IMPL(scePhotoExportFromFile) +BRIDGE_IMPL(scePhotoExportIsAvailableFromData) +BRIDGE_IMPL(scePhotoExportIsAvailableFromFile) diff --git a/src/emulator/modules/ScePower/CMakeLists.txt b/src/emulator/modules/ScePower/CMakeLists.txt new file mode 100644 index 000000000..150bc6113 --- /dev/null +++ b/src/emulator/modules/ScePower/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(ScePower STATIC include/ScePower/exports.h src/ScePower.cpp) +target_include_directories(ScePower PUBLIC include) +target_link_libraries(ScePower PRIVATE module) diff --git a/src/emulator/modules/ScePower/include/ScePower/exports.h b/src/emulator/modules/ScePower/include/ScePower/exports.h new file mode 100644 index 000000000..4d036dd9e --- /dev/null +++ b/src/emulator/modules/ScePower/include/ScePower/exports.h @@ -0,0 +1,60 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePower +BRIDGE_DECL(scePowerBatteryUpdateInfo) +BRIDGE_DECL(scePowerCancelRequest) +BRIDGE_DECL(scePowerGetArmClockFrequency) +BRIDGE_DECL(scePowerGetBatteryChargingStatus) +BRIDGE_DECL(scePowerGetBatteryCycleCount) +BRIDGE_DECL(scePowerGetBatteryElec) +BRIDGE_DECL(scePowerGetBatteryFullCapacity) +BRIDGE_DECL(scePowerGetBatteryLifePercent) +BRIDGE_DECL(scePowerGetBatteryLifeTime) +BRIDGE_DECL(scePowerGetBatteryRemainCapacity) +BRIDGE_DECL(scePowerGetBatterySOH) +BRIDGE_DECL(scePowerGetBatteryTemp) +BRIDGE_DECL(scePowerGetBatteryVolt) +BRIDGE_DECL(scePowerGetBusClockFrequency) +BRIDGE_DECL(scePowerGetCaseTemp) +BRIDGE_DECL(scePowerGetGpuClockFrequency) +BRIDGE_DECL(scePowerGetGpuXbarClockFrequency) +BRIDGE_DECL(scePowerGetUsingWireless) +BRIDGE_DECL(scePowerIsBatteryCharging) +BRIDGE_DECL(scePowerIsBatteryExist) +BRIDGE_DECL(scePowerIsLowBattery) +BRIDGE_DECL(scePowerIsPowerOnline) +BRIDGE_DECL(scePowerIsRequest) +BRIDGE_DECL(scePowerIsSuspendRequired) +BRIDGE_DECL(scePowerRegisterCallback) +BRIDGE_DECL(scePowerRequestColdReset) +BRIDGE_DECL(scePowerRequestDisplayOff) +BRIDGE_DECL(scePowerRequestDisplayOn) +BRIDGE_DECL(scePowerRequestStandby) +BRIDGE_DECL(scePowerRequestSuspend) +BRIDGE_DECL(scePowerSetArmClockFrequency) +BRIDGE_DECL(scePowerSetBusClockFrequency) +BRIDGE_DECL(scePowerSetConfigurationMode) +BRIDGE_DECL(scePowerSetGpuClockFrequency) +BRIDGE_DECL(scePowerSetGpuXbarClockFrequency) +BRIDGE_DECL(scePowerSetIdleTimerCount) +BRIDGE_DECL(scePowerSetUsingWireless) +BRIDGE_DECL(scePowerUnregisterCallback) diff --git a/src/emulator/modules/ScePower/src/ScePower.cpp b/src/emulator/modules/ScePower/src/ScePower.cpp new file mode 100644 index 000000000..43eecc812 --- /dev/null +++ b/src/emulator/modules/ScePower/src/ScePower.cpp @@ -0,0 +1,211 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +EXPORT(int, scePowerBatteryUpdateInfo) { + return unimplemented("scePowerBatteryUpdateInfo"); +} + +EXPORT(int, scePowerCancelRequest) { + return unimplemented("scePowerCancelRequest"); +} + +EXPORT(int, scePowerGetArmClockFrequency) { + return unimplemented("scePowerGetArmClockFrequency"); +} + +EXPORT(int, scePowerGetBatteryChargingStatus) { + return unimplemented("scePowerGetBatteryChargingStatus"); +} + +EXPORT(int, scePowerGetBatteryCycleCount) { + return unimplemented("scePowerGetBatteryCycleCount"); +} + +EXPORT(int, scePowerGetBatteryElec) { + return unimplemented("scePowerGetBatteryElec"); +} + +EXPORT(int, scePowerGetBatteryFullCapacity) { + return unimplemented("scePowerGetBatteryFullCapacity"); +} + +EXPORT(int, scePowerGetBatteryLifePercent) { + return unimplemented("scePowerGetBatteryLifePercent"); +} + +EXPORT(int, scePowerGetBatteryLifeTime) { + return unimplemented("scePowerGetBatteryLifeTime"); +} + +EXPORT(int, scePowerGetBatteryRemainCapacity) { + return unimplemented("scePowerGetBatteryRemainCapacity"); +} + +EXPORT(int, scePowerGetBatterySOH) { + return unimplemented("scePowerGetBatterySOH"); +} + +EXPORT(int, scePowerGetBatteryTemp) { + return unimplemented("scePowerGetBatteryTemp"); +} + +EXPORT(int, scePowerGetBatteryVolt) { + return unimplemented("scePowerGetBatteryVolt"); +} + +EXPORT(int, scePowerGetBusClockFrequency) { + return unimplemented("scePowerGetBusClockFrequency"); +} + +EXPORT(int, scePowerGetCaseTemp) { + return unimplemented("scePowerGetCaseTemp"); +} + +EXPORT(int, scePowerGetGpuClockFrequency) { + return unimplemented("scePowerGetGpuClockFrequency"); +} + +EXPORT(int, scePowerGetGpuXbarClockFrequency) { + return unimplemented("scePowerGetGpuXbarClockFrequency"); +} + +EXPORT(int, scePowerGetUsingWireless) { + return unimplemented("scePowerGetUsingWireless"); +} + +EXPORT(int, scePowerIsBatteryCharging) { + return unimplemented("scePowerIsBatteryCharging"); +} + +EXPORT(int, scePowerIsBatteryExist) { + return unimplemented("scePowerIsBatteryExist"); +} + +EXPORT(int, scePowerIsLowBattery) { + return unimplemented("scePowerIsLowBattery"); +} + +EXPORT(int, scePowerIsPowerOnline) { + return unimplemented("scePowerIsPowerOnline"); +} + +EXPORT(int, scePowerIsRequest) { + return unimplemented("scePowerIsRequest"); +} + +EXPORT(int, scePowerIsSuspendRequired) { + return unimplemented("scePowerIsSuspendRequired"); +} + +EXPORT(int, scePowerRegisterCallback) { + return unimplemented("scePowerRegisterCallback"); +} + +EXPORT(int, scePowerRequestColdReset) { + return unimplemented("scePowerRequestColdReset"); +} + +EXPORT(int, scePowerRequestDisplayOff) { + return unimplemented("scePowerRequestDisplayOff"); +} + +EXPORT(int, scePowerRequestDisplayOn) { + return unimplemented("scePowerRequestDisplayOn"); +} + +EXPORT(int, scePowerRequestStandby) { + return unimplemented("scePowerRequestStandby"); +} + +EXPORT(int, scePowerRequestSuspend) { + return unimplemented("scePowerRequestSuspend"); +} + +EXPORT(int, scePowerSetArmClockFrequency, int freq) { + return 0; +} + +EXPORT(int, scePowerSetBusClockFrequency) { + return unimplemented("scePowerSetBusClockFrequency"); +} + +EXPORT(int, scePowerSetConfigurationMode) { + return unimplemented("scePowerSetConfigurationMode"); +} + +EXPORT(int, scePowerSetGpuClockFrequency) { + return unimplemented("scePowerSetGpuClockFrequency"); +} + +EXPORT(int, scePowerSetGpuXbarClockFrequency) { + return unimplemented("scePowerSetGpuXbarClockFrequency"); +} + +EXPORT(int, scePowerSetIdleTimerCount) { + return unimplemented("scePowerSetIdleTimerCount"); +} + +EXPORT(int, scePowerSetUsingWireless) { + return unimplemented("scePowerSetUsingWireless"); +} + +EXPORT(int, scePowerUnregisterCallback) { + return unimplemented("scePowerUnregisterCallback"); +} + +BRIDGE_IMPL(scePowerBatteryUpdateInfo) +BRIDGE_IMPL(scePowerCancelRequest) +BRIDGE_IMPL(scePowerGetArmClockFrequency) +BRIDGE_IMPL(scePowerGetBatteryChargingStatus) +BRIDGE_IMPL(scePowerGetBatteryCycleCount) +BRIDGE_IMPL(scePowerGetBatteryElec) +BRIDGE_IMPL(scePowerGetBatteryFullCapacity) +BRIDGE_IMPL(scePowerGetBatteryLifePercent) +BRIDGE_IMPL(scePowerGetBatteryLifeTime) +BRIDGE_IMPL(scePowerGetBatteryRemainCapacity) +BRIDGE_IMPL(scePowerGetBatterySOH) +BRIDGE_IMPL(scePowerGetBatteryTemp) +BRIDGE_IMPL(scePowerGetBatteryVolt) +BRIDGE_IMPL(scePowerGetBusClockFrequency) +BRIDGE_IMPL(scePowerGetCaseTemp) +BRIDGE_IMPL(scePowerGetGpuClockFrequency) +BRIDGE_IMPL(scePowerGetGpuXbarClockFrequency) +BRIDGE_IMPL(scePowerGetUsingWireless) +BRIDGE_IMPL(scePowerIsBatteryCharging) +BRIDGE_IMPL(scePowerIsBatteryExist) +BRIDGE_IMPL(scePowerIsLowBattery) +BRIDGE_IMPL(scePowerIsPowerOnline) +BRIDGE_IMPL(scePowerIsRequest) +BRIDGE_IMPL(scePowerIsSuspendRequired) +BRIDGE_IMPL(scePowerRegisterCallback) +BRIDGE_IMPL(scePowerRequestColdReset) +BRIDGE_IMPL(scePowerRequestDisplayOff) +BRIDGE_IMPL(scePowerRequestDisplayOn) +BRIDGE_IMPL(scePowerRequestStandby) +BRIDGE_IMPL(scePowerRequestSuspend) +BRIDGE_IMPL(scePowerSetArmClockFrequency) +BRIDGE_IMPL(scePowerSetBusClockFrequency) +BRIDGE_IMPL(scePowerSetConfigurationMode) +BRIDGE_IMPL(scePowerSetGpuClockFrequency) +BRIDGE_IMPL(scePowerSetGpuXbarClockFrequency) +BRIDGE_IMPL(scePowerSetIdleTimerCount) +BRIDGE_IMPL(scePowerSetUsingWireless) +BRIDGE_IMPL(scePowerUnregisterCallback) diff --git a/src/emulator/modules/SceProcessmgr/CMakeLists.txt b/src/emulator/modules/SceProcessmgr/CMakeLists.txt new file mode 100644 index 000000000..45926ea35 --- /dev/null +++ b/src/emulator/modules/SceProcessmgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceProcessmgr STATIC include/SceProcessmgr/exports.h src/SceProcessmgr.cpp) +target_include_directories(SceProcessmgr PUBLIC include) +target_link_libraries(SceProcessmgr PRIVATE module) diff --git a/src/emulator/modules/SceProcessmgr/include/SceProcessmgr/exports.h b/src/emulator/modules/SceProcessmgr/include/SceProcessmgr/exports.h new file mode 100644 index 000000000..5a4ada302 --- /dev/null +++ b/src/emulator/modules/SceProcessmgr/include/SceProcessmgr/exports.h @@ -0,0 +1,38 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceProcessmgr +BRIDGE_DECL(sceKernelGetStderr) +BRIDGE_DECL(sceKernelGetStdin) +BRIDGE_DECL(sceKernelGetStdout) +BRIDGE_DECL(sceKernelIsCDialogAvailable) +BRIDGE_DECL(sceKernelIsGameBudget) +BRIDGE_DECL(sceKernelLibcClock) +BRIDGE_DECL(sceKernelLibcGettimeofday) +BRIDGE_DECL(sceKernelLibcGmtime_r) +BRIDGE_DECL(sceKernelLibcLocaltime_r) +BRIDGE_DECL(sceKernelLibcMktime) +BRIDGE_DECL(sceKernelLibcTime) +BRIDGE_DECL(sceKernelPowerLock) +BRIDGE_DECL(sceKernelPowerTick) +BRIDGE_DECL(sceKernelPowerUnlock) +BRIDGE_DECL(sceKernelRegisterProcessTerminationCallback) +BRIDGE_DECL(sceKernelUnregisterProcessTerminationCallback) diff --git a/src/emulator/modules/SceProcessmgr/src/SceProcessmgr.cpp b/src/emulator/modules/SceProcessmgr/src/SceProcessmgr.cpp new file mode 100644 index 000000000..769197bf5 --- /dev/null +++ b/src/emulator/modules/SceProcessmgr/src/SceProcessmgr.cpp @@ -0,0 +1,102 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include + +EXPORT(int, sceKernelGetStderr) { + return unimplemented("sceKernelGetStderr"); +} + +EXPORT(int, sceKernelGetStdin) { + return unimplemented("sceKernelGetStdin"); +} + +EXPORT(int, sceKernelGetStdout) { + return unimplemented("sceKernelGetStdout"); +} + +EXPORT(int, sceKernelIsCDialogAvailable) { + return unimplemented("sceKernelIsCDialogAvailable"); +} + +EXPORT(int, sceKernelIsGameBudget) { + return unimplemented("sceKernelIsGameBudget"); +} + +EXPORT(int, sceKernelLibcClock) { + return unimplemented("sceKernelLibcClock"); +} + +EXPORT(int, sceKernelLibcGettimeofday) { + return unimplemented("sceKernelLibcGettimeofday"); +} + +EXPORT(int, sceKernelLibcGmtime_r) { + return unimplemented("sceKernelLibcGmtime_r"); +} + +EXPORT(int, sceKernelLibcLocaltime_r) { + return unimplemented("sceKernelLibcLocaltime_r"); +} + +EXPORT(int, sceKernelLibcMktime) { + return unimplemented("sceKernelLibcMktime"); +} + +EXPORT(int, sceKernelLibcTime) { + return unimplemented("sceKernelLibcTime"); +} + +EXPORT(int, sceKernelPowerLock) { + return unimplemented("sceKernelPowerLock"); +} + +EXPORT(int, sceKernelPowerTick, SceKernelPowerTickType type) { + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelPowerUnlock) { + return unimplemented("sceKernelPowerUnlock"); +} + +EXPORT(int, sceKernelRegisterProcessTerminationCallback) { + return unimplemented("sceKernelRegisterProcessTerminationCallback"); +} + +EXPORT(int, sceKernelUnregisterProcessTerminationCallback) { + return unimplemented("sceKernelUnregisterProcessTerminationCallback"); +} + +BRIDGE_IMPL(sceKernelGetStderr) +BRIDGE_IMPL(sceKernelGetStdin) +BRIDGE_IMPL(sceKernelGetStdout) +BRIDGE_IMPL(sceKernelIsCDialogAvailable) +BRIDGE_IMPL(sceKernelIsGameBudget) +BRIDGE_IMPL(sceKernelLibcClock) +BRIDGE_IMPL(sceKernelLibcGettimeofday) +BRIDGE_IMPL(sceKernelLibcGmtime_r) +BRIDGE_IMPL(sceKernelLibcLocaltime_r) +BRIDGE_IMPL(sceKernelLibcMktime) +BRIDGE_IMPL(sceKernelLibcTime) +BRIDGE_IMPL(sceKernelPowerLock) +BRIDGE_IMPL(sceKernelPowerTick) +BRIDGE_IMPL(sceKernelPowerUnlock) +BRIDGE_IMPL(sceKernelRegisterProcessTerminationCallback) +BRIDGE_IMPL(sceKernelUnregisterProcessTerminationCallback) diff --git a/src/emulator/modules/ScePromoterUtil/CMakeLists.txt b/src/emulator/modules/ScePromoterUtil/CMakeLists.txt new file mode 100644 index 000000000..7d34b7269 --- /dev/null +++ b/src/emulator/modules/ScePromoterUtil/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(ScePromoterUtil STATIC include/ScePromoterUtil/exports.h src/ScePromoterUtil.cpp) +target_include_directories(ScePromoterUtil PUBLIC include) +target_link_libraries(ScePromoterUtil PRIVATE module) diff --git a/src/emulator/modules/ScePromoterUtil/include/ScePromoterUtil/exports.h b/src/emulator/modules/ScePromoterUtil/include/ScePromoterUtil/exports.h new file mode 100644 index 000000000..cb9dea8db --- /dev/null +++ b/src/emulator/modules/ScePromoterUtil/include/ScePromoterUtil/exports.h @@ -0,0 +1,32 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// ScePromoterUtil +BRIDGE_DECL(scePromoterUtilityCheckExist) +BRIDGE_DECL(scePromoterUtilityDeletePkg) +BRIDGE_DECL(scePromoterUtilityExit) +BRIDGE_DECL(scePromoterUtilityGetResult) +BRIDGE_DECL(scePromoterUtilityGetState) +BRIDGE_DECL(scePromoterUtilityInit) +BRIDGE_DECL(scePromoterUtilityPromoteBackup) +BRIDGE_DECL(scePromoterUtilityPromotePkg) +BRIDGE_DECL(scePromoterUtilityPromotePkgWithRif) +BRIDGE_DECL(scePromoterUtilityUpdateLiveArea) diff --git a/src/emulator/modules/ScePromoterUtil/src/ScePromoterUtil.cpp b/src/emulator/modules/ScePromoterUtil/src/ScePromoterUtil.cpp new file mode 100644 index 000000000..0088dcbf1 --- /dev/null +++ b/src/emulator/modules/ScePromoterUtil/src/ScePromoterUtil.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, scePromoterUtilityCheckExist) { + return unimplemented("scePromoterUtilityCheckExist"); +} + +EXPORT(int, scePromoterUtilityDeletePkg) { + return unimplemented("scePromoterUtilityDeletePkg"); +} + +EXPORT(int, scePromoterUtilityExit) { + return unimplemented("scePromoterUtilityExit"); +} + +EXPORT(int, scePromoterUtilityGetResult) { + return unimplemented("scePromoterUtilityGetResult"); +} + +EXPORT(int, scePromoterUtilityGetState) { + return unimplemented("scePromoterUtilityGetState"); +} + +EXPORT(int, scePromoterUtilityInit) { + return unimplemented("scePromoterUtilityInit"); +} + +EXPORT(int, scePromoterUtilityPromoteBackup) { + return unimplemented("scePromoterUtilityPromoteBackup"); +} + +EXPORT(int, scePromoterUtilityPromotePkg) { + return unimplemented("scePromoterUtilityPromotePkg"); +} + +EXPORT(int, scePromoterUtilityPromotePkgWithRif) { + return unimplemented("scePromoterUtilityPromotePkgWithRif"); +} + +EXPORT(int, scePromoterUtilityUpdateLiveArea) { + return unimplemented("scePromoterUtilityUpdateLiveArea"); +} + +BRIDGE_IMPL(scePromoterUtilityCheckExist) +BRIDGE_IMPL(scePromoterUtilityDeletePkg) +BRIDGE_IMPL(scePromoterUtilityExit) +BRIDGE_IMPL(scePromoterUtilityGetResult) +BRIDGE_IMPL(scePromoterUtilityGetState) +BRIDGE_IMPL(scePromoterUtilityInit) +BRIDGE_IMPL(scePromoterUtilityPromoteBackup) +BRIDGE_IMPL(scePromoterUtilityPromotePkg) +BRIDGE_IMPL(scePromoterUtilityPromotePkgWithRif) +BRIDGE_IMPL(scePromoterUtilityUpdateLiveArea) diff --git a/src/emulator/modules/SceRazorCapture/CMakeLists.txt b/src/emulator/modules/SceRazorCapture/CMakeLists.txt new file mode 100644 index 000000000..808df6321 --- /dev/null +++ b/src/emulator/modules/SceRazorCapture/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceRazorCapture STATIC include/SceRazorCapture/exports.h src/SceRazorCapture.cpp) +target_include_directories(SceRazorCapture PUBLIC include) +target_link_libraries(SceRazorCapture PRIVATE module) diff --git a/src/emulator/modules/SceRazorCapture/include/SceRazorCapture/exports.h b/src/emulator/modules/SceRazorCapture/include/SceRazorCapture/exports.h new file mode 100644 index 000000000..74bbcdf44 --- /dev/null +++ b/src/emulator/modules/SceRazorCapture/include/SceRazorCapture/exports.h @@ -0,0 +1,32 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceRazorCapture +BRIDGE_DECL(sceRazorCaptureIsInProgress) +BRIDGE_DECL(sceRazorCaptureSetTrigger) +BRIDGE_DECL(sceRazorCaptureSetTriggerNextFrame) +BRIDGE_DECL(sceRazorGpuCaptureEnableSalvage) +BRIDGE_DECL(sceRazorGpuCaptureIsInProgress) +BRIDGE_DECL(sceRazorGpuCaptureSetCaptureAllMemory) +BRIDGE_DECL(sceRazorGpuCaptureSetCaptureBeforeKick) +BRIDGE_DECL(sceRazorGpuCaptureSetTrigger) +BRIDGE_DECL(sceRazorGpuCaptureSetTriggerNextFrame) +BRIDGE_DECL(sceRazorGpuCaptureStartSalvageMode) diff --git a/src/emulator/modules/SceRazorCapture/src/SceRazorCapture.cpp b/src/emulator/modules/SceRazorCapture/src/SceRazorCapture.cpp new file mode 100644 index 000000000..2e1c91931 --- /dev/null +++ b/src/emulator/modules/SceRazorCapture/src/SceRazorCapture.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRazorCaptureIsInProgress) { + return unimplemented("sceRazorCaptureIsInProgress"); +} + +EXPORT(int, sceRazorCaptureSetTrigger) { + return unimplemented("sceRazorCaptureSetTrigger"); +} + +EXPORT(int, sceRazorCaptureSetTriggerNextFrame) { + return unimplemented("sceRazorCaptureSetTriggerNextFrame"); +} + +EXPORT(int, sceRazorGpuCaptureEnableSalvage) { + return unimplemented("sceRazorGpuCaptureEnableSalvage"); +} + +EXPORT(int, sceRazorGpuCaptureIsInProgress) { + return unimplemented("sceRazorGpuCaptureIsInProgress"); +} + +EXPORT(int, sceRazorGpuCaptureSetCaptureAllMemory) { + return unimplemented("sceRazorGpuCaptureSetCaptureAllMemory"); +} + +EXPORT(int, sceRazorGpuCaptureSetCaptureBeforeKick) { + return unimplemented("sceRazorGpuCaptureSetCaptureBeforeKick"); +} + +EXPORT(int, sceRazorGpuCaptureSetTrigger) { + return unimplemented("sceRazorGpuCaptureSetTrigger"); +} + +EXPORT(int, sceRazorGpuCaptureSetTriggerNextFrame) { + return unimplemented("sceRazorGpuCaptureSetTriggerNextFrame"); +} + +EXPORT(int, sceRazorGpuCaptureStartSalvageMode) { + return unimplemented("sceRazorGpuCaptureStartSalvageMode"); +} + +BRIDGE_IMPL(sceRazorCaptureIsInProgress) +BRIDGE_IMPL(sceRazorCaptureSetTrigger) +BRIDGE_IMPL(sceRazorCaptureSetTriggerNextFrame) +BRIDGE_IMPL(sceRazorGpuCaptureEnableSalvage) +BRIDGE_IMPL(sceRazorGpuCaptureIsInProgress) +BRIDGE_IMPL(sceRazorGpuCaptureSetCaptureAllMemory) +BRIDGE_IMPL(sceRazorGpuCaptureSetCaptureBeforeKick) +BRIDGE_IMPL(sceRazorGpuCaptureSetTrigger) +BRIDGE_IMPL(sceRazorGpuCaptureSetTriggerNextFrame) +BRIDGE_IMPL(sceRazorGpuCaptureStartSalvageMode) diff --git a/src/emulator/modules/SceRazorHud/CMakeLists.txt b/src/emulator/modules/SceRazorHud/CMakeLists.txt new file mode 100644 index 000000000..50c27c3b4 --- /dev/null +++ b/src/emulator/modules/SceRazorHud/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceRazorHud STATIC include/SceRazorHud/exports.h src/SceRazorHud.cpp) +target_include_directories(SceRazorHud PUBLIC include) +target_link_libraries(SceRazorHud PRIVATE module) diff --git a/src/emulator/modules/SceRazorHud/include/SceRazorHud/exports.h b/src/emulator/modules/SceRazorHud/include/SceRazorHud/exports.h new file mode 100644 index 000000000..69934adb2 --- /dev/null +++ b/src/emulator/modules/SceRazorHud/include/SceRazorHud/exports.h @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceRazorHud +BRIDGE_DECL(sceRazorCpuHudSetUserMarkerTraceBuffer) +BRIDGE_DECL(sceRazorCpuHudUserMarkerEnableAllThreads) +BRIDGE_DECL(sceRazorCpuHudUserMarkerEnableThreadId) +BRIDGE_DECL(sceRazorGpuLiveSetBuffer) +BRIDGE_DECL(sceRazorGpuLiveSetMetricsGroup) +BRIDGE_DECL(sceRazorGpuLiveStart) +BRIDGE_DECL(sceRazorGpuLiveStop) +BRIDGE_DECL(sceRazorGpuLiveTriggerDebugDump) +BRIDGE_DECL(sceRazorGpuPerfGetMode) +BRIDGE_DECL(sceRazorGpuTraceRingBufferSize) +BRIDGE_DECL(sceRazorGpuTraceRingBufferUsed) +BRIDGE_DECL(sceRazorGpuTraceSetFilename) +BRIDGE_DECL(sceRazorGpuTraceSetMetricsGroup) +BRIDGE_DECL(sceRazorGpuTraceTrigger) +BRIDGE_DECL(sceRazorHudReloadSettings) +BRIDGE_DECL(sceRazorHudSetDisplayEnabled) +BRIDGE_DECL(sceRazorHudSetDisplayFrameCount) diff --git a/src/emulator/modules/SceRazorHud/src/SceRazorHud.cpp b/src/emulator/modules/SceRazorHud/src/SceRazorHud.cpp new file mode 100644 index 000000000..24a880ef9 --- /dev/null +++ b/src/emulator/modules/SceRazorHud/src/SceRazorHud.cpp @@ -0,0 +1,104 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRazorCpuHudSetUserMarkerTraceBuffer) { + return unimplemented("sceRazorCpuHudSetUserMarkerTraceBuffer"); +} + +EXPORT(int, sceRazorCpuHudUserMarkerEnableAllThreads) { + return unimplemented("sceRazorCpuHudUserMarkerEnableAllThreads"); +} + +EXPORT(int, sceRazorCpuHudUserMarkerEnableThreadId) { + return unimplemented("sceRazorCpuHudUserMarkerEnableThreadId"); +} + +EXPORT(int, sceRazorGpuLiveSetBuffer) { + return unimplemented("sceRazorGpuLiveSetBuffer"); +} + +EXPORT(int, sceRazorGpuLiveSetMetricsGroup) { + return unimplemented("sceRazorGpuLiveSetMetricsGroup"); +} + +EXPORT(int, sceRazorGpuLiveStart) { + return unimplemented("sceRazorGpuLiveStart"); +} + +EXPORT(int, sceRazorGpuLiveStop) { + return unimplemented("sceRazorGpuLiveStop"); +} + +EXPORT(int, sceRazorGpuLiveTriggerDebugDump) { + return unimplemented("sceRazorGpuLiveTriggerDebugDump"); +} + +EXPORT(int, sceRazorGpuPerfGetMode) { + return unimplemented("sceRazorGpuPerfGetMode"); +} + +EXPORT(int, sceRazorGpuTraceRingBufferSize) { + return unimplemented("sceRazorGpuTraceRingBufferSize"); +} + +EXPORT(int, sceRazorGpuTraceRingBufferUsed) { + return unimplemented("sceRazorGpuTraceRingBufferUsed"); +} + +EXPORT(int, sceRazorGpuTraceSetFilename) { + return unimplemented("sceRazorGpuTraceSetFilename"); +} + +EXPORT(int, sceRazorGpuTraceSetMetricsGroup) { + return unimplemented("sceRazorGpuTraceSetMetricsGroup"); +} + +EXPORT(int, sceRazorGpuTraceTrigger) { + return unimplemented("sceRazorGpuTraceTrigger"); +} + +EXPORT(int, sceRazorHudReloadSettings) { + return unimplemented("sceRazorHudReloadSettings"); +} + +EXPORT(int, sceRazorHudSetDisplayEnabled) { + return unimplemented("sceRazorHudSetDisplayEnabled"); +} + +EXPORT(int, sceRazorHudSetDisplayFrameCount) { + return unimplemented("sceRazorHudSetDisplayFrameCount"); +} + +BRIDGE_IMPL(sceRazorCpuHudSetUserMarkerTraceBuffer) +BRIDGE_IMPL(sceRazorCpuHudUserMarkerEnableAllThreads) +BRIDGE_IMPL(sceRazorCpuHudUserMarkerEnableThreadId) +BRIDGE_IMPL(sceRazorGpuLiveSetBuffer) +BRIDGE_IMPL(sceRazorGpuLiveSetMetricsGroup) +BRIDGE_IMPL(sceRazorGpuLiveStart) +BRIDGE_IMPL(sceRazorGpuLiveStop) +BRIDGE_IMPL(sceRazorGpuLiveTriggerDebugDump) +BRIDGE_IMPL(sceRazorGpuPerfGetMode) +BRIDGE_IMPL(sceRazorGpuTraceRingBufferSize) +BRIDGE_IMPL(sceRazorGpuTraceRingBufferUsed) +BRIDGE_IMPL(sceRazorGpuTraceSetFilename) +BRIDGE_IMPL(sceRazorGpuTraceSetMetricsGroup) +BRIDGE_IMPL(sceRazorGpuTraceTrigger) +BRIDGE_IMPL(sceRazorHudReloadSettings) +BRIDGE_IMPL(sceRazorHudSetDisplayEnabled) +BRIDGE_IMPL(sceRazorHudSetDisplayFrameCount) diff --git a/src/emulator/modules/SceRegistryMgr/CMakeLists.txt b/src/emulator/modules/SceRegistryMgr/CMakeLists.txt new file mode 100644 index 000000000..c96a35a4e --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceRegistryMgr STATIC include/SceRegistryMgr/exports.h src/SceRegMgr.cpp src/SceRegMgrForGame.cpp src/SceRegMgrForSDK.cpp src/SceRegMgrService.cpp) +target_include_directories(SceRegistryMgr PUBLIC include) +target_link_libraries(SceRegistryMgr PRIVATE module) diff --git a/src/emulator/modules/SceRegistryMgr/include/SceRegistryMgr/exports.h b/src/emulator/modules/SceRegistryMgr/include/SceRegistryMgr/exports.h new file mode 100644 index 000000000..c41892589 --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/include/SceRegistryMgr/exports.h @@ -0,0 +1,67 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceRegMgr +BRIDGE_DECL(sceRegMgrAddRegistryCallback) +BRIDGE_DECL(sceRegMgrDbBackup) +BRIDGE_DECL(sceRegMgrDbRestore) +BRIDGE_DECL(sceRegMgrGetInitVals) +BRIDGE_DECL(sceRegMgrGetKeyBin) +BRIDGE_DECL(sceRegMgrGetKeyInt) +BRIDGE_DECL(sceRegMgrGetKeyStr) +BRIDGE_DECL(sceRegMgrGetKeys) +BRIDGE_DECL(sceRegMgrGetKeysInfo) +BRIDGE_DECL(sceRegMgrGetRegVersion) +BRIDGE_DECL(sceRegMgrIsBlueScreen) +BRIDGE_DECL(sceRegMgrRegisterCallback) +BRIDGE_DECL(sceRegMgrRegisterDrvErrCallback) +BRIDGE_DECL(sceRegMgrResetRegistryLv) +BRIDGE_DECL(sceRegMgrSetKeyBin) +BRIDGE_DECL(sceRegMgrSetKeyInt) +BRIDGE_DECL(sceRegMgrSetKeyStr) +BRIDGE_DECL(sceRegMgrSetKeys) +BRIDGE_DECL(sceRegMgrStartCallback) +BRIDGE_DECL(sceRegMgrStopCallback) +BRIDGE_DECL(sceRegMgrUnregisterCallback) +BRIDGE_DECL(sceRegMgrUnregisterDrvErrCallback) + +// SceRegMgrForGame +BRIDGE_DECL(sceRegMgrSystemParamGetBin) +BRIDGE_DECL(sceRegMgrSystemParamGetInt) +BRIDGE_DECL(sceRegMgrSystemParamGetStr) +BRIDGE_DECL(sceRegMgrSystemParamSetBin) +BRIDGE_DECL(sceRegMgrSystemParamSetInt) +BRIDGE_DECL(sceRegMgrSystemParamSetStr) + +// SceRegMgrForSDK +BRIDGE_DECL(sceRegMgrUtilityGetBin) +BRIDGE_DECL(sceRegMgrUtilityGetInt) +BRIDGE_DECL(sceRegMgrUtilityGetStr) +BRIDGE_DECL(sceRegMgrUtilitySetBin) +BRIDGE_DECL(sceRegMgrUtilitySetInt) +BRIDGE_DECL(sceRegMgrUtilitySetStr) + +// SceRegMgrService +BRIDGE_DECL(sceRegMgrSrvCnvRegionInt) +BRIDGE_DECL(sceRegMgrSrvCnvRegionPsCode) +BRIDGE_DECL(sceRegMgrSrvCnvRegionStr) +BRIDGE_DECL(sceRegMgrSrvGetRegion) +BRIDGE_DECL(sceRegMgrSrvGetRegionStr) diff --git a/src/emulator/modules/SceRegistryMgr/src/SceRegMgr.cpp b/src/emulator/modules/SceRegistryMgr/src/SceRegMgr.cpp new file mode 100644 index 000000000..46941ebdb --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/src/SceRegMgr.cpp @@ -0,0 +1,129 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRegMgrAddRegistryCallback) { + return unimplemented("sceRegMgrAddRegistryCallback"); +} + +EXPORT(int, sceRegMgrDbBackup) { + return unimplemented("sceRegMgrDbBackup"); +} + +EXPORT(int, sceRegMgrDbRestore) { + return unimplemented("sceRegMgrDbRestore"); +} + +EXPORT(int, sceRegMgrGetInitVals) { + return unimplemented("sceRegMgrGetInitVals"); +} + +EXPORT(int, sceRegMgrGetKeyBin) { + return unimplemented("sceRegMgrGetKeyBin"); +} + +EXPORT(int, sceRegMgrGetKeyInt) { + return unimplemented("sceRegMgrGetKeyInt"); +} + +EXPORT(int, sceRegMgrGetKeyStr) { + return unimplemented("sceRegMgrGetKeyStr"); +} + +EXPORT(int, sceRegMgrGetKeys) { + return unimplemented("sceRegMgrGetKeys"); +} + +EXPORT(int, sceRegMgrGetKeysInfo) { + return unimplemented("sceRegMgrGetKeysInfo"); +} + +EXPORT(int, sceRegMgrGetRegVersion) { + return unimplemented("sceRegMgrGetRegVersion"); +} + +EXPORT(int, sceRegMgrIsBlueScreen) { + return unimplemented("sceRegMgrIsBlueScreen"); +} + +EXPORT(int, sceRegMgrRegisterCallback) { + return unimplemented("sceRegMgrRegisterCallback"); +} + +EXPORT(int, sceRegMgrRegisterDrvErrCallback) { + return unimplemented("sceRegMgrRegisterDrvErrCallback"); +} + +EXPORT(int, sceRegMgrResetRegistryLv) { + return unimplemented("sceRegMgrResetRegistryLv"); +} + +EXPORT(int, sceRegMgrSetKeyBin) { + return unimplemented("sceRegMgrSetKeyBin"); +} + +EXPORT(int, sceRegMgrSetKeyInt) { + return unimplemented("sceRegMgrSetKeyInt"); +} + +EXPORT(int, sceRegMgrSetKeyStr) { + return unimplemented("sceRegMgrSetKeyStr"); +} + +EXPORT(int, sceRegMgrSetKeys) { + return unimplemented("sceRegMgrSetKeys"); +} + +EXPORT(int, sceRegMgrStartCallback) { + return unimplemented("sceRegMgrStartCallback"); +} + +EXPORT(int, sceRegMgrStopCallback) { + return unimplemented("sceRegMgrStopCallback"); +} + +EXPORT(int, sceRegMgrUnregisterCallback) { + return unimplemented("sceRegMgrUnregisterCallback"); +} + +EXPORT(int, sceRegMgrUnregisterDrvErrCallback) { + return unimplemented("sceRegMgrUnregisterDrvErrCallback"); +} + +BRIDGE_IMPL(sceRegMgrAddRegistryCallback) +BRIDGE_IMPL(sceRegMgrDbBackup) +BRIDGE_IMPL(sceRegMgrDbRestore) +BRIDGE_IMPL(sceRegMgrGetInitVals) +BRIDGE_IMPL(sceRegMgrGetKeyBin) +BRIDGE_IMPL(sceRegMgrGetKeyInt) +BRIDGE_IMPL(sceRegMgrGetKeyStr) +BRIDGE_IMPL(sceRegMgrGetKeys) +BRIDGE_IMPL(sceRegMgrGetKeysInfo) +BRIDGE_IMPL(sceRegMgrGetRegVersion) +BRIDGE_IMPL(sceRegMgrIsBlueScreen) +BRIDGE_IMPL(sceRegMgrRegisterCallback) +BRIDGE_IMPL(sceRegMgrRegisterDrvErrCallback) +BRIDGE_IMPL(sceRegMgrResetRegistryLv) +BRIDGE_IMPL(sceRegMgrSetKeyBin) +BRIDGE_IMPL(sceRegMgrSetKeyInt) +BRIDGE_IMPL(sceRegMgrSetKeyStr) +BRIDGE_IMPL(sceRegMgrSetKeys) +BRIDGE_IMPL(sceRegMgrStartCallback) +BRIDGE_IMPL(sceRegMgrStopCallback) +BRIDGE_IMPL(sceRegMgrUnregisterCallback) +BRIDGE_IMPL(sceRegMgrUnregisterDrvErrCallback) diff --git a/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForGame.cpp b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForGame.cpp new file mode 100644 index 000000000..ec306d819 --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForGame.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRegMgrSystemParamGetBin) { + return unimplemented("sceRegMgrSystemParamGetBin"); +} + +EXPORT(int, sceRegMgrSystemParamGetInt) { + return unimplemented("sceRegMgrSystemParamGetInt"); +} + +EXPORT(int, sceRegMgrSystemParamGetStr) { + return unimplemented("sceRegMgrSystemParamGetStr"); +} + +EXPORT(int, sceRegMgrSystemParamSetBin) { + return unimplemented("sceRegMgrSystemParamSetBin"); +} + +EXPORT(int, sceRegMgrSystemParamSetInt) { + return unimplemented("sceRegMgrSystemParamSetInt"); +} + +EXPORT(int, sceRegMgrSystemParamSetStr) { + return unimplemented("sceRegMgrSystemParamSetStr"); +} + +BRIDGE_IMPL(sceRegMgrSystemParamGetBin) +BRIDGE_IMPL(sceRegMgrSystemParamGetInt) +BRIDGE_IMPL(sceRegMgrSystemParamGetStr) +BRIDGE_IMPL(sceRegMgrSystemParamSetBin) +BRIDGE_IMPL(sceRegMgrSystemParamSetInt) +BRIDGE_IMPL(sceRegMgrSystemParamSetStr) diff --git a/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForSDK.cpp b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForSDK.cpp new file mode 100644 index 000000000..aa673d903 --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrForSDK.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRegMgrUtilityGetBin) { + return unimplemented("sceRegMgrUtilityGetBin"); +} + +EXPORT(int, sceRegMgrUtilityGetInt) { + return unimplemented("sceRegMgrUtilityGetInt"); +} + +EXPORT(int, sceRegMgrUtilityGetStr) { + return unimplemented("sceRegMgrUtilityGetStr"); +} + +EXPORT(int, sceRegMgrUtilitySetBin) { + return unimplemented("sceRegMgrUtilitySetBin"); +} + +EXPORT(int, sceRegMgrUtilitySetInt) { + return unimplemented("sceRegMgrUtilitySetInt"); +} + +EXPORT(int, sceRegMgrUtilitySetStr) { + return unimplemented("sceRegMgrUtilitySetStr"); +} + +BRIDGE_IMPL(sceRegMgrUtilityGetBin) +BRIDGE_IMPL(sceRegMgrUtilityGetInt) +BRIDGE_IMPL(sceRegMgrUtilityGetStr) +BRIDGE_IMPL(sceRegMgrUtilitySetBin) +BRIDGE_IMPL(sceRegMgrUtilitySetInt) +BRIDGE_IMPL(sceRegMgrUtilitySetStr) diff --git a/src/emulator/modules/SceRegistryMgr/src/SceRegMgrService.cpp b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrService.cpp new file mode 100644 index 000000000..758820a5b --- /dev/null +++ b/src/emulator/modules/SceRegistryMgr/src/SceRegMgrService.cpp @@ -0,0 +1,44 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRegMgrSrvCnvRegionInt) { + return unimplemented("sceRegMgrSrvCnvRegionInt"); +} + +EXPORT(int, sceRegMgrSrvCnvRegionPsCode) { + return unimplemented("sceRegMgrSrvCnvRegionPsCode"); +} + +EXPORT(int, sceRegMgrSrvCnvRegionStr) { + return unimplemented("sceRegMgrSrvCnvRegionStr"); +} + +EXPORT(int, sceRegMgrSrvGetRegion) { + return unimplemented("sceRegMgrSrvGetRegion"); +} + +EXPORT(int, sceRegMgrSrvGetRegionStr) { + return unimplemented("sceRegMgrSrvGetRegionStr"); +} + +BRIDGE_IMPL(sceRegMgrSrvCnvRegionInt) +BRIDGE_IMPL(sceRegMgrSrvCnvRegionPsCode) +BRIDGE_IMPL(sceRegMgrSrvCnvRegionStr) +BRIDGE_IMPL(sceRegMgrSrvGetRegion) +BRIDGE_IMPL(sceRegMgrSrvGetRegionStr) diff --git a/src/emulator/modules/SceRtc/CMakeLists.txt b/src/emulator/modules/SceRtc/CMakeLists.txt new file mode 100644 index 000000000..607d0120c --- /dev/null +++ b/src/emulator/modules/SceRtc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceRtc STATIC include/SceRtc/exports.h src/SceRtc.cpp src/SceRtcUser.cpp) +target_include_directories(SceRtc PUBLIC include) +target_link_libraries(SceRtc PRIVATE module) diff --git a/src/emulator/modules/SceRtc/include/SceRtc/exports.h b/src/emulator/modules/SceRtc/include/SceRtc/exports.h new file mode 100644 index 000000000..da6dbdfd2 --- /dev/null +++ b/src/emulator/modules/SceRtc/include/SceRtc/exports.h @@ -0,0 +1,65 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceRtc +BRIDGE_DECL(sceRtcGetAccumulativeTime) + +// SceRtcUser +BRIDGE_DECL(sceRtcCheckValid) +BRIDGE_DECL(sceRtcCompareTick) +BRIDGE_DECL(sceRtcConvertLocalTimeToUtc) +BRIDGE_DECL(sceRtcConvertUtcToLocalTime) +BRIDGE_DECL(sceRtcFormatRFC2822) +BRIDGE_DECL(sceRtcFormatRFC2822LocalTime) +BRIDGE_DECL(sceRtcFormatRFC3339) +BRIDGE_DECL(sceRtcFormatRFC3339LocalTime) +BRIDGE_DECL(sceRtcGetCurrentClock) +BRIDGE_DECL(sceRtcGetCurrentClockLocalTime) +BRIDGE_DECL(sceRtcGetCurrentNetworkTick) +BRIDGE_DECL(sceRtcGetCurrentTick) +BRIDGE_DECL(sceRtcGetDayOfWeek) +BRIDGE_DECL(sceRtcGetDayOfYear) +BRIDGE_DECL(sceRtcGetDaysInMonth) +BRIDGE_DECL(sceRtcGetDosTime) +BRIDGE_DECL(sceRtcGetLastAdjustedTick) +BRIDGE_DECL(sceRtcGetLastReincarnatedTick) +BRIDGE_DECL(sceRtcGetTick) +BRIDGE_DECL(sceRtcGetTickResolution) +BRIDGE_DECL(sceRtcGetTime64_t) +BRIDGE_DECL(sceRtcGetTime_t) +BRIDGE_DECL(sceRtcGetWin32FileTime) +BRIDGE_DECL(sceRtcIsLeapYear) +BRIDGE_DECL(sceRtcParseDateTime) +BRIDGE_DECL(sceRtcParseRFC3339) +BRIDGE_DECL(sceRtcSetDosTime) +BRIDGE_DECL(sceRtcSetTick) +BRIDGE_DECL(sceRtcSetTime64_t) +BRIDGE_DECL(sceRtcSetTime_t) +BRIDGE_DECL(sceRtcSetWin32FileTime) +BRIDGE_DECL(sceRtcTickAddDays) +BRIDGE_DECL(sceRtcTickAddHours) +BRIDGE_DECL(sceRtcTickAddMicroseconds) +BRIDGE_DECL(sceRtcTickAddMinutes) +BRIDGE_DECL(sceRtcTickAddMonths) +BRIDGE_DECL(sceRtcTickAddSeconds) +BRIDGE_DECL(sceRtcTickAddTicks) +BRIDGE_DECL(sceRtcTickAddWeeks) +BRIDGE_DECL(sceRtcTickAddYears) diff --git a/src/emulator/modules/SceRtc/src/SceRtc.cpp b/src/emulator/modules/SceRtc/src/SceRtc.cpp new file mode 100644 index 000000000..14ebda4b7 --- /dev/null +++ b/src/emulator/modules/SceRtc/src/SceRtc.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceRtcGetAccumulativeTime) { + return unimplemented("sceRtcGetAccumulativeTime"); +} + +BRIDGE_IMPL(sceRtcGetAccumulativeTime) diff --git a/src/emulator/modules/SceRtc/src/SceRtcUser.cpp b/src/emulator/modules/SceRtc/src/SceRtcUser.cpp new file mode 100644 index 000000000..343a33cc2 --- /dev/null +++ b/src/emulator/modules/SceRtc/src/SceRtcUser.cpp @@ -0,0 +1,229 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include + +EXPORT(int, sceRtcCheckValid) { + return unimplemented("sceRtcCheckValid"); +} + +EXPORT(int, sceRtcCompareTick) { + return unimplemented("sceRtcCompareTick"); +} + +EXPORT(int, sceRtcConvertLocalTimeToUtc) { + return unimplemented("sceRtcConvertLocalTimeToUtc"); +} + +EXPORT(int, sceRtcConvertUtcToLocalTime) { + return unimplemented("sceRtcConvertUtcToLocalTime"); +} + +EXPORT(int, sceRtcFormatRFC2822) { + return unimplemented("sceRtcFormatRFC2822"); +} + +EXPORT(int, sceRtcFormatRFC2822LocalTime) { + return unimplemented("sceRtcFormatRFC2822LocalTime"); +} + +EXPORT(int, sceRtcFormatRFC3339) { + return unimplemented("sceRtcFormatRFC3339"); +} + +EXPORT(int, sceRtcFormatRFC3339LocalTime) { + return unimplemented("sceRtcFormatRFC3339LocalTime"); +} + +EXPORT(int, sceRtcGetCurrentClock) { + return unimplemented("sceRtcGetCurrentClock"); +} + +EXPORT(int, sceRtcGetCurrentClockLocalTime) { + return unimplemented("sceRtcGetCurrentClockLocalTime"); +} + +EXPORT(int, sceRtcGetCurrentNetworkTick) { + return unimplemented("sceRtcGetCurrentNetworkTick"); +} + +EXPORT(int, sceRtcGetCurrentTick, SceRtcTick *tick) { + assert(tick != nullptr); + + // TODO Assumes game handles varying CLOCKS_PER_SEC. + tick->tick = clock(); + + return 0; +} + +EXPORT(int, sceRtcGetDayOfWeek) { + return unimplemented("sceRtcGetDayOfWeek"); +} + +EXPORT(int, sceRtcGetDayOfYear) { + return unimplemented("sceRtcGetDayOfYear"); +} + +EXPORT(int, sceRtcGetDaysInMonth) { + return unimplemented("sceRtcGetDaysInMonth"); +} + +EXPORT(int, sceRtcGetDosTime) { + return unimplemented("sceRtcGetDosTime"); +} + +EXPORT(int, sceRtcGetLastAdjustedTick) { + return unimplemented("sceRtcGetLastAdjustedTick"); +} + +EXPORT(int, sceRtcGetLastReincarnatedTick) { + return unimplemented("sceRtcGetLastReincarnatedTick"); +} + +EXPORT(int, sceRtcGetTick) { + return unimplemented("sceRtcGetTick"); +} + +EXPORT(unsigned int, sceRtcGetTickResolution) { + // TODO Check the Vita's value. + return CLOCKS_PER_SEC; +} + +EXPORT(int, sceRtcGetTime64_t) { + return unimplemented("sceRtcGetTime64_t"); +} + +EXPORT(int, sceRtcGetTime_t) { + return unimplemented("sceRtcGetTime_t"); +} + +EXPORT(int, sceRtcGetWin32FileTime) { + return unimplemented("sceRtcGetWin32FileTime"); +} + +EXPORT(int, sceRtcIsLeapYear) { + return unimplemented("sceRtcIsLeapYear"); +} + +EXPORT(int, sceRtcParseDateTime) { + return unimplemented("sceRtcParseDateTime"); +} + +EXPORT(int, sceRtcParseRFC3339) { + return unimplemented("sceRtcParseRFC3339"); +} + +EXPORT(int, sceRtcSetDosTime) { + return unimplemented("sceRtcSetDosTime"); +} + +EXPORT(int, sceRtcSetTick) { + return unimplemented("sceRtcSetTick"); +} + +EXPORT(int, sceRtcSetTime64_t) { + return unimplemented("sceRtcSetTime64_t"); +} + +EXPORT(int, sceRtcSetTime_t) { + return unimplemented("sceRtcSetTime_t"); +} + +EXPORT(int, sceRtcSetWin32FileTime) { + return unimplemented("sceRtcSetWin32FileTime"); +} + +EXPORT(int, sceRtcTickAddDays) { + return unimplemented("sceRtcTickAddDays"); +} + +EXPORT(int, sceRtcTickAddHours) { + return unimplemented("sceRtcTickAddHours"); +} + +EXPORT(int, sceRtcTickAddMicroseconds) { + return unimplemented("sceRtcTickAddMicroseconds"); +} + +EXPORT(int, sceRtcTickAddMinutes) { + return unimplemented("sceRtcTickAddMinutes"); +} + +EXPORT(int, sceRtcTickAddMonths) { + return unimplemented("sceRtcTickAddMonths"); +} + +EXPORT(int, sceRtcTickAddSeconds) { + return unimplemented("sceRtcTickAddSeconds"); +} + +EXPORT(int, sceRtcTickAddTicks) { + return unimplemented("sceRtcTickAddTicks"); +} + +EXPORT(int, sceRtcTickAddWeeks) { + return unimplemented("sceRtcTickAddWeeks"); +} + +EXPORT(int, sceRtcTickAddYears) { + return unimplemented("sceRtcTickAddYears"); +} + +BRIDGE_IMPL(sceRtcCheckValid) +BRIDGE_IMPL(sceRtcCompareTick) +BRIDGE_IMPL(sceRtcConvertLocalTimeToUtc) +BRIDGE_IMPL(sceRtcConvertUtcToLocalTime) +BRIDGE_IMPL(sceRtcFormatRFC2822) +BRIDGE_IMPL(sceRtcFormatRFC2822LocalTime) +BRIDGE_IMPL(sceRtcFormatRFC3339) +BRIDGE_IMPL(sceRtcFormatRFC3339LocalTime) +BRIDGE_IMPL(sceRtcGetCurrentClock) +BRIDGE_IMPL(sceRtcGetCurrentClockLocalTime) +BRIDGE_IMPL(sceRtcGetCurrentNetworkTick) +BRIDGE_IMPL(sceRtcGetCurrentTick) +BRIDGE_IMPL(sceRtcGetDayOfWeek) +BRIDGE_IMPL(sceRtcGetDayOfYear) +BRIDGE_IMPL(sceRtcGetDaysInMonth) +BRIDGE_IMPL(sceRtcGetDosTime) +BRIDGE_IMPL(sceRtcGetLastAdjustedTick) +BRIDGE_IMPL(sceRtcGetLastReincarnatedTick) +BRIDGE_IMPL(sceRtcGetTick) +BRIDGE_IMPL(sceRtcGetTickResolution) +BRIDGE_IMPL(sceRtcGetTime64_t) +BRIDGE_IMPL(sceRtcGetTime_t) +BRIDGE_IMPL(sceRtcGetWin32FileTime) +BRIDGE_IMPL(sceRtcIsLeapYear) +BRIDGE_IMPL(sceRtcParseDateTime) +BRIDGE_IMPL(sceRtcParseRFC3339) +BRIDGE_IMPL(sceRtcSetDosTime) +BRIDGE_IMPL(sceRtcSetTick) +BRIDGE_IMPL(sceRtcSetTime64_t) +BRIDGE_IMPL(sceRtcSetTime_t) +BRIDGE_IMPL(sceRtcSetWin32FileTime) +BRIDGE_IMPL(sceRtcTickAddDays) +BRIDGE_IMPL(sceRtcTickAddHours) +BRIDGE_IMPL(sceRtcTickAddMicroseconds) +BRIDGE_IMPL(sceRtcTickAddMinutes) +BRIDGE_IMPL(sceRtcTickAddMonths) +BRIDGE_IMPL(sceRtcTickAddSeconds) +BRIDGE_IMPL(sceRtcTickAddTicks) +BRIDGE_IMPL(sceRtcTickAddWeeks) +BRIDGE_IMPL(sceRtcTickAddYears) diff --git a/src/emulator/modules/SceSasUser/CMakeLists.txt b/src/emulator/modules/SceSasUser/CMakeLists.txt new file mode 100644 index 000000000..afcc6925c --- /dev/null +++ b/src/emulator/modules/SceSasUser/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSasUser STATIC include/SceSasUser/exports.h src/SceSas.cpp) +target_include_directories(SceSasUser PUBLIC include) +target_link_libraries(SceSasUser PRIVATE module) diff --git a/src/emulator/modules/SceSasUser/include/SceSasUser/exports.h b/src/emulator/modules/SceSasUser/include/SceSasUser/exports.h new file mode 100644 index 000000000..c51e8ae9d --- /dev/null +++ b/src/emulator/modules/SceSasUser/include/SceSasUser/exports.h @@ -0,0 +1,55 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSas +BRIDGE_DECL(sceSasCore) +BRIDGE_DECL(sceSasCoreWithMix) +BRIDGE_DECL(sceSasExit) +BRIDGE_DECL(sceSasGetDryPeak) +BRIDGE_DECL(sceSasGetEndState) +BRIDGE_DECL(sceSasGetEnvelope) +BRIDGE_DECL(sceSasGetGrain) +BRIDGE_DECL(sceSasGetNeededMemorySize) +BRIDGE_DECL(sceSasGetOutputmode) +BRIDGE_DECL(sceSasGetPauseState) +BRIDGE_DECL(sceSasGetPreMasterPeak) +BRIDGE_DECL(sceSasGetWetPeak) +BRIDGE_DECL(sceSasInit) +BRIDGE_DECL(sceSasInitWithGrain) +BRIDGE_DECL(sceSasSetADSR) +BRIDGE_DECL(sceSasSetADSRmode) +BRIDGE_DECL(sceSasSetDistortion) +BRIDGE_DECL(sceSasSetEffect) +BRIDGE_DECL(sceSasSetEffectParam) +BRIDGE_DECL(sceSasSetEffectType) +BRIDGE_DECL(sceSasSetEffectVolume) +BRIDGE_DECL(sceSasSetGrain) +BRIDGE_DECL(sceSasSetKeyOff) +BRIDGE_DECL(sceSasSetKeyOn) +BRIDGE_DECL(sceSasSetNoise) +BRIDGE_DECL(sceSasSetOutputmode) +BRIDGE_DECL(sceSasSetPause) +BRIDGE_DECL(sceSasSetPitch) +BRIDGE_DECL(sceSasSetSL) +BRIDGE_DECL(sceSasSetSimpleADSR) +BRIDGE_DECL(sceSasSetVoice) +BRIDGE_DECL(sceSasSetVoicePCM) +BRIDGE_DECL(sceSasSetVolume) diff --git a/src/emulator/modules/SceSasUser/src/SceSas.cpp b/src/emulator/modules/SceSasUser/src/SceSas.cpp new file mode 100644 index 000000000..cad908566 --- /dev/null +++ b/src/emulator/modules/SceSasUser/src/SceSas.cpp @@ -0,0 +1,184 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSasCore) { + return unimplemented("sceSasCore"); +} + +EXPORT(int, sceSasCoreWithMix) { + return unimplemented("sceSasCoreWithMix"); +} + +EXPORT(int, sceSasExit) { + return unimplemented("sceSasExit"); +} + +EXPORT(int, sceSasGetDryPeak) { + return unimplemented("sceSasGetDryPeak"); +} + +EXPORT(int, sceSasGetEndState) { + return unimplemented("sceSasGetEndState"); +} + +EXPORT(int, sceSasGetEnvelope) { + return unimplemented("sceSasGetEnvelope"); +} + +EXPORT(int, sceSasGetGrain) { + return unimplemented("sceSasGetGrain"); +} + +EXPORT(int, sceSasGetNeededMemorySize) { + return unimplemented("sceSasGetNeededMemorySize"); +} + +EXPORT(int, sceSasGetOutputmode) { + return unimplemented("sceSasGetOutputmode"); +} + +EXPORT(int, sceSasGetPauseState) { + return unimplemented("sceSasGetPauseState"); +} + +EXPORT(int, sceSasGetPreMasterPeak) { + return unimplemented("sceSasGetPreMasterPeak"); +} + +EXPORT(int, sceSasGetWetPeak) { + return unimplemented("sceSasGetWetPeak"); +} + +EXPORT(int, sceSasInit) { + return unimplemented("sceSasInit"); +} + +EXPORT(int, sceSasInitWithGrain) { + return unimplemented("sceSasInitWithGrain"); +} + +EXPORT(int, sceSasSetADSR) { + return unimplemented("sceSasSetADSR"); +} + +EXPORT(int, sceSasSetADSRmode) { + return unimplemented("sceSasSetADSRmode"); +} + +EXPORT(int, sceSasSetDistortion) { + return unimplemented("sceSasSetDistortion"); +} + +EXPORT(int, sceSasSetEffect) { + return unimplemented("sceSasSetEffect"); +} + +EXPORT(int, sceSasSetEffectParam) { + return unimplemented("sceSasSetEffectParam"); +} + +EXPORT(int, sceSasSetEffectType) { + return unimplemented("sceSasSetEffectType"); +} + +EXPORT(int, sceSasSetEffectVolume) { + return unimplemented("sceSasSetEffectVolume"); +} + +EXPORT(int, sceSasSetGrain) { + return unimplemented("sceSasSetGrain"); +} + +EXPORT(int, sceSasSetKeyOff) { + return unimplemented("sceSasSetKeyOff"); +} + +EXPORT(int, sceSasSetKeyOn) { + return unimplemented("sceSasSetKeyOn"); +} + +EXPORT(int, sceSasSetNoise) { + return unimplemented("sceSasSetNoise"); +} + +EXPORT(int, sceSasSetOutputmode) { + return unimplemented("sceSasSetOutputmode"); +} + +EXPORT(int, sceSasSetPause) { + return unimplemented("sceSasSetPause"); +} + +EXPORT(int, sceSasSetPitch) { + return unimplemented("sceSasSetPitch"); +} + +EXPORT(int, sceSasSetSL) { + return unimplemented("sceSasSetSL"); +} + +EXPORT(int, sceSasSetSimpleADSR) { + return unimplemented("sceSasSetSimpleADSR"); +} + +EXPORT(int, sceSasSetVoice) { + return unimplemented("sceSasSetVoice"); +} + +EXPORT(int, sceSasSetVoicePCM) { + return unimplemented("sceSasSetVoicePCM"); +} + +EXPORT(int, sceSasSetVolume) { + return unimplemented("sceSasSetVolume"); +} + +BRIDGE_IMPL(sceSasCore) +BRIDGE_IMPL(sceSasCoreWithMix) +BRIDGE_IMPL(sceSasExit) +BRIDGE_IMPL(sceSasGetDryPeak) +BRIDGE_IMPL(sceSasGetEndState) +BRIDGE_IMPL(sceSasGetEnvelope) +BRIDGE_IMPL(sceSasGetGrain) +BRIDGE_IMPL(sceSasGetNeededMemorySize) +BRIDGE_IMPL(sceSasGetOutputmode) +BRIDGE_IMPL(sceSasGetPauseState) +BRIDGE_IMPL(sceSasGetPreMasterPeak) +BRIDGE_IMPL(sceSasGetWetPeak) +BRIDGE_IMPL(sceSasInit) +BRIDGE_IMPL(sceSasInitWithGrain) +BRIDGE_IMPL(sceSasSetADSR) +BRIDGE_IMPL(sceSasSetADSRmode) +BRIDGE_IMPL(sceSasSetDistortion) +BRIDGE_IMPL(sceSasSetEffect) +BRIDGE_IMPL(sceSasSetEffectParam) +BRIDGE_IMPL(sceSasSetEffectType) +BRIDGE_IMPL(sceSasSetEffectVolume) +BRIDGE_IMPL(sceSasSetGrain) +BRIDGE_IMPL(sceSasSetKeyOff) +BRIDGE_IMPL(sceSasSetKeyOn) +BRIDGE_IMPL(sceSasSetNoise) +BRIDGE_IMPL(sceSasSetOutputmode) +BRIDGE_IMPL(sceSasSetPause) +BRIDGE_IMPL(sceSasSetPitch) +BRIDGE_IMPL(sceSasSetSL) +BRIDGE_IMPL(sceSasSetSimpleADSR) +BRIDGE_IMPL(sceSasSetVoice) +BRIDGE_IMPL(sceSasSetVoicePCM) +BRIDGE_IMPL(sceSasSetVolume) diff --git a/src/emulator/modules/SceSblUpdateMgr/CMakeLists.txt b/src/emulator/modules/SceSblUpdateMgr/CMakeLists.txt new file mode 100644 index 000000000..d819629ba --- /dev/null +++ b/src/emulator/modules/SceSblUpdateMgr/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSblUpdateMgr STATIC include/SceSblUpdateMgr/exports.h src/SceSblSsUpdateMgr.cpp) +target_include_directories(SceSblUpdateMgr PUBLIC include) +target_link_libraries(SceSblUpdateMgr PRIVATE module) diff --git a/src/emulator/modules/SceSblUpdateMgr/include/SceSblUpdateMgr/exports.h b/src/emulator/modules/SceSblUpdateMgr/include/SceSblUpdateMgr/exports.h new file mode 100644 index 000000000..1db9b90f8 --- /dev/null +++ b/src/emulator/modules/SceSblUpdateMgr/include/SceSblUpdateMgr/exports.h @@ -0,0 +1,23 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSblSsUpdateMgr +BRIDGE_DECL(sceSblSsUpdateMgrSetBootMode) diff --git a/src/emulator/modules/SceSblUpdateMgr/src/SceSblSsUpdateMgr.cpp b/src/emulator/modules/SceSblUpdateMgr/src/SceSblSsUpdateMgr.cpp new file mode 100644 index 000000000..b95bbd6a0 --- /dev/null +++ b/src/emulator/modules/SceSblUpdateMgr/src/SceSblSsUpdateMgr.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSblSsUpdateMgrSetBootMode) { + return unimplemented("sceSblSsUpdateMgrSetBootMode"); +} + +BRIDGE_IMPL(sceSblSsUpdateMgrSetBootMode) diff --git a/src/emulator/modules/SceScreenShot/CMakeLists.txt b/src/emulator/modules/SceScreenShot/CMakeLists.txt new file mode 100644 index 000000000..30befc7b6 --- /dev/null +++ b/src/emulator/modules/SceScreenShot/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceScreenShot STATIC include/SceScreenShot/exports.h src/SceScreenShot.cpp) +target_include_directories(SceScreenShot PUBLIC include) +target_link_libraries(SceScreenShot PRIVATE module) diff --git a/src/emulator/modules/SceScreenShot/include/SceScreenShot/exports.h b/src/emulator/modules/SceScreenShot/include/SceScreenShot/exports.h new file mode 100644 index 000000000..dbcc9e8d5 --- /dev/null +++ b/src/emulator/modules/SceScreenShot/include/SceScreenShot/exports.h @@ -0,0 +1,30 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceScreenShot +BRIDGE_DECL(sceScreenShotCapture) +BRIDGE_DECL(sceScreenShotDisable) +BRIDGE_DECL(sceScreenShotDisableNotification) +BRIDGE_DECL(sceScreenShotEnable) +BRIDGE_DECL(sceScreenShotEnableNotification) +BRIDGE_DECL(sceScreenShotGetParam) +BRIDGE_DECL(sceScreenShotSetOverlayImage) +BRIDGE_DECL(sceScreenShotSetParam) diff --git a/src/emulator/modules/SceScreenShot/src/SceScreenShot.cpp b/src/emulator/modules/SceScreenShot/src/SceScreenShot.cpp new file mode 100644 index 000000000..5dea9d836 --- /dev/null +++ b/src/emulator/modules/SceScreenShot/src/SceScreenShot.cpp @@ -0,0 +1,59 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceScreenShotCapture) { + return unimplemented("sceScreenShotCapture"); +} + +EXPORT(int, sceScreenShotDisable) { + return unimplemented("sceScreenShotDisable"); +} + +EXPORT(int, sceScreenShotDisableNotification) { + return unimplemented("sceScreenShotDisableNotification"); +} + +EXPORT(int, sceScreenShotEnable) { + return unimplemented("sceScreenShotEnable"); +} + +EXPORT(int, sceScreenShotEnableNotification) { + return unimplemented("sceScreenShotEnableNotification"); +} + +EXPORT(int, sceScreenShotGetParam) { + return unimplemented("sceScreenShotGetParam"); +} + +EXPORT(int, sceScreenShotSetOverlayImage) { + return unimplemented("sceScreenShotSetOverlayImage"); +} + +EXPORT(int, sceScreenShotSetParam) { + return unimplemented("sceScreenShotSetParam"); +} + +BRIDGE_IMPL(sceScreenShotCapture) +BRIDGE_IMPL(sceScreenShotDisable) +BRIDGE_IMPL(sceScreenShotDisableNotification) +BRIDGE_IMPL(sceScreenShotEnable) +BRIDGE_IMPL(sceScreenShotEnableNotification) +BRIDGE_IMPL(sceScreenShotGetParam) +BRIDGE_IMPL(sceScreenShotSetOverlayImage) +BRIDGE_IMPL(sceScreenShotSetParam) diff --git a/src/emulator/modules/SceSfmt11213/CMakeLists.txt b/src/emulator/modules/SceSfmt11213/CMakeLists.txt new file mode 100644 index 000000000..97d3c1935 --- /dev/null +++ b/src/emulator/modules/SceSfmt11213/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt11213 STATIC include/SceSfmt11213/exports.h src/SceSfmt11213.cpp) +target_include_directories(SceSfmt11213 PUBLIC include) +target_link_libraries(SceSfmt11213 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt11213/include/SceSfmt11213/exports.h b/src/emulator/modules/SceSfmt11213/include/SceSfmt11213/exports.h new file mode 100644 index 000000000..cc8b47b9c --- /dev/null +++ b/src/emulator/modules/SceSfmt11213/include/SceSfmt11213/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt11213 +BRIDGE_DECL(sceSfmt11213FillArray32) +BRIDGE_DECL(sceSfmt11213FillArray64) +BRIDGE_DECL(sceSfmt11213GenRand32) +BRIDGE_DECL(sceSfmt11213GenRand64) +BRIDGE_DECL(sceSfmt11213InitByArray) +BRIDGE_DECL(sceSfmt11213InitGenRand) diff --git a/src/emulator/modules/SceSfmt11213/src/SceSfmt11213.cpp b/src/emulator/modules/SceSfmt11213/src/SceSfmt11213.cpp new file mode 100644 index 000000000..c1b52a836 --- /dev/null +++ b/src/emulator/modules/SceSfmt11213/src/SceSfmt11213.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt11213FillArray32) { + return unimplemented("sceSfmt11213FillArray32"); +} + +EXPORT(int, sceSfmt11213FillArray64) { + return unimplemented("sceSfmt11213FillArray64"); +} + +EXPORT(int, sceSfmt11213GenRand32) { + return unimplemented("sceSfmt11213GenRand32"); +} + +EXPORT(int, sceSfmt11213GenRand64) { + return unimplemented("sceSfmt11213GenRand64"); +} + +EXPORT(int, sceSfmt11213InitByArray) { + return unimplemented("sceSfmt11213InitByArray"); +} + +EXPORT(int, sceSfmt11213InitGenRand) { + return unimplemented("sceSfmt11213InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt11213FillArray32) +BRIDGE_IMPL(sceSfmt11213FillArray64) +BRIDGE_IMPL(sceSfmt11213GenRand32) +BRIDGE_IMPL(sceSfmt11213GenRand64) +BRIDGE_IMPL(sceSfmt11213InitByArray) +BRIDGE_IMPL(sceSfmt11213InitGenRand) diff --git a/src/emulator/modules/SceSfmt1279/CMakeLists.txt b/src/emulator/modules/SceSfmt1279/CMakeLists.txt new file mode 100644 index 000000000..3cbabea59 --- /dev/null +++ b/src/emulator/modules/SceSfmt1279/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt1279 STATIC include/SceSfmt1279/exports.h src/SceSfmt1279.cpp) +target_include_directories(SceSfmt1279 PUBLIC include) +target_link_libraries(SceSfmt1279 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt1279/include/SceSfmt1279/exports.h b/src/emulator/modules/SceSfmt1279/include/SceSfmt1279/exports.h new file mode 100644 index 000000000..2c700996d --- /dev/null +++ b/src/emulator/modules/SceSfmt1279/include/SceSfmt1279/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt1279 +BRIDGE_DECL(sceSfmt1279FillArray32) +BRIDGE_DECL(sceSfmt1279FillArray64) +BRIDGE_DECL(sceSfmt1279GenRand32) +BRIDGE_DECL(sceSfmt1279GenRand64) +BRIDGE_DECL(sceSfmt1279InitByArray) +BRIDGE_DECL(sceSfmt1279InitGenRand) diff --git a/src/emulator/modules/SceSfmt1279/src/SceSfmt1279.cpp b/src/emulator/modules/SceSfmt1279/src/SceSfmt1279.cpp new file mode 100644 index 000000000..a9416f0c3 --- /dev/null +++ b/src/emulator/modules/SceSfmt1279/src/SceSfmt1279.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt1279FillArray32) { + return unimplemented("sceSfmt1279FillArray32"); +} + +EXPORT(int, sceSfmt1279FillArray64) { + return unimplemented("sceSfmt1279FillArray64"); +} + +EXPORT(int, sceSfmt1279GenRand32) { + return unimplemented("sceSfmt1279GenRand32"); +} + +EXPORT(int, sceSfmt1279GenRand64) { + return unimplemented("sceSfmt1279GenRand64"); +} + +EXPORT(int, sceSfmt1279InitByArray) { + return unimplemented("sceSfmt1279InitByArray"); +} + +EXPORT(int, sceSfmt1279InitGenRand) { + return unimplemented("sceSfmt1279InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt1279FillArray32) +BRIDGE_IMPL(sceSfmt1279FillArray64) +BRIDGE_IMPL(sceSfmt1279GenRand32) +BRIDGE_IMPL(sceSfmt1279GenRand64) +BRIDGE_IMPL(sceSfmt1279InitByArray) +BRIDGE_IMPL(sceSfmt1279InitGenRand) diff --git a/src/emulator/modules/SceSfmt132049/CMakeLists.txt b/src/emulator/modules/SceSfmt132049/CMakeLists.txt new file mode 100644 index 000000000..f1cdde235 --- /dev/null +++ b/src/emulator/modules/SceSfmt132049/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt132049 STATIC include/SceSfmt132049/exports.h src/SceSfmt132049.cpp) +target_include_directories(SceSfmt132049 PUBLIC include) +target_link_libraries(SceSfmt132049 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt132049/include/SceSfmt132049/exports.h b/src/emulator/modules/SceSfmt132049/include/SceSfmt132049/exports.h new file mode 100644 index 000000000..bc91c963a --- /dev/null +++ b/src/emulator/modules/SceSfmt132049/include/SceSfmt132049/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt132049 +BRIDGE_DECL(sceSfmt132049FillArray32) +BRIDGE_DECL(sceSfmt132049FillArray64) +BRIDGE_DECL(sceSfmt132049GenRand32) +BRIDGE_DECL(sceSfmt132049GenRand64) +BRIDGE_DECL(sceSfmt132049InitByArray) +BRIDGE_DECL(sceSfmt132049InitGenRand) diff --git a/src/emulator/modules/SceSfmt132049/src/SceSfmt132049.cpp b/src/emulator/modules/SceSfmt132049/src/SceSfmt132049.cpp new file mode 100644 index 000000000..1a9d65342 --- /dev/null +++ b/src/emulator/modules/SceSfmt132049/src/SceSfmt132049.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt132049FillArray32) { + return unimplemented("sceSfmt132049FillArray32"); +} + +EXPORT(int, sceSfmt132049FillArray64) { + return unimplemented("sceSfmt132049FillArray64"); +} + +EXPORT(int, sceSfmt132049GenRand32) { + return unimplemented("sceSfmt132049GenRand32"); +} + +EXPORT(int, sceSfmt132049GenRand64) { + return unimplemented("sceSfmt132049GenRand64"); +} + +EXPORT(int, sceSfmt132049InitByArray) { + return unimplemented("sceSfmt132049InitByArray"); +} + +EXPORT(int, sceSfmt132049InitGenRand) { + return unimplemented("sceSfmt132049InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt132049FillArray32) +BRIDGE_IMPL(sceSfmt132049FillArray64) +BRIDGE_IMPL(sceSfmt132049GenRand32) +BRIDGE_IMPL(sceSfmt132049GenRand64) +BRIDGE_IMPL(sceSfmt132049InitByArray) +BRIDGE_IMPL(sceSfmt132049InitGenRand) diff --git a/src/emulator/modules/SceSfmt19937/CMakeLists.txt b/src/emulator/modules/SceSfmt19937/CMakeLists.txt new file mode 100644 index 000000000..9a625710e --- /dev/null +++ b/src/emulator/modules/SceSfmt19937/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt19937 STATIC include/SceSfmt19937/exports.h src/SceSfmt19937.cpp) +target_include_directories(SceSfmt19937 PUBLIC include) +target_link_libraries(SceSfmt19937 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt19937/include/SceSfmt19937/exports.h b/src/emulator/modules/SceSfmt19937/include/SceSfmt19937/exports.h new file mode 100644 index 000000000..21dbc730a --- /dev/null +++ b/src/emulator/modules/SceSfmt19937/include/SceSfmt19937/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt19937 +BRIDGE_DECL(sceSfmt19937FillArray32) +BRIDGE_DECL(sceSfmt19937FillArray64) +BRIDGE_DECL(sceSfmt19937GenRand32) +BRIDGE_DECL(sceSfmt19937GenRand64) +BRIDGE_DECL(sceSfmt19937InitByArray) +BRIDGE_DECL(sceSfmt19937InitGenRand) diff --git a/src/emulator/modules/SceSfmt19937/src/SceSfmt19937.cpp b/src/emulator/modules/SceSfmt19937/src/SceSfmt19937.cpp new file mode 100644 index 000000000..f01b6615a --- /dev/null +++ b/src/emulator/modules/SceSfmt19937/src/SceSfmt19937.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt19937FillArray32) { + return unimplemented("sceSfmt19937FillArray32"); +} + +EXPORT(int, sceSfmt19937FillArray64) { + return unimplemented("sceSfmt19937FillArray64"); +} + +EXPORT(int, sceSfmt19937GenRand32) { + return unimplemented("sceSfmt19937GenRand32"); +} + +EXPORT(int, sceSfmt19937GenRand64) { + return unimplemented("sceSfmt19937GenRand64"); +} + +EXPORT(int, sceSfmt19937InitByArray) { + return unimplemented("sceSfmt19937InitByArray"); +} + +EXPORT(int, sceSfmt19937InitGenRand) { + return unimplemented("sceSfmt19937InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt19937FillArray32) +BRIDGE_IMPL(sceSfmt19937FillArray64) +BRIDGE_IMPL(sceSfmt19937GenRand32) +BRIDGE_IMPL(sceSfmt19937GenRand64) +BRIDGE_IMPL(sceSfmt19937InitByArray) +BRIDGE_IMPL(sceSfmt19937InitGenRand) diff --git a/src/emulator/modules/SceSfmt216091/CMakeLists.txt b/src/emulator/modules/SceSfmt216091/CMakeLists.txt new file mode 100644 index 000000000..779bf6cee --- /dev/null +++ b/src/emulator/modules/SceSfmt216091/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt216091 STATIC include/SceSfmt216091/exports.h src/SceSfmt216091.cpp) +target_include_directories(SceSfmt216091 PUBLIC include) +target_link_libraries(SceSfmt216091 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt216091/include/SceSfmt216091/exports.h b/src/emulator/modules/SceSfmt216091/include/SceSfmt216091/exports.h new file mode 100644 index 000000000..28dd37eb6 --- /dev/null +++ b/src/emulator/modules/SceSfmt216091/include/SceSfmt216091/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt216091 +BRIDGE_DECL(sceSfmt216091FillArray32) +BRIDGE_DECL(sceSfmt216091FillArray64) +BRIDGE_DECL(sceSfmt216091GenRand32) +BRIDGE_DECL(sceSfmt216091GenRand64) +BRIDGE_DECL(sceSfmt216091InitByArray) +BRIDGE_DECL(sceSfmt216091InitGenRand) diff --git a/src/emulator/modules/SceSfmt216091/src/SceSfmt216091.cpp b/src/emulator/modules/SceSfmt216091/src/SceSfmt216091.cpp new file mode 100644 index 000000000..6af6ce1e2 --- /dev/null +++ b/src/emulator/modules/SceSfmt216091/src/SceSfmt216091.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt216091FillArray32) { + return unimplemented("sceSfmt216091FillArray32"); +} + +EXPORT(int, sceSfmt216091FillArray64) { + return unimplemented("sceSfmt216091FillArray64"); +} + +EXPORT(int, sceSfmt216091GenRand32) { + return unimplemented("sceSfmt216091GenRand32"); +} + +EXPORT(int, sceSfmt216091GenRand64) { + return unimplemented("sceSfmt216091GenRand64"); +} + +EXPORT(int, sceSfmt216091InitByArray) { + return unimplemented("sceSfmt216091InitByArray"); +} + +EXPORT(int, sceSfmt216091InitGenRand) { + return unimplemented("sceSfmt216091InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt216091FillArray32) +BRIDGE_IMPL(sceSfmt216091FillArray64) +BRIDGE_IMPL(sceSfmt216091GenRand32) +BRIDGE_IMPL(sceSfmt216091GenRand64) +BRIDGE_IMPL(sceSfmt216091InitByArray) +BRIDGE_IMPL(sceSfmt216091InitGenRand) diff --git a/src/emulator/modules/SceSfmt2281/CMakeLists.txt b/src/emulator/modules/SceSfmt2281/CMakeLists.txt new file mode 100644 index 000000000..b3a5a0252 --- /dev/null +++ b/src/emulator/modules/SceSfmt2281/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt2281 STATIC include/SceSfmt2281/exports.h src/SceSfmt2281.cpp) +target_include_directories(SceSfmt2281 PUBLIC include) +target_link_libraries(SceSfmt2281 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt2281/include/SceSfmt2281/exports.h b/src/emulator/modules/SceSfmt2281/include/SceSfmt2281/exports.h new file mode 100644 index 000000000..e256d0621 --- /dev/null +++ b/src/emulator/modules/SceSfmt2281/include/SceSfmt2281/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt2281 +BRIDGE_DECL(sceSfmt2281FillArray32) +BRIDGE_DECL(sceSfmt2281FillArray64) +BRIDGE_DECL(sceSfmt2281GenRand32) +BRIDGE_DECL(sceSfmt2281GenRand64) +BRIDGE_DECL(sceSfmt2281InitByArray) +BRIDGE_DECL(sceSfmt2281InitGenRand) diff --git a/src/emulator/modules/SceSfmt2281/src/SceSfmt2281.cpp b/src/emulator/modules/SceSfmt2281/src/SceSfmt2281.cpp new file mode 100644 index 000000000..42f9075a4 --- /dev/null +++ b/src/emulator/modules/SceSfmt2281/src/SceSfmt2281.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt2281FillArray32) { + return unimplemented("sceSfmt2281FillArray32"); +} + +EXPORT(int, sceSfmt2281FillArray64) { + return unimplemented("sceSfmt2281FillArray64"); +} + +EXPORT(int, sceSfmt2281GenRand32) { + return unimplemented("sceSfmt2281GenRand32"); +} + +EXPORT(int, sceSfmt2281GenRand64) { + return unimplemented("sceSfmt2281GenRand64"); +} + +EXPORT(int, sceSfmt2281InitByArray) { + return unimplemented("sceSfmt2281InitByArray"); +} + +EXPORT(int, sceSfmt2281InitGenRand) { + return unimplemented("sceSfmt2281InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt2281FillArray32) +BRIDGE_IMPL(sceSfmt2281FillArray64) +BRIDGE_IMPL(sceSfmt2281GenRand32) +BRIDGE_IMPL(sceSfmt2281GenRand64) +BRIDGE_IMPL(sceSfmt2281InitByArray) +BRIDGE_IMPL(sceSfmt2281InitGenRand) diff --git a/src/emulator/modules/SceSfmt4253/CMakeLists.txt b/src/emulator/modules/SceSfmt4253/CMakeLists.txt new file mode 100644 index 000000000..696b4a5d8 --- /dev/null +++ b/src/emulator/modules/SceSfmt4253/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt4253 STATIC include/SceSfmt4253/exports.h src/SceSfmt4253.cpp) +target_include_directories(SceSfmt4253 PUBLIC include) +target_link_libraries(SceSfmt4253 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt4253/include/SceSfmt4253/exports.h b/src/emulator/modules/SceSfmt4253/include/SceSfmt4253/exports.h new file mode 100644 index 000000000..2a5cccf6a --- /dev/null +++ b/src/emulator/modules/SceSfmt4253/include/SceSfmt4253/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt4253 +BRIDGE_DECL(sceSfmt4253FillArray32) +BRIDGE_DECL(sceSfmt4253FillArray64) +BRIDGE_DECL(sceSfmt4253GenRand32) +BRIDGE_DECL(sceSfmt4253GenRand64) +BRIDGE_DECL(sceSfmt4253InitByArray) +BRIDGE_DECL(sceSfmt4253InitGenRand) diff --git a/src/emulator/modules/SceSfmt4253/src/SceSfmt4253.cpp b/src/emulator/modules/SceSfmt4253/src/SceSfmt4253.cpp new file mode 100644 index 000000000..8bfb64952 --- /dev/null +++ b/src/emulator/modules/SceSfmt4253/src/SceSfmt4253.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt4253FillArray32) { + return unimplemented("sceSfmt4253FillArray32"); +} + +EXPORT(int, sceSfmt4253FillArray64) { + return unimplemented("sceSfmt4253FillArray64"); +} + +EXPORT(int, sceSfmt4253GenRand32) { + return unimplemented("sceSfmt4253GenRand32"); +} + +EXPORT(int, sceSfmt4253GenRand64) { + return unimplemented("sceSfmt4253GenRand64"); +} + +EXPORT(int, sceSfmt4253InitByArray) { + return unimplemented("sceSfmt4253InitByArray"); +} + +EXPORT(int, sceSfmt4253InitGenRand) { + return unimplemented("sceSfmt4253InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt4253FillArray32) +BRIDGE_IMPL(sceSfmt4253FillArray64) +BRIDGE_IMPL(sceSfmt4253GenRand32) +BRIDGE_IMPL(sceSfmt4253GenRand64) +BRIDGE_IMPL(sceSfmt4253InitByArray) +BRIDGE_IMPL(sceSfmt4253InitGenRand) diff --git a/src/emulator/modules/SceSfmt44497/CMakeLists.txt b/src/emulator/modules/SceSfmt44497/CMakeLists.txt new file mode 100644 index 000000000..e49c954df --- /dev/null +++ b/src/emulator/modules/SceSfmt44497/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt44497 STATIC include/SceSfmt44497/exports.h src/SceSfmt44497.cpp) +target_include_directories(SceSfmt44497 PUBLIC include) +target_link_libraries(SceSfmt44497 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt44497/include/SceSfmt44497/exports.h b/src/emulator/modules/SceSfmt44497/include/SceSfmt44497/exports.h new file mode 100644 index 000000000..09aaa5ea2 --- /dev/null +++ b/src/emulator/modules/SceSfmt44497/include/SceSfmt44497/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt44497 +BRIDGE_DECL(sceSfmt44497FillArray32) +BRIDGE_DECL(sceSfmt44497FillArray64) +BRIDGE_DECL(sceSfmt44497GenRand32) +BRIDGE_DECL(sceSfmt44497GenRand64) +BRIDGE_DECL(sceSfmt44497InitByArray) +BRIDGE_DECL(sceSfmt44497InitGenRand) diff --git a/src/emulator/modules/SceSfmt44497/src/SceSfmt44497.cpp b/src/emulator/modules/SceSfmt44497/src/SceSfmt44497.cpp new file mode 100644 index 000000000..adbb6cc81 --- /dev/null +++ b/src/emulator/modules/SceSfmt44497/src/SceSfmt44497.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt44497FillArray32) { + return unimplemented("sceSfmt44497FillArray32"); +} + +EXPORT(int, sceSfmt44497FillArray64) { + return unimplemented("sceSfmt44497FillArray64"); +} + +EXPORT(int, sceSfmt44497GenRand32) { + return unimplemented("sceSfmt44497GenRand32"); +} + +EXPORT(int, sceSfmt44497GenRand64) { + return unimplemented("sceSfmt44497GenRand64"); +} + +EXPORT(int, sceSfmt44497InitByArray) { + return unimplemented("sceSfmt44497InitByArray"); +} + +EXPORT(int, sceSfmt44497InitGenRand) { + return unimplemented("sceSfmt44497InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt44497FillArray32) +BRIDGE_IMPL(sceSfmt44497FillArray64) +BRIDGE_IMPL(sceSfmt44497GenRand32) +BRIDGE_IMPL(sceSfmt44497GenRand64) +BRIDGE_IMPL(sceSfmt44497InitByArray) +BRIDGE_IMPL(sceSfmt44497InitGenRand) diff --git a/src/emulator/modules/SceSfmt607/CMakeLists.txt b/src/emulator/modules/SceSfmt607/CMakeLists.txt new file mode 100644 index 000000000..672fe7ef3 --- /dev/null +++ b/src/emulator/modules/SceSfmt607/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt607 STATIC include/SceSfmt607/exports.h src/SceSfmt607.cpp) +target_include_directories(SceSfmt607 PUBLIC include) +target_link_libraries(SceSfmt607 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt607/include/SceSfmt607/exports.h b/src/emulator/modules/SceSfmt607/include/SceSfmt607/exports.h new file mode 100644 index 000000000..efc7fbd46 --- /dev/null +++ b/src/emulator/modules/SceSfmt607/include/SceSfmt607/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt607 +BRIDGE_DECL(sceSfmt607FillArray32) +BRIDGE_DECL(sceSfmt607FillArray64) +BRIDGE_DECL(sceSfmt607GenRand32) +BRIDGE_DECL(sceSfmt607GenRand64) +BRIDGE_DECL(sceSfmt607InitByArray) +BRIDGE_DECL(sceSfmt607InitGenRand) diff --git a/src/emulator/modules/SceSfmt607/src/SceSfmt607.cpp b/src/emulator/modules/SceSfmt607/src/SceSfmt607.cpp new file mode 100644 index 000000000..d135e0632 --- /dev/null +++ b/src/emulator/modules/SceSfmt607/src/SceSfmt607.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt607FillArray32) { + return unimplemented("sceSfmt607FillArray32"); +} + +EXPORT(int, sceSfmt607FillArray64) { + return unimplemented("sceSfmt607FillArray64"); +} + +EXPORT(int, sceSfmt607GenRand32) { + return unimplemented("sceSfmt607GenRand32"); +} + +EXPORT(int, sceSfmt607GenRand64) { + return unimplemented("sceSfmt607GenRand64"); +} + +EXPORT(int, sceSfmt607InitByArray) { + return unimplemented("sceSfmt607InitByArray"); +} + +EXPORT(int, sceSfmt607InitGenRand) { + return unimplemented("sceSfmt607InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt607FillArray32) +BRIDGE_IMPL(sceSfmt607FillArray64) +BRIDGE_IMPL(sceSfmt607GenRand32) +BRIDGE_IMPL(sceSfmt607GenRand64) +BRIDGE_IMPL(sceSfmt607InitByArray) +BRIDGE_IMPL(sceSfmt607InitGenRand) diff --git a/src/emulator/modules/SceSfmt86243/CMakeLists.txt b/src/emulator/modules/SceSfmt86243/CMakeLists.txt new file mode 100644 index 000000000..a099163a1 --- /dev/null +++ b/src/emulator/modules/SceSfmt86243/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSfmt86243 STATIC include/SceSfmt86243/exports.h src/SceSfmt86243.cpp) +target_include_directories(SceSfmt86243 PUBLIC include) +target_link_libraries(SceSfmt86243 PRIVATE module) diff --git a/src/emulator/modules/SceSfmt86243/include/SceSfmt86243/exports.h b/src/emulator/modules/SceSfmt86243/include/SceSfmt86243/exports.h new file mode 100644 index 000000000..888e918b9 --- /dev/null +++ b/src/emulator/modules/SceSfmt86243/include/SceSfmt86243/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSfmt86243 +BRIDGE_DECL(sceSfmt86243FillArray32) +BRIDGE_DECL(sceSfmt86243FillArray64) +BRIDGE_DECL(sceSfmt86243GenRand32) +BRIDGE_DECL(sceSfmt86243GenRand64) +BRIDGE_DECL(sceSfmt86243InitByArray) +BRIDGE_DECL(sceSfmt86243InitGenRand) diff --git a/src/emulator/modules/SceSfmt86243/src/SceSfmt86243.cpp b/src/emulator/modules/SceSfmt86243/src/SceSfmt86243.cpp new file mode 100644 index 000000000..91e14144d --- /dev/null +++ b/src/emulator/modules/SceSfmt86243/src/SceSfmt86243.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSfmt86243FillArray32) { + return unimplemented("sceSfmt86243FillArray32"); +} + +EXPORT(int, sceSfmt86243FillArray64) { + return unimplemented("sceSfmt86243FillArray64"); +} + +EXPORT(int, sceSfmt86243GenRand32) { + return unimplemented("sceSfmt86243GenRand32"); +} + +EXPORT(int, sceSfmt86243GenRand64) { + return unimplemented("sceSfmt86243GenRand64"); +} + +EXPORT(int, sceSfmt86243InitByArray) { + return unimplemented("sceSfmt86243InitByArray"); +} + +EXPORT(int, sceSfmt86243InitGenRand) { + return unimplemented("sceSfmt86243InitGenRand"); +} + +BRIDGE_IMPL(sceSfmt86243FillArray32) +BRIDGE_IMPL(sceSfmt86243FillArray64) +BRIDGE_IMPL(sceSfmt86243GenRand32) +BRIDGE_IMPL(sceSfmt86243GenRand64) +BRIDGE_IMPL(sceSfmt86243InitByArray) +BRIDGE_IMPL(sceSfmt86243InitGenRand) diff --git a/src/emulator/modules/SceSha0/CMakeLists.txt b/src/emulator/modules/SceSha0/CMakeLists.txt new file mode 100644 index 000000000..b51d58c18 --- /dev/null +++ b/src/emulator/modules/SceSha0/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha0 STATIC include/SceSha0/exports.h src/SceSha0.cpp) +target_include_directories(SceSha0 PUBLIC include) +target_link_libraries(SceSha0 PRIVATE module) diff --git a/src/emulator/modules/SceSha0/include/SceSha0/exports.h b/src/emulator/modules/SceSha0/include/SceSha0/exports.h new file mode 100644 index 000000000..a5264c1db --- /dev/null +++ b/src/emulator/modules/SceSha0/include/SceSha0/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha0 +BRIDGE_DECL(sceSha0BlockInit) +BRIDGE_DECL(sceSha0BlockResult) +BRIDGE_DECL(sceSha0BlockUpdate) +BRIDGE_DECL(sceSha0Digest) diff --git a/src/emulator/modules/SceSha0/src/SceSha0.cpp b/src/emulator/modules/SceSha0/src/SceSha0.cpp new file mode 100644 index 000000000..a01718bc5 --- /dev/null +++ b/src/emulator/modules/SceSha0/src/SceSha0.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha0BlockInit) { + return unimplemented("sceSha0BlockInit"); +} + +EXPORT(int, sceSha0BlockResult) { + return unimplemented("sceSha0BlockResult"); +} + +EXPORT(int, sceSha0BlockUpdate) { + return unimplemented("sceSha0BlockUpdate"); +} + +EXPORT(int, sceSha0Digest) { + return unimplemented("sceSha0Digest"); +} + +BRIDGE_IMPL(sceSha0BlockInit) +BRIDGE_IMPL(sceSha0BlockResult) +BRIDGE_IMPL(sceSha0BlockUpdate) +BRIDGE_IMPL(sceSha0Digest) diff --git a/src/emulator/modules/SceSha1/CMakeLists.txt b/src/emulator/modules/SceSha1/CMakeLists.txt new file mode 100644 index 000000000..48c984f7b --- /dev/null +++ b/src/emulator/modules/SceSha1/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha1 STATIC include/SceSha1/exports.h src/SceSha1.cpp) +target_include_directories(SceSha1 PUBLIC include) +target_link_libraries(SceSha1 PRIVATE module) diff --git a/src/emulator/modules/SceSha1/include/SceSha1/exports.h b/src/emulator/modules/SceSha1/include/SceSha1/exports.h new file mode 100644 index 000000000..1a1556048 --- /dev/null +++ b/src/emulator/modules/SceSha1/include/SceSha1/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha1 +BRIDGE_DECL(sceSha1BlockInit) +BRIDGE_DECL(sceSha1BlockResult) +BRIDGE_DECL(sceSha1BlockUpdate) +BRIDGE_DECL(sceSha1Digest) diff --git a/src/emulator/modules/SceSha1/src/SceSha1.cpp b/src/emulator/modules/SceSha1/src/SceSha1.cpp new file mode 100644 index 000000000..5c1425c38 --- /dev/null +++ b/src/emulator/modules/SceSha1/src/SceSha1.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha1BlockInit) { + return unimplemented("sceSha1BlockInit"); +} + +EXPORT(int, sceSha1BlockResult) { + return unimplemented("sceSha1BlockResult"); +} + +EXPORT(int, sceSha1BlockUpdate) { + return unimplemented("sceSha1BlockUpdate"); +} + +EXPORT(int, sceSha1Digest) { + return unimplemented("sceSha1Digest"); +} + +BRIDGE_IMPL(sceSha1BlockInit) +BRIDGE_IMPL(sceSha1BlockResult) +BRIDGE_IMPL(sceSha1BlockUpdate) +BRIDGE_IMPL(sceSha1Digest) diff --git a/src/emulator/modules/SceSha224/CMakeLists.txt b/src/emulator/modules/SceSha224/CMakeLists.txt new file mode 100644 index 000000000..ea8c10aa2 --- /dev/null +++ b/src/emulator/modules/SceSha224/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha224 STATIC include/SceSha224/exports.h src/SceSha224.cpp) +target_include_directories(SceSha224 PUBLIC include) +target_link_libraries(SceSha224 PRIVATE module) diff --git a/src/emulator/modules/SceSha224/include/SceSha224/exports.h b/src/emulator/modules/SceSha224/include/SceSha224/exports.h new file mode 100644 index 000000000..37eb5d596 --- /dev/null +++ b/src/emulator/modules/SceSha224/include/SceSha224/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha224 +BRIDGE_DECL(sceSha224BlockInit) +BRIDGE_DECL(sceSha224BlockResult) +BRIDGE_DECL(sceSha224BlockUpdate) +BRIDGE_DECL(sceSha224Digest) diff --git a/src/emulator/modules/SceSha224/src/SceSha224.cpp b/src/emulator/modules/SceSha224/src/SceSha224.cpp new file mode 100644 index 000000000..1d5365798 --- /dev/null +++ b/src/emulator/modules/SceSha224/src/SceSha224.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha224BlockInit) { + return unimplemented("sceSha224BlockInit"); +} + +EXPORT(int, sceSha224BlockResult) { + return unimplemented("sceSha224BlockResult"); +} + +EXPORT(int, sceSha224BlockUpdate) { + return unimplemented("sceSha224BlockUpdate"); +} + +EXPORT(int, sceSha224Digest) { + return unimplemented("sceSha224Digest"); +} + +BRIDGE_IMPL(sceSha224BlockInit) +BRIDGE_IMPL(sceSha224BlockResult) +BRIDGE_IMPL(sceSha224BlockUpdate) +BRIDGE_IMPL(sceSha224Digest) diff --git a/src/emulator/modules/SceSha256/CMakeLists.txt b/src/emulator/modules/SceSha256/CMakeLists.txt new file mode 100644 index 000000000..77bf8021d --- /dev/null +++ b/src/emulator/modules/SceSha256/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha256 STATIC include/SceSha256/exports.h src/SceSha256.cpp) +target_include_directories(SceSha256 PUBLIC include) +target_link_libraries(SceSha256 PRIVATE module) diff --git a/src/emulator/modules/SceSha256/include/SceSha256/exports.h b/src/emulator/modules/SceSha256/include/SceSha256/exports.h new file mode 100644 index 000000000..91351818f --- /dev/null +++ b/src/emulator/modules/SceSha256/include/SceSha256/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha256 +BRIDGE_DECL(sceSha256BlockInit) +BRIDGE_DECL(sceSha256BlockResult) +BRIDGE_DECL(sceSha256BlockUpdate) +BRIDGE_DECL(sceSha256Digest) diff --git a/src/emulator/modules/SceSha256/src/SceSha256.cpp b/src/emulator/modules/SceSha256/src/SceSha256.cpp new file mode 100644 index 000000000..3fdc91781 --- /dev/null +++ b/src/emulator/modules/SceSha256/src/SceSha256.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha256BlockInit) { + return unimplemented("sceSha256BlockInit"); +} + +EXPORT(int, sceSha256BlockResult) { + return unimplemented("sceSha256BlockResult"); +} + +EXPORT(int, sceSha256BlockUpdate) { + return unimplemented("sceSha256BlockUpdate"); +} + +EXPORT(int, sceSha256Digest) { + return unimplemented("sceSha256Digest"); +} + +BRIDGE_IMPL(sceSha256BlockInit) +BRIDGE_IMPL(sceSha256BlockResult) +BRIDGE_IMPL(sceSha256BlockUpdate) +BRIDGE_IMPL(sceSha256Digest) diff --git a/src/emulator/modules/SceSha384/CMakeLists.txt b/src/emulator/modules/SceSha384/CMakeLists.txt new file mode 100644 index 000000000..fab11bb70 --- /dev/null +++ b/src/emulator/modules/SceSha384/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha384 STATIC include/SceSha384/exports.h src/SceSha384.cpp) +target_include_directories(SceSha384 PUBLIC include) +target_link_libraries(SceSha384 PRIVATE module) diff --git a/src/emulator/modules/SceSha384/include/SceSha384/exports.h b/src/emulator/modules/SceSha384/include/SceSha384/exports.h new file mode 100644 index 000000000..cde814ec5 --- /dev/null +++ b/src/emulator/modules/SceSha384/include/SceSha384/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha384 +BRIDGE_DECL(sceSha384BlockInit) +BRIDGE_DECL(sceSha384BlockResult) +BRIDGE_DECL(sceSha384BlockUpdate) +BRIDGE_DECL(sceSha384Digest) diff --git a/src/emulator/modules/SceSha384/src/SceSha384.cpp b/src/emulator/modules/SceSha384/src/SceSha384.cpp new file mode 100644 index 000000000..d38e4edce --- /dev/null +++ b/src/emulator/modules/SceSha384/src/SceSha384.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha384BlockInit) { + return unimplemented("sceSha384BlockInit"); +} + +EXPORT(int, sceSha384BlockResult) { + return unimplemented("sceSha384BlockResult"); +} + +EXPORT(int, sceSha384BlockUpdate) { + return unimplemented("sceSha384BlockUpdate"); +} + +EXPORT(int, sceSha384Digest) { + return unimplemented("sceSha384Digest"); +} + +BRIDGE_IMPL(sceSha384BlockInit) +BRIDGE_IMPL(sceSha384BlockResult) +BRIDGE_IMPL(sceSha384BlockUpdate) +BRIDGE_IMPL(sceSha384Digest) diff --git a/src/emulator/modules/SceSha512/CMakeLists.txt b/src/emulator/modules/SceSha512/CMakeLists.txt new file mode 100644 index 000000000..917b5db61 --- /dev/null +++ b/src/emulator/modules/SceSha512/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha512 STATIC include/SceSha512/exports.h src/SceSha512.cpp) +target_include_directories(SceSha512 PUBLIC include) +target_link_libraries(SceSha512 PRIVATE module) diff --git a/src/emulator/modules/SceSha512/include/SceSha512/exports.h b/src/emulator/modules/SceSha512/include/SceSha512/exports.h new file mode 100644 index 000000000..c3c3bbd0d --- /dev/null +++ b/src/emulator/modules/SceSha512/include/SceSha512/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha512 +BRIDGE_DECL(sceSha512BlockInit) +BRIDGE_DECL(sceSha512BlockResult) +BRIDGE_DECL(sceSha512BlockUpdate) +BRIDGE_DECL(sceSha512Digest) diff --git a/src/emulator/modules/SceSha512/src/SceSha512.cpp b/src/emulator/modules/SceSha512/src/SceSha512.cpp new file mode 100644 index 000000000..b4145c870 --- /dev/null +++ b/src/emulator/modules/SceSha512/src/SceSha512.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha512BlockInit) { + return unimplemented("sceSha512BlockInit"); +} + +EXPORT(int, sceSha512BlockResult) { + return unimplemented("sceSha512BlockResult"); +} + +EXPORT(int, sceSha512BlockUpdate) { + return unimplemented("sceSha512BlockUpdate"); +} + +EXPORT(int, sceSha512Digest) { + return unimplemented("sceSha512Digest"); +} + +BRIDGE_IMPL(sceSha512BlockInit) +BRIDGE_IMPL(sceSha512BlockResult) +BRIDGE_IMPL(sceSha512BlockUpdate) +BRIDGE_IMPL(sceSha512Digest) diff --git a/src/emulator/modules/SceSha512t/CMakeLists.txt b/src/emulator/modules/SceSha512t/CMakeLists.txt new file mode 100644 index 000000000..9f5dee45c --- /dev/null +++ b/src/emulator/modules/SceSha512t/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSha512t STATIC include/SceSha512t/exports.h src/SceSha512t.cpp) +target_include_directories(SceSha512t PUBLIC include) +target_link_libraries(SceSha512t PRIVATE module) diff --git a/src/emulator/modules/SceSha512t/include/SceSha512t/exports.h b/src/emulator/modules/SceSha512t/include/SceSha512t/exports.h new file mode 100644 index 000000000..91cf2a73f --- /dev/null +++ b/src/emulator/modules/SceSha512t/include/SceSha512t/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSha512t +BRIDGE_DECL(sceSha512tBlockInit) +BRIDGE_DECL(sceSha512tBlockResult) +BRIDGE_DECL(sceSha512tBlockUpdate) +BRIDGE_DECL(sceSha512tDigest) diff --git a/src/emulator/modules/SceSha512t/src/SceSha512t.cpp b/src/emulator/modules/SceSha512t/src/SceSha512t.cpp new file mode 100644 index 000000000..c8faf3a02 --- /dev/null +++ b/src/emulator/modules/SceSha512t/src/SceSha512t.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSha512tBlockInit) { + return unimplemented("sceSha512tBlockInit"); +} + +EXPORT(int, sceSha512tBlockResult) { + return unimplemented("sceSha512tBlockResult"); +} + +EXPORT(int, sceSha512tBlockUpdate) { + return unimplemented("sceSha512tBlockUpdate"); +} + +EXPORT(int, sceSha512tDigest) { + return unimplemented("sceSha512tDigest"); +} + +BRIDGE_IMPL(sceSha512tBlockInit) +BRIDGE_IMPL(sceSha512tBlockResult) +BRIDGE_IMPL(sceSha512tBlockUpdate) +BRIDGE_IMPL(sceSha512tDigest) diff --git a/src/emulator/modules/SceShellSvc/CMakeLists.txt b/src/emulator/modules/SceShellSvc/CMakeLists.txt new file mode 100644 index 000000000..c6bfa5bde --- /dev/null +++ b/src/emulator/modules/SceShellSvc/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceShellSvc STATIC include/SceShellSvc/exports.h src/SceShellUtil.cpp) +target_include_directories(SceShellSvc PUBLIC include) +target_link_libraries(SceShellSvc PRIVATE module) diff --git a/src/emulator/modules/SceShellSvc/include/SceShellSvc/exports.h b/src/emulator/modules/SceShellSvc/include/SceShellSvc/exports.h new file mode 100644 index 000000000..19afb9477 --- /dev/null +++ b/src/emulator/modules/SceShellSvc/include/SceShellSvc/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceShellUtil +BRIDGE_DECL(sceShellUtilInitEvents) +BRIDGE_DECL(sceShellUtilLock) +BRIDGE_DECL(sceShellUtilRegisterEventHandler) +BRIDGE_DECL(sceShellUtilUnlock) diff --git a/src/emulator/modules/SceShellSvc/src/SceShellUtil.cpp b/src/emulator/modules/SceShellSvc/src/SceShellUtil.cpp new file mode 100644 index 000000000..ecac6d417 --- /dev/null +++ b/src/emulator/modules/SceShellSvc/src/SceShellUtil.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceShellUtilInitEvents) { + return unimplemented("sceShellUtilInitEvents"); +} + +EXPORT(int, sceShellUtilLock) { + return unimplemented("sceShellUtilLock"); +} + +EXPORT(int, sceShellUtilRegisterEventHandler) { + return unimplemented("sceShellUtilRegisterEventHandler"); +} + +EXPORT(int, sceShellUtilUnlock) { + return unimplemented("sceShellUtilUnlock"); +} + +BRIDGE_IMPL(sceShellUtilInitEvents) +BRIDGE_IMPL(sceShellUtilLock) +BRIDGE_IMPL(sceShellUtilRegisterEventHandler) +BRIDGE_IMPL(sceShellUtilUnlock) diff --git a/src/emulator/modules/SceShutterSound/CMakeLists.txt b/src/emulator/modules/SceShutterSound/CMakeLists.txt new file mode 100644 index 000000000..eb63c0774 --- /dev/null +++ b/src/emulator/modules/SceShutterSound/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceShutterSound STATIC include/SceShutterSound/exports.h src/SceShutterSound.cpp) +target_include_directories(SceShutterSound PUBLIC include) +target_link_libraries(SceShutterSound PRIVATE module) diff --git a/src/emulator/modules/SceShutterSound/include/SceShutterSound/exports.h b/src/emulator/modules/SceShutterSound/include/SceShutterSound/exports.h new file mode 100644 index 000000000..38f290725 --- /dev/null +++ b/src/emulator/modules/SceShutterSound/include/SceShutterSound/exports.h @@ -0,0 +1,23 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceShutterSound +BRIDGE_DECL(sceShutterSoundPlay) diff --git a/src/emulator/modules/SceShutterSound/src/SceShutterSound.cpp b/src/emulator/modules/SceShutterSound/src/SceShutterSound.cpp new file mode 100644 index 000000000..88e261e50 --- /dev/null +++ b/src/emulator/modules/SceShutterSound/src/SceShutterSound.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceShutterSoundPlay) { + return unimplemented("sceShutterSoundPlay"); +} + +BRIDGE_IMPL(sceShutterSoundPlay) diff --git a/src/emulator/modules/SceSmart/CMakeLists.txt b/src/emulator/modules/SceSmart/CMakeLists.txt new file mode 100644 index 000000000..6f83e26d2 --- /dev/null +++ b/src/emulator/modules/SceSmart/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSmart STATIC include/SceSmart/exports.h src/SceSmart.cpp) +target_include_directories(SceSmart PUBLIC include) +target_link_libraries(SceSmart PRIVATE module) diff --git a/src/emulator/modules/SceSmart/include/SceSmart/exports.h b/src/emulator/modules/SceSmart/include/SceSmart/exports.h new file mode 100644 index 000000000..bb37214e9 --- /dev/null +++ b/src/emulator/modules/SceSmart/include/SceSmart/exports.h @@ -0,0 +1,62 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSmart +BRIDGE_DECL(sceSmartCreateLearnedImageTarget) +BRIDGE_DECL(sceSmartDestroyTarget) +BRIDGE_DECL(sceSmartGetTargetInfo) +BRIDGE_DECL(sceSmartInit) +BRIDGE_DECL(sceSmartRelease) +BRIDGE_DECL(sceSmartSceneMappingDispatchAndQuery) +BRIDGE_DECL(sceSmartSceneMappingDispatchAndQueryWithMask) +BRIDGE_DECL(sceSmartSceneMappingEnableMask) +BRIDGE_DECL(sceSmartSceneMappingFixMap) +BRIDGE_DECL(sceSmartSceneMappingForceLocalize) +BRIDGE_DECL(sceSmartSceneMappingGetInitializationPointInfo) +BRIDGE_DECL(sceSmartSceneMappingGetLandmarkInfo) +BRIDGE_DECL(sceSmartSceneMappingGetNodePointInfo) +BRIDGE_DECL(sceSmartSceneMappingGetNumInitializationPoints) +BRIDGE_DECL(sceSmartSceneMappingGetNumLandmarks) +BRIDGE_DECL(sceSmartSceneMappingGetNumNodePoints) +BRIDGE_DECL(sceSmartSceneMappingLoadMap) +BRIDGE_DECL(sceSmartSceneMappingPropagateResult) +BRIDGE_DECL(sceSmartSceneMappingRegisterTarget) +BRIDGE_DECL(sceSmartSceneMappingRemoveLandmark) +BRIDGE_DECL(sceSmartSceneMappingReset) +BRIDGE_DECL(sceSmartSceneMappingRun) +BRIDGE_DECL(sceSmartSceneMappingRunCore) +BRIDGE_DECL(sceSmartSceneMappingSaveMap) +BRIDGE_DECL(sceSmartSceneMappingSetDenseMapMode) +BRIDGE_DECL(sceSmartSceneMappingStart) +BRIDGE_DECL(sceSmartSceneMappingStop) +BRIDGE_DECL(sceSmartSceneMappingUnregisterTarget) +BRIDGE_DECL(sceSmartTargetTrackingDispatchAndQuery) +BRIDGE_DECL(sceSmartTargetTrackingGetResults) +BRIDGE_DECL(sceSmartTargetTrackingQuery) +BRIDGE_DECL(sceSmartTargetTrackingRegisterTarget) +BRIDGE_DECL(sceSmartTargetTrackingReset) +BRIDGE_DECL(sceSmartTargetTrackingRun) +BRIDGE_DECL(sceSmartTargetTrackingRun2) +BRIDGE_DECL(sceSmartTargetTrackingRunWorker) +BRIDGE_DECL(sceSmartTargetTrackingSetSearchPolicy) +BRIDGE_DECL(sceSmartTargetTrackingStart) +BRIDGE_DECL(sceSmartTargetTrackingStop) +BRIDGE_DECL(sceSmartTargetTrackingUnregisterTarget) diff --git a/src/emulator/modules/SceSmart/src/SceSmart.cpp b/src/emulator/modules/SceSmart/src/SceSmart.cpp new file mode 100644 index 000000000..cc93afd6e --- /dev/null +++ b/src/emulator/modules/SceSmart/src/SceSmart.cpp @@ -0,0 +1,219 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSmartCreateLearnedImageTarget) { + return unimplemented("sceSmartCreateLearnedImageTarget"); +} + +EXPORT(int, sceSmartDestroyTarget) { + return unimplemented("sceSmartDestroyTarget"); +} + +EXPORT(int, sceSmartGetTargetInfo) { + return unimplemented("sceSmartGetTargetInfo"); +} + +EXPORT(int, sceSmartInit) { + return unimplemented("sceSmartInit"); +} + +EXPORT(int, sceSmartRelease) { + return unimplemented("sceSmartRelease"); +} + +EXPORT(int, sceSmartSceneMappingDispatchAndQuery) { + return unimplemented("sceSmartSceneMappingDispatchAndQuery"); +} + +EXPORT(int, sceSmartSceneMappingDispatchAndQueryWithMask) { + return unimplemented("sceSmartSceneMappingDispatchAndQueryWithMask"); +} + +EXPORT(int, sceSmartSceneMappingEnableMask) { + return unimplemented("sceSmartSceneMappingEnableMask"); +} + +EXPORT(int, sceSmartSceneMappingFixMap) { + return unimplemented("sceSmartSceneMappingFixMap"); +} + +EXPORT(int, sceSmartSceneMappingForceLocalize) { + return unimplemented("sceSmartSceneMappingForceLocalize"); +} + +EXPORT(int, sceSmartSceneMappingGetInitializationPointInfo) { + return unimplemented("sceSmartSceneMappingGetInitializationPointInfo"); +} + +EXPORT(int, sceSmartSceneMappingGetLandmarkInfo) { + return unimplemented("sceSmartSceneMappingGetLandmarkInfo"); +} + +EXPORT(int, sceSmartSceneMappingGetNodePointInfo) { + return unimplemented("sceSmartSceneMappingGetNodePointInfo"); +} + +EXPORT(int, sceSmartSceneMappingGetNumInitializationPoints) { + return unimplemented("sceSmartSceneMappingGetNumInitializationPoints"); +} + +EXPORT(int, sceSmartSceneMappingGetNumLandmarks) { + return unimplemented("sceSmartSceneMappingGetNumLandmarks"); +} + +EXPORT(int, sceSmartSceneMappingGetNumNodePoints) { + return unimplemented("sceSmartSceneMappingGetNumNodePoints"); +} + +EXPORT(int, sceSmartSceneMappingLoadMap) { + return unimplemented("sceSmartSceneMappingLoadMap"); +} + +EXPORT(int, sceSmartSceneMappingPropagateResult) { + return unimplemented("sceSmartSceneMappingPropagateResult"); +} + +EXPORT(int, sceSmartSceneMappingRegisterTarget) { + return unimplemented("sceSmartSceneMappingRegisterTarget"); +} + +EXPORT(int, sceSmartSceneMappingRemoveLandmark) { + return unimplemented("sceSmartSceneMappingRemoveLandmark"); +} + +EXPORT(int, sceSmartSceneMappingReset) { + return unimplemented("sceSmartSceneMappingReset"); +} + +EXPORT(int, sceSmartSceneMappingRun) { + return unimplemented("sceSmartSceneMappingRun"); +} + +EXPORT(int, sceSmartSceneMappingRunCore) { + return unimplemented("sceSmartSceneMappingRunCore"); +} + +EXPORT(int, sceSmartSceneMappingSaveMap) { + return unimplemented("sceSmartSceneMappingSaveMap"); +} + +EXPORT(int, sceSmartSceneMappingSetDenseMapMode) { + return unimplemented("sceSmartSceneMappingSetDenseMapMode"); +} + +EXPORT(int, sceSmartSceneMappingStart) { + return unimplemented("sceSmartSceneMappingStart"); +} + +EXPORT(int, sceSmartSceneMappingStop) { + return unimplemented("sceSmartSceneMappingStop"); +} + +EXPORT(int, sceSmartSceneMappingUnregisterTarget) { + return unimplemented("sceSmartSceneMappingUnregisterTarget"); +} + +EXPORT(int, sceSmartTargetTrackingDispatchAndQuery) { + return unimplemented("sceSmartTargetTrackingDispatchAndQuery"); +} + +EXPORT(int, sceSmartTargetTrackingGetResults) { + return unimplemented("sceSmartTargetTrackingGetResults"); +} + +EXPORT(int, sceSmartTargetTrackingQuery) { + return unimplemented("sceSmartTargetTrackingQuery"); +} + +EXPORT(int, sceSmartTargetTrackingRegisterTarget) { + return unimplemented("sceSmartTargetTrackingRegisterTarget"); +} + +EXPORT(int, sceSmartTargetTrackingReset) { + return unimplemented("sceSmartTargetTrackingReset"); +} + +EXPORT(int, sceSmartTargetTrackingRun) { + return unimplemented("sceSmartTargetTrackingRun"); +} + +EXPORT(int, sceSmartTargetTrackingRun2) { + return unimplemented("sceSmartTargetTrackingRun2"); +} + +EXPORT(int, sceSmartTargetTrackingRunWorker) { + return unimplemented("sceSmartTargetTrackingRunWorker"); +} + +EXPORT(int, sceSmartTargetTrackingSetSearchPolicy) { + return unimplemented("sceSmartTargetTrackingSetSearchPolicy"); +} + +EXPORT(int, sceSmartTargetTrackingStart) { + return unimplemented("sceSmartTargetTrackingStart"); +} + +EXPORT(int, sceSmartTargetTrackingStop) { + return unimplemented("sceSmartTargetTrackingStop"); +} + +EXPORT(int, sceSmartTargetTrackingUnregisterTarget) { + return unimplemented("sceSmartTargetTrackingUnregisterTarget"); +} + +BRIDGE_IMPL(sceSmartCreateLearnedImageTarget) +BRIDGE_IMPL(sceSmartDestroyTarget) +BRIDGE_IMPL(sceSmartGetTargetInfo) +BRIDGE_IMPL(sceSmartInit) +BRIDGE_IMPL(sceSmartRelease) +BRIDGE_IMPL(sceSmartSceneMappingDispatchAndQuery) +BRIDGE_IMPL(sceSmartSceneMappingDispatchAndQueryWithMask) +BRIDGE_IMPL(sceSmartSceneMappingEnableMask) +BRIDGE_IMPL(sceSmartSceneMappingFixMap) +BRIDGE_IMPL(sceSmartSceneMappingForceLocalize) +BRIDGE_IMPL(sceSmartSceneMappingGetInitializationPointInfo) +BRIDGE_IMPL(sceSmartSceneMappingGetLandmarkInfo) +BRIDGE_IMPL(sceSmartSceneMappingGetNodePointInfo) +BRIDGE_IMPL(sceSmartSceneMappingGetNumInitializationPoints) +BRIDGE_IMPL(sceSmartSceneMappingGetNumLandmarks) +BRIDGE_IMPL(sceSmartSceneMappingGetNumNodePoints) +BRIDGE_IMPL(sceSmartSceneMappingLoadMap) +BRIDGE_IMPL(sceSmartSceneMappingPropagateResult) +BRIDGE_IMPL(sceSmartSceneMappingRegisterTarget) +BRIDGE_IMPL(sceSmartSceneMappingRemoveLandmark) +BRIDGE_IMPL(sceSmartSceneMappingReset) +BRIDGE_IMPL(sceSmartSceneMappingRun) +BRIDGE_IMPL(sceSmartSceneMappingRunCore) +BRIDGE_IMPL(sceSmartSceneMappingSaveMap) +BRIDGE_IMPL(sceSmartSceneMappingSetDenseMapMode) +BRIDGE_IMPL(sceSmartSceneMappingStart) +BRIDGE_IMPL(sceSmartSceneMappingStop) +BRIDGE_IMPL(sceSmartSceneMappingUnregisterTarget) +BRIDGE_IMPL(sceSmartTargetTrackingDispatchAndQuery) +BRIDGE_IMPL(sceSmartTargetTrackingGetResults) +BRIDGE_IMPL(sceSmartTargetTrackingQuery) +BRIDGE_IMPL(sceSmartTargetTrackingRegisterTarget) +BRIDGE_IMPL(sceSmartTargetTrackingReset) +BRIDGE_IMPL(sceSmartTargetTrackingRun) +BRIDGE_IMPL(sceSmartTargetTrackingRun2) +BRIDGE_IMPL(sceSmartTargetTrackingRunWorker) +BRIDGE_IMPL(sceSmartTargetTrackingSetSearchPolicy) +BRIDGE_IMPL(sceSmartTargetTrackingStart) +BRIDGE_IMPL(sceSmartTargetTrackingStop) +BRIDGE_IMPL(sceSmartTargetTrackingUnregisterTarget) diff --git a/src/emulator/modules/SceSqlite/CMakeLists.txt b/src/emulator/modules/SceSqlite/CMakeLists.txt new file mode 100644 index 000000000..223eac435 --- /dev/null +++ b/src/emulator/modules/SceSqlite/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSqlite STATIC include/SceSqlite/exports.h src/SceSqlite.cpp) +target_include_directories(SceSqlite PUBLIC include) +target_link_libraries(SceSqlite PRIVATE module) diff --git a/src/emulator/modules/SceSqlite/include/SceSqlite/exports.h b/src/emulator/modules/SceSqlite/include/SceSqlite/exports.h new file mode 100644 index 000000000..aaedd12ae --- /dev/null +++ b/src/emulator/modules/SceSqlite/include/SceSqlite/exports.h @@ -0,0 +1,195 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSqlite +BRIDGE_DECL(sceSqliteConfigMallocMethods) +BRIDGE_DECL(sqlite3_aggregate_context) +BRIDGE_DECL(sqlite3_aggregate_count) +BRIDGE_DECL(sqlite3_auto_extension) +BRIDGE_DECL(sqlite3_backup_finish) +BRIDGE_DECL(sqlite3_backup_init) +BRIDGE_DECL(sqlite3_backup_pagecount) +BRIDGE_DECL(sqlite3_backup_remaining) +BRIDGE_DECL(sqlite3_backup_step) +BRIDGE_DECL(sqlite3_bind_blob) +BRIDGE_DECL(sqlite3_bind_double) +BRIDGE_DECL(sqlite3_bind_int) +BRIDGE_DECL(sqlite3_bind_int64) +BRIDGE_DECL(sqlite3_bind_null) +BRIDGE_DECL(sqlite3_bind_parameter_count) +BRIDGE_DECL(sqlite3_bind_parameter_index) +BRIDGE_DECL(sqlite3_bind_parameter_name) +BRIDGE_DECL(sqlite3_bind_text) +BRIDGE_DECL(sqlite3_bind_text16) +BRIDGE_DECL(sqlite3_bind_value) +BRIDGE_DECL(sqlite3_bind_zeroblob) +BRIDGE_DECL(sqlite3_blob_bytes) +BRIDGE_DECL(sqlite3_blob_close) +BRIDGE_DECL(sqlite3_blob_open) +BRIDGE_DECL(sqlite3_blob_read) +BRIDGE_DECL(sqlite3_blob_write) +BRIDGE_DECL(sqlite3_busy_handler) +BRIDGE_DECL(sqlite3_busy_timeout) +BRIDGE_DECL(sqlite3_changes) +BRIDGE_DECL(sqlite3_clear_bindings) +BRIDGE_DECL(sqlite3_close) +BRIDGE_DECL(sqlite3_collation_needed) +BRIDGE_DECL(sqlite3_collation_needed16) +BRIDGE_DECL(sqlite3_column_blob) +BRIDGE_DECL(sqlite3_column_bytes) +BRIDGE_DECL(sqlite3_column_bytes16) +BRIDGE_DECL(sqlite3_column_count) +BRIDGE_DECL(sqlite3_column_decltype) +BRIDGE_DECL(sqlite3_column_decltype16) +BRIDGE_DECL(sqlite3_column_double) +BRIDGE_DECL(sqlite3_column_int) +BRIDGE_DECL(sqlite3_column_int64) +BRIDGE_DECL(sqlite3_column_name) +BRIDGE_DECL(sqlite3_column_name16) +BRIDGE_DECL(sqlite3_column_text) +BRIDGE_DECL(sqlite3_column_text16) +BRIDGE_DECL(sqlite3_column_type) +BRIDGE_DECL(sqlite3_column_value) +BRIDGE_DECL(sqlite3_commit_hook) +BRIDGE_DECL(sqlite3_complete) +BRIDGE_DECL(sqlite3_complete16) +BRIDGE_DECL(sqlite3_config) +BRIDGE_DECL(sqlite3_context_db_handle) +BRIDGE_DECL(sqlite3_create_collation) +BRIDGE_DECL(sqlite3_create_collation16) +BRIDGE_DECL(sqlite3_create_collation_v2) +BRIDGE_DECL(sqlite3_create_function) +BRIDGE_DECL(sqlite3_create_function16) +BRIDGE_DECL(sqlite3_create_module) +BRIDGE_DECL(sqlite3_create_module_v2) +BRIDGE_DECL(sqlite3_data_count) +BRIDGE_DECL(sqlite3_db_config) +BRIDGE_DECL(sqlite3_db_handle) +BRIDGE_DECL(sqlite3_db_mutex) +BRIDGE_DECL(sqlite3_db_status) +BRIDGE_DECL(sqlite3_declare_vtab) +BRIDGE_DECL(sqlite3_enable_load_extension) +BRIDGE_DECL(sqlite3_enable_shared_cache) +BRIDGE_DECL(sqlite3_errcode) +BRIDGE_DECL(sqlite3_errmsg) +BRIDGE_DECL(sqlite3_errmsg16) +BRIDGE_DECL(sqlite3_exec) +BRIDGE_DECL(sqlite3_expired) +BRIDGE_DECL(sqlite3_extended_errcode) +BRIDGE_DECL(sqlite3_extended_result_codes) +BRIDGE_DECL(sqlite3_file_control) +BRIDGE_DECL(sqlite3_finalize) +BRIDGE_DECL(sqlite3_free) +BRIDGE_DECL(sqlite3_free_table) +BRIDGE_DECL(sqlite3_get_autocommit) +BRIDGE_DECL(sqlite3_get_auxdata) +BRIDGE_DECL(sqlite3_get_table) +BRIDGE_DECL(sqlite3_global_recover) +BRIDGE_DECL(sqlite3_initialize) +BRIDGE_DECL(sqlite3_interrupt) +BRIDGE_DECL(sqlite3_last_insert_rowid) +BRIDGE_DECL(sqlite3_libversion) +BRIDGE_DECL(sqlite3_libversion_number) +BRIDGE_DECL(sqlite3_limit) +BRIDGE_DECL(sqlite3_load_extension) +BRIDGE_DECL(sqlite3_malloc) +BRIDGE_DECL(sqlite3_memory_alarm) +BRIDGE_DECL(sqlite3_memory_highwater) +BRIDGE_DECL(sqlite3_memory_used) +BRIDGE_DECL(sqlite3_mprintf) +BRIDGE_DECL(sqlite3_mutex_alloc) +BRIDGE_DECL(sqlite3_mutex_enter) +BRIDGE_DECL(sqlite3_mutex_free) +BRIDGE_DECL(sqlite3_mutex_leave) +BRIDGE_DECL(sqlite3_mutex_try) +BRIDGE_DECL(sqlite3_next_stmt) +BRIDGE_DECL(sqlite3_open) +BRIDGE_DECL(sqlite3_open16) +BRIDGE_DECL(sqlite3_open_v2) +BRIDGE_DECL(sqlite3_os_end) +BRIDGE_DECL(sqlite3_os_init) +BRIDGE_DECL(sqlite3_overload_function) +BRIDGE_DECL(sqlite3_prepare) +BRIDGE_DECL(sqlite3_prepare16) +BRIDGE_DECL(sqlite3_prepare16_v2) +BRIDGE_DECL(sqlite3_prepare_v2) +BRIDGE_DECL(sqlite3_profile) +BRIDGE_DECL(sqlite3_progress_handler) +BRIDGE_DECL(sqlite3_randomness) +BRIDGE_DECL(sqlite3_realloc) +BRIDGE_DECL(sqlite3_release_memory) +BRIDGE_DECL(sqlite3_reset) +BRIDGE_DECL(sqlite3_reset_auto_extension) +BRIDGE_DECL(sqlite3_result_blob) +BRIDGE_DECL(sqlite3_result_double) +BRIDGE_DECL(sqlite3_result_error) +BRIDGE_DECL(sqlite3_result_error16) +BRIDGE_DECL(sqlite3_result_error_code) +BRIDGE_DECL(sqlite3_result_error_nomem) +BRIDGE_DECL(sqlite3_result_error_toobig) +BRIDGE_DECL(sqlite3_result_int) +BRIDGE_DECL(sqlite3_result_int64) +BRIDGE_DECL(sqlite3_result_null) +BRIDGE_DECL(sqlite3_result_text) +BRIDGE_DECL(sqlite3_result_text16) +BRIDGE_DECL(sqlite3_result_text16be) +BRIDGE_DECL(sqlite3_result_text16le) +BRIDGE_DECL(sqlite3_result_value) +BRIDGE_DECL(sqlite3_result_zeroblob) +BRIDGE_DECL(sqlite3_rollback_hook) +BRIDGE_DECL(sqlite3_set_authorizer) +BRIDGE_DECL(sqlite3_set_auxdata) +BRIDGE_DECL(sqlite3_shutdown) +BRIDGE_DECL(sqlite3_sleep) +BRIDGE_DECL(sqlite3_snprintf) +BRIDGE_DECL(sqlite3_soft_heap_limit) +BRIDGE_DECL(sqlite3_sourceid) +BRIDGE_DECL(sqlite3_sql) +BRIDGE_DECL(sqlite3_status) +BRIDGE_DECL(sqlite3_step) +BRIDGE_DECL(sqlite3_stmt_status) +BRIDGE_DECL(sqlite3_strnicmp) +BRIDGE_DECL(sqlite3_temp_directory) +BRIDGE_DECL(sqlite3_test_control) +BRIDGE_DECL(sqlite3_thread_cleanup) +BRIDGE_DECL(sqlite3_threadsafe) +BRIDGE_DECL(sqlite3_total_changes) +BRIDGE_DECL(sqlite3_trace) +BRIDGE_DECL(sqlite3_transfer_bindings) +BRIDGE_DECL(sqlite3_update_hook) +BRIDGE_DECL(sqlite3_user_data) +BRIDGE_DECL(sqlite3_value_blob) +BRIDGE_DECL(sqlite3_value_bytes) +BRIDGE_DECL(sqlite3_value_bytes16) +BRIDGE_DECL(sqlite3_value_double) +BRIDGE_DECL(sqlite3_value_int) +BRIDGE_DECL(sqlite3_value_int64) +BRIDGE_DECL(sqlite3_value_numeric_type) +BRIDGE_DECL(sqlite3_value_text) +BRIDGE_DECL(sqlite3_value_text16) +BRIDGE_DECL(sqlite3_value_text16be) +BRIDGE_DECL(sqlite3_value_text16le) +BRIDGE_DECL(sqlite3_value_type) +BRIDGE_DECL(sqlite3_version) +BRIDGE_DECL(sqlite3_vfs_find) +BRIDGE_DECL(sqlite3_vfs_register) +BRIDGE_DECL(sqlite3_vfs_unregister) +BRIDGE_DECL(sqlite3_vmprintf) diff --git a/src/emulator/modules/SceSqlite/src/SceSqlite.cpp b/src/emulator/modules/SceSqlite/src/SceSqlite.cpp new file mode 100644 index 000000000..27903e3be --- /dev/null +++ b/src/emulator/modules/SceSqlite/src/SceSqlite.cpp @@ -0,0 +1,884 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSqliteConfigMallocMethods) { + return unimplemented("sceSqliteConfigMallocMethods"); +} + +EXPORT(int, sqlite3_aggregate_context) { + return unimplemented("sqlite3_aggregate_context"); +} + +EXPORT(int, sqlite3_aggregate_count) { + return unimplemented("sqlite3_aggregate_count"); +} + +EXPORT(int, sqlite3_auto_extension) { + return unimplemented("sqlite3_auto_extension"); +} + +EXPORT(int, sqlite3_backup_finish) { + return unimplemented("sqlite3_backup_finish"); +} + +EXPORT(int, sqlite3_backup_init) { + return unimplemented("sqlite3_backup_init"); +} + +EXPORT(int, sqlite3_backup_pagecount) { + return unimplemented("sqlite3_backup_pagecount"); +} + +EXPORT(int, sqlite3_backup_remaining) { + return unimplemented("sqlite3_backup_remaining"); +} + +EXPORT(int, sqlite3_backup_step) { + return unimplemented("sqlite3_backup_step"); +} + +EXPORT(int, sqlite3_bind_blob) { + return unimplemented("sqlite3_bind_blob"); +} + +EXPORT(int, sqlite3_bind_double) { + return unimplemented("sqlite3_bind_double"); +} + +EXPORT(int, sqlite3_bind_int) { + return unimplemented("sqlite3_bind_int"); +} + +EXPORT(int, sqlite3_bind_int64) { + return unimplemented("sqlite3_bind_int64"); +} + +EXPORT(int, sqlite3_bind_null) { + return unimplemented("sqlite3_bind_null"); +} + +EXPORT(int, sqlite3_bind_parameter_count) { + return unimplemented("sqlite3_bind_parameter_count"); +} + +EXPORT(int, sqlite3_bind_parameter_index) { + return unimplemented("sqlite3_bind_parameter_index"); +} + +EXPORT(int, sqlite3_bind_parameter_name) { + return unimplemented("sqlite3_bind_parameter_name"); +} + +EXPORT(int, sqlite3_bind_text) { + return unimplemented("sqlite3_bind_text"); +} + +EXPORT(int, sqlite3_bind_text16) { + return unimplemented("sqlite3_bind_text16"); +} + +EXPORT(int, sqlite3_bind_value) { + return unimplemented("sqlite3_bind_value"); +} + +EXPORT(int, sqlite3_bind_zeroblob) { + return unimplemented("sqlite3_bind_zeroblob"); +} + +EXPORT(int, sqlite3_blob_bytes) { + return unimplemented("sqlite3_blob_bytes"); +} + +EXPORT(int, sqlite3_blob_close) { + return unimplemented("sqlite3_blob_close"); +} + +EXPORT(int, sqlite3_blob_open) { + return unimplemented("sqlite3_blob_open"); +} + +EXPORT(int, sqlite3_blob_read) { + return unimplemented("sqlite3_blob_read"); +} + +EXPORT(int, sqlite3_blob_write) { + return unimplemented("sqlite3_blob_write"); +} + +EXPORT(int, sqlite3_busy_handler) { + return unimplemented("sqlite3_busy_handler"); +} + +EXPORT(int, sqlite3_busy_timeout) { + return unimplemented("sqlite3_busy_timeout"); +} + +EXPORT(int, sqlite3_changes) { + return unimplemented("sqlite3_changes"); +} + +EXPORT(int, sqlite3_clear_bindings) { + return unimplemented("sqlite3_clear_bindings"); +} + +EXPORT(int, sqlite3_close) { + return unimplemented("sqlite3_close"); +} + +EXPORT(int, sqlite3_collation_needed) { + return unimplemented("sqlite3_collation_needed"); +} + +EXPORT(int, sqlite3_collation_needed16) { + return unimplemented("sqlite3_collation_needed16"); +} + +EXPORT(int, sqlite3_column_blob) { + return unimplemented("sqlite3_column_blob"); +} + +EXPORT(int, sqlite3_column_bytes) { + return unimplemented("sqlite3_column_bytes"); +} + +EXPORT(int, sqlite3_column_bytes16) { + return unimplemented("sqlite3_column_bytes16"); +} + +EXPORT(int, sqlite3_column_count) { + return unimplemented("sqlite3_column_count"); +} + +EXPORT(int, sqlite3_column_decltype) { + return unimplemented("sqlite3_column_decltype"); +} + +EXPORT(int, sqlite3_column_decltype16) { + return unimplemented("sqlite3_column_decltype16"); +} + +EXPORT(int, sqlite3_column_double) { + return unimplemented("sqlite3_column_double"); +} + +EXPORT(int, sqlite3_column_int) { + return unimplemented("sqlite3_column_int"); +} + +EXPORT(int, sqlite3_column_int64) { + return unimplemented("sqlite3_column_int64"); +} + +EXPORT(int, sqlite3_column_name) { + return unimplemented("sqlite3_column_name"); +} + +EXPORT(int, sqlite3_column_name16) { + return unimplemented("sqlite3_column_name16"); +} + +EXPORT(int, sqlite3_column_text) { + return unimplemented("sqlite3_column_text"); +} + +EXPORT(int, sqlite3_column_text16) { + return unimplemented("sqlite3_column_text16"); +} + +EXPORT(int, sqlite3_column_type) { + return unimplemented("sqlite3_column_type"); +} + +EXPORT(int, sqlite3_column_value) { + return unimplemented("sqlite3_column_value"); +} + +EXPORT(int, sqlite3_commit_hook) { + return unimplemented("sqlite3_commit_hook"); +} + +EXPORT(int, sqlite3_complete) { + return unimplemented("sqlite3_complete"); +} + +EXPORT(int, sqlite3_complete16) { + return unimplemented("sqlite3_complete16"); +} + +EXPORT(int, sqlite3_config) { + return unimplemented("sqlite3_config"); +} + +EXPORT(int, sqlite3_context_db_handle) { + return unimplemented("sqlite3_context_db_handle"); +} + +EXPORT(int, sqlite3_create_collation) { + return unimplemented("sqlite3_create_collation"); +} + +EXPORT(int, sqlite3_create_collation16) { + return unimplemented("sqlite3_create_collation16"); +} + +EXPORT(int, sqlite3_create_collation_v2) { + return unimplemented("sqlite3_create_collation_v2"); +} + +EXPORT(int, sqlite3_create_function) { + return unimplemented("sqlite3_create_function"); +} + +EXPORT(int, sqlite3_create_function16) { + return unimplemented("sqlite3_create_function16"); +} + +EXPORT(int, sqlite3_create_module) { + return unimplemented("sqlite3_create_module"); +} + +EXPORT(int, sqlite3_create_module_v2) { + return unimplemented("sqlite3_create_module_v2"); +} + +EXPORT(int, sqlite3_data_count) { + return unimplemented("sqlite3_data_count"); +} + +EXPORT(int, sqlite3_db_config) { + return unimplemented("sqlite3_db_config"); +} + +EXPORT(int, sqlite3_db_handle) { + return unimplemented("sqlite3_db_handle"); +} + +EXPORT(int, sqlite3_db_mutex) { + return unimplemented("sqlite3_db_mutex"); +} + +EXPORT(int, sqlite3_db_status) { + return unimplemented("sqlite3_db_status"); +} + +EXPORT(int, sqlite3_declare_vtab) { + return unimplemented("sqlite3_declare_vtab"); +} + +EXPORT(int, sqlite3_enable_load_extension) { + return unimplemented("sqlite3_enable_load_extension"); +} + +EXPORT(int, sqlite3_enable_shared_cache) { + return unimplemented("sqlite3_enable_shared_cache"); +} + +EXPORT(int, sqlite3_errcode) { + return unimplemented("sqlite3_errcode"); +} + +EXPORT(int, sqlite3_errmsg) { + return unimplemented("sqlite3_errmsg"); +} + +EXPORT(int, sqlite3_errmsg16) { + return unimplemented("sqlite3_errmsg16"); +} + +EXPORT(int, sqlite3_exec) { + return unimplemented("sqlite3_exec"); +} + +EXPORT(int, sqlite3_expired) { + return unimplemented("sqlite3_expired"); +} + +EXPORT(int, sqlite3_extended_errcode) { + return unimplemented("sqlite3_extended_errcode"); +} + +EXPORT(int, sqlite3_extended_result_codes) { + return unimplemented("sqlite3_extended_result_codes"); +} + +EXPORT(int, sqlite3_file_control) { + return unimplemented("sqlite3_file_control"); +} + +EXPORT(int, sqlite3_finalize) { + return unimplemented("sqlite3_finalize"); +} + +EXPORT(int, sqlite3_free) { + return unimplemented("sqlite3_free"); +} + +EXPORT(int, sqlite3_free_table) { + return unimplemented("sqlite3_free_table"); +} + +EXPORT(int, sqlite3_get_autocommit) { + return unimplemented("sqlite3_get_autocommit"); +} + +EXPORT(int, sqlite3_get_auxdata) { + return unimplemented("sqlite3_get_auxdata"); +} + +EXPORT(int, sqlite3_get_table) { + return unimplemented("sqlite3_get_table"); +} + +EXPORT(int, sqlite3_global_recover) { + return unimplemented("sqlite3_global_recover"); +} + +EXPORT(int, sqlite3_initialize) { + return unimplemented("sqlite3_initialize"); +} + +EXPORT(int, sqlite3_interrupt) { + return unimplemented("sqlite3_interrupt"); +} + +EXPORT(int, sqlite3_last_insert_rowid) { + return unimplemented("sqlite3_last_insert_rowid"); +} + +EXPORT(int, sqlite3_libversion) { + return unimplemented("sqlite3_libversion"); +} + +EXPORT(int, sqlite3_libversion_number) { + return unimplemented("sqlite3_libversion_number"); +} + +EXPORT(int, sqlite3_limit) { + return unimplemented("sqlite3_limit"); +} + +EXPORT(int, sqlite3_load_extension) { + return unimplemented("sqlite3_load_extension"); +} + +EXPORT(int, sqlite3_malloc) { + return unimplemented("sqlite3_malloc"); +} + +EXPORT(int, sqlite3_memory_alarm) { + return unimplemented("sqlite3_memory_alarm"); +} + +EXPORT(int, sqlite3_memory_highwater) { + return unimplemented("sqlite3_memory_highwater"); +} + +EXPORT(int, sqlite3_memory_used) { + return unimplemented("sqlite3_memory_used"); +} + +EXPORT(int, sqlite3_mprintf) { + return unimplemented("sqlite3_mprintf"); +} + +EXPORT(int, sqlite3_mutex_alloc) { + return unimplemented("sqlite3_mutex_alloc"); +} + +EXPORT(int, sqlite3_mutex_enter) { + return unimplemented("sqlite3_mutex_enter"); +} + +EXPORT(int, sqlite3_mutex_free) { + return unimplemented("sqlite3_mutex_free"); +} + +EXPORT(int, sqlite3_mutex_leave) { + return unimplemented("sqlite3_mutex_leave"); +} + +EXPORT(int, sqlite3_mutex_try) { + return unimplemented("sqlite3_mutex_try"); +} + +EXPORT(int, sqlite3_next_stmt) { + return unimplemented("sqlite3_next_stmt"); +} + +EXPORT(int, sqlite3_open) { + return unimplemented("sqlite3_open"); +} + +EXPORT(int, sqlite3_open16) { + return unimplemented("sqlite3_open16"); +} + +EXPORT(int, sqlite3_open_v2) { + return unimplemented("sqlite3_open_v2"); +} + +EXPORT(int, sqlite3_os_end) { + return unimplemented("sqlite3_os_end"); +} + +EXPORT(int, sqlite3_os_init) { + return unimplemented("sqlite3_os_init"); +} + +EXPORT(int, sqlite3_overload_function) { + return unimplemented("sqlite3_overload_function"); +} + +EXPORT(int, sqlite3_prepare) { + return unimplemented("sqlite3_prepare"); +} + +EXPORT(int, sqlite3_prepare16) { + return unimplemented("sqlite3_prepare16"); +} + +EXPORT(int, sqlite3_prepare16_v2) { + return unimplemented("sqlite3_prepare16_v2"); +} + +EXPORT(int, sqlite3_prepare_v2) { + return unimplemented("sqlite3_prepare_v2"); +} + +EXPORT(int, sqlite3_profile) { + return unimplemented("sqlite3_profile"); +} + +EXPORT(int, sqlite3_progress_handler) { + return unimplemented("sqlite3_progress_handler"); +} + +EXPORT(int, sqlite3_randomness) { + return unimplemented("sqlite3_randomness"); +} + +EXPORT(int, sqlite3_realloc) { + return unimplemented("sqlite3_realloc"); +} + +EXPORT(int, sqlite3_release_memory) { + return unimplemented("sqlite3_release_memory"); +} + +EXPORT(int, sqlite3_reset) { + return unimplemented("sqlite3_reset"); +} + +EXPORT(int, sqlite3_reset_auto_extension) { + return unimplemented("sqlite3_reset_auto_extension"); +} + +EXPORT(int, sqlite3_result_blob) { + return unimplemented("sqlite3_result_blob"); +} + +EXPORT(int, sqlite3_result_double) { + return unimplemented("sqlite3_result_double"); +} + +EXPORT(int, sqlite3_result_error) { + return unimplemented("sqlite3_result_error"); +} + +EXPORT(int, sqlite3_result_error16) { + return unimplemented("sqlite3_result_error16"); +} + +EXPORT(int, sqlite3_result_error_code) { + return unimplemented("sqlite3_result_error_code"); +} + +EXPORT(int, sqlite3_result_error_nomem) { + return unimplemented("sqlite3_result_error_nomem"); +} + +EXPORT(int, sqlite3_result_error_toobig) { + return unimplemented("sqlite3_result_error_toobig"); +} + +EXPORT(int, sqlite3_result_int) { + return unimplemented("sqlite3_result_int"); +} + +EXPORT(int, sqlite3_result_int64) { + return unimplemented("sqlite3_result_int64"); +} + +EXPORT(int, sqlite3_result_null) { + return unimplemented("sqlite3_result_null"); +} + +EXPORT(int, sqlite3_result_text) { + return unimplemented("sqlite3_result_text"); +} + +EXPORT(int, sqlite3_result_text16) { + return unimplemented("sqlite3_result_text16"); +} + +EXPORT(int, sqlite3_result_text16be) { + return unimplemented("sqlite3_result_text16be"); +} + +EXPORT(int, sqlite3_result_text16le) { + return unimplemented("sqlite3_result_text16le"); +} + +EXPORT(int, sqlite3_result_value) { + return unimplemented("sqlite3_result_value"); +} + +EXPORT(int, sqlite3_result_zeroblob) { + return unimplemented("sqlite3_result_zeroblob"); +} + +EXPORT(int, sqlite3_rollback_hook) { + return unimplemented("sqlite3_rollback_hook"); +} + +EXPORT(int, sqlite3_set_authorizer) { + return unimplemented("sqlite3_set_authorizer"); +} + +EXPORT(int, sqlite3_set_auxdata) { + return unimplemented("sqlite3_set_auxdata"); +} + +EXPORT(int, sqlite3_shutdown) { + return unimplemented("sqlite3_shutdown"); +} + +EXPORT(int, sqlite3_sleep) { + return unimplemented("sqlite3_sleep"); +} + +EXPORT(int, sqlite3_snprintf) { + return unimplemented("sqlite3_snprintf"); +} + +EXPORT(int, sqlite3_soft_heap_limit) { + return unimplemented("sqlite3_soft_heap_limit"); +} + +EXPORT(int, sqlite3_sourceid) { + return unimplemented("sqlite3_sourceid"); +} + +EXPORT(int, sqlite3_sql) { + return unimplemented("sqlite3_sql"); +} + +EXPORT(int, sqlite3_status) { + return unimplemented("sqlite3_status"); +} + +EXPORT(int, sqlite3_step) { + return unimplemented("sqlite3_step"); +} + +EXPORT(int, sqlite3_stmt_status) { + return unimplemented("sqlite3_stmt_status"); +} + +EXPORT(int, sqlite3_strnicmp) { + return unimplemented("sqlite3_strnicmp"); +} + +EXPORT(int, sqlite3_temp_directory) { + return unimplemented("sqlite3_temp_directory"); +} + +EXPORT(int, sqlite3_test_control) { + return unimplemented("sqlite3_test_control"); +} + +EXPORT(int, sqlite3_thread_cleanup) { + return unimplemented("sqlite3_thread_cleanup"); +} + +EXPORT(int, sqlite3_threadsafe) { + return unimplemented("sqlite3_threadsafe"); +} + +EXPORT(int, sqlite3_total_changes) { + return unimplemented("sqlite3_total_changes"); +} + +EXPORT(int, sqlite3_trace) { + return unimplemented("sqlite3_trace"); +} + +EXPORT(int, sqlite3_transfer_bindings) { + return unimplemented("sqlite3_transfer_bindings"); +} + +EXPORT(int, sqlite3_update_hook) { + return unimplemented("sqlite3_update_hook"); +} + +EXPORT(int, sqlite3_user_data) { + return unimplemented("sqlite3_user_data"); +} + +EXPORT(int, sqlite3_value_blob) { + return unimplemented("sqlite3_value_blob"); +} + +EXPORT(int, sqlite3_value_bytes) { + return unimplemented("sqlite3_value_bytes"); +} + +EXPORT(int, sqlite3_value_bytes16) { + return unimplemented("sqlite3_value_bytes16"); +} + +EXPORT(int, sqlite3_value_double) { + return unimplemented("sqlite3_value_double"); +} + +EXPORT(int, sqlite3_value_int) { + return unimplemented("sqlite3_value_int"); +} + +EXPORT(int, sqlite3_value_int64) { + return unimplemented("sqlite3_value_int64"); +} + +EXPORT(int, sqlite3_value_numeric_type) { + return unimplemented("sqlite3_value_numeric_type"); +} + +EXPORT(int, sqlite3_value_text) { + return unimplemented("sqlite3_value_text"); +} + +EXPORT(int, sqlite3_value_text16) { + return unimplemented("sqlite3_value_text16"); +} + +EXPORT(int, sqlite3_value_text16be) { + return unimplemented("sqlite3_value_text16be"); +} + +EXPORT(int, sqlite3_value_text16le) { + return unimplemented("sqlite3_value_text16le"); +} + +EXPORT(int, sqlite3_value_type) { + return unimplemented("sqlite3_value_type"); +} + +EXPORT(int, sqlite3_version) { + return unimplemented("sqlite3_version"); +} + +EXPORT(int, sqlite3_vfs_find) { + return unimplemented("sqlite3_vfs_find"); +} + +EXPORT(int, sqlite3_vfs_register) { + return unimplemented("sqlite3_vfs_register"); +} + +EXPORT(int, sqlite3_vfs_unregister) { + return unimplemented("sqlite3_vfs_unregister"); +} + +EXPORT(int, sqlite3_vmprintf) { + return unimplemented("sqlite3_vmprintf"); +} + +BRIDGE_IMPL(sceSqliteConfigMallocMethods) +BRIDGE_IMPL(sqlite3_aggregate_context) +BRIDGE_IMPL(sqlite3_aggregate_count) +BRIDGE_IMPL(sqlite3_auto_extension) +BRIDGE_IMPL(sqlite3_backup_finish) +BRIDGE_IMPL(sqlite3_backup_init) +BRIDGE_IMPL(sqlite3_backup_pagecount) +BRIDGE_IMPL(sqlite3_backup_remaining) +BRIDGE_IMPL(sqlite3_backup_step) +BRIDGE_IMPL(sqlite3_bind_blob) +BRIDGE_IMPL(sqlite3_bind_double) +BRIDGE_IMPL(sqlite3_bind_int) +BRIDGE_IMPL(sqlite3_bind_int64) +BRIDGE_IMPL(sqlite3_bind_null) +BRIDGE_IMPL(sqlite3_bind_parameter_count) +BRIDGE_IMPL(sqlite3_bind_parameter_index) +BRIDGE_IMPL(sqlite3_bind_parameter_name) +BRIDGE_IMPL(sqlite3_bind_text) +BRIDGE_IMPL(sqlite3_bind_text16) +BRIDGE_IMPL(sqlite3_bind_value) +BRIDGE_IMPL(sqlite3_bind_zeroblob) +BRIDGE_IMPL(sqlite3_blob_bytes) +BRIDGE_IMPL(sqlite3_blob_close) +BRIDGE_IMPL(sqlite3_blob_open) +BRIDGE_IMPL(sqlite3_blob_read) +BRIDGE_IMPL(sqlite3_blob_write) +BRIDGE_IMPL(sqlite3_busy_handler) +BRIDGE_IMPL(sqlite3_busy_timeout) +BRIDGE_IMPL(sqlite3_changes) +BRIDGE_IMPL(sqlite3_clear_bindings) +BRIDGE_IMPL(sqlite3_close) +BRIDGE_IMPL(sqlite3_collation_needed) +BRIDGE_IMPL(sqlite3_collation_needed16) +BRIDGE_IMPL(sqlite3_column_blob) +BRIDGE_IMPL(sqlite3_column_bytes) +BRIDGE_IMPL(sqlite3_column_bytes16) +BRIDGE_IMPL(sqlite3_column_count) +BRIDGE_IMPL(sqlite3_column_decltype) +BRIDGE_IMPL(sqlite3_column_decltype16) +BRIDGE_IMPL(sqlite3_column_double) +BRIDGE_IMPL(sqlite3_column_int) +BRIDGE_IMPL(sqlite3_column_int64) +BRIDGE_IMPL(sqlite3_column_name) +BRIDGE_IMPL(sqlite3_column_name16) +BRIDGE_IMPL(sqlite3_column_text) +BRIDGE_IMPL(sqlite3_column_text16) +BRIDGE_IMPL(sqlite3_column_type) +BRIDGE_IMPL(sqlite3_column_value) +BRIDGE_IMPL(sqlite3_commit_hook) +BRIDGE_IMPL(sqlite3_complete) +BRIDGE_IMPL(sqlite3_complete16) +BRIDGE_IMPL(sqlite3_config) +BRIDGE_IMPL(sqlite3_context_db_handle) +BRIDGE_IMPL(sqlite3_create_collation) +BRIDGE_IMPL(sqlite3_create_collation16) +BRIDGE_IMPL(sqlite3_create_collation_v2) +BRIDGE_IMPL(sqlite3_create_function) +BRIDGE_IMPL(sqlite3_create_function16) +BRIDGE_IMPL(sqlite3_create_module) +BRIDGE_IMPL(sqlite3_create_module_v2) +BRIDGE_IMPL(sqlite3_data_count) +BRIDGE_IMPL(sqlite3_db_config) +BRIDGE_IMPL(sqlite3_db_handle) +BRIDGE_IMPL(sqlite3_db_mutex) +BRIDGE_IMPL(sqlite3_db_status) +BRIDGE_IMPL(sqlite3_declare_vtab) +BRIDGE_IMPL(sqlite3_enable_load_extension) +BRIDGE_IMPL(sqlite3_enable_shared_cache) +BRIDGE_IMPL(sqlite3_errcode) +BRIDGE_IMPL(sqlite3_errmsg) +BRIDGE_IMPL(sqlite3_errmsg16) +BRIDGE_IMPL(sqlite3_exec) +BRIDGE_IMPL(sqlite3_expired) +BRIDGE_IMPL(sqlite3_extended_errcode) +BRIDGE_IMPL(sqlite3_extended_result_codes) +BRIDGE_IMPL(sqlite3_file_control) +BRIDGE_IMPL(sqlite3_finalize) +BRIDGE_IMPL(sqlite3_free) +BRIDGE_IMPL(sqlite3_free_table) +BRIDGE_IMPL(sqlite3_get_autocommit) +BRIDGE_IMPL(sqlite3_get_auxdata) +BRIDGE_IMPL(sqlite3_get_table) +BRIDGE_IMPL(sqlite3_global_recover) +BRIDGE_IMPL(sqlite3_initialize) +BRIDGE_IMPL(sqlite3_interrupt) +BRIDGE_IMPL(sqlite3_last_insert_rowid) +BRIDGE_IMPL(sqlite3_libversion) +BRIDGE_IMPL(sqlite3_libversion_number) +BRIDGE_IMPL(sqlite3_limit) +BRIDGE_IMPL(sqlite3_load_extension) +BRIDGE_IMPL(sqlite3_malloc) +BRIDGE_IMPL(sqlite3_memory_alarm) +BRIDGE_IMPL(sqlite3_memory_highwater) +BRIDGE_IMPL(sqlite3_memory_used) +BRIDGE_IMPL(sqlite3_mprintf) +BRIDGE_IMPL(sqlite3_mutex_alloc) +BRIDGE_IMPL(sqlite3_mutex_enter) +BRIDGE_IMPL(sqlite3_mutex_free) +BRIDGE_IMPL(sqlite3_mutex_leave) +BRIDGE_IMPL(sqlite3_mutex_try) +BRIDGE_IMPL(sqlite3_next_stmt) +BRIDGE_IMPL(sqlite3_open) +BRIDGE_IMPL(sqlite3_open16) +BRIDGE_IMPL(sqlite3_open_v2) +BRIDGE_IMPL(sqlite3_os_end) +BRIDGE_IMPL(sqlite3_os_init) +BRIDGE_IMPL(sqlite3_overload_function) +BRIDGE_IMPL(sqlite3_prepare) +BRIDGE_IMPL(sqlite3_prepare16) +BRIDGE_IMPL(sqlite3_prepare16_v2) +BRIDGE_IMPL(sqlite3_prepare_v2) +BRIDGE_IMPL(sqlite3_profile) +BRIDGE_IMPL(sqlite3_progress_handler) +BRIDGE_IMPL(sqlite3_randomness) +BRIDGE_IMPL(sqlite3_realloc) +BRIDGE_IMPL(sqlite3_release_memory) +BRIDGE_IMPL(sqlite3_reset) +BRIDGE_IMPL(sqlite3_reset_auto_extension) +BRIDGE_IMPL(sqlite3_result_blob) +BRIDGE_IMPL(sqlite3_result_double) +BRIDGE_IMPL(sqlite3_result_error) +BRIDGE_IMPL(sqlite3_result_error16) +BRIDGE_IMPL(sqlite3_result_error_code) +BRIDGE_IMPL(sqlite3_result_error_nomem) +BRIDGE_IMPL(sqlite3_result_error_toobig) +BRIDGE_IMPL(sqlite3_result_int) +BRIDGE_IMPL(sqlite3_result_int64) +BRIDGE_IMPL(sqlite3_result_null) +BRIDGE_IMPL(sqlite3_result_text) +BRIDGE_IMPL(sqlite3_result_text16) +BRIDGE_IMPL(sqlite3_result_text16be) +BRIDGE_IMPL(sqlite3_result_text16le) +BRIDGE_IMPL(sqlite3_result_value) +BRIDGE_IMPL(sqlite3_result_zeroblob) +BRIDGE_IMPL(sqlite3_rollback_hook) +BRIDGE_IMPL(sqlite3_set_authorizer) +BRIDGE_IMPL(sqlite3_set_auxdata) +BRIDGE_IMPL(sqlite3_shutdown) +BRIDGE_IMPL(sqlite3_sleep) +BRIDGE_IMPL(sqlite3_snprintf) +BRIDGE_IMPL(sqlite3_soft_heap_limit) +BRIDGE_IMPL(sqlite3_sourceid) +BRIDGE_IMPL(sqlite3_sql) +BRIDGE_IMPL(sqlite3_status) +BRIDGE_IMPL(sqlite3_step) +BRIDGE_IMPL(sqlite3_stmt_status) +BRIDGE_IMPL(sqlite3_strnicmp) +BRIDGE_IMPL(sqlite3_temp_directory) +BRIDGE_IMPL(sqlite3_test_control) +BRIDGE_IMPL(sqlite3_thread_cleanup) +BRIDGE_IMPL(sqlite3_threadsafe) +BRIDGE_IMPL(sqlite3_total_changes) +BRIDGE_IMPL(sqlite3_trace) +BRIDGE_IMPL(sqlite3_transfer_bindings) +BRIDGE_IMPL(sqlite3_update_hook) +BRIDGE_IMPL(sqlite3_user_data) +BRIDGE_IMPL(sqlite3_value_blob) +BRIDGE_IMPL(sqlite3_value_bytes) +BRIDGE_IMPL(sqlite3_value_bytes16) +BRIDGE_IMPL(sqlite3_value_double) +BRIDGE_IMPL(sqlite3_value_int) +BRIDGE_IMPL(sqlite3_value_int64) +BRIDGE_IMPL(sqlite3_value_numeric_type) +BRIDGE_IMPL(sqlite3_value_text) +BRIDGE_IMPL(sqlite3_value_text16) +BRIDGE_IMPL(sqlite3_value_text16be) +BRIDGE_IMPL(sqlite3_value_text16le) +BRIDGE_IMPL(sqlite3_value_type) +BRIDGE_IMPL(sqlite3_version) +BRIDGE_IMPL(sqlite3_vfs_find) +BRIDGE_IMPL(sqlite3_vfs_register) +BRIDGE_IMPL(sqlite3_vfs_unregister) +BRIDGE_IMPL(sqlite3_vmprintf) diff --git a/src/emulator/modules/SceStdio/CMakeLists.txt b/src/emulator/modules/SceStdio/CMakeLists.txt new file mode 100644 index 000000000..30670ddc9 --- /dev/null +++ b/src/emulator/modules/SceStdio/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceStdio STATIC include/SceStdio/exports.h src/SceStdio.cpp) +target_include_directories(SceStdio PUBLIC include) +target_link_libraries(SceStdio PRIVATE module) diff --git a/src/emulator/modules/SceStdio/include/SceStdio/exports.h b/src/emulator/modules/SceStdio/include/SceStdio/exports.h new file mode 100644 index 000000000..55788fefa --- /dev/null +++ b/src/emulator/modules/SceStdio/include/SceStdio/exports.h @@ -0,0 +1,25 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceStdio +BRIDGE_DECL(sceKernelStderr) +BRIDGE_DECL(sceKernelStdin) +BRIDGE_DECL(sceKernelStdout) diff --git a/src/emulator/modules/SceStdio/src/SceStdio.cpp b/src/emulator/modules/SceStdio/src/SceStdio.cpp new file mode 100644 index 000000000..8e3062c9c --- /dev/null +++ b/src/emulator/modules/SceStdio/src/SceStdio.cpp @@ -0,0 +1,34 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceKernelStderr) { + return unimplemented("sceKernelStderr"); +} + +EXPORT(int, sceKernelStdin) { + return unimplemented("sceKernelStdin"); +} + +EXPORT(int, sceKernelStdout) { + return unimplemented("sceKernelStdout"); +} + +BRIDGE_IMPL(sceKernelStderr) +BRIDGE_IMPL(sceKernelStdin) +BRIDGE_IMPL(sceKernelStdout) diff --git a/src/emulator/modules/SceSulpha/CMakeLists.txt b/src/emulator/modules/SceSulpha/CMakeLists.txt new file mode 100644 index 000000000..c2e5c0d57 --- /dev/null +++ b/src/emulator/modules/SceSulpha/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSulpha STATIC include/SceSulpha/exports.h src/SceSulpha.cpp) +target_include_directories(SceSulpha PUBLIC include) +target_link_libraries(SceSulpha PRIVATE module) diff --git a/src/emulator/modules/SceSulpha/include/SceSulpha/exports.h b/src/emulator/modules/SceSulpha/include/SceSulpha/exports.h new file mode 100644 index 000000000..a2bbb05e1 --- /dev/null +++ b/src/emulator/modules/SceSulpha/include/SceSulpha/exports.h @@ -0,0 +1,45 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSulpha +BRIDGE_DECL(sceSulphaAgentsGetNeededMemory) +BRIDGE_DECL(sceSulphaAgentsRegister) +BRIDGE_DECL(sceSulphaAgentsUnregister) +BRIDGE_DECL(sceSulphaEventAdd) +BRIDGE_DECL(sceSulphaEventDelete) +BRIDGE_DECL(sceSulphaEventNew) +BRIDGE_DECL(sceSulphaEventReport) +BRIDGE_DECL(sceSulphaFileConnect) +BRIDGE_DECL(sceSulphaFileDisconnect) +BRIDGE_DECL(sceSulphaGetAgent) +BRIDGE_DECL(sceSulphaGetDefaultConfig) +BRIDGE_DECL(sceSulphaGetNeededMemory) +BRIDGE_DECL(sceSulphaGetTimestamp) +BRIDGE_DECL(sceSulphaInit) +BRIDGE_DECL(sceSulphaLogHandler) +BRIDGE_DECL(sceSulphaLogSetLevel) +BRIDGE_DECL(sceSulphaNetworkInit) +BRIDGE_DECL(sceSulphaNetworkShutdown) +BRIDGE_DECL(sceSulphaNodeDelete) +BRIDGE_DECL(sceSulphaNodeNew) +BRIDGE_DECL(sceSulphaSetBookmark) +BRIDGE_DECL(sceSulphaShutdown) +BRIDGE_DECL(sceSulphaUpdate) diff --git a/src/emulator/modules/SceSulpha/src/SceSulpha.cpp b/src/emulator/modules/SceSulpha/src/SceSulpha.cpp new file mode 100644 index 000000000..0b9a48390 --- /dev/null +++ b/src/emulator/modules/SceSulpha/src/SceSulpha.cpp @@ -0,0 +1,134 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSulphaAgentsGetNeededMemory) { + return unimplemented("sceSulphaAgentsGetNeededMemory"); +} + +EXPORT(int, sceSulphaAgentsRegister) { + return unimplemented("sceSulphaAgentsRegister"); +} + +EXPORT(int, sceSulphaAgentsUnregister) { + return unimplemented("sceSulphaAgentsUnregister"); +} + +EXPORT(int, sceSulphaEventAdd) { + return unimplemented("sceSulphaEventAdd"); +} + +EXPORT(int, sceSulphaEventDelete) { + return unimplemented("sceSulphaEventDelete"); +} + +EXPORT(int, sceSulphaEventNew) { + return unimplemented("sceSulphaEventNew"); +} + +EXPORT(int, sceSulphaEventReport) { + return unimplemented("sceSulphaEventReport"); +} + +EXPORT(int, sceSulphaFileConnect) { + return unimplemented("sceSulphaFileConnect"); +} + +EXPORT(int, sceSulphaFileDisconnect) { + return unimplemented("sceSulphaFileDisconnect"); +} + +EXPORT(int, sceSulphaGetAgent) { + return unimplemented("sceSulphaGetAgent"); +} + +EXPORT(int, sceSulphaGetDefaultConfig) { + return unimplemented("sceSulphaGetDefaultConfig"); +} + +EXPORT(int, sceSulphaGetNeededMemory) { + return unimplemented("sceSulphaGetNeededMemory"); +} + +EXPORT(int, sceSulphaGetTimestamp) { + return unimplemented("sceSulphaGetTimestamp"); +} + +EXPORT(int, sceSulphaInit) { + return unimplemented("sceSulphaInit"); +} + +EXPORT(int, sceSulphaLogHandler) { + return unimplemented("sceSulphaLogHandler"); +} + +EXPORT(int, sceSulphaLogSetLevel) { + return unimplemented("sceSulphaLogSetLevel"); +} + +EXPORT(int, sceSulphaNetworkInit) { + return unimplemented("sceSulphaNetworkInit"); +} + +EXPORT(int, sceSulphaNetworkShutdown) { + return unimplemented("sceSulphaNetworkShutdown"); +} + +EXPORT(int, sceSulphaNodeDelete) { + return unimplemented("sceSulphaNodeDelete"); +} + +EXPORT(int, sceSulphaNodeNew) { + return unimplemented("sceSulphaNodeNew"); +} + +EXPORT(int, sceSulphaSetBookmark) { + return unimplemented("sceSulphaSetBookmark"); +} + +EXPORT(int, sceSulphaShutdown) { + return unimplemented("sceSulphaShutdown"); +} + +EXPORT(int, sceSulphaUpdate) { + return unimplemented("sceSulphaUpdate"); +} + +BRIDGE_IMPL(sceSulphaAgentsGetNeededMemory) +BRIDGE_IMPL(sceSulphaAgentsRegister) +BRIDGE_IMPL(sceSulphaAgentsUnregister) +BRIDGE_IMPL(sceSulphaEventAdd) +BRIDGE_IMPL(sceSulphaEventDelete) +BRIDGE_IMPL(sceSulphaEventNew) +BRIDGE_IMPL(sceSulphaEventReport) +BRIDGE_IMPL(sceSulphaFileConnect) +BRIDGE_IMPL(sceSulphaFileDisconnect) +BRIDGE_IMPL(sceSulphaGetAgent) +BRIDGE_IMPL(sceSulphaGetDefaultConfig) +BRIDGE_IMPL(sceSulphaGetNeededMemory) +BRIDGE_IMPL(sceSulphaGetTimestamp) +BRIDGE_IMPL(sceSulphaInit) +BRIDGE_IMPL(sceSulphaLogHandler) +BRIDGE_IMPL(sceSulphaLogSetLevel) +BRIDGE_IMPL(sceSulphaNetworkInit) +BRIDGE_IMPL(sceSulphaNetworkShutdown) +BRIDGE_IMPL(sceSulphaNodeDelete) +BRIDGE_IMPL(sceSulphaNodeNew) +BRIDGE_IMPL(sceSulphaSetBookmark) +BRIDGE_IMPL(sceSulphaShutdown) +BRIDGE_IMPL(sceSulphaUpdate) diff --git a/src/emulator/modules/SceSysmem/CMakeLists.txt b/src/emulator/modules/SceSysmem/CMakeLists.txt new file mode 100644 index 000000000..e9b433588 --- /dev/null +++ b/src/emulator/modules/SceSysmem/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSysmem STATIC include/SceSysmem/exports.h src/SceSysmem.cpp) +target_include_directories(SceSysmem PUBLIC include) +target_link_libraries(SceSysmem PRIVATE module) diff --git a/src/emulator/modules/SceSysmem/include/SceSysmem/exports.h b/src/emulator/modules/SceSysmem/include/SceSysmem/exports.h new file mode 100644 index 000000000..19746a686 --- /dev/null +++ b/src/emulator/modules/SceSysmem/include/SceSysmem/exports.h @@ -0,0 +1,42 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSysmem +BRIDGE_DECL(sceKernelAllocMemBlock) +BRIDGE_DECL(sceKernelAllocMemBlockForVM) +BRIDGE_DECL(sceKernelAllocUnmapMemBlock) +BRIDGE_DECL(sceKernelCheckModelCapability) +BRIDGE_DECL(sceKernelCloseMemBlock) +BRIDGE_DECL(sceKernelCloseVMDomain) +BRIDGE_DECL(sceKernelFindMemBlockByAddr) +BRIDGE_DECL(sceKernelFreeMemBlock) +BRIDGE_DECL(sceKernelFreeMemBlockForVM) +BRIDGE_DECL(sceKernelGetFreeMemorySize) +BRIDGE_DECL(sceKernelGetMemBlockBase) +BRIDGE_DECL(sceKernelGetMemBlockInfoByAddr) +BRIDGE_DECL(sceKernelGetMemBlockInfoByRange) +BRIDGE_DECL(sceKernelGetModel) +BRIDGE_DECL(sceKernelGetModelForCDialog) +BRIDGE_DECL(sceKernelGetSubbudgetInfo) +BRIDGE_DECL(sceKernelIsPSVitaTV) +BRIDGE_DECL(sceKernelOpenMemBlock) +BRIDGE_DECL(sceKernelOpenVMDomain) +BRIDGE_DECL(sceKernelSyncVMDomain) diff --git a/src/emulator/modules/SceSysmem/src/SceSysmem.cpp b/src/emulator/modules/SceSysmem/src/SceSysmem.cpp new file mode 100644 index 000000000..a215b2ca6 --- /dev/null +++ b/src/emulator/modules/SceSysmem/src/SceSysmem.cpp @@ -0,0 +1,164 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include +#include + +namespace emu { + struct SceKernelAllocMemBlockOpt; +} + +using namespace emu; + +EXPORT(SceUID, sceKernelAllocMemBlock, const char *name, SceKernelMemBlockType type, int size, emu::SceKernelAllocMemBlockOpt *optp) { + MemState &mem = host.mem; + assert(name != nullptr); + assert(type != 0); + assert(size != 0); + assert(optp == nullptr); + + const Ptr address(alloc(mem, size, name)); + if (!address) { + return SCE_KERNEL_ERROR_NO_MEMORY; + } + + KernelState *const state = &host.kernel; + const SceUID uid = state->next_uid++; + state->blocks.insert(Blocks::value_type(uid, address)); + + return uid; +} + +EXPORT(int, sceKernelAllocMemBlockForVM) { + return unimplemented("sceKernelAllocMemBlockForVM"); +} + +EXPORT(int, sceKernelAllocUnmapMemBlock) { + return unimplemented("sceKernelAllocUnmapMemBlock"); +} + +EXPORT(int, sceKernelCheckModelCapability) { + return unimplemented("sceKernelCheckModelCapability"); +} + +EXPORT(int, sceKernelCloseMemBlock) { + return unimplemented("sceKernelCloseMemBlock"); +} + +EXPORT(int, sceKernelCloseVMDomain) { + return unimplemented("sceKernelCloseVMDomain"); +} + +EXPORT(int, sceKernelFindMemBlockByAddr) { + return unimplemented("sceKernelFindMemBlockByAddr"); +} + +EXPORT(int, sceKernelFreeMemBlock, SceUID uid) { + assert(uid >= 0); + + KernelState *const state = &host.kernel; + const Blocks::const_iterator block = state->blocks.find(uid); + assert(block != state->blocks.end()); + + free(host.mem, block->second.address()); + state->blocks.erase(block); + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelFreeMemBlockForVM) { + return unimplemented("sceKernelFreeMemBlockForVM"); +} + +EXPORT(int, sceKernelGetFreeMemorySize) { + return unimplemented("sceKernelGetFreeMemorySize"); +} + +EXPORT(int, sceKernelGetMemBlockBase, SceUID uid, Ptr *basep) { + assert(uid >= 0); + assert(basep != nullptr); + + const KernelState *const state = &host.kernel; + const Blocks::const_iterator block = state->blocks.find(uid); + if (block == state->blocks.end()) { + // TODO Write address? + return SCE_KERNEL_ERROR_INVALID_UID; + } + + *basep = block->second; + + return SCE_KERNEL_OK; +} + +EXPORT(int, sceKernelGetMemBlockInfoByAddr) { + return unimplemented("sceKernelGetMemBlockInfoByAddr"); +} + +EXPORT(int, sceKernelGetMemBlockInfoByRange) { + return unimplemented("sceKernelGetMemBlockInfoByRange"); +} + +EXPORT(int, sceKernelGetModel) { + return unimplemented("sceKernelGetModel"); +} + +EXPORT(int, sceKernelGetModelForCDialog) { + return unimplemented("sceKernelGetModelForCDialog"); +} + +EXPORT(int, sceKernelGetSubbudgetInfo) { + return unimplemented("sceKernelGetSubbudgetInfo"); +} + +EXPORT(int, sceKernelIsPSVitaTV) { + return unimplemented("sceKernelIsPSVitaTV"); +} + +EXPORT(int, sceKernelOpenMemBlock) { + return unimplemented("sceKernelOpenMemBlock"); +} + +EXPORT(int, sceKernelOpenVMDomain) { + return unimplemented("sceKernelOpenVMDomain"); +} + +EXPORT(int, sceKernelSyncVMDomain) { + return unimplemented("sceKernelSyncVMDomain"); +} + +BRIDGE_IMPL(sceKernelAllocMemBlock) +BRIDGE_IMPL(sceKernelAllocMemBlockForVM) +BRIDGE_IMPL(sceKernelAllocUnmapMemBlock) +BRIDGE_IMPL(sceKernelCheckModelCapability) +BRIDGE_IMPL(sceKernelCloseMemBlock) +BRIDGE_IMPL(sceKernelCloseVMDomain) +BRIDGE_IMPL(sceKernelFindMemBlockByAddr) +BRIDGE_IMPL(sceKernelFreeMemBlock) +BRIDGE_IMPL(sceKernelFreeMemBlockForVM) +BRIDGE_IMPL(sceKernelGetFreeMemorySize) +BRIDGE_IMPL(sceKernelGetMemBlockBase) +BRIDGE_IMPL(sceKernelGetMemBlockInfoByAddr) +BRIDGE_IMPL(sceKernelGetMemBlockInfoByRange) +BRIDGE_IMPL(sceKernelGetModel) +BRIDGE_IMPL(sceKernelGetModelForCDialog) +BRIDGE_IMPL(sceKernelGetSubbudgetInfo) +BRIDGE_IMPL(sceKernelIsPSVitaTV) +BRIDGE_IMPL(sceKernelOpenMemBlock) +BRIDGE_IMPL(sceKernelOpenVMDomain) +BRIDGE_IMPL(sceKernelSyncVMDomain) diff --git a/src/emulator/modules/SceSysmodule/CMakeLists.txt b/src/emulator/modules/SceSysmodule/CMakeLists.txt new file mode 100644 index 000000000..069e1a5ea --- /dev/null +++ b/src/emulator/modules/SceSysmodule/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSysmodule STATIC include/SceSysmodule/exports.h src/SceSysmodule.cpp) +target_include_directories(SceSysmodule PUBLIC include) +target_link_libraries(SceSysmodule PRIVATE module) diff --git a/src/emulator/modules/SceSysmodule/include/SceSysmodule/exports.h b/src/emulator/modules/SceSysmodule/include/SceSysmodule/exports.h new file mode 100644 index 000000000..903b92b9a --- /dev/null +++ b/src/emulator/modules/SceSysmodule/include/SceSysmodule/exports.h @@ -0,0 +1,30 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSysmodule +BRIDGE_DECL(sceSysmoduleIsLoaded) +BRIDGE_DECL(sceSysmoduleIsLoadedInternal) +BRIDGE_DECL(sceSysmoduleLoadModule) +BRIDGE_DECL(sceSysmoduleLoadModuleInternal) +BRIDGE_DECL(sceSysmoduleLoadModuleInternalWithArg) +BRIDGE_DECL(sceSysmoduleUnloadModule) +BRIDGE_DECL(sceSysmoduleUnloadModuleInternal) +BRIDGE_DECL(sceSysmoduleUnloadModuleInternalWithArg) diff --git a/src/emulator/modules/SceSysmodule/src/SceSysmodule.cpp b/src/emulator/modules/SceSysmodule/src/SceSysmodule.cpp new file mode 100644 index 000000000..0ad078fe2 --- /dev/null +++ b/src/emulator/modules/SceSysmodule/src/SceSysmodule.cpp @@ -0,0 +1,61 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +EXPORT(int, sceSysmoduleIsLoaded, SceSysmoduleModuleId id) { + return SCE_SYSMODULE_LOADED; +} + +EXPORT(int, sceSysmoduleIsLoadedInternal) { + return unimplemented("sceSysmoduleIsLoadedInternal"); +} + +EXPORT(int, sceSysmoduleLoadModule, SceSysmoduleModuleId id) { + return SCE_SYSMODULE_LOADED; +} + +EXPORT(int, sceSysmoduleLoadModuleInternal) { + return unimplemented("sceSysmoduleLoadModuleInternal"); +} + +EXPORT(int, sceSysmoduleLoadModuleInternalWithArg) { + return unimplemented("sceSysmoduleLoadModuleInternalWithArg"); +} + +EXPORT(int, sceSysmoduleUnloadModule) { + return unimplemented("sceSysmoduleUnloadModule"); +} + +EXPORT(int, sceSysmoduleUnloadModuleInternal) { + return unimplemented("sceSysmoduleUnloadModuleInternal"); +} + +EXPORT(int, sceSysmoduleUnloadModuleInternalWithArg) { + return unimplemented("sceSysmoduleUnloadModuleInternalWithArg"); +} + +BRIDGE_IMPL(sceSysmoduleIsLoaded) +BRIDGE_IMPL(sceSysmoduleIsLoadedInternal) +BRIDGE_IMPL(sceSysmoduleLoadModule) +BRIDGE_IMPL(sceSysmoduleLoadModuleInternal) +BRIDGE_IMPL(sceSysmoduleLoadModuleInternalWithArg) +BRIDGE_IMPL(sceSysmoduleUnloadModule) +BRIDGE_IMPL(sceSysmoduleUnloadModuleInternal) +BRIDGE_IMPL(sceSysmoduleUnloadModuleInternalWithArg) diff --git a/src/emulator/modules/SceSystemGesture/CMakeLists.txt b/src/emulator/modules/SceSystemGesture/CMakeLists.txt new file mode 100644 index 000000000..b133ba4b7 --- /dev/null +++ b/src/emulator/modules/SceSystemGesture/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceSystemGesture STATIC include/SceSystemGesture/exports.h src/SceSystemGesture.cpp) +target_include_directories(SceSystemGesture PUBLIC include) +target_link_libraries(SceSystemGesture PRIVATE module) diff --git a/src/emulator/modules/SceSystemGesture/include/SceSystemGesture/exports.h b/src/emulator/modules/SceSystemGesture/include/SceSystemGesture/exports.h new file mode 100644 index 000000000..232b9ed21 --- /dev/null +++ b/src/emulator/modules/SceSystemGesture/include/SceSystemGesture/exports.h @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceSystemGesture +BRIDGE_DECL(sceSystemGestureCreateTouchRecognizer) +BRIDGE_DECL(sceSystemGestureFinalizePrimitiveTouchRecognizer) +BRIDGE_DECL(sceSystemGestureGetPrimitiveTouchEventByIndex) +BRIDGE_DECL(sceSystemGestureGetPrimitiveTouchEventByPrimitiveID) +BRIDGE_DECL(sceSystemGestureGetPrimitiveTouchEvents) +BRIDGE_DECL(sceSystemGestureGetPrimitiveTouchEventsCount) +BRIDGE_DECL(sceSystemGestureGetTouchEventByEventID) +BRIDGE_DECL(sceSystemGestureGetTouchEventByIndex) +BRIDGE_DECL(sceSystemGestureGetTouchEvents) +BRIDGE_DECL(sceSystemGestureGetTouchEventsCount) +BRIDGE_DECL(sceSystemGestureGetTouchRecognizerInformation) +BRIDGE_DECL(sceSystemGestureInitializePrimitiveTouchRecognizer) +BRIDGE_DECL(sceSystemGestureResetPrimitiveTouchRecognizer) +BRIDGE_DECL(sceSystemGestureResetTouchRecognizer) +BRIDGE_DECL(sceSystemGestureUpdatePrimitiveTouchRecognizer) +BRIDGE_DECL(sceSystemGestureUpdateTouchRecognizer) +BRIDGE_DECL(sceSystemGestureUpdateTouchRecognizerRectangle) diff --git a/src/emulator/modules/SceSystemGesture/src/SceSystemGesture.cpp b/src/emulator/modules/SceSystemGesture/src/SceSystemGesture.cpp new file mode 100644 index 000000000..0d9c8d24c --- /dev/null +++ b/src/emulator/modules/SceSystemGesture/src/SceSystemGesture.cpp @@ -0,0 +1,104 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceSystemGestureCreateTouchRecognizer) { + return unimplemented("sceSystemGestureCreateTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureFinalizePrimitiveTouchRecognizer) { + return unimplemented("sceSystemGestureFinalizePrimitiveTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureGetPrimitiveTouchEventByIndex) { + return unimplemented("sceSystemGestureGetPrimitiveTouchEventByIndex"); +} + +EXPORT(int, sceSystemGestureGetPrimitiveTouchEventByPrimitiveID) { + return unimplemented("sceSystemGestureGetPrimitiveTouchEventByPrimitiveID"); +} + +EXPORT(int, sceSystemGestureGetPrimitiveTouchEvents) { + return unimplemented("sceSystemGestureGetPrimitiveTouchEvents"); +} + +EXPORT(int, sceSystemGestureGetPrimitiveTouchEventsCount) { + return unimplemented("sceSystemGestureGetPrimitiveTouchEventsCount"); +} + +EXPORT(int, sceSystemGestureGetTouchEventByEventID) { + return unimplemented("sceSystemGestureGetTouchEventByEventID"); +} + +EXPORT(int, sceSystemGestureGetTouchEventByIndex) { + return unimplemented("sceSystemGestureGetTouchEventByIndex"); +} + +EXPORT(int, sceSystemGestureGetTouchEvents) { + return unimplemented("sceSystemGestureGetTouchEvents"); +} + +EXPORT(int, sceSystemGestureGetTouchEventsCount) { + return unimplemented("sceSystemGestureGetTouchEventsCount"); +} + +EXPORT(int, sceSystemGestureGetTouchRecognizerInformation) { + return unimplemented("sceSystemGestureGetTouchRecognizerInformation"); +} + +EXPORT(int, sceSystemGestureInitializePrimitiveTouchRecognizer) { + return unimplemented("sceSystemGestureInitializePrimitiveTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureResetPrimitiveTouchRecognizer) { + return unimplemented("sceSystemGestureResetPrimitiveTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureResetTouchRecognizer) { + return unimplemented("sceSystemGestureResetTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureUpdatePrimitiveTouchRecognizer) { + return unimplemented("sceSystemGestureUpdatePrimitiveTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureUpdateTouchRecognizer) { + return unimplemented("sceSystemGestureUpdateTouchRecognizer"); +} + +EXPORT(int, sceSystemGestureUpdateTouchRecognizerRectangle) { + return unimplemented("sceSystemGestureUpdateTouchRecognizerRectangle"); +} + +BRIDGE_IMPL(sceSystemGestureCreateTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureFinalizePrimitiveTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureGetPrimitiveTouchEventByIndex) +BRIDGE_IMPL(sceSystemGestureGetPrimitiveTouchEventByPrimitiveID) +BRIDGE_IMPL(sceSystemGestureGetPrimitiveTouchEvents) +BRIDGE_IMPL(sceSystemGestureGetPrimitiveTouchEventsCount) +BRIDGE_IMPL(sceSystemGestureGetTouchEventByEventID) +BRIDGE_IMPL(sceSystemGestureGetTouchEventByIndex) +BRIDGE_IMPL(sceSystemGestureGetTouchEvents) +BRIDGE_IMPL(sceSystemGestureGetTouchEventsCount) +BRIDGE_IMPL(sceSystemGestureGetTouchRecognizerInformation) +BRIDGE_IMPL(sceSystemGestureInitializePrimitiveTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureResetPrimitiveTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureResetTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureUpdatePrimitiveTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureUpdateTouchRecognizer) +BRIDGE_IMPL(sceSystemGestureUpdateTouchRecognizerRectangle) diff --git a/src/emulator/modules/SceTouch/CMakeLists.txt b/src/emulator/modules/SceTouch/CMakeLists.txt new file mode 100644 index 000000000..69afa05f6 --- /dev/null +++ b/src/emulator/modules/SceTouch/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceTouch STATIC include/SceTouch/exports.h src/SceTouch.cpp) +target_include_directories(SceTouch PUBLIC include) +target_link_libraries(SceTouch PRIVATE module) diff --git a/src/emulator/modules/SceTouch/include/SceTouch/exports.h b/src/emulator/modules/SceTouch/include/SceTouch/exports.h new file mode 100644 index 000000000..8dece2a3d --- /dev/null +++ b/src/emulator/modules/SceTouch/include/SceTouch/exports.h @@ -0,0 +1,48 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceTouch +BRIDGE_DECL(sceTouchActivateRegion) +BRIDGE_DECL(sceTouchClearRegion) +BRIDGE_DECL(sceTouchDisableTouchForce) +BRIDGE_DECL(sceTouchDisableTouchForceExt) +BRIDGE_DECL(sceTouchEnableIdleTimerCancelSetting) +BRIDGE_DECL(sceTouchEnableTouchForce) +BRIDGE_DECL(sceTouchEnableTouchForceExt) +BRIDGE_DECL(sceTouchGetDeviceInfo) +BRIDGE_DECL(sceTouchGetPanelInfo) +BRIDGE_DECL(sceTouchGetPixelDensity) +BRIDGE_DECL(sceTouchGetProcessInfo) +BRIDGE_DECL(sceTouchGetSamplingState) +BRIDGE_DECL(sceTouchGetSamplingStateExt) +BRIDGE_DECL(sceTouchPeek) +BRIDGE_DECL(sceTouchPeek2) +BRIDGE_DECL(sceTouchPeekRegion) +BRIDGE_DECL(sceTouchPeekRegionExt) +BRIDGE_DECL(sceTouchRead) +BRIDGE_DECL(sceTouchRead2) +BRIDGE_DECL(sceTouchReadRegion) +BRIDGE_DECL(sceTouchReadRegionExt) +BRIDGE_DECL(sceTouchSetProcessPrivilege) +BRIDGE_DECL(sceTouchSetRegion) +BRIDGE_DECL(sceTouchSetRegionAttr) +BRIDGE_DECL(sceTouchSetSamplingState) +BRIDGE_DECL(sceTouchSetSamplingStateExt) diff --git a/src/emulator/modules/SceTouch/src/SceTouch.cpp b/src/emulator/modules/SceTouch/src/SceTouch.cpp new file mode 100644 index 000000000..7c97a24ad --- /dev/null +++ b/src/emulator/modules/SceTouch/src/SceTouch.cpp @@ -0,0 +1,184 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +#include + +#include +#include + +// TODO Move elsewhere. +static uint64_t timestamp; + +EXPORT(int, sceTouchActivateRegion) { + return unimplemented("sceTouchActivateRegion"); +} + +EXPORT(int, sceTouchClearRegion) { + return unimplemented("sceTouchClearRegion"); +} + +EXPORT(int, sceTouchDisableTouchForce) { + return unimplemented("sceTouchDisableTouchForce"); +} + +EXPORT(int, sceTouchDisableTouchForceExt) { + return unimplemented("sceTouchDisableTouchForceExt"); +} + +EXPORT(int, sceTouchEnableIdleTimerCancelSetting) { + return unimplemented("sceTouchEnableIdleTimerCancelSetting"); +} + +EXPORT(int, sceTouchEnableTouchForce) { + return unimplemented("sceTouchEnableTouchForce"); +} + +EXPORT(int, sceTouchEnableTouchForceExt) { + return unimplemented("sceTouchEnableTouchForceExt"); +} + +EXPORT(int, sceTouchGetDeviceInfo) { + return unimplemented("sceTouchGetDeviceInfo"); +} + +EXPORT(int, sceTouchGetPanelInfo) { + return unimplemented("sceTouchGetPanelInfo"); +} + +EXPORT(int, sceTouchGetPixelDensity) { + return unimplemented("sceTouchGetPixelDensity"); +} + +EXPORT(int, sceTouchGetProcessInfo) { + return unimplemented("sceTouchGetProcessInfo"); +} + +EXPORT(int, sceTouchGetSamplingState) { + return unimplemented("sceTouchGetSamplingState"); +} + +EXPORT(int, sceTouchGetSamplingStateExt) { + return unimplemented("sceTouchGetSamplingStateExt"); +} + +EXPORT(int, sceTouchPeek, SceUInt32 port, SceTouchData *pData, SceUInt32 nBufs) { + assert(port >= 0); + assert(port <= 1); + assert(pData != nullptr); + assert(nBufs == 1); + + memset(pData, 0, sizeof(*pData)); + pData->timeStamp = timestamp++; // TODO Use the real time and units. + + int window_x = 0; + int window_y = 0; + const uint32_t buttons = SDL_GetMouseState(&window_x, &window_y); + + int window_w = 0; + int window_h = 0; + SDL_Window *const window = SDL_GetMouseFocus(); + SDL_GetWindowSize(window, &window_w, &window_h); + + const float normalised_x = window_x / static_cast(window_w); + const float normalised_y = window_y / static_cast(window_h); + + const uint32_t mask = (port == 1) ? SDL_BUTTON_RMASK : SDL_BUTTON_LMASK; + if (buttons & mask) { + pData->report[pData->reportNum].x = static_cast(normalised_x * 1920); + pData->report[pData->reportNum].y = static_cast(normalised_y * 1088); + ++pData->reportNum; + } + + return 0; +} + +EXPORT(int, sceTouchPeek2) { + return unimplemented("sceTouchPeek2"); +} + +EXPORT(int, sceTouchPeekRegion) { + return unimplemented("sceTouchPeekRegion"); +} + +EXPORT(int, sceTouchPeekRegionExt) { + return unimplemented("sceTouchPeekRegionExt"); +} + +EXPORT(int, sceTouchRead) { + return unimplemented("sceTouchRead"); +} + +EXPORT(int, sceTouchRead2) { + return unimplemented("sceTouchRead2"); +} + +EXPORT(int, sceTouchReadRegion) { + return unimplemented("sceTouchReadRegion"); +} + +EXPORT(int, sceTouchReadRegionExt) { + return unimplemented("sceTouchReadRegionExt"); +} + +EXPORT(int, sceTouchSetProcessPrivilege) { + return unimplemented("sceTouchSetProcessPrivilege"); +} + +EXPORT(int, sceTouchSetRegion) { + return unimplemented("sceTouchSetRegion"); +} + +EXPORT(int, sceTouchSetRegionAttr) { + return unimplemented("sceTouchSetRegionAttr"); +} + +EXPORT(int, sceTouchSetSamplingState) { + return unimplemented("sceTouchSetSamplingState"); +} + +EXPORT(int, sceTouchSetSamplingStateExt) { + return unimplemented("sceTouchSetSamplingStateExt"); +} + +BRIDGE_IMPL(sceTouchActivateRegion) +BRIDGE_IMPL(sceTouchClearRegion) +BRIDGE_IMPL(sceTouchDisableTouchForce) +BRIDGE_IMPL(sceTouchDisableTouchForceExt) +BRIDGE_IMPL(sceTouchEnableIdleTimerCancelSetting) +BRIDGE_IMPL(sceTouchEnableTouchForce) +BRIDGE_IMPL(sceTouchEnableTouchForceExt) +BRIDGE_IMPL(sceTouchGetDeviceInfo) +BRIDGE_IMPL(sceTouchGetPanelInfo) +BRIDGE_IMPL(sceTouchGetPixelDensity) +BRIDGE_IMPL(sceTouchGetProcessInfo) +BRIDGE_IMPL(sceTouchGetSamplingState) +BRIDGE_IMPL(sceTouchGetSamplingStateExt) +BRIDGE_IMPL(sceTouchPeek) +BRIDGE_IMPL(sceTouchPeek2) +BRIDGE_IMPL(sceTouchPeekRegion) +BRIDGE_IMPL(sceTouchPeekRegionExt) +BRIDGE_IMPL(sceTouchRead) +BRIDGE_IMPL(sceTouchRead2) +BRIDGE_IMPL(sceTouchReadRegion) +BRIDGE_IMPL(sceTouchReadRegionExt) +BRIDGE_IMPL(sceTouchSetProcessPrivilege) +BRIDGE_IMPL(sceTouchSetRegion) +BRIDGE_IMPL(sceTouchSetRegionAttr) +BRIDGE_IMPL(sceTouchSetSamplingState) +BRIDGE_IMPL(sceTouchSetSamplingStateExt) diff --git a/src/emulator/modules/SceUdcd/CMakeLists.txt b/src/emulator/modules/SceUdcd/CMakeLists.txt new file mode 100644 index 000000000..08fd63e33 --- /dev/null +++ b/src/emulator/modules/SceUdcd/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceUdcd STATIC include/SceUdcd/exports.h src/SceUdcd.cpp) +target_include_directories(SceUdcd PUBLIC include) +target_link_libraries(SceUdcd PRIVATE module) diff --git a/src/emulator/modules/SceUdcd/include/SceUdcd/exports.h b/src/emulator/modules/SceUdcd/include/SceUdcd/exports.h new file mode 100644 index 000000000..a1dc6edc7 --- /dev/null +++ b/src/emulator/modules/SceUdcd/include/SceUdcd/exports.h @@ -0,0 +1,28 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceUdcd +BRIDGE_DECL(sceUdcdGetDeviceInfo) +BRIDGE_DECL(sceUdcdGetDeviceState) +BRIDGE_DECL(sceUdcdGetDrvState) +BRIDGE_DECL(sceUdcdRegisterCallback) +BRIDGE_DECL(sceUdcdUnregisterCallback) +BRIDGE_DECL(sceUdcdWaitState) diff --git a/src/emulator/modules/SceUdcd/src/SceUdcd.cpp b/src/emulator/modules/SceUdcd/src/SceUdcd.cpp new file mode 100644 index 000000000..46aac225c --- /dev/null +++ b/src/emulator/modules/SceUdcd/src/SceUdcd.cpp @@ -0,0 +1,49 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceUdcdGetDeviceInfo) { + return unimplemented("sceUdcdGetDeviceInfo"); +} + +EXPORT(int, sceUdcdGetDeviceState) { + return unimplemented("sceUdcdGetDeviceState"); +} + +EXPORT(int, sceUdcdGetDrvState) { + return unimplemented("sceUdcdGetDrvState"); +} + +EXPORT(int, sceUdcdRegisterCallback) { + return unimplemented("sceUdcdRegisterCallback"); +} + +EXPORT(int, sceUdcdUnregisterCallback) { + return unimplemented("sceUdcdUnregisterCallback"); +} + +EXPORT(int, sceUdcdWaitState) { + return unimplemented("sceUdcdWaitState"); +} + +BRIDGE_IMPL(sceUdcdGetDeviceInfo) +BRIDGE_IMPL(sceUdcdGetDeviceState) +BRIDGE_IMPL(sceUdcdGetDrvState) +BRIDGE_IMPL(sceUdcdRegisterCallback) +BRIDGE_IMPL(sceUdcdUnregisterCallback) +BRIDGE_IMPL(sceUdcdWaitState) diff --git a/src/emulator/modules/SceUlt/CMakeLists.txt b/src/emulator/modules/SceUlt/CMakeLists.txt new file mode 100644 index 000000000..feffead97 --- /dev/null +++ b/src/emulator/modules/SceUlt/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceUlt STATIC include/SceUlt/exports.h src/SceUlt.cpp) +target_include_directories(SceUlt PUBLIC include) +target_link_libraries(SceUlt PRIVATE module) diff --git a/src/emulator/modules/SceUlt/include/SceUlt/exports.h b/src/emulator/modules/SceUlt/include/SceUlt/exports.h new file mode 100644 index 000000000..fa262db57 --- /dev/null +++ b/src/emulator/modules/SceUlt/include/SceUlt/exports.h @@ -0,0 +1,84 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceUlt +BRIDGE_DECL(_sceUltConditionVariableCreate) +BRIDGE_DECL(_sceUltConditionVariableOptParamInitialize) +BRIDGE_DECL(_sceUltMutexCreate) +BRIDGE_DECL(_sceUltMutexOptParamInitialize) +BRIDGE_DECL(_sceUltQueueCreate) +BRIDGE_DECL(_sceUltQueueDataResourcePoolCreate) +BRIDGE_DECL(_sceUltQueueDataResourcePoolOptParamInitialize) +BRIDGE_DECL(_sceUltQueueOptParamInitialize) +BRIDGE_DECL(_sceUltReaderWriterLockCreate) +BRIDGE_DECL(_sceUltReaderWriterLockOptParamInitialize) +BRIDGE_DECL(_sceUltSemaphoreCreate) +BRIDGE_DECL(_sceUltSemaphoreOptParamInitialize) +BRIDGE_DECL(_sceUltUlthreadCreate) +BRIDGE_DECL(_sceUltUlthreadOptParamInitialize) +BRIDGE_DECL(_sceUltUlthreadRuntimeCreate) +BRIDGE_DECL(_sceUltUlthreadRuntimeOptParamInitialize) +BRIDGE_DECL(_sceUltWaitingQueueResourcePoolCreate) +BRIDGE_DECL(_sceUltWaitingQueueResourcePoolOptParamInitialize) +BRIDGE_DECL(sceUltConditionVariableDestroy) +BRIDGE_DECL(sceUltConditionVariableSignal) +BRIDGE_DECL(sceUltConditionVariableSignalAll) +BRIDGE_DECL(sceUltConditionVariableWait) +BRIDGE_DECL(sceUltGetConditionVariableInfo) +BRIDGE_DECL(sceUltGetMutexInfo) +BRIDGE_DECL(sceUltGetQueueDataResourcePoolInfo) +BRIDGE_DECL(sceUltGetQueueInfo) +BRIDGE_DECL(sceUltGetReaderWriterLockInfo) +BRIDGE_DECL(sceUltGetSemaphoreInfo) +BRIDGE_DECL(sceUltGetUlthreadInfo) +BRIDGE_DECL(sceUltGetUlthreadRuntimeInfo) +BRIDGE_DECL(sceUltGetWaitingQueueResourcePoolInfo) +BRIDGE_DECL(sceUltMutexDestroy) +BRIDGE_DECL(sceUltMutexLock) +BRIDGE_DECL(sceUltMutexTryLock) +BRIDGE_DECL(sceUltMutexUnlock) +BRIDGE_DECL(sceUltQueueDataResourcePoolDestroy) +BRIDGE_DECL(sceUltQueueDataResourcePoolGetWorkAreaSize) +BRIDGE_DECL(sceUltQueueDestroy) +BRIDGE_DECL(sceUltQueuePop) +BRIDGE_DECL(sceUltQueuePush) +BRIDGE_DECL(sceUltQueueTryPop) +BRIDGE_DECL(sceUltQueueTryPush) +BRIDGE_DECL(sceUltReaderWriterLockDestroy) +BRIDGE_DECL(sceUltReaderWriterLockLockRead) +BRIDGE_DECL(sceUltReaderWriterLockLockWrite) +BRIDGE_DECL(sceUltReaderWriterLockTryLockRead) +BRIDGE_DECL(sceUltReaderWriterLockTryLockWrite) +BRIDGE_DECL(sceUltReaderWriterLockUnlockRead) +BRIDGE_DECL(sceUltReaderWriterLockUnlockWrite) +BRIDGE_DECL(sceUltSemaphoreAcquire) +BRIDGE_DECL(sceUltSemaphoreDestroy) +BRIDGE_DECL(sceUltSemaphoreRelease) +BRIDGE_DECL(sceUltSemaphoreTryAcquire) +BRIDGE_DECL(sceUltUlthreadExit) +BRIDGE_DECL(sceUltUlthreadGetSelf) +BRIDGE_DECL(sceUltUlthreadJoin) +BRIDGE_DECL(sceUltUlthreadRuntimeDestroy) +BRIDGE_DECL(sceUltUlthreadRuntimeGetWorkAreaSize) +BRIDGE_DECL(sceUltUlthreadTryJoin) +BRIDGE_DECL(sceUltUlthreadYield) +BRIDGE_DECL(sceUltWaitingQueueResourcePoolDestroy) +BRIDGE_DECL(sceUltWaitingQueueResourcePoolGetWorkAreaSize) diff --git a/src/emulator/modules/SceUlt/src/SceUlt.cpp b/src/emulator/modules/SceUlt/src/SceUlt.cpp new file mode 100644 index 000000000..8e08edcc2 --- /dev/null +++ b/src/emulator/modules/SceUlt/src/SceUlt.cpp @@ -0,0 +1,329 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _sceUltConditionVariableCreate) { + return unimplemented("_sceUltConditionVariableCreate"); +} + +EXPORT(int, _sceUltConditionVariableOptParamInitialize) { + return unimplemented("_sceUltConditionVariableOptParamInitialize"); +} + +EXPORT(int, _sceUltMutexCreate) { + return unimplemented("_sceUltMutexCreate"); +} + +EXPORT(int, _sceUltMutexOptParamInitialize) { + return unimplemented("_sceUltMutexOptParamInitialize"); +} + +EXPORT(int, _sceUltQueueCreate) { + return unimplemented("_sceUltQueueCreate"); +} + +EXPORT(int, _sceUltQueueDataResourcePoolCreate) { + return unimplemented("_sceUltQueueDataResourcePoolCreate"); +} + +EXPORT(int, _sceUltQueueDataResourcePoolOptParamInitialize) { + return unimplemented("_sceUltQueueDataResourcePoolOptParamInitialize"); +} + +EXPORT(int, _sceUltQueueOptParamInitialize) { + return unimplemented("_sceUltQueueOptParamInitialize"); +} + +EXPORT(int, _sceUltReaderWriterLockCreate) { + return unimplemented("_sceUltReaderWriterLockCreate"); +} + +EXPORT(int, _sceUltReaderWriterLockOptParamInitialize) { + return unimplemented("_sceUltReaderWriterLockOptParamInitialize"); +} + +EXPORT(int, _sceUltSemaphoreCreate) { + return unimplemented("_sceUltSemaphoreCreate"); +} + +EXPORT(int, _sceUltSemaphoreOptParamInitialize) { + return unimplemented("_sceUltSemaphoreOptParamInitialize"); +} + +EXPORT(int, _sceUltUlthreadCreate) { + return unimplemented("_sceUltUlthreadCreate"); +} + +EXPORT(int, _sceUltUlthreadOptParamInitialize) { + return unimplemented("_sceUltUlthreadOptParamInitialize"); +} + +EXPORT(int, _sceUltUlthreadRuntimeCreate) { + return unimplemented("_sceUltUlthreadRuntimeCreate"); +} + +EXPORT(int, _sceUltUlthreadRuntimeOptParamInitialize) { + return unimplemented("_sceUltUlthreadRuntimeOptParamInitialize"); +} + +EXPORT(int, _sceUltWaitingQueueResourcePoolCreate) { + return unimplemented("_sceUltWaitingQueueResourcePoolCreate"); +} + +EXPORT(int, _sceUltWaitingQueueResourcePoolOptParamInitialize) { + return unimplemented("_sceUltWaitingQueueResourcePoolOptParamInitialize"); +} + +EXPORT(int, sceUltConditionVariableDestroy) { + return unimplemented("sceUltConditionVariableDestroy"); +} + +EXPORT(int, sceUltConditionVariableSignal) { + return unimplemented("sceUltConditionVariableSignal"); +} + +EXPORT(int, sceUltConditionVariableSignalAll) { + return unimplemented("sceUltConditionVariableSignalAll"); +} + +EXPORT(int, sceUltConditionVariableWait) { + return unimplemented("sceUltConditionVariableWait"); +} + +EXPORT(int, sceUltGetConditionVariableInfo) { + return unimplemented("sceUltGetConditionVariableInfo"); +} + +EXPORT(int, sceUltGetMutexInfo) { + return unimplemented("sceUltGetMutexInfo"); +} + +EXPORT(int, sceUltGetQueueDataResourcePoolInfo) { + return unimplemented("sceUltGetQueueDataResourcePoolInfo"); +} + +EXPORT(int, sceUltGetQueueInfo) { + return unimplemented("sceUltGetQueueInfo"); +} + +EXPORT(int, sceUltGetReaderWriterLockInfo) { + return unimplemented("sceUltGetReaderWriterLockInfo"); +} + +EXPORT(int, sceUltGetSemaphoreInfo) { + return unimplemented("sceUltGetSemaphoreInfo"); +} + +EXPORT(int, sceUltGetUlthreadInfo) { + return unimplemented("sceUltGetUlthreadInfo"); +} + +EXPORT(int, sceUltGetUlthreadRuntimeInfo) { + return unimplemented("sceUltGetUlthreadRuntimeInfo"); +} + +EXPORT(int, sceUltGetWaitingQueueResourcePoolInfo) { + return unimplemented("sceUltGetWaitingQueueResourcePoolInfo"); +} + +EXPORT(int, sceUltMutexDestroy) { + return unimplemented("sceUltMutexDestroy"); +} + +EXPORT(int, sceUltMutexLock) { + return unimplemented("sceUltMutexLock"); +} + +EXPORT(int, sceUltMutexTryLock) { + return unimplemented("sceUltMutexTryLock"); +} + +EXPORT(int, sceUltMutexUnlock) { + return unimplemented("sceUltMutexUnlock"); +} + +EXPORT(int, sceUltQueueDataResourcePoolDestroy) { + return unimplemented("sceUltQueueDataResourcePoolDestroy"); +} + +EXPORT(int, sceUltQueueDataResourcePoolGetWorkAreaSize) { + return unimplemented("sceUltQueueDataResourcePoolGetWorkAreaSize"); +} + +EXPORT(int, sceUltQueueDestroy) { + return unimplemented("sceUltQueueDestroy"); +} + +EXPORT(int, sceUltQueuePop) { + return unimplemented("sceUltQueuePop"); +} + +EXPORT(int, sceUltQueuePush) { + return unimplemented("sceUltQueuePush"); +} + +EXPORT(int, sceUltQueueTryPop) { + return unimplemented("sceUltQueueTryPop"); +} + +EXPORT(int, sceUltQueueTryPush) { + return unimplemented("sceUltQueueTryPush"); +} + +EXPORT(int, sceUltReaderWriterLockDestroy) { + return unimplemented("sceUltReaderWriterLockDestroy"); +} + +EXPORT(int, sceUltReaderWriterLockLockRead) { + return unimplemented("sceUltReaderWriterLockLockRead"); +} + +EXPORT(int, sceUltReaderWriterLockLockWrite) { + return unimplemented("sceUltReaderWriterLockLockWrite"); +} + +EXPORT(int, sceUltReaderWriterLockTryLockRead) { + return unimplemented("sceUltReaderWriterLockTryLockRead"); +} + +EXPORT(int, sceUltReaderWriterLockTryLockWrite) { + return unimplemented("sceUltReaderWriterLockTryLockWrite"); +} + +EXPORT(int, sceUltReaderWriterLockUnlockRead) { + return unimplemented("sceUltReaderWriterLockUnlockRead"); +} + +EXPORT(int, sceUltReaderWriterLockUnlockWrite) { + return unimplemented("sceUltReaderWriterLockUnlockWrite"); +} + +EXPORT(int, sceUltSemaphoreAcquire) { + return unimplemented("sceUltSemaphoreAcquire"); +} + +EXPORT(int, sceUltSemaphoreDestroy) { + return unimplemented("sceUltSemaphoreDestroy"); +} + +EXPORT(int, sceUltSemaphoreRelease) { + return unimplemented("sceUltSemaphoreRelease"); +} + +EXPORT(int, sceUltSemaphoreTryAcquire) { + return unimplemented("sceUltSemaphoreTryAcquire"); +} + +EXPORT(int, sceUltUlthreadExit) { + return unimplemented("sceUltUlthreadExit"); +} + +EXPORT(int, sceUltUlthreadGetSelf) { + return unimplemented("sceUltUlthreadGetSelf"); +} + +EXPORT(int, sceUltUlthreadJoin) { + return unimplemented("sceUltUlthreadJoin"); +} + +EXPORT(int, sceUltUlthreadRuntimeDestroy) { + return unimplemented("sceUltUlthreadRuntimeDestroy"); +} + +EXPORT(int, sceUltUlthreadRuntimeGetWorkAreaSize) { + return unimplemented("sceUltUlthreadRuntimeGetWorkAreaSize"); +} + +EXPORT(int, sceUltUlthreadTryJoin) { + return unimplemented("sceUltUlthreadTryJoin"); +} + +EXPORT(int, sceUltUlthreadYield) { + return unimplemented("sceUltUlthreadYield"); +} + +EXPORT(int, sceUltWaitingQueueResourcePoolDestroy) { + return unimplemented("sceUltWaitingQueueResourcePoolDestroy"); +} + +EXPORT(int, sceUltWaitingQueueResourcePoolGetWorkAreaSize) { + return unimplemented("sceUltWaitingQueueResourcePoolGetWorkAreaSize"); +} + +BRIDGE_IMPL(_sceUltConditionVariableCreate) +BRIDGE_IMPL(_sceUltConditionVariableOptParamInitialize) +BRIDGE_IMPL(_sceUltMutexCreate) +BRIDGE_IMPL(_sceUltMutexOptParamInitialize) +BRIDGE_IMPL(_sceUltQueueCreate) +BRIDGE_IMPL(_sceUltQueueDataResourcePoolCreate) +BRIDGE_IMPL(_sceUltQueueDataResourcePoolOptParamInitialize) +BRIDGE_IMPL(_sceUltQueueOptParamInitialize) +BRIDGE_IMPL(_sceUltReaderWriterLockCreate) +BRIDGE_IMPL(_sceUltReaderWriterLockOptParamInitialize) +BRIDGE_IMPL(_sceUltSemaphoreCreate) +BRIDGE_IMPL(_sceUltSemaphoreOptParamInitialize) +BRIDGE_IMPL(_sceUltUlthreadCreate) +BRIDGE_IMPL(_sceUltUlthreadOptParamInitialize) +BRIDGE_IMPL(_sceUltUlthreadRuntimeCreate) +BRIDGE_IMPL(_sceUltUlthreadRuntimeOptParamInitialize) +BRIDGE_IMPL(_sceUltWaitingQueueResourcePoolCreate) +BRIDGE_IMPL(_sceUltWaitingQueueResourcePoolOptParamInitialize) +BRIDGE_IMPL(sceUltConditionVariableDestroy) +BRIDGE_IMPL(sceUltConditionVariableSignal) +BRIDGE_IMPL(sceUltConditionVariableSignalAll) +BRIDGE_IMPL(sceUltConditionVariableWait) +BRIDGE_IMPL(sceUltGetConditionVariableInfo) +BRIDGE_IMPL(sceUltGetMutexInfo) +BRIDGE_IMPL(sceUltGetQueueDataResourcePoolInfo) +BRIDGE_IMPL(sceUltGetQueueInfo) +BRIDGE_IMPL(sceUltGetReaderWriterLockInfo) +BRIDGE_IMPL(sceUltGetSemaphoreInfo) +BRIDGE_IMPL(sceUltGetUlthreadInfo) +BRIDGE_IMPL(sceUltGetUlthreadRuntimeInfo) +BRIDGE_IMPL(sceUltGetWaitingQueueResourcePoolInfo) +BRIDGE_IMPL(sceUltMutexDestroy) +BRIDGE_IMPL(sceUltMutexLock) +BRIDGE_IMPL(sceUltMutexTryLock) +BRIDGE_IMPL(sceUltMutexUnlock) +BRIDGE_IMPL(sceUltQueueDataResourcePoolDestroy) +BRIDGE_IMPL(sceUltQueueDataResourcePoolGetWorkAreaSize) +BRIDGE_IMPL(sceUltQueueDestroy) +BRIDGE_IMPL(sceUltQueuePop) +BRIDGE_IMPL(sceUltQueuePush) +BRIDGE_IMPL(sceUltQueueTryPop) +BRIDGE_IMPL(sceUltQueueTryPush) +BRIDGE_IMPL(sceUltReaderWriterLockDestroy) +BRIDGE_IMPL(sceUltReaderWriterLockLockRead) +BRIDGE_IMPL(sceUltReaderWriterLockLockWrite) +BRIDGE_IMPL(sceUltReaderWriterLockTryLockRead) +BRIDGE_IMPL(sceUltReaderWriterLockTryLockWrite) +BRIDGE_IMPL(sceUltReaderWriterLockUnlockRead) +BRIDGE_IMPL(sceUltReaderWriterLockUnlockWrite) +BRIDGE_IMPL(sceUltSemaphoreAcquire) +BRIDGE_IMPL(sceUltSemaphoreDestroy) +BRIDGE_IMPL(sceUltSemaphoreRelease) +BRIDGE_IMPL(sceUltSemaphoreTryAcquire) +BRIDGE_IMPL(sceUltUlthreadExit) +BRIDGE_IMPL(sceUltUlthreadGetSelf) +BRIDGE_IMPL(sceUltUlthreadJoin) +BRIDGE_IMPL(sceUltUlthreadRuntimeDestroy) +BRIDGE_IMPL(sceUltUlthreadRuntimeGetWorkAreaSize) +BRIDGE_IMPL(sceUltUlthreadTryJoin) +BRIDGE_IMPL(sceUltUlthreadYield) +BRIDGE_IMPL(sceUltWaitingQueueResourcePoolDestroy) +BRIDGE_IMPL(sceUltWaitingQueueResourcePoolGetWorkAreaSize) diff --git a/src/emulator/modules/SceUsbSerial/CMakeLists.txt b/src/emulator/modules/SceUsbSerial/CMakeLists.txt new file mode 100644 index 000000000..b228fc3a1 --- /dev/null +++ b/src/emulator/modules/SceUsbSerial/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceUsbSerial STATIC include/SceUsbSerial/exports.h src/SceUsbSerial.cpp) +target_include_directories(SceUsbSerial PUBLIC include) +target_link_libraries(SceUsbSerial PRIVATE module) diff --git a/src/emulator/modules/SceUsbSerial/include/SceUsbSerial/exports.h b/src/emulator/modules/SceUsbSerial/include/SceUsbSerial/exports.h new file mode 100644 index 000000000..ea052cb51 --- /dev/null +++ b/src/emulator/modules/SceUsbSerial/include/SceUsbSerial/exports.h @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceUsbSerial +BRIDGE_DECL(sceUsbSerialClose) +BRIDGE_DECL(sceUsbSerialGetRecvBufferSize) +BRIDGE_DECL(sceUsbSerialRecv) +BRIDGE_DECL(sceUsbSerialSend) +BRIDGE_DECL(sceUsbSerialSetup) +BRIDGE_DECL(sceUsbSerialStart) +BRIDGE_DECL(sceUsbSerialStatus) diff --git a/src/emulator/modules/SceUsbSerial/src/SceUsbSerial.cpp b/src/emulator/modules/SceUsbSerial/src/SceUsbSerial.cpp new file mode 100644 index 000000000..6fdc1d45e --- /dev/null +++ b/src/emulator/modules/SceUsbSerial/src/SceUsbSerial.cpp @@ -0,0 +1,54 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceUsbSerialClose) { + return unimplemented("sceUsbSerialClose"); +} + +EXPORT(int, sceUsbSerialGetRecvBufferSize) { + return unimplemented("sceUsbSerialGetRecvBufferSize"); +} + +EXPORT(int, sceUsbSerialRecv) { + return unimplemented("sceUsbSerialRecv"); +} + +EXPORT(int, sceUsbSerialSend) { + return unimplemented("sceUsbSerialSend"); +} + +EXPORT(int, sceUsbSerialSetup) { + return unimplemented("sceUsbSerialSetup"); +} + +EXPORT(int, sceUsbSerialStart) { + return unimplemented("sceUsbSerialStart"); +} + +EXPORT(int, sceUsbSerialStatus) { + return unimplemented("sceUsbSerialStatus"); +} + +BRIDGE_IMPL(sceUsbSerialClose) +BRIDGE_IMPL(sceUsbSerialGetRecvBufferSize) +BRIDGE_IMPL(sceUsbSerialRecv) +BRIDGE_IMPL(sceUsbSerialSend) +BRIDGE_IMPL(sceUsbSerialSetup) +BRIDGE_IMPL(sceUsbSerialStart) +BRIDGE_IMPL(sceUsbSerialStatus) diff --git a/src/emulator/modules/SceUsbd/CMakeLists.txt b/src/emulator/modules/SceUsbd/CMakeLists.txt new file mode 100644 index 000000000..79f7f222a --- /dev/null +++ b/src/emulator/modules/SceUsbd/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceUsbd STATIC include/SceUsbd/exports.h src/SceUsbdForUser.cpp) +target_include_directories(SceUsbd PUBLIC include) +target_link_libraries(SceUsbd PRIVATE module) diff --git a/src/emulator/modules/SceUsbd/include/SceUsbd/exports.h b/src/emulator/modules/SceUsbd/include/SceUsbd/exports.h new file mode 100644 index 000000000..a3126be86 --- /dev/null +++ b/src/emulator/modules/SceUsbd/include/SceUsbd/exports.h @@ -0,0 +1,45 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceUsbdForUser +BRIDGE_DECL(sceUsbdAttach) +BRIDGE_DECL(sceUsbdAttachCompositeLdd) +BRIDGE_DECL(sceUsbdClosePipe) +BRIDGE_DECL(sceUsbdEnd) +BRIDGE_DECL(sceUsbdGetDescriptor) +BRIDGE_DECL(sceUsbdGetDescriptorSize) +BRIDGE_DECL(sceUsbdGetDeviceAddress) +BRIDGE_DECL(sceUsbdGetDeviceList) +BRIDGE_DECL(sceUsbdGetDeviceSpeed) +BRIDGE_DECL(sceUsbdGetIsochTransferStatus) +BRIDGE_DECL(sceUsbdGetTransferStatus) +BRIDGE_DECL(sceUsbdInit) +BRIDGE_DECL(sceUsbdIsochTransferData) +BRIDGE_DECL(sceUsbdOpenDefaultPipe) +BRIDGE_DECL(sceUsbdOpenPipe) +BRIDGE_DECL(sceUsbdReceiveEvent) +BRIDGE_DECL(sceUsbdRegisterCallback) +BRIDGE_DECL(sceUsbdRegisterCompositeLdd) +BRIDGE_DECL(sceUsbdRegisterLdd) +BRIDGE_DECL(sceUsbdResetDevice) +BRIDGE_DECL(sceUsbdTransferData) +BRIDGE_DECL(sceUsbdUnregisterCallback) +BRIDGE_DECL(sceUsbdUnregisterLdd) diff --git a/src/emulator/modules/SceUsbd/src/SceUsbdForUser.cpp b/src/emulator/modules/SceUsbd/src/SceUsbdForUser.cpp new file mode 100644 index 000000000..87ffea064 --- /dev/null +++ b/src/emulator/modules/SceUsbd/src/SceUsbdForUser.cpp @@ -0,0 +1,134 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceUsbdAttach) { + return unimplemented("sceUsbdAttach"); +} + +EXPORT(int, sceUsbdAttachCompositeLdd) { + return unimplemented("sceUsbdAttachCompositeLdd"); +} + +EXPORT(int, sceUsbdClosePipe) { + return unimplemented("sceUsbdClosePipe"); +} + +EXPORT(int, sceUsbdEnd) { + return unimplemented("sceUsbdEnd"); +} + +EXPORT(int, sceUsbdGetDescriptor) { + return unimplemented("sceUsbdGetDescriptor"); +} + +EXPORT(int, sceUsbdGetDescriptorSize) { + return unimplemented("sceUsbdGetDescriptorSize"); +} + +EXPORT(int, sceUsbdGetDeviceAddress) { + return unimplemented("sceUsbdGetDeviceAddress"); +} + +EXPORT(int, sceUsbdGetDeviceList) { + return unimplemented("sceUsbdGetDeviceList"); +} + +EXPORT(int, sceUsbdGetDeviceSpeed) { + return unimplemented("sceUsbdGetDeviceSpeed"); +} + +EXPORT(int, sceUsbdGetIsochTransferStatus) { + return unimplemented("sceUsbdGetIsochTransferStatus"); +} + +EXPORT(int, sceUsbdGetTransferStatus) { + return unimplemented("sceUsbdGetTransferStatus"); +} + +EXPORT(int, sceUsbdInit) { + return unimplemented("sceUsbdInit"); +} + +EXPORT(int, sceUsbdIsochTransferData) { + return unimplemented("sceUsbdIsochTransferData"); +} + +EXPORT(int, sceUsbdOpenDefaultPipe) { + return unimplemented("sceUsbdOpenDefaultPipe"); +} + +EXPORT(int, sceUsbdOpenPipe) { + return unimplemented("sceUsbdOpenPipe"); +} + +EXPORT(int, sceUsbdReceiveEvent) { + return unimplemented("sceUsbdReceiveEvent"); +} + +EXPORT(int, sceUsbdRegisterCallback) { + return unimplemented("sceUsbdRegisterCallback"); +} + +EXPORT(int, sceUsbdRegisterCompositeLdd) { + return unimplemented("sceUsbdRegisterCompositeLdd"); +} + +EXPORT(int, sceUsbdRegisterLdd) { + return unimplemented("sceUsbdRegisterLdd"); +} + +EXPORT(int, sceUsbdResetDevice) { + return unimplemented("sceUsbdResetDevice"); +} + +EXPORT(int, sceUsbdTransferData) { + return unimplemented("sceUsbdTransferData"); +} + +EXPORT(int, sceUsbdUnregisterCallback) { + return unimplemented("sceUsbdUnregisterCallback"); +} + +EXPORT(int, sceUsbdUnregisterLdd) { + return unimplemented("sceUsbdUnregisterLdd"); +} + +BRIDGE_IMPL(sceUsbdAttach) +BRIDGE_IMPL(sceUsbdAttachCompositeLdd) +BRIDGE_IMPL(sceUsbdClosePipe) +BRIDGE_IMPL(sceUsbdEnd) +BRIDGE_IMPL(sceUsbdGetDescriptor) +BRIDGE_IMPL(sceUsbdGetDescriptorSize) +BRIDGE_IMPL(sceUsbdGetDeviceAddress) +BRIDGE_IMPL(sceUsbdGetDeviceList) +BRIDGE_IMPL(sceUsbdGetDeviceSpeed) +BRIDGE_IMPL(sceUsbdGetIsochTransferStatus) +BRIDGE_IMPL(sceUsbdGetTransferStatus) +BRIDGE_IMPL(sceUsbdInit) +BRIDGE_IMPL(sceUsbdIsochTransferData) +BRIDGE_IMPL(sceUsbdOpenDefaultPipe) +BRIDGE_IMPL(sceUsbdOpenPipe) +BRIDGE_IMPL(sceUsbdReceiveEvent) +BRIDGE_IMPL(sceUsbdRegisterCallback) +BRIDGE_IMPL(sceUsbdRegisterCompositeLdd) +BRIDGE_IMPL(sceUsbdRegisterLdd) +BRIDGE_IMPL(sceUsbdResetDevice) +BRIDGE_IMPL(sceUsbdTransferData) +BRIDGE_IMPL(sceUsbdUnregisterCallback) +BRIDGE_IMPL(sceUsbdUnregisterLdd) diff --git a/src/emulator/modules/SceUsbstorVStorDriver/CMakeLists.txt b/src/emulator/modules/SceUsbstorVStorDriver/CMakeLists.txt new file mode 100644 index 000000000..c596681cb --- /dev/null +++ b/src/emulator/modules/SceUsbstorVStorDriver/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceUsbstorVStorDriver STATIC include/SceUsbstorVStorDriver/exports.h src/SceUsbstorVStor.cpp) +target_include_directories(SceUsbstorVStorDriver PUBLIC include) +target_link_libraries(SceUsbstorVStorDriver PRIVATE module) diff --git a/src/emulator/modules/SceUsbstorVStorDriver/include/SceUsbstorVStorDriver/exports.h b/src/emulator/modules/SceUsbstorVStorDriver/include/SceUsbstorVStorDriver/exports.h new file mode 100644 index 000000000..b6f34c5fb --- /dev/null +++ b/src/emulator/modules/SceUsbstorVStorDriver/include/SceUsbstorVStorDriver/exports.h @@ -0,0 +1,26 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceUsbstorVStor +BRIDGE_DECL(sceUsbstorVStorSetDeviceInfo) +BRIDGE_DECL(sceUsbstorVStorSetImgFilePath) +BRIDGE_DECL(sceUsbstorVStorStart) +BRIDGE_DECL(sceUsbstorVStorStop) diff --git a/src/emulator/modules/SceUsbstorVStorDriver/src/SceUsbstorVStor.cpp b/src/emulator/modules/SceUsbstorVStorDriver/src/SceUsbstorVStor.cpp new file mode 100644 index 000000000..aca2b4ff1 --- /dev/null +++ b/src/emulator/modules/SceUsbstorVStorDriver/src/SceUsbstorVStor.cpp @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceUsbstorVStorSetDeviceInfo) { + return unimplemented("sceUsbstorVStorSetDeviceInfo"); +} + +EXPORT(int, sceUsbstorVStorSetImgFilePath) { + return unimplemented("sceUsbstorVStorSetImgFilePath"); +} + +EXPORT(int, sceUsbstorVStorStart) { + return unimplemented("sceUsbstorVStorStart"); +} + +EXPORT(int, sceUsbstorVStorStop) { + return unimplemented("sceUsbstorVStorStop"); +} + +BRIDGE_IMPL(sceUsbstorVStorSetDeviceInfo) +BRIDGE_IMPL(sceUsbstorVStorSetImgFilePath) +BRIDGE_IMPL(sceUsbstorVStorStart) +BRIDGE_IMPL(sceUsbstorVStorStop) diff --git a/src/emulator/modules/SceVideoExport/CMakeLists.txt b/src/emulator/modules/SceVideoExport/CMakeLists.txt new file mode 100644 index 000000000..34076a0b7 --- /dev/null +++ b/src/emulator/modules/SceVideoExport/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceVideoExport STATIC include/SceVideoExport/exports.h src/SceVideoExport.cpp) +target_include_directories(SceVideoExport PUBLIC include) +target_link_libraries(SceVideoExport PRIVATE module) diff --git a/src/emulator/modules/SceVideoExport/include/SceVideoExport/exports.h b/src/emulator/modules/SceVideoExport/include/SceVideoExport/exports.h new file mode 100644 index 000000000..a6bf4d383 --- /dev/null +++ b/src/emulator/modules/SceVideoExport/include/SceVideoExport/exports.h @@ -0,0 +1,23 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceVideoExport +BRIDGE_DECL(sceVideoExportFromFile) diff --git a/src/emulator/modules/SceVideoExport/src/SceVideoExport.cpp b/src/emulator/modules/SceVideoExport/src/SceVideoExport.cpp new file mode 100644 index 000000000..2173b2c0d --- /dev/null +++ b/src/emulator/modules/SceVideoExport/src/SceVideoExport.cpp @@ -0,0 +1,24 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceVideoExportFromFile) { + return unimplemented("sceVideoExportFromFile"); +} + +BRIDGE_IMPL(sceVideoExportFromFile) diff --git a/src/emulator/modules/SceVideodec/CMakeLists.txt b/src/emulator/modules/SceVideodec/CMakeLists.txt new file mode 100644 index 000000000..c8afe4d7e --- /dev/null +++ b/src/emulator/modules/SceVideodec/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceVideodec STATIC include/SceVideodec/exports.h src/SceVideodecUser.cpp) +target_include_directories(SceVideodec PUBLIC include) +target_link_libraries(SceVideodec PRIVATE module) diff --git a/src/emulator/modules/SceVideodec/include/SceVideodec/exports.h b/src/emulator/modules/SceVideodec/include/SceVideodec/exports.h new file mode 100644 index 000000000..b4e35d0d1 --- /dev/null +++ b/src/emulator/modules/SceVideodec/include/SceVideodec/exports.h @@ -0,0 +1,43 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceVideodecUser +BRIDGE_DECL(sceAvcdecCreateDecoder) +BRIDGE_DECL(sceAvcdecCsc) +BRIDGE_DECL(sceAvcdecCscInternal) +BRIDGE_DECL(sceAvcdecDecode) +BRIDGE_DECL(sceAvcdecDecodeAvailableSize) +BRIDGE_DECL(sceAvcdecDecodeFlush) +BRIDGE_DECL(sceAvcdecDecodeStop) +BRIDGE_DECL(sceAvcdecDeleteDecoder) +BRIDGE_DECL(sceAvcdecQueryDecoderMemSize) +BRIDGE_DECL(sceM4vdecCreateDecoder) +BRIDGE_DECL(sceM4vdecCsc) +BRIDGE_DECL(sceM4vdecDecode) +BRIDGE_DECL(sceM4vdecDecodeAvailableSize) +BRIDGE_DECL(sceM4vdecDecodeFlush) +BRIDGE_DECL(sceM4vdecDecodeStop) +BRIDGE_DECL(sceM4vdecDeleteDecoder) +BRIDGE_DECL(sceM4vdecQueryDecoderMemSize) +BRIDGE_DECL(sceVideodecInitLibrary) +BRIDGE_DECL(sceVideodecInitLibraryWithUnmapMem) +BRIDGE_DECL(sceVideodecQueryMemSize) +BRIDGE_DECL(sceVideodecTermLibrary) diff --git a/src/emulator/modules/SceVideodec/src/SceVideodecUser.cpp b/src/emulator/modules/SceVideodec/src/SceVideodecUser.cpp new file mode 100644 index 000000000..f336db71e --- /dev/null +++ b/src/emulator/modules/SceVideodec/src/SceVideodecUser.cpp @@ -0,0 +1,124 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceAvcdecCreateDecoder) { + return unimplemented("sceAvcdecCreateDecoder"); +} + +EXPORT(int, sceAvcdecCsc) { + return unimplemented("sceAvcdecCsc"); +} + +EXPORT(int, sceAvcdecCscInternal) { + return unimplemented("sceAvcdecCscInternal"); +} + +EXPORT(int, sceAvcdecDecode) { + return unimplemented("sceAvcdecDecode"); +} + +EXPORT(int, sceAvcdecDecodeAvailableSize) { + return unimplemented("sceAvcdecDecodeAvailableSize"); +} + +EXPORT(int, sceAvcdecDecodeFlush) { + return unimplemented("sceAvcdecDecodeFlush"); +} + +EXPORT(int, sceAvcdecDecodeStop) { + return unimplemented("sceAvcdecDecodeStop"); +} + +EXPORT(int, sceAvcdecDeleteDecoder) { + return unimplemented("sceAvcdecDeleteDecoder"); +} + +EXPORT(int, sceAvcdecQueryDecoderMemSize) { + return unimplemented("sceAvcdecQueryDecoderMemSize"); +} + +EXPORT(int, sceM4vdecCreateDecoder) { + return unimplemented("sceM4vdecCreateDecoder"); +} + +EXPORT(int, sceM4vdecCsc) { + return unimplemented("sceM4vdecCsc"); +} + +EXPORT(int, sceM4vdecDecode) { + return unimplemented("sceM4vdecDecode"); +} + +EXPORT(int, sceM4vdecDecodeAvailableSize) { + return unimplemented("sceM4vdecDecodeAvailableSize"); +} + +EXPORT(int, sceM4vdecDecodeFlush) { + return unimplemented("sceM4vdecDecodeFlush"); +} + +EXPORT(int, sceM4vdecDecodeStop) { + return unimplemented("sceM4vdecDecodeStop"); +} + +EXPORT(int, sceM4vdecDeleteDecoder) { + return unimplemented("sceM4vdecDeleteDecoder"); +} + +EXPORT(int, sceM4vdecQueryDecoderMemSize) { + return unimplemented("sceM4vdecQueryDecoderMemSize"); +} + +EXPORT(int, sceVideodecInitLibrary) { + return unimplemented("sceVideodecInitLibrary"); +} + +EXPORT(int, sceVideodecInitLibraryWithUnmapMem) { + return unimplemented("sceVideodecInitLibraryWithUnmapMem"); +} + +EXPORT(int, sceVideodecQueryMemSize) { + return unimplemented("sceVideodecQueryMemSize"); +} + +EXPORT(int, sceVideodecTermLibrary) { + return unimplemented("sceVideodecTermLibrary"); +} + +BRIDGE_IMPL(sceAvcdecCreateDecoder) +BRIDGE_IMPL(sceAvcdecCsc) +BRIDGE_IMPL(sceAvcdecCscInternal) +BRIDGE_IMPL(sceAvcdecDecode) +BRIDGE_IMPL(sceAvcdecDecodeAvailableSize) +BRIDGE_IMPL(sceAvcdecDecodeFlush) +BRIDGE_IMPL(sceAvcdecDecodeStop) +BRIDGE_IMPL(sceAvcdecDeleteDecoder) +BRIDGE_IMPL(sceAvcdecQueryDecoderMemSize) +BRIDGE_IMPL(sceM4vdecCreateDecoder) +BRIDGE_IMPL(sceM4vdecCsc) +BRIDGE_IMPL(sceM4vdecDecode) +BRIDGE_IMPL(sceM4vdecDecodeAvailableSize) +BRIDGE_IMPL(sceM4vdecDecodeFlush) +BRIDGE_IMPL(sceM4vdecDecodeStop) +BRIDGE_IMPL(sceM4vdecDeleteDecoder) +BRIDGE_IMPL(sceM4vdecQueryDecoderMemSize) +BRIDGE_IMPL(sceVideodecInitLibrary) +BRIDGE_IMPL(sceVideodecInitLibraryWithUnmapMem) +BRIDGE_IMPL(sceVideodecQueryMemSize) +BRIDGE_IMPL(sceVideodecTermLibrary) diff --git a/src/emulator/modules/SceVoice/CMakeLists.txt b/src/emulator/modules/SceVoice/CMakeLists.txt new file mode 100644 index 000000000..43719d25f --- /dev/null +++ b/src/emulator/modules/SceVoice/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceVoice STATIC include/SceVoice/exports.h src/SceVoice.cpp) +target_include_directories(SceVoice PUBLIC include) +target_link_libraries(SceVoice PRIVATE module) diff --git a/src/emulator/modules/SceVoice/include/SceVoice/exports.h b/src/emulator/modules/SceVoice/include/SceVoice/exports.h new file mode 100644 index 000000000..eade4482b --- /dev/null +++ b/src/emulator/modules/SceVoice/include/SceVoice/exports.h @@ -0,0 +1,50 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceVoice +BRIDGE_DECL(sceVoiceCheckTopology) +BRIDGE_DECL(sceVoiceConnectIPortToOPort) +BRIDGE_DECL(sceVoiceCreatePort) +BRIDGE_DECL(sceVoiceDeletePort) +BRIDGE_DECL(sceVoiceDisconnectIPortFromOPort) +BRIDGE_DECL(sceVoiceEnd) +BRIDGE_DECL(sceVoiceGetBitRate) +BRIDGE_DECL(sceVoiceGetMuteFlag) +BRIDGE_DECL(sceVoiceGetPortAttr) +BRIDGE_DECL(sceVoiceGetPortInfo) +BRIDGE_DECL(sceVoiceGetResourceInfo) +BRIDGE_DECL(sceVoiceGetVolume) +BRIDGE_DECL(sceVoiceInit) +BRIDGE_DECL(sceVoicePausePort) +BRIDGE_DECL(sceVoicePausePortAll) +BRIDGE_DECL(sceVoiceReadFromOPort) +BRIDGE_DECL(sceVoiceResetPort) +BRIDGE_DECL(sceVoiceResumePort) +BRIDGE_DECL(sceVoiceResumePortAll) +BRIDGE_DECL(sceVoiceSetBitRate) +BRIDGE_DECL(sceVoiceSetMuteFlag) +BRIDGE_DECL(sceVoiceSetMuteFlagAll) +BRIDGE_DECL(sceVoiceSetPortAttr) +BRIDGE_DECL(sceVoiceSetVolume) +BRIDGE_DECL(sceVoiceStart) +BRIDGE_DECL(sceVoiceStop) +BRIDGE_DECL(sceVoiceUpdatePort) +BRIDGE_DECL(sceVoiceWriteToIPort) diff --git a/src/emulator/modules/SceVoice/src/SceVoice.cpp b/src/emulator/modules/SceVoice/src/SceVoice.cpp new file mode 100644 index 000000000..d5959ba8a --- /dev/null +++ b/src/emulator/modules/SceVoice/src/SceVoice.cpp @@ -0,0 +1,159 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceVoiceCheckTopology) { + return unimplemented("sceVoiceCheckTopology"); +} + +EXPORT(int, sceVoiceConnectIPortToOPort) { + return unimplemented("sceVoiceConnectIPortToOPort"); +} + +EXPORT(int, sceVoiceCreatePort) { + return unimplemented("sceVoiceCreatePort"); +} + +EXPORT(int, sceVoiceDeletePort) { + return unimplemented("sceVoiceDeletePort"); +} + +EXPORT(int, sceVoiceDisconnectIPortFromOPort) { + return unimplemented("sceVoiceDisconnectIPortFromOPort"); +} + +EXPORT(int, sceVoiceEnd) { + return unimplemented("sceVoiceEnd"); +} + +EXPORT(int, sceVoiceGetBitRate) { + return unimplemented("sceVoiceGetBitRate"); +} + +EXPORT(int, sceVoiceGetMuteFlag) { + return unimplemented("sceVoiceGetMuteFlag"); +} + +EXPORT(int, sceVoiceGetPortAttr) { + return unimplemented("sceVoiceGetPortAttr"); +} + +EXPORT(int, sceVoiceGetPortInfo) { + return unimplemented("sceVoiceGetPortInfo"); +} + +EXPORT(int, sceVoiceGetResourceInfo) { + return unimplemented("sceVoiceGetResourceInfo"); +} + +EXPORT(int, sceVoiceGetVolume) { + return unimplemented("sceVoiceGetVolume"); +} + +EXPORT(int, sceVoiceInit) { + return unimplemented("sceVoiceInit"); +} + +EXPORT(int, sceVoicePausePort) { + return unimplemented("sceVoicePausePort"); +} + +EXPORT(int, sceVoicePausePortAll) { + return unimplemented("sceVoicePausePortAll"); +} + +EXPORT(int, sceVoiceReadFromOPort) { + return unimplemented("sceVoiceReadFromOPort"); +} + +EXPORT(int, sceVoiceResetPort) { + return unimplemented("sceVoiceResetPort"); +} + +EXPORT(int, sceVoiceResumePort) { + return unimplemented("sceVoiceResumePort"); +} + +EXPORT(int, sceVoiceResumePortAll) { + return unimplemented("sceVoiceResumePortAll"); +} + +EXPORT(int, sceVoiceSetBitRate) { + return unimplemented("sceVoiceSetBitRate"); +} + +EXPORT(int, sceVoiceSetMuteFlag) { + return unimplemented("sceVoiceSetMuteFlag"); +} + +EXPORT(int, sceVoiceSetMuteFlagAll) { + return unimplemented("sceVoiceSetMuteFlagAll"); +} + +EXPORT(int, sceVoiceSetPortAttr) { + return unimplemented("sceVoiceSetPortAttr"); +} + +EXPORT(int, sceVoiceSetVolume) { + return unimplemented("sceVoiceSetVolume"); +} + +EXPORT(int, sceVoiceStart) { + return unimplemented("sceVoiceStart"); +} + +EXPORT(int, sceVoiceStop) { + return unimplemented("sceVoiceStop"); +} + +EXPORT(int, sceVoiceUpdatePort) { + return unimplemented("sceVoiceUpdatePort"); +} + +EXPORT(int, sceVoiceWriteToIPort) { + return unimplemented("sceVoiceWriteToIPort"); +} + +BRIDGE_IMPL(sceVoiceCheckTopology) +BRIDGE_IMPL(sceVoiceConnectIPortToOPort) +BRIDGE_IMPL(sceVoiceCreatePort) +BRIDGE_IMPL(sceVoiceDeletePort) +BRIDGE_IMPL(sceVoiceDisconnectIPortFromOPort) +BRIDGE_IMPL(sceVoiceEnd) +BRIDGE_IMPL(sceVoiceGetBitRate) +BRIDGE_IMPL(sceVoiceGetMuteFlag) +BRIDGE_IMPL(sceVoiceGetPortAttr) +BRIDGE_IMPL(sceVoiceGetPortInfo) +BRIDGE_IMPL(sceVoiceGetResourceInfo) +BRIDGE_IMPL(sceVoiceGetVolume) +BRIDGE_IMPL(sceVoiceInit) +BRIDGE_IMPL(sceVoicePausePort) +BRIDGE_IMPL(sceVoicePausePortAll) +BRIDGE_IMPL(sceVoiceReadFromOPort) +BRIDGE_IMPL(sceVoiceResetPort) +BRIDGE_IMPL(sceVoiceResumePort) +BRIDGE_IMPL(sceVoiceResumePortAll) +BRIDGE_IMPL(sceVoiceSetBitRate) +BRIDGE_IMPL(sceVoiceSetMuteFlag) +BRIDGE_IMPL(sceVoiceSetMuteFlagAll) +BRIDGE_IMPL(sceVoiceSetPortAttr) +BRIDGE_IMPL(sceVoiceSetVolume) +BRIDGE_IMPL(sceVoiceStart) +BRIDGE_IMPL(sceVoiceStop) +BRIDGE_IMPL(sceVoiceUpdatePort) +BRIDGE_IMPL(sceVoiceWriteToIPort) diff --git a/src/emulator/modules/SceVoiceQoS/CMakeLists.txt b/src/emulator/modules/SceVoiceQoS/CMakeLists.txt new file mode 100644 index 000000000..a9aed2edc --- /dev/null +++ b/src/emulator/modules/SceVoiceQoS/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceVoiceQoS STATIC include/SceVoiceQoS/exports.h src/SceVoiceQoS.cpp) +target_include_directories(SceVoiceQoS PUBLIC include) +target_link_libraries(SceVoiceQoS PRIVATE module) diff --git a/src/emulator/modules/SceVoiceQoS/include/SceVoiceQoS/exports.h b/src/emulator/modules/SceVoiceQoS/include/SceVoiceQoS/exports.h new file mode 100644 index 000000000..7ee0151bc --- /dev/null +++ b/src/emulator/modules/SceVoiceQoS/include/SceVoiceQoS/exports.h @@ -0,0 +1,39 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceVoiceQoS +BRIDGE_DECL(sceVoiceQoSConnect) +BRIDGE_DECL(sceVoiceQoSCreateLocalEndpoint) +BRIDGE_DECL(sceVoiceQoSCreateRemoteEndpoint) +BRIDGE_DECL(sceVoiceQoSDeleteLocalEndpoint) +BRIDGE_DECL(sceVoiceQoSDeleteRemoteEndpoint) +BRIDGE_DECL(sceVoiceQoSDisconnect) +BRIDGE_DECL(sceVoiceQoSEnd) +BRIDGE_DECL(sceVoiceQoSGetConnectionAttribute) +BRIDGE_DECL(sceVoiceQoSGetLocalEndpoint) +BRIDGE_DECL(sceVoiceQoSGetLocalEndpointAttribute) +BRIDGE_DECL(sceVoiceQoSGetRemoteEndpoint) +BRIDGE_DECL(sceVoiceQoSGetStatus) +BRIDGE_DECL(sceVoiceQoSInit) +BRIDGE_DECL(sceVoiceQoSReadPacket) +BRIDGE_DECL(sceVoiceQoSSetConnectionAttribute) +BRIDGE_DECL(sceVoiceQoSSetLocalEndpointAttribute) +BRIDGE_DECL(sceVoiceQoSWritePacket) diff --git a/src/emulator/modules/SceVoiceQoS/src/SceVoiceQoS.cpp b/src/emulator/modules/SceVoiceQoS/src/SceVoiceQoS.cpp new file mode 100644 index 000000000..f42c5b93c --- /dev/null +++ b/src/emulator/modules/SceVoiceQoS/src/SceVoiceQoS.cpp @@ -0,0 +1,104 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, sceVoiceQoSConnect) { + return unimplemented("sceVoiceQoSConnect"); +} + +EXPORT(int, sceVoiceQoSCreateLocalEndpoint) { + return unimplemented("sceVoiceQoSCreateLocalEndpoint"); +} + +EXPORT(int, sceVoiceQoSCreateRemoteEndpoint) { + return unimplemented("sceVoiceQoSCreateRemoteEndpoint"); +} + +EXPORT(int, sceVoiceQoSDeleteLocalEndpoint) { + return unimplemented("sceVoiceQoSDeleteLocalEndpoint"); +} + +EXPORT(int, sceVoiceQoSDeleteRemoteEndpoint) { + return unimplemented("sceVoiceQoSDeleteRemoteEndpoint"); +} + +EXPORT(int, sceVoiceQoSDisconnect) { + return unimplemented("sceVoiceQoSDisconnect"); +} + +EXPORT(int, sceVoiceQoSEnd) { + return unimplemented("sceVoiceQoSEnd"); +} + +EXPORT(int, sceVoiceQoSGetConnectionAttribute) { + return unimplemented("sceVoiceQoSGetConnectionAttribute"); +} + +EXPORT(int, sceVoiceQoSGetLocalEndpoint) { + return unimplemented("sceVoiceQoSGetLocalEndpoint"); +} + +EXPORT(int, sceVoiceQoSGetLocalEndpointAttribute) { + return unimplemented("sceVoiceQoSGetLocalEndpointAttribute"); +} + +EXPORT(int, sceVoiceQoSGetRemoteEndpoint) { + return unimplemented("sceVoiceQoSGetRemoteEndpoint"); +} + +EXPORT(int, sceVoiceQoSGetStatus) { + return unimplemented("sceVoiceQoSGetStatus"); +} + +EXPORT(int, sceVoiceQoSInit) { + return unimplemented("sceVoiceQoSInit"); +} + +EXPORT(int, sceVoiceQoSReadPacket) { + return unimplemented("sceVoiceQoSReadPacket"); +} + +EXPORT(int, sceVoiceQoSSetConnectionAttribute) { + return unimplemented("sceVoiceQoSSetConnectionAttribute"); +} + +EXPORT(int, sceVoiceQoSSetLocalEndpointAttribute) { + return unimplemented("sceVoiceQoSSetLocalEndpointAttribute"); +} + +EXPORT(int, sceVoiceQoSWritePacket) { + return unimplemented("sceVoiceQoSWritePacket"); +} + +BRIDGE_IMPL(sceVoiceQoSConnect) +BRIDGE_IMPL(sceVoiceQoSCreateLocalEndpoint) +BRIDGE_IMPL(sceVoiceQoSCreateRemoteEndpoint) +BRIDGE_IMPL(sceVoiceQoSDeleteLocalEndpoint) +BRIDGE_IMPL(sceVoiceQoSDeleteRemoteEndpoint) +BRIDGE_IMPL(sceVoiceQoSDisconnect) +BRIDGE_IMPL(sceVoiceQoSEnd) +BRIDGE_IMPL(sceVoiceQoSGetConnectionAttribute) +BRIDGE_IMPL(sceVoiceQoSGetLocalEndpoint) +BRIDGE_IMPL(sceVoiceQoSGetLocalEndpointAttribute) +BRIDGE_IMPL(sceVoiceQoSGetRemoteEndpoint) +BRIDGE_IMPL(sceVoiceQoSGetStatus) +BRIDGE_IMPL(sceVoiceQoSInit) +BRIDGE_IMPL(sceVoiceQoSReadPacket) +BRIDGE_IMPL(sceVoiceQoSSetConnectionAttribute) +BRIDGE_IMPL(sceVoiceQoSSetLocalEndpointAttribute) +BRIDGE_IMPL(sceVoiceQoSWritePacket) diff --git a/src/emulator/modules/SceVshBridge/CMakeLists.txt b/src/emulator/modules/SceVshBridge/CMakeLists.txt new file mode 100644 index 000000000..cb4c056fd --- /dev/null +++ b/src/emulator/modules/SceVshBridge/CMakeLists.txt @@ -0,0 +1,3 @@ +add_library(SceVshBridge STATIC include/SceVshBridge/exports.h src/SceVshBridge.cpp) +target_include_directories(SceVshBridge PUBLIC include) +target_link_libraries(SceVshBridge PRIVATE module) diff --git a/src/emulator/modules/SceVshBridge/include/SceVshBridge/exports.h b/src/emulator/modules/SceVshBridge/include/SceVshBridge/exports.h new file mode 100644 index 000000000..cf577f04c --- /dev/null +++ b/src/emulator/modules/SceVshBridge/include/SceVshBridge/exports.h @@ -0,0 +1,209 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +// SceVshBridge +BRIDGE_DECL(_vshAppMgrAcInstGetAcdirParam) +BRIDGE_DECL(_vshAppMgrBgdlSetQueueStatus) +BRIDGE_DECL(_vshAppMgrCloudDataCreateHeader) +BRIDGE_DECL(_vshAppMgrCloudDataDstCreateMount) +BRIDGE_DECL(_vshAppMgrCloudDataGetMcId) +BRIDGE_DECL(_vshAppMgrCloudDataSetMcId) +BRIDGE_DECL(_vshAppMgrCloudDataSetupKey) +BRIDGE_DECL(_vshAppMgrCloudDataSrcMount) +BRIDGE_DECL(_vshAppMgrCloudDataVerifyHeader) +BRIDGE_DECL(_vshAppMgrIsExclusiveProcessRunning) +BRIDGE_DECL(_vshAppMgrRegisterPath) +BRIDGE_DECL(_vshAppMgrSystemParamDateTimeSetConf) +BRIDGE_DECL(_vshAppMgrUpdateRifInfo) +BRIDGE_DECL(_vshCoredumpCafCreateIv) +BRIDGE_DECL(_vshCoredumpCafHeaderFinal) +BRIDGE_DECL(_vshCoredumpCafHeaderTransform) +BRIDGE_DECL(_vshCoredumpCafSegmentFinal) +BRIDGE_DECL(_vshCoredumpCafSegmentInit) +BRIDGE_DECL(_vshCoredumpCafSegmentTransform) +BRIDGE_DECL(_vshCoredumpCreateDump) +BRIDGE_DECL(_vshEventLogPut) +BRIDGE_DECL(_vshIdStorageCreateAtomicLeaves) +BRIDGE_DECL(_vshIoChstat) +BRIDGE_DECL(_vshIoDread) +BRIDGE_DECL(_vshIoGetstat) +BRIDGE_DECL(_vshIoMount) +BRIDGE_DECL(_vshKernelGetCompiledSdkVersionByPid) +BRIDGE_DECL(_vshKernelSearchModuleByName) +BRIDGE_DECL(_vshKernelShutdownSystem) +BRIDGE_DECL(_vshLedSetMode) +BRIDGE_DECL(_vshNpDrmEbootSigConvert) +BRIDGE_DECL(_vshNpDrmEbootSigGenMultiDisc) +BRIDGE_DECL(_vshNpDrmEbootSigGenPs1) +BRIDGE_DECL(_vshNpDrmEbootSigGenPsp) +BRIDGE_DECL(_vshNpDrmEbootSigVerify) +BRIDGE_DECL(_vshNpDrmGetLegacyDocKey) +BRIDGE_DECL(_vshNpDrmPspEbootSigGen) +BRIDGE_DECL(_vshNpDrmPspEbootVerify) +BRIDGE_DECL(_vshPowerSetBatteryFakeStatus) +BRIDGE_DECL(_vshRtcGetAlarmTick) +BRIDGE_DECL(_vshRtcGetCurrentSecureTick) +BRIDGE_DECL(_vshRtcGetSecureAlarmTick) +BRIDGE_DECL(_vshRtcSetAlarmTick) +BRIDGE_DECL(_vshRtcSetCurrentDebugNetworkTick) +BRIDGE_DECL(_vshRtcSetCurrentNetworkTick) +BRIDGE_DECL(_vshRtcSetCurrentSecureTick) +BRIDGE_DECL(_vshRtcSetCurrentTick) +BRIDGE_DECL(_vshRtcSetSecureAlarmTick) +BRIDGE_DECL(_vshSDfCtlSetBootParameter) +BRIDGE_DECL(_vshSblAimgrGetConsoleId) +BRIDGE_DECL(_vshSblAimgrGetPscode) +BRIDGE_DECL(_vshSblAimgrGetPscode2) +BRIDGE_DECL(_vshSblAimgrGetSMI) +BRIDGE_DECL(_vshSblAimgrGetVisibleId) +BRIDGE_DECL(_vshSblAuthMgrVerifySpsfo) +BRIDGE_DECL(_vshSblGcAuthMgrMlnpsnlAuth1) +BRIDGE_DECL(_vshSblGcAuthMgrMlnpsnlAuth2) +BRIDGE_DECL(_vshSblGetSystemSwVersion) +BRIDGE_DECL(_vshSblSsCreatePassPhrase) +BRIDGE_DECL(_vshSblSsDecryptWithPortability) +BRIDGE_DECL(_vshSblSsEncryptWithPortability) +BRIDGE_DECL(_vshSblSsGenerateAppKey) +BRIDGE_DECL(_vshSblSsGetNvsData) +BRIDGE_DECL(_vshSblSsSetNvsData) +BRIDGE_DECL(_vshSysconCtrlManualChargeMode) +BRIDGE_DECL(_vshSysconGetHardwareInfo) +BRIDGE_DECL(_vshSysconGetHardwareInfo2) +BRIDGE_DECL(_vshSysconGetManualChargeMode) +BRIDGE_DECL(_vshSysconGetManufacturesStatus) +BRIDGE_DECL(_vshSysconGetTemperatureLog) +BRIDGE_DECL(_vshSysconGetUsbDetStatus) +BRIDGE_DECL(_vshSysconLogReadData) +BRIDGE_DECL(_vshTouchSetTouchEmulationData) +BRIDGE_DECL(vshAppMgrCheckContentInstallPeriod) +BRIDGE_DECL(vshAppMgrCloudDataClearMcId) +BRIDGE_DECL(vshAppMgrDebugSettingNotifyUpdate) +BRIDGE_DECL(vshAppMgrGetPfsProcessStatus) +BRIDGE_DECL(vshCoredumpCafContextCreate) +BRIDGE_DECL(vshCoredumpCafContextDestroy) +BRIDGE_DECL(vshCoredumpCafFinal) +BRIDGE_DECL(vshCoredumpCafHeaderInit) +BRIDGE_DECL(vshCoredumpCafInit) +BRIDGE_DECL(vshCoredumpDeleteCrashReportCaf) +BRIDGE_DECL(vshCtrlChangePortAssign) +BRIDGE_DECL(vshCtrlGetActiveControllerPort) +BRIDGE_DECL(vshCtrlIsBdRemoconConnected) +BRIDGE_DECL(vshCtrlRegisterNotifyCallBack) +BRIDGE_DECL(vshCtrlSetIdleCancelKey) +BRIDGE_DECL(vshCtrlSetIdleCancelThreshold) +BRIDGE_DECL(vshCtrlSetTurnOffInterval) +BRIDGE_DECL(vshCtrlSetVibrationSetting) +BRIDGE_DECL(vshCtrlUnregisterNotifyCallBack) +BRIDGE_DECL(vshDisplayRegisterFrameBufCallback) +BRIDGE_DECL(vshHdmiCecCmdForcedPollingMsg) +BRIDGE_DECL(vshIdStorageCreateLeaf) +BRIDGE_DECL(vshIdStorageDeleteLeaf) +BRIDGE_DECL(vshIdStorageFlush) +BRIDGE_DECL(vshIdStorageFormat) +BRIDGE_DECL(vshIdStorageGetFreeLeaves) +BRIDGE_DECL(vshIdStorageGetLeafSize) +BRIDGE_DECL(vshIdStorageIsDirty) +BRIDGE_DECL(vshIdStorageIsFormatted) +BRIDGE_DECL(vshIdStorageIsReadOnly) +BRIDGE_DECL(vshIdStorageLookup) +BRIDGE_DECL(vshIdStorageReadLeaf) +BRIDGE_DECL(vshIdStorageRestart) +BRIDGE_DECL(vshIdStorageUnformat) +BRIDGE_DECL(vshIdStorageUpdate) +BRIDGE_DECL(vshIdStorageWriteLeaf) +BRIDGE_DECL(vshIoClearErrorEvent) +BRIDGE_DECL(vshIoCreateErrorEvent) +BRIDGE_DECL(vshIoCreateMountEvent) +BRIDGE_DECL(vshIoDeleteErrorEvent) +BRIDGE_DECL(vshIoDeleteMountEvent) +BRIDGE_DECL(vshIoFlock) +BRIDGE_DECL(vshIoGetProcessDefaultPriorityForSystem) +BRIDGE_DECL(vshIoSetProcessDefaultPriorityForSystem) +BRIDGE_DECL(vshIoUmount) +BRIDGE_DECL(vshKernelCheckModelCapability) +BRIDGE_DECL(vshKernelSendSysEvent) +BRIDGE_DECL(vshMemoryCardEnableSlowMode) +BRIDGE_DECL(vshMemoryCardGetCardInsertState) +BRIDGE_DECL(vshNpDrmIsLooseAccountBind) +BRIDGE_DECL(vshNpDrmUpdateAccountId) +BRIDGE_DECL(vshNpDrmUpdateDebugSettings) +BRIDGE_DECL(vshPowerGetWakeupFactor) +BRIDGE_DECL(vshPowerRequestColdReset) +BRIDGE_DECL(vshPowerRequestHibernate) +BRIDGE_DECL(vshPowerSetPowerSwMode) +BRIDGE_DECL(vshPowerSetPsButtonPushTime) +BRIDGE_DECL(vshPowerSetStandbyButtonPushTime) +BRIDGE_DECL(vshRemovableMemoryGetCardInsertState) +BRIDGE_DECL(vshRtcIsAlarmed) +BRIDGE_DECL(vshRtcIsSecureAlarmed) +BRIDGE_DECL(vshRtcRegisterCallback) +BRIDGE_DECL(vshRtcRegisterSecureAlarmCallback) +BRIDGE_DECL(vshRtcSetConf) +BRIDGE_DECL(vshRtcUnregisterCallback) +BRIDGE_DECL(vshRtcUnregisterSecureAlarmCallback) +BRIDGE_DECL(vshSblACMgrHasCapability) +BRIDGE_DECL(vshSblAimgrIsCEX) +BRIDGE_DECL(vshSblAimgrIsDEX) +BRIDGE_DECL(vshSblAimgrIsDolce) +BRIDGE_DECL(vshSblAimgrIsGenuineDolce) +BRIDGE_DECL(vshSblAimgrIsGenuineVITA) +BRIDGE_DECL(vshSblAimgrIsTest) +BRIDGE_DECL(vshSblAimgrIsTool) +BRIDGE_DECL(vshSblAimgrIsVITA) +BRIDGE_DECL(vshSblPmMgrSetSdModeOff) +BRIDGE_DECL(vshSblQafMgrIsAllowControlIduAutoUpdate) +BRIDGE_DECL(vshSblQafMgrIsAllowDtcpIpReset) +BRIDGE_DECL(vshSblQafMgrIsAllowFakeACInstall) +BRIDGE_DECL(vshSblQafMgrIsAllowKeepCoreFile) +BRIDGE_DECL(vshSblQafMgrIsAllowLiblocationChangeModel) +BRIDGE_DECL(vshSblQafMgrIsAllowLoadMagicGate) +BRIDGE_DECL(vshSblQafMgrIsAllowLoadPSPEmuWhiteList) +BRIDGE_DECL(vshSblQafMgrIsAllowMarlinTest) +BRIDGE_DECL(vshSblQafMgrIsAllowNearTest) +BRIDGE_DECL(vshSblQafMgrIsAllowPSPEmuDeleteParameter) +BRIDGE_DECL(vshSblQafMgrIsAllowPSPEmuScreenShot) +BRIDGE_DECL(vshSblQafMgrIsAllowPSPEmuSelectNPEnv) +BRIDGE_DECL(vshSblQafMgrIsAllowPSPEmuShowQAInfo) +BRIDGE_DECL(vshSblQafMgrIsAllowRemotePlayDebug) +BRIDGE_DECL(vshSblQafMgrIsAllowShowTitleUpgradeInfo) +BRIDGE_DECL(vshSblQafMgrIsAllowSystemAppDebug) +BRIDGE_DECL(vshSblSsIsDevelopmentMode) +BRIDGE_DECL(vshSblUtMgrHasComTestFlag) +BRIDGE_DECL(vshSblUtMgrHasStoreFlag) +BRIDGE_DECL(vshSysconBeginConfigstorageTransaction) +BRIDGE_DECL(vshSysconClearTemperatureLog) +BRIDGE_DECL(vshSysconCommitConfigstorageTransaction) +BRIDGE_DECL(vshSysconEnableHibernateIO) +BRIDGE_DECL(vshSysconEndConfigstorageTransaction) +BRIDGE_DECL(vshSysconGetLogInfo) +BRIDGE_DECL(vshSysconHasWWAN) +BRIDGE_DECL(vshSysconIduModeClear) +BRIDGE_DECL(vshSysconIduModeSet) +BRIDGE_DECL(vshSysconIsDownLoaderMode) +BRIDGE_DECL(vshSysconIsIduMode) +BRIDGE_DECL(vshSysconIsMCEmuCapable) +BRIDGE_DECL(vshSysconIsShowMode) +BRIDGE_DECL(vshSysconLoadConfigstorageScript) +BRIDGE_DECL(vshSysconLogStart) +BRIDGE_DECL(vshSysconLogStartWaiting) +BRIDGE_DECL(vshSysconShowModeClear) +BRIDGE_DECL(vshSysconShowModeSet) +BRIDGE_DECL(vshSysconVerifyConfigstorageScript) diff --git a/src/emulator/modules/SceVshBridge/src/SceVshBridge.cpp b/src/emulator/modules/SceVshBridge/src/SceVshBridge.cpp new file mode 100644 index 000000000..93b0d8441 --- /dev/null +++ b/src/emulator/modules/SceVshBridge/src/SceVshBridge.cpp @@ -0,0 +1,954 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include + +EXPORT(int, _vshAppMgrAcInstGetAcdirParam) { + return unimplemented("_vshAppMgrAcInstGetAcdirParam"); +} + +EXPORT(int, _vshAppMgrBgdlSetQueueStatus) { + return unimplemented("_vshAppMgrBgdlSetQueueStatus"); +} + +EXPORT(int, _vshAppMgrCloudDataCreateHeader) { + return unimplemented("_vshAppMgrCloudDataCreateHeader"); +} + +EXPORT(int, _vshAppMgrCloudDataDstCreateMount) { + return unimplemented("_vshAppMgrCloudDataDstCreateMount"); +} + +EXPORT(int, _vshAppMgrCloudDataGetMcId) { + return unimplemented("_vshAppMgrCloudDataGetMcId"); +} + +EXPORT(int, _vshAppMgrCloudDataSetMcId) { + return unimplemented("_vshAppMgrCloudDataSetMcId"); +} + +EXPORT(int, _vshAppMgrCloudDataSetupKey) { + return unimplemented("_vshAppMgrCloudDataSetupKey"); +} + +EXPORT(int, _vshAppMgrCloudDataSrcMount) { + return unimplemented("_vshAppMgrCloudDataSrcMount"); +} + +EXPORT(int, _vshAppMgrCloudDataVerifyHeader) { + return unimplemented("_vshAppMgrCloudDataVerifyHeader"); +} + +EXPORT(int, _vshAppMgrIsExclusiveProcessRunning) { + return unimplemented("_vshAppMgrIsExclusiveProcessRunning"); +} + +EXPORT(int, _vshAppMgrRegisterPath) { + return unimplemented("_vshAppMgrRegisterPath"); +} + +EXPORT(int, _vshAppMgrSystemParamDateTimeSetConf) { + return unimplemented("_vshAppMgrSystemParamDateTimeSetConf"); +} + +EXPORT(int, _vshAppMgrUpdateRifInfo) { + return unimplemented("_vshAppMgrUpdateRifInfo"); +} + +EXPORT(int, _vshCoredumpCafCreateIv) { + return unimplemented("_vshCoredumpCafCreateIv"); +} + +EXPORT(int, _vshCoredumpCafHeaderFinal) { + return unimplemented("_vshCoredumpCafHeaderFinal"); +} + +EXPORT(int, _vshCoredumpCafHeaderTransform) { + return unimplemented("_vshCoredumpCafHeaderTransform"); +} + +EXPORT(int, _vshCoredumpCafSegmentFinal) { + return unimplemented("_vshCoredumpCafSegmentFinal"); +} + +EXPORT(int, _vshCoredumpCafSegmentInit) { + return unimplemented("_vshCoredumpCafSegmentInit"); +} + +EXPORT(int, _vshCoredumpCafSegmentTransform) { + return unimplemented("_vshCoredumpCafSegmentTransform"); +} + +EXPORT(int, _vshCoredumpCreateDump) { + return unimplemented("_vshCoredumpCreateDump"); +} + +EXPORT(int, _vshEventLogPut) { + return unimplemented("_vshEventLogPut"); +} + +EXPORT(int, _vshIdStorageCreateAtomicLeaves) { + return unimplemented("_vshIdStorageCreateAtomicLeaves"); +} + +EXPORT(int, _vshIoChstat) { + return unimplemented("_vshIoChstat"); +} + +EXPORT(int, _vshIoDread) { + return unimplemented("_vshIoDread"); +} + +EXPORT(int, _vshIoGetstat) { + return unimplemented("_vshIoGetstat"); +} + +EXPORT(int, _vshIoMount) { + return unimplemented("_vshIoMount"); +} + +EXPORT(int, _vshKernelGetCompiledSdkVersionByPid) { + return unimplemented("_vshKernelGetCompiledSdkVersionByPid"); +} + +EXPORT(int, _vshKernelSearchModuleByName) { + return unimplemented("_vshKernelSearchModuleByName"); +} + +EXPORT(int, _vshKernelShutdownSystem) { + return unimplemented("_vshKernelShutdownSystem"); +} + +EXPORT(int, _vshLedSetMode) { + return unimplemented("_vshLedSetMode"); +} + +EXPORT(int, _vshNpDrmEbootSigConvert) { + return unimplemented("_vshNpDrmEbootSigConvert"); +} + +EXPORT(int, _vshNpDrmEbootSigGenMultiDisc) { + return unimplemented("_vshNpDrmEbootSigGenMultiDisc"); +} + +EXPORT(int, _vshNpDrmEbootSigGenPs1) { + return unimplemented("_vshNpDrmEbootSigGenPs1"); +} + +EXPORT(int, _vshNpDrmEbootSigGenPsp) { + return unimplemented("_vshNpDrmEbootSigGenPsp"); +} + +EXPORT(int, _vshNpDrmEbootSigVerify) { + return unimplemented("_vshNpDrmEbootSigVerify"); +} + +EXPORT(int, _vshNpDrmGetLegacyDocKey) { + return unimplemented("_vshNpDrmGetLegacyDocKey"); +} + +EXPORT(int, _vshNpDrmPspEbootSigGen) { + return unimplemented("_vshNpDrmPspEbootSigGen"); +} + +EXPORT(int, _vshNpDrmPspEbootVerify) { + return unimplemented("_vshNpDrmPspEbootVerify"); +} + +EXPORT(int, _vshPowerSetBatteryFakeStatus) { + return unimplemented("_vshPowerSetBatteryFakeStatus"); +} + +EXPORT(int, _vshRtcGetAlarmTick) { + return unimplemented("_vshRtcGetAlarmTick"); +} + +EXPORT(int, _vshRtcGetCurrentSecureTick) { + return unimplemented("_vshRtcGetCurrentSecureTick"); +} + +EXPORT(int, _vshRtcGetSecureAlarmTick) { + return unimplemented("_vshRtcGetSecureAlarmTick"); +} + +EXPORT(int, _vshRtcSetAlarmTick) { + return unimplemented("_vshRtcSetAlarmTick"); +} + +EXPORT(int, _vshRtcSetCurrentDebugNetworkTick) { + return unimplemented("_vshRtcSetCurrentDebugNetworkTick"); +} + +EXPORT(int, _vshRtcSetCurrentNetworkTick) { + return unimplemented("_vshRtcSetCurrentNetworkTick"); +} + +EXPORT(int, _vshRtcSetCurrentSecureTick) { + return unimplemented("_vshRtcSetCurrentSecureTick"); +} + +EXPORT(int, _vshRtcSetCurrentTick) { + return unimplemented("_vshRtcSetCurrentTick"); +} + +EXPORT(int, _vshRtcSetSecureAlarmTick) { + return unimplemented("_vshRtcSetSecureAlarmTick"); +} + +EXPORT(int, _vshSDfCtlSetBootParameter) { + return unimplemented("_vshSDfCtlSetBootParameter"); +} + +EXPORT(int, _vshSblAimgrGetConsoleId) { + return unimplemented("_vshSblAimgrGetConsoleId"); +} + +EXPORT(int, _vshSblAimgrGetPscode) { + return unimplemented("_vshSblAimgrGetPscode"); +} + +EXPORT(int, _vshSblAimgrGetPscode2) { + return unimplemented("_vshSblAimgrGetPscode2"); +} + +EXPORT(int, _vshSblAimgrGetSMI) { + return unimplemented("_vshSblAimgrGetSMI"); +} + +EXPORT(int, _vshSblAimgrGetVisibleId) { + return unimplemented("_vshSblAimgrGetVisibleId"); +} + +EXPORT(int, _vshSblAuthMgrVerifySpsfo) { + return unimplemented("_vshSblAuthMgrVerifySpsfo"); +} + +EXPORT(int, _vshSblGcAuthMgrMlnpsnlAuth1) { + return unimplemented("_vshSblGcAuthMgrMlnpsnlAuth1"); +} + +EXPORT(int, _vshSblGcAuthMgrMlnpsnlAuth2) { + return unimplemented("_vshSblGcAuthMgrMlnpsnlAuth2"); +} + +EXPORT(int, _vshSblGetSystemSwVersion) { + return unimplemented("_vshSblGetSystemSwVersion"); +} + +EXPORT(int, _vshSblSsCreatePassPhrase) { + return unimplemented("_vshSblSsCreatePassPhrase"); +} + +EXPORT(int, _vshSblSsDecryptWithPortability) { + return unimplemented("_vshSblSsDecryptWithPortability"); +} + +EXPORT(int, _vshSblSsEncryptWithPortability) { + return unimplemented("_vshSblSsEncryptWithPortability"); +} + +EXPORT(int, _vshSblSsGenerateAppKey) { + return unimplemented("_vshSblSsGenerateAppKey"); +} + +EXPORT(int, _vshSblSsGetNvsData) { + return unimplemented("_vshSblSsGetNvsData"); +} + +EXPORT(int, _vshSblSsSetNvsData) { + return unimplemented("_vshSblSsSetNvsData"); +} + +EXPORT(int, _vshSysconCtrlManualChargeMode) { + return unimplemented("_vshSysconCtrlManualChargeMode"); +} + +EXPORT(int, _vshSysconGetHardwareInfo) { + return unimplemented("_vshSysconGetHardwareInfo"); +} + +EXPORT(int, _vshSysconGetHardwareInfo2) { + return unimplemented("_vshSysconGetHardwareInfo2"); +} + +EXPORT(int, _vshSysconGetManualChargeMode) { + return unimplemented("_vshSysconGetManualChargeMode"); +} + +EXPORT(int, _vshSysconGetManufacturesStatus) { + return unimplemented("_vshSysconGetManufacturesStatus"); +} + +EXPORT(int, _vshSysconGetTemperatureLog) { + return unimplemented("_vshSysconGetTemperatureLog"); +} + +EXPORT(int, _vshSysconGetUsbDetStatus) { + return unimplemented("_vshSysconGetUsbDetStatus"); +} + +EXPORT(int, _vshSysconLogReadData) { + return unimplemented("_vshSysconLogReadData"); +} + +EXPORT(int, _vshTouchSetTouchEmulationData) { + return unimplemented("_vshTouchSetTouchEmulationData"); +} + +EXPORT(int, vshAppMgrCheckContentInstallPeriod) { + return unimplemented("vshAppMgrCheckContentInstallPeriod"); +} + +EXPORT(int, vshAppMgrCloudDataClearMcId) { + return unimplemented("vshAppMgrCloudDataClearMcId"); +} + +EXPORT(int, vshAppMgrDebugSettingNotifyUpdate) { + return unimplemented("vshAppMgrDebugSettingNotifyUpdate"); +} + +EXPORT(int, vshAppMgrGetPfsProcessStatus) { + return unimplemented("vshAppMgrGetPfsProcessStatus"); +} + +EXPORT(int, vshCoredumpCafContextCreate) { + return unimplemented("vshCoredumpCafContextCreate"); +} + +EXPORT(int, vshCoredumpCafContextDestroy) { + return unimplemented("vshCoredumpCafContextDestroy"); +} + +EXPORT(int, vshCoredumpCafFinal) { + return unimplemented("vshCoredumpCafFinal"); +} + +EXPORT(int, vshCoredumpCafHeaderInit) { + return unimplemented("vshCoredumpCafHeaderInit"); +} + +EXPORT(int, vshCoredumpCafInit) { + return unimplemented("vshCoredumpCafInit"); +} + +EXPORT(int, vshCoredumpDeleteCrashReportCaf) { + return unimplemented("vshCoredumpDeleteCrashReportCaf"); +} + +EXPORT(int, vshCtrlChangePortAssign) { + return unimplemented("vshCtrlChangePortAssign"); +} + +EXPORT(int, vshCtrlGetActiveControllerPort) { + return unimplemented("vshCtrlGetActiveControllerPort"); +} + +EXPORT(int, vshCtrlIsBdRemoconConnected) { + return unimplemented("vshCtrlIsBdRemoconConnected"); +} + +EXPORT(int, vshCtrlRegisterNotifyCallBack) { + return unimplemented("vshCtrlRegisterNotifyCallBack"); +} + +EXPORT(int, vshCtrlSetIdleCancelKey) { + return unimplemented("vshCtrlSetIdleCancelKey"); +} + +EXPORT(int, vshCtrlSetIdleCancelThreshold) { + return unimplemented("vshCtrlSetIdleCancelThreshold"); +} + +EXPORT(int, vshCtrlSetTurnOffInterval) { + return unimplemented("vshCtrlSetTurnOffInterval"); +} + +EXPORT(int, vshCtrlSetVibrationSetting) { + return unimplemented("vshCtrlSetVibrationSetting"); +} + +EXPORT(int, vshCtrlUnregisterNotifyCallBack) { + return unimplemented("vshCtrlUnregisterNotifyCallBack"); +} + +EXPORT(int, vshDisplayRegisterFrameBufCallback) { + return unimplemented("vshDisplayRegisterFrameBufCallback"); +} + +EXPORT(int, vshHdmiCecCmdForcedPollingMsg) { + return unimplemented("vshHdmiCecCmdForcedPollingMsg"); +} + +EXPORT(int, vshIdStorageCreateLeaf) { + return unimplemented("vshIdStorageCreateLeaf"); +} + +EXPORT(int, vshIdStorageDeleteLeaf) { + return unimplemented("vshIdStorageDeleteLeaf"); +} + +EXPORT(int, vshIdStorageFlush) { + return unimplemented("vshIdStorageFlush"); +} + +EXPORT(int, vshIdStorageFormat) { + return unimplemented("vshIdStorageFormat"); +} + +EXPORT(int, vshIdStorageGetFreeLeaves) { + return unimplemented("vshIdStorageGetFreeLeaves"); +} + +EXPORT(int, vshIdStorageGetLeafSize) { + return unimplemented("vshIdStorageGetLeafSize"); +} + +EXPORT(int, vshIdStorageIsDirty) { + return unimplemented("vshIdStorageIsDirty"); +} + +EXPORT(int, vshIdStorageIsFormatted) { + return unimplemented("vshIdStorageIsFormatted"); +} + +EXPORT(int, vshIdStorageIsReadOnly) { + return unimplemented("vshIdStorageIsReadOnly"); +} + +EXPORT(int, vshIdStorageLookup) { + return unimplemented("vshIdStorageLookup"); +} + +EXPORT(int, vshIdStorageReadLeaf) { + return unimplemented("vshIdStorageReadLeaf"); +} + +EXPORT(int, vshIdStorageRestart) { + return unimplemented("vshIdStorageRestart"); +} + +EXPORT(int, vshIdStorageUnformat) { + return unimplemented("vshIdStorageUnformat"); +} + +EXPORT(int, vshIdStorageUpdate) { + return unimplemented("vshIdStorageUpdate"); +} + +EXPORT(int, vshIdStorageWriteLeaf) { + return unimplemented("vshIdStorageWriteLeaf"); +} + +EXPORT(int, vshIoClearErrorEvent) { + return unimplemented("vshIoClearErrorEvent"); +} + +EXPORT(int, vshIoCreateErrorEvent) { + return unimplemented("vshIoCreateErrorEvent"); +} + +EXPORT(int, vshIoCreateMountEvent) { + return unimplemented("vshIoCreateMountEvent"); +} + +EXPORT(int, vshIoDeleteErrorEvent) { + return unimplemented("vshIoDeleteErrorEvent"); +} + +EXPORT(int, vshIoDeleteMountEvent) { + return unimplemented("vshIoDeleteMountEvent"); +} + +EXPORT(int, vshIoFlock) { + return unimplemented("vshIoFlock"); +} + +EXPORT(int, vshIoGetProcessDefaultPriorityForSystem) { + return unimplemented("vshIoGetProcessDefaultPriorityForSystem"); +} + +EXPORT(int, vshIoSetProcessDefaultPriorityForSystem) { + return unimplemented("vshIoSetProcessDefaultPriorityForSystem"); +} + +EXPORT(int, vshIoUmount) { + return unimplemented("vshIoUmount"); +} + +EXPORT(int, vshKernelCheckModelCapability) { + return unimplemented("vshKernelCheckModelCapability"); +} + +EXPORT(int, vshKernelSendSysEvent) { + return unimplemented("vshKernelSendSysEvent"); +} + +EXPORT(int, vshMemoryCardEnableSlowMode) { + return unimplemented("vshMemoryCardEnableSlowMode"); +} + +EXPORT(int, vshMemoryCardGetCardInsertState) { + return unimplemented("vshMemoryCardGetCardInsertState"); +} + +EXPORT(int, vshNpDrmIsLooseAccountBind) { + return unimplemented("vshNpDrmIsLooseAccountBind"); +} + +EXPORT(int, vshNpDrmUpdateAccountId) { + return unimplemented("vshNpDrmUpdateAccountId"); +} + +EXPORT(int, vshNpDrmUpdateDebugSettings) { + return unimplemented("vshNpDrmUpdateDebugSettings"); +} + +EXPORT(int, vshPowerGetWakeupFactor) { + return unimplemented("vshPowerGetWakeupFactor"); +} + +EXPORT(int, vshPowerRequestColdReset) { + return unimplemented("vshPowerRequestColdReset"); +} + +EXPORT(int, vshPowerRequestHibernate) { + return unimplemented("vshPowerRequestHibernate"); +} + +EXPORT(int, vshPowerSetPowerSwMode) { + return unimplemented("vshPowerSetPowerSwMode"); +} + +EXPORT(int, vshPowerSetPsButtonPushTime) { + return unimplemented("vshPowerSetPsButtonPushTime"); +} + +EXPORT(int, vshPowerSetStandbyButtonPushTime) { + return unimplemented("vshPowerSetStandbyButtonPushTime"); +} + +EXPORT(int, vshRemovableMemoryGetCardInsertState) { + return unimplemented("vshRemovableMemoryGetCardInsertState"); +} + +EXPORT(int, vshRtcIsAlarmed) { + return unimplemented("vshRtcIsAlarmed"); +} + +EXPORT(int, vshRtcIsSecureAlarmed) { + return unimplemented("vshRtcIsSecureAlarmed"); +} + +EXPORT(int, vshRtcRegisterCallback) { + return unimplemented("vshRtcRegisterCallback"); +} + +EXPORT(int, vshRtcRegisterSecureAlarmCallback) { + return unimplemented("vshRtcRegisterSecureAlarmCallback"); +} + +EXPORT(int, vshRtcSetConf) { + return unimplemented("vshRtcSetConf"); +} + +EXPORT(int, vshRtcUnregisterCallback) { + return unimplemented("vshRtcUnregisterCallback"); +} + +EXPORT(int, vshRtcUnregisterSecureAlarmCallback) { + return unimplemented("vshRtcUnregisterSecureAlarmCallback"); +} + +EXPORT(int, vshSblACMgrHasCapability) { + return unimplemented("vshSblACMgrHasCapability"); +} + +EXPORT(int, vshSblAimgrIsCEX) { + return unimplemented("vshSblAimgrIsCEX"); +} + +EXPORT(int, vshSblAimgrIsDEX) { + return unimplemented("vshSblAimgrIsDEX"); +} + +EXPORT(int, vshSblAimgrIsDolce) { + return unimplemented("vshSblAimgrIsDolce"); +} + +EXPORT(int, vshSblAimgrIsGenuineDolce) { + return unimplemented("vshSblAimgrIsGenuineDolce"); +} + +EXPORT(int, vshSblAimgrIsGenuineVITA) { + return unimplemented("vshSblAimgrIsGenuineVITA"); +} + +EXPORT(int, vshSblAimgrIsTest) { + return unimplemented("vshSblAimgrIsTest"); +} + +EXPORT(int, vshSblAimgrIsTool) { + return unimplemented("vshSblAimgrIsTool"); +} + +EXPORT(int, vshSblAimgrIsVITA) { + return unimplemented("vshSblAimgrIsVITA"); +} + +EXPORT(int, vshSblPmMgrSetSdModeOff) { + return unimplemented("vshSblPmMgrSetSdModeOff"); +} + +EXPORT(int, vshSblQafMgrIsAllowControlIduAutoUpdate) { + return unimplemented("vshSblQafMgrIsAllowControlIduAutoUpdate"); +} + +EXPORT(int, vshSblQafMgrIsAllowDtcpIpReset) { + return unimplemented("vshSblQafMgrIsAllowDtcpIpReset"); +} + +EXPORT(int, vshSblQafMgrIsAllowFakeACInstall) { + return unimplemented("vshSblQafMgrIsAllowFakeACInstall"); +} + +EXPORT(int, vshSblQafMgrIsAllowKeepCoreFile) { + return unimplemented("vshSblQafMgrIsAllowKeepCoreFile"); +} + +EXPORT(int, vshSblQafMgrIsAllowLiblocationChangeModel) { + return unimplemented("vshSblQafMgrIsAllowLiblocationChangeModel"); +} + +EXPORT(int, vshSblQafMgrIsAllowLoadMagicGate) { + return unimplemented("vshSblQafMgrIsAllowLoadMagicGate"); +} + +EXPORT(int, vshSblQafMgrIsAllowLoadPSPEmuWhiteList) { + return unimplemented("vshSblQafMgrIsAllowLoadPSPEmuWhiteList"); +} + +EXPORT(int, vshSblQafMgrIsAllowMarlinTest) { + return unimplemented("vshSblQafMgrIsAllowMarlinTest"); +} + +EXPORT(int, vshSblQafMgrIsAllowNearTest) { + return unimplemented("vshSblQafMgrIsAllowNearTest"); +} + +EXPORT(int, vshSblQafMgrIsAllowPSPEmuDeleteParameter) { + return unimplemented("vshSblQafMgrIsAllowPSPEmuDeleteParameter"); +} + +EXPORT(int, vshSblQafMgrIsAllowPSPEmuScreenShot) { + return unimplemented("vshSblQafMgrIsAllowPSPEmuScreenShot"); +} + +EXPORT(int, vshSblQafMgrIsAllowPSPEmuSelectNPEnv) { + return unimplemented("vshSblQafMgrIsAllowPSPEmuSelectNPEnv"); +} + +EXPORT(int, vshSblQafMgrIsAllowPSPEmuShowQAInfo) { + return unimplemented("vshSblQafMgrIsAllowPSPEmuShowQAInfo"); +} + +EXPORT(int, vshSblQafMgrIsAllowRemotePlayDebug) { + return unimplemented("vshSblQafMgrIsAllowRemotePlayDebug"); +} + +EXPORT(int, vshSblQafMgrIsAllowShowTitleUpgradeInfo) { + return unimplemented("vshSblQafMgrIsAllowShowTitleUpgradeInfo"); +} + +EXPORT(int, vshSblQafMgrIsAllowSystemAppDebug) { + return unimplemented("vshSblQafMgrIsAllowSystemAppDebug"); +} + +EXPORT(int, vshSblSsIsDevelopmentMode) { + return unimplemented("vshSblSsIsDevelopmentMode"); +} + +EXPORT(int, vshSblUtMgrHasComTestFlag) { + return unimplemented("vshSblUtMgrHasComTestFlag"); +} + +EXPORT(int, vshSblUtMgrHasStoreFlag) { + return unimplemented("vshSblUtMgrHasStoreFlag"); +} + +EXPORT(int, vshSysconBeginConfigstorageTransaction) { + return unimplemented("vshSysconBeginConfigstorageTransaction"); +} + +EXPORT(int, vshSysconClearTemperatureLog) { + return unimplemented("vshSysconClearTemperatureLog"); +} + +EXPORT(int, vshSysconCommitConfigstorageTransaction) { + return unimplemented("vshSysconCommitConfigstorageTransaction"); +} + +EXPORT(int, vshSysconEnableHibernateIO) { + return unimplemented("vshSysconEnableHibernateIO"); +} + +EXPORT(int, vshSysconEndConfigstorageTransaction) { + return unimplemented("vshSysconEndConfigstorageTransaction"); +} + +EXPORT(int, vshSysconGetLogInfo) { + return unimplemented("vshSysconGetLogInfo"); +} + +EXPORT(int, vshSysconHasWWAN) { + return unimplemented("vshSysconHasWWAN"); +} + +EXPORT(int, vshSysconIduModeClear) { + return unimplemented("vshSysconIduModeClear"); +} + +EXPORT(int, vshSysconIduModeSet) { + return unimplemented("vshSysconIduModeSet"); +} + +EXPORT(int, vshSysconIsDownLoaderMode) { + return unimplemented("vshSysconIsDownLoaderMode"); +} + +EXPORT(int, vshSysconIsIduMode) { + return unimplemented("vshSysconIsIduMode"); +} + +EXPORT(int, vshSysconIsMCEmuCapable) { + return unimplemented("vshSysconIsMCEmuCapable"); +} + +EXPORT(int, vshSysconIsShowMode) { + return unimplemented("vshSysconIsShowMode"); +} + +EXPORT(int, vshSysconLoadConfigstorageScript) { + return unimplemented("vshSysconLoadConfigstorageScript"); +} + +EXPORT(int, vshSysconLogStart) { + return unimplemented("vshSysconLogStart"); +} + +EXPORT(int, vshSysconLogStartWaiting) { + return unimplemented("vshSysconLogStartWaiting"); +} + +EXPORT(int, vshSysconShowModeClear) { + return unimplemented("vshSysconShowModeClear"); +} + +EXPORT(int, vshSysconShowModeSet) { + return unimplemented("vshSysconShowModeSet"); +} + +EXPORT(int, vshSysconVerifyConfigstorageScript) { + return unimplemented("vshSysconVerifyConfigstorageScript"); +} + +BRIDGE_IMPL(_vshAppMgrAcInstGetAcdirParam) +BRIDGE_IMPL(_vshAppMgrBgdlSetQueueStatus) +BRIDGE_IMPL(_vshAppMgrCloudDataCreateHeader) +BRIDGE_IMPL(_vshAppMgrCloudDataDstCreateMount) +BRIDGE_IMPL(_vshAppMgrCloudDataGetMcId) +BRIDGE_IMPL(_vshAppMgrCloudDataSetMcId) +BRIDGE_IMPL(_vshAppMgrCloudDataSetupKey) +BRIDGE_IMPL(_vshAppMgrCloudDataSrcMount) +BRIDGE_IMPL(_vshAppMgrCloudDataVerifyHeader) +BRIDGE_IMPL(_vshAppMgrIsExclusiveProcessRunning) +BRIDGE_IMPL(_vshAppMgrRegisterPath) +BRIDGE_IMPL(_vshAppMgrSystemParamDateTimeSetConf) +BRIDGE_IMPL(_vshAppMgrUpdateRifInfo) +BRIDGE_IMPL(_vshCoredumpCafCreateIv) +BRIDGE_IMPL(_vshCoredumpCafHeaderFinal) +BRIDGE_IMPL(_vshCoredumpCafHeaderTransform) +BRIDGE_IMPL(_vshCoredumpCafSegmentFinal) +BRIDGE_IMPL(_vshCoredumpCafSegmentInit) +BRIDGE_IMPL(_vshCoredumpCafSegmentTransform) +BRIDGE_IMPL(_vshCoredumpCreateDump) +BRIDGE_IMPL(_vshEventLogPut) +BRIDGE_IMPL(_vshIdStorageCreateAtomicLeaves) +BRIDGE_IMPL(_vshIoChstat) +BRIDGE_IMPL(_vshIoDread) +BRIDGE_IMPL(_vshIoGetstat) +BRIDGE_IMPL(_vshIoMount) +BRIDGE_IMPL(_vshKernelGetCompiledSdkVersionByPid) +BRIDGE_IMPL(_vshKernelSearchModuleByName) +BRIDGE_IMPL(_vshKernelShutdownSystem) +BRIDGE_IMPL(_vshLedSetMode) +BRIDGE_IMPL(_vshNpDrmEbootSigConvert) +BRIDGE_IMPL(_vshNpDrmEbootSigGenMultiDisc) +BRIDGE_IMPL(_vshNpDrmEbootSigGenPs1) +BRIDGE_IMPL(_vshNpDrmEbootSigGenPsp) +BRIDGE_IMPL(_vshNpDrmEbootSigVerify) +BRIDGE_IMPL(_vshNpDrmGetLegacyDocKey) +BRIDGE_IMPL(_vshNpDrmPspEbootSigGen) +BRIDGE_IMPL(_vshNpDrmPspEbootVerify) +BRIDGE_IMPL(_vshPowerSetBatteryFakeStatus) +BRIDGE_IMPL(_vshRtcGetAlarmTick) +BRIDGE_IMPL(_vshRtcGetCurrentSecureTick) +BRIDGE_IMPL(_vshRtcGetSecureAlarmTick) +BRIDGE_IMPL(_vshRtcSetAlarmTick) +BRIDGE_IMPL(_vshRtcSetCurrentDebugNetworkTick) +BRIDGE_IMPL(_vshRtcSetCurrentNetworkTick) +BRIDGE_IMPL(_vshRtcSetCurrentSecureTick) +BRIDGE_IMPL(_vshRtcSetCurrentTick) +BRIDGE_IMPL(_vshRtcSetSecureAlarmTick) +BRIDGE_IMPL(_vshSDfCtlSetBootParameter) +BRIDGE_IMPL(_vshSblAimgrGetConsoleId) +BRIDGE_IMPL(_vshSblAimgrGetPscode) +BRIDGE_IMPL(_vshSblAimgrGetPscode2) +BRIDGE_IMPL(_vshSblAimgrGetSMI) +BRIDGE_IMPL(_vshSblAimgrGetVisibleId) +BRIDGE_IMPL(_vshSblAuthMgrVerifySpsfo) +BRIDGE_IMPL(_vshSblGcAuthMgrMlnpsnlAuth1) +BRIDGE_IMPL(_vshSblGcAuthMgrMlnpsnlAuth2) +BRIDGE_IMPL(_vshSblGetSystemSwVersion) +BRIDGE_IMPL(_vshSblSsCreatePassPhrase) +BRIDGE_IMPL(_vshSblSsDecryptWithPortability) +BRIDGE_IMPL(_vshSblSsEncryptWithPortability) +BRIDGE_IMPL(_vshSblSsGenerateAppKey) +BRIDGE_IMPL(_vshSblSsGetNvsData) +BRIDGE_IMPL(_vshSblSsSetNvsData) +BRIDGE_IMPL(_vshSysconCtrlManualChargeMode) +BRIDGE_IMPL(_vshSysconGetHardwareInfo) +BRIDGE_IMPL(_vshSysconGetHardwareInfo2) +BRIDGE_IMPL(_vshSysconGetManualChargeMode) +BRIDGE_IMPL(_vshSysconGetManufacturesStatus) +BRIDGE_IMPL(_vshSysconGetTemperatureLog) +BRIDGE_IMPL(_vshSysconGetUsbDetStatus) +BRIDGE_IMPL(_vshSysconLogReadData) +BRIDGE_IMPL(_vshTouchSetTouchEmulationData) +BRIDGE_IMPL(vshAppMgrCheckContentInstallPeriod) +BRIDGE_IMPL(vshAppMgrCloudDataClearMcId) +BRIDGE_IMPL(vshAppMgrDebugSettingNotifyUpdate) +BRIDGE_IMPL(vshAppMgrGetPfsProcessStatus) +BRIDGE_IMPL(vshCoredumpCafContextCreate) +BRIDGE_IMPL(vshCoredumpCafContextDestroy) +BRIDGE_IMPL(vshCoredumpCafFinal) +BRIDGE_IMPL(vshCoredumpCafHeaderInit) +BRIDGE_IMPL(vshCoredumpCafInit) +BRIDGE_IMPL(vshCoredumpDeleteCrashReportCaf) +BRIDGE_IMPL(vshCtrlChangePortAssign) +BRIDGE_IMPL(vshCtrlGetActiveControllerPort) +BRIDGE_IMPL(vshCtrlIsBdRemoconConnected) +BRIDGE_IMPL(vshCtrlRegisterNotifyCallBack) +BRIDGE_IMPL(vshCtrlSetIdleCancelKey) +BRIDGE_IMPL(vshCtrlSetIdleCancelThreshold) +BRIDGE_IMPL(vshCtrlSetTurnOffInterval) +BRIDGE_IMPL(vshCtrlSetVibrationSetting) +BRIDGE_IMPL(vshCtrlUnregisterNotifyCallBack) +BRIDGE_IMPL(vshDisplayRegisterFrameBufCallback) +BRIDGE_IMPL(vshHdmiCecCmdForcedPollingMsg) +BRIDGE_IMPL(vshIdStorageCreateLeaf) +BRIDGE_IMPL(vshIdStorageDeleteLeaf) +BRIDGE_IMPL(vshIdStorageFlush) +BRIDGE_IMPL(vshIdStorageFormat) +BRIDGE_IMPL(vshIdStorageGetFreeLeaves) +BRIDGE_IMPL(vshIdStorageGetLeafSize) +BRIDGE_IMPL(vshIdStorageIsDirty) +BRIDGE_IMPL(vshIdStorageIsFormatted) +BRIDGE_IMPL(vshIdStorageIsReadOnly) +BRIDGE_IMPL(vshIdStorageLookup) +BRIDGE_IMPL(vshIdStorageReadLeaf) +BRIDGE_IMPL(vshIdStorageRestart) +BRIDGE_IMPL(vshIdStorageUnformat) +BRIDGE_IMPL(vshIdStorageUpdate) +BRIDGE_IMPL(vshIdStorageWriteLeaf) +BRIDGE_IMPL(vshIoClearErrorEvent) +BRIDGE_IMPL(vshIoCreateErrorEvent) +BRIDGE_IMPL(vshIoCreateMountEvent) +BRIDGE_IMPL(vshIoDeleteErrorEvent) +BRIDGE_IMPL(vshIoDeleteMountEvent) +BRIDGE_IMPL(vshIoFlock) +BRIDGE_IMPL(vshIoGetProcessDefaultPriorityForSystem) +BRIDGE_IMPL(vshIoSetProcessDefaultPriorityForSystem) +BRIDGE_IMPL(vshIoUmount) +BRIDGE_IMPL(vshKernelCheckModelCapability) +BRIDGE_IMPL(vshKernelSendSysEvent) +BRIDGE_IMPL(vshMemoryCardEnableSlowMode) +BRIDGE_IMPL(vshMemoryCardGetCardInsertState) +BRIDGE_IMPL(vshNpDrmIsLooseAccountBind) +BRIDGE_IMPL(vshNpDrmUpdateAccountId) +BRIDGE_IMPL(vshNpDrmUpdateDebugSettings) +BRIDGE_IMPL(vshPowerGetWakeupFactor) +BRIDGE_IMPL(vshPowerRequestColdReset) +BRIDGE_IMPL(vshPowerRequestHibernate) +BRIDGE_IMPL(vshPowerSetPowerSwMode) +BRIDGE_IMPL(vshPowerSetPsButtonPushTime) +BRIDGE_IMPL(vshPowerSetStandbyButtonPushTime) +BRIDGE_IMPL(vshRemovableMemoryGetCardInsertState) +BRIDGE_IMPL(vshRtcIsAlarmed) +BRIDGE_IMPL(vshRtcIsSecureAlarmed) +BRIDGE_IMPL(vshRtcRegisterCallback) +BRIDGE_IMPL(vshRtcRegisterSecureAlarmCallback) +BRIDGE_IMPL(vshRtcSetConf) +BRIDGE_IMPL(vshRtcUnregisterCallback) +BRIDGE_IMPL(vshRtcUnregisterSecureAlarmCallback) +BRIDGE_IMPL(vshSblACMgrHasCapability) +BRIDGE_IMPL(vshSblAimgrIsCEX) +BRIDGE_IMPL(vshSblAimgrIsDEX) +BRIDGE_IMPL(vshSblAimgrIsDolce) +BRIDGE_IMPL(vshSblAimgrIsGenuineDolce) +BRIDGE_IMPL(vshSblAimgrIsGenuineVITA) +BRIDGE_IMPL(vshSblAimgrIsTest) +BRIDGE_IMPL(vshSblAimgrIsTool) +BRIDGE_IMPL(vshSblAimgrIsVITA) +BRIDGE_IMPL(vshSblPmMgrSetSdModeOff) +BRIDGE_IMPL(vshSblQafMgrIsAllowControlIduAutoUpdate) +BRIDGE_IMPL(vshSblQafMgrIsAllowDtcpIpReset) +BRIDGE_IMPL(vshSblQafMgrIsAllowFakeACInstall) +BRIDGE_IMPL(vshSblQafMgrIsAllowKeepCoreFile) +BRIDGE_IMPL(vshSblQafMgrIsAllowLiblocationChangeModel) +BRIDGE_IMPL(vshSblQafMgrIsAllowLoadMagicGate) +BRIDGE_IMPL(vshSblQafMgrIsAllowLoadPSPEmuWhiteList) +BRIDGE_IMPL(vshSblQafMgrIsAllowMarlinTest) +BRIDGE_IMPL(vshSblQafMgrIsAllowNearTest) +BRIDGE_IMPL(vshSblQafMgrIsAllowPSPEmuDeleteParameter) +BRIDGE_IMPL(vshSblQafMgrIsAllowPSPEmuScreenShot) +BRIDGE_IMPL(vshSblQafMgrIsAllowPSPEmuSelectNPEnv) +BRIDGE_IMPL(vshSblQafMgrIsAllowPSPEmuShowQAInfo) +BRIDGE_IMPL(vshSblQafMgrIsAllowRemotePlayDebug) +BRIDGE_IMPL(vshSblQafMgrIsAllowShowTitleUpgradeInfo) +BRIDGE_IMPL(vshSblQafMgrIsAllowSystemAppDebug) +BRIDGE_IMPL(vshSblSsIsDevelopmentMode) +BRIDGE_IMPL(vshSblUtMgrHasComTestFlag) +BRIDGE_IMPL(vshSblUtMgrHasStoreFlag) +BRIDGE_IMPL(vshSysconBeginConfigstorageTransaction) +BRIDGE_IMPL(vshSysconClearTemperatureLog) +BRIDGE_IMPL(vshSysconCommitConfigstorageTransaction) +BRIDGE_IMPL(vshSysconEnableHibernateIO) +BRIDGE_IMPL(vshSysconEndConfigstorageTransaction) +BRIDGE_IMPL(vshSysconGetLogInfo) +BRIDGE_IMPL(vshSysconHasWWAN) +BRIDGE_IMPL(vshSysconIduModeClear) +BRIDGE_IMPL(vshSysconIduModeSet) +BRIDGE_IMPL(vshSysconIsDownLoaderMode) +BRIDGE_IMPL(vshSysconIsIduMode) +BRIDGE_IMPL(vshSysconIsMCEmuCapable) +BRIDGE_IMPL(vshSysconIsShowMode) +BRIDGE_IMPL(vshSysconLoadConfigstorageScript) +BRIDGE_IMPL(vshSysconLogStart) +BRIDGE_IMPL(vshSysconLogStartWaiting) +BRIDGE_IMPL(vshSysconShowModeClear) +BRIDGE_IMPL(vshSysconShowModeSet) +BRIDGE_IMPL(vshSysconVerifyConfigstorageScript) diff --git a/src/emulator/nids/CMakeLists.txt b/src/emulator/nids/CMakeLists.txt new file mode 100644 index 000000000..63cba853b --- /dev/null +++ b/src/emulator/nids/CMakeLists.txt @@ -0,0 +1,9 @@ +add_library( + nids + STATIC + include/nids/functions.h + include/nids/nids.h + src/nids.cpp +) + +target_include_directories(nids PUBLIC include) diff --git a/src/emulator/nids/include/nids/functions.h b/src/emulator/nids/include/nids/functions.h new file mode 100644 index 000000000..a88424825 --- /dev/null +++ b/src/emulator/nids/include/nids/functions.h @@ -0,0 +1,5 @@ +#pragma once + +#include + +const char *import_name(uint32_t nid); diff --git a/src/emulator/nids/include/nids/nids.h b/src/emulator/nids/include/nids/nids.h new file mode 100644 index 000000000..92f77df22 --- /dev/null +++ b/src/emulator/nids/include/nids/nids.h @@ -0,0 +1,4485 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +// Module "SceAVConfig" +// Library "SceAVConfig" +NID(sceAVConfigChangeReg, 0xD0595CE4) +NID(sceAVConfigClearAutoSuspend2, 0xBD9C52B1) +NID(sceAVConfigDisplayOn, 0x28AAF909) +NID(sceAVConfigGetAcStatus, 0x8B6E1E99) +NID(sceAVConfigGetBtVol, 0x174C1E53) +NID(sceAVConfigGetConnectedAudioDevice, 0x32A0CECF) +NID(sceAVConfigGetDisplayMaxBrightness, 0x6ABA67F4) +NID(sceAVConfigGetMasterVol, 0xC609B4D9) +NID(sceAVConfigGetShutterVol, 0xAD76BD2D) +NID(sceAVConfigGetSystemVol, 0xFC227CC8) +NID(sceAVConfigGetVolCtrlEnable, 0x830B950B) +NID(sceAVConfigHdmiCecCmdOneTouchPlay, 0x0235CA9E) +NID(sceAVConfigHdmiCecDisable, 0x23DF089D) +NID(sceAVConfigHdmiCecEnable, 0xFA836E80) +NID(sceAVConfigHdmiClearCecInfo, 0x2BC5A4E8) +NID(sceAVConfigHdmiGetCecInfo, 0x4D0AB59F) +NID(sceAVConfigHdmiGetMonitorInfo, 0x1DD86805) +NID(sceAVConfigHdmiGetOutScalingRatio, 0x5910A9CB) +NID(sceAVConfigHdmiSetOutScalingRatio, 0x0DE7CEAB) +NID(sceAVConfigHdmiSetResolution, 0x4D37F036) +NID(sceAVConfigHdmiSetRgbRangeMode, 0x67E1A494) +NID(sceAVConfigMuteOn, 0xA16F1898) +NID(sceAVConfigRegisterCallback, 0xFB5E3E74) +NID(sceAVConfigSendVolKey, 0x439A3051) +NID(sceAVConfigSetAutoDisplayDimming, 0x07AAAA16) +NID(sceAVConfigSetAutoSuspend, 0x5023700F) +NID(sceAVConfigSetAutoSuspend2, 0x764CA1B3) +NID(sceAVConfigSetDisplayBrightness, 0xE0C1B743) +NID(sceAVConfigSetDisplayColorSpaceMode, 0x3414347F) +NID(sceAVConfigSetMasterVol, 0xD67544D0) +NID(sceAVConfigSetSystemVol, 0xDC2EA264) +NID(sceAVConfigUnRegisterCallback, 0xDD78C3BA) +NID(sceAVConfigWriteMasterVol, 0x65F03D6A) +NID(sceAVConfigWriteRegSystemVol, 0xC411D984) +// Module "SceAppMgr" +// Library "SceAppMgr" +NID(__sceAppMgrGetAppState, 0x210C0046) +NID(_sceAppMgrAcidDirSet, 0x6CBCBE1A) +NID(_sceAppMgrAcquireSoundOutExclusive3, 0x13ED8FFD) +NID(_sceAppMgrAddContAddMount, 0x581DB1BE) +NID(_sceAppMgrAddContMount, 0x0667E10A) +NID(_sceAppMgrAppDataMount, 0xF07B816E) +NID(_sceAppMgrAppDataMountById, 0x9275414A) +NID(_sceAppMgrAppMount, 0xCF1C0C0C) +NID(_sceAppMgrAppParamGetInt, 0xDC7F8DE5) +NID(_sceAppMgrAppParamGetString, 0xEF34CA42) +NID(_sceAppMgrAppParamSetString, 0x5957390F) +NID(_sceAppMgrAppUmount, 0x2FB40418) +NID(_sceAppMgrBgdlGetQueueStatus, 0x5075AE28) +NID(_sceAppMgrCaptureFrameBufDMACByAppId, 0xC698385C) +NID(_sceAppMgrCaptureFrameBufIFTUByAppId, 0xF29E0732) +NID(_sceAppMgrCheckRifGD, 0x15D7CA34) +NID(_sceAppMgrContentInstallPeriodStart, 0xDC478FB1) +NID(_sceAppMgrContentInstallPeriodStop, 0xC9854E6E) +NID(_sceAppMgrConvertVs0UserDrivePath, 0x19B76D11) +NID(_sceAppMgrDeclareShellProcess2, 0xBDF15BDC) +NID(_sceAppMgrDestroyAppByName, 0xEB318002) +NID(_sceAppMgrDrmClose, 0xE4CE4A0C) +NID(_sceAppMgrDrmOpen, 0xAA5B3A37) +NID(_sceAppMgrForceUmount, 0x2598EC8A) +NID(_sceAppMgrGameDataMount, 0x454EB183) +NID(_sceAppMgrGetAppInfo, 0x6E65D746) +NID(_sceAppMgrGetAppMgrState, 0x55C60D20) +NID(_sceAppMgrGetAppParam, 0x258C3E3C) +NID(_sceAppMgrGetAppParam2, 0x26D43923) +NID(_sceAppMgrGetBootParam, 0xEEFBC756) +NID(_sceAppMgrGetBudgetInfo, 0xEACF2237) +NID(_sceAppMgrGetCoredumpStateForShell, 0x03DD7E65) +NID(_sceAppMgrGetCurrentBgmState, 0x81569A58) +NID(_sceAppMgrGetCurrentBgmState2, 0x3F7B9BB5) +NID(_sceAppMgrGetDevInfo, 0x52766019) +NID(_sceAppMgrGetFgAppInfo, 0xAC9968B7) +NID(_sceAppMgrGetIdByName, 0xC311CC17) +NID(_sceAppMgrGetMediaTypeFromDrive, 0xC8D32206) +NID(_sceAppMgrGetMediaTypeFromDriveByPid, 0xC7566C46) +NID(_sceAppMgrGetMountProcessNum, 0x1A844716) +NID(_sceAppMgrGetNameById, 0x08E93582) +NID(_sceAppMgrGetPfsDrive, 0x46B208D4) +NID(_sceAppMgrGetPidListForShell, 0x29AC9DF0) +NID(_sceAppMgrGetRawPath, 0x9FB3E2C8) +NID(_sceAppMgrGetRawPathOfApp0ByAppIdForShell, 0x7D210054) +NID(_sceAppMgrGetRawPathOfApp0ByPidForShell, 0x550422F9) +NID(_sceAppMgrGetRecommendedScreenOrientation, 0x37E94672) +NID(_sceAppMgrGetRunningAppIdListForShell, 0xDA66AE0E) +NID(_sceAppMgrGetSaveDataInfo, 0x6C52A377) +NID(_sceAppMgrGetSaveDataInfoForSpecialExport, 0xDC815429) +NID(_sceAppMgrGetStatusByAppId, 0xBF4213A3) +NID(_sceAppMgrGetStatusById, 0x211D9558) +NID(_sceAppMgrGetStatusByName, 0x46998AFC) +NID(_sceAppMgrGetSystemDataFilePlayReady, 0x7C44FE5D) +NID(_sceAppMgrGetUserDirPath, 0x84B138BF) +NID(_sceAppMgrGetUserDirPathById, 0x617D78DA) +NID(_sceAppMgrGetVs0UserDataDrive, 0xC361C084) +NID(_sceAppMgrGetVs0UserModuleDrive, 0x85589E87) +NID(_sceAppMgrInitSafeMemoryById, 0x03FA4036) +NID(_sceAppMgrInstallDirMount, 0xED37D810) +NID(_sceAppMgrIsCameraActive, 0x7F0C9410) +NID(_sceAppMgrLaunchAppByName, 0xDAC0AF12) +NID(_sceAppMgrLaunchAppByName2, 0xAEF06983) +NID(_sceAppMgrLaunchAppByName2ForShell, 0xC6BA9596) +NID(_sceAppMgrLaunchAppByName2ndStage, 0xDEDD2AED) +NID(_sceAppMgrLaunchAppByNameForShell, 0x4C3B5BB8) +NID(_sceAppMgrLaunchAppByPath4, 0x8FE4F651) +NID(_sceAppMgrLaunchAppByUri, 0x37CE3984) +NID(_sceAppMgrLaunchAppByUri2, 0x4B45EAC0) +NID(_sceAppMgrLaunchVideoStreamingApp, 0x29650EE6) +NID(_sceAppMgrLoadExec, 0xDC2F23E0) +NID(_sceAppMgrLoadSaveDataSystemFile, 0xA630BC5D) +NID(_sceAppMgrLoopBackFormat, 0xEA307D2C) +NID(_sceAppMgrLoopBackMount, 0x3493CDFA) +NID(_sceAppMgrMmsMount, 0xE56A2E1B) +NID(_sceAppMgrOverwriteLaunchParamForShell, 0xFDE9A3E3) +NID(_sceAppMgrPeekLaunchParamForShell, 0x8CC3DC46) +NID(_sceAppMgrPhotoMount, 0xE98E9C52) +NID(_sceAppMgrPhotoUmount, 0xB2EA376F) +NID(_sceAppMgrPspSaveDataGetParams, 0x77A51E82) +NID(_sceAppMgrPspSaveDataRead, 0xE535161F) +NID(_sceAppMgrPspSaveDataRootMount, 0xA77DF8BA) +NID(_sceAppMgrReceiveEvent, 0xA90546F4) +NID(_sceAppMgrReceiveEventNum, 0x3EEEC172) +NID(_sceAppMgrReceiveNotificationRequestForShell, 0x21A86141) +NID(_sceAppMgrReceiveShellEvent, 0xE0DADF51) +NID(_sceAppMgrReceiveSystemEvent, 0x7240375B) +NID(_sceAppMgrSaveDataAddMount, 0xD1391ACE) +NID(_sceAppMgrSaveDataDataRemove, 0xA579A39E) +NID(_sceAppMgrSaveDataDataRemove2, 0x435E0BCB) +NID(_sceAppMgrSaveDataDataSave, 0xB81777B7) +NID(_sceAppMgrSaveDataDataSave2, 0xFDACCA65) +NID(_sceAppMgrSaveDataGetQuota, 0xF28A426B) +NID(_sceAppMgrSaveDataMount, 0x95A6B1BF) +NID(_sceAppMgrSaveDataSlotCreate, 0xC48833AA) +NID(_sceAppMgrSaveDataSlotDelete, 0x191CF6B1) +NID(_sceAppMgrSaveDataSlotFileClose, 0xFE821175) +NID(_sceAppMgrSaveDataSlotFileGetParam, 0x667CC149) +NID(_sceAppMgrSaveDataSlotFileOpen, 0x855CDAA4) +NID(_sceAppMgrSaveDataSlotGetParam, 0x74D789E2) +NID(_sceAppMgrSaveDataSlotGetStatus, 0xAF8258D4) +NID(_sceAppMgrSaveDataSlotInit, 0x79689A1D) +NID(_sceAppMgrSaveDataSlotSetParam, 0x0E216486) +NID(_sceAppMgrSaveDataSlotSetStatus, 0x030C0CA4) +NID(_sceAppMgrSaveDataUmount, 0x53623420) +NID(_sceAppMgrSendNotificationRequest, 0xF42E27AD) +NID(_sceAppMgrSendParam, 0xD29236AD) +NID(_sceAppMgrSendSystemEvent, 0xCEAF12B6) +NID(_sceAppMgrSendSystemEvent2, 0xD70D5EEC) +NID(_sceAppMgrSetBackRenderPortOwner, 0xE8357021) +NID(_sceAppMgrSetBgmProxyApp, 0xF6B093BC) +NID(_sceAppMgrSetNetworkDisconnectionWarningDialogState, 0xD4B0CDB4) +NID(_sceAppMgrSetPowerSaveMode, 0xB0ECB9C2) +NID(_sceAppMgrSetRecommendedScreenOrientationForShell, 0xD14D39F5) +NID(_sceAppMgrSetShellScreenOrientation, 0x10E23253) +NID(_sceAppMgrSetSystemDataFile, 0x78F5AF66) +NID(_sceAppMgrSetSystemDataFilePlayReady, 0x8964E793) +NID(_sceAppMgrSystemParamDateTimeGetConf, 0xB7F95389) +NID(_sceAppMgrSystemParamGetInt, 0x18EB1DAC) +NID(_sceAppMgrSystemParamGetString, 0xAF5F9497) +NID(_sceAppMgrThemeDataMount, 0xD9B7A5AF) +NID(_sceAppMgrTrophyMount, 0xF8B80AC2) +NID(_sceAppMgrTrophyMountById, 0x3DFC9410) +NID(_sceAppMgrUmount, 0xFFCA54E0) +NID(_sceAppMgrUmountByPid, 0x0A419BC8) +NID(_sceAppMgrUpdateSaveDataParam, 0xF4703412) +NID(_sceAppMgrWorkDirMount, 0x0C49659E) +NID(_sceAppMgrWorkDirMountById, 0x58E4CC90) +NID(sceAppMgrAcquireBgmPort, 0xAFCEAB96) +NID(sceAppMgrAcquireBgmPortForMusicPlayer, 0x44EC36FA) +NID(sceAppMgrAcquireBgmPortWithPriority, 0xAAED7419) +NID(sceAppMgrAcquireBtrm, 0xD752695D) +NID(sceAppMgrAcquireSoundOutExclusive, 0xACB48075) +NID(sceAppMgrAcquireSoundOutExclusive2, 0xB9365442) +NID(sceAppMgrActivateApp, 0x43631508) +NID(sceAppMgrDeactivateApp, 0xFFA093D9) +NID(sceAppMgrDeclareSystemChatApp, 0x77EE891D) +NID(sceAppMgrDestroyAppByAppId, 0x54368A0B) +NID(sceAppMgrDestroyOtherApp, 0x3EF143BF) +NID(sceAppMgrDestroyOtherAppByAppIdForShell, 0xDC70C5F7) +NID(sceAppMgrDestroyOtherAppByPidForShell, 0x5420D23C) +NID(sceAppMgrDump, 0x527795E8) +NID(sceAppMgrEnableCoredumpForTest, 0x32FD0B99) +NID(sceAppMgrEnableDuckingOnSystemChat, 0x5AB230DE) +NID(sceAppMgrEnablePrioritizingSystemChat, 0x3E1FAB92) +NID(sceAppMgrExitToLiveboardForGameApp, 0x89D1DA55) +NID(sceAppMgrFinishCoredumpForShell, 0x52FF63D1) +NID(sceAppMgrGetAppIdByAppId, 0x332C9D98) +NID(sceAppMgrGetExtraAppParam, 0x94A722BC) +NID(sceAppMgrGetProcessIdByAppIdForShell, 0x63FAC2A9) +NID(sceAppMgrGetSystemDataFile, 0xAEC49533) +NID(sceAppMgrGrowMemory, 0x842FCE8C) +NID(sceAppMgrGrowMemory3, 0x4401EDCD) +NID(sceAppMgrIsDevelopmentMode, 0x7D4F8F83) +NID(sceAppMgrIsGameBudgetAppPresent, 0xE134F5A0) +NID(sceAppMgrIsGameProgram, 0xFFF8F7F0) +NID(sceAppMgrIsNonGameProgram, 0x5F22E192) +NID(sceAppMgrIsOtherAppPresent, 0x371F6F81) +NID(sceAppMgrIsPidShellAndCrashed, 0xC648EA9B) +NID(sceAppMgrIsPsNowClient, 0x972EA7BA) +NID(sceAppMgrLaunchAppCancel, 0x5369BC0A) +NID(sceAppMgrLoadSafeMemory, 0xFAF3DAAA) +NID(sceAppMgrNotifyLiveBoardModeForShell, 0x389F048D) +NID(sceAppMgrQuitApp, 0x0DD747FB) +NID(sceAppMgrQuitForNonSuspendableApp, 0xE3F719A0) +NID(sceAppMgrReceiveShellEventNum, 0xFB67BABD) +NID(sceAppMgrReleaseBgmPort, 0xF3717E37) +NID(sceAppMgrReleaseBtrm, 0xACDCE4DB) +NID(sceAppMgrReleaseSoundOutExclusive, 0x3BA41199) +NID(sceAppMgrReleaseSoundOutExclusive2, 0x2BB68701) +NID(sceAppMgrReleaseSoundOutExclusive3, 0x626C339D) +NID(sceAppMgrRestoreBgmSettingForShell, 0xD9BCC50C) +NID(sceAppMgrRestoreDisplaySettingForShell, 0xE455922D) +NID(sceAppMgrResumeBgAppByShell, 0x64DD4321) +NID(sceAppMgrReturnLiveAreaOperationResultForShell, 0x5CF3BA39) +NID(sceAppMgrSaveDataGetCachedRequiredSizeKiB, 0x56EDE09A) +NID(sceAppMgrSaveSafeMemory, 0xD366AA44) +NID(sceAppMgrSendLiveBoardMode, 0x3E4AC082) +NID(sceAppMgrSetAppProtectionModeOnMemoryShortage, 0xAF8C7FFB) +NID(sceAppMgrSetBgmSubPriority, 0x7333C2F1) +NID(sceAppMgrSetBgmSubPriorityForSystemChat, 0x90E42B4D) +NID(sceAppMgrSetDisplayMergeConf, 0x0789D501) +NID(sceAppMgrSetFakeSettingBug51800, 0xF46C81F3) +NID(sceAppMgrSetInfobarState, 0xAD9022A1) +NID(sceAppMgrSetInfobarStateForCommonDialog, 0xD6758B4E) +NID(sceAppMgrSetInfobarStateForShellByAppId, 0xF7DFE96E) +NID(sceAppMgrSetRecommendedScreenOrientationActivated, 0x75876896) +NID(sceAppMgrSetSystemImposeState, 0xD16B91B5) +NID(sceAppMgrSetSystemImposeState2, 0x2163759A) +NID(sceAppMgrSuspendBgAppByShell, 0x5BCF6927) +NID(sceAppMgrSuspendUntilActivated, 0xECEC7F90) +// Library "SceAppMgrUser" +NID(_sceAppMgrGetAppState, 0x5E86319A) +NID(sceAppMgrAcidDirSet, 0x31EFA73A) +NID(sceAppMgrAcquireSoundOutExclusive3, 0xD97AC34E) +NID(sceAppMgrAddContAddMount, 0x2B40BA12) +NID(sceAppMgrAddContMount, 0x553AA57B) +NID(sceAppMgrAppDataMount, 0x291AFBDC) +NID(sceAppMgrAppDataMountById, 0xE8BD32BD) +NID(sceAppMgrAppMount, 0x127F3BEB) +NID(sceAppMgrAppParamGetInt, 0x9E57853D) +NID(sceAppMgrAppParamGetString, 0x0C733AE2) +NID(sceAppMgrAppParamSetString, 0x5B07C10B) +NID(sceAppMgrAppUmount, 0x9619C150) +NID(sceAppMgrBgdlGetQueueStatus, 0x7BC8D5B6) +NID(sceAppMgrCaptureFrameBufDMACByAppId, 0x44F8347C) +NID(sceAppMgrCaptureFrameBufIFTUByAppId, 0x8C24D566) +NID(sceAppMgrCheckRifGD, 0x6E5CBCA2) +NID(sceAppMgrContentInstallPeriodStart, 0x251A224D) +NID(sceAppMgrContentInstallPeriodStop, 0xB3DFC681) +NID(sceAppMgrConvertVs0UserDrivePath, 0xADAA658E) +NID(sceAppMgrDeclareShellProcess2, 0xF261879F) +NID(sceAppMgrDestroyAppByName, 0x4570DC15) +NID(sceAppMgrDrmClose, 0x29293B46) +NID(sceAppMgrDrmOpen, 0xD43FDF20) +NID(sceAppMgrForceUmount, 0x54AD0F7F) +NID(sceAppMgrGameDataMount, 0x4993876C) +NID(sceAppMgrGetAppInfo, 0x72ABDC61) +NID(sceAppMgrGetAppMgrState, 0x98724E3F) +NID(sceAppMgrGetAppParam, 0x9B2422E0) +NID(sceAppMgrGetAppParam2, 0x3D816DFA) +NID(sceAppMgrGetBootParam, 0x73E5D57D) +NID(sceAppMgrGetBudgetInfo, 0x5F00F261) +NID(sceAppMgrGetCoredumpStateForShell, 0x27CEDB95) +NID(sceAppMgrGetCurrentBgmState, 0xACB3826A) +NID(sceAppMgrGetCurrentBgmState2, 0x62BEBD65) +NID(sceAppMgrGetDevInfo, 0x67705391) +NID(sceAppMgrGetFgAppInfo, 0x59F8C1C1) +NID(sceAppMgrGetIdByName, 0x79F9E63A) +NID(sceAppMgrGetMediaTypeFromDrive, 0xC014AA52) +NID(sceAppMgrGetMediaTypeFromDriveByPid, 0x8F6213CA) +NID(sceAppMgrGetMountProcessNum, 0x43558909) +NID(sceAppMgrGetNameById, 0xF4D6AE3A) +NID(sceAppMgrGetPfsDrive, 0x139D9D93) +NID(sceAppMgrGetPidListForShell, 0x970FA364) +NID(sceAppMgrGetRawPath, 0x0E8D27E8) +NID(sceAppMgrGetRawPathOfApp0ByAppIdForShell, 0x81D8D15D) +NID(sceAppMgrGetRawPathOfApp0ByPidForShell, 0x0B79E4BB) +NID(sceAppMgrGetRecommendedScreenOrientation, 0x8A1A6FFC) +NID(sceAppMgrGetRunningAppIdListForShell, 0x613A70E2) +NID(sceAppMgrGetSaveDataInfo, 0x6EF25378) +NID(sceAppMgrGetSaveDataInfoForSpecialExport, 0xC80E4B0F) +NID(sceAppMgrGetStatusByAppId, 0x47958DE5) +NID(sceAppMgrGetStatusById, 0x143EA292) +NID(sceAppMgrGetStatusByName, 0x656E0ABD) +NID(sceAppMgrGetSystemDataFilePlayReady, 0x1E1E97EE) +NID(sceAppMgrGetUserDirPath, 0x5253338C) +NID(sceAppMgrGetVs0UserDataDrive, 0xC0631748) +NID(sceAppMgrGetVs0UserModuleDrive, 0x906154DE) +NID(sceAppMgrInitSafeMemoryById, 0x3E53681A) +NID(sceAppMgrInstallDirMount, 0x34003AFC) +NID(sceAppMgrIsCameraActive, 0x8B123D24) +NID(sceAppMgrLaunchAppByName, 0xC9C77E21) +NID(sceAppMgrLaunchAppByName2, 0x42945D67) +NID(sceAppMgrLaunchAppByName2ForShell, 0x6412F2D4) +NID(sceAppMgrLaunchAppByName2ndStage, 0xADAC0E8D) +NID(sceAppMgrLaunchAppByNameForShell, 0xA1D43805) +NID(sceAppMgrLaunchAppByPath4, 0xCECFC7CB) +NID(sceAppMgrLaunchAppByUri, 0x003C634F) +NID(sceAppMgrLaunchAppByUri2, 0x0ED6AF54) +NID(sceAppMgrLaunchVideoStreamingApp, 0x4C02B889) +NID(sceAppMgrLoadExec, 0xE6774ABC) +NID(sceAppMgrLoopBackFormat, 0xCE8CE150) +NID(sceAppMgrLoopBackMount, 0x33CD76DD) +NID(sceAppMgrMmsMount, 0xF4730BA8) +NID(sceAppMgrOverwriteLaunchParamForShell, 0xEC1FDACE) +NID(sceAppMgrPeekLaunchParamForShell, 0x6AD619D3) +NID(sceAppMgrPhotoMount, 0xF71CC393) +NID(sceAppMgrPhotoUmount, 0x3F1A3AEC) +NID(sceAppMgrPspSaveDataGetParams, 0xCF58EEE4) +NID(sceAppMgrPspSaveDataRead, 0x33C47470) +NID(sceAppMgrPspSaveDataRootMount, 0xC94B7E24) +NID(sceAppMgrReceiveEvent, 0xCFAD5A3A) +NID(sceAppMgrReceiveEventNum, 0x47E5DD7D) +NID(sceAppMgrReceiveNotificationRequestForShell, 0xF0DFB1EF) +NID(sceAppMgrReceiveShellEvent, 0x15AC8C52) +NID(sceAppMgrReceiveSystemEvent, 0x10B5765F) +NID(sceAppMgrSaveDataAddMount, 0x8B224917) +NID(sceAppMgrSaveDataDataRemove, 0x4544FCC5) +NID(sceAppMgrSaveDataDataSave, 0x84DE76C7) +NID(sceAppMgrSaveDataGetQuota, 0x0717E2AE) +NID(sceAppMgrSaveDataMount, 0x31F3CC59) +NID(sceAppMgrSaveDataSlotCreate, 0x5181D7B3) +NID(sceAppMgrSaveDataSlotDelete, 0x6B0E7CF0) +NID(sceAppMgrSaveDataSlotFileClose, 0xFD7A4EEC) +NID(sceAppMgrSaveDataSlotFileGetParam, 0xC176317B) +NID(sceAppMgrSaveDataSlotFileOpen, 0x91BE107E) +NID(sceAppMgrSaveDataSlotGetParam, 0x17653D70) +NID(sceAppMgrSaveDataSlotGetStatus, 0x1F3A2F25) +NID(sceAppMgrSaveDataSlotInit, 0x4F8A92F1) +NID(sceAppMgrSaveDataSlotSetParam, 0xA8065FA4) +NID(sceAppMgrSaveDataSlotSetStatus, 0x3FD3073C) +NID(sceAppMgrSaveDataUmount, 0x8F513CF5) +NID(sceAppMgrSendNotificationRequest, 0x6E4997D7) +NID(sceAppMgrSendParam, 0xBB41230E) +NID(sceAppMgrSendSystemEvent, 0x2E4E1A1E) +NID(sceAppMgrSendSystemEvent2, 0xAEF9DF01) +NID(sceAppMgrSetBackRenderPortOwner, 0x7149016E) +NID(sceAppMgrSetBgmProxyApp, 0xC42F41E9) +NID(sceAppMgrSetNetworkDisconnectionWarningDialogState, 0xE352B29C) +NID(sceAppMgrSetPowerSaveMode, 0x2CF000BD) +NID(sceAppMgrSetRecommendedScreenOrientationForShell, 0x219043FF) +NID(sceAppMgrSetShellScreenOrientation, 0x5C7BE748) +NID(sceAppMgrSetSystemDataFile, 0x345F5CC0) +NID(sceAppMgrSetSystemDataFilePlayReady, 0x442ADA77) +NID(sceAppMgrSystemParamDateTimeGetConf, 0xE39FC7D5) +NID(sceAppMgrSystemParamGetInt, 0x5B75180C) +NID(sceAppMgrSystemParamGetString, 0x09899A08) +NID(sceAppMgrTrophyMount, 0x84FE08EE) +NID(sceAppMgrTrophyMountById, 0x316207F3) +NID(sceAppMgrUmount, 0x5E375921) +NID(sceAppMgrUmountByPid, 0x919FDAE7) +NID(sceAppMgrUpdateSaveDataParam, 0x1B0BD20D) +NID(sceAppMgrWorkDirMount, 0x9B3BB24D) +NID(sceAppMgrWorkDirMountById, 0x80E86E42) +// Library "SceSharedFb" +NID(_sceSharedFbOpen, 0xB358E1B6) +NID(sceSharedFbBegin, 0x72067C6B) +NID(sceSharedFbClose, 0x33DA3428) +NID(sceSharedFbCreate, 0xD6C643B5) +NID(sceSharedFbDelete, 0xBE5A1A81) +NID(sceSharedFbEnd, 0xFC5A62B6) +NID(sceSharedFbGetInfo, 0x819954FB) +NID(sceSharedFbGetRenderingInfo, 0x61FEEDFA) +NID(sceSharedFbGetShellRenderPort, 0xAC49FC1D) +NID(sceSharedFbUpdateProcess, 0x3889ACF8) +NID(sceSharedFbUpdateProcessBegin, 0xF9754AD9) +NID(sceSharedFbUpdateProcessEnd, 0x565A9AB6) +// Module "SceAppUtil" +// Library "SceAppUtil" +NID(sceAppUtilAddCookieWebBrowser, 0xC97D5D9E) +NID(sceAppUtilAddcontMount, 0x53B2C020) +NID(sceAppUtilAddcontUmount, 0x1B36AF8C) +NID(sceAppUtilAppEventParseIncomingDialog, 0x22297D59) +NID(sceAppUtilAppEventParseLiveArea, 0x0F4EE55F) +NID(sceAppUtilAppEventParseNearGift, 0x77380601) +NID(sceAppUtilAppEventParseNpAppDataMessage, 0x6BED9B58) +NID(sceAppUtilAppEventParseNpBasicJoinablePresence, 0x28C7D4F6) +NID(sceAppUtilAppEventParseNpInviteMessage, 0xA2496814) +NID(sceAppUtilAppEventParseScreenShotNotification, 0x2AF42D6A) +NID(sceAppUtilAppEventParseTriggerUtil, 0x8DEE696B) +NID(sceAppUtilAppEventParseWebBrowser, 0x8ED716F5) +NID(sceAppUtilAppParamGetInt, 0xCD7FD67A) +NID(sceAppUtilBgdlGetStatus, 0x96F478D6) +NID(sceAppUtilDrmClose, 0x6A140498) +NID(sceAppUtilDrmOpen, 0x2DB7BE3B) +NID(sceAppUtilInit, 0xDAFFE671) +NID(sceAppUtilLaunchWebBrowser, 0xF19D0423) +NID(sceAppUtilLoadSafeMemory, 0x3424D772) +NID(sceAppUtilMusicMount, 0xB5EDCBFF) +NID(sceAppUtilMusicUmount, 0xA7FE1BF7) +NID(sceAppUtilPhotoMount, 0xEE85804D) +NID(sceAppUtilPhotoUmount, 0x9651B941) +NID(sceAppUtilPspSaveDataGetDirNameList, 0x9942071D) +NID(sceAppUtilPspSaveDataLoad, 0x7402C6EA) +NID(sceAppUtilReceiveAppEvent, 0xEE0DBED9) +NID(sceAppUtilResetCookieWebBrowser, 0x4FAAD133) +NID(sceAppUtilSaveDataDataRemove, 0xD1C6AB8E) +NID(sceAppUtilSaveDataDataSave, 0x607647BA) +NID(sceAppUtilSaveDataGetQuota, 0xC560E716) +NID(sceAppUtilSaveDataMount, 0xE61453B0) +NID(sceAppUtilSaveDataSlotCreate, 0x7E8FE96A) +NID(sceAppUtilSaveDataSlotDelete, 0x266A7646) +NID(sceAppUtilSaveDataSlotGetParam, 0x93F0D89F) +NID(sceAppUtilSaveDataSlotSearch, 0xE6057A85) +NID(sceAppUtilSaveDataSlotSetParam, 0x98630136) +NID(sceAppUtilSaveDataUmount, 0xEB720402) +NID(sceAppUtilSaveSafeMemory, 0x9D8AC677) +NID(sceAppUtilShutdown, 0xB220B00B) +NID(sceAppUtilStoreBrowse, 0x85FA94EE) +NID(sceAppUtilSystemParamGetInt, 0x5DFB9CA0) +NID(sceAppUtilSystemParamGetString, 0x6E6AA267) +// Library "SceAppUtilCache" +NID(sceAppUtilCacheMount, 0x0AA56143) +// Module "SceAtrac" +// Library "SceAtrac" +NID(sceAtracAddStreamData, 0x53656F1C) +NID(sceAtracCreateDecoderGroup, 0x01BFB98C) +NID(sceAtracDecode, 0x29C74EE3) +NID(sceAtracDeleteDecoderGroup, 0x6CA2F08A) +NID(sceAtracGetContentInfo, 0x68DFC199) +NID(sceAtracGetDecoderGroupInfo, 0xBF34605D) +NID(sceAtracGetDecoderStatus, 0x90B512AC) +NID(sceAtracGetInternalError, 0x67981334) +NID(sceAtracGetLoopInfo, 0xDC768033) +NID(sceAtracGetNextOutputPosition, 0xACA5F9CC) +NID(sceAtracGetOutputSamples, 0x37B3F335) +NID(sceAtracGetOutputableSamples, 0x5B36CDB5) +NID(sceAtracGetRemainSamples, 0xDC27E7C2) +NID(sceAtracGetStreamInfo, 0xD9409E57) +NID(sceAtracGetSubBufferInfo, 0xE7D9DC4F) +NID(sceAtracGetVacantSize, 0x9BDB14F7) +NID(sceAtracIsSubBufferNeeded, 0x722F5004) +NID(sceAtracQueryDecoderGroupMemSize, 0x1A34B331) +NID(sceAtracReleaseHandle, 0x008EF251) +NID(sceAtracResetNextOutputPosition, 0xD81D7280) +NID(sceAtracSetDataAndAcquireHandle, 0xD1997678) +NID(sceAtracSetLoopNum, 0x5C22E927) +NID(sceAtracSetOutputSamples, 0x075B0C63) +NID(sceAtracSetSubBuffer, 0x272B4CBA) +// Module "SceAudio" +// Library "SceAudio" +NID(sceAudioOutGetAdopt, 0x12FB1767) +NID(sceAudioOutGetConfig, 0x9C8EDAEA) +NID(sceAudioOutGetRestSample, 0x9A5370C4) +NID(sceAudioOutOpenPort, 0x5BC341E4) +NID(sceAudioOutOutput, 0x02DB3F5F) +NID(sceAudioOutReleasePort, 0x69E2E6B5) +NID(sceAudioOutSetAlcMode, 0x940CE469) +NID(sceAudioOutSetConfig, 0xB8BA0D07) +NID(sceAudioOutSetVolume, 0x64167F11) +// Module "SceAudioIn" +// Library "SceAudioIn" +NID(sceAudioInGetAdopt, 0x566AC433) +NID(sceAudioInGetStatus, 0x2F940377) +NID(sceAudioInInput, 0x638ADD2D) +NID(sceAudioInOpenPort, 0x39B50DC1) +NID(sceAudioInReleasePort, 0x3A61B8C4) +// Module "SceAudiodec" +// Library "SceAudiodecUser" +NID(sceAudiodecClearContext, 0xF72F9B64) +NID(sceAudiodecCreateDecoder, 0x4DFD3AAA) +NID(sceAudiodecCreateDecoderExternal, 0x56085DFB) +NID(sceAudiodecDecode, 0xCCDABA04) +NID(sceAudiodecDecodeNFrames, 0x8018AA9B) +NID(sceAudiodecDecodeNStreams, 0x68F4A9CB) +NID(sceAudiodecDeleteDecoder, 0xE7A24E16) +NID(sceAudiodecDeleteDecoderExternal, 0xE4EA05BB) +NID(sceAudiodecGetContextSize, 0xDB712ABC) +NID(sceAudiodecGetInternalError, 0x883B0CF5) +NID(sceAudiodecInitLibrary, 0x445C2CEF) +NID(sceAudiodecTermLibrary, 0x45719B9D) +// Module "SceAudioenc" +// Library "SceAudioencUser" +NID(sceAudioencClearContext, 0x9386F42D) +NID(sceAudioencCreateEncoder, 0x64C04AE8) +NID(sceAudioencCreateEncoderExternal, 0x9B1E8DE2) +NID(sceAudioencDeleteEncoder, 0xC6BA5EE6) +NID(sceAudioencDeleteEncoderExternal, 0x552E8882) +NID(sceAudioencEncode, 0xD85DB29C) +NID(sceAudioencGetContextSize, 0xEAD4AF38) +NID(sceAudioencGetInternalError, 0x452246D0) +NID(sceAudioencGetOptInfo, 0xD01C63A3) +NID(sceAudioencInitLibrary, 0x76EE4DC6) +NID(sceAudioencTermLibrary, 0xAB32D022) +// Module "SceAvPlayer" +// Library "SceAvPlayer" +NID(sceAvPlayerAddSource, 0xBC83C8FD) +NID(sceAvPlayerClose, 0x7AA29B2D) +NID(sceAvPlayerCurrentTime, 0x804DCECD) +NID(sceAvPlayerDisableStream, 0x15365ECE) +NID(sceAvPlayerEnableStream, 0x70127AB8) +NID(sceAvPlayerGetAudioData, 0xA10FC252) +NID(sceAvPlayerGetStreamInfo, 0x34E2D370) +NID(sceAvPlayerGetVideoData, 0x8BC3221B) +NID(sceAvPlayerGetVideoDataEx, 0x22986CD1) +NID(sceAvPlayerInit, 0x4C847ADF) +NID(sceAvPlayerIsActive, 0x2E4FF35F) +NID(sceAvPlayerJumpToTime, 0x5B7DB4BC) +NID(sceAvPlayerPause, 0x34FD744B) +NID(sceAvPlayerPostInit, 0x3F51D38A) +NID(sceAvPlayerResume, 0x11FF162D) +NID(sceAvPlayerSetLooping, 0xEC103ADF) +NID(sceAvPlayerSetTrickSpeed, 0x86E0CF55) +NID(sceAvPlayerStart, 0x2ACB4217) +NID(sceAvPlayerStop, 0xBD35E360) +NID(sceAvPlayerStreamCount, 0x2CD86FD6) +// Module "SceBt" +// Library "SceBt" +NID(sceBtAvrcpReadVolume, 0x01000531) +NID(sceBtAvrcpSendButton, 0x9F8724E7) +NID(sceBtAvrcpSendVolume, 0xC5C7003B) +NID(sceBtAvrcpSetPlayStatus, 0x0DADD51A) +NID(sceBtAvrcpSetTitle, 0xDD3947B9) +NID(sceBtDeleteRegisteredInfo, 0xACC959A0) +NID(sceBtFreqAudio, 0x376DE456) +NID(sceBtGetConfiguration, 0x9D619F35) +NID(sceBtGetConnectingInfo, 0xD9B65CAA) +NID(sceBtGetDeviceName, 0x80977A26) +NID(sceBtGetInfoForTest, 0xF7756C1F) +NID(sceBtGetLastError, 0x4E159A08) +NID(sceBtGetRegisteredInfo, 0xB6C9A094) +NID(sceBtGetStatusForTest, 0x48A27F7E) +NID(sceBtGetVidPid, 0xBE01ACE7) +NID(sceBtHfpGetCurrentPhoneNumber, 0xB0CD46A4) +NID(sceBtHfpRequest, 0xD924787E) +NID(sceBtHidGetReportDescriptor, 0x95614634) +NID(sceBtHidTransfer, 0x88B34B5B) +NID(sceBtPairingOOB, 0xCBC4FF55) +NID(sceBtPushBip, 0xE4EA1E59) +NID(sceBtPushOpp, 0xED78EEC3) +NID(sceBtReadEvent, 0x26BAC23D) +NID(sceBtRecvAudio, 0x469DD0DA) +NID(sceBtRecvBip, 0xCEF8F261) +NID(sceBtRecvOpp, 0xA865A081) +NID(sceBtRecvSpp, 0x112A61AC) +NID(sceBtRegisterCallback, 0xA23FB154) +NID(sceBtReplyPinCode, 0xA4FD7F9A) +NID(sceBtReplyUserConfirmation, 0xCAABAAC8) +NID(sceBtSendAudio, 0xE30602A4) +NID(sceBtSendL2capEchoRequestForTest, 0xCA304973) +NID(sceBtSendSpp, 0x1FBA44DE) +NID(sceBtSetConfiguration, 0x9B1F2964) +NID(sceBtSetContentProtection, 0x5F9ABEAE) +NID(sceBtSetInquiryResultForTest, 0x2BADF3A9) +NID(sceBtSetInquiryScan, 0x78855913) +NID(sceBtSetL2capEchoResponseBufferForTest, 0xB624CFFC) +NID(sceBtSetStatusForTest, 0x32DA3573) +NID(sceBtStartAudio, 0x3679D50F) +NID(sceBtStartConnect, 0xFF3C57EB) +NID(sceBtStartDisconnect, 0x18286FFF) +NID(sceBtStartInquiry, 0xA5CDDB17) +NID(sceBtStopAudio, 0xE423D1CC) +NID(sceBtStopInquiry, 0xF1C4D466) +NID(sceBtUnregisterCallback, 0x605EF71F) +// Module "SceCamera" +// Library "SceCamera" +NID(sceCameraClose, 0xCD6E1CFC) +NID(sceCameraGetAntiFlicker, 0x9FDACB99) +NID(sceCameraGetAutoControlHold, 0x06A21BBB) +NID(sceCameraGetBacklight, 0x8DD1292B) +NID(sceCameraGetBrightness, 0x85D5951D) +NID(sceCameraGetContrast, 0x8FBE84BE) +NID(sceCameraGetDeviceLocation, 0x274EF751) +NID(sceCameraGetEV, 0x8B5E6147) +NID(sceCameraGetEffect, 0x7E8EF3B2) +NID(sceCameraGetExposureCeiling, 0x5FA5B1BB) +NID(sceCameraGetGain, 0x2C36D6F3) +NID(sceCameraGetISO, 0x4EBD5C68) +NID(sceCameraGetNightmode, 0x12B6FF26) +NID(sceCameraGetReverse, 0x44F6043F) +NID(sceCameraGetSaturation, 0x624F7653) +NID(sceCameraGetSharpness, 0xAA72C3DC) +NID(sceCameraGetWhiteBalance, 0xDBFFA1DA) +NID(sceCameraGetZoom, 0x06D3816C) +NID(sceCameraIsActive, 0x103A75B8) +NID(sceCameraOpen, 0xA462F801) +NID(sceCameraRead, 0x79B5C2DE) +NID(sceCameraSetAntiFlicker, 0xE312958A) +NID(sceCameraSetAutoControlHold, 0x3A0DABBD) +NID(sceCameraSetBacklight, 0xAE071044) +NID(sceCameraSetBrightness, 0x98D71588) +NID(sceCameraSetContrast, 0x06FB2900) +NID(sceCameraSetEV, 0x62AFF0B8) +NID(sceCameraSetEffect, 0xE9D2CFB1) +NID(sceCameraSetExposureCeiling, 0x04F34BEE) +NID(sceCameraSetGain, 0xE65CFE86) +NID(sceCameraSetISO, 0x3CF630A1) +NID(sceCameraSetNightmode, 0x3F26233E) +NID(sceCameraSetReverse, 0x1175F477) +NID(sceCameraSetSaturation, 0xF9F7CA3D) +NID(sceCameraSetSharpness, 0xD1A5BB0B) +NID(sceCameraSetWhiteBalance, 0x4D4514AC) +NID(sceCameraSetZoom, 0xF7464216) +NID(sceCameraStart, 0xA8FEAE35) +NID(sceCameraStop, 0x1DD9C9CE) +// Module "SceClipboard" +// Library "SceClipboard" +NID(sceClipboardGetText, 0x5BB10CC2) +NID(sceClipboardSetText, 0x43A94D3E) +// Module "SceCodecEngine" +// Library "SceCodecEngineUser" +NID(sceCodecEngineAllocMemoryFromUnmapMemBlock, 0x1A3A53E5) +NID(sceCodecEngineCloseUnmapMemBlock, 0x95EA3B3E) +NID(sceCodecEngineFreeMemoryFromUnmapMemBlock, 0x6A31831D) +NID(sceCodecEngineOpenUnmapMemBlock, 0xF0B4C892) +// Module "SceCodecEnginePerf" +// Library "SceCodecEnginePerf" +NID(sceCodecEnginePmonGetProcessorLoad, 0x2C9DA711) +NID(sceCodecEnginePmonReset, 0x5D75DF62) +NID(sceCodecEnginePmonStart, 0x0635EB77) +NID(sceCodecEnginePmonStop, 0xD2EFAEA1) +// Module "SceCommonDialog" +// Library "SceCommonDialog" +NID(sceCameraImportDialogAbort, 0x8852B9A4) +NID(sceCameraImportDialogGetResult, 0x7B339AA2) +NID(sceCameraImportDialogGetStatus, 0x86AE7314) +NID(sceCameraImportDialogInit, 0xE525BDB0) +NID(sceCameraImportDialogTerm, 0x8ED0C83C) +NID(sceCommonDialogGetWorkerThreadId, 0xD4C37375) +NID(sceCommonDialogIsRunning, 0x043A353E) +NID(sceCommonDialogSetConfigParam, 0xBECD35C8) +NID(sceCommonDialogUpdate, 0x90530F2F) +NID(sceCrossControllerDialogAbort, 0xDDC52A46) +NID(sceCrossControllerDialogGetResult, 0x8E35EA7B) +NID(sceCrossControllerDialogGetStatus, 0x44B9E931) +NID(sceCrossControllerDialogInit, 0x2339FBD5) +NID(sceCrossControllerDialogTerm, 0x6E572EBF) +NID(sceImeDialogAbort, 0x594A220E) +NID(sceImeDialogGetResult, 0x2EB3D046) +NID(sceImeDialogGetStatus, 0xCF0431FD) +NID(sceImeDialogInit, 0x1E7043BF) +NID(sceImeDialogTerm, 0x838A3AF4) +NID(sceMsgDialogAbort, 0x0CC66115) +NID(sceMsgDialogClose, 0xC296D396) +NID(sceMsgDialogGetResult, 0xBB3BFC89) +NID(sceMsgDialogGetStatus, 0x4107019E) +NID(sceMsgDialogInit, 0x755FF270) +NID(sceMsgDialogProgressBarInc, 0x7BE0E08B) +NID(sceMsgDialogProgressBarSetMsg, 0x0150A451) +NID(sceMsgDialogProgressBarSetValue, 0x9CDA5E0D) +NID(sceMsgDialogTerm, 0x81ACF695) +NID(sceNetCheckDialogAbort, 0x2D8EDF09) +NID(sceNetCheckDialogGetPS3ConnectInfo, 0x39467634) +NID(sceNetCheckDialogGetResult, 0xB05FCE9E) +NID(sceNetCheckDialogGetStatus, 0x8027292A) +NID(sceNetCheckDialogInit, 0xA38A4A0D) +NID(sceNetCheckDialogTerm, 0x8BE51C15) +NID(sceNpFriendListDialogAbort, 0x58FA2062) +NID(sceNpFriendListDialogGetResult, 0xD29FE607) +NID(sceNpFriendListDialogGetStatus, 0x1FD5D373) +NID(sceNpFriendListDialogInit, 0x93FCFEC6) +NID(sceNpFriendListDialogTerm, 0x4A880C6A) +NID(sceNpMessageDialogAbort, 0x47AB6D04) +NID(sceNpMessageDialogGetResult, 0x7EC95C61) +NID(sceNpMessageDialogGetStatus, 0x2A0D060F) +NID(sceNpMessageDialogInit, 0x4535A358) +NID(sceNpMessageDialogTerm, 0x7AB50F63) +NID(sceNpProfileDialogAbort, 0x2B02BE3F) +NID(sceNpProfileDialogGetResult, 0x749CAFFC) +NID(sceNpProfileDialogGetStatus, 0xFDFE6042) +NID(sceNpProfileDialogInit, 0x5E0AFDF8) +NID(sceNpProfileDialogTerm, 0x04B63D6F) +NID(sceNpSnsFacebookDialogAbort, 0x7E22AD33) +NID(sceNpSnsFacebookDialogGetResult, 0x36C5E9A5) +NID(sceNpSnsFacebookDialogGetResultLongToken, 0xA8682304) +NID(sceNpSnsFacebookDialogGetStatus, 0x147650E8) +NID(sceNpSnsFacebookDialogInit, 0x6821F09B) +NID(sceNpSnsFacebookDialogTerm, 0xDE1F3928) +NID(sceNpTrophySetupDialogAbort, 0xDC346979) +NID(sceNpTrophySetupDialogGetResult, 0xE37069D5) +NID(sceNpTrophySetupDialogGetStatus, 0xC3A59547) +NID(sceNpTrophySetupDialogInit, 0x9E2C02C9) +NID(sceNpTrophySetupDialogTerm, 0xA81082DD) +NID(scePhotoImportDialogAbort, 0x4B125581) +NID(scePhotoImportDialogGetResult, 0xD855414C) +NID(scePhotoImportDialogGetStatus, 0x032206D8) +NID(scePhotoImportDialogInit, 0x73EE7C9C) +NID(scePhotoImportDialogTerm, 0x7FE5BD77) +NID(scePhotoReviewDialogAbort, 0x74FF2A8B) +NID(scePhotoReviewDialogGetResult, 0xFFA35858) +NID(scePhotoReviewDialogGetStatus, 0xF4F600CA) +NID(scePhotoReviewDialogInit, 0xCD990375) +NID(scePhotoReviewDialogTerm, 0xC700B2DF) +NID(scePspSaveDataDialogContinue, 0x4A40C37F) +NID(scePspSaveDataDialogGetResult, 0x61C45E12) +NID(scePspSaveDataDialogInit, 0x4458B053) +NID(scePspSaveDataDialogTerm, 0xB8E37F7C) +NID(sceSaveDataDialogAbort, 0x013E7F74) +NID(sceSaveDataDialogContinue, 0x19192C8B) +NID(sceSaveDataDialogFinish, 0x6C49924B) +NID(sceSaveDataDialogGetResult, 0xB2FF576E) +NID(sceSaveDataDialogGetStatus, 0x6E258046) +NID(sceSaveDataDialogGetSubStatus, 0xBA0542CA) +NID(sceSaveDataDialogInit, 0xBF5248FA) +NID(sceSaveDataDialogProgressBarInc, 0xBDE00A83) +NID(sceSaveDataDialogProgressBarSetValue, 0x5C322D1E) +NID(sceSaveDataDialogSubClose, 0x415D6068) +NID(sceSaveDataDialogTerm, 0x2192A10A) +NID(sceStoreCheckoutDialogAbort, 0xD699D9B4) +NID(sceStoreCheckoutDialogGetResult, 0x07ED1E26) +NID(sceStoreCheckoutDialogGetStatus, 0x7004BB2E) +NID(sceStoreCheckoutDialogInit, 0x52ECD8A5) +NID(sceStoreCheckoutDialogTerm, 0xB787F4B0) +NID(sceTwDialogAbort, 0x9BEBB77B) +NID(sceTwDialogGetResult, 0x87F3F43E) +NID(sceTwDialogGetStatus, 0xD5A6B473) +NID(sceTwDialogInit, 0x93E51B04) +NID(sceTwDialogTerm, 0x2702905B) +NID(sceTwLoginDialogAbort, 0xB5ED4A32) +NID(sceTwLoginDialogGetResult, 0x5F7F4149) +NID(sceTwLoginDialogGetStatus, 0x8ACC1F0B) +NID(sceTwLoginDialogTerm, 0xD6387E24) +// Module "SceCoredump" +// Library "SceCoredump" +NID(sceCoredumpRegisterCoredumpHandler, 0x031DC61E) +NID(sceCoredumpUnregisterCoredumpHandler, 0x6037A2C3) +// Library "SceCoredumpNounlink" +NID(sceCoredumpWriteUserData, 0xDF335DCF) +// Module "SceCtrl" +// Library "SceCtrl" +NID(sceCtrlClearRapidFire, 0xD8294C9C) +NID(sceCtrlDisconnect, 0x16D26DC7) +NID(sceCtrlGetAnalogStickCheckMode, 0x35BCD3BB) +NID(sceCtrlGetAnalogStickCheckTarget, 0xD01DE63A) +NID(sceCtrlGetBatteryInfo, 0x8F9B1CE5) +NID(sceCtrlGetButtonIntercept, 0x6FAFAD05) +NID(sceCtrlGetControllerPortInfo, 0x324F1B66) +NID(sceCtrlGetProcessStatus, 0xA2A56685) +NID(sceCtrlGetSamplingMode, 0xEC752AAF) +NID(sceCtrlGetSamplingModeExt, 0xBD27F830) +NID(sceCtrlGetWirelessControllerInfo, 0xB8844141) +NID(sceCtrlIsMultiControllerSupported, 0x1FFFD965) +NID(sceCtrlPeekBufferNegative, 0x104ED1A7) +NID(sceCtrlPeekBufferNegative2, 0x81A89660) +NID(sceCtrlPeekBufferPositive, 0xA9C3CED6) +NID(sceCtrlPeekBufferPositive2, 0x15F81E8C) +NID(sceCtrlPeekBufferPositiveExt, 0xA59454D3) +NID(sceCtrlPeekBufferPositiveExt2, 0x860BF292) +NID(sceCtrlReadBufferNegative, 0x15F96FB0) +NID(sceCtrlReadBufferNegative2, 0x27A0C5FB) +NID(sceCtrlReadBufferPositive, 0x67E7AB83) +NID(sceCtrlReadBufferPositive2, 0xC4226A3E) +NID(sceCtrlReadBufferPositiveExt, 0xE2D99296) +NID(sceCtrlReadBufferPositiveExt2, 0xA7178860) +NID(sceCtrlRegisterBdRMCCallback, 0x0A06B7E4) +NID(sceCtrlResetLightBar, 0x7E110E90) +NID(sceCtrlSetActuator, 0xDBCAA0C9) +NID(sceCtrlSetAnalogStickCheckMode, 0xB2C98244) +NID(sceCtrlSetAnalogStickCheckTarget, 0xFB12A0A7) +NID(sceCtrlSetButtonIntercept, 0x433D71F4) +NID(sceCtrlSetButtonRemappingInfo, 0x8A187F98) +NID(sceCtrlSetLightBar, 0xDA11D433) +NID(sceCtrlSetRapidFire, 0xE9CB69C8) +NID(sceCtrlSetSamplingMode, 0xA497B150) +NID(sceCtrlSetSamplingModeExt, 0xB1DC4378) +NID(sceCtrlSingleControllerMode, 0x031BE396) +NID(sceCtrlUnregisterBdRMCCallback, 0x103EB2B0) +// Module "SceDTrace" +// Library "SceDTrace" +NID(sceDTraceAddHelperDof, 0xA47807D7) +NID(sceDTraceClientClose, 0xB8232491) +NID(sceDTraceClientIoctl, 0x63F0C4F5) +NID(sceDTraceClientOpen, 0x761062E9) +NID(sceDTraceHelperIoctl, 0x413C420E) +NID(sceDTraceRemoveHelperDof, 0xF2C9207A) +// Module "SceDeci4p" +// Library "SceDeci4pUserp" +NID(sceKernelDeci4pClose, 0x63B0C50F) +NID(sceKernelDeci4pCreateHostProcess, 0x4719A799) +NID(sceKernelDeci4pCreateHostProcessAndWait, 0x6A09F63A) +NID(sceKernelDeci4pDisableWatchpoint, 0x5A4CDF97) +NID(sceKernelDeci4pEnableWatchpoint, 0x3BC66BD8) +NID(sceKernelDeci4pIsProcessAttached, 0xC4E1D86D) +NID(sceKernelDeci4pOpen, 0x28578FE8) +NID(sceKernelDeci4pRead, 0x971E1C66) +NID(sceKernelDeci4pRegisterCallback, 0x73371F35) +NID(sceKernelDeci4pWrite, 0xCDA3AAAC) +// Module "SceDeflt" +// Library "SceDeflt" +NID(sceDeflateDecompress, 0x110D5050) +NID(sceDeflateDecompressPartial, 0x25B8C7A2) +NID(sceGzipCrc32, 0xF720A8F6) +NID(sceGzipDecompress, 0xE3CB51A3) +NID(sceGzipGetComment, 0xBABCF5CF) +NID(sceGzipGetCompressedData, 0xE1844802) +NID(sceGzipGetInfo, 0x1B8E5862) +NID(sceGzipGetName, 0xAEBAABE6) +NID(sceGzipIsValid, 0xDEDADC31) +NID(sceZipGetInfo, 0xDA404FE4) +NID(sceZlibAdler32, 0xCD83A464) +NID(sceZlibDecompress, 0xE38F754D) +NID(sceZlibGetCompressedData, 0xE680A65A) +NID(sceZlibGetInfo, 0x4C0A685D) +NID(sceZlibIsValid, 0x14A0698D) +// Module "SceDisplay" +// Library "SceDisplay" +NID(sceDisplayGetRefreshRate, 0xA08CA60D) +NID(sceDisplayGetVcount, 0xB6FDE0BA) +NID(sceDisplayRegisterVblankStartCallback, 0x6BDF4C4D) +NID(sceDisplayUnregisterVblankStartCallback, 0x98436A80) +NID(sceDisplayWaitSetFrameBuf, 0x9423560C) +NID(sceDisplayWaitSetFrameBufCB, 0x814C90AF) +NID(sceDisplayWaitSetFrameBufMulti, 0x7D9864A8) +NID(sceDisplayWaitSetFrameBufMultiCB, 0x3E796EF5) +NID(sceDisplayWaitVblankStart, 0x5795E898) +NID(sceDisplayWaitVblankStartCB, 0x78B41B92) +NID(sceDisplayWaitVblankStartMulti, 0xDD0A13B8) +NID(sceDisplayWaitVblankStartMultiCB, 0x05F27764) +// Library "SceDisplayUser" +NID(sceDisplayGetFrameBuf, 0x42AE6BBC) +NID(sceDisplaySetFrameBuf, 0x7A410B64) +// Module "SceFace" +// Library "SceFace" +NID(sceFaceAgeGetWorkingMemorySize, 0x73E9791D) +NID(sceFaceAgeRangeEstimate, 0x17F3DC79) +NID(sceFaceAgeRangeIntegrate, 0xB794C6CB) +NID(sceFaceAllParts, 0xE521EB6F) +NID(sceFaceAllPartsGetWorkingMemorySize, 0xCF07E1C4) +NID(sceFaceAttribute, 0x67F0585A) +NID(sceFaceAttributeGetWorkingMemorySize, 0xA905A467) +NID(sceFaceDetection, 0xF3045394) +NID(sceFaceDetectionEx, 0xD9603C69) +NID(sceFaceDetectionGetDefaultParam, 0xE5689BD1) +NID(sceFaceDetectionGetWorkingMemorySize, 0xF24B851D) +NID(sceFaceDetectionLocal, 0x7D71725D) +NID(sceFaceEstimatePoseRegion, 0xF7E4EC1F) +NID(sceFaceIdentifyGetFeature, 0xF852E35D) +NID(sceFaceIdentifyGetWorkingMemorySize, 0x4468B054) +NID(sceFaceIdentifySimilarity, 0x8F8E9FB1) +NID(sceFaceParts, 0x87550392) +NID(sceFacePartsEx, 0x70C9CF95) +NID(sceFacePartsGetWorkingMemorySize, 0x707B9A1D) +NID(sceFacePartsResultCheck, 0xCC98B939) +NID(sceFaceShapeFit, 0x64F45021) +NID(sceFaceShapeGetWorkingMemorySize, 0xC0812127) +NID(sceFaceShapeTrack, 0x37704DE9) +// Module "SceFiber" +// Library "SceFiber" +NID(_sceFiberAttachContextAndRun, 0x7D0C7DDB) +NID(_sceFiberAttachContextAndSwitch, 0xE00B9AFE) +NID(_sceFiberInitializeImpl, 0xF24A298C) +NID(_sceFiberInitializeWithInternalOptionImpl, 0xC6A3F9BB) +NID(sceFiberFinalize, 0xE160F844) +NID(sceFiberGetInfo, 0x189599B4) +NID(sceFiberGetSelf, 0x414D8CA5) +NID(sceFiberOptParamInitialize, 0x801AB334) +NID(sceFiberPopUserMarkerWithHud, 0x4EC01F9C) +NID(sceFiberPushUserMarkerWithHud, 0x9C414B09) +NID(sceFiberRenameSelf, 0xDD50DF3D) +NID(sceFiberReturnToThread, 0x3B42921F) +NID(sceFiberRun, 0x7DF23243) +NID(sceFiberStartContextSizeCheck, 0xCD543A71) +NID(sceFiberStopContextSizeCheck, 0x67F70867) +NID(sceFiberSwitch, 0xE4283144) +// Module "SceFios2" +// Library "SceFios2" +NID(sceFiosArchiveGetDecompressorThreadCount, 0x716BB121) +NID(sceFiosArchiveGetMountBufferSize, 0x15857180) +NID(sceFiosArchiveGetMountBufferSizeSync, 0xDF3352FC) +NID(sceFiosArchiveMount, 0x92E76BBD) +NID(sceFiosArchiveMountSync, 0xC4822276) +NID(sceFiosArchiveSetDecompressorThreadCount, 0xCD0E86D0) +NID(sceFiosArchiveUnmount, 0xFE1E1D28) +NID(sceFiosArchiveUnmountSync, 0xB26DC24D) +NID(sceFiosCancelAllOps, 0x1E920B1D) +NID(sceFiosChangeStat, 0xD2CD9AF2) +NID(sceFiosChangeStatSync, 0xC781D7B4) +NID(sceFiosCloseAllFiles, 0xF85C208B) +NID(sceFiosDHClose, 0xF6CACFC7) +NID(sceFiosDHCloseSync, 0x1F3CC428) +NID(sceFiosDHGetPath, 0x2B406DEB) +NID(sceFiosDHOpen, 0xEA9855BA) +NID(sceFiosDHOpenSync, 0x34BC3713) +NID(sceFiosDHRead, 0x72A0A851) +NID(sceFiosDHReadSync, 0xB7E79CAD) +NID(sceFiosDateFromComponents, 0x280D284A) +NID(sceFiosDateFromSceDateTime, 0x6EC156DA) +NID(sceFiosDateGetCurrent, 0x5C593C1E) +NID(sceFiosDateToComponents, 0x5CFF6EA0) +NID(sceFiosDateToSceDateTime, 0x94FDFFEE) +NID(sceFiosDebugDumpDH, 0x44B9F8EB) +NID(sceFiosDebugDumpDate, 0x159B1FA8) +NID(sceFiosDebugDumpError, 0x51E677DF) +NID(sceFiosDebugDumpFH, 0x5506ACAB) +NID(sceFiosDebugDumpOp, 0xE438D4F0) +NID(sceFiosDelete, 0x764DFA7A) +NID(sceFiosDeleteSync, 0xAAC54B44) +NID(sceFiosDevctl, 0x26D03E20) +NID(sceFiosDevctlSync, 0xC40600DD) +NID(sceFiosDirectoryCreate, 0x9198ED8B) +NID(sceFiosDirectoryCreateSync, 0xE037B076) +NID(sceFiosDirectoryCreateWithMode, 0xDDD6BF6B) +NID(sceFiosDirectoryCreateWithModeSync, 0xA2C610E6) +NID(sceFiosDirectoryDelete, 0xDA93677C) +NID(sceFiosDirectoryDeleteSync, 0xB9573146) +NID(sceFiosDirectoryExists, 0x48D50D97) +NID(sceFiosDirectoryExistsSync, 0x726E01BE) +NID(sceFiosExists, 0x6F12D8A5) +NID(sceFiosExistsSync, 0x125EFD34) +NID(sceFiosFHClose, 0xA88EDCA8) +NID(sceFiosFHCloseSync, 0x45182328) +NID(sceFiosFHGetOpenParams, 0xC55DB73B) +NID(sceFiosFHGetPath, 0x37143AE3) +NID(sceFiosFHGetSize, 0xC5C26581) +NID(sceFiosFHIoctl, 0xB66A3DC8) +NID(sceFiosFHIoctlSync, 0x8B6CAB52) +NID(sceFiosFHOpen, 0xBF699BD4) +NID(sceFiosFHOpenSync, 0xC3E7C3DB) +NID(sceFiosFHOpenWithMode, 0x13EFE5F0) +NID(sceFiosFHOpenWithModeSync, 0xEE681E1D) +NID(sceFiosFHPread, 0x6A51E688) +NID(sceFiosFHPreadSync, 0xE2805059) +NID(sceFiosFHPreadv, 0x7C4E0C42) +NID(sceFiosFHPreadvSync, 0x4D42F95C) +NID(sceFiosFHPwrite, 0xCF1FAA6F) +NID(sceFiosFHPwriteSync, 0x1E962F57) +NID(sceFiosFHPwritev, 0xBBC9AFD5) +NID(sceFiosFHPwritevSync, 0x742ADDC4) +NID(sceFiosFHRead, 0xB09AFBDF) +NID(sceFiosFHReadSync, 0x76945919) +NID(sceFiosFHReadv, 0x7DB0AFAF) +NID(sceFiosFHReadvSync, 0x1BC977FA) +NID(sceFiosFHSeek, 0xA75F3C4A) +NID(sceFiosFHStat, 0xD97C4DF7) +NID(sceFiosFHStatSync, 0xF8BEAC88) +NID(sceFiosFHSync, 0xE485F35E) +NID(sceFiosFHSyncSync, 0xA909CCE3) +NID(sceFiosFHTell, 0xD7F33130) +NID(sceFiosFHTruncate, 0x2B39453B) +NID(sceFiosFHTruncateSync, 0xFEF940B7) +NID(sceFiosFHWrite, 0xE663138E) +NID(sceFiosFHWriteSync, 0x984024E5) +NID(sceFiosFHWritev, 0x988DD7FF) +NID(sceFiosFHWritevSync, 0x267E6CE3) +NID(sceFiosFileDelete, 0xB647278B) +NID(sceFiosFileDeleteSync, 0xB5302E30) +NID(sceFiosFileExists, 0x8758E62F) +NID(sceFiosFileExistsSync, 0x233B070C) +NID(sceFiosFileGetSize, 0x79D9BB50) +NID(sceFiosFileGetSizeSync, 0x789215C3) +NID(sceFiosFileRead, 0x84080161) +NID(sceFiosFileReadSync, 0x1C488B32) +NID(sceFiosFileTruncate, 0xC5513E13) +NID(sceFiosFileTruncateSync, 0x6E1252B8) +NID(sceFiosFileWrite, 0x42C278E5) +NID(sceFiosFileWriteSync, 0x132B6DE6) +NID(sceFiosGetAllDHs, 0x681184A2) +NID(sceFiosGetAllFHs, 0x90AB9195) +NID(sceFiosGetAllOps, 0x8F62832C) +NID(sceFiosGetDefaultOpAttr, 0xC897F6A7) +NID(sceFiosGetGlobalDefaultOpAttr, 0x30583FCB) +NID(sceFiosGetSuspendCount, 0x156EAFDC) +NID(sceFiosIOFilterAdd, 0xD55B8555) +NID(sceFiosIOFilterCache, 0x428E927D) +NID(sceFiosIOFilterGetInfo, 0x7C9B14EB) +NID(sceFiosIOFilterPsarcDearchiver, 0x057252F2) +NID(sceFiosIOFilterRemove, 0x22E35018) +NID(sceFiosInitialize, 0x774C2C05) +NID(sceFiosIsIdle, 0x29104BF3) +NID(sceFiosIsInitialized, 0xF4F54E09) +NID(sceFiosIsSuspended, 0xD2466EA5) +NID(sceFiosIsValidHandle, 0xB309E327) +NID(sceFiosOpCancel, 0x3904F205) +NID(sceFiosOpDelete, 0xE4EA92FA) +NID(sceFiosOpGetActualCount, 0x218A43EE) +NID(sceFiosOpGetAttr, 0xABFEE706) +NID(sceFiosOpGetBuffer, 0x68C436E4) +NID(sceFiosOpGetError, 0xBF099E16) +NID(sceFiosOpGetOffset, 0xF21213B9) +NID(sceFiosOpGetPath, 0x157515CB) +NID(sceFiosOpGetRequestCount, 0x9C1084C5) +NID(sceFiosOpIsCancelled, 0x0C81D80E) +NID(sceFiosOpIsDone, 0x1B9A575E) +NID(sceFiosOpReschedule, 0x968CADBD) +NID(sceFiosOpSyncWait, 0xE6A66C70) +NID(sceFiosOpSyncWaitForIO, 0x202079F9) +NID(sceFiosOpWait, 0x2AC79DFC) +NID(sceFiosOpWaitUntil, 0xCC823B47) +NID(sceFiosOverlayAdd, 0x27AE468B) +NID(sceFiosOverlayGetInfo, 0xF4C6B72A) +NID(sceFiosOverlayGetList, 0x1C0BCAD5) +NID(sceFiosOverlayModify, 0x30F56704) +NID(sceFiosOverlayRemove, 0xF3C84D0F) +NID(sceFiosOverlayResolveSync, 0x8A243E74) +NID(sceFiosPathNormalize, 0x8179CCFA) +NID(sceFiosPathcmp, 0x5E75937A) +NID(sceFiosPathncmp, 0xCC21C849) +NID(sceFiosPrintf, 0xAF7FAADF) +NID(sceFiosRename, 0x25E399E5) +NID(sceFiosRenameSync, 0x030306F4) +NID(sceFiosResolve, 0xD0B19C9F) +NID(sceFiosResolveSync, 0x7FF33797) +NID(sceFiosResume, 0xBF2D3CC1) +NID(sceFiosSetGlobalDefaultOpAttr, 0x4E2FD311) +NID(sceFiosShutdownAndCancelOps, 0x5B8D48C4) +NID(sceFiosStat, 0xFF04AF72) +NID(sceFiosStatSync, 0xACBAF3E0) +NID(sceFiosSuspend, 0x510953DC) +NID(sceFiosSync, 0x0DF32816) +NID(sceFiosSyncSync, 0x06D97629) +NID(sceFiosTerminate, 0x2904B539) +NID(sceFiosTimeGetCurrent, 0xE76C8EC3) +NID(sceFiosTimeIntervalFromNanoseconds, 0x35A82737) +NID(sceFiosTimeIntervalToNanoseconds, 0x397BF626) +NID(sceFiosUpdateParameters, 0x1915052A) +NID(sceFiosVprintf, 0x5BA4BD6D) +// Module "SceGpuEs4" +// Library "SceGpuEs4ForUser" +NID(PVRSRVOpen, 0x5E943288) +NID(PVRSRVRelease, 0x85C328DF) +NID(PVRSRV_BridgeDispatchKM, 0xCA19ABCD) +NID(sceGpuRegisterSalvage, 0x8E0D9D40) +NID(sceGpuSignalWait, 0x05BCE11C) +NID(sceGpuSignalWaitLockup, 0xE0DECA6E) +NID(sceGpuUnregisterSalvage, 0x807202B7) +// Module "SceGxm" +// Library "SceGxm" +NID(sceGxmAddRazorGpuCaptureBuffer, 0xE9E81073) +NID(sceGxmBeginCommandList, 0x944D3F83) +NID(sceGxmBeginScene, 0x8734FF4E) +NID(sceGxmBeginSceneEx, 0x4709CF5A) +NID(sceGxmColorSurfaceGetClip, 0x07DFEE4B) +NID(sceGxmColorSurfaceGetData, 0x2DB6026C) +NID(sceGxmColorSurfaceGetDitherMode, 0x200A96E1) +NID(sceGxmColorSurfaceGetFormat, 0xF3C1C6C6) +NID(sceGxmColorSurfaceGetGammaMode, 0xEE0B4DF0) +NID(sceGxmColorSurfaceGetScaleMode, 0x6E3FA74D) +NID(sceGxmColorSurfaceGetStrideInPixels, 0xF33D9980) +NID(sceGxmColorSurfaceGetType, 0x52FDE962) +NID(sceGxmColorSurfaceInit, 0xED0F6E25) +NID(sceGxmColorSurfaceInitDisabled, 0x613639FA) +NID(sceGxmColorSurfaceIsEnabled, 0x0E0EBB57) +NID(sceGxmColorSurfaceSetClip, 0x86456F7B) +NID(sceGxmColorSurfaceSetData, 0x537CA400) +NID(sceGxmColorSurfaceSetDitherMode, 0x45027BAB) +NID(sceGxmColorSurfaceSetFormat, 0x5F9A3A16) +NID(sceGxmColorSurfaceSetGammaMode, 0xF5C89643) +NID(sceGxmColorSurfaceSetScaleMode, 0x6B96EDF7) +NID(sceGxmCreateContext, 0xE84CE5B4) +NID(sceGxmCreateDeferredContext, 0x249D5B00) +NID(sceGxmCreateRenderTarget, 0x207AF96B) +NID(sceGxmDepthStencilSurfaceGetBackgroundDepth, 0x269B56BE) +NID(sceGxmDepthStencilSurfaceGetBackgroundMask, 0x85D4DEFE) +NID(sceGxmDepthStencilSurfaceGetBackgroundStencil, 0xAAFC062B) +NID(sceGxmDepthStencilSurfaceGetForceLoadMode, 0x2F5CC20C) +NID(sceGxmDepthStencilSurfaceGetForceStoreMode, 0x544AA05A) +NID(sceGxmDepthStencilSurfaceGetFormat, 0x8504038D) +NID(sceGxmDepthStencilSurfaceGetStrideInSamples, 0x11628789) +NID(sceGxmDepthStencilSurfaceInit, 0xCA9D41D1) +NID(sceGxmDepthStencilSurfaceInitDisabled, 0xA41DB0D6) +NID(sceGxmDepthStencilSurfaceIsEnabled, 0x082200E1) +NID(sceGxmDepthStencilSurfaceSetBackgroundDepth, 0x32F280F0) +NID(sceGxmDepthStencilSurfaceSetBackgroundMask, 0xF28A688A) +NID(sceGxmDepthStencilSurfaceSetBackgroundStencil, 0xF5D3F3E8) +NID(sceGxmDepthStencilSurfaceSetForceLoadMode, 0x0C44ACD7) +NID(sceGxmDepthStencilSurfaceSetForceStoreMode, 0x12AAA7AF) +NID(sceGxmDestroyContext, 0xEDDC5FB2) +NID(sceGxmDestroyDeferredContext, 0xD6A2FF2F) +NID(sceGxmDestroyRenderTarget, 0x0B94C50A) +NID(sceGxmDisplayQueueAddEntry, 0xEC5C26B5) +NID(sceGxmDisplayQueueFinish, 0xB98C5B0D) +NID(sceGxmDraw, 0xBC059AFC) +NID(sceGxmDrawInstanced, 0x14C4E7D3) +NID(sceGxmDrawPrecomputed, 0xED3F78B8) +NID(sceGxmEndCommandList, 0x36D85916) +NID(sceGxmEndScene, 0xFE300E2F) +NID(sceGxmExecuteCommandList, 0xE8E139DD) +NID(sceGxmFinish, 0x0733D8AE) +NID(sceGxmFragmentProgramGetPassType, 0xCE0B0A76) +NID(sceGxmFragmentProgramGetProgram, 0xE0E3B3F8) +NID(sceGxmFragmentProgramIsEnabled, 0x5748367E) +NID(sceGxmGetContextType, 0x2A1BCDDB) +NID(sceGxmGetDeferredContextFragmentBuffer, 0xFA081D05) +NID(sceGxmGetDeferredContextVdmBuffer, 0xAD8C2EBA) +NID(sceGxmGetDeferredContextVertexBuffer, 0x87632B9C) +NID(sceGxmGetNotificationRegion, 0x8BDE825A) +NID(sceGxmGetParameterBufferThreshold, 0x6ABF3F76) +NID(sceGxmGetPrecomputedDrawSize, 0x41BBD792) +NID(sceGxmGetPrecomputedFragmentStateSize, 0x85DE8506) +NID(sceGxmGetPrecomputedVertexStateSize, 0x9D83CA3B) +NID(sceGxmGetRenderTargetMemSizes, 0xB291C959) +NID(sceGxmInitialize, 0xB0F1E4EC) +NID(sceGxmIsDebugVersion, 0x873B07C0) +NID(sceGxmMapFragmentUsseMemory, 0x008402C6) +NID(sceGxmMapMemory, 0xC61E34FC) +NID(sceGxmMapVertexUsseMemory, 0xFA437510) +NID(sceGxmMidSceneFlush, 0x2B5C0444) +NID(sceGxmNotificationWait, 0x9F448E79) +NID(sceGxmPadHeartbeat, 0x3D25FCE9) +NID(sceGxmPopUserMarker, 0x4FA073A6) +NID(sceGxmPrecomputedDrawInit, 0xA197F096) +NID(sceGxmPrecomputedDrawSetAllVertexStreams, 0xB6C6F571) +NID(sceGxmPrecomputedDrawSetParams, 0x884D0D08) +NID(sceGxmPrecomputedDrawSetParamsInstanced, 0x3A7B1633) +NID(sceGxmPrecomputedDrawSetVertexStream, 0x6C936214) +NID(sceGxmPrecomputedFragmentStateGetDefaultUniformBuffer, 0xCECB584A) +NID(sceGxmPrecomputedFragmentStateInit, 0xE297D7AF) +NID(sceGxmPrecomputedFragmentStateSetAllTextures, 0xC383DE39) +NID(sceGxmPrecomputedFragmentStateSetAllUniformBuffers, 0x5A783DC3) +NID(sceGxmPrecomputedFragmentStateSetDefaultUniformBuffer, 0x91236858) +NID(sceGxmPrecomputedFragmentStateSetTexture, 0x29118BF1) +NID(sceGxmPrecomputedFragmentStateSetUniformBuffer, 0xB452F1FB) +NID(sceGxmPrecomputedVertexStateGetDefaultUniformBuffer, 0xBE5A68EF) +NID(sceGxmPrecomputedVertexStateInit, 0xBE937F8D) +NID(sceGxmPrecomputedVertexStateSetAllTextures, 0xC40C9127) +NID(sceGxmPrecomputedVertexStateSetAllUniformBuffers, 0x0389861D) +NID(sceGxmPrecomputedVertexStateSetDefaultUniformBuffer, 0x34BF64E3) +NID(sceGxmPrecomputedVertexStateSetTexture, 0x6A29EB06) +NID(sceGxmPrecomputedVertexStateSetUniformBuffer, 0xDBF97ED6) +NID(sceGxmProgramCheck, 0xED8B6C69) +NID(sceGxmProgramFindParameterByName, 0x277794C4) +NID(sceGxmProgramFindParameterBySemantic, 0x633CAA54) +NID(sceGxmProgramGetDefaultUniformBufferSize, 0x8FA3F9C3) +NID(sceGxmProgramGetFragmentProgramInputs, 0xC6924709) +NID(sceGxmProgramGetOutputRegisterFormat, 0xE11603B1) +NID(sceGxmProgramGetParameter, 0x06FF9151) +NID(sceGxmProgramGetParameterCount, 0xD5D5FCCD) +NID(sceGxmProgramGetSize, 0xBF5E2090) +NID(sceGxmProgramGetType, 0x04BB3C59) +NID(sceGxmProgramGetVertexProgramOutputs, 0xFB01C7E5) +NID(sceGxmProgramIsDepthReplaceUsed, 0x89613EF2) +NID(sceGxmProgramIsDiscardUsed, 0x029B4F1C) +NID(sceGxmProgramIsEquivalent, 0xE23C838C) +NID(sceGxmProgramIsFragColorUsed, 0x104F23F4) +NID(sceGxmProgramIsNativeColorUsed, 0xA4297E57) +NID(sceGxmProgramIsSpriteCoordUsed, 0xE63C53D8) +NID(sceGxmProgramParameterGetArraySize, 0xDBA8D061) +NID(sceGxmProgramParameterGetCategory, 0x1997DC17) +NID(sceGxmProgramParameterGetComponentCount, 0xBD2998D1) +NID(sceGxmProgramParameterGetContainerIndex, 0xBB58267D) +NID(sceGxmProgramParameterGetIndex, 0x6E61DDF5) +NID(sceGxmProgramParameterGetName, 0x6AF88A5D) +NID(sceGxmProgramParameterGetResourceIndex, 0x5C79D59A) +NID(sceGxmProgramParameterGetSemantic, 0xE6D9C4CE) +NID(sceGxmProgramParameterGetSemanticIndex, 0xB85CC13E) +NID(sceGxmProgramParameterGetType, 0x7B9023C3) +NID(sceGxmProgramParameterIsRegFormat, 0x871E5009) +NID(sceGxmProgramParameterIsSamplerCube, 0xF7AA978B) +NID(sceGxmPushUserMarker, 0x3276C475) +NID(sceGxmRemoveRazorGpuCaptureBuffer, 0x0468E3F2) +NID(sceGxmRenderTargetGetDriverMemBlock, 0x49553737) +NID(sceGxmReserveFragmentDefaultUniformBuffer, 0x7B1FABB6) +NID(sceGxmReserveVertexDefaultUniformBuffer, 0x97118913) +NID(sceGxmSetBackDepthBias, 0x17B3BF86) +NID(sceGxmSetBackDepthFunc, 0xB042A4D2) +NID(sceGxmSetBackDepthWriteEnable, 0xC18B706B) +NID(sceGxmSetBackFragmentProgramEnable, 0xE26B4834) +NID(sceGxmSetBackLineFillLastPixelEnable, 0xC88EB702) +NID(sceGxmSetBackPointLineWidth, 0x8DCB0EDB) +NID(sceGxmSetBackPolygonMode, 0xF66EC6FE) +NID(sceGxmSetBackStencilFunc, 0x1A68C8D2) +NID(sceGxmSetBackStencilRef, 0x866A0517) +NID(sceGxmSetBackVisibilityTestEnable, 0x17CF46B9) +NID(sceGxmSetBackVisibilityTestIndex, 0xAE7886FE) +NID(sceGxmSetBackVisibilityTestOp, 0xC83F0AB3) +NID(sceGxmSetCullMode, 0xE1CA72AE) +NID(sceGxmSetDefaultRegionClipAndViewport, 0x60CF708E) +NID(sceGxmSetDeferredContextFragmentBuffer, 0xC6B3FCD0) +NID(sceGxmSetDeferredContextVdmBuffer, 0x0B9D13CE) +NID(sceGxmSetDeferredContextVertexBuffer, 0x27CAD127) +NID(sceGxmSetFragmentDefaultUniformBuffer, 0xA824EB24) +NID(sceGxmSetFragmentProgram, 0xAD2F48D9) +NID(sceGxmSetFragmentTexture, 0x29C34DF5) +NID(sceGxmSetFragmentUniformBuffer, 0xEA0FC310) +NID(sceGxmSetFrontDepthBias, 0xAAA97F81) +NID(sceGxmSetFrontDepthFunc, 0x14BD831F) +NID(sceGxmSetFrontDepthWriteEnable, 0xF32CBF34) +NID(sceGxmSetFrontFragmentProgramEnable, 0x575958A8) +NID(sceGxmSetFrontLineFillLastPixelEnable, 0x5765DE9F) +NID(sceGxmSetFrontPointLineWidth, 0x06752183) +NID(sceGxmSetFrontPolygonMode, 0xFD93209D) +NID(sceGxmSetFrontStencilFunc, 0xB8645A9A) +NID(sceGxmSetFrontStencilRef, 0x8FA6FE44) +NID(sceGxmSetFrontVisibilityTestEnable, 0x30459117) +NID(sceGxmSetFrontVisibilityTestIndex, 0x12625C34) +NID(sceGxmSetFrontVisibilityTestOp, 0xD0E3CD9A) +NID(sceGxmSetPrecomputedFragmentState, 0xF8952750) +NID(sceGxmSetPrecomputedVertexState, 0xB7626A93) +NID(sceGxmSetRegionClip, 0x70C86868) +NID(sceGxmSetTwoSidedEnable, 0x0DE9AEB7) +NID(sceGxmSetUniformDataF, 0x65DD0C84) +NID(sceGxmSetUserMarker, 0xC7A8CB77) +NID(sceGxmSetVertexDefaultUniformBuffer, 0xC697CAE5) +NID(sceGxmSetVertexProgram, 0x31FF8ABD) +NID(sceGxmSetVertexStream, 0x895DF2E9) +NID(sceGxmSetVertexTexture, 0x9EB4380F) +NID(sceGxmSetVertexUniformBuffer, 0xC68015E4) +NID(sceGxmSetViewport, 0x3EB3380B) +NID(sceGxmSetViewportEnable, 0x814F61EB) +NID(sceGxmSetVisibilityBuffer, 0x7767EC49) +NID(sceGxmSetWBufferEnable, 0xEED86975) +NID(sceGxmSetWClampEnable, 0x1BF8B853) +NID(sceGxmSetWClampValue, 0xD096336E) +NID(sceGxmSetWarningEnabled, 0x12D18B3D) +NID(sceGxmSetYuvProfile, 0xB32917F0) +NID(sceGxmShaderPatcherAddRefFragmentProgram, 0x4CD2D19F) +NID(sceGxmShaderPatcherAddRefVertexProgram, 0x0FD1E589) +NID(sceGxmShaderPatcherCreate, 0x05032658) +NID(sceGxmShaderPatcherCreateFragmentProgram, 0x4ED2E49D) +NID(sceGxmShaderPatcherCreateMaskUpdateFragmentProgram, 0xA4433427) +NID(sceGxmShaderPatcherCreateVertexProgram, 0xB7BBA6D5) +NID(sceGxmShaderPatcherDestroy, 0xEAA5B100) +NID(sceGxmShaderPatcherForceUnregisterProgram, 0x630D4B2E) +NID(sceGxmShaderPatcherGetBufferMemAllocated, 0xC694D039) +NID(sceGxmShaderPatcherGetFragmentProgramRefCount, 0x2C5550F0) +NID(sceGxmShaderPatcherGetFragmentUsseMemAllocated, 0x3C9DDB4A) +NID(sceGxmShaderPatcherGetHostMemAllocated, 0x9DBBC71C) +NID(sceGxmShaderPatcherGetProgramFromId, 0xA949A803) +NID(sceGxmShaderPatcherGetUserData, 0x96A7E6DD) +NID(sceGxmShaderPatcherGetVertexProgramRefCount, 0xA1A16FF6) +NID(sceGxmShaderPatcherGetVertexUsseMemAllocated, 0x7D2F83C1) +NID(sceGxmShaderPatcherRegisterProgram, 0x2B528462) +NID(sceGxmShaderPatcherReleaseFragmentProgram, 0xBE2743D1) +NID(sceGxmShaderPatcherReleaseVertexProgram, 0xAC1FF2DA) +NID(sceGxmShaderPatcherSetUserData, 0xF9B8FCFD) +NID(sceGxmShaderPatcherUnregisterProgram, 0xF103AF8A) +NID(sceGxmSyncObjectCreate, 0x6A6013E1) +NID(sceGxmSyncObjectDestroy, 0x889AE88C) +NID(sceGxmTerminate, 0xB627DE66) +NID(sceGxmTextureGetData, 0x5341BD46) +NID(sceGxmTextureGetFormat, 0xE868D2B3) +NID(sceGxmTextureGetGammaMode, 0xF23FCE81) +NID(sceGxmTextureGetHeight, 0x5420A086) +NID(sceGxmTextureGetLodBias, 0x2DE55DA5) +NID(sceGxmTextureGetLodMin, 0xBE524A2C) +NID(sceGxmTextureGetMagFilter, 0xAE7FBB51) +NID(sceGxmTextureGetMinFilter, 0x920666C6) +NID(sceGxmTextureGetMipFilter, 0xCE94CA15) +NID(sceGxmTextureGetMipmapCount, 0xF7B7B1E4) +NID(sceGxmTextureGetNormalizeMode, 0x512BB86C) +NID(sceGxmTextureGetPalette, 0x0D189C30) +NID(sceGxmTextureGetStride, 0xB0BD52F3) +NID(sceGxmTextureGetType, 0xF65D4917) +NID(sceGxmTextureGetUAddrMode, 0x2AE22788) +NID(sceGxmTextureGetVAddrMode, 0x46136CA9) +NID(sceGxmTextureGetWidth, 0x126A3EB3) +NID(sceGxmTextureInitCube, 0x11DC8DC9) +NID(sceGxmTextureInitCubeArbitrary, 0xE3DF5E3B) +NID(sceGxmTextureInitLinear, 0x4811AECB) +NID(sceGxmTextureInitLinearStrided, 0x6679BEF0) +NID(sceGxmTextureInitSwizzled, 0xD572D547) +NID(sceGxmTextureInitSwizzledArbitrary, 0x5DBFBA2C) +NID(sceGxmTextureInitTiled, 0xE6F0DB27) +NID(sceGxmTextureSetData, 0x855814C4) +NID(sceGxmTextureSetFormat, 0xFC943596) +NID(sceGxmTextureSetGammaMode, 0xA6D9F4DA) +NID(sceGxmTextureSetHeight, 0xAEE7FDD1) +NID(sceGxmTextureSetLodBias, 0xB65EE6F7) +NID(sceGxmTextureSetLodMin, 0xB79E43DD) +NID(sceGxmTextureSetMagFilter, 0xFA695FD7) +NID(sceGxmTextureSetMinFilter, 0x416764E3) +NID(sceGxmTextureSetMipFilter, 0x1CA9FE0B) +NID(sceGxmTextureSetMipmapCount, 0xD2DC4643) +NID(sceGxmTextureSetNormalizeMode, 0xCE8DDAD0) +NID(sceGxmTextureSetPalette, 0xDD6AABFA) +NID(sceGxmTextureSetStride, 0x58D0EB0A) +NID(sceGxmTextureSetUAddrMode, 0x4281763E) +NID(sceGxmTextureSetVAddrMode, 0x126CDAA3) +NID(sceGxmTextureSetWidth, 0x2EA178BE) +NID(sceGxmTextureValidate, 0x5331BED3) +NID(sceGxmTransferCopy, 0x62312BF8) +NID(sceGxmTransferDownscale, 0xD10F7EAD) +NID(sceGxmTransferFill, 0x69DDFF5E) +NID(sceGxmTransferFinish, 0x45229C39) +NID(sceGxmUnmapFragmentUsseMemory, 0x80CCEDBB) +NID(sceGxmUnmapMemory, 0x828C68E8) +NID(sceGxmUnmapVertexUsseMemory, 0x099134F5) +NID(sceGxmVertexFence, 0xE05277D6) +NID(sceGxmVertexProgramGetProgram, 0xBC52320E) +NID(sceGxmWaitEvent, 0x8BD94593) +// Module "SceHandwriting" +// Library "SceHandwriting" +NID(sceHandwritingGetBufferSize, 0x4C3A8D49) +NID(sceHandwritingInit, 0x446F171E) +NID(sceHandwritingRecognize, 0x12E4F99A) +NID(sceHandwritingRegisterDelete, 0x6BA4A521) +NID(sceHandwritingRegisterGetResult, 0xB886450E) +NID(sceHandwritingRegisterInfo, 0x69324689) +NID(sceHandwritingRegisterInit, 0x76395D93) +NID(sceHandwritingRegisterSet, 0x79CA5D3F) +NID(sceHandwritingRegisterTerm, 0x6ABBD675) +NID(sceHandwritingSetMode, 0x09AF9BF8) +NID(sceHandwritingTerm, 0x356B2931) +// Module "SceHeap" +// Library "SceHeap" +NID(sceHeapAllocHeapMemory, 0xB6FC0BA1) +NID(sceHeapAllocHeapMemoryWithOption, 0xD4C09869) +NID(sceHeapCreateHeap, 0xA7571AD8) +NID(sceHeapDeleteHeap, 0xA130D00C) +NID(sceHeapFreeHeapMemory, 0xD09FFC11) +NID(sceHeapGetMallinfo, 0xAD2645B0) +NID(sceHeapGetTotalFreeSize, 0x76C5B003) +NID(sceHeapIsAllocatedHeapMemory, 0xAA50462F) +NID(sceHeapReallocHeapMemory, 0x9E6716BA) +NID(sceHeapReallocHeapMemoryWithOption, 0x00BE8FC3) +// Module "SceHid" +// Library "SceHid" +NID(sceHidKeyboardEnumerate, 0x34BDFACE) +NID(sceHidKeyboardRead, 0x224A8AD8) +NID(sceHidMouseEnumerate, 0x2A0D2F54) +NID(sceHidMouseRead, 0xBDECBDC0) +// Module "SceHmac" +// Library "SceHmac" +NID(sceHmacMd5BlockInit, 0xD6E232CD) +NID(sceHmacMd5BlockResult, 0x9BCCC484) +NID(sceHmacMd5BlockUpdate, 0x9FD439E9) +NID(sceHmacMd5Digest, 0x6EEB05D3) +NID(sceHmacSha0BlockInit, 0xD44F6B32) +NID(sceHmacSha0BlockResult, 0x05AE1466) +NID(sceHmacSha0BlockUpdate, 0x9CB7F0EF) +NID(sceHmacSha0Digest, 0xCCB91784) +NID(sceHmacSha1BlockInit, 0xA2285A9A) +NID(sceHmacSha1BlockResult, 0xD0AF51C6) +NID(sceHmacSha1BlockUpdate, 0x6EF06490) +NID(sceHmacSha1Digest, 0x55871D87) +NID(sceHmacSha224BlockInit, 0x393FF6BC) +NID(sceHmacSha224BlockResult, 0x2AB46BB5) +NID(sceHmacSha224BlockUpdate, 0xB77629EB) +NID(sceHmacSha224Digest, 0x359ED31E) +NID(sceHmacSha256BlockInit, 0x96AD3A67) +NID(sceHmacSha256BlockResult, 0x5A52150F) +NID(sceHmacSha256BlockUpdate, 0x0C9FA657) +NID(sceHmacSha256Digest, 0xE254D9A1) +NID(sceHmacSha384BlockInit, 0xB786F59F) +NID(sceHmacSha384BlockResult, 0xBA308CDA) +NID(sceHmacSha384BlockUpdate, 0xC16D8AB6) +NID(sceHmacSha384Digest, 0x9C3B4844) +NID(sceHmacSha512BlockInit, 0x272FEFFE) +NID(sceHmacSha512BlockResult, 0x64219FF5) +NID(sceHmacSha512BlockUpdate, 0xECA83992) +NID(sceHmacSha512Digest, 0x8FDFCE5B) +// Module "SceIme" +// Library "SceIme" +NID(sceImeClose, 0x889A8421) +NID(sceImeOpen, 0x0E050613) +NID(sceImeSetCaret, 0xD8342D2A) +NID(sceImeSetPreeditGeometry, 0x7B1EFAA5) +NID(sceImeSetText, 0xF3BD9A76) +NID(sceImeUpdate, 0x71D6898A) +// Module "SceIofilemgr" +// Library "SceIofilemgr" +NID(sceIoCancel, 0xCEF48835) +NID(sceIoClose, 0xC70B8886) +NID(sceIoCloseAsync, 0x8EA3616A) +NID(sceIoComplete, 0xD1C49D2F) +NID(sceIoDclose, 0x422A221A) +NID(sceIoFlockForSystem, 0x3E98E422) +NID(sceIoGetPriority, 0xF2A472A1) +NID(sceIoGetProcessDefaultPriority, 0x0DC4F1BB) +NID(sceIoGetThreadDefaultPriority, 0xA176CD03) +NID(sceIoLseek32, 0x49252B9B) +NID(sceIoRead, 0xFDB32293) +NID(sceIoReadAsync, 0x773EBD45) +NID(sceIoSetPriority, 0x14B2D56C) +NID(sceIoSetPriorityForSystem, 0x27373135) +NID(sceIoSetProcessDefaultPriority, 0x7F2ABBAF) +NID(sceIoSetThreadDefaultPriority, 0x49312108) +NID(sceIoSetThreadDefaultPriorityForSystem, 0xB9C9C9CF) +NID(sceIoSyncByFd, 0x16512F59) +NID(sceIoSyncByFdAsync, 0x7E1367CB) +NID(sceIoWrite, 0x34EFD876) +NID(sceIoWriteAsync, 0xE0D63D2A) +// Module "SceJpeg" +// Library "SceJpegUser" +NID(sceJpegCreateSplitDecoder, 0x123B4734) +NID(sceJpegCsc, 0x6263AEC2) +NID(sceJpegDecodeMJpeg, 0x6215B095) +NID(sceJpegDecodeMJpegYCbCr, 0x2A769BD8) +NID(sceJpegDeleteSplitDecoder, 0xDE8D5FA1) +NID(sceJpegFinishMJpeg, 0x62842598) +NID(sceJpegGetOutputInfo, 0x353BA9B0) +NID(sceJpegInitMJpeg, 0xB030773B) +NID(sceJpegInitMJpegWithParam, 0x518163A7) +NID(sceJpegMJpegCsc, 0xC2380E3A) +NID(sceJpegSplitDecodeMJpeg, 0x4598EC9C) +// Module "SceJpegEnc" +// Library "SceJpegEncUser" +NID(sceJpegEncoderCsc, 0x824A7D4F) +NID(sceJpegEncoderEncode, 0xC60DE94C) +NID(sceJpegEncoderEnd, 0xC87AA849) +NID(sceJpegEncoderGetContextSize, 0x2B55844D) +NID(sceJpegEncoderInit, 0x88DA92B4) +NID(sceJpegEncoderInitWithParam, 0x2E8FE45D) +NID(sceJpegEncoderSetCompressionRatio, 0xB2B828EC) +NID(sceJpegEncoderSetHeaderMode, 0x2F58B12C) +NID(sceJpegEncoderSetOutputAddr, 0x25D52D97) +NID(sceJpegEncoderSetValidRegion, 0x9511F3BC) +// Module "SceKernelDmacMgr" +// Library "SceDmacmgr" +NID(sceDmacMemcpy, 0x9B2FF739) +NID(sceDmacMemset, 0xA4C33F11) +// Module "SceKernelModulemgr" +// Library "SceModulemgr" +NID(sceKernelGetAllowedSdkVersionOnSystem, 0x4397FC4E) +NID(sceKernelGetLibraryInfoByNID, 0xEAEB1312) +NID(sceKernelGetModuleIdByAddr, 0xF5798C7C) +NID(sceKernelGetModuleInfo, 0x36585DAF) +NID(sceKernelGetModuleList, 0x2EF2581F) +NID(sceKernelGetSystemSwVersion, 0x5182E212) +NID(sceKernelIsCalledFromSysModule, 0x85E6D2BB) +// Module "SceKernelThreadMgr" +// Library "SceDebugLed" +NID(sceKernelGetGPI, 0x14F582CF) +NID(sceKernelSetGPO, 0x78E702D3) +// Library "SceDipsw" +NID(sceKernelCheckDipsw, 0x1C783FB2) +NID(sceKernelClearDipsw, 0x800EDCC1) +NID(sceKernelSetDipsw, 0x817053D4) +// Library "SceThreadmgr" +NID(sceKernelCancelCallback, 0x30741EF2) +NID(sceKernelChangeActiveCpuMask, 0x001173F8) +NID(sceKernelChangeThreadCpuAffinityMask, 0x15129174) +NID(sceKernelChangeThreadPriority, 0xBD0139F2) +NID(sceKernelChangeThreadVfpException, 0xCC18FBAE) +NID(sceKernelCheckCallback, 0xE53E41F6) +NID(sceKernelCheckWaitableStatus, 0xD9BD74EB) +NID(sceKernelClearEvent, 0x7B2A4B28) +NID(sceKernelClearEventFlag, 0x4CB87CA7) +NID(sceKernelCloseCond, 0x15C690E0) +NID(sceKernelCloseEventFlag, 0x9A68F547) +NID(sceKernelCloseMsgPipe, 0x1305A065) +NID(sceKernelCloseMutex, 0x03E23AF6) +NID(sceKernelCloseRWLock, 0xFD5BD5C1) +NID(sceKernelCloseSema, 0xA2D81F9E) +NID(sceKernelCloseSimpleEvent, 0xFEF4CA53) +NID(sceKernelCloseTimer, 0xACE60E4A) +NID(sceKernelCreateCallback, 0xB19CF7E9) +NID(sceKernelCreateThreadForUser, 0xC0FAF6A3) +NID(sceKernelDelayThread, 0x4B675D05) +NID(sceKernelDelayThreadCB, 0x9C0180E1) +NID(sceKernelDeleteCallback, 0xD469676B) +NID(sceKernelDeleteCond, 0x879E6EBD) +NID(sceKernelDeleteEventFlag, 0x5840162C) +NID(sceKernelDeleteMsgPipe, 0xE78BCCF7) +NID(sceKernelDeleteMutex, 0xCB78710D) +NID(sceKernelDeleteRWLock, 0xE73649CA) +NID(sceKernelDeleteSema, 0xDB32948A) +NID(sceKernelDeleteSimpleEvent, 0x208CFE28) +NID(sceKernelDeleteThread, 0x1BBDE3D9) +NID(sceKernelDeleteTimer, 0xAB1E42C4) +NID(sceKernelExitDeleteThread, 0x1D17DECF) +NID(sceKernelGetCallbackCount, 0x038644D5) +NID(sceKernelGetMsgPipeCreatorId, 0x70E2A6D2) +NID(sceKernelGetProcessId, 0x9DCB4B7A) +NID(sceKernelGetSystemTimeWide, 0xF4EE4FA9) +NID(sceKernelGetThreadStackFreeSize, 0x4F8A3DA0) +NID(sceKernelGetThreadTLSAddr, 0xBACA6891) +NID(sceKernelGetThreadmgrUIDClass, 0xC9678F7F) +NID(sceKernelGetTimerBaseWide, 0x5DBC1960) +NID(sceKernelGetTimerTimeWide, 0x3EFD3165) +NID(sceKernelNotifyCallback, 0xA4683592) +NID(sceKernelOpenCond, 0x76BDA02F) +NID(sceKernelOpenEventFlag, 0xBC19F8A1) +NID(sceKernelOpenMsgPipe, 0x0E1CB9F6) +NID(sceKernelOpenMutex, 0x52E17182) +NID(sceKernelOpenRWLock, 0xCE510196) +NID(sceKernelOpenSema, 0xCBE235C7) +NID(sceKernelOpenSimpleEvent, 0x4E1E4DF8) +NID(sceKernelOpenTimer, 0xB6E286E7) +NID(sceKernelPollSema, 0x866EF048) +NID(sceKernelPulseEvent, 0x8D27BAD6) +NID(sceKernelRegisterCallbackToEvent, 0x76FB37E9) +NID(sceKernelSendSignal, 0xD4C367B2) +NID(sceKernelSetEvent, 0x324218CD) +NID(sceKernelSetEventFlag, 0xEC94DFF7) +NID(sceKernelSetTimerTimeWide, 0x273B4A4D) +NID(sceKernelSignalCond, 0x6ED2E2DC) +NID(sceKernelSignalCondAll, 0xC2E7AC22) +NID(sceKernelSignalCondTo, 0x1269F4EC) +NID(sceKernelSignalSema, 0xE6B761D1) +NID(sceKernelStartTimer, 0x48091E0C) +NID(sceKernelStopTimer, 0x869E9F20) +NID(sceKernelTryLockMutex, 0x72FC1F54) +NID(sceKernelTryLockReadRWLock, 0xEFDDA456) +NID(sceKernelTryLockWriteRWLock, 0x206CBB66) +NID(sceKernelUnlockMutex, 0x1A372EC8) +NID(sceKernelUnlockReadRWLock, 0x3EF91145) +NID(sceKernelUnlockWriteRWLock, 0xB4151397) +NID(sceKernelUnregisterCallbackFromEvent, 0x18462B11) +NID(sceKernelUnregisterCallbackFromEventAll, 0x888A7361) +// Library "SceThreadmgrCoredumpTime" +NID(sceKernelExitThread, 0x0C8A38E1) +// Module "SceLibDbg" +// Library "SceDbg" +NID(sceDbgAssertionHandler, 0x1AF3678B) +NID(sceDbgLoggingHandler, 0x6605AB19) +NID(sceDbgSetBreakOnErrorState, 0xED4A00BA) +NID(sceDbgSetBreakOnWarningState, 0x3DEAECD3) +NID(sceDbgSetMinimumLogLevel, 0x941622FA) +// Module "SceLibGameUpdate" +// Library "SceGameUpdate" +NID(sceGameUpdateAbort, 0x14116007) +NID(sceGameUpdateInit, 0x2F401247) +NID(sceGameUpdateRun, 0x3C616238) +NID(sceGameUpdateTerm, 0x48D879BA) +// Module "SceLibHttp" +// Library "SceHttp" +NID(sceHttpAbortRequest, 0xEA61662F) +NID(sceHttpAbortRequestForce, 0x3D44A6E5) +NID(sceHttpAbortWaitRequest, 0x42E7DFF1) +NID(sceHttpAddCookie, 0xBEDB988D) +NID(sceHttpAddRequestHeader, 0x7B51B122) +NID(sceHttpAddRequestHeaderRaw, 0x31C00FBA) +NID(sceHttpAuthCacheFlush, 0xAF03924C) +NID(sceHttpCookieExport, 0x4259FB9E) +NID(sceHttpCookieFlush, 0x0DACA8D4) +NID(sceHttpCookieImport, 0x9DF48282) +NID(sceHttpCreateConnection, 0xAEB3307E) +NID(sceHttpCreateConnectionWithURL, 0xC616C200) +NID(sceHttpCreateEpoll, 0x7C99AF67) +NID(sceHttpCreateRequest, 0xB0284270) +NID(sceHttpCreateRequestWithURL, 0xBD5DA1D0) +NID(sceHttpCreateTemplate, 0x62241DAB) +NID(sceHttpDeleteConnection, 0xF0F65C15) +NID(sceHttpDeleteRequest, 0x3D3D29AD) +NID(sceHttpDeleteTemplate, 0xEC85ECFB) +NID(sceHttpDestroyEpoll, 0x07D9F8BB) +NID(sceHttpGetAcceptEncodingGZIPEnabled, 0xBBFA3C2A) +NID(sceHttpGetAllResponseHeaders, 0x11F6C27F) +NID(sceHttpGetAuthEnabled, 0x6727874C) +NID(sceHttpGetAutoRedirect, 0x6EAD73EB) +NID(sceHttpGetCookie, 0x70220BFA) +NID(sceHttpGetCookieEnabled, 0x1B6EF66E) +NID(sceHttpGetCookieStats, 0x8EF6AF55) +NID(sceHttpGetEpoll, 0x65FE983F) +NID(sceHttpGetEpollId, 0x9E031D7C) +NID(sceHttpGetIcmOption, 0x61A4ADDE) +NID(sceHttpGetLastErrno, 0x9A68C3DE) +NID(sceHttpGetMemoryPoolStats, 0xF98CDFA9) +NID(sceHttpGetNonblock, 0xD65746BC) +NID(sceHttpGetResponseContentLength, 0xF580D304) +NID(sceHttpGetStatusCode, 0x27071691) +NID(sceHttpInit, 0x214926D9) +NID(sceHttpParseResponseHeader, 0x03A6C89E) +NID(sceHttpParseStatusLine, 0x179C56DB) +NID(sceHttpReadData, 0x7EDE3979) +NID(sceHttpRedirectCacheFlush, 0x8BAB3971) +NID(sceHttpRemoveRequestHeader, 0x5EB5F548) +NID(sceHttpRequestGetAllHeaders, 0xBAA34D18) +NID(sceHttpSendRequest, 0x9CA58B99) +NID(sceHttpSetAcceptEncodingGZIPEnabled, 0x7295C704) +NID(sceHttpSetAuthEnabled, 0x11EC42D0) +NID(sceHttpSetAuthInfoCallback, 0xE0A3A88D) +NID(sceHttpSetAutoRedirect, 0x34891C3F) +NID(sceHttpSetConnectTimeOut, 0x237CA86E) +NID(sceHttpSetCookieEnabled, 0xAEE573A3) +NID(sceHttpSetCookieMaxNum, 0x5DAA4DEF) +NID(sceHttpSetCookieMaxNumPerDomain, 0x635F961F) +NID(sceHttpSetCookieMaxSize, 0xE9C083A5) +NID(sceHttpSetCookieRecvCallback, 0xD4F32A23) +NID(sceHttpSetCookieSendCallback, 0x11C03867) +NID(sceHttpSetCookieTotalMaxSize, 0x5C4080BC) +NID(sceHttpSetDefaultAcceptEncodingGZIPEnabled, 0x1EA3BB9C) +NID(sceHttpSetEpoll, 0x0F1FD1B3) +NID(sceHttpSetEpollId, 0x5CEB6554) +NID(sceHttpSetIcmOption, 0x23978CBC) +NID(sceHttpSetNonblock, 0x27A98BDA) +NID(sceHttpSetRecvTimeOut, 0x94BF196E) +NID(sceHttpSetRedirectCallback, 0x4E08167D) +NID(sceHttpSetRequestContentLength, 0x37C30C90) +NID(sceHttpSetResolveRetry, 0x9AB56EA7) +NID(sceHttpSetResolveTimeOut, 0x8455B5B3) +NID(sceHttpSetSendTimeOut, 0x8AE3F008) +NID(sceHttpSslIsCtxCreated, 0x2D3F1281) +NID(sceHttpTerm, 0xC9076666) +NID(sceHttpUnsetEpoll, 0xCFB1DA4B) +NID(sceHttpUriBuild, 0x47664424) +NID(sceHttpUriEscape, 0x1DA2A673) +NID(sceHttpUriMerge, 0x75027D1D) +NID(sceHttpUriParse, 0x1D45F24E) +NID(sceHttpUriSweepPath, 0x50737A3F) +NID(sceHttpUriUnescape, 0x1274D318) +NID(sceHttpWaitRequest, 0x94F7256A) +NID(sceHttpWaitRequestCB, 0x48650A83) +NID(sceHttpsDisableOption, 0xC6D60403) +NID(sceHttpsDisableOptionPrivate, 0x00659635) +NID(sceHttpsEnableOption, 0x9FBE2869) +NID(sceHttpsEnableOptionPrivate, 0x72CB0741) +NID(sceHttpsFreeCaList, 0x56C95D94) +NID(sceHttpsGetCaList, 0xF71AA58D) +NID(sceHttpsGetSslError, 0x2B79BDE0) +NID(sceHttpsLoadCert, 0xAE8D7C33) +NID(sceHttpsSetSslCallback, 0xA0926037) +NID(sceHttpsUnloadCert, 0x8577833F) +// Module "SceLibKernel" +// Library "SceLibKernel" +NID(SceKernelStackChkGuard, 0x4458BCF3) +NID(__sce_aeabi_idiv0, 0x4373B548) +NID(__sce_aeabi_ldiv0, 0xFB235848) +NID(__stack_chk_fail, 0x37691BF8) +NID(__stack_chk_guard, 0x93B8AA67) +NID(_sceKernelCreateLwMutex, 0xB84EF718) +NID(sceClibAbort, 0x2F2C6046) +NID(sceClibDprintf, 0x4340EF77) +NID(sceClibLookCtypeTable, 0xD8EBBB7E) +NID(sceClibMemchr, 0x407D6153) +NID(sceClibMemcmp, 0x9CC2BFDF) +NID(sceClibMemcmpConstTime, 0x100091AF) +NID(sceClibMemcpy, 0x14E9DBD7) +NID(sceClibMemcpyChk, 0x1F94EF45) +NID(sceClibMemcpy_safe, 0x2E3B02A1) +NID(sceClibMemmove, 0x736753C8) +NID(sceClibMemmoveChk, 0xA18068FC) +NID(sceClibMemset, 0x632980D7) +NID(sceClibMemsetChk, 0xD19B6DC5) +NID(sceClibMspaceCalloc, 0x678374AD) +NID(sceClibMspaceCreate, 0x3B9E301A) +NID(sceClibMspaceDestroy, 0xAE1A21EC) +NID(sceClibMspaceFree, 0x9C56B4D1) +NID(sceClibMspaceIsHeapEmpty, 0xD1D59701) +NID(sceClibMspaceMalloc, 0x86EF7680) +NID(sceClibMspaceMallocStats, 0x8CC1D38E) +NID(sceClibMspaceMallocStatsFast, 0x738E0322) +NID(sceClibMspaceMallocUsableSize, 0x46A02279) +NID(sceClibMspaceMemalign, 0x3C847D57) +NID(sceClibMspaceRealloc, 0x774891D6) +NID(sceClibMspaceReallocalign, 0x586AC68D) +NID(sceClibPrintf, 0xFA26BC62) +NID(sceClibSnprintf, 0x8CBA03D5) +NID(sceClibSnprintfChk, 0xC2E1A945) +NID(sceClibStrcatChk, 0x0F28A495) +NID(sceClibStrchr, 0x614076B7) +NID(sceClibStrcmp, 0xA2FB4D9D) +NID(sceClibStrcpyChk, 0xB9B6B05A) +NID(sceClibStrlcat, 0x70CBC2D5) +NID(sceClibStrlcatChk, 0x4CCB60A9) +NID(sceClibStrlcpy, 0x2CDFCD1C) +NID(sceClibStrlcpyChk, 0xAC6CF5DB) +NID(sceClibStrncasecmp, 0xB54C0BE4) +NID(sceClibStrncat, 0xA37E6383) +NID(sceClibStrncatChk, 0x489EBEDF) +NID(sceClibStrncmp, 0x660D1F6D) +NID(sceClibStrncpy, 0xC458D60A) +NID(sceClibStrncpyChk, 0x9CBE1475) +NID(sceClibStrnlen, 0xAC595E68) +NID(sceClibStrrchr, 0x6E728AAE) +NID(sceClibStrstr, 0xE265498B) +NID(sceClibStrtoll, 0x2E581B88) +NID(sceClibTolower, 0x4C5471BC) +NID(sceClibToupper, 0xB0335388) +NID(sceClibVdprintf, 0xABC6893C) +NID(sceClibVprintf, 0x5EA3B6CE) +NID(sceClibVsnprintf, 0xFA6BE467) +NID(sceClibVsnprintfChk, 0xB628786B) +NID(sceIoChstat, 0x29482F7F) +NID(sceIoChstatByFd, 0x6E903AB2) +NID(sceIoDevctl, 0x04B30CB2) +NID(sceIoDopen, 0xA9283DD0) +NID(sceIoDread, 0x9C8B6624) +NID(sceIoGetstat, 0xBCA5B623) +NID(sceIoGetstatByFd, 0x57F8CD25) +NID(sceIoIoctl, 0x54ABACFA) +NID(sceIoLseek, 0x99BA173E) +NID(sceIoMkdir, 0x9670D39F) +NID(sceIoOpen, 0x6C60AC61) +NID(sceIoPread, 0x52315AD7) +NID(sceIoPwrite, 0x8FFFF5A8) +NID(sceIoRemove, 0xE20ED0F3) +NID(sceIoRename, 0xF737E369) +NID(sceIoRmdir, 0xE9F91EC8) +NID(sceIoSync, 0x98ACED6D) +NID(sceKernelAtomicAddAndGet16, 0x495C52EC) +NID(sceKernelAtomicAddAndGet32, 0x2E84A93B) +NID(sceKernelAtomicAddAndGet64, 0xB6CE9B9A) +NID(sceKernelAtomicAddAndGet8, 0x8F7BD940) +NID(sceKernelAtomicAddUnless16, 0x1CF4AA4B) +NID(sceKernelAtomicAddUnless32, 0x4B33FD3C) +NID(sceKernelAtomicAddUnless64, 0xFFCE7438) +NID(sceKernelAtomicAddUnless8, 0x7FD94393) +NID(sceKernelAtomicAndAndGet16, 0xF9890F7E) +NID(sceKernelAtomicAndAndGet32, 0x6709D30C) +NID(sceKernelAtomicAndAndGet64, 0xAED2B370) +NID(sceKernelAtomicAndAndGet8, 0x86B9170F) +NID(sceKernelAtomicClearAndGet16, 0xCC36B775) +NID(sceKernelAtomicClearAndGet32, 0x9DAA0DE8) +NID(sceKernelAtomicClearAndGet64, 0x264209F3) +NID(sceKernelAtomicClearAndGet8, 0x17B40010) +NID(sceKernelAtomicClearMask16, 0x5FE7DFF8) +NID(sceKernelAtomicClearMask32, 0xE3DF0CB3) +NID(sceKernelAtomicClearMask64, 0x953D118A) +NID(sceKernelAtomicClearMask8, 0xD7D49E36) +NID(sceKernelAtomicCompareAndSet16, 0xE8C01236) +NID(sceKernelAtomicCompareAndSet32, 0x1124A1D4) +NID(sceKernelAtomicCompareAndSet64, 0x1EBDFCCD) +NID(sceKernelAtomicCompareAndSet8, 0x327DB4C0) +NID(sceKernelAtomicDecIfPositive16, 0x323718FB) +NID(sceKernelAtomicDecIfPositive32, 0xCA3294F1) +NID(sceKernelAtomicDecIfPositive64, 0x8BE2A007) +NID(sceKernelAtomicDecIfPositive8, 0x9DABE6C3) +NID(sceKernelAtomicGetAndAdd16, 0x5674DB0C) +NID(sceKernelAtomicGetAndAdd32, 0x2611CB0B) +NID(sceKernelAtomicGetAndAdd64, 0x63DAF37D) +NID(sceKernelAtomicGetAndAdd8, 0x27A2AAFA) +NID(sceKernelAtomicGetAndAnd16, 0x7A0CB056) +NID(sceKernelAtomicGetAndAnd32, 0x08266595) +NID(sceKernelAtomicGetAndAnd64, 0x4828BC43) +NID(sceKernelAtomicGetAndAnd8, 0x53DCA02B) +NID(sceKernelAtomicGetAndClear16, 0x57CD7E7D) +NID(sceKernelAtomicGetAndClear32, 0x0226A017) +NID(sceKernelAtomicGetAndClear64, 0x436AA0B5) +NID(sceKernelAtomicGetAndClear8, 0xA10873A4) +NID(sceKernelAtomicGetAndOr16, 0x31E49E73) +NID(sceKernelAtomicGetAndOr32, 0x984AD276) +NID(sceKernelAtomicGetAndOr64, 0xC39186CD) +NID(sceKernelAtomicGetAndOr8, 0x107A68DF) +NID(sceKernelAtomicGetAndSet16, 0xF7B9ADFC) +NID(sceKernelAtomicGetAndSet32, 0x9B43E667) +NID(sceKernelAtomicGetAndSet64, 0xD82B3A7A) +NID(sceKernelAtomicGetAndSet8, 0x2672EA0B) +NID(sceKernelAtomicGetAndSub16, 0xAC51979C) +NID(sceKernelAtomicGetAndSub32, 0x115C516F) +NID(sceKernelAtomicGetAndSub64, 0x4AE9C8E6) +NID(sceKernelAtomicGetAndSub8, 0xCDF5DF67) +NID(sceKernelAtomicGetAndXor16, 0x6E2D0B9E) +NID(sceKernelAtomicGetAndXor32, 0x38739E2F) +NID(sceKernelAtomicGetAndXor64, 0x6A19BBE9) +NID(sceKernelAtomicGetAndXor8, 0x7350B2DF) +NID(sceKernelAtomicOrAndGet16, 0x8E248EBD) +NID(sceKernelAtomicOrAndGet32, 0xC3B2F7F8) +NID(sceKernelAtomicOrAndGet64, 0x809BBC7D) +NID(sceKernelAtomicOrAndGet8, 0x51693931) +NID(sceKernelAtomicSet16, 0x450BFECF) +NID(sceKernelAtomicSet32, 0xB69DA09B) +NID(sceKernelAtomicSet64, 0xC8A4339C) +NID(sceKernelAtomicSet8, 0xE960FDA2) +NID(sceKernelAtomicSubAndGet16, 0xC26BBBB1) +NID(sceKernelAtomicSubAndGet32, 0x01C9CD92) +NID(sceKernelAtomicSubAndGet64, 0x9BB4A94B) +NID(sceKernelAtomicSubAndGet8, 0x99E1796E) +NID(sceKernelAtomicXorAndGet16, 0x6F524195) +NID(sceKernelAtomicXorAndGet32, 0x46940704) +NID(sceKernelAtomicXorAndGet64, 0xDDC6866E) +NID(sceKernelAtomicXorAndGet8, 0x634AF062) +NID(sceKernelBacktrace, 0x894037E8) +NID(sceKernelBacktraceSelf, 0xD16C03B0) +NID(sceKernelCallModuleExit, 0x15E2A45D) +NID(sceKernelCallWithChangeStack, 0xAFE2B300) +NID(sceKernelCancelEvent, 0x603AB770) +NID(sceKernelCancelEventFlag, 0x2A12D9B7) +NID(sceKernelCancelEventWithSetPattern, 0xB01387D5) +NID(sceKernelCancelMsgPipe, 0xEF14BA37) +NID(sceKernelCancelMutex, 0x2144890D) +NID(sceKernelCancelRWLock, 0x190CA94B) +NID(sceKernelCancelSema, 0x66D6BF05) +NID(sceKernelCancelTimer, 0x9CCF768C) +NID(sceKernelChangeCurrentThreadAttr, 0x36833F93) +NID(sceKernelCheckThreadStack, 0x84092FD0) +NID(sceKernelCloseModule, 0x657FA50E) +NID(sceKernelCreateCond, 0x50572FDA) +NID(sceKernelCreateEventFlag, 0x8516D040) +NID(sceKernelCreateLwCond, 0x48C7EAE6) +NID(sceKernelCreateLwMutex, 0xDA6EC8EF) +NID(sceKernelCreateMsgPipe, 0x0A10C1C8) +NID(sceKernelCreateMutex, 0xED53334A) +NID(sceKernelCreateRWLock, 0x8667951D) +NID(sceKernelCreateSema, 0x1BD67366) +NID(sceKernelCreateSimpleEvent, 0xE6DB2494) +NID(sceKernelCreateThread, 0xC5C11EE7) +NID(sceKernelCreateTimer, 0x2255B2A5) +NID(sceKernelDeleteLwCond, 0x721F6CB3) +NID(sceKernelDeleteLwMutex, 0x244E76D2) +NID(sceKernelExitProcess, 0x7595D9AA) +NID(sceKernelGetCallbackInfo, 0x88DD1BC8) +NID(sceKernelGetCondInfo, 0x6864DCE2) +NID(sceKernelGetCurrentThreadVfpException, 0xA37A6057) +NID(sceKernelGetEventFlagInfo, 0x8BA4C0C1) +NID(sceKernelGetEventInfo, 0xE35F19D6) +NID(sceKernelGetEventPattern, 0xE5A2AC66) +NID(sceKernelGetLwCondInfo, 0xE4DF36A0) +NID(sceKernelGetLwCondInfoById, 0x971F1DE8) +NID(sceKernelGetLwMutexInfo, 0xF7D8F1FC) +NID(sceKernelGetLwMutexInfoById, 0x4846613D) +NID(sceKernelGetModuleInfoByAddr, 0xD11A5103) +NID(sceKernelGetMsgPipeInfo, 0x4046D16B) +NID(sceKernelGetMutexInfo, 0x9A6C43CA) +NID(sceKernelGetOpenPsId, 0x261E2C34) +NID(sceKernelGetPMUSERENR, 0xF8A99FDF) +NID(sceKernelGetProcessTime, 0x4C4672BF) +NID(sceKernelGetProcessTimeLow, 0xE9F973B1) +NID(sceKernelGetProcessTimeWide, 0xB110C123) +NID(sceKernelGetRWLockInfo, 0x079A573B) +NID(sceKernelGetSemaInfo, 0x595D3FA6) +NID(sceKernelGetSystemInfo, 0xE0241FAA) +NID(sceKernelGetTLSAddr, 0xB295EB61) +NID(sceKernelGetThreadCpuAffinityMask, 0x8C57AC2A) +NID(sceKernelGetThreadCurrentPriority, 0xC53A9848) +NID(sceKernelGetThreadExitStatus, 0xD5DC26C4) +NID(sceKernelGetThreadId, 0x0FB972F9) +NID(sceKernelGetThreadInfo, 0x8D9C5461) +NID(sceKernelGetThreadRunStatus, 0xD6B01013) +NID(sceKernelGetTimerBase, 0x1F59E04D) +NID(sceKernelGetTimerEventRemainingTime, 0x75B1EB3E) +NID(sceKernelGetTimerInfo, 0x7E35E10A) +NID(sceKernelGetTimerTime, 0x381DC300) +NID(sceKernelLoadModule, 0xBBE82155) +NID(sceKernelLoadStartModule, 0x2DCC4AFA) +NID(sceKernelLockLwMutex, 0x46E7BE7B) +NID(sceKernelLockLwMutexCB, 0x3148C6B6) +NID(sceKernelLockMutex, 0x1D8D7945) +NID(sceKernelLockMutexCB, 0x2BDAA524) +NID(sceKernelLockReadRWLock, 0xFA670F0F) +NID(sceKernelLockReadRWLockCB, 0x2D4A62B7) +NID(sceKernelLockWriteRWLock, 0x67A187BB) +NID(sceKernelLockWriteRWLockCB, 0xA4777082) +NID(sceKernelOpenModule, 0x4F2D8B15) +NID(sceKernelPMonThreadGetCounter, 0x99B2BF15) +NID(sceKernelPollEvent, 0x241F3634) +NID(sceKernelPollEventFlag, 0x1FBB0FE1) +NID(sceKernelPrintBacktrace, 0x1C02A434) +NID(sceKernelPulseEventWithNotifyCallback, 0x92F162F3) +NID(sceKernelReceiveMsgPipe, 0x4E81DD5C) +NID(sceKernelReceiveMsgPipeCB, 0x33AF829B) +NID(sceKernelReceiveMsgPipeVector, 0x9F899087) +NID(sceKernelReceiveMsgPipeVectorCB, 0xBE5B3E27) +NID(sceKernelSendMsgPipe, 0x0CA71EA2) +NID(sceKernelSendMsgPipeCB, 0xA5CA74AC) +NID(sceKernelSendMsgPipeVector, 0x94D506F7) +NID(sceKernelSendMsgPipeVectorCB, 0x9C6F7F79) +NID(sceKernelSetEventWithNotifyCallback, 0x5FF3EE92) +NID(sceKernelSetTimerEvent, 0x621D293B) +NID(sceKernelSetTimerTime, 0xFFAD717F) +NID(sceKernelSignalLwCond, 0x3AC63B9A) +NID(sceKernelSignalLwCondAll, 0xE5241A0C) +NID(sceKernelSignalLwCondTo, 0xFC1A48EB) +NID(sceKernelStackChkFail, 0xEC287338) +NID(sceKernelStartModule, 0x702425D5) +NID(sceKernelStartThread, 0xF08DE149) +NID(sceKernelStopModule, 0x3B2CBA09) +NID(sceKernelStopUnloadModule, 0x2415F8A4) +NID(sceKernelTryLockLwMutex, 0xA6A2C915) +NID(sceKernelTryReceiveMsgPipe, 0x5615B006) +NID(sceKernelTryReceiveMsgPipeVector, 0x86ECC0FF) +NID(sceKernelTrySendMsgPipe, 0xDFC670E0) +NID(sceKernelTrySendMsgPipeVector, 0x60DB346F) +NID(sceKernelUnloadModule, 0x1987920E) +NID(sceKernelUnlockLwMutex, 0x120AFC8C) +NID(sceKernelWaitCond, 0xC88D44AD) +NID(sceKernelWaitCondCB, 0x4CE42CE2) +NID(sceKernelWaitEvent, 0x120F03AF) +NID(sceKernelWaitEventCB, 0xA0490795) +NID(sceKernelWaitEventFlag, 0x83C0E2AF) +NID(sceKernelWaitEventFlagCB, 0xE737B1DF) +NID(sceKernelWaitLwCond, 0xE1878282) +NID(sceKernelWaitLwCondCB, 0x8FA54B07) +NID(sceKernelWaitMultipleEvents, 0x10586418) +NID(sceKernelWaitMultipleEventsCB, 0x4263DBC9) +NID(sceKernelWaitSema, 0x0C7B834B) +NID(sceKernelWaitSemaCB, 0x174692B4) +NID(sceKernelWaitSignal, 0xADCA94E5) +NID(sceKernelWaitSignalCB, 0x24460BB3) +NID(sceKernelWaitThreadEnd, 0xDDB395A9) +NID(sceKernelWaitThreadEndCB, 0xC54941ED) +NID(sceSblACMgrIsGameProgram, 0x963F4A99) +// Library "SceLibRng" +NID(sceKernelGetRandomNumber, 0xB2700165) +// Module "SceLibLocation" +// Library "SceLibLocation" +NID(sceLocationCancelGetLocation, 0x71503251) +NID(sceLocationClose, 0x14FE76E8) +NID(sceLocationConfirm, 0xC895E567) +NID(sceLocationConfirmAbort, 0xE3CBF875) +NID(sceLocationConfirmGetResult, 0xFF016C13) +NID(sceLocationConfirmGetStatus, 0x730FF842) +NID(sceLocationDenyApplication, 0x8AAF3FBD) +NID(sceLocationGetHeading, 0x4E9E5ED9) +NID(sceLocationGetLocation, 0x15BC27C8) +NID(sceLocationGetLocationWithTimeout, 0x16F41ED0) +NID(sceLocationGetMethod, 0x188CE004) +NID(sceLocationGetPermission, 0x482622C6) +NID(sceLocationInit, 0x09C4F674) +NID(sceLocationOpen, 0xDD271661) +NID(sceLocationReopen, 0xB1F55065) +NID(sceLocationSetGpsEmulationFile, 0xDE0A9EA4) +NID(sceLocationSetThreadParameter, 0xAA026B53) +NID(sceLocationStartHeadingCallback, 0x07D4DFE0) +NID(sceLocationStartLocationCallback, 0x12D1F0EA) +NID(sceLocationStopHeadingCallback, 0x92E53F94) +NID(sceLocationStopLocationCallback, 0xED378700) +NID(sceLocationTerm, 0x1E80199A) +// Module "SceLibLocationExtension" +// Library "SceLibLocationExtension" +NID(sceLocationCancelQueryLocationWifiHistory, 0x46D2F044) +NID(sceLocationGetLocationWifiHistory, 0x82DE9BF8) +NID(sceLocationQueryLocationWifiHistory, 0x277DA915) +// Module "SceLibMonoBridge" +// Library "SceLibMonoBridge" +NID(__aeabi_unwind_cpp_pr0, 0xD172A1F6) +NID(__aeabi_unwind_cpp_pr1, 0x6B008191) +NID(__ashldi3, 0x3FF08624) +NID(__divdi3, 0xC9DBA402) +NID(__divsi3, 0x48A5D6B6) +NID(__lshrdi3, 0x69B23762) +NID(__moddi3, 0x9A2906FE) +NID(__modsi3, 0x3F8F26A3) +NID(__sce_aeabi_idiv0_dupe, 0x1EBF97CC) +NID(__sce_aeabi_ldiv0_dupe, 0x2AB3B87C) +NID(__udivdi3, 0xD7F019CF) +NID(__udivsi3, 0xFF10AAE9) +NID(__umoddi3, 0x66FCF225) +NID(__umodsi3, 0x35BC7C65) +NID(environ, 0x97F0181A) +NID(g_ascii_strcasecmp, 0xC653C249) +NID(g_file_vita_get_current_dir, 0x545F9DA8) +NID(g_file_vita_get_full_path, 0xC1F77924) +NID(g_file_vita_set_current_dir, 0x1EE0837) +NID(getenv, 0x2AEBA06E) +NID(monoeg_assertion_message, 0xA0D78B57) +NID(monoeg_g_array_append_vals, 0x38EC545B) +NID(monoeg_g_array_free, 0x75935E0) +NID(monoeg_g_array_insert_vals, 0xEDCCA472) +NID(monoeg_g_array_new, 0x5EDBCA5) +NID(monoeg_g_ascii_strdown, 0x3B76B55A) +NID(monoeg_g_ascii_strncasecmp, 0x7CDD24DB) +NID(monoeg_g_ascii_tolower, 0xF5C20E95) +NID(monoeg_g_ascii_xdigit_value, 0x522CF60A) +NID(monoeg_g_build_path, 0x85453290) +NID(monoeg_g_convert, 0xB27101E2) +NID(monoeg_g_dir_close, 0x52E9FEB1) +NID(monoeg_g_dir_open, 0x6F92241A) +NID(monoeg_g_dir_read_name, 0x4600943C) +NID(monoeg_g_direct_equal, 0x8148B339) +NID(monoeg_g_direct_hash, 0xD8811B19) +NID(monoeg_g_error_free, 0x47C11F1D) +NID(monoeg_g_file_get_contents, 0x5AE6764) +NID(monoeg_g_file_open_tmp, 0x6B74C816) +NID(monoeg_g_file_test, 0xCF8DCED3) +NID(monoeg_g_filename_from_uri, 0x8AD58AF) +NID(monoeg_g_filename_from_utf8, 0xDB1AD82A) +NID(monoeg_g_filename_to_uri, 0xB8A330FA) +NID(monoeg_g_find_program_in_path, 0xAA9C90DE) +NID(monoeg_g_free, 0xFDB0CDD) +NID(monoeg_g_get_charset, 0xF6BEC9D3) +NID(monoeg_g_get_current_dir, 0xB6243709) +NID(monoeg_g_get_home_dir, 0x7DF9817E) +NID(monoeg_g_get_tmp_dir, 0x60DDC771) +NID(monoeg_g_get_user_name, 0x93FF7030) +NID(monoeg_g_getenv, 0xA4ADADF) +NID(monoeg_g_hash_table_destroy, 0x931C06A1) +NID(monoeg_g_hash_table_foreach, 0xC23C4881) +NID(monoeg_g_hash_table_foreach_remove, 0x4977120A) +NID(monoeg_g_hash_table_foreach_steal, 0x9324F0E1) +NID(monoeg_g_hash_table_insert_replace, 0xC466869) +NID(monoeg_g_hash_table_iter_init, 0x8FF97526) +NID(monoeg_g_hash_table_iter_next, 0xA1F2C7E0) +NID(monoeg_g_hash_table_lookup, 0xA9AD9AEF) +NID(monoeg_g_hash_table_lookup_extended, 0x8CBE093B) +NID(monoeg_g_hash_table_new, 0x378448E9) +NID(monoeg_g_hash_table_new_full, 0xFABF5E38) +NID(monoeg_g_hash_table_remove, 0x4A9D45E3) +NID(monoeg_g_hash_table_size, 0x2DB584C2) +NID(monoeg_g_list_alloc, 0xEB6A82FC) +NID(monoeg_g_list_append, 0x2BEBDAED) +NID(monoeg_g_list_copy, 0x35E0AE9D) +NID(monoeg_g_list_delete_link, 0xE05B869F) +NID(monoeg_g_list_find, 0xB52FC668) +NID(monoeg_g_list_foreach, 0xF6A02E4F) +NID(monoeg_g_list_free, 0x3240185B) +NID(monoeg_g_list_insert_before, 0x75BD1C5D) +NID(monoeg_g_list_length, 0xDFA458D2) +NID(monoeg_g_list_nth, 0x1A2AD677) +NID(monoeg_g_list_nth_data, 0xA53BD200) +NID(monoeg_g_list_prepend, 0x1BCA4E9C) +NID(monoeg_g_list_remove, 0x26E6587C) +NID(monoeg_g_list_remove_link, 0x1CCAF27B) +NID(monoeg_g_list_reverse, 0x67095A4A) +NID(monoeg_g_list_sort, 0xC15FBB62) +NID(monoeg_g_locale_from_utf8, 0xE84A2EED) +NID(monoeg_g_locale_to_utf8, 0x68463D0C) +NID(monoeg_g_log, 0xCA6DB761) +NID(monoeg_g_log_set_always_fatal, 0x8E19519B) +NID(monoeg_g_log_set_fatal_mask, 0x3F109D66) +NID(monoeg_g_logv, 0xACC0E109) +NID(monoeg_g_markup_parse_context_end_parse, 0xF357A07C) +NID(monoeg_g_markup_parse_context_free, 0x828CA4F4) +NID(monoeg_g_markup_parse_context_new, 0x3472AD12) +NID(monoeg_g_markup_parse_context_parse, 0xCAAB6479) +NID(monoeg_g_memdup, 0x3BF53203) +NID(monoeg_g_path_get_basename, 0x3858FDD0) +NID(monoeg_g_path_get_dirname, 0x760267A0) +NID(monoeg_g_path_is_absolute, 0x37BD3E1B) +NID(monoeg_g_print, 0x2A5C197D) +NID(monoeg_g_printerr, 0xA7A44394) +NID(monoeg_g_ptr_array_add, 0xDB4852CA) +NID(monoeg_g_ptr_array_free, 0x66743D4C) +NID(monoeg_g_ptr_array_new, 0x33A7FA42) +NID(monoeg_g_ptr_array_remove, 0x9D8A3F8) +NID(monoeg_g_ptr_array_remove_fast, 0xC551D9F7) +NID(monoeg_g_ptr_array_remove_index, 0x2BD1603F) +NID(monoeg_g_ptr_array_remove_index_fast, 0x9CB8D947) +NID(monoeg_g_ptr_array_sized_new, 0x20464DB5) +NID(monoeg_g_queue_free, 0x3D41FF7E) +NID(monoeg_g_queue_is_empty, 0x26A85739) +NID(monoeg_g_queue_new, 0x75D3CADA) +NID(monoeg_g_queue_pop_head, 0x8D16FC46) +NID(monoeg_g_queue_push_head, 0x30F35337) +NID(monoeg_g_set_prgname, 0xEBF04548) +NID(monoeg_g_setenv, 0x9E6BFE8B) +NID(monoeg_g_shell_quote, 0x91944CB3) +NID(monoeg_g_slist_append, 0x1DCD3771) +NID(monoeg_g_slist_concat, 0x569A32C4) +NID(monoeg_g_slist_copy, 0x7966B92E) +NID(monoeg_g_slist_delete_link, 0xF745BBBD) +NID(monoeg_g_slist_find, 0x91EF3384) +NID(monoeg_g_slist_foreach, 0xC4178ED9) +NID(monoeg_g_slist_free, 0x3FBE8990) +NID(monoeg_g_slist_free_1, 0xFF75E8C2) +NID(monoeg_g_slist_insert_sorted, 0x96D0944D) +NID(monoeg_g_slist_last, 0x9E82ACA3) +NID(monoeg_g_slist_length, 0x3C4FA9AB) +NID(monoeg_g_slist_nth, 0xE319844D) +NID(monoeg_g_slist_nth_data, 0x38665E1F) +NID(monoeg_g_slist_prepend, 0xAA813145) +NID(monoeg_g_slist_remove, 0x2ACD677F) +NID(monoeg_g_slist_reverse, 0xF1985656) +NID(monoeg_g_snprintf, 0xC3BE1A9A) +NID(monoeg_g_spaced_primes_closest, 0xDC3FEE9) +NID(monoeg_g_spawn_async_with_pipes, 0xB9C960E3) +NID(monoeg_g_str_equal, 0x343BBAEC) +NID(monoeg_g_str_has_prefix, 0xA3BAF580) +NID(monoeg_g_str_hash, 0x475CAF76) +NID(monoeg_g_strchomp, 0x45EF6509) +NID(monoeg_g_strchug, 0x87433486) +NID(monoeg_g_strconcat, 0xB1550CDA) +NID(monoeg_g_strdup_printf, 0x4E6EE5A0) +NID(monoeg_g_strdup_vprintf, 0xA7042BC2) +NID(monoeg_g_strerror, 0x980BB6C3) +NID(monoeg_g_strfreev, 0x3EB1E49C) +NID(monoeg_g_string_append, 0x84305AEE) +NID(monoeg_g_string_append_c, 0x5B130D35) +NID(monoeg_g_string_append_len, 0xDE912E45) +NID(monoeg_g_string_append_printf, 0x9067DA1C) +NID(monoeg_g_string_free, 0x8CAF3F55) +NID(monoeg_g_string_new, 0x4A9791FF) +NID(monoeg_g_string_printf, 0xACA22DB3) +NID(monoeg_g_strjoin, 0xF9A3EF51) +NID(monoeg_g_strlcpy, 0x29426056) +NID(monoeg_g_strndup, 0x11E3A3A4) +NID(monoeg_g_strreverse, 0x5EA4F9C0) +NID(monoeg_g_strsplit, 0x7EA1C500) +NID(monoeg_g_timer_destroy, 0xB133D2A) +NID(monoeg_g_timer_elapsed, 0x9D0017DA) +NID(monoeg_g_timer_new, 0xB3C99F9F) +NID(monoeg_g_timer_start, 0x6358F60) +NID(monoeg_g_timer_stop, 0xD2C1FCA7) +NID(monoeg_g_ucs4_to_utf16, 0x33FA7A53) +NID(monoeg_g_unichar_tolower, 0x1B7586C3) +NID(monoeg_g_unichar_type, 0x4F9A3D81) +NID(monoeg_g_unichar_xdigit_value, 0x61F79239) +NID(monoeg_g_unsetenv, 0x2B391E9F) +NID(monoeg_g_usleep, 0x591EDE3E) +NID(monoeg_g_utf16_to_ucs4, 0x19420152) +NID(monoeg_g_utf16_to_utf8, 0xB4610791) +NID(monoeg_g_utf8_strdown, 0x6ED9113B) +NID(monoeg_g_utf8_to_utf16, 0x5627BFFE) +NID(monoeg_g_utf8_validate, 0xC80A22F9) +NID(monoeg_malloc, 0x2D8238B7) +NID(monoeg_malloc0, 0x608D5D6D) +NID(monoeg_realloc, 0x8FA807B1) +NID(monoeg_try_malloc, 0xA59B6183) +NID(monoeg_try_realloc, 0xB1006CCC) +NID(pss_alloc_mem, 0x1A2E441F) +NID(pss_alloc_raw, 0x599AEA5E) +NID(pss_code_mem_alloc, 0xF466ABEC) +NID(pss_code_mem_flush_icache, 0x110F567B) +NID(pss_code_mem_free, 0xB468C313) +NID(pss_code_mem_initialize, 0xD67BC7AB) +NID(pss_code_mem_lock, 0x53D03181) +NID(pss_code_mem_terminate, 0x6899C39C) +NID(pss_code_mem_unlock, 0x50E8F8FF) +NID(pss_create_semaphore, 0x5F969729) +NID(pss_crypto_close, 0x37483E03) +NID(pss_crypto_fread, 0x184E21BC) +NID(pss_crypto_open, 0x6B4125E4) +NID(pss_crypto_read, 0x32BA8444) +NID(pss_delay_thread, 0x18524DD) +NID(pss_delete_semaphore, 0x6148DE4D) +NID(pss_disable_ftz, 0x2E9C2A4B) +NID(pss_free_mem, 0x1C59A84B) +NID(pss_free_prng_provider, 0xBBCF4B04) +NID(pss_free_raw, 0xB9EFB986) +NID(pss_get_errnoloc, 0x617F673C) +NID(pss_get_prng_provider, 0x88496636) +NID(pss_get_thread_context, 0x6ABAA310) +NID(pss_get_ticks_32, 0xEC94BFCF) +NID(pss_get_ticks_64, 0xBE8FF7BE) +NID(pss_get_ticks_since_111, 0x98E48D48) +NID(pss_get_win32_filetime, 0x440F10FA) +NID(pss_getpagesize, 0xB5135219) +NID(pss_getpid, 0xF90E4DD2) +NID(pss_gettimeofday, 0xE65366F3) +NID(pss_io_chstat, 0x827A135) +NID(pss_io_close, 0xA201DB2A) +NID(pss_io_dclose, 0x5528F7F1) +NID(pss_io_dopen, 0x1D93AA23) +NID(pss_io_getstat, 0x5C2090C1) +NID(pss_io_lseek, 0x295FF99D) +NID(pss_io_mkdir, 0xE9C00064) +NID(pss_io_open, 0xEA977352) +NID(pss_io_read, 0x37F6EDC2) +NID(pss_io_remove, 0x70FD542F) +NID(pss_io_rename, 0xB673FE93) +NID(pss_io_rmdir, 0x1F1764AD) +NID(pss_io_write, 0xAF972DF7) +NID(pss_nanosleep, 0x7FFBD866) +NID(pss_net_accept, 0xD3F85D07) +NID(pss_net_bind, 0xD1E93EEF) +NID(pss_net_connect, 0xB635E419) +NID(pss_net_epoll_create, 0xB18343A4) +NID(pss_net_epoll_ctl, 0x335C5433) +NID(pss_net_epoll_destroy, 0xCFFBBBF8) +NID(pss_net_epoll_wait, 0x1942AA03) +NID(pss_net_gethostname, 0xB34921E5) +NID(pss_net_getpeername, 0xB46F9AEC) +NID(pss_net_getsockname, 0x92AB54A3) +NID(pss_net_getsockopt, 0xBEA8F2D8) +NID(pss_net_htonl, 0x1C2F65E7) +NID(pss_net_htons, 0xFD3EF366) +NID(pss_net_init, 0x96D8FAE6) +NID(pss_net_listen, 0x86CE8C7D) +NID(pss_net_ntohl, 0xF8DDBAF5) +NID(pss_net_ntohs, 0xD48BC6B5) +NID(pss_net_recv, 0xB508B0F) +NID(pss_net_recvfrom, 0x71FFC585) +NID(pss_net_resolver_create, 0x8FFCD9A4) +NID(pss_net_resolver_start_aton, 0x5E72FC36) +NID(pss_net_resolver_start_ntoa, 0x51B4211B) +NID(pss_net_send, 0xDFAF1FB3) +NID(pss_net_sendto, 0x4A101C16) +NID(pss_net_setsockopt, 0xD3FED467) +NID(pss_net_shutdown, 0xDEDBF700) +NID(pss_net_socket, 0xCAB1666C) +NID(pss_net_socket_close, 0x64DD5EB6) +NID(pss_prng_fill, 0x7EA1D46F) +NID(pss_resume_thread, 0x15C51A57) +NID(pss_set_thread_context, 0x5E5A5A9C) +NID(pss_set_win32_filetime, 0xF981589B) +NID(pss_signal_semaphore, 0xB9A41171) +NID(pss_supports_fast_tls, 0xDF2BE54B) +NID(pss_suspend_thread, 0xC42D2F9E) +NID(pss_threads_initialize, 0x406453D4) +NID(pss_usb_transport_close1, 0xF7FB1E6F) +NID(pss_usb_transport_close2, 0x2FDCC52) +NID(pss_usb_transport_connect, 0x971CB35B) +NID(pss_usb_transport_recv, 0xBC46D569) +NID(pss_usb_transport_send, 0xFBC177AA) +NID(pss_wait_semaphore, 0x755D09D8) +NID(pthread_attr_init, 0x27417DD) +NID(pthread_attr_setstacksize, 0xF33D87CE) +NID(pthread_cleanup_pop_, 0x57B0ED8C) +NID(pthread_cleanup_push_, 0x8774E2F3) +NID(pthread_cond_broadcast, 0x5296E752) +NID(pthread_cond_destroy, 0x4B570B63) +NID(pthread_cond_init, 0x250A81B8) +NID(pthread_cond_signal, 0x4B212329) +NID(pthread_cond_timedwait, 0x7F7610EE) +NID(pthread_cond_wait, 0x397C681E) +NID(pthread_create, 0xCBB5464C) +NID(pthread_detach, 0x2A6A6980) +NID(pthread_equal, 0x88C5C1DC) +NID(pthread_exit, 0x48B49C9D) +NID(pthread_getspecific, 0x30835413) +NID(pthread_getspecific_for_thread, 0x6581D5BB) +NID(pthread_join, 0xB90F817A) +NID(pthread_key_create, 0xCC79246F) +NID(pthread_key_delete, 0xA7992EEF) +NID(pthread_mutex_destroy, 0x11A10230) +NID(pthread_mutex_init, 0xBD7EAD04) +NID(pthread_mutex_lock, 0xEB44087F) +NID(pthread_mutex_trylock, 0xF52A345B) +NID(pthread_mutex_unlock, 0x1B6BDBB3) +NID(pthread_mutexattr_destroy, 0x623CDEF8) +NID(pthread_mutexattr_init, 0x3A3B7447) +NID(pthread_mutexattr_settype, 0xD2A744DF) +NID(pthread_self, 0xE1DE206E) +NID(pthread_setspecific, 0xED99821B) +NID(pthread_vita_tls_create_np, 0x7E433BEA) +NID(pthread_vita_tls_get_np, 0xD479D238) +NID(pthread_vita_tls_set_np, 0x483C96B2) +NID(sched_yield, 0x473829B5) +NID(unlink, 0x7BBCA340) +// Module "SceLibNetCtl" +// Library "SceNetCtl" +NID(sceNetCtlAdhocDisconnect, 0xED43B79A) +NID(sceNetCtlAdhocGetInAddr, 0x7118C99D) +NID(sceNetCtlAdhocGetPeerList, 0x77586C59) +NID(sceNetCtlAdhocGetResult, 0x7AE0ED19) +NID(sceNetCtlAdhocGetState, 0x0961A561) +NID(sceNetCtlAdhocRegisterCallback, 0xFFA9D594) +NID(sceNetCtlAdhocUnregisterCallback, 0xA4471E10) +NID(sceNetCtlCheckCallback, 0xDFFC3ED4) +NID(sceNetCtlGetIfStat, 0xDA130450) +NID(sceNetCtlGetNatInfo, 0x4DDD6149) +NID(sceNetCtlGetPhoneMaxDownloadableSize, 0x4FB4BEA1) +NID(sceNetCtlInetGetInfo, 0xB26D07F3) +NID(sceNetCtlInetGetResult, 0x6B20EC02) +NID(sceNetCtlInetGetState, 0x6D26AC68) +NID(sceNetCtlInetRegisterCallback, 0xEAEE6185) +NID(sceNetCtlInetUnregisterCallback, 0xD0C3BF3F) +NID(sceNetCtlInit, 0x495CA1DB) +NID(sceNetCtlTerm, 0xCD188648) +// Module "SceLibPgf" +// Library "ScePgf" +NID(sceFontClose, 0x4A7293E9) +NID(sceFontDoneLib, 0x07EE1733) +NID(sceFontFindFont, 0x51061D87) +NID(sceFontFindOptimumFont, 0x8DFBAE1B) +NID(sceFontFlush, 0x7D8CB13B) +NID(sceFontGetCharGlyphImage, 0xAB45AAD3) +NID(sceFontGetCharGlyphImage_Clip, 0xEB589530) +NID(sceFontGetCharImageRect, 0x70C86B3E) +NID(sceFontGetCharInfo, 0x6FD1BA65) +NID(sceFontGetFontInfo, 0xF9414FA2) +NID(sceFontGetFontInfoByIndexNumber, 0xAB034738) +NID(sceFontGetFontList, 0xD56DCCEA) +NID(sceFontGetNumFontList, 0x9F842307) +NID(sceFontNewLib, 0x1055ABA3) +NID(sceFontOpen, 0xBD2DFCFF) +NID(sceFontOpenUserFile, 0xE260E740) +NID(sceFontOpenUserMemory, 0xB23ED47C) +NID(sceFontPixelToPointH, 0x9E38F4D6) +NID(sceFontPixelToPointV, 0x7B45E2D1) +NID(sceFontPointToPixelH, 0x39B9AEFF) +NID(sceFontPointToPixelV, 0x03F10EC8) +NID(sceFontSetAltCharacterCode, 0x8D5B44DF) +NID(sceFontSetResolution, 0xDE47674C) +// Module "SceLibPspnetAdhoc" +// Library "ScePspnetAdhoc" +NID(sceNetAdhocGetPdpStat, 0x02098B69) +NID(sceNetAdhocGetPtpStat, 0xE45F0801) +NID(sceNetAdhocGetSocketAlert, 0xCA249F53) +NID(sceNetAdhocInit, 0x87805E13) +NID(sceNetAdhocPdpCreate, 0xF2EC12CD) +NID(sceNetAdhocPdpDelete, 0xB7B6A662) +NID(sceNetAdhocPdpRecv, 0x1172398C) +NID(sceNetAdhocPdpSend, 0xB56238BA) +NID(sceNetAdhocPollSocket, 0x54ED636D) +NID(sceNetAdhocPtpAccept, 0x0A0423DD) +NID(sceNetAdhocPtpClose, 0xA083BF7C) +NID(sceNetAdhocPtpConnect, 0x632EDB11) +NID(sceNetAdhocPtpFlush, 0xAD5F570D) +NID(sceNetAdhocPtpListen, 0x8F683810) +NID(sceNetAdhocPtpOpen, 0x81498625) +NID(sceNetAdhocPtpRecv, 0x0291EF5B) +NID(sceNetAdhocPtpSend, 0x0A4E32EF) +NID(sceNetAdhocSetSocketAlert, 0x31F45B51) +NID(sceNetAdhocTerm, 0x6C0B4971) +NID(sceNetAdhocctlGetAddrByName, 0xD3230114) +NID(sceNetAdhocctlGetAdhocId, 0x49AF74AE) +NID(sceNetAdhocctlGetEtherAddr, 0xA40F17E0) +NID(sceNetAdhocctlGetNameByAddr, 0xFCA965F6) +NID(sceNetAdhocctlGetParameter, 0x051D8368) +NID(sceNetAdhocctlGetPeerInfo, 0x14552BB1) +NID(sceNetAdhocctlGetPeerList, 0x356AA25E) +NID(sceNetAdhocctlInit, 0xE2FE9DD6) +NID(sceNetAdhocctlTerm, 0x97A80065) +// Module "SceLibPvf" +// Library "ScePvf" +NID(__scePvfSetFt2DoneLibCHook, 0x58142D71) +NID(__scePvfSetFt2LibCHook, 0x997161C3) +NID(scePvfClose, 0xD282C23C) +NID(scePvfDoneLib, 0xE17717EC) +NID(scePvfFindFont, 0x984E5BFE) +NID(scePvfFindOptimumFont, 0x2761FEAC) +NID(scePvfFlush, 0x687FF765) +NID(scePvfGetCharGlyphImage, 0x37DA496A) +NID(scePvfGetCharGlyphImage_Clip, 0xA55F973F) +NID(scePvfGetCharGlyphOutline, 0x17A7873B) +NID(scePvfGetCharImageRect, 0x6C1B9CAF) +NID(scePvfGetCharInfo, 0xA88EEDB0) +NID(scePvfGetFontInfo, 0xAB0C7CF2) +NID(scePvfGetFontInfoByIndexNumber, 0xF3E1E8BD) +NID(scePvfGetFontList, 0x66F2D767) +NID(scePvfGetKerningInfo, 0xBC90F661) +NID(scePvfGetNumFontList, 0xF6C4A855) +NID(scePvfGetVertCharGlyphImage, 0x8AE8433A) +NID(scePvfGetVertCharGlyphImage_Clip, 0xEEDAB884) +NID(scePvfGetVertCharGlyphOutline, 0xECCB0CEE) +NID(scePvfGetVertCharImageRect, 0x64E0EA8B) +NID(scePvfGetVertCharInfo, 0xB8D01915) +NID(scePvfIsElement, 0x9F018F25) +NID(scePvfIsVertElement, 0xE676A888) +NID(scePvfNewLib, 0x72E58672) +NID(scePvfOpen, 0xE35434BB) +NID(scePvfOpenDefaultJapaneseFontOnSharedMemory, 0xFEEE373A) +NID(scePvfOpenDefaultLatinFontOnSharedMemory, 0x9CBC1A46) +NID(scePvfOpenUserFile, 0xD535520F) +NID(scePvfOpenUserFileWithSubfontIndex, 0x10452B86) +NID(scePvfOpenUserMemory, 0x9E65E4ED) +NID(scePvfOpenUserMemoryWithSubfontIndex, 0xA81570EB) +NID(scePvfPixelToPointH, 0xF56B5B9B) +NID(scePvfPixelToPointV, 0xCDA282D2) +NID(scePvfPointToPixelH, 0x91F02F9A) +NID(scePvfPointToPixelV, 0x35465BD7) +NID(scePvfReleaseCharGlyphOutline, 0xB6CE89E1) +NID(scePvfSetAltCharacterCode, 0x830625C2) +NID(scePvfSetCharSize, 0xF17ADE4D) +NID(scePvfSetEM, 0xDFB677C5) +NID(scePvfSetEmboldenRate, 0x6E787722) +NID(scePvfSetResolution, 0xC4444FB3) +NID(scePvfSetSkewValue, 0x3DD09BC9) +// Module "SceLibRudp" +// Library "SceLibRudp" +NID(sceRudpActivate, 0xF1151D91) +NID(sceRudpBind, 0x8B766108) +NID(sceRudpCreateContext, 0x772C07E8) +NID(sceRudpEnableInternalIOThread, 0x3A495E69) +NID(sceRudpEnd, 0x3EA0961E) +NID(sceRudpFlush, 0x8D45BA52) +NID(sceRudpGetContextStatus, 0xD620B557) +NID(sceRudpGetLocalInfo, 0x4DC43692) +NID(sceRudpGetMaxSegmentSize, 0x68A52861) +NID(sceRudpGetNumberOfPacketsToRead, 0x5D0460CD) +NID(sceRudpGetOption, 0xE68005E3) +NID(sceRudpGetRemoteInfo, 0x104E4D3B) +NID(sceRudpGetSizeReadable, 0x6B74CA22) +NID(sceRudpGetSizeWritable, 0xADE196DC) +NID(sceRudpGetStatus, 0xD77928C5) +NID(sceRudpInit, 0x22C9AA29) +NID(sceRudpInitiate, 0x46B635BD) +NID(sceRudpNetReceived, 0x2C1E736E) +NID(sceRudpPollCancel, 0xA9B92EFE) +NID(sceRudpPollControl, 0x18668BD8) +NID(sceRudpPollCreate, 0x943D96EC) +NID(sceRudpPollDestroy, 0xC9ACBDF0) +NID(sceRudpPollWait, 0x55918C7C) +NID(sceRudpProcessEvents, 0x24E36E39) +NID(sceRudpRead, 0x30A9438E) +NID(sceRudpSetEventHandler, 0x396A24D6) +NID(sceRudpSetMaxSegmentSize, 0xE1DD9645) +NID(sceRudpSetOption, 0xBD87A5CA) +NID(sceRudpTerminate, 0x552B2D3E) +NID(sceRudpWrite, 0x69C9DE15) +// Module "SceLibSsl" +// Library "SceSsl" +NID(sceSslFreeSslCertName, 0xC73687E4) +NID(sceSslGetIssuerName, 0x412711E5) +NID(sceSslGetMemoryPoolStats, 0xBD203262) +NID(sceSslGetNameEntryCount, 0x95E14CA6) +NID(sceSslGetNameEntryInfo, 0x2A857867) +NID(sceSslGetNotAfter, 0xF5ED7B68) +NID(sceSslGetNotBefore, 0x70DEA174) +NID(sceSslGetSerialNumber, 0x901C5C15) +NID(sceSslGetSubjectName, 0x9B2F1BC1) +NID(sceSslInit, 0x3C733316) +NID(sceSslTerm, 0x03CE6E3A) +// Module "SceLibc" +// Library "SceLibc" +NID(_Assert, 0xE4531F85) +NID(_Btowc, 0x1D1DA5AD) +NID(_Ctype, 0x3CE6109D) +NID(_Dbl, 0x338FE545) +NID(_Denorm, 0xF708906E) +NID(_Exit, 0xB53B345B) +NID(_FCbuild, 0xDEC462AB) +NID(_FDenorm, 0x1B05132) +NID(_FInf, 0x8A0F308C) +NID(_FNan, 0x415162DD) +NID(_FSnan, 0x7D35108B) +NID(_Files, 0x855FC605) +NID(_Flt, 0xE5620A03) +NID(_Fltrounds, 0xA2F50E9E) +NID(_Inf, 0x710B5F33) +NID(_Iswctype, 0xE980110A) +NID(_LDenorm, 0x2C8DBEB7) +NID(_LInf, 0x5289BBC0) +NID(_LNan, 0x36D0F07) +NID(_LSnan, 0x48AEEF2A) +NID(_Ldbl, 0x94CE931C) +NID(_Lockfilelock, 0x5044FC32) +NID(_Locksyslock, 0x7DBC0575) +NID(_Mbtowc, 0x5E56EA4E) +NID(_Nan, 0x116F3DA9) +NID(_Snan, 0x677CDE35) +NID(_Stderr, 0xDDF9BB09) +NID(_Stdin, 0x66B7406C) +NID(_Stdout, 0x5D8C1282) +NID(_Stod, 0xBF94193B) +NID(_Stodx, 0x6798AA28) +NID(_Stof, 0x784D8D95) +NID(_Stofx, 0x99A49A62) +NID(_Stold, 0x5AE9FFD8) +NID(_Stoldx, 0x448A3CBE) +NID(_Stoll, 0x6B9E23FE) +NID(_Stollx, 0xD9E3B1C) +NID(_Stolx, 0x52DDCDAF) +NID(_Stoul, 0xE71C5CDE) +NID(_Stoull, 0x6794B3C6) +NID(_Stoullx, 0xD00F68FD) +NID(_Stoulx, 0x7A5CA6A3) +NID(_Tolotab, 0xD662E07C) +NID(_Touptab, 0x36878958) +NID(_Towctrans, 0x9D885076) +NID(_Unlockfilelock, 0xFD5DD98C) +NID(_Unlocksyslock, 0x64DA2C47) +NID(_WStod, 0x322243A8) +NID(_WStof, 0x340AF0F7) +NID(_WStold, 0x1EDA8F09) +NID(_WStoul, 0x87C94271) +NID(_Wctob, 0x2F0C81A6) +NID(_Wctomb, 0x76904D60) +NID(__aeabi_atexit, 0xEDC939E1) +NID(__cxa_atexit, 0x33B83B70) +NID(__cxa_finalize, 0xB538BF48) +NID(__cxa_guard_abort, 0xD18E461D) +NID(__cxa_guard_acquire, 0xD0310E31) +NID(__cxa_guard_release, 0x4ED1056F) +NID(__cxa_set_dso_handle_main, 0xBFE02B3A) +NID(__set_exidx_main, 0x1EFFBAC2) +NID(_sceLibcErrnoLoc, 0x9E248B76) +NID(abort, 0x20FE0FFF) +NID(abs, 0x8E5A06C5) +NID(asctime, 0xC94AE948) +NID(atof, 0xD500DE27) +NID(atoi, 0x21493BE7) +NID(atol, 0xA1DBEE9F) +NID(atoll, 0x875994F3) +NID(bsearch, 0xD1BC28E7) +NID(btowc, 0xEFB3BC61) +NID(calloc, 0xE7EC3D0B) +NID(clearerr, 0x72BA4468) +NID(clock, 0xC082CA03) +NID(ctime, 0x1EA1CA8D) +NID(difftime, 0x33AD70A0) +NID(div, 0xE9F823C0) +NID(exit, 0x826BBBAF) +NID(fclose, 0xEC97321C) +NID(fdopen, 0xB2F318FE) +NID(feof, 0xBF96AD71) +NID(ferror, 0xB724BFC1) +NID(fflush, 0x5AAD2996) +NID(fgetc, 0x672C58E0) +NID(fgetpos, 0x3CDA3118) +NID(fgets, 0xBA14322F) +NID(fgetwc, 0x89541CA5) +NID(fgetws, 0x982AFA4D) +NID(fileno, 0xFEC1502E) +NID(fopen, 0xFFFBE239) +NID(fprintf, 0xE0C79764) +NID(fputc, 0x7E6A6108) +NID(fputs, 0xC8FF13E5) +NID(fputwc, 0xA597CDC8) +NID(fputws, 0xB755927C) +NID(fread, 0xB31C73A9) +NID(free, 0x5B9BB802) +NID(freopen, 0x715C4395) +NID(fscanf, 0x505601C6) +NID(fseek, 0xC3A7CDE1) +NID(fsetpos, 0xDC1BDBD7) +NID(ftell, 0x41C2AF95) +NID(fwide, 0xA77327D2) +NID(fwprintf, 0xE52278E8) +NID(fwrite, 0x8BCDCC4E) +NID(fwscanf, 0x7BFC75C6) +NID(getc, 0x4BD5212E) +NID(getchar, 0x4790BF1E) +NID(gets, 0xF97B8CA3) +NID(getwc, 0x23E0F442) +NID(getwchar, 0x55DB4E32) +NID(gmtime, 0xF283CFE3) +NID(imaxabs, 0x1118B49F) +NID(imaxdiv, 0x5766B4A8) +NID(isalnum, 0x7CC1B964) +NID(isalpha, 0x94A89A00) +NID(isblank, 0xF894ECCB) +NID(iscntrl, 0x13F4A8C8) +NID(isdigit, 0xEB93BC93) +NID(isgraph, 0xDFEEFB1A) +NID(islower, 0x465B93F1) +NID(isprint, 0xB7F87C4D) +NID(ispunct, 0x82C1E3FD) +NID(isspace, 0x18F2A715) +NID(isupper, 0xF2012814) +NID(iswalnum, 0x7E811AF2) +NID(iswalpha, 0xC5ECB7B6) +NID(iswblank, 0xC8FC4BBE) +NID(iswcntrl, 0xC30AE3C7) +NID(iswctype, 0x9E348712) +NID(iswdigit, 0xC37DB2C2) +NID(iswgraph, 0x70632234) +NID(iswlower, 0x40F84B7D) +NID(iswprint, 0xF52F9241) +NID(iswpunct, 0x3922B91A) +NID(iswspace, 0x2BDA4905) +NID(iswupper, 0x9939E1AD) +NID(iswxdigit, 0x82FCEFA4) +NID(isxdigit, 0x3B561695) +NID(labs, 0xBCEA304B) +NID(ldiv, 0xD63330DA) +NID(llabs, 0x9D2D17CD) +NID(lldiv, 0x3F887699) +NID(localtime, 0xF4A2E0BF) +NID(longjmp, 0x2D81C8C8) +NID(malloc, 0x775A0CB2) +NID(malloc_stats, 0x57A729DB) +NID(malloc_stats_fast, 0xB3D29DE1) +NID(malloc_usable_size, 0x54A54EB1) +NID(mblen, 0x3E347849) +NID(mbrlen, 0x1927CAE8) +NID(mbrtowc, 0x910664C3) +NID(mbsinit, 0x961D12F8) +NID(mbsrtowcs, 0x9C14D58E) +NID(mbstowcs, 0x2F75CF9B) +NID(mbtowc, 0xD791A952) +NID(memalign, 0xA9363E6B) +NID(memchr, 0x2F3E5B16) +NID(memcmp, 0x7747F6D7) +NID(memcpy, 0x7205BFDB) +NID(memmove, 0xAF5C218D) +NID(memset, 0x6DC1F0D8) +NID(mktime, 0xD1A2DFC3) +NID(mspace_calloc, 0x30470BBA) +NID(mspace_create, 0xCEF7C575) +NID(mspace_destroy, 0x30CBBC66) +NID(mspace_free, 0x3CDFD2A3) +NID(mspace_is_heap_empty, 0xF355F381) +NID(mspace_malloc, 0xE080B96E) +NID(mspace_malloc_stats, 0x8D2A14C4) +NID(mspace_malloc_stats_fast, 0x2FF5D5BB) +NID(mspace_malloc_usable_size, 0x7AD7A737) +NID(mspace_memalign, 0x52F780DD) +NID(mspace_realloc, 0x4633134A) +NID(mspace_reallocalign, 0x915DA59E) +NID(perror, 0x4696E7BE) +NID(printf, 0x9A004680) +NID(putc, 0x995708A6) +NID(putchar, 0x7CDAC89C) +NID(puts, 0x59C3E171) +NID(putwc, 0x247C71A6) +NID(putwchar, 0x3E04AB1C) +NID(qsort, 0xA7CBE4A6) +NID(rand, 0xC0883865) +NID(rand_r, 0x962097AA) +NID(realloc, 0x6B54BA) +NID(reallocalign, 0x608AC135) +NID(remove, 0x40293B75) +NID(rename, 0x6FE983A3) +NID(rewind, 0x6CA5BAB9) +NID(scanf, 0x9CB9D899) +NID(setbuf, 0x395490DA) +NID(setjmp, 0x50B326CE) +NID(setvbuf, 0x2CA980A0) +NID(snprintf, 0xA1BFF606) +NID(sprintf, 0x7449B359) +NID(srand, 0x3AAD41B0) +NID(sscanf, 0xEC585241) +NID(strcasecmp, 0x184C4B07) +NID(strcat, 0x1434FA46) +NID(strchr, 0xB9336E16) +NID(strcmp, 0x1B58FA3B) +NID(strcoll, 0x46AE2311) +NID(strcpy, 0x85B924B7) +NID(strcspn, 0xE29D27A) +NID(strdup, 0xFF6F77C7) +NID(strerror, 0x1E9D6335) +NID(strftime, 0xEEB76FED) +NID(strlen, 0x8AECC873) +NID(strncasecmp, 0xAF1CA2F1) +NID(strncat, 0xFBA69BC2) +NID(strncmp, 0xE4299DCB) +NID(strncpy, 0x9F87712D) +NID(strpbrk, 0x68C307B6) +NID(strrchr, 0xCEFDD143) +NID(strspn, 0x4203B663) +NID(strstr, 0xD5200CB) +NID(strtod, 0x6CA88B08) +NID(strtof, 0x6CB8540E) +NID(strtoimax, 0xB45FD61E) +NID(strtok, 0x289B8B3) +NID(strtok_r, 0xEB31926D) +NID(strtol, 0x181827ED) +NID(strtold, 0x48C684B2) +NID(strtoll, 0x39B7E681) +NID(strtoul, 0xF34AE312) +NID(strtoull, 0xE0E12333) +NID(strtoumax, 0xB318952F) +NID(strxfrm, 0x4D023DE9) +NID(swprintf, 0x1B581BEB) +NID(swscanf, 0xE1D2AE42) +NID(time, 0xDAE8D60F) +NID(tolower, 0x83F73C88) +NID(toupper, 0x1218642B) +NID(towctrans, 0xCF77D465) +NID(towlower, 0x9C38DE4) +NID(towupper, 0xCACE34B9) +NID(ungetc, 0x2BCB3F01) +NID(ungetwc, 0x39334D9C) +NID(vfprintf, 0xF7915685) +NID(vfscanf, 0xF137771A) +NID(vfwprintf, 0x36BF1E06) +NID(vfwscanf, 0x37A563BE) +NID(vprintf, 0xE7B5E23E) +NID(vscanf, 0xE9BD318) +NID(vsnprintf, 0xFE83F2E4) +NID(vsprintf, 0x802FDDF9) +NID(vsscanf, 0xA9889307) +NID(vswprintf, 0x572DAB57) +NID(vswscanf, 0x9451EE20) +NID(vwprintf, 0xA451B11) +NID(vwscanf, 0xAD0C43DC) +NID(wcrtomb, 0xD9FF289D) +NID(wcscat, 0x2F990FF9) +NID(wcschr, 0xC1587971) +NID(wcscmp, 0xF42128B9) +NID(wcscoll, 0x8EC70609) +NID(wcscpy, 0x8AAADD56) +NID(wcscspn, 0x25F7E46A) +NID(wcsftime, 0x74136BC1) +NID(wcslen, 0xA778A14B) +NID(wcsncat, 0x196AB9F2) +NID(wcsncmp, 0xAAA6AAA2) +NID(wcsncpy, 0x62E9B2D5) +NID(wcspbrk, 0x7F229DB) +NID(wcsrchr, 0xDF806521) +NID(wcsrtombs, 0xD8889FC8) +NID(wcsspn, 0x5F5AA692) +NID(wcsstr, 0x5BE328EE) +NID(wcstod, 0x35D7F1B1) +NID(wcstof, 0x64123137) +NID(wcstoimax, 0x3F2D104F) +NID(wcstok, 0xA17C24A3) +NID(wcstol, 0xFBEB657E) +NID(wcstold, 0x2D7C3A7A) +NID(wcstoll, 0x6EEFB7D7) +NID(wcstombs, 0x9A8F7FC0) +NID(wcstoul, 0xACF13D54) +NID(wcstoull, 0xCBFF8200) +NID(wcstoumax, 0xB9E511B4) +NID(wcsxfrm, 0xF6069AFD) +NID(wctob, 0x704321CC) +NID(wctomb, 0x6489B5E4) +NID(wctrans, 0xE8270951) +NID(wctype, 0xA967B88D) +NID(wmemchr, 0x7A08BE70) +NID(wmemcmp, 0x9864C99F) +NID(wmemcpy, 0xD9F9DDCD) +NID(wmemmove, 0x53F7EB4B) +NID(wmemset, 0x4D04A480) +NID(wprintf, 0xBF2F5FCE) +NID(wscanf, 0xADC32204) +// Module "SceLiveAreaUtil" +// Library "SceLiveAreaUtil" +NID(sceLiveAreaGetFrameRevision, 0xD6EE2214) +NID(sceLiveAreaGetFrameUserData, 0xD6FD367F) +NID(sceLiveAreaGetRevision, 0x833F5D0A) +NID(sceLiveAreaGetStatus, 0x7FE5B83F) +NID(sceLiveAreaReplaceAllAsync, 0x18066BA9) +NID(sceLiveAreaReplaceAllSync, 0x29C65C0B) +NID(sceLiveAreaUpdateFrameAsync, 0xD330285D) +NID(sceLiveAreaUpdateFrameSync, 0xCFCEDE95) +// Module "SceLsdb" +// Library "SceLsdb" +NID(sceLsdbGetAppVer, 0x63AB6A8F) +NID(sceLsdbGetAttribute, 0xD494B2C3) +NID(sceLsdbGetBootable, 0x46BF2766) +NID(sceLsdbGetCategory, 0x6469796F) +NID(sceLsdbGetDiscId, 0x1F569CFC) +NID(sceLsdbGetGameDataId, 0x2FFE0E3F) +NID(sceLsdbGetMetaContentsPath, 0x9117289F) +NID(sceLsdbGetName, 0xD02A8B85) +NID(sceLsdbGetOriginalPath, 0x92D14842) +NID(sceLsdbGetParentalLevel, 0x226B12F7) +NID(sceLsdbGetSelfPath, 0xD6B57313) +NID(sceLsdbGetStitle, 0x3B064DF5) +NID(sceLsdbGetSystemVersion, 0x9AE94B9F) +NID(sceLsdbGetTitle, 0x4141EBCD) +NID(sceLsdbGetType, 0xDEC358E4) +// Module "SceMd5" +// Library "SceMd5" +NID(sceMd5BlockInit, 0x4D6436F9) +NID(sceMd5BlockResult, 0xB94ABF83) +NID(sceMd5BlockUpdate, 0x094A4902) +NID(sceMd5Digest, 0xB845BCCB) +// Module "SceMotion" +// Library "SceMotion" +NID(sceMotionGetAngleThreshold, 0x499B6C87) +NID(sceMotionGetBasicOrientation, 0x4F28BFE0) +NID(sceMotionGetDeadband, 0x112E0EAE) +NID(sceMotionGetDeviceLocation, 0x047F060A) +NID(sceMotionGetGyroBiasCorrection, 0xE8A28DA5) +NID(sceMotionGetMagnetometerState, 0x3D4813AE) +NID(sceMotionGetSensorState, 0x47D679EA) +NID(sceMotionGetState, 0xBDB32767) +NID(sceMotionGetTiltCorrection, 0xC1652201) +NID(sceMotionMagnetometerOff, 0xC1A7395A) +NID(sceMotionMagnetometerOn, 0x122A79F8) +NID(sceMotionReset, 0x0FD2CDA2) +NID(sceMotionRotateYaw, 0x20F00078) +NID(sceMotionSetAngleThreshold, 0xDACB2A41) +NID(sceMotionSetDeadband, 0x917EA390) +NID(sceMotionSetGyroBiasCorrection, 0xA4A7E6E2) +NID(sceMotionSetTiltCorrection, 0xAF09FCDB) +NID(sceMotionStartSampling, 0x28034AC9) +NID(sceMotionStopSampling, 0xAF32CB1D) +// Module "SceMotionDev" +// Library "SceMotionDev" +NID(sceMotionDevGetAccCalibData, 0xAF014866) +NID(sceMotionDevGetAccCalibData2, 0xD582B628) +NID(sceMotionDevGetCalibrationData, 0x716C685B) +NID(sceMotionDevGetCalibrationHeader, 0xBDEC1E32) +NID(sceMotionDevGetControllerType, 0xA2CD11F6) +NID(sceMotionDevGetCurrentMagnCalibData, 0xAAB4B41F) +NID(sceMotionDevGetCurrentMagnStabilityLevel, 0x067F06D9) +NID(sceMotionDevGetDeviceInfo, 0x1F1EFEFB) +NID(sceMotionDevGetDeviceLocation, 0x5EDEA879) +NID(sceMotionDevGetDs3CalibData, 0x1FD76B5E) +NID(sceMotionDevGetFactoryMagnCalibData, 0x777D57D2) +NID(sceMotionDevGetGyroBias, 0x6D033072) +NID(sceMotionDevGetGyroBias2, 0x12B9F05E) +NID(sceMotionDevGetGyroCalibData, 0x74555D91) +NID(sceMotionDevGetGyroCalibData2, 0x160E8DE9) +NID(sceMotionDevGetMeasMode, 0xEA95D3C9) +NID(sceMotionDevIsReady, 0xE8A3E48E) +NID(sceMotionDevMagnSamplingStart, 0x16DD5913) +NID(sceMotionDevMagnSamplingStop, 0xE72A35B8) +NID(sceMotionDevRead, 0xC0095F0F) +NID(sceMotionDevRead2, 0xFB87948E) +NID(sceMotionDevRead3, 0x27954BC7) +NID(sceMotionDevReadForMagnCalib, 0xCC4FDA6A) +NID(sceMotionDevSamplingStart, 0x47948D9C) +NID(sceMotionDevSamplingStart2, 0xB51E02E8) +NID(sceMotionDevSamplingStop, 0x56C1551E) +NID(sceMotionDevSamplingStop2, 0x9E868205) +NID(sceMotionDevSetGyroFeedBack, 0xCCAEBF59) +NID(sceMotionDevSetSamplingMode, 0x3EAA8A4F) +NID(sceMotionDevUpdateMagnCalibData, 0x787384FA) +NID(sceMotionDevUpdateMagnStabilityLevel, 0xEC94F683) +// Module "SceMt19937" +// Library "SceMt19937" +NID(sceMt19937Init, 0xEE5BA27C) +NID(sceMt19937UInt, 0x29E43BB5) +// Module "SceMtpIfDriver" +// Library "SceMtpIf" +NID(sceMtpIfCancelTransfer, 0x80D1CA60) +NID(sceMtpIfChangePhase, 0x695B0DE4) +NID(sceMtpIfGetPort, 0x352F61B9) +NID(sceMtpIfIsConnected, 0xA9C97661) +NID(sceMtpIfRecvCommand, 0x468B6E3E) +NID(sceMtpIfRecvDataWithParam, 0x6EDB6FB4) +NID(sceMtpIfReset, 0x315FDE8E) +NID(sceMtpIfSendDataWithParam, 0x87CC6686) +NID(sceMtpIfSendEvent, 0xE3C33379) +NID(sceMtpIfSendResponse, 0xDD08CA01) +NID(sceMtpIfStartDriver, 0xC5327CAC) +NID(sceMtpIfStartPort, 0x1624280E) +NID(sceMtpIfStopDriver, 0xC0CFA3BC) +NID(sceMtpIfStopPort, 0xD3C974D9) +NID(sceMtpIfWaitConnect, 0x1E0156BE) +// Module "SceMusicExport" +// Library "SceMusicExport" +NID(sceMusicExportFromFile, 0x08000579) +// Module "SceNearDialogUtil" +// Library "SceNearDialogUtil" +NID(sceNearDialogAbort, 0x7790BDB4) +NID(sceNearDialogGetResult, 0xD46E5257) +NID(sceNearDialogGetStatus, 0x1341672D) +NID(sceNearDialogInit, 0xE493D3B8) +NID(sceNearDialogTerm, 0xA3D52935) +NID(sceNearUtilityCloseDiscoveredGiftImage, 0x3289BF4A) +NID(sceNearUtilityCloseReceivedGiftData, 0x28394CD7) +NID(sceNearUtilityConvertDiscoveredGiftParam, 0xF3FBFFE9) +NID(sceNearUtilityDeleteDiscoveredGift, 0x44EA7FA3) +NID(sceNearUtilityDeleteGift, 0x722E8B53) +NID(sceNearUtilityFinalize, 0x52BBF4C5) +NID(sceNearUtilityGetDiscoveredGiftInfo, 0xAF4740D1) +NID(sceNearUtilityGetDiscoveredGiftSender, 0xE2A90639) +NID(sceNearUtilityGetDiscoveredGiftStatus, 0xD6FFC962) +NID(sceNearUtilityGetDiscoveredGifts, 0xF684C554) +NID(sceNearUtilityGetGift, 0x8CBD3BF9) +NID(sceNearUtilityGetGiftStatus, 0xCCB5FF48) +NID(sceNearUtilityGetLastNeighborFoundDateTime, 0x9D6A7AD4) +NID(sceNearUtilityGetMyStatus, 0x1265745D) +NID(sceNearUtilityGetNeighbors, 0x61A68242) +NID(sceNearUtilityGetNewNeighbors, 0x44A0F2B7) +NID(sceNearUtilityGetRecentNeighbors, 0xDA56F2F1) +NID(sceNearUtilityIgnoreDiscoveredGift, 0xB04B9676) +NID(sceNearUtilityInitialize, 0xECA38E35) +NID(sceNearUtilityLaunchNearAppForDownload, 0x6DBC14B8) +NID(sceNearUtilityLaunchNearAppForUpdate, 0x8D32729E) +NID(sceNearUtilityOpenDiscoveredGiftImage, 0xBF1B4BB9) +NID(sceNearUtilityOpenReceivedGiftData, 0x486BEBDB) +NID(sceNearUtilityReadDiscoveredGiftImage, 0x200D6143) +NID(sceNearUtilityReadReceivedGiftData, 0x30C8B7A3) +NID(sceNearUtilityRefresh, 0x74E55A3B) +NID(sceNearUtilitySetGift, 0x294693CB) +NID(sceNearUtilitySetGift2, 0xDBEFB12E) +// Module "SceNearUtil" +// Library "SceNearUtil" +NID(sceNearCloseDiscoveredGiftImage, 0x88A68D20) +NID(sceNearCloseReceivedGiftData, 0x2F35C196) +NID(sceNearConvertDiscoveredGiftParam, 0x80D6C552) +NID(sceNearDeleteDiscoveredGift, 0x8CBEB2DA) +NID(sceNearDeleteGift, 0x52021026) +NID(sceNearFinalize, 0xFF3BC581) +NID(sceNearFinalizeAndLaunchNearApp, 0x3F3F6D92) +NID(sceNearGetDiscoveredGiftInfo, 0x773ABEA9) +NID(sceNearGetDiscoveredGiftSender, 0xEFE6F060) +NID(sceNearGetDiscoveredGiftStatus, 0xA64D9D38) +NID(sceNearGetDiscoveredGifts, 0xDE6F0859) +NID(sceNearGetGift, 0xDB8BAC35) +NID(sceNearGetGiftStatus, 0x8F3CC01C) +NID(sceNearGetLastNeighborFoundDateTime, 0xD393578E) +NID(sceNearGetMyStatus, 0xAEF3022A) +NID(sceNearGetNeighbors, 0xAD264F5F) +NID(sceNearGetNewNeighbors, 0x6C2E610F) +NID(sceNearGetRecentNeighbors, 0xE75A5A9B) +NID(sceNearIgnoreDiscoveredGift, 0x360D4A19) +NID(sceNearInitialize, 0xBBCA5813) +NID(sceNearLaunchNearAppForDownload, 0xB22CB01D) +NID(sceNearLaunchNearAppForUpdate, 0xF3398774) +NID(sceNearOpenDiscoveredGiftImage, 0xF8C15008) +NID(sceNearOpenReceivedGiftData, 0x06807CA3) +NID(sceNearReadDiscoveredGiftImage, 0x2364D6BD) +NID(sceNearReadReceivedGiftData, 0xB14145DD) +NID(sceNearRefresh, 0x2ED36EE2) +NID(sceNearSetGift, 0x146BE236) +NID(sceNearSetGift2, 0x4CCE6A14) +// Module "SceNet" +// Library "SceNet" +NID(sceNetAccept, 0x1ADF9BB1) +NID(sceNetBind, 0x1296A94B) +NID(sceNetClearDnsCache, 0xFEC1166D) +NID(sceNetConnect, 0x11E5B6F6) +NID(sceNetDumpAbort, 0x3B24E75F) +NID(sceNetDumpCreate, 0xAFF9FA4D) +NID(sceNetDumpDestroy, 0x82DDCF63) +NID(sceNetDumpRead, 0x04042925) +NID(sceNetEpollAbort, 0x93FCC4E8) +NID(sceNetEpollControl, 0x4C8764AC) +NID(sceNetEpollCreate, 0xF9D102AE) +NID(sceNetEpollDestroy, 0x7915CAF3) +NID(sceNetEpollWait, 0x45CE337D) +NID(sceNetEpollWaitCB, 0x92D3E767) +NID(sceNetErrnoLoc, 0xE37F34AA) +NID(sceNetEtherNtostr, 0x84334EB2) +NID(sceNetEtherStrton, 0xEEC6D75F) +NID(sceNetGetMacAddress, 0x06C05518) +NID(sceNetGetSockIdInfo, 0x138CF1D6) +NID(sceNetGetSockInfo, 0xB1AF6840) +NID(sceNetGetStatisticsInfo, 0xA86F8FE5) +NID(sceNetGetpeername, 0x2348D353) +NID(sceNetGetsockname, 0x1C66A6DB) +NID(sceNetGetsockopt, 0xBA652062) +NID(sceNetHtonl, 0x4C30B03C) +NID(sceNetHtonll, 0x12C19209) +NID(sceNetHtons, 0x9FA3207B) +NID(sceNetInetNtop, 0x98839B74) +NID(sceNetInetPton, 0xD5EEB048) +NID(sceNetInit, 0xEB03E265) +NID(sceNetListen, 0x7A8DA094) +NID(sceNetNtohl, 0xD2EAA645) +NID(sceNetNtohll, 0xFB3336A6) +NID(sceNetNtohs, 0x07845128) +NID(sceNetRecv, 0x023643B7) +NID(sceNetRecvfrom, 0xB226138B) +NID(sceNetRecvmsg, 0xDE94C6FE) +NID(sceNetResolverAbort, 0x38EBBD57) +NID(sceNetResolverCreate, 0x6DA29319) +NID(sceNetResolverDestroy, 0x3559F098) +NID(sceNetResolverGetError, 0x874EF500) +NID(sceNetResolverStartAton, 0x0424AE26) +NID(sceNetResolverStartNtoa, 0x1EB11857) +NID(sceNetSend, 0xE3DD8CD9) +NID(sceNetSendmsg, 0x99C579AE) +NID(sceNetSendto, 0x52DB31D5) +NID(sceNetSetDnsInfo, 0xD62EF218) +NID(sceNetSetsockopt, 0x065505CA) +NID(sceNetShowIfconfig, 0x658B903B) +NID(sceNetShowNetstat, 0x338EDC2E) +NID(sceNetShowRoute, 0x6AB3B74B) +NID(sceNetShutdown, 0x69E50BB5) +NID(sceNetSocket, 0xF084FCE3) +NID(sceNetSocketAbort, 0x891C1B9B) +NID(sceNetSocketClose, 0x29822B4D) +NID(sceNetTerm, 0xEA3CC286) +// Module "SceNetAdhocMatching" +// Library "SceNetAdhocMatching" +NID(sceNetAdhocMatchingAbortSendData, 0xFE77831E) +NID(sceNetAdhocMatchingCancelTarget, 0x04FF010C) +NID(sceNetAdhocMatchingCancelTargetWithOpt, 0x54F6534D) +NID(sceNetAdhocMatchingCreate, 0x7BAD7EA2) +NID(sceNetAdhocMatchingDelete, 0x7BCDD889) +NID(sceNetAdhocMatchingGetHelloOpt, 0x90AFFEDD) +NID(sceNetAdhocMatchingGetMembers, 0x85B23CEB) +NID(sceNetAdhocMatchingInit, 0x8E0E0EAE) +NID(sceNetAdhocMatchingSelectTarget, 0x9A6B1D0F) +NID(sceNetAdhocMatchingSendData, 0x83C0E435) +NID(sceNetAdhocMatchingSetHelloOpt, 0x659D4B04) +NID(sceNetAdhocMatchingStart, 0xF13E17BE) +NID(sceNetAdhocMatchingStop, 0x63ABB632) +NID(sceNetAdhocMatchingTerm, 0x6E195CD1) +// Module "SceNgs" +// Library "SceNgs" +NID(sceNgsAT9GetSectionDetails, 0x2A9FA501) +NID(sceNgsModuleGetNumPresets, 0x5C71FE09) +NID(sceNgsModuleGetPreset, 0xC58298A7) +NID(sceNgsPatchCreateRouting, 0xD668B49C) +NID(sceNgsPatchGetInfo, 0x98703DBC) +NID(sceNgsPatchRemoveRouting, 0xD0C9AE5A) +NID(sceNgsRackGetRequiredMemorySize, 0x477318C0) +NID(sceNgsRackGetVoiceHandle, 0xFE1A98E9) +NID(sceNgsRackInit, 0x0A92E4EC) +NID(sceNgsRackRelease, 0xDD5CA10B) +NID(sceNgsRackSetParamErrorCallback, 0x534B6E3F) +NID(sceNgsSystemGetRequiredMemorySize, 0x6CE8B36F) +NID(sceNgsSystemInit, 0xED14CF4A) +NID(sceNgsSystemLock, 0xB9D971F2) +NID(sceNgsSystemRelease, 0x4A25BEBC) +NID(sceNgsSystemSetFlags, 0x64D80013) +NID(sceNgsSystemSetParamErrorCallback, 0x5ADD22DC) +NID(sceNgsSystemUnlock, 0x0A93EA96) +NID(sceNgsSystemUpdate, 0x684F080C) +NID(sceNgsVoiceBypassModule, 0x9AB87E71) +NID(sceNgsVoiceDefGetAtrac9Voice, 0x14EF65A0) +NID(sceNgsVoiceDefGetCompressorBuss, 0x0E0ACB68) +NID(sceNgsVoiceDefGetCompressorSideChainBuss, 0x1AF83512) +NID(sceNgsVoiceDefGetDelayBuss, 0x4D705E3E) +NID(sceNgsVoiceDefGetDistortionBuss, 0xAAD90DEB) +NID(sceNgsVoiceDefGetEnvelopeBuss, 0xF6B68C31) +NID(sceNgsVoiceDefGetEqBuss, 0xF964120E) +NID(sceNgsVoiceDefGetMasterBuss, 0x79A121D1) +NID(sceNgsVoiceDefGetMixerBuss, 0xE0AC8776) +NID(sceNgsVoiceDefGetPauserBuss, 0x214485D6) +NID(sceNgsVoiceDefGetPitchShiftBuss, 0xFBE515D4) +NID(sceNgsVoiceDefGetReverbBuss, 0x9DCF50F5) +NID(sceNgsVoiceDefGetSasEmuVoice, 0x1F51C2BA) +NID(sceNgsVoiceDefGetScreamAtrac9Voice, 0xCD63A2BF) +NID(sceNgsVoiceDefGetScreamVoice, 0xCE53BC33) +NID(sceNgsVoiceDefGetSimpleAtrac9Voice, 0x45CF2A73) +NID(sceNgsVoiceDefGetSimpleVoice, 0x0D5399CF) +NID(sceNgsVoiceDefGetTemplate1, 0xE9B572B7) +NID(sceNgsVoiceGetInfo, 0x5551410D) +NID(sceNgsVoiceGetModuleBypass, 0x431BF3AB) +NID(sceNgsVoiceGetModuleType, 0xB307185E) +NID(sceNgsVoiceGetOutputPatch, 0x01A52E3A) +NID(sceNgsVoiceGetParamsOutOfRange, 0x4CBE08F3) +NID(sceNgsVoiceGetStateData, 0xC9B8C0B4) +NID(sceNgsVoiceInit, 0x1DDBEBEB) +NID(sceNgsVoiceKeyOff, 0xBB13373D) +NID(sceNgsVoiceKill, 0x0E291AAD) +NID(sceNgsVoiceLockParams, 0xAB6BEF8F) +NID(sceNgsVoicePatchSetVolume, 0xA3C807BC) +NID(sceNgsVoicePatchSetVolumes, 0xBD6F57F0) +NID(sceNgsVoicePatchSetVolumesMatrix, 0xA0F5402D) +NID(sceNgsVoicePause, 0xD7786E99) +NID(sceNgsVoicePlay, 0xFA0A0F34) +NID(sceNgsVoiceResume, 0x54CFB981) +NID(sceNgsVoiceSetFinishedCallback, 0x17A6F564) +NID(sceNgsVoiceSetModuleCallback, 0x24E909A8) +NID(sceNgsVoiceSetParamsBlock, 0xFB8174B1) +NID(sceNgsVoiceSetPreset, 0x8A88E665) +NID(sceNgsVoiceUnlockParams, 0x3D46D8A7) +NID(sceSulphaNgsGetDefaultConfig, 0x5FD8AEDB) +NID(sceSulphaNgsGetNeededMemory, 0x793E3E8C) +NID(sceSulphaNgsInit, 0xAFCD824F) +NID(sceSulphaNgsSetRackName, 0x251AF6A9) +NID(sceSulphaNgsSetSampleName, 0x54EC5B8D) +NID(sceSulphaNgsSetSynthName, 0x2F3F7515) +NID(sceSulphaNgsSetVoiceName, 0x508975BD) +NID(sceSulphaNgsShutdown, 0xD124BFB1) +NID(sceSulphaNgsTrace, 0xDC7C0F05) +// Module "SceNpActivity" +// Library "SceNpActivity" +NID(sceNpActivityInit, 0xE0FFEE97) +NID(sceNpActivityPostStatus, 0xBC7FDC77) +NID(sceNpActivityTerm, 0x9EA4901F) +// Module "SceNpBasic" +// Library "SceNpBasic" +NID(sceNpBasicCheckCallback, 0x20146AEC) +NID(sceNpBasicCheckIfPlayerIsBlocked, 0xF51545D8) +NID(sceNpBasicGetBlockListEntries, 0x1211AE8E) +NID(sceNpBasicGetBlockListEntryCount, 0x407E1E6F) +NID(sceNpBasicGetFriendContextState, 0x9A9E2021) +NID(sceNpBasicGetFriendListEntries, 0xFF07E787) +NID(sceNpBasicGetFriendListEntryCount, 0xDF41F308) +NID(sceNpBasicGetFriendOnlineStatus, 0x5183A4B5) +NID(sceNpBasicGetFriendRequestEntries, 0x91BF63CB) +NID(sceNpBasicGetFriendRequestEntryCount, 0xFE98E45A) +NID(sceNpBasicGetGameJoiningPresence, 0x863249CB) +NID(sceNpBasicGetGamePresenceOfFriend, 0xEF8A91BC) +NID(sceNpBasicGetPlaySessionLog, 0x364531A8) +NID(sceNpBasicGetPlaySessionLogSize, 0xFB0F7FDF) +NID(sceNpBasicGetRequestedFriendRequestEntries, 0x3700E00C) +NID(sceNpBasicGetRequestedFriendRequestEntryCount, 0xB9041420) +NID(sceNpBasicInit, 0xEFB91A99) +NID(sceNpBasicJoinGameAckResponseSend, 0x8C90CC09) +NID(sceNpBasicRecordPlaySessionLog, 0x3B0A7F47) +NID(sceNpBasicRegisterHandler, 0x26E6E048) +NID(sceNpBasicRegisterJoinGameAckHandler, 0xE02A445C) +NID(sceNpBasicSendInGameDataMessage, 0x7A5020A5) +NID(sceNpBasicSetInGamePresence, 0x51D75562) +NID(sceNpBasicTerm, 0x389BCB3B) +NID(sceNpBasicUnregisterHandler, 0x050AE072) +NID(sceNpBasicUnregisterJoinGameAckHandler, 0x2A764628) +NID(sceNpBasicUnsetInGamePresence, 0xD20C2370) +// Module "SceNpCommerce2" +// Library "SceNpCommerce2" +NID(sceNpCommerce2AbortReq, 0xE7486A60) +NID(sceNpCommerce2CreateCtx, 0x123E55F4) +NID(sceNpCommerce2CreateSessionCreateReq, 0xFDB39774) +NID(sceNpCommerce2CreateSessionGetResult, 0xAEE8D3DF) +NID(sceNpCommerce2CreateSessionStart, 0xBBDDF866) +NID(sceNpCommerce2DestroyCtx, 0x6CD27BD0) +NID(sceNpCommerce2DestroyGetCategoryContentsResult, 0x9CD463F8) +NID(sceNpCommerce2DestroyGetProductInfoListResult, 0x24D3FE34) +NID(sceNpCommerce2DestroyGetProductInfoResult, 0xADF3BD5B) +NID(sceNpCommerce2DestroyReq, 0xA4464754) +NID(sceNpCommerce2GetCategoryContentsCreateReq, 0x5CF665E0) +NID(sceNpCommerce2GetCategoryContentsGetResult, 0xC47CDB59) +NID(sceNpCommerce2GetCategoryContentsStart, 0x774F88D0) +NID(sceNpCommerce2GetCategoryInfo, 0xB88DB7C2) +NID(sceNpCommerce2GetCategoryInfoFromContentInfo, 0x56B80FAF) +NID(sceNpCommerce2GetContentInfo, 0xDE45F84F) +NID(sceNpCommerce2GetContentRatingDescriptor, 0x315B9BD0) +NID(sceNpCommerce2GetContentRatingInfoFromCategoryInfo, 0xD6A5B200) +NID(sceNpCommerce2GetContentRatingInfoFromGameProductInfo, 0x7894DCDF) +NID(sceNpCommerce2GetGameProductInfo, 0xA308B496) +NID(sceNpCommerce2GetGameProductInfoFromContentInfo, 0x021DC797) +NID(sceNpCommerce2GetGameProductInfoFromGetProductInfoListResult, 0x0550C016) +NID(sceNpCommerce2GetGameSkuInfoFromGameProductInfo, 0x3B7C81A5) +NID(sceNpCommerce2GetPrice, 0x88D236DF) +NID(sceNpCommerce2GetProductInfoCreateReq, 0xB0AFF6C9) +NID(sceNpCommerce2GetProductInfoGetResult, 0x363922BA) +NID(sceNpCommerce2GetProductInfoListCreateReq, 0xE81B8BAD) +NID(sceNpCommerce2GetProductInfoListGetResult, 0x4DFBCDD6) +NID(sceNpCommerce2GetProductInfoListStart, 0x18BDC4BD) +NID(sceNpCommerce2GetProductInfoStart, 0xC594ADC2) +NID(sceNpCommerce2GetSessionInfo, 0xF6F23623) +NID(sceNpCommerce2GetShortfallOfLibhttpPool, 0x586B0599) +NID(sceNpCommerce2GetShortfallOfLibsslPool, 0xBA5A5784) +NID(sceNpCommerce2HidePsStoreIcon, 0xFFC8B18B) +NID(sceNpCommerce2Init, 0xC73F209A) +NID(sceNpCommerce2InitGetCategoryContentsResult, 0x5135EA31) +NID(sceNpCommerce2InitGetProductInfoListResult, 0x29186E27) +NID(sceNpCommerce2InitGetProductInfoResult, 0x118E1C5E) +NID(sceNpCommerce2ShowPsStoreIcon, 0x84E56A6D) +NID(sceNpCommerce2StartEmptyStoreCheck, 0x7132EAA5) +NID(sceNpCommerce2StopEmptyStoreCheck, 0x84C336C6) +NID(sceNpCommerce2Term, 0xB99958AE) +// Module "SceNpCommon" +// Library "SceNpCommon" +NID(sceNpAuthAbortRequest, 0xE2582575) +NID(sceNpAuthCreateStartRequest, 0xED42079F) +NID(sceNpAuthDestroyRequest, 0x14FC18AF) +NID(sceNpAuthGetEntitlementById, 0xF93842F0) +NID(sceNpAuthGetEntitlementByIdPrefix, 0xC8E51CCA) +NID(sceNpAuthGetEntitlementIdList, 0x3377CD37) +NID(sceNpAuthGetTicket, 0x59608D1C) +NID(sceNpAuthGetTicketParam, 0xC1E23E01) +NID(sceNpAuthInit, 0x441D8B4E) +NID(sceNpAuthTerm, 0x6093B689) +NID(sceNpCmpNpId, 0xFB8D82E5) +NID(sceNpCmpNpIdInOrder, 0x6BC8150A) +NID(sceNpCmpOnlineId, 0x8327C26F) +NID(sceNpGetPlatformType, 0xE9A003DE) +NID(sceNpSetPlatformType, 0xE807D0BC) +// Module "SceNpDrm" +// Library "SceNpDrm" +NID(_sceNpDrmCheckActData, 0xFEEBCD62) +NID(_sceNpDrmCheckDrmReset, 0x4458812B) +NID(_sceNpDrmGetFixedRifName, 0xE935B0FC) +NID(_sceNpDrmGetRifInfo, 0xE8343660) +NID(_sceNpDrmGetRifName, 0xB8C5DA7C) +NID(_sceNpDrmGetRifNameForInstall, 0xD312424D) +NID(_sceNpDrmPresetRifProvisionalFlag, 0x2523F57F) +NID(_sceNpDrmRemoveActData, 0x507D06A6) +// Library "SceNpDrmPackage" +NID(_sceNpDrmPackageCheck, 0xA1D885FA) +NID(_sceNpDrmPackageDecrypt, 0xD6F05ACC) +NID(_sceNpDrmPackageInstallFinished, 0x6896EAF2) +NID(_sceNpDrmPackageInstallStarted, 0xCEC18DA4) +NID(_sceNpDrmPackageTransform, 0x0567DCA1) +NID(_sceNpDrmPackageUninstallFinished, 0x23A28861) +NID(_sceNpDrmPackageUninstallStarted, 0x4901C3E6) +NID(sceNpDrmPackageInstallOngoing, 0xED0471FE) +NID(sceNpDrmPackageIsGameExist, 0xB9337914) +NID(sceNpDrmPackageUninstallOngoing, 0xF1FF6193) +// Module "SceNpManager" +// Library "SceNpManager" +NID(sceNpCheckCallback, 0x3B0AE9A9) +NID(sceNpGetServiceState, 0x54060DF6) +NID(sceNpInit, 0x04D9F484) +NID(sceNpManagerGetAccountRegion, 0xFE835967) +NID(sceNpManagerGetCachedParam, 0x43DC48A1) +NID(sceNpManagerGetChatRestrictionFlag, 0x60C575B1) +NID(sceNpManagerGetContentRatingFlag, 0xAF0073B2) +NID(sceNpManagerGetNpId, 0x3C94B4B4) +NID(sceNpRegisterServiceStateCallback, 0x44239C35) +NID(sceNpTerm, 0x19E40AE1) +NID(sceNpUnregisterServiceStateCallback, 0xD9E6E56C) +// Module "SceNpMatching2" +// Library "SceNpMatching2" +NID(sceNpMatching2AbortContextStart, 0xF2847E3B) +NID(sceNpMatching2AbortRequest, 0x74EB6CE9) +NID(sceNpMatching2ContextStart, 0xBB2E7559) +NID(sceNpMatching2ContextStop, 0x506454DE) +NID(sceNpMatching2CreateContext, 0xADF578E1) +NID(sceNpMatching2CreateJoinRoom, 0x818A9499) +NID(sceNpMatching2DestroyContext, 0x368AA759) +NID(sceNpMatching2GetLobbyInfoList, 0x86E7C97D) +NID(sceNpMatching2GetMemoryInfo, 0x7BD39E50) +NID(sceNpMatching2GetRoomDataExternalList, 0x5BE8B86F) +NID(sceNpMatching2GetRoomDataInternal, 0xC61C79EE) +NID(sceNpMatching2GetRoomMemberDataExternalList, 0x11BEFFA8) +NID(sceNpMatching2GetRoomMemberDataInternal, 0x28C643B7) +NID(sceNpMatching2GetRoomMemberIdListLocal, 0xB6E8C059) +NID(sceNpMatching2GetRoomPasswordLocal, 0xD22C4989) +NID(sceNpMatching2GetServerLocal, 0x65C0FEED) +NID(sceNpMatching2GetSignalingOptParamLocal, 0x495D2B46) +NID(sceNpMatching2GetUserInfoList, 0x78521326) +NID(sceNpMatching2GetWorldInfoList, 0xC086B560) +NID(sceNpMatching2GrantRoomOwner, 0x86458025) +NID(sceNpMatching2Init, 0xEBB1FE74) +NID(sceNpMatching2JoinLobby, 0x86CED8AF) +NID(sceNpMatching2JoinRoom, 0x33F7D5AE) +NID(sceNpMatching2KickoutRoomMember, 0xA8021394) +NID(sceNpMatching2LeaveLobby, 0x1E70D5B5) +NID(sceNpMatching2LeaveRoom, 0xC8B0C9EE) +NID(sceNpMatching2RegisterContextCallback, 0xF9E35566) +NID(sceNpMatching2RegisterLobbyEventCallback, 0x3C507D4A) +NID(sceNpMatching2RegisterLobbyMessageCallback, 0x4E3193D2) +NID(sceNpMatching2RegisterRoomEventCallback, 0xF486991B) +NID(sceNpMatching2RegisterRoomMessageCallback, 0xFA51949B) +NID(sceNpMatching2RegisterSignalingCallback, 0x1C60BC5B) +NID(sceNpMatching2SearchRoom, 0xD48BAF13) +NID(sceNpMatching2SendLobbyChatMessage, 0x9388A007) +NID(sceNpMatching2SendRoomChatMessage, 0xE0BE0510) +NID(sceNpMatching2SendRoomMessage, 0x7B908D99) +NID(sceNpMatching2SetDefaultRequestOptParam, 0xF3A43C50) +NID(sceNpMatching2SetRoomDataExternal, 0x8F88AC7E) +NID(sceNpMatching2SetRoomDataInternal, 0x94784A8C) +NID(sceNpMatching2SetRoomMemberDataInternal, 0xD3096C55) +NID(sceNpMatching2SetSignalingOptParam, 0x6E48307F) +NID(sceNpMatching2SetUserInfo, 0xF049BEC1) +NID(sceNpMatching2SignalingCancelPeerNetInfo, 0xADCD102C) +NID(sceNpMatching2SignalingGetConnectionInfo, 0x20598618) +NID(sceNpMatching2SignalingGetConnectionStatus, 0x4E4C55BD) +NID(sceNpMatching2SignalingGetLocalNetInfo, 0x79310806) +NID(sceNpMatching2SignalingGetPeerNetInfo, 0xF0CB1DD3) +NID(sceNpMatching2SignalingGetPeerNetInfoResult, 0xFDC7B2C9) +NID(sceNpMatching2SignalingGetPingInfo, 0x881F7428) +NID(sceNpMatching2Term, 0x0124641C) +// Module "SceNpMessage" +// Library "SceNpMessage" +NID(sceNpMessageAbort, 0x707B26C2) +NID(sceNpMessageGetAttachedData, 0x7E697F98) +NID(sceNpMessageGetMessage, 0x514A4320) +NID(sceNpMessageGetMessageEntries, 0xC86B6DA7) +NID(sceNpMessageGetMessageEntry, 0x70116381) +NID(sceNpMessageGetMessageEntryCount, 0x1DBD26D2) +NID(sceNpMessageInit, 0x258DA4AC) +NID(sceNpMessageInitWithParam, 0x26AF5306) +NID(sceNpMessageSetAttachedDataUsedFlag, 0xF533A73A) +NID(sceNpMessageSyncMessage, 0x35BE21C5) +NID(sceNpMessageTerm, 0x380230A1) +// Module "SceNpPartyGameUtil" +// Library "SceNpPartyGameUtil" +NID(sceNpPartyCheckCallback, 0xB6132502) +NID(sceNpPartyGetMemberInfo, 0x0560D9A1) +NID(sceNpPartyGetMemberVoiceInfo, 0xFB200A6D) +NID(sceNpPartyGetMembers, 0x420C30E9) +NID(sceNpPartyGetState, 0x9F99ADF7) +NID(sceNpPartyInit, 0xB304962C) +NID(sceNpPartyRegisterHandler, 0x324C76F0) +NID(sceNpPartyTerm, 0xF524AD2B) +// Module "SceNpScore" +// Library "SceNpScore" +NID(sceNpScoreAbortRequest, 0xA7E93CE1) +NID(sceNpScoreCensorComment, 0xA0C94D46) +NID(sceNpScoreCensorCommentAsync, 0xAA0BBF8E) +NID(sceNpScoreChangeModeForOtherSaveDataOwners, 0x7C68D91B) +NID(sceNpScoreCreateRequest, 0xD30D1993) +NID(sceNpScoreCreateTitleCtx, 0x5685F225) +NID(sceNpScoreDeleteRequest, 0xFFF24BB1) +NID(sceNpScoreDeleteTitleCtx, 0xF52EA88A) +NID(sceNpScoreGetBoardInfo, 0x00F90E7B) +NID(sceNpScoreGetBoardInfoAsync, 0x3CD9974E) +NID(sceNpScoreGetGameData, 0xDFAD64D3) +NID(sceNpScoreGetGameDataAsync, 0xCE416993) +NID(sceNpScoreGetRankingByNpId, 0xBAE55B34) +NID(sceNpScoreGetRankingByNpIdAsync, 0x45CD1D00) +NID(sceNpScoreGetRankingByNpIdPcId, 0x871F28AA) +NID(sceNpScoreGetRankingByNpIdPcIdAsync, 0xCE3A9544) +NID(sceNpScoreGetRankingByRange, 0x427D3412) +NID(sceNpScoreGetRankingByRangeAsync, 0xC45E3FCD) +NID(sceNpScoreInit, 0x0433069F) +NID(sceNpScorePollAsync, 0x9F2A7AC9) +NID(sceNpScoreRecordGameData, 0xC2862B67) +NID(sceNpScoreRecordGameDataAsync, 0x40573917) +NID(sceNpScoreRecordScore, 0x320C0277) +NID(sceNpScoreRecordScoreAsync, 0x24B09634) +NID(sceNpScoreSanitizeComment, 0x6FD2041A) +NID(sceNpScoreSanitizeCommentAsync, 0x15981858) +NID(sceNpScoreSetPlayerCharacterId, 0x53D77883) +NID(sceNpScoreSetTimeout, 0x5EF44841) +NID(sceNpScoreTerm, 0x2050F98F) +NID(sceNpScoreWaitAsync, 0x31733BF3) +// Module "SceNpSignaling" +// Library "SceNpSignaling" +NID(sceNpSignalingActivateConnection, 0x92FFBDE3) +NID(sceNpSignalingCancelPeerNetInfo, 0x5048E147) +NID(sceNpSignalingCreateCtx, 0xF77EF683) +NID(sceNpSignalingDeactivateConnection, 0x3B56E6C2) +NID(sceNpSignalingDestroyCtx, 0xEAA4B1F3) +NID(sceNpSignalingGetConnectionFromNpId, 0x3EC1F4AA) +NID(sceNpSignalingGetConnectionFromPeerAddress, 0x6B9E6E3F) +NID(sceNpSignalingGetConnectionInfo, 0x51883EAE) +NID(sceNpSignalingGetConnectionStatus, 0x83B3DA0A) +NID(sceNpSignalingGetCtxOpt, 0x9D1C5303) +NID(sceNpSignalingGetLocalNetInfo, 0x5861E7BA) +NID(sceNpSignalingGetMemoryInfo, 0x995A5A74) +NID(sceNpSignalingGetPeerNetInfo, 0x5D660C45) +NID(sceNpSignalingGetPeerNetInfoResult, 0xDE8536F0) +NID(sceNpSignalingInit, 0x4B6ACF47) +NID(sceNpSignalingSetCtxOpt, 0x0B48FADB) +NID(sceNpSignalingTerm, 0xBC892D18) +NID(sceNpSignalingTerminateConnection, 0xA413F8C2) +// Module "SceNpSnsFacebook" +// Library "SceNpSnsFacebook" +NID(sceNpSnsFacebookAbortRequest, 0x32FB2721) +NID(sceNpSnsFacebookCreateRequest, 0x9CF1BC76) +NID(sceNpSnsFacebookDeleteRequest, 0xA537FF90) +NID(sceNpSnsFacebookGetAccessToken, 0x9A87EEE9) +NID(sceNpSnsFacebookGetLongAccessToken, 0xA3C9041D) +NID(sceNpSnsFacebookInit, 0x80557AA0) +NID(sceNpSnsFacebookTerm, 0xA71E6847) +// Module "SceNpTrophy" +// Library "SceNpTrophy" +NID(sceNpTrophyAbortHandle, 0xD55C6F4C) +NID(sceNpTrophyCreateContext, 0xC49FD33F) +NID(sceNpTrophyCreateHandle, 0x4EBC6977) +NID(sceNpTrophyDestroyContext, 0x56F5CBA5) +NID(sceNpTrophyDestroyHandle, 0xFF142071) +NID(sceNpTrophyGetGameIcon, 0xFE382529) +NID(sceNpTrophyGetGameInfo, 0xBA2B7F2A) +NID(sceNpTrophyGetGroupIcon, 0x1B8C3192) +NID(sceNpTrophyGetGroupInfo, 0x087B0535) +NID(sceNpTrophyGetTrophyIcon, 0x94BAB8D0) +NID(sceNpTrophyGetTrophyInfo, 0xA4ADDD91) +NID(sceNpTrophyGetTrophyUnlockState, 0xC8D2A4DE) +NID(sceNpTrophyInit, 0x34516838) +NID(sceNpTrophyTerm, 0xBFE0F28F) +NID(sceNpTrophyUnlockTrophy, 0xB397AA24) +// Module "SceNpTus" +// Library "SceNpTus" +NID(sceNpTssGetData, 0xD8D5CABA) +NID(sceNpTssGetDataAsync, 0x1C8D73A8) +NID(sceNpTssGetDataNoLimit, 0x987D1018) +NID(sceNpTssGetDataNoLimitAsync, 0x7A101394) +NID(sceNpTssGetSmallStorage, 0x8CA469F4) +NID(sceNpTssGetSmallStorageAsync, 0xEA588F23) +NID(sceNpTssGetStorage, 0xFC300E7E) +NID(sceNpTssGetStorageAsync, 0x8972DF8F) +NID(sceNpTusAbortRequest, 0x2C5F1162) +NID(sceNpTusAddAndGetVariable, 0x4099FC56) +NID(sceNpTusAddAndGetVariableAsync, 0x0A5D05F1) +NID(sceNpTusAddAndGetVariableVUser, 0xE1D6D4CF) +NID(sceNpTusAddAndGetVariableVUserAsync, 0xBB5E5E29) +NID(sceNpTusChangeModeForOtherSaveDataOwners, 0x88A2D551) +NID(sceNpTusCreateRequest, 0x99DC7420) +NID(sceNpTusCreateTitleCtx, 0xF1D9529E) +NID(sceNpTusDeleteMultiSlotData, 0xF6D24DF7) +NID(sceNpTusDeleteMultiSlotDataAsync, 0x0CFAC523) +NID(sceNpTusDeleteMultiSlotDataVUser, 0x41FBED79) +NID(sceNpTusDeleteMultiSlotDataVUserAsync, 0x9BA9148C) +NID(sceNpTusDeleteMultiSlotVariable, 0x246DB508) +NID(sceNpTusDeleteMultiSlotVariableAsync, 0xFC0C5159) +NID(sceNpTusDeleteMultiSlotVariableVUser, 0x420350F9) +NID(sceNpTusDeleteMultiSlotVariableVUserAsync, 0x3B44D0E4) +NID(sceNpTusDeleteRequest, 0xB46B5D7F) +NID(sceNpTusDeleteTitleCtx, 0xD53D3692) +NID(sceNpTusGetData, 0x9677BDD6) +NID(sceNpTusGetDataAsync, 0x883AC44A) +NID(sceNpTusGetDataVUser, 0xCCB9E791) +NID(sceNpTusGetDataVUserAsync, 0x9E8E1CF8) +NID(sceNpTusGetMultiSlotDataStatus, 0xD97E51EC) +NID(sceNpTusGetMultiSlotDataStatusAsync, 0x520975C3) +NID(sceNpTusGetMultiSlotDataStatusVUser, 0x50FC680F) +NID(sceNpTusGetMultiSlotDataStatusVUserAsync, 0xD62D2A0B) +NID(sceNpTusGetMultiSlotVariable, 0x5EB05C7A) +NID(sceNpTusGetMultiSlotVariableAsync, 0xD26B9F4C) +NID(sceNpTusGetMultiSlotVariableVUser, 0xFE92D6CB) +NID(sceNpTusGetMultiSlotVariableVUserAsync, 0xF91887EC) +NID(sceNpTusGetMultiUserDataStatus, 0xF4D40B19) +NID(sceNpTusGetMultiUserDataStatusAsync, 0xC08A1E5E) +NID(sceNpTusGetMultiUserDataStatusVUser, 0xAF7148A6) +NID(sceNpTusGetMultiUserDataStatusVUserAsync, 0x7593D595) +NID(sceNpTusGetMultiUserVariable, 0xC5656132) +NID(sceNpTusGetMultiUserVariableAsync, 0xBBEFCD26) +NID(sceNpTusGetMultiUserVariableVUser, 0x0374C127) +NID(sceNpTusGetMultiUserVariableVUserAsync, 0xD51B39ED) +NID(sceNpTusInit, 0xB2141F8D) +NID(sceNpTusPollAsync, 0xC003C588) +NID(sceNpTusSetData, 0x33E29819) +NID(sceNpTusSetDataAsync, 0x9FABA1E5) +NID(sceNpTusSetDataVUser, 0x6A175F75) +NID(sceNpTusSetDataVUserAsync, 0x1989CC51) +NID(sceNpTusSetMultiSlotVariable, 0xA3F00EE6) +NID(sceNpTusSetMultiSlotVariableAsync, 0xA61AEDB0) +NID(sceNpTusSetMultiSlotVariableVUser, 0x9A1E4472) +NID(sceNpTusSetMultiSlotVariableVUserAsync, 0x2E9A7FD0) +NID(sceNpTusSetTimeout, 0xC4BB64A7) +NID(sceNpTusTerm, 0x7EDC33B3) +NID(sceNpTusTryAndSetVariable, 0xB0A6F839) +NID(sceNpTusTryAndSetVariableAsync, 0x44947D07) +NID(sceNpTusTryAndSetVariableVUser, 0x6B2A54EB) +NID(sceNpTusTryAndSetVariableVUserAsync, 0x518A64B9) +NID(sceNpTusWaitAsync, 0x3907A8BC) +// Module "SceNpUtility" +// Library "SceNpUtility" +NID(sceNpBandwidthTestAbort, 0x32B068C4) +NID(sceNpBandwidthTestGetStatus, 0xE0EBFBF6) +NID(sceNpBandwidthTestInitStart, 0x081FA13C) +NID(sceNpBandwidthTestShutdown, 0x58D92EFD) +NID(sceNpLookupAbortRequest, 0x027587C4) +NID(sceNpLookupAvatarImage, 0xFDB0AE47) +NID(sceNpLookupAvatarImageAsync, 0x282BD43C) +NID(sceNpLookupCreateRequest, 0x9E42E922) +NID(sceNpLookupCreateTitleCtx, 0x5110E17E) +NID(sceNpLookupDeleteRequest, 0x8B608BF6) +NID(sceNpLookupDeleteTitleCtx, 0x33B64699) +NID(sceNpLookupInit, 0x9246A673) +NID(sceNpLookupNpId, 0xB1A14879) +NID(sceNpLookupNpIdAsync, 0x5387BABB) +NID(sceNpLookupPollAsync, 0xFCDBA234) +NID(sceNpLookupSetTimeout, 0xB0C9DC45) +NID(sceNpLookupTerm, 0x0158B61B) +NID(sceNpLookupUserProfile, 0x6A1BF429) +NID(sceNpLookupUserProfileAsync, 0xE5285E0F) +NID(sceNpLookupWaitAsync, 0xCF956F23) +NID(sceNpWordFilterAbortRequest, 0x36DA662E) +NID(sceNpWordFilterCensorComment, 0xA30E4E17) +NID(sceNpWordFilterCensorCommentAsync, 0xE956080F) +NID(sceNpWordFilterCreateRequest, 0x7183047C) +NID(sceNpWordFilterCreateTitleCtx, 0x1075589C) +NID(sceNpWordFilterDeleteRequest, 0x6690D8E2) +NID(sceNpWordFilterDeleteTitleCtx, 0xB4E5A189) +NID(sceNpWordFilterInit, 0x01284C6E) +NID(sceNpWordFilterPollAsync, 0xBAE4CD1F) +NID(sceNpWordFilterSanitizeComment, 0x30606C85) +NID(sceNpWordFilterSanitizeCommentAsync, 0x40EC7271) +NID(sceNpWordFilterSetTimeout, 0x9F44CE45) +NID(sceNpWordFilterTerm, 0x7D140F70) +NID(sceNpWordFilterWaitAsync, 0x31B308AA) +// Module "ScePaf" +// Library "ScePafStdc" +NID(sce_paf_private_free, 0x1B77082E) +NID(sce_paf_private_malloc, 0xFC5CD359) +NID(sce_paf_private_memchr, 0x1D286681) +NID(sce_paf_private_memclr, 0xD21442B4) +NID(sce_paf_private_memcmp, 0x1076722F) +NID(sce_paf_private_memcmp2, 0x79DFA2A2) +NID(sce_paf_private_memcpy, 0x2C5B6F9C) +NID(sce_paf_private_memcpy2, 0x5883A6E3) +NID(sce_paf_private_memmove, 0x01566828) +NID(sce_paf_private_memmove2, 0x44C0825D) +NID(sce_paf_private_memset, 0xE148AF94) +NID(sce_paf_private_snprintf, 0x4E0D907E) +NID(sce_paf_private_strcasecmp, 0x70A459B2) +NID(sce_paf_private_strchr, 0x1A22784C) +NID(sce_paf_private_strcmp, 0x5CD08A47) +NID(sce_paf_private_strlen, 0xF5A2AA0C) +NID(sce_paf_private_strncasecmp, 0xA6014289) +NID(sce_paf_private_strncmp, 0x1E1EA818) +NID(sce_paf_private_strrchr, 0xFA2C892F) +// Module "ScePerf" +// Library "ScePerf" +NID(_pLibPerfCaptureFlagPtr, 0x936A5F31) +NID(_sceCpuRazorPopFiberUserMarker, 0x453AED06) +NID(_sceCpuRazorPushFiberUserMarker, 0x8F7B522C) +NID(_sceRazorCpuInit, 0x7AD6AC30) +NID(_sceRazorCpuWriteFiberUltPkt, 0x409D966A) +NID(scePerfArmPmonGetCounterValue, 0x6132A497) +NID(scePerfArmPmonReset, 0x35151735) +NID(scePerfArmPmonSelectEvent, 0x63CBEA8B) +NID(scePerfArmPmonSetCounterValue, 0x12F6C708) +NID(scePerfArmPmonSoftwareIncrement, 0x4264B4E7) +NID(scePerfArmPmonStart, 0xC9D969D5) +NID(scePerfArmPmonStop, 0xD1A40F54) +NID(scePerfGetTimebaseFrequency, 0x78EA4FFB) +NID(scePerfGetTimebaseValue, 0xBD9615E5) +NID(sceRazorCpuGetActivityMonitorTraceBuffer, 0xF7F8ADCE) +NID(sceRazorCpuGetUserMarkerTraceBuffer, 0x0DE231D4) +NID(sceRazorCpuIsCapturing, 0x8DA87B35) +NID(sceRazorCpuPopMarker, 0xDC3224C3) +NID(sceRazorCpuPushMarker, 0xC3DE4C0A) +NID(sceRazorCpuPushMarkerWithHud, 0x5CDC09EA) +NID(sceRazorCpuStartActivityMonitor, 0x3F29E937) +NID(sceRazorCpuStartCapture, 0xDAB63FC3) +NID(sceRazorCpuStartUserMarkerTrace, 0xAED36A40) +NID(sceRazorCpuStopActivityMonitor, 0x9D5B9621) +NID(sceRazorCpuStopCapture, 0x9C2C05C2) +NID(sceRazorCpuStopUserMarkerTrace, 0x4B47E144) +NID(sceRazorCpuSync, 0x4F1385E3) +// Module "ScePhotoExport" +// Library "ScePhotoExport" +NID(scePhotoExportFromData, 0x70512321) +NID(scePhotoExportFromFile, 0x84FD9FC5) +NID(scePhotoExportIsAvailableFromData, 0xE6E6AFD5) +NID(scePhotoExportIsAvailableFromFile, 0x5655F971) +// Module "ScePower" +// Library "ScePower" +NID(scePowerBatteryUpdateInfo, 0x27F3292C) +NID(scePowerCancelRequest, 0xDB62C9CF) +NID(scePowerGetArmClockFrequency, 0xABC6F88F) +NID(scePowerGetBatteryChargingStatus, 0xB4432BC8) +NID(scePowerGetBatteryCycleCount, 0x008A54B9) +NID(scePowerGetBatteryElec, 0x862AE1A6) +NID(scePowerGetBatteryFullCapacity, 0xFD18A0FF) +NID(scePowerGetBatteryLifePercent, 0x2085D15D) +NID(scePowerGetBatteryLifeTime, 0x8EFB3FA2) +NID(scePowerGetBatteryRemainCapacity, 0x94F5A53F) +NID(scePowerGetBatterySOH, 0xA88A2B65) +NID(scePowerGetBatteryTemp, 0x28E12023) +NID(scePowerGetBatteryVolt, 0x483CE86B) +NID(scePowerGetBusClockFrequency, 0x478FE6F5) +NID(scePowerGetCaseTemp, 0x525592E4) +NID(scePowerGetGpuClockFrequency, 0x1B04A1D6) +NID(scePowerGetGpuXbarClockFrequency, 0x0A750DEE) +NID(scePowerGetUsingWireless, 0xD541FF03) +NID(scePowerIsBatteryCharging, 0x1E490401) +NID(scePowerIsBatteryExist, 0x0AFD0D8B) +NID(scePowerIsLowBattery, 0xD3075926) +NID(scePowerIsPowerOnline, 0x87440F5E) +NID(scePowerIsRequest, 0x7FA406DD) +NID(scePowerIsSuspendRequired, 0x78A1A796) +NID(scePowerRegisterCallback, 0x04B7766E) +NID(scePowerRequestColdReset, 0x0442D852) +NID(scePowerRequestDisplayOff, 0x160EB506) +NID(scePowerRequestDisplayOn, 0x3EA75C88) +NID(scePowerRequestStandby, 0x2B7C7CF4) +NID(scePowerRequestSuspend, 0xAC32C9CC) +NID(scePowerSetArmClockFrequency, 0x74DB5AE5) +NID(scePowerSetBusClockFrequency, 0xB8D7B3FB) +NID(scePowerSetConfigurationMode, 0x3CE187B6) +NID(scePowerSetGpuClockFrequency, 0x717DB06C) +NID(scePowerSetGpuXbarClockFrequency, 0xA7739DBE) +NID(scePowerSetIdleTimerCount, 0xB11EF149) +NID(scePowerSetUsingWireless, 0x4D695C1F) +NID(scePowerUnregisterCallback, 0xDFA8BAF8) +// Module "SceProcessmgr" +// Library "SceProcessmgr" +NID(sceKernelGetStderr, 0xFA5E3ADA) +NID(sceKernelGetStdin, 0xC1727F59) +NID(sceKernelGetStdout, 0xE5AA625C) +NID(sceKernelIsCDialogAvailable, 0x143BC4D6) +NID(sceKernelIsGameBudget, 0xCE0F02F0) +NID(sceKernelLibcClock, 0x9E45DA09) +NID(sceKernelLibcGettimeofday, 0x4B879059) +NID(sceKernelLibcGmtime_r, 0xBCA437CD) +NID(sceKernelLibcLocaltime_r, 0x94F041ED) +NID(sceKernelLibcMktime, 0x890BDC39) +NID(sceKernelLibcTime, 0x0039BE45) +NID(sceKernelPowerLock, 0x7AA73378) +NID(sceKernelPowerTick, 0x2252890C) +NID(sceKernelPowerUnlock, 0x466C0CBD) +NID(sceKernelRegisterProcessTerminationCallback, 0x5EC77870) +NID(sceKernelUnregisterProcessTerminationCallback, 0x973A4527) +// Module "ScePromoterUtil" +// Library "ScePromoterUtil" +NID(scePromoterUtilityCheckExist, 0xBA9871E5) +NID(scePromoterUtilityDeletePkg, 0x7D46752F) +NID(scePromoterUtilityExit, 0xC95D24A6) +NID(scePromoterUtilityGetResult, 0x49B473F0) +NID(scePromoterUtilityGetState, 0xABEC74D2) +NID(scePromoterUtilityInit, 0x93451536) +NID(scePromoterUtilityPromoteBackup, 0x4B37808F) +NID(scePromoterUtilityPromotePkg, 0x716C81F4) +NID(scePromoterUtilityPromotePkgWithRif, 0x86641BC6) +NID(scePromoterUtilityUpdateLiveArea, 0x17D73ECA) +// Module "SceRazorCapture" +// Library "SceRazorCapture" +NID(sceRazorCaptureIsInProgress, 0x911E0AA0) +NID(sceRazorCaptureSetTrigger, 0xE916B538) +NID(sceRazorCaptureSetTriggerNextFrame, 0x3D4B7E68) +NID(sceRazorGpuCaptureEnableSalvage, 0xDFBDCC4C) +NID(sceRazorGpuCaptureIsInProgress, 0xD2358BFB) +NID(sceRazorGpuCaptureSetCaptureAllMemory, 0x6A09822D) +NID(sceRazorGpuCaptureSetCaptureBeforeKick, 0x8EE74EB7) +NID(sceRazorGpuCaptureSetTrigger, 0x472492DA) +NID(sceRazorGpuCaptureSetTriggerNextFrame, 0x9DAA7E9C) +NID(sceRazorGpuCaptureStartSalvageMode, 0x3F0913CF) +// Module "SceRazorHud" +// Library "SceRazorHud" +NID(sceRazorCpuHudSetUserMarkerTraceBuffer, 0xECE363EF) +NID(sceRazorCpuHudUserMarkerEnableAllThreads, 0xFD290A17) +NID(sceRazorCpuHudUserMarkerEnableThreadId, 0x6DFBAC39) +NID(sceRazorGpuLiveSetBuffer, 0x29CEFDAA) +NID(sceRazorGpuLiveSetMetricsGroup, 0x6FD64DE6) +NID(sceRazorGpuLiveStart, 0xB46382FC) +NID(sceRazorGpuLiveStop, 0xBD360A69) +NID(sceRazorGpuLiveTriggerDebugDump, 0xBCB790E9) +NID(sceRazorGpuPerfGetMode, 0xE3709B44) +NID(sceRazorGpuTraceRingBufferSize, 0x73F83357) +NID(sceRazorGpuTraceRingBufferUsed, 0x7A51F1A0) +NID(sceRazorGpuTraceSetFilename, 0xF867EFE1) +NID(sceRazorGpuTraceSetMetricsGroup, 0xBFEADB77) +NID(sceRazorGpuTraceTrigger, 0x528AA4C7) +NID(sceRazorHudReloadSettings, 0xDFD00BAE) +NID(sceRazorHudSetDisplayEnabled, 0x77F2F606) +NID(sceRazorHudSetDisplayFrameCount, 0xCC390860) +// Module "SceRegistryMgr" +// Library "SceRegMgr" +NID(sceRegMgrAddRegistryCallback, 0xA86F0A71) +NID(sceRegMgrDbBackup, 0xB68B5422) +NID(sceRegMgrDbRestore, 0xA87D2562) +NID(sceRegMgrGetInitVals, 0x3A9DE7C5) +NID(sceRegMgrGetKeyBin, 0x0B98D646) +NID(sceRegMgrGetKeyInt, 0x16DDF3DC) +NID(sceRegMgrGetKeyStr, 0xE188382F) +NID(sceRegMgrGetKeys, 0x5B161504) +NID(sceRegMgrGetKeysInfo, 0x58421DD1) +NID(sceRegMgrGetRegVersion, 0x74A0FB10) +NID(sceRegMgrIsBlueScreen, 0x282027B7) +NID(sceRegMgrRegisterCallback, 0x82A4464D) +NID(sceRegMgrRegisterDrvErrCallback, 0xDDB02D7F) +NID(sceRegMgrResetRegistryLv, 0x2B5F3E20) +NID(sceRegMgrSetKeyBin, 0x566A1793) +NID(sceRegMgrSetKeyInt, 0xD72EA399) +NID(sceRegMgrSetKeyStr, 0x41D320C5) +NID(sceRegMgrSetKeys, 0x34E550DA) +NID(sceRegMgrStartCallback, 0xCE84FE2F) +NID(sceRegMgrStopCallback, 0x6A8E2FB4) +NID(sceRegMgrUnregisterCallback, 0xD7BD3607) +NID(sceRegMgrUnregisterDrvErrCallback, 0xD9E6B7BD) +// Library "SceRegMgrForGame" +NID(sceRegMgrSystemParamGetBin, 0x7FFE2CDF) +NID(sceRegMgrSystemParamGetInt, 0x347C1BDB) +NID(sceRegMgrSystemParamGetStr, 0x877ADB3F) +NID(sceRegMgrSystemParamSetBin, 0xD5A73557) +NID(sceRegMgrSystemParamSetInt, 0xC8F73311) +NID(sceRegMgrSystemParamSetStr, 0xCB3246E3) +// Library "SceRegMgrForSDK" +NID(sceRegMgrUtilityGetBin, 0xEFCFA182) +NID(sceRegMgrUtilityGetInt, 0x8154D696) +NID(sceRegMgrUtilityGetStr, 0x1FE8949E) +NID(sceRegMgrUtilitySetBin, 0x7304DC12) +NID(sceRegMgrUtilitySetInt, 0xB370A2CF) +NID(sceRegMgrUtilitySetStr, 0x4898C1E2) +// Library "SceRegMgrService" +NID(sceRegMgrSrvCnvRegionInt, 0x7683FC84) +NID(sceRegMgrSrvCnvRegionPsCode, 0x94D008D2) +NID(sceRegMgrSrvCnvRegionStr, 0x15B4A5C5) +NID(sceRegMgrSrvGetRegion, 0xBEC3F77A) +NID(sceRegMgrSrvGetRegionStr, 0xBC3FE639) +// Module "SceRtc" +// Library "SceRtc" +NID(sceRtcGetAccumulativeTime, 0x258BE8EC) +// Library "SceRtcUser" +NID(sceRtcCheckValid, 0xD7622935) +NID(sceRtcCompareTick, 0xC7385158) +NID(sceRtcConvertLocalTimeToUtc, 0x0A05E201) +NID(sceRtcConvertUtcToLocalTime, 0x1282C436) +NID(sceRtcFormatRFC2822, 0x147F2138) +NID(sceRtcFormatRFC2822LocalTime, 0x42CA8EB5) +NID(sceRtcFormatRFC3339, 0xCCEA2B54) +NID(sceRtcFormatRFC3339LocalTime, 0x742250A9) +NID(sceRtcGetCurrentClock, 0x70FDE8F1) +NID(sceRtcGetCurrentClockLocalTime, 0x0572EDDC) +NID(sceRtcGetCurrentNetworkTick, 0xCDDD25FE) +NID(sceRtcGetCurrentTick, 0x23F79274) +NID(sceRtcGetDayOfWeek, 0x2F3531EB) +NID(sceRtcGetDayOfYear, 0xB5C4E95F) +NID(sceRtcGetDaysInMonth, 0x49EB4556) +NID(sceRtcGetDosTime, 0x92ABEBAF) +NID(sceRtcGetLastAdjustedTick, 0x8148E95C) +NID(sceRtcGetLastReincarnatedTick, 0xA8C16615) +NID(sceRtcGetTick, 0xF2B238E2) +NID(sceRtcGetTickResolution, 0x811313B3) +NID(sceRtcGetTime64_t, 0xC995DE02) +NID(sceRtcGetTime_t, 0x8DE6FEB7) +NID(sceRtcGetWin32FileTime, 0x8A95E119) +NID(sceRtcIsLeapYear, 0xF17FD8B5) +NID(sceRtcParseDateTime, 0x2347CE12) +NID(sceRtcParseRFC3339, 0x2D18AEEC) +NID(sceRtcSetDosTime, 0xF8B22B07) +NID(sceRtcSetTick, 0xCD89F464) +NID(sceRtcSetTime64_t, 0xA6C36B6A) +NID(sceRtcSetTime_t, 0x3A332F81) +NID(sceRtcSetWin32FileTime, 0xA79A8846) +NID(sceRtcTickAddDays, 0x58DE3C70) +NID(sceRtcTickAddHours, 0x6F193F55) +NID(sceRtcTickAddMicroseconds, 0xAE26D920) +NID(sceRtcTickAddMinutes, 0x4C358871) +NID(sceRtcTickAddMonths, 0x6321B4AA) +NID(sceRtcTickAddSeconds, 0x979AFD79) +NID(sceRtcTickAddTicks, 0x4559E2DB) +NID(sceRtcTickAddWeeks, 0xE713C640) +NID(sceRtcTickAddYears, 0xDF6C3E1B) +// Module "SceSasUser" +// Library "SceSas" +NID(sceSasCore, 0x7A4672B2) +NID(sceSasCoreWithMix, 0xBD496983) +NID(sceSasExit, 0xBB7D6790) +NID(sceSasGetDryPeak, 0xB6642276) +NID(sceSasGetEndState, 0x007E63E6) +NID(sceSasGetEnvelope, 0x296A9910) +NID(sceSasGetGrain, 0x2BEA45BC) +NID(sceSasGetNeededMemorySize, 0x180C6824) +NID(sceSasGetOutputmode, 0x2C36E150) +NID(sceSasGetPauseState, 0xFD1A0CBF) +NID(sceSasGetPreMasterPeak, 0x1568017A) +NID(sceSasGetWetPeak, 0x4314F0E9) +NID(sceSasInit, 0x449B5974) +NID(sceSasInitWithGrain, 0x820D5F82) +NID(sceSasSetADSR, 0x18A5EFA2) +NID(sceSasSetADSRmode, 0x5207F9D2) +NID(sceSasSetDistortion, 0x011788BE) +NID(sceSasSetEffect, 0xB0444E69) +NID(sceSasSetEffectParam, 0xBAD546A0) +NID(sceSasSetEffectType, 0xCDF2DDD5) +NID(sceSasSetEffectVolume, 0x55EDDBFA) +NID(sceSasSetGrain, 0x2B4A207C) +NID(sceSasSetKeyOff, 0x5E42ADAB) +NID(sceSasSetKeyOn, 0xC838DB6F) +NID(sceSasSetNoise, 0xF1C63CB9) +NID(sceSasSetOutputmode, 0x44DDB3C4) +NID(sceSasSetPause, 0x59C7A9DF) +NID(sceSasSetPitch, 0x2C48A08C) +NID(sceSasSetSL, 0xDE6227B8) +NID(sceSasSetSimpleADSR, 0xECCE0DB8) +NID(sceSasSetVoice, 0x2B75F9BC) +NID(sceSasSetVoicePCM, 0xB1756EFC) +NID(sceSasSetVolume, 0x0BE8204D) +// Module "SceSblUpdateMgr" +// Library "SceSblSsUpdateMgr" +NID(sceSblSsUpdateMgrSetBootMode, 0xC725E3F0) +// Module "SceScreenShot" +// Library "SceScreenShot" +NID(sceScreenShotCapture, 0xD509FB08) +NID(sceScreenShotDisable, 0x50AE9FF9) +NID(sceScreenShotDisableNotification, 0xDA80A228) +NID(sceScreenShotEnable, 0x76E674D1) +NID(sceScreenShotEnableNotification, 0x816633FE) +NID(sceScreenShotGetParam, 0xBAE9E534) +NID(sceScreenShotSetOverlayImage, 0x7061665B) +NID(sceScreenShotSetParam, 0x05DB59C7) +// Module "SceSfmt11213" +// Library "SceSfmt11213" +NID(sceSfmt11213FillArray32, 0xFD696585) +NID(sceSfmt11213FillArray64, 0x7A412A29) +NID(sceSfmt11213GenRand32, 0xFB281CD7) +NID(sceSfmt11213GenRand64, 0xAFEDD6E1) +NID(sceSfmt11213InitByArray, 0xBAF5F058) +NID(sceSfmt11213InitGenRand, 0x8FF464C9) +// Module "SceSfmt1279" +// Library "SceSfmt1279" +NID(sceSfmt1279FillArray32, 0xE7F63838) +NID(sceSfmt1279FillArray64, 0xDB3832EB) +NID(sceSfmt1279GenRand32, 0x9B4A48DF) +NID(sceSfmt1279GenRand64, 0xA2C5EE14) +NID(sceSfmt1279InitByArray, 0xC25D9ACE) +NID(sceSfmt1279InitGenRand, 0x02E8D906) +// Module "SceSfmt132049" +// Library "SceSfmt132049" +NID(sceSfmt132049FillArray32, 0xD891A99F) +NID(sceSfmt132049FillArray64, 0x68AD7866) +NID(sceSfmt132049GenRand32, 0x795F9644) +NID(sceSfmt132049GenRand64, 0xBBD80AC4) +NID(sceSfmt132049InitByArray, 0xDC69294A) +NID(sceSfmt132049InitGenRand, 0xDC6B23B0) +// Module "SceSfmt19937" +// Library "SceSfmt19937" +NID(sceSfmt19937FillArray32, 0xA1C654D8) +NID(sceSfmt19937FillArray64, 0xE74BA81C) +NID(sceSfmt19937GenRand32, 0xF0557157) +NID(sceSfmt19937GenRand64, 0xE66F2502) +NID(sceSfmt19937InitByArray, 0xAC496C8C) +NID(sceSfmt19937InitGenRand, 0x2AFACB0B) +// Module "SceSfmt216091" +// Library "SceSfmt216091" +NID(sceSfmt216091FillArray32, 0xDD4256F0) +NID(sceSfmt216091FillArray64, 0xA1CE5628) +NID(sceSfmt216091GenRand32, 0x4A972DCD) +NID(sceSfmt216091GenRand64, 0x23369ABF) +NID(sceSfmt216091InitByArray, 0xA9CF6616) +NID(sceSfmt216091InitGenRand, 0x86DDE4A7) +// Module "SceSfmt2281" +// Library "SceSfmt2281" +NID(sceSfmt2281FillArray32, 0xBB89D8F0) +NID(sceSfmt2281FillArray64, 0x17C10E2D) +NID(sceSfmt2281GenRand32, 0x84BB4ADB) +NID(sceSfmt2281GenRand64, 0x3CC47146) +NID(sceSfmt2281InitByArray, 0xAB3AD459) +NID(sceSfmt2281InitGenRand, 0xB8E5A0BB) +// Module "SceSfmt4253" +// Library "SceSfmt4253" +NID(sceSfmt4253FillArray32, 0x59A1B9FC) +NID(sceSfmt4253FillArray64, 0x01683CDD) +NID(sceSfmt4253GenRand32, 0x8791E2EF) +NID(sceSfmt4253GenRand64, 0x6C0E5E3C) +NID(sceSfmt4253InitByArray, 0xC4D7AA2D) +NID(sceSfmt4253InitGenRand, 0xE9F8CB9A) +// Module "SceSfmt44497" +// Library "SceSfmt44497" +NID(sceSfmt44497FillArray32, 0x1C38322A) +NID(sceSfmt44497FillArray64, 0x908F1122) +NID(sceSfmt44497GenRand32, 0xF869DFDC) +NID(sceSfmt44497GenRand64, 0xD411A9A6) +NID(sceSfmt44497InitByArray, 0x16D8AA5E) +NID(sceSfmt44497InitGenRand, 0xCF1C8C38) +// Module "SceSfmt607" +// Library "SceSfmt607" +NID(sceSfmt607FillArray32, 0xA288ADB9) +NID(sceSfmt607FillArray64, 0x1520D408) +NID(sceSfmt607GenRand32, 0x8A0BF859) +NID(sceSfmt607GenRand64, 0x5E880862) +NID(sceSfmt607InitByArray, 0xCC6DABA0) +NID(sceSfmt607InitGenRand, 0x76A5D8CA) +// Module "SceSfmt86243" +// Library "SceSfmt86243" +NID(sceSfmt86243FillArray32, 0xC297E6B1) +NID(sceSfmt86243FillArray64, 0xF7FFE87C) +NID(sceSfmt86243GenRand32, 0x569BF903) +NID(sceSfmt86243GenRand64, 0x8E25CBA8) +NID(sceSfmt86243InitByArray, 0x81B67AB5) +NID(sceSfmt86243InitGenRand, 0x2FF42588) +// Module "SceSha0" +// Library "SceSha0" +NID(sceSha0BlockInit, 0xBCF6DB3A) +NID(sceSha0BlockResult, 0xBF0158C4) +NID(sceSha0BlockUpdate, 0x37EF2AFC) +NID(sceSha0Digest, 0xD19A9AA8) +// Module "SceSha1" +// Library "SceSha1" +NID(sceSha1BlockInit, 0xB13D65AA) +NID(sceSha1BlockResult, 0x0195DADF) +NID(sceSha1BlockUpdate, 0x9007205E) +NID(sceSha1Digest, 0xE1215C9D) +// Module "SceSha224" +// Library "SceSha224" +NID(sceSha224BlockInit, 0x538F04CE) +NID(sceSha224BlockResult, 0xA36ECF65) +NID(sceSha224BlockUpdate, 0xB5FD0160) +NID(sceSha224Digest, 0x1346D270) +// Module "SceSha256" +// Library "SceSha256" +NID(sceSha256BlockInit, 0xE281374F) +NID(sceSha256BlockResult, 0x9B5BB4BA) +NID(sceSha256BlockUpdate, 0xDAECA1F8) +NID(sceSha256Digest, 0xA337079C) +// Module "SceSha384" +// Library "SceSha384" +NID(sceSha384BlockInit, 0x037AABE7) +NID(sceSha384BlockResult, 0x30D5C919) +NID(sceSha384BlockUpdate, 0x4B99DBB8) +NID(sceSha384Digest, 0xA602C694) +// Module "SceSha512" +// Library "SceSha512" +NID(sceSha512BlockInit, 0xE017A9CD) +NID(sceSha512BlockResult, 0x26146A16) +NID(sceSha512BlockUpdate, 0x669281E8) +NID(sceSha512Digest, 0x5DC0B916) +// Module "SceSha512t" +// Library "SceSha512t" +NID(sceSha512tBlockInit, 0x79065BB2) +NID(sceSha512tBlockResult, 0x66425DB6) +NID(sceSha512tBlockUpdate, 0xC5359DF8) +NID(sceSha512tDigest, 0x00E52720) +// Module "SceShellSvc" +// Library "SceShellUtil" +NID(sceShellUtilInitEvents, 0xE8AD11EC) +NID(sceShellUtilLock, 0xA9537233) +NID(sceShellUtilRegisterEventHandler, 0x7B5EDFE7) +NID(sceShellUtilUnlock, 0x21A6CF54) +// Module "SceShutterSound" +// Library "SceShutterSound" +NID(sceShutterSoundPlay, 0x7FFB6D79) +// Module "SceSmart" +// Library "SceSmart" +NID(sceSmartCreateLearnedImageTarget, 0x5A31446E) +NID(sceSmartDestroyTarget, 0x0C6A1DA8) +NID(sceSmartGetTargetInfo, 0x23EDFA9A) +NID(sceSmartInit, 0x58979C84) +NID(sceSmartRelease, 0x43DF6D9C) +NID(sceSmartSceneMappingDispatchAndQuery, 0xF10FDDD1) +NID(sceSmartSceneMappingDispatchAndQueryWithMask, 0x4D9EA817) +NID(sceSmartSceneMappingEnableMask, 0x7C4731E2) +NID(sceSmartSceneMappingFixMap, 0xA96B997B) +NID(sceSmartSceneMappingForceLocalize, 0x6D4081D3) +NID(sceSmartSceneMappingGetInitializationPointInfo, 0x9A578A29) +NID(sceSmartSceneMappingGetLandmarkInfo, 0xB17057EA) +NID(sceSmartSceneMappingGetNodePointInfo, 0x607AACB5) +NID(sceSmartSceneMappingGetNumInitializationPoints, 0xDF900B29) +NID(sceSmartSceneMappingGetNumLandmarks, 0x2260E8BB) +NID(sceSmartSceneMappingGetNumNodePoints, 0x3159D38C) +NID(sceSmartSceneMappingLoadMap, 0x961367D3) +NID(sceSmartSceneMappingPropagateResult, 0x5A9EC64D) +NID(sceSmartSceneMappingRegisterTarget, 0x55C37F31) +NID(sceSmartSceneMappingRemoveLandmark, 0x9F30C12A) +NID(sceSmartSceneMappingReset, 0xC1AD43BC) +NID(sceSmartSceneMappingRun, 0xC7EBD753) +NID(sceSmartSceneMappingRunCore, 0xCB30BD4D) +NID(sceSmartSceneMappingSaveMap, 0x4907021F) +NID(sceSmartSceneMappingSetDenseMapMode, 0xE7867558) +NID(sceSmartSceneMappingStart, 0xA3A82B99) +NID(sceSmartSceneMappingStop, 0x52EB57E4) +NID(sceSmartSceneMappingUnregisterTarget, 0x6807CA97) +NID(sceSmartTargetTrackingDispatchAndQuery, 0x7FE71305) +NID(sceSmartTargetTrackingGetResults, 0x648C7E15) +NID(sceSmartTargetTrackingQuery, 0x2808C8CB) +NID(sceSmartTargetTrackingRegisterTarget, 0x8ACADD54) +NID(sceSmartTargetTrackingReset, 0xA4A155B5) +NID(sceSmartTargetTrackingRun, 0xBFD87F61) +NID(sceSmartTargetTrackingRun2, 0x245EC28A) +NID(sceSmartTargetTrackingRunWorker, 0x8AE7354A) +NID(sceSmartTargetTrackingSetSearchPolicy, 0x35344A8E) +NID(sceSmartTargetTrackingStart, 0x5A121F6C) +NID(sceSmartTargetTrackingStop, 0xC4C607C0) +NID(sceSmartTargetTrackingUnregisterTarget, 0x6EE07829) +// Module "SceSqlite" +// Library "SceSqlite" +NID(sceSqliteConfigMallocMethods, 0x2034E5B7) +NID(sqlite3_aggregate_context, 0xAA8BE477) +NID(sqlite3_aggregate_count, 0x6AB02532) +NID(sqlite3_auto_extension, 0x24738263) +NID(sqlite3_backup_finish, 0x93A6B7EF) +NID(sqlite3_backup_init, 0x91DDB12A) +NID(sqlite3_backup_pagecount, 0x20D054CF) +NID(sqlite3_backup_remaining, 0x9962540B) +NID(sqlite3_backup_step, 0x2A15E081) +NID(sqlite3_bind_blob, 0x3F225D62) +NID(sqlite3_bind_double, 0xDE007F1B) +NID(sqlite3_bind_int, 0x14ABCBCC) +NID(sqlite3_bind_int64, 0x43D967EF) +NID(sqlite3_bind_null, 0xFF8A9974) +NID(sqlite3_bind_parameter_count, 0x17D4F00B) +NID(sqlite3_bind_parameter_index, 0xD4D2A5D8) +NID(sqlite3_bind_parameter_name, 0x96D3B5F9) +NID(sqlite3_bind_text, 0x613AB709) +NID(sqlite3_bind_text16, 0x9D0FEAEF) +NID(sqlite3_bind_value, 0x8A667D2A) +NID(sqlite3_bind_zeroblob, 0x78FBA2D0) +NID(sqlite3_blob_bytes, 0xA07AEEE3) +NID(sqlite3_blob_close, 0xC085A15D) +NID(sqlite3_blob_open, 0xD35B3E55) +NID(sqlite3_blob_read, 0x71393AA4) +NID(sqlite3_blob_write, 0xBDB46BCF) +NID(sqlite3_busy_handler, 0xB5B5D287) +NID(sqlite3_busy_timeout, 0xAE8E3630) +NID(sqlite3_changes, 0xF206FBA1) +NID(sqlite3_clear_bindings, 0x690947E2) +NID(sqlite3_close, 0x7DF94B79) +NID(sqlite3_collation_needed, 0x836C99A3) +NID(sqlite3_collation_needed16, 0x537066CE) +NID(sqlite3_column_blob, 0xFE237ED7) +NID(sqlite3_column_bytes, 0x36013FE4) +NID(sqlite3_column_bytes16, 0x439F160B) +NID(sqlite3_column_count, 0x8567A8DE) +NID(sqlite3_column_decltype, 0x5AE92D67) +NID(sqlite3_column_decltype16, 0xE058DE60) +NID(sqlite3_column_double, 0xC4866097) +NID(sqlite3_column_int, 0xE5B6BA01) +NID(sqlite3_column_int64, 0x90BA0B88) +NID(sqlite3_column_name, 0xBC422DF6) +NID(sqlite3_column_name16, 0x6EF9A642) +NID(sqlite3_column_text, 0x8E68D270) +NID(sqlite3_column_text16, 0xD7BD6B76) +NID(sqlite3_column_type, 0xDBB25C43) +NID(sqlite3_column_value, 0x2227F21D) +NID(sqlite3_commit_hook, 0x4BAE6E3B) +NID(sqlite3_complete, 0x2E28B2A7) +NID(sqlite3_complete16, 0x4EAB317B) +NID(sqlite3_config, 0x96C5D388) +NID(sqlite3_context_db_handle, 0x74259C09) +NID(sqlite3_create_collation, 0xC61B63FB) +NID(sqlite3_create_collation16, 0xF7FE99C8) +NID(sqlite3_create_collation_v2, 0x4B110AF2) +NID(sqlite3_create_function, 0xB0543897) +NID(sqlite3_create_function16, 0x7655FA45) +NID(sqlite3_create_module, 0x8970C45F) +NID(sqlite3_create_module_v2, 0x1AA3BC1A) +NID(sqlite3_data_count, 0x61911935) +NID(sqlite3_db_config, 0xADFB25C0) +NID(sqlite3_db_handle, 0x2C62429E) +NID(sqlite3_db_mutex, 0xA8E53D26) +NID(sqlite3_db_status, 0xB5DFAF6A) +NID(sqlite3_declare_vtab, 0x7E2A5E8F) +NID(sqlite3_enable_load_extension, 0x9BFC6F07) +NID(sqlite3_enable_shared_cache, 0xF0094BED) +NID(sqlite3_errcode, 0xA7AAE2E7) +NID(sqlite3_errmsg, 0xABFB8B6E) +NID(sqlite3_errmsg16, 0xF0DE1A97) +NID(sqlite3_exec, 0x2371E86A) +NID(sqlite3_expired, 0xF8AA518B) +NID(sqlite3_extended_errcode, 0x91187282) +NID(sqlite3_extended_result_codes, 0x3892C4B8) +NID(sqlite3_file_control, 0xBB096FBD) +NID(sqlite3_finalize, 0xB656B7E2) +NID(sqlite3_free, 0xCBF0CA8A) +NID(sqlite3_free_table, 0x1FEC6959) +NID(sqlite3_get_autocommit, 0x910C3CB) +NID(sqlite3_get_auxdata, 0x394FC1CB) +NID(sqlite3_get_table, 0xF2AB9C89) +NID(sqlite3_global_recover, 0xF48E021B) +NID(sqlite3_initialize, 0xC22AF627) +NID(sqlite3_interrupt, 0x3CB771AC) +NID(sqlite3_last_insert_rowid, 0x301851A1) +NID(sqlite3_libversion, 0x26E46324) +NID(sqlite3_libversion_number, 0x5982F404) +NID(sqlite3_limit, 0xDED2D517) +NID(sqlite3_load_extension, 0xC9EA8E1F) +NID(sqlite3_malloc, 0xF01DEB95) +NID(sqlite3_memory_alarm, 0x56EDF517) +NID(sqlite3_memory_highwater, 0x2F33DAD6) +NID(sqlite3_memory_used, 0x8E4F6ED5) +NID(sqlite3_mprintf, 0xE630216C) +NID(sqlite3_mutex_alloc, 0xEEB7839F) +NID(sqlite3_mutex_enter, 0x60DB89C0) +NID(sqlite3_mutex_free, 0x38E933E2) +NID(sqlite3_mutex_leave, 0x545ABDDB) +NID(sqlite3_mutex_try, 0x218D700E) +NID(sqlite3_next_stmt, 0xD257592A) +NID(sqlite3_open, 0x8E506859) +NID(sqlite3_open16, 0x881EEDD8) +NID(sqlite3_open_v2, 0xA1E98A41) +NID(sqlite3_os_end, 0x9CE7C4C3) +NID(sqlite3_os_init, 0xBD304836) +NID(sqlite3_overload_function, 0xAF680D40) +NID(sqlite3_prepare, 0xC1B5509) +NID(sqlite3_prepare16, 0xC657CFB8) +NID(sqlite3_prepare16_v2, 0x426D81D2) +NID(sqlite3_prepare_v2, 0xBC4BDCF4) +NID(sqlite3_profile, 0x48B789A1) +NID(sqlite3_progress_handler, 0x19165D04) +NID(sqlite3_randomness, 0x5A2590BF) +NID(sqlite3_realloc, 0xD1CF5631) +NID(sqlite3_release_memory, 0x8F99FBE5) +NID(sqlite3_reset, 0xA6ECC214) +NID(sqlite3_reset_auto_extension, 0xC4296FFD) +NID(sqlite3_result_blob, 0x90CDF8C1) +NID(sqlite3_result_double, 0xC2A5C2F8) +NID(sqlite3_result_error, 0x63BFACA) +NID(sqlite3_result_error16, 0xAB2AEB4A) +NID(sqlite3_result_error_code, 0x1165223C) +NID(sqlite3_result_error_nomem, 0x944E747A) +NID(sqlite3_result_error_toobig, 0xAB9EFF96) +NID(sqlite3_result_int, 0x5C9CD9D4) +NID(sqlite3_result_int64, 0xEF1AA07) +NID(sqlite3_result_null, 0x6DE09482) +NID(sqlite3_result_text, 0x696B5E6A) +NID(sqlite3_result_text16, 0x3AF5D206) +NID(sqlite3_result_text16be, 0xEE3E906A) +NID(sqlite3_result_text16le, 0x845B4FC2) +NID(sqlite3_result_value, 0x9664492) +NID(sqlite3_result_zeroblob, 0x3D463CF7) +NID(sqlite3_rollback_hook, 0x67F53D6B) +NID(sqlite3_set_authorizer, 0x77FB3458) +NID(sqlite3_set_auxdata, 0x129E01C9) +NID(sqlite3_shutdown, 0x99B5A4A3) +NID(sqlite3_sleep, 0x6B88D1D4) +NID(sqlite3_snprintf, 0xCC189941) +NID(sqlite3_soft_heap_limit, 0xD1458BA7) +NID(sqlite3_sourceid, 0x4CCB58A2) +NID(sqlite3_sql, 0x82C36D4) +NID(sqlite3_status, 0xD8C435AA) +NID(sqlite3_step, 0xCA8755B7) +NID(sqlite3_stmt_status, 0xF7ABF5FA) +NID(sqlite3_strnicmp, 0x12E2FC18) +NID(sqlite3_temp_directory, 0x1AEC1F74) +NID(sqlite3_test_control, 0x324D4EFD) +NID(sqlite3_thread_cleanup, 0x173C9C0B) +NID(sqlite3_threadsafe, 0xA3B818DA) +NID(sqlite3_total_changes, 0x2ADA92D) +NID(sqlite3_trace, 0xFC127A83) +NID(sqlite3_transfer_bindings, 0x6EC012E5) +NID(sqlite3_update_hook, 0xEB05FE87) +NID(sqlite3_user_data, 0x78FF81FB) +NID(sqlite3_value_blob, 0xC9962B31) +NID(sqlite3_value_bytes, 0x5368EF1F) +NID(sqlite3_value_bytes16, 0x4D10900D) +NID(sqlite3_value_double, 0xF1F2C9BE) +NID(sqlite3_value_int, 0x4809A520) +NID(sqlite3_value_int64, 0xA6581C04) +NID(sqlite3_value_numeric_type, 0x81B7D43D) +NID(sqlite3_value_text, 0x7EB97356) +NID(sqlite3_value_text16, 0x5BBE38C2) +NID(sqlite3_value_text16be, 0x3B89AA8D) +NID(sqlite3_value_text16le, 0x14863A6) +NID(sqlite3_value_type, 0xC5EEBB5D) +NID(sqlite3_version, 0xB80D43C7) +NID(sqlite3_vfs_find, 0xC6DD8C3) +NID(sqlite3_vfs_register, 0x65F53B9C) +NID(sqlite3_vfs_unregister, 0x69CF4171) +NID(sqlite3_vmprintf, 0xC6372184) +// Module "SceStdio" +// Library "SceStdio" +NID(sceKernelStderr, 0x35EE7CF5) +NID(sceKernelStdin, 0x54237407) +NID(sceKernelStdout, 0x9033E9BD) +// Module "SceSulpha" +// Library "SceSulpha" +NID(sceSulphaAgentsGetNeededMemory, 0xC5752B6B) +NID(sceSulphaAgentsRegister, 0x7ADB454D) +NID(sceSulphaAgentsUnregister, 0x2A8B74D7) +NID(sceSulphaEventAdd, 0xB0C2B9CE) +NID(sceSulphaEventDelete, 0xD5D995A9) +NID(sceSulphaEventNew, 0xBF61F3B8) +NID(sceSulphaEventReport, 0xBC6A2833) +NID(sceSulphaFileConnect, 0x7968A138) +NID(sceSulphaFileDisconnect, 0xB16E7B88) +NID(sceSulphaGetAgent, 0xDE7E2911) +NID(sceSulphaGetDefaultConfig, 0xA6A05C50) +NID(sceSulphaGetNeededMemory, 0xD52E5A5A) +NID(sceSulphaGetTimestamp, 0x29F0DA12) +NID(sceSulphaInit, 0x324F158F) +NID(sceSulphaLogHandler, 0x5C6815C6) +NID(sceSulphaLogSetLevel, 0x951D159D) +NID(sceSulphaNetworkInit, 0xB4668AEA) +NID(sceSulphaNetworkShutdown, 0x0FC71B72) +NID(sceSulphaNodeDelete, 0xD44C9F86) +NID(sceSulphaNodeNew, 0xA41B7402) +NID(sceSulphaSetBookmark, 0x5E15E164) +NID(sceSulphaShutdown, 0x10770BA7) +NID(sceSulphaUpdate, 0x920EC7BF) +// Module "SceSysmem" +// Library "SceSysmem" +NID(sceKernelAllocMemBlock, 0xB9D5EBDE) +NID(sceKernelAllocMemBlockForVM, 0xE2D7E137) +NID(sceKernelAllocUnmapMemBlock, 0xEC636BCB) +NID(sceKernelCheckModelCapability, 0x0144FBD9) +NID(sceKernelCloseMemBlock, 0xB680E3A0) +NID(sceKernelCloseVMDomain, 0xD6CA56CA) +NID(sceKernelFindMemBlockByAddr, 0xA33B99D1) +NID(sceKernelFreeMemBlock, 0xA91E15EE) +NID(sceKernelFreeMemBlockForVM, 0x4EA13FEA) +NID(sceKernelGetFreeMemorySize, 0x87CC580B) +NID(sceKernelGetMemBlockBase, 0xB8EF5818) +NID(sceKernelGetMemBlockInfoByAddr, 0x4010AD65) +NID(sceKernelGetMemBlockInfoByRange, 0x006F3DB4) +NID(sceKernelGetModel, 0xD0D4F729) +NID(sceKernelGetModelForCDialog, 0xA2CB322F) +NID(sceKernelGetSubbudgetInfo, 0x832B4A65) +NID(sceKernelIsPSVitaTV, 0x1453A5E5) +NID(sceKernelOpenMemBlock, 0x8EB8DFBB) +NID(sceKernelOpenVMDomain, 0x9CA3EB2B) +NID(sceKernelSyncVMDomain, 0x19D2A81A) +// Module "SceSysmodule" +// Library "SceSysmodule" +NID(sceSysmoduleIsLoaded, 0x53099B7A) +NID(sceSysmoduleIsLoadedInternal, 0x09A4AF1D) +NID(sceSysmoduleLoadModule, 0x79A0160A) +NID(sceSysmoduleLoadModuleInternal, 0x2399BF45) +NID(sceSysmoduleLoadModuleInternalWithArg, 0xC3C26339) +NID(sceSysmoduleUnloadModule, 0x31D87805) +NID(sceSysmoduleUnloadModuleInternal, 0xFF206B19) +NID(sceSysmoduleUnloadModuleInternalWithArg, 0xA2F40C4C) +// Module "SceSystemGesture" +// Library "SceSystemGesture" +NID(sceSystemGestureCreateTouchRecognizer, 0xC3367370) +NID(sceSystemGestureFinalizePrimitiveTouchRecognizer, 0xB3875104) +NID(sceSystemGestureGetPrimitiveTouchEventByIndex, 0xE0577765) +NID(sceSystemGestureGetPrimitiveTouchEventByPrimitiveID, 0x480564C9) +NID(sceSystemGestureGetPrimitiveTouchEvents, 0xC750D3DA) +NID(sceSystemGestureGetPrimitiveTouchEventsCount, 0xBAB8ECCB) +NID(sceSystemGestureGetTouchEventByEventID, 0x5570B83E) +NID(sceSystemGestureGetTouchEventByIndex, 0x74724147) +NID(sceSystemGestureGetTouchEvents, 0x789D867C) +NID(sceSystemGestureGetTouchEventsCount, 0x13AD2218) +NID(sceSystemGestureGetTouchRecognizerInformation, 0xF0DB1AE5) +NID(sceSystemGestureInitializePrimitiveTouchRecognizer, 0x6078A08B) +NID(sceSystemGestureResetPrimitiveTouchRecognizer, 0xFD5A6504) +NID(sceSystemGestureResetTouchRecognizer, 0x0D941B90) +NID(sceSystemGestureUpdatePrimitiveTouchRecognizer, 0xDF4C665A) +NID(sceSystemGestureUpdateTouchRecognizer, 0x851FB144) +NID(sceSystemGestureUpdateTouchRecognizerRectangle, 0xA9DB29F6) +// Module "SceTouch" +// Library "SceTouch" +NID(sceTouchActivateRegion, 0xBD59D652) +NID(sceTouchClearRegion, 0x2D94EAEA) +NID(sceTouchDisableTouchForce, 0x41194411) +NID(sceTouchDisableTouchForceExt, 0xED25DFDC) +NID(sceTouchEnableIdleTimerCancelSetting, 0x012EAE3A) +NID(sceTouchEnableTouchForce, 0xB18370C2) +NID(sceTouchEnableTouchForceExt, 0xA3FE877B) +NID(sceTouchGetDeviceInfo, 0xD7889B91) +NID(sceTouchGetPanelInfo, 0x10A2CA25) +NID(sceTouchGetPixelDensity, 0xF0704CF3) +NID(sceTouchGetProcessInfo, 0xAB364C23) +NID(sceTouchGetSamplingState, 0x26531526) +NID(sceTouchGetSamplingStateExt, 0xDC8671EA) +NID(sceTouchPeek, 0xFF082DF0) +NID(sceTouchPeek2, 0x3AD3D0A1) +NID(sceTouchPeekRegion, 0x04440622) +NID(sceTouchPeekRegionExt, 0x2CF6D7E2) +NID(sceTouchRead, 0x169A1D58) +NID(sceTouchRead2, 0x39401BEA) +NID(sceTouchReadRegion, 0x93B5635B) +NID(sceTouchReadRegionExt, 0x9F0ACAF9) +NID(sceTouchSetProcessPrivilege, 0x609EA489) +NID(sceTouchSetRegion, 0x6134DFBE) +NID(sceTouchSetRegionAttr, 0x08DD4C7C) +NID(sceTouchSetSamplingState, 0x1B9C5D14) +NID(sceTouchSetSamplingStateExt, 0x13CDFC43) +// Module "SceUdcd" +// Library "SceUdcd" +NID(sceUdcdGetDeviceInfo, 0x701C87CF) +NID(sceUdcdGetDeviceState, 0xFCD31220) +NID(sceUdcdGetDrvState, 0x99B3DA5D) +NID(sceUdcdRegisterCallback, 0xA7070093) +NID(sceUdcdUnregisterCallback, 0xC3FBA889) +NID(sceUdcdWaitState, 0x59EFFAF1) +// Module "SceUlt" +// Library "SceUlt" +NID(_sceUltConditionVariableCreate, 0xD76A156C) +NID(_sceUltConditionVariableOptParamInitialize, 0x0603FCC1) +NID(_sceUltMutexCreate, 0x5AFEC7A1) +NID(_sceUltMutexOptParamInitialize, 0x24D87E05) +NID(_sceUltQueueCreate, 0x14DA1BB4) +NID(_sceUltQueueDataResourcePoolCreate, 0x40856827) +NID(_sceUltQueueDataResourcePoolOptParamInitialize, 0x8A4F88A2) +NID(_sceUltQueueOptParamInitialize, 0xF7A83023) +NID(_sceUltReaderWriterLockCreate, 0x2FB0EB32) +NID(_sceUltReaderWriterLockOptParamInitialize, 0xD8334A1F) +NID(_sceUltSemaphoreCreate, 0xDD59562C) +NID(_sceUltSemaphoreOptParamInitialize, 0x8E31B9FE) +NID(_sceUltUlthreadCreate, 0xB1290375) +NID(_sceUltUlthreadOptParamInitialize, 0x7F373376) +NID(_sceUltUlthreadRuntimeCreate, 0x86DDA3AE) +NID(_sceUltUlthreadRuntimeOptParamInitialize, 0x8486DDE6) +NID(_sceUltWaitingQueueResourcePoolCreate, 0x62F9493E) +NID(_sceUltWaitingQueueResourcePoolOptParamInitialize, 0xEF094E35) +NID(sceUltConditionVariableDestroy, 0x53420ED2) +NID(sceUltConditionVariableSignal, 0x9FE7CB9F) +NID(sceUltConditionVariableSignalAll, 0xEBB6FC1E) +NID(sceUltConditionVariableWait, 0x2CD0F57C) +NID(sceUltGetConditionVariableInfo, 0xC7AA4779) +NID(sceUltGetMutexInfo, 0x58D8DDE6) +NID(sceUltGetQueueDataResourcePoolInfo, 0x750E7962) +NID(sceUltGetQueueInfo, 0x1470318D) +NID(sceUltGetReaderWriterLockInfo, 0x10B3FB76) +NID(sceUltGetSemaphoreInfo, 0x25FE84F3) +NID(sceUltGetUlthreadInfo, 0xB5895640) +NID(sceUltGetUlthreadRuntimeInfo, 0x4F6A7DA6) +NID(sceUltGetWaitingQueueResourcePoolInfo, 0x04DC59F2) +NID(sceUltMutexDestroy, 0xEEBD9052) +NID(sceUltMutexLock, 0x001EAC8A) +NID(sceUltMutexTryLock, 0xE5936A69) +NID(sceUltMutexUnlock, 0x897C9097) +NID(sceUltQueueDataResourcePoolDestroy, 0x2B8D33F1) +NID(sceUltQueueDataResourcePoolGetWorkAreaSize, 0xECDA7FEE) +NID(sceUltQueueDestroy, 0xF37862DE) +NID(sceUltQueuePop, 0x1AD58A53) +NID(sceUltQueuePush, 0xA7E78FF9) +NID(sceUltQueueTryPop, 0x2A1A8EA6) +NID(sceUltQueueTryPush, 0x6D356B29) +NID(sceUltReaderWriterLockDestroy, 0xB1FEB79B) +NID(sceUltReaderWriterLockLockRead, 0x9AD07630) +NID(sceUltReaderWriterLockLockWrite, 0xF5F63E2C) +NID(sceUltReaderWriterLockTryLockRead, 0x2629C055) +NID(sceUltReaderWriterLockTryLockWrite, 0x944FB222) +NID(sceUltReaderWriterLockUnlockRead, 0x218D4743) +NID(sceUltReaderWriterLockUnlockWrite, 0x2A5741F5) +NID(sceUltSemaphoreAcquire, 0xF220D3AE) +NID(sceUltSemaphoreDestroy, 0x8EC57420) +NID(sceUltSemaphoreRelease, 0x65376E2D) +NID(sceUltSemaphoreTryAcquire, 0xAF15606D) +NID(sceUltUlthreadExit, 0x1E401DF8) +NID(sceUltUlthreadGetSelf, 0xA798C5D7) +NID(sceUltUlthreadJoin, 0x63483381) +NID(sceUltUlthreadRuntimeDestroy, 0x4E9A745C) +NID(sceUltUlthreadRuntimeGetWorkAreaSize, 0x5435C586) +NID(sceUltUlthreadTryJoin, 0xB4CF88AC) +NID(sceUltUlthreadYield, 0xCAD57BAD) +NID(sceUltWaitingQueueResourcePoolDestroy, 0xC9E96714) +NID(sceUltWaitingQueueResourcePoolGetWorkAreaSize, 0x644DA029) +// Module "SceUsbSerial" +// Library "SceUsbSerial" +NID(sceUsbSerialClose, 0xF2415853) +NID(sceUsbSerialGetRecvBufferSize, 0xE8567A87) +NID(sceUsbSerialRecv, 0xF26DC8D8) +NID(sceUsbSerialSend, 0x89E71202) +NID(sceUsbSerialSetup, 0x290E08B4) +NID(sceUsbSerialStart, 0xE3BEC18C) +NID(sceUsbSerialStatus, 0xA6A2F5DE) +// Module "SceUsbd" +// Library "SceUsbdForUser" +NID(sceUsbdAttach, 0xEACEAE86) +NID(sceUsbdAttachCompositeLdd, 0xCA8F2F59) +NID(sceUsbdClosePipe, 0xAA3AF5D5) +NID(sceUsbdEnd, 0x5736A150) +NID(sceUsbdGetDescriptor, 0xAE671F22) +NID(sceUsbdGetDescriptorSize, 0xB357AC81) +NID(sceUsbdGetDeviceAddress, 0xC54F9D11) +NID(sceUsbdGetDeviceList, 0x2DE0239E) +NID(sceUsbdGetDeviceSpeed, 0x6C5AACD0) +NID(sceUsbdGetIsochTransferStatus, 0xA0A2C826) +NID(sceUsbdGetTransferStatus, 0xCDF5B6E0) +NID(sceUsbdInit, 0x77D58B31) +NID(sceUsbdIsochTransferData, 0x594D82FD) +NID(sceUsbdOpenDefaultPipe, 0x4A26DDCC) +NID(sceUsbdOpenPipe, 0xF94521A6) +NID(sceUsbdReceiveEvent, 0x16FEE05D) +NID(sceUsbdRegisterCallback, 0x9A820167) +NID(sceUsbdRegisterCompositeLdd, 0x2A7C0263) +NID(sceUsbdRegisterLdd, 0x6AD28166) +NID(sceUsbdResetDevice, 0xDEB3BE59) +NID(sceUsbdTransferData, 0x716048C1) +NID(sceUsbdUnregisterCallback, 0x0585EA80) +NID(sceUsbdUnregisterLdd, 0x473692CC) +// Module "SceUsbstorVStorDriver" +// Library "SceUsbstorVStor" +NID(sceUsbstorVStorSetDeviceInfo, 0x14455C20) +NID(sceUsbstorVStorSetImgFilePath, 0x8C9F93AB) +NID(sceUsbstorVStorStart, 0xB606F1AF) +NID(sceUsbstorVStorStop, 0x0FD67059) +// Module "SceVideoExport" +// Library "SceVideoExport" +NID(sceVideoExportFromFile, 0x4F60A3C8) +// Module "SceVideodec" +// Library "SceVideodecUser" +NID(sceAvcdecCreateDecoder, 0xE82BB69B) +NID(sceAvcdecCsc, 0xB2A428DB) +NID(sceAvcdecCscInternal, 0xC300BF46) +NID(sceAvcdecDecode, 0xD6190A06) +NID(sceAvcdecDecodeAvailableSize, 0x441673E3) +NID(sceAvcdecDecodeFlush, 0x25F31020) +NID(sceAvcdecDecodeStop, 0x9648D853) +NID(sceAvcdecDeleteDecoder, 0x8A0E359E) +NID(sceAvcdecQueryDecoderMemSize, 0x97E95EDB) +NID(sceM4vdecCreateDecoder, 0x17C6AC9E) +NID(sceM4vdecCsc, 0xB4BC325B) +NID(sceM4vdecDecode, 0x624664DB) +NID(sceM4vdecDecodeAvailableSize, 0xA8CF1942) +NID(sceM4vdecDecodeFlush, 0x7C460D75) +NID(sceM4vdecDecodeStop, 0x87CFD23B) +NID(sceM4vdecDeleteDecoder, 0x0EB2E4E7) +NID(sceM4vdecQueryDecoderMemSize, 0xC67C1A80) +NID(sceVideodecInitLibrary, 0xF1AF65A3) +NID(sceVideodecInitLibraryWithUnmapMem, 0x230A78FF) +NID(sceVideodecQueryMemSize, 0x6731BB2D) +NID(sceVideodecTermLibrary, 0x3A5F4924) +// Module "SceVoice" +// Library "SceVoice" +NID(sceVoiceCheckTopology, 0x874054CE) +NID(sceVoiceConnectIPortToOPort, 0x698BDAAE) +NID(sceVoiceCreatePort, 0xFA4E57B1) +NID(sceVoiceDeletePort, 0xAE46564D) +NID(sceVoiceDisconnectIPortFromOPort, 0x5F0260F4) +NID(sceVoiceEnd, 0xAC98853E) +NID(sceVoiceGetBitRate, 0xD02C00B4) +NID(sceVoiceGetMuteFlag, 0xC913F7E9) +NID(sceVoiceGetPortAttr, 0x73F72940) +NID(sceVoiceGetPortInfo, 0x5933CCFB) +NID(sceVoiceGetResourceInfo, 0x6E46950E) +NID(sceVoiceGetVolume, 0x875CC80D) +NID(sceVoiceInit, 0x805CC20F) +NID(sceVoicePausePort, 0x23C6B16B) +NID(sceVoicePausePortAll, 0x39AA3884) +NID(sceVoiceReadFromOPort, 0x09E4D18C) +NID(sceVoiceResetPort, 0x5E1CE910) +NID(sceVoiceResumePort, 0x2DE35411) +NID(sceVoiceResumePortAll, 0x1F93FC0C) +NID(sceVoiceSetBitRate, 0x02F58D6F) +NID(sceVoiceSetMuteFlag, 0x0B9E4AE2) +NID(sceVoiceSetMuteFlagAll, 0xDB90EAC4) +NID(sceVoiceSetPortAttr, 0x9B0D3490) +NID(sceVoiceSetVolume, 0xD93769E6) +NID(sceVoiceStart, 0xB2ED725B) +NID(sceVoiceStop, 0xC3868DF6) +NID(sceVoiceUpdatePort, 0xCE855C50) +NID(sceVoiceWriteToIPort, 0x0A22EC0E) +// Module "SceVoiceQoS" +// Library "SceVoiceQoS" +NID(sceVoiceQoSConnect, 0xE0C5CEEE) +NID(sceVoiceQoSCreateLocalEndpoint, 0xAAB54BE4) +NID(sceVoiceQoSCreateRemoteEndpoint, 0xBAB98727) +NID(sceVoiceQoSDeleteLocalEndpoint, 0x68FABF6F) +NID(sceVoiceQoSDeleteRemoteEndpoint, 0xC2F2C771) +NID(sceVoiceQoSDisconnect, 0x3C7A08B0) +NID(sceVoiceQoSEnd, 0xFB0B747B) +NID(sceVoiceQoSGetConnectionAttribute, 0xE81B8D44) +NID(sceVoiceQoSGetLocalEndpoint, 0xE5B4527D) +NID(sceVoiceQoSGetLocalEndpointAttribute, 0xC981AB3B) +NID(sceVoiceQoSGetRemoteEndpoint, 0x876A9B9C) +NID(sceVoiceQoSGetStatus, 0xC9DC1425) +NID(sceVoiceQoSInit, 0x4B5FFF1C) +NID(sceVoiceQoSReadPacket, 0x2D613549) +NID(sceVoiceQoSSetConnectionAttribute, 0xE757806F) +NID(sceVoiceQoSSetLocalEndpointAttribute, 0x540CEBA5) +NID(sceVoiceQoSWritePacket, 0x2FE1F28F) +// Module "SceVshBridge" +// Library "SceVshBridge" +NID(_vshAppMgrAcInstGetAcdirParam, 0x1E91B5F5) +NID(_vshAppMgrBgdlSetQueueStatus, 0xE842333E) +NID(_vshAppMgrCloudDataCreateHeader, 0x29E83224) +NID(_vshAppMgrCloudDataDstCreateMount, 0x8C4B556F) +NID(_vshAppMgrCloudDataGetMcId, 0xEFCBC92C) +NID(_vshAppMgrCloudDataSetMcId, 0xF34E028A) +NID(_vshAppMgrCloudDataSetupKey, 0x4DD6CA46) +NID(_vshAppMgrCloudDataSrcMount, 0x9C480D61) +NID(_vshAppMgrCloudDataVerifyHeader, 0x2715097A) +NID(_vshAppMgrIsExclusiveProcessRunning, 0x853F63CA) +NID(_vshAppMgrRegisterPath, 0x179965E7) +NID(_vshAppMgrSystemParamDateTimeSetConf, 0xBA0385A2) +NID(_vshAppMgrUpdateRifInfo, 0xC9C5AB28) +NID(_vshCoredumpCafCreateIv, 0x2D989282) +NID(_vshCoredumpCafHeaderFinal, 0xC101F8BF) +NID(_vshCoredumpCafHeaderTransform, 0x9B4015E6) +NID(_vshCoredumpCafSegmentFinal, 0x396BBBEF) +NID(_vshCoredumpCafSegmentInit, 0x88444AB8) +NID(_vshCoredumpCafSegmentTransform, 0x435AC680) +NID(_vshCoredumpCreateDump, 0x2ABCAF7) +NID(_vshEventLogPut, 0x87E21AFF) +NID(_vshIdStorageCreateAtomicLeaves, 0xDD50C65F) +NID(_vshIoChstat, 0xE2A2B139) +NID(_vshIoDread, 0x7EC1F98E) +NID(_vshIoGetstat, 0x756A48A7) +NID(_vshIoMount, 0x3C522C35) +NID(_vshKernelGetCompiledSdkVersionByPid, 0x74311638) +NID(_vshKernelSearchModuleByName, 0x232F0EEE) +NID(_vshKernelShutdownSystem, 0x933425F1) +NID(_vshLedSetMode, 0x4F5FC78) +NID(_vshNpDrmEbootSigConvert, 0x201871C6) +NID(_vshNpDrmEbootSigGenMultiDisc, 0xAC6C6FCA) +NID(_vshNpDrmEbootSigGenPs1, 0xF2CE6E93) +NID(_vshNpDrmEbootSigGenPsp, 0xCE9835A7) +NID(_vshNpDrmEbootSigVerify, 0xAC48443B) +NID(_vshNpDrmGetLegacyDocKey, 0xE6D625B8) +NID(_vshNpDrmPspEbootSigGen, 0xC74F7D57) +NID(_vshNpDrmPspEbootVerify, 0x3CD0DBD6) +NID(_vshPowerSetBatteryFakeStatus, 0xD0BEC0CC) +NID(_vshRtcGetAlarmTick, 0x998DAF02) +NID(_vshRtcGetCurrentSecureTick, 0xAF6A2745) +NID(_vshRtcGetSecureAlarmTick, 0xFA280B0B) +NID(_vshRtcSetAlarmTick, 0x8BFEBC76) +NID(_vshRtcSetCurrentDebugNetworkTick, 0x9412BA2C) +NID(_vshRtcSetCurrentNetworkTick, 0x2B27AE6E) +NID(_vshRtcSetCurrentSecureTick, 0xC350E6CF) +NID(_vshRtcSetCurrentTick, 0xC4DDAC72) +NID(_vshRtcSetSecureAlarmTick, 0xC49D8699) +NID(_vshSDfCtlSetBootParameter, 0xD4DE24E2) +NID(_vshSblAimgrGetConsoleId, 0xF183726E) +NID(_vshSblAimgrGetPscode, 0x1AF2CFC9) +NID(_vshSblAimgrGetPscode2, 0x71B2ADE6) +NID(_vshSblAimgrGetSMI, 0x28C4D6D6) +NID(_vshSblAimgrGetVisibleId, 0xB693DA6E) +NID(_vshSblAuthMgrVerifySpsfo, 0xBA7BDD18) +NID(_vshSblGcAuthMgrMlnpsnlAuth1, 0xD643667D) +NID(_vshSblGcAuthMgrMlnpsnlAuth2, 0x96E89920) +NID(_vshSblGetSystemSwVersion, 0xF529915) +NID(_vshSblSsCreatePassPhrase, 0x4079CD88) +NID(_vshSblSsDecryptWithPortability, 0x99506729) +NID(_vshSblSsEncryptWithPortability, 0x3F6DF5F3) +NID(_vshSblSsGenerateAppKey, 0x82F2FBA8) +NID(_vshSblSsGetNvsData, 0x9DFA6D33) +NID(_vshSblSsSetNvsData, 0xC176D19F) +NID(_vshSysconCtrlManualChargeMode, 0x7B43EFB) +NID(_vshSysconGetHardwareInfo, 0x21000193) +NID(_vshSysconGetHardwareInfo2, 0xD7A3D69C) +NID(_vshSysconGetManualChargeMode, 0x3CCFAEF4) +NID(_vshSysconGetManufacturesStatus, 0x484DE68A) +NID(_vshSysconGetTemperatureLog, 0x1D80FCB8) +NID(_vshSysconGetUsbDetStatus, 0x863AD3C2) +NID(_vshSysconLogReadData, 0x33A4F9DA) +NID(_vshTouchSetTouchEmulationData, 0x77AA1E8B) +NID(vshAppMgrCheckContentInstallPeriod, 0x8657814C) +NID(vshAppMgrCloudDataClearMcId, 0xE42605BB) +NID(vshAppMgrDebugSettingNotifyUpdate, 0xA82E2E98) +NID(vshAppMgrGetPfsProcessStatus, 0xB311FDE1) +NID(vshCoredumpCafContextCreate, 0x1FC9739A) +NID(vshCoredumpCafContextDestroy, 0xE638A942) +NID(vshCoredumpCafFinal, 0x54012367) +NID(vshCoredumpCafHeaderInit, 0x5A4ECC6F) +NID(vshCoredumpCafInit, 0x3A0D9473) +NID(vshCoredumpDeleteCrashReportCaf, 0x552CF1D6) +NID(vshCtrlChangePortAssign, 0x205B765C) +NID(vshCtrlGetActiveControllerPort, 0xB0132625) +NID(vshCtrlIsBdRemoconConnected, 0xB1D615A6) +NID(vshCtrlRegisterNotifyCallBack, 0x25B77E4F) +NID(vshCtrlSetIdleCancelKey, 0x8E7F67F1) +NID(vshCtrlSetIdleCancelThreshold, 0xABA88997) +NID(vshCtrlSetTurnOffInterval, 0x27CC1CF5) +NID(vshCtrlSetVibrationSetting, 0x59F24C78) +NID(vshCtrlUnregisterNotifyCallBack, 0x64DB80C8) +NID(vshDisplayRegisterFrameBufCallback, 0x9038C55C) +NID(vshHdmiCecCmdForcedPollingMsg, 0xD53E02C5) +NID(vshIdStorageCreateLeaf, 0x8E0E0C7D) +NID(vshIdStorageDeleteLeaf, 0x51855867) +NID(vshIdStorageFlush, 0x32691EA3) +NID(vshIdStorageFormat, 0x1AB26527) +NID(vshIdStorageGetFreeLeaves, 0x1A64C088) +NID(vshIdStorageGetLeafSize, 0x5A07BFD) +NID(vshIdStorageIsDirty, 0x5EBE2E01) +NID(vshIdStorageIsFormatted, 0x26115B5A) +NID(vshIdStorageIsReadOnly, 0xCD926259) +NID(vshIdStorageLookup, 0x58BA5A8D) +NID(vshIdStorageReadLeaf, 0xDBD1D01C) +NID(vshIdStorageRestart, 0x7D767ECF) +NID(vshIdStorageUnformat, 0x540BD151) +NID(vshIdStorageUpdate, 0x9693D645) +NID(vshIdStorageWriteLeaf, 0xE5083DB6) +NID(vshIoClearErrorEvent, 0xD950A054) +NID(vshIoCreateErrorEvent, 0xD2A63DD) +NID(vshIoCreateMountEvent, 0x25AD398) +NID(vshIoDeleteErrorEvent, 0x86EBB9FD) +NID(vshIoDeleteMountEvent, 0x57F63369) +NID(vshIoFlock, 0xDAB83424) +NID(vshIoGetProcessDefaultPriorityForSystem, 0xBD2BAF2B) +NID(vshIoSetProcessDefaultPriorityForSystem, 0xF581621D) +NID(vshIoUmount, 0x35BC26AC) +NID(vshKernelCheckModelCapability, 0x9B38EAEC) +NID(vshKernelSendSysEvent, 0x71D9DB5C) +NID(vshMemoryCardEnableSlowMode, 0xECE08D1D) +NID(vshMemoryCardGetCardInsertState, 0x1ED13AD6) +NID(vshNpDrmIsLooseAccountBind, 0x333875AB) +NID(vshNpDrmUpdateAccountId, 0xCB46FAB0) +NID(vshNpDrmUpdateDebugSettings, 0x89D89CAC) +NID(vshPowerGetWakeupFactor, 0x718B98BB) +NID(vshPowerRequestColdReset, 0x4123D4C1) +NID(vshPowerRequestHibernate, 0xAFDAA0D2) +NID(vshPowerSetPowerSwMode, 0xDA3E4AE6) +NID(vshPowerSetPsButtonPushTime, 0xC114F160) +NID(vshPowerSetStandbyButtonPushTime, 0x85745035) +NID(vshRemovableMemoryGetCardInsertState, 0xC63787B6) +NID(vshRtcIsAlarmed, 0x26120975) +NID(vshRtcIsSecureAlarmed, 0x8BF60888) +NID(vshRtcRegisterCallback, 0xC9970EDA) +NID(vshRtcRegisterSecureAlarmCallback, 0x70F1BD81) +NID(vshRtcSetConf, 0xE35889FF) +NID(vshRtcUnregisterCallback, 0xF057C477) +NID(vshRtcUnregisterSecureAlarmCallback, 0xAB49F6E3) +NID(vshSblACMgrHasCapability, 0xD8E5F14A) +NID(vshSblAimgrIsCEX, 0x27216A82) +NID(vshSblAimgrIsDEX, 0xBAFAC501) +NID(vshSblAimgrIsDolce, 0x2C28B1B0) +NID(vshSblAimgrIsGenuineDolce, 0xDDFC4EEE) +NID(vshSblAimgrIsGenuineVITA, 0xB6F795A6) +NID(vshSblAimgrIsTest, 0xA357D6CC) +NID(vshSblAimgrIsTool, 0x3BBD5935) +NID(vshSblAimgrIsVITA, 0xE9168697) +NID(vshSblPmMgrSetSdModeOff, 0x2E7A3AF7) +NID(vshSblQafMgrIsAllowControlIduAutoUpdate, 0x51CE4C9A) +NID(vshSblQafMgrIsAllowDtcpIpReset, 0xD0C8D4EC) +NID(vshSblQafMgrIsAllowFakeACInstall, 0x565E0504) +NID(vshSblQafMgrIsAllowKeepCoreFile, 0xA458FACE) +NID(vshSblQafMgrIsAllowLiblocationChangeModel, 0x58E1DE33) +NID(vshSblQafMgrIsAllowLoadMagicGate, 0x12831F05) +NID(vshSblQafMgrIsAllowLoadPSPEmuWhiteList, 0x3F3B2DEF) +NID(vshSblQafMgrIsAllowMarlinTest, 0x1484AF06) +NID(vshSblQafMgrIsAllowNearTest, 0xD0D4EB67) +NID(vshSblQafMgrIsAllowPSPEmuDeleteParameter, 0x3FB89A16) +NID(vshSblQafMgrIsAllowPSPEmuScreenShot, 0xF1178BE6) +NID(vshSblQafMgrIsAllowPSPEmuSelectNPEnv, 0x2B5DEE0F) +NID(vshSblQafMgrIsAllowPSPEmuShowQAInfo, 0xB19EAB45) +NID(vshSblQafMgrIsAllowRemotePlayDebug, 0xBAF52A4A) +NID(vshSblQafMgrIsAllowShowTitleUpgradeInfo, 0x314BFD78) +NID(vshSblQafMgrIsAllowSystemAppDebug, 0x31AACDD2) +NID(vshSblSsIsDevelopmentMode, 0x641890D8) +NID(vshSblUtMgrHasComTestFlag, 0x6AD7CBB) +NID(vshSblUtMgrHasStoreFlag, 0x4A004B05) +NID(vshSysconBeginConfigstorageTransaction, 0x972B68A2) +NID(vshSysconClearTemperatureLog, 0x83DDCF27) +NID(vshSysconCommitConfigstorageTransaction, 0x2931A602) +NID(vshSysconEnableHibernateIO, 0xF2CF8BD3) +NID(vshSysconEndConfigstorageTransaction, 0x5DFCAEE) +NID(vshSysconGetLogInfo, 0x723FDFD9) +NID(vshSysconHasWWAN, 0xCEC8B917) +NID(vshSysconIduModeClear, 0x3C8BE31F) +NID(vshSysconIduModeSet, 0x4A2F495A) +NID(vshSysconIsDownLoaderMode, 0xA4ADA2) +NID(vshSysconIsIduMode, 0xE493EFF4) +NID(vshSysconIsMCEmuCapable, 0x32D0951D) +NID(vshSysconIsShowMode, 0xFF244636) +NID(vshSysconLoadConfigstorageScript, 0x7623662F) +NID(vshSysconLogStart, 0x4404595B) +NID(vshSysconLogStartWaiting, 0xCB53B13C) +NID(vshSysconShowModeClear, 0xD7E71C94) +NID(vshSysconShowModeSet, 0x5E2A8BBD) +NID(vshSysconVerifyConfigstorageScript, 0xE1E2BAD0) diff --git a/src/emulator/nids/src/nids.cpp b/src/emulator/nids/src/nids.cpp new file mode 100644 index 000000000..9ff7dfe76 --- /dev/null +++ b/src/emulator/nids/src/nids.cpp @@ -0,0 +1,17 @@ +#include + +#define NID(name, nid) extern const char name_##name[] = #name; +#include +#undef NID + +const char *import_name(uint32_t nid) { + switch (nid) { +#define NID(name, nid) \ + case nid: \ + return name_##name; +#include +#undef NID + default: + return "UNRECOGNISED"; + } +} diff --git a/src/emulator/relocation.cpp b/src/emulator/relocation.cpp new file mode 100644 index 000000000..7527ab508 --- /dev/null +++ b/src/emulator/relocation.cpp @@ -0,0 +1,227 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include "relocation.h" + +#include +#include + +enum Code { + None = 0, + Abs32 = 2, + Rel32 = 3, + ThumbCall = 10, + Call = 28, + Jump24 = 29, + Target1 = 38, + V4BX = 40, + Target2 = 41, + Prel31 = 42, + MovwAbsNc = 43, + MovtAbs = 44, + ThumbMovwAbsNc = 47, + ThumbMovtAbs = 48 +}; + +struct Entry { + uint8_t is_short : 4; + uint8_t symbol_segment : 4; + uint8_t code; +}; + +struct ShortEntry : Entry { + uint16_t data_segment : 4; + uint16_t offset_lo : 12; + uint32_t offset_hi : 20; + uint32_t addend : 12; +}; + +struct LongEntry : Entry { + uint16_t data_segment : 4; + uint16_t code2 : 8; + uint16_t dist2 : 4; + uint32_t addend; + uint32_t offset; +}; + +static_assert(sizeof(ShortEntry) == 8, "Short entry has incorrect size."); +static_assert(sizeof(LongEntry) == 12, "Long entry has incorrect size."); + +static void write(void *data, uint32_t value) { + memcpy(data, &value, sizeof(value)); +} + +static void write_masked(void *data, uint32_t symbol, uint32_t mask) { + write(data, symbol & mask); +} + +static void write_thumb_call(void *data, uint32_t symbol) { + // This is cribbed from UVLoader, but I used bitfields to get rid of some shifting and masking. + struct Upper { + uint16_t imm10 : 10; + uint16_t sign : 1; + uint16_t ignored : 5; + }; + + struct Lower { + uint16_t imm11 : 11; + uint16_t j2 : 1; + uint16_t unknown : 1; + uint16_t j1 : 1; + uint16_t unknown2 : 2; + }; + + struct Pair { + Upper upper; + Lower lower; + }; + + static_assert(sizeof(Pair) == 4, "Incorrect size."); + + Pair *const pair = static_cast(data); + pair->lower.imm11 = symbol >> 1; + pair->upper.imm10 = symbol >> 12; + pair->upper.sign = symbol >> 24; + pair->lower.j2 = pair->upper.sign ^ ((~symbol) >> 22); + pair->lower.j1 = pair->upper.sign ^ ((~symbol) >> 23); +} + +static void write_mov_abs(void *data, uint16_t symbol) { + struct Instruction { + uint32_t imm12 : 12; + uint32_t ignored1 : 4; + uint32_t imm4 : 4; + uint32_t ignored2 : 12; + }; + + static_assert(sizeof(Instruction) == 4, "Incorrect size."); + + Instruction *const instruction = static_cast(data); + instruction->imm12 = symbol; + instruction->imm4 = symbol >> 12; +} + +static void write_thumb_mov_abs(void *data, uint16_t symbol) { + // This is cribbed from UVLoader, but I used bitfields to get rid of some shifting and masking. + struct Upper { + uint16_t imm4 : 4; + uint16_t ignored1 : 6; + uint16_t i : 1; + uint16_t ignored2 : 5; + }; + + struct Lower { + uint16_t imm8 : 8; + uint16_t ignored1 : 4; + uint16_t imm3 : 3; + uint16_t ignored2 : 1; + }; + + struct Pair { + Upper upper; + Lower lower; + }; + + static_assert(sizeof(Pair) == 4, "Incorrect size."); + + Pair *const pair = static_cast(data); + pair->lower.imm8 = symbol; + pair->lower.imm3 = symbol >> 8; + pair->upper.i = symbol >> 11; + pair->upper.imm4 = symbol >> 12; +} + +static bool relocate(void *data, Code code, uint32_t s, uint32_t a, uint32_t p) { + switch (code) { + case None: + case V4BX: // Untested. + return true; + + case Abs32: + case Target1: + write(data, s + a); + return true; + + case Rel32: + case Target2: + write(data, s + a - p); + return true; + + case Prel31: + write_masked(data, s + a - p, INT32_MAX); + return true; + + case ThumbCall: + write_thumb_call(data, s + a - p); + return true; + + case Call: + case Jump24: + write_masked(data, (s + a - p) >> 2, 0xffffff); + return true; + + case MovwAbsNc: + write_mov_abs(data, s + a); + return true; + + case MovtAbs: + write_mov_abs(data, (s + a) >> 16); + return true; + + case ThumbMovwAbsNc: + write_thumb_mov_abs(data, s + a); + return true; + + case ThumbMovtAbs: + write_thumb_mov_abs(data, (s + a) >> 16); + return true; + } + + std::cerr << "Unhandled relocation code " << code << "." << std::endl; + + return true; +} + +bool relocate(const void *entries, size_t size, const SegmentAddresses &segments, const MemState &mem) { + const void *const end = static_cast(entries) + size; + const Entry *entry = static_cast(entries); + while (entry < end) { + assert(entry->is_short == 0); + + const Ptr symbol_start = segments.find(entry->symbol_segment)->second; + const Address s = (entry->symbol_segment == 0xf) ? 0 : symbol_start.address(); + + if (entry->is_short) { + const ShortEntry *const short_entry = static_cast(entry); + entry = short_entry + 1; + } else { + const LongEntry *const long_entry = static_cast(entry); + assert(long_entry->code2 == 0); + + const Ptr segment_start = segments.find(long_entry->data_segment)->second; + const Address p = segment_start.address() + long_entry->offset; + const Address a = long_entry->addend; + if (!relocate(Ptr(p).get(mem), static_cast(entry->code), s, a, p)) { + return false; + } + + entry = long_entry + 1; + } + } + + return true; +} diff --git a/src/emulator/relocation.h b/src/emulator/relocation.h new file mode 100644 index 000000000..160a04ae9 --- /dev/null +++ b/src/emulator/relocation.h @@ -0,0 +1,29 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +#include + +#include +#include + +struct MemState; + +typedef std::map> SegmentAddresses; + +bool relocate(const void *entries, size_t size, const SegmentAddresses &segments, const MemState &mem); diff --git a/src/emulator/shaders/10622023203265062212.glsl b/src/emulator/shaders/10622023203265062212.glsl new file mode 100644 index 000000000..08f46515f --- /dev/null +++ b/src/emulator/shaders/10622023203265062212.glsl @@ -0,0 +1,9 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/clear_f.cg +#version 120 + +uniform vec4 uClearColor; + +void main() +{ + gl_FragColor = uClearColor; +} diff --git a/src/emulator/shaders/13599876527580594779.glsl b/src/emulator/shaders/13599876527580594779.glsl new file mode 100644 index 000000000..b11b6fb1f --- /dev/null +++ b/src/emulator/shaders/13599876527580594779.glsl @@ -0,0 +1,9 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/clear_v.cg +#version 120 + +attribute vec2 aPosition; + +void main() +{ + gl_Position = vec4(aPosition, 1, 1); +} diff --git a/src/emulator/shaders/13734954368157190244.glsl b/src/emulator/shaders/13734954368157190244.glsl new file mode 100644 index 000000000..581760cc8 --- /dev/null +++ b/src/emulator/shaders/13734954368157190244.glsl @@ -0,0 +1,11 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/texture_tint_f.cg +#version 120 + +uniform sampler2D tex; +uniform vec4 uTintColor; +varying vec2 vTexcoord; + +void main() +{ + gl_FragColor = texture2D(tex, vTexcoord) * uTintColor; +} diff --git a/src/emulator/shaders/15572183010274844106.glsl b/src/emulator/shaders/15572183010274844106.glsl new file mode 100644 index 000000000..9b5068990 --- /dev/null +++ b/src/emulator/shaders/15572183010274844106.glsl @@ -0,0 +1,9 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/color_f.cg +#version 120 + +varying vec4 vColor; + +void main() +{ + gl_FragColor = vColor; +} diff --git a/src/emulator/shaders/6959385632856496271.glsl b/src/emulator/shaders/6959385632856496271.glsl new file mode 100644 index 000000000..e5762d2a2 --- /dev/null +++ b/src/emulator/shaders/6959385632856496271.glsl @@ -0,0 +1,14 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/texture_v.cg +#version 120 + +uniform mat4 wvp; +attribute vec3 aPosition; +attribute vec2 aTexcoord; + +varying vec2 vTexcoord; + +void main() +{ + gl_Position = vec4(aPosition, 1) * wvp; + vTexcoord = aTexcoord; +} diff --git a/src/emulator/shaders/7762965783345142270.glsl b/src/emulator/shaders/7762965783345142270.glsl new file mode 100644 index 000000000..9292d150c --- /dev/null +++ b/src/emulator/shaders/7762965783345142270.glsl @@ -0,0 +1,10 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/texture_f.cg +#version 120 + +uniform sampler2D tex; +varying vec2 vTexcoord; + +void main() +{ + gl_FragColor = texture2D(tex, vTexcoord); +} diff --git a/src/emulator/shaders/8854786452444500389.glsl b/src/emulator/shaders/8854786452444500389.glsl new file mode 100644 index 000000000..d1c7fc43e --- /dev/null +++ b/src/emulator/shaders/8854786452444500389.glsl @@ -0,0 +1,14 @@ +// https://github.com/xerpi/libvita2d/blob/master/libvita2d/shader/color_v.cg +#version 120 + +uniform mat4 wvp; +attribute vec3 aPosition; +attribute vec4 aColor; + +varying vec4 vColor; + +void main() +{ + gl_Position = vec4(aPosition, 1) * wvp; + vColor = aColor; +} diff --git a/src/emulator/util/CMakeLists.txt b/src/emulator/util/CMakeLists.txt new file mode 100644 index 000000000..7293d9fa9 --- /dev/null +++ b/src/emulator/util/CMakeLists.txt @@ -0,0 +1,6 @@ +add_library( + util + INTERFACE +) + +target_include_directories(util INTERFACE include) diff --git a/src/emulator/util/include/util/find.h b/src/emulator/util/include/util/find.h new file mode 100644 index 000000000..6f33b2bac --- /dev/null +++ b/src/emulator/util/include/util/find.h @@ -0,0 +1,14 @@ +#pragma once + +#include +#include + +template +std::shared_ptr find(Key key, const std::map> &map) { + const typename std::map>::const_iterator it = map.find(key); + if (it == map.end()) { + return std::shared_ptr(); + } + + return it->second; +} diff --git a/src/emulator/util/include/util/lock_and_find.h b/src/emulator/util/include/util/lock_and_find.h new file mode 100644 index 000000000..ee753e6ef --- /dev/null +++ b/src/emulator/util/include/util/lock_and_find.h @@ -0,0 +1,11 @@ +#pragma once + +#include "find.h" + +#include + +template +std::shared_ptr lock_and_find(Key key, const std::map> &map, std::mutex &mutex) { + const std::unique_lock lock(mutex); + return find(key, map); +} diff --git a/src/emulator/util/include/util/resource.h b/src/emulator/util/include/util/resource.h new file mode 100644 index 000000000..aae140b16 --- /dev/null +++ b/src/emulator/util/include/util/resource.h @@ -0,0 +1,31 @@ +#pragma once + +#include + +template +class Resource { +public: + typedef std::function Deleter; + + Resource(T t, Deleter deleter) + : t(t) + , deleter(deleter) { + } + + ~Resource() { + if (deleter) { + deleter(t); + } + } + + T get() const { + return t; + } + +private: + Resource(const Resource &); + const Resource &operator=(const Resource &); + + T t; + Deleter deleter; +}; diff --git a/src/emulator/vpk.cpp b/src/emulator/vpk.cpp new file mode 100644 index 000000000..394516380 --- /dev/null +++ b/src/emulator/vpk.cpp @@ -0,0 +1,69 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#include "vpk.h" + +#include "load_self.h" + +#include + +#include +#include + +typedef std::vector Buffer; + +static void delete_zip(mz_zip_archive *zip) { + mz_zip_reader_end(zip); + delete zip; +} + +static size_t write_to_buffer(void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) { + Buffer *const buffer = static_cast(pOpaque); + assert(file_ofs == buffer->size()); + const uint8_t *const first = static_cast(pBuf); + const uint8_t *const last = &first[n]; + buffer->insert(buffer->end(), first, last); + + return n; +} + +bool load_vpk(Ptr &entry_point, IOState &io, MemState &mem, const char *path) { + const ZipPtr zip(new mz_zip_archive, delete_zip); + std::memset(zip.get(), 0, sizeof(*zip)); + + if (!mz_zip_reader_init_file(zip.get(), path, 0)) { + return false; + } + + const int eboot_index = mz_zip_reader_locate_file(zip.get(), "eboot.bin", nullptr, 0); + if (eboot_index < 0) { + return false; + } + + Buffer eboot; + if (!mz_zip_reader_extract_file_to_callback(zip.get(), "eboot.bin", &write_to_buffer, &eboot, 0)) { + return false; + } + + if (!load_self(entry_point, mem, eboot.data())) { + return false; + } + + io.vpk = zip; + + return true; +} diff --git a/src/emulator/vpk.h b/src/emulator/vpk.h new file mode 100644 index 000000000..5e6a63c3f --- /dev/null +++ b/src/emulator/vpk.h @@ -0,0 +1,25 @@ +// Vita3K emulator project +// Copyright (C) 2018 Vita3K team +// +// This program is free software; you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation; either version 2 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License along +// with this program; if not, write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +#pragma once + +struct IOState; +struct MemState; +template +class Ptr; + +bool load_vpk(Ptr &entry_point, IOState &io, MemState &mem, const char *path); diff --git a/src/external/CMakeLists.txt b/src/external/CMakeLists.txt new file mode 100644 index 000000000..3c32101b1 --- /dev/null +++ b/src/external/CMakeLists.txt @@ -0,0 +1,62 @@ +option(CAPSTONE_BUILD_SHARED "Build shared library" OFF) +option(CAPSTONE_BUILD_TESTS "Build tests" OFF) +option(CAPSTONE_ARM_SUPPORT "ARM support" ON) +option(CAPSTONE_ARM64_SUPPORT "ARM64 support" OFF) +option(CAPSTONE_MIPS_SUPPORT "MIPS support" OFF) +option(CAPSTONE_PPC_SUPPORT "PowerPC support" OFF) +option(CAPSTONE_SPARC_SUPPORT "Sparc support" OFF) +option(CAPSTONE_SYSZ_SUPPORT "SystemZ support" OFF) +option(CAPSTONE_XCORE_SUPPORT "XCore support" OFF) +option(CAPSTONE_X86_SUPPORT "x86 support" OFF) +add_subdirectory(capstone) +set(capstone_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/capstone/include" PARENT_SCOPE) + +add_library(elfio INTERFACE) +target_include_directories(elfio INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/elfio") + +option(BUILD_SHARED_LIBS "Build shared instead of static libraries." OFF) +option(OPTION_BUILD_TESTS "Build tests." OFF) +option(OPTION_BUILD_GPU_TESTS "Build tests that require an OpenGL context." OFF) +option(OPTION_BUILD_TOOLS "Build tools." OFF) +add_subdirectory(glbinding) + +add_library(microprofile STATIC microprofile/microprofile.cpp microprofile/microprofile.h) +target_include_directories(microprofile PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/microprofile") +set_property(TARGET microprofile PROPERTY CXX_STANDARD 11) +target_compile_definitions(microprofile PUBLIC MICROPROFILE_ENABLED=0 MICROPROFILE_GPU_TIMERS=0) + +add_library(miniz STATIC miniz/miniz.c miniz/miniz.h) +target_include_directories(miniz PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/miniz") + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/sdl2-cmake-scripts") +if(APPLE) + set(SDL2_PATH "${CMAKE_CURRENT_SOURCE_DIR}/sdl/macos") +elseif(WIN32) + set(SDL2_PATH "${CMAKE_CURRENT_SOURCE_DIR}/sdl/windows") +endif() +find_package(SDL2 REQUIRED) +add_library(sdl2 INTERFACE) +target_include_directories(sdl2 INTERFACE "${SDL2_INCLUDE_DIR}") +target_link_libraries(sdl2 INTERFACE "${SDL2_LIBRARY}") + +add_library(unicorn INTERFACE) +if(APPLE) + target_include_directories(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/macos/include") + target_link_libraries(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/macos/lib/libunicorn.a") +elseif(WIN32) + target_include_directories(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/windows/include") + target_link_libraries(unicorn INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/unicorn/windows/unicorn.lib") +endif() + +add_library(vita-headers INTERFACE) +target_include_directories(vita-headers INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/vita-headers/include") + +add_library(vita-toolchain INTERFACE) +target_include_directories(vita-toolchain INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/vita-toolchain/src") + +option(YAML_CPP_BUILD_TOOLS "Enable testing and parse tools" OFF) +option(YAML_CPP_BUILD_CONTRIB "Enable contrib stuff in library" OFF) +add_subdirectory(yaml-cpp) +add_library(yaml INTERFACE) +target_include_directories(yaml INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/yaml-cpp/include") +target_link_libraries(yaml INTERFACE yaml-cpp) diff --git a/src/external/capstone b/src/external/capstone new file mode 160000 index 000000000..2d94c511a --- /dev/null +++ b/src/external/capstone @@ -0,0 +1 @@ +Subproject commit 2d94c511ab2b276df45cc81df23fbbe6c4f7c862 diff --git a/src/external/elfio b/src/external/elfio new file mode 160000 index 000000000..8e7a29e12 --- /dev/null +++ b/src/external/elfio @@ -0,0 +1 @@ +Subproject commit 8e7a29e128ba4d580d5ef4827f0e213e49439fed diff --git a/src/external/glbinding b/src/external/glbinding new file mode 160000 index 000000000..ca31ffae3 --- /dev/null +++ b/src/external/glbinding @@ -0,0 +1 @@ +Subproject commit ca31ffae3630774d494b2507466e73de6415ffb3 diff --git a/src/external/microprofile b/src/external/microprofile new file mode 160000 index 000000000..23856bfa3 --- /dev/null +++ b/src/external/microprofile @@ -0,0 +1 @@ +Subproject commit 23856bfa356c8780aa3e3c42019eef6cb0ea4ae1 diff --git a/src/external/miniz/LICENSE b/src/external/miniz/LICENSE new file mode 100644 index 000000000..b6ff45a30 --- /dev/null +++ b/src/external/miniz/LICENSE @@ -0,0 +1,22 @@ +Copyright 2013-2014 RAD Game Tools and Valve Software +Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC + +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/src/external/miniz/miniz.c b/src/external/miniz/miniz.c new file mode 100644 index 000000000..67318cc06 --- /dev/null +++ b/src/external/miniz/miniz.c @@ -0,0 +1,7557 @@ +/************************************************************************** + * + * Copyright 2013-2014 RAD Game Tools and Valve Software + * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + **************************************************************************/ + +#include "miniz.h" + +typedef unsigned char mz_validate_uint16[sizeof(mz_uint16) == 2 ? 1 : -1]; +typedef unsigned char mz_validate_uint32[sizeof(mz_uint32) == 4 ? 1 : -1]; +typedef unsigned char mz_validate_uint64[sizeof(mz_uint64) == 8 ? 1 : -1]; + +#ifdef __cplusplus +extern "C" { +#endif + +/* ------------------- zlib-style API's */ + +mz_ulong mz_adler32(mz_ulong adler, const unsigned char *ptr, size_t buf_len) +{ + mz_uint32 i, s1 = (mz_uint32)(adler & 0xffff), s2 = (mz_uint32)(adler >> 16); + size_t block_len = buf_len % 5552; + if (!ptr) + return MZ_ADLER32_INIT; + while (buf_len) + { + for (i = 0; i + 7 < block_len; i += 8, ptr += 8) + { + s1 += ptr[0], s2 += s1; + s1 += ptr[1], s2 += s1; + s1 += ptr[2], s2 += s1; + s1 += ptr[3], s2 += s1; + s1 += ptr[4], s2 += s1; + s1 += ptr[5], s2 += s1; + s1 += ptr[6], s2 += s1; + s1 += ptr[7], s2 += s1; + } + for (; i < block_len; ++i) + s1 += *ptr++, s2 += s1; + s1 %= 65521U, s2 %= 65521U; + buf_len -= block_len; + block_len = 5552; + } + return (s2 << 16) + s1; +} + +/* Karl Malbrain's compact CRC-32. See "A compact CCITT crc16 and crc32 C implementation that balances processor cache usage against speed": http://www.geocities.com/malbrain/ */ +#if 0 + mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) + { + static const mz_uint32 s_crc32[16] = { 0, 0x1db71064, 0x3b6e20c8, 0x26d930ac, 0x76dc4190, 0x6b6b51f4, 0x4db26158, 0x5005713c, + 0xedb88320, 0xf00f9344, 0xd6d6a3e8, 0xcb61b38c, 0x9b64c2b0, 0x86d3d2d4, 0xa00ae278, 0xbdbdf21c }; + mz_uint32 crcu32 = (mz_uint32)crc; + if (!ptr) + return MZ_CRC32_INIT; + crcu32 = ~crcu32; + while (buf_len--) + { + mz_uint8 b = *ptr++; + crcu32 = (crcu32 >> 4) ^ s_crc32[(crcu32 & 0xF) ^ (b & 0xF)]; + crcu32 = (crcu32 >> 4) ^ s_crc32[(crcu32 & 0xF) ^ (b >> 4)]; + } + return ~crcu32; + } +#else +/* Faster, but larger CPU cache footprint. + */ +mz_ulong mz_crc32(mz_ulong crc, const mz_uint8 *ptr, size_t buf_len) +{ + static const mz_uint32 s_crc_table[256] = + { + 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, 0x706AF48F, 0xE963A535, + 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, + 0xE7B82D07, 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, 0x1ADAD47D, + 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, + 0x14015C4F, 0x63066CD9, 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, + 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, 0x35B5A8FA, 0x42B2986C, + 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, + 0x51DE003A, 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, 0xB8BDA50F, + 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, 0x2F6F7C87, 0x58684C11, 0xC1611DAB, + 0xB6662D3D, 0x76DC4190, 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, + 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, 0xE10E9818, 0x7F6A0DBB, + 0x086D3D2D, 0x91646C97, 0xE6635C01, 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, + 0x6C0695ED, 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, 0x8BBEB8EA, + 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, 0xFBD44C65, 0x4DB26158, 0x3AB551CE, + 0xA3BC0074, 0xD4BB30E2, 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, + 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, 0xAA0A4C5F, 0xDD0D7CC9, + 0x5005713C, 0x270241AA, 0xBE0B1010, 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, + 0xCE61E49F, 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, 0x2EB40D81, + 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, 0x03B6E20C, 0x74B1D29A, 0xEAD54739, + 0x9DD277AF, 0x04DB2615, 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, + 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, 0x8708A3D2, 0x1E01F268, + 0x6906C2FE, 0xF762575D, 0x806567CB, 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, + 0x10DA7A5A, 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, 0xD6D6A3E8, + 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, 0xA6BC5767, 0x3FB506DD, 0x48B2364B, + 0xD80D2BDA, 0xAF0A1B4C, 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, + 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, 0xCC0C7795, 0xBB0B4703, + 0x220216B9, 0x5505262F, 0xC5BA3BBE, 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, + 0xB5D0CF31, 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, 0x026D930A, + 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, + 0x0CB61B38, 0x92D28E9B, 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, + 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, 0x18B74777, 0x88085AE6, + 0xFF0F6A70, 0x66063BCA, 0x11010B5C, 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, + 0xA00AE278, 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, 0x4969474D, + 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, + 0x47B2CF7F, 0x30B5FFE9, 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, + 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, 0x5D681B02, 0x2A6F2B94, + 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, 0x2D02EF8D + }; + + mz_uint32 crc32 = (mz_uint32)crc ^ 0xFFFFFFFF; + const mz_uint8 *pByte_buf = (const mz_uint8 *)ptr; + + while (buf_len >= 4) + { + crc32 = (crc32 >> 8) ^ s_crc_table[(crc32 ^ pByte_buf[0]) & 0xFF]; + crc32 = (crc32 >> 8) ^ s_crc_table[(crc32 ^ pByte_buf[1]) & 0xFF]; + crc32 = (crc32 >> 8) ^ s_crc_table[(crc32 ^ pByte_buf[2]) & 0xFF]; + crc32 = (crc32 >> 8) ^ s_crc_table[(crc32 ^ pByte_buf[3]) & 0xFF]; + pByte_buf += 4; + buf_len -= 4; + } + + while (buf_len) + { + crc32 = (crc32 >> 8) ^ s_crc_table[(crc32 ^ pByte_buf[0]) & 0xFF]; + ++pByte_buf; + --buf_len; + } + + return ~crc32; +} +#endif + +void mz_free(void *p) +{ + MZ_FREE(p); +} + +void *miniz_def_alloc_func(void *opaque, size_t items, size_t size) +{ + (void)opaque, (void)items, (void)size; + return MZ_MALLOC(items * size); +} +void miniz_def_free_func(void *opaque, void *address) +{ + (void)opaque, (void)address; + MZ_FREE(address); +} +void *miniz_def_realloc_func(void *opaque, void *address, size_t items, size_t size) +{ + (void)opaque, (void)address, (void)items, (void)size; + return MZ_REALLOC(address, items * size); +} + +const char *mz_version(void) +{ + return MZ_VERSION; +} + +#ifndef MINIZ_NO_ZLIB_APIS + +int mz_deflateInit(mz_streamp pStream, int level) +{ + return mz_deflateInit2(pStream, level, MZ_DEFLATED, MZ_DEFAULT_WINDOW_BITS, 9, MZ_DEFAULT_STRATEGY); +} + +int mz_deflateInit2(mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) +{ + tdefl_compressor *pComp; + mz_uint comp_flags = TDEFL_COMPUTE_ADLER32 | tdefl_create_comp_flags_from_zip_params(level, window_bits, strategy); + + if (!pStream) + return MZ_STREAM_ERROR; + if ((method != MZ_DEFLATED) || ((mem_level < 1) || (mem_level > 9)) || ((window_bits != MZ_DEFAULT_WINDOW_BITS) && (-window_bits != MZ_DEFAULT_WINDOW_BITS))) + return MZ_PARAM_ERROR; + + pStream->data_type = 0; + pStream->adler = MZ_ADLER32_INIT; + pStream->msg = NULL; + pStream->reserved = 0; + pStream->total_in = 0; + pStream->total_out = 0; + if (!pStream->zalloc) + pStream->zalloc = miniz_def_alloc_func; + if (!pStream->zfree) + pStream->zfree = miniz_def_free_func; + + pComp = (tdefl_compressor *)pStream->zalloc(pStream->opaque, 1, sizeof(tdefl_compressor)); + if (!pComp) + return MZ_MEM_ERROR; + + pStream->state = (struct mz_internal_state *)pComp; + + if (tdefl_init(pComp, NULL, NULL, comp_flags) != TDEFL_STATUS_OKAY) + { + mz_deflateEnd(pStream); + return MZ_PARAM_ERROR; + } + + return MZ_OK; +} + +int mz_deflateReset(mz_streamp pStream) +{ + if ((!pStream) || (!pStream->state) || (!pStream->zalloc) || (!pStream->zfree)) + return MZ_STREAM_ERROR; + pStream->total_in = pStream->total_out = 0; + tdefl_init((tdefl_compressor *)pStream->state, NULL, NULL, ((tdefl_compressor *)pStream->state)->m_flags); + return MZ_OK; +} + +int mz_deflate(mz_streamp pStream, int flush) +{ + size_t in_bytes, out_bytes; + mz_ulong orig_total_in, orig_total_out; + int mz_status = MZ_OK; + + if ((!pStream) || (!pStream->state) || (flush < 0) || (flush > MZ_FINISH) || (!pStream->next_out)) + return MZ_STREAM_ERROR; + if (!pStream->avail_out) + return MZ_BUF_ERROR; + + if (flush == MZ_PARTIAL_FLUSH) + flush = MZ_SYNC_FLUSH; + + if (((tdefl_compressor *)pStream->state)->m_prev_return_status == TDEFL_STATUS_DONE) + return (flush == MZ_FINISH) ? MZ_STREAM_END : MZ_BUF_ERROR; + + orig_total_in = pStream->total_in; + orig_total_out = pStream->total_out; + for (;;) + { + tdefl_status defl_status; + in_bytes = pStream->avail_in; + out_bytes = pStream->avail_out; + + defl_status = tdefl_compress((tdefl_compressor *)pStream->state, pStream->next_in, &in_bytes, pStream->next_out, &out_bytes, (tdefl_flush)flush); + pStream->next_in += (mz_uint)in_bytes; + pStream->avail_in -= (mz_uint)in_bytes; + pStream->total_in += (mz_uint)in_bytes; + pStream->adler = tdefl_get_adler32((tdefl_compressor *)pStream->state); + + pStream->next_out += (mz_uint)out_bytes; + pStream->avail_out -= (mz_uint)out_bytes; + pStream->total_out += (mz_uint)out_bytes; + + if (defl_status < 0) + { + mz_status = MZ_STREAM_ERROR; + break; + } + else if (defl_status == TDEFL_STATUS_DONE) + { + mz_status = MZ_STREAM_END; + break; + } + else if (!pStream->avail_out) + break; + else if ((!pStream->avail_in) && (flush != MZ_FINISH)) + { + if ((flush) || (pStream->total_in != orig_total_in) || (pStream->total_out != orig_total_out)) + break; + return MZ_BUF_ERROR; /* Can't make forward progress without some input. + */ + } + } + return mz_status; +} + +int mz_deflateEnd(mz_streamp pStream) +{ + if (!pStream) + return MZ_STREAM_ERROR; + if (pStream->state) + { + pStream->zfree(pStream->opaque, pStream->state); + pStream->state = NULL; + } + return MZ_OK; +} + +mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len) +{ + (void)pStream; + /* This is really over conservative. (And lame, but it's actually pretty tricky to compute a true upper bound given the way tdefl's blocking works.) */ + return MZ_MAX(128 + (source_len * 110) / 100, 128 + source_len + ((source_len / (31 * 1024)) + 1) * 5); +} + +int mz_compress2(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) +{ + int status; + mz_stream stream; + memset(&stream, 0, sizeof(stream)); + + /* In case mz_ulong is 64-bits (argh I hate longs). */ + if ((source_len | *pDest_len) > 0xFFFFFFFFU) + return MZ_PARAM_ERROR; + + stream.next_in = pSource; + stream.avail_in = (mz_uint32)source_len; + stream.next_out = pDest; + stream.avail_out = (mz_uint32)*pDest_len; + + status = mz_deflateInit(&stream, level); + if (status != MZ_OK) + return status; + + status = mz_deflate(&stream, MZ_FINISH); + if (status != MZ_STREAM_END) + { + mz_deflateEnd(&stream); + return (status == MZ_OK) ? MZ_BUF_ERROR : status; + } + + *pDest_len = stream.total_out; + return mz_deflateEnd(&stream); +} + +int mz_compress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) +{ + return mz_compress2(pDest, pDest_len, pSource, source_len, MZ_DEFAULT_COMPRESSION); +} + +mz_ulong mz_compressBound(mz_ulong source_len) +{ + return mz_deflateBound(NULL, source_len); +} + +typedef struct +{ + tinfl_decompressor m_decomp; + mz_uint m_dict_ofs, m_dict_avail, m_first_call, m_has_flushed; + int m_window_bits; + mz_uint8 m_dict[TINFL_LZ_DICT_SIZE]; + tinfl_status m_last_status; +} inflate_state; + +int mz_inflateInit2(mz_streamp pStream, int window_bits) +{ + inflate_state *pDecomp; + if (!pStream) + return MZ_STREAM_ERROR; + if ((window_bits != MZ_DEFAULT_WINDOW_BITS) && (-window_bits != MZ_DEFAULT_WINDOW_BITS)) + return MZ_PARAM_ERROR; + + pStream->data_type = 0; + pStream->adler = 0; + pStream->msg = NULL; + pStream->total_in = 0; + pStream->total_out = 0; + pStream->reserved = 0; + if (!pStream->zalloc) + pStream->zalloc = miniz_def_alloc_func; + if (!pStream->zfree) + pStream->zfree = miniz_def_free_func; + + pDecomp = (inflate_state *)pStream->zalloc(pStream->opaque, 1, sizeof(inflate_state)); + if (!pDecomp) + return MZ_MEM_ERROR; + + pStream->state = (struct mz_internal_state *)pDecomp; + + tinfl_init(&pDecomp->m_decomp); + pDecomp->m_dict_ofs = 0; + pDecomp->m_dict_avail = 0; + pDecomp->m_last_status = TINFL_STATUS_NEEDS_MORE_INPUT; + pDecomp->m_first_call = 1; + pDecomp->m_has_flushed = 0; + pDecomp->m_window_bits = window_bits; + + return MZ_OK; +} + +int mz_inflateInit(mz_streamp pStream) +{ + return mz_inflateInit2(pStream, MZ_DEFAULT_WINDOW_BITS); +} + +int mz_inflate(mz_streamp pStream, int flush) +{ + inflate_state *pState; + mz_uint n, first_call, decomp_flags = TINFL_FLAG_COMPUTE_ADLER32; + size_t in_bytes, out_bytes, orig_avail_in; + tinfl_status status; + + if ((!pStream) || (!pStream->state)) + return MZ_STREAM_ERROR; + if (flush == MZ_PARTIAL_FLUSH) + flush = MZ_SYNC_FLUSH; + if ((flush) && (flush != MZ_SYNC_FLUSH) && (flush != MZ_FINISH)) + return MZ_STREAM_ERROR; + + pState = (inflate_state *)pStream->state; + if (pState->m_window_bits > 0) + decomp_flags |= TINFL_FLAG_PARSE_ZLIB_HEADER; + orig_avail_in = pStream->avail_in; + + first_call = pState->m_first_call; + pState->m_first_call = 0; + if (pState->m_last_status < 0) + return MZ_DATA_ERROR; + + if (pState->m_has_flushed && (flush != MZ_FINISH)) + return MZ_STREAM_ERROR; + pState->m_has_flushed |= (flush == MZ_FINISH); + + if ((flush == MZ_FINISH) && (first_call)) + { + /* MZ_FINISH on the first call implies that the input and output buffers are large enough to hold the entire compressed/decompressed file. */ + decomp_flags |= TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF; + in_bytes = pStream->avail_in; + out_bytes = pStream->avail_out; + status = tinfl_decompress(&pState->m_decomp, pStream->next_in, &in_bytes, pStream->next_out, pStream->next_out, &out_bytes, decomp_flags); + pState->m_last_status = status; + pStream->next_in += (mz_uint)in_bytes; + pStream->avail_in -= (mz_uint)in_bytes; + pStream->total_in += (mz_uint)in_bytes; + pStream->adler = tinfl_get_adler32(&pState->m_decomp); + pStream->next_out += (mz_uint)out_bytes; + pStream->avail_out -= (mz_uint)out_bytes; + pStream->total_out += (mz_uint)out_bytes; + + if (status < 0) + return MZ_DATA_ERROR; + else if (status != TINFL_STATUS_DONE) + { + pState->m_last_status = TINFL_STATUS_FAILED; + return MZ_BUF_ERROR; + } + return MZ_STREAM_END; + } + /* flush != MZ_FINISH then we must assume there's more input. */ + if (flush != MZ_FINISH) + decomp_flags |= TINFL_FLAG_HAS_MORE_INPUT; + + if (pState->m_dict_avail) + { + n = MZ_MIN(pState->m_dict_avail, pStream->avail_out); + memcpy(pStream->next_out, pState->m_dict + pState->m_dict_ofs, n); + pStream->next_out += n; + pStream->avail_out -= n; + pStream->total_out += n; + pState->m_dict_avail -= n; + pState->m_dict_ofs = (pState->m_dict_ofs + n) & (TINFL_LZ_DICT_SIZE - 1); + return ((pState->m_last_status == TINFL_STATUS_DONE) && (!pState->m_dict_avail)) ? MZ_STREAM_END : MZ_OK; + } + + for (;;) + { + in_bytes = pStream->avail_in; + out_bytes = TINFL_LZ_DICT_SIZE - pState->m_dict_ofs; + + status = tinfl_decompress(&pState->m_decomp, pStream->next_in, &in_bytes, pState->m_dict, pState->m_dict + pState->m_dict_ofs, &out_bytes, decomp_flags); + pState->m_last_status = status; + + pStream->next_in += (mz_uint)in_bytes; + pStream->avail_in -= (mz_uint)in_bytes; + pStream->total_in += (mz_uint)in_bytes; + pStream->adler = tinfl_get_adler32(&pState->m_decomp); + + pState->m_dict_avail = (mz_uint)out_bytes; + + n = MZ_MIN(pState->m_dict_avail, pStream->avail_out); + memcpy(pStream->next_out, pState->m_dict + pState->m_dict_ofs, n); + pStream->next_out += n; + pStream->avail_out -= n; + pStream->total_out += n; + pState->m_dict_avail -= n; + pState->m_dict_ofs = (pState->m_dict_ofs + n) & (TINFL_LZ_DICT_SIZE - 1); + + if (status < 0) + return MZ_DATA_ERROR; /* Stream is corrupted (there could be some uncompressed data left in the output dictionary - oh well). */ + else if ((status == TINFL_STATUS_NEEDS_MORE_INPUT) && (!orig_avail_in)) + return MZ_BUF_ERROR; /* Signal caller that we can't make forward progress without supplying more input or by setting flush to MZ_FINISH. */ + else if (flush == MZ_FINISH) + { + /* The output buffer MUST be large to hold the remaining uncompressed data when flush==MZ_FINISH. */ + if (status == TINFL_STATUS_DONE) + return pState->m_dict_avail ? MZ_BUF_ERROR : MZ_STREAM_END; + /* status here must be TINFL_STATUS_HAS_MORE_OUTPUT, which means there's at least 1 more byte on the way. If there's no more room left in the output buffer then something is wrong. */ + else if (!pStream->avail_out) + return MZ_BUF_ERROR; + } + else if ((status == TINFL_STATUS_DONE) || (!pStream->avail_in) || (!pStream->avail_out) || (pState->m_dict_avail)) + break; + } + + return ((status == TINFL_STATUS_DONE) && (!pState->m_dict_avail)) ? MZ_STREAM_END : MZ_OK; +} + +int mz_inflateEnd(mz_streamp pStream) +{ + if (!pStream) + return MZ_STREAM_ERROR; + if (pStream->state) + { + pStream->zfree(pStream->opaque, pStream->state); + pStream->state = NULL; + } + return MZ_OK; +} + +int mz_uncompress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) +{ + mz_stream stream; + int status; + memset(&stream, 0, sizeof(stream)); + + /* In case mz_ulong is 64-bits (argh I hate longs). */ + if ((source_len | *pDest_len) > 0xFFFFFFFFU) + return MZ_PARAM_ERROR; + + stream.next_in = pSource; + stream.avail_in = (mz_uint32)source_len; + stream.next_out = pDest; + stream.avail_out = (mz_uint32)*pDest_len; + + status = mz_inflateInit(&stream); + if (status != MZ_OK) + return status; + + status = mz_inflate(&stream, MZ_FINISH); + if (status != MZ_STREAM_END) + { + mz_inflateEnd(&stream); + return ((status == MZ_BUF_ERROR) && (!stream.avail_in)) ? MZ_DATA_ERROR : status; + } + *pDest_len = stream.total_out; + + return mz_inflateEnd(&stream); +} + +const char *mz_error(int err) +{ + static struct + { + int m_err; + const char *m_pDesc; + } s_error_descs[] = + { + { MZ_OK, "" }, { MZ_STREAM_END, "stream end" }, { MZ_NEED_DICT, "need dictionary" }, { MZ_ERRNO, "file error" }, { MZ_STREAM_ERROR, "stream error" }, { MZ_DATA_ERROR, "data error" }, { MZ_MEM_ERROR, "out of memory" }, { MZ_BUF_ERROR, "buf error" }, { MZ_VERSION_ERROR, "version error" }, { MZ_PARAM_ERROR, "parameter error" } + }; + mz_uint i; + for (i = 0; i < sizeof(s_error_descs) / sizeof(s_error_descs[0]); ++i) + if (s_error_descs[i].m_err == err) + return s_error_descs[i].m_pDesc; + return NULL; +} + +#endif /*MINIZ_NO_ZLIB_APIS */ + +#ifdef __cplusplus +} +#endif + +/* + This is free and unencumbered software released into the public domain. + + Anyone is free to copy, modify, publish, use, compile, sell, or + distribute this software, either in source code form or as a compiled + binary, for any purpose, commercial or non-commercial, and by any + means. + + In jurisdictions that recognize copyright laws, the author or authors + of this software dedicate any and all copyright interest in the + software to the public domain. We make this dedication for the benefit + of the public at large and to the detriment of our heirs and + successors. We intend this dedication to be an overt act of + relinquishment in perpetuity of all present and future rights to this + software under copyright law. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR + OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + For more information, please refer to +*/ +/************************************************************************** + * + * Copyright 2013-2014 RAD Game Tools and Valve Software + * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + **************************************************************************/ + + + + +#ifdef __cplusplus +extern "C" { +#endif + +/* ------------------- Low-level Compression (independent from all decompression API's) */ + +/* Purposely making these tables static for faster init and thread safety. */ +static const mz_uint16 s_tdefl_len_sym[256] = + { + 257, 258, 259, 260, 261, 262, 263, 264, 265, 265, 266, 266, 267, 267, 268, 268, 269, 269, 269, 269, 270, 270, 270, 270, 271, 271, 271, 271, 272, 272, 272, 272, + 273, 273, 273, 273, 273, 273, 273, 273, 274, 274, 274, 274, 274, 274, 274, 274, 275, 275, 275, 275, 275, 275, 275, 275, 276, 276, 276, 276, 276, 276, 276, 276, + 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 277, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, 278, + 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 279, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, 280, + 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, 281, + 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, 282, + 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, 283, + 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 284, 285 + }; + +static const mz_uint8 s_tdefl_len_extra[256] = + { + 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0 + }; + +static const mz_uint8 s_tdefl_small_dist_sym[512] = + { + 0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, + 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, + 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, + 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, + 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, + 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, + 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17 + }; + +static const mz_uint8 s_tdefl_small_dist_extra[512] = + { + 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,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, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, + 7, 7, 7, 7, 7, 7, 7, 7 + }; + +static const mz_uint8 s_tdefl_large_dist_sym[128] = + { + 0, 0, 18, 19, 20, 20, 21, 21, 22, 22, 22, 22, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, + 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, + 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29 + }; + +static const mz_uint8 s_tdefl_large_dist_extra[128] = + { + 0, 0, 8, 8, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, + 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13 + }; + +/* Radix sorts tdefl_sym_freq[] array by 16-bit key m_key. Returns ptr to sorted values. */ +typedef struct +{ + mz_uint16 m_key, m_sym_index; +} tdefl_sym_freq; +static tdefl_sym_freq *tdefl_radix_sort_syms(mz_uint num_syms, tdefl_sym_freq *pSyms0, tdefl_sym_freq *pSyms1) +{ + mz_uint32 total_passes = 2, pass_shift, pass, i, hist[256 * 2]; + tdefl_sym_freq *pCur_syms = pSyms0, *pNew_syms = pSyms1; + MZ_CLEAR_OBJ(hist); + for (i = 0; i < num_syms; i++) + { + mz_uint freq = pSyms0[i].m_key; + hist[freq & 0xFF]++; + hist[256 + ((freq >> 8) & 0xFF)]++; + } + while ((total_passes > 1) && (num_syms == hist[(total_passes - 1) * 256])) + total_passes--; + for (pass_shift = 0, pass = 0; pass < total_passes; pass++, pass_shift += 8) + { + const mz_uint32 *pHist = &hist[pass << 8]; + mz_uint offsets[256], cur_ofs = 0; + for (i = 0; i < 256; i++) + { + offsets[i] = cur_ofs; + cur_ofs += pHist[i]; + } + for (i = 0; i < num_syms; i++) + pNew_syms[offsets[(pCur_syms[i].m_key >> pass_shift) & 0xFF]++] = pCur_syms[i]; + { + tdefl_sym_freq *t = pCur_syms; + pCur_syms = pNew_syms; + pNew_syms = t; + } + } + return pCur_syms; +} + +/* tdefl_calculate_minimum_redundancy() originally written by: Alistair Moffat, alistair@cs.mu.oz.au, Jyrki Katajainen, jyrki@diku.dk, November 1996. */ +static void tdefl_calculate_minimum_redundancy(tdefl_sym_freq *A, int n) +{ + int root, leaf, next, avbl, used, dpth; + if (n == 0) + return; + else if (n == 1) + { + A[0].m_key = 1; + return; + } + A[0].m_key += A[1].m_key; + root = 0; + leaf = 2; + for (next = 1; next < n - 1; next++) + { + if (leaf >= n || A[root].m_key < A[leaf].m_key) + { + A[next].m_key = A[root].m_key; + A[root++].m_key = (mz_uint16)next; + } + else + A[next].m_key = A[leaf++].m_key; + if (leaf >= n || (root < next && A[root].m_key < A[leaf].m_key)) + { + A[next].m_key = (mz_uint16)(A[next].m_key + A[root].m_key); + A[root++].m_key = (mz_uint16)next; + } + else + A[next].m_key = (mz_uint16)(A[next].m_key + A[leaf++].m_key); + } + A[n - 2].m_key = 0; + for (next = n - 3; next >= 0; next--) + A[next].m_key = A[A[next].m_key].m_key + 1; + avbl = 1; + used = dpth = 0; + root = n - 2; + next = n - 1; + while (avbl > 0) + { + while (root >= 0 && (int)A[root].m_key == dpth) + { + used++; + root--; + } + while (avbl > used) + { + A[next--].m_key = (mz_uint16)(dpth); + avbl--; + } + avbl = 2 * used; + dpth++; + used = 0; + } +} + +/* Limits canonical Huffman code table's max code size. */ +enum +{ + TDEFL_MAX_SUPPORTED_HUFF_CODESIZE = 32 +}; +static void tdefl_huffman_enforce_max_code_size(int *pNum_codes, int code_list_len, int max_code_size) +{ + int i; + mz_uint32 total = 0; + if (code_list_len <= 1) + return; + for (i = max_code_size + 1; i <= TDEFL_MAX_SUPPORTED_HUFF_CODESIZE; i++) + pNum_codes[max_code_size] += pNum_codes[i]; + for (i = max_code_size; i > 0; i--) + total += (((mz_uint32)pNum_codes[i]) << (max_code_size - i)); + while (total != (1UL << max_code_size)) + { + pNum_codes[max_code_size]--; + for (i = max_code_size - 1; i > 0; i--) + if (pNum_codes[i]) + { + pNum_codes[i]--; + pNum_codes[i + 1] += 2; + break; + } + total--; + } +} + +static void tdefl_optimize_huffman_table(tdefl_compressor *d, int table_num, int table_len, int code_size_limit, int static_table) +{ + int i, j, l, num_codes[1 + TDEFL_MAX_SUPPORTED_HUFF_CODESIZE]; + mz_uint next_code[TDEFL_MAX_SUPPORTED_HUFF_CODESIZE + 1]; + MZ_CLEAR_OBJ(num_codes); + if (static_table) + { + for (i = 0; i < table_len; i++) + num_codes[d->m_huff_code_sizes[table_num][i]]++; + } + else + { + tdefl_sym_freq syms0[TDEFL_MAX_HUFF_SYMBOLS], syms1[TDEFL_MAX_HUFF_SYMBOLS], *pSyms; + int num_used_syms = 0; + const mz_uint16 *pSym_count = &d->m_huff_count[table_num][0]; + for (i = 0; i < table_len; i++) + if (pSym_count[i]) + { + syms0[num_used_syms].m_key = (mz_uint16)pSym_count[i]; + syms0[num_used_syms++].m_sym_index = (mz_uint16)i; + } + + pSyms = tdefl_radix_sort_syms(num_used_syms, syms0, syms1); + tdefl_calculate_minimum_redundancy(pSyms, num_used_syms); + + for (i = 0; i < num_used_syms; i++) + num_codes[pSyms[i].m_key]++; + + tdefl_huffman_enforce_max_code_size(num_codes, num_used_syms, code_size_limit); + + MZ_CLEAR_OBJ(d->m_huff_code_sizes[table_num]); + MZ_CLEAR_OBJ(d->m_huff_codes[table_num]); + for (i = 1, j = num_used_syms; i <= code_size_limit; i++) + for (l = num_codes[i]; l > 0; l--) + d->m_huff_code_sizes[table_num][pSyms[--j].m_sym_index] = (mz_uint8)(i); + } + + next_code[1] = 0; + for (j = 0, i = 2; i <= code_size_limit; i++) + next_code[i] = j = ((j + num_codes[i - 1]) << 1); + + for (i = 0; i < table_len; i++) + { + mz_uint rev_code = 0, code, code_size; + if ((code_size = d->m_huff_code_sizes[table_num][i]) == 0) + continue; + code = next_code[code_size]++; + for (l = code_size; l > 0; l--, code >>= 1) + rev_code = (rev_code << 1) | (code & 1); + d->m_huff_codes[table_num][i] = (mz_uint16)rev_code; + } +} + +#define TDEFL_PUT_BITS(b, l) \ + do \ + { \ + mz_uint bits = b; \ + mz_uint len = l; \ + MZ_ASSERT(bits <= ((1U << len) - 1U)); \ + d->m_bit_buffer |= (bits << d->m_bits_in); \ + d->m_bits_in += len; \ + while (d->m_bits_in >= 8) \ + { \ + if (d->m_pOutput_buf < d->m_pOutput_buf_end) \ + *d->m_pOutput_buf++ = (mz_uint8)(d->m_bit_buffer); \ + d->m_bit_buffer >>= 8; \ + d->m_bits_in -= 8; \ + } \ + } \ + MZ_MACRO_END + +#define TDEFL_RLE_PREV_CODE_SIZE() \ + { \ + if (rle_repeat_count) \ + { \ + if (rle_repeat_count < 3) \ + { \ + d->m_huff_count[2][prev_code_size] = (mz_uint16)(d->m_huff_count[2][prev_code_size] + rle_repeat_count); \ + while (rle_repeat_count--) \ + packed_code_sizes[num_packed_code_sizes++] = prev_code_size; \ + } \ + else \ + { \ + d->m_huff_count[2][16] = (mz_uint16)(d->m_huff_count[2][16] + 1); \ + packed_code_sizes[num_packed_code_sizes++] = 16; \ + packed_code_sizes[num_packed_code_sizes++] = (mz_uint8)(rle_repeat_count - 3); \ + } \ + rle_repeat_count = 0; \ + } \ + } + +#define TDEFL_RLE_ZERO_CODE_SIZE() \ + { \ + if (rle_z_count) \ + { \ + if (rle_z_count < 3) \ + { \ + d->m_huff_count[2][0] = (mz_uint16)(d->m_huff_count[2][0] + rle_z_count); \ + while (rle_z_count--) \ + packed_code_sizes[num_packed_code_sizes++] = 0; \ + } \ + else if (rle_z_count <= 10) \ + { \ + d->m_huff_count[2][17] = (mz_uint16)(d->m_huff_count[2][17] + 1); \ + packed_code_sizes[num_packed_code_sizes++] = 17; \ + packed_code_sizes[num_packed_code_sizes++] = (mz_uint8)(rle_z_count - 3); \ + } \ + else \ + { \ + d->m_huff_count[2][18] = (mz_uint16)(d->m_huff_count[2][18] + 1); \ + packed_code_sizes[num_packed_code_sizes++] = 18; \ + packed_code_sizes[num_packed_code_sizes++] = (mz_uint8)(rle_z_count - 11); \ + } \ + rle_z_count = 0; \ + } \ + } + +static mz_uint8 s_tdefl_packed_code_size_syms_swizzle[] = { 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 }; + +static void tdefl_start_dynamic_block(tdefl_compressor *d) +{ + int num_lit_codes, num_dist_codes, num_bit_lengths; + mz_uint i, total_code_sizes_to_pack, num_packed_code_sizes, rle_z_count, rle_repeat_count, packed_code_sizes_index; + mz_uint8 code_sizes_to_pack[TDEFL_MAX_HUFF_SYMBOLS_0 + TDEFL_MAX_HUFF_SYMBOLS_1], packed_code_sizes[TDEFL_MAX_HUFF_SYMBOLS_0 + TDEFL_MAX_HUFF_SYMBOLS_1], prev_code_size = 0xFF; + + d->m_huff_count[0][256] = 1; + + tdefl_optimize_huffman_table(d, 0, TDEFL_MAX_HUFF_SYMBOLS_0, 15, MZ_FALSE); + tdefl_optimize_huffman_table(d, 1, TDEFL_MAX_HUFF_SYMBOLS_1, 15, MZ_FALSE); + + for (num_lit_codes = 286; num_lit_codes > 257; num_lit_codes--) + if (d->m_huff_code_sizes[0][num_lit_codes - 1]) + break; + for (num_dist_codes = 30; num_dist_codes > 1; num_dist_codes--) + if (d->m_huff_code_sizes[1][num_dist_codes - 1]) + break; + + memcpy(code_sizes_to_pack, &d->m_huff_code_sizes[0][0], num_lit_codes); + memcpy(code_sizes_to_pack + num_lit_codes, &d->m_huff_code_sizes[1][0], num_dist_codes); + total_code_sizes_to_pack = num_lit_codes + num_dist_codes; + num_packed_code_sizes = 0; + rle_z_count = 0; + rle_repeat_count = 0; + + memset(&d->m_huff_count[2][0], 0, sizeof(d->m_huff_count[2][0]) * TDEFL_MAX_HUFF_SYMBOLS_2); + for (i = 0; i < total_code_sizes_to_pack; i++) + { + mz_uint8 code_size = code_sizes_to_pack[i]; + if (!code_size) + { + TDEFL_RLE_PREV_CODE_SIZE(); + if (++rle_z_count == 138) + { + TDEFL_RLE_ZERO_CODE_SIZE(); + } + } + else + { + TDEFL_RLE_ZERO_CODE_SIZE(); + if (code_size != prev_code_size) + { + TDEFL_RLE_PREV_CODE_SIZE(); + d->m_huff_count[2][code_size] = (mz_uint16)(d->m_huff_count[2][code_size] + 1); + packed_code_sizes[num_packed_code_sizes++] = code_size; + } + else if (++rle_repeat_count == 6) + { + TDEFL_RLE_PREV_CODE_SIZE(); + } + } + prev_code_size = code_size; + } + if (rle_repeat_count) + { + TDEFL_RLE_PREV_CODE_SIZE(); + } + else + { + TDEFL_RLE_ZERO_CODE_SIZE(); + } + + tdefl_optimize_huffman_table(d, 2, TDEFL_MAX_HUFF_SYMBOLS_2, 7, MZ_FALSE); + + TDEFL_PUT_BITS(2, 2); + + TDEFL_PUT_BITS(num_lit_codes - 257, 5); + TDEFL_PUT_BITS(num_dist_codes - 1, 5); + + for (num_bit_lengths = 18; num_bit_lengths >= 0; num_bit_lengths--) + if (d->m_huff_code_sizes[2][s_tdefl_packed_code_size_syms_swizzle[num_bit_lengths]]) + break; + num_bit_lengths = MZ_MAX(4, (num_bit_lengths + 1)); + TDEFL_PUT_BITS(num_bit_lengths - 4, 4); + for (i = 0; (int)i < num_bit_lengths; i++) + TDEFL_PUT_BITS(d->m_huff_code_sizes[2][s_tdefl_packed_code_size_syms_swizzle[i]], 3); + + for (packed_code_sizes_index = 0; packed_code_sizes_index < num_packed_code_sizes;) + { + mz_uint code = packed_code_sizes[packed_code_sizes_index++]; + MZ_ASSERT(code < TDEFL_MAX_HUFF_SYMBOLS_2); + TDEFL_PUT_BITS(d->m_huff_codes[2][code], d->m_huff_code_sizes[2][code]); + if (code >= 16) + TDEFL_PUT_BITS(packed_code_sizes[packed_code_sizes_index++], "\02\03\07"[code - 16]); + } +} + +static void tdefl_start_static_block(tdefl_compressor *d) +{ + mz_uint i; + mz_uint8 *p = &d->m_huff_code_sizes[0][0]; + + for (i = 0; i <= 143; ++i) + *p++ = 8; + for (; i <= 255; ++i) + *p++ = 9; + for (; i <= 279; ++i) + *p++ = 7; + for (; i <= 287; ++i) + *p++ = 8; + + memset(d->m_huff_code_sizes[1], 5, 32); + + tdefl_optimize_huffman_table(d, 0, 288, 15, MZ_TRUE); + tdefl_optimize_huffman_table(d, 1, 32, 15, MZ_TRUE); + + TDEFL_PUT_BITS(1, 2); +} + +static const mz_uint mz_bitmasks[17] = { 0x0000, 0x0001, 0x0003, 0x0007, 0x000F, 0x001F, 0x003F, 0x007F, 0x00FF, 0x01FF, 0x03FF, 0x07FF, 0x0FFF, 0x1FFF, 0x3FFF, 0x7FFF, 0xFFFF }; + +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN && MINIZ_HAS_64BIT_REGISTERS +static mz_bool tdefl_compress_lz_codes(tdefl_compressor *d) +{ + mz_uint flags; + mz_uint8 *pLZ_codes; + mz_uint8 *pOutput_buf = d->m_pOutput_buf; + mz_uint8 *pLZ_code_buf_end = d->m_pLZ_code_buf; + mz_uint64 bit_buffer = d->m_bit_buffer; + mz_uint bits_in = d->m_bits_in; + +#define TDEFL_PUT_BITS_FAST(b, l) \ + { \ + bit_buffer |= (((mz_uint64)(b)) << bits_in); \ + bits_in += (l); \ + } + + flags = 1; + for (pLZ_codes = d->m_lz_code_buf; pLZ_codes < pLZ_code_buf_end; flags >>= 1) + { + if (flags == 1) + flags = *pLZ_codes++ | 0x100; + + if (flags & 1) + { + mz_uint s0, s1, n0, n1, sym, num_extra_bits; + mz_uint match_len = pLZ_codes[0], match_dist = *(const mz_uint16 *)(pLZ_codes + 1); + pLZ_codes += 3; + + MZ_ASSERT(d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); + TDEFL_PUT_BITS_FAST(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); + TDEFL_PUT_BITS_FAST(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match_len]); + + /* This sequence coaxes MSVC into using cmov's vs. jmp's. */ + s0 = s_tdefl_small_dist_sym[match_dist & 511]; + n0 = s_tdefl_small_dist_extra[match_dist & 511]; + s1 = s_tdefl_large_dist_sym[match_dist >> 8]; + n1 = s_tdefl_large_dist_extra[match_dist >> 8]; + sym = (match_dist < 512) ? s0 : s1; + num_extra_bits = (match_dist < 512) ? n0 : n1; + + MZ_ASSERT(d->m_huff_code_sizes[1][sym]); + TDEFL_PUT_BITS_FAST(d->m_huff_codes[1][sym], d->m_huff_code_sizes[1][sym]); + TDEFL_PUT_BITS_FAST(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits); + } + else + { + mz_uint lit = *pLZ_codes++; + MZ_ASSERT(d->m_huff_code_sizes[0][lit]); + TDEFL_PUT_BITS_FAST(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]); + + if (((flags & 2) == 0) && (pLZ_codes < pLZ_code_buf_end)) + { + flags >>= 1; + lit = *pLZ_codes++; + MZ_ASSERT(d->m_huff_code_sizes[0][lit]); + TDEFL_PUT_BITS_FAST(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]); + + if (((flags & 2) == 0) && (pLZ_codes < pLZ_code_buf_end)) + { + flags >>= 1; + lit = *pLZ_codes++; + MZ_ASSERT(d->m_huff_code_sizes[0][lit]); + TDEFL_PUT_BITS_FAST(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]); + } + } + } + + if (pOutput_buf >= d->m_pOutput_buf_end) + return MZ_FALSE; + + *(mz_uint64 *)pOutput_buf = bit_buffer; + pOutput_buf += (bits_in >> 3); + bit_buffer >>= (bits_in & ~7); + bits_in &= 7; + } + +#undef TDEFL_PUT_BITS_FAST + + d->m_pOutput_buf = pOutput_buf; + d->m_bits_in = 0; + d->m_bit_buffer = 0; + + while (bits_in) + { + mz_uint32 n = MZ_MIN(bits_in, 16); + TDEFL_PUT_BITS((mz_uint)bit_buffer & mz_bitmasks[n], n); + bit_buffer >>= n; + bits_in -= n; + } + + TDEFL_PUT_BITS(d->m_huff_codes[0][256], d->m_huff_code_sizes[0][256]); + + return (d->m_pOutput_buf < d->m_pOutput_buf_end); +} +#else +static mz_bool tdefl_compress_lz_codes(tdefl_compressor *d) +{ + mz_uint flags; + mz_uint8 *pLZ_codes; + + flags = 1; + for (pLZ_codes = d->m_lz_code_buf; pLZ_codes < d->m_pLZ_code_buf; flags >>= 1) + { + if (flags == 1) + flags = *pLZ_codes++ | 0x100; + if (flags & 1) + { + mz_uint sym, num_extra_bits; + mz_uint match_len = pLZ_codes[0], match_dist = (pLZ_codes[1] | (pLZ_codes[2] << 8)); + pLZ_codes += 3; + + MZ_ASSERT(d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); + TDEFL_PUT_BITS(d->m_huff_codes[0][s_tdefl_len_sym[match_len]], d->m_huff_code_sizes[0][s_tdefl_len_sym[match_len]]); + TDEFL_PUT_BITS(match_len & mz_bitmasks[s_tdefl_len_extra[match_len]], s_tdefl_len_extra[match_len]); + + if (match_dist < 512) + { + sym = s_tdefl_small_dist_sym[match_dist]; + num_extra_bits = s_tdefl_small_dist_extra[match_dist]; + } + else + { + sym = s_tdefl_large_dist_sym[match_dist >> 8]; + num_extra_bits = s_tdefl_large_dist_extra[match_dist >> 8]; + } + MZ_ASSERT(d->m_huff_code_sizes[1][sym]); + TDEFL_PUT_BITS(d->m_huff_codes[1][sym], d->m_huff_code_sizes[1][sym]); + TDEFL_PUT_BITS(match_dist & mz_bitmasks[num_extra_bits], num_extra_bits); + } + else + { + mz_uint lit = *pLZ_codes++; + MZ_ASSERT(d->m_huff_code_sizes[0][lit]); + TDEFL_PUT_BITS(d->m_huff_codes[0][lit], d->m_huff_code_sizes[0][lit]); + } + } + + TDEFL_PUT_BITS(d->m_huff_codes[0][256], d->m_huff_code_sizes[0][256]); + + return (d->m_pOutput_buf < d->m_pOutput_buf_end); +} +#endif /* MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN && MINIZ_HAS_64BIT_REGISTERS */ + +static mz_bool tdefl_compress_block(tdefl_compressor *d, mz_bool static_block) +{ + if (static_block) + tdefl_start_static_block(d); + else + tdefl_start_dynamic_block(d); + return tdefl_compress_lz_codes(d); +} + +static int tdefl_flush_block(tdefl_compressor *d, int flush) +{ + mz_uint saved_bit_buf, saved_bits_in; + mz_uint8 *pSaved_output_buf; + mz_bool comp_block_succeeded = MZ_FALSE; + int n, use_raw_block = ((d->m_flags & TDEFL_FORCE_ALL_RAW_BLOCKS) != 0) && (d->m_lookahead_pos - d->m_lz_code_buf_dict_pos) <= d->m_dict_size; + mz_uint8 *pOutput_buf_start = ((d->m_pPut_buf_func == NULL) && ((*d->m_pOut_buf_size - d->m_out_buf_ofs) >= TDEFL_OUT_BUF_SIZE)) ? ((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs) : d->m_output_buf; + + d->m_pOutput_buf = pOutput_buf_start; + d->m_pOutput_buf_end = d->m_pOutput_buf + TDEFL_OUT_BUF_SIZE - 16; + + MZ_ASSERT(!d->m_output_flush_remaining); + d->m_output_flush_ofs = 0; + d->m_output_flush_remaining = 0; + + *d->m_pLZ_flags = (mz_uint8)(*d->m_pLZ_flags >> d->m_num_flags_left); + d->m_pLZ_code_buf -= (d->m_num_flags_left == 8); + + if ((d->m_flags & TDEFL_WRITE_ZLIB_HEADER) && (!d->m_block_index)) + { + TDEFL_PUT_BITS(0x78, 8); + TDEFL_PUT_BITS(0x01, 8); + } + + TDEFL_PUT_BITS(flush == TDEFL_FINISH, 1); + + pSaved_output_buf = d->m_pOutput_buf; + saved_bit_buf = d->m_bit_buffer; + saved_bits_in = d->m_bits_in; + + if (!use_raw_block) + comp_block_succeeded = tdefl_compress_block(d, (d->m_flags & TDEFL_FORCE_ALL_STATIC_BLOCKS) || (d->m_total_lz_bytes < 48)); + + /* If the block gets expanded, forget the current contents of the output buffer and send a raw block instead. */ + if (((use_raw_block) || ((d->m_total_lz_bytes) && ((d->m_pOutput_buf - pSaved_output_buf + 1U) >= d->m_total_lz_bytes))) && + ((d->m_lookahead_pos - d->m_lz_code_buf_dict_pos) <= d->m_dict_size)) + { + mz_uint i; + d->m_pOutput_buf = pSaved_output_buf; + d->m_bit_buffer = saved_bit_buf, d->m_bits_in = saved_bits_in; + TDEFL_PUT_BITS(0, 2); + if (d->m_bits_in) + { + TDEFL_PUT_BITS(0, 8 - d->m_bits_in); + } + for (i = 2; i; --i, d->m_total_lz_bytes ^= 0xFFFF) + { + TDEFL_PUT_BITS(d->m_total_lz_bytes & 0xFFFF, 16); + } + for (i = 0; i < d->m_total_lz_bytes; ++i) + { + TDEFL_PUT_BITS(d->m_dict[(d->m_lz_code_buf_dict_pos + i) & TDEFL_LZ_DICT_SIZE_MASK], 8); + } + } + /* Check for the extremely unlikely (if not impossible) case of the compressed block not fitting into the output buffer when using dynamic codes. */ + else if (!comp_block_succeeded) + { + d->m_pOutput_buf = pSaved_output_buf; + d->m_bit_buffer = saved_bit_buf, d->m_bits_in = saved_bits_in; + tdefl_compress_block(d, MZ_TRUE); + } + + if (flush) + { + if (flush == TDEFL_FINISH) + { + if (d->m_bits_in) + { + TDEFL_PUT_BITS(0, 8 - d->m_bits_in); + } + if (d->m_flags & TDEFL_WRITE_ZLIB_HEADER) + { + mz_uint i, a = d->m_adler32; + for (i = 0; i < 4; i++) + { + TDEFL_PUT_BITS((a >> 24) & 0xFF, 8); + a <<= 8; + } + } + } + else + { + mz_uint i, z = 0; + TDEFL_PUT_BITS(0, 3); + if (d->m_bits_in) + { + TDEFL_PUT_BITS(0, 8 - d->m_bits_in); + } + for (i = 2; i; --i, z ^= 0xFFFF) + { + TDEFL_PUT_BITS(z & 0xFFFF, 16); + } + } + } + + MZ_ASSERT(d->m_pOutput_buf < d->m_pOutput_buf_end); + + memset(&d->m_huff_count[0][0], 0, sizeof(d->m_huff_count[0][0]) * TDEFL_MAX_HUFF_SYMBOLS_0); + memset(&d->m_huff_count[1][0], 0, sizeof(d->m_huff_count[1][0]) * TDEFL_MAX_HUFF_SYMBOLS_1); + + d->m_pLZ_code_buf = d->m_lz_code_buf + 1; + d->m_pLZ_flags = d->m_lz_code_buf; + d->m_num_flags_left = 8; + d->m_lz_code_buf_dict_pos += d->m_total_lz_bytes; + d->m_total_lz_bytes = 0; + d->m_block_index++; + + if ((n = (int)(d->m_pOutput_buf - pOutput_buf_start)) != 0) + { + if (d->m_pPut_buf_func) + { + *d->m_pIn_buf_size = d->m_pSrc - (const mz_uint8 *)d->m_pIn_buf; + if (!(*d->m_pPut_buf_func)(d->m_output_buf, n, d->m_pPut_buf_user)) + return (d->m_prev_return_status = TDEFL_STATUS_PUT_BUF_FAILED); + } + else if (pOutput_buf_start == d->m_output_buf) + { + int bytes_to_copy = (int)MZ_MIN((size_t)n, (size_t)(*d->m_pOut_buf_size - d->m_out_buf_ofs)); + memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf, bytes_to_copy); + d->m_out_buf_ofs += bytes_to_copy; + if ((n -= bytes_to_copy) != 0) + { + d->m_output_flush_ofs = bytes_to_copy; + d->m_output_flush_remaining = n; + } + } + else + { + d->m_out_buf_ofs += n; + } + } + + return d->m_output_flush_remaining; +} + +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES +#ifdef MINIZ_UNALIGNED_USE_MEMCPY +static inline mz_uint16 TDEFL_READ_UNALIGNED_WORD(const mz_uint8* p) +{ + mz_uint16 ret; + memcpy(&ret, p, sizeof(mz_uint16)); + return ret; +} +static inline mz_uint16 TDEFL_READ_UNALIGNED_WORD2(const mz_uint16* p) +{ + mz_uint16 ret; + memcpy(&ret, p, sizeof(mz_uint16)); + return ret; +} +#else +#define TDEFL_READ_UNALIGNED_WORD(p) *(const mz_uint16 *)(p) +#define TDEFL_READ_UNALIGNED_WORD2(p) *(const mz_uint16 *)(p) +#endif +static MZ_FORCEINLINE void tdefl_find_match(tdefl_compressor *d, mz_uint lookahead_pos, mz_uint max_dist, mz_uint max_match_len, mz_uint *pMatch_dist, mz_uint *pMatch_len) +{ + mz_uint dist, pos = lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK, match_len = *pMatch_len, probe_pos = pos, next_probe_pos, probe_len; + mz_uint num_probes_left = d->m_max_probes[match_len >= 32]; + const mz_uint16 *s = (const mz_uint16 *)(d->m_dict + pos), *p, *q; + mz_uint16 c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]), s01 = TDEFL_READ_UNALIGNED_WORD2(s); + MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); + if (max_match_len <= match_len) + return; + for (;;) + { + for (;;) + { + if (--num_probes_left == 0) + return; +#define TDEFL_PROBE \ + next_probe_pos = d->m_next[probe_pos]; \ + if ((!next_probe_pos) || ((dist = (mz_uint16)(lookahead_pos - next_probe_pos)) > max_dist)) \ + return; \ + probe_pos = next_probe_pos & TDEFL_LZ_DICT_SIZE_MASK; \ + if (TDEFL_READ_UNALIGNED_WORD(&d->m_dict[probe_pos + match_len - 1]) == c01) \ + break; + TDEFL_PROBE; + TDEFL_PROBE; + TDEFL_PROBE; + } + if (!dist) + break; + q = (const mz_uint16 *)(d->m_dict + probe_pos); + if (TDEFL_READ_UNALIGNED_WORD2(q) != s01) + continue; + p = s; + probe_len = 32; + do + { + } while ((TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && + (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (--probe_len > 0)); + if (!probe_len) + { + *pMatch_dist = dist; + *pMatch_len = MZ_MIN(max_match_len, (mz_uint)TDEFL_MAX_MATCH_LEN); + break; + } + else if ((probe_len = ((mz_uint)(p - s) * 2) + (mz_uint)(*(const mz_uint8 *)p == *(const mz_uint8 *)q)) > match_len) + { + *pMatch_dist = dist; + if ((*pMatch_len = match_len = MZ_MIN(max_match_len, probe_len)) == max_match_len) + break; + c01 = TDEFL_READ_UNALIGNED_WORD(&d->m_dict[pos + match_len - 1]); + } + } +} +#else +static MZ_FORCEINLINE void tdefl_find_match(tdefl_compressor *d, mz_uint lookahead_pos, mz_uint max_dist, mz_uint max_match_len, mz_uint *pMatch_dist, mz_uint *pMatch_len) +{ + mz_uint dist, pos = lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK, match_len = *pMatch_len, probe_pos = pos, next_probe_pos, probe_len; + mz_uint num_probes_left = d->m_max_probes[match_len >= 32]; + const mz_uint8 *s = d->m_dict + pos, *p, *q; + mz_uint8 c0 = d->m_dict[pos + match_len], c1 = d->m_dict[pos + match_len - 1]; + MZ_ASSERT(max_match_len <= TDEFL_MAX_MATCH_LEN); + if (max_match_len <= match_len) + return; + for (;;) + { + for (;;) + { + if (--num_probes_left == 0) + return; +#define TDEFL_PROBE \ + next_probe_pos = d->m_next[probe_pos]; \ + if ((!next_probe_pos) || ((dist = (mz_uint16)(lookahead_pos - next_probe_pos)) > max_dist)) \ + return; \ + probe_pos = next_probe_pos & TDEFL_LZ_DICT_SIZE_MASK; \ + if ((d->m_dict[probe_pos + match_len] == c0) && (d->m_dict[probe_pos + match_len - 1] == c1)) \ + break; + TDEFL_PROBE; + TDEFL_PROBE; + TDEFL_PROBE; + } + if (!dist) + break; + p = s; + q = d->m_dict + probe_pos; + for (probe_len = 0; probe_len < max_match_len; probe_len++) + if (*p++ != *q++) + break; + if (probe_len > match_len) + { + *pMatch_dist = dist; + if ((*pMatch_len = match_len = probe_len) == max_match_len) + return; + c0 = d->m_dict[pos + match_len]; + c1 = d->m_dict[pos + match_len - 1]; + } + } +} +#endif /* #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES */ + +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN +static mz_bool tdefl_compress_fast(tdefl_compressor *d) +{ + /* Faster, minimally featured LZRW1-style match+parse loop with better register utilization. Intended for applications where raw throughput is valued more highly than ratio. */ + mz_uint lookahead_pos = d->m_lookahead_pos, lookahead_size = d->m_lookahead_size, dict_size = d->m_dict_size, total_lz_bytes = d->m_total_lz_bytes, num_flags_left = d->m_num_flags_left; + mz_uint8 *pLZ_code_buf = d->m_pLZ_code_buf, *pLZ_flags = d->m_pLZ_flags; + mz_uint cur_pos = lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK; + + while ((d->m_src_buf_left) || ((d->m_flush) && (lookahead_size))) + { + const mz_uint TDEFL_COMP_FAST_LOOKAHEAD_SIZE = 4096; + mz_uint dst_pos = (lookahead_pos + lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK; + mz_uint num_bytes_to_process = (mz_uint)MZ_MIN(d->m_src_buf_left, TDEFL_COMP_FAST_LOOKAHEAD_SIZE - lookahead_size); + d->m_src_buf_left -= num_bytes_to_process; + lookahead_size += num_bytes_to_process; + + while (num_bytes_to_process) + { + mz_uint32 n = MZ_MIN(TDEFL_LZ_DICT_SIZE - dst_pos, num_bytes_to_process); + memcpy(d->m_dict + dst_pos, d->m_pSrc, n); + if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) + memcpy(d->m_dict + TDEFL_LZ_DICT_SIZE + dst_pos, d->m_pSrc, MZ_MIN(n, (TDEFL_MAX_MATCH_LEN - 1) - dst_pos)); + d->m_pSrc += n; + dst_pos = (dst_pos + n) & TDEFL_LZ_DICT_SIZE_MASK; + num_bytes_to_process -= n; + } + + dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - lookahead_size, dict_size); + if ((!d->m_flush) && (lookahead_size < TDEFL_COMP_FAST_LOOKAHEAD_SIZE)) + break; + + while (lookahead_size >= 4) + { + mz_uint cur_match_dist, cur_match_len = 1; + mz_uint8 *pCur_dict = d->m_dict + cur_pos; + mz_uint first_trigram = (*(const mz_uint32 *)pCur_dict) & 0xFFFFFF; + mz_uint hash = (first_trigram ^ (first_trigram >> (24 - (TDEFL_LZ_HASH_BITS - 8)))) & TDEFL_LEVEL1_HASH_SIZE_MASK; + mz_uint probe_pos = d->m_hash[hash]; + d->m_hash[hash] = (mz_uint16)lookahead_pos; + + if (((cur_match_dist = (mz_uint16)(lookahead_pos - probe_pos)) <= dict_size) && ((*(const mz_uint32 *)(d->m_dict + (probe_pos &= TDEFL_LZ_DICT_SIZE_MASK)) & 0xFFFFFF) == first_trigram)) + { + const mz_uint16 *p = (const mz_uint16 *)pCur_dict; + const mz_uint16 *q = (const mz_uint16 *)(d->m_dict + probe_pos); + mz_uint32 probe_len = 32; + do + { + } while ((TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && + (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (TDEFL_READ_UNALIGNED_WORD2(++p) == TDEFL_READ_UNALIGNED_WORD2(++q)) && (--probe_len > 0)); + cur_match_len = ((mz_uint)(p - (const mz_uint16 *)pCur_dict) * 2) + (mz_uint)(*(const mz_uint8 *)p == *(const mz_uint8 *)q); + if (!probe_len) + cur_match_len = cur_match_dist ? TDEFL_MAX_MATCH_LEN : 0; + + if ((cur_match_len < TDEFL_MIN_MATCH_LEN) || ((cur_match_len == TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 8U * 1024U))) + { + cur_match_len = 1; + *pLZ_code_buf++ = (mz_uint8)first_trigram; + *pLZ_flags = (mz_uint8)(*pLZ_flags >> 1); + d->m_huff_count[0][(mz_uint8)first_trigram]++; + } + else + { + mz_uint32 s0, s1; + cur_match_len = MZ_MIN(cur_match_len, lookahead_size); + + MZ_ASSERT((cur_match_len >= TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 1) && (cur_match_dist <= TDEFL_LZ_DICT_SIZE)); + + cur_match_dist--; + + pLZ_code_buf[0] = (mz_uint8)(cur_match_len - TDEFL_MIN_MATCH_LEN); + *(mz_uint16 *)(&pLZ_code_buf[1]) = (mz_uint16)cur_match_dist; + pLZ_code_buf += 3; + *pLZ_flags = (mz_uint8)((*pLZ_flags >> 1) | 0x80); + + s0 = s_tdefl_small_dist_sym[cur_match_dist & 511]; + s1 = s_tdefl_large_dist_sym[cur_match_dist >> 8]; + d->m_huff_count[1][(cur_match_dist < 512) ? s0 : s1]++; + + d->m_huff_count[0][s_tdefl_len_sym[cur_match_len - TDEFL_MIN_MATCH_LEN]]++; + } + } + else + { + *pLZ_code_buf++ = (mz_uint8)first_trigram; + *pLZ_flags = (mz_uint8)(*pLZ_flags >> 1); + d->m_huff_count[0][(mz_uint8)first_trigram]++; + } + + if (--num_flags_left == 0) + { + num_flags_left = 8; + pLZ_flags = pLZ_code_buf++; + } + + total_lz_bytes += cur_match_len; + lookahead_pos += cur_match_len; + dict_size = MZ_MIN(dict_size + cur_match_len, (mz_uint)TDEFL_LZ_DICT_SIZE); + cur_pos = (cur_pos + cur_match_len) & TDEFL_LZ_DICT_SIZE_MASK; + MZ_ASSERT(lookahead_size >= cur_match_len); + lookahead_size -= cur_match_len; + + if (pLZ_code_buf > &d->m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE - 8]) + { + int n; + d->m_lookahead_pos = lookahead_pos; + d->m_lookahead_size = lookahead_size; + d->m_dict_size = dict_size; + d->m_total_lz_bytes = total_lz_bytes; + d->m_pLZ_code_buf = pLZ_code_buf; + d->m_pLZ_flags = pLZ_flags; + d->m_num_flags_left = num_flags_left; + if ((n = tdefl_flush_block(d, 0)) != 0) + return (n < 0) ? MZ_FALSE : MZ_TRUE; + total_lz_bytes = d->m_total_lz_bytes; + pLZ_code_buf = d->m_pLZ_code_buf; + pLZ_flags = d->m_pLZ_flags; + num_flags_left = d->m_num_flags_left; + } + } + + while (lookahead_size) + { + mz_uint8 lit = d->m_dict[cur_pos]; + + total_lz_bytes++; + *pLZ_code_buf++ = lit; + *pLZ_flags = (mz_uint8)(*pLZ_flags >> 1); + if (--num_flags_left == 0) + { + num_flags_left = 8; + pLZ_flags = pLZ_code_buf++; + } + + d->m_huff_count[0][lit]++; + + lookahead_pos++; + dict_size = MZ_MIN(dict_size + 1, (mz_uint)TDEFL_LZ_DICT_SIZE); + cur_pos = (cur_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK; + lookahead_size--; + + if (pLZ_code_buf > &d->m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE - 8]) + { + int n; + d->m_lookahead_pos = lookahead_pos; + d->m_lookahead_size = lookahead_size; + d->m_dict_size = dict_size; + d->m_total_lz_bytes = total_lz_bytes; + d->m_pLZ_code_buf = pLZ_code_buf; + d->m_pLZ_flags = pLZ_flags; + d->m_num_flags_left = num_flags_left; + if ((n = tdefl_flush_block(d, 0)) != 0) + return (n < 0) ? MZ_FALSE : MZ_TRUE; + total_lz_bytes = d->m_total_lz_bytes; + pLZ_code_buf = d->m_pLZ_code_buf; + pLZ_flags = d->m_pLZ_flags; + num_flags_left = d->m_num_flags_left; + } + } + } + + d->m_lookahead_pos = lookahead_pos; + d->m_lookahead_size = lookahead_size; + d->m_dict_size = dict_size; + d->m_total_lz_bytes = total_lz_bytes; + d->m_pLZ_code_buf = pLZ_code_buf; + d->m_pLZ_flags = pLZ_flags; + d->m_num_flags_left = num_flags_left; + return MZ_TRUE; +} +#endif /* MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN */ + +static MZ_FORCEINLINE void tdefl_record_literal(tdefl_compressor *d, mz_uint8 lit) +{ + d->m_total_lz_bytes++; + *d->m_pLZ_code_buf++ = lit; + *d->m_pLZ_flags = (mz_uint8)(*d->m_pLZ_flags >> 1); + if (--d->m_num_flags_left == 0) + { + d->m_num_flags_left = 8; + d->m_pLZ_flags = d->m_pLZ_code_buf++; + } + d->m_huff_count[0][lit]++; +} + +static MZ_FORCEINLINE void tdefl_record_match(tdefl_compressor *d, mz_uint match_len, mz_uint match_dist) +{ + mz_uint32 s0, s1; + + MZ_ASSERT((match_len >= TDEFL_MIN_MATCH_LEN) && (match_dist >= 1) && (match_dist <= TDEFL_LZ_DICT_SIZE)); + + d->m_total_lz_bytes += match_len; + + d->m_pLZ_code_buf[0] = (mz_uint8)(match_len - TDEFL_MIN_MATCH_LEN); + + match_dist -= 1; + d->m_pLZ_code_buf[1] = (mz_uint8)(match_dist & 0xFF); + d->m_pLZ_code_buf[2] = (mz_uint8)(match_dist >> 8); + d->m_pLZ_code_buf += 3; + + *d->m_pLZ_flags = (mz_uint8)((*d->m_pLZ_flags >> 1) | 0x80); + if (--d->m_num_flags_left == 0) + { + d->m_num_flags_left = 8; + d->m_pLZ_flags = d->m_pLZ_code_buf++; + } + + s0 = s_tdefl_small_dist_sym[match_dist & 511]; + s1 = s_tdefl_large_dist_sym[(match_dist >> 8) & 127]; + d->m_huff_count[1][(match_dist < 512) ? s0 : s1]++; + + if (match_len >= TDEFL_MIN_MATCH_LEN) + d->m_huff_count[0][s_tdefl_len_sym[match_len - TDEFL_MIN_MATCH_LEN]]++; +} + +static mz_bool tdefl_compress_normal(tdefl_compressor *d) +{ + const mz_uint8 *pSrc = d->m_pSrc; + size_t src_buf_left = d->m_src_buf_left; + tdefl_flush flush = d->m_flush; + + while ((src_buf_left) || ((flush) && (d->m_lookahead_size))) + { + mz_uint len_to_move, cur_match_dist, cur_match_len, cur_pos; + /* Update dictionary and hash chains. Keeps the lookahead size equal to TDEFL_MAX_MATCH_LEN. */ + if ((d->m_lookahead_size + d->m_dict_size) >= (TDEFL_MIN_MATCH_LEN - 1)) + { + mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK, ins_pos = d->m_lookahead_pos + d->m_lookahead_size - 2; + mz_uint hash = (d->m_dict[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] << TDEFL_LZ_HASH_SHIFT) ^ d->m_dict[(ins_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK]; + mz_uint num_bytes_to_process = (mz_uint)MZ_MIN(src_buf_left, TDEFL_MAX_MATCH_LEN - d->m_lookahead_size); + const mz_uint8 *pSrc_end = pSrc + num_bytes_to_process; + src_buf_left -= num_bytes_to_process; + d->m_lookahead_size += num_bytes_to_process; + while (pSrc != pSrc_end) + { + mz_uint8 c = *pSrc++; + d->m_dict[dst_pos] = c; + if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) + d->m_dict[TDEFL_LZ_DICT_SIZE + dst_pos] = c; + hash = ((hash << TDEFL_LZ_HASH_SHIFT) ^ c) & (TDEFL_LZ_HASH_SIZE - 1); + d->m_next[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] = d->m_hash[hash]; + d->m_hash[hash] = (mz_uint16)(ins_pos); + dst_pos = (dst_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK; + ins_pos++; + } + } + else + { + while ((src_buf_left) && (d->m_lookahead_size < TDEFL_MAX_MATCH_LEN)) + { + mz_uint8 c = *pSrc++; + mz_uint dst_pos = (d->m_lookahead_pos + d->m_lookahead_size) & TDEFL_LZ_DICT_SIZE_MASK; + src_buf_left--; + d->m_dict[dst_pos] = c; + if (dst_pos < (TDEFL_MAX_MATCH_LEN - 1)) + d->m_dict[TDEFL_LZ_DICT_SIZE + dst_pos] = c; + if ((++d->m_lookahead_size + d->m_dict_size) >= TDEFL_MIN_MATCH_LEN) + { + mz_uint ins_pos = d->m_lookahead_pos + (d->m_lookahead_size - 1) - 2; + mz_uint hash = ((d->m_dict[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] << (TDEFL_LZ_HASH_SHIFT * 2)) ^ (d->m_dict[(ins_pos + 1) & TDEFL_LZ_DICT_SIZE_MASK] << TDEFL_LZ_HASH_SHIFT) ^ c) & (TDEFL_LZ_HASH_SIZE - 1); + d->m_next[ins_pos & TDEFL_LZ_DICT_SIZE_MASK] = d->m_hash[hash]; + d->m_hash[hash] = (mz_uint16)(ins_pos); + } + } + } + d->m_dict_size = MZ_MIN(TDEFL_LZ_DICT_SIZE - d->m_lookahead_size, d->m_dict_size); + if ((!flush) && (d->m_lookahead_size < TDEFL_MAX_MATCH_LEN)) + break; + + /* Simple lazy/greedy parsing state machine. */ + len_to_move = 1; + cur_match_dist = 0; + cur_match_len = d->m_saved_match_len ? d->m_saved_match_len : (TDEFL_MIN_MATCH_LEN - 1); + cur_pos = d->m_lookahead_pos & TDEFL_LZ_DICT_SIZE_MASK; + if (d->m_flags & (TDEFL_RLE_MATCHES | TDEFL_FORCE_ALL_RAW_BLOCKS)) + { + if ((d->m_dict_size) && (!(d->m_flags & TDEFL_FORCE_ALL_RAW_BLOCKS))) + { + mz_uint8 c = d->m_dict[(cur_pos - 1) & TDEFL_LZ_DICT_SIZE_MASK]; + cur_match_len = 0; + while (cur_match_len < d->m_lookahead_size) + { + if (d->m_dict[cur_pos + cur_match_len] != c) + break; + cur_match_len++; + } + if (cur_match_len < TDEFL_MIN_MATCH_LEN) + cur_match_len = 0; + else + cur_match_dist = 1; + } + } + else + { + tdefl_find_match(d, d->m_lookahead_pos, d->m_dict_size, d->m_lookahead_size, &cur_match_dist, &cur_match_len); + } + if (((cur_match_len == TDEFL_MIN_MATCH_LEN) && (cur_match_dist >= 8U * 1024U)) || (cur_pos == cur_match_dist) || ((d->m_flags & TDEFL_FILTER_MATCHES) && (cur_match_len <= 5))) + { + cur_match_dist = cur_match_len = 0; + } + if (d->m_saved_match_len) + { + if (cur_match_len > d->m_saved_match_len) + { + tdefl_record_literal(d, (mz_uint8)d->m_saved_lit); + if (cur_match_len >= 128) + { + tdefl_record_match(d, cur_match_len, cur_match_dist); + d->m_saved_match_len = 0; + len_to_move = cur_match_len; + } + else + { + d->m_saved_lit = d->m_dict[cur_pos]; + d->m_saved_match_dist = cur_match_dist; + d->m_saved_match_len = cur_match_len; + } + } + else + { + tdefl_record_match(d, d->m_saved_match_len, d->m_saved_match_dist); + len_to_move = d->m_saved_match_len - 1; + d->m_saved_match_len = 0; + } + } + else if (!cur_match_dist) + tdefl_record_literal(d, d->m_dict[MZ_MIN(cur_pos, sizeof(d->m_dict) - 1)]); + else if ((d->m_greedy_parsing) || (d->m_flags & TDEFL_RLE_MATCHES) || (cur_match_len >= 128)) + { + tdefl_record_match(d, cur_match_len, cur_match_dist); + len_to_move = cur_match_len; + } + else + { + d->m_saved_lit = d->m_dict[MZ_MIN(cur_pos, sizeof(d->m_dict) - 1)]; + d->m_saved_match_dist = cur_match_dist; + d->m_saved_match_len = cur_match_len; + } + /* Move the lookahead forward by len_to_move bytes. */ + d->m_lookahead_pos += len_to_move; + MZ_ASSERT(d->m_lookahead_size >= len_to_move); + d->m_lookahead_size -= len_to_move; + d->m_dict_size = MZ_MIN(d->m_dict_size + len_to_move, (mz_uint)TDEFL_LZ_DICT_SIZE); + /* Check if it's time to flush the current LZ codes to the internal output buffer. */ + if ((d->m_pLZ_code_buf > &d->m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE - 8]) || + ((d->m_total_lz_bytes > 31 * 1024) && (((((mz_uint)(d->m_pLZ_code_buf - d->m_lz_code_buf) * 115) >> 7) >= d->m_total_lz_bytes) || (d->m_flags & TDEFL_FORCE_ALL_RAW_BLOCKS)))) + { + int n; + d->m_pSrc = pSrc; + d->m_src_buf_left = src_buf_left; + if ((n = tdefl_flush_block(d, 0)) != 0) + return (n < 0) ? MZ_FALSE : MZ_TRUE; + } + } + + d->m_pSrc = pSrc; + d->m_src_buf_left = src_buf_left; + return MZ_TRUE; +} + +static tdefl_status tdefl_flush_output_buffer(tdefl_compressor *d) +{ + if (d->m_pIn_buf_size) + { + *d->m_pIn_buf_size = d->m_pSrc - (const mz_uint8 *)d->m_pIn_buf; + } + + if (d->m_pOut_buf_size) + { + size_t n = MZ_MIN(*d->m_pOut_buf_size - d->m_out_buf_ofs, d->m_output_flush_remaining); + memcpy((mz_uint8 *)d->m_pOut_buf + d->m_out_buf_ofs, d->m_output_buf + d->m_output_flush_ofs, n); + d->m_output_flush_ofs += (mz_uint)n; + d->m_output_flush_remaining -= (mz_uint)n; + d->m_out_buf_ofs += n; + + *d->m_pOut_buf_size = d->m_out_buf_ofs; + } + + return (d->m_finished && !d->m_output_flush_remaining) ? TDEFL_STATUS_DONE : TDEFL_STATUS_OKAY; +} + +tdefl_status tdefl_compress(tdefl_compressor *d, const void *pIn_buf, size_t *pIn_buf_size, void *pOut_buf, size_t *pOut_buf_size, tdefl_flush flush) +{ + if (!d) + { + if (pIn_buf_size) + *pIn_buf_size = 0; + if (pOut_buf_size) + *pOut_buf_size = 0; + return TDEFL_STATUS_BAD_PARAM; + } + + d->m_pIn_buf = pIn_buf; + d->m_pIn_buf_size = pIn_buf_size; + d->m_pOut_buf = pOut_buf; + d->m_pOut_buf_size = pOut_buf_size; + d->m_pSrc = (const mz_uint8 *)(pIn_buf); + d->m_src_buf_left = pIn_buf_size ? *pIn_buf_size : 0; + d->m_out_buf_ofs = 0; + d->m_flush = flush; + + if (((d->m_pPut_buf_func != NULL) == ((pOut_buf != NULL) || (pOut_buf_size != NULL))) || (d->m_prev_return_status != TDEFL_STATUS_OKAY) || + (d->m_wants_to_finish && (flush != TDEFL_FINISH)) || (pIn_buf_size && *pIn_buf_size && !pIn_buf) || (pOut_buf_size && *pOut_buf_size && !pOut_buf)) + { + if (pIn_buf_size) + *pIn_buf_size = 0; + if (pOut_buf_size) + *pOut_buf_size = 0; + return (d->m_prev_return_status = TDEFL_STATUS_BAD_PARAM); + } + d->m_wants_to_finish |= (flush == TDEFL_FINISH); + + if ((d->m_output_flush_remaining) || (d->m_finished)) + return (d->m_prev_return_status = tdefl_flush_output_buffer(d)); + +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN + if (((d->m_flags & TDEFL_MAX_PROBES_MASK) == 1) && + ((d->m_flags & TDEFL_GREEDY_PARSING_FLAG) != 0) && + ((d->m_flags & (TDEFL_FILTER_MATCHES | TDEFL_FORCE_ALL_RAW_BLOCKS | TDEFL_RLE_MATCHES)) == 0)) + { + if (!tdefl_compress_fast(d)) + return d->m_prev_return_status; + } + else +#endif /* #if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN */ + { + if (!tdefl_compress_normal(d)) + return d->m_prev_return_status; + } + + if ((d->m_flags & (TDEFL_WRITE_ZLIB_HEADER | TDEFL_COMPUTE_ADLER32)) && (pIn_buf)) + d->m_adler32 = (mz_uint32)mz_adler32(d->m_adler32, (const mz_uint8 *)pIn_buf, d->m_pSrc - (const mz_uint8 *)pIn_buf); + + if ((flush) && (!d->m_lookahead_size) && (!d->m_src_buf_left) && (!d->m_output_flush_remaining)) + { + if (tdefl_flush_block(d, flush) < 0) + return d->m_prev_return_status; + d->m_finished = (flush == TDEFL_FINISH); + if (flush == TDEFL_FULL_FLUSH) + { + MZ_CLEAR_OBJ(d->m_hash); + MZ_CLEAR_OBJ(d->m_next); + d->m_dict_size = 0; + } + } + + return (d->m_prev_return_status = tdefl_flush_output_buffer(d)); +} + +tdefl_status tdefl_compress_buffer(tdefl_compressor *d, const void *pIn_buf, size_t in_buf_size, tdefl_flush flush) +{ + MZ_ASSERT(d->m_pPut_buf_func); + return tdefl_compress(d, pIn_buf, &in_buf_size, NULL, NULL, flush); +} + +tdefl_status tdefl_init(tdefl_compressor *d, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) +{ + d->m_pPut_buf_func = pPut_buf_func; + d->m_pPut_buf_user = pPut_buf_user; + d->m_flags = (mz_uint)(flags); + d->m_max_probes[0] = 1 + ((flags & 0xFFF) + 2) / 3; + d->m_greedy_parsing = (flags & TDEFL_GREEDY_PARSING_FLAG) != 0; + d->m_max_probes[1] = 1 + (((flags & 0xFFF) >> 2) + 2) / 3; + if (!(flags & TDEFL_NONDETERMINISTIC_PARSING_FLAG)) + MZ_CLEAR_OBJ(d->m_hash); + d->m_lookahead_pos = d->m_lookahead_size = d->m_dict_size = d->m_total_lz_bytes = d->m_lz_code_buf_dict_pos = d->m_bits_in = 0; + d->m_output_flush_ofs = d->m_output_flush_remaining = d->m_finished = d->m_block_index = d->m_bit_buffer = d->m_wants_to_finish = 0; + d->m_pLZ_code_buf = d->m_lz_code_buf + 1; + d->m_pLZ_flags = d->m_lz_code_buf; + d->m_num_flags_left = 8; + d->m_pOutput_buf = d->m_output_buf; + d->m_pOutput_buf_end = d->m_output_buf; + d->m_prev_return_status = TDEFL_STATUS_OKAY; + d->m_saved_match_dist = d->m_saved_match_len = d->m_saved_lit = 0; + d->m_adler32 = 1; + d->m_pIn_buf = NULL; + d->m_pOut_buf = NULL; + d->m_pIn_buf_size = NULL; + d->m_pOut_buf_size = NULL; + d->m_flush = TDEFL_NO_FLUSH; + d->m_pSrc = NULL; + d->m_src_buf_left = 0; + d->m_out_buf_ofs = 0; + memset(&d->m_huff_count[0][0], 0, sizeof(d->m_huff_count[0][0]) * TDEFL_MAX_HUFF_SYMBOLS_0); + memset(&d->m_huff_count[1][0], 0, sizeof(d->m_huff_count[1][0]) * TDEFL_MAX_HUFF_SYMBOLS_1); + return TDEFL_STATUS_OKAY; +} + +tdefl_status tdefl_get_prev_return_status(tdefl_compressor *d) +{ + return d->m_prev_return_status; +} + +mz_uint32 tdefl_get_adler32(tdefl_compressor *d) +{ + return d->m_adler32; +} + +mz_bool tdefl_compress_mem_to_output(const void *pBuf, size_t buf_len, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) +{ + tdefl_compressor *pComp; + mz_bool succeeded; + if (((buf_len) && (!pBuf)) || (!pPut_buf_func)) + return MZ_FALSE; + pComp = (tdefl_compressor *)MZ_MALLOC(sizeof(tdefl_compressor)); + if (!pComp) + return MZ_FALSE; + succeeded = (tdefl_init(pComp, pPut_buf_func, pPut_buf_user, flags) == TDEFL_STATUS_OKAY); + succeeded = succeeded && (tdefl_compress_buffer(pComp, pBuf, buf_len, TDEFL_FINISH) == TDEFL_STATUS_DONE); + MZ_FREE(pComp); + return succeeded; +} + +typedef struct +{ + size_t m_size, m_capacity; + mz_uint8 *m_pBuf; + mz_bool m_expandable; +} tdefl_output_buffer; + +static mz_bool tdefl_output_buffer_putter(const void *pBuf, int len, void *pUser) +{ + tdefl_output_buffer *p = (tdefl_output_buffer *)pUser; + size_t new_size = p->m_size + len; + if (new_size > p->m_capacity) + { + size_t new_capacity = p->m_capacity; + mz_uint8 *pNew_buf; + if (!p->m_expandable) + return MZ_FALSE; + do + { + new_capacity = MZ_MAX(128U, new_capacity << 1U); + } while (new_size > new_capacity); + pNew_buf = (mz_uint8 *)MZ_REALLOC(p->m_pBuf, new_capacity); + if (!pNew_buf) + return MZ_FALSE; + p->m_pBuf = pNew_buf; + p->m_capacity = new_capacity; + } + memcpy((mz_uint8 *)p->m_pBuf + p->m_size, pBuf, len); + p->m_size = new_size; + return MZ_TRUE; +} + +void *tdefl_compress_mem_to_heap(const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) +{ + tdefl_output_buffer out_buf; + MZ_CLEAR_OBJ(out_buf); + if (!pOut_len) + return MZ_FALSE; + else + *pOut_len = 0; + out_buf.m_expandable = MZ_TRUE; + if (!tdefl_compress_mem_to_output(pSrc_buf, src_buf_len, tdefl_output_buffer_putter, &out_buf, flags)) + return NULL; + *pOut_len = out_buf.m_size; + return out_buf.m_pBuf; +} + +size_t tdefl_compress_mem_to_mem(void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) +{ + tdefl_output_buffer out_buf; + MZ_CLEAR_OBJ(out_buf); + if (!pOut_buf) + return 0; + out_buf.m_pBuf = (mz_uint8 *)pOut_buf; + out_buf.m_capacity = out_buf_len; + if (!tdefl_compress_mem_to_output(pSrc_buf, src_buf_len, tdefl_output_buffer_putter, &out_buf, flags)) + return 0; + return out_buf.m_size; +} + +static const mz_uint s_tdefl_num_probes[11] = { 0, 1, 6, 32, 16, 32, 128, 256, 512, 768, 1500 }; + +/* level may actually range from [0,10] (10 is a "hidden" max level, where we want a bit more compression and it's fine if throughput to fall off a cliff on some files). */ +mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int strategy) +{ + mz_uint comp_flags = s_tdefl_num_probes[(level >= 0) ? MZ_MIN(10, level) : MZ_DEFAULT_LEVEL] | ((level <= 3) ? TDEFL_GREEDY_PARSING_FLAG : 0); + if (window_bits > 0) + comp_flags |= TDEFL_WRITE_ZLIB_HEADER; + + if (!level) + comp_flags |= TDEFL_FORCE_ALL_RAW_BLOCKS; + else if (strategy == MZ_FILTERED) + comp_flags |= TDEFL_FILTER_MATCHES; + else if (strategy == MZ_HUFFMAN_ONLY) + comp_flags &= ~TDEFL_MAX_PROBES_MASK; + else if (strategy == MZ_FIXED) + comp_flags |= TDEFL_FORCE_ALL_STATIC_BLOCKS; + else if (strategy == MZ_RLE) + comp_flags |= TDEFL_RLE_MATCHES; + + return comp_flags; +} + +#ifdef _MSC_VER +#pragma warning(push) +#pragma warning(disable : 4204) /* nonstandard extension used : non-constant aggregate initializer (also supported by GNU C and C99, so no big deal) */ +#endif + +/* Simple PNG writer function by Alex Evans, 2011. Released into the public domain: https://gist.github.com/908299, more context at + http://altdevblogaday.org/2011/04/06/a-smaller-jpg-encoder/. + This is actually a modification of Alex's original code so PNG files generated by this function pass pngcheck. */ +void *tdefl_write_image_to_png_file_in_memory_ex(const void *pImage, int w, int h, int num_chans, size_t *pLen_out, mz_uint level, mz_bool flip) +{ + /* Using a local copy of this array here in case MINIZ_NO_ZLIB_APIS was defined. */ + static const mz_uint s_tdefl_png_num_probes[11] = { 0, 1, 6, 32, 16, 32, 128, 256, 512, 768, 1500 }; + tdefl_compressor *pComp = (tdefl_compressor *)MZ_MALLOC(sizeof(tdefl_compressor)); + tdefl_output_buffer out_buf; + int i, bpl = w * num_chans, y, z; + mz_uint32 c; + *pLen_out = 0; + if (!pComp) + return NULL; + MZ_CLEAR_OBJ(out_buf); + out_buf.m_expandable = MZ_TRUE; + out_buf.m_capacity = 57 + MZ_MAX(64, (1 + bpl) * h); + if (NULL == (out_buf.m_pBuf = (mz_uint8 *)MZ_MALLOC(out_buf.m_capacity))) + { + MZ_FREE(pComp); + return NULL; + } + /* write dummy header */ + for (z = 41; z; --z) + tdefl_output_buffer_putter(&z, 1, &out_buf); + /* compress image data */ + tdefl_init(pComp, tdefl_output_buffer_putter, &out_buf, s_tdefl_png_num_probes[MZ_MIN(10, level)] | TDEFL_WRITE_ZLIB_HEADER); + for (y = 0; y < h; ++y) + { + tdefl_compress_buffer(pComp, &z, 1, TDEFL_NO_FLUSH); + tdefl_compress_buffer(pComp, (mz_uint8 *)pImage + (flip ? (h - 1 - y) : y) * bpl, bpl, TDEFL_NO_FLUSH); + } + if (tdefl_compress_buffer(pComp, NULL, 0, TDEFL_FINISH) != TDEFL_STATUS_DONE) + { + MZ_FREE(pComp); + MZ_FREE(out_buf.m_pBuf); + return NULL; + } + /* write real header */ + *pLen_out = out_buf.m_size - 41; + { + static const mz_uint8 chans[] = { 0x00, 0x00, 0x04, 0x02, 0x06 }; + mz_uint8 pnghdr[41] = { 0x89, 0x50, 0x4e, 0x47, 0x0d, + 0x0a, 0x1a, 0x0a, 0x00, 0x00, + 0x00, 0x0d, 0x49, 0x48, 0x44, + 0x52, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x08, + 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x49, 0x44, 0x41, + 0x54 }; + pnghdr[18] = (mz_uint8)(w >> 8); + pnghdr[19] = (mz_uint8)w; + pnghdr[22] = (mz_uint8)(h >> 8); + pnghdr[23] = (mz_uint8)h; + pnghdr[25] = chans[num_chans]; + pnghdr[33] = (mz_uint8)(*pLen_out >> 24); + pnghdr[34] = (mz_uint8)(*pLen_out >> 16); + pnghdr[35] = (mz_uint8)(*pLen_out >> 8); + pnghdr[36] = (mz_uint8)*pLen_out; + c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, pnghdr + 12, 17); + for (i = 0; i < 4; ++i, c <<= 8) + ((mz_uint8 *)(pnghdr + 29))[i] = (mz_uint8)(c >> 24); + memcpy(out_buf.m_pBuf, pnghdr, 41); + } + /* write footer (IDAT CRC-32, followed by IEND chunk) */ + if (!tdefl_output_buffer_putter("\0\0\0\0\0\0\0\0\x49\x45\x4e\x44\xae\x42\x60\x82", 16, &out_buf)) + { + *pLen_out = 0; + MZ_FREE(pComp); + MZ_FREE(out_buf.m_pBuf); + return NULL; + } + c = (mz_uint32)mz_crc32(MZ_CRC32_INIT, out_buf.m_pBuf + 41 - 4, *pLen_out + 4); + for (i = 0; i < 4; ++i, c <<= 8) + (out_buf.m_pBuf + out_buf.m_size - 16)[i] = (mz_uint8)(c >> 24); + /* compute final size of file, grab compressed data buffer and return */ + *pLen_out += 57; + MZ_FREE(pComp); + return out_buf.m_pBuf; +} +void *tdefl_write_image_to_png_file_in_memory(const void *pImage, int w, int h, int num_chans, size_t *pLen_out) +{ + /* Level 6 corresponds to TDEFL_DEFAULT_MAX_PROBES or MZ_DEFAULT_LEVEL (but we can't depend on MZ_DEFAULT_LEVEL being available in case the zlib API's where #defined out) */ + return tdefl_write_image_to_png_file_in_memory_ex(pImage, w, h, num_chans, pLen_out, 6, MZ_FALSE); +} + +/* Allocate the tdefl_compressor and tinfl_decompressor structures in C so that */ +/* non-C language bindings to tdefL_ and tinfl_ API don't need to worry about */ +/* structure size and allocation mechanism. */ +tdefl_compressor *tdefl_compressor_alloc() +{ + return (tdefl_compressor *)MZ_MALLOC(sizeof(tdefl_compressor)); +} + +void tdefl_compressor_free(tdefl_compressor *pComp) +{ + MZ_FREE(pComp); +} + +#ifdef _MSC_VER +#pragma warning(pop) +#endif + +#ifdef __cplusplus +} +#endif +/************************************************************************** + * + * Copyright 2013-2014 RAD Game Tools and Valve Software + * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + **************************************************************************/ + + + +#ifdef __cplusplus +extern "C" { +#endif + +/* ------------------- Low-level Decompression (completely independent from all compression API's) */ + +#define TINFL_MEMCPY(d, s, l) memcpy(d, s, l) +#define TINFL_MEMSET(p, c, l) memset(p, c, l) + +#define TINFL_CR_BEGIN \ + switch (r->m_state) \ + { \ + case 0: +#define TINFL_CR_RETURN(state_index, result) \ + do \ + { \ + status = result; \ + r->m_state = state_index; \ + goto common_exit; \ + case state_index:; \ + } \ + MZ_MACRO_END +#define TINFL_CR_RETURN_FOREVER(state_index, result) \ + do \ + { \ + for (;;) \ + { \ + TINFL_CR_RETURN(state_index, result); \ + } \ + } \ + MZ_MACRO_END +#define TINFL_CR_FINISH } + +#define TINFL_GET_BYTE(state_index, c) \ + do \ + { \ + while (pIn_buf_cur >= pIn_buf_end) \ + { \ + TINFL_CR_RETURN(state_index, (decomp_flags & TINFL_FLAG_HAS_MORE_INPUT) ? TINFL_STATUS_NEEDS_MORE_INPUT : TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS); \ + } \ + c = *pIn_buf_cur++; \ + } \ + MZ_MACRO_END + +#define TINFL_NEED_BITS(state_index, n) \ + do \ + { \ + mz_uint c; \ + TINFL_GET_BYTE(state_index, c); \ + bit_buf |= (((tinfl_bit_buf_t)c) << num_bits); \ + num_bits += 8; \ + } while (num_bits < (mz_uint)(n)) +#define TINFL_SKIP_BITS(state_index, n) \ + do \ + { \ + if (num_bits < (mz_uint)(n)) \ + { \ + TINFL_NEED_BITS(state_index, n); \ + } \ + bit_buf >>= (n); \ + num_bits -= (n); \ + } \ + MZ_MACRO_END +#define TINFL_GET_BITS(state_index, b, n) \ + do \ + { \ + if (num_bits < (mz_uint)(n)) \ + { \ + TINFL_NEED_BITS(state_index, n); \ + } \ + b = bit_buf & ((1 << (n)) - 1); \ + bit_buf >>= (n); \ + num_bits -= (n); \ + } \ + MZ_MACRO_END + +/* TINFL_HUFF_BITBUF_FILL() is only used rarely, when the number of bytes remaining in the input buffer falls below 2. */ +/* It reads just enough bytes from the input stream that are needed to decode the next Huffman code (and absolutely no more). It works by trying to fully decode a */ +/* Huffman code by using whatever bits are currently present in the bit buffer. If this fails, it reads another byte, and tries again until it succeeds or until the */ +/* bit buffer contains >=15 bits (deflate's max. Huffman code size). */ +#define TINFL_HUFF_BITBUF_FILL(state_index, pHuff) \ + do \ + { \ + temp = (pHuff)->m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]; \ + if (temp >= 0) \ + { \ + code_len = temp >> 9; \ + if ((code_len) && (num_bits >= code_len)) \ + break; \ + } \ + else if (num_bits > TINFL_FAST_LOOKUP_BITS) \ + { \ + code_len = TINFL_FAST_LOOKUP_BITS; \ + do \ + { \ + temp = (pHuff)->m_tree[~temp + ((bit_buf >> code_len++) & 1)]; \ + } while ((temp < 0) && (num_bits >= (code_len + 1))); \ + if (temp >= 0) \ + break; \ + } \ + TINFL_GET_BYTE(state_index, c); \ + bit_buf |= (((tinfl_bit_buf_t)c) << num_bits); \ + num_bits += 8; \ + } while (num_bits < 15); + +/* TINFL_HUFF_DECODE() decodes the next Huffman coded symbol. It's more complex than you would initially expect because the zlib API expects the decompressor to never read */ +/* beyond the final byte of the deflate stream. (In other words, when this macro wants to read another byte from the input, it REALLY needs another byte in order to fully */ +/* decode the next Huffman code.) Handling this properly is particularly important on raw deflate (non-zlib) streams, which aren't followed by a byte aligned adler-32. */ +/* The slow path is only executed at the very end of the input buffer. */ +/* v1.16: The original macro handled the case at the very end of the passed-in input buffer, but we also need to handle the case where the user passes in 1+zillion bytes */ +/* following the deflate data and our non-conservative read-ahead path won't kick in here on this code. This is much trickier. */ +#define TINFL_HUFF_DECODE(state_index, sym, pHuff) \ + do \ + { \ + int temp; \ + mz_uint code_len, c; \ + if (num_bits < 15) \ + { \ + if ((pIn_buf_end - pIn_buf_cur) < 2) \ + { \ + TINFL_HUFF_BITBUF_FILL(state_index, pHuff); \ + } \ + else \ + { \ + bit_buf |= (((tinfl_bit_buf_t)pIn_buf_cur[0]) << num_bits) | (((tinfl_bit_buf_t)pIn_buf_cur[1]) << (num_bits + 8)); \ + pIn_buf_cur += 2; \ + num_bits += 16; \ + } \ + } \ + if ((temp = (pHuff)->m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0) \ + code_len = temp >> 9, temp &= 511; \ + else \ + { \ + code_len = TINFL_FAST_LOOKUP_BITS; \ + do \ + { \ + temp = (pHuff)->m_tree[~temp + ((bit_buf >> code_len++) & 1)]; \ + } while (temp < 0); \ + } \ + sym = temp; \ + bit_buf >>= code_len; \ + num_bits -= code_len; \ + } \ + MZ_MACRO_END + +tinfl_status tinfl_decompress(tinfl_decompressor *r, const mz_uint8 *pIn_buf_next, size_t *pIn_buf_size, mz_uint8 *pOut_buf_start, mz_uint8 *pOut_buf_next, size_t *pOut_buf_size, const mz_uint32 decomp_flags) +{ + static const int s_length_base[31] = { 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0 }; + static const int s_length_extra[31] = { 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 0, 0 }; + static const int s_dist_base[32] = { 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0 }; + static const int s_dist_extra[32] = { 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13 }; + static const mz_uint8 s_length_dezigzag[19] = { 16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15 }; + static const int s_min_table_sizes[3] = { 257, 1, 4 }; + + tinfl_status status = TINFL_STATUS_FAILED; + mz_uint32 num_bits, dist, counter, num_extra; + tinfl_bit_buf_t bit_buf; + const mz_uint8 *pIn_buf_cur = pIn_buf_next, *const pIn_buf_end = pIn_buf_next + *pIn_buf_size; + mz_uint8 *pOut_buf_cur = pOut_buf_next, *const pOut_buf_end = pOut_buf_next + *pOut_buf_size; + size_t out_buf_size_mask = (decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF) ? (size_t)-1 : ((pOut_buf_next - pOut_buf_start) + *pOut_buf_size) - 1, dist_from_out_buf_start; + + /* Ensure the output buffer's size is a power of 2, unless the output buffer is large enough to hold the entire output file (in which case it doesn't matter). */ + if (((out_buf_size_mask + 1) & out_buf_size_mask) || (pOut_buf_next < pOut_buf_start)) + { + *pIn_buf_size = *pOut_buf_size = 0; + return TINFL_STATUS_BAD_PARAM; + } + + num_bits = r->m_num_bits; + bit_buf = r->m_bit_buf; + dist = r->m_dist; + counter = r->m_counter; + num_extra = r->m_num_extra; + dist_from_out_buf_start = r->m_dist_from_out_buf_start; + TINFL_CR_BEGIN + + bit_buf = num_bits = dist = counter = num_extra = r->m_zhdr0 = r->m_zhdr1 = 0; + r->m_z_adler32 = r->m_check_adler32 = 1; + if (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER) + { + TINFL_GET_BYTE(1, r->m_zhdr0); + TINFL_GET_BYTE(2, r->m_zhdr1); + counter = (((r->m_zhdr0 * 256 + r->m_zhdr1) % 31 != 0) || (r->m_zhdr1 & 32) || ((r->m_zhdr0 & 15) != 8)); + if (!(decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF)) + counter |= (((1U << (8U + (r->m_zhdr0 >> 4))) > 32768U) || ((out_buf_size_mask + 1) < (size_t)(1U << (8U + (r->m_zhdr0 >> 4))))); + if (counter) + { + TINFL_CR_RETURN_FOREVER(36, TINFL_STATUS_FAILED); + } + } + + do + { + TINFL_GET_BITS(3, r->m_final, 3); + r->m_type = r->m_final >> 1; + if (r->m_type == 0) + { + TINFL_SKIP_BITS(5, num_bits & 7); + for (counter = 0; counter < 4; ++counter) + { + if (num_bits) + TINFL_GET_BITS(6, r->m_raw_header[counter], 8); + else + TINFL_GET_BYTE(7, r->m_raw_header[counter]); + } + if ((counter = (r->m_raw_header[0] | (r->m_raw_header[1] << 8))) != (mz_uint)(0xFFFF ^ (r->m_raw_header[2] | (r->m_raw_header[3] << 8)))) + { + TINFL_CR_RETURN_FOREVER(39, TINFL_STATUS_FAILED); + } + while ((counter) && (num_bits)) + { + TINFL_GET_BITS(51, dist, 8); + while (pOut_buf_cur >= pOut_buf_end) + { + TINFL_CR_RETURN(52, TINFL_STATUS_HAS_MORE_OUTPUT); + } + *pOut_buf_cur++ = (mz_uint8)dist; + counter--; + } + while (counter) + { + size_t n; + while (pOut_buf_cur >= pOut_buf_end) + { + TINFL_CR_RETURN(9, TINFL_STATUS_HAS_MORE_OUTPUT); + } + while (pIn_buf_cur >= pIn_buf_end) + { + TINFL_CR_RETURN(38, (decomp_flags & TINFL_FLAG_HAS_MORE_INPUT) ? TINFL_STATUS_NEEDS_MORE_INPUT : TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS); + } + n = MZ_MIN(MZ_MIN((size_t)(pOut_buf_end - pOut_buf_cur), (size_t)(pIn_buf_end - pIn_buf_cur)), counter); + TINFL_MEMCPY(pOut_buf_cur, pIn_buf_cur, n); + pIn_buf_cur += n; + pOut_buf_cur += n; + counter -= (mz_uint)n; + } + } + else if (r->m_type == 3) + { + TINFL_CR_RETURN_FOREVER(10, TINFL_STATUS_FAILED); + } + else + { + if (r->m_type == 1) + { + mz_uint8 *p = r->m_tables[0].m_code_size; + mz_uint i; + r->m_table_sizes[0] = 288; + r->m_table_sizes[1] = 32; + TINFL_MEMSET(r->m_tables[1].m_code_size, 5, 32); + for (i = 0; i <= 143; ++i) + *p++ = 8; + for (; i <= 255; ++i) + *p++ = 9; + for (; i <= 279; ++i) + *p++ = 7; + for (; i <= 287; ++i) + *p++ = 8; + } + else + { + for (counter = 0; counter < 3; counter++) + { + TINFL_GET_BITS(11, r->m_table_sizes[counter], "\05\05\04"[counter]); + r->m_table_sizes[counter] += s_min_table_sizes[counter]; + } + MZ_CLEAR_OBJ(r->m_tables[2].m_code_size); + for (counter = 0; counter < r->m_table_sizes[2]; counter++) + { + mz_uint s; + TINFL_GET_BITS(14, s, 3); + r->m_tables[2].m_code_size[s_length_dezigzag[counter]] = (mz_uint8)s; + } + r->m_table_sizes[2] = 19; + } + for (; (int)r->m_type >= 0; r->m_type--) + { + int tree_next, tree_cur; + tinfl_huff_table *pTable; + mz_uint i, j, used_syms, total, sym_index, next_code[17], total_syms[16]; + pTable = &r->m_tables[r->m_type]; + MZ_CLEAR_OBJ(total_syms); + MZ_CLEAR_OBJ(pTable->m_look_up); + MZ_CLEAR_OBJ(pTable->m_tree); + for (i = 0; i < r->m_table_sizes[r->m_type]; ++i) + total_syms[pTable->m_code_size[i]]++; + used_syms = 0, total = 0; + next_code[0] = next_code[1] = 0; + for (i = 1; i <= 15; ++i) + { + used_syms += total_syms[i]; + next_code[i + 1] = (total = ((total + total_syms[i]) << 1)); + } + if ((65536 != total) && (used_syms > 1)) + { + TINFL_CR_RETURN_FOREVER(35, TINFL_STATUS_FAILED); + } + for (tree_next = -1, sym_index = 0; sym_index < r->m_table_sizes[r->m_type]; ++sym_index) + { + mz_uint rev_code = 0, l, cur_code, code_size = pTable->m_code_size[sym_index]; + if (!code_size) + continue; + cur_code = next_code[code_size]++; + for (l = code_size; l > 0; l--, cur_code >>= 1) + rev_code = (rev_code << 1) | (cur_code & 1); + if (code_size <= TINFL_FAST_LOOKUP_BITS) + { + mz_int16 k = (mz_int16)((code_size << 9) | sym_index); + while (rev_code < TINFL_FAST_LOOKUP_SIZE) + { + pTable->m_look_up[rev_code] = k; + rev_code += (1 << code_size); + } + continue; + } + if (0 == (tree_cur = pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)])) + { + pTable->m_look_up[rev_code & (TINFL_FAST_LOOKUP_SIZE - 1)] = (mz_int16)tree_next; + tree_cur = tree_next; + tree_next -= 2; + } + rev_code >>= (TINFL_FAST_LOOKUP_BITS - 1); + for (j = code_size; j > (TINFL_FAST_LOOKUP_BITS + 1); j--) + { + tree_cur -= ((rev_code >>= 1) & 1); + if (!pTable->m_tree[-tree_cur - 1]) + { + pTable->m_tree[-tree_cur - 1] = (mz_int16)tree_next; + tree_cur = tree_next; + tree_next -= 2; + } + else + tree_cur = pTable->m_tree[-tree_cur - 1]; + } + tree_cur -= ((rev_code >>= 1) & 1); + pTable->m_tree[-tree_cur - 1] = (mz_int16)sym_index; + } + if (r->m_type == 2) + { + for (counter = 0; counter < (r->m_table_sizes[0] + r->m_table_sizes[1]);) + { + mz_uint s; + TINFL_HUFF_DECODE(16, dist, &r->m_tables[2]); + if (dist < 16) + { + r->m_len_codes[counter++] = (mz_uint8)dist; + continue; + } + if ((dist == 16) && (!counter)) + { + TINFL_CR_RETURN_FOREVER(17, TINFL_STATUS_FAILED); + } + num_extra = "\02\03\07"[dist - 16]; + TINFL_GET_BITS(18, s, num_extra); + s += "\03\03\013"[dist - 16]; + TINFL_MEMSET(r->m_len_codes + counter, (dist == 16) ? r->m_len_codes[counter - 1] : 0, s); + counter += s; + } + if ((r->m_table_sizes[0] + r->m_table_sizes[1]) != counter) + { + TINFL_CR_RETURN_FOREVER(21, TINFL_STATUS_FAILED); + } + TINFL_MEMCPY(r->m_tables[0].m_code_size, r->m_len_codes, r->m_table_sizes[0]); + TINFL_MEMCPY(r->m_tables[1].m_code_size, r->m_len_codes + r->m_table_sizes[0], r->m_table_sizes[1]); + } + } + for (;;) + { + mz_uint8 *pSrc; + for (;;) + { + if (((pIn_buf_end - pIn_buf_cur) < 4) || ((pOut_buf_end - pOut_buf_cur) < 2)) + { + TINFL_HUFF_DECODE(23, counter, &r->m_tables[0]); + if (counter >= 256) + break; + while (pOut_buf_cur >= pOut_buf_end) + { + TINFL_CR_RETURN(24, TINFL_STATUS_HAS_MORE_OUTPUT); + } + *pOut_buf_cur++ = (mz_uint8)counter; + } + else + { + int sym2; + mz_uint code_len; +#if TINFL_USE_64BIT_BITBUF + if (num_bits < 30) + { + bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE32(pIn_buf_cur)) << num_bits); + pIn_buf_cur += 4; + num_bits += 32; + } +#else + if (num_bits < 15) + { + bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE16(pIn_buf_cur)) << num_bits); + pIn_buf_cur += 2; + num_bits += 16; + } +#endif + if ((sym2 = r->m_tables[0].m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0) + code_len = sym2 >> 9; + else + { + code_len = TINFL_FAST_LOOKUP_BITS; + do + { + sym2 = r->m_tables[0].m_tree[~sym2 + ((bit_buf >> code_len++) & 1)]; + } while (sym2 < 0); + } + counter = sym2; + bit_buf >>= code_len; + num_bits -= code_len; + if (counter & 256) + break; + +#if !TINFL_USE_64BIT_BITBUF + if (num_bits < 15) + { + bit_buf |= (((tinfl_bit_buf_t)MZ_READ_LE16(pIn_buf_cur)) << num_bits); + pIn_buf_cur += 2; + num_bits += 16; + } +#endif + if ((sym2 = r->m_tables[0].m_look_up[bit_buf & (TINFL_FAST_LOOKUP_SIZE - 1)]) >= 0) + code_len = sym2 >> 9; + else + { + code_len = TINFL_FAST_LOOKUP_BITS; + do + { + sym2 = r->m_tables[0].m_tree[~sym2 + ((bit_buf >> code_len++) & 1)]; + } while (sym2 < 0); + } + bit_buf >>= code_len; + num_bits -= code_len; + + pOut_buf_cur[0] = (mz_uint8)counter; + if (sym2 & 256) + { + pOut_buf_cur++; + counter = sym2; + break; + } + pOut_buf_cur[1] = (mz_uint8)sym2; + pOut_buf_cur += 2; + } + } + if ((counter &= 511) == 256) + break; + + num_extra = s_length_extra[counter - 257]; + counter = s_length_base[counter - 257]; + if (num_extra) + { + mz_uint extra_bits; + TINFL_GET_BITS(25, extra_bits, num_extra); + counter += extra_bits; + } + + TINFL_HUFF_DECODE(26, dist, &r->m_tables[1]); + num_extra = s_dist_extra[dist]; + dist = s_dist_base[dist]; + if (num_extra) + { + mz_uint extra_bits; + TINFL_GET_BITS(27, extra_bits, num_extra); + dist += extra_bits; + } + + dist_from_out_buf_start = pOut_buf_cur - pOut_buf_start; + if ((dist > dist_from_out_buf_start) && (decomp_flags & TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF)) + { + TINFL_CR_RETURN_FOREVER(37, TINFL_STATUS_FAILED); + } + + pSrc = pOut_buf_start + ((dist_from_out_buf_start - dist) & out_buf_size_mask); + + if ((MZ_MAX(pOut_buf_cur, pSrc) + counter) > pOut_buf_end) + { + while (counter--) + { + while (pOut_buf_cur >= pOut_buf_end) + { + TINFL_CR_RETURN(53, TINFL_STATUS_HAS_MORE_OUTPUT); + } + *pOut_buf_cur++ = pOut_buf_start[(dist_from_out_buf_start++ - dist) & out_buf_size_mask]; + } + continue; + } +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES + else if ((counter >= 9) && (counter <= dist)) + { + const mz_uint8 *pSrc_end = pSrc + (counter & ~7); + do + { + ((mz_uint32 *)pOut_buf_cur)[0] = ((const mz_uint32 *)pSrc)[0]; + ((mz_uint32 *)pOut_buf_cur)[1] = ((const mz_uint32 *)pSrc)[1]; + pOut_buf_cur += 8; + } while ((pSrc += 8) < pSrc_end); + if ((counter &= 7) < 3) + { + if (counter) + { + pOut_buf_cur[0] = pSrc[0]; + if (counter > 1) + pOut_buf_cur[1] = pSrc[1]; + pOut_buf_cur += counter; + } + continue; + } + } +#endif + do + { + pOut_buf_cur[0] = pSrc[0]; + pOut_buf_cur[1] = pSrc[1]; + pOut_buf_cur[2] = pSrc[2]; + pOut_buf_cur += 3; + pSrc += 3; + } while ((int)(counter -= 3) > 2); + if ((int)counter > 0) + { + pOut_buf_cur[0] = pSrc[0]; + if ((int)counter > 1) + pOut_buf_cur[1] = pSrc[1]; + pOut_buf_cur += counter; + } + } + } + } while (!(r->m_final & 1)); + + /* Ensure byte alignment and put back any bytes from the bitbuf if we've looked ahead too far on gzip, or other Deflate streams followed by arbitrary data. */ + /* I'm being super conservative here. A number of simplifications can be made to the byte alignment part, and the Adler32 check shouldn't ever need to worry about reading from the bitbuf now. */ + TINFL_SKIP_BITS(32, num_bits & 7); + while ((pIn_buf_cur > pIn_buf_next) && (num_bits >= 8)) + { + --pIn_buf_cur; + num_bits -= 8; + } + bit_buf &= (tinfl_bit_buf_t)((((mz_uint64)1) << num_bits) - (mz_uint64)1); + MZ_ASSERT(!num_bits); /* if this assert fires then we've read beyond the end of non-deflate/zlib streams with following data (such as gzip streams). */ + + if (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER) + { + for (counter = 0; counter < 4; ++counter) + { + mz_uint s; + if (num_bits) + TINFL_GET_BITS(41, s, 8); + else + TINFL_GET_BYTE(42, s); + r->m_z_adler32 = (r->m_z_adler32 << 8) | s; + } + } + TINFL_CR_RETURN_FOREVER(34, TINFL_STATUS_DONE); + + TINFL_CR_FINISH + +common_exit: + /* As long as we aren't telling the caller that we NEED more input to make forward progress: */ + /* Put back any bytes from the bitbuf in case we've looked ahead too far on gzip, or other Deflate streams followed by arbitrary data. */ + /* We need to be very careful here to NOT push back any bytes we definitely know we need to make forward progress, though, or we'll lock the caller up into an inf loop. */ + if ((status != TINFL_STATUS_NEEDS_MORE_INPUT) && (status != TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS)) + { + while ((pIn_buf_cur > pIn_buf_next) && (num_bits >= 8)) + { + --pIn_buf_cur; + num_bits -= 8; + } + } + r->m_num_bits = num_bits; + r->m_bit_buf = bit_buf & (tinfl_bit_buf_t)((((mz_uint64)1) << num_bits) - (mz_uint64)1); + r->m_dist = dist; + r->m_counter = counter; + r->m_num_extra = num_extra; + r->m_dist_from_out_buf_start = dist_from_out_buf_start; + *pIn_buf_size = pIn_buf_cur - pIn_buf_next; + *pOut_buf_size = pOut_buf_cur - pOut_buf_next; + if ((decomp_flags & (TINFL_FLAG_PARSE_ZLIB_HEADER | TINFL_FLAG_COMPUTE_ADLER32)) && (status >= 0)) + { + const mz_uint8 *ptr = pOut_buf_next; + size_t buf_len = *pOut_buf_size; + mz_uint32 i, s1 = r->m_check_adler32 & 0xffff, s2 = r->m_check_adler32 >> 16; + size_t block_len = buf_len % 5552; + while (buf_len) + { + for (i = 0; i + 7 < block_len; i += 8, ptr += 8) + { + s1 += ptr[0], s2 += s1; + s1 += ptr[1], s2 += s1; + s1 += ptr[2], s2 += s1; + s1 += ptr[3], s2 += s1; + s1 += ptr[4], s2 += s1; + s1 += ptr[5], s2 += s1; + s1 += ptr[6], s2 += s1; + s1 += ptr[7], s2 += s1; + } + for (; i < block_len; ++i) + s1 += *ptr++, s2 += s1; + s1 %= 65521U, s2 %= 65521U; + buf_len -= block_len; + block_len = 5552; + } + r->m_check_adler32 = (s2 << 16) + s1; + if ((status == TINFL_STATUS_DONE) && (decomp_flags & TINFL_FLAG_PARSE_ZLIB_HEADER) && (r->m_check_adler32 != r->m_z_adler32)) + status = TINFL_STATUS_ADLER32_MISMATCH; + } + return status; +} + +/* Higher level helper functions. */ +void *tinfl_decompress_mem_to_heap(const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) +{ + tinfl_decompressor decomp; + void *pBuf = NULL, *pNew_buf; + size_t src_buf_ofs = 0, out_buf_capacity = 0; + *pOut_len = 0; + tinfl_init(&decomp); + for (;;) + { + size_t src_buf_size = src_buf_len - src_buf_ofs, dst_buf_size = out_buf_capacity - *pOut_len, new_out_buf_capacity; + tinfl_status status = tinfl_decompress(&decomp, (const mz_uint8 *)pSrc_buf + src_buf_ofs, &src_buf_size, (mz_uint8 *)pBuf, pBuf ? (mz_uint8 *)pBuf + *pOut_len : NULL, &dst_buf_size, + (flags & ~TINFL_FLAG_HAS_MORE_INPUT) | TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF); + if ((status < 0) || (status == TINFL_STATUS_NEEDS_MORE_INPUT)) + { + MZ_FREE(pBuf); + *pOut_len = 0; + return NULL; + } + src_buf_ofs += src_buf_size; + *pOut_len += dst_buf_size; + if (status == TINFL_STATUS_DONE) + break; + new_out_buf_capacity = out_buf_capacity * 2; + if (new_out_buf_capacity < 128) + new_out_buf_capacity = 128; + pNew_buf = MZ_REALLOC(pBuf, new_out_buf_capacity); + if (!pNew_buf) + { + MZ_FREE(pBuf); + *pOut_len = 0; + return NULL; + } + pBuf = pNew_buf; + out_buf_capacity = new_out_buf_capacity; + } + return pBuf; +} + +size_t tinfl_decompress_mem_to_mem(void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) +{ + tinfl_decompressor decomp; + tinfl_status status; + tinfl_init(&decomp); + status = tinfl_decompress(&decomp, (const mz_uint8 *)pSrc_buf, &src_buf_len, (mz_uint8 *)pOut_buf, (mz_uint8 *)pOut_buf, &out_buf_len, (flags & ~TINFL_FLAG_HAS_MORE_INPUT) | TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF); + return (status != TINFL_STATUS_DONE) ? TINFL_DECOMPRESS_MEM_TO_MEM_FAILED : out_buf_len; +} + +int tinfl_decompress_mem_to_callback(const void *pIn_buf, size_t *pIn_buf_size, tinfl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) +{ + int result = 0; + tinfl_decompressor decomp; + mz_uint8 *pDict = (mz_uint8 *)MZ_MALLOC(TINFL_LZ_DICT_SIZE); + size_t in_buf_ofs = 0, dict_ofs = 0; + if (!pDict) + return TINFL_STATUS_FAILED; + tinfl_init(&decomp); + for (;;) + { + size_t in_buf_size = *pIn_buf_size - in_buf_ofs, dst_buf_size = TINFL_LZ_DICT_SIZE - dict_ofs; + tinfl_status status = tinfl_decompress(&decomp, (const mz_uint8 *)pIn_buf + in_buf_ofs, &in_buf_size, pDict, pDict + dict_ofs, &dst_buf_size, + (flags & ~(TINFL_FLAG_HAS_MORE_INPUT | TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF))); + in_buf_ofs += in_buf_size; + if ((dst_buf_size) && (!(*pPut_buf_func)(pDict + dict_ofs, (int)dst_buf_size, pPut_buf_user))) + break; + if (status != TINFL_STATUS_HAS_MORE_OUTPUT) + { + result = (status == TINFL_STATUS_DONE); + break; + } + dict_ofs = (dict_ofs + dst_buf_size) & (TINFL_LZ_DICT_SIZE - 1); + } + MZ_FREE(pDict); + *pIn_buf_size = in_buf_ofs; + return result; +} + +tinfl_decompressor *tinfl_decompressor_alloc() +{ + tinfl_decompressor *pDecomp = (tinfl_decompressor *)MZ_MALLOC(sizeof(tinfl_decompressor)); + if (pDecomp) + tinfl_init(pDecomp); + return pDecomp; +} + +void tinfl_decompressor_free(tinfl_decompressor *pDecomp) +{ + MZ_FREE(pDecomp); +} + +#ifdef __cplusplus +} +#endif +/************************************************************************** + * + * Copyright 2013-2014 RAD Game Tools and Valve Software + * Copyright 2010-2014 Rich Geldreich and Tenacious Software LLC + * Copyright 2016 Martin Raiber + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + **************************************************************************/ + + +#ifndef MINIZ_NO_ARCHIVE_APIS + +#ifdef __cplusplus +extern "C" { +#endif + +/* ------------------- .ZIP archive reading */ + +#ifdef MINIZ_NO_STDIO +#define MZ_FILE void * +#else +#include + +#if defined(_MSC_VER) || defined(__MINGW64__) +static FILE *mz_fopen(const char *pFilename, const char *pMode) +{ + FILE *pFile = NULL; + fopen_s(&pFile, pFilename, pMode); + return pFile; +} +static FILE *mz_freopen(const char *pPath, const char *pMode, FILE *pStream) +{ + FILE *pFile = NULL; + if (freopen_s(&pFile, pPath, pMode, pStream)) + return NULL; + return pFile; +} +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN mz_fopen +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#define MZ_FTELL64 _ftelli64 +#define MZ_FSEEK64 _fseeki64 +#define MZ_FILE_STAT_STRUCT _stat +#define MZ_FILE_STAT _stat +#define MZ_FFLUSH fflush +#define MZ_FREOPEN mz_freopen +#define MZ_DELETE_FILE remove +#elif defined(__MINGW32__) +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN(f, m) fopen(f, m) +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#define MZ_FTELL64 ftello64 +#define MZ_FSEEK64 fseeko64 +#define MZ_FILE_STAT_STRUCT _stat +#define MZ_FILE_STAT _stat +#define MZ_FFLUSH fflush +#define MZ_FREOPEN(f, m, s) freopen(f, m, s) +#define MZ_DELETE_FILE remove +#elif defined(__TINYC__) +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN(f, m) fopen(f, m) +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#define MZ_FTELL64 ftell +#define MZ_FSEEK64 fseek +#define MZ_FILE_STAT_STRUCT stat +#define MZ_FILE_STAT stat +#define MZ_FFLUSH fflush +#define MZ_FREOPEN(f, m, s) freopen(f, m, s) +#define MZ_DELETE_FILE remove +#elif defined(__GNUC__) && _LARGEFILE64_SOURCE +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN(f, m) fopen64(f, m) +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#define MZ_FTELL64 ftello64 +#define MZ_FSEEK64 fseeko64 +#define MZ_FILE_STAT_STRUCT stat64 +#define MZ_FILE_STAT stat64 +#define MZ_FFLUSH fflush +#define MZ_FREOPEN(p, m, s) freopen64(p, m, s) +#define MZ_DELETE_FILE remove +#elif defined(__APPLE__) && _LARGEFILE64_SOURCE +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN(f, m) fopen(f, m) +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#define MZ_FTELL64 ftello +#define MZ_FSEEK64 fseeko +#define MZ_FILE_STAT_STRUCT stat +#define MZ_FILE_STAT stat +#define MZ_FFLUSH fflush +#define MZ_FREOPEN(p, m, s) freopen(p, m, s) +#define MZ_DELETE_FILE remove + +#else +#pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") +#ifndef MINIZ_NO_TIME +#include +#endif +#define MZ_FOPEN(f, m) fopen(f, m) +#define MZ_FCLOSE fclose +#define MZ_FREAD fread +#define MZ_FWRITE fwrite +#ifdef __STRICT_ANSI__ +#define MZ_FTELL64 ftell +#define MZ_FSEEK64 fseek +#else +#define MZ_FTELL64 ftello +#define MZ_FSEEK64 fseeko +#endif +#define MZ_FILE_STAT_STRUCT stat +#define MZ_FILE_STAT stat +#define MZ_FFLUSH fflush +#define MZ_FREOPEN(f, m, s) freopen(f, m, s) +#define MZ_DELETE_FILE remove +#endif /* #ifdef _MSC_VER */ +#endif /* #ifdef MINIZ_NO_STDIO */ + +#define MZ_TOLOWER(c) ((((c) >= 'A') && ((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c)) + +/* Various ZIP archive enums. To completely avoid cross platform compiler alignment and platform endian issues, miniz.c doesn't use structs for any of this stuff. */ +enum +{ + /* ZIP archive identifiers and record sizes */ + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG = 0x06054b50, + MZ_ZIP_CENTRAL_DIR_HEADER_SIG = 0x02014b50, + MZ_ZIP_LOCAL_DIR_HEADER_SIG = 0x04034b50, + MZ_ZIP_LOCAL_DIR_HEADER_SIZE = 30, + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE = 46, + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE = 22, + + /* ZIP64 archive identifier and record sizes */ + MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG = 0x06064b50, + MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG = 0x07064b50, + MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE = 56, + MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE = 20, + MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID = 0x0001, + MZ_ZIP_DATA_DESCRIPTOR_ID = 0x08074b50, + MZ_ZIP_DATA_DESCRIPTER_SIZE64 = 24, + MZ_ZIP_DATA_DESCRIPTER_SIZE32 = 16, + + /* Central directory header record offsets */ + MZ_ZIP_CDH_SIG_OFS = 0, + MZ_ZIP_CDH_VERSION_MADE_BY_OFS = 4, + MZ_ZIP_CDH_VERSION_NEEDED_OFS = 6, + MZ_ZIP_CDH_BIT_FLAG_OFS = 8, + MZ_ZIP_CDH_METHOD_OFS = 10, + MZ_ZIP_CDH_FILE_TIME_OFS = 12, + MZ_ZIP_CDH_FILE_DATE_OFS = 14, + MZ_ZIP_CDH_CRC32_OFS = 16, + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS = 20, + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS = 24, + MZ_ZIP_CDH_FILENAME_LEN_OFS = 28, + MZ_ZIP_CDH_EXTRA_LEN_OFS = 30, + MZ_ZIP_CDH_COMMENT_LEN_OFS = 32, + MZ_ZIP_CDH_DISK_START_OFS = 34, + MZ_ZIP_CDH_INTERNAL_ATTR_OFS = 36, + MZ_ZIP_CDH_EXTERNAL_ATTR_OFS = 38, + MZ_ZIP_CDH_LOCAL_HEADER_OFS = 42, + + /* Local directory header offsets */ + MZ_ZIP_LDH_SIG_OFS = 0, + MZ_ZIP_LDH_VERSION_NEEDED_OFS = 4, + MZ_ZIP_LDH_BIT_FLAG_OFS = 6, + MZ_ZIP_LDH_METHOD_OFS = 8, + MZ_ZIP_LDH_FILE_TIME_OFS = 10, + MZ_ZIP_LDH_FILE_DATE_OFS = 12, + MZ_ZIP_LDH_CRC32_OFS = 14, + MZ_ZIP_LDH_COMPRESSED_SIZE_OFS = 18, + MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS = 22, + MZ_ZIP_LDH_FILENAME_LEN_OFS = 26, + MZ_ZIP_LDH_EXTRA_LEN_OFS = 28, + MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR = 1 << 3, + + /* End of central directory offsets */ + MZ_ZIP_ECDH_SIG_OFS = 0, + MZ_ZIP_ECDH_NUM_THIS_DISK_OFS = 4, + MZ_ZIP_ECDH_NUM_DISK_CDIR_OFS = 6, + MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS = 8, + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS = 10, + MZ_ZIP_ECDH_CDIR_SIZE_OFS = 12, + MZ_ZIP_ECDH_CDIR_OFS_OFS = 16, + MZ_ZIP_ECDH_COMMENT_SIZE_OFS = 20, + + /* ZIP64 End of central directory locator offsets */ + MZ_ZIP64_ECDL_SIG_OFS = 0, /* 4 bytes */ + MZ_ZIP64_ECDL_NUM_DISK_CDIR_OFS = 4, /* 4 bytes */ + MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS = 8, /* 8 bytes */ + MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS = 16, /* 4 bytes */ + + /* ZIP64 End of central directory header offsets */ + MZ_ZIP64_ECDH_SIG_OFS = 0, /* 4 bytes */ + MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS = 4, /* 8 bytes */ + MZ_ZIP64_ECDH_VERSION_MADE_BY_OFS = 12, /* 2 bytes */ + MZ_ZIP64_ECDH_VERSION_NEEDED_OFS = 14, /* 2 bytes */ + MZ_ZIP64_ECDH_NUM_THIS_DISK_OFS = 16, /* 4 bytes */ + MZ_ZIP64_ECDH_NUM_DISK_CDIR_OFS = 20, /* 4 bytes */ + MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS = 24, /* 8 bytes */ + MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS = 32, /* 8 bytes */ + MZ_ZIP64_ECDH_CDIR_SIZE_OFS = 40, /* 8 bytes */ + MZ_ZIP64_ECDH_CDIR_OFS_OFS = 48, /* 8 bytes */ + MZ_ZIP_VERSION_MADE_BY_DOS_FILESYSTEM_ID = 0, + MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG = 0x10, + MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED = 1, + MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG = 32, + MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION = 64, + MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_LOCAL_DIR_IS_MASKED = 8192, + MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8 = 1 << 11 +}; + +typedef struct +{ + void *m_p; + size_t m_size, m_capacity; + mz_uint m_element_size; +} mz_zip_array; + +struct mz_zip_internal_state_tag +{ + mz_zip_array m_central_dir; + mz_zip_array m_central_dir_offsets; + mz_zip_array m_sorted_central_dir_offsets; + + /* The flags passed in when the archive is initially opened. */ + uint32_t m_init_flags; + + /* MZ_TRUE if the archive has a zip64 end of central directory headers, etc. */ + mz_bool m_zip64; + + /* MZ_TRUE if we found zip64 extended info in the central directory (m_zip64 will also be slammed to true too, even if we didn't find a zip64 end of central dir header, etc.) */ + mz_bool m_zip64_has_extended_info_fields; + + /* These fields are used by the file, FILE, memory, and memory/heap read/write helpers. */ + MZ_FILE *m_pFile; + mz_uint64 m_file_archive_start_ofs; + + void *m_pMem; + size_t m_mem_size; + size_t m_mem_capacity; +}; + +#define MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(array_ptr, element_size) (array_ptr)->m_element_size = element_size + +#if defined(DEBUG) || defined(_DEBUG) || defined(NDEBUG) +static MZ_FORCEINLINE mz_uint mz_zip_array_range_check(const mz_zip_array *pArray, mz_uint index) +{ + MZ_ASSERT(index < pArray->m_size); + return index; +} +#define MZ_ZIP_ARRAY_ELEMENT(array_ptr, element_type, index) ((element_type *)((array_ptr)->m_p))[mz_zip_array_range_check(array_ptr, index)] +#else +#define MZ_ZIP_ARRAY_ELEMENT(array_ptr, element_type, index) ((element_type *)((array_ptr)->m_p))[index] +#endif + +static MZ_FORCEINLINE void mz_zip_array_init(mz_zip_array *pArray, mz_uint32 element_size) +{ + memset(pArray, 0, sizeof(mz_zip_array)); + pArray->m_element_size = element_size; +} + +static MZ_FORCEINLINE void mz_zip_array_clear(mz_zip_archive *pZip, mz_zip_array *pArray) +{ + pZip->m_pFree(pZip->m_pAlloc_opaque, pArray->m_p); + memset(pArray, 0, sizeof(mz_zip_array)); +} + +static mz_bool mz_zip_array_ensure_capacity(mz_zip_archive *pZip, mz_zip_array *pArray, size_t min_new_capacity, mz_uint growing) +{ + void *pNew_p; + size_t new_capacity = min_new_capacity; + MZ_ASSERT(pArray->m_element_size); + if (pArray->m_capacity >= min_new_capacity) + return MZ_TRUE; + if (growing) + { + new_capacity = MZ_MAX(1, pArray->m_capacity); + while (new_capacity < min_new_capacity) + new_capacity *= 2; + } + if (NULL == (pNew_p = pZip->m_pRealloc(pZip->m_pAlloc_opaque, pArray->m_p, pArray->m_element_size, new_capacity))) + return MZ_FALSE; + pArray->m_p = pNew_p; + pArray->m_capacity = new_capacity; + return MZ_TRUE; +} + +static MZ_FORCEINLINE mz_bool mz_zip_array_reserve(mz_zip_archive *pZip, mz_zip_array *pArray, size_t new_capacity, mz_uint growing) +{ + if (new_capacity > pArray->m_capacity) + { + if (!mz_zip_array_ensure_capacity(pZip, pArray, new_capacity, growing)) + return MZ_FALSE; + } + return MZ_TRUE; +} + +static MZ_FORCEINLINE mz_bool mz_zip_array_resize(mz_zip_archive *pZip, mz_zip_array *pArray, size_t new_size, mz_uint growing) +{ + if (new_size > pArray->m_capacity) + { + if (!mz_zip_array_ensure_capacity(pZip, pArray, new_size, growing)) + return MZ_FALSE; + } + pArray->m_size = new_size; + return MZ_TRUE; +} + +static MZ_FORCEINLINE mz_bool mz_zip_array_ensure_room(mz_zip_archive *pZip, mz_zip_array *pArray, size_t n) +{ + return mz_zip_array_reserve(pZip, pArray, pArray->m_size + n, MZ_TRUE); +} + +static MZ_FORCEINLINE mz_bool mz_zip_array_push_back(mz_zip_archive *pZip, mz_zip_array *pArray, const void *pElements, size_t n) +{ + size_t orig_size = pArray->m_size; + if (!mz_zip_array_resize(pZip, pArray, orig_size + n, MZ_TRUE)) + return MZ_FALSE; + memcpy((mz_uint8 *)pArray->m_p + orig_size * pArray->m_element_size, pElements, n * pArray->m_element_size); + return MZ_TRUE; +} + +#ifndef MINIZ_NO_TIME +static MZ_TIME_T mz_zip_dos_to_time_t(int dos_time, int dos_date) +{ + struct tm tm; + memset(&tm, 0, sizeof(tm)); + tm.tm_isdst = -1; + tm.tm_year = ((dos_date >> 9) & 127) + 1980 - 1900; + tm.tm_mon = ((dos_date >> 5) & 15) - 1; + tm.tm_mday = dos_date & 31; + tm.tm_hour = (dos_time >> 11) & 31; + tm.tm_min = (dos_time >> 5) & 63; + tm.tm_sec = (dos_time << 1) & 62; + return mktime(&tm); +} + +#ifndef MINIZ_NO_ARCHIVE_WRITING_APIS +static void mz_zip_time_t_to_dos_time(MZ_TIME_T time, mz_uint16 *pDOS_time, mz_uint16 *pDOS_date) +{ +#ifdef _MSC_VER + struct tm tm_struct; + struct tm *tm = &tm_struct; + errno_t err = localtime_s(tm, &time); + if (err) + { + *pDOS_date = 0; + *pDOS_time = 0; + return; + } +#else + struct tm *tm = localtime(&time); +#endif /* #ifdef _MSC_VER */ + + *pDOS_time = (mz_uint16)(((tm->tm_hour) << 11) + ((tm->tm_min) << 5) + ((tm->tm_sec) >> 1)); + *pDOS_date = (mz_uint16)(((tm->tm_year + 1900 - 1980) << 9) + ((tm->tm_mon + 1) << 5) + tm->tm_mday); +} +#endif /* MINIZ_NO_ARCHIVE_WRITING_APIS */ + +#ifndef MINIZ_NO_STDIO +#ifndef MINIZ_NO_ARCHIVE_WRITING_APIS +static mz_bool mz_zip_get_file_modified_time(const char *pFilename, MZ_TIME_T *pTime) +{ + struct MZ_FILE_STAT_STRUCT file_stat; + + /* On Linux with x86 glibc, this call will fail on large files (I think >= 0x80000000 bytes) unless you compiled with _LARGEFILE64_SOURCE. Argh. */ + if (MZ_FILE_STAT(pFilename, &file_stat) != 0) + return MZ_FALSE; + + *pTime = file_stat.st_mtime; + + return MZ_TRUE; +} +#endif /* #ifndef MINIZ_NO_ARCHIVE_WRITING_APIS*/ + +static mz_bool mz_zip_set_file_times(const char *pFilename, MZ_TIME_T access_time, MZ_TIME_T modified_time) +{ + struct utimbuf t; + + memset(&t, 0, sizeof(t)); + t.actime = access_time; + t.modtime = modified_time; + + return !utime(pFilename, &t); +} +#endif /* #ifndef MINIZ_NO_STDIO */ +#endif /* #ifndef MINIZ_NO_TIME */ + +static MZ_FORCEINLINE mz_bool mz_zip_set_error(mz_zip_archive *pZip, mz_zip_error err_num) +{ + if (pZip) + pZip->m_last_error = err_num; + return MZ_FALSE; +} + +static mz_bool mz_zip_reader_init_internal(mz_zip_archive *pZip, mz_uint flags) +{ + (void)flags; + if ((!pZip) || (pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_INVALID)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!pZip->m_pAlloc) + pZip->m_pAlloc = miniz_def_alloc_func; + if (!pZip->m_pFree) + pZip->m_pFree = miniz_def_free_func; + if (!pZip->m_pRealloc) + pZip->m_pRealloc = miniz_def_realloc_func; + + pZip->m_archive_size = 0; + pZip->m_central_directory_file_ofs = 0; + pZip->m_total_files = 0; + pZip->m_last_error = MZ_ZIP_NO_ERROR; + + if (NULL == (pZip->m_pState = (mz_zip_internal_state *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(mz_zip_internal_state)))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + memset(pZip->m_pState, 0, sizeof(mz_zip_internal_state)); + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir, sizeof(mz_uint8)); + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir_offsets, sizeof(mz_uint32)); + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_sorted_central_dir_offsets, sizeof(mz_uint32)); + pZip->m_pState->m_init_flags = flags; + pZip->m_pState->m_zip64 = MZ_FALSE; + pZip->m_pState->m_zip64_has_extended_info_fields = MZ_FALSE; + + pZip->m_zip_mode = MZ_ZIP_MODE_READING; + + return MZ_TRUE; +} + +static MZ_FORCEINLINE mz_bool mz_zip_reader_filename_less(const mz_zip_array *pCentral_dir_array, const mz_zip_array *pCentral_dir_offsets, mz_uint l_index, mz_uint r_index) +{ + const mz_uint8 *pL = &MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_array, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_offsets, mz_uint32, l_index)), *pE; + const mz_uint8 *pR = &MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_array, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_offsets, mz_uint32, r_index)); + mz_uint l_len = MZ_READ_LE16(pL + MZ_ZIP_CDH_FILENAME_LEN_OFS), r_len = MZ_READ_LE16(pR + MZ_ZIP_CDH_FILENAME_LEN_OFS); + mz_uint8 l = 0, r = 0; + pL += MZ_ZIP_CENTRAL_DIR_HEADER_SIZE; + pR += MZ_ZIP_CENTRAL_DIR_HEADER_SIZE; + pE = pL + MZ_MIN(l_len, r_len); + while (pL < pE) + { + if ((l = MZ_TOLOWER(*pL)) != (r = MZ_TOLOWER(*pR))) + break; + pL++; + pR++; + } + return (pL == pE) ? (l_len < r_len) : (l < r); +} + +#define MZ_SWAP_UINT32(a, b) \ + do \ + { \ + mz_uint32 t = a; \ + a = b; \ + b = t; \ + } \ + MZ_MACRO_END + +/* Heap sort of lowercased filenames, used to help accelerate plain central directory searches by mz_zip_reader_locate_file(). (Could also use qsort(), but it could allocate memory.) */ +static void mz_zip_reader_sort_central_dir_offsets_by_filename(mz_zip_archive *pZip) +{ + mz_zip_internal_state *pState = pZip->m_pState; + const mz_zip_array *pCentral_dir_offsets = &pState->m_central_dir_offsets; + const mz_zip_array *pCentral_dir = &pState->m_central_dir; + mz_uint32 *pIndices; + mz_uint32 start, end; + const mz_uint32 size = pZip->m_total_files; + + if (size <= 1U) + return; + + pIndices = &MZ_ZIP_ARRAY_ELEMENT(&pState->m_sorted_central_dir_offsets, mz_uint32, 0); + + start = (size - 2U) >> 1U; + for (;;) + { + mz_uint64 child, root = start; + for (;;) + { + if ((child = (root << 1U) + 1U) >= size) + break; + child += (((child + 1U) < size) && (mz_zip_reader_filename_less(pCentral_dir, pCentral_dir_offsets, pIndices[child], pIndices[child + 1U]))); + if (!mz_zip_reader_filename_less(pCentral_dir, pCentral_dir_offsets, pIndices[root], pIndices[child])) + break; + MZ_SWAP_UINT32(pIndices[root], pIndices[child]); + root = child; + } + if (!start) + break; + start--; + } + + end = size - 1; + while (end > 0) + { + mz_uint64 child, root = 0; + MZ_SWAP_UINT32(pIndices[end], pIndices[0]); + for (;;) + { + if ((child = (root << 1U) + 1U) >= end) + break; + child += (((child + 1U) < end) && mz_zip_reader_filename_less(pCentral_dir, pCentral_dir_offsets, pIndices[child], pIndices[child + 1U])); + if (!mz_zip_reader_filename_less(pCentral_dir, pCentral_dir_offsets, pIndices[root], pIndices[child])) + break; + MZ_SWAP_UINT32(pIndices[root], pIndices[child]); + root = child; + } + end--; + } +} + +static mz_bool mz_zip_reader_locate_header_sig(mz_zip_archive *pZip, mz_uint32 record_sig, mz_uint32 record_size, mz_int64 *pOfs) +{ + mz_int64 cur_file_ofs; + mz_uint32 buf_u32[4096 / sizeof(mz_uint32)]; + mz_uint8 *pBuf = (mz_uint8 *)buf_u32; + + /* Basic sanity checks - reject files which are too small */ + if (pZip->m_archive_size < record_size) + return MZ_FALSE; + + /* Find the record by scanning the file from the end towards the beginning. */ + cur_file_ofs = MZ_MAX((mz_int64)pZip->m_archive_size - (mz_int64)sizeof(buf_u32), 0); + for (;;) + { + int i, n = (int)MZ_MIN(sizeof(buf_u32), pZip->m_archive_size - cur_file_ofs); + + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, n) != (mz_uint)n) + return MZ_FALSE; + + for (i = n - 4; i >= 0; --i) + { + mz_uint s = MZ_READ_LE32(pBuf + i); + if (s == record_sig) + { + if ((pZip->m_archive_size - (cur_file_ofs + i)) >= record_size) + break; + } + } + + if (i >= 0) + { + cur_file_ofs += i; + break; + } + + /* Give up if we've searched the entire file, or we've gone back "too far" (~64kb) */ + if ((!cur_file_ofs) || ((pZip->m_archive_size - cur_file_ofs) >= (MZ_UINT16_MAX + record_size))) + return MZ_FALSE; + + cur_file_ofs = MZ_MAX(cur_file_ofs - (sizeof(buf_u32) - 3), 0); + } + + *pOfs = cur_file_ofs; + return MZ_TRUE; +} + +static mz_bool mz_zip_reader_read_central_dir(mz_zip_archive *pZip, mz_uint flags) +{ + mz_uint cdir_size = 0, cdir_entries_on_this_disk = 0, num_this_disk = 0, cdir_disk_index = 0; + mz_uint64 cdir_ofs = 0; + mz_int64 cur_file_ofs = 0; + const mz_uint8 *p; + + mz_uint32 buf_u32[4096 / sizeof(mz_uint32)]; + mz_uint8 *pBuf = (mz_uint8 *)buf_u32; + mz_bool sort_central_dir = ((flags & MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY) == 0); + mz_uint32 zip64_end_of_central_dir_locator_u32[(MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pZip64_locator = (mz_uint8 *)zip64_end_of_central_dir_locator_u32; + + mz_uint32 zip64_end_of_central_dir_header_u32[(MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pZip64_end_of_central_dir = (mz_uint8 *)zip64_end_of_central_dir_header_u32; + + mz_uint64 zip64_end_of_central_dir_ofs = 0; + + /* Basic sanity checks - reject files which are too small, and check the first 4 bytes of the file to make sure a local header is there. */ + if (pZip->m_archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + + if (!mz_zip_reader_locate_header_sig(pZip, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE, &cur_file_ofs)) + return mz_zip_set_error(pZip, MZ_ZIP_FAILED_FINDING_CENTRAL_DIR); + + /* Read and verify the end of central directory record. */ + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) != MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + if (MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_SIG_OFS) != MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + + if (cur_file_ofs >= (MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE + MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE)) + { + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs - MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE, pZip64_locator, MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) == MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) + { + if (MZ_READ_LE32(pZip64_locator + MZ_ZIP64_ECDL_SIG_OFS) == MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG) + { + zip64_end_of_central_dir_ofs = MZ_READ_LE64(pZip64_locator + MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS); + if (zip64_end_of_central_dir_ofs > (pZip->m_archive_size - MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE)) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + + if (pZip->m_pRead(pZip->m_pIO_opaque, zip64_end_of_central_dir_ofs, pZip64_end_of_central_dir, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) == MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) + { + if (MZ_READ_LE32(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_SIG_OFS) == MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG) + { + pZip->m_pState->m_zip64 = MZ_TRUE; + } + } + } + } + } + + pZip->m_total_files = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS); + cdir_entries_on_this_disk = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS); + num_this_disk = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_NUM_THIS_DISK_OFS); + cdir_disk_index = MZ_READ_LE16(pBuf + MZ_ZIP_ECDH_NUM_DISK_CDIR_OFS); + cdir_size = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_SIZE_OFS); + cdir_ofs = MZ_READ_LE32(pBuf + MZ_ZIP_ECDH_CDIR_OFS_OFS); + + if (pZip->m_pState->m_zip64) + { + mz_uint32 zip64_total_num_of_disks = MZ_READ_LE32(pZip64_locator + MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS); + mz_uint64 zip64_cdir_total_entries = MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS); + mz_uint64 zip64_cdir_total_entries_on_this_disk = MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS); + mz_uint64 zip64_size_of_end_of_central_dir_record = MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS); + mz_uint64 zip64_size_of_central_directory = MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_SIZE_OFS); + + if (zip64_size_of_end_of_central_dir_record < (MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE - 12)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (zip64_total_num_of_disks != 1U) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); + + /* Check for miniz's practical limits */ + if (zip64_cdir_total_entries > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + + pZip->m_total_files = (mz_uint32)zip64_cdir_total_entries; + + if (zip64_cdir_total_entries_on_this_disk > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + + cdir_entries_on_this_disk = (mz_uint32)zip64_cdir_total_entries_on_this_disk; + + /* Check for miniz's current practical limits (sorry, this should be enough for millions of files) */ + if (zip64_size_of_central_directory > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + + cdir_size = (mz_uint32)zip64_size_of_central_directory; + + num_this_disk = MZ_READ_LE32(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_NUM_THIS_DISK_OFS); + + cdir_disk_index = MZ_READ_LE32(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_NUM_DISK_CDIR_OFS); + + cdir_ofs = MZ_READ_LE64(pZip64_end_of_central_dir + MZ_ZIP64_ECDH_CDIR_OFS_OFS); + } + + if (pZip->m_total_files != cdir_entries_on_this_disk) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); + + if (((num_this_disk | cdir_disk_index) != 0) && ((num_this_disk != 1) || (cdir_disk_index != 1))) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); + + if (cdir_size < pZip->m_total_files * MZ_ZIP_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if ((cdir_ofs + (mz_uint64)cdir_size) > pZip->m_archive_size) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + pZip->m_central_directory_file_ofs = cdir_ofs; + + if (pZip->m_total_files) + { + mz_uint i, n; + /* Read the entire central directory into a heap block, and allocate another heap block to hold the unsorted central dir file record offsets, and possibly another to hold the sorted indices. */ + if ((!mz_zip_array_resize(pZip, &pZip->m_pState->m_central_dir, cdir_size, MZ_FALSE)) || + (!mz_zip_array_resize(pZip, &pZip->m_pState->m_central_dir_offsets, pZip->m_total_files, MZ_FALSE))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + if (sort_central_dir) + { + if (!mz_zip_array_resize(pZip, &pZip->m_pState->m_sorted_central_dir_offsets, pZip->m_total_files, MZ_FALSE)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (pZip->m_pRead(pZip->m_pIO_opaque, cdir_ofs, pZip->m_pState->m_central_dir.m_p, cdir_size) != cdir_size) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + /* Now create an index into the central directory file records, do some basic sanity checking on each record */ + p = (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p; + for (n = cdir_size, i = 0; i < pZip->m_total_files; ++i) + { + mz_uint total_header_size, disk_index, bit_flags, filename_size, ext_data_size; + mz_uint64 comp_size, decomp_size, local_header_ofs; + + if ((n < MZ_ZIP_CENTRAL_DIR_HEADER_SIZE) || (MZ_READ_LE32(p) != MZ_ZIP_CENTRAL_DIR_HEADER_SIG)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, mz_uint32, i) = (mz_uint32)(p - (const mz_uint8 *)pZip->m_pState->m_central_dir.m_p); + + if (sort_central_dir) + MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_sorted_central_dir_offsets, mz_uint32, i) = i; + + comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); + decomp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS); + local_header_ofs = MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS); + filename_size = MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); + ext_data_size = MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS); + + if ((!pZip->m_pState->m_zip64_has_extended_info_fields) && + (ext_data_size) && + (MZ_MAX(MZ_MAX(comp_size, decomp_size), local_header_ofs) == MZ_UINT32_MAX)) + { + /* Attempt to find zip64 extended information field in the entry's extra data */ + mz_uint32 extra_size_remaining = ext_data_size; + + if (extra_size_remaining) + { + const mz_uint8 *pExtra_data = p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size; + + do + { + mz_uint32 field_id; + mz_uint32 field_data_size; + + if (extra_size_remaining < (sizeof(mz_uint16) * 2)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + field_id = MZ_READ_LE16(pExtra_data); + field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); + + if ((field_data_size + sizeof(mz_uint16) * 2) > extra_size_remaining) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (field_id == MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) + { + /* Ok, the archive didn't have any zip64 headers but it uses a zip64 extended information field so mark it as zip64 anyway (this can occur with infozip's zip util when it reads compresses files from stdin). */ + pZip->m_pState->m_zip64 = MZ_TRUE; + pZip->m_pState->m_zip64_has_extended_info_fields = MZ_TRUE; + break; + } + + pExtra_data += sizeof(mz_uint16) * 2 + field_data_size; + extra_size_remaining = extra_size_remaining - sizeof(mz_uint16) * 2 - field_data_size; + } while (extra_size_remaining); + } + } + + /* I've seen archives that aren't marked as zip64 that uses zip64 ext data, argh */ + if ((comp_size != MZ_UINT32_MAX) && (decomp_size != MZ_UINT32_MAX)) + { + if (((!MZ_READ_LE32(p + MZ_ZIP_CDH_METHOD_OFS)) && (decomp_size != comp_size)) || (decomp_size && !comp_size)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + } + + disk_index = MZ_READ_LE16(p + MZ_ZIP_CDH_DISK_START_OFS); + if ((disk_index == MZ_UINT16_MAX) || ((disk_index != num_this_disk) && (disk_index != 1))) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_MULTIDISK); + + if (comp_size != MZ_UINT32_MAX) + { + if (((mz_uint64)MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS) + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + comp_size) > pZip->m_archive_size) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + } + + bit_flags = MZ_READ_LE16(p + MZ_ZIP_CDH_BIT_FLAG_OFS); + if (bit_flags & MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_LOCAL_DIR_IS_MASKED) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + + if ((total_header_size = MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS) + MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS) + MZ_READ_LE16(p + MZ_ZIP_CDH_COMMENT_LEN_OFS)) > n) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + n -= total_header_size; + p += total_header_size; + } + } + + if (sort_central_dir) + mz_zip_reader_sort_central_dir_offsets_by_filename(pZip); + + return MZ_TRUE; +} + +void mz_zip_zero_struct(mz_zip_archive *pZip) +{ + if (pZip) + MZ_CLEAR_OBJ(*pZip); +} + +static mz_bool mz_zip_reader_end_internal(mz_zip_archive *pZip, mz_bool set_last_error) +{ + mz_bool status = MZ_TRUE; + + if (!pZip) + return MZ_FALSE; + + if ((!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || (pZip->m_zip_mode != MZ_ZIP_MODE_READING)) + { + if (set_last_error) + pZip->m_last_error = MZ_ZIP_INVALID_PARAMETER; + + return MZ_FALSE; + } + + if (pZip->m_pState) + { + mz_zip_internal_state *pState = pZip->m_pState; + pZip->m_pState = NULL; + + mz_zip_array_clear(pZip, &pState->m_central_dir); + mz_zip_array_clear(pZip, &pState->m_central_dir_offsets); + mz_zip_array_clear(pZip, &pState->m_sorted_central_dir_offsets); + +#ifndef MINIZ_NO_STDIO + if (pState->m_pFile) + { + if (pZip->m_zip_type == MZ_ZIP_TYPE_FILE) + { + if (MZ_FCLOSE(pState->m_pFile) == EOF) + { + if (set_last_error) + pZip->m_last_error = MZ_ZIP_FILE_CLOSE_FAILED; + status = MZ_FALSE; + } + } + pState->m_pFile = NULL; + } +#endif /* #ifndef MINIZ_NO_STDIO */ + + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + } + pZip->m_zip_mode = MZ_ZIP_MODE_INVALID; + + return status; +} + +mz_bool mz_zip_reader_end(mz_zip_archive *pZip) +{ + return mz_zip_reader_end_internal(pZip, MZ_TRUE); +} +mz_bool mz_zip_reader_init(mz_zip_archive *pZip, mz_uint64 size, mz_uint flags) +{ + if ((!pZip) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_reader_init_internal(pZip, flags)) + return MZ_FALSE; + + pZip->m_zip_type = MZ_ZIP_TYPE_USER; + pZip->m_archive_size = size; + + if (!mz_zip_reader_read_central_dir(pZip, flags)) + { + mz_zip_reader_end_internal(pZip, MZ_FALSE); + return MZ_FALSE; + } + + return MZ_TRUE; +} + +static size_t mz_zip_mem_read_func(void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) +{ + mz_zip_archive *pZip = (mz_zip_archive *)pOpaque; + size_t s = (file_ofs >= pZip->m_archive_size) ? 0 : (size_t)MZ_MIN(pZip->m_archive_size - file_ofs, n); + memcpy(pBuf, (const mz_uint8 *)pZip->m_pState->m_pMem + file_ofs, s); + return s; +} + +mz_bool mz_zip_reader_init_mem(mz_zip_archive *pZip, const void *pMem, size_t size, mz_uint flags) +{ + if (!pMem) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + + if (!mz_zip_reader_init_internal(pZip, flags)) + return MZ_FALSE; + + pZip->m_zip_type = MZ_ZIP_TYPE_MEMORY; + pZip->m_archive_size = size; + pZip->m_pRead = mz_zip_mem_read_func; + pZip->m_pIO_opaque = pZip; + pZip->m_pNeeds_keepalive = NULL; + +#ifdef __cplusplus + pZip->m_pState->m_pMem = const_cast(pMem); +#else + pZip->m_pState->m_pMem = (void *)pMem; +#endif + + pZip->m_pState->m_mem_size = size; + + if (!mz_zip_reader_read_central_dir(pZip, flags)) + { + mz_zip_reader_end_internal(pZip, MZ_FALSE); + return MZ_FALSE; + } + + return MZ_TRUE; +} + +#ifndef MINIZ_NO_STDIO +static size_t mz_zip_file_read_func(void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) +{ + mz_zip_archive *pZip = (mz_zip_archive *)pOpaque; + mz_int64 cur_ofs = MZ_FTELL64(pZip->m_pState->m_pFile); + + file_ofs += pZip->m_pState->m_file_archive_start_ofs; + + if (((mz_int64)file_ofs < 0) || (((cur_ofs != (mz_int64)file_ofs)) && (MZ_FSEEK64(pZip->m_pState->m_pFile, (mz_int64)file_ofs, SEEK_SET)))) + return 0; + + return MZ_FREAD(pBuf, 1, n, pZip->m_pState->m_pFile); +} + +mz_bool mz_zip_reader_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint32 flags) +{ + return mz_zip_reader_init_file_v2(pZip, pFilename, flags, 0, 0); +} + +mz_bool mz_zip_reader_init_file_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint flags, mz_uint64 file_start_ofs, mz_uint64 archive_size) +{ + mz_uint64 file_size; + MZ_FILE *pFile; + + if ((!pZip) || (!pFilename) || ((archive_size) && (archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE))) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pFile = MZ_FOPEN(pFilename, "rb"); + if (!pFile) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + + file_size = archive_size; + if (!file_size) + { + if (MZ_FSEEK64(pFile, 0, SEEK_END)) + { + MZ_FCLOSE(pFile); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_SEEK_FAILED); + } + + file_size = MZ_FTELL64(pFile); + } + + /* TODO: Better sanity check archive_size and the # of actual remaining bytes */ + + if (file_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + + if (!mz_zip_reader_init_internal(pZip, flags)) + { + MZ_FCLOSE(pFile); + return MZ_FALSE; + } + + pZip->m_zip_type = MZ_ZIP_TYPE_FILE; + pZip->m_pRead = mz_zip_file_read_func; + pZip->m_pIO_opaque = pZip; + pZip->m_pState->m_pFile = pFile; + pZip->m_archive_size = file_size; + pZip->m_pState->m_file_archive_start_ofs = file_start_ofs; + + if (!mz_zip_reader_read_central_dir(pZip, flags)) + { + mz_zip_reader_end_internal(pZip, MZ_FALSE); + return MZ_FALSE; + } + + return MZ_TRUE; +} + +mz_bool mz_zip_reader_init_cfile(mz_zip_archive *pZip, MZ_FILE *pFile, mz_uint64 archive_size, mz_uint flags) +{ + mz_uint64 cur_file_ofs; + + if ((!pZip) || (!pFile)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + + cur_file_ofs = MZ_FTELL64(pFile); + + if (!archive_size) + { + if (MZ_FSEEK64(pFile, 0, SEEK_END)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_SEEK_FAILED); + + archive_size = MZ_FTELL64(pFile) - cur_file_ofs; + + if (archive_size < MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_NOT_AN_ARCHIVE); + } + + if (!mz_zip_reader_init_internal(pZip, flags)) + return MZ_FALSE; + + pZip->m_zip_type = MZ_ZIP_TYPE_CFILE; + pZip->m_pRead = mz_zip_file_read_func; + + pZip->m_pIO_opaque = pZip; + pZip->m_pState->m_pFile = pFile; + pZip->m_archive_size = archive_size; + pZip->m_pState->m_file_archive_start_ofs = cur_file_ofs; + + if (!mz_zip_reader_read_central_dir(pZip, flags)) + { + mz_zip_reader_end_internal(pZip, MZ_FALSE); + return MZ_FALSE; + } + + return MZ_TRUE; +} + +#endif /* #ifndef MINIZ_NO_STDIO */ + +static MZ_FORCEINLINE const mz_uint8 *mz_zip_get_cdh(mz_zip_archive *pZip, mz_uint file_index) +{ + if ((!pZip) || (!pZip->m_pState) || (file_index >= pZip->m_total_files)) + return NULL; + return &MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, mz_uint32, file_index)); +} + +mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, mz_uint file_index) +{ + mz_uint m_bit_flag; + const mz_uint8 *p = mz_zip_get_cdh(pZip, file_index); + if (!p) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return MZ_FALSE; + } + + m_bit_flag = MZ_READ_LE16(p + MZ_ZIP_CDH_BIT_FLAG_OFS); + return (m_bit_flag & (MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION)) != 0; +} + +mz_bool mz_zip_reader_is_file_supported(mz_zip_archive *pZip, mz_uint file_index) +{ + mz_uint bit_flag; + mz_uint method; + + const mz_uint8 *p = mz_zip_get_cdh(pZip, file_index); + if (!p) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return MZ_FALSE; + } + + method = MZ_READ_LE16(p + MZ_ZIP_CDH_METHOD_OFS); + bit_flag = MZ_READ_LE16(p + MZ_ZIP_CDH_BIT_FLAG_OFS); + + if ((method != 0) && (method != MZ_DEFLATED)) + { + mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_METHOD); + return MZ_FALSE; + } + + if (bit_flag & (MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION)) + { + mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + return MZ_FALSE; + } + + if (bit_flag & MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG) + { + mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_FEATURE); + return MZ_FALSE; + } + + return MZ_TRUE; +} + +mz_bool mz_zip_reader_is_file_a_directory(mz_zip_archive *pZip, mz_uint file_index) +{ + mz_uint filename_len, attribute_mapping_id, external_attr; + const mz_uint8 *p = mz_zip_get_cdh(pZip, file_index); + if (!p) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return MZ_FALSE; + } + + filename_len = MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); + if (filename_len) + { + if (*(p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_len - 1) == '/') + return MZ_TRUE; + } + + /* Bugfix: This code was also checking if the internal attribute was non-zero, which wasn't correct. */ + /* Most/all zip writers (hopefully) set DOS file/directory attributes in the low 16-bits, so check for the DOS directory flag and ignore the source OS ID in the created by field. */ + /* FIXME: Remove this check? Is it necessary - we already check the filename. */ + attribute_mapping_id = MZ_READ_LE16(p + MZ_ZIP_CDH_VERSION_MADE_BY_OFS) >> 8; + (void)attribute_mapping_id; + + external_attr = MZ_READ_LE32(p + MZ_ZIP_CDH_EXTERNAL_ATTR_OFS); + if ((external_attr & MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG) != 0) + { + return MZ_TRUE; + } + + return MZ_FALSE; +} + +static mz_bool mz_zip_file_stat_internal(mz_zip_archive *pZip, mz_uint file_index, const mz_uint8 *pCentral_dir_header, mz_zip_archive_file_stat *pStat, mz_bool *pFound_zip64_extra_data) +{ + mz_uint n; + const mz_uint8 *p = pCentral_dir_header; + + if (pFound_zip64_extra_data) + *pFound_zip64_extra_data = MZ_FALSE; + + if ((!p) || (!pStat)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + /* Extract fields from the central directory record. */ + pStat->m_file_index = file_index; + pStat->m_central_dir_ofs = MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, mz_uint32, file_index); + pStat->m_version_made_by = MZ_READ_LE16(p + MZ_ZIP_CDH_VERSION_MADE_BY_OFS); + pStat->m_version_needed = MZ_READ_LE16(p + MZ_ZIP_CDH_VERSION_NEEDED_OFS); + pStat->m_bit_flag = MZ_READ_LE16(p + MZ_ZIP_CDH_BIT_FLAG_OFS); + pStat->m_method = MZ_READ_LE16(p + MZ_ZIP_CDH_METHOD_OFS); +#ifndef MINIZ_NO_TIME + pStat->m_time = mz_zip_dos_to_time_t(MZ_READ_LE16(p + MZ_ZIP_CDH_FILE_TIME_OFS), MZ_READ_LE16(p + MZ_ZIP_CDH_FILE_DATE_OFS)); +#endif + pStat->m_crc32 = MZ_READ_LE32(p + MZ_ZIP_CDH_CRC32_OFS); + pStat->m_comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); + pStat->m_uncomp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS); + pStat->m_internal_attr = MZ_READ_LE16(p + MZ_ZIP_CDH_INTERNAL_ATTR_OFS); + pStat->m_external_attr = MZ_READ_LE32(p + MZ_ZIP_CDH_EXTERNAL_ATTR_OFS); + pStat->m_local_header_ofs = MZ_READ_LE32(p + MZ_ZIP_CDH_LOCAL_HEADER_OFS); + + /* Copy as much of the filename and comment as possible. */ + n = MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); + n = MZ_MIN(n, MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE - 1); + memcpy(pStat->m_filename, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, n); + pStat->m_filename[n] = '\0'; + + n = MZ_READ_LE16(p + MZ_ZIP_CDH_COMMENT_LEN_OFS); + n = MZ_MIN(n, MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE - 1); + pStat->m_comment_size = n; + memcpy(pStat->m_comment, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS) + MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS), n); + pStat->m_comment[n] = '\0'; + + /* Set some flags for convienance */ + pStat->m_is_directory = mz_zip_reader_is_file_a_directory(pZip, file_index); + pStat->m_is_encrypted = mz_zip_reader_is_file_encrypted(pZip, file_index); + pStat->m_is_supported = mz_zip_reader_is_file_supported(pZip, file_index); + + /* See if we need to read any zip64 extended information fields. */ + /* Confusingly, these zip64 fields can be present even on non-zip64 archives (Debian zip on a huge files from stdin piped to stdout creates them). */ + if (MZ_MAX(MZ_MAX(pStat->m_comp_size, pStat->m_uncomp_size), pStat->m_local_header_ofs) == MZ_UINT32_MAX) + { + /* Attempt to find zip64 extended information field in the entry's extra data */ + mz_uint32 extra_size_remaining = MZ_READ_LE16(p + MZ_ZIP_CDH_EXTRA_LEN_OFS); + + if (extra_size_remaining) + { + const mz_uint8 *pExtra_data = p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); + + do + { + mz_uint32 field_id; + mz_uint32 field_data_size; + + if (extra_size_remaining < (sizeof(mz_uint16) * 2)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + field_id = MZ_READ_LE16(pExtra_data); + field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); + + if ((field_data_size + sizeof(mz_uint16) * 2) > extra_size_remaining) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (field_id == MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) + { + const mz_uint8 *pField_data = pExtra_data + sizeof(mz_uint16) * 2; + mz_uint32 field_data_remaining = field_data_size; + + if (pFound_zip64_extra_data) + *pFound_zip64_extra_data = MZ_TRUE; + + if (pStat->m_uncomp_size == MZ_UINT32_MAX) + { + if (field_data_remaining < sizeof(mz_uint64)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + pStat->m_uncomp_size = MZ_READ_LE64(pField_data); + pField_data += sizeof(mz_uint64); + field_data_remaining -= sizeof(mz_uint64); + } + + if (pStat->m_comp_size == MZ_UINT32_MAX) + { + if (field_data_remaining < sizeof(mz_uint64)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + pStat->m_comp_size = MZ_READ_LE64(pField_data); + pField_data += sizeof(mz_uint64); + field_data_remaining -= sizeof(mz_uint64); + } + + if (pStat->m_local_header_ofs == MZ_UINT32_MAX) + { + if (field_data_remaining < sizeof(mz_uint64)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + pStat->m_local_header_ofs = MZ_READ_LE64(pField_data); + pField_data += sizeof(mz_uint64); + field_data_remaining -= sizeof(mz_uint64); + } + + break; + } + + pExtra_data += sizeof(mz_uint16) * 2 + field_data_size; + extra_size_remaining = extra_size_remaining - sizeof(mz_uint16) * 2 - field_data_size; + } while (extra_size_remaining); + } + } + + return MZ_TRUE; +} + +static MZ_FORCEINLINE mz_bool mz_zip_string_equal(const char *pA, const char *pB, mz_uint len, mz_uint flags) +{ + mz_uint i; + if (flags & MZ_ZIP_FLAG_CASE_SENSITIVE) + return 0 == memcmp(pA, pB, len); + for (i = 0; i < len; ++i) + if (MZ_TOLOWER(pA[i]) != MZ_TOLOWER(pB[i])) + return MZ_FALSE; + return MZ_TRUE; +} + +static MZ_FORCEINLINE int mz_zip_filename_compare(const mz_zip_array *pCentral_dir_array, const mz_zip_array *pCentral_dir_offsets, mz_uint l_index, const char *pR, mz_uint r_len) +{ + const mz_uint8 *pL = &MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_array, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(pCentral_dir_offsets, mz_uint32, l_index)), *pE; + mz_uint l_len = MZ_READ_LE16(pL + MZ_ZIP_CDH_FILENAME_LEN_OFS); + mz_uint8 l = 0, r = 0; + pL += MZ_ZIP_CENTRAL_DIR_HEADER_SIZE; + pE = pL + MZ_MIN(l_len, r_len); + while (pL < pE) + { + if ((l = MZ_TOLOWER(*pL)) != (r = MZ_TOLOWER(*pR))) + break; + pL++; + pR++; + } + return (pL == pE) ? (int)(l_len - r_len) : (l - r); +} + +static mz_bool mz_zip_locate_file_binary_search(mz_zip_archive *pZip, const char *pFilename, mz_uint32 *pIndex) +{ + mz_zip_internal_state *pState = pZip->m_pState; + const mz_zip_array *pCentral_dir_offsets = &pState->m_central_dir_offsets; + const mz_zip_array *pCentral_dir = &pState->m_central_dir; + mz_uint32 *pIndices = &MZ_ZIP_ARRAY_ELEMENT(&pState->m_sorted_central_dir_offsets, mz_uint32, 0); + const uint32_t size = pZip->m_total_files; + const mz_uint filename_len = (mz_uint)strlen(pFilename); + + if (pIndex) + *pIndex = 0; + + if (size) + { + /* yes I could use uint32_t's, but then we would have to add some special case checks in the loop, argh, and */ + /* honestly the major expense here on 32-bit CPU's will still be the filename compare */ + mz_int64 l = 0, h = (mz_int64)size - 1; + + while (l <= h) + { + mz_int64 m = l + ((h - l) >> 1); + uint32_t file_index = pIndices[(uint32_t)m]; + + int comp = mz_zip_filename_compare(pCentral_dir, pCentral_dir_offsets, file_index, pFilename, filename_len); + if (!comp) + { + if (pIndex) + *pIndex = file_index; + return MZ_TRUE; + } + else if (comp < 0) + l = m + 1; + else + h = m - 1; + } + } + + return mz_zip_set_error(pZip, MZ_ZIP_FILE_NOT_FOUND); +} + +int mz_zip_reader_locate_file(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags) +{ + mz_uint32 index; + if (!mz_zip_reader_locate_file_v2(pZip, pName, pComment, flags, &index)) + return -1; + else + return (int)index; +} + +mz_bool mz_zip_reader_locate_file_v2(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *pIndex) +{ + mz_uint file_index; + size_t name_len, comment_len; + + if (pIndex) + *pIndex = 0; + + if ((!pZip) || (!pZip->m_pState) || (!pName)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + /* See if we can use a binary search */ + if (((pZip->m_pState->m_init_flags & MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY) == 0) && + (pZip->m_zip_mode == MZ_ZIP_MODE_READING) && + ((flags & (MZ_ZIP_FLAG_IGNORE_PATH | MZ_ZIP_FLAG_CASE_SENSITIVE)) == 0) && (!pComment) && (pZip->m_pState->m_sorted_central_dir_offsets.m_size)) + { + return mz_zip_locate_file_binary_search(pZip, pName, pIndex); + } + + /* Locate the entry by scanning the entire central directory */ + name_len = strlen(pName); + if (name_len > MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + comment_len = pComment ? strlen(pComment) : 0; + if (comment_len > MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + for (file_index = 0; file_index < pZip->m_total_files; file_index++) + { + const mz_uint8 *pHeader = &MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir, mz_uint8, MZ_ZIP_ARRAY_ELEMENT(&pZip->m_pState->m_central_dir_offsets, mz_uint32, file_index)); + mz_uint filename_len = MZ_READ_LE16(pHeader + MZ_ZIP_CDH_FILENAME_LEN_OFS); + const char *pFilename = (const char *)pHeader + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE; + if (filename_len < name_len) + continue; + if (comment_len) + { + mz_uint file_extra_len = MZ_READ_LE16(pHeader + MZ_ZIP_CDH_EXTRA_LEN_OFS), file_comment_len = MZ_READ_LE16(pHeader + MZ_ZIP_CDH_COMMENT_LEN_OFS); + const char *pFile_comment = pFilename + filename_len + file_extra_len; + if ((file_comment_len != comment_len) || (!mz_zip_string_equal(pComment, pFile_comment, file_comment_len, flags))) + continue; + } + if ((flags & MZ_ZIP_FLAG_IGNORE_PATH) && (filename_len)) + { + int ofs = filename_len - 1; + do + { + if ((pFilename[ofs] == '/') || (pFilename[ofs] == '\\') || (pFilename[ofs] == ':')) + break; + } while (--ofs >= 0); + ofs++; + pFilename += ofs; + filename_len -= ofs; + } + if ((filename_len == name_len) && (mz_zip_string_equal(pName, pFilename, filename_len, flags))) + { + if (pIndex) + *pIndex = file_index; + return MZ_TRUE; + } + } + + return mz_zip_set_error(pZip, MZ_ZIP_FILE_NOT_FOUND); +} + +mz_bool mz_zip_reader_extract_to_mem_no_alloc(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) +{ + int status = TINFL_STATUS_DONE; + mz_uint64 needed_size, cur_file_ofs, comp_remaining, out_buf_ofs = 0, read_buf_size, read_buf_ofs = 0, read_buf_avail; + mz_zip_archive_file_stat file_stat; + void *pRead_buf; + mz_uint32 local_header_u32[(MZ_ZIP_LOCAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pLocal_header = (mz_uint8 *)local_header_u32; + tinfl_decompressor inflator; + + if ((!pZip) || (!pZip->m_pState) || ((buf_size) && (!pBuf)) || ((user_read_buf_size) && (!pUser_read_buf)) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_reader_file_stat(pZip, file_index, &file_stat)) + return MZ_FALSE; + + /* A directory or zero length file */ + if ((file_stat.m_is_directory) || (!file_stat.m_comp_size)) + return MZ_TRUE; + + /* Encryption and patch files are not supported. */ + if (file_stat.m_bit_flag & (MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + + /* This function only supports decompressing stored and deflate. */ + if ((!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (file_stat.m_method != 0) && (file_stat.m_method != MZ_DEFLATED)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_METHOD); + + /* Ensure supplied output buffer is large enough. */ + needed_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? file_stat.m_comp_size : file_stat.m_uncomp_size; + if (buf_size < needed_size) + return mz_zip_set_error(pZip, MZ_ZIP_BUF_TOO_SMALL); + + /* Read and parse the local directory entry. */ + cur_file_ofs = file_stat.m_local_header_ofs; + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + if (MZ_READ_LE32(pLocal_header) != MZ_ZIP_LOCAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + cur_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_FILENAME_LEN_OFS) + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_EXTRA_LEN_OFS); + if ((cur_file_ofs + file_stat.m_comp_size) > pZip->m_archive_size) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if ((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) || (!file_stat.m_method)) + { + /* The file is stored or the caller has requested the compressed data. */ + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pBuf, (size_t)needed_size) != needed_size) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + if ((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) == 0) + { + if (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf, (size_t)file_stat.m_uncomp_size) != file_stat.m_crc32) + return mz_zip_set_error(pZip, MZ_ZIP_CRC_CHECK_FAILED); + } +#endif + + return MZ_TRUE; + } + + /* Decompress the file either directly from memory or from a file input buffer. */ + tinfl_init(&inflator); + + if (pZip->m_pState->m_pMem) + { + /* Read directly from the archive in memory. */ + pRead_buf = (mz_uint8 *)pZip->m_pState->m_pMem + cur_file_ofs; + read_buf_size = read_buf_avail = file_stat.m_comp_size; + comp_remaining = 0; + } + else if (pUser_read_buf) + { + /* Use a user provided read buffer. */ + if (!user_read_buf_size) + return MZ_FALSE; + pRead_buf = (mz_uint8 *)pUser_read_buf; + read_buf_size = user_read_buf_size; + read_buf_avail = 0; + comp_remaining = file_stat.m_comp_size; + } + else + { + /* Temporarily allocate a read buffer. */ + read_buf_size = MZ_MIN(file_stat.m_comp_size, (mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE); + if (((sizeof(size_t) == sizeof(mz_uint32))) && (read_buf_size > 0x7FFFFFFF)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (NULL == (pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)read_buf_size))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + read_buf_avail = 0; + comp_remaining = file_stat.m_comp_size; + } + + do + { + /* The size_t cast here should be OK because we've verified that the output buffer is >= file_stat.m_uncomp_size above */ + size_t in_buf_size, out_buf_size = (size_t)(file_stat.m_uncomp_size - out_buf_ofs); + if ((!read_buf_avail) && (!pZip->m_pState->m_pMem)) + { + read_buf_avail = MZ_MIN(read_buf_size, comp_remaining); + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf, (size_t)read_buf_avail) != read_buf_avail) + { + status = TINFL_STATUS_FAILED; + mz_zip_set_error(pZip, MZ_ZIP_DECOMPRESSION_FAILED); + break; + } + cur_file_ofs += read_buf_avail; + comp_remaining -= read_buf_avail; + read_buf_ofs = 0; + } + in_buf_size = (size_t)read_buf_avail; + status = tinfl_decompress(&inflator, (mz_uint8 *)pRead_buf + read_buf_ofs, &in_buf_size, (mz_uint8 *)pBuf, (mz_uint8 *)pBuf + out_buf_ofs, &out_buf_size, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF | (comp_remaining ? TINFL_FLAG_HAS_MORE_INPUT : 0)); + read_buf_avail -= in_buf_size; + read_buf_ofs += in_buf_size; + out_buf_ofs += out_buf_size; + } while (status == TINFL_STATUS_NEEDS_MORE_INPUT); + + if (status == TINFL_STATUS_DONE) + { + /* Make sure the entire file was decompressed, and check its CRC. */ + if (out_buf_ofs != file_stat.m_uncomp_size) + { + mz_zip_set_error(pZip, MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE); + status = TINFL_STATUS_FAILED; + } +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + else if (mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf, (size_t)file_stat.m_uncomp_size) != file_stat.m_crc32) + { + mz_zip_set_error(pZip, MZ_ZIP_CRC_CHECK_FAILED); + status = TINFL_STATUS_FAILED; + } +#endif + } + + if ((!pZip->m_pState->m_pMem) && (!pUser_read_buf)) + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + + return status == TINFL_STATUS_DONE; +} + +mz_bool mz_zip_reader_extract_file_to_mem_no_alloc(mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) +{ + mz_uint32 file_index; + if (!mz_zip_reader_locate_file_v2(pZip, pFilename, NULL, flags, &file_index)) + return MZ_FALSE; + return mz_zip_reader_extract_to_mem_no_alloc(pZip, file_index, pBuf, buf_size, flags, pUser_read_buf, user_read_buf_size); +} + +mz_bool mz_zip_reader_extract_to_mem(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags) +{ + return mz_zip_reader_extract_to_mem_no_alloc(pZip, file_index, pBuf, buf_size, flags, NULL, 0); +} + +mz_bool mz_zip_reader_extract_file_to_mem(mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags) +{ + return mz_zip_reader_extract_file_to_mem_no_alloc(pZip, pFilename, pBuf, buf_size, flags, NULL, 0); +} + +void *mz_zip_reader_extract_to_heap(mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uint flags) +{ + mz_uint64 comp_size, uncomp_size, alloc_size; + const mz_uint8 *p = mz_zip_get_cdh(pZip, file_index); + void *pBuf; + + if (pSize) + *pSize = 0; + + if (!p) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return NULL; + } + + comp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS); + uncomp_size = MZ_READ_LE32(p + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS); + + alloc_size = (flags & MZ_ZIP_FLAG_COMPRESSED_DATA) ? comp_size : uncomp_size; + if (((sizeof(size_t) == sizeof(mz_uint32))) && (alloc_size > 0x7FFFFFFF)) + { + mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + return NULL; + } + + if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)alloc_size))) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + return NULL; + } + + if (!mz_zip_reader_extract_to_mem(pZip, file_index, pBuf, (size_t)alloc_size, flags)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return NULL; + } + + if (pSize) + *pSize = (size_t)alloc_size; + return pBuf; +} + +void *mz_zip_reader_extract_file_to_heap(mz_zip_archive *pZip, const char *pFilename, size_t *pSize, mz_uint flags) +{ + mz_uint32 file_index; + if (!mz_zip_reader_locate_file_v2(pZip, pFilename, NULL, flags, &file_index)) + { + if (pSize) + *pSize = 0; + return MZ_FALSE; + } + return mz_zip_reader_extract_to_heap(pZip, file_index, pSize, flags); +} + +mz_bool mz_zip_reader_extract_to_callback(mz_zip_archive *pZip, mz_uint file_index, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) +{ + int status = TINFL_STATUS_DONE; + mz_uint file_crc32 = MZ_CRC32_INIT; + mz_uint64 read_buf_size, read_buf_ofs = 0, read_buf_avail, comp_remaining, out_buf_ofs = 0, cur_file_ofs; + mz_zip_archive_file_stat file_stat; + void *pRead_buf = NULL; + void *pWrite_buf = NULL; + mz_uint32 local_header_u32[(MZ_ZIP_LOCAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pLocal_header = (mz_uint8 *)local_header_u32; + + if ((!pZip) || (!pZip->m_pState) || (!pCallback) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_reader_file_stat(pZip, file_index, &file_stat)) + return MZ_FALSE; + + /* A directory or zero length file */ + if ((file_stat.m_is_directory) || (!file_stat.m_comp_size)) + return MZ_TRUE; + + /* Encryption and patch files are not supported. */ + if (file_stat.m_bit_flag & (MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + + /* This function only supports decompressing stored and deflate. */ + if ((!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (file_stat.m_method != 0) && (file_stat.m_method != MZ_DEFLATED)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_METHOD); + + /* Read and do some minimal validation of the local directory entry (this doesn't crack the zip64 stuff, which we already have from the central dir) */ + cur_file_ofs = file_stat.m_local_header_ofs; + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + if (MZ_READ_LE32(pLocal_header) != MZ_ZIP_LOCAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + cur_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_FILENAME_LEN_OFS) + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_EXTRA_LEN_OFS); + if ((cur_file_ofs + file_stat.m_comp_size) > pZip->m_archive_size) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + /* Decompress the file either directly from memory or from a file input buffer. */ + if (pZip->m_pState->m_pMem) + { + pRead_buf = (mz_uint8 *)pZip->m_pState->m_pMem + cur_file_ofs; + read_buf_size = read_buf_avail = file_stat.m_comp_size; + comp_remaining = 0; + } + else + { + read_buf_size = MZ_MIN(file_stat.m_comp_size, (mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE); + if (NULL == (pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)read_buf_size))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + read_buf_avail = 0; + comp_remaining = file_stat.m_comp_size; + } + + if ((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) || (!file_stat.m_method)) + { + /* The file is stored or the caller has requested the compressed data. */ + if (pZip->m_pState->m_pMem) + { + if (((sizeof(size_t) == sizeof(mz_uint32))) && (file_stat.m_comp_size > MZ_UINT32_MAX)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (pCallback(pOpaque, out_buf_ofs, pRead_buf, (size_t)file_stat.m_comp_size) != file_stat.m_comp_size) + { + mz_zip_set_error(pZip, MZ_ZIP_WRITE_CALLBACK_FAILED); + status = TINFL_STATUS_FAILED; + } + else if (!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) + { +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + file_crc32 = (mz_uint32)mz_crc32(file_crc32, (const mz_uint8 *)pRead_buf, (size_t)file_stat.m_comp_size); +#endif + } + + cur_file_ofs += file_stat.m_comp_size; + out_buf_ofs += file_stat.m_comp_size; + comp_remaining = 0; + } + else + { + while (comp_remaining) + { + read_buf_avail = MZ_MIN(read_buf_size, comp_remaining); + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf, (size_t)read_buf_avail) != read_buf_avail) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + status = TINFL_STATUS_FAILED; + break; + } + +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + if (!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) + { + file_crc32 = (mz_uint32)mz_crc32(file_crc32, (const mz_uint8 *)pRead_buf, (size_t)read_buf_avail); + } +#endif + + if (pCallback(pOpaque, out_buf_ofs, pRead_buf, (size_t)read_buf_avail) != read_buf_avail) + { + mz_zip_set_error(pZip, MZ_ZIP_WRITE_CALLBACK_FAILED); + status = TINFL_STATUS_FAILED; + break; + } + + cur_file_ofs += read_buf_avail; + out_buf_ofs += read_buf_avail; + comp_remaining -= read_buf_avail; + } + } + } + else + { + tinfl_decompressor inflator; + tinfl_init(&inflator); + + if (NULL == (pWrite_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, TINFL_LZ_DICT_SIZE))) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + status = TINFL_STATUS_FAILED; + } + else + { + do + { + mz_uint8 *pWrite_buf_cur = (mz_uint8 *)pWrite_buf + (out_buf_ofs & (TINFL_LZ_DICT_SIZE - 1)); + size_t in_buf_size, out_buf_size = TINFL_LZ_DICT_SIZE - (out_buf_ofs & (TINFL_LZ_DICT_SIZE - 1)); + if ((!read_buf_avail) && (!pZip->m_pState->m_pMem)) + { + read_buf_avail = MZ_MIN(read_buf_size, comp_remaining); + if (pZip->m_pRead(pZip->m_pIO_opaque, cur_file_ofs, pRead_buf, (size_t)read_buf_avail) != read_buf_avail) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + status = TINFL_STATUS_FAILED; + break; + } + cur_file_ofs += read_buf_avail; + comp_remaining -= read_buf_avail; + read_buf_ofs = 0; + } + + in_buf_size = (size_t)read_buf_avail; + status = tinfl_decompress(&inflator, (const mz_uint8 *)pRead_buf + read_buf_ofs, &in_buf_size, (mz_uint8 *)pWrite_buf, pWrite_buf_cur, &out_buf_size, comp_remaining ? TINFL_FLAG_HAS_MORE_INPUT : 0); + read_buf_avail -= in_buf_size; + read_buf_ofs += in_buf_size; + + if (out_buf_size) + { + if (pCallback(pOpaque, out_buf_ofs, pWrite_buf_cur, out_buf_size) != out_buf_size) + { + mz_zip_set_error(pZip, MZ_ZIP_WRITE_CALLBACK_FAILED); + status = TINFL_STATUS_FAILED; + break; + } + +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + file_crc32 = (mz_uint32)mz_crc32(file_crc32, pWrite_buf_cur, out_buf_size); +#endif + if ((out_buf_ofs += out_buf_size) > file_stat.m_uncomp_size) + { + mz_zip_set_error(pZip, MZ_ZIP_DECOMPRESSION_FAILED); + status = TINFL_STATUS_FAILED; + break; + } + } + } while ((status == TINFL_STATUS_NEEDS_MORE_INPUT) || (status == TINFL_STATUS_HAS_MORE_OUTPUT)); + } + } + + if ((status == TINFL_STATUS_DONE) && (!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA))) + { + /* Make sure the entire file was decompressed, and check its CRC. */ + if (out_buf_ofs != file_stat.m_uncomp_size) + { + mz_zip_set_error(pZip, MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE); + status = TINFL_STATUS_FAILED; + } +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + else if (file_crc32 != file_stat.m_crc32) + { + mz_zip_set_error(pZip, MZ_ZIP_DECOMPRESSION_FAILED); + status = TINFL_STATUS_FAILED; + } +#endif + } + + if (!pZip->m_pState->m_pMem) + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + + if (pWrite_buf) + pZip->m_pFree(pZip->m_pAlloc_opaque, pWrite_buf); + + return status == TINFL_STATUS_DONE; +} + +mz_bool mz_zip_reader_extract_file_to_callback(mz_zip_archive *pZip, const char *pFilename, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) +{ + mz_uint32 file_index; + if (!mz_zip_reader_locate_file_v2(pZip, pFilename, NULL, flags, &file_index)) + return MZ_FALSE; + + return mz_zip_reader_extract_to_callback(pZip, file_index, pCallback, pOpaque, flags); +} + +mz_zip_reader_extract_iter_state* mz_zip_reader_extract_iter_new(mz_zip_archive *pZip, mz_uint file_index, mz_uint flags) +{ + mz_zip_reader_extract_iter_state *pState; + mz_uint32 local_header_u32[(MZ_ZIP_LOCAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pLocal_header = (mz_uint8 *)local_header_u32; + + /* Argument sanity check */ + if ((!pZip) || (!pZip->m_pState)) + return NULL; + + /* Allocate an iterator status structure */ + pState = (mz_zip_reader_extract_iter_state*)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(mz_zip_reader_extract_iter_state)); + if (!pState) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + return NULL; + } + + /* Fetch file details */ + if (!mz_zip_reader_file_stat(pZip, file_index, &pState->file_stat)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + /* Encryption and patch files are not supported. */ + if (pState->file_stat.m_bit_flag & (MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_IS_ENCRYPTED | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_USES_STRONG_ENCRYPTION | MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_COMPRESSED_PATCH_FLAG)) + { + mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + /* This function only supports decompressing stored and deflate. */ + if ((!(flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (pState->file_stat.m_method != 0) && (pState->file_stat.m_method != MZ_DEFLATED)) + { + mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_METHOD); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + /* Init state - save args */ + pState->pZip = pZip; + pState->flags = flags; + + /* Init state - reset variables to defaults */ + pState->status = TINFL_STATUS_DONE; +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + pState->file_crc32 = MZ_CRC32_INIT; +#endif + pState->read_buf_ofs = 0; + pState->out_buf_ofs = 0; + pState->pRead_buf = NULL; + pState->pWrite_buf = NULL; + pState->out_blk_remain = 0; + + /* Read and parse the local directory entry. */ + pState->cur_file_ofs = pState->file_stat.m_local_header_ofs; + if (pZip->m_pRead(pZip->m_pIO_opaque, pState->cur_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + if (MZ_READ_LE32(pLocal_header) != MZ_ZIP_LOCAL_DIR_HEADER_SIG) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + pState->cur_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_FILENAME_LEN_OFS) + MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_EXTRA_LEN_OFS); + if ((pState->cur_file_ofs + pState->file_stat.m_comp_size) > pZip->m_archive_size) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + + /* Decompress the file either directly from memory or from a file input buffer. */ + if (pZip->m_pState->m_pMem) + { + pState->pRead_buf = (mz_uint8 *)pZip->m_pState->m_pMem + pState->cur_file_ofs; + pState->read_buf_size = pState->read_buf_avail = pState->file_stat.m_comp_size; + pState->comp_remaining = pState->file_stat.m_comp_size; + } + else + { + if (!((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) || (!pState->file_stat.m_method))) + { + /* Decompression required, therefore intermediate read buffer required */ + pState->read_buf_size = MZ_MIN(pState->file_stat.m_comp_size, MZ_ZIP_MAX_IO_BUF_SIZE); + if (NULL == (pState->pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)pState->read_buf_size))) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + } + else + { + /* Decompression not required - we will be reading directly into user buffer, no temp buf required */ + pState->read_buf_size = 0; + } + pState->read_buf_avail = 0; + pState->comp_remaining = pState->file_stat.m_comp_size; + } + + if (!((flags & MZ_ZIP_FLAG_COMPRESSED_DATA) || (!pState->file_stat.m_method))) + { + /* Decompression required, init decompressor */ + tinfl_init( &pState->inflator ); + + /* Allocate write buffer */ + if (NULL == (pState->pWrite_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, TINFL_LZ_DICT_SIZE))) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + if (pState->pRead_buf) + pZip->m_pFree(pZip->m_pAlloc_opaque, pState->pRead_buf); + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + return NULL; + } + } + + return pState; +} + +mz_zip_reader_extract_iter_state* mz_zip_reader_extract_file_iter_new(mz_zip_archive *pZip, const char *pFilename, mz_uint flags) +{ + mz_uint32 file_index; + + /* Locate file index by name */ + if (!mz_zip_reader_locate_file_v2(pZip, pFilename, NULL, flags, &file_index)) + return NULL; + + /* Construct iterator */ + return mz_zip_reader_extract_iter_new(pZip, file_index, flags); +} + +size_t mz_zip_reader_extract_iter_read(mz_zip_reader_extract_iter_state* pState, void* pvBuf, size_t buf_size) +{ + size_t copied_to_caller = 0; + + /* Argument sanity check */ + if ((!pState) || (!pState->pZip) || (!pState->pZip->m_pState) || (!pvBuf)) + return 0; + + if ((pState->flags & MZ_ZIP_FLAG_COMPRESSED_DATA) || (!pState->file_stat.m_method)) + { + /* The file is stored or the caller has requested the compressed data, calc amount to return. */ + copied_to_caller = MZ_MIN( buf_size, pState->comp_remaining ); + + /* Zip is in memory....or requires reading from a file? */ + if (pState->pZip->m_pState->m_pMem) + { + /* Copy data to caller's buffer */ + memcpy( pvBuf, pState->pRead_buf, copied_to_caller ); + pState->pRead_buf = ((mz_uint8*)pState->pRead_buf) + copied_to_caller; + } + else + { + /* Read directly into caller's buffer */ + if (pState->pZip->m_pRead(pState->pZip->m_pIO_opaque, pState->cur_file_ofs, pvBuf, copied_to_caller) != copied_to_caller) + { + /* Failed to read all that was asked for, flag failure and alert user */ + mz_zip_set_error(pState->pZip, MZ_ZIP_FILE_READ_FAILED); + pState->status = TINFL_STATUS_FAILED; + copied_to_caller = 0; + } + } + +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + /* Compute CRC if not returning compressed data only */ + if (!(pState->flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) + pState->file_crc32 = (mz_uint32)mz_crc32(pState->file_crc32, (const mz_uint8 *)pvBuf, copied_to_caller); +#endif + + /* Advance offsets, dec counters */ + pState->cur_file_ofs += copied_to_caller; + pState->out_buf_ofs += copied_to_caller; + pState->comp_remaining -= copied_to_caller; + } + else + { + do + { + /* Calc ptr to write buffer - given current output pos and block size */ + mz_uint8 *pWrite_buf_cur = (mz_uint8 *)pState->pWrite_buf + (pState->out_buf_ofs & (TINFL_LZ_DICT_SIZE - 1)); + + /* Calc max output size - given current output pos and block size */ + size_t in_buf_size, out_buf_size = TINFL_LZ_DICT_SIZE - (pState->out_buf_ofs & (TINFL_LZ_DICT_SIZE - 1)); + + if (!pState->out_blk_remain) + { + /* Read more data from file if none available (and reading from file) */ + if ((!pState->read_buf_avail) && (!pState->pZip->m_pState->m_pMem)) + { + /* Calc read size */ + pState->read_buf_avail = MZ_MIN(pState->read_buf_size, pState->comp_remaining); + if (pState->pZip->m_pRead(pState->pZip->m_pIO_opaque, pState->cur_file_ofs, pState->pRead_buf, (size_t)pState->read_buf_avail) != pState->read_buf_avail) + { + mz_zip_set_error(pState->pZip, MZ_ZIP_FILE_READ_FAILED); + pState->status = TINFL_STATUS_FAILED; + break; + } + + /* Advance offsets, dec counters */ + pState->cur_file_ofs += pState->read_buf_avail; + pState->comp_remaining -= pState->read_buf_avail; + pState->read_buf_ofs = 0; + } + + /* Perform decompression */ + in_buf_size = (size_t)pState->read_buf_avail; + pState->status = tinfl_decompress(&pState->inflator, (const mz_uint8 *)pState->pRead_buf + pState->read_buf_ofs, &in_buf_size, (mz_uint8 *)pState->pWrite_buf, pWrite_buf_cur, &out_buf_size, pState->comp_remaining ? TINFL_FLAG_HAS_MORE_INPUT : 0); + pState->read_buf_avail -= in_buf_size; + pState->read_buf_ofs += in_buf_size; + + /* Update current output block size remaining */ + pState->out_blk_remain = out_buf_size; + } + + if (pState->out_blk_remain) + { + /* Calc amount to return. */ + size_t to_copy = MZ_MIN( (buf_size - copied_to_caller), pState->out_blk_remain ); + + /* Copy data to caller's buffer */ + memcpy( (uint8_t*)pvBuf + copied_to_caller, pWrite_buf_cur, to_copy ); + +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + /* Perform CRC */ + pState->file_crc32 = (mz_uint32)mz_crc32(pState->file_crc32, pWrite_buf_cur, to_copy); +#endif + + /* Decrement data consumed from block */ + pState->out_blk_remain -= to_copy; + + /* Inc output offset, while performing sanity check */ + if ((pState->out_buf_ofs += to_copy) > pState->file_stat.m_uncomp_size) + { + mz_zip_set_error(pState->pZip, MZ_ZIP_DECOMPRESSION_FAILED); + pState->status = TINFL_STATUS_FAILED; + break; + } + + /* Increment counter of data copied to caller */ + copied_to_caller += to_copy; + } + } while ( (copied_to_caller < buf_size) && ((pState->status == TINFL_STATUS_NEEDS_MORE_INPUT) || (pState->status == TINFL_STATUS_HAS_MORE_OUTPUT)) ); + } + + /* Return how many bytes were copied into user buffer */ + return copied_to_caller; +} + +mz_bool mz_zip_reader_extract_iter_free(mz_zip_reader_extract_iter_state* pState) +{ + int status; + + /* Argument sanity check */ + if ((!pState) || (!pState->pZip) || (!pState->pZip->m_pState)) + return MZ_FALSE; + + /* Was decompression completed and requested? */ + if ((pState->status == TINFL_STATUS_DONE) && (!(pState->flags & MZ_ZIP_FLAG_COMPRESSED_DATA))) + { + /* Make sure the entire file was decompressed, and check its CRC. */ + if (pState->out_buf_ofs != pState->file_stat.m_uncomp_size) + { + mz_zip_set_error(pState->pZip, MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE); + pState->status = TINFL_STATUS_FAILED; + } +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + else if (pState->file_crc32 != pState->file_stat.m_crc32) + { + mz_zip_set_error(pState->pZip, MZ_ZIP_DECOMPRESSION_FAILED); + pState->status = TINFL_STATUS_FAILED; + } +#endif + } + + /* Free buffers */ + if (!pState->pZip->m_pState->m_pMem) + pState->pZip->m_pFree(pState->pZip->m_pAlloc_opaque, pState->pRead_buf); + if (pState->pWrite_buf) + pState->pZip->m_pFree(pState->pZip->m_pAlloc_opaque, pState->pWrite_buf); + + /* Save status */ + status = pState->status; + + /* Free context */ + pState->pZip->m_pFree(pState->pZip->m_pAlloc_opaque, pState); + + return status == TINFL_STATUS_DONE; +} + +#ifndef MINIZ_NO_STDIO +static size_t mz_zip_file_write_callback(void *pOpaque, mz_uint64 ofs, const void *pBuf, size_t n) +{ + (void)ofs; + + return MZ_FWRITE(pBuf, 1, n, (MZ_FILE *)pOpaque); +} + +mz_bool mz_zip_reader_extract_to_file(mz_zip_archive *pZip, mz_uint file_index, const char *pDst_filename, mz_uint flags) +{ + mz_bool status; + mz_zip_archive_file_stat file_stat; + MZ_FILE *pFile; + + if (!mz_zip_reader_file_stat(pZip, file_index, &file_stat)) + return MZ_FALSE; + + if ((file_stat.m_is_directory) || (!file_stat.m_is_supported)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_FEATURE); + + pFile = MZ_FOPEN(pDst_filename, "wb"); + if (!pFile) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + + status = mz_zip_reader_extract_to_callback(pZip, file_index, mz_zip_file_write_callback, pFile, flags); + + if (MZ_FCLOSE(pFile) == EOF) + { + if (status) + mz_zip_set_error(pZip, MZ_ZIP_FILE_CLOSE_FAILED); + + status = MZ_FALSE; + } + +#if !defined(MINIZ_NO_TIME) && !defined(MINIZ_NO_STDIO) + if (status) + mz_zip_set_file_times(pDst_filename, file_stat.m_time, file_stat.m_time); +#endif + + return status; +} + +mz_bool mz_zip_reader_extract_file_to_file(mz_zip_archive *pZip, const char *pArchive_filename, const char *pDst_filename, mz_uint flags) +{ + mz_uint32 file_index; + if (!mz_zip_reader_locate_file_v2(pZip, pArchive_filename, NULL, flags, &file_index)) + return MZ_FALSE; + + return mz_zip_reader_extract_to_file(pZip, file_index, pDst_filename, flags); +} + +mz_bool mz_zip_reader_extract_to_cfile(mz_zip_archive *pZip, mz_uint file_index, MZ_FILE *pFile, mz_uint flags) +{ + mz_zip_archive_file_stat file_stat; + + if (!mz_zip_reader_file_stat(pZip, file_index, &file_stat)) + return MZ_FALSE; + + if ((file_stat.m_is_directory) || (!file_stat.m_is_supported)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_FEATURE); + + return mz_zip_reader_extract_to_callback(pZip, file_index, mz_zip_file_write_callback, pFile, flags); +} + +mz_bool mz_zip_reader_extract_file_to_cfile(mz_zip_archive *pZip, const char *pArchive_filename, MZ_FILE *pFile, mz_uint flags) +{ + mz_uint32 file_index; + if (!mz_zip_reader_locate_file_v2(pZip, pArchive_filename, NULL, flags, &file_index)) + return MZ_FALSE; + + return mz_zip_reader_extract_to_cfile(pZip, file_index, pFile, flags); +} +#endif /* #ifndef MINIZ_NO_STDIO */ + +static size_t mz_zip_compute_crc32_callback(void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) +{ + mz_uint32 *p = (mz_uint32 *)pOpaque; + (void)file_ofs; + *p = (mz_uint32)mz_crc32(*p, (const mz_uint8 *)pBuf, n); + return n; +} + +mz_bool mz_zip_validate_file(mz_zip_archive *pZip, mz_uint file_index, mz_uint flags) +{ + mz_zip_archive_file_stat file_stat; + mz_zip_internal_state *pState; + const mz_uint8 *pCentral_dir_header; + mz_bool found_zip64_ext_data_in_cdir = MZ_FALSE; + mz_bool found_zip64_ext_data_in_ldir = MZ_FALSE; + mz_uint32 local_header_u32[(MZ_ZIP_LOCAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pLocal_header = (mz_uint8 *)local_header_u32; + mz_uint64 local_header_ofs = 0; + mz_uint32 local_header_filename_len, local_header_extra_len, local_header_crc32; + mz_uint64 local_header_comp_size, local_header_uncomp_size; + mz_uint32 uncomp_crc32 = MZ_CRC32_INIT; + mz_bool has_data_descriptor; + mz_uint32 local_header_bit_flags; + + mz_zip_array file_data_array; + mz_zip_array_init(&file_data_array, 1); + + if ((!pZip) || (!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (file_index > pZip->m_total_files) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + pCentral_dir_header = mz_zip_get_cdh(pZip, file_index); + + if (!mz_zip_file_stat_internal(pZip, file_index, pCentral_dir_header, &file_stat, &found_zip64_ext_data_in_cdir)) + return MZ_FALSE; + + /* A directory or zero length file */ + if ((file_stat.m_is_directory) || (!file_stat.m_uncomp_size)) + return MZ_TRUE; + + /* Encryption and patch files are not supported. */ + if (file_stat.m_is_encrypted) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_ENCRYPTION); + + /* This function only supports stored and deflate. */ + if ((file_stat.m_method != 0) && (file_stat.m_method != MZ_DEFLATED)) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_METHOD); + + if (!file_stat.m_is_supported) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_FEATURE); + + /* Read and parse the local directory entry. */ + local_header_ofs = file_stat.m_local_header_ofs; + if (pZip->m_pRead(pZip->m_pIO_opaque, local_header_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + if (MZ_READ_LE32(pLocal_header) != MZ_ZIP_LOCAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + local_header_filename_len = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_FILENAME_LEN_OFS); + local_header_extra_len = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_EXTRA_LEN_OFS); + local_header_comp_size = MZ_READ_LE32(pLocal_header + MZ_ZIP_LDH_COMPRESSED_SIZE_OFS); + local_header_uncomp_size = MZ_READ_LE32(pLocal_header + MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS); + local_header_crc32 = MZ_READ_LE32(pLocal_header + MZ_ZIP_LDH_CRC32_OFS); + local_header_bit_flags = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_BIT_FLAG_OFS); + has_data_descriptor = (local_header_bit_flags & 8) != 0; + + if (local_header_filename_len != strlen(file_stat.m_filename)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if ((local_header_ofs + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + local_header_filename_len + local_header_extra_len + file_stat.m_comp_size) > pZip->m_archive_size) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (!mz_zip_array_resize(pZip, &file_data_array, MZ_MAX(local_header_filename_len, local_header_extra_len), MZ_FALSE)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + if (local_header_filename_len) + { + if (pZip->m_pRead(pZip->m_pIO_opaque, local_header_ofs + MZ_ZIP_LOCAL_DIR_HEADER_SIZE, file_data_array.m_p, local_header_filename_len) != local_header_filename_len) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + goto handle_failure; + } + + /* I've seen 1 archive that had the same pathname, but used backslashes in the local dir and forward slashes in the central dir. Do we care about this? For now, this case will fail validation. */ + if (memcmp(file_stat.m_filename, file_data_array.m_p, local_header_filename_len) != 0) + { + mz_zip_set_error(pZip, MZ_ZIP_VALIDATION_FAILED); + goto handle_failure; + } + } + + if ((local_header_extra_len) && ((local_header_comp_size == MZ_UINT32_MAX) || (local_header_uncomp_size == MZ_UINT32_MAX))) + { + mz_uint32 extra_size_remaining = local_header_extra_len; + const mz_uint8 *pExtra_data = (const mz_uint8 *)file_data_array.m_p; + + if (pZip->m_pRead(pZip->m_pIO_opaque, local_header_ofs + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + local_header_filename_len, file_data_array.m_p, local_header_extra_len) != local_header_extra_len) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + goto handle_failure; + } + + do + { + mz_uint32 field_id, field_data_size, field_total_size; + + if (extra_size_remaining < (sizeof(mz_uint16) * 2)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + field_id = MZ_READ_LE16(pExtra_data); + field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); + field_total_size = field_data_size + sizeof(mz_uint16) * 2; + + if (field_total_size > extra_size_remaining) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (field_id == MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) + { + const mz_uint8 *pSrc_field_data = pExtra_data + sizeof(mz_uint32); + + if (field_data_size < sizeof(mz_uint64) * 2) + { + mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + goto handle_failure; + } + + local_header_uncomp_size = MZ_READ_LE64(pSrc_field_data); + local_header_comp_size = MZ_READ_LE64(pSrc_field_data + sizeof(mz_uint64)); + + found_zip64_ext_data_in_ldir = MZ_TRUE; + break; + } + + pExtra_data += field_total_size; + extra_size_remaining -= field_total_size; + } while (extra_size_remaining); + } + + /* TODO: parse local header extra data when local_header_comp_size is 0xFFFFFFFF! (big_descriptor.zip) */ + /* I've seen zips in the wild with the data descriptor bit set, but proper local header values and bogus data descriptors */ + if ((has_data_descriptor) && (!local_header_comp_size) && (!local_header_crc32)) + { + mz_uint8 descriptor_buf[32]; + mz_bool has_id; + const mz_uint8 *pSrc; + mz_uint32 file_crc32; + mz_uint64 comp_size = 0, uncomp_size = 0; + + mz_uint32 num_descriptor_uint32s = ((pState->m_zip64) || (found_zip64_ext_data_in_ldir)) ? 6 : 4; + + if (pZip->m_pRead(pZip->m_pIO_opaque, local_header_ofs + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + local_header_filename_len + local_header_extra_len + file_stat.m_comp_size, descriptor_buf, sizeof(mz_uint32) * num_descriptor_uint32s) != (sizeof(mz_uint32) * num_descriptor_uint32s)) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + goto handle_failure; + } + + has_id = (MZ_READ_LE32(descriptor_buf) == MZ_ZIP_DATA_DESCRIPTOR_ID); + pSrc = has_id ? (descriptor_buf + sizeof(mz_uint32)) : descriptor_buf; + + file_crc32 = MZ_READ_LE32(pSrc); + + if ((pState->m_zip64) || (found_zip64_ext_data_in_ldir)) + { + comp_size = MZ_READ_LE64(pSrc + sizeof(mz_uint32)); + uncomp_size = MZ_READ_LE64(pSrc + sizeof(mz_uint32) + sizeof(mz_uint64)); + } + else + { + comp_size = MZ_READ_LE32(pSrc + sizeof(mz_uint32)); + uncomp_size = MZ_READ_LE32(pSrc + sizeof(mz_uint32) + sizeof(mz_uint32)); + } + + if ((file_crc32 != file_stat.m_crc32) || (comp_size != file_stat.m_comp_size) || (uncomp_size != file_stat.m_uncomp_size)) + { + mz_zip_set_error(pZip, MZ_ZIP_VALIDATION_FAILED); + goto handle_failure; + } + } + else + { + if ((local_header_crc32 != file_stat.m_crc32) || (local_header_comp_size != file_stat.m_comp_size) || (local_header_uncomp_size != file_stat.m_uncomp_size)) + { + mz_zip_set_error(pZip, MZ_ZIP_VALIDATION_FAILED); + goto handle_failure; + } + } + + mz_zip_array_clear(pZip, &file_data_array); + + if ((flags & MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY) == 0) + { + if (!mz_zip_reader_extract_to_callback(pZip, file_index, mz_zip_compute_crc32_callback, &uncomp_crc32, 0)) + return MZ_FALSE; + + /* 1 more check to be sure, although the extract checks too. */ + if (uncomp_crc32 != file_stat.m_crc32) + { + mz_zip_set_error(pZip, MZ_ZIP_VALIDATION_FAILED); + return MZ_FALSE; + } + } + + return MZ_TRUE; + +handle_failure: + mz_zip_array_clear(pZip, &file_data_array); + return MZ_FALSE; +} + +mz_bool mz_zip_validate_archive(mz_zip_archive *pZip, mz_uint flags) +{ + mz_zip_internal_state *pState; + uint32_t i; + + if ((!pZip) || (!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + /* Basic sanity checks */ + if (!pState->m_zip64) + { + if (pZip->m_total_files > MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + if (pZip->m_archive_size > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + } + else + { + if (pZip->m_total_files >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + if (pState->m_central_dir.m_size >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + } + + for (i = 0; i < pZip->m_total_files; i++) + { + if (MZ_ZIP_FLAG_VALIDATE_LOCATE_FILE_FLAG & flags) + { + mz_uint32 found_index; + mz_zip_archive_file_stat stat; + + if (!mz_zip_reader_file_stat(pZip, i, &stat)) + return MZ_FALSE; + + if (!mz_zip_reader_locate_file_v2(pZip, stat.m_filename, NULL, 0, &found_index)) + return MZ_FALSE; + + /* This check can fail if there are duplicate filenames in the archive (which we don't check for when writing - that's up to the user) */ + if (found_index != i) + return mz_zip_set_error(pZip, MZ_ZIP_VALIDATION_FAILED); + } + + if (!mz_zip_validate_file(pZip, i, flags)) + return MZ_FALSE; + } + + return MZ_TRUE; +} + +mz_bool mz_zip_validate_mem_archive(const void *pMem, size_t size, mz_uint flags, mz_zip_error *pErr) +{ + mz_bool success = MZ_TRUE; + mz_zip_archive zip; + mz_zip_error actual_err = MZ_ZIP_NO_ERROR; + + if ((!pMem) || (!size)) + { + if (pErr) + *pErr = MZ_ZIP_INVALID_PARAMETER; + return MZ_FALSE; + } + + mz_zip_zero_struct(&zip); + + if (!mz_zip_reader_init_mem(&zip, pMem, size, flags)) + { + if (pErr) + *pErr = zip.m_last_error; + return MZ_FALSE; + } + + if (!mz_zip_validate_archive(&zip, flags)) + { + actual_err = zip.m_last_error; + success = MZ_FALSE; + } + + if (!mz_zip_reader_end_internal(&zip, success)) + { + if (!actual_err) + actual_err = zip.m_last_error; + success = MZ_FALSE; + } + + if (pErr) + *pErr = actual_err; + + return success; +} + +#ifndef MINIZ_NO_STDIO +mz_bool mz_zip_validate_file_archive(const char *pFilename, mz_uint flags, mz_zip_error *pErr) +{ + mz_bool success = MZ_TRUE; + mz_zip_archive zip; + mz_zip_error actual_err = MZ_ZIP_NO_ERROR; + + if (!pFilename) + { + if (pErr) + *pErr = MZ_ZIP_INVALID_PARAMETER; + return MZ_FALSE; + } + + mz_zip_zero_struct(&zip); + + if (!mz_zip_reader_init_file_v2(&zip, pFilename, flags, 0, 0)) + { + if (pErr) + *pErr = zip.m_last_error; + return MZ_FALSE; + } + + if (!mz_zip_validate_archive(&zip, flags)) + { + actual_err = zip.m_last_error; + success = MZ_FALSE; + } + + if (!mz_zip_reader_end_internal(&zip, success)) + { + if (!actual_err) + actual_err = zip.m_last_error; + success = MZ_FALSE; + } + + if (pErr) + *pErr = actual_err; + + return success; +} +#endif /* #ifndef MINIZ_NO_STDIO */ + +/* ------------------- .ZIP archive writing */ + +#ifndef MINIZ_NO_ARCHIVE_WRITING_APIS + +static MZ_FORCEINLINE void mz_write_le16(mz_uint8 *p, mz_uint16 v) +{ + p[0] = (mz_uint8)v; + p[1] = (mz_uint8)(v >> 8); +} +static MZ_FORCEINLINE void mz_write_le32(mz_uint8 *p, mz_uint32 v) +{ + p[0] = (mz_uint8)v; + p[1] = (mz_uint8)(v >> 8); + p[2] = (mz_uint8)(v >> 16); + p[3] = (mz_uint8)(v >> 24); +} +static MZ_FORCEINLINE void mz_write_le64(mz_uint8 *p, mz_uint64 v) +{ + mz_write_le32(p, (mz_uint32)v); + mz_write_le32(p + sizeof(mz_uint32), (mz_uint32)(v >> 32)); +} + +#define MZ_WRITE_LE16(p, v) mz_write_le16((mz_uint8 *)(p), (mz_uint16)(v)) +#define MZ_WRITE_LE32(p, v) mz_write_le32((mz_uint8 *)(p), (mz_uint32)(v)) +#define MZ_WRITE_LE64(p, v) mz_write_le64((mz_uint8 *)(p), (mz_uint64)(v)) + +static size_t mz_zip_heap_write_func(void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) +{ + mz_zip_archive *pZip = (mz_zip_archive *)pOpaque; + mz_zip_internal_state *pState = pZip->m_pState; + mz_uint64 new_size = MZ_MAX(file_ofs + n, pState->m_mem_size); + + if (!n) + return 0; + + /* An allocation this big is likely to just fail on 32-bit systems, so don't even go there. */ + if ((sizeof(size_t) == sizeof(mz_uint32)) && (new_size > 0x7FFFFFFF)) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_TOO_LARGE); + return 0; + } + + if (new_size > pState->m_mem_capacity) + { + void *pNew_block; + size_t new_capacity = MZ_MAX(64, pState->m_mem_capacity); + + while (new_capacity < new_size) + new_capacity *= 2; + + if (NULL == (pNew_block = pZip->m_pRealloc(pZip->m_pAlloc_opaque, pState->m_pMem, 1, new_capacity))) + { + mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + return 0; + } + + pState->m_pMem = pNew_block; + pState->m_mem_capacity = new_capacity; + } + memcpy((mz_uint8 *)pState->m_pMem + file_ofs, pBuf, n); + pState->m_mem_size = (size_t)new_size; + return n; +} + +static mz_bool mz_zip_writer_end_internal(mz_zip_archive *pZip, mz_bool set_last_error) +{ + mz_zip_internal_state *pState; + mz_bool status = MZ_TRUE; + + if ((!pZip) || (!pZip->m_pState) || (!pZip->m_pAlloc) || (!pZip->m_pFree) || ((pZip->m_zip_mode != MZ_ZIP_MODE_WRITING) && (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED))) + { + if (set_last_error) + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return MZ_FALSE; + } + + pState = pZip->m_pState; + pZip->m_pState = NULL; + mz_zip_array_clear(pZip, &pState->m_central_dir); + mz_zip_array_clear(pZip, &pState->m_central_dir_offsets); + mz_zip_array_clear(pZip, &pState->m_sorted_central_dir_offsets); + +#ifndef MINIZ_NO_STDIO + if (pState->m_pFile) + { + if (pZip->m_zip_type == MZ_ZIP_TYPE_FILE) + { + if (MZ_FCLOSE(pState->m_pFile) == EOF) + { + if (set_last_error) + mz_zip_set_error(pZip, MZ_ZIP_FILE_CLOSE_FAILED); + status = MZ_FALSE; + } + } + + pState->m_pFile = NULL; + } +#endif /* #ifndef MINIZ_NO_STDIO */ + + if ((pZip->m_pWrite == mz_zip_heap_write_func) && (pState->m_pMem)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pState->m_pMem); + pState->m_pMem = NULL; + } + + pZip->m_pFree(pZip->m_pAlloc_opaque, pState); + pZip->m_zip_mode = MZ_ZIP_MODE_INVALID; + return status; +} + +mz_bool mz_zip_writer_init_v2(mz_zip_archive *pZip, mz_uint64 existing_size, mz_uint flags) +{ + mz_bool zip64 = (flags & MZ_ZIP_FLAG_WRITE_ZIP64) != 0; + + if ((!pZip) || (pZip->m_pState) || (!pZip->m_pWrite) || (pZip->m_zip_mode != MZ_ZIP_MODE_INVALID)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (flags & MZ_ZIP_FLAG_WRITE_ALLOW_READING) + { + if (!pZip->m_pRead) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + } + + if (pZip->m_file_offset_alignment) + { + /* Ensure user specified file offset alignment is a power of 2. */ + if (pZip->m_file_offset_alignment & (pZip->m_file_offset_alignment - 1)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + } + + if (!pZip->m_pAlloc) + pZip->m_pAlloc = miniz_def_alloc_func; + if (!pZip->m_pFree) + pZip->m_pFree = miniz_def_free_func; + if (!pZip->m_pRealloc) + pZip->m_pRealloc = miniz_def_realloc_func; + + pZip->m_archive_size = existing_size; + pZip->m_central_directory_file_ofs = 0; + pZip->m_total_files = 0; + + if (NULL == (pZip->m_pState = (mz_zip_internal_state *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(mz_zip_internal_state)))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + memset(pZip->m_pState, 0, sizeof(mz_zip_internal_state)); + + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir, sizeof(mz_uint8)); + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_central_dir_offsets, sizeof(mz_uint32)); + MZ_ZIP_ARRAY_SET_ELEMENT_SIZE(&pZip->m_pState->m_sorted_central_dir_offsets, sizeof(mz_uint32)); + + pZip->m_pState->m_zip64 = zip64; + pZip->m_pState->m_zip64_has_extended_info_fields = zip64; + + pZip->m_zip_type = MZ_ZIP_TYPE_USER; + pZip->m_zip_mode = MZ_ZIP_MODE_WRITING; + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_init(mz_zip_archive *pZip, mz_uint64 existing_size) +{ + return mz_zip_writer_init_v2(pZip, existing_size, 0); +} + +mz_bool mz_zip_writer_init_heap_v2(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size, mz_uint flags) +{ + pZip->m_pWrite = mz_zip_heap_write_func; + pZip->m_pNeeds_keepalive = NULL; + + if (flags & MZ_ZIP_FLAG_WRITE_ALLOW_READING) + pZip->m_pRead = mz_zip_mem_read_func; + + pZip->m_pIO_opaque = pZip; + + if (!mz_zip_writer_init_v2(pZip, size_to_reserve_at_beginning, flags)) + return MZ_FALSE; + + pZip->m_zip_type = MZ_ZIP_TYPE_HEAP; + + if (0 != (initial_allocation_size = MZ_MAX(initial_allocation_size, size_to_reserve_at_beginning))) + { + if (NULL == (pZip->m_pState->m_pMem = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, initial_allocation_size))) + { + mz_zip_writer_end_internal(pZip, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + pZip->m_pState->m_mem_capacity = initial_allocation_size; + } + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_init_heap(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size) +{ + return mz_zip_writer_init_heap_v2(pZip, size_to_reserve_at_beginning, initial_allocation_size, 0); +} + +#ifndef MINIZ_NO_STDIO +static size_t mz_zip_file_write_func(void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) +{ + mz_zip_archive *pZip = (mz_zip_archive *)pOpaque; + mz_int64 cur_ofs = MZ_FTELL64(pZip->m_pState->m_pFile); + + file_ofs += pZip->m_pState->m_file_archive_start_ofs; + + if (((mz_int64)file_ofs < 0) || (((cur_ofs != (mz_int64)file_ofs)) && (MZ_FSEEK64(pZip->m_pState->m_pFile, (mz_int64)file_ofs, SEEK_SET)))) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_SEEK_FAILED); + return 0; + } + + return MZ_FWRITE(pBuf, 1, n, pZip->m_pState->m_pFile); +} + +mz_bool mz_zip_writer_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning) +{ + return mz_zip_writer_init_file_v2(pZip, pFilename, size_to_reserve_at_beginning, 0); +} + +mz_bool mz_zip_writer_init_file_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning, mz_uint flags) +{ + MZ_FILE *pFile; + + pZip->m_pWrite = mz_zip_file_write_func; + pZip->m_pNeeds_keepalive = NULL; + + if (flags & MZ_ZIP_FLAG_WRITE_ALLOW_READING) + pZip->m_pRead = mz_zip_file_read_func; + + pZip->m_pIO_opaque = pZip; + + if (!mz_zip_writer_init_v2(pZip, size_to_reserve_at_beginning, flags)) + return MZ_FALSE; + + if (NULL == (pFile = MZ_FOPEN(pFilename, (flags & MZ_ZIP_FLAG_WRITE_ALLOW_READING) ? "w+b" : "wb"))) + { + mz_zip_writer_end(pZip); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + } + + pZip->m_pState->m_pFile = pFile; + pZip->m_zip_type = MZ_ZIP_TYPE_FILE; + + if (size_to_reserve_at_beginning) + { + mz_uint64 cur_ofs = 0; + char buf[4096]; + + MZ_CLEAR_OBJ(buf); + + do + { + size_t n = (size_t)MZ_MIN(sizeof(buf), size_to_reserve_at_beginning); + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_ofs, buf, n) != n) + { + mz_zip_writer_end(pZip); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + cur_ofs += n; + size_to_reserve_at_beginning -= n; + } while (size_to_reserve_at_beginning); + } + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_init_cfile(mz_zip_archive *pZip, MZ_FILE *pFile, mz_uint flags) +{ + pZip->m_pWrite = mz_zip_file_write_func; + pZip->m_pNeeds_keepalive = NULL; + + if (flags & MZ_ZIP_FLAG_WRITE_ALLOW_READING) + pZip->m_pRead = mz_zip_file_read_func; + + pZip->m_pIO_opaque = pZip; + + if (!mz_zip_writer_init_v2(pZip, 0, flags)) + return MZ_FALSE; + + pZip->m_pState->m_pFile = pFile; + pZip->m_pState->m_file_archive_start_ofs = MZ_FTELL64(pZip->m_pState->m_pFile); + pZip->m_zip_type = MZ_ZIP_TYPE_CFILE; + + return MZ_TRUE; +} +#endif /* #ifndef MINIZ_NO_STDIO */ + +mz_bool mz_zip_writer_init_from_reader_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint flags) +{ + mz_zip_internal_state *pState; + + if ((!pZip) || (!pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_READING)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (flags & MZ_ZIP_FLAG_WRITE_ZIP64) + { + /* We don't support converting a non-zip64 file to zip64 - this seems like more trouble than it's worth. (What about the existing 32-bit data descriptors that could follow the compressed data?) */ + if (!pZip->m_pState->m_zip64) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + } + + /* No sense in trying to write to an archive that's already at the support max size */ + if (pZip->m_pState->m_zip64) + { + if (pZip->m_total_files == MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + else + { + if (pZip->m_total_files == MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + + if ((pZip->m_archive_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + MZ_ZIP_LOCAL_DIR_HEADER_SIZE) > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_TOO_LARGE); + } + + pState = pZip->m_pState; + + if (pState->m_pFile) + { +#ifdef MINIZ_NO_STDIO + (void)pFilename; + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); +#else + if (pZip->m_pIO_opaque != pZip) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (pZip->m_zip_type == MZ_ZIP_TYPE_FILE) + { + if (!pFilename) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + /* Archive is being read from stdio and was originally opened only for reading. Try to reopen as writable. */ + if (NULL == (pState->m_pFile = MZ_FREOPEN(pFilename, "r+b", pState->m_pFile))) + { + /* The mz_zip_archive is now in a bogus state because pState->m_pFile is NULL, so just close it. */ + mz_zip_reader_end_internal(pZip, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + } + } + + pZip->m_pWrite = mz_zip_file_write_func; + pZip->m_pNeeds_keepalive = NULL; +#endif /* #ifdef MINIZ_NO_STDIO */ + } + else if (pState->m_pMem) + { + /* Archive lives in a memory block. Assume it's from the heap that we can resize using the realloc callback. */ + if (pZip->m_pIO_opaque != pZip) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState->m_mem_capacity = pState->m_mem_size; + pZip->m_pWrite = mz_zip_heap_write_func; + pZip->m_pNeeds_keepalive = NULL; + } + /* Archive is being read via a user provided read function - make sure the user has specified a write function too. */ + else if (!pZip->m_pWrite) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + /* Start writing new files at the archive's current central directory location. */ + /* TODO: We could add a flag that lets the user start writing immediately AFTER the existing central dir - this would be safer. */ + pZip->m_archive_size = pZip->m_central_directory_file_ofs; + pZip->m_central_directory_file_ofs = 0; + + /* Clear the sorted central dir offsets, they aren't useful or maintained now. */ + /* Even though we're now in write mode, files can still be extracted and verified, but file locates will be slow. */ + /* TODO: We could easily maintain the sorted central directory offsets. */ + mz_zip_array_clear(pZip, &pZip->m_pState->m_sorted_central_dir_offsets); + + pZip->m_zip_mode = MZ_ZIP_MODE_WRITING; + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_init_from_reader(mz_zip_archive *pZip, const char *pFilename) +{ + return mz_zip_writer_init_from_reader_v2(pZip, pFilename, 0); +} + +/* TODO: pArchive_name is a terrible name here! */ +mz_bool mz_zip_writer_add_mem(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, mz_uint level_and_flags) +{ + return mz_zip_writer_add_mem_ex(pZip, pArchive_name, pBuf, buf_size, NULL, 0, level_and_flags, 0, 0); +} + +typedef struct +{ + mz_zip_archive *m_pZip; + mz_uint64 m_cur_archive_file_ofs; + mz_uint64 m_comp_size; +} mz_zip_writer_add_state; + +static mz_bool mz_zip_writer_add_put_buf_callback(const void *pBuf, int len, void *pUser) +{ + mz_zip_writer_add_state *pState = (mz_zip_writer_add_state *)pUser; + if ((int)pState->m_pZip->m_pWrite(pState->m_pZip->m_pIO_opaque, pState->m_cur_archive_file_ofs, pBuf, len) != len) + return MZ_FALSE; + + pState->m_cur_archive_file_ofs += len; + pState->m_comp_size += len; + return MZ_TRUE; +} + +#define MZ_ZIP64_MAX_LOCAL_EXTRA_FIELD_SIZE (sizeof(mz_uint16) * 2 + sizeof(mz_uint64) * 2) +#define MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE (sizeof(mz_uint16) * 2 + sizeof(mz_uint64) * 3) +static mz_uint32 mz_zip_writer_create_zip64_extra_data(mz_uint8 *pBuf, mz_uint64 *pUncomp_size, mz_uint64 *pComp_size, mz_uint64 *pLocal_header_ofs) +{ + mz_uint8 *pDst = pBuf; + mz_uint32 field_size = 0; + + MZ_WRITE_LE16(pDst + 0, MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID); + MZ_WRITE_LE16(pDst + 2, 0); + pDst += sizeof(mz_uint16) * 2; + + if (pUncomp_size) + { + MZ_WRITE_LE64(pDst, *pUncomp_size); + pDst += sizeof(mz_uint64); + field_size += sizeof(mz_uint64); + } + + if (pComp_size) + { + MZ_WRITE_LE64(pDst, *pComp_size); + pDst += sizeof(mz_uint64); + field_size += sizeof(mz_uint64); + } + + if (pLocal_header_ofs) + { + MZ_WRITE_LE64(pDst, *pLocal_header_ofs); + pDst += sizeof(mz_uint64); + field_size += sizeof(mz_uint64); + } + + MZ_WRITE_LE16(pBuf + 2, field_size); + + return (mz_uint32)(pDst - pBuf); +} + +static mz_bool mz_zip_writer_create_local_dir_header(mz_zip_archive *pZip, mz_uint8 *pDst, mz_uint16 filename_size, mz_uint16 extra_size, mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date) +{ + (void)pZip; + memset(pDst, 0, MZ_ZIP_LOCAL_DIR_HEADER_SIZE); + MZ_WRITE_LE32(pDst + MZ_ZIP_LDH_SIG_OFS, MZ_ZIP_LOCAL_DIR_HEADER_SIG); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_VERSION_NEEDED_OFS, method ? 20 : 0); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_BIT_FLAG_OFS, bit_flags); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_METHOD_OFS, method); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_TIME_OFS, dos_time); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILE_DATE_OFS, dos_date); + MZ_WRITE_LE32(pDst + MZ_ZIP_LDH_CRC32_OFS, uncomp_crc32); + MZ_WRITE_LE32(pDst + MZ_ZIP_LDH_COMPRESSED_SIZE_OFS, MZ_MIN(comp_size, MZ_UINT32_MAX)); + MZ_WRITE_LE32(pDst + MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS, MZ_MIN(uncomp_size, MZ_UINT32_MAX)); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_FILENAME_LEN_OFS, filename_size); + MZ_WRITE_LE16(pDst + MZ_ZIP_LDH_EXTRA_LEN_OFS, extra_size); + return MZ_TRUE; +} + +static mz_bool mz_zip_writer_create_central_dir_header(mz_zip_archive *pZip, mz_uint8 *pDst, + mz_uint16 filename_size, mz_uint16 extra_size, mz_uint16 comment_size, + mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, + mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, + mz_uint64 local_header_ofs, mz_uint32 ext_attributes) +{ + (void)pZip; + memset(pDst, 0, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_SIG_OFS, MZ_ZIP_CENTRAL_DIR_HEADER_SIG); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_VERSION_NEEDED_OFS, method ? 20 : 0); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_BIT_FLAG_OFS, bit_flags); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_METHOD_OFS, method); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_TIME_OFS, dos_time); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILE_DATE_OFS, dos_date); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_CRC32_OFS, uncomp_crc32); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS, MZ_MIN(comp_size, MZ_UINT32_MAX)); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS, MZ_MIN(uncomp_size, MZ_UINT32_MAX)); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_FILENAME_LEN_OFS, filename_size); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_EXTRA_LEN_OFS, extra_size); + MZ_WRITE_LE16(pDst + MZ_ZIP_CDH_COMMENT_LEN_OFS, comment_size); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_EXTERNAL_ATTR_OFS, ext_attributes); + MZ_WRITE_LE32(pDst + MZ_ZIP_CDH_LOCAL_HEADER_OFS, MZ_MIN(local_header_ofs, MZ_UINT32_MAX)); + return MZ_TRUE; +} + +static mz_bool mz_zip_writer_add_to_central_dir(mz_zip_archive *pZip, const char *pFilename, mz_uint16 filename_size, + const void *pExtra, mz_uint16 extra_size, const void *pComment, mz_uint16 comment_size, + mz_uint64 uncomp_size, mz_uint64 comp_size, mz_uint32 uncomp_crc32, + mz_uint16 method, mz_uint16 bit_flags, mz_uint16 dos_time, mz_uint16 dos_date, + mz_uint64 local_header_ofs, mz_uint32 ext_attributes, + const char *user_extra_data, mz_uint user_extra_data_len) +{ + mz_zip_internal_state *pState = pZip->m_pState; + mz_uint32 central_dir_ofs = (mz_uint32)pState->m_central_dir.m_size; + size_t orig_central_dir_size = pState->m_central_dir.m_size; + mz_uint8 central_dir_header[MZ_ZIP_CENTRAL_DIR_HEADER_SIZE]; + + if (!pZip->m_pState->m_zip64) + { + if (local_header_ofs > 0xFFFFFFFF) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_TOO_LARGE); + } + + /* miniz doesn't support central dirs >= MZ_UINT32_MAX bytes yet */ + if (((mz_uint64)pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + filename_size + extra_size + user_extra_data_len + comment_size) >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + + if (!mz_zip_writer_create_central_dir_header(pZip, central_dir_header, filename_size, extra_size + user_extra_data_len, comment_size, uncomp_size, comp_size, uncomp_crc32, method, bit_flags, dos_time, dos_date, local_header_ofs, ext_attributes)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if ((!mz_zip_array_push_back(pZip, &pState->m_central_dir, central_dir_header, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE)) || + (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pFilename, filename_size)) || + (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pExtra, extra_size)) || + (!mz_zip_array_push_back(pZip, &pState->m_central_dir, user_extra_data, user_extra_data_len)) || + (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pComment, comment_size)) || + (!mz_zip_array_push_back(pZip, &pState->m_central_dir_offsets, ¢ral_dir_ofs, 1))) + { + /* Try to resize the central directory array back into its original state. */ + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + return MZ_TRUE; +} + +static mz_bool mz_zip_writer_validate_archive_name(const char *pArchive_name) +{ + /* Basic ZIP archive filename validity checks: Valid filenames cannot start with a forward slash, cannot contain a drive letter, and cannot use DOS-style backward slashes. */ + if (*pArchive_name == '/') + return MZ_FALSE; + + while (*pArchive_name) + { + if ((*pArchive_name == '\\') || (*pArchive_name == ':')) + return MZ_FALSE; + + pArchive_name++; + } + + return MZ_TRUE; +} + +static mz_uint mz_zip_writer_compute_padding_needed_for_file_alignment(mz_zip_archive *pZip) +{ + mz_uint32 n; + if (!pZip->m_file_offset_alignment) + return 0; + n = (mz_uint32)(pZip->m_archive_size & (pZip->m_file_offset_alignment - 1)); + return (mz_uint)((pZip->m_file_offset_alignment - n) & (pZip->m_file_offset_alignment - 1)); +} + +static mz_bool mz_zip_writer_write_zeros(mz_zip_archive *pZip, mz_uint64 cur_file_ofs, mz_uint32 n) +{ + char buf[4096]; + memset(buf, 0, MZ_MIN(sizeof(buf), n)); + while (n) + { + mz_uint32 s = MZ_MIN(sizeof(buf), n); + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_file_ofs, buf, s) != s) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_file_ofs += s; + n -= s; + } + return MZ_TRUE; +} + +mz_bool mz_zip_writer_add_mem_ex(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, + mz_uint64 uncomp_size, mz_uint32 uncomp_crc32) +{ + return mz_zip_writer_add_mem_ex_v2(pZip, pArchive_name, pBuf, buf_size, pComment, comment_size, level_and_flags, uncomp_size, uncomp_crc32, NULL, NULL, 0, NULL, 0); +} + +mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, + mz_uint level_and_flags, mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, + const char *user_extra_data, mz_uint user_extra_data_len, const char *user_extra_data_central, mz_uint user_extra_data_central_len) +{ + mz_uint16 method = 0, dos_time = 0, dos_date = 0; + mz_uint level, ext_attributes = 0, num_alignment_padding_bytes; + mz_uint64 local_dir_header_ofs = pZip->m_archive_size, cur_archive_file_ofs = pZip->m_archive_size, comp_size = 0; + size_t archive_name_size; + mz_uint8 local_dir_header[MZ_ZIP_LOCAL_DIR_HEADER_SIZE]; + tdefl_compressor *pComp = NULL; + mz_bool store_data_uncompressed; + mz_zip_internal_state *pState; + mz_uint8 *pExtra_data = NULL; + mz_uint32 extra_size = 0; + mz_uint8 extra_data[MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE]; + mz_uint16 bit_flags = 0; + + if (uncomp_size || (buf_size && !(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA))) + bit_flags |= MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR; + + if (!(level_and_flags & MZ_ZIP_FLAG_ASCII_FILENAME)) + bit_flags |= MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8; + + if ((int)level_and_flags < 0) + level_and_flags = MZ_DEFAULT_LEVEL; + level = level_and_flags & 0xF; + store_data_uncompressed = ((!level) || (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)); + + if ((!pZip) || (!pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING) || ((buf_size) && (!pBuf)) || (!pArchive_name) || ((comment_size) && (!pComment)) || (level > MZ_UBER_COMPRESSION)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + if (pState->m_zip64) + { + if (pZip->m_total_files == MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + else + { + if (pZip->m_total_files == MZ_UINT16_MAX) + { + pState->m_zip64 = MZ_TRUE; + /*return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); */ + } + if ((buf_size > 0xFFFFFFFF) || (uncomp_size > 0xFFFFFFFF)) + { + pState->m_zip64 = MZ_TRUE; + /*return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); */ + } + } + + if ((!(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) && (uncomp_size)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_writer_validate_archive_name(pArchive_name)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_FILENAME); + +#ifndef MINIZ_NO_TIME + if (last_modified != NULL) + { + mz_zip_time_t_to_dos_time(*last_modified, &dos_time, &dos_date); + } + else + { + MZ_TIME_T cur_time; + time(&cur_time); + mz_zip_time_t_to_dos_time(cur_time, &dos_time, &dos_date); + } +#endif /* #ifndef MINIZ_NO_TIME */ + + archive_name_size = strlen(pArchive_name); + if (archive_name_size > MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_FILENAME); + + num_alignment_padding_bytes = mz_zip_writer_compute_padding_needed_for_file_alignment(pZip); + + /* miniz doesn't support central dirs >= MZ_UINT32_MAX bytes yet */ + if (((mz_uint64)pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + archive_name_size + MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE + comment_size) >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + + if (!pState->m_zip64) + { + /* Bail early if the archive would obviously become too large */ + if ((pZip->m_archive_size + num_alignment_padding_bytes + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + archive_name_size + + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + archive_name_size + comment_size + user_extra_data_len + + pState->m_central_dir.m_size + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE + user_extra_data_central_len + + MZ_ZIP_DATA_DESCRIPTER_SIZE32) > 0xFFFFFFFF) + { + pState->m_zip64 = MZ_TRUE; + /*return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); */ + } + } + + if ((archive_name_size) && (pArchive_name[archive_name_size - 1] == '/')) + { + /* Set DOS Subdirectory attribute bit. */ + ext_attributes |= MZ_ZIP_DOS_DIR_ATTRIBUTE_BITFLAG; + + /* Subdirectories cannot contain data. */ + if ((buf_size) || (uncomp_size)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + } + + /* Try to do any allocations before writing to the archive, so if an allocation fails the file remains unmodified. (A good idea if we're doing an in-place modification.) */ + if ((!mz_zip_array_ensure_room(pZip, &pState->m_central_dir, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + archive_name_size + comment_size + (pState->m_zip64 ? MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE : 0))) || (!mz_zip_array_ensure_room(pZip, &pState->m_central_dir_offsets, 1))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + if ((!store_data_uncompressed) && (buf_size)) + { + if (NULL == (pComp = (tdefl_compressor *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(tdefl_compressor)))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (!mz_zip_writer_write_zeros(pZip, cur_archive_file_ofs, num_alignment_padding_bytes)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + return MZ_FALSE; + } + + local_dir_header_ofs += num_alignment_padding_bytes; + if (pZip->m_file_offset_alignment) + { + MZ_ASSERT((local_dir_header_ofs & (pZip->m_file_offset_alignment - 1)) == 0); + } + cur_archive_file_ofs += num_alignment_padding_bytes; + + MZ_CLEAR_OBJ(local_dir_header); + + if (!store_data_uncompressed || (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) + { + method = MZ_DEFLATED; + } + + if (pState->m_zip64) + { + if (uncomp_size >= MZ_UINT32_MAX || local_dir_header_ofs >= MZ_UINT32_MAX) + { + pExtra_data = extra_data; + extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &uncomp_size : NULL, + (uncomp_size >= MZ_UINT32_MAX) ? &comp_size : NULL, (local_dir_header_ofs >= MZ_UINT32_MAX) ? &local_dir_header_ofs : NULL); + } + + if (!mz_zip_writer_create_local_dir_header(pZip, local_dir_header, (mz_uint16)archive_name_size, extra_size + user_extra_data_len, 0, 0, 0, method, bit_flags, dos_time, dos_date)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, local_dir_header_ofs, local_dir_header, sizeof(local_dir_header)) != sizeof(local_dir_header)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += sizeof(local_dir_header); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != archive_name_size) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + cur_archive_file_ofs += archive_name_size; + + if (pExtra_data != NULL) + { + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, extra_data, extra_size) != extra_size) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += extra_size; + } + } + else + { + if ((comp_size > MZ_UINT32_MAX) || (cur_archive_file_ofs > MZ_UINT32_MAX)) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + if (!mz_zip_writer_create_local_dir_header(pZip, local_dir_header, (mz_uint16)archive_name_size, user_extra_data_len, 0, 0, 0, method, bit_flags, dos_time, dos_date)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, local_dir_header_ofs, local_dir_header, sizeof(local_dir_header)) != sizeof(local_dir_header)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += sizeof(local_dir_header); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != archive_name_size) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + cur_archive_file_ofs += archive_name_size; + } + + if (user_extra_data_len > 0) + { + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, user_extra_data, user_extra_data_len) != user_extra_data_len) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += user_extra_data_len; + } + + if (!(level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA)) + { + uncomp_crc32 = (mz_uint32)mz_crc32(MZ_CRC32_INIT, (const mz_uint8 *)pBuf, buf_size); + uncomp_size = buf_size; + if (uncomp_size <= 3) + { + level = 0; + store_data_uncompressed = MZ_TRUE; + } + } + + if (store_data_uncompressed) + { + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pBuf, buf_size) != buf_size) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + + cur_archive_file_ofs += buf_size; + comp_size = buf_size; + } + else if (buf_size) + { + mz_zip_writer_add_state state; + + state.m_pZip = pZip; + state.m_cur_archive_file_ofs = cur_archive_file_ofs; + state.m_comp_size = 0; + + if ((tdefl_init(pComp, mz_zip_writer_add_put_buf_callback, &state, tdefl_create_comp_flags_from_zip_params(level, -15, MZ_DEFAULT_STRATEGY)) != TDEFL_STATUS_OKAY) || + (tdefl_compress_buffer(pComp, pBuf, buf_size, TDEFL_FINISH) != TDEFL_STATUS_DONE)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + return mz_zip_set_error(pZip, MZ_ZIP_COMPRESSION_FAILED); + } + + comp_size = state.m_comp_size; + cur_archive_file_ofs = state.m_cur_archive_file_ofs; + } + + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + pComp = NULL; + + if (uncomp_size) + { + mz_uint8 local_dir_footer[MZ_ZIP_DATA_DESCRIPTER_SIZE64]; + mz_uint32 local_dir_footer_size = MZ_ZIP_DATA_DESCRIPTER_SIZE32; + + MZ_ASSERT(bit_flags & MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR); + + MZ_WRITE_LE32(local_dir_footer + 0, MZ_ZIP_DATA_DESCRIPTOR_ID); + MZ_WRITE_LE32(local_dir_footer + 4, uncomp_crc32); + if (pExtra_data == NULL) + { + if (comp_size > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + MZ_WRITE_LE32(local_dir_footer + 8, comp_size); + MZ_WRITE_LE32(local_dir_footer + 12, uncomp_size); + } + else + { + MZ_WRITE_LE64(local_dir_footer + 8, comp_size); + MZ_WRITE_LE64(local_dir_footer + 16, uncomp_size); + local_dir_footer_size = MZ_ZIP_DATA_DESCRIPTER_SIZE64; + } + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, local_dir_footer, local_dir_footer_size) != local_dir_footer_size) + return MZ_FALSE; + + cur_archive_file_ofs += local_dir_footer_size; + } + + if (pExtra_data != NULL) + { + extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &uncomp_size : NULL, + (uncomp_size >= MZ_UINT32_MAX) ? &comp_size : NULL, (local_dir_header_ofs >= MZ_UINT32_MAX) ? &local_dir_header_ofs : NULL); + } + + if (!mz_zip_writer_add_to_central_dir(pZip, pArchive_name, (mz_uint16)archive_name_size, pExtra_data, extra_size, pComment, + comment_size, uncomp_size, comp_size, uncomp_crc32, method, bit_flags, dos_time, dos_date, local_dir_header_ofs, ext_attributes, + user_extra_data_central, user_extra_data_central_len)) + return MZ_FALSE; + + pZip->m_total_files++; + pZip->m_archive_size = cur_archive_file_ofs; + + return MZ_TRUE; +} + +#ifndef MINIZ_NO_STDIO +mz_bool mz_zip_writer_add_cfile(mz_zip_archive *pZip, const char *pArchive_name, MZ_FILE *pSrc_file, mz_uint64 size_to_add, const MZ_TIME_T *pFile_time, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, + const char *user_extra_data, mz_uint user_extra_data_len, const char *user_extra_data_central, mz_uint user_extra_data_central_len) +{ + mz_uint16 gen_flags = MZ_ZIP_LDH_BIT_FLAG_HAS_LOCATOR; + mz_uint uncomp_crc32 = MZ_CRC32_INIT, level, num_alignment_padding_bytes; + mz_uint16 method = 0, dos_time = 0, dos_date = 0, ext_attributes = 0; + mz_uint64 local_dir_header_ofs, cur_archive_file_ofs = pZip->m_archive_size, uncomp_size = size_to_add, comp_size = 0; + size_t archive_name_size; + mz_uint8 local_dir_header[MZ_ZIP_LOCAL_DIR_HEADER_SIZE]; + mz_uint8 *pExtra_data = NULL; + mz_uint32 extra_size = 0; + mz_uint8 extra_data[MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE]; + mz_zip_internal_state *pState; + + if (!(level_and_flags & MZ_ZIP_FLAG_ASCII_FILENAME)) + gen_flags |= MZ_ZIP_GENERAL_PURPOSE_BIT_FLAG_UTF8; + + if ((int)level_and_flags < 0) + level_and_flags = MZ_DEFAULT_LEVEL; + level = level_and_flags & 0xF; + + /* Sanity checks */ + if ((!pZip) || (!pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING) || (!pArchive_name) || ((comment_size) && (!pComment)) || (level > MZ_UBER_COMPRESSION)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + if ((!pState->m_zip64) && (uncomp_size > MZ_UINT32_MAX)) + { + /* Source file is too large for non-zip64 */ + /*return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); */ + pState->m_zip64 = MZ_TRUE; + } + + /* We could support this, but why? */ + if (level_and_flags & MZ_ZIP_FLAG_COMPRESSED_DATA) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_writer_validate_archive_name(pArchive_name)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_FILENAME); + + if (pState->m_zip64) + { + if (pZip->m_total_files == MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + else + { + if (pZip->m_total_files == MZ_UINT16_MAX) + { + pState->m_zip64 = MZ_TRUE; + /*return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); */ + } + } + + archive_name_size = strlen(pArchive_name); + if (archive_name_size > MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_FILENAME); + + num_alignment_padding_bytes = mz_zip_writer_compute_padding_needed_for_file_alignment(pZip); + + /* miniz doesn't support central dirs >= MZ_UINT32_MAX bytes yet */ + if (((mz_uint64)pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + archive_name_size + MZ_ZIP64_MAX_CENTRAL_EXTRA_FIELD_SIZE + comment_size) >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + + if (!pState->m_zip64) + { + /* Bail early if the archive would obviously become too large */ + if ((pZip->m_archive_size + num_alignment_padding_bytes + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + archive_name_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + + archive_name_size + comment_size + user_extra_data_len + pState->m_central_dir.m_size + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE + 1024 + + MZ_ZIP_DATA_DESCRIPTER_SIZE32 + user_extra_data_central_len) > 0xFFFFFFFF) + { + pState->m_zip64 = MZ_TRUE; + /*return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); */ + } + } + +#ifndef MINIZ_NO_TIME + if (pFile_time) + { + mz_zip_time_t_to_dos_time(*pFile_time, &dos_time, &dos_date); + } +#endif + + if (uncomp_size <= 3) + level = 0; + + if (!mz_zip_writer_write_zeros(pZip, cur_archive_file_ofs, num_alignment_padding_bytes)) + { + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + + cur_archive_file_ofs += num_alignment_padding_bytes; + local_dir_header_ofs = cur_archive_file_ofs; + + if (pZip->m_file_offset_alignment) + { + MZ_ASSERT((cur_archive_file_ofs & (pZip->m_file_offset_alignment - 1)) == 0); + } + + if (uncomp_size && level) + { + method = MZ_DEFLATED; + } + + MZ_CLEAR_OBJ(local_dir_header); + if (pState->m_zip64) + { + if (uncomp_size >= MZ_UINT32_MAX || local_dir_header_ofs >= MZ_UINT32_MAX) + { + pExtra_data = extra_data; + extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &uncomp_size : NULL, + (uncomp_size >= MZ_UINT32_MAX) ? &comp_size : NULL, (local_dir_header_ofs >= MZ_UINT32_MAX) ? &local_dir_header_ofs : NULL); + } + + if (!mz_zip_writer_create_local_dir_header(pZip, local_dir_header, (mz_uint16)archive_name_size, extra_size + user_extra_data_len, 0, 0, 0, method, gen_flags, dos_time, dos_date)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, local_dir_header, sizeof(local_dir_header)) != sizeof(local_dir_header)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += sizeof(local_dir_header); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != archive_name_size) + { + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + + cur_archive_file_ofs += archive_name_size; + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, extra_data, extra_size) != extra_size) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += extra_size; + } + else + { + if ((comp_size > MZ_UINT32_MAX) || (cur_archive_file_ofs > MZ_UINT32_MAX)) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + if (!mz_zip_writer_create_local_dir_header(pZip, local_dir_header, (mz_uint16)archive_name_size, user_extra_data_len, 0, 0, 0, method, gen_flags, dos_time, dos_date)) + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, local_dir_header, sizeof(local_dir_header)) != sizeof(local_dir_header)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += sizeof(local_dir_header); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pArchive_name, archive_name_size) != archive_name_size) + { + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + + cur_archive_file_ofs += archive_name_size; + } + + if (user_extra_data_len > 0) + { + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, user_extra_data, user_extra_data_len) != user_extra_data_len) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_archive_file_ofs += user_extra_data_len; + } + + if (uncomp_size) + { + mz_uint64 uncomp_remaining = uncomp_size; + void *pRead_buf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, MZ_ZIP_MAX_IO_BUF_SIZE); + if (!pRead_buf) + { + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (!level) + { + while (uncomp_remaining) + { + mz_uint n = (mz_uint)MZ_MIN((mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE, uncomp_remaining); + if ((MZ_FREAD(pRead_buf, 1, n, pSrc_file) != n) || (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, pRead_buf, n) != n)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + } + uncomp_crc32 = (mz_uint32)mz_crc32(uncomp_crc32, (const mz_uint8 *)pRead_buf, n); + uncomp_remaining -= n; + cur_archive_file_ofs += n; + } + comp_size = uncomp_size; + } + else + { + mz_bool result = MZ_FALSE; + mz_zip_writer_add_state state; + tdefl_compressor *pComp = (tdefl_compressor *)pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, sizeof(tdefl_compressor)); + if (!pComp) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + state.m_pZip = pZip; + state.m_cur_archive_file_ofs = cur_archive_file_ofs; + state.m_comp_size = 0; + + if (tdefl_init(pComp, mz_zip_writer_add_put_buf_callback, &state, tdefl_create_comp_flags_from_zip_params(level, -15, MZ_DEFAULT_STRATEGY)) != TDEFL_STATUS_OKAY) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + return mz_zip_set_error(pZip, MZ_ZIP_INTERNAL_ERROR); + } + + for (;;) + { + size_t in_buf_size = (mz_uint32)MZ_MIN(uncomp_remaining, (mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE); + tdefl_status status; + tdefl_flush flush = TDEFL_NO_FLUSH; + + if (MZ_FREAD(pRead_buf, 1, in_buf_size, pSrc_file) != in_buf_size) + { + mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + break; + } + + uncomp_crc32 = (mz_uint32)mz_crc32(uncomp_crc32, (const mz_uint8 *)pRead_buf, in_buf_size); + uncomp_remaining -= in_buf_size; + + if (pZip->m_pNeeds_keepalive != NULL && pZip->m_pNeeds_keepalive(pZip->m_pIO_opaque)) + flush = TDEFL_FULL_FLUSH; + + status = tdefl_compress_buffer(pComp, pRead_buf, in_buf_size, uncomp_remaining ? flush : TDEFL_FINISH); + if (status == TDEFL_STATUS_DONE) + { + result = MZ_TRUE; + break; + } + else if (status != TDEFL_STATUS_OKAY) + { + mz_zip_set_error(pZip, MZ_ZIP_COMPRESSION_FAILED); + break; + } + } + + pZip->m_pFree(pZip->m_pAlloc_opaque, pComp); + + if (!result) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + return MZ_FALSE; + } + + comp_size = state.m_comp_size; + cur_archive_file_ofs = state.m_cur_archive_file_ofs; + } + + pZip->m_pFree(pZip->m_pAlloc_opaque, pRead_buf); + } + + { + mz_uint8 local_dir_footer[MZ_ZIP_DATA_DESCRIPTER_SIZE64]; + mz_uint32 local_dir_footer_size = MZ_ZIP_DATA_DESCRIPTER_SIZE32; + + MZ_WRITE_LE32(local_dir_footer + 0, MZ_ZIP_DATA_DESCRIPTOR_ID); + MZ_WRITE_LE32(local_dir_footer + 4, uncomp_crc32); + if (pExtra_data == NULL) + { + if (comp_size > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + MZ_WRITE_LE32(local_dir_footer + 8, comp_size); + MZ_WRITE_LE32(local_dir_footer + 12, uncomp_size); + } + else + { + MZ_WRITE_LE64(local_dir_footer + 8, comp_size); + MZ_WRITE_LE64(local_dir_footer + 16, uncomp_size); + local_dir_footer_size = MZ_ZIP_DATA_DESCRIPTER_SIZE64; + } + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_archive_file_ofs, local_dir_footer, local_dir_footer_size) != local_dir_footer_size) + return MZ_FALSE; + + cur_archive_file_ofs += local_dir_footer_size; + } + + if (pExtra_data != NULL) + { + extra_size = mz_zip_writer_create_zip64_extra_data(extra_data, (uncomp_size >= MZ_UINT32_MAX) ? &uncomp_size : NULL, + (uncomp_size >= MZ_UINT32_MAX) ? &comp_size : NULL, (local_dir_header_ofs >= MZ_UINT32_MAX) ? &local_dir_header_ofs : NULL); + } + + if (!mz_zip_writer_add_to_central_dir(pZip, pArchive_name, (mz_uint16)archive_name_size, pExtra_data, extra_size, pComment, comment_size, + uncomp_size, comp_size, uncomp_crc32, method, gen_flags, dos_time, dos_date, local_dir_header_ofs, ext_attributes, + user_extra_data_central, user_extra_data_central_len)) + return MZ_FALSE; + + pZip->m_total_files++; + pZip->m_archive_size = cur_archive_file_ofs; + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name, const char *pSrc_filename, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) +{ + MZ_FILE *pSrc_file = NULL; + mz_uint64 uncomp_size = 0; + MZ_TIME_T file_modified_time; + MZ_TIME_T *pFile_time = NULL; + mz_bool status; + + memset(&file_modified_time, 0, sizeof(file_modified_time)); + +#if !defined(MINIZ_NO_TIME) && !defined(MINIZ_NO_STDIO) + pFile_time = &file_modified_time; + if (!mz_zip_get_file_modified_time(pSrc_filename, &file_modified_time)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_STAT_FAILED); +#endif + + pSrc_file = MZ_FOPEN(pSrc_filename, "rb"); + if (!pSrc_file) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_OPEN_FAILED); + + MZ_FSEEK64(pSrc_file, 0, SEEK_END); + uncomp_size = MZ_FTELL64(pSrc_file); + MZ_FSEEK64(pSrc_file, 0, SEEK_SET); + + status = mz_zip_writer_add_cfile(pZip, pArchive_name, pSrc_file, uncomp_size, pFile_time, pComment, comment_size, level_and_flags, NULL, 0, NULL, 0); + + MZ_FCLOSE(pSrc_file); + + return status; +} +#endif /* #ifndef MINIZ_NO_STDIO */ + +static mz_bool mz_zip_writer_update_zip64_extension_block(mz_zip_array *pNew_ext, mz_zip_archive *pZip, const mz_uint8 *pExt, uint32_t ext_len, mz_uint64 *pComp_size, mz_uint64 *pUncomp_size, mz_uint64 *pLocal_header_ofs, mz_uint32 *pDisk_start) +{ + /* + 64 should be enough for any new zip64 data */ + if (!mz_zip_array_reserve(pZip, pNew_ext, ext_len + 64, MZ_FALSE)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + mz_zip_array_resize(pZip, pNew_ext, 0, MZ_FALSE); + + if ((pUncomp_size) || (pComp_size) || (pLocal_header_ofs) || (pDisk_start)) + { + mz_uint8 new_ext_block[64]; + mz_uint8 *pDst = new_ext_block; + mz_write_le16(pDst, MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID); + mz_write_le16(pDst + sizeof(mz_uint16), 0); + pDst += sizeof(mz_uint16) * 2; + + if (pUncomp_size) + { + mz_write_le64(pDst, *pUncomp_size); + pDst += sizeof(mz_uint64); + } + + if (pComp_size) + { + mz_write_le64(pDst, *pComp_size); + pDst += sizeof(mz_uint64); + } + + if (pLocal_header_ofs) + { + mz_write_le64(pDst, *pLocal_header_ofs); + pDst += sizeof(mz_uint64); + } + + if (pDisk_start) + { + mz_write_le32(pDst, *pDisk_start); + pDst += sizeof(mz_uint32); + } + + mz_write_le16(new_ext_block + sizeof(mz_uint16), (mz_uint16)((pDst - new_ext_block) - sizeof(mz_uint16) * 2)); + + if (!mz_zip_array_push_back(pZip, pNew_ext, new_ext_block, pDst - new_ext_block)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if ((pExt) && (ext_len)) + { + mz_uint32 extra_size_remaining = ext_len; + const mz_uint8 *pExtra_data = pExt; + + do + { + mz_uint32 field_id, field_data_size, field_total_size; + + if (extra_size_remaining < (sizeof(mz_uint16) * 2)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + field_id = MZ_READ_LE16(pExtra_data); + field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); + field_total_size = field_data_size + sizeof(mz_uint16) * 2; + + if (field_total_size > extra_size_remaining) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + if (field_id != MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) + { + if (!mz_zip_array_push_back(pZip, pNew_ext, pExtra_data, field_total_size)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + pExtra_data += field_total_size; + extra_size_remaining -= field_total_size; + } while (extra_size_remaining); + } + + return MZ_TRUE; +} + +/* TODO: This func is now pretty freakin complex due to zip64, split it up? */ +mz_bool mz_zip_writer_add_from_zip_reader(mz_zip_archive *pZip, mz_zip_archive *pSource_zip, mz_uint src_file_index) +{ + mz_uint n, bit_flags, num_alignment_padding_bytes, src_central_dir_following_data_size; + mz_uint64 src_archive_bytes_remaining, local_dir_header_ofs; + mz_uint64 cur_src_file_ofs, cur_dst_file_ofs; + mz_uint32 local_header_u32[(MZ_ZIP_LOCAL_DIR_HEADER_SIZE + sizeof(mz_uint32) - 1) / sizeof(mz_uint32)]; + mz_uint8 *pLocal_header = (mz_uint8 *)local_header_u32; + mz_uint8 new_central_header[MZ_ZIP_CENTRAL_DIR_HEADER_SIZE]; + size_t orig_central_dir_size; + mz_zip_internal_state *pState; + void *pBuf; + const mz_uint8 *pSrc_central_header; + mz_zip_archive_file_stat src_file_stat; + mz_uint32 src_filename_len, src_comment_len, src_ext_len; + mz_uint32 local_header_filename_size, local_header_extra_len; + mz_uint64 local_header_comp_size, local_header_uncomp_size; + mz_bool found_zip64_ext_data_in_ldir = MZ_FALSE; + + /* Sanity checks */ + if ((!pZip) || (!pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING) || (!pSource_zip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + /* Don't support copying files from zip64 archives to non-zip64, even though in some cases this is possible */ + if ((pSource_zip->m_pState->m_zip64) && (!pZip->m_pState->m_zip64)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + /* Get pointer to the source central dir header and crack it */ + if (NULL == (pSrc_central_header = mz_zip_get_cdh(pSource_zip, src_file_index))) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (MZ_READ_LE32(pSrc_central_header + MZ_ZIP_CDH_SIG_OFS) != MZ_ZIP_CENTRAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + src_filename_len = MZ_READ_LE16(pSrc_central_header + MZ_ZIP_CDH_FILENAME_LEN_OFS); + src_comment_len = MZ_READ_LE16(pSrc_central_header + MZ_ZIP_CDH_COMMENT_LEN_OFS); + src_ext_len = MZ_READ_LE16(pSrc_central_header + MZ_ZIP_CDH_EXTRA_LEN_OFS); + src_central_dir_following_data_size = src_filename_len + src_ext_len + src_comment_len; + + /* TODO: We don't support central dir's >= MZ_UINT32_MAX bytes right now (+32 fudge factor in case we need to add more extra data) */ + if ((pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + src_central_dir_following_data_size + 32) >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + + num_alignment_padding_bytes = mz_zip_writer_compute_padding_needed_for_file_alignment(pZip); + + if (!pState->m_zip64) + { + if (pZip->m_total_files == MZ_UINT16_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + else + { + /* TODO: Our zip64 support still has some 32-bit limits that may not be worth fixing. */ + if (pZip->m_total_files == MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + + if (!mz_zip_file_stat_internal(pSource_zip, src_file_index, pSrc_central_header, &src_file_stat, NULL)) + return MZ_FALSE; + + cur_src_file_ofs = src_file_stat.m_local_header_ofs; + cur_dst_file_ofs = pZip->m_archive_size; + + /* Read the source archive's local dir header */ + if (pSource_zip->m_pRead(pSource_zip->m_pIO_opaque, cur_src_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + + if (MZ_READ_LE32(pLocal_header) != MZ_ZIP_LOCAL_DIR_HEADER_SIG) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + + cur_src_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE; + + /* Compute the total size we need to copy (filename+extra data+compressed data) */ + local_header_filename_size = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_FILENAME_LEN_OFS); + local_header_extra_len = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_EXTRA_LEN_OFS); + local_header_comp_size = MZ_READ_LE32(pLocal_header + MZ_ZIP_LDH_COMPRESSED_SIZE_OFS); + local_header_uncomp_size = MZ_READ_LE32(pLocal_header + MZ_ZIP_LDH_DECOMPRESSED_SIZE_OFS); + src_archive_bytes_remaining = local_header_filename_size + local_header_extra_len + src_file_stat.m_comp_size; + + /* Try to find a zip64 extended information field */ + if ((local_header_extra_len) && ((local_header_comp_size == MZ_UINT32_MAX) || (local_header_uncomp_size == MZ_UINT32_MAX))) + { + mz_zip_array file_data_array; + const mz_uint8 *pExtra_data; + mz_uint32 extra_size_remaining = local_header_extra_len; + + mz_zip_array_init(&file_data_array, 1); + if (!mz_zip_array_resize(pZip, &file_data_array, local_header_extra_len, MZ_FALSE)) + { + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (pSource_zip->m_pRead(pSource_zip->m_pIO_opaque, src_file_stat.m_local_header_ofs + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + local_header_filename_size, file_data_array.m_p, local_header_extra_len) != local_header_extra_len) + { + mz_zip_array_clear(pZip, &file_data_array); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + } + + pExtra_data = (const mz_uint8 *)file_data_array.m_p; + + do + { + mz_uint32 field_id, field_data_size, field_total_size; + + if (extra_size_remaining < (sizeof(mz_uint16) * 2)) + { + mz_zip_array_clear(pZip, &file_data_array); + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + } + + field_id = MZ_READ_LE16(pExtra_data); + field_data_size = MZ_READ_LE16(pExtra_data + sizeof(mz_uint16)); + field_total_size = field_data_size + sizeof(mz_uint16) * 2; + + if (field_total_size > extra_size_remaining) + { + mz_zip_array_clear(pZip, &file_data_array); + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + } + + if (field_id == MZ_ZIP64_EXTENDED_INFORMATION_FIELD_HEADER_ID) + { + const mz_uint8 *pSrc_field_data = pExtra_data + sizeof(mz_uint32); + + if (field_data_size < sizeof(mz_uint64) * 2) + { + mz_zip_array_clear(pZip, &file_data_array); + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_HEADER_OR_CORRUPTED); + } + + local_header_uncomp_size = MZ_READ_LE64(pSrc_field_data); + local_header_comp_size = MZ_READ_LE64(pSrc_field_data + sizeof(mz_uint64)); /* may be 0 if there's a descriptor */ + + found_zip64_ext_data_in_ldir = MZ_TRUE; + break; + } + + pExtra_data += field_total_size; + extra_size_remaining -= field_total_size; + } while (extra_size_remaining); + + mz_zip_array_clear(pZip, &file_data_array); + } + + if (!pState->m_zip64) + { + /* Try to detect if the new archive will most likely wind up too big and bail early (+(sizeof(mz_uint32) * 4) is for the optional descriptor which could be present, +64 is a fudge factor). */ + /* We also check when the archive is finalized so this doesn't need to be perfect. */ + mz_uint64 approx_new_archive_size = cur_dst_file_ofs + num_alignment_padding_bytes + MZ_ZIP_LOCAL_DIR_HEADER_SIZE + src_archive_bytes_remaining + (sizeof(mz_uint32) * 4) + + pState->m_central_dir.m_size + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + src_central_dir_following_data_size + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE + 64; + + if (approx_new_archive_size >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + } + + /* Write dest archive padding */ + if (!mz_zip_writer_write_zeros(pZip, cur_dst_file_ofs, num_alignment_padding_bytes)) + return MZ_FALSE; + + cur_dst_file_ofs += num_alignment_padding_bytes; + + local_dir_header_ofs = cur_dst_file_ofs; + if (pZip->m_file_offset_alignment) + { + MZ_ASSERT((local_dir_header_ofs & (pZip->m_file_offset_alignment - 1)) == 0); + } + + /* The original zip's local header+ext block doesn't change, even with zip64, so we can just copy it over to the dest zip */ + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pLocal_header, MZ_ZIP_LOCAL_DIR_HEADER_SIZE) != MZ_ZIP_LOCAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + cur_dst_file_ofs += MZ_ZIP_LOCAL_DIR_HEADER_SIZE; + + /* Copy over the source archive bytes to the dest archive, also ensure we have enough buf space to handle optional data descriptor */ + if (NULL == (pBuf = pZip->m_pAlloc(pZip->m_pAlloc_opaque, 1, (size_t)MZ_MAX(32U, MZ_MIN((mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE, src_archive_bytes_remaining))))) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + while (src_archive_bytes_remaining) + { + n = (mz_uint)MZ_MIN((mz_uint64)MZ_ZIP_MAX_IO_BUF_SIZE, src_archive_bytes_remaining); + if (pSource_zip->m_pRead(pSource_zip->m_pIO_opaque, cur_src_file_ofs, pBuf, n) != n) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + } + cur_src_file_ofs += n; + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pBuf, n) != n) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + cur_dst_file_ofs += n; + + src_archive_bytes_remaining -= n; + } + + /* Now deal with the optional data descriptor */ + bit_flags = MZ_READ_LE16(pLocal_header + MZ_ZIP_LDH_BIT_FLAG_OFS); + if (bit_flags & 8) + { + /* Copy data descriptor */ + if ((pSource_zip->m_pState->m_zip64) || (found_zip64_ext_data_in_ldir)) + { + /* src is zip64, dest must be zip64 */ + + /* name uint32_t's */ + /* id 1 (optional in zip64?) */ + /* crc 1 */ + /* comp_size 2 */ + /* uncomp_size 2 */ + if (pSource_zip->m_pRead(pSource_zip->m_pIO_opaque, cur_src_file_ofs, pBuf, (sizeof(mz_uint32) * 6)) != (sizeof(mz_uint32) * 6)) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + } + + n = sizeof(mz_uint32) * ((MZ_READ_LE32(pBuf) == MZ_ZIP_DATA_DESCRIPTOR_ID) ? 6 : 5); + } + else + { + /* src is NOT zip64 */ + mz_bool has_id; + + if (pSource_zip->m_pRead(pSource_zip->m_pIO_opaque, cur_src_file_ofs, pBuf, sizeof(mz_uint32) * 4) != sizeof(mz_uint32) * 4) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_READ_FAILED); + } + + has_id = (MZ_READ_LE32(pBuf) == MZ_ZIP_DATA_DESCRIPTOR_ID); + + if (pZip->m_pState->m_zip64) + { + /* dest is zip64, so upgrade the data descriptor */ + const mz_uint32 *pSrc_descriptor = (const mz_uint32 *)((const mz_uint8 *)pBuf + (has_id ? sizeof(mz_uint32) : 0)); + const mz_uint32 src_crc32 = pSrc_descriptor[0]; + const mz_uint64 src_comp_size = pSrc_descriptor[1]; + const mz_uint64 src_uncomp_size = pSrc_descriptor[2]; + + mz_write_le32((mz_uint8 *)pBuf, MZ_ZIP_DATA_DESCRIPTOR_ID); + mz_write_le32((mz_uint8 *)pBuf + sizeof(mz_uint32) * 1, src_crc32); + mz_write_le64((mz_uint8 *)pBuf + sizeof(mz_uint32) * 2, src_comp_size); + mz_write_le64((mz_uint8 *)pBuf + sizeof(mz_uint32) * 4, src_uncomp_size); + + n = sizeof(mz_uint32) * 6; + } + else + { + /* dest is NOT zip64, just copy it as-is */ + n = sizeof(mz_uint32) * (has_id ? 4 : 3); + } + } + + if (pZip->m_pWrite(pZip->m_pIO_opaque, cur_dst_file_ofs, pBuf, n) != n) + { + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + } + + cur_src_file_ofs += n; + cur_dst_file_ofs += n; + } + pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); + + /* Finally, add the new central dir header */ + orig_central_dir_size = pState->m_central_dir.m_size; + + memcpy(new_central_header, pSrc_central_header, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE); + + if (pState->m_zip64) + { + /* This is the painful part: We need to write a new central dir header + ext block with updated zip64 fields, and ensure the old fields (if any) are not included. */ + const mz_uint8 *pSrc_ext = pSrc_central_header + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + src_filename_len; + mz_zip_array new_ext_block; + + mz_zip_array_init(&new_ext_block, sizeof(mz_uint8)); + + MZ_WRITE_LE32(new_central_header + MZ_ZIP_CDH_COMPRESSED_SIZE_OFS, MZ_UINT32_MAX); + MZ_WRITE_LE32(new_central_header + MZ_ZIP_CDH_DECOMPRESSED_SIZE_OFS, MZ_UINT32_MAX); + MZ_WRITE_LE32(new_central_header + MZ_ZIP_CDH_LOCAL_HEADER_OFS, MZ_UINT32_MAX); + + if (!mz_zip_writer_update_zip64_extension_block(&new_ext_block, pZip, pSrc_ext, src_ext_len, &src_file_stat.m_comp_size, &src_file_stat.m_uncomp_size, &local_dir_header_ofs, NULL)) + { + mz_zip_array_clear(pZip, &new_ext_block); + return MZ_FALSE; + } + + MZ_WRITE_LE16(new_central_header + MZ_ZIP_CDH_EXTRA_LEN_OFS, new_ext_block.m_size); + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, new_central_header, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE)) + { + mz_zip_array_clear(pZip, &new_ext_block); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pSrc_central_header + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, src_filename_len)) + { + mz_zip_array_clear(pZip, &new_ext_block); + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, new_ext_block.m_p, new_ext_block.m_size)) + { + mz_zip_array_clear(pZip, &new_ext_block); + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pSrc_central_header + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE + src_filename_len + src_ext_len, src_comment_len)) + { + mz_zip_array_clear(pZip, &new_ext_block); + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + mz_zip_array_clear(pZip, &new_ext_block); + } + else + { + /* sanity checks */ + if (cur_dst_file_ofs > MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + if (local_dir_header_ofs >= MZ_UINT32_MAX) + return mz_zip_set_error(pZip, MZ_ZIP_ARCHIVE_TOO_LARGE); + + MZ_WRITE_LE32(new_central_header + MZ_ZIP_CDH_LOCAL_HEADER_OFS, local_dir_header_ofs); + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, new_central_header, MZ_ZIP_CENTRAL_DIR_HEADER_SIZE)) + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir, pSrc_central_header + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, src_central_dir_following_data_size)) + { + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + } + + /* This shouldn't trigger unless we screwed up during the initial sanity checks */ + if (pState->m_central_dir.m_size >= MZ_UINT32_MAX) + { + /* TODO: Support central dirs >= 32-bits in size */ + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_UNSUPPORTED_CDIR_SIZE); + } + + n = (mz_uint32)orig_central_dir_size; + if (!mz_zip_array_push_back(pZip, &pState->m_central_dir_offsets, &n, 1)) + { + mz_zip_array_resize(pZip, &pState->m_central_dir, orig_central_dir_size, MZ_FALSE); + return mz_zip_set_error(pZip, MZ_ZIP_ALLOC_FAILED); + } + + pZip->m_total_files++; + pZip->m_archive_size = cur_dst_file_ofs; + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_finalize_archive(mz_zip_archive *pZip) +{ + mz_zip_internal_state *pState; + mz_uint64 central_dir_ofs, central_dir_size; + mz_uint8 hdr[256]; + + if ((!pZip) || (!pZip->m_pState) || (pZip->m_zip_mode != MZ_ZIP_MODE_WRITING)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + pState = pZip->m_pState; + + if (pState->m_zip64) + { + if ((pZip->m_total_files > MZ_UINT32_MAX) || (pState->m_central_dir.m_size >= MZ_UINT32_MAX)) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + else + { + if ((pZip->m_total_files > MZ_UINT16_MAX) || ((pZip->m_archive_size + pState->m_central_dir.m_size + MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) > MZ_UINT32_MAX)) + return mz_zip_set_error(pZip, MZ_ZIP_TOO_MANY_FILES); + } + + central_dir_ofs = 0; + central_dir_size = 0; + if (pZip->m_total_files) + { + /* Write central directory */ + central_dir_ofs = pZip->m_archive_size; + central_dir_size = pState->m_central_dir.m_size; + pZip->m_central_directory_file_ofs = central_dir_ofs; + if (pZip->m_pWrite(pZip->m_pIO_opaque, central_dir_ofs, pState->m_central_dir.m_p, (size_t)central_dir_size) != central_dir_size) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + pZip->m_archive_size += central_dir_size; + } + + if (pState->m_zip64) + { + /* Write zip64 end of central directory header */ + mz_uint64 rel_ofs_to_zip64_ecdr = pZip->m_archive_size; + + MZ_CLEAR_OBJ(hdr); + MZ_WRITE_LE32(hdr + MZ_ZIP64_ECDH_SIG_OFS, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIG); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDH_SIZE_OF_RECORD_OFS, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE - sizeof(mz_uint32) - sizeof(mz_uint64)); + MZ_WRITE_LE16(hdr + MZ_ZIP64_ECDH_VERSION_MADE_BY_OFS, 0x031E); /* TODO: always Unix */ + MZ_WRITE_LE16(hdr + MZ_ZIP64_ECDH_VERSION_NEEDED_OFS, 0x002D); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS, pZip->m_total_files); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDH_CDIR_TOTAL_ENTRIES_OFS, pZip->m_total_files); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDH_CDIR_SIZE_OFS, central_dir_size); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDH_CDIR_OFS_OFS, central_dir_ofs); + if (pZip->m_pWrite(pZip->m_pIO_opaque, pZip->m_archive_size, hdr, MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) != MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + pZip->m_archive_size += MZ_ZIP64_END_OF_CENTRAL_DIR_HEADER_SIZE; + + /* Write zip64 end of central directory locator */ + MZ_CLEAR_OBJ(hdr); + MZ_WRITE_LE32(hdr + MZ_ZIP64_ECDL_SIG_OFS, MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIG); + MZ_WRITE_LE64(hdr + MZ_ZIP64_ECDL_REL_OFS_TO_ZIP64_ECDR_OFS, rel_ofs_to_zip64_ecdr); + MZ_WRITE_LE32(hdr + MZ_ZIP64_ECDL_TOTAL_NUMBER_OF_DISKS_OFS, 1); + if (pZip->m_pWrite(pZip->m_pIO_opaque, pZip->m_archive_size, hdr, MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) != MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + + pZip->m_archive_size += MZ_ZIP64_END_OF_CENTRAL_DIR_LOCATOR_SIZE; + } + + /* Write end of central directory record */ + MZ_CLEAR_OBJ(hdr); + MZ_WRITE_LE32(hdr + MZ_ZIP_ECDH_SIG_OFS, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIG); + MZ_WRITE_LE16(hdr + MZ_ZIP_ECDH_CDIR_NUM_ENTRIES_ON_DISK_OFS, MZ_MIN(MZ_UINT16_MAX, pZip->m_total_files)); + MZ_WRITE_LE16(hdr + MZ_ZIP_ECDH_CDIR_TOTAL_ENTRIES_OFS, MZ_MIN(MZ_UINT16_MAX, pZip->m_total_files)); + MZ_WRITE_LE32(hdr + MZ_ZIP_ECDH_CDIR_SIZE_OFS, MZ_MIN(MZ_UINT32_MAX, central_dir_size)); + MZ_WRITE_LE32(hdr + MZ_ZIP_ECDH_CDIR_OFS_OFS, MZ_MIN(MZ_UINT32_MAX, central_dir_ofs)); + + if (pZip->m_pWrite(pZip->m_pIO_opaque, pZip->m_archive_size, hdr, MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) != MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_WRITE_FAILED); + +#ifndef MINIZ_NO_STDIO + if ((pState->m_pFile) && (MZ_FFLUSH(pState->m_pFile) == EOF)) + return mz_zip_set_error(pZip, MZ_ZIP_FILE_CLOSE_FAILED); +#endif /* #ifndef MINIZ_NO_STDIO */ + + pZip->m_archive_size += MZ_ZIP_END_OF_CENTRAL_DIR_HEADER_SIZE; + + pZip->m_zip_mode = MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED; + return MZ_TRUE; +} + +mz_bool mz_zip_writer_finalize_heap_archive(mz_zip_archive *pZip, void **ppBuf, size_t *pSize) +{ + if ((!ppBuf) || (!pSize)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + *ppBuf = NULL; + *pSize = 0; + + if ((!pZip) || (!pZip->m_pState)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (pZip->m_pWrite != mz_zip_heap_write_func) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + if (!mz_zip_writer_finalize_archive(pZip)) + return MZ_FALSE; + + *ppBuf = pZip->m_pState->m_pMem; + *pSize = pZip->m_pState->m_mem_size; + pZip->m_pState->m_pMem = NULL; + pZip->m_pState->m_mem_size = pZip->m_pState->m_mem_capacity = 0; + + return MZ_TRUE; +} + +mz_bool mz_zip_writer_end(mz_zip_archive *pZip) +{ + return mz_zip_writer_end_internal(pZip, MZ_TRUE); +} + +#ifndef MINIZ_NO_STDIO +mz_bool mz_zip_add_mem_to_archive_file_in_place(const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) +{ + return mz_zip_add_mem_to_archive_file_in_place_v2(pZip_filename, pArchive_name, pBuf, buf_size, pComment, comment_size, level_and_flags, NULL); +} + +mz_bool mz_zip_add_mem_to_archive_file_in_place_v2(const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_zip_error *pErr) +{ + mz_bool status, created_new_archive = MZ_FALSE; + mz_zip_archive zip_archive; + struct MZ_FILE_STAT_STRUCT file_stat; + mz_zip_error actual_err = MZ_ZIP_NO_ERROR; + + mz_zip_zero_struct(&zip_archive); + if ((int)level_and_flags < 0) + level_and_flags = MZ_DEFAULT_LEVEL; + + if ((!pZip_filename) || (!pArchive_name) || ((buf_size) && (!pBuf)) || ((comment_size) && (!pComment)) || ((level_and_flags & 0xF) > MZ_UBER_COMPRESSION)) + { + if (pErr) + *pErr = MZ_ZIP_INVALID_PARAMETER; + return MZ_FALSE; + } + + if (!mz_zip_writer_validate_archive_name(pArchive_name)) + { + if (pErr) + *pErr = MZ_ZIP_INVALID_FILENAME; + return MZ_FALSE; + } + + /* Important: The regular non-64 bit version of stat() can fail here if the file is very large, which could cause the archive to be overwritten. */ + /* So be sure to compile with _LARGEFILE64_SOURCE 1 */ + if (MZ_FILE_STAT(pZip_filename, &file_stat) != 0) + { + /* Create a new archive. */ + if (!mz_zip_writer_init_file_v2(&zip_archive, pZip_filename, 0, level_and_flags)) + { + if (pErr) + *pErr = zip_archive.m_last_error; + return MZ_FALSE; + } + + created_new_archive = MZ_TRUE; + } + else + { + /* Append to an existing archive. */ + if (!mz_zip_reader_init_file_v2(&zip_archive, pZip_filename, level_and_flags | MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY, 0, 0)) + { + if (pErr) + *pErr = zip_archive.m_last_error; + return MZ_FALSE; + } + + if (!mz_zip_writer_init_from_reader_v2(&zip_archive, pZip_filename, level_and_flags)) + { + if (pErr) + *pErr = zip_archive.m_last_error; + + mz_zip_reader_end_internal(&zip_archive, MZ_FALSE); + + return MZ_FALSE; + } + } + + status = mz_zip_writer_add_mem_ex(&zip_archive, pArchive_name, pBuf, buf_size, pComment, comment_size, level_and_flags, 0, 0); + actual_err = zip_archive.m_last_error; + + /* Always finalize, even if adding failed for some reason, so we have a valid central directory. (This may not always succeed, but we can try.) */ + if (!mz_zip_writer_finalize_archive(&zip_archive)) + { + if (!actual_err) + actual_err = zip_archive.m_last_error; + + status = MZ_FALSE; + } + + if (!mz_zip_writer_end_internal(&zip_archive, status)) + { + if (!actual_err) + actual_err = zip_archive.m_last_error; + + status = MZ_FALSE; + } + + if ((!status) && (created_new_archive)) + { + /* It's a new archive and something went wrong, so just delete it. */ + int ignoredStatus = MZ_DELETE_FILE(pZip_filename); + (void)ignoredStatus; + } + + if (pErr) + *pErr = actual_err; + + return status; +} + +void *mz_zip_extract_archive_file_to_heap_v2(const char *pZip_filename, const char *pArchive_name, const char *pComment, size_t *pSize, mz_uint flags, mz_zip_error *pErr) +{ + mz_uint32 file_index; + mz_zip_archive zip_archive; + void *p = NULL; + + if (pSize) + *pSize = 0; + + if ((!pZip_filename) || (!pArchive_name)) + { + if (pErr) + *pErr = MZ_ZIP_INVALID_PARAMETER; + + return NULL; + } + + mz_zip_zero_struct(&zip_archive); + if (!mz_zip_reader_init_file_v2(&zip_archive, pZip_filename, flags | MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY, 0, 0)) + { + if (pErr) + *pErr = zip_archive.m_last_error; + + return NULL; + } + + if (mz_zip_reader_locate_file_v2(&zip_archive, pArchive_name, pComment, flags, &file_index)) + { + p = mz_zip_reader_extract_to_heap(&zip_archive, file_index, pSize, flags); + } + + mz_zip_reader_end_internal(&zip_archive, p != NULL); + + if (pErr) + *pErr = zip_archive.m_last_error; + + return p; +} + +void *mz_zip_extract_archive_file_to_heap(const char *pZip_filename, const char *pArchive_name, size_t *pSize, mz_uint flags) +{ + return mz_zip_extract_archive_file_to_heap_v2(pZip_filename, pArchive_name, NULL, pSize, flags, NULL); +} + +#endif /* #ifndef MINIZ_NO_STDIO */ + +#endif /* #ifndef MINIZ_NO_ARCHIVE_WRITING_APIS */ + +/* ------------------- Misc utils */ + +mz_zip_mode mz_zip_get_mode(mz_zip_archive *pZip) +{ + return pZip ? pZip->m_zip_mode : MZ_ZIP_MODE_INVALID; +} + +mz_zip_type mz_zip_get_type(mz_zip_archive *pZip) +{ + return pZip ? pZip->m_zip_type : MZ_ZIP_TYPE_INVALID; +} + +mz_zip_error mz_zip_set_last_error(mz_zip_archive *pZip, mz_zip_error err_num) +{ + mz_zip_error prev_err; + + if (!pZip) + return MZ_ZIP_INVALID_PARAMETER; + + prev_err = pZip->m_last_error; + + pZip->m_last_error = err_num; + return prev_err; +} + +mz_zip_error mz_zip_peek_last_error(mz_zip_archive *pZip) +{ + if (!pZip) + return MZ_ZIP_INVALID_PARAMETER; + + return pZip->m_last_error; +} + +mz_zip_error mz_zip_clear_last_error(mz_zip_archive *pZip) +{ + return mz_zip_set_last_error(pZip, MZ_ZIP_NO_ERROR); +} + +mz_zip_error mz_zip_get_last_error(mz_zip_archive *pZip) +{ + mz_zip_error prev_err; + + if (!pZip) + return MZ_ZIP_INVALID_PARAMETER; + + prev_err = pZip->m_last_error; + + pZip->m_last_error = MZ_ZIP_NO_ERROR; + return prev_err; +} + +const char *mz_zip_get_error_string(mz_zip_error mz_err) +{ + switch (mz_err) + { + case MZ_ZIP_NO_ERROR: + return "no error"; + case MZ_ZIP_UNDEFINED_ERROR: + return "undefined error"; + case MZ_ZIP_TOO_MANY_FILES: + return "too many files"; + case MZ_ZIP_FILE_TOO_LARGE: + return "file too large"; + case MZ_ZIP_UNSUPPORTED_METHOD: + return "unsupported method"; + case MZ_ZIP_UNSUPPORTED_ENCRYPTION: + return "unsupported encryption"; + case MZ_ZIP_UNSUPPORTED_FEATURE: + return "unsupported feature"; + case MZ_ZIP_FAILED_FINDING_CENTRAL_DIR: + return "failed finding central directory"; + case MZ_ZIP_NOT_AN_ARCHIVE: + return "not a ZIP archive"; + case MZ_ZIP_INVALID_HEADER_OR_CORRUPTED: + return "invalid header or archive is corrupted"; + case MZ_ZIP_UNSUPPORTED_MULTIDISK: + return "unsupported multidisk archive"; + case MZ_ZIP_DECOMPRESSION_FAILED: + return "decompression failed or archive is corrupted"; + case MZ_ZIP_COMPRESSION_FAILED: + return "compression failed"; + case MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE: + return "unexpected decompressed size"; + case MZ_ZIP_CRC_CHECK_FAILED: + return "CRC-32 check failed"; + case MZ_ZIP_UNSUPPORTED_CDIR_SIZE: + return "unsupported central directory size"; + case MZ_ZIP_ALLOC_FAILED: + return "allocation failed"; + case MZ_ZIP_FILE_OPEN_FAILED: + return "file open failed"; + case MZ_ZIP_FILE_CREATE_FAILED: + return "file create failed"; + case MZ_ZIP_FILE_WRITE_FAILED: + return "file write failed"; + case MZ_ZIP_FILE_READ_FAILED: + return "file read failed"; + case MZ_ZIP_FILE_CLOSE_FAILED: + return "file close failed"; + case MZ_ZIP_FILE_SEEK_FAILED: + return "file seek failed"; + case MZ_ZIP_FILE_STAT_FAILED: + return "file stat failed"; + case MZ_ZIP_INVALID_PARAMETER: + return "invalid parameter"; + case MZ_ZIP_INVALID_FILENAME: + return "invalid filename"; + case MZ_ZIP_BUF_TOO_SMALL: + return "buffer too small"; + case MZ_ZIP_INTERNAL_ERROR: + return "internal error"; + case MZ_ZIP_FILE_NOT_FOUND: + return "file not found"; + case MZ_ZIP_ARCHIVE_TOO_LARGE: + return "archive is too large"; + case MZ_ZIP_VALIDATION_FAILED: + return "validation failed"; + case MZ_ZIP_WRITE_CALLBACK_FAILED: + return "write calledback failed"; + default: + break; + } + + return "unknown error"; +} + +/* Note: Just because the archive is not zip64 doesn't necessarily mean it doesn't have Zip64 extended information extra field, argh. */ +mz_bool mz_zip_is_zip64(mz_zip_archive *pZip) +{ + if ((!pZip) || (!pZip->m_pState)) + return MZ_FALSE; + + return pZip->m_pState->m_zip64; +} + +size_t mz_zip_get_central_dir_size(mz_zip_archive *pZip) +{ + if ((!pZip) || (!pZip->m_pState)) + return 0; + + return pZip->m_pState->m_central_dir.m_size; +} + +mz_uint mz_zip_reader_get_num_files(mz_zip_archive *pZip) +{ + return pZip ? pZip->m_total_files : 0; +} + +mz_uint64 mz_zip_get_archive_size(mz_zip_archive *pZip) +{ + if (!pZip) + return 0; + return pZip->m_archive_size; +} + +mz_uint64 mz_zip_get_archive_file_start_offset(mz_zip_archive *pZip) +{ + if ((!pZip) || (!pZip->m_pState)) + return 0; + return pZip->m_pState->m_file_archive_start_ofs; +} + +MZ_FILE *mz_zip_get_cfile(mz_zip_archive *pZip) +{ + if ((!pZip) || (!pZip->m_pState)) + return 0; + return pZip->m_pState->m_pFile; +} + +size_t mz_zip_read_archive_data(mz_zip_archive *pZip, mz_uint64 file_ofs, void *pBuf, size_t n) +{ + if ((!pZip) || (!pZip->m_pState) || (!pBuf) || (!pZip->m_pRead)) + return mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + + return pZip->m_pRead(pZip->m_pIO_opaque, file_ofs, pBuf, n); +} + +mz_uint mz_zip_reader_get_filename(mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_uint filename_buf_size) +{ + mz_uint n; + const mz_uint8 *p = mz_zip_get_cdh(pZip, file_index); + if (!p) + { + if (filename_buf_size) + pFilename[0] = '\0'; + mz_zip_set_error(pZip, MZ_ZIP_INVALID_PARAMETER); + return 0; + } + n = MZ_READ_LE16(p + MZ_ZIP_CDH_FILENAME_LEN_OFS); + if (filename_buf_size) + { + n = MZ_MIN(n, filename_buf_size - 1); + memcpy(pFilename, p + MZ_ZIP_CENTRAL_DIR_HEADER_SIZE, n); + pFilename[n] = '\0'; + } + return n + 1; +} + +mz_bool mz_zip_reader_file_stat(mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat *pStat) +{ + return mz_zip_file_stat_internal(pZip, file_index, mz_zip_get_cdh(pZip, file_index), pStat, NULL); +} + +mz_bool mz_zip_end(mz_zip_archive *pZip) +{ + if (!pZip) + return MZ_FALSE; + + if (pZip->m_zip_mode == MZ_ZIP_MODE_READING) + return mz_zip_reader_end(pZip); +#ifndef MINIZ_NO_ARCHIVE_WRITING_APIS + else if ((pZip->m_zip_mode == MZ_ZIP_MODE_WRITING) || (pZip->m_zip_mode == MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED)) + return mz_zip_writer_end(pZip); +#endif + + return MZ_FALSE; +} + +#ifdef __cplusplus +} +#endif + +#endif /*#ifndef MINIZ_NO_ARCHIVE_APIS*/ diff --git a/src/external/miniz/miniz.h b/src/external/miniz/miniz.h new file mode 100644 index 000000000..86fac4c32 --- /dev/null +++ b/src/external/miniz/miniz.h @@ -0,0 +1,1328 @@ +/* miniz.c 2.0.6 beta - public domain deflate/inflate, zlib-subset, ZIP reading/writing/appending, PNG writing + See "unlicense" statement at the end of this file. + Rich Geldreich , last updated Oct. 13, 2013 + Implements RFC 1950: http://www.ietf.org/rfc/rfc1950.txt and RFC 1951: http://www.ietf.org/rfc/rfc1951.txt + + Most API's defined in miniz.c are optional. For example, to disable the archive related functions just define + MINIZ_NO_ARCHIVE_APIS, or to get rid of all stdio usage define MINIZ_NO_STDIO (see the list below for more macros). + + * Low-level Deflate/Inflate implementation notes: + + Compression: Use the "tdefl" API's. The compressor supports raw, static, and dynamic blocks, lazy or + greedy parsing, match length filtering, RLE-only, and Huffman-only streams. It performs and compresses + approximately as well as zlib. + + Decompression: Use the "tinfl" API's. The entire decompressor is implemented as a single function + coroutine: see tinfl_decompress(). It supports decompression into a 32KB (or larger power of 2) wrapping buffer, or into a memory + block large enough to hold the entire file. + + The low-level tdefl/tinfl API's do not make any use of dynamic memory allocation. + + * zlib-style API notes: + + miniz.c implements a fairly large subset of zlib. There's enough functionality present for it to be a drop-in + zlib replacement in many apps: + The z_stream struct, optional memory allocation callbacks + deflateInit/deflateInit2/deflate/deflateReset/deflateEnd/deflateBound + inflateInit/inflateInit2/inflate/inflateEnd + compress, compress2, compressBound, uncompress + CRC-32, Adler-32 - Using modern, minimal code size, CPU cache friendly routines. + Supports raw deflate streams or standard zlib streams with adler-32 checking. + + Limitations: + The callback API's are not implemented yet. No support for gzip headers or zlib static dictionaries. + I've tried to closely emulate zlib's various flavors of stream flushing and return status codes, but + there are no guarantees that miniz.c pulls this off perfectly. + + * PNG writing: See the tdefl_write_image_to_png_file_in_memory() function, originally written by + Alex Evans. Supports 1-4 bytes/pixel images. + + * ZIP archive API notes: + + The ZIP archive API's where designed with simplicity and efficiency in mind, with just enough abstraction to + get the job done with minimal fuss. There are simple API's to retrieve file information, read files from + existing archives, create new archives, append new files to existing archives, or clone archive data from + one archive to another. It supports archives located in memory or the heap, on disk (using stdio.h), + or you can specify custom file read/write callbacks. + + - Archive reading: Just call this function to read a single file from a disk archive: + + void *mz_zip_extract_archive_file_to_heap(const char *pZip_filename, const char *pArchive_name, + size_t *pSize, mz_uint zip_flags); + + For more complex cases, use the "mz_zip_reader" functions. Upon opening an archive, the entire central + directory is located and read as-is into memory, and subsequent file access only occurs when reading individual files. + + - Archives file scanning: The simple way is to use this function to scan a loaded archive for a specific file: + + int mz_zip_reader_locate_file(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags); + + The locate operation can optionally check file comments too, which (as one example) can be used to identify + multiple versions of the same file in an archive. This function uses a simple linear search through the central + directory, so it's not very fast. + + Alternately, you can iterate through all the files in an archive (using mz_zip_reader_get_num_files()) and + retrieve detailed info on each file by calling mz_zip_reader_file_stat(). + + - Archive creation: Use the "mz_zip_writer" functions. The ZIP writer immediately writes compressed file data + to disk and builds an exact image of the central directory in memory. The central directory image is written + all at once at the end of the archive file when the archive is finalized. + + The archive writer can optionally align each file's local header and file data to any power of 2 alignment, + which can be useful when the archive will be read from optical media. Also, the writer supports placing + arbitrary data blobs at the very beginning of ZIP archives. Archives written using either feature are still + readable by any ZIP tool. + + - Archive appending: The simple way to add a single file to an archive is to call this function: + + mz_bool mz_zip_add_mem_to_archive_file_in_place(const char *pZip_filename, const char *pArchive_name, + const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags); + + The archive will be created if it doesn't already exist, otherwise it'll be appended to. + Note the appending is done in-place and is not an atomic operation, so if something goes wrong + during the operation it's possible the archive could be left without a central directory (although the local + file headers and file data will be fine, so the archive will be recoverable). + + For more complex archive modification scenarios: + 1. The safest way is to use a mz_zip_reader to read the existing archive, cloning only those bits you want to + preserve into a new archive using using the mz_zip_writer_add_from_zip_reader() function (which compiles the + compressed file data as-is). When you're done, delete the old archive and rename the newly written archive, and + you're done. This is safe but requires a bunch of temporary disk space or heap memory. + + 2. Or, you can convert an mz_zip_reader in-place to an mz_zip_writer using mz_zip_writer_init_from_reader(), + append new files as needed, then finalize the archive which will write an updated central directory to the + original archive. (This is basically what mz_zip_add_mem_to_archive_file_in_place() does.) There's a + possibility that the archive's central directory could be lost with this method if anything goes wrong, though. + + - ZIP archive support limitations: + No zip64 or spanning support. Extraction functions can only handle unencrypted, stored or deflated files. + Requires streams capable of seeking. + + * This is a header file library, like stb_image.c. To get only a header file, either cut and paste the + below header, or create miniz.h, #define MINIZ_HEADER_FILE_ONLY, and then include miniz.c from it. + + * Important: For best perf. be sure to customize the below macros for your target platform: + #define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 1 + #define MINIZ_LITTLE_ENDIAN 1 + #define MINIZ_HAS_64BIT_REGISTERS 1 + + * On platforms using glibc, Be sure to "#define _LARGEFILE64_SOURCE 1" before including miniz.c to ensure miniz + uses the 64-bit variants: fopen64(), stat64(), etc. Otherwise you won't be able to process large files + (i.e. 32-bit stat() fails for me on files > 0x7FFFFFFF bytes). +*/ +#pragma once + + + + + +/* Defines to completely disable specific portions of miniz.c: + If all macros here are defined the only functionality remaining will be CRC-32, adler-32, tinfl, and tdefl. */ + +/* Define MINIZ_NO_STDIO to disable all usage and any functions which rely on stdio for file I/O. */ +/*#define MINIZ_NO_STDIO */ + +/* If MINIZ_NO_TIME is specified then the ZIP archive functions will not be able to get the current time, or */ +/* get/set file times, and the C run-time funcs that get/set times won't be called. */ +/* The current downside is the times written to your archives will be from 1979. */ +/*#define MINIZ_NO_TIME */ + +/* Define MINIZ_NO_ARCHIVE_APIS to disable all ZIP archive API's. */ +/*#define MINIZ_NO_ARCHIVE_APIS */ + +/* Define MINIZ_NO_ARCHIVE_WRITING_APIS to disable all writing related ZIP archive API's. */ +/*#define MINIZ_NO_ARCHIVE_WRITING_APIS */ + +/* Define MINIZ_NO_ZLIB_APIS to remove all ZLIB-style compression/decompression API's. */ +/*#define MINIZ_NO_ZLIB_APIS */ + +/* Define MINIZ_NO_ZLIB_COMPATIBLE_NAME to disable zlib names, to prevent conflicts against stock zlib. */ +/*#define MINIZ_NO_ZLIB_COMPATIBLE_NAMES */ + +/* Define MINIZ_NO_MALLOC to disable all calls to malloc, free, and realloc. + Note if MINIZ_NO_MALLOC is defined then the user must always provide custom user alloc/free/realloc + callbacks to the zlib and archive API's, and a few stand-alone helper API's which don't provide custom user + functions (such as tdefl_compress_mem_to_heap() and tinfl_decompress_mem_to_heap()) won't work. */ +/*#define MINIZ_NO_MALLOC */ + +#if defined(__TINYC__) && (defined(__linux) || defined(__linux__)) +/* TODO: Work around "error: include file 'sys\utime.h' when compiling with tcc on Linux */ +#define MINIZ_NO_TIME +#endif + +#include + +#if !defined(MINIZ_NO_TIME) && !defined(MINIZ_NO_ARCHIVE_APIS) +#include +#endif + +#if defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || defined(__i386) || defined(__i486__) || defined(__i486) || defined(i386) || defined(__ia64__) || defined(__x86_64__) +/* MINIZ_X86_OR_X64_CPU is only used to help set the below macros. */ +#define MINIZ_X86_OR_X64_CPU 1 +#else +#define MINIZ_X86_OR_X64_CPU 0 +#endif + +#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || MINIZ_X86_OR_X64_CPU +/* Set MINIZ_LITTLE_ENDIAN to 1 if the processor is little endian. */ +#define MINIZ_LITTLE_ENDIAN 1 +#else +#define MINIZ_LITTLE_ENDIAN 0 +#endif + +#if MINIZ_X86_OR_X64_CPU +/* Set MINIZ_USE_UNALIGNED_LOADS_AND_STORES to 1 on CPU's that permit efficient integer loads and stores from unaligned addresses. */ +#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 1 +#else +#define MINIZ_USE_UNALIGNED_LOADS_AND_STORES 0 +#endif + +#if defined(_M_X64) || defined(_WIN64) || defined(__MINGW64__) || defined(_LP64) || defined(__LP64__) || defined(__ia64__) || defined(__x86_64__) +/* Set MINIZ_HAS_64BIT_REGISTERS to 1 if operations on 64-bit integers are reasonably fast (and don't involve compiler generated calls to helper functions). */ +#define MINIZ_HAS_64BIT_REGISTERS 1 +#else +#define MINIZ_HAS_64BIT_REGISTERS 0 +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/* ------------------- zlib-style API Definitions. */ + +/* For more compatibility with zlib, miniz.c uses unsigned long for some parameters/struct members. Beware: mz_ulong can be either 32 or 64-bits! */ +typedef unsigned long mz_ulong; + +/* mz_free() internally uses the MZ_FREE() macro (which by default calls free() unless you've modified the MZ_MALLOC macro) to release a block allocated from the heap. */ +void mz_free(void *p); + +#define MZ_ADLER32_INIT (1) +/* mz_adler32() returns the initial adler-32 value to use when called with ptr==NULL. */ +mz_ulong mz_adler32(mz_ulong adler, const unsigned char *ptr, size_t buf_len); + +#define MZ_CRC32_INIT (0) +/* mz_crc32() returns the initial CRC-32 value to use when called with ptr==NULL. */ +mz_ulong mz_crc32(mz_ulong crc, const unsigned char *ptr, size_t buf_len); + +/* Compression strategies. */ +enum +{ + MZ_DEFAULT_STRATEGY = 0, + MZ_FILTERED = 1, + MZ_HUFFMAN_ONLY = 2, + MZ_RLE = 3, + MZ_FIXED = 4 +}; + +/* Method */ +#define MZ_DEFLATED 8 + +/* Heap allocation callbacks. +Note that mz_alloc_func parameter types purpsosely differ from zlib's: items/size is size_t, not unsigned long. */ +typedef void *(*mz_alloc_func)(void *opaque, size_t items, size_t size); +typedef void (*mz_free_func)(void *opaque, void *address); +typedef void *(*mz_realloc_func)(void *opaque, void *address, size_t items, size_t size); + +/* Compression levels: 0-9 are the standard zlib-style levels, 10 is best possible compression (not zlib compatible, and may be very slow), MZ_DEFAULT_COMPRESSION=MZ_DEFAULT_LEVEL. */ +enum +{ + MZ_NO_COMPRESSION = 0, + MZ_BEST_SPEED = 1, + MZ_BEST_COMPRESSION = 9, + MZ_UBER_COMPRESSION = 10, + MZ_DEFAULT_LEVEL = 6, + MZ_DEFAULT_COMPRESSION = -1 +}; + +#define MZ_VERSION "10.0.1" +#define MZ_VERNUM 0xA010 +#define MZ_VER_MAJOR 10 +#define MZ_VER_MINOR 0 +#define MZ_VER_REVISION 1 +#define MZ_VER_SUBREVISION 0 + +#ifndef MINIZ_NO_ZLIB_APIS + +/* Flush values. For typical usage you only need MZ_NO_FLUSH and MZ_FINISH. The other values are for advanced use (refer to the zlib docs). */ +enum +{ + MZ_NO_FLUSH = 0, + MZ_PARTIAL_FLUSH = 1, + MZ_SYNC_FLUSH = 2, + MZ_FULL_FLUSH = 3, + MZ_FINISH = 4, + MZ_BLOCK = 5 +}; + +/* Return status codes. MZ_PARAM_ERROR is non-standard. */ +enum +{ + MZ_OK = 0, + MZ_STREAM_END = 1, + MZ_NEED_DICT = 2, + MZ_ERRNO = -1, + MZ_STREAM_ERROR = -2, + MZ_DATA_ERROR = -3, + MZ_MEM_ERROR = -4, + MZ_BUF_ERROR = -5, + MZ_VERSION_ERROR = -6, + MZ_PARAM_ERROR = -10000 +}; + +/* Window bits */ +#define MZ_DEFAULT_WINDOW_BITS 15 + +struct mz_internal_state; + +/* Compression/decompression stream struct. */ +typedef struct mz_stream_s +{ + const unsigned char *next_in; /* pointer to next byte to read */ + unsigned int avail_in; /* number of bytes available at next_in */ + mz_ulong total_in; /* total number of bytes consumed so far */ + + unsigned char *next_out; /* pointer to next byte to write */ + unsigned int avail_out; /* number of bytes that can be written to next_out */ + mz_ulong total_out; /* total number of bytes produced so far */ + + char *msg; /* error msg (unused) */ + struct mz_internal_state *state; /* internal state, allocated by zalloc/zfree */ + + mz_alloc_func zalloc; /* optional heap allocation function (defaults to malloc) */ + mz_free_func zfree; /* optional heap free function (defaults to free) */ + void *opaque; /* heap alloc function user pointer */ + + int data_type; /* data_type (unused) */ + mz_ulong adler; /* adler32 of the source or uncompressed data */ + mz_ulong reserved; /* not used */ +} mz_stream; + +typedef mz_stream *mz_streamp; + +/* Returns the version string of miniz.c. */ +const char *mz_version(void); + +/* mz_deflateInit() initializes a compressor with default options: */ +/* Parameters: */ +/* pStream must point to an initialized mz_stream struct. */ +/* level must be between [MZ_NO_COMPRESSION, MZ_BEST_COMPRESSION]. */ +/* level 1 enables a specially optimized compression function that's been optimized purely for performance, not ratio. */ +/* (This special func. is currently only enabled when MINIZ_USE_UNALIGNED_LOADS_AND_STORES and MINIZ_LITTLE_ENDIAN are defined.) */ +/* Return values: */ +/* MZ_OK on success. */ +/* MZ_STREAM_ERROR if the stream is bogus. */ +/* MZ_PARAM_ERROR if the input parameters are bogus. */ +/* MZ_MEM_ERROR on out of memory. */ +int mz_deflateInit(mz_streamp pStream, int level); + +/* mz_deflateInit2() is like mz_deflate(), except with more control: */ +/* Additional parameters: */ +/* method must be MZ_DEFLATED */ +/* window_bits must be MZ_DEFAULT_WINDOW_BITS (to wrap the deflate stream with zlib header/adler-32 footer) or -MZ_DEFAULT_WINDOW_BITS (raw deflate/no header or footer) */ +/* mem_level must be between [1, 9] (it's checked but ignored by miniz.c) */ +int mz_deflateInit2(mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy); + +/* Quickly resets a compressor without having to reallocate anything. Same as calling mz_deflateEnd() followed by mz_deflateInit()/mz_deflateInit2(). */ +int mz_deflateReset(mz_streamp pStream); + +/* mz_deflate() compresses the input to output, consuming as much of the input and producing as much output as possible. */ +/* Parameters: */ +/* pStream is the stream to read from and write to. You must initialize/update the next_in, avail_in, next_out, and avail_out members. */ +/* flush may be MZ_NO_FLUSH, MZ_PARTIAL_FLUSH/MZ_SYNC_FLUSH, MZ_FULL_FLUSH, or MZ_FINISH. */ +/* Return values: */ +/* MZ_OK on success (when flushing, or if more input is needed but not available, and/or there's more output to be written but the output buffer is full). */ +/* MZ_STREAM_END if all input has been consumed and all output bytes have been written. Don't call mz_deflate() on the stream anymore. */ +/* MZ_STREAM_ERROR if the stream is bogus. */ +/* MZ_PARAM_ERROR if one of the parameters is invalid. */ +/* MZ_BUF_ERROR if no forward progress is possible because the input and/or output buffers are empty. (Fill up the input buffer or free up some output space and try again.) */ +int mz_deflate(mz_streamp pStream, int flush); + +/* mz_deflateEnd() deinitializes a compressor: */ +/* Return values: */ +/* MZ_OK on success. */ +/* MZ_STREAM_ERROR if the stream is bogus. */ +int mz_deflateEnd(mz_streamp pStream); + +/* mz_deflateBound() returns a (very) conservative upper bound on the amount of data that could be generated by deflate(), assuming flush is set to only MZ_NO_FLUSH or MZ_FINISH. */ +mz_ulong mz_deflateBound(mz_streamp pStream, mz_ulong source_len); + +/* Single-call compression functions mz_compress() and mz_compress2(): */ +/* Returns MZ_OK on success, or one of the error codes from mz_deflate() on failure. */ +int mz_compress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len); +int mz_compress2(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level); + +/* mz_compressBound() returns a (very) conservative upper bound on the amount of data that could be generated by calling mz_compress(). */ +mz_ulong mz_compressBound(mz_ulong source_len); + +/* Initializes a decompressor. */ +int mz_inflateInit(mz_streamp pStream); + +/* mz_inflateInit2() is like mz_inflateInit() with an additional option that controls the window size and whether or not the stream has been wrapped with a zlib header/footer: */ +/* window_bits must be MZ_DEFAULT_WINDOW_BITS (to parse zlib header/footer) or -MZ_DEFAULT_WINDOW_BITS (raw deflate). */ +int mz_inflateInit2(mz_streamp pStream, int window_bits); + +/* Decompresses the input stream to the output, consuming only as much of the input as needed, and writing as much to the output as possible. */ +/* Parameters: */ +/* pStream is the stream to read from and write to. You must initialize/update the next_in, avail_in, next_out, and avail_out members. */ +/* flush may be MZ_NO_FLUSH, MZ_SYNC_FLUSH, or MZ_FINISH. */ +/* On the first call, if flush is MZ_FINISH it's assumed the input and output buffers are both sized large enough to decompress the entire stream in a single call (this is slightly faster). */ +/* MZ_FINISH implies that there are no more source bytes available beside what's already in the input buffer, and that the output buffer is large enough to hold the rest of the decompressed data. */ +/* Return values: */ +/* MZ_OK on success. Either more input is needed but not available, and/or there's more output to be written but the output buffer is full. */ +/* MZ_STREAM_END if all needed input has been consumed and all output bytes have been written. For zlib streams, the adler-32 of the decompressed data has also been verified. */ +/* MZ_STREAM_ERROR if the stream is bogus. */ +/* MZ_DATA_ERROR if the deflate stream is invalid. */ +/* MZ_PARAM_ERROR if one of the parameters is invalid. */ +/* MZ_BUF_ERROR if no forward progress is possible because the input buffer is empty but the inflater needs more input to continue, or if the output buffer is not large enough. Call mz_inflate() again */ +/* with more input data, or with more room in the output buffer (except when using single call decompression, described above). */ +int mz_inflate(mz_streamp pStream, int flush); + +/* Deinitializes a decompressor. */ +int mz_inflateEnd(mz_streamp pStream); + +/* Single-call decompression. */ +/* Returns MZ_OK on success, or one of the error codes from mz_inflate() on failure. */ +int mz_uncompress(unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len); + +/* Returns a string description of the specified error code, or NULL if the error code is invalid. */ +const char *mz_error(int err); + +/* Redefine zlib-compatible names to miniz equivalents, so miniz.c can be used as a drop-in replacement for the subset of zlib that miniz.c supports. */ +/* Define MINIZ_NO_ZLIB_COMPATIBLE_NAMES to disable zlib-compatibility if you use zlib in the same project. */ +#ifndef MINIZ_NO_ZLIB_COMPATIBLE_NAMES +typedef unsigned char Byte; +typedef unsigned int uInt; +typedef mz_ulong uLong; +typedef Byte Bytef; +typedef uInt uIntf; +typedef char charf; +typedef int intf; +typedef void *voidpf; +typedef uLong uLongf; +typedef void *voidp; +typedef void *const voidpc; +#define Z_NULL 0 +#define Z_NO_FLUSH MZ_NO_FLUSH +#define Z_PARTIAL_FLUSH MZ_PARTIAL_FLUSH +#define Z_SYNC_FLUSH MZ_SYNC_FLUSH +#define Z_FULL_FLUSH MZ_FULL_FLUSH +#define Z_FINISH MZ_FINISH +#define Z_BLOCK MZ_BLOCK +#define Z_OK MZ_OK +#define Z_STREAM_END MZ_STREAM_END +#define Z_NEED_DICT MZ_NEED_DICT +#define Z_ERRNO MZ_ERRNO +#define Z_STREAM_ERROR MZ_STREAM_ERROR +#define Z_DATA_ERROR MZ_DATA_ERROR +#define Z_MEM_ERROR MZ_MEM_ERROR +#define Z_BUF_ERROR MZ_BUF_ERROR +#define Z_VERSION_ERROR MZ_VERSION_ERROR +#define Z_PARAM_ERROR MZ_PARAM_ERROR +#define Z_NO_COMPRESSION MZ_NO_COMPRESSION +#define Z_BEST_SPEED MZ_BEST_SPEED +#define Z_BEST_COMPRESSION MZ_BEST_COMPRESSION +#define Z_DEFAULT_COMPRESSION MZ_DEFAULT_COMPRESSION +#define Z_DEFAULT_STRATEGY MZ_DEFAULT_STRATEGY +#define Z_FILTERED MZ_FILTERED +#define Z_HUFFMAN_ONLY MZ_HUFFMAN_ONLY +#define Z_RLE MZ_RLE +#define Z_FIXED MZ_FIXED +#define Z_DEFLATED MZ_DEFLATED +#define Z_DEFAULT_WINDOW_BITS MZ_DEFAULT_WINDOW_BITS +#define alloc_func mz_alloc_func +#define free_func mz_free_func +#define internal_state mz_internal_state +#define z_stream mz_stream +#define deflateInit mz_deflateInit +#define deflateInit2 mz_deflateInit2 +#define deflateReset mz_deflateReset +#define deflate mz_deflate +#define deflateEnd mz_deflateEnd +#define deflateBound mz_deflateBound +#define compress mz_compress +#define compress2 mz_compress2 +#define compressBound mz_compressBound +#define inflateInit mz_inflateInit +#define inflateInit2 mz_inflateInit2 +#define inflate mz_inflate +#define inflateEnd mz_inflateEnd +#define uncompress mz_uncompress +#define crc32 mz_crc32 +#define adler32 mz_adler32 +#define MAX_WBITS 15 +#define MAX_MEM_LEVEL 9 +#define zError mz_error +#define ZLIB_VERSION MZ_VERSION +#define ZLIB_VERNUM MZ_VERNUM +#define ZLIB_VER_MAJOR MZ_VER_MAJOR +#define ZLIB_VER_MINOR MZ_VER_MINOR +#define ZLIB_VER_REVISION MZ_VER_REVISION +#define ZLIB_VER_SUBREVISION MZ_VER_SUBREVISION +#define zlibVersion mz_version +#define zlib_version mz_version() +#endif /* #ifndef MINIZ_NO_ZLIB_COMPATIBLE_NAMES */ + +#endif /* MINIZ_NO_ZLIB_APIS */ + +#ifdef __cplusplus +} +#endif +#pragma once +#include +#include +#include +#include + +/* ------------------- Types and macros */ +typedef unsigned char mz_uint8; +typedef signed short mz_int16; +typedef unsigned short mz_uint16; +typedef unsigned int mz_uint32; +typedef unsigned int mz_uint; +typedef int64_t mz_int64; +typedef uint64_t mz_uint64; +typedef int mz_bool; + +#define MZ_FALSE (0) +#define MZ_TRUE (1) + +/* Works around MSVC's spammy "warning C4127: conditional expression is constant" message. */ +#ifdef _MSC_VER +#define MZ_MACRO_END while (0, 0) +#else +#define MZ_MACRO_END while (0) +#endif + +#ifdef MINIZ_NO_STDIO +#define MZ_FILE void * +#else +#include +#define MZ_FILE FILE +#endif /* #ifdef MINIZ_NO_STDIO */ + +#ifdef MINIZ_NO_TIME +typedef struct mz_dummy_time_t_tag +{ + int m_dummy; +} mz_dummy_time_t; +#define MZ_TIME_T mz_dummy_time_t +#else +#define MZ_TIME_T time_t +#endif + +#define MZ_ASSERT(x) assert(x) + +#ifdef MINIZ_NO_MALLOC +#define MZ_MALLOC(x) NULL +#define MZ_FREE(x) (void)x, ((void)0) +#define MZ_REALLOC(p, x) NULL +#else +#define MZ_MALLOC(x) malloc(x) +#define MZ_FREE(x) free(x) +#define MZ_REALLOC(p, x) realloc(p, x) +#endif + +#define MZ_MAX(a, b) (((a) > (b)) ? (a) : (b)) +#define MZ_MIN(a, b) (((a) < (b)) ? (a) : (b)) +#define MZ_CLEAR_OBJ(obj) memset(&(obj), 0, sizeof(obj)) + +#if MINIZ_USE_UNALIGNED_LOADS_AND_STORES && MINIZ_LITTLE_ENDIAN +#define MZ_READ_LE16(p) *((const mz_uint16 *)(p)) +#define MZ_READ_LE32(p) *((const mz_uint32 *)(p)) +#else +#define MZ_READ_LE16(p) ((mz_uint32)(((const mz_uint8 *)(p))[0]) | ((mz_uint32)(((const mz_uint8 *)(p))[1]) << 8U)) +#define MZ_READ_LE32(p) ((mz_uint32)(((const mz_uint8 *)(p))[0]) | ((mz_uint32)(((const mz_uint8 *)(p))[1]) << 8U) | ((mz_uint32)(((const mz_uint8 *)(p))[2]) << 16U) | ((mz_uint32)(((const mz_uint8 *)(p))[3]) << 24U)) +#endif + +#define MZ_READ_LE64(p) (((mz_uint64)MZ_READ_LE32(p)) | (((mz_uint64)MZ_READ_LE32((const mz_uint8 *)(p) + sizeof(mz_uint32))) << 32U)) + +#ifdef _MSC_VER +#define MZ_FORCEINLINE __forceinline +#elif defined(__GNUC__) +#define MZ_FORCEINLINE __inline__ __attribute__((__always_inline__)) +#else +#define MZ_FORCEINLINE inline +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +extern void *miniz_def_alloc_func(void *opaque, size_t items, size_t size); +extern void miniz_def_free_func(void *opaque, void *address); +extern void *miniz_def_realloc_func(void *opaque, void *address, size_t items, size_t size); + +#define MZ_UINT16_MAX (0xFFFFU) +#define MZ_UINT32_MAX (0xFFFFFFFFU) + +#ifdef __cplusplus +} +#endif +#pragma once + + +#ifdef __cplusplus +extern "C" { +#endif +/* ------------------- Low-level Compression API Definitions */ + +/* Set TDEFL_LESS_MEMORY to 1 to use less memory (compression will be slightly slower, and raw/dynamic blocks will be output more frequently). */ +#define TDEFL_LESS_MEMORY 0 + +/* tdefl_init() compression flags logically OR'd together (low 12 bits contain the max. number of probes per dictionary search): */ +/* TDEFL_DEFAULT_MAX_PROBES: The compressor defaults to 128 dictionary probes per dictionary search. 0=Huffman only, 1=Huffman+LZ (fastest/crap compression), 4095=Huffman+LZ (slowest/best compression). */ +enum +{ + TDEFL_HUFFMAN_ONLY = 0, + TDEFL_DEFAULT_MAX_PROBES = 128, + TDEFL_MAX_PROBES_MASK = 0xFFF +}; + +/* TDEFL_WRITE_ZLIB_HEADER: If set, the compressor outputs a zlib header before the deflate data, and the Adler-32 of the source data at the end. Otherwise, you'll get raw deflate data. */ +/* TDEFL_COMPUTE_ADLER32: Always compute the adler-32 of the input data (even when not writing zlib headers). */ +/* TDEFL_GREEDY_PARSING_FLAG: Set to use faster greedy parsing, instead of more efficient lazy parsing. */ +/* TDEFL_NONDETERMINISTIC_PARSING_FLAG: Enable to decrease the compressor's initialization time to the minimum, but the output may vary from run to run given the same input (depending on the contents of memory). */ +/* TDEFL_RLE_MATCHES: Only look for RLE matches (matches with a distance of 1) */ +/* TDEFL_FILTER_MATCHES: Discards matches <= 5 chars if enabled. */ +/* TDEFL_FORCE_ALL_STATIC_BLOCKS: Disable usage of optimized Huffman tables. */ +/* TDEFL_FORCE_ALL_RAW_BLOCKS: Only use raw (uncompressed) deflate blocks. */ +/* The low 12 bits are reserved to control the max # of hash probes per dictionary lookup (see TDEFL_MAX_PROBES_MASK). */ +enum +{ + TDEFL_WRITE_ZLIB_HEADER = 0x01000, + TDEFL_COMPUTE_ADLER32 = 0x02000, + TDEFL_GREEDY_PARSING_FLAG = 0x04000, + TDEFL_NONDETERMINISTIC_PARSING_FLAG = 0x08000, + TDEFL_RLE_MATCHES = 0x10000, + TDEFL_FILTER_MATCHES = 0x20000, + TDEFL_FORCE_ALL_STATIC_BLOCKS = 0x40000, + TDEFL_FORCE_ALL_RAW_BLOCKS = 0x80000 +}; + +/* High level compression functions: */ +/* tdefl_compress_mem_to_heap() compresses a block in memory to a heap block allocated via malloc(). */ +/* On entry: */ +/* pSrc_buf, src_buf_len: Pointer and size of source block to compress. */ +/* flags: The max match finder probes (default is 128) logically OR'd against the above flags. Higher probes are slower but improve compression. */ +/* On return: */ +/* Function returns a pointer to the compressed data, or NULL on failure. */ +/* *pOut_len will be set to the compressed data's size, which could be larger than src_buf_len on uncompressible data. */ +/* The caller must free() the returned block when it's no longer needed. */ +void *tdefl_compress_mem_to_heap(const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags); + +/* tdefl_compress_mem_to_mem() compresses a block in memory to another block in memory. */ +/* Returns 0 on failure. */ +size_t tdefl_compress_mem_to_mem(void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags); + +/* Compresses an image to a compressed PNG file in memory. */ +/* On entry: */ +/* pImage, w, h, and num_chans describe the image to compress. num_chans may be 1, 2, 3, or 4. */ +/* The image pitch in bytes per scanline will be w*num_chans. The leftmost pixel on the top scanline is stored first in memory. */ +/* level may range from [0,10], use MZ_NO_COMPRESSION, MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc. or a decent default is MZ_DEFAULT_LEVEL */ +/* If flip is true, the image will be flipped on the Y axis (useful for OpenGL apps). */ +/* On return: */ +/* Function returns a pointer to the compressed data, or NULL on failure. */ +/* *pLen_out will be set to the size of the PNG image file. */ +/* The caller must mz_free() the returned heap block (which will typically be larger than *pLen_out) when it's no longer needed. */ +void *tdefl_write_image_to_png_file_in_memory_ex(const void *pImage, int w, int h, int num_chans, size_t *pLen_out, mz_uint level, mz_bool flip); +void *tdefl_write_image_to_png_file_in_memory(const void *pImage, int w, int h, int num_chans, size_t *pLen_out); + +/* Output stream interface. The compressor uses this interface to write compressed data. It'll typically be called TDEFL_OUT_BUF_SIZE at a time. */ +typedef mz_bool (*tdefl_put_buf_func_ptr)(const void *pBuf, int len, void *pUser); + +/* tdefl_compress_mem_to_output() compresses a block to an output stream. The above helpers use this function internally. */ +mz_bool tdefl_compress_mem_to_output(const void *pBuf, size_t buf_len, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags); + +enum +{ + TDEFL_MAX_HUFF_TABLES = 3, + TDEFL_MAX_HUFF_SYMBOLS_0 = 288, + TDEFL_MAX_HUFF_SYMBOLS_1 = 32, + TDEFL_MAX_HUFF_SYMBOLS_2 = 19, + TDEFL_LZ_DICT_SIZE = 32768, + TDEFL_LZ_DICT_SIZE_MASK = TDEFL_LZ_DICT_SIZE - 1, + TDEFL_MIN_MATCH_LEN = 3, + TDEFL_MAX_MATCH_LEN = 258 +}; + +/* TDEFL_OUT_BUF_SIZE MUST be large enough to hold a single entire compressed output block (using static/fixed Huffman codes). */ +#if TDEFL_LESS_MEMORY +enum +{ + TDEFL_LZ_CODE_BUF_SIZE = 24 * 1024, + TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13) / 10, + TDEFL_MAX_HUFF_SYMBOLS = 288, + TDEFL_LZ_HASH_BITS = 12, + TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, + TDEFL_LZ_HASH_SHIFT = (TDEFL_LZ_HASH_BITS + 2) / 3, + TDEFL_LZ_HASH_SIZE = 1 << TDEFL_LZ_HASH_BITS +}; +#else +enum +{ + TDEFL_LZ_CODE_BUF_SIZE = 64 * 1024, + TDEFL_OUT_BUF_SIZE = (TDEFL_LZ_CODE_BUF_SIZE * 13) / 10, + TDEFL_MAX_HUFF_SYMBOLS = 288, + TDEFL_LZ_HASH_BITS = 15, + TDEFL_LEVEL1_HASH_SIZE_MASK = 4095, + TDEFL_LZ_HASH_SHIFT = (TDEFL_LZ_HASH_BITS + 2) / 3, + TDEFL_LZ_HASH_SIZE = 1 << TDEFL_LZ_HASH_BITS +}; +#endif + +/* The low-level tdefl functions below may be used directly if the above helper functions aren't flexible enough. The low-level functions don't make any heap allocations, unlike the above helper functions. */ +typedef enum { + TDEFL_STATUS_BAD_PARAM = -2, + TDEFL_STATUS_PUT_BUF_FAILED = -1, + TDEFL_STATUS_OKAY = 0, + TDEFL_STATUS_DONE = 1 +} tdefl_status; + +/* Must map to MZ_NO_FLUSH, MZ_SYNC_FLUSH, etc. enums */ +typedef enum { + TDEFL_NO_FLUSH = 0, + TDEFL_SYNC_FLUSH = 2, + TDEFL_FULL_FLUSH = 3, + TDEFL_FINISH = 4 +} tdefl_flush; + +/* tdefl's compression state structure. */ +typedef struct +{ + tdefl_put_buf_func_ptr m_pPut_buf_func; + void *m_pPut_buf_user; + mz_uint m_flags, m_max_probes[2]; + int m_greedy_parsing; + mz_uint m_adler32, m_lookahead_pos, m_lookahead_size, m_dict_size; + mz_uint8 *m_pLZ_code_buf, *m_pLZ_flags, *m_pOutput_buf, *m_pOutput_buf_end; + mz_uint m_num_flags_left, m_total_lz_bytes, m_lz_code_buf_dict_pos, m_bits_in, m_bit_buffer; + mz_uint m_saved_match_dist, m_saved_match_len, m_saved_lit, m_output_flush_ofs, m_output_flush_remaining, m_finished, m_block_index, m_wants_to_finish; + tdefl_status m_prev_return_status; + const void *m_pIn_buf; + void *m_pOut_buf; + size_t *m_pIn_buf_size, *m_pOut_buf_size; + tdefl_flush m_flush; + const mz_uint8 *m_pSrc; + size_t m_src_buf_left, m_out_buf_ofs; + mz_uint8 m_dict[TDEFL_LZ_DICT_SIZE + TDEFL_MAX_MATCH_LEN - 1]; + mz_uint16 m_huff_count[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS]; + mz_uint16 m_huff_codes[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS]; + mz_uint8 m_huff_code_sizes[TDEFL_MAX_HUFF_TABLES][TDEFL_MAX_HUFF_SYMBOLS]; + mz_uint8 m_lz_code_buf[TDEFL_LZ_CODE_BUF_SIZE]; + mz_uint16 m_next[TDEFL_LZ_DICT_SIZE]; + mz_uint16 m_hash[TDEFL_LZ_HASH_SIZE]; + mz_uint8 m_output_buf[TDEFL_OUT_BUF_SIZE]; +} tdefl_compressor; + +/* Initializes the compressor. */ +/* There is no corresponding deinit() function because the tdefl API's do not dynamically allocate memory. */ +/* pBut_buf_func: If NULL, output data will be supplied to the specified callback. In this case, the user should call the tdefl_compress_buffer() API for compression. */ +/* If pBut_buf_func is NULL the user should always call the tdefl_compress() API. */ +/* flags: See the above enums (TDEFL_HUFFMAN_ONLY, TDEFL_WRITE_ZLIB_HEADER, etc.) */ +tdefl_status tdefl_init(tdefl_compressor *d, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags); + +/* Compresses a block of data, consuming as much of the specified input buffer as possible, and writing as much compressed data to the specified output buffer as possible. */ +tdefl_status tdefl_compress(tdefl_compressor *d, const void *pIn_buf, size_t *pIn_buf_size, void *pOut_buf, size_t *pOut_buf_size, tdefl_flush flush); + +/* tdefl_compress_buffer() is only usable when the tdefl_init() is called with a non-NULL tdefl_put_buf_func_ptr. */ +/* tdefl_compress_buffer() always consumes the entire input buffer. */ +tdefl_status tdefl_compress_buffer(tdefl_compressor *d, const void *pIn_buf, size_t in_buf_size, tdefl_flush flush); + +tdefl_status tdefl_get_prev_return_status(tdefl_compressor *d); +mz_uint32 tdefl_get_adler32(tdefl_compressor *d); + +/* Create tdefl_compress() flags given zlib-style compression parameters. */ +/* level may range from [0,10] (where 10 is absolute max compression, but may be much slower on some files) */ +/* window_bits may be -15 (raw deflate) or 15 (zlib) */ +/* strategy may be either MZ_DEFAULT_STRATEGY, MZ_FILTERED, MZ_HUFFMAN_ONLY, MZ_RLE, or MZ_FIXED */ +mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int strategy); + +/* Allocate the tdefl_compressor structure in C so that */ +/* non-C language bindings to tdefl_ API don't need to worry about */ +/* structure size and allocation mechanism. */ +tdefl_compressor *tdefl_compressor_alloc(); +void tdefl_compressor_free(tdefl_compressor *pComp); + +#ifdef __cplusplus +} +#endif +#pragma once + +/* ------------------- Low-level Decompression API Definitions */ + +#ifdef __cplusplus +extern "C" { +#endif +/* Decompression flags used by tinfl_decompress(). */ +/* TINFL_FLAG_PARSE_ZLIB_HEADER: If set, the input has a valid zlib header and ends with an adler32 checksum (it's a valid zlib stream). Otherwise, the input is a raw deflate stream. */ +/* TINFL_FLAG_HAS_MORE_INPUT: If set, there are more input bytes available beyond the end of the supplied input buffer. If clear, the input buffer contains all remaining input. */ +/* TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF: If set, the output buffer is large enough to hold the entire decompressed stream. If clear, the output buffer is at least the size of the dictionary (typically 32KB). */ +/* TINFL_FLAG_COMPUTE_ADLER32: Force adler-32 checksum computation of the decompressed bytes. */ +enum +{ + TINFL_FLAG_PARSE_ZLIB_HEADER = 1, + TINFL_FLAG_HAS_MORE_INPUT = 2, + TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF = 4, + TINFL_FLAG_COMPUTE_ADLER32 = 8 +}; + +/* High level decompression functions: */ +/* tinfl_decompress_mem_to_heap() decompresses a block in memory to a heap block allocated via malloc(). */ +/* On entry: */ +/* pSrc_buf, src_buf_len: Pointer and size of the Deflate or zlib source data to decompress. */ +/* On return: */ +/* Function returns a pointer to the decompressed data, or NULL on failure. */ +/* *pOut_len will be set to the decompressed data's size, which could be larger than src_buf_len on uncompressible data. */ +/* The caller must call mz_free() on the returned block when it's no longer needed. */ +void *tinfl_decompress_mem_to_heap(const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags); + +/* tinfl_decompress_mem_to_mem() decompresses a block in memory to another block in memory. */ +/* Returns TINFL_DECOMPRESS_MEM_TO_MEM_FAILED on failure, or the number of bytes written on success. */ +#define TINFL_DECOMPRESS_MEM_TO_MEM_FAILED ((size_t)(-1)) +size_t tinfl_decompress_mem_to_mem(void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags); + +/* tinfl_decompress_mem_to_callback() decompresses a block in memory to an internal 32KB buffer, and a user provided callback function will be called to flush the buffer. */ +/* Returns 1 on success or 0 on failure. */ +typedef int (*tinfl_put_buf_func_ptr)(const void *pBuf, int len, void *pUser); +int tinfl_decompress_mem_to_callback(const void *pIn_buf, size_t *pIn_buf_size, tinfl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags); + +struct tinfl_decompressor_tag; +typedef struct tinfl_decompressor_tag tinfl_decompressor; + +/* Allocate the tinfl_decompressor structure in C so that */ +/* non-C language bindings to tinfl_ API don't need to worry about */ +/* structure size and allocation mechanism. */ + +tinfl_decompressor *tinfl_decompressor_alloc(); +void tinfl_decompressor_free(tinfl_decompressor *pDecomp); + +/* Max size of LZ dictionary. */ +#define TINFL_LZ_DICT_SIZE 32768 + +/* Return status. */ +typedef enum { + /* This flags indicates the inflator needs 1 or more input bytes to make forward progress, but the caller is indicating that no more are available. The compressed data */ + /* is probably corrupted. If you call the inflator again with more bytes it'll try to continue processing the input but this is a BAD sign (either the data is corrupted or you called it incorrectly). */ + /* If you call it again with no input you'll just get TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS again. */ + TINFL_STATUS_FAILED_CANNOT_MAKE_PROGRESS = -4, + + /* This flag indicates that one or more of the input parameters was obviously bogus. (You can try calling it again, but if you get this error the calling code is wrong.) */ + TINFL_STATUS_BAD_PARAM = -3, + + /* This flags indicate the inflator is finished but the adler32 check of the uncompressed data didn't match. If you call it again it'll return TINFL_STATUS_DONE. */ + TINFL_STATUS_ADLER32_MISMATCH = -2, + + /* This flags indicate the inflator has somehow failed (bad code, corrupted input, etc.). If you call it again without resetting via tinfl_init() it it'll just keep on returning the same status failure code. */ + TINFL_STATUS_FAILED = -1, + + /* Any status code less than TINFL_STATUS_DONE must indicate a failure. */ + + /* This flag indicates the inflator has returned every byte of uncompressed data that it can, has consumed every byte that it needed, has successfully reached the end of the deflate stream, and */ + /* if zlib headers and adler32 checking enabled that it has successfully checked the uncompressed data's adler32. If you call it again you'll just get TINFL_STATUS_DONE over and over again. */ + TINFL_STATUS_DONE = 0, + + /* This flag indicates the inflator MUST have more input data (even 1 byte) before it can make any more forward progress, or you need to clear the TINFL_FLAG_HAS_MORE_INPUT */ + /* flag on the next call if you don't have any more source data. If the source data was somehow corrupted it's also possible (but unlikely) for the inflator to keep on demanding input to */ + /* proceed, so be sure to properly set the TINFL_FLAG_HAS_MORE_INPUT flag. */ + TINFL_STATUS_NEEDS_MORE_INPUT = 1, + + /* This flag indicates the inflator definitely has 1 or more bytes of uncompressed data available, but it cannot write this data into the output buffer. */ + /* Note if the source compressed data was corrupted it's possible for the inflator to return a lot of uncompressed data to the caller. I've been assuming you know how much uncompressed data to expect */ + /* (either exact or worst case) and will stop calling the inflator and fail after receiving too much. In pure streaming scenarios where you have no idea how many bytes to expect this may not be possible */ + /* so I may need to add some code to address this. */ + TINFL_STATUS_HAS_MORE_OUTPUT = 2 +} tinfl_status; + +/* Initializes the decompressor to its initial state. */ +#define tinfl_init(r) \ + do \ + { \ + (r)->m_state = 0; \ + } \ + MZ_MACRO_END +#define tinfl_get_adler32(r) (r)->m_check_adler32 + +/* Main low-level decompressor coroutine function. This is the only function actually needed for decompression. All the other functions are just high-level helpers for improved usability. */ +/* This is a universal API, i.e. it can be used as a building block to build any desired higher level decompression API. In the limit case, it can be called once per every byte input or output. */ +tinfl_status tinfl_decompress(tinfl_decompressor *r, const mz_uint8 *pIn_buf_next, size_t *pIn_buf_size, mz_uint8 *pOut_buf_start, mz_uint8 *pOut_buf_next, size_t *pOut_buf_size, const mz_uint32 decomp_flags); + +/* Internal/private bits follow. */ +enum +{ + TINFL_MAX_HUFF_TABLES = 3, + TINFL_MAX_HUFF_SYMBOLS_0 = 288, + TINFL_MAX_HUFF_SYMBOLS_1 = 32, + TINFL_MAX_HUFF_SYMBOLS_2 = 19, + TINFL_FAST_LOOKUP_BITS = 10, + TINFL_FAST_LOOKUP_SIZE = 1 << TINFL_FAST_LOOKUP_BITS +}; + +typedef struct +{ + mz_uint8 m_code_size[TINFL_MAX_HUFF_SYMBOLS_0]; + mz_int16 m_look_up[TINFL_FAST_LOOKUP_SIZE], m_tree[TINFL_MAX_HUFF_SYMBOLS_0 * 2]; +} tinfl_huff_table; + +#if MINIZ_HAS_64BIT_REGISTERS +#define TINFL_USE_64BIT_BITBUF 1 +#else +#define TINFL_USE_64BIT_BITBUF 0 +#endif + +#if TINFL_USE_64BIT_BITBUF +typedef mz_uint64 tinfl_bit_buf_t; +#define TINFL_BITBUF_SIZE (64) +#else +typedef mz_uint32 tinfl_bit_buf_t; +#define TINFL_BITBUF_SIZE (32) +#endif + +struct tinfl_decompressor_tag +{ + mz_uint32 m_state, m_num_bits, m_zhdr0, m_zhdr1, m_z_adler32, m_final, m_type, m_check_adler32, m_dist, m_counter, m_num_extra, m_table_sizes[TINFL_MAX_HUFF_TABLES]; + tinfl_bit_buf_t m_bit_buf; + size_t m_dist_from_out_buf_start; + tinfl_huff_table m_tables[TINFL_MAX_HUFF_TABLES]; + mz_uint8 m_raw_header[4], m_len_codes[TINFL_MAX_HUFF_SYMBOLS_0 + TINFL_MAX_HUFF_SYMBOLS_1 + 137]; +}; + +#ifdef __cplusplus +} +#endif + +#pragma once + + +/* ------------------- ZIP archive reading/writing */ + +#ifndef MINIZ_NO_ARCHIVE_APIS + +#ifdef __cplusplus +extern "C" { +#endif + +enum +{ + /* Note: These enums can be reduced as needed to save memory or stack space - they are pretty conservative. */ + MZ_ZIP_MAX_IO_BUF_SIZE = 64 * 1024, + MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE = 512, + MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE = 512 +}; + +typedef struct +{ + /* Central directory file index. */ + mz_uint32 m_file_index; + + /* Byte offset of this entry in the archive's central directory. Note we currently only support up to UINT_MAX or less bytes in the central dir. */ + mz_uint64 m_central_dir_ofs; + + /* These fields are copied directly from the zip's central dir. */ + mz_uint16 m_version_made_by; + mz_uint16 m_version_needed; + mz_uint16 m_bit_flag; + mz_uint16 m_method; + +#ifndef MINIZ_NO_TIME + MZ_TIME_T m_time; +#endif + + /* CRC-32 of uncompressed data. */ + mz_uint32 m_crc32; + + /* File's compressed size. */ + mz_uint64 m_comp_size; + + /* File's uncompressed size. Note, I've seen some old archives where directory entries had 512 bytes for their uncompressed sizes, but when you try to unpack them you actually get 0 bytes. */ + mz_uint64 m_uncomp_size; + + /* Zip internal and external file attributes. */ + mz_uint16 m_internal_attr; + mz_uint32 m_external_attr; + + /* Entry's local header file offset in bytes. */ + mz_uint64 m_local_header_ofs; + + /* Size of comment in bytes. */ + mz_uint32 m_comment_size; + + /* MZ_TRUE if the entry appears to be a directory. */ + mz_bool m_is_directory; + + /* MZ_TRUE if the entry uses encryption/strong encryption (which miniz_zip doesn't support) */ + mz_bool m_is_encrypted; + + /* MZ_TRUE if the file is not encrypted, a patch file, and if it uses a compression method we support. */ + mz_bool m_is_supported; + + /* Filename. If string ends in '/' it's a subdirectory entry. */ + /* Guaranteed to be zero terminated, may be truncated to fit. */ + char m_filename[MZ_ZIP_MAX_ARCHIVE_FILENAME_SIZE]; + + /* Comment field. */ + /* Guaranteed to be zero terminated, may be truncated to fit. */ + char m_comment[MZ_ZIP_MAX_ARCHIVE_FILE_COMMENT_SIZE]; + +} mz_zip_archive_file_stat; + +typedef size_t (*mz_file_read_func)(void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n); +typedef size_t (*mz_file_write_func)(void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n); +typedef mz_bool (*mz_file_needs_keepalive)(void *pOpaque); + +struct mz_zip_internal_state_tag; +typedef struct mz_zip_internal_state_tag mz_zip_internal_state; + +typedef enum { + MZ_ZIP_MODE_INVALID = 0, + MZ_ZIP_MODE_READING = 1, + MZ_ZIP_MODE_WRITING = 2, + MZ_ZIP_MODE_WRITING_HAS_BEEN_FINALIZED = 3 +} mz_zip_mode; + +typedef enum { + MZ_ZIP_FLAG_CASE_SENSITIVE = 0x0100, + MZ_ZIP_FLAG_IGNORE_PATH = 0x0200, + MZ_ZIP_FLAG_COMPRESSED_DATA = 0x0400, + MZ_ZIP_FLAG_DO_NOT_SORT_CENTRAL_DIRECTORY = 0x0800, + MZ_ZIP_FLAG_VALIDATE_LOCATE_FILE_FLAG = 0x1000, /* if enabled, mz_zip_reader_locate_file() will be called on each file as its validated to ensure the func finds the file in the central dir (intended for testing) */ + MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY = 0x2000, /* validate the local headers, but don't decompress the entire file and check the crc32 */ + MZ_ZIP_FLAG_WRITE_ZIP64 = 0x4000, /* always use the zip64 file format, instead of the original zip file format with automatic switch to zip64. Use as flags parameter with mz_zip_writer_init*_v2 */ + MZ_ZIP_FLAG_WRITE_ALLOW_READING = 0x8000, + MZ_ZIP_FLAG_ASCII_FILENAME = 0x10000 +} mz_zip_flags; + +typedef enum { + MZ_ZIP_TYPE_INVALID = 0, + MZ_ZIP_TYPE_USER, + MZ_ZIP_TYPE_MEMORY, + MZ_ZIP_TYPE_HEAP, + MZ_ZIP_TYPE_FILE, + MZ_ZIP_TYPE_CFILE, + MZ_ZIP_TOTAL_TYPES +} mz_zip_type; + +/* miniz error codes. Be sure to update mz_zip_get_error_string() if you add or modify this enum. */ +typedef enum { + MZ_ZIP_NO_ERROR = 0, + MZ_ZIP_UNDEFINED_ERROR, + MZ_ZIP_TOO_MANY_FILES, + MZ_ZIP_FILE_TOO_LARGE, + MZ_ZIP_UNSUPPORTED_METHOD, + MZ_ZIP_UNSUPPORTED_ENCRYPTION, + MZ_ZIP_UNSUPPORTED_FEATURE, + MZ_ZIP_FAILED_FINDING_CENTRAL_DIR, + MZ_ZIP_NOT_AN_ARCHIVE, + MZ_ZIP_INVALID_HEADER_OR_CORRUPTED, + MZ_ZIP_UNSUPPORTED_MULTIDISK, + MZ_ZIP_DECOMPRESSION_FAILED, + MZ_ZIP_COMPRESSION_FAILED, + MZ_ZIP_UNEXPECTED_DECOMPRESSED_SIZE, + MZ_ZIP_CRC_CHECK_FAILED, + MZ_ZIP_UNSUPPORTED_CDIR_SIZE, + MZ_ZIP_ALLOC_FAILED, + MZ_ZIP_FILE_OPEN_FAILED, + MZ_ZIP_FILE_CREATE_FAILED, + MZ_ZIP_FILE_WRITE_FAILED, + MZ_ZIP_FILE_READ_FAILED, + MZ_ZIP_FILE_CLOSE_FAILED, + MZ_ZIP_FILE_SEEK_FAILED, + MZ_ZIP_FILE_STAT_FAILED, + MZ_ZIP_INVALID_PARAMETER, + MZ_ZIP_INVALID_FILENAME, + MZ_ZIP_BUF_TOO_SMALL, + MZ_ZIP_INTERNAL_ERROR, + MZ_ZIP_FILE_NOT_FOUND, + MZ_ZIP_ARCHIVE_TOO_LARGE, + MZ_ZIP_VALIDATION_FAILED, + MZ_ZIP_WRITE_CALLBACK_FAILED, + MZ_ZIP_TOTAL_ERRORS +} mz_zip_error; + +typedef struct +{ + mz_uint64 m_archive_size; + mz_uint64 m_central_directory_file_ofs; + + /* We only support up to UINT32_MAX files in zip64 mode. */ + mz_uint32 m_total_files; + mz_zip_mode m_zip_mode; + mz_zip_type m_zip_type; + mz_zip_error m_last_error; + + mz_uint64 m_file_offset_alignment; + + mz_alloc_func m_pAlloc; + mz_free_func m_pFree; + mz_realloc_func m_pRealloc; + void *m_pAlloc_opaque; + + mz_file_read_func m_pRead; + mz_file_write_func m_pWrite; + mz_file_needs_keepalive m_pNeeds_keepalive; + void *m_pIO_opaque; + + mz_zip_internal_state *m_pState; + +} mz_zip_archive; + +typedef struct +{ + mz_zip_archive *pZip; + mz_uint flags; + + int status; +#ifndef MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS + mz_uint file_crc32; +#endif + mz_uint64 read_buf_size, read_buf_ofs, read_buf_avail, comp_remaining, out_buf_ofs, cur_file_ofs; + mz_zip_archive_file_stat file_stat; + void *pRead_buf; + void *pWrite_buf; + + size_t out_blk_remain; + + tinfl_decompressor inflator; + +} mz_zip_reader_extract_iter_state; + +/* -------- ZIP reading */ + +/* Inits a ZIP archive reader. */ +/* These functions read and validate the archive's central directory. */ +mz_bool mz_zip_reader_init(mz_zip_archive *pZip, mz_uint64 size, mz_uint flags); + +mz_bool mz_zip_reader_init_mem(mz_zip_archive *pZip, const void *pMem, size_t size, mz_uint flags); + +#ifndef MINIZ_NO_STDIO +/* Read a archive from a disk file. */ +/* file_start_ofs is the file offset where the archive actually begins, or 0. */ +/* actual_archive_size is the true total size of the archive, which may be smaller than the file's actual size on disk. If zero the entire file is treated as the archive. */ +mz_bool mz_zip_reader_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint32 flags); +mz_bool mz_zip_reader_init_file_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint flags, mz_uint64 file_start_ofs, mz_uint64 archive_size); + +/* Read an archive from an already opened FILE, beginning at the current file position. */ +/* The archive is assumed to be archive_size bytes long. If archive_size is < 0, then the entire rest of the file is assumed to contain the archive. */ +/* The FILE will NOT be closed when mz_zip_reader_end() is called. */ +mz_bool mz_zip_reader_init_cfile(mz_zip_archive *pZip, MZ_FILE *pFile, mz_uint64 archive_size, mz_uint flags); +#endif + +/* Ends archive reading, freeing all allocations, and closing the input archive file if mz_zip_reader_init_file() was used. */ +mz_bool mz_zip_reader_end(mz_zip_archive *pZip); + +/* -------- ZIP reading or writing */ + +/* Clears a mz_zip_archive struct to all zeros. */ +/* Important: This must be done before passing the struct to any mz_zip functions. */ +void mz_zip_zero_struct(mz_zip_archive *pZip); + +mz_zip_mode mz_zip_get_mode(mz_zip_archive *pZip); +mz_zip_type mz_zip_get_type(mz_zip_archive *pZip); + +/* Returns the total number of files in the archive. */ +mz_uint mz_zip_reader_get_num_files(mz_zip_archive *pZip); + +mz_uint64 mz_zip_get_archive_size(mz_zip_archive *pZip); +mz_uint64 mz_zip_get_archive_file_start_offset(mz_zip_archive *pZip); +MZ_FILE *mz_zip_get_cfile(mz_zip_archive *pZip); + +/* Reads n bytes of raw archive data, starting at file offset file_ofs, to pBuf. */ +size_t mz_zip_read_archive_data(mz_zip_archive *pZip, mz_uint64 file_ofs, void *pBuf, size_t n); + +/* Attempts to locates a file in the archive's central directory. */ +/* Valid flags: MZ_ZIP_FLAG_CASE_SENSITIVE, MZ_ZIP_FLAG_IGNORE_PATH */ +/* Returns -1 if the file cannot be found. */ +int mz_zip_locate_file(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags); +/* Returns MZ_FALSE if the file cannot be found. */ +mz_bool mz_zip_locate_file_v2(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *pIndex); + +/* All mz_zip funcs set the m_last_error field in the mz_zip_archive struct. These functions retrieve/manipulate this field. */ +/* Note that the m_last_error functionality is not thread safe. */ +mz_zip_error mz_zip_set_last_error(mz_zip_archive *pZip, mz_zip_error err_num); +mz_zip_error mz_zip_peek_last_error(mz_zip_archive *pZip); +mz_zip_error mz_zip_clear_last_error(mz_zip_archive *pZip); +mz_zip_error mz_zip_get_last_error(mz_zip_archive *pZip); +const char *mz_zip_get_error_string(mz_zip_error mz_err); + +/* MZ_TRUE if the archive file entry is a directory entry. */ +mz_bool mz_zip_reader_is_file_a_directory(mz_zip_archive *pZip, mz_uint file_index); + +/* MZ_TRUE if the file is encrypted/strong encrypted. */ +mz_bool mz_zip_reader_is_file_encrypted(mz_zip_archive *pZip, mz_uint file_index); + +/* MZ_TRUE if the compression method is supported, and the file is not encrypted, and the file is not a compressed patch file. */ +mz_bool mz_zip_reader_is_file_supported(mz_zip_archive *pZip, mz_uint file_index); + +/* Retrieves the filename of an archive file entry. */ +/* Returns the number of bytes written to pFilename, or if filename_buf_size is 0 this function returns the number of bytes needed to fully store the filename. */ +mz_uint mz_zip_reader_get_filename(mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_uint filename_buf_size); + +/* Attempts to locates a file in the archive's central directory. */ +/* Valid flags: MZ_ZIP_FLAG_CASE_SENSITIVE, MZ_ZIP_FLAG_IGNORE_PATH */ +/* Returns -1 if the file cannot be found. */ +int mz_zip_reader_locate_file(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags); +int mz_zip_reader_locate_file_v2(mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags, mz_uint32 *file_index); + +/* Returns detailed information about an archive file entry. */ +mz_bool mz_zip_reader_file_stat(mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat *pStat); + +/* MZ_TRUE if the file is in zip64 format. */ +/* A file is considered zip64 if it contained a zip64 end of central directory marker, or if it contained any zip64 extended file information fields in the central directory. */ +mz_bool mz_zip_is_zip64(mz_zip_archive *pZip); + +/* Returns the total central directory size in bytes. */ +/* The current max supported size is <= MZ_UINT32_MAX. */ +size_t mz_zip_get_central_dir_size(mz_zip_archive *pZip); + +/* Extracts a archive file to a memory buffer using no memory allocation. */ +/* There must be at least enough room on the stack to store the inflator's state (~34KB or so). */ +mz_bool mz_zip_reader_extract_to_mem_no_alloc(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size); +mz_bool mz_zip_reader_extract_file_to_mem_no_alloc(mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size); + +/* Extracts a archive file to a memory buffer. */ +mz_bool mz_zip_reader_extract_to_mem(mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags); +mz_bool mz_zip_reader_extract_file_to_mem(mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags); + +/* Extracts a archive file to a dynamically allocated heap buffer. */ +/* The memory will be allocated via the mz_zip_archive's alloc/realloc functions. */ +/* Returns NULL and sets the last error on failure. */ +void *mz_zip_reader_extract_to_heap(mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uint flags); +void *mz_zip_reader_extract_file_to_heap(mz_zip_archive *pZip, const char *pFilename, size_t *pSize, mz_uint flags); + +/* Extracts a archive file using a callback function to output the file's data. */ +mz_bool mz_zip_reader_extract_to_callback(mz_zip_archive *pZip, mz_uint file_index, mz_file_write_func pCallback, void *pOpaque, mz_uint flags); +mz_bool mz_zip_reader_extract_file_to_callback(mz_zip_archive *pZip, const char *pFilename, mz_file_write_func pCallback, void *pOpaque, mz_uint flags); + +/* Extract a file iteratively */ +mz_zip_reader_extract_iter_state* mz_zip_reader_extract_iter_new(mz_zip_archive *pZip, mz_uint file_index, mz_uint flags); +mz_zip_reader_extract_iter_state* mz_zip_reader_extract_file_iter_new(mz_zip_archive *pZip, const char *pFilename, mz_uint flags); +size_t mz_zip_reader_extract_iter_read(mz_zip_reader_extract_iter_state* pState, void* pvBuf, size_t buf_size); +mz_bool mz_zip_reader_extract_iter_free(mz_zip_reader_extract_iter_state* pState); + +#ifndef MINIZ_NO_STDIO +/* Extracts a archive file to a disk file and sets its last accessed and modified times. */ +/* This function only extracts files, not archive directory records. */ +mz_bool mz_zip_reader_extract_to_file(mz_zip_archive *pZip, mz_uint file_index, const char *pDst_filename, mz_uint flags); +mz_bool mz_zip_reader_extract_file_to_file(mz_zip_archive *pZip, const char *pArchive_filename, const char *pDst_filename, mz_uint flags); + +/* Extracts a archive file starting at the current position in the destination FILE stream. */ +mz_bool mz_zip_reader_extract_to_cfile(mz_zip_archive *pZip, mz_uint file_index, MZ_FILE *File, mz_uint flags); +mz_bool mz_zip_reader_extract_file_to_cfile(mz_zip_archive *pZip, const char *pArchive_filename, MZ_FILE *pFile, mz_uint flags); +#endif + +#if 0 +/* TODO */ + typedef void *mz_zip_streaming_extract_state_ptr; + mz_zip_streaming_extract_state_ptr mz_zip_streaming_extract_begin(mz_zip_archive *pZip, mz_uint file_index, mz_uint flags); + uint64_t mz_zip_streaming_extract_get_size(mz_zip_archive *pZip, mz_zip_streaming_extract_state_ptr pState); + uint64_t mz_zip_streaming_extract_get_cur_ofs(mz_zip_archive *pZip, mz_zip_streaming_extract_state_ptr pState); + mz_bool mz_zip_streaming_extract_seek(mz_zip_archive *pZip, mz_zip_streaming_extract_state_ptr pState, uint64_t new_ofs); + size_t mz_zip_streaming_extract_read(mz_zip_archive *pZip, mz_zip_streaming_extract_state_ptr pState, void *pBuf, size_t buf_size); + mz_bool mz_zip_streaming_extract_end(mz_zip_archive *pZip, mz_zip_streaming_extract_state_ptr pState); +#endif + +/* This function compares the archive's local headers, the optional local zip64 extended information block, and the optional descriptor following the compressed data vs. the data in the central directory. */ +/* It also validates that each file can be successfully uncompressed unless the MZ_ZIP_FLAG_VALIDATE_HEADERS_ONLY is specified. */ +mz_bool mz_zip_validate_file(mz_zip_archive *pZip, mz_uint file_index, mz_uint flags); + +/* Validates an entire archive by calling mz_zip_validate_file() on each file. */ +mz_bool mz_zip_validate_archive(mz_zip_archive *pZip, mz_uint flags); + +/* Misc utils/helpers, valid for ZIP reading or writing */ +mz_bool mz_zip_validate_mem_archive(const void *pMem, size_t size, mz_uint flags, mz_zip_error *pErr); +mz_bool mz_zip_validate_file_archive(const char *pFilename, mz_uint flags, mz_zip_error *pErr); + +/* Universal end function - calls either mz_zip_reader_end() or mz_zip_writer_end(). */ +mz_bool mz_zip_end(mz_zip_archive *pZip); + +/* -------- ZIP writing */ + +#ifndef MINIZ_NO_ARCHIVE_WRITING_APIS + +/* Inits a ZIP archive writer. */ +/*Set pZip->m_pWrite (and pZip->m_pIO_opaque) before calling mz_zip_writer_init or mz_zip_writer_init_v2*/ +/*The output is streamable, i.e. file_ofs in mz_file_write_func always increases only by n*/ +mz_bool mz_zip_writer_init(mz_zip_archive *pZip, mz_uint64 existing_size); +mz_bool mz_zip_writer_init_v2(mz_zip_archive *pZip, mz_uint64 existing_size, mz_uint flags); + +mz_bool mz_zip_writer_init_heap(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size); +mz_bool mz_zip_writer_init_heap_v2(mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size, mz_uint flags); + +#ifndef MINIZ_NO_STDIO +mz_bool mz_zip_writer_init_file(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning); +mz_bool mz_zip_writer_init_file_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning, mz_uint flags); +mz_bool mz_zip_writer_init_cfile(mz_zip_archive *pZip, MZ_FILE *pFile, mz_uint flags); +#endif + +/* Converts a ZIP archive reader object into a writer object, to allow efficient in-place file appends to occur on an existing archive. */ +/* For archives opened using mz_zip_reader_init_file, pFilename must be the archive's filename so it can be reopened for writing. If the file can't be reopened, mz_zip_reader_end() will be called. */ +/* For archives opened using mz_zip_reader_init_mem, the memory block must be growable using the realloc callback (which defaults to realloc unless you've overridden it). */ +/* Finally, for archives opened using mz_zip_reader_init, the mz_zip_archive's user provided m_pWrite function cannot be NULL. */ +/* Note: In-place archive modification is not recommended unless you know what you're doing, because if execution stops or something goes wrong before */ +/* the archive is finalized the file's central directory will be hosed. */ +mz_bool mz_zip_writer_init_from_reader(mz_zip_archive *pZip, const char *pFilename); +mz_bool mz_zip_writer_init_from_reader_v2(mz_zip_archive *pZip, const char *pFilename, mz_uint flags); + +/* Adds the contents of a memory buffer to an archive. These functions record the current local time into the archive. */ +/* To add a directory entry, call this method with an archive name ending in a forwardslash with an empty buffer. */ +/* level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION. */ +mz_bool mz_zip_writer_add_mem(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, mz_uint level_and_flags); + +/* Like mz_zip_writer_add_mem(), except you can specify a file comment field, and optionally supply the function with already compressed data. */ +/* uncomp_size/uncomp_crc32 are only used if the MZ_ZIP_FLAG_COMPRESSED_DATA flag is specified. */ +mz_bool mz_zip_writer_add_mem_ex(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, + mz_uint64 uncomp_size, mz_uint32 uncomp_crc32); + +mz_bool mz_zip_writer_add_mem_ex_v2(mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, + mz_uint64 uncomp_size, mz_uint32 uncomp_crc32, MZ_TIME_T *last_modified, const char *user_extra_data_local, mz_uint user_extra_data_local_len, + const char *user_extra_data_central, mz_uint user_extra_data_central_len); + +#ifndef MINIZ_NO_STDIO +/* Adds the contents of a disk file to an archive. This function also records the disk file's modified time into the archive. */ +/* level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION. */ +mz_bool mz_zip_writer_add_file(mz_zip_archive *pZip, const char *pArchive_name, const char *pSrc_filename, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags); + +/* Like mz_zip_writer_add_file(), except the file data is read from the specified FILE stream. */ +mz_bool mz_zip_writer_add_cfile(mz_zip_archive *pZip, const char *pArchive_name, MZ_FILE *pSrc_file, mz_uint64 size_to_add, + const MZ_TIME_T *pFile_time, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, const char *user_extra_data_local, mz_uint user_extra_data_local_len, + const char *user_extra_data_central, mz_uint user_extra_data_central_len); +#endif + +/* Adds a file to an archive by fully cloning the data from another archive. */ +/* This function fully clones the source file's compressed data (no recompression), along with its full filename, extra data (it may add or modify the zip64 local header extra data field), and the optional descriptor following the compressed data. */ +mz_bool mz_zip_writer_add_from_zip_reader(mz_zip_archive *pZip, mz_zip_archive *pSource_zip, mz_uint src_file_index); + +/* Finalizes the archive by writing the central directory records followed by the end of central directory record. */ +/* After an archive is finalized, the only valid call on the mz_zip_archive struct is mz_zip_writer_end(). */ +/* An archive must be manually finalized by calling this function for it to be valid. */ +mz_bool mz_zip_writer_finalize_archive(mz_zip_archive *pZip); + +/* Finalizes a heap archive, returning a poiner to the heap block and its size. */ +/* The heap block will be allocated using the mz_zip_archive's alloc/realloc callbacks. */ +mz_bool mz_zip_writer_finalize_heap_archive(mz_zip_archive *pZip, void **ppBuf, size_t *pSize); + +/* Ends archive writing, freeing all allocations, and closing the output file if mz_zip_writer_init_file() was used. */ +/* Note for the archive to be valid, it *must* have been finalized before ending (this function will not do it for you). */ +mz_bool mz_zip_writer_end(mz_zip_archive *pZip); + +/* -------- Misc. high-level helper functions: */ + +/* mz_zip_add_mem_to_archive_file_in_place() efficiently (but not atomically) appends a memory blob to a ZIP archive. */ +/* Note this is NOT a fully safe operation. If it crashes or dies in some way your archive can be left in a screwed up state (without a central directory). */ +/* level_and_flags - compression level (0-10, see MZ_BEST_SPEED, MZ_BEST_COMPRESSION, etc.) logically OR'd with zero or more mz_zip_flags, or just set to MZ_DEFAULT_COMPRESSION. */ +/* TODO: Perhaps add an option to leave the existing central dir in place in case the add dies? We could then truncate the file (so the old central dir would be at the end) if something goes wrong. */ +mz_bool mz_zip_add_mem_to_archive_file_in_place(const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags); +mz_bool mz_zip_add_mem_to_archive_file_in_place_v2(const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_zip_error *pErr); + +/* Reads a single file from an archive into a heap block. */ +/* If pComment is not NULL, only the file with the specified comment will be extracted. */ +/* Returns NULL on failure. */ +void *mz_zip_extract_archive_file_to_heap(const char *pZip_filename, const char *pArchive_name, size_t *pSize, mz_uint flags); +void *mz_zip_extract_archive_file_to_heap_v2(const char *pZip_filename, const char *pArchive_name, const char *pComment, size_t *pSize, mz_uint flags, mz_zip_error *pErr); + +#endif /* #ifndef MINIZ_NO_ARCHIVE_WRITING_APIS */ + +#ifdef __cplusplus +} +#endif + +#endif /* MINIZ_NO_ARCHIVE_APIS */ diff --git a/src/external/sdl/macos/License.txt b/src/external/sdl/macos/License.txt new file mode 100644 index 000000000..202f1cc1c --- /dev/null +++ b/src/external/sdl/macos/License.txt @@ -0,0 +1,19 @@ + +Simple DirectMedia Layer +Copyright (C) 1997-2017 Sam Lantinga + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. diff --git a/src/external/sdl/macos/ReadMe.txt b/src/external/sdl/macos/ReadMe.txt new file mode 100755 index 000000000..40ac3a14c --- /dev/null +++ b/src/external/sdl/macos/ReadMe.txt @@ -0,0 +1,32 @@ +The Simple DirectMedia Layer (SDL for short) is a cross-platform +library designed to make it easy to write multi-media software, +such as games and emulators. + +The Simple DirectMedia Layer library source code is available from: +http://www.libsdl.org/ + +This library is distributed under the terms of the zlib license: +http://zlib.net/zlib_license.html + + +This packages contains the SDL framework for OS X. +Conforming with Apple guidelines, this framework +contains both the SDL runtime component and development header files. + + +To Install: +Copy the SDL2.framework to /Library/Frameworks + +You may alternatively install it in /Library/Frameworks +if your access privileges are not high enough. + + +Additional References: + + - Screencast tutorials for getting started with OpenSceneGraph/Mac OS X are + available at: + http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips + Though these are OpenSceneGraph centric, the same exact concepts apply to + SDL, thus the videos are recommended for everybody getting started with + developing on Mac OS X. (You can skim over the PlugIns stuff since SDL + doesn't have any PlugIns to worry about.) diff --git a/src/external/sdl/macos/SDL2.framework/Headers b/src/external/sdl/macos/SDL2.framework/Headers new file mode 120000 index 000000000..a177d2a6b --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/src/external/sdl/macos/SDL2.framework/Resources b/src/external/sdl/macos/SDL2.framework/Resources new file mode 120000 index 000000000..953ee36f3 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/src/external/sdl/macos/SDL2.framework/SDL2 b/src/external/sdl/macos/SDL2.framework/SDL2 new file mode 120000 index 000000000..9dd4e4fbb --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/SDL2 @@ -0,0 +1 @@ +Versions/Current/SDL2 \ No newline at end of file diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL.h new file mode 100644 index 000000000..366d50fa3 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL.h @@ -0,0 +1,133 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL.h + * + * Main include header for the SDL library + */ + + +#ifndef SDL_h_ +#define SDL_h_ + +#include "SDL_main.h" +#include "SDL_stdinc.h" +#include "SDL_assert.h" +#include "SDL_atomic.h" +#include "SDL_audio.h" +#include "SDL_clipboard.h" +#include "SDL_cpuinfo.h" +#include "SDL_endian.h" +#include "SDL_error.h" +#include "SDL_events.h" +#include "SDL_filesystem.h" +#include "SDL_gamecontroller.h" +#include "SDL_haptic.h" +#include "SDL_hints.h" +#include "SDL_joystick.h" +#include "SDL_loadso.h" +#include "SDL_log.h" +#include "SDL_messagebox.h" +#include "SDL_mutex.h" +#include "SDL_power.h" +#include "SDL_render.h" +#include "SDL_rwops.h" +#include "SDL_shape.h" +#include "SDL_system.h" +#include "SDL_thread.h" +#include "SDL_timer.h" +#include "SDL_version.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* As of version 0.5, SDL is loaded dynamically into the application */ + +/** + * \name SDL_INIT_* + * + * These are the flags which may be passed to SDL_Init(). You should + * specify the subsystems which you will be using in your application. + */ +/* @{ */ +#define SDL_INIT_TIMER 0x00000001u +#define SDL_INIT_AUDIO 0x00000010u +#define SDL_INIT_VIDEO 0x00000020u /**< SDL_INIT_VIDEO implies SDL_INIT_EVENTS */ +#define SDL_INIT_JOYSTICK 0x00000200u /**< SDL_INIT_JOYSTICK implies SDL_INIT_EVENTS */ +#define SDL_INIT_HAPTIC 0x00001000u +#define SDL_INIT_GAMECONTROLLER 0x00002000u /**< SDL_INIT_GAMECONTROLLER implies SDL_INIT_JOYSTICK */ +#define SDL_INIT_EVENTS 0x00004000u +#define SDL_INIT_NOPARACHUTE 0x00100000u /**< compatibility; this flag is ignored. */ +#define SDL_INIT_EVERYTHING ( \ + SDL_INIT_TIMER | SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_EVENTS | \ + SDL_INIT_JOYSTICK | SDL_INIT_HAPTIC | SDL_INIT_GAMECONTROLLER \ + ) +/* @} */ + +/** + * This function initializes the subsystems specified by \c flags + */ +extern DECLSPEC int SDLCALL SDL_Init(Uint32 flags); + +/** + * This function initializes specific SDL subsystems + * + * Subsystem initialization is ref-counted, you must call + * SDL_QuitSubSystem() for each SDL_InitSubSystem() to correctly + * shutdown a subsystem manually (or call SDL_Quit() to force shutdown). + * If a subsystem is already loaded then this call will + * increase the ref-count and return. + */ +extern DECLSPEC int SDLCALL SDL_InitSubSystem(Uint32 flags); + +/** + * This function cleans up specific SDL subsystems + */ +extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags); + +/** + * This function returns a mask of the specified subsystems which have + * previously been initialized. + * + * If \c flags is 0, it returns a mask of all initialized subsystems. + */ +extern DECLSPEC Uint32 SDLCALL SDL_WasInit(Uint32 flags); + +/** + * This function cleans up all initialized subsystems. You should + * call it upon all exit conditions. + */ +extern DECLSPEC void SDLCALL SDL_Quit(void); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_assert.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_assert.h new file mode 100644 index 000000000..90abbe39b --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_assert.h @@ -0,0 +1,291 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_assert_h_ +#define SDL_assert_h_ + +#include "SDL_config.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +#ifndef SDL_ASSERT_LEVEL +#ifdef SDL_DEFAULT_ASSERT_LEVEL +#define SDL_ASSERT_LEVEL SDL_DEFAULT_ASSERT_LEVEL +#elif defined(_DEBUG) || defined(DEBUG) || \ + (defined(__GNUC__) && !defined(__OPTIMIZE__)) +#define SDL_ASSERT_LEVEL 2 +#else +#define SDL_ASSERT_LEVEL 1 +#endif +#endif /* SDL_ASSERT_LEVEL */ + +/* +These are macros and not first class functions so that the debugger breaks +on the assertion line and not in some random guts of SDL, and so each +assert can have unique static variables associated with it. +*/ + +#if defined(_MSC_VER) +/* Don't include intrin.h here because it contains C++ code */ + extern void __cdecl __debugbreak(void); + #define SDL_TriggerBreakpoint() __debugbreak() +#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) ) + #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" ) +#elif defined(__386__) && defined(__WATCOMC__) + #define SDL_TriggerBreakpoint() { _asm { int 0x03 } } +#elif defined(HAVE_SIGNAL_H) && !defined(__WATCOMC__) + #include + #define SDL_TriggerBreakpoint() raise(SIGTRAP) +#else + /* How do we trigger breakpoints on this platform? */ + #define SDL_TriggerBreakpoint() +#endif + +#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */ +# define SDL_FUNCTION __func__ +#elif ((__GNUC__ >= 2) || defined(_MSC_VER) || defined (__WATCOMC__)) +# define SDL_FUNCTION __FUNCTION__ +#else +# define SDL_FUNCTION "???" +#endif +#define SDL_FILE __FILE__ +#define SDL_LINE __LINE__ + +/* +sizeof (x) makes the compiler still parse the expression even without +assertions enabled, so the code is always checked at compile time, but +doesn't actually generate code for it, so there are no side effects or +expensive checks at run time, just the constant size of what x WOULD be, +which presumably gets optimized out as unused. +This also solves the problem of... + + int somevalue = blah(); + SDL_assert(somevalue == 1); + +...which would cause compiles to complain that somevalue is unused if we +disable assertions. +*/ + +/* "while (0,0)" fools Microsoft's compiler's /W4 warning level into thinking + this condition isn't constant. And looks like an owl's face! */ +#ifdef _MSC_VER /* stupid /W4 warnings. */ +#define SDL_NULL_WHILE_LOOP_CONDITION (0,0) +#else +#define SDL_NULL_WHILE_LOOP_CONDITION (0) +#endif + +#define SDL_disabled_assert(condition) \ + do { (void) sizeof ((condition)); } while (SDL_NULL_WHILE_LOOP_CONDITION) + +typedef enum +{ + SDL_ASSERTION_RETRY, /**< Retry the assert immediately. */ + SDL_ASSERTION_BREAK, /**< Make the debugger trigger a breakpoint. */ + SDL_ASSERTION_ABORT, /**< Terminate the program. */ + SDL_ASSERTION_IGNORE, /**< Ignore the assert. */ + SDL_ASSERTION_ALWAYS_IGNORE /**< Ignore the assert from now on. */ +} SDL_AssertState; + +typedef struct SDL_AssertData +{ + int always_ignore; + unsigned int trigger_count; + const char *condition; + const char *filename; + int linenum; + const char *function; + const struct SDL_AssertData *next; +} SDL_AssertData; + +#if (SDL_ASSERT_LEVEL > 0) + +/* Never call this directly. Use the SDL_assert* macros. */ +extern DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *, + const char *, + const char *, int) +#if defined(__clang__) +#if __has_feature(attribute_analyzer_noreturn) +/* this tells Clang's static analysis that we're a custom assert function, + and that the analyzer should assume the condition was always true past this + SDL_assert test. */ + __attribute__((analyzer_noreturn)) +#endif +#endif +; + +/* the do {} while(0) avoids dangling else problems: + if (x) SDL_assert(y); else blah(); + ... without the do/while, the "else" could attach to this macro's "if". + We try to handle just the minimum we need here in a macro...the loop, + the static vars, and break points. The heavy lifting is handled in + SDL_ReportAssertion(), in SDL_assert.c. +*/ +#define SDL_enabled_assert(condition) \ + do { \ + while ( !(condition) ) { \ + static struct SDL_AssertData sdl_assert_data = { \ + 0, 0, #condition, 0, 0, 0, 0 \ + }; \ + const SDL_AssertState sdl_assert_state = SDL_ReportAssertion(&sdl_assert_data, SDL_FUNCTION, SDL_FILE, SDL_LINE); \ + if (sdl_assert_state == SDL_ASSERTION_RETRY) { \ + continue; /* go again. */ \ + } else if (sdl_assert_state == SDL_ASSERTION_BREAK) { \ + SDL_TriggerBreakpoint(); \ + } \ + break; /* not retrying. */ \ + } \ + } while (SDL_NULL_WHILE_LOOP_CONDITION) + +#endif /* enabled assertions support code */ + +/* Enable various levels of assertions. */ +#if SDL_ASSERT_LEVEL == 0 /* assertions disabled */ +# define SDL_assert(condition) SDL_disabled_assert(condition) +# define SDL_assert_release(condition) SDL_disabled_assert(condition) +# define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) +#elif SDL_ASSERT_LEVEL == 1 /* release settings. */ +# define SDL_assert(condition) SDL_disabled_assert(condition) +# define SDL_assert_release(condition) SDL_enabled_assert(condition) +# define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) +#elif SDL_ASSERT_LEVEL == 2 /* normal settings. */ +# define SDL_assert(condition) SDL_enabled_assert(condition) +# define SDL_assert_release(condition) SDL_enabled_assert(condition) +# define SDL_assert_paranoid(condition) SDL_disabled_assert(condition) +#elif SDL_ASSERT_LEVEL == 3 /* paranoid settings. */ +# define SDL_assert(condition) SDL_enabled_assert(condition) +# define SDL_assert_release(condition) SDL_enabled_assert(condition) +# define SDL_assert_paranoid(condition) SDL_enabled_assert(condition) +#else +# error Unknown assertion level. +#endif + +/* this assertion is never disabled at any level. */ +#define SDL_assert_always(condition) SDL_enabled_assert(condition) + + +typedef SDL_AssertState (SDLCALL *SDL_AssertionHandler)( + const SDL_AssertData* data, void* userdata); + +/** + * \brief Set an application-defined assertion handler. + * + * This allows an app to show its own assertion UI and/or force the + * response to an assertion failure. If the app doesn't provide this, SDL + * will try to do the right thing, popping up a system-specific GUI dialog, + * and probably minimizing any fullscreen windows. + * + * This callback may fire from any thread, but it runs wrapped in a mutex, so + * it will only fire from one thread at a time. + * + * Setting the callback to NULL restores SDL's original internal handler. + * + * This callback is NOT reset to SDL's internal handler upon SDL_Quit()! + * + * Return SDL_AssertState value of how to handle the assertion failure. + * + * \param handler Callback function, called when an assertion fails. + * \param userdata A pointer passed to the callback as-is. + */ +extern DECLSPEC void SDLCALL SDL_SetAssertionHandler( + SDL_AssertionHandler handler, + void *userdata); + +/** + * \brief Get the default assertion handler. + * + * This returns the function pointer that is called by default when an + * assertion is triggered. This is an internal function provided by SDL, + * that is used for assertions when SDL_SetAssertionHandler() hasn't been + * used to provide a different function. + * + * \return The default SDL_AssertionHandler that is called when an assert triggers. + */ +extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetDefaultAssertionHandler(void); + +/** + * \brief Get the current assertion handler. + * + * This returns the function pointer that is called when an assertion is + * triggered. This is either the value last passed to + * SDL_SetAssertionHandler(), or if no application-specified function is + * set, is equivalent to calling SDL_GetDefaultAssertionHandler(). + * + * \param puserdata Pointer to a void*, which will store the "userdata" + * pointer that was passed to SDL_SetAssertionHandler(). + * This value will always be NULL for the default handler. + * If you don't care about this data, it is safe to pass + * a NULL pointer to this function to ignore it. + * \return The SDL_AssertionHandler that is called when an assert triggers. + */ +extern DECLSPEC SDL_AssertionHandler SDLCALL SDL_GetAssertionHandler(void **puserdata); + +/** + * \brief Get a list of all assertion failures. + * + * Get all assertions triggered since last call to SDL_ResetAssertionReport(), + * or the start of the program. + * + * The proper way to examine this data looks something like this: + * + * + * const SDL_AssertData *item = SDL_GetAssertionReport(); + * while (item) { + * printf("'%s', %s (%s:%d), triggered %u times, always ignore: %s.\\n", + * item->condition, item->function, item->filename, + * item->linenum, item->trigger_count, + * item->always_ignore ? "yes" : "no"); + * item = item->next; + * } + * + * + * \return List of all assertions. + * \sa SDL_ResetAssertionReport + */ +extern DECLSPEC const SDL_AssertData * SDLCALL SDL_GetAssertionReport(void); + +/** + * \brief Reset the list of all assertion failures. + * + * Reset list of all assertions triggered. + * + * \sa SDL_GetAssertionReport + */ +extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void); + + +/* these had wrong naming conventions until 2.0.4. Please update your app! */ +#define SDL_assert_state SDL_AssertState +#define SDL_assert_data SDL_AssertData + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_assert_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_atomic.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_atomic.h new file mode 100644 index 000000000..36e37f3b7 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_atomic.h @@ -0,0 +1,274 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_atomic.h + * + * Atomic operations. + * + * IMPORTANT: + * If you are not an expert in concurrent lockless programming, you should + * only be using the atomic lock and reference counting functions in this + * file. In all other cases you should be protecting your data structures + * with full mutexes. + * + * The list of "safe" functions to use are: + * SDL_AtomicLock() + * SDL_AtomicUnlock() + * SDL_AtomicIncRef() + * SDL_AtomicDecRef() + * + * Seriously, here be dragons! + * ^^^^^^^^^^^^^^^^^^^^^^^^^^^ + * + * You can find out a little more about lockless programming and the + * subtle issues that can arise here: + * http://msdn.microsoft.com/en-us/library/ee418650%28v=vs.85%29.aspx + * + * There's also lots of good information here: + * http://www.1024cores.net/home/lock-free-algorithms + * http://preshing.com/ + * + * These operations may or may not actually be implemented using + * processor specific atomic operations. When possible they are + * implemented as true processor specific atomic operations. When that + * is not possible the are implemented using locks that *do* use the + * available atomic operations. + * + * All of the atomic operations that modify memory are full memory barriers. + */ + +#ifndef SDL_atomic_h_ +#define SDL_atomic_h_ + +#include "SDL_stdinc.h" +#include "SDL_platform.h" + +#include "begin_code.h" + +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \name SDL AtomicLock + * + * The atomic locks are efficient spinlocks using CPU instructions, + * but are vulnerable to starvation and can spin forever if a thread + * holding a lock has been terminated. For this reason you should + * minimize the code executed inside an atomic lock and never do + * expensive things like API or system calls while holding them. + * + * The atomic locks are not safe to lock recursively. + * + * Porting Note: + * The spin lock functions and type are required and can not be + * emulated because they are used in the atomic emulation code. + */ +/* @{ */ + +typedef int SDL_SpinLock; + +/** + * \brief Try to lock a spin lock by setting it to a non-zero value. + * + * \param lock Points to the lock. + * + * \return SDL_TRUE if the lock succeeded, SDL_FALSE if the lock is already held. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_AtomicTryLock(SDL_SpinLock *lock); + +/** + * \brief Lock a spin lock by setting it to a non-zero value. + * + * \param lock Points to the lock. + */ +extern DECLSPEC void SDLCALL SDL_AtomicLock(SDL_SpinLock *lock); + +/** + * \brief Unlock a spin lock by setting it to 0. Always returns immediately + * + * \param lock Points to the lock. + */ +extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock); + +/* @} *//* SDL AtomicLock */ + + +/** + * The compiler barrier prevents the compiler from reordering + * reads and writes to globally visible variables across the call. + */ +#if defined(_MSC_VER) && (_MSC_VER > 1200) && !defined(__clang__) +void _ReadWriteBarrier(void); +#pragma intrinsic(_ReadWriteBarrier) +#define SDL_CompilerBarrier() _ReadWriteBarrier() +#elif (defined(__GNUC__) && !defined(__EMSCRIPTEN__)) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120)) +/* This is correct for all CPUs when using GCC or Solaris Studio 12.1+. */ +#define SDL_CompilerBarrier() __asm__ __volatile__ ("" : : : "memory") +#elif defined(__WATCOMC__) +extern _inline void SDL_CompilerBarrier (void); +#pragma aux SDL_CompilerBarrier = "" parm [] modify exact []; +#else +#define SDL_CompilerBarrier() \ +{ SDL_SpinLock _tmp = 0; SDL_AtomicLock(&_tmp); SDL_AtomicUnlock(&_tmp); } +#endif + +/** + * Memory barriers are designed to prevent reads and writes from being + * reordered by the compiler and being seen out of order on multi-core CPUs. + * + * A typical pattern would be for thread A to write some data and a flag, + * and for thread B to read the flag and get the data. In this case you + * would insert a release barrier between writing the data and the flag, + * guaranteeing that the data write completes no later than the flag is + * written, and you would insert an acquire barrier between reading the + * flag and reading the data, to ensure that all the reads associated + * with the flag have completed. + * + * In this pattern you should always see a release barrier paired with + * an acquire barrier and you should gate the data reads/writes with a + * single flag variable. + * + * For more information on these semantics, take a look at the blog post: + * http://preshing.com/20120913/acquire-and-release-semantics + */ +extern DECLSPEC void SDLCALL SDL_MemoryBarrierReleaseFunction(void); +extern DECLSPEC void SDLCALL SDL_MemoryBarrierAcquireFunction(void); + +#if defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) +#define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("lwsync" : : : "memory") +#define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("lwsync" : : : "memory") +#elif defined(__GNUC__) && defined(__arm__) +#if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7EM__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__) +#define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("dmb ish" : : : "memory") +#define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("dmb ish" : : : "memory") +#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__) || defined(__ARM_ARCH_5TE__) +#ifdef __thumb__ +/* The mcr instruction isn't available in thumb mode, use real functions */ +#define SDL_MemoryBarrierRelease() SDL_MemoryBarrierReleaseFunction() +#define SDL_MemoryBarrierAcquire() SDL_MemoryBarrierAcquireFunction() +#else +#define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory") +#define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("mcr p15, 0, %0, c7, c10, 5" : : "r"(0) : "memory") +#endif /* __thumb__ */ +#else +#define SDL_MemoryBarrierRelease() __asm__ __volatile__ ("" : : : "memory") +#define SDL_MemoryBarrierAcquire() __asm__ __volatile__ ("" : : : "memory") +#endif /* __GNUC__ && __arm__ */ +#else +#if (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5120)) +/* This is correct for all CPUs on Solaris when using Solaris Studio 12.1+. */ +#include +#define SDL_MemoryBarrierRelease() __machine_rel_barrier() +#define SDL_MemoryBarrierAcquire() __machine_acq_barrier() +#else +/* This is correct for the x86 and x64 CPUs, and we'll expand this over time. */ +#define SDL_MemoryBarrierRelease() SDL_CompilerBarrier() +#define SDL_MemoryBarrierAcquire() SDL_CompilerBarrier() +#endif +#endif + +/** + * \brief A type representing an atomic integer value. It is a struct + * so people don't accidentally use numeric operations on it. + */ +typedef struct { int value; } SDL_atomic_t; + +/** + * \brief Set an atomic variable to a new value if it is currently an old value. + * + * \return SDL_TRUE if the atomic variable was set, SDL_FALSE otherwise. + * + * \note If you don't know what this function is for, you shouldn't use it! +*/ +extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCAS(SDL_atomic_t *a, int oldval, int newval); + +/** + * \brief Set an atomic variable to a value. + * + * \return The previous value of the atomic variable. + */ +extern DECLSPEC int SDLCALL SDL_AtomicSet(SDL_atomic_t *a, int v); + +/** + * \brief Get the value of an atomic variable + */ +extern DECLSPEC int SDLCALL SDL_AtomicGet(SDL_atomic_t *a); + +/** + * \brief Add to an atomic variable. + * + * \return The previous value of the atomic variable. + * + * \note This same style can be used for any number operation + */ +extern DECLSPEC int SDLCALL SDL_AtomicAdd(SDL_atomic_t *a, int v); + +/** + * \brief Increment an atomic variable used as a reference count. + */ +#ifndef SDL_AtomicIncRef +#define SDL_AtomicIncRef(a) SDL_AtomicAdd(a, 1) +#endif + +/** + * \brief Decrement an atomic variable used as a reference count. + * + * \return SDL_TRUE if the variable reached zero after decrementing, + * SDL_FALSE otherwise + */ +#ifndef SDL_AtomicDecRef +#define SDL_AtomicDecRef(a) (SDL_AtomicAdd(a, -1) == 1) +#endif + +/** + * \brief Set a pointer to a new value if it is currently an old value. + * + * \return SDL_TRUE if the pointer was set, SDL_FALSE otherwise. + * + * \note If you don't know what this function is for, you shouldn't use it! +*/ +extern DECLSPEC SDL_bool SDLCALL SDL_AtomicCASPtr(void **a, void *oldval, void *newval); + +/** + * \brief Set a pointer to a value atomically. + * + * \return The previous value of the pointer. + */ +extern DECLSPEC void* SDLCALL SDL_AtomicSetPtr(void **a, void* v); + +/** + * \brief Get the value of a pointer atomically. + */ +extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif + +#include "close_code.h" + +#endif /* SDL_atomic_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_audio.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_audio.h new file mode 100644 index 000000000..f119c2b26 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_audio.h @@ -0,0 +1,825 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_audio.h + * + * Access to the raw audio mixing buffer for the SDL library. + */ + +#ifndef SDL_audio_h_ +#define SDL_audio_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_endian.h" +#include "SDL_mutex.h" +#include "SDL_thread.h" +#include "SDL_rwops.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Audio format flags. + * + * These are what the 16 bits in SDL_AudioFormat currently mean... + * (Unspecified bits are always zero). + * + * \verbatim + ++-----------------------sample is signed if set + || + || ++-----------sample is bigendian if set + || || + || || ++---sample is float if set + || || || + || || || +---sample bit size---+ + || || || | | + 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 + \endverbatim + * + * There are macros in SDL 2.0 and later to query these bits. + */ +typedef Uint16 SDL_AudioFormat; + +/** + * \name Audio flags + */ +/* @{ */ + +#define SDL_AUDIO_MASK_BITSIZE (0xFF) +#define SDL_AUDIO_MASK_DATATYPE (1<<8) +#define SDL_AUDIO_MASK_ENDIAN (1<<12) +#define SDL_AUDIO_MASK_SIGNED (1<<15) +#define SDL_AUDIO_BITSIZE(x) (x & SDL_AUDIO_MASK_BITSIZE) +#define SDL_AUDIO_ISFLOAT(x) (x & SDL_AUDIO_MASK_DATATYPE) +#define SDL_AUDIO_ISBIGENDIAN(x) (x & SDL_AUDIO_MASK_ENDIAN) +#define SDL_AUDIO_ISSIGNED(x) (x & SDL_AUDIO_MASK_SIGNED) +#define SDL_AUDIO_ISINT(x) (!SDL_AUDIO_ISFLOAT(x)) +#define SDL_AUDIO_ISLITTLEENDIAN(x) (!SDL_AUDIO_ISBIGENDIAN(x)) +#define SDL_AUDIO_ISUNSIGNED(x) (!SDL_AUDIO_ISSIGNED(x)) + +/** + * \name Audio format flags + * + * Defaults to LSB byte order. + */ +/* @{ */ +#define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ +#define AUDIO_S8 0x8008 /**< Signed 8-bit samples */ +#define AUDIO_U16LSB 0x0010 /**< Unsigned 16-bit samples */ +#define AUDIO_S16LSB 0x8010 /**< Signed 16-bit samples */ +#define AUDIO_U16MSB 0x1010 /**< As above, but big-endian byte order */ +#define AUDIO_S16MSB 0x9010 /**< As above, but big-endian byte order */ +#define AUDIO_U16 AUDIO_U16LSB +#define AUDIO_S16 AUDIO_S16LSB +/* @} */ + +/** + * \name int32 support + */ +/* @{ */ +#define AUDIO_S32LSB 0x8020 /**< 32-bit integer samples */ +#define AUDIO_S32MSB 0x9020 /**< As above, but big-endian byte order */ +#define AUDIO_S32 AUDIO_S32LSB +/* @} */ + +/** + * \name float32 support + */ +/* @{ */ +#define AUDIO_F32LSB 0x8120 /**< 32-bit floating point samples */ +#define AUDIO_F32MSB 0x9120 /**< As above, but big-endian byte order */ +#define AUDIO_F32 AUDIO_F32LSB +/* @} */ + +/** + * \name Native audio byte ordering + */ +/* @{ */ +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define AUDIO_U16SYS AUDIO_U16LSB +#define AUDIO_S16SYS AUDIO_S16LSB +#define AUDIO_S32SYS AUDIO_S32LSB +#define AUDIO_F32SYS AUDIO_F32LSB +#else +#define AUDIO_U16SYS AUDIO_U16MSB +#define AUDIO_S16SYS AUDIO_S16MSB +#define AUDIO_S32SYS AUDIO_S32MSB +#define AUDIO_F32SYS AUDIO_F32MSB +#endif +/* @} */ + +/** + * \name Allow change flags + * + * Which audio format changes are allowed when opening a device. + */ +/* @{ */ +#define SDL_AUDIO_ALLOW_FREQUENCY_CHANGE 0x00000001 +#define SDL_AUDIO_ALLOW_FORMAT_CHANGE 0x00000002 +#define SDL_AUDIO_ALLOW_CHANNELS_CHANGE 0x00000004 +#define SDL_AUDIO_ALLOW_ANY_CHANGE (SDL_AUDIO_ALLOW_FREQUENCY_CHANGE|SDL_AUDIO_ALLOW_FORMAT_CHANGE|SDL_AUDIO_ALLOW_CHANNELS_CHANGE) +/* @} */ + +/* @} *//* Audio flags */ + +/** + * This function is called when the audio device needs more data. + * + * \param userdata An application-specific parameter saved in + * the SDL_AudioSpec structure + * \param stream A pointer to the audio data buffer. + * \param len The length of that buffer in bytes. + * + * Once the callback returns, the buffer will no longer be valid. + * Stereo samples are stored in a LRLRLR ordering. + * + * You can choose to avoid callbacks and use SDL_QueueAudio() instead, if + * you like. Just open your audio device with a NULL callback. + */ +typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, + int len); + +/** + * The calculated values in this structure are calculated by SDL_OpenAudio(). + * + * For multi-channel audio, the default SDL channel mapping is: + * 2: FL FR (stereo) + * 3: FL FR LFE (2.1 surround) + * 4: FL FR BL BR (quad) + * 5: FL FR FC BL BR (quad + center) + * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR) + * 7: FL FR FC LFE BC SL SR (6.1 surround) + * 8: FL FR FC LFE BL BR SL SR (7.1 surround) + */ +typedef struct SDL_AudioSpec +{ + int freq; /**< DSP frequency -- samples per second */ + SDL_AudioFormat format; /**< Audio data format */ + Uint8 channels; /**< Number of channels: 1 mono, 2 stereo */ + Uint8 silence; /**< Audio buffer silence value (calculated) */ + Uint16 samples; /**< Audio buffer size in sample FRAMES (total samples divided by channel count) */ + Uint16 padding; /**< Necessary for some compile environments */ + Uint32 size; /**< Audio buffer size in bytes (calculated) */ + SDL_AudioCallback callback; /**< Callback that feeds the audio device (NULL to use SDL_QueueAudio()). */ + void *userdata; /**< Userdata passed to callback (ignored for NULL callbacks). */ +} SDL_AudioSpec; + + +struct SDL_AudioCVT; +typedef void (SDLCALL * SDL_AudioFilter) (struct SDL_AudioCVT * cvt, + SDL_AudioFormat format); + +/** + * \brief Upper limit of filters in SDL_AudioCVT + * + * The maximum number of SDL_AudioFilter functions in SDL_AudioCVT is + * currently limited to 9. The SDL_AudioCVT.filters array has 10 pointers, + * one of which is the terminating NULL pointer. + */ +#define SDL_AUDIOCVT_MAX_FILTERS 9 + +/** + * \struct SDL_AudioCVT + * \brief A structure to hold a set of audio conversion filters and buffers. + * + * Note that various parts of the conversion pipeline can take advantage + * of SIMD operations (like SSE2, for example). SDL_AudioCVT doesn't require + * you to pass it aligned data, but can possibly run much faster if you + * set both its (buf) field to a pointer that is aligned to 16 bytes, and its + * (len) field to something that's a multiple of 16, if possible. + */ +#ifdef __GNUC__ +/* This structure is 84 bytes on 32-bit architectures, make sure GCC doesn't + pad it out to 88 bytes to guarantee ABI compatibility between compilers. + vvv + The next time we rev the ABI, make sure to size the ints and add padding. +*/ +#define SDL_AUDIOCVT_PACKED __attribute__((packed)) +#else +#define SDL_AUDIOCVT_PACKED +#endif +/* */ +typedef struct SDL_AudioCVT +{ + int needed; /**< Set to 1 if conversion possible */ + SDL_AudioFormat src_format; /**< Source audio format */ + SDL_AudioFormat dst_format; /**< Target audio format */ + double rate_incr; /**< Rate conversion increment */ + Uint8 *buf; /**< Buffer to hold entire audio data */ + int len; /**< Length of original audio buffer */ + int len_cvt; /**< Length of converted audio buffer */ + int len_mult; /**< buffer must be len*len_mult big */ + double len_ratio; /**< Given len, final size is len*len_ratio */ + SDL_AudioFilter filters[SDL_AUDIOCVT_MAX_FILTERS + 1]; /**< NULL-terminated list of filter functions */ + int filter_index; /**< Current audio conversion function */ +} SDL_AUDIOCVT_PACKED SDL_AudioCVT; + + +/* Function prototypes */ + +/** + * \name Driver discovery functions + * + * These functions return the list of built in audio drivers, in the + * order that they are normally initialized by default. + */ +/* @{ */ +extern DECLSPEC int SDLCALL SDL_GetNumAudioDrivers(void); +extern DECLSPEC const char *SDLCALL SDL_GetAudioDriver(int index); +/* @} */ + +/** + * \name Initialization and cleanup + * + * \internal These functions are used internally, and should not be used unless + * you have a specific need to specify the audio driver you want to + * use. You should normally use SDL_Init() or SDL_InitSubSystem(). + */ +/* @{ */ +extern DECLSPEC int SDLCALL SDL_AudioInit(const char *driver_name); +extern DECLSPEC void SDLCALL SDL_AudioQuit(void); +/* @} */ + +/** + * This function returns the name of the current audio driver, or NULL + * if no driver has been initialized. + */ +extern DECLSPEC const char *SDLCALL SDL_GetCurrentAudioDriver(void); + +/** + * This function opens the audio device with the desired parameters, and + * returns 0 if successful, placing the actual hardware parameters in the + * structure pointed to by \c obtained. If \c obtained is NULL, the audio + * data passed to the callback function will be guaranteed to be in the + * requested format, and will be automatically converted to the hardware + * audio format if necessary. This function returns -1 if it failed + * to open the audio device, or couldn't set up the audio thread. + * + * When filling in the desired audio spec structure, + * - \c desired->freq should be the desired audio frequency in samples-per- + * second. + * - \c desired->format should be the desired audio format. + * - \c desired->samples is the desired size of the audio buffer, in + * samples. This number should be a power of two, and may be adjusted by + * the audio driver to a value more suitable for the hardware. Good values + * seem to range between 512 and 8096 inclusive, depending on the + * application and CPU speed. Smaller values yield faster response time, + * but can lead to underflow if the application is doing heavy processing + * and cannot fill the audio buffer in time. A stereo sample consists of + * both right and left channels in LR ordering. + * Note that the number of samples is directly related to time by the + * following formula: \code ms = (samples*1000)/freq \endcode + * - \c desired->size is the size in bytes of the audio buffer, and is + * calculated by SDL_OpenAudio(). + * - \c desired->silence is the value used to set the buffer to silence, + * and is calculated by SDL_OpenAudio(). + * - \c desired->callback should be set to a function that will be called + * when the audio device is ready for more data. It is passed a pointer + * to the audio buffer, and the length in bytes of the audio buffer. + * This function usually runs in a separate thread, and so you should + * protect data structures that it accesses by calling SDL_LockAudio() + * and SDL_UnlockAudio() in your code. Alternately, you may pass a NULL + * pointer here, and call SDL_QueueAudio() with some frequency, to queue + * more audio samples to be played (or for capture devices, call + * SDL_DequeueAudio() with some frequency, to obtain audio samples). + * - \c desired->userdata is passed as the first parameter to your callback + * function. If you passed a NULL callback, this value is ignored. + * + * The audio device starts out playing silence when it's opened, and should + * be enabled for playing by calling \c SDL_PauseAudio(0) when you are ready + * for your audio callback function to be called. Since the audio driver + * may modify the requested size of the audio buffer, you should allocate + * any local mixing buffers after you open the audio device. + */ +extern DECLSPEC int SDLCALL SDL_OpenAudio(SDL_AudioSpec * desired, + SDL_AudioSpec * obtained); + +/** + * SDL Audio Device IDs. + * + * A successful call to SDL_OpenAudio() is always device id 1, and legacy + * SDL audio APIs assume you want this device ID. SDL_OpenAudioDevice() calls + * always returns devices >= 2 on success. The legacy calls are good both + * for backwards compatibility and when you don't care about multiple, + * specific, or capture devices. + */ +typedef Uint32 SDL_AudioDeviceID; + +/** + * Get the number of available devices exposed by the current driver. + * Only valid after a successfully initializing the audio subsystem. + * Returns -1 if an explicit list of devices can't be determined; this is + * not an error. For example, if SDL is set up to talk to a remote audio + * server, it can't list every one available on the Internet, but it will + * still allow a specific host to be specified to SDL_OpenAudioDevice(). + * + * In many common cases, when this function returns a value <= 0, it can still + * successfully open the default device (NULL for first argument of + * SDL_OpenAudioDevice()). + */ +extern DECLSPEC int SDLCALL SDL_GetNumAudioDevices(int iscapture); + +/** + * Get the human-readable name of a specific audio device. + * Must be a value between 0 and (number of audio devices-1). + * Only valid after a successfully initializing the audio subsystem. + * The values returned by this function reflect the latest call to + * SDL_GetNumAudioDevices(); recall that function to redetect available + * hardware. + * + * The string returned by this function is UTF-8 encoded, read-only, and + * managed internally. You are not to free it. If you need to keep the + * string for any length of time, you should make your own copy of it, as it + * will be invalid next time any of several other SDL functions is called. + */ +extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index, + int iscapture); + + +/** + * Open a specific audio device. Passing in a device name of NULL requests + * the most reasonable default (and is equivalent to calling SDL_OpenAudio()). + * + * The device name is a UTF-8 string reported by SDL_GetAudioDeviceName(), but + * some drivers allow arbitrary and driver-specific strings, such as a + * hostname/IP address for a remote audio server, or a filename in the + * diskaudio driver. + * + * \return 0 on error, a valid device ID that is >= 2 on success. + * + * SDL_OpenAudio(), unlike this function, always acts on device ID 1. + */ +extern DECLSPEC SDL_AudioDeviceID SDLCALL SDL_OpenAudioDevice(const char + *device, + int iscapture, + const + SDL_AudioSpec * + desired, + SDL_AudioSpec * + obtained, + int + allowed_changes); + + + +/** + * \name Audio state + * + * Get the current audio state. + */ +/* @{ */ +typedef enum +{ + SDL_AUDIO_STOPPED = 0, + SDL_AUDIO_PLAYING, + SDL_AUDIO_PAUSED +} SDL_AudioStatus; +extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioStatus(void); + +extern DECLSPEC SDL_AudioStatus SDLCALL +SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev); +/* @} *//* Audio State */ + +/** + * \name Pause audio functions + * + * These functions pause and unpause the audio callback processing. + * They should be called with a parameter of 0 after opening the audio + * device to start playing sound. This is so you can safely initialize + * data for your callback function after opening the audio device. + * Silence will be written to the audio device during the pause. + */ +/* @{ */ +extern DECLSPEC void SDLCALL SDL_PauseAudio(int pause_on); +extern DECLSPEC void SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev, + int pause_on); +/* @} *//* Pause audio functions */ + +/** + * This function loads a WAVE from the data source, automatically freeing + * that source if \c freesrc is non-zero. For example, to load a WAVE file, + * you could do: + * \code + * SDL_LoadWAV_RW(SDL_RWFromFile("sample.wav", "rb"), 1, ...); + * \endcode + * + * If this function succeeds, it returns the given SDL_AudioSpec, + * filled with the audio data format of the wave data, and sets + * \c *audio_buf to a malloc()'d buffer containing the audio data, + * and sets \c *audio_len to the length of that audio buffer, in bytes. + * You need to free the audio buffer with SDL_FreeWAV() when you are + * done with it. + * + * This function returns NULL and sets the SDL error message if the + * wave file cannot be opened, uses an unknown data format, or is + * corrupt. Currently raw and MS-ADPCM WAVE files are supported. + */ +extern DECLSPEC SDL_AudioSpec *SDLCALL SDL_LoadWAV_RW(SDL_RWops * src, + int freesrc, + SDL_AudioSpec * spec, + Uint8 ** audio_buf, + Uint32 * audio_len); + +/** + * Loads a WAV from a file. + * Compatibility convenience function. + */ +#define SDL_LoadWAV(file, spec, audio_buf, audio_len) \ + SDL_LoadWAV_RW(SDL_RWFromFile(file, "rb"),1, spec,audio_buf,audio_len) + +/** + * This function frees data previously allocated with SDL_LoadWAV_RW() + */ +extern DECLSPEC void SDLCALL SDL_FreeWAV(Uint8 * audio_buf); + +/** + * This function takes a source format and rate and a destination format + * and rate, and initializes the \c cvt structure with information needed + * by SDL_ConvertAudio() to convert a buffer of audio data from one format + * to the other. An unsupported format causes an error and -1 will be returned. + * + * \return 0 if no conversion is needed, 1 if the audio filter is set up, + * or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_BuildAudioCVT(SDL_AudioCVT * cvt, + SDL_AudioFormat src_format, + Uint8 src_channels, + int src_rate, + SDL_AudioFormat dst_format, + Uint8 dst_channels, + int dst_rate); + +/** + * Once you have initialized the \c cvt structure using SDL_BuildAudioCVT(), + * created an audio buffer \c cvt->buf, and filled it with \c cvt->len bytes of + * audio data in the source format, this function will convert it in-place + * to the desired format. + * + * The data conversion may expand the size of the audio data, so the buffer + * \c cvt->buf should be allocated after the \c cvt structure is initialized by + * SDL_BuildAudioCVT(), and should be \c cvt->len*cvt->len_mult bytes long. + * + * \return 0 on success or -1 if \c cvt->buf is NULL. + */ +extern DECLSPEC int SDLCALL SDL_ConvertAudio(SDL_AudioCVT * cvt); + +/* SDL_AudioStream is a new audio conversion interface. + The benefits vs SDL_AudioCVT: + - it can handle resampling data in chunks without generating + artifacts, when it doesn't have the complete buffer available. + - it can handle incoming data in any variable size. + - You push data as you have it, and pull it when you need it + */ +/* this is opaque to the outside world. */ +struct _SDL_AudioStream; +typedef struct _SDL_AudioStream SDL_AudioStream; + +/** + * Create a new audio stream + * + * \param src_format The format of the source audio + * \param src_channels The number of channels of the source audio + * \param src_rate The sampling rate of the source audio + * \param dst_format The format of the desired audio output + * \param dst_channels The number of channels of the desired audio output + * \param dst_rate The sampling rate of the desired audio output + * \return 0 on success, or -1 on error. + * + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamFlush + * \sa SDL_AudioStreamClear + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC SDL_AudioStream * SDLCALL SDL_NewAudioStream(const SDL_AudioFormat src_format, + const Uint8 src_channels, + const int src_rate, + const SDL_AudioFormat dst_format, + const Uint8 dst_channels, + const int dst_rate); + +/** + * Add data to be converted/resampled to the stream + * + * \param stream The stream the audio data is being added to + * \param buf A pointer to the audio data to add + * \param int The number of bytes to write to the stream + * \return 0 on success, or -1 on error. + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamFlush + * \sa SDL_AudioStreamClear + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC int SDLCALL SDL_AudioStreamPut(SDL_AudioStream *stream, const void *buf, int len); + +/** + * Get converted/resampled data from the stream + * + * \param stream The stream the audio is being requested from + * \param buf A buffer to fill with audio data + * \param len The maximum number of bytes to fill + * \return The number of bytes read from the stream, or -1 on error + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamFlush + * \sa SDL_AudioStreamClear + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC int SDLCALL SDL_AudioStreamGet(SDL_AudioStream *stream, void *buf, int len); + +/** + * Get the number of converted/resampled bytes available. The stream may be + * buffering data behind the scenes until it has enough to resample + * correctly, so this number might be lower than what you expect, or even + * be zero. Add more data or flush the stream if you need the data now. + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamFlush + * \sa SDL_AudioStreamClear + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC int SDLCALL SDL_AudioStreamAvailable(SDL_AudioStream *stream); + +/** + * Tell the stream that you're done sending data, and anything being buffered + * should be converted/resampled and made available immediately. + * + * It is legal to add more data to a stream after flushing, but there will + * be audio gaps in the output. Generally this is intended to signal the + * end of input, so the complete output becomes available. + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamClear + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC int SDLCALL SDL_AudioStreamFlush(SDL_AudioStream *stream); + +/** + * Clear any pending data in the stream without converting it + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamFlush + * \sa SDL_FreeAudioStream + */ +extern DECLSPEC void SDLCALL SDL_AudioStreamClear(SDL_AudioStream *stream); + +/** + * Free an audio stream + * + * \sa SDL_NewAudioStream + * \sa SDL_AudioStreamPut + * \sa SDL_AudioStreamGet + * \sa SDL_AudioStreamAvailable + * \sa SDL_AudioStreamFlush + * \sa SDL_AudioStreamClear + */ +extern DECLSPEC void SDLCALL SDL_FreeAudioStream(SDL_AudioStream *stream); + +#define SDL_MIX_MAXVOLUME 128 +/** + * This takes two audio buffers of the playing audio format and mixes + * them, performing addition, volume adjustment, and overflow clipping. + * The volume ranges from 0 - 128, and should be set to ::SDL_MIX_MAXVOLUME + * for full audio volume. Note this does not change hardware volume. + * This is provided for convenience -- you can mix your own audio data. + */ +extern DECLSPEC void SDLCALL SDL_MixAudio(Uint8 * dst, const Uint8 * src, + Uint32 len, int volume); + +/** + * This works like SDL_MixAudio(), but you specify the audio format instead of + * using the format of audio device 1. Thus it can be used when no audio + * device is open at all. + */ +extern DECLSPEC void SDLCALL SDL_MixAudioFormat(Uint8 * dst, + const Uint8 * src, + SDL_AudioFormat format, + Uint32 len, int volume); + +/** + * Queue more audio on non-callback devices. + * + * (If you are looking to retrieve queued audio from a non-callback capture + * device, you want SDL_DequeueAudio() instead. This will return -1 to + * signify an error if you use it with capture devices.) + * + * SDL offers two ways to feed audio to the device: you can either supply a + * callback that SDL triggers with some frequency to obtain more audio + * (pull method), or you can supply no callback, and then SDL will expect + * you to supply data at regular intervals (push method) with this function. + * + * There are no limits on the amount of data you can queue, short of + * exhaustion of address space. Queued data will drain to the device as + * necessary without further intervention from you. If the device needs + * audio but there is not enough queued, it will play silence to make up + * the difference. This means you will have skips in your audio playback + * if you aren't routinely queueing sufficient data. + * + * This function copies the supplied data, so you are safe to free it when + * the function returns. This function is thread-safe, but queueing to the + * same device from two threads at once does not promise which buffer will + * be queued first. + * + * You may not queue audio on a device that is using an application-supplied + * callback; doing so returns an error. You have to use the audio callback + * or queue audio with this function, but not both. + * + * You should not call SDL_LockAudio() on the device before queueing; SDL + * handles locking internally for this function. + * + * \param dev The device ID to which we will queue audio. + * \param data The data to queue to the device for later playback. + * \param len The number of bytes (not samples!) to which (data) points. + * \return 0 on success, or -1 on error. + * + * \sa SDL_GetQueuedAudioSize + * \sa SDL_ClearQueuedAudio + */ +extern DECLSPEC int SDLCALL SDL_QueueAudio(SDL_AudioDeviceID dev, const void *data, Uint32 len); + +/** + * Dequeue more audio on non-callback devices. + * + * (If you are looking to queue audio for output on a non-callback playback + * device, you want SDL_QueueAudio() instead. This will always return 0 + * if you use it with playback devices.) + * + * SDL offers two ways to retrieve audio from a capture device: you can + * either supply a callback that SDL triggers with some frequency as the + * device records more audio data, (push method), or you can supply no + * callback, and then SDL will expect you to retrieve data at regular + * intervals (pull method) with this function. + * + * There are no limits on the amount of data you can queue, short of + * exhaustion of address space. Data from the device will keep queuing as + * necessary without further intervention from you. This means you will + * eventually run out of memory if you aren't routinely dequeueing data. + * + * Capture devices will not queue data when paused; if you are expecting + * to not need captured audio for some length of time, use + * SDL_PauseAudioDevice() to stop the capture device from queueing more + * data. This can be useful during, say, level loading times. When + * unpaused, capture devices will start queueing data from that point, + * having flushed any capturable data available while paused. + * + * This function is thread-safe, but dequeueing from the same device from + * two threads at once does not promise which thread will dequeued data + * first. + * + * You may not dequeue audio from a device that is using an + * application-supplied callback; doing so returns an error. You have to use + * the audio callback, or dequeue audio with this function, but not both. + * + * You should not call SDL_LockAudio() on the device before queueing; SDL + * handles locking internally for this function. + * + * \param dev The device ID from which we will dequeue audio. + * \param data A pointer into where audio data should be copied. + * \param len The number of bytes (not samples!) to which (data) points. + * \return number of bytes dequeued, which could be less than requested. + * + * \sa SDL_GetQueuedAudioSize + * \sa SDL_ClearQueuedAudio + */ +extern DECLSPEC Uint32 SDLCALL SDL_DequeueAudio(SDL_AudioDeviceID dev, void *data, Uint32 len); + +/** + * Get the number of bytes of still-queued audio. + * + * For playback device: + * + * This is the number of bytes that have been queued for playback with + * SDL_QueueAudio(), but have not yet been sent to the hardware. This + * number may shrink at any time, so this only informs of pending data. + * + * Once we've sent it to the hardware, this function can not decide the + * exact byte boundary of what has been played. It's possible that we just + * gave the hardware several kilobytes right before you called this + * function, but it hasn't played any of it yet, or maybe half of it, etc. + * + * For capture devices: + * + * This is the number of bytes that have been captured by the device and + * are waiting for you to dequeue. This number may grow at any time, so + * this only informs of the lower-bound of available data. + * + * You may not queue audio on a device that is using an application-supplied + * callback; calling this function on such a device always returns 0. + * You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use + * the audio callback, but not both. + * + * You should not call SDL_LockAudio() on the device before querying; SDL + * handles locking internally for this function. + * + * \param dev The device ID of which we will query queued audio size. + * \return Number of bytes (not samples!) of queued audio. + * + * \sa SDL_QueueAudio + * \sa SDL_ClearQueuedAudio + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetQueuedAudioSize(SDL_AudioDeviceID dev); + +/** + * Drop any queued audio data. For playback devices, this is any queued data + * still waiting to be submitted to the hardware. For capture devices, this + * is any data that was queued by the device that hasn't yet been dequeued by + * the application. + * + * Immediately after this call, SDL_GetQueuedAudioSize() will return 0. For + * playback devices, the hardware will start playing silence if more audio + * isn't queued. Unpaused capture devices will start filling the queue again + * as soon as they have more data available (which, depending on the state + * of the hardware and the thread, could be before this function call + * returns!). + * + * This will not prevent playback of queued audio that's already been sent + * to the hardware, as we can not undo that, so expect there to be some + * fraction of a second of audio that might still be heard. This can be + * useful if you want to, say, drop any pending music during a level change + * in your game. + * + * You may not queue audio on a device that is using an application-supplied + * callback; calling this function on such a device is always a no-op. + * You have to queue audio with SDL_QueueAudio()/SDL_DequeueAudio(), or use + * the audio callback, but not both. + * + * You should not call SDL_LockAudio() on the device before clearing the + * queue; SDL handles locking internally for this function. + * + * This function always succeeds and thus returns void. + * + * \param dev The device ID of which to clear the audio queue. + * + * \sa SDL_QueueAudio + * \sa SDL_GetQueuedAudioSize + */ +extern DECLSPEC void SDLCALL SDL_ClearQueuedAudio(SDL_AudioDeviceID dev); + + +/** + * \name Audio lock functions + * + * The lock manipulated by these functions protects the callback function. + * During a SDL_LockAudio()/SDL_UnlockAudio() pair, you can be guaranteed that + * the callback function is not running. Do not call these from the callback + * function or you will cause deadlock. + */ +/* @{ */ +extern DECLSPEC void SDLCALL SDL_LockAudio(void); +extern DECLSPEC void SDLCALL SDL_LockAudioDevice(SDL_AudioDeviceID dev); +extern DECLSPEC void SDLCALL SDL_UnlockAudio(void); +extern DECLSPEC void SDLCALL SDL_UnlockAudioDevice(SDL_AudioDeviceID dev); +/* @} *//* Audio lock functions */ + +/** + * This function shuts down audio processing and closes the audio device. + */ +extern DECLSPEC void SDLCALL SDL_CloseAudio(void); +extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_audio_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_bits.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_bits.h new file mode 100644 index 000000000..bc2857290 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_bits.h @@ -0,0 +1,112 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_bits.h + * + * Functions for fiddling with bits and bitmasks. + */ + +#ifndef SDL_bits_h_ +#define SDL_bits_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file SDL_bits.h + */ + +/** + * Get the index of the most significant bit. Result is undefined when called + * with 0. This operation can also be stated as "count leading zeroes" and + * "log base 2". + * + * \return Index of the most significant bit, or -1 if the value is 0. + */ +#if defined(__WATCOMC__) && defined(__386__) +extern _inline int _SDL_clz_watcom (Uint32); +#pragma aux _SDL_clz_watcom = \ + "bsr eax, eax" \ + "xor eax, 31" \ + parm [eax] nomemory \ + value [eax] \ + modify exact [eax] nomemory; +#endif + +SDL_FORCE_INLINE int +SDL_MostSignificantBitIndex32(Uint32 x) +{ +#if defined(__GNUC__) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) + /* Count Leading Zeroes builtin in GCC. + * http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Other-Builtins.html + */ + if (x == 0) { + return -1; + } + return 31 - __builtin_clz(x); +#elif defined(__WATCOMC__) && defined(__386__) + if (x == 0) { + return -1; + } + return 31 - _SDL_clz_watcom(x); +#else + /* Based off of Bit Twiddling Hacks by Sean Eron Anderson + * , released in the public domain. + * http://graphics.stanford.edu/~seander/bithacks.html#IntegerLog + */ + const Uint32 b[] = {0x2, 0xC, 0xF0, 0xFF00, 0xFFFF0000}; + const int S[] = {1, 2, 4, 8, 16}; + + int msbIndex = 0; + int i; + + if (x == 0) { + return -1; + } + + for (i = 4; i >= 0; i--) + { + if (x & b[i]) + { + x >>= S[i]; + msbIndex |= S[i]; + } + } + + return msbIndex; +#endif +} + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_bits_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_blendmode.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_blendmode.h new file mode 100644 index 000000000..9abd0bd4c --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_blendmode.h @@ -0,0 +1,120 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_blendmode.h + * + * Header file declaring the SDL_BlendMode enumeration + */ + +#ifndef SDL_blendmode_h_ +#define SDL_blendmode_h_ + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief The blend mode used in SDL_RenderCopy() and drawing operations. + */ +typedef enum +{ + SDL_BLENDMODE_NONE = 0x00000000, /**< no blending + dstRGBA = srcRGBA */ + SDL_BLENDMODE_BLEND = 0x00000001, /**< alpha blending + dstRGB = (srcRGB * srcA) + (dstRGB * (1-srcA)) + dstA = srcA + (dstA * (1-srcA)) */ + SDL_BLENDMODE_ADD = 0x00000002, /**< additive blending + dstRGB = (srcRGB * srcA) + dstRGB + dstA = dstA */ + SDL_BLENDMODE_MOD = 0x00000004, /**< color modulate + dstRGB = srcRGB * dstRGB + dstA = dstA */ + SDL_BLENDMODE_INVALID = 0x7FFFFFFF + + /* Additional custom blend modes can be returned by SDL_ComposeCustomBlendMode() */ + +} SDL_BlendMode; + +/** + * \brief The blend operation used when combining source and destination pixel components + */ +typedef enum +{ + SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */ + SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */ + SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */ + SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D11 */ + SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D11 */ + +} SDL_BlendOperation; + +/** + * \brief The normalized factor used to multiply pixel components + */ +typedef enum +{ + SDL_BLENDFACTOR_ZERO = 0x1, /**< 0, 0, 0, 0 */ + SDL_BLENDFACTOR_ONE = 0x2, /**< 1, 1, 1, 1 */ + SDL_BLENDFACTOR_SRC_COLOR = 0x3, /**< srcR, srcG, srcB, srcA */ + SDL_BLENDFACTOR_ONE_MINUS_SRC_COLOR = 0x4, /**< 1-srcR, 1-srcG, 1-srcB, 1-srcA */ + SDL_BLENDFACTOR_SRC_ALPHA = 0x5, /**< srcA, srcA, srcA, srcA */ + SDL_BLENDFACTOR_ONE_MINUS_SRC_ALPHA = 0x6, /**< 1-srcA, 1-srcA, 1-srcA, 1-srcA */ + SDL_BLENDFACTOR_DST_COLOR = 0x7, /**< dstR, dstG, dstB, dstA */ + SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */ + SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */ + SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */ + +} SDL_BlendFactor; + +/** + * \brief Create a custom blend mode, which may or may not be supported by a given renderer + * + * \param srcColorFactor + * \param dstColorFactor + * \param colorOperation + * \param srcAlphaFactor + * \param dstAlphaFactor + * \param alphaOperation + * + * The result of the blend mode operation will be: + * dstRGB = dstRGB * dstColorFactor colorOperation srcRGB * srcColorFactor + * and + * dstA = dstA * dstAlphaFactor alphaOperation srcA * srcAlphaFactor + */ +extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor srcColorFactor, + SDL_BlendFactor dstColorFactor, + SDL_BlendOperation colorOperation, + SDL_BlendFactor srcAlphaFactor, + SDL_BlendFactor dstAlphaFactor, + SDL_BlendOperation alphaOperation); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_blendmode_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_clipboard.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_clipboard.h new file mode 100644 index 000000000..341f4ba42 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_clipboard.h @@ -0,0 +1,71 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_clipboard.h + * + * Include file for SDL clipboard handling + */ + +#ifndef SDL_clipboard_h_ +#define SDL_clipboard_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* Function prototypes */ + +/** + * \brief Put UTF-8 text into the clipboard + * + * \sa SDL_GetClipboardText() + */ +extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text); + +/** + * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() + * + * \sa SDL_SetClipboardText() + */ +extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void); + +/** + * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty + * + * \sa SDL_GetClipboardText() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_clipboard_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config.h new file mode 100644 index 000000000..41f5baabe --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config.h @@ -0,0 +1,53 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_config_h_ +#define SDL_config_h_ + +#include "SDL_platform.h" + +/** + * \file SDL_config.h + */ + +/* Add any platform that doesn't build using the configure system. */ +#if defined(__WIN32__) +#include "SDL_config_windows.h" +#elif defined(__WINRT__) +#include "SDL_config_winrt.h" +#elif defined(__MACOSX__) +#include "SDL_config_macosx.h" +#elif defined(__IPHONEOS__) +#include "SDL_config_iphoneos.h" +#elif defined(__ANDROID__) +#include "SDL_config_android.h" +#elif defined(__PSP__) +#include "SDL_config_psp.h" +#else +/* This is a minimal configuration just to get SDL running on new platforms */ +#include "SDL_config_minimal.h" +#endif /* platform config */ + +#ifdef USING_GENERATED_CONFIG_H +#error Wrong SDL_config.h, check your include path? +#endif + +#endif /* SDL_config_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h new file mode 100644 index 000000000..f75507894 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h @@ -0,0 +1,199 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_config_macosx_h_ +#define SDL_config_macosx_h_ +#define SDL_config_h_ + +#include "SDL_platform.h" + +/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */ +#include + +/* This is a set of defines to configure the SDL features */ + +#ifdef __LP64__ + #define SIZEOF_VOIDP 8 +#else + #define SIZEOF_VOIDP 4 +#endif + +/* Useful headers */ +#define STDC_HEADERS 1 +#define HAVE_ALLOCA_H 1 +#define HAVE_CTYPE_H 1 +#define HAVE_FLOAT_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_LIMITS_H 1 +#define HAVE_MATH_H 1 +#define HAVE_SIGNAL_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_STDIO_H 1 +#define HAVE_STRING_H 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_LIBUNWIND_H 1 + +/* C library functions */ +#define HAVE_MALLOC 1 +#define HAVE_CALLOC 1 +#define HAVE_REALLOC 1 +#define HAVE_FREE 1 +#define HAVE_ALLOCA 1 +#define HAVE_GETENV 1 +#define HAVE_SETENV 1 +#define HAVE_PUTENV 1 +#define HAVE_UNSETENV 1 +#define HAVE_QSORT 1 +#define HAVE_ABS 1 +#define HAVE_BCOPY 1 +#define HAVE_MEMSET 1 +#define HAVE_MEMCPY 1 +#define HAVE_MEMMOVE 1 +#define HAVE_MEMCMP 1 +#define HAVE_STRLEN 1 +#define HAVE_STRLCPY 1 +#define HAVE_STRLCAT 1 +#define HAVE_STRCHR 1 +#define HAVE_STRRCHR 1 +#define HAVE_STRSTR 1 +#define HAVE_STRTOL 1 +#define HAVE_STRTOUL 1 +#define HAVE_STRTOLL 1 +#define HAVE_STRTOULL 1 +#define HAVE_STRTOD 1 +#define HAVE_ATOI 1 +#define HAVE_ATOF 1 +#define HAVE_STRCMP 1 +#define HAVE_STRNCMP 1 +#define HAVE_STRCASECMP 1 +#define HAVE_STRNCASECMP 1 +#define HAVE_VSSCANF 1 +#define HAVE_VSNPRINTF 1 +#define HAVE_CEIL 1 +#define HAVE_COPYSIGN 1 +#define HAVE_COS 1 +#define HAVE_COSF 1 +#define HAVE_FABS 1 +#define HAVE_FLOOR 1 +#define HAVE_LOG 1 +#define HAVE_POW 1 +#define HAVE_SCALBN 1 +#define HAVE_SIN 1 +#define HAVE_SINF 1 +#define HAVE_SQRT 1 +#define HAVE_SQRTF 1 +#define HAVE_TAN 1 +#define HAVE_TANF 1 +#define HAVE_SIGACTION 1 +#define HAVE_SETJMP 1 +#define HAVE_NANOSLEEP 1 +#define HAVE_SYSCONF 1 +#define HAVE_SYSCTLBYNAME 1 +#define HAVE_ATAN 1 +#define HAVE_ATAN2 1 +#define HAVE_ACOS 1 +#define HAVE_ASIN 1 + +/* Enable various audio drivers */ +#define SDL_AUDIO_DRIVER_COREAUDIO 1 +#define SDL_AUDIO_DRIVER_DISK 1 +#define SDL_AUDIO_DRIVER_DUMMY 1 + +/* Enable various input drivers */ +#define SDL_JOYSTICK_IOKIT 1 +#define SDL_HAPTIC_IOKIT 1 + +/* Enable various shared object loading systems */ +#define SDL_LOADSO_DLOPEN 1 + +/* Enable various threading systems */ +#define SDL_THREAD_PTHREAD 1 +#define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX 1 + +/* Enable various timer systems */ +#define SDL_TIMER_UNIX 1 + +/* Enable various video drivers */ +#define SDL_VIDEO_DRIVER_COCOA 1 +#define SDL_VIDEO_DRIVER_DUMMY 1 +#undef SDL_VIDEO_DRIVER_X11 +#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/usr/X11R6/lib/libX11.6.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/usr/X11R6/lib/libXext.6.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/usr/X11R6/lib/libXinerama.1.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/usr/X11R6/lib/libXi.6.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/usr/X11R6/lib/libXrandr.2.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/usr/X11R6/lib/libXss.1.dylib" +#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/usr/X11R6/lib/libXxf86vm.1.dylib" +#define SDL_VIDEO_DRIVER_X11_XDBE 1 +#define SDL_VIDEO_DRIVER_X11_XINERAMA 1 +#define SDL_VIDEO_DRIVER_X11_XRANDR 1 +#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1 +#define SDL_VIDEO_DRIVER_X11_XSHAPE 1 +#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1 +#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1 + +#ifdef MAC_OS_X_VERSION_10_8 +/* + * No matter the versions targeted, this is the 10.8 or later SDK, so you have + * to use the external Xquartz, which is a more modern Xlib. Previous SDKs + * used an older Xlib. + */ +#define SDL_VIDEO_DRIVER_X11_XINPUT2 1 +#define SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1 +#define SDL_VIDEO_DRIVER_X11_CONST_PARAM_XEXTADDDISPLAY 1 +#endif + +#ifndef SDL_VIDEO_RENDER_OGL +#define SDL_VIDEO_RENDER_OGL 1 +#endif + +/* Enable OpenGL support */ +#ifndef SDL_VIDEO_OPENGL +#define SDL_VIDEO_OPENGL 1 +#endif +#ifndef SDL_VIDEO_OPENGL_CGL +#define SDL_VIDEO_OPENGL_CGL 1 +#endif +#ifndef SDL_VIDEO_OPENGL_GLX +#define SDL_VIDEO_OPENGL_GLX 1 +#endif + +/* Enable Vulkan support */ +/* Metal/MoltenVK/Vulkan only supported on 64-bit architectures with 10.11+ */ +#if TARGET_CPU_X86_64 && (MAC_OS_X_VERSION_MAX_ALLOWED >= 101100) +#define SDL_VIDEO_VULKAN 1 +#else +#define SDL_VIDEO_VULKAN 0 +#endif + +/* Enable system power support */ +#define SDL_POWER_MACOSX 1 + +/* enable filesystem support */ +#define SDL_FILESYSTEM_COCOA 1 + +/* Enable assembly routines */ +#define SDL_ASSEMBLY_ROUTINES 1 +#ifdef __ppc__ +#define SDL_ALTIVEC_BLITTERS 1 +#endif + +#endif /* SDL_config_macosx_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_copying.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_copying.h new file mode 100644 index 000000000..8f60af6b4 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_copying.h @@ -0,0 +1,20 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h new file mode 100644 index 000000000..94b64b03b --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h @@ -0,0 +1,176 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_cpuinfo.h + * + * CPU feature detection for SDL. + */ + +#ifndef SDL_cpuinfo_h_ +#define SDL_cpuinfo_h_ + +#include "SDL_stdinc.h" + +/* Need to do this here because intrin.h has C++ code in it */ +/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */ +#if defined(_MSC_VER) && (_MSC_VER >= 1500) && (defined(_M_IX86) || defined(_M_X64)) +#ifdef __clang__ +/* Many of the intrinsics SDL uses are not implemented by clang with Visual Studio */ +#undef __MMX__ +#undef __SSE__ +#undef __SSE2__ +#else +#include +#ifndef _WIN64 +#define __MMX__ +#define __3dNOW__ +#endif +#define __SSE__ +#define __SSE2__ +#endif /* __clang__ */ +#elif defined(__MINGW64_VERSION_MAJOR) +#include +#else +#ifdef __ALTIVEC__ +#if HAVE_ALTIVEC_H && !defined(__APPLE_ALTIVEC__) +#include +#undef pixel +#endif +#endif +#ifdef __MMX__ +#include +#endif +#ifdef __3dNOW__ +#include +#endif +#ifdef __SSE__ +#include +#endif +#ifdef __SSE2__ +#include +#endif +#ifdef __SSE3__ +#include +#endif +#endif + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* This is a guess for the cacheline size used for padding. + * Most x86 processors have a 64 byte cache line. + * The 64-bit PowerPC processors have a 128 byte cache line. + * We'll use the larger value to be generally safe. + */ +#define SDL_CACHELINE_SIZE 128 + +/** + * This function returns the number of CPU cores available. + */ +extern DECLSPEC int SDLCALL SDL_GetCPUCount(void); + +/** + * This function returns the L1 cache line size of the CPU + * + * This is useful for determining multi-threaded structure padding + * or SIMD prefetch sizes. + */ +extern DECLSPEC int SDLCALL SDL_GetCPUCacheLineSize(void); + +/** + * This function returns true if the CPU has the RDTSC instruction. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasRDTSC(void); + +/** + * This function returns true if the CPU has AltiVec features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasAltiVec(void); + +/** + * This function returns true if the CPU has MMX features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasMMX(void); + +/** + * This function returns true if the CPU has 3DNow! features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_Has3DNow(void); + +/** + * This function returns true if the CPU has SSE features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE(void); + +/** + * This function returns true if the CPU has SSE2 features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE2(void); + +/** + * This function returns true if the CPU has SSE3 features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE3(void); + +/** + * This function returns true if the CPU has SSE4.1 features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE41(void); + +/** + * This function returns true if the CPU has SSE4.2 features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasSSE42(void); + +/** + * This function returns true if the CPU has AVX features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX(void); + +/** + * This function returns true if the CPU has AVX2 features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasAVX2(void); + +/** + * This function returns true if the CPU has NEON (ARM SIMD) features. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void); + +/** + * This function returns the amount of RAM configured in the system, in MB. + */ +extern DECLSPEC int SDLCALL SDL_GetSystemRAM(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_cpuinfo_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_endian.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_endian.h new file mode 100644 index 000000000..3eda7f287 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_endian.h @@ -0,0 +1,260 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_endian.h + * + * Functions for reading and writing endian-specific values + */ + +#ifndef SDL_endian_h_ +#define SDL_endian_h_ + +#include "SDL_stdinc.h" + +/** + * \name The two types of endianness + */ +/* @{ */ +#define SDL_LIL_ENDIAN 1234 +#define SDL_BIG_ENDIAN 4321 +/* @} */ + +#ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */ +#ifdef __linux__ +#include +#define SDL_BYTEORDER __BYTE_ORDER +#else /* __linux__ */ +#if defined(__hppa__) || \ + defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \ + (defined(__MIPS__) && defined(__MISPEB__)) || \ + defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \ + defined(__sparc__) +#define SDL_BYTEORDER SDL_BIG_ENDIAN +#else +#define SDL_BYTEORDER SDL_LIL_ENDIAN +#endif +#endif /* __linux__ */ +#endif /* !SDL_BYTEORDER */ + + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file SDL_endian.h + */ +#if defined(__GNUC__) && defined(__i386__) && \ + !(__GNUC__ == 2 && __GNUC_MINOR__ == 95 /* broken gcc version */) +SDL_FORCE_INLINE Uint16 +SDL_Swap16(Uint16 x) +{ + __asm__("xchgb %b0,%h0": "=q"(x):"0"(x)); + return x; +} +#elif defined(__GNUC__) && defined(__x86_64__) +SDL_FORCE_INLINE Uint16 +SDL_Swap16(Uint16 x) +{ + __asm__("xchgb %b0,%h0": "=Q"(x):"0"(x)); + return x; +} +#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) +SDL_FORCE_INLINE Uint16 +SDL_Swap16(Uint16 x) +{ + int result; + + __asm__("rlwimi %0,%2,8,16,23": "=&r"(result):"0"(x >> 8), "r"(x)); + return (Uint16)result; +} +#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__) +SDL_FORCE_INLINE Uint16 +SDL_Swap16(Uint16 x) +{ + __asm__("rorw #8,%0": "=d"(x): "0"(x):"cc"); + return x; +} +#elif defined(__WATCOMC__) && defined(__386__) +extern _inline Uint16 SDL_Swap16(Uint16); +#pragma aux SDL_Swap16 = \ + "xchg al, ah" \ + parm [ax] \ + modify [ax]; +#else +SDL_FORCE_INLINE Uint16 +SDL_Swap16(Uint16 x) +{ + return SDL_static_cast(Uint16, ((x << 8) | (x >> 8))); +} +#endif + +#if defined(__GNUC__) && defined(__i386__) +SDL_FORCE_INLINE Uint32 +SDL_Swap32(Uint32 x) +{ + __asm__("bswap %0": "=r"(x):"0"(x)); + return x; +} +#elif defined(__GNUC__) && defined(__x86_64__) +SDL_FORCE_INLINE Uint32 +SDL_Swap32(Uint32 x) +{ + __asm__("bswapl %0": "=r"(x):"0"(x)); + return x; +} +#elif defined(__GNUC__) && (defined(__powerpc__) || defined(__ppc__)) +SDL_FORCE_INLINE Uint32 +SDL_Swap32(Uint32 x) +{ + Uint32 result; + + __asm__("rlwimi %0,%2,24,16,23": "=&r"(result):"0"(x >> 24), "r"(x)); + __asm__("rlwimi %0,%2,8,8,15": "=&r"(result):"0"(result), "r"(x)); + __asm__("rlwimi %0,%2,24,0,7": "=&r"(result):"0"(result), "r"(x)); + return result; +} +#elif defined(__GNUC__) && (defined(__M68000__) || defined(__M68020__)) && !defined(__mcoldfire__) +SDL_FORCE_INLINE Uint32 +SDL_Swap32(Uint32 x) +{ + __asm__("rorw #8,%0\n\tswap %0\n\trorw #8,%0": "=d"(x): "0"(x):"cc"); + return x; +} +#elif defined(__WATCOMC__) && defined(__386__) +extern _inline Uint32 SDL_Swap32(Uint32); +#ifndef __SW_3 /* 486+ */ +#pragma aux SDL_Swap32 = \ + "bswap eax" \ + parm [eax] \ + modify [eax]; +#else /* 386-only */ +#pragma aux SDL_Swap32 = \ + "xchg al, ah" \ + "ror eax, 16" \ + "xchg al, ah" \ + parm [eax] \ + modify [eax]; +#endif +#else +SDL_FORCE_INLINE Uint32 +SDL_Swap32(Uint32 x) +{ + return SDL_static_cast(Uint32, ((x << 24) | ((x << 8) & 0x00FF0000) | + ((x >> 8) & 0x0000FF00) | (x >> 24))); +} +#endif + +#if defined(__GNUC__) && defined(__i386__) +SDL_FORCE_INLINE Uint64 +SDL_Swap64(Uint64 x) +{ + union + { + struct + { + Uint32 a, b; + } s; + Uint64 u; + } v; + v.u = x; + __asm__("bswapl %0 ; bswapl %1 ; xchgl %0,%1": "=r"(v.s.a), "=r"(v.s.b):"0"(v.s.a), + "1"(v.s. + b)); + return v.u; +} +#elif defined(__GNUC__) && defined(__x86_64__) +SDL_FORCE_INLINE Uint64 +SDL_Swap64(Uint64 x) +{ + __asm__("bswapq %0": "=r"(x):"0"(x)); + return x; +} +#else +SDL_FORCE_INLINE Uint64 +SDL_Swap64(Uint64 x) +{ + Uint32 hi, lo; + + /* Separate into high and low 32-bit values and swap them */ + lo = SDL_static_cast(Uint32, x & 0xFFFFFFFF); + x >>= 32; + hi = SDL_static_cast(Uint32, x & 0xFFFFFFFF); + x = SDL_Swap32(lo); + x <<= 32; + x |= SDL_Swap32(hi); + return (x); +} +#endif + + +SDL_FORCE_INLINE float +SDL_SwapFloat(float x) +{ + union + { + float f; + Uint32 ui32; + } swapper; + swapper.f = x; + swapper.ui32 = SDL_Swap32(swapper.ui32); + return swapper.f; +} + + +/** + * \name Swap to native + * Byteswap item from the specified endianness to the native endianness. + */ +/* @{ */ +#if SDL_BYTEORDER == SDL_LIL_ENDIAN +#define SDL_SwapLE16(X) (X) +#define SDL_SwapLE32(X) (X) +#define SDL_SwapLE64(X) (X) +#define SDL_SwapFloatLE(X) (X) +#define SDL_SwapBE16(X) SDL_Swap16(X) +#define SDL_SwapBE32(X) SDL_Swap32(X) +#define SDL_SwapBE64(X) SDL_Swap64(X) +#define SDL_SwapFloatBE(X) SDL_SwapFloat(X) +#else +#define SDL_SwapLE16(X) SDL_Swap16(X) +#define SDL_SwapLE32(X) SDL_Swap32(X) +#define SDL_SwapLE64(X) SDL_Swap64(X) +#define SDL_SwapFloatLE(X) SDL_SwapFloat(X) +#define SDL_SwapBE16(X) (X) +#define SDL_SwapBE32(X) (X) +#define SDL_SwapBE64(X) (X) +#define SDL_SwapFloatBE(X) (X) +#endif +/* @} *//* Swap to native */ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_endian_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_error.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_error.h new file mode 100644 index 000000000..49be9827e --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_error.h @@ -0,0 +1,76 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_error.h + * + * Simple error message routines for SDL. + */ + +#ifndef SDL_error_h_ +#define SDL_error_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* Public functions */ +/* SDL_SetError() unconditionally returns -1. */ +extern DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1); +extern DECLSPEC const char *SDLCALL SDL_GetError(void); +extern DECLSPEC void SDLCALL SDL_ClearError(void); + +/** + * \name Internal error functions + * + * \internal + * Private error reporting function - used internally. + */ +/* @{ */ +#define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) +#define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) +#define SDL_InvalidParamError(param) SDL_SetError("Parameter '%s' is invalid", (param)) +typedef enum +{ + SDL_ENOMEM, + SDL_EFREAD, + SDL_EFWRITE, + SDL_EFSEEK, + SDL_UNSUPPORTED, + SDL_LASTERROR +} SDL_errorcode; +/* SDL_Error() unconditionally returns -1. */ +extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code); +/* @} *//* Internal error functions */ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_error_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_events.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_events.h new file mode 100644 index 000000000..0fc09bc37 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_events.h @@ -0,0 +1,754 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_events.h + * + * Include file for SDL event handling. + */ + +#ifndef SDL_events_h_ +#define SDL_events_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" +#include "SDL_keyboard.h" +#include "SDL_mouse.h" +#include "SDL_joystick.h" +#include "SDL_gamecontroller.h" +#include "SDL_quit.h" +#include "SDL_gesture.h" +#include "SDL_touch.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* General keyboard/mouse state definitions */ +#define SDL_RELEASED 0 +#define SDL_PRESSED 1 + +/** + * \brief The types of events that can be delivered. + */ +typedef enum +{ + SDL_FIRSTEVENT = 0, /**< Unused (do not remove) */ + + /* Application events */ + SDL_QUIT = 0x100, /**< User-requested quit */ + + /* These application events have special meaning on iOS, see README-ios.md for details */ + SDL_APP_TERMINATING, /**< The application is being terminated by the OS + Called on iOS in applicationWillTerminate() + Called on Android in onDestroy() + */ + SDL_APP_LOWMEMORY, /**< The application is low on memory, free memory if possible. + Called on iOS in applicationDidReceiveMemoryWarning() + Called on Android in onLowMemory() + */ + SDL_APP_WILLENTERBACKGROUND, /**< The application is about to enter the background + Called on iOS in applicationWillResignActive() + Called on Android in onPause() + */ + SDL_APP_DIDENTERBACKGROUND, /**< The application did enter the background and may not get CPU for some time + Called on iOS in applicationDidEnterBackground() + Called on Android in onPause() + */ + SDL_APP_WILLENTERFOREGROUND, /**< The application is about to enter the foreground + Called on iOS in applicationWillEnterForeground() + Called on Android in onResume() + */ + SDL_APP_DIDENTERFOREGROUND, /**< The application is now interactive + Called on iOS in applicationDidBecomeActive() + Called on Android in onResume() + */ + + /* Window events */ + SDL_WINDOWEVENT = 0x200, /**< Window state change */ + SDL_SYSWMEVENT, /**< System specific event */ + + /* Keyboard events */ + SDL_KEYDOWN = 0x300, /**< Key pressed */ + SDL_KEYUP, /**< Key released */ + SDL_TEXTEDITING, /**< Keyboard text editing (composition) */ + SDL_TEXTINPUT, /**< Keyboard text input */ + SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an + input language or keyboard layout change. + */ + + /* Mouse events */ + SDL_MOUSEMOTION = 0x400, /**< Mouse moved */ + SDL_MOUSEBUTTONDOWN, /**< Mouse button pressed */ + SDL_MOUSEBUTTONUP, /**< Mouse button released */ + SDL_MOUSEWHEEL, /**< Mouse wheel motion */ + + /* Joystick events */ + SDL_JOYAXISMOTION = 0x600, /**< Joystick axis motion */ + SDL_JOYBALLMOTION, /**< Joystick trackball motion */ + SDL_JOYHATMOTION, /**< Joystick hat position change */ + SDL_JOYBUTTONDOWN, /**< Joystick button pressed */ + SDL_JOYBUTTONUP, /**< Joystick button released */ + SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */ + SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */ + + /* Game controller events */ + SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */ + SDL_CONTROLLERBUTTONDOWN, /**< Game controller button pressed */ + SDL_CONTROLLERBUTTONUP, /**< Game controller button released */ + SDL_CONTROLLERDEVICEADDED, /**< A new Game controller has been inserted into the system */ + SDL_CONTROLLERDEVICEREMOVED, /**< An opened Game controller has been removed */ + SDL_CONTROLLERDEVICEREMAPPED, /**< The controller mapping was updated */ + + /* Touch events */ + SDL_FINGERDOWN = 0x700, + SDL_FINGERUP, + SDL_FINGERMOTION, + + /* Gesture events */ + SDL_DOLLARGESTURE = 0x800, + SDL_DOLLARRECORD, + SDL_MULTIGESTURE, + + /* Clipboard events */ + SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard changed */ + + /* Drag and drop events */ + SDL_DROPFILE = 0x1000, /**< The system requests a file open */ + SDL_DROPTEXT, /**< text/plain drag-and-drop event */ + SDL_DROPBEGIN, /**< A new set of drops is beginning (NULL filename) */ + SDL_DROPCOMPLETE, /**< Current set of drops is now complete (NULL filename) */ + + /* Audio hotplug events */ + SDL_AUDIODEVICEADDED = 0x1100, /**< A new audio device is available */ + SDL_AUDIODEVICEREMOVED, /**< An audio device has been removed. */ + + /* Render events */ + SDL_RENDER_TARGETS_RESET = 0x2000, /**< The render targets have been reset and their contents need to be updated */ + SDL_RENDER_DEVICE_RESET, /**< The device has been reset and all textures need to be recreated */ + + /** Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use, + * and should be allocated with SDL_RegisterEvents() + */ + SDL_USEREVENT = 0x8000, + + /** + * This last event is only for bounding internal arrays + */ + SDL_LASTEVENT = 0xFFFF +} SDL_EventType; + +/** + * \brief Fields shared by every event + */ +typedef struct SDL_CommonEvent +{ + Uint32 type; + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ +} SDL_CommonEvent; + +/** + * \brief Window state change event data (event.window.*) + */ +typedef struct SDL_WindowEvent +{ + Uint32 type; /**< ::SDL_WINDOWEVENT */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The associated window */ + Uint8 event; /**< ::SDL_WindowEventID */ + Uint8 padding1; + Uint8 padding2; + Uint8 padding3; + Sint32 data1; /**< event dependent data */ + Sint32 data2; /**< event dependent data */ +} SDL_WindowEvent; + +/** + * \brief Keyboard button event structure (event.key.*) + */ +typedef struct SDL_KeyboardEvent +{ + Uint32 type; /**< ::SDL_KEYDOWN or ::SDL_KEYUP */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with keyboard focus, if any */ + Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */ + Uint8 repeat; /**< Non-zero if this is a key repeat */ + Uint8 padding2; + Uint8 padding3; + SDL_Keysym keysym; /**< The key that was pressed or released */ +} SDL_KeyboardEvent; + +#define SDL_TEXTEDITINGEVENT_TEXT_SIZE (32) +/** + * \brief Keyboard text editing event structure (event.edit.*) + */ +typedef struct SDL_TextEditingEvent +{ + Uint32 type; /**< ::SDL_TEXTEDITING */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with keyboard focus, if any */ + char text[SDL_TEXTEDITINGEVENT_TEXT_SIZE]; /**< The editing text */ + Sint32 start; /**< The start cursor of selected editing text */ + Sint32 length; /**< The length of selected editing text */ +} SDL_TextEditingEvent; + + +#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32) +/** + * \brief Keyboard text input event structure (event.text.*) + */ +typedef struct SDL_TextInputEvent +{ + Uint32 type; /**< ::SDL_TEXTINPUT */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with keyboard focus, if any */ + char text[SDL_TEXTINPUTEVENT_TEXT_SIZE]; /**< The input text */ +} SDL_TextInputEvent; + +/** + * \brief Mouse motion event structure (event.motion.*) + */ +typedef struct SDL_MouseMotionEvent +{ + Uint32 type; /**< ::SDL_MOUSEMOTION */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with mouse focus, if any */ + Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */ + Uint32 state; /**< The current button state */ + Sint32 x; /**< X coordinate, relative to window */ + Sint32 y; /**< Y coordinate, relative to window */ + Sint32 xrel; /**< The relative motion in the X direction */ + Sint32 yrel; /**< The relative motion in the Y direction */ +} SDL_MouseMotionEvent; + +/** + * \brief Mouse button event structure (event.button.*) + */ +typedef struct SDL_MouseButtonEvent +{ + Uint32 type; /**< ::SDL_MOUSEBUTTONDOWN or ::SDL_MOUSEBUTTONUP */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with mouse focus, if any */ + Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */ + Uint8 button; /**< The mouse button index */ + Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */ + Uint8 clicks; /**< 1 for single-click, 2 for double-click, etc. */ + Uint8 padding1; + Sint32 x; /**< X coordinate, relative to window */ + Sint32 y; /**< Y coordinate, relative to window */ +} SDL_MouseButtonEvent; + +/** + * \brief Mouse wheel event structure (event.wheel.*) + */ +typedef struct SDL_MouseWheelEvent +{ + Uint32 type; /**< ::SDL_MOUSEWHEEL */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The window with mouse focus, if any */ + Uint32 which; /**< The mouse instance id, or SDL_TOUCH_MOUSEID */ + Sint32 x; /**< The amount scrolled horizontally, positive to the right and negative to the left */ + Sint32 y; /**< The amount scrolled vertically, positive away from the user and negative toward the user */ + Uint32 direction; /**< Set to one of the SDL_MOUSEWHEEL_* defines. When FLIPPED the values in X and Y will be opposite. Multiply by -1 to change them back */ +} SDL_MouseWheelEvent; + +/** + * \brief Joystick axis motion event structure (event.jaxis.*) + */ +typedef struct SDL_JoyAxisEvent +{ + Uint32 type; /**< ::SDL_JOYAXISMOTION */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 axis; /**< The joystick axis index */ + Uint8 padding1; + Uint8 padding2; + Uint8 padding3; + Sint16 value; /**< The axis value (range: -32768 to 32767) */ + Uint16 padding4; +} SDL_JoyAxisEvent; + +/** + * \brief Joystick trackball motion event structure (event.jball.*) + */ +typedef struct SDL_JoyBallEvent +{ + Uint32 type; /**< ::SDL_JOYBALLMOTION */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 ball; /**< The joystick trackball index */ + Uint8 padding1; + Uint8 padding2; + Uint8 padding3; + Sint16 xrel; /**< The relative motion in the X direction */ + Sint16 yrel; /**< The relative motion in the Y direction */ +} SDL_JoyBallEvent; + +/** + * \brief Joystick hat position change event structure (event.jhat.*) + */ +typedef struct SDL_JoyHatEvent +{ + Uint32 type; /**< ::SDL_JOYHATMOTION */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 hat; /**< The joystick hat index */ + Uint8 value; /**< The hat position value. + * \sa ::SDL_HAT_LEFTUP ::SDL_HAT_UP ::SDL_HAT_RIGHTUP + * \sa ::SDL_HAT_LEFT ::SDL_HAT_CENTERED ::SDL_HAT_RIGHT + * \sa ::SDL_HAT_LEFTDOWN ::SDL_HAT_DOWN ::SDL_HAT_RIGHTDOWN + * + * Note that zero means the POV is centered. + */ + Uint8 padding1; + Uint8 padding2; +} SDL_JoyHatEvent; + +/** + * \brief Joystick button event structure (event.jbutton.*) + */ +typedef struct SDL_JoyButtonEvent +{ + Uint32 type; /**< ::SDL_JOYBUTTONDOWN or ::SDL_JOYBUTTONUP */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 button; /**< The joystick button index */ + Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */ + Uint8 padding1; + Uint8 padding2; +} SDL_JoyButtonEvent; + +/** + * \brief Joystick device event structure (event.jdevice.*) + */ +typedef struct SDL_JoyDeviceEvent +{ + Uint32 type; /**< ::SDL_JOYDEVICEADDED or ::SDL_JOYDEVICEREMOVED */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */ +} SDL_JoyDeviceEvent; + + +/** + * \brief Game controller axis motion event structure (event.caxis.*) + */ +typedef struct SDL_ControllerAxisEvent +{ + Uint32 type; /**< ::SDL_CONTROLLERAXISMOTION */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 axis; /**< The controller axis (SDL_GameControllerAxis) */ + Uint8 padding1; + Uint8 padding2; + Uint8 padding3; + Sint16 value; /**< The axis value (range: -32768 to 32767) */ + Uint16 padding4; +} SDL_ControllerAxisEvent; + + +/** + * \brief Game controller button event structure (event.cbutton.*) + */ +typedef struct SDL_ControllerButtonEvent +{ + Uint32 type; /**< ::SDL_CONTROLLERBUTTONDOWN or ::SDL_CONTROLLERBUTTONUP */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_JoystickID which; /**< The joystick instance id */ + Uint8 button; /**< The controller button (SDL_GameControllerButton) */ + Uint8 state; /**< ::SDL_PRESSED or ::SDL_RELEASED */ + Uint8 padding1; + Uint8 padding2; +} SDL_ControllerButtonEvent; + + +/** + * \brief Controller device event structure (event.cdevice.*) + */ +typedef struct SDL_ControllerDeviceEvent +{ + Uint32 type; /**< ::SDL_CONTROLLERDEVICEADDED, ::SDL_CONTROLLERDEVICEREMOVED, or ::SDL_CONTROLLERDEVICEREMAPPED */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED or REMAPPED event */ +} SDL_ControllerDeviceEvent; + +/** + * \brief Audio device event structure (event.adevice.*) + */ +typedef struct SDL_AudioDeviceEvent +{ + Uint32 type; /**< ::SDL_AUDIODEVICEADDED, or ::SDL_AUDIODEVICEREMOVED */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 which; /**< The audio device index for the ADDED event (valid until next SDL_GetNumAudioDevices() call), SDL_AudioDeviceID for the REMOVED event */ + Uint8 iscapture; /**< zero if an output device, non-zero if a capture device. */ + Uint8 padding1; + Uint8 padding2; + Uint8 padding3; +} SDL_AudioDeviceEvent; + + +/** + * \brief Touch finger event structure (event.tfinger.*) + */ +typedef struct SDL_TouchFingerEvent +{ + Uint32 type; /**< ::SDL_FINGERMOTION or ::SDL_FINGERDOWN or ::SDL_FINGERUP */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_TouchID touchId; /**< The touch device id */ + SDL_FingerID fingerId; + float x; /**< Normalized in the range 0...1 */ + float y; /**< Normalized in the range 0...1 */ + float dx; /**< Normalized in the range -1...1 */ + float dy; /**< Normalized in the range -1...1 */ + float pressure; /**< Normalized in the range 0...1 */ +} SDL_TouchFingerEvent; + + +/** + * \brief Multiple Finger Gesture Event (event.mgesture.*) + */ +typedef struct SDL_MultiGestureEvent +{ + Uint32 type; /**< ::SDL_MULTIGESTURE */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_TouchID touchId; /**< The touch device id */ + float dTheta; + float dDist; + float x; + float y; + Uint16 numFingers; + Uint16 padding; +} SDL_MultiGestureEvent; + + +/** + * \brief Dollar Gesture Event (event.dgesture.*) + */ +typedef struct SDL_DollarGestureEvent +{ + Uint32 type; /**< ::SDL_DOLLARGESTURE or ::SDL_DOLLARRECORD */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_TouchID touchId; /**< The touch device id */ + SDL_GestureID gestureId; + Uint32 numFingers; + float error; + float x; /**< Normalized center of gesture */ + float y; /**< Normalized center of gesture */ +} SDL_DollarGestureEvent; + + +/** + * \brief An event used to request a file open by the system (event.drop.*) + * This event is enabled by default, you can disable it with SDL_EventState(). + * \note If this event is enabled, you must free the filename in the event. + */ +typedef struct SDL_DropEvent +{ + Uint32 type; /**< ::SDL_DROPBEGIN or ::SDL_DROPFILE or ::SDL_DROPTEXT or ::SDL_DROPCOMPLETE */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + char *file; /**< The file name, which should be freed with SDL_free(), is NULL on begin/complete */ + Uint32 windowID; /**< The window that was dropped on, if any */ +} SDL_DropEvent; + + +/** + * \brief The "quit requested" event + */ +typedef struct SDL_QuitEvent +{ + Uint32 type; /**< ::SDL_QUIT */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ +} SDL_QuitEvent; + +/** + * \brief OS Specific event + */ +typedef struct SDL_OSEvent +{ + Uint32 type; /**< ::SDL_QUIT */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ +} SDL_OSEvent; + +/** + * \brief A user-defined event type (event.user.*) + */ +typedef struct SDL_UserEvent +{ + Uint32 type; /**< ::SDL_USEREVENT through ::SDL_LASTEVENT-1 */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + Uint32 windowID; /**< The associated window if any */ + Sint32 code; /**< User defined event code */ + void *data1; /**< User defined data pointer */ + void *data2; /**< User defined data pointer */ +} SDL_UserEvent; + + +struct SDL_SysWMmsg; +typedef struct SDL_SysWMmsg SDL_SysWMmsg; + +/** + * \brief A video driver dependent system event (event.syswm.*) + * This event is disabled by default, you can enable it with SDL_EventState() + * + * \note If you want to use this event, you should include SDL_syswm.h. + */ +typedef struct SDL_SysWMEvent +{ + Uint32 type; /**< ::SDL_SYSWMEVENT */ + Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */ + SDL_SysWMmsg *msg; /**< driver dependent data, defined in SDL_syswm.h */ +} SDL_SysWMEvent; + +/** + * \brief General event structure + */ +typedef union SDL_Event +{ + Uint32 type; /**< Event type, shared with all events */ + SDL_CommonEvent common; /**< Common event data */ + SDL_WindowEvent window; /**< Window event data */ + SDL_KeyboardEvent key; /**< Keyboard event data */ + SDL_TextEditingEvent edit; /**< Text editing event data */ + SDL_TextInputEvent text; /**< Text input event data */ + SDL_MouseMotionEvent motion; /**< Mouse motion event data */ + SDL_MouseButtonEvent button; /**< Mouse button event data */ + SDL_MouseWheelEvent wheel; /**< Mouse wheel event data */ + SDL_JoyAxisEvent jaxis; /**< Joystick axis event data */ + SDL_JoyBallEvent jball; /**< Joystick ball event data */ + SDL_JoyHatEvent jhat; /**< Joystick hat event data */ + SDL_JoyButtonEvent jbutton; /**< Joystick button event data */ + SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */ + SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */ + SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */ + SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */ + SDL_AudioDeviceEvent adevice; /**< Audio device event data */ + SDL_QuitEvent quit; /**< Quit request event data */ + SDL_UserEvent user; /**< Custom event data */ + SDL_SysWMEvent syswm; /**< System dependent window event data */ + SDL_TouchFingerEvent tfinger; /**< Touch finger event data */ + SDL_MultiGestureEvent mgesture; /**< Gesture event data */ + SDL_DollarGestureEvent dgesture; /**< Gesture event data */ + SDL_DropEvent drop; /**< Drag and drop event data */ + + /* This is necessary for ABI compatibility between Visual C++ and GCC + Visual C++ will respect the push pack pragma and use 52 bytes for + this structure, and GCC will use the alignment of the largest datatype + within the union, which is 8 bytes. + + So... we'll add padding to force the size to be 56 bytes for both. + */ + Uint8 padding[56]; +} SDL_Event; + + +/* Function prototypes */ + +/** + * Pumps the event loop, gathering events from the input devices. + * + * This function updates the event queue and internal input device state. + * + * This should only be run in the thread that sets the video mode. + */ +extern DECLSPEC void SDLCALL SDL_PumpEvents(void); + +/* @{ */ +typedef enum +{ + SDL_ADDEVENT, + SDL_PEEKEVENT, + SDL_GETEVENT +} SDL_eventaction; + +/** + * Checks the event queue for messages and optionally returns them. + * + * If \c action is ::SDL_ADDEVENT, up to \c numevents events will be added to + * the back of the event queue. + * + * If \c action is ::SDL_PEEKEVENT, up to \c numevents events at the front + * of the event queue, within the specified minimum and maximum type, + * will be returned and will not be removed from the queue. + * + * If \c action is ::SDL_GETEVENT, up to \c numevents events at the front + * of the event queue, within the specified minimum and maximum type, + * will be returned and will be removed from the queue. + * + * \return The number of events actually stored, or -1 if there was an error. + * + * This function is thread-safe. + */ +extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event * events, int numevents, + SDL_eventaction action, + Uint32 minType, Uint32 maxType); +/* @} */ + +/** + * Checks to see if certain event types are in the event queue. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasEvent(Uint32 type); +extern DECLSPEC SDL_bool SDLCALL SDL_HasEvents(Uint32 minType, Uint32 maxType); + +/** + * This function clears events from the event queue + * This function only affects currently queued events. If you want to make + * sure that all pending OS events are flushed, you can call SDL_PumpEvents() + * on the main thread immediately before the flush call. + */ +extern DECLSPEC void SDLCALL SDL_FlushEvent(Uint32 type); +extern DECLSPEC void SDLCALL SDL_FlushEvents(Uint32 minType, Uint32 maxType); + +/** + * \brief Polls for currently pending events. + * + * \return 1 if there are any pending events, or 0 if there are none available. + * + * \param event If not NULL, the next event is removed from the queue and + * stored in that area. + */ +extern DECLSPEC int SDLCALL SDL_PollEvent(SDL_Event * event); + +/** + * \brief Waits indefinitely for the next available event. + * + * \return 1, or 0 if there was an error while waiting for events. + * + * \param event If not NULL, the next event is removed from the queue and + * stored in that area. + */ +extern DECLSPEC int SDLCALL SDL_WaitEvent(SDL_Event * event); + +/** + * \brief Waits until the specified timeout (in milliseconds) for the next + * available event. + * + * \return 1, or 0 if there was an error while waiting for events. + * + * \param event If not NULL, the next event is removed from the queue and + * stored in that area. + * \param timeout The timeout (in milliseconds) to wait for next event. + */ +extern DECLSPEC int SDLCALL SDL_WaitEventTimeout(SDL_Event * event, + int timeout); + +/** + * \brief Add an event to the event queue. + * + * \return 1 on success, 0 if the event was filtered, or -1 if the event queue + * was full or there was some other error. + */ +extern DECLSPEC int SDLCALL SDL_PushEvent(SDL_Event * event); + +typedef int (SDLCALL * SDL_EventFilter) (void *userdata, SDL_Event * event); + +/** + * Sets up a filter to process all events before they change internal state and + * are posted to the internal event queue. + * + * The filter is prototyped as: + * \code + * int SDL_EventFilter(void *userdata, SDL_Event * event); + * \endcode + * + * If the filter returns 1, then the event will be added to the internal queue. + * If it returns 0, then the event will be dropped from the queue, but the + * internal state will still be updated. This allows selective filtering of + * dynamically arriving events. + * + * \warning Be very careful of what you do in the event filter function, as + * it may run in a different thread! + * + * There is one caveat when dealing with the ::SDL_QuitEvent event type. The + * event filter is only called when the window manager desires to close the + * application window. If the event filter returns 1, then the window will + * be closed, otherwise the window will remain open if possible. + * + * If the quit event is generated by an interrupt signal, it will bypass the + * internal queue and be delivered to the application at the next event poll. + */ +extern DECLSPEC void SDLCALL SDL_SetEventFilter(SDL_EventFilter filter, + void *userdata); + +/** + * Return the current event filter - can be used to "chain" filters. + * If there is no event filter set, this function returns SDL_FALSE. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_GetEventFilter(SDL_EventFilter * filter, + void **userdata); + +/** + * Add a function which is called when an event is added to the queue. + */ +extern DECLSPEC void SDLCALL SDL_AddEventWatch(SDL_EventFilter filter, + void *userdata); + +/** + * Remove an event watch function added with SDL_AddEventWatch() + */ +extern DECLSPEC void SDLCALL SDL_DelEventWatch(SDL_EventFilter filter, + void *userdata); + +/** + * Run the filter function on the current event queue, removing any + * events for which the filter returns 0. + */ +extern DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter, + void *userdata); + +/* @{ */ +#define SDL_QUERY -1 +#define SDL_IGNORE 0 +#define SDL_DISABLE 0 +#define SDL_ENABLE 1 + +/** + * This function allows you to set the state of processing certain events. + * - If \c state is set to ::SDL_IGNORE, that event will be automatically + * dropped from the event queue and will not be filtered. + * - If \c state is set to ::SDL_ENABLE, that event will be processed + * normally. + * - If \c state is set to ::SDL_QUERY, SDL_EventState() will return the + * current processing state of the specified event. + */ +extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint32 type, int state); +/* @} */ +#define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY) + +/** + * This function allocates a set of user-defined events, and returns + * the beginning event number for that set of events. + * + * If there aren't enough user-defined events left, this function + * returns (Uint32)-1 + */ +extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_events_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_filesystem.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_filesystem.h new file mode 100644 index 000000000..a1c846ad0 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_filesystem.h @@ -0,0 +1,136 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_filesystem.h + * + * \brief Include file for filesystem SDL API functions + */ + +#ifndef SDL_filesystem_h_ +#define SDL_filesystem_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" + +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Get the path where the application resides. + * + * Get the "base path". This is the directory where the application was run + * from, which is probably the installation directory, and may or may not + * be the process's current working directory. + * + * This returns an absolute path in UTF-8 encoding, and is guaranteed to + * end with a path separator ('\\' on Windows, '/' most other places). + * + * The pointer returned by this function is owned by you. Please call + * SDL_free() on the pointer when you are done with it, or it will be a + * memory leak. This is not necessarily a fast call, though, so you should + * call this once near startup and save the string if you need it. + * + * Some platforms can't determine the application's path, and on other + * platforms, this might be meaningless. In such cases, this function will + * return NULL. + * + * \return String of base dir in UTF-8 encoding, or NULL on error. + * + * \sa SDL_GetPrefPath + */ +extern DECLSPEC char *SDLCALL SDL_GetBasePath(void); + +/** + * \brief Get the user-and-app-specific path where files can be written. + * + * Get the "pref dir". This is meant to be where users can write personal + * files (preferences and save games, etc) that are specific to your + * application. This directory is unique per user, per application. + * + * This function will decide the appropriate location in the native filesystem, + * create the directory if necessary, and return a string of the absolute + * path to the directory in UTF-8 encoding. + * + * On Windows, the string might look like: + * "C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\" + * + * On Linux, the string might look like: + * "/home/bob/.local/share/My Program Name/" + * + * On Mac OS X, the string might look like: + * "/Users/bob/Library/Application Support/My Program Name/" + * + * (etc.) + * + * You specify the name of your organization (if it's not a real organization, + * your name or an Internet domain you own might do) and the name of your + * application. These should be untranslated proper names. + * + * Both the org and app strings may become part of a directory name, so + * please follow these rules: + * + * - Try to use the same org string (including case-sensitivity) for + * all your applications that use this function. + * - Always use a unique app string for each one, and make sure it never + * changes for an app once you've decided on it. + * - Unicode characters are legal, as long as it's UTF-8 encoded, but... + * - ...only use letters, numbers, and spaces. Avoid punctuation like + * "Game Name 2: Bad Guy's Revenge!" ... "Game Name 2" is sufficient. + * + * This returns an absolute path in UTF-8 encoding, and is guaranteed to + * end with a path separator ('\\' on Windows, '/' most other places). + * + * The pointer returned by this function is owned by you. Please call + * SDL_free() on the pointer when you are done with it, or it will be a + * memory leak. This is not necessarily a fast call, though, so you should + * call this once near startup and save the string if you need it. + * + * You should assume the path returned by this function is the only safe + * place to write files (and that SDL_GetBasePath(), while it might be + * writable, or even the parent of the returned path, aren't where you + * should be writing things). + * + * Some platforms can't determine the pref path, and on other + * platforms, this might be meaningless. In such cases, this function will + * return NULL. + * + * \param org The name of your organization. + * \param app The name of your application. + * \return UTF-8 string of user dir in platform-dependent notation. NULL + * if there's a problem (creating directory failed, etc). + * + * \sa SDL_GetBasePath + */ +extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_filesystem_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h new file mode 100644 index 000000000..c9215132e --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h @@ -0,0 +1,362 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_gamecontroller.h + * + * Include file for SDL game controller event handling + */ + +#ifndef SDL_gamecontroller_h_ +#define SDL_gamecontroller_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_rwops.h" +#include "SDL_joystick.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file SDL_gamecontroller.h + * + * In order to use these functions, SDL_Init() must have been called + * with the ::SDL_INIT_GAMECONTROLLER flag. This causes SDL to scan the system + * for game controllers, and load appropriate drivers. + * + * If you would like to receive controller updates while the application + * is in the background, you should set the following hint before calling + * SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS + */ + +/** + * The gamecontroller structure used to identify an SDL game controller + */ +struct _SDL_GameController; +typedef struct _SDL_GameController SDL_GameController; + + +typedef enum +{ + SDL_CONTROLLER_BINDTYPE_NONE = 0, + SDL_CONTROLLER_BINDTYPE_BUTTON, + SDL_CONTROLLER_BINDTYPE_AXIS, + SDL_CONTROLLER_BINDTYPE_HAT +} SDL_GameControllerBindType; + +/** + * Get the SDL joystick layer binding for this controller button/axis mapping + */ +typedef struct SDL_GameControllerButtonBind +{ + SDL_GameControllerBindType bindType; + union + { + int button; + int axis; + struct { + int hat; + int hat_mask; + } hat; + } value; + +} SDL_GameControllerButtonBind; + + +/** + * To count the number of game controllers in the system for the following: + * int nJoysticks = SDL_NumJoysticks(); + * int nGameControllers = 0; + * for (int i = 0; i < nJoysticks; i++) { + * if (SDL_IsGameController(i)) { + * nGameControllers++; + * } + * } + * + * Using the SDL_HINT_GAMECONTROLLERCONFIG hint or the SDL_GameControllerAddMapping() you can add support for controllers SDL is unaware of or cause an existing controller to have a different binding. The format is: + * guid,name,mappings + * + * Where GUID is the string value from SDL_JoystickGetGUIDString(), name is the human readable string for the device and mappings are controller mappings to joystick ones. + * Under Windows there is a reserved GUID of "xinput" that covers any XInput devices. + * The mapping format for joystick is: + * bX - a joystick button, index X + * hX.Y - hat X with value Y + * aX - axis X of the joystick + * Buttons can be used as a controller axis and vice versa. + * + * This string shows an example of a valid mapping for a controller + * "03000000341a00003608000000000000,PS3 Controller,a:b1,b:b2,y:b3,x:b0,start:b9,guide:b12,back:b8,dpup:h0.1,dpleft:h0.8,dpdown:h0.4,dpright:h0.2,leftshoulder:b4,rightshoulder:b5,leftstick:b10,rightstick:b11,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b6,righttrigger:b7", + * + */ + +/** + * Load a set of mappings from a seekable SDL data stream (memory or file), filtered by the current SDL_GetPlatform() + * A community sourced database of controllers is available at https://raw.github.com/gabomdq/SDL_GameControllerDB/master/gamecontrollerdb.txt + * + * If \c freerw is non-zero, the stream will be closed after being read. + * + * \return number of mappings added, -1 on error + */ +extern DECLSPEC int SDLCALL SDL_GameControllerAddMappingsFromRW(SDL_RWops * rw, int freerw); + +/** + * Load a set of mappings from a file, filtered by the current SDL_GetPlatform() + * + * Convenience macro. + */ +#define SDL_GameControllerAddMappingsFromFile(file) SDL_GameControllerAddMappingsFromRW(SDL_RWFromFile(file, "rb"), 1) + +/** + * Add or update an existing mapping configuration + * + * \return 1 if mapping is added, 0 if updated, -1 on error + */ +extern DECLSPEC int SDLCALL SDL_GameControllerAddMapping(const char* mappingString); + +/** + * Get the number of mappings installed + * + * \return the number of mappings + */ +extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(void); + +/** + * Get the mapping at a particular index. + * + * \return the mapping string. Must be freed with SDL_free(). Returns NULL if the index is out of range. + */ +extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForIndex(int mapping_index); + +/** + * Get a mapping string for a GUID + * + * \return the mapping string. Must be freed with SDL_free(). Returns NULL if no mapping is available + */ +extern DECLSPEC char * SDLCALL SDL_GameControllerMappingForGUID(SDL_JoystickGUID guid); + +/** + * Get a mapping string for an open GameController + * + * \return the mapping string. Must be freed with SDL_free(). Returns NULL if no mapping is available + */ +extern DECLSPEC char * SDLCALL SDL_GameControllerMapping(SDL_GameController * gamecontroller); + +/** + * Is the joystick on this index supported by the game controller interface? + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index); + +/** + * Get the implementation dependent name of a game controller. + * This can be called before any controllers are opened. + * If no name can be found, this function returns NULL. + */ +extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index); + +/** + * Open a game controller for use. + * The index passed as an argument refers to the N'th game controller on the system. + * This index is not the value which will identify this controller in future + * controller events. The joystick's instance id (::SDL_JoystickID) will be + * used there instead. + * + * \return A controller identifier, or NULL if an error occurred. + */ +extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerOpen(int joystick_index); + +/** + * Return the SDL_GameController associated with an instance id. + */ +extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromInstanceID(SDL_JoystickID joyid); + +/** + * Return the name for this currently opened controller + */ +extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller); + +/** + * Get the USB vendor ID of an opened controller, if available. + * If the vendor ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetVendor(SDL_GameController * gamecontroller); + +/** + * Get the USB product ID of an opened controller, if available. + * If the product ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController * gamecontroller); + +/** + * Get the product version of an opened controller, if available. + * If the product version isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController * gamecontroller); + +/** + * Returns SDL_TRUE if the controller has been opened and currently connected, + * or SDL_FALSE if it has not. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_GameControllerGetAttached(SDL_GameController *gamecontroller); + +/** + * Get the underlying joystick object used by a controller + */ +extern DECLSPEC SDL_Joystick *SDLCALL SDL_GameControllerGetJoystick(SDL_GameController *gamecontroller); + +/** + * Enable/disable controller event polling. + * + * If controller events are disabled, you must call SDL_GameControllerUpdate() + * yourself and check the state of the controller when you want controller + * information. + * + * The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE. + */ +extern DECLSPEC int SDLCALL SDL_GameControllerEventState(int state); + +/** + * Update the current state of the open game controllers. + * + * This is called automatically by the event loop if any game controller + * events are enabled. + */ +extern DECLSPEC void SDLCALL SDL_GameControllerUpdate(void); + + +/** + * The list of axes available from a controller + * + * Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX, + * and are centered within ~8000 of zero, though advanced UI will allow users to set + * or autodetect the dead zone, which varies between controllers. + * + * Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX. + */ +typedef enum +{ + SDL_CONTROLLER_AXIS_INVALID = -1, + SDL_CONTROLLER_AXIS_LEFTX, + SDL_CONTROLLER_AXIS_LEFTY, + SDL_CONTROLLER_AXIS_RIGHTX, + SDL_CONTROLLER_AXIS_RIGHTY, + SDL_CONTROLLER_AXIS_TRIGGERLEFT, + SDL_CONTROLLER_AXIS_TRIGGERRIGHT, + SDL_CONTROLLER_AXIS_MAX +} SDL_GameControllerAxis; + +/** + * turn this string into a axis mapping + */ +extern DECLSPEC SDL_GameControllerAxis SDLCALL SDL_GameControllerGetAxisFromString(const char *pchString); + +/** + * turn this axis enum into a string mapping + */ +extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); + +/** + * Get the SDL joystick layer binding for this controller button mapping + */ +extern DECLSPEC SDL_GameControllerButtonBind SDLCALL +SDL_GameControllerGetBindForAxis(SDL_GameController *gamecontroller, + SDL_GameControllerAxis axis); + +/** + * Get the current state of an axis control on a game controller. + * + * The state is a value ranging from -32768 to 32767 (except for the triggers, + * which range from 0 to 32767). + * + * The axis indices start at index 0. + */ +extern DECLSPEC Sint16 SDLCALL +SDL_GameControllerGetAxis(SDL_GameController *gamecontroller, + SDL_GameControllerAxis axis); + +/** + * The list of buttons available from a controller + */ +typedef enum +{ + SDL_CONTROLLER_BUTTON_INVALID = -1, + SDL_CONTROLLER_BUTTON_A, + SDL_CONTROLLER_BUTTON_B, + SDL_CONTROLLER_BUTTON_X, + SDL_CONTROLLER_BUTTON_Y, + SDL_CONTROLLER_BUTTON_BACK, + SDL_CONTROLLER_BUTTON_GUIDE, + SDL_CONTROLLER_BUTTON_START, + SDL_CONTROLLER_BUTTON_LEFTSTICK, + SDL_CONTROLLER_BUTTON_RIGHTSTICK, + SDL_CONTROLLER_BUTTON_LEFTSHOULDER, + SDL_CONTROLLER_BUTTON_RIGHTSHOULDER, + SDL_CONTROLLER_BUTTON_DPAD_UP, + SDL_CONTROLLER_BUTTON_DPAD_DOWN, + SDL_CONTROLLER_BUTTON_DPAD_LEFT, + SDL_CONTROLLER_BUTTON_DPAD_RIGHT, + SDL_CONTROLLER_BUTTON_MAX +} SDL_GameControllerButton; + +/** + * turn this string into a button mapping + */ +extern DECLSPEC SDL_GameControllerButton SDLCALL SDL_GameControllerGetButtonFromString(const char *pchString); + +/** + * turn this button enum into a string mapping + */ +extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForButton(SDL_GameControllerButton button); + +/** + * Get the SDL joystick layer binding for this controller button mapping + */ +extern DECLSPEC SDL_GameControllerButtonBind SDLCALL +SDL_GameControllerGetBindForButton(SDL_GameController *gamecontroller, + SDL_GameControllerButton button); + + +/** + * Get the current state of a button on a game controller. + * + * The button indices start at index 0. + */ +extern DECLSPEC Uint8 SDLCALL SDL_GameControllerGetButton(SDL_GameController *gamecontroller, + SDL_GameControllerButton button); + +/** + * Close a controller previously opened with SDL_GameControllerOpen(). + */ +extern DECLSPEC void SDLCALL SDL_GameControllerClose(SDL_GameController *gamecontroller); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_gamecontroller_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gesture.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gesture.h new file mode 100644 index 000000000..2bba6a729 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_gesture.h @@ -0,0 +1,87 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_gesture.h + * + * Include file for SDL gesture event handling. + */ + +#ifndef SDL_gesture_h_ +#define SDL_gesture_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" + +#include "SDL_touch.h" + + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +typedef Sint64 SDL_GestureID; + +/* Function prototypes */ + +/** + * \brief Begin Recording a gesture on the specified touch, or all touches (-1) + * + * + */ +extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId); + + +/** + * \brief Save all currently loaded Dollar Gesture templates + * + * + */ +extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *dst); + +/** + * \brief Save a currently loaded Dollar Gesture template + * + * + */ +extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *dst); + + +/** + * \brief Load Dollar Gesture templates from a file + * + * + */ +extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_gesture_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_haptic.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_haptic.h new file mode 100644 index 000000000..60daefaa7 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_haptic.h @@ -0,0 +1,1227 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_haptic.h + * + * \brief The SDL haptic subsystem allows you to control haptic (force feedback) + * devices. + * + * The basic usage is as follows: + * - Initialize the subsystem (::SDL_INIT_HAPTIC). + * - Open a haptic device. + * - SDL_HapticOpen() to open from index. + * - SDL_HapticOpenFromJoystick() to open from an existing joystick. + * - Create an effect (::SDL_HapticEffect). + * - Upload the effect with SDL_HapticNewEffect(). + * - Run the effect with SDL_HapticRunEffect(). + * - (optional) Free the effect with SDL_HapticDestroyEffect(). + * - Close the haptic device with SDL_HapticClose(). + * + * \par Simple rumble example: + * \code + * SDL_Haptic *haptic; + * + * // Open the device + * haptic = SDL_HapticOpen( 0 ); + * if (haptic == NULL) + * return -1; + * + * // Initialize simple rumble + * if (SDL_HapticRumbleInit( haptic ) != 0) + * return -1; + * + * // Play effect at 50% strength for 2 seconds + * if (SDL_HapticRumblePlay( haptic, 0.5, 2000 ) != 0) + * return -1; + * SDL_Delay( 2000 ); + * + * // Clean up + * SDL_HapticClose( haptic ); + * \endcode + * + * \par Complete example: + * \code + * int test_haptic( SDL_Joystick * joystick ) { + * SDL_Haptic *haptic; + * SDL_HapticEffect effect; + * int effect_id; + * + * // Open the device + * haptic = SDL_HapticOpenFromJoystick( joystick ); + * if (haptic == NULL) return -1; // Most likely joystick isn't haptic + * + * // See if it can do sine waves + * if ((SDL_HapticQuery(haptic) & SDL_HAPTIC_SINE)==0) { + * SDL_HapticClose(haptic); // No sine effect + * return -1; + * } + * + * // Create the effect + * memset( &effect, 0, sizeof(SDL_HapticEffect) ); // 0 is safe default + * effect.type = SDL_HAPTIC_SINE; + * effect.periodic.direction.type = SDL_HAPTIC_POLAR; // Polar coordinates + * effect.periodic.direction.dir[0] = 18000; // Force comes from south + * effect.periodic.period = 1000; // 1000 ms + * effect.periodic.magnitude = 20000; // 20000/32767 strength + * effect.periodic.length = 5000; // 5 seconds long + * effect.periodic.attack_length = 1000; // Takes 1 second to get max strength + * effect.periodic.fade_length = 1000; // Takes 1 second to fade away + * + * // Upload the effect + * effect_id = SDL_HapticNewEffect( haptic, &effect ); + * + * // Test the effect + * SDL_HapticRunEffect( haptic, effect_id, 1 ); + * SDL_Delay( 5000); // Wait for the effect to finish + * + * // We destroy the effect, although closing the device also does this + * SDL_HapticDestroyEffect( haptic, effect_id ); + * + * // Close the device + * SDL_HapticClose(haptic); + * + * return 0; // Success + * } + * \endcode + */ + +#ifndef SDL_haptic_h_ +#define SDL_haptic_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_joystick.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +/** + * \typedef SDL_Haptic + * + * \brief The haptic structure used to identify an SDL haptic. + * + * \sa SDL_HapticOpen + * \sa SDL_HapticOpenFromJoystick + * \sa SDL_HapticClose + */ +struct _SDL_Haptic; +typedef struct _SDL_Haptic SDL_Haptic; + + +/** + * \name Haptic features + * + * Different haptic features a device can have. + */ +/* @{ */ + +/** + * \name Haptic effects + */ +/* @{ */ + +/** + * \brief Constant effect supported. + * + * Constant haptic effect. + * + * \sa SDL_HapticCondition + */ +#define SDL_HAPTIC_CONSTANT (1u<<0) + +/** + * \brief Sine wave effect supported. + * + * Periodic haptic effect that simulates sine waves. + * + * \sa SDL_HapticPeriodic + */ +#define SDL_HAPTIC_SINE (1u<<1) + +/** + * \brief Left/Right effect supported. + * + * Haptic effect for direct control over high/low frequency motors. + * + * \sa SDL_HapticLeftRight + * \warning this value was SDL_HAPTIC_SQUARE right before 2.0.0 shipped. Sorry, + * we ran out of bits, and this is important for XInput devices. + */ +#define SDL_HAPTIC_LEFTRIGHT (1u<<2) + +/* !!! FIXME: put this back when we have more bits in 2.1 */ +/* #define SDL_HAPTIC_SQUARE (1<<2) */ + +/** + * \brief Triangle wave effect supported. + * + * Periodic haptic effect that simulates triangular waves. + * + * \sa SDL_HapticPeriodic + */ +#define SDL_HAPTIC_TRIANGLE (1u<<3) + +/** + * \brief Sawtoothup wave effect supported. + * + * Periodic haptic effect that simulates saw tooth up waves. + * + * \sa SDL_HapticPeriodic + */ +#define SDL_HAPTIC_SAWTOOTHUP (1u<<4) + +/** + * \brief Sawtoothdown wave effect supported. + * + * Periodic haptic effect that simulates saw tooth down waves. + * + * \sa SDL_HapticPeriodic + */ +#define SDL_HAPTIC_SAWTOOTHDOWN (1u<<5) + +/** + * \brief Ramp effect supported. + * + * Ramp haptic effect. + * + * \sa SDL_HapticRamp + */ +#define SDL_HAPTIC_RAMP (1u<<6) + +/** + * \brief Spring effect supported - uses axes position. + * + * Condition haptic effect that simulates a spring. Effect is based on the + * axes position. + * + * \sa SDL_HapticCondition + */ +#define SDL_HAPTIC_SPRING (1u<<7) + +/** + * \brief Damper effect supported - uses axes velocity. + * + * Condition haptic effect that simulates dampening. Effect is based on the + * axes velocity. + * + * \sa SDL_HapticCondition + */ +#define SDL_HAPTIC_DAMPER (1u<<8) + +/** + * \brief Inertia effect supported - uses axes acceleration. + * + * Condition haptic effect that simulates inertia. Effect is based on the axes + * acceleration. + * + * \sa SDL_HapticCondition + */ +#define SDL_HAPTIC_INERTIA (1u<<9) + +/** + * \brief Friction effect supported - uses axes movement. + * + * Condition haptic effect that simulates friction. Effect is based on the + * axes movement. + * + * \sa SDL_HapticCondition + */ +#define SDL_HAPTIC_FRICTION (1u<<10) + +/** + * \brief Custom effect is supported. + * + * User defined custom haptic effect. + */ +#define SDL_HAPTIC_CUSTOM (1u<<11) + +/* @} *//* Haptic effects */ + +/* These last few are features the device has, not effects */ + +/** + * \brief Device can set global gain. + * + * Device supports setting the global gain. + * + * \sa SDL_HapticSetGain + */ +#define SDL_HAPTIC_GAIN (1u<<12) + +/** + * \brief Device can set autocenter. + * + * Device supports setting autocenter. + * + * \sa SDL_HapticSetAutocenter + */ +#define SDL_HAPTIC_AUTOCENTER (1u<<13) + +/** + * \brief Device can be queried for effect status. + * + * Device supports querying effect status. + * + * \sa SDL_HapticGetEffectStatus + */ +#define SDL_HAPTIC_STATUS (1u<<14) + +/** + * \brief Device can be paused. + * + * Devices supports being paused. + * + * \sa SDL_HapticPause + * \sa SDL_HapticUnpause + */ +#define SDL_HAPTIC_PAUSE (1u<<15) + + +/** + * \name Direction encodings + */ +/* @{ */ + +/** + * \brief Uses polar coordinates for the direction. + * + * \sa SDL_HapticDirection + */ +#define SDL_HAPTIC_POLAR 0 + +/** + * \brief Uses cartesian coordinates for the direction. + * + * \sa SDL_HapticDirection + */ +#define SDL_HAPTIC_CARTESIAN 1 + +/** + * \brief Uses spherical coordinates for the direction. + * + * \sa SDL_HapticDirection + */ +#define SDL_HAPTIC_SPHERICAL 2 + +/* @} *//* Direction encodings */ + +/* @} *//* Haptic features */ + +/* + * Misc defines. + */ + +/** + * \brief Used to play a device an infinite number of times. + * + * \sa SDL_HapticRunEffect + */ +#define SDL_HAPTIC_INFINITY 4294967295U + + +/** + * \brief Structure that represents a haptic direction. + * + * This is the direction where the force comes from, + * instead of the direction in which the force is exerted. + * + * Directions can be specified by: + * - ::SDL_HAPTIC_POLAR : Specified by polar coordinates. + * - ::SDL_HAPTIC_CARTESIAN : Specified by cartesian coordinates. + * - ::SDL_HAPTIC_SPHERICAL : Specified by spherical coordinates. + * + * Cardinal directions of the haptic device are relative to the positioning + * of the device. North is considered to be away from the user. + * + * The following diagram represents the cardinal directions: + * \verbatim + .--. + |__| .-------. + |=.| |.-----.| + |--| || || + | | |'-----'| + |__|~')_____(' + [ COMPUTER ] + + + North (0,-1) + ^ + | + | + (-1,0) West <----[ HAPTIC ]----> East (1,0) + | + | + v + South (0,1) + + + [ USER ] + \|||/ + (o o) + ---ooO-(_)-Ooo--- + \endverbatim + * + * If type is ::SDL_HAPTIC_POLAR, direction is encoded by hundredths of a + * degree starting north and turning clockwise. ::SDL_HAPTIC_POLAR only uses + * the first \c dir parameter. The cardinal directions would be: + * - North: 0 (0 degrees) + * - East: 9000 (90 degrees) + * - South: 18000 (180 degrees) + * - West: 27000 (270 degrees) + * + * If type is ::SDL_HAPTIC_CARTESIAN, direction is encoded by three positions + * (X axis, Y axis and Z axis (with 3 axes)). ::SDL_HAPTIC_CARTESIAN uses + * the first three \c dir parameters. The cardinal directions would be: + * - North: 0,-1, 0 + * - East: 1, 0, 0 + * - South: 0, 1, 0 + * - West: -1, 0, 0 + * + * The Z axis represents the height of the effect if supported, otherwise + * it's unused. In cartesian encoding (1, 2) would be the same as (2, 4), you + * can use any multiple you want, only the direction matters. + * + * If type is ::SDL_HAPTIC_SPHERICAL, direction is encoded by two rotations. + * The first two \c dir parameters are used. The \c dir parameters are as + * follows (all values are in hundredths of degrees): + * - Degrees from (1, 0) rotated towards (0, 1). + * - Degrees towards (0, 0, 1) (device needs at least 3 axes). + * + * + * Example of force coming from the south with all encodings (force coming + * from the south means the user will have to pull the stick to counteract): + * \code + * SDL_HapticDirection direction; + * + * // Cartesian directions + * direction.type = SDL_HAPTIC_CARTESIAN; // Using cartesian direction encoding. + * direction.dir[0] = 0; // X position + * direction.dir[1] = 1; // Y position + * // Assuming the device has 2 axes, we don't need to specify third parameter. + * + * // Polar directions + * direction.type = SDL_HAPTIC_POLAR; // We'll be using polar direction encoding. + * direction.dir[0] = 18000; // Polar only uses first parameter + * + * // Spherical coordinates + * direction.type = SDL_HAPTIC_SPHERICAL; // Spherical encoding + * direction.dir[0] = 9000; // Since we only have two axes we don't need more parameters. + * \endcode + * + * \sa SDL_HAPTIC_POLAR + * \sa SDL_HAPTIC_CARTESIAN + * \sa SDL_HAPTIC_SPHERICAL + * \sa SDL_HapticEffect + * \sa SDL_HapticNumAxes + */ +typedef struct SDL_HapticDirection +{ + Uint8 type; /**< The type of encoding. */ + Sint32 dir[3]; /**< The encoded direction. */ +} SDL_HapticDirection; + + +/** + * \brief A structure containing a template for a Constant effect. + * + * This struct is exclusively for the ::SDL_HAPTIC_CONSTANT effect. + * + * A constant effect applies a constant force in the specified direction + * to the joystick. + * + * \sa SDL_HAPTIC_CONSTANT + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticConstant +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_CONSTANT */ + SDL_HapticDirection direction; /**< Direction of the effect. */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + Uint16 delay; /**< Delay before starting the effect. */ + + /* Trigger */ + Uint16 button; /**< Button that triggers the effect. */ + Uint16 interval; /**< How soon it can be triggered again after button. */ + + /* Constant */ + Sint16 level; /**< Strength of the constant effect. */ + + /* Envelope */ + Uint16 attack_length; /**< Duration of the attack. */ + Uint16 attack_level; /**< Level at the start of the attack. */ + Uint16 fade_length; /**< Duration of the fade. */ + Uint16 fade_level; /**< Level at the end of the fade. */ +} SDL_HapticConstant; + +/** + * \brief A structure containing a template for a Periodic effect. + * + * The struct handles the following effects: + * - ::SDL_HAPTIC_SINE + * - ::SDL_HAPTIC_LEFTRIGHT + * - ::SDL_HAPTIC_TRIANGLE + * - ::SDL_HAPTIC_SAWTOOTHUP + * - ::SDL_HAPTIC_SAWTOOTHDOWN + * + * A periodic effect consists in a wave-shaped effect that repeats itself + * over time. The type determines the shape of the wave and the parameters + * determine the dimensions of the wave. + * + * Phase is given by hundredth of a degree meaning that giving the phase a value + * of 9000 will displace it 25% of its period. Here are sample values: + * - 0: No phase displacement. + * - 9000: Displaced 25% of its period. + * - 18000: Displaced 50% of its period. + * - 27000: Displaced 75% of its period. + * - 36000: Displaced 100% of its period, same as 0, but 0 is preferred. + * + * Examples: + * \verbatim + SDL_HAPTIC_SINE + __ __ __ __ + / \ / \ / \ / + / \__/ \__/ \__/ + + SDL_HAPTIC_SQUARE + __ __ __ __ __ + | | | | | | | | | | + | |__| |__| |__| |__| | + + SDL_HAPTIC_TRIANGLE + /\ /\ /\ /\ /\ + / \ / \ / \ / \ / + / \/ \/ \/ \/ + + SDL_HAPTIC_SAWTOOTHUP + /| /| /| /| /| /| /| + / | / | / | / | / | / | / | + / |/ |/ |/ |/ |/ |/ | + + SDL_HAPTIC_SAWTOOTHDOWN + \ |\ |\ |\ |\ |\ |\ | + \ | \ | \ | \ | \ | \ | \ | + \| \| \| \| \| \| \| + \endverbatim + * + * \sa SDL_HAPTIC_SINE + * \sa SDL_HAPTIC_LEFTRIGHT + * \sa SDL_HAPTIC_TRIANGLE + * \sa SDL_HAPTIC_SAWTOOTHUP + * \sa SDL_HAPTIC_SAWTOOTHDOWN + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticPeriodic +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_SINE, ::SDL_HAPTIC_LEFTRIGHT, + ::SDL_HAPTIC_TRIANGLE, ::SDL_HAPTIC_SAWTOOTHUP or + ::SDL_HAPTIC_SAWTOOTHDOWN */ + SDL_HapticDirection direction; /**< Direction of the effect. */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + Uint16 delay; /**< Delay before starting the effect. */ + + /* Trigger */ + Uint16 button; /**< Button that triggers the effect. */ + Uint16 interval; /**< How soon it can be triggered again after button. */ + + /* Periodic */ + Uint16 period; /**< Period of the wave. */ + Sint16 magnitude; /**< Peak value; if negative, equivalent to 180 degrees extra phase shift. */ + Sint16 offset; /**< Mean value of the wave. */ + Uint16 phase; /**< Positive phase shift given by hundredth of a degree. */ + + /* Envelope */ + Uint16 attack_length; /**< Duration of the attack. */ + Uint16 attack_level; /**< Level at the start of the attack. */ + Uint16 fade_length; /**< Duration of the fade. */ + Uint16 fade_level; /**< Level at the end of the fade. */ +} SDL_HapticPeriodic; + +/** + * \brief A structure containing a template for a Condition effect. + * + * The struct handles the following effects: + * - ::SDL_HAPTIC_SPRING: Effect based on axes position. + * - ::SDL_HAPTIC_DAMPER: Effect based on axes velocity. + * - ::SDL_HAPTIC_INERTIA: Effect based on axes acceleration. + * - ::SDL_HAPTIC_FRICTION: Effect based on axes movement. + * + * Direction is handled by condition internals instead of a direction member. + * The condition effect specific members have three parameters. The first + * refers to the X axis, the second refers to the Y axis and the third + * refers to the Z axis. The right terms refer to the positive side of the + * axis and the left terms refer to the negative side of the axis. Please + * refer to the ::SDL_HapticDirection diagram for which side is positive and + * which is negative. + * + * \sa SDL_HapticDirection + * \sa SDL_HAPTIC_SPRING + * \sa SDL_HAPTIC_DAMPER + * \sa SDL_HAPTIC_INERTIA + * \sa SDL_HAPTIC_FRICTION + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticCondition +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_SPRING, ::SDL_HAPTIC_DAMPER, + ::SDL_HAPTIC_INERTIA or ::SDL_HAPTIC_FRICTION */ + SDL_HapticDirection direction; /**< Direction of the effect - Not used ATM. */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + Uint16 delay; /**< Delay before starting the effect. */ + + /* Trigger */ + Uint16 button; /**< Button that triggers the effect. */ + Uint16 interval; /**< How soon it can be triggered again after button. */ + + /* Condition */ + Uint16 right_sat[3]; /**< Level when joystick is to the positive side; max 0xFFFF. */ + Uint16 left_sat[3]; /**< Level when joystick is to the negative side; max 0xFFFF. */ + Sint16 right_coeff[3]; /**< How fast to increase the force towards the positive side. */ + Sint16 left_coeff[3]; /**< How fast to increase the force towards the negative side. */ + Uint16 deadband[3]; /**< Size of the dead zone; max 0xFFFF: whole axis-range when 0-centered. */ + Sint16 center[3]; /**< Position of the dead zone. */ +} SDL_HapticCondition; + +/** + * \brief A structure containing a template for a Ramp effect. + * + * This struct is exclusively for the ::SDL_HAPTIC_RAMP effect. + * + * The ramp effect starts at start strength and ends at end strength. + * It augments in linear fashion. If you use attack and fade with a ramp + * the effects get added to the ramp effect making the effect become + * quadratic instead of linear. + * + * \sa SDL_HAPTIC_RAMP + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticRamp +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_RAMP */ + SDL_HapticDirection direction; /**< Direction of the effect. */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + Uint16 delay; /**< Delay before starting the effect. */ + + /* Trigger */ + Uint16 button; /**< Button that triggers the effect. */ + Uint16 interval; /**< How soon it can be triggered again after button. */ + + /* Ramp */ + Sint16 start; /**< Beginning strength level. */ + Sint16 end; /**< Ending strength level. */ + + /* Envelope */ + Uint16 attack_length; /**< Duration of the attack. */ + Uint16 attack_level; /**< Level at the start of the attack. */ + Uint16 fade_length; /**< Duration of the fade. */ + Uint16 fade_level; /**< Level at the end of the fade. */ +} SDL_HapticRamp; + +/** + * \brief A structure containing a template for a Left/Right effect. + * + * This struct is exclusively for the ::SDL_HAPTIC_LEFTRIGHT effect. + * + * The Left/Right effect is used to explicitly control the large and small + * motors, commonly found in modern game controllers. One motor is high + * frequency, the other is low frequency. + * + * \sa SDL_HAPTIC_LEFTRIGHT + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticLeftRight +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_LEFTRIGHT */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + + /* Rumble */ + Uint16 large_magnitude; /**< Control of the large controller motor. */ + Uint16 small_magnitude; /**< Control of the small controller motor. */ +} SDL_HapticLeftRight; + +/** + * \brief A structure containing a template for the ::SDL_HAPTIC_CUSTOM effect. + * + * This struct is exclusively for the ::SDL_HAPTIC_CUSTOM effect. + * + * A custom force feedback effect is much like a periodic effect, where the + * application can define its exact shape. You will have to allocate the + * data yourself. Data should consist of channels * samples Uint16 samples. + * + * If channels is one, the effect is rotated using the defined direction. + * Otherwise it uses the samples in data for the different axes. + * + * \sa SDL_HAPTIC_CUSTOM + * \sa SDL_HapticEffect + */ +typedef struct SDL_HapticCustom +{ + /* Header */ + Uint16 type; /**< ::SDL_HAPTIC_CUSTOM */ + SDL_HapticDirection direction; /**< Direction of the effect. */ + + /* Replay */ + Uint32 length; /**< Duration of the effect. */ + Uint16 delay; /**< Delay before starting the effect. */ + + /* Trigger */ + Uint16 button; /**< Button that triggers the effect. */ + Uint16 interval; /**< How soon it can be triggered again after button. */ + + /* Custom */ + Uint8 channels; /**< Axes to use, minimum of one. */ + Uint16 period; /**< Sample periods. */ + Uint16 samples; /**< Amount of samples. */ + Uint16 *data; /**< Should contain channels*samples items. */ + + /* Envelope */ + Uint16 attack_length; /**< Duration of the attack. */ + Uint16 attack_level; /**< Level at the start of the attack. */ + Uint16 fade_length; /**< Duration of the fade. */ + Uint16 fade_level; /**< Level at the end of the fade. */ +} SDL_HapticCustom; + +/** + * \brief The generic template for any haptic effect. + * + * All values max at 32767 (0x7FFF). Signed values also can be negative. + * Time values unless specified otherwise are in milliseconds. + * + * You can also pass ::SDL_HAPTIC_INFINITY to length instead of a 0-32767 + * value. Neither delay, interval, attack_length nor fade_length support + * ::SDL_HAPTIC_INFINITY. Fade will also not be used since effect never ends. + * + * Additionally, the ::SDL_HAPTIC_RAMP effect does not support a duration of + * ::SDL_HAPTIC_INFINITY. + * + * Button triggers may not be supported on all devices, it is advised to not + * use them if possible. Buttons start at index 1 instead of index 0 like + * the joystick. + * + * If both attack_length and fade_level are 0, the envelope is not used, + * otherwise both values are used. + * + * Common parts: + * \code + * // Replay - All effects have this + * Uint32 length; // Duration of effect (ms). + * Uint16 delay; // Delay before starting effect. + * + * // Trigger - All effects have this + * Uint16 button; // Button that triggers effect. + * Uint16 interval; // How soon before effect can be triggered again. + * + * // Envelope - All effects except condition effects have this + * Uint16 attack_length; // Duration of the attack (ms). + * Uint16 attack_level; // Level at the start of the attack. + * Uint16 fade_length; // Duration of the fade out (ms). + * Uint16 fade_level; // Level at the end of the fade. + * \endcode + * + * + * Here we have an example of a constant effect evolution in time: + * \verbatim + Strength + ^ + | + | effect level --> _________________ + | / \ + | / \ + | / \ + | / \ + | attack_level --> | \ + | | | <--- fade_level + | + +--------------------------------------------------> Time + [--] [---] + attack_length fade_length + + [------------------][-----------------------] + delay length + \endverbatim + * + * Note either the attack_level or the fade_level may be above the actual + * effect level. + * + * \sa SDL_HapticConstant + * \sa SDL_HapticPeriodic + * \sa SDL_HapticCondition + * \sa SDL_HapticRamp + * \sa SDL_HapticLeftRight + * \sa SDL_HapticCustom + */ +typedef union SDL_HapticEffect +{ + /* Common for all force feedback effects */ + Uint16 type; /**< Effect type. */ + SDL_HapticConstant constant; /**< Constant effect. */ + SDL_HapticPeriodic periodic; /**< Periodic effect. */ + SDL_HapticCondition condition; /**< Condition effect. */ + SDL_HapticRamp ramp; /**< Ramp effect. */ + SDL_HapticLeftRight leftright; /**< Left/Right effect. */ + SDL_HapticCustom custom; /**< Custom effect. */ +} SDL_HapticEffect; + + +/* Function prototypes */ +/** + * \brief Count the number of haptic devices attached to the system. + * + * \return Number of haptic devices detected on the system. + */ +extern DECLSPEC int SDLCALL SDL_NumHaptics(void); + +/** + * \brief Get the implementation dependent name of a haptic device. + * + * This can be called before any joysticks are opened. + * If no name can be found, this function returns NULL. + * + * \param device_index Index of the device to get its name. + * \return Name of the device or NULL on error. + * + * \sa SDL_NumHaptics + */ +extern DECLSPEC const char *SDLCALL SDL_HapticName(int device_index); + +/** + * \brief Opens a haptic device for use. + * + * The index passed as an argument refers to the N'th haptic device on this + * system. + * + * When opening a haptic device, its gain will be set to maximum and + * autocenter will be disabled. To modify these values use + * SDL_HapticSetGain() and SDL_HapticSetAutocenter(). + * + * \param device_index Index of the device to open. + * \return Device identifier or NULL on error. + * + * \sa SDL_HapticIndex + * \sa SDL_HapticOpenFromMouse + * \sa SDL_HapticOpenFromJoystick + * \sa SDL_HapticClose + * \sa SDL_HapticSetGain + * \sa SDL_HapticSetAutocenter + * \sa SDL_HapticPause + * \sa SDL_HapticStopAll + */ +extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpen(int device_index); + +/** + * \brief Checks if the haptic device at index has been opened. + * + * \param device_index Index to check to see if it has been opened. + * \return 1 if it has been opened or 0 if it hasn't. + * + * \sa SDL_HapticOpen + * \sa SDL_HapticIndex + */ +extern DECLSPEC int SDLCALL SDL_HapticOpened(int device_index); + +/** + * \brief Gets the index of a haptic device. + * + * \param haptic Haptic device to get the index of. + * \return The index of the haptic device or -1 on error. + * + * \sa SDL_HapticOpen + * \sa SDL_HapticOpened + */ +extern DECLSPEC int SDLCALL SDL_HapticIndex(SDL_Haptic * haptic); + +/** + * \brief Gets whether or not the current mouse has haptic capabilities. + * + * \return SDL_TRUE if the mouse is haptic, SDL_FALSE if it isn't. + * + * \sa SDL_HapticOpenFromMouse + */ +extern DECLSPEC int SDLCALL SDL_MouseIsHaptic(void); + +/** + * \brief Tries to open a haptic device from the current mouse. + * + * \return The haptic device identifier or NULL on error. + * + * \sa SDL_MouseIsHaptic + * \sa SDL_HapticOpen + */ +extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromMouse(void); + +/** + * \brief Checks to see if a joystick has haptic features. + * + * \param joystick Joystick to test for haptic capabilities. + * \return SDL_TRUE if the joystick is haptic, SDL_FALSE if it isn't + * or -1 if an error occurred. + * + * \sa SDL_HapticOpenFromJoystick + */ +extern DECLSPEC int SDLCALL SDL_JoystickIsHaptic(SDL_Joystick * joystick); + +/** + * \brief Opens a haptic device for use from a joystick device. + * + * You must still close the haptic device separately. It will not be closed + * with the joystick. + * + * When opening from a joystick you should first close the haptic device before + * closing the joystick device. If not, on some implementations the haptic + * device will also get unallocated and you'll be unable to use force feedback + * on that device. + * + * \param joystick Joystick to create a haptic device from. + * \return A valid haptic device identifier on success or NULL on error. + * + * \sa SDL_HapticOpen + * \sa SDL_HapticClose + */ +extern DECLSPEC SDL_Haptic *SDLCALL SDL_HapticOpenFromJoystick(SDL_Joystick * + joystick); + +/** + * \brief Closes a haptic device previously opened with SDL_HapticOpen(). + * + * \param haptic Haptic device to close. + */ +extern DECLSPEC void SDLCALL SDL_HapticClose(SDL_Haptic * haptic); + +/** + * \brief Returns the number of effects a haptic device can store. + * + * On some platforms this isn't fully supported, and therefore is an + * approximation. Always check to see if your created effect was actually + * created and do not rely solely on SDL_HapticNumEffects(). + * + * \param haptic The haptic device to query effect max. + * \return The number of effects the haptic device can store or + * -1 on error. + * + * \sa SDL_HapticNumEffectsPlaying + * \sa SDL_HapticQuery + */ +extern DECLSPEC int SDLCALL SDL_HapticNumEffects(SDL_Haptic * haptic); + +/** + * \brief Returns the number of effects a haptic device can play at the same + * time. + * + * This is not supported on all platforms, but will always return a value. + * Added here for the sake of completeness. + * + * \param haptic The haptic device to query maximum playing effects. + * \return The number of effects the haptic device can play at the same time + * or -1 on error. + * + * \sa SDL_HapticNumEffects + * \sa SDL_HapticQuery + */ +extern DECLSPEC int SDLCALL SDL_HapticNumEffectsPlaying(SDL_Haptic * haptic); + +/** + * \brief Gets the haptic device's supported features in bitwise manner. + * + * Example: + * \code + * if (SDL_HapticQuery(haptic) & SDL_HAPTIC_CONSTANT) { + * printf("We have constant haptic effect!\n"); + * } + * \endcode + * + * \param haptic The haptic device to query. + * \return Haptic features in bitwise manner (OR'd). + * + * \sa SDL_HapticNumEffects + * \sa SDL_HapticEffectSupported + */ +extern DECLSPEC unsigned int SDLCALL SDL_HapticQuery(SDL_Haptic * haptic); + + +/** + * \brief Gets the number of haptic axes the device has. + * + * \sa SDL_HapticDirection + */ +extern DECLSPEC int SDLCALL SDL_HapticNumAxes(SDL_Haptic * haptic); + +/** + * \brief Checks to see if effect is supported by haptic. + * + * \param haptic Haptic device to check on. + * \param effect Effect to check to see if it is supported. + * \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error. + * + * \sa SDL_HapticQuery + * \sa SDL_HapticNewEffect + */ +extern DECLSPEC int SDLCALL SDL_HapticEffectSupported(SDL_Haptic * haptic, + SDL_HapticEffect * + effect); + +/** + * \brief Creates a new haptic effect on the device. + * + * \param haptic Haptic device to create the effect on. + * \param effect Properties of the effect to create. + * \return The identifier of the effect on success or -1 on error. + * + * \sa SDL_HapticUpdateEffect + * \sa SDL_HapticRunEffect + * \sa SDL_HapticDestroyEffect + */ +extern DECLSPEC int SDLCALL SDL_HapticNewEffect(SDL_Haptic * haptic, + SDL_HapticEffect * effect); + +/** + * \brief Updates the properties of an effect. + * + * Can be used dynamically, although behavior when dynamically changing + * direction may be strange. Specifically the effect may reupload itself + * and start playing from the start. You cannot change the type either when + * running SDL_HapticUpdateEffect(). + * + * \param haptic Haptic device that has the effect. + * \param effect Identifier of the effect to update. + * \param data New effect properties to use. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticNewEffect + * \sa SDL_HapticRunEffect + * \sa SDL_HapticDestroyEffect + */ +extern DECLSPEC int SDLCALL SDL_HapticUpdateEffect(SDL_Haptic * haptic, + int effect, + SDL_HapticEffect * data); + +/** + * \brief Runs the haptic effect on its associated haptic device. + * + * If iterations are ::SDL_HAPTIC_INFINITY, it'll run the effect over and over + * repeating the envelope (attack and fade) every time. If you only want the + * effect to last forever, set ::SDL_HAPTIC_INFINITY in the effect's length + * parameter. + * + * \param haptic Haptic device to run the effect on. + * \param effect Identifier of the haptic effect to run. + * \param iterations Number of iterations to run the effect. Use + * ::SDL_HAPTIC_INFINITY for infinity. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticStopEffect + * \sa SDL_HapticDestroyEffect + * \sa SDL_HapticGetEffectStatus + */ +extern DECLSPEC int SDLCALL SDL_HapticRunEffect(SDL_Haptic * haptic, + int effect, + Uint32 iterations); + +/** + * \brief Stops the haptic effect on its associated haptic device. + * + * \param haptic Haptic device to stop the effect on. + * \param effect Identifier of the effect to stop. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticRunEffect + * \sa SDL_HapticDestroyEffect + */ +extern DECLSPEC int SDLCALL SDL_HapticStopEffect(SDL_Haptic * haptic, + int effect); + +/** + * \brief Destroys a haptic effect on the device. + * + * This will stop the effect if it's running. Effects are automatically + * destroyed when the device is closed. + * + * \param haptic Device to destroy the effect on. + * \param effect Identifier of the effect to destroy. + * + * \sa SDL_HapticNewEffect + */ +extern DECLSPEC void SDLCALL SDL_HapticDestroyEffect(SDL_Haptic * haptic, + int effect); + +/** + * \brief Gets the status of the current effect on the haptic device. + * + * Device must support the ::SDL_HAPTIC_STATUS feature. + * + * \param haptic Haptic device to query the effect status on. + * \param effect Identifier of the effect to query its status. + * \return 0 if it isn't playing, 1 if it is playing or -1 on error. + * + * \sa SDL_HapticRunEffect + * \sa SDL_HapticStopEffect + */ +extern DECLSPEC int SDLCALL SDL_HapticGetEffectStatus(SDL_Haptic * haptic, + int effect); + +/** + * \brief Sets the global gain of the device. + * + * Device must support the ::SDL_HAPTIC_GAIN feature. + * + * The user may specify the maximum gain by setting the environment variable + * SDL_HAPTIC_GAIN_MAX which should be between 0 and 100. All calls to + * SDL_HapticSetGain() will scale linearly using SDL_HAPTIC_GAIN_MAX as the + * maximum. + * + * \param haptic Haptic device to set the gain on. + * \param gain Value to set the gain to, should be between 0 and 100. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticQuery + */ +extern DECLSPEC int SDLCALL SDL_HapticSetGain(SDL_Haptic * haptic, int gain); + +/** + * \brief Sets the global autocenter of the device. + * + * Autocenter should be between 0 and 100. Setting it to 0 will disable + * autocentering. + * + * Device must support the ::SDL_HAPTIC_AUTOCENTER feature. + * + * \param haptic Haptic device to set autocentering on. + * \param autocenter Value to set autocenter to, 0 disables autocentering. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticQuery + */ +extern DECLSPEC int SDLCALL SDL_HapticSetAutocenter(SDL_Haptic * haptic, + int autocenter); + +/** + * \brief Pauses a haptic device. + * + * Device must support the ::SDL_HAPTIC_PAUSE feature. Call + * SDL_HapticUnpause() to resume playback. + * + * Do not modify the effects nor add new ones while the device is paused. + * That can cause all sorts of weird errors. + * + * \param haptic Haptic device to pause. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticUnpause + */ +extern DECLSPEC int SDLCALL SDL_HapticPause(SDL_Haptic * haptic); + +/** + * \brief Unpauses a haptic device. + * + * Call to unpause after SDL_HapticPause(). + * + * \param haptic Haptic device to unpause. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticPause + */ +extern DECLSPEC int SDLCALL SDL_HapticUnpause(SDL_Haptic * haptic); + +/** + * \brief Stops all the currently playing effects on a haptic device. + * + * \param haptic Haptic device to stop. + * \return 0 on success or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_HapticStopAll(SDL_Haptic * haptic); + +/** + * \brief Checks to see if rumble is supported on a haptic device. + * + * \param haptic Haptic device to check to see if it supports rumble. + * \return SDL_TRUE if effect is supported, SDL_FALSE if it isn't or -1 on error. + * + * \sa SDL_HapticRumbleInit + * \sa SDL_HapticRumblePlay + * \sa SDL_HapticRumbleStop + */ +extern DECLSPEC int SDLCALL SDL_HapticRumbleSupported(SDL_Haptic * haptic); + +/** + * \brief Initializes the haptic device for simple rumble playback. + * + * \param haptic Haptic device to initialize for simple rumble playback. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticOpen + * \sa SDL_HapticRumbleSupported + * \sa SDL_HapticRumblePlay + * \sa SDL_HapticRumbleStop + */ +extern DECLSPEC int SDLCALL SDL_HapticRumbleInit(SDL_Haptic * haptic); + +/** + * \brief Runs simple rumble on a haptic device + * + * \param haptic Haptic device to play rumble effect on. + * \param strength Strength of the rumble to play as a 0-1 float value. + * \param length Length of the rumble to play in milliseconds. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticRumbleSupported + * \sa SDL_HapticRumbleInit + * \sa SDL_HapticRumbleStop + */ +extern DECLSPEC int SDLCALL SDL_HapticRumblePlay(SDL_Haptic * haptic, float strength, Uint32 length ); + +/** + * \brief Stops the simple rumble on a haptic device. + * + * \param haptic Haptic to stop the rumble on. + * \return 0 on success or -1 on error. + * + * \sa SDL_HapticRumbleSupported + * \sa SDL_HapticRumbleInit + * \sa SDL_HapticRumblePlay + */ +extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_haptic_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_hints.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_hints.h new file mode 100644 index 000000000..007a4bee0 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_hints.h @@ -0,0 +1,959 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_hints.h + * + * Official documentation for SDL configuration variables + * + * This file contains functions to set and get configuration hints, + * as well as listing each of them alphabetically. + * + * The convention for naming hints is SDL_HINT_X, where "SDL_X" is + * the environment variable that can be used to override the default. + * + * In general these hints are just that - they may or may not be + * supported or applicable on any given platform, but they provide + * a way for an application or user to give the library a hint as + * to how they would like the library to work. + */ + +#ifndef SDL_hints_h_ +#define SDL_hints_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface. + * + * SDL can try to accelerate the SDL screen surface by using streaming + * textures with a 3D rendering engine. This variable controls whether and + * how this is done. + * + * This variable can be set to the following values: + * "0" - Disable 3D acceleration + * "1" - Enable 3D acceleration, using the default renderer. + * "X" - Enable 3D acceleration, using X where X is one of the valid rendering drivers. (e.g. "direct3d", "opengl", etc.) + * + * By default SDL tries to make a best guess for each platform whether + * to use acceleration or not. + */ +#define SDL_HINT_FRAMEBUFFER_ACCELERATION "SDL_FRAMEBUFFER_ACCELERATION" + +/** + * \brief A variable specifying which render driver to use. + * + * If the application doesn't pick a specific renderer to use, this variable + * specifies the name of the preferred renderer. If the preferred renderer + * can't be initialized, the normal default renderer is used. + * + * This variable is case insensitive and can be set to the following values: + * "direct3d" + * "opengl" + * "opengles2" + * "opengles" + * "software" + * + * The default varies by platform, but it's the first one in the list that + * is available on the current platform. + */ +#define SDL_HINT_RENDER_DRIVER "SDL_RENDER_DRIVER" + +/** + * \brief A variable controlling whether the OpenGL render driver uses shaders if they are available. + * + * This variable can be set to the following values: + * "0" - Disable shaders + * "1" - Enable shaders + * + * By default shaders are used if OpenGL supports them. + */ +#define SDL_HINT_RENDER_OPENGL_SHADERS "SDL_RENDER_OPENGL_SHADERS" + +/** + * \brief A variable controlling whether the Direct3D device is initialized for thread-safe operations. + * + * This variable can be set to the following values: + * "0" - Thread-safety is not enabled (faster) + * "1" - Thread-safety is enabled + * + * By default the Direct3D device is created with thread-safety disabled. + */ +#define SDL_HINT_RENDER_DIRECT3D_THREADSAFE "SDL_RENDER_DIRECT3D_THREADSAFE" + +/** + * \brief A variable controlling whether to enable Direct3D 11+'s Debug Layer. + * + * This variable does not have any effect on the Direct3D 9 based renderer. + * + * This variable can be set to the following values: + * "0" - Disable Debug Layer use + * "1" - Enable Debug Layer use + * + * By default, SDL does not use Direct3D Debug Layer. + */ +#define SDL_HINT_RENDER_DIRECT3D11_DEBUG "SDL_RENDER_DIRECT3D11_DEBUG" + +/** + * \brief A variable controlling the scaling policy for SDL_RenderSetLogicalSize. + * + * This variable can be set to the following values: + * "0" or "letterbox" - Uses letterbox/sidebars to fit the entire rendering on screen + * "1" or "overscan" - Will zoom the rendering so it fills the entire screen, allowing edges to be drawn offscreen + * + * By default letterbox is used + */ +#define SDL_HINT_RENDER_LOGICAL_SIZE_MODE "SDL_RENDER_LOGICAL_SIZE_MODE" + +/** + * \brief A variable controlling the scaling quality + * + * This variable can be set to the following values: + * "0" or "nearest" - Nearest pixel sampling + * "1" or "linear" - Linear filtering (supported by OpenGL and Direct3D) + * "2" or "best" - Currently this is the same as "linear" + * + * By default nearest pixel sampling is used + */ +#define SDL_HINT_RENDER_SCALE_QUALITY "SDL_RENDER_SCALE_QUALITY" + +/** + * \brief A variable controlling whether updates to the SDL screen surface should be synchronized with the vertical refresh, to avoid tearing. + * + * This variable can be set to the following values: + * "0" - Disable vsync + * "1" - Enable vsync + * + * By default SDL does not sync screen surface updates with vertical refresh. + */ +#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC" + +/** + * \brief A variable controlling whether the screensaver is enabled. + * + * This variable can be set to the following values: + * "0" - Disable screensaver + * "1" - Enable screensaver + * + * By default SDL will disable the screensaver. + */ +#define SDL_HINT_VIDEO_ALLOW_SCREENSAVER "SDL_VIDEO_ALLOW_SCREENSAVER" + +/** + * \brief A variable controlling whether the X11 VidMode extension should be used. + * + * This variable can be set to the following values: + * "0" - Disable XVidMode + * "1" - Enable XVidMode + * + * By default SDL will use XVidMode if it is available. + */ +#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE" + +/** + * \brief A variable controlling whether the X11 Xinerama extension should be used. + * + * This variable can be set to the following values: + * "0" - Disable Xinerama + * "1" - Enable Xinerama + * + * By default SDL will use Xinerama if it is available. + */ +#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA" + +/** + * \brief A variable controlling whether the X11 XRandR extension should be used. + * + * This variable can be set to the following values: + * "0" - Disable XRandR + * "1" - Enable XRandR + * + * By default SDL will not use XRandR because of window manager issues. + */ +#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR" + +/** + * \brief A variable controlling whether the X11 _NET_WM_PING protocol should be supported. + * + * This variable can be set to the following values: + * "0" - Disable _NET_WM_PING + * "1" - Enable _NET_WM_PING + * + * By default SDL will use _NET_WM_PING, but for applications that know they + * will not always be able to respond to ping requests in a timely manner they can + * turn it off to avoid the window manager thinking the app is hung. + * The hint is checked in CreateWindow. + */ +#define SDL_HINT_VIDEO_X11_NET_WM_PING "SDL_VIDEO_X11_NET_WM_PING" + +/** + * \brief A variable controlling whether the window frame and title bar are interactive when the cursor is hidden + * + * This variable can be set to the following values: + * "0" - The window frame is not interactive when the cursor is hidden (no move, resize, etc) + * "1" - The window frame is interactive when the cursor is hidden + * + * By default SDL will allow interaction with the window frame when the cursor is hidden + */ +#define SDL_HINT_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN "SDL_WINDOW_FRAME_USABLE_WHILE_CURSOR_HIDDEN" + +/** + * \brief A variable to specify custom icon resource id from RC file on Windows platform + */ +#define SDL_HINT_WINDOWS_INTRESOURCE_ICON "SDL_WINDOWS_INTRESOURCE_ICON" +#define SDL_HINT_WINDOWS_INTRESOURCE_ICON_SMALL "SDL_WINDOWS_INTRESOURCE_ICON_SMALL" + +/** + * \brief A variable controlling whether the windows message loop is processed by SDL + * + * This variable can be set to the following values: + * "0" - The window message loop is not run + * "1" - The window message loop is processed in SDL_PumpEvents() + * + * By default SDL will process the windows message loop + */ +#define SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP "SDL_WINDOWS_ENABLE_MESSAGELOOP" + +/** + * \brief A variable controlling whether grabbing input grabs the keyboard + * + * This variable can be set to the following values: + * "0" - Grab will affect only the mouse + * "1" - Grab will affect mouse and keyboard + * + * By default SDL will not grab the keyboard so system shortcuts still work. + */ +#define SDL_HINT_GRAB_KEYBOARD "SDL_GRAB_KEYBOARD" + +/** + * \brief A variable setting the speed scale for mouse motion, in floating point, when the mouse is not in relative mode + */ +#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE "SDL_MOUSE_NORMAL_SPEED_SCALE" + +/** + * \brief A variable setting the scale for mouse motion, in floating point, when the mouse is in relative mode + */ +#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE "SDL_MOUSE_RELATIVE_SPEED_SCALE" + +/** + * \brief A variable controlling whether relative mouse mode is implemented using mouse warping + * + * This variable can be set to the following values: + * "0" - Relative mouse mode uses raw input + * "1" - Relative mouse mode uses mouse warping + * + * By default SDL will use raw input for relative mouse mode + */ +#define SDL_HINT_MOUSE_RELATIVE_MODE_WARP "SDL_MOUSE_RELATIVE_MODE_WARP" + +/** + * \brief Allow mouse click events when clicking to focus an SDL window + * + * This variable can be set to the following values: + * "0" - Ignore mouse clicks that activate a window + * "1" - Generate events for mouse clicks that activate a window + * + * By default SDL will ignore mouse clicks that activate a window + */ +#define SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH "SDL_MOUSE_FOCUS_CLICKTHROUGH" + +/** + * \brief A variable controlling whether touch events should generate synthetic mouse events + * + * This variable can be set to the following values: + * "0" - Touch events will not generate mouse events + * "1" - Touch events will generate mouse events + * + * By default SDL will generate mouse events for touch events + */ +#define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS" + +/** + * \brief Minimize your SDL_Window if it loses key focus when in fullscreen mode. Defaults to true. + * + */ +#define SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS" + +/** + * \brief A variable controlling whether the idle timer is disabled on iOS. + * + * When an iOS app does not receive touches for some time, the screen is + * dimmed automatically. For games where the accelerometer is the only input + * this is problematic. This functionality can be disabled by setting this + * hint. + * + * As of SDL 2.0.4, SDL_EnableScreenSaver() and SDL_DisableScreenSaver() + * accomplish the same thing on iOS. They should be preferred over this hint. + * + * This variable can be set to the following values: + * "0" - Enable idle timer + * "1" - Disable idle timer + */ +#define SDL_HINT_IDLE_TIMER_DISABLED "SDL_IOS_IDLE_TIMER_DISABLED" + +/** + * \brief A variable controlling which orientations are allowed on iOS. + * + * In some circumstances it is necessary to be able to explicitly control + * which UI orientations are allowed. + * + * This variable is a space delimited list of the following values: + * "LandscapeLeft", "LandscapeRight", "Portrait" "PortraitUpsideDown" + */ +#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS" + +/** + * \brief A variable controlling whether controllers used with the Apple TV + * generate UI events. + * + * When UI events are generated by controller input, the app will be + * backgrounded when the Apple TV remote's menu button is pressed, and when the + * pause or B buttons on gamepads are pressed. + * + * More information about properly making use of controllers for the Apple TV + * can be found here: + * https://developer.apple.com/tvos/human-interface-guidelines/remote-and-controllers/ + * + * This variable can be set to the following values: + * "0" - Controller input does not generate UI events (the default). + * "1" - Controller input generates UI events. + */ +#define SDL_HINT_APPLE_TV_CONTROLLER_UI_EVENTS "SDL_APPLE_TV_CONTROLLER_UI_EVENTS" + +/** + * \brief A variable controlling whether the Apple TV remote's joystick axes + * will automatically match the rotation of the remote. + * + * This variable can be set to the following values: + * "0" - Remote orientation does not affect joystick axes (the default). + * "1" - Joystick axes are based on the orientation of the remote. + */ +#define SDL_HINT_APPLE_TV_REMOTE_ALLOW_ROTATION "SDL_APPLE_TV_REMOTE_ALLOW_ROTATION" + +/** + * \brief A variable controlling whether the Android / iOS built-in + * accelerometer should be listed as a joystick device, rather than listing + * actual joysticks only. + * + * This variable can be set to the following values: + * "0" - List only real joysticks and accept input from them + * "1" - List real joysticks along with the accelerometer as if it were a 3 axis joystick (the default). + */ +#define SDL_HINT_ACCELEROMETER_AS_JOYSTICK "SDL_ACCELEROMETER_AS_JOYSTICK" + +/** + * \brief A variable that lets you disable the detection and use of Xinput gamepad devices + * + * The variable can be set to the following values: + * "0" - Disable XInput detection (only uses direct input) + * "1" - Enable XInput detection (the default) + */ +#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED" + +/** + * \brief A variable that causes SDL to use the old axis and button mapping for XInput devices. + * + * This hint is for backwards compatibility only and will be removed in SDL 2.1 + * + * The default value is "0". This hint must be set before SDL_Init() + */ +#define SDL_HINT_XINPUT_USE_OLD_JOYSTICK_MAPPING "SDL_XINPUT_USE_OLD_JOYSTICK_MAPPING" + +/** + * \brief A variable that lets you manually hint extra gamecontroller db entries. + * + * The variable should be newline delimited rows of gamecontroller config data, see SDL_gamecontroller.h + * + * This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER) + * You can update mappings after the system is initialized with SDL_GameControllerMappingForGUID() and SDL_GameControllerAddMapping() + */ +#define SDL_HINT_GAMECONTROLLERCONFIG "SDL_GAMECONTROLLERCONFIG" + +/** + * \brief A variable containing a list of devices to skip when scanning for game controllers. + * + * The format of the string is a comma separated list of USB VID/PID pairs + * in hexadecimal form, e.g. + * + * 0xAAAA/0xBBBB,0xCCCC/0xDDDD + * + * The variable can also take the form of @file, in which case the named + * file will be loaded and interpreted as the value of the variable. + */ +#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES "SDL_GAMECONTROLLER_IGNORE_DEVICES" + +/** + * \brief If set, all devices will be skipped when scanning for game controllers except for the ones listed in this variable. + * + * The format of the string is a comma separated list of USB VID/PID pairs + * in hexadecimal form, e.g. + * + * 0xAAAA/0xBBBB,0xCCCC/0xDDDD + * + * The variable can also take the form of @file, in which case the named + * file will be loaded and interpreted as the value of the variable. + */ +#define SDL_HINT_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT "SDL_GAMECONTROLLER_IGNORE_DEVICES_EXCEPT" + +/** + * \brief A variable that lets you enable joystick (and gamecontroller) events even when your app is in the background. + * + * The variable can be set to the following values: + * "0" - Disable joystick & gamecontroller input events when the + * application is in the background. + * "1" - Enable joystick & gamecontroller input events when the + * application is in the background. + * + * The default value is "0". This hint may be set at any time. + */ +#define SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS "SDL_JOYSTICK_ALLOW_BACKGROUND_EVENTS" + +/** + * \brief If set to "0" then never set the top most bit on a SDL Window, even if the video mode expects it. + * This is a debugging aid for developers and not expected to be used by end users. The default is "1" + * + * This variable can be set to the following values: + * "0" - don't allow topmost + * "1" - allow topmost + */ +#define SDL_HINT_ALLOW_TOPMOST "SDL_ALLOW_TOPMOST" + +/** + * \brief A variable that controls the timer resolution, in milliseconds. + * + * The higher resolution the timer, the more frequently the CPU services + * timer interrupts, and the more precise delays are, but this takes up + * power and CPU time. This hint is only used on Windows 7 and earlier. + * + * See this blog post for more information: + * http://randomascii.wordpress.com/2013/07/08/windows-timer-resolution-megawatts-wasted/ + * + * If this variable is set to "0", the system timer resolution is not set. + * + * The default value is "1". This hint may be set at any time. + */ +#define SDL_HINT_TIMER_RESOLUTION "SDL_TIMER_RESOLUTION" + + +/** + * \brief A variable describing the content orientation on QtWayland-based platforms. + * + * On QtWayland platforms, windows are rotated client-side to allow for custom + * transitions. In order to correctly position overlays (e.g. volume bar) and + * gestures (e.g. events view, close/minimize gestures), the system needs to + * know in which orientation the application is currently drawing its contents. + * + * This does not cause the window to be rotated or resized, the application + * needs to take care of drawing the content in the right orientation (the + * framebuffer is always in portrait mode). + * + * This variable can be one of the following values: + * "primary" (default), "portrait", "landscape", "inverted-portrait", "inverted-landscape" + */ +#define SDL_HINT_QTWAYLAND_CONTENT_ORIENTATION "SDL_QTWAYLAND_CONTENT_ORIENTATION" + +/** + * \brief Flags to set on QtWayland windows to integrate with the native window manager. + * + * On QtWayland platforms, this hint controls the flags to set on the windows. + * For example, on Sailfish OS "OverridesSystemGestures" disables swipe gestures. + * + * This variable is a space-separated list of the following values (empty = no flags): + * "OverridesSystemGestures", "StaysOnTop", "BypassWindowManager" + */ +#define SDL_HINT_QTWAYLAND_WINDOW_FLAGS "SDL_QTWAYLAND_WINDOW_FLAGS" + +/** +* \brief A string specifying SDL's threads stack size in bytes or "0" for the backend's default size +* +* Use this hint in case you need to set SDL's threads stack size to other than the default. +* This is specially useful if you build SDL against a non glibc libc library (such as musl) which +* provides a relatively small default thread stack size (a few kilobytes versus the default 8MB glibc uses). +* Support for this hint is currently available only in the pthread, Windows, and PSP backend. +*/ +#define SDL_HINT_THREAD_STACK_SIZE "SDL_THREAD_STACK_SIZE" + +/** + * \brief If set to 1, then do not allow high-DPI windows. ("Retina" on Mac and iOS) + */ +#define SDL_HINT_VIDEO_HIGHDPI_DISABLED "SDL_VIDEO_HIGHDPI_DISABLED" + +/** + * \brief A variable that determines whether ctrl+click should generate a right-click event on Mac + * + * If present, holding ctrl while left clicking will generate a right click + * event when on Mac. + */ +#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK" + +/** +* \brief A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries +* +* SDL has EGL and OpenGL ES2 support on Windows via the ANGLE project. It +* can use two different sets of binaries, those compiled by the user from source +* or those provided by the Chrome browser. In the later case, these binaries require +* that SDL loads a DLL providing the shader compiler. +* +* This variable can be set to the following values: +* "d3dcompiler_46.dll" - default, best for Vista or later. +* "d3dcompiler_43.dll" - for XP support. +* "none" - do not load any library, useful if you compiled ANGLE from source and included the compiler in your binaries. +* +*/ +#define SDL_HINT_VIDEO_WIN_D3DCOMPILER "SDL_VIDEO_WIN_D3DCOMPILER" + +/** +* \brief A variable that is the address of another SDL_Window* (as a hex string formatted with "%p"). +* +* If this hint is set before SDL_CreateWindowFrom() and the SDL_Window* it is set to has +* SDL_WINDOW_OPENGL set (and running on WGL only, currently), then two things will occur on the newly +* created SDL_Window: +* +* 1. Its pixel format will be set to the same pixel format as this SDL_Window. This is +* needed for example when sharing an OpenGL context across multiple windows. +* +* 2. The flag SDL_WINDOW_OPENGL will be set on the new window so it can be used for +* OpenGL rendering. +* +* This variable can be set to the following values: +* The address (as a string "%p") of the SDL_Window* that new windows created with SDL_CreateWindowFrom() should +* share a pixel format with. +*/ +#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT" + +/** + * \brief A URL to a WinRT app's privacy policy + * + * All network-enabled WinRT apps must make a privacy policy available to its + * users. On Windows 8, 8.1, and RT, Microsoft mandates that this policy be + * be available in the Windows Settings charm, as accessed from within the app. + * SDL provides code to add a URL-based link there, which can point to the app's + * privacy policy. + * + * To setup a URL to an app's privacy policy, set SDL_HINT_WINRT_PRIVACY_POLICY_URL + * before calling any SDL_Init() functions. The contents of the hint should + * be a valid URL. For example, "http://www.example.com". + * + * The default value is "", which will prevent SDL from adding a privacy policy + * link to the Settings charm. This hint should only be set during app init. + * + * The label text of an app's "Privacy Policy" link may be customized via another + * hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL. + * + * Please note that on Windows Phone, Microsoft does not provide standard UI + * for displaying a privacy policy link, and as such, SDL_HINT_WINRT_PRIVACY_POLICY_URL + * will not get used on that platform. Network-enabled phone apps should display + * their privacy policy through some other, in-app means. + */ +#define SDL_HINT_WINRT_PRIVACY_POLICY_URL "SDL_WINRT_PRIVACY_POLICY_URL" + +/** \brief Label text for a WinRT app's privacy policy link + * + * Network-enabled WinRT apps must include a privacy policy. On Windows 8, 8.1, and RT, + * Microsoft mandates that this policy be available via the Windows Settings charm. + * SDL provides code to add a link there, with its label text being set via the + * optional hint, SDL_HINT_WINRT_PRIVACY_POLICY_LABEL. + * + * Please note that a privacy policy's contents are not set via this hint. A separate + * hint, SDL_HINT_WINRT_PRIVACY_POLICY_URL, is used to link to the actual text of the + * policy. + * + * The contents of this hint should be encoded as a UTF8 string. + * + * The default value is "Privacy Policy". This hint should only be set during app + * initialization, preferably before any calls to SDL_Init(). + * + * For additional information on linking to a privacy policy, see the documentation for + * SDL_HINT_WINRT_PRIVACY_POLICY_URL. + */ +#define SDL_HINT_WINRT_PRIVACY_POLICY_LABEL "SDL_WINRT_PRIVACY_POLICY_LABEL" + +/** \brief Allows back-button-press events on Windows Phone to be marked as handled + * + * Windows Phone devices typically feature a Back button. When pressed, + * the OS will emit back-button-press events, which apps are expected to + * handle in an appropriate manner. If apps do not explicitly mark these + * events as 'Handled', then the OS will invoke its default behavior for + * unhandled back-button-press events, which on Windows Phone 8 and 8.1 is to + * terminate the app (and attempt to switch to the previous app, or to the + * device's home screen). + * + * Setting the SDL_HINT_WINRT_HANDLE_BACK_BUTTON hint to "1" will cause SDL + * to mark back-button-press events as Handled, if and when one is sent to + * the app. + * + * Internally, Windows Phone sends back button events as parameters to + * special back-button-press callback functions. Apps that need to respond + * to back-button-press events are expected to register one or more + * callback functions for such, shortly after being launched (during the + * app's initialization phase). After the back button is pressed, the OS + * will invoke these callbacks. If the app's callback(s) do not explicitly + * mark the event as handled by the time they return, or if the app never + * registers one of these callback, the OS will consider the event + * un-handled, and it will apply its default back button behavior (terminate + * the app). + * + * SDL registers its own back-button-press callback with the Windows Phone + * OS. This callback will emit a pair of SDL key-press events (SDL_KEYDOWN + * and SDL_KEYUP), each with a scancode of SDL_SCANCODE_AC_BACK, after which + * it will check the contents of the hint, SDL_HINT_WINRT_HANDLE_BACK_BUTTON. + * If the hint's value is set to "1", the back button event's Handled + * property will get set to 'true'. If the hint's value is set to something + * else, or if it is unset, SDL will leave the event's Handled property + * alone. (By default, the OS sets this property to 'false', to note.) + * + * SDL apps can either set SDL_HINT_WINRT_HANDLE_BACK_BUTTON well before a + * back button is pressed, or can set it in direct-response to a back button + * being pressed. + * + * In order to get notified when a back button is pressed, SDL apps should + * register a callback function with SDL_AddEventWatch(), and have it listen + * for SDL_KEYDOWN events that have a scancode of SDL_SCANCODE_AC_BACK. + * (Alternatively, SDL_KEYUP events can be listened-for. Listening for + * either event type is suitable.) Any value of SDL_HINT_WINRT_HANDLE_BACK_BUTTON + * set by such a callback, will be applied to the OS' current + * back-button-press event. + * + * More details on back button behavior in Windows Phone apps can be found + * at the following page, on Microsoft's developer site: + * http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj247550(v=vs.105).aspx + */ +#define SDL_HINT_WINRT_HANDLE_BACK_BUTTON "SDL_WINRT_HANDLE_BACK_BUTTON" + +/** + * \brief A variable that dictates policy for fullscreen Spaces on Mac OS X. + * + * This hint only applies to Mac OS X. + * + * The variable can be set to the following values: + * "0" - Disable Spaces support (FULLSCREEN_DESKTOP won't use them and + * SDL_WINDOW_RESIZABLE windows won't offer the "fullscreen" + * button on their titlebars). + * "1" - Enable Spaces support (FULLSCREEN_DESKTOP will use them and + * SDL_WINDOW_RESIZABLE windows will offer the "fullscreen" + * button on their titlebars). + * + * The default value is "1". Spaces are disabled regardless of this hint if + * the OS isn't at least Mac OS X Lion (10.7). This hint must be set before + * any windows are created. + */ +#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES" + +/** +* \brief When set don't force the SDL app to become a foreground process +* +* This hint only applies to Mac OS X. +* +*/ +#define SDL_HINT_MAC_BACKGROUND_APP "SDL_MAC_BACKGROUND_APP" + +/** + * \brief Android APK expansion main file version. Should be a string number like "1", "2" etc. + * + * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION. + * + * If both hints were set then SDL_RWFromFile() will look into expansion files + * after a given relative path was not found in the internal storage and assets. + * + * By default this hint is not set and the APK expansion files are not searched. + */ +#define SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION" + +/** + * \brief Android APK expansion patch file version. Should be a string number like "1", "2" etc. + * + * Must be set together with SDL_HINT_ANDROID_APK_EXPANSION_MAIN_FILE_VERSION. + * + * If both hints were set then SDL_RWFromFile() will look into expansion files + * after a given relative path was not found in the internal storage and assets. + * + * By default this hint is not set and the APK expansion files are not searched. + */ +#define SDL_HINT_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION "SDL_ANDROID_APK_EXPANSION_PATCH_FILE_VERSION" + +/** + * \brief A variable to control whether certain IMEs should handle text editing internally instead of sending SDL_TEXTEDITING events. + * + * The variable can be set to the following values: + * "0" - SDL_TEXTEDITING events are sent, and it is the application's + * responsibility to render the text from these events and + * differentiate it somehow from committed text. (default) + * "1" - If supported by the IME then SDL_TEXTEDITING events are not sent, + * and text that is being composed will be rendered in its own UI. + */ +#define SDL_HINT_IME_INTERNAL_EDITING "SDL_IME_INTERNAL_EDITING" + + /** + * \brief A variable to control whether mouse and touch events are to be treated together or separately + * + * The variable can be set to the following values: + * "0" - Mouse events will be handled as touch events, and touch will raise fake mouse + * events. This is the behaviour of SDL <= 2.0.3. (default) + * "1" - Mouse events will be handled separately from pure touch events. + * + * The value of this hint is used at runtime, so it can be changed at any time. + */ +#define SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH "SDL_ANDROID_SEPARATE_MOUSE_AND_TOUCH" + +/** + * \brief override the binding element for keyboard inputs for Emscripten builds + * + * This hint only applies to the emscripten platform + * + * The variable can be one of + * "#window" - The javascript window object (this is the default) + * "#document" - The javascript document object + * "#screen" - the javascript window.screen object + * "#canvas" - the WebGL canvas element + * any other string without a leading # sign applies to the element on the page with that ID. + */ +#define SDL_HINT_EMSCRIPTEN_KEYBOARD_ELEMENT "SDL_EMSCRIPTEN_KEYBOARD_ELEMENT" + +/** + * \brief Tell SDL not to catch the SIGINT or SIGTERM signals. + * + * This hint only applies to Unix-like platforms. + * + * The variable can be set to the following values: + * "0" - SDL will install a SIGINT and SIGTERM handler, and when it + * catches a signal, convert it into an SDL_QUIT event. + * "1" - SDL will not install a signal handler at all. + */ +#define SDL_HINT_NO_SIGNAL_HANDLERS "SDL_NO_SIGNAL_HANDLERS" + +/** + * \brief Tell SDL not to generate window-close events for Alt+F4 on Windows. + * + * The variable can be set to the following values: + * "0" - SDL will generate a window-close event when it sees Alt+F4. + * "1" - SDL will only do normal key handling for Alt+F4. + */ +#define SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 "SDL_WINDOWS_NO_CLOSE_ON_ALT_F4" + +/** + * \brief Prevent SDL from using version 4 of the bitmap header when saving BMPs. + * + * The bitmap header version 4 is required for proper alpha channel support and + * SDL will use it when required. Should this not be desired, this hint can + * force the use of the 40 byte header version which is supported everywhere. + * + * The variable can be set to the following values: + * "0" - Surfaces with a colorkey or an alpha channel are saved to a + * 32-bit BMP file with an alpha mask. SDL will use the bitmap + * header version 4 and set the alpha mask accordingly. + * "1" - Surfaces with a colorkey or an alpha channel are saved to a + * 32-bit BMP file without an alpha mask. The alpha channel data + * will be in the file, but applications are going to ignore it. + * + * The default value is "0". + */ +#define SDL_HINT_BMP_SAVE_LEGACY_FORMAT "SDL_BMP_SAVE_LEGACY_FORMAT" + +/** + * \brief Tell SDL not to name threads on Windows with the 0x406D1388 Exception. + * The 0x406D1388 Exception is a trick used to inform Visual Studio of a + * thread's name, but it tends to cause problems with other debuggers, + * and the .NET runtime. Note that SDL 2.0.6 and later will still use + * the (safer) SetThreadDescription API, introduced in the Windows 10 + * Creators Update, if available. + * + * The variable can be set to the following values: + * "0" - SDL will raise the 0x406D1388 Exception to name threads. + * This is the default behavior of SDL <= 2.0.4. + * "1" - SDL will not raise this exception, and threads will be unnamed. (default) + * This is necessary with .NET languages or debuggers that aren't Visual Studio. + */ +#define SDL_HINT_WINDOWS_DISABLE_THREAD_NAMING "SDL_WINDOWS_DISABLE_THREAD_NAMING" + +/** + * \brief Tell SDL which Dispmanx layer to use on a Raspberry PI + * + * Also known as Z-order. The variable can take a negative or positive value. + * The default is 10000. + */ +#define SDL_HINT_RPI_VIDEO_LAYER "SDL_RPI_VIDEO_LAYER" + +/** + * \brief A variable controlling what driver to use for OpenGL ES contexts. + * + * On some platforms, currently Windows and X11, OpenGL drivers may support + * creating contexts with an OpenGL ES profile. By default SDL uses these + * profiles, when available, otherwise it attempts to load an OpenGL ES + * library, e.g. that provided by the ANGLE project. This variable controls + * whether SDL follows this default behaviour or will always load an + * OpenGL ES library. + * + * Circumstances where this is useful include + * - Testing an app with a particular OpenGL ES implementation, e.g ANGLE, + * or emulator, e.g. those from ARM, Imagination or Qualcomm. + * - Resolving OpenGL ES function addresses at link time by linking with + * the OpenGL ES library instead of querying them at run time with + * SDL_GL_GetProcAddress(). + * + * Caution: for an application to work with the default behaviour across + * different OpenGL drivers it must query the OpenGL ES function + * addresses at run time using SDL_GL_GetProcAddress(). + * + * This variable is ignored on most platforms because OpenGL ES is native + * or not supported. + * + * This variable can be set to the following values: + * "0" - Use ES profile of OpenGL, if available. (Default when not set.) + * "1" - Load OpenGL ES library using the default library names. + * + */ +#define SDL_HINT_OPENGL_ES_DRIVER "SDL_OPENGL_ES_DRIVER" + +/** + * \brief A variable controlling speed/quality tradeoff of audio resampling. + * + * If available, SDL can use libsamplerate ( http://www.mega-nerd.com/SRC/ ) + * to handle audio resampling. There are different resampling modes available + * that produce different levels of quality, using more CPU. + * + * If this hint isn't specified to a valid setting, or libsamplerate isn't + * available, SDL will use the default, internal resampling algorithm. + * + * Note that this is currently only applicable to resampling audio that is + * being written to a device for playback or audio being read from a device + * for capture. SDL_AudioCVT always uses the default resampler (although this + * might change for SDL 2.1). + * + * This hint is currently only checked at audio subsystem initialization. + * + * This variable can be set to the following values: + * + * "0" or "default" - Use SDL's internal resampling (Default when not set - low quality, fast) + * "1" or "fast" - Use fast, slightly higher quality resampling, if available + * "2" or "medium" - Use medium quality resampling, if available + * "3" or "best" - Use high quality resampling, if available + */ +#define SDL_HINT_AUDIO_RESAMPLING_MODE "SDL_AUDIO_RESAMPLING_MODE" + +/** + * \brief A variable controlling the audio category on iOS and Mac OS X + * + * This variable can be set to the following values: + * + * "ambient" - Use the AVAudioSessionCategoryAmbient audio category, will be muted by the phone mute switch (default) + * "playback" - Use the AVAudioSessionCategoryPlayback category + * + * For more information, see Apple's documentation: + * https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/AudioSessionCategoriesandModes/AudioSessionCategoriesandModes.html + */ +#define SDL_HINT_AUDIO_CATEGORY "SDL_AUDIO_CATEGORY" + +/** + * \brief An enumeration of hint priorities + */ +typedef enum +{ + SDL_HINT_DEFAULT, + SDL_HINT_NORMAL, + SDL_HINT_OVERRIDE +} SDL_HintPriority; + + +/** + * \brief Set a hint with a specific priority + * + * The priority controls the behavior when setting a hint that already + * has a value. Hints will replace existing hints of their priority and + * lower. Environment variables are considered to have override priority. + * + * \return SDL_TRUE if the hint was set, SDL_FALSE otherwise + */ +extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name, + const char *value, + SDL_HintPriority priority); + +/** + * \brief Set a hint with normal priority + * + * \return SDL_TRUE if the hint was set, SDL_FALSE otherwise + */ +extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name, + const char *value); + +/** + * \brief Get a hint + * + * \return The string value of a hint variable. + */ +extern DECLSPEC const char * SDLCALL SDL_GetHint(const char *name); + +/** + * \brief Get a hint + * + * \return The boolean value of a hint variable. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_GetHintBoolean(const char *name, SDL_bool default_value); + +/** + * \brief type definition of the hint callback function. + */ +typedef void (SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue); + +/** + * \brief Add a function to watch a particular hint + * + * \param name The hint to watch + * \param callback The function to call when the hint value changes + * \param userdata A pointer to pass to the callback function + */ +extern DECLSPEC void SDLCALL SDL_AddHintCallback(const char *name, + SDL_HintCallback callback, + void *userdata); + +/** + * \brief Remove a function watching a particular hint + * + * \param name The hint being watched + * \param callback The function being called when the hint value changes + * \param userdata A pointer being passed to the callback function + */ +extern DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name, + SDL_HintCallback callback, + void *userdata); + +/** + * \brief Clear all hints + * + * This function is called during SDL_Quit() to free stored hints. + */ +extern DECLSPEC void SDLCALL SDL_ClearHints(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_hints_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_joystick.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_joystick.h new file mode 100644 index 000000000..f598dc828 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_joystick.h @@ -0,0 +1,382 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_joystick.h + * + * Include file for SDL joystick event handling + * + * The term "device_index" identifies currently plugged in joystick devices between 0 and SDL_NumJoysticks(), with the exact joystick + * behind a device_index changing as joysticks are plugged and unplugged. + * + * The term "instance_id" is the current instantiation of a joystick device in the system, if the joystick is removed and then re-inserted + * then it will get a new instance_id, instance_id's are monotonically increasing identifiers of a joystick plugged in. + * + * The term JoystickGUID is a stable 128-bit identifier for a joystick device that does not change over time, it identifies class of + * the device (a X360 wired controller for example). This identifier is platform dependent. + * + * + */ + +#ifndef SDL_joystick_h_ +#define SDL_joystick_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file SDL_joystick.h + * + * In order to use these functions, SDL_Init() must have been called + * with the ::SDL_INIT_JOYSTICK flag. This causes SDL to scan the system + * for joysticks, and load appropriate drivers. + * + * If you would like to receive joystick updates while the application + * is in the background, you should set the following hint before calling + * SDL_Init(): SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS + */ + +/** + * The joystick structure used to identify an SDL joystick + */ +struct _SDL_Joystick; +typedef struct _SDL_Joystick SDL_Joystick; + +/* A structure that encodes the stable unique id for a joystick device */ +typedef struct { + Uint8 data[16]; +} SDL_JoystickGUID; + +/** + * This is a unique ID for a joystick for the time it is connected to the system, + * and is never reused for the lifetime of the application. If the joystick is + * disconnected and reconnected, it will get a new ID. + * + * The ID value starts at 0 and increments from there. The value -1 is an invalid ID. + */ +typedef Sint32 SDL_JoystickID; + +typedef enum +{ + SDL_JOYSTICK_TYPE_UNKNOWN, + SDL_JOYSTICK_TYPE_GAMECONTROLLER, + SDL_JOYSTICK_TYPE_WHEEL, + SDL_JOYSTICK_TYPE_ARCADE_STICK, + SDL_JOYSTICK_TYPE_FLIGHT_STICK, + SDL_JOYSTICK_TYPE_DANCE_PAD, + SDL_JOYSTICK_TYPE_GUITAR, + SDL_JOYSTICK_TYPE_DRUM_KIT, + SDL_JOYSTICK_TYPE_ARCADE_PAD, + SDL_JOYSTICK_TYPE_THROTTLE +} SDL_JoystickType; + +typedef enum +{ + SDL_JOYSTICK_POWER_UNKNOWN = -1, + SDL_JOYSTICK_POWER_EMPTY, + SDL_JOYSTICK_POWER_LOW, + SDL_JOYSTICK_POWER_MEDIUM, + SDL_JOYSTICK_POWER_FULL, + SDL_JOYSTICK_POWER_WIRED, + SDL_JOYSTICK_POWER_MAX +} SDL_JoystickPowerLevel; + +/* Function prototypes */ + +/** + * Locking for multi-threaded access to the joystick API + * + * If you are using the joystick API or handling events from multiple threads + * you should use these locking functions to protect access to the joysticks. + * + * In particular, you are guaranteed that the joystick list won't change, so + * the API functions that take a joystick index will be valid, and joystick + * and game controller events will not be delivered. + */ +extern DECLSPEC void SDLCALL SDL_LockJoysticks(void); +extern DECLSPEC void SDLCALL SDL_UnlockJoysticks(void); + +/** + * Count the number of joysticks attached to the system right now + */ +extern DECLSPEC int SDLCALL SDL_NumJoysticks(void); + +/** + * Get the implementation dependent name of a joystick. + * This can be called before any joysticks are opened. + * If no name can be found, this function returns NULL. + */ +extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index); + +/** + * Return the GUID for the joystick at this index + * This can be called before any joysticks are opened. + */ +extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetDeviceGUID(int device_index); + +/** + * Get the USB vendor ID of a joystick, if available. + * This can be called before any joysticks are opened. + * If the vendor ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceVendor(int device_index); + +/** + * Get the USB product ID of a joystick, if available. + * This can be called before any joysticks are opened. + * If the product ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProduct(int device_index); + +/** + * Get the product version of a joystick, if available. + * This can be called before any joysticks are opened. + * If the product version isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetDeviceProductVersion(int device_index); + +/** + * Get the type of a joystick, if available. + * This can be called before any joysticks are opened. + */ +extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetDeviceType(int device_index); + +/** + * Get the instance ID of a joystick. + * This can be called before any joysticks are opened. + * If the index is out of range, this function will return -1. + */ +extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickGetDeviceInstanceID(int device_index); + +/** + * Open a joystick for use. + * The index passed as an argument refers to the N'th joystick on the system. + * This index is not the value which will identify this joystick in future + * joystick events. The joystick's instance id (::SDL_JoystickID) will be used + * there instead. + * + * \return A joystick identifier, or NULL if an error occurred. + */ +extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickOpen(int device_index); + +/** + * Return the SDL_Joystick associated with an instance id. + */ +extern DECLSPEC SDL_Joystick *SDLCALL SDL_JoystickFromInstanceID(SDL_JoystickID joyid); + +/** + * Return the name for this currently opened joystick. + * If no name can be found, this function returns NULL. + */ +extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick * joystick); + +/** + * Return the GUID for this opened joystick + */ +extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUID(SDL_Joystick * joystick); + +/** + * Get the USB vendor ID of an opened joystick, if available. + * If the vendor ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetVendor(SDL_Joystick * joystick); + +/** + * Get the USB product ID of an opened joystick, if available. + * If the product ID isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick * joystick); + +/** + * Get the product version of an opened joystick, if available. + * If the product version isn't available this function returns 0. + */ +extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick * joystick); + +/** + * Get the type of an opened joystick. + */ +extern DECLSPEC SDL_JoystickType SDLCALL SDL_JoystickGetType(SDL_Joystick * joystick); + +/** + * Return a string representation for this guid. pszGUID must point to at least 33 bytes + * (32 for the string plus a NULL terminator). + */ +extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, char *pszGUID, int cbGUID); + +/** + * Convert a string into a joystick guid + */ +extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID); + +/** + * Returns SDL_TRUE if the joystick has been opened and currently connected, or SDL_FALSE if it has not. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAttached(SDL_Joystick * joystick); + +/** + * Get the instance ID of an opened joystick or -1 if the joystick is invalid. + */ +extern DECLSPEC SDL_JoystickID SDLCALL SDL_JoystickInstanceID(SDL_Joystick * joystick); + +/** + * Get the number of general axis controls on a joystick. + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumAxes(SDL_Joystick * joystick); + +/** + * Get the number of trackballs on a joystick. + * + * Joystick trackballs have only relative motion events associated + * with them and their state cannot be polled. + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumBalls(SDL_Joystick * joystick); + +/** + * Get the number of POV hats on a joystick. + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumHats(SDL_Joystick * joystick); + +/** + * Get the number of buttons on a joystick. + */ +extern DECLSPEC int SDLCALL SDL_JoystickNumButtons(SDL_Joystick * joystick); + +/** + * Update the current state of the open joysticks. + * + * This is called automatically by the event loop if any joystick + * events are enabled. + */ +extern DECLSPEC void SDLCALL SDL_JoystickUpdate(void); + +/** + * Enable/disable joystick event polling. + * + * If joystick events are disabled, you must call SDL_JoystickUpdate() + * yourself and check the state of the joystick when you want joystick + * information. + * + * The state can be one of ::SDL_QUERY, ::SDL_ENABLE or ::SDL_IGNORE. + */ +extern DECLSPEC int SDLCALL SDL_JoystickEventState(int state); + +#define SDL_JOYSTICK_AXIS_MAX 32767 +#define SDL_JOYSTICK_AXIS_MIN -32768 +/** + * Get the current state of an axis control on a joystick. + * + * The state is a value ranging from -32768 to 32767. + * + * The axis indices start at index 0. + */ +extern DECLSPEC Sint16 SDLCALL SDL_JoystickGetAxis(SDL_Joystick * joystick, + int axis); + +/** + * Get the initial state of an axis control on a joystick. + * + * The state is a value ranging from -32768 to 32767. + * + * The axis indices start at index 0. + * + * \return SDL_TRUE if this axis has any initial value, or SDL_FALSE if not. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_JoystickGetAxisInitialState(SDL_Joystick * joystick, + int axis, Sint16 *state); + +/** + * \name Hat positions + */ +/* @{ */ +#define SDL_HAT_CENTERED 0x00 +#define SDL_HAT_UP 0x01 +#define SDL_HAT_RIGHT 0x02 +#define SDL_HAT_DOWN 0x04 +#define SDL_HAT_LEFT 0x08 +#define SDL_HAT_RIGHTUP (SDL_HAT_RIGHT|SDL_HAT_UP) +#define SDL_HAT_RIGHTDOWN (SDL_HAT_RIGHT|SDL_HAT_DOWN) +#define SDL_HAT_LEFTUP (SDL_HAT_LEFT|SDL_HAT_UP) +#define SDL_HAT_LEFTDOWN (SDL_HAT_LEFT|SDL_HAT_DOWN) +/* @} */ + +/** + * Get the current state of a POV hat on a joystick. + * + * The hat indices start at index 0. + * + * \return The return value is one of the following positions: + * - ::SDL_HAT_CENTERED + * - ::SDL_HAT_UP + * - ::SDL_HAT_RIGHT + * - ::SDL_HAT_DOWN + * - ::SDL_HAT_LEFT + * - ::SDL_HAT_RIGHTUP + * - ::SDL_HAT_RIGHTDOWN + * - ::SDL_HAT_LEFTUP + * - ::SDL_HAT_LEFTDOWN + */ +extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetHat(SDL_Joystick * joystick, + int hat); + +/** + * Get the ball axis change since the last poll. + * + * \return 0, or -1 if you passed it invalid parameters. + * + * The ball indices start at index 0. + */ +extern DECLSPEC int SDLCALL SDL_JoystickGetBall(SDL_Joystick * joystick, + int ball, int *dx, int *dy); + +/** + * Get the current state of a button on a joystick. + * + * The button indices start at index 0. + */ +extern DECLSPEC Uint8 SDLCALL SDL_JoystickGetButton(SDL_Joystick * joystick, + int button); + +/** + * Close a joystick previously opened with SDL_JoystickOpen(). + */ +extern DECLSPEC void SDLCALL SDL_JoystickClose(SDL_Joystick * joystick); + +/** + * Return the battery level of this joystick + */ +extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL_Joystick * joystick); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_joystick_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keyboard.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keyboard.h new file mode 100644 index 000000000..e78ca4690 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keyboard.h @@ -0,0 +1,217 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_keyboard.h + * + * Include file for SDL keyboard event handling + */ + +#ifndef SDL_keyboard_h_ +#define SDL_keyboard_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_keycode.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief The SDL keysym structure, used in key events. + * + * \note If you are looking for translated character input, see the ::SDL_TEXTINPUT event. + */ +typedef struct SDL_Keysym +{ + SDL_Scancode scancode; /**< SDL physical key code - see ::SDL_Scancode for details */ + SDL_Keycode sym; /**< SDL virtual key code - see ::SDL_Keycode for details */ + Uint16 mod; /**< current key modifiers */ + Uint32 unused; +} SDL_Keysym; + +/* Function prototypes */ + +/** + * \brief Get the window which currently has keyboard focus. + */ +extern DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void); + +/** + * \brief Get a snapshot of the current state of the keyboard. + * + * \param numkeys if non-NULL, receives the length of the returned array. + * + * \return An array of key states. Indexes into this array are obtained by using ::SDL_Scancode values. + * + * \b Example: + * \code + * const Uint8 *state = SDL_GetKeyboardState(NULL); + * if ( state[SDL_SCANCODE_RETURN] ) { + * printf(" is pressed.\n"); + * } + * \endcode + */ +extern DECLSPEC const Uint8 *SDLCALL SDL_GetKeyboardState(int *numkeys); + +/** + * \brief Get the current key modifier state for the keyboard. + */ +extern DECLSPEC SDL_Keymod SDLCALL SDL_GetModState(void); + +/** + * \brief Set the current key modifier state for the keyboard. + * + * \note This does not change the keyboard state, only the key modifier flags. + */ +extern DECLSPEC void SDLCALL SDL_SetModState(SDL_Keymod modstate); + +/** + * \brief Get the key code corresponding to the given scancode according + * to the current keyboard layout. + * + * See ::SDL_Keycode for details. + * + * \sa SDL_GetKeyName() + */ +extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromScancode(SDL_Scancode scancode); + +/** + * \brief Get the scancode corresponding to the given key code according to the + * current keyboard layout. + * + * See ::SDL_Scancode for details. + * + * \sa SDL_GetScancodeName() + */ +extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromKey(SDL_Keycode key); + +/** + * \brief Get a human-readable name for a scancode. + * + * \return A pointer to the name for the scancode. + * If the scancode doesn't have a name, this function returns + * an empty string (""). + * + * \sa SDL_Scancode + */ +extern DECLSPEC const char *SDLCALL SDL_GetScancodeName(SDL_Scancode scancode); + +/** + * \brief Get a scancode from a human-readable name + * + * \return scancode, or SDL_SCANCODE_UNKNOWN if the name wasn't recognized + * + * \sa SDL_Scancode + */ +extern DECLSPEC SDL_Scancode SDLCALL SDL_GetScancodeFromName(const char *name); + +/** + * \brief Get a human-readable name for a key. + * + * \return A pointer to a UTF-8 string that stays valid at least until the next + * call to this function. If you need it around any longer, you must + * copy it. If the key doesn't have a name, this function returns an + * empty string (""). + * + * \sa SDL_Keycode + */ +extern DECLSPEC const char *SDLCALL SDL_GetKeyName(SDL_Keycode key); + +/** + * \brief Get a key code from a human-readable name + * + * \return key code, or SDLK_UNKNOWN if the name wasn't recognized + * + * \sa SDL_Keycode + */ +extern DECLSPEC SDL_Keycode SDLCALL SDL_GetKeyFromName(const char *name); + +/** + * \brief Start accepting Unicode text input events. + * This function will show the on-screen keyboard if supported. + * + * \sa SDL_StopTextInput() + * \sa SDL_SetTextInputRect() + * \sa SDL_HasScreenKeyboardSupport() + */ +extern DECLSPEC void SDLCALL SDL_StartTextInput(void); + +/** + * \brief Return whether or not Unicode text input events are enabled. + * + * \sa SDL_StartTextInput() + * \sa SDL_StopTextInput() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void); + +/** + * \brief Stop receiving any text input events. + * This function will hide the on-screen keyboard if supported. + * + * \sa SDL_StartTextInput() + * \sa SDL_HasScreenKeyboardSupport() + */ +extern DECLSPEC void SDLCALL SDL_StopTextInput(void); + +/** + * \brief Set the rectangle used to type Unicode text inputs. + * This is used as a hint for IME and on-screen keyboard placement. + * + * \sa SDL_StartTextInput() + */ +extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect); + +/** + * \brief Returns whether the platform has some screen keyboard support. + * + * \return SDL_TRUE if some keyboard support is available else SDL_FALSE. + * + * \note Not all screen keyboard functions are supported on all platforms. + * + * \sa SDL_IsScreenKeyboardShown() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasScreenKeyboardSupport(void); + +/** + * \brief Returns whether the screen keyboard is shown for given window. + * + * \param window The window for which screen keyboard should be queried. + * + * \return SDL_TRUE if screen keyboard is shown else SDL_FALSE. + * + * \sa SDL_HasScreenKeyboardSupport() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_keyboard_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keycode.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keycode.h new file mode 100644 index 000000000..c41e45ff6 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_keycode.h @@ -0,0 +1,349 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_keycode.h + * + * Defines constants which identify keyboard keys and modifiers. + */ + +#ifndef SDL_keycode_h_ +#define SDL_keycode_h_ + +#include "SDL_stdinc.h" +#include "SDL_scancode.h" + +/** + * \brief The SDL virtual key representation. + * + * Values of this type are used to represent keyboard keys using the current + * layout of the keyboard. These values include Unicode values representing + * the unmodified character that would be generated by pressing the key, or + * an SDLK_* constant for those keys that do not generate characters. + * + * A special exception is the number keys at the top of the keyboard which + * always map to SDLK_0...SDLK_9, regardless of layout. + */ +typedef Sint32 SDL_Keycode; + +#define SDLK_SCANCODE_MASK (1<<30) +#define SDL_SCANCODE_TO_KEYCODE(X) (X | SDLK_SCANCODE_MASK) + +enum +{ + SDLK_UNKNOWN = 0, + + SDLK_RETURN = '\r', + SDLK_ESCAPE = '\033', + SDLK_BACKSPACE = '\b', + SDLK_TAB = '\t', + SDLK_SPACE = ' ', + SDLK_EXCLAIM = '!', + SDLK_QUOTEDBL = '"', + SDLK_HASH = '#', + SDLK_PERCENT = '%', + SDLK_DOLLAR = '$', + SDLK_AMPERSAND = '&', + SDLK_QUOTE = '\'', + SDLK_LEFTPAREN = '(', + SDLK_RIGHTPAREN = ')', + SDLK_ASTERISK = '*', + SDLK_PLUS = '+', + SDLK_COMMA = ',', + SDLK_MINUS = '-', + SDLK_PERIOD = '.', + SDLK_SLASH = '/', + SDLK_0 = '0', + SDLK_1 = '1', + SDLK_2 = '2', + SDLK_3 = '3', + SDLK_4 = '4', + SDLK_5 = '5', + SDLK_6 = '6', + SDLK_7 = '7', + SDLK_8 = '8', + SDLK_9 = '9', + SDLK_COLON = ':', + SDLK_SEMICOLON = ';', + SDLK_LESS = '<', + SDLK_EQUALS = '=', + SDLK_GREATER = '>', + SDLK_QUESTION = '?', + SDLK_AT = '@', + /* + Skip uppercase letters + */ + SDLK_LEFTBRACKET = '[', + SDLK_BACKSLASH = '\\', + SDLK_RIGHTBRACKET = ']', + SDLK_CARET = '^', + SDLK_UNDERSCORE = '_', + SDLK_BACKQUOTE = '`', + SDLK_a = 'a', + SDLK_b = 'b', + SDLK_c = 'c', + SDLK_d = 'd', + SDLK_e = 'e', + SDLK_f = 'f', + SDLK_g = 'g', + SDLK_h = 'h', + SDLK_i = 'i', + SDLK_j = 'j', + SDLK_k = 'k', + SDLK_l = 'l', + SDLK_m = 'm', + SDLK_n = 'n', + SDLK_o = 'o', + SDLK_p = 'p', + SDLK_q = 'q', + SDLK_r = 'r', + SDLK_s = 's', + SDLK_t = 't', + SDLK_u = 'u', + SDLK_v = 'v', + SDLK_w = 'w', + SDLK_x = 'x', + SDLK_y = 'y', + SDLK_z = 'z', + + SDLK_CAPSLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CAPSLOCK), + + SDLK_F1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F1), + SDLK_F2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F2), + SDLK_F3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F3), + SDLK_F4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F4), + SDLK_F5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F5), + SDLK_F6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F6), + SDLK_F7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F7), + SDLK_F8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F8), + SDLK_F9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F9), + SDLK_F10 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F10), + SDLK_F11 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F11), + SDLK_F12 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F12), + + SDLK_PRINTSCREEN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRINTSCREEN), + SDLK_SCROLLLOCK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SCROLLLOCK), + SDLK_PAUSE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAUSE), + SDLK_INSERT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_INSERT), + SDLK_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HOME), + SDLK_PAGEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEUP), + SDLK_DELETE = '\177', + SDLK_END = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_END), + SDLK_PAGEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PAGEDOWN), + SDLK_RIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RIGHT), + SDLK_LEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LEFT), + SDLK_DOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DOWN), + SDLK_UP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UP), + + SDLK_NUMLOCKCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_NUMLOCKCLEAR), + SDLK_KP_DIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DIVIDE), + SDLK_KP_MULTIPLY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MULTIPLY), + SDLK_KP_MINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MINUS), + SDLK_KP_PLUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUS), + SDLK_KP_ENTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_ENTER), + SDLK_KP_1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_1), + SDLK_KP_2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_2), + SDLK_KP_3 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_3), + SDLK_KP_4 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_4), + SDLK_KP_5 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_5), + SDLK_KP_6 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_6), + SDLK_KP_7 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_7), + SDLK_KP_8 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_8), + SDLK_KP_9 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_9), + SDLK_KP_0 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_0), + SDLK_KP_PERIOD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERIOD), + + SDLK_APPLICATION = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APPLICATION), + SDLK_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_POWER), + SDLK_KP_EQUALS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALS), + SDLK_F13 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F13), + SDLK_F14 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F14), + SDLK_F15 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F15), + SDLK_F16 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F16), + SDLK_F17 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F17), + SDLK_F18 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F18), + SDLK_F19 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F19), + SDLK_F20 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F20), + SDLK_F21 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F21), + SDLK_F22 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F22), + SDLK_F23 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F23), + SDLK_F24 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_F24), + SDLK_EXECUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXECUTE), + SDLK_HELP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_HELP), + SDLK_MENU = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MENU), + SDLK_SELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SELECT), + SDLK_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_STOP), + SDLK_AGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AGAIN), + SDLK_UNDO = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_UNDO), + SDLK_CUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CUT), + SDLK_COPY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COPY), + SDLK_PASTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PASTE), + SDLK_FIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_FIND), + SDLK_MUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MUTE), + SDLK_VOLUMEUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEUP), + SDLK_VOLUMEDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_VOLUMEDOWN), + SDLK_KP_COMMA = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COMMA), + SDLK_KP_EQUALSAS400 = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EQUALSAS400), + + SDLK_ALTERASE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ALTERASE), + SDLK_SYSREQ = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SYSREQ), + SDLK_CANCEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CANCEL), + SDLK_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEAR), + SDLK_PRIOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_PRIOR), + SDLK_RETURN2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RETURN2), + SDLK_SEPARATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SEPARATOR), + SDLK_OUT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OUT), + SDLK_OPER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_OPER), + SDLK_CLEARAGAIN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CLEARAGAIN), + SDLK_CRSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CRSEL), + SDLK_EXSEL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EXSEL), + + SDLK_KP_00 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_00), + SDLK_KP_000 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_000), + SDLK_THOUSANDSSEPARATOR = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_THOUSANDSSEPARATOR), + SDLK_DECIMALSEPARATOR = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DECIMALSEPARATOR), + SDLK_CURRENCYUNIT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYUNIT), + SDLK_CURRENCYSUBUNIT = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CURRENCYSUBUNIT), + SDLK_KP_LEFTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTPAREN), + SDLK_KP_RIGHTPAREN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTPAREN), + SDLK_KP_LEFTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LEFTBRACE), + SDLK_KP_RIGHTBRACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_RIGHTBRACE), + SDLK_KP_TAB = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_TAB), + SDLK_KP_BACKSPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BACKSPACE), + SDLK_KP_A = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_A), + SDLK_KP_B = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_B), + SDLK_KP_C = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_C), + SDLK_KP_D = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_D), + SDLK_KP_E = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_E), + SDLK_KP_F = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_F), + SDLK_KP_XOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_XOR), + SDLK_KP_POWER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_POWER), + SDLK_KP_PERCENT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PERCENT), + SDLK_KP_LESS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_LESS), + SDLK_KP_GREATER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_GREATER), + SDLK_KP_AMPERSAND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AMPERSAND), + SDLK_KP_DBLAMPERSAND = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLAMPERSAND), + SDLK_KP_VERTICALBAR = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_VERTICALBAR), + SDLK_KP_DBLVERTICALBAR = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DBLVERTICALBAR), + SDLK_KP_COLON = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_COLON), + SDLK_KP_HASH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HASH), + SDLK_KP_SPACE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_SPACE), + SDLK_KP_AT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_AT), + SDLK_KP_EXCLAM = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_EXCLAM), + SDLK_KP_MEMSTORE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSTORE), + SDLK_KP_MEMRECALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMRECALL), + SDLK_KP_MEMCLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMCLEAR), + SDLK_KP_MEMADD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMADD), + SDLK_KP_MEMSUBTRACT = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMSUBTRACT), + SDLK_KP_MEMMULTIPLY = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMMULTIPLY), + SDLK_KP_MEMDIVIDE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_MEMDIVIDE), + SDLK_KP_PLUSMINUS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_PLUSMINUS), + SDLK_KP_CLEAR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEAR), + SDLK_KP_CLEARENTRY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_CLEARENTRY), + SDLK_KP_BINARY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_BINARY), + SDLK_KP_OCTAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_OCTAL), + SDLK_KP_DECIMAL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_DECIMAL), + SDLK_KP_HEXADECIMAL = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KP_HEXADECIMAL), + + SDLK_LCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LCTRL), + SDLK_LSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LSHIFT), + SDLK_LALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LALT), + SDLK_LGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_LGUI), + SDLK_RCTRL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RCTRL), + SDLK_RSHIFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RSHIFT), + SDLK_RALT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RALT), + SDLK_RGUI = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_RGUI), + + SDLK_MODE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MODE), + + SDLK_AUDIONEXT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIONEXT), + SDLK_AUDIOPREV = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPREV), + SDLK_AUDIOSTOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOSTOP), + SDLK_AUDIOPLAY = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOPLAY), + SDLK_AUDIOMUTE = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOMUTE), + SDLK_MEDIASELECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MEDIASELECT), + SDLK_WWW = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_WWW), + SDLK_MAIL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_MAIL), + SDLK_CALCULATOR = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALCULATOR), + SDLK_COMPUTER = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_COMPUTER), + SDLK_AC_SEARCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_SEARCH), + SDLK_AC_HOME = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_HOME), + SDLK_AC_BACK = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BACK), + SDLK_AC_FORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_FORWARD), + SDLK_AC_STOP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_STOP), + SDLK_AC_REFRESH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_REFRESH), + SDLK_AC_BOOKMARKS = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AC_BOOKMARKS), + + SDLK_BRIGHTNESSDOWN = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSDOWN), + SDLK_BRIGHTNESSUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_BRIGHTNESSUP), + SDLK_DISPLAYSWITCH = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_DISPLAYSWITCH), + SDLK_KBDILLUMTOGGLE = + SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMTOGGLE), + SDLK_KBDILLUMDOWN = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMDOWN), + SDLK_KBDILLUMUP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_KBDILLUMUP), + SDLK_EJECT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_EJECT), + SDLK_SLEEP = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SLEEP), + SDLK_APP1 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP1), + SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2), + + SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND), + SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD) +}; + +/** + * \brief Enumeration of valid key mods (possibly OR'd together). + */ +typedef enum +{ + KMOD_NONE = 0x0000, + KMOD_LSHIFT = 0x0001, + KMOD_RSHIFT = 0x0002, + KMOD_LCTRL = 0x0040, + KMOD_RCTRL = 0x0080, + KMOD_LALT = 0x0100, + KMOD_RALT = 0x0200, + KMOD_LGUI = 0x0400, + KMOD_RGUI = 0x0800, + KMOD_NUM = 0x1000, + KMOD_CAPS = 0x2000, + KMOD_MODE = 0x4000, + KMOD_RESERVED = 0x8000 +} SDL_Keymod; + +#define KMOD_CTRL (KMOD_LCTRL|KMOD_RCTRL) +#define KMOD_SHIFT (KMOD_LSHIFT|KMOD_RSHIFT) +#define KMOD_ALT (KMOD_LALT|KMOD_RALT) +#define KMOD_GUI (KMOD_LGUI|KMOD_RGUI) + +#endif /* SDL_keycode_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_loadso.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_loadso.h new file mode 100644 index 000000000..6ea256c6a --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_loadso.h @@ -0,0 +1,81 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_loadso.h + * + * System dependent library loading routines + * + * Some things to keep in mind: + * \li These functions only work on C function names. Other languages may + * have name mangling and intrinsic language support that varies from + * compiler to compiler. + * \li Make sure you declare your function pointers with the same calling + * convention as the actual library function. Your code will crash + * mysteriously if you do not do this. + * \li Avoid namespace collisions. If you load a symbol from the library, + * it is not defined whether or not it goes into the global symbol + * namespace for the application. If it does and it conflicts with + * symbols in your code or other shared libraries, you will not get + * the results you expect. :) + */ + +#ifndef SDL_loadso_h_ +#define SDL_loadso_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * This function dynamically loads a shared object and returns a pointer + * to the object handle (or NULL if there was an error). + * The 'sofile' parameter is a system dependent name of the object file. + */ +extern DECLSPEC void *SDLCALL SDL_LoadObject(const char *sofile); + +/** + * Given an object handle, this function looks up the address of the + * named function in the shared object and returns it. This address + * is no longer valid after calling SDL_UnloadObject(). + */ +extern DECLSPEC void *SDLCALL SDL_LoadFunction(void *handle, + const char *name); + +/** + * Unload a shared object from memory. + */ +extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_loadso_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_log.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_log.h new file mode 100644 index 000000000..356d0e1cf --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_log.h @@ -0,0 +1,211 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_log.h + * + * Simple log messages with categories and priorities. + * + * By default logs are quiet, but if you're debugging SDL you might want: + * + * SDL_LogSetAllPriority(SDL_LOG_PRIORITY_WARN); + * + * Here's where the messages go on different platforms: + * Windows: debug output stream + * Android: log output + * Others: standard error output (stderr) + */ + +#ifndef SDL_log_h_ +#define SDL_log_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + + +/** + * \brief The maximum size of a log message + * + * Messages longer than the maximum size will be truncated + */ +#define SDL_MAX_LOG_MESSAGE 4096 + +/** + * \brief The predefined log categories + * + * By default the application category is enabled at the INFO level, + * the assert category is enabled at the WARN level, test is enabled + * at the VERBOSE level and all other categories are enabled at the + * CRITICAL level. + */ +enum +{ + SDL_LOG_CATEGORY_APPLICATION, + SDL_LOG_CATEGORY_ERROR, + SDL_LOG_CATEGORY_ASSERT, + SDL_LOG_CATEGORY_SYSTEM, + SDL_LOG_CATEGORY_AUDIO, + SDL_LOG_CATEGORY_VIDEO, + SDL_LOG_CATEGORY_RENDER, + SDL_LOG_CATEGORY_INPUT, + SDL_LOG_CATEGORY_TEST, + + /* Reserved for future SDL library use */ + SDL_LOG_CATEGORY_RESERVED1, + SDL_LOG_CATEGORY_RESERVED2, + SDL_LOG_CATEGORY_RESERVED3, + SDL_LOG_CATEGORY_RESERVED4, + SDL_LOG_CATEGORY_RESERVED5, + SDL_LOG_CATEGORY_RESERVED6, + SDL_LOG_CATEGORY_RESERVED7, + SDL_LOG_CATEGORY_RESERVED8, + SDL_LOG_CATEGORY_RESERVED9, + SDL_LOG_CATEGORY_RESERVED10, + + /* Beyond this point is reserved for application use, e.g. + enum { + MYAPP_CATEGORY_AWESOME1 = SDL_LOG_CATEGORY_CUSTOM, + MYAPP_CATEGORY_AWESOME2, + MYAPP_CATEGORY_AWESOME3, + ... + }; + */ + SDL_LOG_CATEGORY_CUSTOM +}; + +/** + * \brief The predefined log priorities + */ +typedef enum +{ + SDL_LOG_PRIORITY_VERBOSE = 1, + SDL_LOG_PRIORITY_DEBUG, + SDL_LOG_PRIORITY_INFO, + SDL_LOG_PRIORITY_WARN, + SDL_LOG_PRIORITY_ERROR, + SDL_LOG_PRIORITY_CRITICAL, + SDL_NUM_LOG_PRIORITIES +} SDL_LogPriority; + + +/** + * \brief Set the priority of all log categories + */ +extern DECLSPEC void SDLCALL SDL_LogSetAllPriority(SDL_LogPriority priority); + +/** + * \brief Set the priority of a particular log category + */ +extern DECLSPEC void SDLCALL SDL_LogSetPriority(int category, + SDL_LogPriority priority); + +/** + * \brief Get the priority of a particular log category + */ +extern DECLSPEC SDL_LogPriority SDLCALL SDL_LogGetPriority(int category); + +/** + * \brief Reset all priorities to default. + * + * \note This is called in SDL_Quit(). + */ +extern DECLSPEC void SDLCALL SDL_LogResetPriorities(void); + +/** + * \brief Log a message with SDL_LOG_CATEGORY_APPLICATION and SDL_LOG_PRIORITY_INFO + */ +extern DECLSPEC void SDLCALL SDL_Log(SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(1); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_VERBOSE + */ +extern DECLSPEC void SDLCALL SDL_LogVerbose(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_DEBUG + */ +extern DECLSPEC void SDLCALL SDL_LogDebug(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_INFO + */ +extern DECLSPEC void SDLCALL SDL_LogInfo(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_WARN + */ +extern DECLSPEC void SDLCALL SDL_LogWarn(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_ERROR + */ +extern DECLSPEC void SDLCALL SDL_LogError(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with SDL_LOG_PRIORITY_CRITICAL + */ +extern DECLSPEC void SDLCALL SDL_LogCritical(int category, SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(2); + +/** + * \brief Log a message with the specified category and priority. + */ +extern DECLSPEC void SDLCALL SDL_LogMessage(int category, + SDL_LogPriority priority, + SDL_PRINTF_FORMAT_STRING const char *fmt, ...) SDL_PRINTF_VARARG_FUNC(3); + +/** + * \brief Log a message with the specified category and priority. + */ +extern DECLSPEC void SDLCALL SDL_LogMessageV(int category, + SDL_LogPriority priority, + const char *fmt, va_list ap); + +/** + * \brief The prototype for the log output function + */ +typedef void (SDLCALL *SDL_LogOutputFunction)(void *userdata, int category, SDL_LogPriority priority, const char *message); + +/** + * \brief Get the current log output function. + */ +extern DECLSPEC void SDLCALL SDL_LogGetOutputFunction(SDL_LogOutputFunction *callback, void **userdata); + +/** + * \brief This function allows you to replace the default log output + * function with one of your own. + */ +extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction callback, void *userdata); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_log_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_main.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_main.h new file mode 100644 index 000000000..2af32360f --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_main.h @@ -0,0 +1,161 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_main_h_ +#define SDL_main_h_ + +#include "SDL_stdinc.h" + +/** + * \file SDL_main.h + * + * Redefine main() on some platforms so that it is called by SDL. + */ + +#ifndef SDL_MAIN_HANDLED +#if defined(__WIN32__) +/* On Windows SDL provides WinMain(), which parses the command line and passes + the arguments to your main function. + + If you provide your own WinMain(), you may define SDL_MAIN_HANDLED + */ +#define SDL_MAIN_AVAILABLE + +#elif defined(__WINRT__) +/* On WinRT, SDL provides a main function that initializes CoreApplication, + creating an instance of IFrameworkView in the process. + + Please note that #include'ing SDL_main.h is not enough to get a main() + function working. In non-XAML apps, the file, + src/main/winrt/SDL_WinRT_main_NonXAML.cpp, or a copy of it, must be compiled + into the app itself. In XAML apps, the function, SDL_WinRTRunApp must be + called, with a pointer to the Direct3D-hosted XAML control passed in. +*/ +#define SDL_MAIN_NEEDED + +#elif defined(__IPHONEOS__) +/* On iOS SDL provides a main function that creates an application delegate + and starts the iOS application run loop. + + See src/video/uikit/SDL_uikitappdelegate.m for more details. + */ +#define SDL_MAIN_NEEDED + +#elif defined(__ANDROID__) +/* On Android SDL provides a Java class in SDLActivity.java that is the + main activity entry point. + + See README-android.md for more details on extending that class. + */ +#define SDL_MAIN_NEEDED + +#elif defined(__NACL__) +/* On NACL we use ppapi_simple to set up the application helper code, + then wait for the first PSE_INSTANCE_DIDCHANGEVIEW event before + starting the user main function. + All user code is run in a separate thread by ppapi_simple, thus + allowing for blocking io to take place via nacl_io +*/ +#define SDL_MAIN_NEEDED + +#endif +#endif /* SDL_MAIN_HANDLED */ + +#ifdef __cplusplus +#define C_LINKAGE "C" +#else +#define C_LINKAGE +#endif /* __cplusplus */ + +/** + * \file SDL_main.h + * + * The application's main() function must be called with C linkage, + * and should be declared like this: + * \code + * #ifdef __cplusplus + * extern "C" + * #endif + * int main(int argc, char *argv[]) + * { + * } + * \endcode + */ + +#if defined(SDL_MAIN_NEEDED) || defined(SDL_MAIN_AVAILABLE) +#define main SDL_main +#endif + +/** + * The prototype for the application's main() function + */ +extern C_LINKAGE DECLSPEC int SDL_main(int argc, char *argv[]); + + +#include "begin_code.h" +#ifdef __cplusplus +extern "C" { +#endif + +/** + * This is called by the real SDL main function to let the rest of the + * library know that initialization was done properly. + * + * Calling this yourself without knowing what you're doing can cause + * crashes and hard to diagnose problems with your application. + */ +extern DECLSPEC void SDLCALL SDL_SetMainReady(void); + +#ifdef __WIN32__ + +/** + * This can be called to set the application class at startup + */ +extern DECLSPEC int SDLCALL SDL_RegisterApp(char *name, Uint32 style, + void *hInst); +extern DECLSPEC void SDLCALL SDL_UnregisterApp(void); + +#endif /* __WIN32__ */ + + +#ifdef __WINRT__ + +/** + * \brief Initializes and launches an SDL/WinRT application. + * + * \param mainFunction The SDL app's C-style main(). + * \param reserved Reserved for future use; should be NULL + * \return 0 on success, -1 on failure. On failure, use SDL_GetError to retrieve more + * information on the failure. + */ +extern DECLSPEC int SDLCALL SDL_WinRTRunApp(int (*mainFunction)(int, char **), void * reserved); + +#endif /* __WINRT__ */ + + +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_main_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_messagebox.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_messagebox.h new file mode 100644 index 000000000..c326d8f01 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_messagebox.h @@ -0,0 +1,144 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_messagebox_h_ +#define SDL_messagebox_h_ + +#include "SDL_stdinc.h" +#include "SDL_video.h" /* For SDL_Window */ + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief SDL_MessageBox flags. If supported will display warning icon, etc. + */ +typedef enum +{ + SDL_MESSAGEBOX_ERROR = 0x00000010, /**< error dialog */ + SDL_MESSAGEBOX_WARNING = 0x00000020, /**< warning dialog */ + SDL_MESSAGEBOX_INFORMATION = 0x00000040 /**< informational dialog */ +} SDL_MessageBoxFlags; + +/** + * \brief Flags for SDL_MessageBoxButtonData. + */ +typedef enum +{ + SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT = 0x00000001, /**< Marks the default button when return is hit */ + SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT = 0x00000002 /**< Marks the default button when escape is hit */ +} SDL_MessageBoxButtonFlags; + +/** + * \brief Individual button data. + */ +typedef struct +{ + Uint32 flags; /**< ::SDL_MessageBoxButtonFlags */ + int buttonid; /**< User defined button id (value returned via SDL_ShowMessageBox) */ + const char * text; /**< The UTF-8 button text */ +} SDL_MessageBoxButtonData; + +/** + * \brief RGB value used in a message box color scheme + */ +typedef struct +{ + Uint8 r, g, b; +} SDL_MessageBoxColor; + +typedef enum +{ + SDL_MESSAGEBOX_COLOR_BACKGROUND, + SDL_MESSAGEBOX_COLOR_TEXT, + SDL_MESSAGEBOX_COLOR_BUTTON_BORDER, + SDL_MESSAGEBOX_COLOR_BUTTON_BACKGROUND, + SDL_MESSAGEBOX_COLOR_BUTTON_SELECTED, + SDL_MESSAGEBOX_COLOR_MAX +} SDL_MessageBoxColorType; + +/** + * \brief A set of colors to use for message box dialogs + */ +typedef struct +{ + SDL_MessageBoxColor colors[SDL_MESSAGEBOX_COLOR_MAX]; +} SDL_MessageBoxColorScheme; + +/** + * \brief MessageBox structure containing title, text, window, etc. + */ +typedef struct +{ + Uint32 flags; /**< ::SDL_MessageBoxFlags */ + SDL_Window *window; /**< Parent window, can be NULL */ + const char *title; /**< UTF-8 title */ + const char *message; /**< UTF-8 message text */ + + int numbuttons; + const SDL_MessageBoxButtonData *buttons; + + const SDL_MessageBoxColorScheme *colorScheme; /**< ::SDL_MessageBoxColorScheme, can be NULL to use system settings */ +} SDL_MessageBoxData; + +/** + * \brief Create a modal message box. + * + * \param messageboxdata The SDL_MessageBoxData structure with title, text, etc. + * \param buttonid The pointer to which user id of hit button should be copied. + * + * \return -1 on error, otherwise 0 and buttonid contains user id of button + * hit or -1 if dialog was closed. + * + * \note This function should be called on the thread that created the parent + * window, or on the main thread if the messagebox has no parent. It will + * block execution of that thread until the user clicks a button or + * closes the messagebox. + */ +extern DECLSPEC int SDLCALL SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonid); + +/** + * \brief Create a simple modal message box + * + * \param flags ::SDL_MessageBoxFlags + * \param title UTF-8 title text + * \param message UTF-8 message text + * \param window The parent window, or NULL for no parent + * + * \return 0 on success, -1 on error + * + * \sa SDL_ShowMessageBox + */ +extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *title, const char *message, SDL_Window *window); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_messagebox_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mouse.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mouse.h new file mode 100644 index 000000000..6001bd46c --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mouse.h @@ -0,0 +1,302 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_mouse.h + * + * Include file for SDL mouse event handling. + */ + +#ifndef SDL_mouse_h_ +#define SDL_mouse_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct SDL_Cursor SDL_Cursor; /**< Implementation dependent */ + +/** + * \brief Cursor types for SDL_CreateSystemCursor(). + */ +typedef enum +{ + SDL_SYSTEM_CURSOR_ARROW, /**< Arrow */ + SDL_SYSTEM_CURSOR_IBEAM, /**< I-beam */ + SDL_SYSTEM_CURSOR_WAIT, /**< Wait */ + SDL_SYSTEM_CURSOR_CROSSHAIR, /**< Crosshair */ + SDL_SYSTEM_CURSOR_WAITARROW, /**< Small wait cursor (or Wait if not available) */ + SDL_SYSTEM_CURSOR_SIZENWSE, /**< Double arrow pointing northwest and southeast */ + SDL_SYSTEM_CURSOR_SIZENESW, /**< Double arrow pointing northeast and southwest */ + SDL_SYSTEM_CURSOR_SIZEWE, /**< Double arrow pointing west and east */ + SDL_SYSTEM_CURSOR_SIZENS, /**< Double arrow pointing north and south */ + SDL_SYSTEM_CURSOR_SIZEALL, /**< Four pointed arrow pointing north, south, east, and west */ + SDL_SYSTEM_CURSOR_NO, /**< Slashed circle or crossbones */ + SDL_SYSTEM_CURSOR_HAND, /**< Hand */ + SDL_NUM_SYSTEM_CURSORS +} SDL_SystemCursor; + +/** + * \brief Scroll direction types for the Scroll event + */ +typedef enum +{ + SDL_MOUSEWHEEL_NORMAL, /**< The scroll direction is normal */ + SDL_MOUSEWHEEL_FLIPPED /**< The scroll direction is flipped / natural */ +} SDL_MouseWheelDirection; + +/* Function prototypes */ + +/** + * \brief Get the window which currently has mouse focus. + */ +extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocus(void); + +/** + * \brief Retrieve the current state of the mouse. + * + * The current button state is returned as a button bitmask, which can + * be tested using the SDL_BUTTON(X) macros, and x and y are set to the + * mouse cursor position relative to the focus window for the currently + * selected mouse. You can pass NULL for either x or y. + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetMouseState(int *x, int *y); + +/** + * \brief Get the current state of the mouse, in relation to the desktop + * + * This works just like SDL_GetMouseState(), but the coordinates will be + * reported relative to the top-left of the desktop. This can be useful if + * you need to track the mouse outside of a specific window and + * SDL_CaptureMouse() doesn't fit your needs. For example, it could be + * useful if you need to track the mouse while dragging a window, where + * coordinates relative to a window might not be in sync at all times. + * + * \note SDL_GetMouseState() returns the mouse position as SDL understands + * it from the last pump of the event queue. This function, however, + * queries the OS for the current mouse position, and as such, might + * be a slightly less efficient function. Unless you know what you're + * doing and have a good reason to use this function, you probably want + * SDL_GetMouseState() instead. + * + * \param x Returns the current X coord, relative to the desktop. Can be NULL. + * \param y Returns the current Y coord, relative to the desktop. Can be NULL. + * \return The current button state as a bitmask, which can be tested using the SDL_BUTTON(X) macros. + * + * \sa SDL_GetMouseState + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetGlobalMouseState(int *x, int *y); + +/** + * \brief Retrieve the relative state of the mouse. + * + * The current button state is returned as a button bitmask, which can + * be tested using the SDL_BUTTON(X) macros, and x and y are set to the + * mouse deltas since the last call to SDL_GetRelativeMouseState(). + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetRelativeMouseState(int *x, int *y); + +/** + * \brief Moves the mouse to the given position within the window. + * + * \param window The window to move the mouse into, or NULL for the current mouse focus + * \param x The x coordinate within the window + * \param y The y coordinate within the window + * + * \note This function generates a mouse motion event + */ +extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_Window * window, + int x, int y); + +/** + * \brief Moves the mouse to the given position in global screen space. + * + * \param x The x coordinate + * \param y The y coordinate + * \return 0 on success, -1 on error (usually: unsupported by a platform). + * + * \note This function generates a mouse motion event + */ +extern DECLSPEC int SDLCALL SDL_WarpMouseGlobal(int x, int y); + +/** + * \brief Set relative mouse mode. + * + * \param enabled Whether or not to enable relative mode + * + * \return 0 on success, or -1 if relative mode is not supported. + * + * While the mouse is in relative mode, the cursor is hidden, and the + * driver will try to report continuous motion in the current window. + * Only relative motion events will be delivered, the mouse position + * will not change. + * + * \note This function will flush any pending mouse motion. + * + * \sa SDL_GetRelativeMouseMode() + */ +extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled); + +/** + * \brief Capture the mouse, to track input outside an SDL window. + * + * \param enabled Whether or not to enable capturing + * + * Capturing enables your app to obtain mouse events globally, instead of + * just within your window. Not all video targets support this function. + * When capturing is enabled, the current window will get all mouse events, + * but unlike relative mode, no change is made to the cursor and it is + * not restrained to your window. + * + * This function may also deny mouse input to other windows--both those in + * your application and others on the system--so you should use this + * function sparingly, and in small bursts. For example, you might want to + * track the mouse while the user is dragging something, until the user + * releases a mouse button. It is not recommended that you capture the mouse + * for long periods of time, such as the entire time your app is running. + * + * While captured, mouse events still report coordinates relative to the + * current (foreground) window, but those coordinates may be outside the + * bounds of the window (including negative values). Capturing is only + * allowed for the foreground window. If the window loses focus while + * capturing, the capture will be disabled automatically. + * + * While capturing is enabled, the current window will have the + * SDL_WINDOW_MOUSE_CAPTURE flag set. + * + * \return 0 on success, or -1 if not supported. + */ +extern DECLSPEC int SDLCALL SDL_CaptureMouse(SDL_bool enabled); + +/** + * \brief Query whether relative mouse mode is enabled. + * + * \sa SDL_SetRelativeMouseMode() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_GetRelativeMouseMode(void); + +/** + * \brief Create a cursor, using the specified bitmap data and + * mask (in MSB format). + * + * The cursor width must be a multiple of 8 bits. + * + * The cursor is created in black and white according to the following: + * + * + * + * + * + * + *
data mask resulting pixel on screen
0 1 White
1 1 Black
0 0 Transparent
1 0 Inverted color if possible, black + * if not.
+ * + * \sa SDL_FreeCursor() + */ +extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateCursor(const Uint8 * data, + const Uint8 * mask, + int w, int h, int hot_x, + int hot_y); + +/** + * \brief Create a color cursor. + * + * \sa SDL_FreeCursor() + */ +extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateColorCursor(SDL_Surface *surface, + int hot_x, + int hot_y); + +/** + * \brief Create a system cursor. + * + * \sa SDL_FreeCursor() + */ +extern DECLSPEC SDL_Cursor *SDLCALL SDL_CreateSystemCursor(SDL_SystemCursor id); + +/** + * \brief Set the active cursor. + */ +extern DECLSPEC void SDLCALL SDL_SetCursor(SDL_Cursor * cursor); + +/** + * \brief Return the active cursor. + */ +extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetCursor(void); + +/** + * \brief Return the default cursor. + */ +extern DECLSPEC SDL_Cursor *SDLCALL SDL_GetDefaultCursor(void); + +/** + * \brief Frees a cursor created with SDL_CreateCursor() or similar functions. + * + * \sa SDL_CreateCursor() + * \sa SDL_CreateColorCursor() + * \sa SDL_CreateSystemCursor() + */ +extern DECLSPEC void SDLCALL SDL_FreeCursor(SDL_Cursor * cursor); + +/** + * \brief Toggle whether or not the cursor is shown. + * + * \param toggle 1 to show the cursor, 0 to hide it, -1 to query the current + * state. + * + * \return 1 if the cursor is shown, or 0 if the cursor is hidden. + */ +extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle); + +/** + * Used as a mask when testing buttons in buttonstate. + * - Button 1: Left mouse button + * - Button 2: Middle mouse button + * - Button 3: Right mouse button + */ +#define SDL_BUTTON(X) (1 << ((X)-1)) +#define SDL_BUTTON_LEFT 1 +#define SDL_BUTTON_MIDDLE 2 +#define SDL_BUTTON_RIGHT 3 +#define SDL_BUTTON_X1 4 +#define SDL_BUTTON_X2 5 +#define SDL_BUTTON_LMASK SDL_BUTTON(SDL_BUTTON_LEFT) +#define SDL_BUTTON_MMASK SDL_BUTTON(SDL_BUTTON_MIDDLE) +#define SDL_BUTTON_RMASK SDL_BUTTON(SDL_BUTTON_RIGHT) +#define SDL_BUTTON_X1MASK SDL_BUTTON(SDL_BUTTON_X1) +#define SDL_BUTTON_X2MASK SDL_BUTTON(SDL_BUTTON_X2) + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_mouse_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mutex.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mutex.h new file mode 100644 index 000000000..0272379e5 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_mutex.h @@ -0,0 +1,251 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_mutex_h_ +#define SDL_mutex_h_ + +/** + * \file SDL_mutex.h + * + * Functions to provide thread synchronization primitives. + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * Synchronization functions which can time out return this value + * if they time out. + */ +#define SDL_MUTEX_TIMEDOUT 1 + +/** + * This is the timeout value which corresponds to never time out. + */ +#define SDL_MUTEX_MAXWAIT (~(Uint32)0) + + +/** + * \name Mutex functions + */ +/* @{ */ + +/* The SDL mutex structure, defined in SDL_sysmutex.c */ +struct SDL_mutex; +typedef struct SDL_mutex SDL_mutex; + +/** + * Create a mutex, initialized unlocked. + */ +extern DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void); + +/** + * Lock the mutex. + * + * \return 0, or -1 on error. + */ +#define SDL_mutexP(m) SDL_LockMutex(m) +extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex); + +/** + * Try to lock the mutex + * + * \return 0, SDL_MUTEX_TIMEDOUT, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex); + +/** + * Unlock the mutex. + * + * \return 0, or -1 on error. + * + * \warning It is an error to unlock a mutex that has not been locked by + * the current thread, and doing so results in undefined behavior. + */ +#define SDL_mutexV(m) SDL_UnlockMutex(m) +extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex); + +/** + * Destroy a mutex. + */ +extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex); + +/* @} *//* Mutex functions */ + + +/** + * \name Semaphore functions + */ +/* @{ */ + +/* The SDL semaphore structure, defined in SDL_syssem.c */ +struct SDL_semaphore; +typedef struct SDL_semaphore SDL_sem; + +/** + * Create a semaphore, initialized with value, returns NULL on failure. + */ +extern DECLSPEC SDL_sem *SDLCALL SDL_CreateSemaphore(Uint32 initial_value); + +/** + * Destroy a semaphore. + */ +extern DECLSPEC void SDLCALL SDL_DestroySemaphore(SDL_sem * sem); + +/** + * This function suspends the calling thread until the semaphore pointed + * to by \c sem has a positive count. It then atomically decreases the + * semaphore count. + */ +extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem * sem); + +/** + * Non-blocking variant of SDL_SemWait(). + * + * \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait would + * block, and -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem * sem); + +/** + * Variant of SDL_SemWait() with a timeout in milliseconds. + * + * \return 0 if the wait succeeds, ::SDL_MUTEX_TIMEDOUT if the wait does not + * succeed in the allotted time, and -1 on error. + * + * \warning On some platforms this function is implemented by looping with a + * delay of 1 ms, and so should be avoided if possible. + */ +extern DECLSPEC int SDLCALL SDL_SemWaitTimeout(SDL_sem * sem, Uint32 ms); + +/** + * Atomically increases the semaphore's count (not blocking). + * + * \return 0, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_SemPost(SDL_sem * sem); + +/** + * Returns the current count of the semaphore. + */ +extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem); + +/* @} *//* Semaphore functions */ + + +/** + * \name Condition variable functions + */ +/* @{ */ + +/* The SDL condition variable structure, defined in SDL_syscond.c */ +struct SDL_cond; +typedef struct SDL_cond SDL_cond; + +/** + * Create a condition variable. + * + * Typical use of condition variables: + * + * Thread A: + * SDL_LockMutex(lock); + * while ( ! condition ) { + * SDL_CondWait(cond, lock); + * } + * SDL_UnlockMutex(lock); + * + * Thread B: + * SDL_LockMutex(lock); + * ... + * condition = true; + * ... + * SDL_CondSignal(cond); + * SDL_UnlockMutex(lock); + * + * There is some discussion whether to signal the condition variable + * with the mutex locked or not. There is some potential performance + * benefit to unlocking first on some platforms, but there are some + * potential race conditions depending on how your code is structured. + * + * In general it's safer to signal the condition variable while the + * mutex is locked. + */ +extern DECLSPEC SDL_cond *SDLCALL SDL_CreateCond(void); + +/** + * Destroy a condition variable. + */ +extern DECLSPEC void SDLCALL SDL_DestroyCond(SDL_cond * cond); + +/** + * Restart one of the threads that are waiting on the condition variable. + * + * \return 0 or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondSignal(SDL_cond * cond); + +/** + * Restart all threads that are waiting on the condition variable. + * + * \return 0 or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond * cond); + +/** + * Wait on the condition variable, unlocking the provided mutex. + * + * \warning The mutex must be locked before entering this function! + * + * The mutex is re-locked once the condition variable is signaled. + * + * \return 0 when it is signaled, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex); + +/** + * Waits for at most \c ms milliseconds, and returns 0 if the condition + * variable is signaled, ::SDL_MUTEX_TIMEDOUT if the condition is not + * signaled in the allotted time, and -1 on error. + * + * \warning On some platforms this function is implemented by looping with a + * delay of 1 ms, and so should be avoided if possible. + */ +extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond, + SDL_mutex * mutex, Uint32 ms); + +/* @} *//* Condition variable functions */ + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_mutex_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_name.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_name.h new file mode 100644 index 000000000..8095ed3ff --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_name.h @@ -0,0 +1,33 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDLname_h_ +#define SDLname_h_ + +#if defined(__STDC__) || defined(__cplusplus) +#define NeedFunctionPrototypes 1 +#endif + +#define SDL_NAME(X) SDL_##X + +#endif /* SDLname_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl.h new file mode 100644 index 000000000..314dd57ed --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl.h @@ -0,0 +1,2183 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_opengl.h + * + * This is a simple file to encapsulate the OpenGL API headers. + */ + +/** + * \def NO_SDL_GLEXT + * + * Define this if you have your own version of glext.h and want to disable the + * version included in SDL_opengl.h. + */ + +#ifndef SDL_opengl_h_ +#define SDL_opengl_h_ + +#include "SDL_config.h" + +#ifndef __IPHONEOS__ /* No OpenGL on iOS. */ + +/* + * Mesa 3-D graphics library + * + * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. + * Copyright (C) 2009 VMware, Inc. All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation + * the rights to use, copy, modify, merge, publish, distribute, sublicense, + * and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included + * in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR + * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, + * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + + +#ifndef __gl_h_ +#define __gl_h_ + +#if defined(USE_MGL_NAMESPACE) +#include "gl_mangle.h" +#endif + + +/********************************************************************** + * Begin system-specific stuff. + */ + +#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) +#define __WIN32__ +#endif + +#if defined(__WIN32__) && !defined(__CYGWIN__) +# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */ +# define GLAPI __declspec(dllexport) +# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ +# define GLAPI __declspec(dllimport) +# else /* for use with static link lib build of Win32 edition only */ +# define GLAPI extern +# endif /* _STATIC_MESA support */ +# if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE) /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */ +# define GLAPIENTRY +# else +# define GLAPIENTRY __stdcall +# endif +#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ +# define GLAPI extern +# define GLAPIENTRY __stdcall +#elif defined(__OS2__) || defined(__EMX__) /* native os/2 opengl */ +# define GLAPI extern +# define GLAPIENTRY _System +# define APIENTRY _System +# if defined(__GNUC__) && !defined(_System) +# define _System +# endif +#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) +# define GLAPI __attribute__((visibility("default"))) +# define GLAPIENTRY +#endif /* WIN32 && !CYGWIN */ + +/* + * WINDOWS: Include windows.h here to define APIENTRY. + * It is also useful when applications include this file by + * including only glut.h, since glut.h depends on windows.h. + * Applications needing to include windows.h with parms other + * than "WIN32_LEAN_AND_MEAN" may include windows.h before + * glut.h or gl.h. + */ +#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN 1 +#endif +#ifndef NOMINMAX /* don't define min() and max(). */ +#define NOMINMAX +#endif +#include +#endif + +#ifndef GLAPI +#define GLAPI extern +#endif + +#ifndef GLAPIENTRY +#define GLAPIENTRY +#endif + +#ifndef APIENTRY +#define APIENTRY GLAPIENTRY +#endif + +/* "P" suffix to be used for a pointer to a function */ +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif + +#ifndef GLAPIENTRYP +#define GLAPIENTRYP GLAPIENTRY * +#endif + +#if defined(PRAGMA_EXPORT_SUPPORTED) +#pragma export on +#endif + +/* + * End system-specific stuff. + **********************************************************************/ + + + +#ifdef __cplusplus +extern "C" { +#endif + + + +#define GL_VERSION_1_1 1 +#define GL_VERSION_1_2 1 +#define GL_VERSION_1_3 1 +#define GL_ARB_imaging 1 + + +/* + * Datatypes + */ +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef void GLvoid; +typedef signed char GLbyte; /* 1-byte signed */ +typedef short GLshort; /* 2-byte signed */ +typedef int GLint; /* 4-byte signed */ +typedef unsigned char GLubyte; /* 1-byte unsigned */ +typedef unsigned short GLushort; /* 2-byte unsigned */ +typedef unsigned int GLuint; /* 4-byte unsigned */ +typedef int GLsizei; /* 4-byte signed */ +typedef float GLfloat; /* single precision float */ +typedef float GLclampf; /* single precision float in [0,1] */ +typedef double GLdouble; /* double precision float */ +typedef double GLclampd; /* double precision float in [0,1] */ + + + +/* + * Constants + */ + +/* Boolean values */ +#define GL_FALSE 0 +#define GL_TRUE 1 + +/* Data types */ +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_2_BYTES 0x1407 +#define GL_3_BYTES 0x1408 +#define GL_4_BYTES 0x1409 +#define GL_DOUBLE 0x140A + +/* Primitives */ +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_QUADS 0x0007 +#define GL_QUAD_STRIP 0x0008 +#define GL_POLYGON 0x0009 + +/* Vertex Arrays */ +#define GL_VERTEX_ARRAY 0x8074 +#define GL_NORMAL_ARRAY 0x8075 +#define GL_COLOR_ARRAY 0x8076 +#define GL_INDEX_ARRAY 0x8077 +#define GL_TEXTURE_COORD_ARRAY 0x8078 +#define GL_EDGE_FLAG_ARRAY 0x8079 +#define GL_VERTEX_ARRAY_SIZE 0x807A +#define GL_VERTEX_ARRAY_TYPE 0x807B +#define GL_VERTEX_ARRAY_STRIDE 0x807C +#define GL_NORMAL_ARRAY_TYPE 0x807E +#define GL_NORMAL_ARRAY_STRIDE 0x807F +#define GL_COLOR_ARRAY_SIZE 0x8081 +#define GL_COLOR_ARRAY_TYPE 0x8082 +#define GL_COLOR_ARRAY_STRIDE 0x8083 +#define GL_INDEX_ARRAY_TYPE 0x8085 +#define GL_INDEX_ARRAY_STRIDE 0x8086 +#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A +#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C +#define GL_VERTEX_ARRAY_POINTER 0x808E +#define GL_NORMAL_ARRAY_POINTER 0x808F +#define GL_COLOR_ARRAY_POINTER 0x8090 +#define GL_INDEX_ARRAY_POINTER 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 +#define GL_V2F 0x2A20 +#define GL_V3F 0x2A21 +#define GL_C4UB_V2F 0x2A22 +#define GL_C4UB_V3F 0x2A23 +#define GL_C3F_V3F 0x2A24 +#define GL_N3F_V3F 0x2A25 +#define GL_C4F_N3F_V3F 0x2A26 +#define GL_T2F_V3F 0x2A27 +#define GL_T4F_V4F 0x2A28 +#define GL_T2F_C4UB_V3F 0x2A29 +#define GL_T2F_C3F_V3F 0x2A2A +#define GL_T2F_N3F_V3F 0x2A2B +#define GL_T2F_C4F_N3F_V3F 0x2A2C +#define GL_T4F_C4F_N3F_V4F 0x2A2D + +/* Matrix Mode */ +#define GL_MATRIX_MODE 0x0BA0 +#define GL_MODELVIEW 0x1700 +#define GL_PROJECTION 0x1701 +#define GL_TEXTURE 0x1702 + +/* Points */ +#define GL_POINT_SMOOTH 0x0B10 +#define GL_POINT_SIZE 0x0B11 +#define GL_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_POINT_SIZE_RANGE 0x0B12 + +/* Lines */ +#define GL_LINE_SMOOTH 0x0B20 +#define GL_LINE_STIPPLE 0x0B24 +#define GL_LINE_STIPPLE_PATTERN 0x0B25 +#define GL_LINE_STIPPLE_REPEAT 0x0B26 +#define GL_LINE_WIDTH 0x0B21 +#define GL_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_LINE_WIDTH_RANGE 0x0B22 + +/* Polygons */ +#define GL_POINT 0x1B00 +#define GL_LINE 0x1B01 +#define GL_FILL 0x1B02 +#define GL_CW 0x0900 +#define GL_CCW 0x0901 +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_POLYGON_MODE 0x0B40 +#define GL_POLYGON_SMOOTH 0x0B41 +#define GL_POLYGON_STIPPLE 0x0B42 +#define GL_EDGE_FLAG 0x0B43 +#define GL_CULL_FACE 0x0B44 +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +#define GL_POLYGON_OFFSET_POINT 0x2A01 +#define GL_POLYGON_OFFSET_LINE 0x2A02 +#define GL_POLYGON_OFFSET_FILL 0x8037 + +/* Display Lists */ +#define GL_COMPILE 0x1300 +#define GL_COMPILE_AND_EXECUTE 0x1301 +#define GL_LIST_BASE 0x0B32 +#define GL_LIST_INDEX 0x0B33 +#define GL_LIST_MODE 0x0B30 + +/* Depth buffer */ +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 +#define GL_DEPTH_TEST 0x0B71 +#define GL_DEPTH_BITS 0x0D56 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_COMPONENT 0x1902 + +/* Lighting */ +#define GL_LIGHTING 0x0B50 +#define GL_LIGHT0 0x4000 +#define GL_LIGHT1 0x4001 +#define GL_LIGHT2 0x4002 +#define GL_LIGHT3 0x4003 +#define GL_LIGHT4 0x4004 +#define GL_LIGHT5 0x4005 +#define GL_LIGHT6 0x4006 +#define GL_LIGHT7 0x4007 +#define GL_SPOT_EXPONENT 0x1205 +#define GL_SPOT_CUTOFF 0x1206 +#define GL_CONSTANT_ATTENUATION 0x1207 +#define GL_LINEAR_ATTENUATION 0x1208 +#define GL_QUADRATIC_ATTENUATION 0x1209 +#define GL_AMBIENT 0x1200 +#define GL_DIFFUSE 0x1201 +#define GL_SPECULAR 0x1202 +#define GL_SHININESS 0x1601 +#define GL_EMISSION 0x1600 +#define GL_POSITION 0x1203 +#define GL_SPOT_DIRECTION 0x1204 +#define GL_AMBIENT_AND_DIFFUSE 0x1602 +#define GL_COLOR_INDEXES 0x1603 +#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 +#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 +#define GL_LIGHT_MODEL_AMBIENT 0x0B53 +#define GL_FRONT_AND_BACK 0x0408 +#define GL_SHADE_MODEL 0x0B54 +#define GL_FLAT 0x1D00 +#define GL_SMOOTH 0x1D01 +#define GL_COLOR_MATERIAL 0x0B57 +#define GL_COLOR_MATERIAL_FACE 0x0B55 +#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 +#define GL_NORMALIZE 0x0BA1 + +/* User clipping planes */ +#define GL_CLIP_PLANE0 0x3000 +#define GL_CLIP_PLANE1 0x3001 +#define GL_CLIP_PLANE2 0x3002 +#define GL_CLIP_PLANE3 0x3003 +#define GL_CLIP_PLANE4 0x3004 +#define GL_CLIP_PLANE5 0x3005 + +/* Accumulation buffer */ +#define GL_ACCUM_RED_BITS 0x0D58 +#define GL_ACCUM_GREEN_BITS 0x0D59 +#define GL_ACCUM_BLUE_BITS 0x0D5A +#define GL_ACCUM_ALPHA_BITS 0x0D5B +#define GL_ACCUM_CLEAR_VALUE 0x0B80 +#define GL_ACCUM 0x0100 +#define GL_ADD 0x0104 +#define GL_LOAD 0x0101 +#define GL_MULT 0x0103 +#define GL_RETURN 0x0102 + +/* Alpha testing */ +#define GL_ALPHA_TEST 0x0BC0 +#define GL_ALPHA_TEST_REF 0x0BC2 +#define GL_ALPHA_TEST_FUNC 0x0BC1 + +/* Blending */ +#define GL_BLEND 0x0BE2 +#define GL_BLEND_SRC 0x0BE1 +#define GL_BLEND_DST 0x0BE0 +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 + +/* Render Mode */ +#define GL_FEEDBACK 0x1C01 +#define GL_RENDER 0x1C00 +#define GL_SELECT 0x1C02 + +/* Feedback */ +#define GL_2D 0x0600 +#define GL_3D 0x0601 +#define GL_3D_COLOR 0x0602 +#define GL_3D_COLOR_TEXTURE 0x0603 +#define GL_4D_COLOR_TEXTURE 0x0604 +#define GL_POINT_TOKEN 0x0701 +#define GL_LINE_TOKEN 0x0702 +#define GL_LINE_RESET_TOKEN 0x0707 +#define GL_POLYGON_TOKEN 0x0703 +#define GL_BITMAP_TOKEN 0x0704 +#define GL_DRAW_PIXEL_TOKEN 0x0705 +#define GL_COPY_PIXEL_TOKEN 0x0706 +#define GL_PASS_THROUGH_TOKEN 0x0700 +#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 +#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 +#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 + +/* Selection */ +#define GL_SELECTION_BUFFER_POINTER 0x0DF3 +#define GL_SELECTION_BUFFER_SIZE 0x0DF4 + +/* Fog */ +#define GL_FOG 0x0B60 +#define GL_FOG_MODE 0x0B65 +#define GL_FOG_DENSITY 0x0B62 +#define GL_FOG_COLOR 0x0B66 +#define GL_FOG_INDEX 0x0B61 +#define GL_FOG_START 0x0B63 +#define GL_FOG_END 0x0B64 +#define GL_LINEAR 0x2601 +#define GL_EXP 0x0800 +#define GL_EXP2 0x0801 + +/* Logic Ops */ +#define GL_LOGIC_OP 0x0BF1 +#define GL_INDEX_LOGIC_OP 0x0BF1 +#define GL_COLOR_LOGIC_OP 0x0BF2 +#define GL_LOGIC_OP_MODE 0x0BF0 +#define GL_CLEAR 0x1500 +#define GL_SET 0x150F +#define GL_COPY 0x1503 +#define GL_COPY_INVERTED 0x150C +#define GL_NOOP 0x1505 +#define GL_INVERT 0x150A +#define GL_AND 0x1501 +#define GL_NAND 0x150E +#define GL_OR 0x1507 +#define GL_NOR 0x1508 +#define GL_XOR 0x1506 +#define GL_EQUIV 0x1509 +#define GL_AND_REVERSE 0x1502 +#define GL_AND_INVERTED 0x1504 +#define GL_OR_REVERSE 0x150B +#define GL_OR_INVERTED 0x150D + +/* Stencil */ +#define GL_STENCIL_BITS 0x0D57 +#define GL_STENCIL_TEST 0x0B90 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_STENCIL_INDEX 0x1901 +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 + +/* Buffers, Pixel Drawing/Reading */ +#define GL_NONE 0 +#define GL_LEFT 0x0406 +#define GL_RIGHT 0x0407 +/*GL_FRONT 0x0404 */ +/*GL_BACK 0x0405 */ +/*GL_FRONT_AND_BACK 0x0408 */ +#define GL_FRONT_LEFT 0x0400 +#define GL_FRONT_RIGHT 0x0401 +#define GL_BACK_LEFT 0x0402 +#define GL_BACK_RIGHT 0x0403 +#define GL_AUX0 0x0409 +#define GL_AUX1 0x040A +#define GL_AUX2 0x040B +#define GL_AUX3 0x040C +#define GL_COLOR_INDEX 0x1900 +#define GL_RED 0x1903 +#define GL_GREEN 0x1904 +#define GL_BLUE 0x1905 +#define GL_ALPHA 0x1906 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A +#define GL_ALPHA_BITS 0x0D55 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_INDEX_BITS 0x0D51 +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_AUX_BUFFERS 0x0C00 +#define GL_READ_BUFFER 0x0C02 +#define GL_DRAW_BUFFER 0x0C01 +#define GL_DOUBLEBUFFER 0x0C32 +#define GL_STEREO 0x0C33 +#define GL_BITMAP 0x1A00 +#define GL_COLOR 0x1800 +#define GL_DEPTH 0x1801 +#define GL_STENCIL 0x1802 +#define GL_DITHER 0x0BD0 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 + +/* Implementation limits */ +#define GL_MAX_LIST_NESTING 0x0B31 +#define GL_MAX_EVAL_ORDER 0x0D30 +#define GL_MAX_LIGHTS 0x0D31 +#define GL_MAX_CLIP_PLANES 0x0D32 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 +#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 +#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 +#define GL_MAX_NAME_STACK_DEPTH 0x0D37 +#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 +#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B + +/* Gets */ +#define GL_ATTRIB_STACK_DEPTH 0x0BB0 +#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_CURRENT_INDEX 0x0B01 +#define GL_CURRENT_COLOR 0x0B00 +#define GL_CURRENT_NORMAL 0x0B02 +#define GL_CURRENT_RASTER_COLOR 0x0B04 +#define GL_CURRENT_RASTER_DISTANCE 0x0B09 +#define GL_CURRENT_RASTER_INDEX 0x0B05 +#define GL_CURRENT_RASTER_POSITION 0x0B07 +#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 +#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 +#define GL_CURRENT_TEXTURE_COORDS 0x0B03 +#define GL_INDEX_CLEAR_VALUE 0x0C20 +#define GL_INDEX_MODE 0x0C30 +#define GL_INDEX_WRITEMASK 0x0C21 +#define GL_MODELVIEW_MATRIX 0x0BA6 +#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 +#define GL_NAME_STACK_DEPTH 0x0D70 +#define GL_PROJECTION_MATRIX 0x0BA7 +#define GL_PROJECTION_STACK_DEPTH 0x0BA4 +#define GL_RENDER_MODE 0x0C40 +#define GL_RGBA_MODE 0x0C31 +#define GL_TEXTURE_MATRIX 0x0BA8 +#define GL_TEXTURE_STACK_DEPTH 0x0BA5 +#define GL_VIEWPORT 0x0BA2 + +/* Evaluators */ +#define GL_AUTO_NORMAL 0x0D80 +#define GL_MAP1_COLOR_4 0x0D90 +#define GL_MAP1_INDEX 0x0D91 +#define GL_MAP1_NORMAL 0x0D92 +#define GL_MAP1_TEXTURE_COORD_1 0x0D93 +#define GL_MAP1_TEXTURE_COORD_2 0x0D94 +#define GL_MAP1_TEXTURE_COORD_3 0x0D95 +#define GL_MAP1_TEXTURE_COORD_4 0x0D96 +#define GL_MAP1_VERTEX_3 0x0D97 +#define GL_MAP1_VERTEX_4 0x0D98 +#define GL_MAP2_COLOR_4 0x0DB0 +#define GL_MAP2_INDEX 0x0DB1 +#define GL_MAP2_NORMAL 0x0DB2 +#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 +#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 +#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 +#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 +#define GL_MAP2_VERTEX_3 0x0DB7 +#define GL_MAP2_VERTEX_4 0x0DB8 +#define GL_MAP1_GRID_DOMAIN 0x0DD0 +#define GL_MAP1_GRID_SEGMENTS 0x0DD1 +#define GL_MAP2_GRID_DOMAIN 0x0DD2 +#define GL_MAP2_GRID_SEGMENTS 0x0DD3 +#define GL_COEFF 0x0A00 +#define GL_ORDER 0x0A01 +#define GL_DOMAIN 0x0A02 + +/* Hints */ +#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 +#define GL_POINT_SMOOTH_HINT 0x0C51 +#define GL_LINE_SMOOTH_HINT 0x0C52 +#define GL_POLYGON_SMOOTH_HINT 0x0C53 +#define GL_FOG_HINT 0x0C54 +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 + +/* Scissor box */ +#define GL_SCISSOR_BOX 0x0C10 +#define GL_SCISSOR_TEST 0x0C11 + +/* Pixel Mode / Transfer */ +#define GL_MAP_COLOR 0x0D10 +#define GL_MAP_STENCIL 0x0D11 +#define GL_INDEX_SHIFT 0x0D12 +#define GL_INDEX_OFFSET 0x0D13 +#define GL_RED_SCALE 0x0D14 +#define GL_RED_BIAS 0x0D15 +#define GL_GREEN_SCALE 0x0D18 +#define GL_GREEN_BIAS 0x0D19 +#define GL_BLUE_SCALE 0x0D1A +#define GL_BLUE_BIAS 0x0D1B +#define GL_ALPHA_SCALE 0x0D1C +#define GL_ALPHA_BIAS 0x0D1D +#define GL_DEPTH_SCALE 0x0D1E +#define GL_DEPTH_BIAS 0x0D1F +#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 +#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 +#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 +#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 +#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 +#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 +#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 +#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 +#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 +#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 +#define GL_PIXEL_MAP_S_TO_S 0x0C71 +#define GL_PIXEL_MAP_I_TO_I 0x0C70 +#define GL_PIXEL_MAP_I_TO_R 0x0C72 +#define GL_PIXEL_MAP_I_TO_G 0x0C73 +#define GL_PIXEL_MAP_I_TO_B 0x0C74 +#define GL_PIXEL_MAP_I_TO_A 0x0C75 +#define GL_PIXEL_MAP_R_TO_R 0x0C76 +#define GL_PIXEL_MAP_G_TO_G 0x0C77 +#define GL_PIXEL_MAP_B_TO_B 0x0C78 +#define GL_PIXEL_MAP_A_TO_A 0x0C79 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_PACK_LSB_FIRST 0x0D01 +#define GL_PACK_ROW_LENGTH 0x0D02 +#define GL_PACK_SKIP_PIXELS 0x0D04 +#define GL_PACK_SKIP_ROWS 0x0D03 +#define GL_PACK_SWAP_BYTES 0x0D00 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_UNPACK_LSB_FIRST 0x0CF1 +#define GL_UNPACK_ROW_LENGTH 0x0CF2 +#define GL_UNPACK_SKIP_PIXELS 0x0CF4 +#define GL_UNPACK_SKIP_ROWS 0x0CF3 +#define GL_UNPACK_SWAP_BYTES 0x0CF0 +#define GL_ZOOM_X 0x0D16 +#define GL_ZOOM_Y 0x0D17 + +/* Texture mapping */ +#define GL_TEXTURE_ENV 0x2300 +#define GL_TEXTURE_ENV_MODE 0x2200 +#define GL_TEXTURE_1D 0x0DE0 +#define GL_TEXTURE_2D 0x0DE1 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_ENV_COLOR 0x2201 +#define GL_TEXTURE_GEN_S 0x0C60 +#define GL_TEXTURE_GEN_T 0x0C61 +#define GL_TEXTURE_GEN_R 0x0C62 +#define GL_TEXTURE_GEN_Q 0x0C63 +#define GL_TEXTURE_GEN_MODE 0x2500 +#define GL_TEXTURE_BORDER_COLOR 0x1004 +#define GL_TEXTURE_WIDTH 0x1000 +#define GL_TEXTURE_HEIGHT 0x1001 +#define GL_TEXTURE_BORDER 0x1005 +#define GL_TEXTURE_COMPONENTS 0x1003 +#define GL_TEXTURE_RED_SIZE 0x805C +#define GL_TEXTURE_GREEN_SIZE 0x805D +#define GL_TEXTURE_BLUE_SIZE 0x805E +#define GL_TEXTURE_ALPHA_SIZE 0x805F +#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE 0x8061 +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 +#define GL_OBJECT_LINEAR 0x2401 +#define GL_OBJECT_PLANE 0x2501 +#define GL_EYE_LINEAR 0x2400 +#define GL_EYE_PLANE 0x2502 +#define GL_SPHERE_MAP 0x2402 +#define GL_DECAL 0x2101 +#define GL_MODULATE 0x2100 +#define GL_NEAREST 0x2600 +#define GL_REPEAT 0x2901 +#define GL_CLAMP 0x2900 +#define GL_S 0x2000 +#define GL_T 0x2001 +#define GL_R 0x2002 +#define GL_Q 0x2003 + +/* Utility */ +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 + +/* Errors */ +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_STACK_OVERFLOW 0x0503 +#define GL_STACK_UNDERFLOW 0x0504 +#define GL_OUT_OF_MEMORY 0x0505 + +/* glPush/PopAttrib bits */ +#define GL_CURRENT_BIT 0x00000001 +#define GL_POINT_BIT 0x00000002 +#define GL_LINE_BIT 0x00000004 +#define GL_POLYGON_BIT 0x00000008 +#define GL_POLYGON_STIPPLE_BIT 0x00000010 +#define GL_PIXEL_MODE_BIT 0x00000020 +#define GL_LIGHTING_BIT 0x00000040 +#define GL_FOG_BIT 0x00000080 +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_ACCUM_BUFFER_BIT 0x00000200 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_VIEWPORT_BIT 0x00000800 +#define GL_TRANSFORM_BIT 0x00001000 +#define GL_ENABLE_BIT 0x00002000 +#define GL_COLOR_BUFFER_BIT 0x00004000 +#define GL_HINT_BIT 0x00008000 +#define GL_EVAL_BIT 0x00010000 +#define GL_LIST_BIT 0x00020000 +#define GL_TEXTURE_BIT 0x00040000 +#define GL_SCISSOR_BIT 0x00080000 +#define GL_ALL_ATTRIB_BITS 0x000FFFFF + + +/* OpenGL 1.1 */ +#define GL_PROXY_TEXTURE_1D 0x8063 +#define GL_PROXY_TEXTURE_2D 0x8064 +#define GL_TEXTURE_PRIORITY 0x8066 +#define GL_TEXTURE_RESIDENT 0x8067 +#define GL_TEXTURE_BINDING_1D 0x8068 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 +#define GL_ALPHA4 0x803B +#define GL_ALPHA8 0x803C +#define GL_ALPHA12 0x803D +#define GL_ALPHA16 0x803E +#define GL_LUMINANCE4 0x803F +#define GL_LUMINANCE8 0x8040 +#define GL_LUMINANCE12 0x8041 +#define GL_LUMINANCE16 0x8042 +#define GL_LUMINANCE4_ALPHA4 0x8043 +#define GL_LUMINANCE6_ALPHA2 0x8044 +#define GL_LUMINANCE8_ALPHA8 0x8045 +#define GL_LUMINANCE12_ALPHA4 0x8046 +#define GL_LUMINANCE12_ALPHA12 0x8047 +#define GL_LUMINANCE16_ALPHA16 0x8048 +#define GL_INTENSITY 0x8049 +#define GL_INTENSITY4 0x804A +#define GL_INTENSITY8 0x804B +#define GL_INTENSITY12 0x804C +#define GL_INTENSITY16 0x804D +#define GL_R3_G3_B2 0x2A10 +#define GL_RGB4 0x804F +#define GL_RGB5 0x8050 +#define GL_RGB8 0x8051 +#define GL_RGB10 0x8052 +#define GL_RGB12 0x8053 +#define GL_RGB16 0x8054 +#define GL_RGBA2 0x8055 +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGBA8 0x8058 +#define GL_RGB10_A2 0x8059 +#define GL_RGBA12 0x805A +#define GL_RGBA16 0x805B +#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 +#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 +#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF +#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF + + + +/* + * Miscellaneous + */ + +GLAPI void GLAPIENTRY glClearIndex( GLfloat c ); + +GLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); + +GLAPI void GLAPIENTRY glClear( GLbitfield mask ); + +GLAPI void GLAPIENTRY glIndexMask( GLuint mask ); + +GLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); + +GLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref ); + +GLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); + +GLAPI void GLAPIENTRY glLogicOp( GLenum opcode ); + +GLAPI void GLAPIENTRY glCullFace( GLenum mode ); + +GLAPI void GLAPIENTRY glFrontFace( GLenum mode ); + +GLAPI void GLAPIENTRY glPointSize( GLfloat size ); + +GLAPI void GLAPIENTRY glLineWidth( GLfloat width ); + +GLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern ); + +GLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode ); + +GLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); + +GLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask ); + +GLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask ); + +GLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag ); + +GLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag ); + +GLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height); + +GLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); + +GLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); + +GLAPI void GLAPIENTRY glDrawBuffer( GLenum mode ); + +GLAPI void GLAPIENTRY glReadBuffer( GLenum mode ); + +GLAPI void GLAPIENTRY glEnable( GLenum cap ); + +GLAPI void GLAPIENTRY glDisable( GLenum cap ); + +GLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap ); + + +GLAPI void GLAPIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ + +GLAPI void GLAPIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ + + +GLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); + +GLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params ); + +GLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params ); + +GLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask ); + +GLAPI void GLAPIENTRY glPopAttrib( void ); + + +GLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ + +GLAPI void GLAPIENTRY glPopClientAttrib( void ); /* 1.1 */ + + +GLAPI GLint GLAPIENTRY glRenderMode( GLenum mode ); + +GLAPI GLenum GLAPIENTRY glGetError( void ); + +GLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name ); + +GLAPI void GLAPIENTRY glFinish( void ); + +GLAPI void GLAPIENTRY glFlush( void ); + +GLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode ); + + +/* + * Depth Buffer + */ + +GLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); + +GLAPI void GLAPIENTRY glDepthFunc( GLenum func ); + +GLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); + +GLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); + + +/* + * Accumulation Buffer + */ + +GLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); + +GLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value ); + + +/* + * Transformation + */ + +GLAPI void GLAPIENTRY glMatrixMode( GLenum mode ); + +GLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); + +GLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right, + GLdouble bottom, GLdouble top, + GLdouble near_val, GLdouble far_val ); + +GLAPI void GLAPIENTRY glViewport( GLint x, GLint y, + GLsizei width, GLsizei height ); + +GLAPI void GLAPIENTRY glPushMatrix( void ); + +GLAPI void GLAPIENTRY glPopMatrix( void ); + +GLAPI void GLAPIENTRY glLoadIdentity( void ); + +GLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m ); +GLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m ); + +GLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m ); +GLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m ); + +GLAPI void GLAPIENTRY glRotated( GLdouble angle, + GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glRotatef( GLfloat angle, + GLfloat x, GLfloat y, GLfloat z ); + +GLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); + +GLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); + + +/* + * Display Lists + */ + +GLAPI GLboolean GLAPIENTRY glIsList( GLuint list ); + +GLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range ); + +GLAPI GLuint GLAPIENTRY glGenLists( GLsizei range ); + +GLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode ); + +GLAPI void GLAPIENTRY glEndList( void ); + +GLAPI void GLAPIENTRY glCallList( GLuint list ); + +GLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type, + const GLvoid *lists ); + +GLAPI void GLAPIENTRY glListBase( GLuint base ); + + +/* + * Drawing Functions + */ + +GLAPI void GLAPIENTRY glBegin( GLenum mode ); + +GLAPI void GLAPIENTRY glEnd( void ); + + +GLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y ); +GLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y ); +GLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y ); +GLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y ); + +GLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); +GLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z ); +GLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); + +GLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +GLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +GLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); +GLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); + +GLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex2iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex3iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glVertex4iv( const GLint *v ); +GLAPI void GLAPIENTRY glVertex4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); +GLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); +GLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); +GLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); +GLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); + +GLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glNormal3iv( const GLint *v ); +GLAPI void GLAPIENTRY glNormal3sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glIndexd( GLdouble c ); +GLAPI void GLAPIENTRY glIndexf( GLfloat c ); +GLAPI void GLAPIENTRY glIndexi( GLint c ); +GLAPI void GLAPIENTRY glIndexs( GLshort c ); +GLAPI void GLAPIENTRY glIndexub( GLubyte c ); /* 1.1 */ + +GLAPI void GLAPIENTRY glIndexdv( const GLdouble *c ); +GLAPI void GLAPIENTRY glIndexfv( const GLfloat *c ); +GLAPI void GLAPIENTRY glIndexiv( const GLint *c ); +GLAPI void GLAPIENTRY glIndexsv( const GLshort *c ); +GLAPI void GLAPIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ + +GLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); +GLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); +GLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); +GLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue ); +GLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); +GLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); +GLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); +GLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); + +GLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green, + GLbyte blue, GLbyte alpha ); +GLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green, + GLdouble blue, GLdouble alpha ); +GLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, + GLfloat blue, GLfloat alpha ); +GLAPI void GLAPIENTRY glColor4i( GLint red, GLint green, + GLint blue, GLint alpha ); +GLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green, + GLshort blue, GLshort alpha ); +GLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green, + GLubyte blue, GLubyte alpha ); +GLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green, + GLuint blue, GLuint alpha ); +GLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green, + GLushort blue, GLushort alpha ); + + +GLAPI void GLAPIENTRY glColor3bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glColor3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glColor3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glColor3iv( const GLint *v ); +GLAPI void GLAPIENTRY glColor3sv( const GLshort *v ); +GLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v ); +GLAPI void GLAPIENTRY glColor3uiv( const GLuint *v ); +GLAPI void GLAPIENTRY glColor3usv( const GLushort *v ); + +GLAPI void GLAPIENTRY glColor4bv( const GLbyte *v ); +GLAPI void GLAPIENTRY glColor4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glColor4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glColor4iv( const GLint *v ); +GLAPI void GLAPIENTRY glColor4sv( const GLshort *v ); +GLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v ); +GLAPI void GLAPIENTRY glColor4uiv( const GLuint *v ); +GLAPI void GLAPIENTRY glColor4usv( const GLushort *v ); + + +GLAPI void GLAPIENTRY glTexCoord1d( GLdouble s ); +GLAPI void GLAPIENTRY glTexCoord1f( GLfloat s ); +GLAPI void GLAPIENTRY glTexCoord1i( GLint s ); +GLAPI void GLAPIENTRY glTexCoord1s( GLshort s ); + +GLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t ); +GLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t ); +GLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t ); +GLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t ); + +GLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); +GLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); +GLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); +GLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); + +GLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); +GLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); +GLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); +GLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); + +GLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v ); +GLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y ); +GLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y ); +GLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y ); +GLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y ); + +GLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); +GLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); +GLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); +GLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); + +GLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); +GLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); +GLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); +GLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); + +GLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v ); + +GLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v ); +GLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v ); +GLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v ); +GLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v ); + + +GLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); +GLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); +GLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); +GLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); + + +GLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); +GLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); +GLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); +GLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); + + +/* + * Vertex Arrays (1.1) + */ + +GLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, + const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type, + GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); + +GLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params ); + +GLAPI void GLAPIENTRY glArrayElement( GLint i ); + +GLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); + +GLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count, + GLenum type, const GLvoid *indices ); + +GLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, + const GLvoid *pointer ); + +/* + * Lighting + */ + +GLAPI void GLAPIENTRY glShadeModel( GLenum mode ); + +GLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname, + const GLfloat *params ); +GLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname, + GLfloat *params ); +GLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); +GLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); + +GLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode ); + + +/* + * Raster functions + */ + +GLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); + +GLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize, + const GLfloat *values ); +GLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize, + const GLuint *values ); +GLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize, + const GLushort *values ); + +GLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); +GLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); +GLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); + +GLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, + GLfloat xorig, GLfloat yorig, + GLfloat xmove, GLfloat ymove, + const GLubyte *bitmap ); + +GLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + GLvoid *pixels ); + +GLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y, + GLsizei width, GLsizei height, + GLenum type ); + +/* + * Stenciling + */ + +GLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); + +GLAPI void GLAPIENTRY glStencilMask( GLuint mask ); + +GLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); + +GLAPI void GLAPIENTRY glClearStencil( GLint s ); + + + +/* + * Texture mapping + */ + +GLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); +GLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); +GLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); +GLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); +GLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); +GLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); +GLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target, + GLenum pname, GLfloat *params); +GLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target, + GLenum pname, GLint *params ); + +GLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, + GLenum pname, GLfloat *params ); +GLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, + GLenum pname, GLint *params ); + + +GLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLint border, GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level, + GLenum format, GLenum type, + GLvoid *pixels ); + + +/* 1.1 functions */ + +GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); + +GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); + +GLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture ); + +GLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n, + const GLuint *textures, + const GLclampf *priorities ); + +GLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n, + const GLuint *textures, + GLboolean *residences ); + +GLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture ); + + +GLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level, + GLint xoffset, + GLsizei width, GLenum format, + GLenum type, const GLvoid *pixels ); + + +GLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLsizei width, GLsizei height, + GLenum format, GLenum type, + const GLvoid *pixels ); + + +GLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLint border ); + + +GLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level, + GLenum internalformat, + GLint x, GLint y, + GLsizei width, GLsizei height, + GLint border ); + + +GLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level, + GLint xoffset, GLint x, GLint y, + GLsizei width ); + + +GLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint x, GLint y, + GLsizei width, GLsizei height ); + + +/* + * Evaluators + */ + +GLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, + GLint stride, + GLint order, const GLdouble *points ); +GLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, + GLint stride, + GLint order, const GLfloat *points ); + +GLAPI void GLAPIENTRY glMap2d( GLenum target, + GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, + GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, + const GLdouble *points ); +GLAPI void GLAPIENTRY glMap2f( GLenum target, + GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, + GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, + const GLfloat *points ); + +GLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); +GLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); +GLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); + +GLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u ); +GLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u ); + +GLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u ); +GLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u ); + +GLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); +GLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); + +GLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u ); +GLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u ); + +GLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); +GLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); + +GLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, + GLint vn, GLdouble v1, GLdouble v2 ); +GLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, + GLint vn, GLfloat v1, GLfloat v2 ); + +GLAPI void GLAPIENTRY glEvalPoint1( GLint i ); + +GLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j ); + +GLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); + +GLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); + + +/* + * Fog + */ + +GLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param ); + +GLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param ); + +GLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params ); + +GLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params ); + + +/* + * Selection and Feedback + */ + +GLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); + +GLAPI void GLAPIENTRY glPassThrough( GLfloat token ); + +GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); + +GLAPI void GLAPIENTRY glInitNames( void ); + +GLAPI void GLAPIENTRY glLoadName( GLuint name ); + +GLAPI void GLAPIENTRY glPushName( GLuint name ); + +GLAPI void GLAPIENTRY glPopName( void ); + + + +/* + * OpenGL 1.2 + */ + +#define GL_RESCALE_NORMAL 0x803A +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_BGR 0x80E0 +#define GL_BGRA 0x80E1 +#define GL_UNSIGNED_BYTE_3_3_2 0x8032 +#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 +#define GL_UNSIGNED_INT_8_8_8_8 0x8035 +#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 +#define GL_UNSIGNED_INT_10_10_10_2 0x8036 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_PACK_SKIP_IMAGES 0x806B +#define GL_PACK_IMAGE_HEIGHT 0x806C +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_PROXY_TEXTURE_3D 0x8070 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_TEXTURE_BINDING_3D 0x806A + +GLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, + GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); + +GLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, + GLint internalFormat, + GLsizei width, GLsizei height, + GLsizei depth, GLint border, + GLenum format, GLenum type, + const GLvoid *pixels ); + +GLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLsizei width, + GLsizei height, GLsizei depth, + GLenum format, + GLenum type, const GLvoid *pixels); + +GLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level, + GLint xoffset, GLint yoffset, + GLint zoffset, GLint x, + GLint y, GLsizei width, + GLsizei height ); + +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); +typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); + + +/* + * GL_ARB_imaging + */ + +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_COLOR_TABLE 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 +#define GL_PROXY_COLOR_TABLE 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 +#define GL_COLOR_TABLE_SCALE 0x80D6 +#define GL_COLOR_TABLE_BIAS 0x80D7 +#define GL_COLOR_TABLE_FORMAT 0x80D8 +#define GL_COLOR_TABLE_WIDTH 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF +#define GL_CONVOLUTION_1D 0x8010 +#define GL_CONVOLUTION_2D 0x8011 +#define GL_SEPARABLE_2D 0x8012 +#define GL_CONVOLUTION_BORDER_MODE 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS 0x8015 +#define GL_REDUCE 0x8016 +#define GL_CONVOLUTION_FORMAT 0x8017 +#define GL_CONVOLUTION_WIDTH 0x8018 +#define GL_CONVOLUTION_HEIGHT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 +#define GL_CONSTANT_BORDER 0x8151 +#define GL_REPLICATE_BORDER 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR 0x8154 +#define GL_COLOR_MATRIX 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB +#define GL_HISTOGRAM 0x8024 +#define GL_PROXY_HISTOGRAM 0x8025 +#define GL_HISTOGRAM_WIDTH 0x8026 +#define GL_HISTOGRAM_FORMAT 0x8027 +#define GL_HISTOGRAM_RED_SIZE 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C +#define GL_HISTOGRAM_SINK 0x802D +#define GL_MINMAX 0x802E +#define GL_MINMAX_FORMAT 0x802F +#define GL_MINMAX_SINK 0x8030 +#define GL_TABLE_TOO_LARGE 0x8031 +#define GL_BLEND_EQUATION 0x8009 +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_BLEND_COLOR 0x8005 + + +GLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, + GLsizei width, GLenum format, + GLenum type, const GLvoid *table ); + +GLAPI void GLAPIENTRY glColorSubTable( GLenum target, + GLsizei start, GLsizei count, + GLenum format, GLenum type, + const GLvoid *data ); + +GLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, + const GLint *params); + +GLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, + const GLfloat *params); + +GLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start, + GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, + GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format, + GLenum type, GLvoid *table ); + +GLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glBlendEquation( GLenum mode ); + +GLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green, + GLclampf blue, GLclampf alpha ); + +GLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width, + GLenum internalformat, GLboolean sink ); + +GLAPI void GLAPIENTRY glResetHistogram( GLenum target ); + +GLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset, + GLenum format, GLenum type, + GLvoid *values ); + +GLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat, + GLboolean sink ); + +GLAPI void GLAPIENTRY glResetMinmax( GLenum target ); + +GLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset, + GLenum format, GLenum types, + GLvoid *values ); + +GLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target, + GLenum internalformat, GLsizei width, GLenum format, GLenum type, + const GLvoid *image ); + +GLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *image ); + +GLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname, + GLfloat params ); + +GLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, + const GLfloat *params ); + +GLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname, + GLint params ); + +GLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, + const GLint *params ); + +GLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width ); + +GLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target, + GLenum internalformat, GLint x, GLint y, GLsizei width, + GLsizei height); + +GLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format, + GLenum type, GLvoid *image ); + +GLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, + GLfloat *params ); + +GLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, + GLint *params ); + +GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, + GLenum internalformat, GLsizei width, GLsizei height, GLenum format, + GLenum type, const GLvoid *row, const GLvoid *column ); + +GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, + GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); + + + + +/* + * OpenGL 1.3 + */ + +/* multitexture */ +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 +#define GL_MAX_TEXTURE_UNITS 0x84E2 +/* texture_cube_map */ +#define GL_NORMAL_MAP 0x8511 +#define GL_REFLECTION_MAP 0x8512 +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +/* texture_compression */ +#define GL_COMPRESSED_ALPHA 0x84E9 +#define GL_COMPRESSED_LUMINANCE 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB +#define GL_COMPRESSED_INTENSITY 0x84EC +#define GL_COMPRESSED_RGB 0x84ED +#define GL_COMPRESSED_RGBA 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 +#define GL_TEXTURE_COMPRESSED 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +/* multisample */ +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_MULTISAMPLE_BIT 0x20000000 +/* transpose_matrix */ +#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 +/* texture_env_combine */ +#define GL_COMBINE 0x8570 +#define GL_COMBINE_RGB 0x8571 +#define GL_COMBINE_ALPHA 0x8572 +#define GL_SOURCE0_RGB 0x8580 +#define GL_SOURCE1_RGB 0x8581 +#define GL_SOURCE2_RGB 0x8582 +#define GL_SOURCE0_ALPHA 0x8588 +#define GL_SOURCE1_ALPHA 0x8589 +#define GL_SOURCE2_ALPHA 0x858A +#define GL_OPERAND0_RGB 0x8590 +#define GL_OPERAND1_RGB 0x8591 +#define GL_OPERAND2_RGB 0x8592 +#define GL_OPERAND0_ALPHA 0x8598 +#define GL_OPERAND1_ALPHA 0x8599 +#define GL_OPERAND2_ALPHA 0x859A +#define GL_RGB_SCALE 0x8573 +#define GL_ADD_SIGNED 0x8574 +#define GL_INTERPOLATE 0x8575 +#define GL_SUBTRACT 0x84E7 +#define GL_CONSTANT 0x8576 +#define GL_PRIMARY_COLOR 0x8577 +#define GL_PREVIOUS 0x8578 +/* texture_env_dot3 */ +#define GL_DOT3_RGB 0x86AE +#define GL_DOT3_RGBA 0x86AF +/* texture_border_clamp */ +#define GL_CLAMP_TO_BORDER 0x812D + +GLAPI void GLAPIENTRY glActiveTexture( GLenum texture ); + +GLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture ); + +GLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); + +GLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); + +GLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s ); + +GLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s ); + +GLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s ); + +GLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s ); + +GLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); + +GLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); + +GLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t ); + +GLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); + +GLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); + +GLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); + +GLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); + +GLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); + +GLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); + +GLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); + +GLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); + +GLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v ); + +GLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); + +GLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v ); + + +GLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] ); + +GLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] ); + +GLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] ); + +GLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] ); + +GLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert ); + + +typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img); + + + +/* + * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1) + */ +#ifndef GL_ARB_multitexture +#define GL_ARB_multitexture 1 + +#define GL_TEXTURE0_ARB 0x84C0 +#define GL_TEXTURE1_ARB 0x84C1 +#define GL_TEXTURE2_ARB 0x84C2 +#define GL_TEXTURE3_ARB 0x84C3 +#define GL_TEXTURE4_ARB 0x84C4 +#define GL_TEXTURE5_ARB 0x84C5 +#define GL_TEXTURE6_ARB 0x84C6 +#define GL_TEXTURE7_ARB 0x84C7 +#define GL_TEXTURE8_ARB 0x84C8 +#define GL_TEXTURE9_ARB 0x84C9 +#define GL_TEXTURE10_ARB 0x84CA +#define GL_TEXTURE11_ARB 0x84CB +#define GL_TEXTURE12_ARB 0x84CC +#define GL_TEXTURE13_ARB 0x84CD +#define GL_TEXTURE14_ARB 0x84CE +#define GL_TEXTURE15_ARB 0x84CF +#define GL_TEXTURE16_ARB 0x84D0 +#define GL_TEXTURE17_ARB 0x84D1 +#define GL_TEXTURE18_ARB 0x84D2 +#define GL_TEXTURE19_ARB 0x84D3 +#define GL_TEXTURE20_ARB 0x84D4 +#define GL_TEXTURE21_ARB 0x84D5 +#define GL_TEXTURE22_ARB 0x84D6 +#define GL_TEXTURE23_ARB 0x84D7 +#define GL_TEXTURE24_ARB 0x84D8 +#define GL_TEXTURE25_ARB 0x84D9 +#define GL_TEXTURE26_ARB 0x84DA +#define GL_TEXTURE27_ARB 0x84DB +#define GL_TEXTURE28_ARB 0x84DC +#define GL_TEXTURE29_ARB 0x84DD +#define GL_TEXTURE30_ARB 0x84DE +#define GL_TEXTURE31_ARB 0x84DF +#define GL_ACTIVE_TEXTURE_ARB 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 +#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 + +GLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture); +GLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture); +GLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); +GLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); +GLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); +GLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); +GLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); +GLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); +GLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); +GLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); +GLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); +GLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); +GLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); +GLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); +GLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); +GLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); +GLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); +GLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); +GLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); +GLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); + +typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); + +#endif /* GL_ARB_multitexture */ + + + +/* + * Define this token if you want "old-style" header file behaviour (extensions + * defined in gl.h). Otherwise, extensions will be included from glext.h. + */ +#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY) +#include "SDL_opengl_glext.h" +#endif /* GL_GLEXT_LEGACY */ + + + +/* + * ???. GL_MESA_packed_depth_stencil + * XXX obsolete + */ +#ifndef GL_MESA_packed_depth_stencil +#define GL_MESA_packed_depth_stencil 1 + +#define GL_DEPTH_STENCIL_MESA 0x8750 +#define GL_UNSIGNED_INT_24_8_MESA 0x8751 +#define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 +#define GL_UNSIGNED_SHORT_15_1_MESA 0x8753 +#define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 + +#endif /* GL_MESA_packed_depth_stencil */ + + +#ifndef GL_ATI_blend_equation_separate +#define GL_ATI_blend_equation_separate 1 + +#define GL_ALPHA_BLEND_EQUATION_ATI 0x883D + +GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); + +#endif /* GL_ATI_blend_equation_separate */ + + +/* GL_OES_EGL_image */ +#ifndef GL_OES_EGL_image +typedef void* GLeglImageOES; +#endif + +#ifndef GL_OES_EGL_image +#define GL_OES_EGL_image 1 +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); +GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); +#endif +typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); +#endif + + +/** + ** NOTE!!!!! If you add new functions to this file, or update + ** glext.h be sure to regenerate the gl_mangle.h file. See comments + ** in that file for details. + **/ + + + +/********************************************************************** + * Begin system-specific stuff + */ +#if defined(PRAGMA_EXPORT_SUPPORTED) +#pragma export off +#endif + +/* + * End system-specific stuff + **********************************************************************/ + + +#ifdef __cplusplus +} +#endif + +#endif /* __gl_h_ */ + +#endif /* !__IPHONEOS__ */ + +#endif /* SDL_opengl_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h new file mode 100644 index 000000000..cd3869fe7 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h @@ -0,0 +1,11177 @@ +#ifndef __glext_h_ +#define __glext_h_ 1 + +#ifdef __cplusplus +extern "C" { +#endif + +/* +** Copyright (c) 2013-2014 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ +/* +** This header is generated from the Khronos OpenGL / OpenGL ES XML +** API Registry. The current version of the Registry, generator scripts +** used to make the header, and the header can be found at +** http://www.opengl.org/registry/ +** +** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $ +*/ + +#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN 1 +#endif +#include +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif +#ifndef APIENTRYP +#define APIENTRYP APIENTRY * +#endif +#ifndef GLAPI +#define GLAPI extern +#endif + +#define GL_GLEXT_VERSION 20140521 + +/* Generated C header for: + * API: gl + * Profile: compatibility + * Versions considered: .* + * Versions emitted: 1\.[2-9]|[234]\.[0-9] + * Default extensions included: gl + * Additional extensions included: _nomatch_^ + * Extensions removed: _nomatch_^ + */ + +#ifndef GL_VERSION_1_2 +#define GL_VERSION_1_2 1 +#define GL_UNSIGNED_BYTE_3_3_2 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2 0x8036 +#define GL_TEXTURE_BINDING_3D 0x806A +#define GL_PACK_SKIP_IMAGES 0x806B +#define GL_PACK_IMAGE_HEIGHT 0x806C +#define GL_UNPACK_SKIP_IMAGES 0x806D +#define GL_UNPACK_IMAGE_HEIGHT 0x806E +#define GL_TEXTURE_3D 0x806F +#define GL_PROXY_TEXTURE_3D 0x8070 +#define GL_TEXTURE_DEPTH 0x8071 +#define GL_TEXTURE_WRAP_R 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE 0x8073 +#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 +#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 +#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 +#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 +#define GL_BGR 0x80E0 +#define GL_BGRA 0x80E1 +#define GL_MAX_ELEMENTS_VERTICES 0x80E8 +#define GL_MAX_ELEMENTS_INDICES 0x80E9 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_TEXTURE_MIN_LOD 0x813A +#define GL_TEXTURE_MAX_LOD 0x813B +#define GL_TEXTURE_BASE_LEVEL 0x813C +#define GL_TEXTURE_MAX_LEVEL 0x813D +#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 +#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 +#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 +#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_RESCALE_NORMAL 0x803A +#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 +#define GL_SINGLE_COLOR 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR 0x81FA +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#endif +#endif /* GL_VERSION_1_2 */ + +#ifndef GL_VERSION_1_3 +#define GL_VERSION_1_3 1 +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 +#define GL_MULTISAMPLE 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE 0x809F +#define GL_SAMPLE_COVERAGE 0x80A0 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C +#define GL_COMPRESSED_RGB 0x84ED +#define GL_COMPRESSED_RGBA 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 +#define GL_TEXTURE_COMPRESSED 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 +#define GL_CLAMP_TO_BORDER 0x812D +#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 +#define GL_MAX_TEXTURE_UNITS 0x84E2 +#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 +#define GL_MULTISAMPLE_BIT 0x20000000 +#define GL_NORMAL_MAP 0x8511 +#define GL_REFLECTION_MAP 0x8512 +#define GL_COMPRESSED_ALPHA 0x84E9 +#define GL_COMPRESSED_LUMINANCE 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB +#define GL_COMPRESSED_INTENSITY 0x84EC +#define GL_COMBINE 0x8570 +#define GL_COMBINE_RGB 0x8571 +#define GL_COMBINE_ALPHA 0x8572 +#define GL_SOURCE0_RGB 0x8580 +#define GL_SOURCE1_RGB 0x8581 +#define GL_SOURCE2_RGB 0x8582 +#define GL_SOURCE0_ALPHA 0x8588 +#define GL_SOURCE1_ALPHA 0x8589 +#define GL_SOURCE2_ALPHA 0x858A +#define GL_OPERAND0_RGB 0x8590 +#define GL_OPERAND1_RGB 0x8591 +#define GL_OPERAND2_RGB 0x8592 +#define GL_OPERAND0_ALPHA 0x8598 +#define GL_OPERAND1_ALPHA 0x8599 +#define GL_OPERAND2_ALPHA 0x859A +#define GL_RGB_SCALE 0x8573 +#define GL_ADD_SIGNED 0x8574 +#define GL_INTERPOLATE 0x8575 +#define GL_SUBTRACT 0x84E7 +#define GL_CONSTANT 0x8576 +#define GL_PRIMARY_COLOR 0x8577 +#define GL_PREVIOUS 0x8578 +#define GL_DOT3_RGB 0x86AE +#define GL_DOT3_RGBA 0x86AF +typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveTexture (GLenum texture); +GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert); +GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img); +GLAPI void APIENTRY glClientActiveTexture (GLenum texture); +GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s); +GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s); +GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s); +GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s); +GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t); +GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t); +GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t); +GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t); +GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r); +GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r); +GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r); +GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r); +GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q); +GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v); +GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m); +GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m); +GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m); +GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m); +#endif +#endif /* GL_VERSION_1_3 */ + +#ifndef GL_VERSION_1_4 +#define GL_VERSION_1_4 1 +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_POINT_FADE_THRESHOLD_SIZE 0x8128 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_DEPTH_COMPONENT24 0x81A6 +#define GL_DEPTH_COMPONENT32 0x81A7 +#define GL_MIRRORED_REPEAT 0x8370 +#define GL_MAX_TEXTURE_LOD_BIAS 0x84FD +#define GL_TEXTURE_LOD_BIAS 0x8501 +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 +#define GL_TEXTURE_DEPTH_SIZE 0x884A +#define GL_TEXTURE_COMPARE_MODE 0x884C +#define GL_TEXTURE_COMPARE_FUNC 0x884D +#define GL_POINT_SIZE_MIN 0x8126 +#define GL_POINT_SIZE_MAX 0x8127 +#define GL_POINT_DISTANCE_ATTENUATION 0x8129 +#define GL_GENERATE_MIPMAP 0x8191 +#define GL_GENERATE_MIPMAP_HINT 0x8192 +#define GL_FOG_COORDINATE_SOURCE 0x8450 +#define GL_FOG_COORDINATE 0x8451 +#define GL_FRAGMENT_DEPTH 0x8452 +#define GL_CURRENT_FOG_COORDINATE 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456 +#define GL_FOG_COORDINATE_ARRAY 0x8457 +#define GL_COLOR_SUM 0x8458 +#define GL_CURRENT_SECONDARY_COLOR 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D +#define GL_SECONDARY_COLOR_ARRAY 0x845E +#define GL_TEXTURE_FILTER_CONTROL 0x8500 +#define GL_DEPTH_TEXTURE_MODE 0x884B +#define GL_COMPARE_R_TO_TEXTURE 0x884E +#define GL_FUNC_ADD 0x8006 +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B +#define GL_MIN 0x8007 +#define GL_MAX 0x8008 +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord); +typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord); +typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord); +typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); +GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount); +GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param); +GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params); +GLAPI void APIENTRY glFogCoordf (GLfloat coord); +GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord); +GLAPI void APIENTRY glFogCoordd (GLdouble coord); +GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord); +GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue); +GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v); +GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue); +GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v); +GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue); +GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v); +GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue); +GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v); +GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue); +GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v); +GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue); +GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v); +GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue); +GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v); +GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue); +GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v); +GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y); +GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v); +GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y); +GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v); +GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y); +GLAPI void APIENTRY glWindowPos2iv (const GLint *v); +GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y); +GLAPI void APIENTRY glWindowPos2sv (const GLshort *v); +GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v); +GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v); +GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z); +GLAPI void APIENTRY glWindowPos3iv (const GLint *v); +GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glWindowPos3sv (const GLshort *v); +GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +GLAPI void APIENTRY glBlendEquation (GLenum mode); +#endif +#endif /* GL_VERSION_1_4 */ + +#ifndef GL_VERSION_1_5 +#define GL_VERSION_1_5 1 +#include +#ifdef __MACOSX__ +typedef long GLsizeiptr; +typedef long GLintptr; +#else +typedef ptrdiff_t GLsizeiptr; +typedef ptrdiff_t GLintptr; +#endif +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 +#define GL_QUERY_COUNTER_BITS 0x8864 +#define GL_CURRENT_QUERY 0x8865 +#define GL_QUERY_RESULT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE 0x8867 +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F +#define GL_READ_ONLY 0x88B8 +#define GL_WRITE_ONLY 0x88B9 +#define GL_READ_WRITE 0x88BA +#define GL_BUFFER_ACCESS 0x88BB +#define GL_BUFFER_MAPPED 0x88BC +#define GL_BUFFER_MAP_POINTER 0x88BD +#define GL_STREAM_DRAW 0x88E0 +#define GL_STREAM_READ 0x88E1 +#define GL_STREAM_COPY 0x88E2 +#define GL_STATIC_DRAW 0x88E4 +#define GL_STATIC_READ 0x88E5 +#define GL_STATIC_COPY 0x88E6 +#define GL_DYNAMIC_DRAW 0x88E8 +#define GL_DYNAMIC_READ 0x88E9 +#define GL_DYNAMIC_COPY 0x88EA +#define GL_SAMPLES_PASSED 0x8914 +#define GL_SRC1_ALPHA 0x8589 +#define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898 +#define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D +#define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E +#define GL_FOG_COORD_SRC 0x8450 +#define GL_FOG_COORD 0x8451 +#define GL_CURRENT_FOG_COORD 0x8453 +#define GL_FOG_COORD_ARRAY_TYPE 0x8454 +#define GL_FOG_COORD_ARRAY_STRIDE 0x8455 +#define GL_FOG_COORD_ARRAY_POINTER 0x8456 +#define GL_FOG_COORD_ARRAY 0x8457 +#define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D +#define GL_SRC0_RGB 0x8580 +#define GL_SRC1_RGB 0x8581 +#define GL_SRC2_RGB 0x8582 +#define GL_SRC0_ALPHA 0x8588 +#define GL_SRC2_ALPHA 0x858A +typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer); +typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers); +typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers); +typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data); +typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids); +GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids); +GLAPI GLboolean APIENTRY glIsQuery (GLuint id); +GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id); +GLAPI void APIENTRY glEndQuery (GLenum target); +GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params); +GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer); +GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers); +GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers); +GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer); +GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage); +GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data); +GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data); +GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access); +GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target); +GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params); +#endif +#endif /* GL_VERSION_1_5 */ + +#ifndef GL_VERSION_2_0 +#define GL_VERSION_2_0 1 +typedef char GLchar; +#define GL_BLEND_EQUATION_RGB 0x8009 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 +#define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_MAX_DRAW_BUFFERS 0x8824 +#define GL_DRAW_BUFFER0 0x8825 +#define GL_DRAW_BUFFER1 0x8826 +#define GL_DRAW_BUFFER2 0x8827 +#define GL_DRAW_BUFFER3 0x8828 +#define GL_DRAW_BUFFER4 0x8829 +#define GL_DRAW_BUFFER5 0x882A +#define GL_DRAW_BUFFER6 0x882B +#define GL_DRAW_BUFFER7 0x882C +#define GL_DRAW_BUFFER8 0x882D +#define GL_DRAW_BUFFER9 0x882E +#define GL_DRAW_BUFFER10 0x882F +#define GL_DRAW_BUFFER11 0x8830 +#define GL_DRAW_BUFFER12 0x8831 +#define GL_DRAW_BUFFER13 0x8832 +#define GL_DRAW_BUFFER14 0x8833 +#define GL_DRAW_BUFFER15 0x8834 +#define GL_BLEND_EQUATION_ALPHA 0x883D +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A +#define GL_MAX_VARYING_FLOATS 0x8B4B +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_SHADER_TYPE 0x8B4F +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_1D 0x8B5D +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_3D 0x8B5F +#define GL_SAMPLER_CUBE 0x8B60 +#define GL_SAMPLER_1D_SHADOW 0x8B61 +#define GL_SAMPLER_2D_SHADOW 0x8B62 +#define GL_DELETE_STATUS 0x8B80 +#define GL_COMPILE_STATUS 0x8B81 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D +#define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0 +#define GL_LOWER_LEFT 0x8CA1 +#define GL_UPPER_LEFT 0x8CA2 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643 +#define GL_POINT_SPRITE 0x8861 +#define GL_COORD_REPLACE 0x8862 +#define GL_MAX_TEXTURE_COORDS 0x8871 +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha); +typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs); +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask); +typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name); +typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader); +typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void); +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type); +typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader); +typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index); +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params); +typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program); +typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader); +typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0); +typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs); +GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); +GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader); +GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); +GLAPI void APIENTRY glCompileShader (GLuint shader); +GLAPI GLuint APIENTRY glCreateProgram (void); +GLAPI GLuint APIENTRY glCreateShader (GLenum type); +GLAPI void APIENTRY glDeleteProgram (GLuint program); +GLAPI void APIENTRY glDeleteShader (GLuint shader); +GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader); +GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index); +GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index); +GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); +GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders); +GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); +GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); +GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name); +GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params); +GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params); +GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer); +GLAPI GLboolean APIENTRY glIsProgram (GLuint program); +GLAPI GLboolean APIENTRY glIsShader (GLuint shader); +GLAPI void APIENTRY glLinkProgram (GLuint program); +GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length); +GLAPI void APIENTRY glUseProgram (GLuint program); +GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0); +GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1); +GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GLAPI void APIENTRY glUniform1i (GLint location, GLint v0); +GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1); +GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2); +GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glValidateProgram (GLuint program); +GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x); +GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x); +GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x); +GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y); +GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y); +GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v); +GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v); +GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +#endif +#endif /* GL_VERSION_2_0 */ + +#ifndef GL_VERSION_2_1 +#define GL_VERSION_2_1 1 +#define GL_PIXEL_PACK_BUFFER 0x88EB +#define GL_PIXEL_UNPACK_BUFFER 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF +#define GL_FLOAT_MAT2x3 0x8B65 +#define GL_FLOAT_MAT2x4 0x8B66 +#define GL_FLOAT_MAT3x2 0x8B67 +#define GL_FLOAT_MAT3x4 0x8B68 +#define GL_FLOAT_MAT4x2 0x8B69 +#define GL_FLOAT_MAT4x3 0x8B6A +#define GL_SRGB 0x8C40 +#define GL_SRGB8 0x8C41 +#define GL_SRGB_ALPHA 0x8C42 +#define GL_SRGB8_ALPHA8 0x8C43 +#define GL_COMPRESSED_SRGB 0x8C48 +#define GL_COMPRESSED_SRGB_ALPHA 0x8C49 +#define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F +#define GL_SLUMINANCE_ALPHA 0x8C44 +#define GL_SLUMINANCE8_ALPHA8 0x8C45 +#define GL_SLUMINANCE 0x8C46 +#define GL_SLUMINANCE8 0x8C47 +#define GL_COMPRESSED_SLUMINANCE 0x8C4A +#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +#endif +#endif /* GL_VERSION_2_1 */ + +#ifndef GL_VERSION_3_0 +#define GL_VERSION_3_0 1 +typedef unsigned short GLhalf; +#define GL_COMPARE_REF_TO_TEXTURE 0x884E +#define GL_CLIP_DISTANCE0 0x3000 +#define GL_CLIP_DISTANCE1 0x3001 +#define GL_CLIP_DISTANCE2 0x3002 +#define GL_CLIP_DISTANCE3 0x3003 +#define GL_CLIP_DISTANCE4 0x3004 +#define GL_CLIP_DISTANCE5 0x3005 +#define GL_CLIP_DISTANCE6 0x3006 +#define GL_CLIP_DISTANCE7 0x3007 +#define GL_MAX_CLIP_DISTANCES 0x0D32 +#define GL_MAJOR_VERSION 0x821B +#define GL_MINOR_VERSION 0x821C +#define GL_NUM_EXTENSIONS 0x821D +#define GL_CONTEXT_FLAGS 0x821E +#define GL_COMPRESSED_RED 0x8225 +#define GL_COMPRESSED_RG 0x8226 +#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001 +#define GL_RGBA32F 0x8814 +#define GL_RGB32F 0x8815 +#define GL_RGBA16F 0x881A +#define GL_RGB16F 0x881B +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD +#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF +#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904 +#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905 +#define GL_CLAMP_READ_COLOR 0x891C +#define GL_FIXED_ONLY 0x891D +#define GL_MAX_VARYING_COMPONENTS 0x8B4B +#define GL_TEXTURE_1D_ARRAY 0x8C18 +#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19 +#define GL_TEXTURE_2D_ARRAY 0x8C1A +#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B +#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C +#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D +#define GL_R11F_G11F_B10F 0x8C3A +#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B +#define GL_RGB9_E5 0x8C3D +#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E +#define GL_TEXTURE_SHARED_SIZE 0x8C3F +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80 +#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85 +#define GL_PRIMITIVES_GENERATED 0x8C87 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88 +#define GL_RASTERIZER_DISCARD 0x8C89 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B +#define GL_INTERLEAVED_ATTRIBS 0x8C8C +#define GL_SEPARATE_ATTRIBS 0x8C8D +#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F +#define GL_RGBA32UI 0x8D70 +#define GL_RGB32UI 0x8D71 +#define GL_RGBA16UI 0x8D76 +#define GL_RGB16UI 0x8D77 +#define GL_RGBA8UI 0x8D7C +#define GL_RGB8UI 0x8D7D +#define GL_RGBA32I 0x8D82 +#define GL_RGB32I 0x8D83 +#define GL_RGBA16I 0x8D88 +#define GL_RGB16I 0x8D89 +#define GL_RGBA8I 0x8D8E +#define GL_RGB8I 0x8D8F +#define GL_RED_INTEGER 0x8D94 +#define GL_GREEN_INTEGER 0x8D95 +#define GL_BLUE_INTEGER 0x8D96 +#define GL_RGB_INTEGER 0x8D98 +#define GL_RGBA_INTEGER 0x8D99 +#define GL_BGR_INTEGER 0x8D9A +#define GL_BGRA_INTEGER 0x8D9B +#define GL_SAMPLER_1D_ARRAY 0x8DC0 +#define GL_SAMPLER_2D_ARRAY 0x8DC1 +#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3 +#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4 +#define GL_SAMPLER_CUBE_SHADOW 0x8DC5 +#define GL_UNSIGNED_INT_VEC2 0x8DC6 +#define GL_UNSIGNED_INT_VEC3 0x8DC7 +#define GL_UNSIGNED_INT_VEC4 0x8DC8 +#define GL_INT_SAMPLER_1D 0x8DC9 +#define GL_INT_SAMPLER_2D 0x8DCA +#define GL_INT_SAMPLER_3D 0x8DCB +#define GL_INT_SAMPLER_CUBE 0x8DCC +#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE +#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF +#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1 +#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2 +#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3 +#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4 +#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7 +#define GL_QUERY_WAIT 0x8E13 +#define GL_QUERY_NO_WAIT 0x8E14 +#define GL_QUERY_BY_REGION_WAIT 0x8E15 +#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16 +#define GL_BUFFER_ACCESS_FLAGS 0x911F +#define GL_BUFFER_MAP_LENGTH 0x9120 +#define GL_BUFFER_MAP_OFFSET 0x9121 +#define GL_DEPTH_COMPONENT32F 0x8CAC +#define GL_DEPTH32F_STENCIL8 0x8CAD +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD +#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210 +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211 +#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212 +#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213 +#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214 +#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215 +#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216 +#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217 +#define GL_FRAMEBUFFER_DEFAULT 0x8218 +#define GL_FRAMEBUFFER_UNDEFINED 0x8219 +#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A +#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 +#define GL_DEPTH_STENCIL 0x84F9 +#define GL_UNSIGNED_INT_24_8 0x84FA +#define GL_DEPTH24_STENCIL8 0x88F0 +#define GL_TEXTURE_STENCIL_SIZE 0x88F1 +#define GL_TEXTURE_RED_TYPE 0x8C10 +#define GL_TEXTURE_GREEN_TYPE 0x8C11 +#define GL_TEXTURE_BLUE_TYPE 0x8C12 +#define GL_TEXTURE_ALPHA_TYPE 0x8C13 +#define GL_TEXTURE_DEPTH_TYPE 0x8C16 +#define GL_UNSIGNED_NORMALIZED 0x8C17 +#define GL_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_RENDERBUFFER_BINDING 0x8CA7 +#define GL_READ_FRAMEBUFFER 0x8CA8 +#define GL_DRAW_FRAMEBUFFER 0x8CA9 +#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA +#define GL_RENDERBUFFER_SAMPLES 0x8CAB +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4 +#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC +#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD +#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF +#define GL_COLOR_ATTACHMENT0 0x8CE0 +#define GL_COLOR_ATTACHMENT1 0x8CE1 +#define GL_COLOR_ATTACHMENT2 0x8CE2 +#define GL_COLOR_ATTACHMENT3 0x8CE3 +#define GL_COLOR_ATTACHMENT4 0x8CE4 +#define GL_COLOR_ATTACHMENT5 0x8CE5 +#define GL_COLOR_ATTACHMENT6 0x8CE6 +#define GL_COLOR_ATTACHMENT7 0x8CE7 +#define GL_COLOR_ATTACHMENT8 0x8CE8 +#define GL_COLOR_ATTACHMENT9 0x8CE9 +#define GL_COLOR_ATTACHMENT10 0x8CEA +#define GL_COLOR_ATTACHMENT11 0x8CEB +#define GL_COLOR_ATTACHMENT12 0x8CEC +#define GL_COLOR_ATTACHMENT13 0x8CED +#define GL_COLOR_ATTACHMENT14 0x8CEE +#define GL_COLOR_ATTACHMENT15 0x8CEF +#define GL_DEPTH_ATTACHMENT 0x8D00 +#define GL_STENCIL_ATTACHMENT 0x8D20 +#define GL_FRAMEBUFFER 0x8D40 +#define GL_RENDERBUFFER 0x8D41 +#define GL_RENDERBUFFER_WIDTH 0x8D42 +#define GL_RENDERBUFFER_HEIGHT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 +#define GL_STENCIL_INDEX1 0x8D46 +#define GL_STENCIL_INDEX4 0x8D47 +#define GL_STENCIL_INDEX8 0x8D48 +#define GL_STENCIL_INDEX16 0x8D49 +#define GL_RENDERBUFFER_RED_SIZE 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 +#define GL_MAX_SAMPLES 0x8D57 +#define GL_INDEX 0x8222 +#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14 +#define GL_TEXTURE_INTENSITY_TYPE 0x8C15 +#define GL_FRAMEBUFFER_SRGB 0x8DB9 +#define GL_HALF_FLOAT 0x140B +#define GL_MAP_READ_BIT 0x0001 +#define GL_MAP_WRITE_BIT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020 +#define GL_COMPRESSED_RED_RGTC1 0x8DBB +#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC +#define GL_COMPRESSED_RG_RGTC2 0x8DBD +#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE +#define GL_RG 0x8227 +#define GL_RG_INTEGER 0x8228 +#define GL_R8 0x8229 +#define GL_R16 0x822A +#define GL_RG8 0x822B +#define GL_RG16 0x822C +#define GL_R16F 0x822D +#define GL_R32F 0x822E +#define GL_RG16F 0x822F +#define GL_RG32F 0x8230 +#define GL_R8I 0x8231 +#define GL_R8UI 0x8232 +#define GL_R16I 0x8233 +#define GL_R16UI 0x8234 +#define GL_R32I 0x8235 +#define GL_R32UI 0x8236 +#define GL_RG8I 0x8237 +#define GL_RG8UI 0x8238 +#define GL_RG16I 0x8239 +#define GL_RG16UI 0x823A +#define GL_RG32I 0x823B +#define GL_RG32UI 0x823C +#define GL_VERTEX_ARRAY_BINDING 0x85B5 +#define GL_CLAMP_VERTEX_COLOR 0x891A +#define GL_CLAMP_FRAGMENT_COLOR 0x891B +#define GL_ALPHA_INTEGER 0x8D97 +typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data); +typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data); +typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index); +typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode); +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void); +typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp); +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode); +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void); +typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params); +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name); +typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0); +typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1); +typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value); +typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value); +typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value); +typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index); +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer); +typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer); +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer); +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers); +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target); +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array); +typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays); +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data); +GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data); +GLAPI void APIENTRY glEnablei (GLenum target, GLuint index); +GLAPI void APIENTRY glDisablei (GLenum target, GLuint index); +GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index); +GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode); +GLAPI void APIENTRY glEndTransformFeedback (void); +GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer); +GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp); +GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode); +GLAPI void APIENTRY glEndConditionalRender (void); +GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params); +GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x); +GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y); +GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z); +GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x); +GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y); +GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z); +GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v); +GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params); +GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name); +GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name); +GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0); +GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1); +GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2); +GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value); +GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value); +GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value); +GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); +GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index); +GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer); +GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers); +GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers); +GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer); +GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); +GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers); +GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers); +GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target); +GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params); +GLAPI void APIENTRY glGenerateMipmap (GLenum target); +GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glBindVertexArray (GLuint array); +GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays); +GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays); +GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); +#endif +#endif /* GL_VERSION_3_0 */ + +#ifndef GL_VERSION_3_1 +#define GL_VERSION_3_1 1 +#define GL_SAMPLER_2D_RECT 0x8B63 +#define GL_SAMPLER_2D_RECT_SHADOW 0x8B64 +#define GL_SAMPLER_BUFFER 0x8DC2 +#define GL_INT_SAMPLER_2D_RECT 0x8DCD +#define GL_INT_SAMPLER_BUFFER 0x8DD0 +#define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8 +#define GL_TEXTURE_BUFFER 0x8C2A +#define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B +#define GL_TEXTURE_BINDING_BUFFER 0x8C2C +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D +#define GL_TEXTURE_RECTANGLE 0x84F5 +#define GL_TEXTURE_BINDING_RECTANGLE 0x84F6 +#define GL_PROXY_TEXTURE_RECTANGLE 0x84F7 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8 +#define GL_R8_SNORM 0x8F94 +#define GL_RG8_SNORM 0x8F95 +#define GL_RGB8_SNORM 0x8F96 +#define GL_RGBA8_SNORM 0x8F97 +#define GL_R16_SNORM 0x8F98 +#define GL_RG16_SNORM 0x8F99 +#define GL_RGB16_SNORM 0x8F9A +#define GL_RGBA16_SNORM 0x8F9B +#define GL_SIGNED_NORMALIZED 0x8F9C +#define GL_PRIMITIVE_RESTART 0x8F9D +#define GL_PRIMITIVE_RESTART_INDEX 0x8F9E +#define GL_COPY_READ_BUFFER 0x8F36 +#define GL_COPY_WRITE_BUFFER 0x8F37 +#define GL_UNIFORM_BUFFER 0x8A11 +#define GL_UNIFORM_BUFFER_BINDING 0x8A28 +#define GL_UNIFORM_BUFFER_START 0x8A29 +#define GL_UNIFORM_BUFFER_SIZE 0x8A2A +#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B +#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D +#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E +#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F +#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30 +#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31 +#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33 +#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34 +#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35 +#define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36 +#define GL_UNIFORM_TYPE 0x8A37 +#define GL_UNIFORM_SIZE 0x8A38 +#define GL_UNIFORM_NAME_LENGTH 0x8A39 +#define GL_UNIFORM_BLOCK_INDEX 0x8A3A +#define GL_UNIFORM_OFFSET 0x8A3B +#define GL_UNIFORM_ARRAY_STRIDE 0x8A3C +#define GL_UNIFORM_MATRIX_STRIDE 0x8A3D +#define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E +#define GL_UNIFORM_BLOCK_BINDING 0x8A3F +#define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40 +#define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42 +#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46 +#define GL_INVALID_INDEX 0xFFFFFFFFu +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer); +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index); +typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); +typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount); +GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount); +GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer); +GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index); +GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices); +GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); +GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName); +GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); +GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); +#endif +#endif /* GL_VERSION_3_1 */ + +#ifndef GL_VERSION_3_2 +#define GL_VERSION_3_2 1 +typedef struct __GLsync *GLsync; +#ifndef GLEXT_64_TYPES_DEFINED +/* This code block is duplicated in glxext.h, so must be protected */ +#define GLEXT_64_TYPES_DEFINED +/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ +/* (as used in the GL_EXT_timer_query extension). */ +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#include +#elif defined(__sun__) || defined(__digital__) +#include +#if defined(__STDC__) +#if defined(__arch64__) || defined(_LP64) +typedef long int int64_t; +typedef unsigned long int uint64_t; +#else +typedef long long int int64_t; +typedef unsigned long long int uint64_t; +#endif /* __arch64__ */ +#endif /* __STDC__ */ +#elif defined( __VMS ) || defined(__sgi) +#include +#elif defined(__SCO__) || defined(__USLC__) +#include +#elif defined(__UNIXOS2__) || defined(__SOL64__) +typedef long int int32_t; +typedef long long int int64_t; +typedef unsigned long long int uint64_t; +#elif defined(_WIN32) && defined(__GNUC__) +#include +#elif defined(_WIN32) +typedef __int32 int32_t; +typedef __int64 int64_t; +typedef unsigned __int64 uint64_t; +#else +/* Fallback if nothing above works */ +#include +#endif +#endif +typedef uint64_t GLuint64; +typedef int64_t GLint64; +#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 +#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 +#define GL_LINES_ADJACENCY 0x000A +#define GL_LINE_STRIP_ADJACENCY 0x000B +#define GL_TRIANGLES_ADJACENCY 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY 0x000D +#define GL_PROGRAM_POINT_SIZE 0x8642 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8 +#define GL_GEOMETRY_SHADER 0x8DD9 +#define GL_GEOMETRY_VERTICES_OUT 0x8916 +#define GL_GEOMETRY_INPUT_TYPE 0x8917 +#define GL_GEOMETRY_OUTPUT_TYPE 0x8918 +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1 +#define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122 +#define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123 +#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124 +#define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125 +#define GL_CONTEXT_PROFILE_MASK 0x9126 +#define GL_DEPTH_CLAMP 0x864F +#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C +#define GL_FIRST_VERTEX_CONVENTION 0x8E4D +#define GL_LAST_VERTEX_CONVENTION 0x8E4E +#define GL_PROVOKING_VERTEX 0x8E4F +#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F +#define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111 +#define GL_OBJECT_TYPE 0x9112 +#define GL_SYNC_CONDITION 0x9113 +#define GL_SYNC_STATUS 0x9114 +#define GL_SYNC_FLAGS 0x9115 +#define GL_SYNC_FENCE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117 +#define GL_UNSIGNALED 0x9118 +#define GL_SIGNALED 0x9119 +#define GL_ALREADY_SIGNALED 0x911A +#define GL_TIMEOUT_EXPIRED 0x911B +#define GL_CONDITION_SATISFIED 0x911C +#define GL_WAIT_FAILED 0x911D +#define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull +#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001 +#define GL_SAMPLE_POSITION 0x8E50 +#define GL_SAMPLE_MASK 0x8E51 +#define GL_SAMPLE_MASK_VALUE 0x8E52 +#define GL_MAX_SAMPLE_MASK_WORDS 0x8E59 +#define GL_TEXTURE_2D_MULTISAMPLE 0x9100 +#define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101 +#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102 +#define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103 +#define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104 +#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105 +#define GL_TEXTURE_SAMPLES 0x9106 +#define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107 +#define GL_SAMPLER_2D_MULTISAMPLE 0x9108 +#define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109 +#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A +#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B +#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C +#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D +#define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E +#define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F +#define GL_MAX_INTEGER_SAMPLES 0x9110 +typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); +typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode); +typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync); +typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); +typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data); +typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val); +typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex); +GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex); +GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex); +GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex); +GLAPI void APIENTRY glProvokingVertex (GLenum mode); +GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags); +GLAPI GLboolean APIENTRY glIsSync (GLsync sync); +GLAPI void APIENTRY glDeleteSync (GLsync sync); +GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout); +GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data); +GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data); +GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params); +GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val); +GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask); +#endif +#endif /* GL_VERSION_3_2 */ + +#ifndef GL_VERSION_3_3 +#define GL_VERSION_3_3 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE +#define GL_SRC1_COLOR 0x88F9 +#define GL_ONE_MINUS_SRC1_COLOR 0x88FA +#define GL_ONE_MINUS_SRC1_ALPHA 0x88FB +#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC +#define GL_ANY_SAMPLES_PASSED 0x8C2F +#define GL_SAMPLER_BINDING 0x8919 +#define GL_RGB10_A2UI 0x906F +#define GL_TEXTURE_SWIZZLE_R 0x8E42 +#define GL_TEXTURE_SWIZZLE_G 0x8E43 +#define GL_TEXTURE_SWIZZLE_B 0x8E44 +#define GL_TEXTURE_SWIZZLE_A 0x8E45 +#define GL_TEXTURE_SWIZZLE_RGBA 0x8E46 +#define GL_TIME_ELAPSED 0x88BF +#define GL_TIMESTAMP 0x8E28 +#define GL_INT_2_10_10_10_REV 0x8D9F +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); +typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers); +typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers); +typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler); +typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param); +typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param); +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params); +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value); +typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value); +typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value); +typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords); +typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords); +typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color); +typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color); +typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color); +typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color); +typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color); +typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); +GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name); +GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers); +GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers); +GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler); +GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler); +GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param); +GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param); +GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param); +GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param); +GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param); +GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param); +GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params); +GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target); +GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params); +GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params); +GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor); +GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); +GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); +GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); +GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value); +GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value); +GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value); +GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value); +GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value); +GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value); +GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value); +GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value); +GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords); +GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords); +GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords); +GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords); +GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords); +GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords); +GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords); +GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords); +GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords); +GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords); +GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords); +GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords); +GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords); +GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords); +GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords); +GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords); +GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords); +GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords); +GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color); +GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color); +GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color); +GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color); +GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color); +GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color); +#endif +#endif /* GL_VERSION_3_3 */ + +#ifndef GL_VERSION_4_0 +#define GL_VERSION_4_0 1 +#define GL_SAMPLE_SHADING 0x8C36 +#define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F +#define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A +#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B +#define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C +#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D +#define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E +#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F +#define GL_DRAW_INDIRECT_BUFFER 0x8F3F +#define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43 +#define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F +#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A +#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B +#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C +#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D +#define GL_MAX_VERTEX_STREAMS 0x8E71 +#define GL_DOUBLE_VEC2 0x8FFC +#define GL_DOUBLE_VEC3 0x8FFD +#define GL_DOUBLE_VEC4 0x8FFE +#define GL_DOUBLE_MAT2 0x8F46 +#define GL_DOUBLE_MAT3 0x8F47 +#define GL_DOUBLE_MAT4 0x8F48 +#define GL_DOUBLE_MAT2x3 0x8F49 +#define GL_DOUBLE_MAT2x4 0x8F4A +#define GL_DOUBLE_MAT3x2 0x8F4B +#define GL_DOUBLE_MAT3x4 0x8F4C +#define GL_DOUBLE_MAT4x2 0x8F4D +#define GL_DOUBLE_MAT4x3 0x8F4E +#define GL_ACTIVE_SUBROUTINES 0x8DE5 +#define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6 +#define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47 +#define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48 +#define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49 +#define GL_MAX_SUBROUTINES 0x8DE7 +#define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8 +#define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A +#define GL_COMPATIBLE_SUBROUTINES 0x8E4B +#define GL_PATCHES 0x000E +#define GL_PATCH_VERTICES 0x8E72 +#define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73 +#define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74 +#define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75 +#define GL_TESS_GEN_MODE 0x8E76 +#define GL_TESS_GEN_SPACING 0x8E77 +#define GL_TESS_GEN_VERTEX_ORDER 0x8E78 +#define GL_TESS_GEN_POINT_MODE 0x8E79 +#define GL_ISOLINES 0x8E7A +#define GL_FRACTIONAL_ODD 0x8E7B +#define GL_FRACTIONAL_EVEN 0x8E7C +#define GL_MAX_PATCH_VERTICES 0x8E7D +#define GL_MAX_TESS_GEN_LEVEL 0x8E7E +#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F +#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80 +#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81 +#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82 +#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83 +#define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84 +#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85 +#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86 +#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89 +#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A +#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C +#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D +#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E +#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F +#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1 +#define GL_TESS_EVALUATION_SHADER 0x8E87 +#define GL_TESS_CONTROL_SHADER 0x8E88 +#define GL_TRANSFORM_FEEDBACK 0x8E22 +#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23 +#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24 +#define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25 +#define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70 +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value); +typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode); +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst); +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect); +typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x); +typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params); +typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name); +typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices); +typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values); +typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values); +typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids); +typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id); +typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void); +typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream); +typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id); +typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMinSampleShading (GLfloat value); +GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode); +GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst); +GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect); +GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect); +GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x); +GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y); +GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params); +GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name); +GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); +GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices); +GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params); +GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values); +GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value); +GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values); +GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id); +GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids); +GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids); +GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id); +GLAPI void APIENTRY glPauseTransformFeedback (void); +GLAPI void APIENTRY glResumeTransformFeedback (void); +GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id); +GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream); +GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id); +GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index); +GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params); +#endif +#endif /* GL_VERSION_4_0 */ + +#ifndef GL_VERSION_4_1 +#define GL_VERSION_4_1 1 +#define GL_FIXED 0x140C +#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B +#define GL_LOW_FLOAT 0x8DF0 +#define GL_MEDIUM_FLOAT 0x8DF1 +#define GL_HIGH_FLOAT 0x8DF2 +#define GL_LOW_INT 0x8DF3 +#define GL_MEDIUM_INT 0x8DF4 +#define GL_HIGH_INT 0x8DF5 +#define GL_SHADER_COMPILER 0x8DFA +#define GL_SHADER_BINARY_FORMATS 0x8DF8 +#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#define GL_RGB565 0x8D62 +#define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257 +#define GL_PROGRAM_BINARY_LENGTH 0x8741 +#define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE +#define GL_PROGRAM_BINARY_FORMATS 0x87FF +#define GL_VERTEX_SHADER_BIT 0x00000001 +#define GL_FRAGMENT_SHADER_BIT 0x00000002 +#define GL_GEOMETRY_SHADER_BIT 0x00000004 +#define GL_TESS_CONTROL_SHADER_BIT 0x00000008 +#define GL_TESS_EVALUATION_SHADER_BIT 0x00000010 +#define GL_ALL_SHADER_BITS 0xFFFFFFFF +#define GL_PROGRAM_SEPARABLE 0x8258 +#define GL_ACTIVE_PROGRAM 0x8259 +#define GL_PROGRAM_PIPELINE_BINDING 0x825A +#define GL_MAX_VIEWPORTS 0x825B +#define GL_VIEWPORT_SUBPIXEL_BITS 0x825C +#define GL_VIEWPORT_BOUNDS_RANGE 0x825D +#define GL_LAYER_PROVOKING_VERTEX 0x825E +#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F +#define GL_UNDEFINED_VERTEX 0x8260 +typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void); +typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f); +typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d); +typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program); +typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program); +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings); +typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines); +typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline); +typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v); +typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f); +typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data); +typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glReleaseShaderCompiler (void); +GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length); +GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); +GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f); +GLAPI void APIENTRY glClearDepthf (GLfloat d); +GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); +GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length); +GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value); +GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program); +GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program); +GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings); +GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline); +GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines); +GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines); +GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline); +GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params); +GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0); +GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0); +GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0); +GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0); +GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1); +GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1); +GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1); +GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1); +GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); +GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); +GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline); +GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x); +GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); +GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v); +GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); +GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v); +GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f); +GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data); +GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data); +#endif +#endif /* GL_VERSION_4_1 */ + +#ifndef GL_VERSION_4_2 +#define GL_VERSION_4_2 1 +#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127 +#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128 +#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129 +#define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A +#define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B +#define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C +#define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D +#define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E +#define GL_NUM_SAMPLE_COUNTS 0x9380 +#define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC +#define GL_ATOMIC_COUNTER_BUFFER 0x92C0 +#define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1 +#define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2 +#define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3 +#define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4 +#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5 +#define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9 +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB +#define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE +#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF +#define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0 +#define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1 +#define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2 +#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3 +#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4 +#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5 +#define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6 +#define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8 +#define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC +#define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9 +#define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA +#define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB +#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001 +#define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002 +#define GL_UNIFORM_BARRIER_BIT 0x00000004 +#define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008 +#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020 +#define GL_COMMAND_BARRIER_BIT 0x00000040 +#define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080 +#define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100 +#define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200 +#define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400 +#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800 +#define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000 +#define GL_ALL_BARRIER_BITS 0xFFFFFFFF +#define GL_MAX_IMAGE_UNITS 0x8F38 +#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39 +#define GL_IMAGE_BINDING_NAME 0x8F3A +#define GL_IMAGE_BINDING_LEVEL 0x8F3B +#define GL_IMAGE_BINDING_LAYERED 0x8F3C +#define GL_IMAGE_BINDING_LAYER 0x8F3D +#define GL_IMAGE_BINDING_ACCESS 0x8F3E +#define GL_IMAGE_1D 0x904C +#define GL_IMAGE_2D 0x904D +#define GL_IMAGE_3D 0x904E +#define GL_IMAGE_2D_RECT 0x904F +#define GL_IMAGE_CUBE 0x9050 +#define GL_IMAGE_BUFFER 0x9051 +#define GL_IMAGE_1D_ARRAY 0x9052 +#define GL_IMAGE_2D_ARRAY 0x9053 +#define GL_IMAGE_CUBE_MAP_ARRAY 0x9054 +#define GL_IMAGE_2D_MULTISAMPLE 0x9055 +#define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056 +#define GL_INT_IMAGE_1D 0x9057 +#define GL_INT_IMAGE_2D 0x9058 +#define GL_INT_IMAGE_3D 0x9059 +#define GL_INT_IMAGE_2D_RECT 0x905A +#define GL_INT_IMAGE_CUBE 0x905B +#define GL_INT_IMAGE_BUFFER 0x905C +#define GL_INT_IMAGE_1D_ARRAY 0x905D +#define GL_INT_IMAGE_2D_ARRAY 0x905E +#define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F +#define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060 +#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061 +#define GL_UNSIGNED_INT_IMAGE_1D 0x9062 +#define GL_UNSIGNED_INT_IMAGE_2D 0x9063 +#define GL_UNSIGNED_INT_IMAGE_3D 0x9064 +#define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065 +#define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066 +#define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067 +#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068 +#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069 +#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C +#define GL_MAX_IMAGE_SAMPLES 0x906D +#define GL_IMAGE_BINDING_FORMAT 0x906E +#define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8 +#define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9 +#define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA +#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB +#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC +#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD +#define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE +#define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF +#define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C +#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D +#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E +#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F +#define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers); +typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance); +GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance); +GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); +GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params); +GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params); +GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); +GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers); +GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount); +GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount); +#endif +#endif /* GL_VERSION_4_2 */ + +#ifndef GL_VERSION_4_3 +#define GL_VERSION_4_3 1 +typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); +#define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 +#define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E +#define GL_COMPRESSED_RGB8_ETC2 0x9274 +#define GL_COMPRESSED_SRGB8_ETC2 0x9275 +#define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276 +#define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277 +#define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278 +#define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279 +#define GL_COMPRESSED_R11_EAC 0x9270 +#define GL_COMPRESSED_SIGNED_R11_EAC 0x9271 +#define GL_COMPRESSED_RG11_EAC 0x9272 +#define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273 +#define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69 +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A +#define GL_MAX_ELEMENT_INDEX 0x8D6B +#define GL_COMPUTE_SHADER 0x91B9 +#define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB +#define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC +#define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD +#define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262 +#define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263 +#define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264 +#define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265 +#define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266 +#define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB +#define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE +#define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF +#define GL_COMPUTE_WORK_GROUP_SIZE 0x8267 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC +#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED +#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE +#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF +#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 +#define GL_DEBUG_CALLBACK_FUNCTION 0x8244 +#define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 +#define GL_DEBUG_SOURCE_API 0x8246 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 +#define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 +#define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 +#define GL_DEBUG_SOURCE_APPLICATION 0x824A +#define GL_DEBUG_SOURCE_OTHER 0x824B +#define GL_DEBUG_TYPE_ERROR 0x824C +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E +#define GL_DEBUG_TYPE_PORTABILITY 0x824F +#define GL_DEBUG_TYPE_PERFORMANCE 0x8250 +#define GL_DEBUG_TYPE_OTHER 0x8251 +#define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES 0x9145 +#define GL_DEBUG_SEVERITY_HIGH 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM 0x9147 +#define GL_DEBUG_SEVERITY_LOW 0x9148 +#define GL_DEBUG_TYPE_MARKER 0x8268 +#define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 +#define GL_DEBUG_TYPE_POP_GROUP 0x826A +#define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B +#define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C +#define GL_DEBUG_GROUP_STACK_DEPTH 0x826D +#define GL_BUFFER 0x82E0 +#define GL_SHADER 0x82E1 +#define GL_PROGRAM 0x82E2 +#define GL_QUERY 0x82E3 +#define GL_PROGRAM_PIPELINE 0x82E4 +#define GL_SAMPLER 0x82E6 +#define GL_MAX_LABEL_LENGTH 0x82E8 +#define GL_DEBUG_OUTPUT 0x92E0 +#define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 +#define GL_MAX_UNIFORM_LOCATIONS 0x826E +#define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310 +#define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311 +#define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312 +#define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313 +#define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314 +#define GL_MAX_FRAMEBUFFER_WIDTH 0x9315 +#define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316 +#define GL_MAX_FRAMEBUFFER_LAYERS 0x9317 +#define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318 +#define GL_INTERNALFORMAT_SUPPORTED 0x826F +#define GL_INTERNALFORMAT_PREFERRED 0x8270 +#define GL_INTERNALFORMAT_RED_SIZE 0x8271 +#define GL_INTERNALFORMAT_GREEN_SIZE 0x8272 +#define GL_INTERNALFORMAT_BLUE_SIZE 0x8273 +#define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274 +#define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275 +#define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276 +#define GL_INTERNALFORMAT_SHARED_SIZE 0x8277 +#define GL_INTERNALFORMAT_RED_TYPE 0x8278 +#define GL_INTERNALFORMAT_GREEN_TYPE 0x8279 +#define GL_INTERNALFORMAT_BLUE_TYPE 0x827A +#define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B +#define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C +#define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D +#define GL_MAX_WIDTH 0x827E +#define GL_MAX_HEIGHT 0x827F +#define GL_MAX_DEPTH 0x8280 +#define GL_MAX_LAYERS 0x8281 +#define GL_MAX_COMBINED_DIMENSIONS 0x8282 +#define GL_COLOR_COMPONENTS 0x8283 +#define GL_DEPTH_COMPONENTS 0x8284 +#define GL_STENCIL_COMPONENTS 0x8285 +#define GL_COLOR_RENDERABLE 0x8286 +#define GL_DEPTH_RENDERABLE 0x8287 +#define GL_STENCIL_RENDERABLE 0x8288 +#define GL_FRAMEBUFFER_RENDERABLE 0x8289 +#define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A +#define GL_FRAMEBUFFER_BLEND 0x828B +#define GL_READ_PIXELS 0x828C +#define GL_READ_PIXELS_FORMAT 0x828D +#define GL_READ_PIXELS_TYPE 0x828E +#define GL_TEXTURE_IMAGE_FORMAT 0x828F +#define GL_TEXTURE_IMAGE_TYPE 0x8290 +#define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291 +#define GL_GET_TEXTURE_IMAGE_TYPE 0x8292 +#define GL_MIPMAP 0x8293 +#define GL_MANUAL_GENERATE_MIPMAP 0x8294 +#define GL_AUTO_GENERATE_MIPMAP 0x8295 +#define GL_COLOR_ENCODING 0x8296 +#define GL_SRGB_READ 0x8297 +#define GL_SRGB_WRITE 0x8298 +#define GL_FILTER 0x829A +#define GL_VERTEX_TEXTURE 0x829B +#define GL_TESS_CONTROL_TEXTURE 0x829C +#define GL_TESS_EVALUATION_TEXTURE 0x829D +#define GL_GEOMETRY_TEXTURE 0x829E +#define GL_FRAGMENT_TEXTURE 0x829F +#define GL_COMPUTE_TEXTURE 0x82A0 +#define GL_TEXTURE_SHADOW 0x82A1 +#define GL_TEXTURE_GATHER 0x82A2 +#define GL_TEXTURE_GATHER_SHADOW 0x82A3 +#define GL_SHADER_IMAGE_LOAD 0x82A4 +#define GL_SHADER_IMAGE_STORE 0x82A5 +#define GL_SHADER_IMAGE_ATOMIC 0x82A6 +#define GL_IMAGE_TEXEL_SIZE 0x82A7 +#define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8 +#define GL_IMAGE_PIXEL_FORMAT 0x82A9 +#define GL_IMAGE_PIXEL_TYPE 0x82AA +#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC +#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD +#define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE +#define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF +#define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1 +#define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2 +#define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3 +#define GL_CLEAR_BUFFER 0x82B4 +#define GL_TEXTURE_VIEW 0x82B5 +#define GL_VIEW_COMPATIBILITY_CLASS 0x82B6 +#define GL_FULL_SUPPORT 0x82B7 +#define GL_CAVEAT_SUPPORT 0x82B8 +#define GL_IMAGE_CLASS_4_X_32 0x82B9 +#define GL_IMAGE_CLASS_2_X_32 0x82BA +#define GL_IMAGE_CLASS_1_X_32 0x82BB +#define GL_IMAGE_CLASS_4_X_16 0x82BC +#define GL_IMAGE_CLASS_2_X_16 0x82BD +#define GL_IMAGE_CLASS_1_X_16 0x82BE +#define GL_IMAGE_CLASS_4_X_8 0x82BF +#define GL_IMAGE_CLASS_2_X_8 0x82C0 +#define GL_IMAGE_CLASS_1_X_8 0x82C1 +#define GL_IMAGE_CLASS_11_11_10 0x82C2 +#define GL_IMAGE_CLASS_10_10_10_2 0x82C3 +#define GL_VIEW_CLASS_128_BITS 0x82C4 +#define GL_VIEW_CLASS_96_BITS 0x82C5 +#define GL_VIEW_CLASS_64_BITS 0x82C6 +#define GL_VIEW_CLASS_48_BITS 0x82C7 +#define GL_VIEW_CLASS_32_BITS 0x82C8 +#define GL_VIEW_CLASS_24_BITS 0x82C9 +#define GL_VIEW_CLASS_16_BITS 0x82CA +#define GL_VIEW_CLASS_8_BITS 0x82CB +#define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC +#define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD +#define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE +#define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF +#define GL_VIEW_CLASS_RGTC1_RED 0x82D0 +#define GL_VIEW_CLASS_RGTC2_RG 0x82D1 +#define GL_VIEW_CLASS_BPTC_UNORM 0x82D2 +#define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3 +#define GL_UNIFORM 0x92E1 +#define GL_UNIFORM_BLOCK 0x92E2 +#define GL_PROGRAM_INPUT 0x92E3 +#define GL_PROGRAM_OUTPUT 0x92E4 +#define GL_BUFFER_VARIABLE 0x92E5 +#define GL_SHADER_STORAGE_BLOCK 0x92E6 +#define GL_VERTEX_SUBROUTINE 0x92E8 +#define GL_TESS_CONTROL_SUBROUTINE 0x92E9 +#define GL_TESS_EVALUATION_SUBROUTINE 0x92EA +#define GL_GEOMETRY_SUBROUTINE 0x92EB +#define GL_FRAGMENT_SUBROUTINE 0x92EC +#define GL_COMPUTE_SUBROUTINE 0x92ED +#define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE +#define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF +#define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0 +#define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1 +#define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2 +#define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3 +#define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4 +#define GL_ACTIVE_RESOURCES 0x92F5 +#define GL_MAX_NAME_LENGTH 0x92F6 +#define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7 +#define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8 +#define GL_NAME_LENGTH 0x92F9 +#define GL_TYPE 0x92FA +#define GL_ARRAY_SIZE 0x92FB +#define GL_OFFSET 0x92FC +#define GL_BLOCK_INDEX 0x92FD +#define GL_ARRAY_STRIDE 0x92FE +#define GL_MATRIX_STRIDE 0x92FF +#define GL_IS_ROW_MAJOR 0x9300 +#define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301 +#define GL_BUFFER_BINDING 0x9302 +#define GL_BUFFER_DATA_SIZE 0x9303 +#define GL_NUM_ACTIVE_VARIABLES 0x9304 +#define GL_ACTIVE_VARIABLES 0x9305 +#define GL_REFERENCED_BY_VERTEX_SHADER 0x9306 +#define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307 +#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308 +#define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309 +#define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A +#define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B +#define GL_TOP_LEVEL_ARRAY_SIZE 0x930C +#define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D +#define GL_LOCATION 0x930E +#define GL_LOCATION_INDEX 0x930F +#define GL_IS_PER_PATCH 0x92E7 +#define GL_SHADER_STORAGE_BUFFER 0x90D2 +#define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3 +#define GL_SHADER_STORAGE_BUFFER_START 0x90D4 +#define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5 +#define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6 +#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7 +#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8 +#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9 +#define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA +#define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB +#define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC +#define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD +#define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE +#define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF +#define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000 +#define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39 +#define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA +#define GL_TEXTURE_BUFFER_OFFSET 0x919D +#define GL_TEXTURE_BUFFER_SIZE 0x919E +#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F +#define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB +#define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC +#define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD +#define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE +#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF +#define GL_VERTEX_ATTRIB_BINDING 0x82D4 +#define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5 +#define GL_VERTEX_BINDING_DIVISOR 0x82D6 +#define GL_VERTEX_BINDING_OFFSET 0x82D7 +#define GL_VERTEX_BINDING_STRIDE 0x82D8 +#define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9 +#define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA +#define GL_VERTEX_BINDING_BUFFER 0x8F4F +#define GL_DISPLAY_LIST 0x82E7 +typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); +typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); +typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params); +typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name); +typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); +typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex); +typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor); +typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); +typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); +typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label); +typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z); +GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); +GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth); +GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params); +GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth); +GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level); +GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer); +GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments); +GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride); +GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params); +GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name); +GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name); +GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params); +GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name); +GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name); +GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding); +GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers); +GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex); +GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor); +GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); +GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); +GLAPI void APIENTRY glPopDebugGroup (void); +GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label); +GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +#endif +#endif /* GL_VERSION_4_3 */ + +#ifndef GL_VERSION_4_4 +#define GL_VERSION_4_4 1 +#define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 +#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 +#define GL_TEXTURE_BUFFER_BINDING 0x8C2A +#define GL_MAP_PERSISTENT_BIT 0x0040 +#define GL_MAP_COHERENT_BIT 0x0080 +#define GL_DYNAMIC_STORAGE_BIT 0x0100 +#define GL_CLIENT_STORAGE_BIT 0x0200 +#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000 +#define GL_BUFFER_IMMUTABLE_STORAGE 0x821F +#define GL_BUFFER_STORAGE_FLAGS 0x8220 +#define GL_CLEAR_TEXTURE 0x9365 +#define GL_LOCATION_COMPONENT 0x934A +#define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B +#define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C +#define GL_QUERY_BUFFER 0x9192 +#define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000 +#define GL_QUERY_BUFFER_BINDING 0x9193 +#define GL_QUERY_RESULT_NO_WAIT 0x9194 +#define GL_MIRROR_CLAMP_TO_EDGE 0x8743 +typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); +typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); +typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); +typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); +typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers); +typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures); +typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags); +GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers); +GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes); +GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures); +GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers); +GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures); +GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides); +#endif +#endif /* GL_VERSION_4_4 */ + +#ifndef GL_ARB_ES2_compatibility +#define GL_ARB_ES2_compatibility 1 +#endif /* GL_ARB_ES2_compatibility */ + +#ifndef GL_ARB_ES3_compatibility +#define GL_ARB_ES3_compatibility 1 +#endif /* GL_ARB_ES3_compatibility */ + +#ifndef GL_ARB_arrays_of_arrays +#define GL_ARB_arrays_of_arrays 1 +#endif /* GL_ARB_arrays_of_arrays */ + +#ifndef GL_ARB_base_instance +#define GL_ARB_base_instance 1 +#endif /* GL_ARB_base_instance */ + +#ifndef GL_ARB_bindless_texture +#define GL_ARB_bindless_texture 1 +typedef uint64_t GLuint64EXT; +#define GL_UNSIGNED_INT64_ARB 0x140F +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture); +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle); +typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle); +typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture); +GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler); +GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle); +GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle); +GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access); +GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle); +GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value); +GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value); +GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle); +GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle); +GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x); +GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params); +#endif +#endif /* GL_ARB_bindless_texture */ + +#ifndef GL_ARB_blend_func_extended +#define GL_ARB_blend_func_extended 1 +#endif /* GL_ARB_blend_func_extended */ + +#ifndef GL_ARB_buffer_storage +#define GL_ARB_buffer_storage 1 +#endif /* GL_ARB_buffer_storage */ + +#ifndef GL_ARB_cl_event +#define GL_ARB_cl_event 1 +struct _cl_context; +struct _cl_event; +#define GL_SYNC_CL_EVENT_ARB 0x8240 +#define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241 +typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags); +#endif +#endif /* GL_ARB_cl_event */ + +#ifndef GL_ARB_clear_buffer_object +#define GL_ARB_clear_buffer_object 1 +#endif /* GL_ARB_clear_buffer_object */ + +#ifndef GL_ARB_clear_texture +#define GL_ARB_clear_texture 1 +#endif /* GL_ARB_clear_texture */ + +#ifndef GL_ARB_color_buffer_float +#define GL_ARB_color_buffer_float 1 +#define GL_RGBA_FLOAT_MODE_ARB 0x8820 +#define GL_CLAMP_VERTEX_COLOR_ARB 0x891A +#define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B +#define GL_CLAMP_READ_COLOR_ARB 0x891C +#define GL_FIXED_ONLY_ARB 0x891D +typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp); +#endif +#endif /* GL_ARB_color_buffer_float */ + +#ifndef GL_ARB_compatibility +#define GL_ARB_compatibility 1 +#endif /* GL_ARB_compatibility */ + +#ifndef GL_ARB_compressed_texture_pixel_storage +#define GL_ARB_compressed_texture_pixel_storage 1 +#endif /* GL_ARB_compressed_texture_pixel_storage */ + +#ifndef GL_ARB_compute_shader +#define GL_ARB_compute_shader 1 +#define GL_COMPUTE_SHADER_BIT 0x00000020 +#endif /* GL_ARB_compute_shader */ + +#ifndef GL_ARB_compute_variable_group_size +#define GL_ARB_compute_variable_group_size 1 +#define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344 +#define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB +#define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345 +#define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF +typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z); +#endif +#endif /* GL_ARB_compute_variable_group_size */ + +#ifndef GL_ARB_conservative_depth +#define GL_ARB_conservative_depth 1 +#endif /* GL_ARB_conservative_depth */ + +#ifndef GL_ARB_copy_buffer +#define GL_ARB_copy_buffer 1 +#define GL_COPY_READ_BUFFER_BINDING 0x8F36 +#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37 +#endif /* GL_ARB_copy_buffer */ + +#ifndef GL_ARB_copy_image +#define GL_ARB_copy_image 1 +#endif /* GL_ARB_copy_image */ + +#ifndef GL_ARB_debug_output +#define GL_ARB_debug_output 1 +typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); +#define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243 +#define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244 +#define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245 +#define GL_DEBUG_SOURCE_API_ARB 0x8246 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247 +#define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248 +#define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249 +#define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A +#define GL_DEBUG_SOURCE_OTHER_ARB 0x824B +#define GL_DEBUG_TYPE_ERROR_ARB 0x824C +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E +#define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F +#define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250 +#define GL_DEBUG_TYPE_OTHER_ARB 0x8251 +#define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145 +#define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147 +#define GL_DEBUG_SEVERITY_LOW_ARB 0x9148 +typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); +GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +#endif +#endif /* GL_ARB_debug_output */ + +#ifndef GL_ARB_depth_buffer_float +#define GL_ARB_depth_buffer_float 1 +#endif /* GL_ARB_depth_buffer_float */ + +#ifndef GL_ARB_depth_clamp +#define GL_ARB_depth_clamp 1 +#endif /* GL_ARB_depth_clamp */ + +#ifndef GL_ARB_depth_texture +#define GL_ARB_depth_texture 1 +#define GL_DEPTH_COMPONENT16_ARB 0x81A5 +#define GL_DEPTH_COMPONENT24_ARB 0x81A6 +#define GL_DEPTH_COMPONENT32_ARB 0x81A7 +#define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A +#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B +#endif /* GL_ARB_depth_texture */ + +#ifndef GL_ARB_draw_buffers +#define GL_ARB_draw_buffers 1 +#define GL_MAX_DRAW_BUFFERS_ARB 0x8824 +#define GL_DRAW_BUFFER0_ARB 0x8825 +#define GL_DRAW_BUFFER1_ARB 0x8826 +#define GL_DRAW_BUFFER2_ARB 0x8827 +#define GL_DRAW_BUFFER3_ARB 0x8828 +#define GL_DRAW_BUFFER4_ARB 0x8829 +#define GL_DRAW_BUFFER5_ARB 0x882A +#define GL_DRAW_BUFFER6_ARB 0x882B +#define GL_DRAW_BUFFER7_ARB 0x882C +#define GL_DRAW_BUFFER8_ARB 0x882D +#define GL_DRAW_BUFFER9_ARB 0x882E +#define GL_DRAW_BUFFER10_ARB 0x882F +#define GL_DRAW_BUFFER11_ARB 0x8830 +#define GL_DRAW_BUFFER12_ARB 0x8831 +#define GL_DRAW_BUFFER13_ARB 0x8832 +#define GL_DRAW_BUFFER14_ARB 0x8833 +#define GL_DRAW_BUFFER15_ARB 0x8834 +typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs); +#endif +#endif /* GL_ARB_draw_buffers */ + +#ifndef GL_ARB_draw_buffers_blend +#define GL_ARB_draw_buffers_blend 1 +typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode); +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst); +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode); +GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst); +GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +#endif +#endif /* GL_ARB_draw_buffers_blend */ + +#ifndef GL_ARB_draw_elements_base_vertex +#define GL_ARB_draw_elements_base_vertex 1 +#endif /* GL_ARB_draw_elements_base_vertex */ + +#ifndef GL_ARB_draw_indirect +#define GL_ARB_draw_indirect 1 +#endif /* GL_ARB_draw_indirect */ + +#ifndef GL_ARB_draw_instanced +#define GL_ARB_draw_instanced 1 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_ARB_draw_instanced */ + +#ifndef GL_ARB_enhanced_layouts +#define GL_ARB_enhanced_layouts 1 +#endif /* GL_ARB_enhanced_layouts */ + +#ifndef GL_ARB_explicit_attrib_location +#define GL_ARB_explicit_attrib_location 1 +#endif /* GL_ARB_explicit_attrib_location */ + +#ifndef GL_ARB_explicit_uniform_location +#define GL_ARB_explicit_uniform_location 1 +#endif /* GL_ARB_explicit_uniform_location */ + +#ifndef GL_ARB_fragment_coord_conventions +#define GL_ARB_fragment_coord_conventions 1 +#endif /* GL_ARB_fragment_coord_conventions */ + +#ifndef GL_ARB_fragment_layer_viewport +#define GL_ARB_fragment_layer_viewport 1 +#endif /* GL_ARB_fragment_layer_viewport */ + +#ifndef GL_ARB_fragment_program +#define GL_ARB_fragment_program 1 +#define GL_FRAGMENT_PROGRAM_ARB 0x8804 +#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875 +#define GL_PROGRAM_LENGTH_ARB 0x8627 +#define GL_PROGRAM_FORMAT_ARB 0x8876 +#define GL_PROGRAM_BINDING_ARB 0x8677 +#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0 +#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1 +#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2 +#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3 +#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4 +#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5 +#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6 +#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7 +#define GL_PROGRAM_PARAMETERS_ARB 0x88A8 +#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9 +#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA +#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB +#define GL_PROGRAM_ATTRIBS_ARB 0x88AC +#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD +#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE +#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF +#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4 +#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5 +#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6 +#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805 +#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806 +#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807 +#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808 +#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809 +#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A +#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B +#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C +#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D +#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E +#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F +#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810 +#define GL_PROGRAM_STRING_ARB 0x8628 +#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B +#define GL_CURRENT_MATRIX_ARB 0x8641 +#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7 +#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640 +#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F +#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E +#define GL_MAX_TEXTURE_COORDS_ARB 0x8871 +#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872 +#define GL_PROGRAM_ERROR_STRING_ARB 0x8874 +#define GL_MATRIX0_ARB 0x88C0 +#define GL_MATRIX1_ARB 0x88C1 +#define GL_MATRIX2_ARB 0x88C2 +#define GL_MATRIX3_ARB 0x88C3 +#define GL_MATRIX4_ARB 0x88C4 +#define GL_MATRIX5_ARB 0x88C5 +#define GL_MATRIX6_ARB 0x88C6 +#define GL_MATRIX7_ARB 0x88C7 +#define GL_MATRIX8_ARB 0x88C8 +#define GL_MATRIX9_ARB 0x88C9 +#define GL_MATRIX10_ARB 0x88CA +#define GL_MATRIX11_ARB 0x88CB +#define GL_MATRIX12_ARB 0x88CC +#define GL_MATRIX13_ARB 0x88CD +#define GL_MATRIX14_ARB 0x88CE +#define GL_MATRIX15_ARB 0x88CF +#define GL_MATRIX16_ARB 0x88D0 +#define GL_MATRIX17_ARB 0x88D1 +#define GL_MATRIX18_ARB 0x88D2 +#define GL_MATRIX19_ARB 0x88D3 +#define GL_MATRIX20_ARB 0x88D4 +#define GL_MATRIX21_ARB 0x88D5 +#define GL_MATRIX22_ARB 0x88D6 +#define GL_MATRIX23_ARB 0x88D7 +#define GL_MATRIX24_ARB 0x88D8 +#define GL_MATRIX25_ARB 0x88D9 +#define GL_MATRIX26_ARB 0x88DA +#define GL_MATRIX27_ARB 0x88DB +#define GL_MATRIX28_ARB 0x88DC +#define GL_MATRIX29_ARB 0x88DD +#define GL_MATRIX30_ARB 0x88DE +#define GL_MATRIX31_ARB 0x88DF +typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void *string); +typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program); +typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void *string); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const void *string); +GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program); +GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs); +GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs); +GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); +GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); +GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params); +GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params); +GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, void *string); +GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program); +#endif +#endif /* GL_ARB_fragment_program */ + +#ifndef GL_ARB_fragment_program_shadow +#define GL_ARB_fragment_program_shadow 1 +#endif /* GL_ARB_fragment_program_shadow */ + +#ifndef GL_ARB_fragment_shader +#define GL_ARB_fragment_shader 1 +#define GL_FRAGMENT_SHADER_ARB 0x8B30 +#define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49 +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B +#endif /* GL_ARB_fragment_shader */ + +#ifndef GL_ARB_framebuffer_no_attachments +#define GL_ARB_framebuffer_no_attachments 1 +#endif /* GL_ARB_framebuffer_no_attachments */ + +#ifndef GL_ARB_framebuffer_object +#define GL_ARB_framebuffer_object 1 +#endif /* GL_ARB_framebuffer_object */ + +#ifndef GL_ARB_framebuffer_sRGB +#define GL_ARB_framebuffer_sRGB 1 +#endif /* GL_ARB_framebuffer_sRGB */ + +#ifndef GL_KHR_context_flush_control +#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB +#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC +#endif /* GL_KHR_context_flush_control */ + +#ifndef GL_ARB_geometry_shader4 +#define GL_ARB_geometry_shader4 1 +#define GL_LINES_ADJACENCY_ARB 0x000A +#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B +#define GL_TRIANGLES_ADJACENCY_ARB 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D +#define GL_PROGRAM_POINT_SIZE_ARB 0x8642 +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9 +#define GL_GEOMETRY_SHADER_ARB 0x8DD9 +#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA +#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB +#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD +#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value); +GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#endif +#endif /* GL_ARB_geometry_shader4 */ + +#ifndef GL_ARB_get_program_binary +#define GL_ARB_get_program_binary 1 +#endif /* GL_ARB_get_program_binary */ + +#ifndef GL_ARB_gpu_shader5 +#define GL_ARB_gpu_shader5 1 +#endif /* GL_ARB_gpu_shader5 */ + +#ifndef GL_ARB_gpu_shader_fp64 +#define GL_ARB_gpu_shader_fp64 1 +#endif /* GL_ARB_gpu_shader_fp64 */ + +#ifndef GL_ARB_half_float_pixel +#define GL_ARB_half_float_pixel 1 +typedef unsigned short GLhalfARB; +#define GL_HALF_FLOAT_ARB 0x140B +#endif /* GL_ARB_half_float_pixel */ + +#ifndef GL_ARB_half_float_vertex +#define GL_ARB_half_float_vertex 1 +#endif /* GL_ARB_half_float_vertex */ + +#ifndef GL_ARB_imaging +#define GL_ARB_imaging 1 +#define GL_BLEND_COLOR 0x8005 +#define GL_BLEND_EQUATION 0x8009 +#define GL_CONVOLUTION_1D 0x8010 +#define GL_CONVOLUTION_2D 0x8011 +#define GL_SEPARABLE_2D 0x8012 +#define GL_CONVOLUTION_BORDER_MODE 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS 0x8015 +#define GL_REDUCE 0x8016 +#define GL_CONVOLUTION_FORMAT 0x8017 +#define GL_CONVOLUTION_WIDTH 0x8018 +#define GL_CONVOLUTION_HEIGHT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 +#define GL_HISTOGRAM 0x8024 +#define GL_PROXY_HISTOGRAM 0x8025 +#define GL_HISTOGRAM_WIDTH 0x8026 +#define GL_HISTOGRAM_FORMAT 0x8027 +#define GL_HISTOGRAM_RED_SIZE 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C +#define GL_HISTOGRAM_SINK 0x802D +#define GL_MINMAX 0x802E +#define GL_MINMAX_FORMAT 0x802F +#define GL_MINMAX_SINK 0x8030 +#define GL_TABLE_TOO_LARGE 0x8031 +#define GL_COLOR_MATRIX 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB +#define GL_COLOR_TABLE 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 +#define GL_PROXY_COLOR_TABLE 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 +#define GL_COLOR_TABLE_SCALE 0x80D6 +#define GL_COLOR_TABLE_BIAS 0x80D7 +#define GL_COLOR_TABLE_FORMAT 0x80D8 +#define GL_COLOR_TABLE_WIDTH 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF +#define GL_CONSTANT_BORDER 0x8151 +#define GL_REPLICATE_BORDER 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR 0x8154 +typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, void *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, void *image); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); +typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); +typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); +GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, void *table); +GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); +GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); +GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params); +GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params); +GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, void *image); +GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); +GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); +GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glResetHistogram (GLenum target); +GLAPI void APIENTRY glResetMinmax (GLenum target); +#endif +#endif /* GL_ARB_imaging */ + +#ifndef GL_ARB_indirect_parameters +#define GL_ARB_indirect_parameters 1 +#define GL_PARAMETER_BUFFER_ARB 0x80EE +#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride); +#endif +#endif /* GL_ARB_indirect_parameters */ + +#ifndef GL_ARB_instanced_arrays +#define GL_ARB_instanced_arrays 1 +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE +typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); +#endif +#endif /* GL_ARB_instanced_arrays */ + +#ifndef GL_ARB_internalformat_query +#define GL_ARB_internalformat_query 1 +#endif /* GL_ARB_internalformat_query */ + +#ifndef GL_ARB_internalformat_query2 +#define GL_ARB_internalformat_query2 1 +#define GL_SRGB_DECODE_ARB 0x8299 +#endif /* GL_ARB_internalformat_query2 */ + +#ifndef GL_ARB_invalidate_subdata +#define GL_ARB_invalidate_subdata 1 +#endif /* GL_ARB_invalidate_subdata */ + +#ifndef GL_ARB_map_buffer_alignment +#define GL_ARB_map_buffer_alignment 1 +#endif /* GL_ARB_map_buffer_alignment */ + +#ifndef GL_ARB_map_buffer_range +#define GL_ARB_map_buffer_range 1 +#endif /* GL_ARB_map_buffer_range */ + +#ifndef GL_ARB_matrix_palette +#define GL_ARB_matrix_palette 1 +#define GL_MATRIX_PALETTE_ARB 0x8840 +#define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841 +#define GL_MAX_PALETTE_MATRICES_ARB 0x8842 +#define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843 +#define GL_MATRIX_INDEX_ARRAY_ARB 0x8844 +#define GL_CURRENT_MATRIX_INDEX_ARB 0x8845 +#define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846 +#define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847 +#define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848 +#define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849 +typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index); +typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices); +typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index); +GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices); +GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices); +GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices); +GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer); +#endif +#endif /* GL_ARB_matrix_palette */ + +#ifndef GL_ARB_multi_bind +#define GL_ARB_multi_bind 1 +#endif /* GL_ARB_multi_bind */ + +#ifndef GL_ARB_multi_draw_indirect +#define GL_ARB_multi_draw_indirect 1 +#endif /* GL_ARB_multi_draw_indirect */ + +#ifndef GL_ARB_multisample +#define GL_ARB_multisample 1 +#define GL_MULTISAMPLE_ARB 0x809D +#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F +#define GL_SAMPLE_COVERAGE_ARB 0x80A0 +#define GL_SAMPLE_BUFFERS_ARB 0x80A8 +#define GL_SAMPLES_ARB 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB +#define GL_MULTISAMPLE_BIT_ARB 0x20000000 +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert); +#endif +#endif /* GL_ARB_multisample */ + +#ifndef GL_ARB_multitexture +#define GL_ARB_multitexture 1 +#define GL_TEXTURE0_ARB 0x84C0 +#define GL_TEXTURE1_ARB 0x84C1 +#define GL_TEXTURE2_ARB 0x84C2 +#define GL_TEXTURE3_ARB 0x84C3 +#define GL_TEXTURE4_ARB 0x84C4 +#define GL_TEXTURE5_ARB 0x84C5 +#define GL_TEXTURE6_ARB 0x84C6 +#define GL_TEXTURE7_ARB 0x84C7 +#define GL_TEXTURE8_ARB 0x84C8 +#define GL_TEXTURE9_ARB 0x84C9 +#define GL_TEXTURE10_ARB 0x84CA +#define GL_TEXTURE11_ARB 0x84CB +#define GL_TEXTURE12_ARB 0x84CC +#define GL_TEXTURE13_ARB 0x84CD +#define GL_TEXTURE14_ARB 0x84CE +#define GL_TEXTURE15_ARB 0x84CF +#define GL_TEXTURE16_ARB 0x84D0 +#define GL_TEXTURE17_ARB 0x84D1 +#define GL_TEXTURE18_ARB 0x84D2 +#define GL_TEXTURE19_ARB 0x84D3 +#define GL_TEXTURE20_ARB 0x84D4 +#define GL_TEXTURE21_ARB 0x84D5 +#define GL_TEXTURE22_ARB 0x84D6 +#define GL_TEXTURE23_ARB 0x84D7 +#define GL_TEXTURE24_ARB 0x84D8 +#define GL_TEXTURE25_ARB 0x84D9 +#define GL_TEXTURE26_ARB 0x84DA +#define GL_TEXTURE27_ARB 0x84DB +#define GL_TEXTURE28_ARB 0x84DC +#define GL_TEXTURE29_ARB 0x84DD +#define GL_TEXTURE30_ARB 0x84DE +#define GL_TEXTURE31_ARB 0x84DF +#define GL_ACTIVE_TEXTURE_ARB 0x84E0 +#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 +#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 +typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveTextureARB (GLenum texture); +GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture); +GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s); +GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s); +GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s); +GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s); +GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t); +GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t); +GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t); +GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t); +GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r); +GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r); +GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r); +GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r); +GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v); +GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); +GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v); +GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); +GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v); +GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q); +GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v); +GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); +GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v); +#endif +#endif /* GL_ARB_multitexture */ + +#ifndef GL_ARB_occlusion_query +#define GL_ARB_occlusion_query 1 +#define GL_QUERY_COUNTER_BITS_ARB 0x8864 +#define GL_CURRENT_QUERY_ARB 0x8865 +#define GL_QUERY_RESULT_ARB 0x8866 +#define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867 +#define GL_SAMPLES_PASSED_ARB 0x8914 +typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids); +GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids); +GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id); +GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id); +GLAPI void APIENTRY glEndQueryARB (GLenum target); +GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params); +#endif +#endif /* GL_ARB_occlusion_query */ + +#ifndef GL_ARB_occlusion_query2 +#define GL_ARB_occlusion_query2 1 +#endif /* GL_ARB_occlusion_query2 */ + +#ifndef GL_ARB_pixel_buffer_object +#define GL_ARB_pixel_buffer_object 1 +#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF +#endif /* GL_ARB_pixel_buffer_object */ + +#ifndef GL_ARB_point_parameters +#define GL_ARB_point_parameters 1 +#define GL_POINT_SIZE_MIN_ARB 0x8126 +#define GL_POINT_SIZE_MAX_ARB 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128 +#define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); +#endif +#endif /* GL_ARB_point_parameters */ + +#ifndef GL_ARB_point_sprite +#define GL_ARB_point_sprite 1 +#define GL_POINT_SPRITE_ARB 0x8861 +#define GL_COORD_REPLACE_ARB 0x8862 +#endif /* GL_ARB_point_sprite */ + +#ifndef GL_ARB_program_interface_query +#define GL_ARB_program_interface_query 1 +#endif /* GL_ARB_program_interface_query */ + +#ifndef GL_ARB_provoking_vertex +#define GL_ARB_provoking_vertex 1 +#endif /* GL_ARB_provoking_vertex */ + +#ifndef GL_ARB_query_buffer_object +#define GL_ARB_query_buffer_object 1 +#endif /* GL_ARB_query_buffer_object */ + +#ifndef GL_ARB_robust_buffer_access_behavior +#define GL_ARB_robust_buffer_access_behavior 1 +#endif /* GL_ARB_robust_buffer_access_behavior */ + +#ifndef GL_ARB_robustness +#define GL_ARB_robustness 1 +#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004 +#define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252 +#define GL_GUILTY_CONTEXT_RESET_ARB 0x8253 +#define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 +#define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 +#define GL_NO_RESET_NOTIFICATION_ARB 0x8261 +typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void); +typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); +typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img); +typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); +typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params); +typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); +typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); +typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); +typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v); +typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values); +typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values); +typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values); +typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern); +typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); +typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); +typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); +typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); +typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void); +GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img); +GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); +GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img); +GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params); +GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params); +GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params); +GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v); +GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v); +GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v); +GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values); +GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values); +GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values); +GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern); +GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table); +GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image); +GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span); +GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); +GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values); +#endif +#endif /* GL_ARB_robustness */ + +#ifndef GL_ARB_robustness_isolation +#define GL_ARB_robustness_isolation 1 +#endif /* GL_ARB_robustness_isolation */ + +#ifndef GL_ARB_sample_shading +#define GL_ARB_sample_shading 1 +#define GL_SAMPLE_SHADING_ARB 0x8C36 +#define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37 +typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); +#endif +#endif /* GL_ARB_sample_shading */ + +#ifndef GL_ARB_sampler_objects +#define GL_ARB_sampler_objects 1 +#endif /* GL_ARB_sampler_objects */ + +#ifndef GL_ARB_seamless_cube_map +#define GL_ARB_seamless_cube_map 1 +#endif /* GL_ARB_seamless_cube_map */ + +#ifndef GL_ARB_seamless_cubemap_per_texture +#define GL_ARB_seamless_cubemap_per_texture 1 +#endif /* GL_ARB_seamless_cubemap_per_texture */ + +#ifndef GL_ARB_separate_shader_objects +#define GL_ARB_separate_shader_objects 1 +#endif /* GL_ARB_separate_shader_objects */ + +#ifndef GL_ARB_shader_atomic_counters +#define GL_ARB_shader_atomic_counters 1 +#endif /* GL_ARB_shader_atomic_counters */ + +#ifndef GL_ARB_shader_bit_encoding +#define GL_ARB_shader_bit_encoding 1 +#endif /* GL_ARB_shader_bit_encoding */ + +#ifndef GL_ARB_shader_draw_parameters +#define GL_ARB_shader_draw_parameters 1 +#endif /* GL_ARB_shader_draw_parameters */ + +#ifndef GL_ARB_shader_group_vote +#define GL_ARB_shader_group_vote 1 +#endif /* GL_ARB_shader_group_vote */ + +#ifndef GL_ARB_shader_image_load_store +#define GL_ARB_shader_image_load_store 1 +#endif /* GL_ARB_shader_image_load_store */ + +#ifndef GL_ARB_shader_image_size +#define GL_ARB_shader_image_size 1 +#endif /* GL_ARB_shader_image_size */ + +#ifndef GL_ARB_shader_objects +#define GL_ARB_shader_objects 1 +#ifdef __APPLE__ +typedef void *GLhandleARB; +#else +typedef unsigned int GLhandleARB; +#endif +typedef char GLcharARB; +#define GL_PROGRAM_OBJECT_ARB 0x8B40 +#define GL_SHADER_OBJECT_ARB 0x8B48 +#define GL_OBJECT_TYPE_ARB 0x8B4E +#define GL_OBJECT_SUBTYPE_ARB 0x8B4F +#define GL_FLOAT_VEC2_ARB 0x8B50 +#define GL_FLOAT_VEC3_ARB 0x8B51 +#define GL_FLOAT_VEC4_ARB 0x8B52 +#define GL_INT_VEC2_ARB 0x8B53 +#define GL_INT_VEC3_ARB 0x8B54 +#define GL_INT_VEC4_ARB 0x8B55 +#define GL_BOOL_ARB 0x8B56 +#define GL_BOOL_VEC2_ARB 0x8B57 +#define GL_BOOL_VEC3_ARB 0x8B58 +#define GL_BOOL_VEC4_ARB 0x8B59 +#define GL_FLOAT_MAT2_ARB 0x8B5A +#define GL_FLOAT_MAT3_ARB 0x8B5B +#define GL_FLOAT_MAT4_ARB 0x8B5C +#define GL_SAMPLER_1D_ARB 0x8B5D +#define GL_SAMPLER_2D_ARB 0x8B5E +#define GL_SAMPLER_3D_ARB 0x8B5F +#define GL_SAMPLER_CUBE_ARB 0x8B60 +#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61 +#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62 +#define GL_SAMPLER_2D_RECT_ARB 0x8B63 +#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64 +#define GL_OBJECT_DELETE_STATUS_ARB 0x8B80 +#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81 +#define GL_OBJECT_LINK_STATUS_ARB 0x8B82 +#define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83 +#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84 +#define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85 +#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86 +#define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87 +#define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88 +typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj); +typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname); +typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj); +typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType); +typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length); +typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj); +typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void); +typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj); +typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj); +typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0); +typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); +typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); +typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); +typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params); +typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params); +typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj); +GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname); +GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj); +GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType); +GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB **string, const GLint *length); +GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj); +GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void); +GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj); +GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj); +GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj); +GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj); +GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0); +GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1); +GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0); +GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1); +GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2); +GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog); +GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj); +GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name); +GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params); +GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params); +GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source); +#endif +#endif /* GL_ARB_shader_objects */ + +#ifndef GL_ARB_shader_precision +#define GL_ARB_shader_precision 1 +#endif /* GL_ARB_shader_precision */ + +#ifndef GL_ARB_shader_stencil_export +#define GL_ARB_shader_stencil_export 1 +#endif /* GL_ARB_shader_stencil_export */ + +#ifndef GL_ARB_shader_storage_buffer_object +#define GL_ARB_shader_storage_buffer_object 1 +#endif /* GL_ARB_shader_storage_buffer_object */ + +#ifndef GL_ARB_shader_subroutine +#define GL_ARB_shader_subroutine 1 +#endif /* GL_ARB_shader_subroutine */ + +#ifndef GL_ARB_shader_texture_lod +#define GL_ARB_shader_texture_lod 1 +#endif /* GL_ARB_shader_texture_lod */ + +#ifndef GL_ARB_shading_language_100 +#define GL_ARB_shading_language_100 1 +#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C +#endif /* GL_ARB_shading_language_100 */ + +#ifndef GL_ARB_shading_language_420pack +#define GL_ARB_shading_language_420pack 1 +#endif /* GL_ARB_shading_language_420pack */ + +#ifndef GL_ARB_shading_language_include +#define GL_ARB_shading_language_include 1 +#define GL_SHADER_INCLUDE_ARB 0x8DAE +#define GL_NAMED_STRING_LENGTH_ARB 0x8DE9 +#define GL_NAMED_STRING_TYPE_ARB 0x8DEA +typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); +typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); +typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); +typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name); +typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); +typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string); +GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name); +GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length); +GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name); +GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string); +GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params); +#endif +#endif /* GL_ARB_shading_language_include */ + +#ifndef GL_ARB_shading_language_packing +#define GL_ARB_shading_language_packing 1 +#endif /* GL_ARB_shading_language_packing */ + +#ifndef GL_ARB_shadow +#define GL_ARB_shadow 1 +#define GL_TEXTURE_COMPARE_MODE_ARB 0x884C +#define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D +#define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E +#endif /* GL_ARB_shadow */ + +#ifndef GL_ARB_shadow_ambient +#define GL_ARB_shadow_ambient 1 +#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF +#endif /* GL_ARB_shadow_ambient */ + +#ifndef GL_ARB_sparse_texture +#define GL_ARB_sparse_texture 1 +#define GL_TEXTURE_SPARSE_ARB 0x91A6 +#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7 +#define GL_MIN_SPARSE_LEVEL_ARB 0x919B +#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8 +#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195 +#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196 +#define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197 +#define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198 +#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199 +#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A +#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9 +typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +#endif +#endif /* GL_ARB_sparse_texture */ + +#ifndef GL_ARB_stencil_texturing +#define GL_ARB_stencil_texturing 1 +#endif /* GL_ARB_stencil_texturing */ + +#ifndef GL_ARB_sync +#define GL_ARB_sync 1 +#endif /* GL_ARB_sync */ + +#ifndef GL_ARB_tessellation_shader +#define GL_ARB_tessellation_shader 1 +#endif /* GL_ARB_tessellation_shader */ + +#ifndef GL_ARB_texture_border_clamp +#define GL_ARB_texture_border_clamp 1 +#define GL_CLAMP_TO_BORDER_ARB 0x812D +#endif /* GL_ARB_texture_border_clamp */ + +#ifndef GL_ARB_texture_buffer_object +#define GL_ARB_texture_buffer_object 1 +#define GL_TEXTURE_BUFFER_ARB 0x8C2A +#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B +#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D +#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E +typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer); +#endif +#endif /* GL_ARB_texture_buffer_object */ + +#ifndef GL_ARB_texture_buffer_object_rgb32 +#define GL_ARB_texture_buffer_object_rgb32 1 +#endif /* GL_ARB_texture_buffer_object_rgb32 */ + +#ifndef GL_ARB_texture_buffer_range +#define GL_ARB_texture_buffer_range 1 +#endif /* GL_ARB_texture_buffer_range */ + +#ifndef GL_ARB_texture_compression +#define GL_ARB_texture_compression 1 +#define GL_COMPRESSED_ALPHA_ARB 0x84E9 +#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA +#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB +#define GL_COMPRESSED_INTENSITY_ARB 0x84EC +#define GL_COMPRESSED_RGB_ARB 0x84ED +#define GL_COMPRESSED_RGBA_ARB 0x84EE +#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF +#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0 +#define GL_TEXTURE_COMPRESSED_ARB 0x86A1 +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3 +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, void *img); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data); +GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void *img); +#endif +#endif /* GL_ARB_texture_compression */ + +#ifndef GL_ARB_texture_compression_bptc +#define GL_ARB_texture_compression_bptc 1 +#define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C +#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D +#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E +#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F +#endif /* GL_ARB_texture_compression_bptc */ + +#ifndef GL_ARB_texture_compression_rgtc +#define GL_ARB_texture_compression_rgtc 1 +#endif /* GL_ARB_texture_compression_rgtc */ + +#ifndef GL_ARB_texture_cube_map +#define GL_ARB_texture_cube_map 1 +#define GL_NORMAL_MAP_ARB 0x8511 +#define GL_REFLECTION_MAP_ARB 0x8512 +#define GL_TEXTURE_CUBE_MAP_ARB 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C +#endif /* GL_ARB_texture_cube_map */ + +#ifndef GL_ARB_texture_cube_map_array +#define GL_ARB_texture_cube_map_array 1 +#define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009 +#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A +#define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B +#define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C +#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D +#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E +#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F +#endif /* GL_ARB_texture_cube_map_array */ + +#ifndef GL_ARB_texture_env_add +#define GL_ARB_texture_env_add 1 +#endif /* GL_ARB_texture_env_add */ + +#ifndef GL_ARB_texture_env_combine +#define GL_ARB_texture_env_combine 1 +#define GL_COMBINE_ARB 0x8570 +#define GL_COMBINE_RGB_ARB 0x8571 +#define GL_COMBINE_ALPHA_ARB 0x8572 +#define GL_SOURCE0_RGB_ARB 0x8580 +#define GL_SOURCE1_RGB_ARB 0x8581 +#define GL_SOURCE2_RGB_ARB 0x8582 +#define GL_SOURCE0_ALPHA_ARB 0x8588 +#define GL_SOURCE1_ALPHA_ARB 0x8589 +#define GL_SOURCE2_ALPHA_ARB 0x858A +#define GL_OPERAND0_RGB_ARB 0x8590 +#define GL_OPERAND1_RGB_ARB 0x8591 +#define GL_OPERAND2_RGB_ARB 0x8592 +#define GL_OPERAND0_ALPHA_ARB 0x8598 +#define GL_OPERAND1_ALPHA_ARB 0x8599 +#define GL_OPERAND2_ALPHA_ARB 0x859A +#define GL_RGB_SCALE_ARB 0x8573 +#define GL_ADD_SIGNED_ARB 0x8574 +#define GL_INTERPOLATE_ARB 0x8575 +#define GL_SUBTRACT_ARB 0x84E7 +#define GL_CONSTANT_ARB 0x8576 +#define GL_PRIMARY_COLOR_ARB 0x8577 +#define GL_PREVIOUS_ARB 0x8578 +#endif /* GL_ARB_texture_env_combine */ + +#ifndef GL_ARB_texture_env_crossbar +#define GL_ARB_texture_env_crossbar 1 +#endif /* GL_ARB_texture_env_crossbar */ + +#ifndef GL_ARB_texture_env_dot3 +#define GL_ARB_texture_env_dot3 1 +#define GL_DOT3_RGB_ARB 0x86AE +#define GL_DOT3_RGBA_ARB 0x86AF +#endif /* GL_ARB_texture_env_dot3 */ + +#ifndef GL_ARB_texture_float +#define GL_ARB_texture_float 1 +#define GL_TEXTURE_RED_TYPE_ARB 0x8C10 +#define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11 +#define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12 +#define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13 +#define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14 +#define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15 +#define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16 +#define GL_UNSIGNED_NORMALIZED_ARB 0x8C17 +#define GL_RGBA32F_ARB 0x8814 +#define GL_RGB32F_ARB 0x8815 +#define GL_ALPHA32F_ARB 0x8816 +#define GL_INTENSITY32F_ARB 0x8817 +#define GL_LUMINANCE32F_ARB 0x8818 +#define GL_LUMINANCE_ALPHA32F_ARB 0x8819 +#define GL_RGBA16F_ARB 0x881A +#define GL_RGB16F_ARB 0x881B +#define GL_ALPHA16F_ARB 0x881C +#define GL_INTENSITY16F_ARB 0x881D +#define GL_LUMINANCE16F_ARB 0x881E +#define GL_LUMINANCE_ALPHA16F_ARB 0x881F +#endif /* GL_ARB_texture_float */ + +#ifndef GL_ARB_texture_gather +#define GL_ARB_texture_gather 1 +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F +#define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F +#endif /* GL_ARB_texture_gather */ + +#ifndef GL_ARB_texture_mirror_clamp_to_edge +#define GL_ARB_texture_mirror_clamp_to_edge 1 +#endif /* GL_ARB_texture_mirror_clamp_to_edge */ + +#ifndef GL_ARB_texture_mirrored_repeat +#define GL_ARB_texture_mirrored_repeat 1 +#define GL_MIRRORED_REPEAT_ARB 0x8370 +#endif /* GL_ARB_texture_mirrored_repeat */ + +#ifndef GL_ARB_texture_multisample +#define GL_ARB_texture_multisample 1 +#endif /* GL_ARB_texture_multisample */ + +#ifndef GL_ARB_texture_non_power_of_two +#define GL_ARB_texture_non_power_of_two 1 +#endif /* GL_ARB_texture_non_power_of_two */ + +#ifndef GL_ARB_texture_query_levels +#define GL_ARB_texture_query_levels 1 +#endif /* GL_ARB_texture_query_levels */ + +#ifndef GL_ARB_texture_query_lod +#define GL_ARB_texture_query_lod 1 +#endif /* GL_ARB_texture_query_lod */ + +#ifndef GL_ARB_texture_rectangle +#define GL_ARB_texture_rectangle 1 +#define GL_TEXTURE_RECTANGLE_ARB 0x84F5 +#define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 +#define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 +#endif /* GL_ARB_texture_rectangle */ + +#ifndef GL_ARB_texture_rg +#define GL_ARB_texture_rg 1 +#endif /* GL_ARB_texture_rg */ + +#ifndef GL_ARB_texture_rgb10_a2ui +#define GL_ARB_texture_rgb10_a2ui 1 +#endif /* GL_ARB_texture_rgb10_a2ui */ + +#ifndef GL_ARB_texture_stencil8 +#define GL_ARB_texture_stencil8 1 +#endif /* GL_ARB_texture_stencil8 */ + +#ifndef GL_ARB_texture_storage +#define GL_ARB_texture_storage 1 +#endif /* GL_ARB_texture_storage */ + +#ifndef GL_ARB_texture_storage_multisample +#define GL_ARB_texture_storage_multisample 1 +#endif /* GL_ARB_texture_storage_multisample */ + +#ifndef GL_ARB_texture_swizzle +#define GL_ARB_texture_swizzle 1 +#endif /* GL_ARB_texture_swizzle */ + +#ifndef GL_ARB_texture_view +#define GL_ARB_texture_view 1 +#endif /* GL_ARB_texture_view */ + +#ifndef GL_ARB_timer_query +#define GL_ARB_timer_query 1 +#endif /* GL_ARB_timer_query */ + +#ifndef GL_ARB_transform_feedback2 +#define GL_ARB_transform_feedback2 1 +#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 +#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 +#endif /* GL_ARB_transform_feedback2 */ + +#ifndef GL_ARB_transform_feedback3 +#define GL_ARB_transform_feedback3 1 +#endif /* GL_ARB_transform_feedback3 */ + +#ifndef GL_ARB_transform_feedback_instanced +#define GL_ARB_transform_feedback_instanced 1 +#endif /* GL_ARB_transform_feedback_instanced */ + +#ifndef GL_ARB_transpose_matrix +#define GL_ARB_transpose_matrix 1 +#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3 +#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 +#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 +#define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m); +GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m); +GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m); +GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m); +#endif +#endif /* GL_ARB_transpose_matrix */ + +#ifndef GL_ARB_uniform_buffer_object +#define GL_ARB_uniform_buffer_object 1 +#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C +#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32 +#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45 +#endif /* GL_ARB_uniform_buffer_object */ + +#ifndef GL_ARB_vertex_array_bgra +#define GL_ARB_vertex_array_bgra 1 +#endif /* GL_ARB_vertex_array_bgra */ + +#ifndef GL_ARB_vertex_array_object +#define GL_ARB_vertex_array_object 1 +#endif /* GL_ARB_vertex_array_object */ + +#ifndef GL_ARB_vertex_attrib_64bit +#define GL_ARB_vertex_attrib_64bit 1 +#endif /* GL_ARB_vertex_attrib_64bit */ + +#ifndef GL_ARB_vertex_attrib_binding +#define GL_ARB_vertex_attrib_binding 1 +#endif /* GL_ARB_vertex_attrib_binding */ + +#ifndef GL_ARB_vertex_blend +#define GL_ARB_vertex_blend 1 +#define GL_MAX_VERTEX_UNITS_ARB 0x86A4 +#define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5 +#define GL_WEIGHT_SUM_UNITY_ARB 0x86A6 +#define GL_VERTEX_BLEND_ARB 0x86A7 +#define GL_CURRENT_WEIGHT_ARB 0x86A8 +#define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9 +#define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA +#define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB +#define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC +#define GL_WEIGHT_ARRAY_ARB 0x86AD +#define GL_MODELVIEW0_ARB 0x1700 +#define GL_MODELVIEW1_ARB 0x850A +#define GL_MODELVIEW2_ARB 0x8722 +#define GL_MODELVIEW3_ARB 0x8723 +#define GL_MODELVIEW4_ARB 0x8724 +#define GL_MODELVIEW5_ARB 0x8725 +#define GL_MODELVIEW6_ARB 0x8726 +#define GL_MODELVIEW7_ARB 0x8727 +#define GL_MODELVIEW8_ARB 0x8728 +#define GL_MODELVIEW9_ARB 0x8729 +#define GL_MODELVIEW10_ARB 0x872A +#define GL_MODELVIEW11_ARB 0x872B +#define GL_MODELVIEW12_ARB 0x872C +#define GL_MODELVIEW13_ARB 0x872D +#define GL_MODELVIEW14_ARB 0x872E +#define GL_MODELVIEW15_ARB 0x872F +#define GL_MODELVIEW16_ARB 0x8730 +#define GL_MODELVIEW17_ARB 0x8731 +#define GL_MODELVIEW18_ARB 0x8732 +#define GL_MODELVIEW19_ARB 0x8733 +#define GL_MODELVIEW20_ARB 0x8734 +#define GL_MODELVIEW21_ARB 0x8735 +#define GL_MODELVIEW22_ARB 0x8736 +#define GL_MODELVIEW23_ARB 0x8737 +#define GL_MODELVIEW24_ARB 0x8738 +#define GL_MODELVIEW25_ARB 0x8739 +#define GL_MODELVIEW26_ARB 0x873A +#define GL_MODELVIEW27_ARB 0x873B +#define GL_MODELVIEW28_ARB 0x873C +#define GL_MODELVIEW29_ARB 0x873D +#define GL_MODELVIEW30_ARB 0x873E +#define GL_MODELVIEW31_ARB 0x873F +typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights); +typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights); +typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights); +typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights); +typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights); +typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights); +typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights); +typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights); +typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights); +GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights); +GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights); +GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights); +GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights); +GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights); +GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights); +GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights); +GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glVertexBlendARB (GLint count); +#endif +#endif /* GL_ARB_vertex_blend */ + +#ifndef GL_ARB_vertex_buffer_object +#define GL_ARB_vertex_buffer_object 1 +#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */ +typedef long GLsizeiptrARB; +typedef long GLintptrARB; +#else +typedef ptrdiff_t GLsizeiptrARB; +typedef ptrdiff_t GLintptrARB; +#endif +#define GL_BUFFER_SIZE_ARB 0x8764 +#define GL_BUFFER_USAGE_ARB 0x8765 +#define GL_ARRAY_BUFFER_ARB 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893 +#define GL_ARRAY_BUFFER_BINDING_ARB 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895 +#define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896 +#define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897 +#define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898 +#define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899 +#define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A +#define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B +#define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C +#define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D +#define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F +#define GL_READ_ONLY_ARB 0x88B8 +#define GL_WRITE_ONLY_ARB 0x88B9 +#define GL_READ_WRITE_ARB 0x88BA +#define GL_BUFFER_ACCESS_ARB 0x88BB +#define GL_BUFFER_MAPPED_ARB 0x88BC +#define GL_BUFFER_MAP_POINTER_ARB 0x88BD +#define GL_STREAM_DRAW_ARB 0x88E0 +#define GL_STREAM_READ_ARB 0x88E1 +#define GL_STREAM_COPY_ARB 0x88E2 +#define GL_STATIC_DRAW_ARB 0x88E4 +#define GL_STATIC_READ_ARB 0x88E5 +#define GL_STATIC_COPY_ARB 0x88E6 +#define GL_DYNAMIC_DRAW_ARB 0x88E8 +#define GL_DYNAMIC_READ_ARB 0x88E9 +#define GL_DYNAMIC_COPY_ARB 0x88EA +typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); +typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); +typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); +typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage); +typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data); +typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data); +typedef void *(APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, void **params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer); +GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers); +GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers); +GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer); +GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const void *data, GLenum usage); +GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const void *data); +GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, void *data); +GLAPI void *APIENTRY glMapBufferARB (GLenum target, GLenum access); +GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target); +GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, void **params); +#endif +#endif /* GL_ARB_vertex_buffer_object */ + +#ifndef GL_ARB_vertex_program +#define GL_ARB_vertex_program 1 +#define GL_COLOR_SUM_ARB 0x8458 +#define GL_VERTEX_PROGRAM_ARB 0x8620 +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625 +#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626 +#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642 +#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643 +#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645 +#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A +#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0 +#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1 +#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2 +#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3 +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, void **pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x); +GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x); +GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x); +GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y); +GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y); +GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v); +GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v); +GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index); +GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index); +GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, void **pointer); +#endif +#endif /* GL_ARB_vertex_program */ + +#ifndef GL_ARB_vertex_shader +#define GL_ARB_vertex_shader 1 +#define GL_VERTEX_SHADER_ARB 0x8B31 +#define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A +#define GL_MAX_VARYING_FLOATS_ARB 0x8B4B +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D +#define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89 +#define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A +typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name); +typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name); +GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name); +GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name); +#endif +#endif /* GL_ARB_vertex_shader */ + +#ifndef GL_ARB_vertex_type_10f_11f_11f_rev +#define GL_ARB_vertex_type_10f_11f_11f_rev 1 +#endif /* GL_ARB_vertex_type_10f_11f_11f_rev */ + +#ifndef GL_ARB_vertex_type_2_10_10_10_rev +#define GL_ARB_vertex_type_2_10_10_10_rev 1 +#endif /* GL_ARB_vertex_type_2_10_10_10_rev */ + +#ifndef GL_ARB_viewport_array +#define GL_ARB_viewport_array 1 +#endif /* GL_ARB_viewport_array */ + +#ifndef GL_ARB_window_pos +#define GL_ARB_window_pos 1 +typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y); +GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v); +GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y); +GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v); +GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y); +GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v); +GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y); +GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v); +GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v); +GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v); +GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z); +GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v); +GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v); +#endif +#endif /* GL_ARB_window_pos */ + +#ifndef GL_KHR_debug +#define GL_KHR_debug 1 +#endif /* GL_KHR_debug */ + +#ifndef GL_KHR_texture_compression_astc_hdr +#define GL_KHR_texture_compression_astc_hdr 1 +#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 +#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 +#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 +#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 +#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 +#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 +#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 +#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 +#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 +#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 +#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA +#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB +#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC +#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD +#endif /* GL_KHR_texture_compression_astc_hdr */ + +#ifndef GL_KHR_texture_compression_astc_ldr +#define GL_KHR_texture_compression_astc_ldr 1 +#endif /* GL_KHR_texture_compression_astc_ldr */ + +#ifndef GL_OES_byte_coordinates +#define GL_OES_byte_coordinates 1 +typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1BVOESPROC) (GLenum texture, const GLbyte *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2BOESPROC) (GLenum texture, GLbyte s, GLbyte t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2BVOESPROC) (GLenum texture, const GLbyte *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3BVOESPROC) (GLenum texture, const GLbyte *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4BOESPROC) (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4BVOESPROC) (GLenum texture, const GLbyte *coords); +typedef void (APIENTRYP PFNGLTEXCOORD1BOESPROC) (GLbyte s); +typedef void (APIENTRYP PFNGLTEXCOORD1BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLTEXCOORD2BOESPROC) (GLbyte s, GLbyte t); +typedef void (APIENTRYP PFNGLTEXCOORD2BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r); +typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q); +typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x); +typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y); +typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords); +typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z); +typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s); +GLAPI void APIENTRY glMultiTexCoord1bvOES (GLenum texture, const GLbyte *coords); +GLAPI void APIENTRY glMultiTexCoord2bOES (GLenum texture, GLbyte s, GLbyte t); +GLAPI void APIENTRY glMultiTexCoord2bvOES (GLenum texture, const GLbyte *coords); +GLAPI void APIENTRY glMultiTexCoord3bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r); +GLAPI void APIENTRY glMultiTexCoord3bvOES (GLenum texture, const GLbyte *coords); +GLAPI void APIENTRY glMultiTexCoord4bOES (GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q); +GLAPI void APIENTRY glMultiTexCoord4bvOES (GLenum texture, const GLbyte *coords); +GLAPI void APIENTRY glTexCoord1bOES (GLbyte s); +GLAPI void APIENTRY glTexCoord1bvOES (const GLbyte *coords); +GLAPI void APIENTRY glTexCoord2bOES (GLbyte s, GLbyte t); +GLAPI void APIENTRY glTexCoord2bvOES (const GLbyte *coords); +GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r); +GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords); +GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q); +GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords); +GLAPI void APIENTRY glVertex2bOES (GLbyte x); +GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords); +GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y); +GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords); +GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z); +GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords); +#endif +#endif /* GL_OES_byte_coordinates */ + +#ifndef GL_OES_compressed_paletted_texture +#define GL_OES_compressed_paletted_texture 1 +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif /* GL_OES_compressed_paletted_texture */ + +#ifndef GL_OES_fixed_point +#define GL_OES_fixed_point 1 +typedef GLint GLfixed; +#define GL_FIXED_OES 0x140C +typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); +typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth); +typedef void (APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); +typedef void (APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f); +typedef void (APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param); +typedef void (APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +typedef void (APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation); +typedef void (APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param); +typedef void (APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width); +typedef void (APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m); +typedef void (APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param); +typedef void (APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +typedef void (APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz); +typedef void (APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size); +typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units); +typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert); +typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); +typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z); +typedef void (APIENTRYP PFNGLACCUMXOESPROC) (GLenum op, GLfixed value); +typedef void (APIENTRYP PFNGLBITMAPXOESPROC) (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap); +typedef void (APIENTRYP PFNGLBLENDCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (APIENTRYP PFNGLCLEARACCUMXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +typedef void (APIENTRYP PFNGLCOLOR3XOESPROC) (GLfixed red, GLfixed green, GLfixed blue); +typedef void (APIENTRYP PFNGLCOLOR3XVOESPROC) (const GLfixed *components); +typedef void (APIENTRYP PFNGLCOLOR4XVOESPROC) (const GLfixed *components); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLEVALCOORD1XOESPROC) (GLfixed u); +typedef void (APIENTRYP PFNGLEVALCOORD1XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLEVALCOORD2XOESPROC) (GLfixed u, GLfixed v); +typedef void (APIENTRYP PFNGLEVALCOORD2XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLFEEDBACKBUFFERXOESPROC) (GLsizei n, GLenum type, const GLfixed *buffer); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETMAPXVOESPROC) (GLenum target, GLenum query, GLfixed *v); +typedef void (APIENTRYP PFNGLGETMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLGETPIXELMAPXVPROC) (GLenum map, GLint size, GLfixed *values); +typedef void (APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERXVOESPROC) (GLenum target, GLint level, GLenum pname, GLfixed *params); +typedef void (APIENTRYP PFNGLINDEXXOESPROC) (GLfixed component); +typedef void (APIENTRYP PFNGLINDEXXVOESPROC) (const GLfixed *component); +typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXXOESPROC) (const GLfixed *m); +typedef void (APIENTRYP PFNGLMAP1XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); +typedef void (APIENTRYP PFNGLMAP2XOESPROC) (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); +typedef void (APIENTRYP PFNGLMAPGRID1XOESPROC) (GLint n, GLfixed u1, GLfixed u2); +typedef void (APIENTRYP PFNGLMAPGRID2XOESPROC) (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); +typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXXOESPROC) (const GLfixed *m); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1XOESPROC) (GLenum texture, GLfixed s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1XVOESPROC) (GLenum texture, const GLfixed *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2XOESPROC) (GLenum texture, GLfixed s, GLfixed t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2XVOESPROC) (GLenum texture, const GLfixed *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3XVOESPROC) (GLenum texture, const GLfixed *coords); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4XVOESPROC) (GLenum texture, const GLfixed *coords); +typedef void (APIENTRYP PFNGLNORMAL3XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLPASSTHROUGHXOESPROC) (GLfixed token); +typedef void (APIENTRYP PFNGLPIXELMAPXPROC) (GLenum map, GLint size, const GLfixed *values); +typedef void (APIENTRYP PFNGLPIXELSTOREXPROC) (GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLPIXELTRANSFERXOESPROC) (GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLPIXELZOOMXOESPROC) (GLfixed xfactor, GLfixed yfactor); +typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESXOESPROC) (GLsizei n, const GLuint *textures, const GLfixed *priorities); +typedef void (APIENTRYP PFNGLRASTERPOS2XOESPROC) (GLfixed x, GLfixed y); +typedef void (APIENTRYP PFNGLRASTERPOS2XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLRASTERPOS3XOESPROC) (GLfixed x, GLfixed y, GLfixed z); +typedef void (APIENTRYP PFNGLRASTERPOS3XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLRASTERPOS4XOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed w); +typedef void (APIENTRYP PFNGLRASTERPOS4XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLRECTXOESPROC) (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); +typedef void (APIENTRYP PFNGLRECTXVOESPROC) (const GLfixed *v1, const GLfixed *v2); +typedef void (APIENTRYP PFNGLTEXCOORD1XOESPROC) (GLfixed s); +typedef void (APIENTRYP PFNGLTEXCOORD1XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLTEXCOORD2XOESPROC) (GLfixed s, GLfixed t); +typedef void (APIENTRYP PFNGLTEXCOORD2XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLTEXCOORD3XOESPROC) (GLfixed s, GLfixed t, GLfixed r); +typedef void (APIENTRYP PFNGLTEXCOORD3XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLTEXCOORD4XOESPROC) (GLfixed s, GLfixed t, GLfixed r, GLfixed q); +typedef void (APIENTRYP PFNGLTEXCOORD4XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param); +typedef void (APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params); +typedef void (APIENTRYP PFNGLVERTEX2XOESPROC) (GLfixed x); +typedef void (APIENTRYP PFNGLVERTEX2XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLVERTEX3XOESPROC) (GLfixed x, GLfixed y); +typedef void (APIENTRYP PFNGLVERTEX3XVOESPROC) (const GLfixed *coords); +typedef void (APIENTRYP PFNGLVERTEX4XOESPROC) (GLfixed x, GLfixed y, GLfixed z); +typedef void (APIENTRYP PFNGLVERTEX4XVOESPROC) (const GLfixed *coords); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref); +GLAPI void APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GLAPI void APIENTRY glClearDepthxOES (GLfixed depth); +GLAPI void APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation); +GLAPI void APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GLAPI void APIENTRY glDepthRangexOES (GLfixed n, GLfixed f); +GLAPI void APIENTRY glFogxOES (GLenum pname, GLfixed param); +GLAPI void APIENTRY glFogxvOES (GLenum pname, const GLfixed *param); +GLAPI void APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GLAPI void APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation); +GLAPI void APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glLightModelxOES (GLenum pname, GLfixed param); +GLAPI void APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param); +GLAPI void APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param); +GLAPI void APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glLineWidthxOES (GLfixed width); +GLAPI void APIENTRY glLoadMatrixxOES (const GLfixed *m); +GLAPI void APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param); +GLAPI void APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param); +GLAPI void APIENTRY glMultMatrixxOES (const GLfixed *m); +GLAPI void APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GLAPI void APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz); +GLAPI void APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f); +GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glPointSizexOES (GLfixed size); +GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units); +GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert); +GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param); +GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param); +GLAPI void APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glAccumxOES (GLenum op, GLfixed value); +GLAPI void APIENTRY glBitmapxOES (GLsizei width, GLsizei height, GLfixed xorig, GLfixed yorig, GLfixed xmove, GLfixed ymove, const GLubyte *bitmap); +GLAPI void APIENTRY glBlendColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GLAPI void APIENTRY glClearAccumxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); +GLAPI void APIENTRY glColor3xOES (GLfixed red, GLfixed green, GLfixed blue); +GLAPI void APIENTRY glColor3xvOES (const GLfixed *components); +GLAPI void APIENTRY glColor4xvOES (const GLfixed *components); +GLAPI void APIENTRY glConvolutionParameterxOES (GLenum target, GLenum pname, GLfixed param); +GLAPI void APIENTRY glConvolutionParameterxvOES (GLenum target, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glEvalCoord1xOES (GLfixed u); +GLAPI void APIENTRY glEvalCoord1xvOES (const GLfixed *coords); +GLAPI void APIENTRY glEvalCoord2xOES (GLfixed u, GLfixed v); +GLAPI void APIENTRY glEvalCoord2xvOES (const GLfixed *coords); +GLAPI void APIENTRY glFeedbackBufferxOES (GLsizei n, GLenum type, const GLfixed *buffer); +GLAPI void APIENTRY glGetConvolutionParameterxvOES (GLenum target, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetHistogramParameterxvOES (GLenum target, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetLightxOES (GLenum light, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetMapxvOES (GLenum target, GLenum query, GLfixed *v); +GLAPI void APIENTRY glGetMaterialxOES (GLenum face, GLenum pname, GLfixed param); +GLAPI void APIENTRY glGetPixelMapxv (GLenum map, GLint size, GLfixed *values); +GLAPI void APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glGetTexLevelParameterxvOES (GLenum target, GLint level, GLenum pname, GLfixed *params); +GLAPI void APIENTRY glIndexxOES (GLfixed component); +GLAPI void APIENTRY glIndexxvOES (const GLfixed *component); +GLAPI void APIENTRY glLoadTransposeMatrixxOES (const GLfixed *m); +GLAPI void APIENTRY glMap1xOES (GLenum target, GLfixed u1, GLfixed u2, GLint stride, GLint order, GLfixed points); +GLAPI void APIENTRY glMap2xOES (GLenum target, GLfixed u1, GLfixed u2, GLint ustride, GLint uorder, GLfixed v1, GLfixed v2, GLint vstride, GLint vorder, GLfixed points); +GLAPI void APIENTRY glMapGrid1xOES (GLint n, GLfixed u1, GLfixed u2); +GLAPI void APIENTRY glMapGrid2xOES (GLint n, GLfixed u1, GLfixed u2, GLfixed v1, GLfixed v2); +GLAPI void APIENTRY glMultTransposeMatrixxOES (const GLfixed *m); +GLAPI void APIENTRY glMultiTexCoord1xOES (GLenum texture, GLfixed s); +GLAPI void APIENTRY glMultiTexCoord1xvOES (GLenum texture, const GLfixed *coords); +GLAPI void APIENTRY glMultiTexCoord2xOES (GLenum texture, GLfixed s, GLfixed t); +GLAPI void APIENTRY glMultiTexCoord2xvOES (GLenum texture, const GLfixed *coords); +GLAPI void APIENTRY glMultiTexCoord3xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r); +GLAPI void APIENTRY glMultiTexCoord3xvOES (GLenum texture, const GLfixed *coords); +GLAPI void APIENTRY glMultiTexCoord4xvOES (GLenum texture, const GLfixed *coords); +GLAPI void APIENTRY glNormal3xvOES (const GLfixed *coords); +GLAPI void APIENTRY glPassThroughxOES (GLfixed token); +GLAPI void APIENTRY glPixelMapx (GLenum map, GLint size, const GLfixed *values); +GLAPI void APIENTRY glPixelStorex (GLenum pname, GLfixed param); +GLAPI void APIENTRY glPixelTransferxOES (GLenum pname, GLfixed param); +GLAPI void APIENTRY glPixelZoomxOES (GLfixed xfactor, GLfixed yfactor); +GLAPI void APIENTRY glPrioritizeTexturesxOES (GLsizei n, const GLuint *textures, const GLfixed *priorities); +GLAPI void APIENTRY glRasterPos2xOES (GLfixed x, GLfixed y); +GLAPI void APIENTRY glRasterPos2xvOES (const GLfixed *coords); +GLAPI void APIENTRY glRasterPos3xOES (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glRasterPos3xvOES (const GLfixed *coords); +GLAPI void APIENTRY glRasterPos4xOES (GLfixed x, GLfixed y, GLfixed z, GLfixed w); +GLAPI void APIENTRY glRasterPos4xvOES (const GLfixed *coords); +GLAPI void APIENTRY glRectxOES (GLfixed x1, GLfixed y1, GLfixed x2, GLfixed y2); +GLAPI void APIENTRY glRectxvOES (const GLfixed *v1, const GLfixed *v2); +GLAPI void APIENTRY glTexCoord1xOES (GLfixed s); +GLAPI void APIENTRY glTexCoord1xvOES (const GLfixed *coords); +GLAPI void APIENTRY glTexCoord2xOES (GLfixed s, GLfixed t); +GLAPI void APIENTRY glTexCoord2xvOES (const GLfixed *coords); +GLAPI void APIENTRY glTexCoord3xOES (GLfixed s, GLfixed t, GLfixed r); +GLAPI void APIENTRY glTexCoord3xvOES (const GLfixed *coords); +GLAPI void APIENTRY glTexCoord4xOES (GLfixed s, GLfixed t, GLfixed r, GLfixed q); +GLAPI void APIENTRY glTexCoord4xvOES (const GLfixed *coords); +GLAPI void APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); +GLAPI void APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); +GLAPI void APIENTRY glVertex2xOES (GLfixed x); +GLAPI void APIENTRY glVertex2xvOES (const GLfixed *coords); +GLAPI void APIENTRY glVertex3xOES (GLfixed x, GLfixed y); +GLAPI void APIENTRY glVertex3xvOES (const GLfixed *coords); +GLAPI void APIENTRY glVertex4xOES (GLfixed x, GLfixed y, GLfixed z); +GLAPI void APIENTRY glVertex4xvOES (const GLfixed *coords); +#endif +#endif /* GL_OES_fixed_point */ + +#ifndef GL_OES_query_matrix +#define GL_OES_query_matrix 1 +typedef GLbitfield (APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLbitfield APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent); +#endif +#endif /* GL_OES_query_matrix */ + +#ifndef GL_OES_read_format +#define GL_OES_read_format 1 +#define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B +#endif /* GL_OES_read_format */ + +#ifndef GL_OES_single_precision +#define GL_OES_single_precision 1 +typedef void (APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth); +typedef void (APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation); +typedef void (APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f); +typedef void (APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +typedef void (APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation); +typedef void (APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glClearDepthfOES (GLclampf depth); +GLAPI void APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation); +GLAPI void APIENTRY glDepthRangefOES (GLclampf n, GLclampf f); +GLAPI void APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +GLAPI void APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation); +GLAPI void APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f); +#endif +#endif /* GL_OES_single_precision */ + +#ifndef GL_3DFX_multisample +#define GL_3DFX_multisample 1 +#define GL_MULTISAMPLE_3DFX 0x86B2 +#define GL_SAMPLE_BUFFERS_3DFX 0x86B3 +#define GL_SAMPLES_3DFX 0x86B4 +#define GL_MULTISAMPLE_BIT_3DFX 0x20000000 +#endif /* GL_3DFX_multisample */ + +#ifndef GL_3DFX_tbuffer +#define GL_3DFX_tbuffer 1 +typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask); +#endif +#endif /* GL_3DFX_tbuffer */ + +#ifndef GL_3DFX_texture_compression_FXT1 +#define GL_3DFX_texture_compression_FXT1 1 +#define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0 +#define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1 +#endif /* GL_3DFX_texture_compression_FXT1 */ + +#ifndef GL_AMD_blend_minmax_factor +#define GL_AMD_blend_minmax_factor 1 +#define GL_FACTOR_MIN_AMD 0x901C +#define GL_FACTOR_MAX_AMD 0x901D +#endif /* GL_AMD_blend_minmax_factor */ + +#ifndef GL_AMD_conservative_depth +#define GL_AMD_conservative_depth 1 +#endif /* GL_AMD_conservative_depth */ + +#ifndef GL_AMD_debug_output +#define GL_AMD_debug_output 1 +typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,void *userParam); +#define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145 +#define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147 +#define GL_DEBUG_SEVERITY_LOW_AMD 0x9148 +#define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149 +#define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A +#define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B +#define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C +#define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D +#define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E +#define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F +#define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150 +typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); +typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf); +GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam); +GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message); +#endif +#endif /* GL_AMD_debug_output */ + +#ifndef GL_AMD_depth_clamp_separate +#define GL_AMD_depth_clamp_separate 1 +#define GL_DEPTH_CLAMP_NEAR_AMD 0x901E +#define GL_DEPTH_CLAMP_FAR_AMD 0x901F +#endif /* GL_AMD_depth_clamp_separate */ + +#ifndef GL_AMD_draw_buffers_blend +#define GL_AMD_draw_buffers_blend 1 +typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst); +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode); +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst); +GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode); +GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha); +#endif +#endif /* GL_AMD_draw_buffers_blend */ + +#ifndef GL_AMD_gcn_shader +#define GL_AMD_gcn_shader 1 +#endif /* GL_AMD_gcn_shader */ + +#ifndef GL_AMD_gpu_shader_int64 +#define GL_AMD_gpu_shader_int64 1 +typedef int64_t GLint64EXT; +#define GL_INT64_NV 0x140E +#define GL_UNSIGNED_INT64_NV 0x140F +#define GL_INT8_NV 0x8FE0 +#define GL_INT8_VEC2_NV 0x8FE1 +#define GL_INT8_VEC3_NV 0x8FE2 +#define GL_INT8_VEC4_NV 0x8FE3 +#define GL_INT16_NV 0x8FE4 +#define GL_INT16_VEC2_NV 0x8FE5 +#define GL_INT16_VEC3_NV 0x8FE6 +#define GL_INT16_VEC4_NV 0x8FE7 +#define GL_INT64_VEC2_NV 0x8FE9 +#define GL_INT64_VEC3_NV 0x8FEA +#define GL_INT64_VEC4_NV 0x8FEB +#define GL_UNSIGNED_INT8_NV 0x8FEC +#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED +#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE +#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF +#define GL_UNSIGNED_INT16_NV 0x8FF0 +#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1 +#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2 +#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3 +#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5 +#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6 +#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7 +#define GL_FLOAT16_NV 0x8FF8 +#define GL_FLOAT16_VEC2_NV 0x8FF9 +#define GL_FLOAT16_VEC3_NV 0x8FFA +#define GL_FLOAT16_VEC4_NV 0x8FFB +typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x); +typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x); +typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params); +typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x); +GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x); +GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params); +GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params); +GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x); +GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value); +GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x); +GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_AMD_gpu_shader_int64 */ + +#ifndef GL_AMD_interleaved_elements +#define GL_AMD_interleaved_elements 1 +#define GL_VERTEX_ELEMENT_SWIZZLE_AMD 0x91A4 +#define GL_VERTEX_ID_SWIZZLE_AMD 0x91A5 +typedef void (APIENTRYP PFNGLVERTEXATTRIBPARAMETERIAMDPROC) (GLuint index, GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribParameteriAMD (GLuint index, GLenum pname, GLint param); +#endif +#endif /* GL_AMD_interleaved_elements */ + +#ifndef GL_AMD_multi_draw_indirect +#define GL_AMD_multi_draw_indirect 1 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const void *indirect, GLsizei primcount, GLsizei stride); +GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const void *indirect, GLsizei primcount, GLsizei stride); +#endif +#endif /* GL_AMD_multi_draw_indirect */ + +#ifndef GL_AMD_name_gen_delete +#define GL_AMD_name_gen_delete 1 +#define GL_DATA_BUFFER_AMD 0x9151 +#define GL_PERFORMANCE_MONITOR_AMD 0x9152 +#define GL_QUERY_OBJECT_AMD 0x9153 +#define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154 +#define GL_SAMPLER_OBJECT_AMD 0x9155 +typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names); +typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names); +typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names); +GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names); +GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name); +#endif +#endif /* GL_AMD_name_gen_delete */ + +#ifndef GL_AMD_occlusion_query_event +#define GL_AMD_occlusion_query_event 1 +#define GL_OCCLUSION_QUERY_EVENT_MASK_AMD 0x874F +#define GL_QUERY_DEPTH_PASS_EVENT_BIT_AMD 0x00000001 +#define GL_QUERY_DEPTH_FAIL_EVENT_BIT_AMD 0x00000002 +#define GL_QUERY_STENCIL_FAIL_EVENT_BIT_AMD 0x00000004 +#define GL_QUERY_DEPTH_BOUNDS_FAIL_EVENT_BIT_AMD 0x00000008 +#define GL_QUERY_ALL_EVENT_BITS_AMD 0xFFFFFFFF +typedef void (APIENTRYP PFNGLQUERYOBJECTPARAMETERUIAMDPROC) (GLenum target, GLuint id, GLenum pname, GLuint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glQueryObjectParameteruiAMD (GLenum target, GLuint id, GLenum pname, GLuint param); +#endif +#endif /* GL_AMD_occlusion_query_event */ + +#ifndef GL_AMD_performance_monitor +#define GL_AMD_performance_monitor 1 +#define GL_COUNTER_TYPE_AMD 0x8BC0 +#define GL_COUNTER_RANGE_AMD 0x8BC1 +#define GL_UNSIGNED_INT64_AMD 0x8BC2 +#define GL_PERCENTAGE_AMD 0x8BC3 +#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 +#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 +#define GL_PERFMON_RESULT_AMD 0x8BC6 +typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); +typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); +typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); +typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); +typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); +GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); +GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); +GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); +GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor); +GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor); +GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#endif +#endif /* GL_AMD_performance_monitor */ + +#ifndef GL_AMD_pinned_memory +#define GL_AMD_pinned_memory 1 +#define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160 +#endif /* GL_AMD_pinned_memory */ + +#ifndef GL_AMD_query_buffer_object +#define GL_AMD_query_buffer_object 1 +#define GL_QUERY_BUFFER_AMD 0x9192 +#define GL_QUERY_BUFFER_BINDING_AMD 0x9193 +#define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194 +#endif /* GL_AMD_query_buffer_object */ + +#ifndef GL_AMD_sample_positions +#define GL_AMD_sample_positions 1 +#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F +typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val); +#endif +#endif /* GL_AMD_sample_positions */ + +#ifndef GL_AMD_seamless_cubemap_per_texture +#define GL_AMD_seamless_cubemap_per_texture 1 +#endif /* GL_AMD_seamless_cubemap_per_texture */ + +#ifndef GL_AMD_shader_atomic_counter_ops +#define GL_AMD_shader_atomic_counter_ops 1 +#endif /* GL_AMD_shader_atomic_counter_ops */ + +#ifndef GL_AMD_shader_stencil_export +#define GL_AMD_shader_stencil_export 1 +#endif /* GL_AMD_shader_stencil_export */ + +#ifndef GL_AMD_shader_trinary_minmax +#define GL_AMD_shader_trinary_minmax 1 +#endif /* GL_AMD_shader_trinary_minmax */ + +#ifndef GL_AMD_sparse_texture +#define GL_AMD_sparse_texture 1 +#define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195 +#define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196 +#define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197 +#define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198 +#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199 +#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A +#define GL_MIN_SPARSE_LEVEL_AMD 0x919B +#define GL_MIN_LOD_WARNING_AMD 0x919C +#define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001 +typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); +typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); +GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags); +#endif +#endif /* GL_AMD_sparse_texture */ + +#ifndef GL_AMD_stencil_operation_extended +#define GL_AMD_stencil_operation_extended 1 +#define GL_SET_AMD 0x874A +#define GL_REPLACE_VALUE_AMD 0x874B +#define GL_STENCIL_OP_VALUE_AMD 0x874C +#define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D +typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); +#endif +#endif /* GL_AMD_stencil_operation_extended */ + +#ifndef GL_AMD_texture_texture4 +#define GL_AMD_texture_texture4 1 +#endif /* GL_AMD_texture_texture4 */ + +#ifndef GL_AMD_transform_feedback3_lines_triangles +#define GL_AMD_transform_feedback3_lines_triangles 1 +#endif /* GL_AMD_transform_feedback3_lines_triangles */ + +#ifndef GL_AMD_transform_feedback4 +#define GL_AMD_transform_feedback4 1 +#define GL_STREAM_RASTERIZATION_AMD 0x91A0 +#endif /* GL_AMD_transform_feedback4 */ + +#ifndef GL_AMD_vertex_shader_layer +#define GL_AMD_vertex_shader_layer 1 +#endif /* GL_AMD_vertex_shader_layer */ + +#ifndef GL_AMD_vertex_shader_tessellator +#define GL_AMD_vertex_shader_tessellator 1 +#define GL_SAMPLER_BUFFER_AMD 0x9001 +#define GL_INT_SAMPLER_BUFFER_AMD 0x9002 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003 +#define GL_TESSELLATION_MODE_AMD 0x9004 +#define GL_TESSELLATION_FACTOR_AMD 0x9005 +#define GL_DISCRETE_AMD 0x9006 +#define GL_CONTINUOUS_AMD 0x9007 +typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor); +typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor); +GLAPI void APIENTRY glTessellationModeAMD (GLenum mode); +#endif +#endif /* GL_AMD_vertex_shader_tessellator */ + +#ifndef GL_AMD_vertex_shader_viewport_index +#define GL_AMD_vertex_shader_viewport_index 1 +#endif /* GL_AMD_vertex_shader_viewport_index */ + +#ifndef GL_APPLE_aux_depth_stencil +#define GL_APPLE_aux_depth_stencil 1 +#define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14 +#endif /* GL_APPLE_aux_depth_stencil */ + +#ifndef GL_APPLE_client_storage +#define GL_APPLE_client_storage 1 +#define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2 +#endif /* GL_APPLE_client_storage */ + +#ifndef GL_APPLE_element_array +#define GL_APPLE_element_array 1 +#define GL_ELEMENT_ARRAY_APPLE 0x8A0C +#define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D +#define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E +typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void *pointer); +typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const void *pointer); +GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count); +GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count); +GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount); +#endif +#endif /* GL_APPLE_element_array */ + +#ifndef GL_APPLE_fence +#define GL_APPLE_fence 1 +#define GL_DRAW_PIXELS_APPLE 0x8A0A +#define GL_FENCE_APPLE 0x8A0B +typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences); +typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences); +typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name); +typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences); +GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences); +GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence); +GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence); +GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence); +GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence); +GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name); +GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name); +#endif +#endif /* GL_APPLE_fence */ + +#ifndef GL_APPLE_float_pixels +#define GL_APPLE_float_pixels 1 +#define GL_HALF_APPLE 0x140B +#define GL_RGBA_FLOAT32_APPLE 0x8814 +#define GL_RGB_FLOAT32_APPLE 0x8815 +#define GL_ALPHA_FLOAT32_APPLE 0x8816 +#define GL_INTENSITY_FLOAT32_APPLE 0x8817 +#define GL_LUMINANCE_FLOAT32_APPLE 0x8818 +#define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819 +#define GL_RGBA_FLOAT16_APPLE 0x881A +#define GL_RGB_FLOAT16_APPLE 0x881B +#define GL_ALPHA_FLOAT16_APPLE 0x881C +#define GL_INTENSITY_FLOAT16_APPLE 0x881D +#define GL_LUMINANCE_FLOAT16_APPLE 0x881E +#define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F +#define GL_COLOR_FLOAT_APPLE 0x8A0F +#endif /* GL_APPLE_float_pixels */ + +#ifndef GL_APPLE_flush_buffer_range +#define GL_APPLE_flush_buffer_range 1 +#define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12 +#define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13 +typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size); +#endif +#endif /* GL_APPLE_flush_buffer_range */ + +#ifndef GL_APPLE_object_purgeable +#define GL_APPLE_object_purgeable 1 +#define GL_BUFFER_OBJECT_APPLE 0x85B3 +#define GL_RELEASED_APPLE 0x8A19 +#define GL_VOLATILE_APPLE 0x8A1A +#define GL_RETAINED_APPLE 0x8A1B +#define GL_UNDEFINED_APPLE 0x8A1C +#define GL_PURGEABLE_APPLE 0x8A1D +typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); +typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option); +typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); +GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option); +GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params); +#endif +#endif /* GL_APPLE_object_purgeable */ + +#ifndef GL_APPLE_rgb_422 +#define GL_APPLE_rgb_422 1 +#define GL_RGB_422_APPLE 0x8A1F +#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB +#define GL_RGB_RAW_422_APPLE 0x8A51 +#endif /* GL_APPLE_rgb_422 */ + +#ifndef GL_APPLE_row_bytes +#define GL_APPLE_row_bytes 1 +#define GL_PACK_ROW_BYTES_APPLE 0x8A15 +#define GL_UNPACK_ROW_BYTES_APPLE 0x8A16 +#endif /* GL_APPLE_row_bytes */ + +#ifndef GL_APPLE_specular_vector +#define GL_APPLE_specular_vector 1 +#define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0 +#endif /* GL_APPLE_specular_vector */ + +#ifndef GL_APPLE_texture_range +#define GL_APPLE_texture_range 1 +#define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7 +#define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8 +#define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC +#define GL_STORAGE_PRIVATE_APPLE 0x85BD +#define GL_STORAGE_CACHED_APPLE 0x85BE +#define GL_STORAGE_SHARED_APPLE 0x85BF +typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const void *pointer); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, void **params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const void *pointer); +GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, void **params); +#endif +#endif /* GL_APPLE_texture_range */ + +#ifndef GL_APPLE_transform_hint +#define GL_APPLE_transform_hint 1 +#define GL_TRANSFORM_HINT_APPLE 0x85B1 +#endif /* GL_APPLE_transform_hint */ + +#ifndef GL_APPLE_vertex_array_object +#define GL_APPLE_vertex_array_object 1 +#define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5 +typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array); +typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays); +typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array); +GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays); +GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays); +GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array); +#endif +#endif /* GL_APPLE_vertex_array_object */ + +#ifndef GL_APPLE_vertex_array_range +#define GL_APPLE_vertex_array_range 1 +#define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D +#define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E +#define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F +#define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521 +#define GL_STORAGE_CLIENT_APPLE 0x85B4 +typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer); +typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void *pointer); +typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, void *pointer); +GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, void *pointer); +GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param); +#endif +#endif /* GL_APPLE_vertex_array_range */ + +#ifndef GL_APPLE_vertex_program_evaluators +#define GL_APPLE_vertex_program_evaluators 1 +#define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00 +#define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01 +#define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02 +#define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03 +#define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04 +#define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05 +#define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06 +#define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07 +#define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08 +#define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09 +typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); +typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname); +typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname); +typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); +typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); +typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); +typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname); +GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname); +GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname); +GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); +GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); +GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); +GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); +#endif +#endif /* GL_APPLE_vertex_program_evaluators */ + +#ifndef GL_APPLE_ycbcr_422 +#define GL_APPLE_ycbcr_422 1 +#define GL_YCBCR_422_APPLE 0x85B9 +#endif /* GL_APPLE_ycbcr_422 */ + +#ifndef GL_ATI_draw_buffers +#define GL_ATI_draw_buffers 1 +#define GL_MAX_DRAW_BUFFERS_ATI 0x8824 +#define GL_DRAW_BUFFER0_ATI 0x8825 +#define GL_DRAW_BUFFER1_ATI 0x8826 +#define GL_DRAW_BUFFER2_ATI 0x8827 +#define GL_DRAW_BUFFER3_ATI 0x8828 +#define GL_DRAW_BUFFER4_ATI 0x8829 +#define GL_DRAW_BUFFER5_ATI 0x882A +#define GL_DRAW_BUFFER6_ATI 0x882B +#define GL_DRAW_BUFFER7_ATI 0x882C +#define GL_DRAW_BUFFER8_ATI 0x882D +#define GL_DRAW_BUFFER9_ATI 0x882E +#define GL_DRAW_BUFFER10_ATI 0x882F +#define GL_DRAW_BUFFER11_ATI 0x8830 +#define GL_DRAW_BUFFER12_ATI 0x8831 +#define GL_DRAW_BUFFER13_ATI 0x8832 +#define GL_DRAW_BUFFER14_ATI 0x8833 +#define GL_DRAW_BUFFER15_ATI 0x8834 +typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs); +#endif +#endif /* GL_ATI_draw_buffers */ + +#ifndef GL_ATI_element_array +#define GL_ATI_element_array 1 +#define GL_ELEMENT_ARRAY_ATI 0x8768 +#define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769 +#define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A +typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void *pointer); +typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count); +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glElementPointerATI (GLenum type, const void *pointer); +GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count); +GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count); +#endif +#endif /* GL_ATI_element_array */ + +#ifndef GL_ATI_envmap_bumpmap +#define GL_ATI_envmap_bumpmap 1 +#define GL_BUMP_ROT_MATRIX_ATI 0x8775 +#define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776 +#define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777 +#define GL_BUMP_TEX_UNITS_ATI 0x8778 +#define GL_DUDV_ATI 0x8779 +#define GL_DU8DV8_ATI 0x877A +#define GL_BUMP_ENVMAP_ATI 0x877B +#define GL_BUMP_TARGET_ATI 0x877C +typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param); +typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param); +typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param); +GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param); +GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param); +GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param); +#endif +#endif /* GL_ATI_envmap_bumpmap */ + +#ifndef GL_ATI_fragment_shader +#define GL_ATI_fragment_shader 1 +#define GL_FRAGMENT_SHADER_ATI 0x8920 +#define GL_REG_0_ATI 0x8921 +#define GL_REG_1_ATI 0x8922 +#define GL_REG_2_ATI 0x8923 +#define GL_REG_3_ATI 0x8924 +#define GL_REG_4_ATI 0x8925 +#define GL_REG_5_ATI 0x8926 +#define GL_REG_6_ATI 0x8927 +#define GL_REG_7_ATI 0x8928 +#define GL_REG_8_ATI 0x8929 +#define GL_REG_9_ATI 0x892A +#define GL_REG_10_ATI 0x892B +#define GL_REG_11_ATI 0x892C +#define GL_REG_12_ATI 0x892D +#define GL_REG_13_ATI 0x892E +#define GL_REG_14_ATI 0x892F +#define GL_REG_15_ATI 0x8930 +#define GL_REG_16_ATI 0x8931 +#define GL_REG_17_ATI 0x8932 +#define GL_REG_18_ATI 0x8933 +#define GL_REG_19_ATI 0x8934 +#define GL_REG_20_ATI 0x8935 +#define GL_REG_21_ATI 0x8936 +#define GL_REG_22_ATI 0x8937 +#define GL_REG_23_ATI 0x8938 +#define GL_REG_24_ATI 0x8939 +#define GL_REG_25_ATI 0x893A +#define GL_REG_26_ATI 0x893B +#define GL_REG_27_ATI 0x893C +#define GL_REG_28_ATI 0x893D +#define GL_REG_29_ATI 0x893E +#define GL_REG_30_ATI 0x893F +#define GL_REG_31_ATI 0x8940 +#define GL_CON_0_ATI 0x8941 +#define GL_CON_1_ATI 0x8942 +#define GL_CON_2_ATI 0x8943 +#define GL_CON_3_ATI 0x8944 +#define GL_CON_4_ATI 0x8945 +#define GL_CON_5_ATI 0x8946 +#define GL_CON_6_ATI 0x8947 +#define GL_CON_7_ATI 0x8948 +#define GL_CON_8_ATI 0x8949 +#define GL_CON_9_ATI 0x894A +#define GL_CON_10_ATI 0x894B +#define GL_CON_11_ATI 0x894C +#define GL_CON_12_ATI 0x894D +#define GL_CON_13_ATI 0x894E +#define GL_CON_14_ATI 0x894F +#define GL_CON_15_ATI 0x8950 +#define GL_CON_16_ATI 0x8951 +#define GL_CON_17_ATI 0x8952 +#define GL_CON_18_ATI 0x8953 +#define GL_CON_19_ATI 0x8954 +#define GL_CON_20_ATI 0x8955 +#define GL_CON_21_ATI 0x8956 +#define GL_CON_22_ATI 0x8957 +#define GL_CON_23_ATI 0x8958 +#define GL_CON_24_ATI 0x8959 +#define GL_CON_25_ATI 0x895A +#define GL_CON_26_ATI 0x895B +#define GL_CON_27_ATI 0x895C +#define GL_CON_28_ATI 0x895D +#define GL_CON_29_ATI 0x895E +#define GL_CON_30_ATI 0x895F +#define GL_CON_31_ATI 0x8960 +#define GL_MOV_ATI 0x8961 +#define GL_ADD_ATI 0x8963 +#define GL_MUL_ATI 0x8964 +#define GL_SUB_ATI 0x8965 +#define GL_DOT3_ATI 0x8966 +#define GL_DOT4_ATI 0x8967 +#define GL_MAD_ATI 0x8968 +#define GL_LERP_ATI 0x8969 +#define GL_CND_ATI 0x896A +#define GL_CND0_ATI 0x896B +#define GL_DOT2_ADD_ATI 0x896C +#define GL_SECONDARY_INTERPOLATOR_ATI 0x896D +#define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E +#define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F +#define GL_NUM_PASSES_ATI 0x8970 +#define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971 +#define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972 +#define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 +#define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 +#define GL_COLOR_ALPHA_PAIRING_ATI 0x8975 +#define GL_SWIZZLE_STR_ATI 0x8976 +#define GL_SWIZZLE_STQ_ATI 0x8977 +#define GL_SWIZZLE_STR_DR_ATI 0x8978 +#define GL_SWIZZLE_STQ_DQ_ATI 0x8979 +#define GL_SWIZZLE_STRQ_ATI 0x897A +#define GL_SWIZZLE_STRQ_DQ_ATI 0x897B +#define GL_RED_BIT_ATI 0x00000001 +#define GL_GREEN_BIT_ATI 0x00000002 +#define GL_BLUE_BIT_ATI 0x00000004 +#define GL_2X_BIT_ATI 0x00000001 +#define GL_4X_BIT_ATI 0x00000002 +#define GL_8X_BIT_ATI 0x00000004 +#define GL_HALF_BIT_ATI 0x00000008 +#define GL_QUARTER_BIT_ATI 0x00000010 +#define GL_EIGHTH_BIT_ATI 0x00000020 +#define GL_SATURATE_BIT_ATI 0x00000040 +#define GL_COMP_BIT_ATI 0x00000002 +#define GL_NEGATE_BIT_ATI 0x00000004 +#define GL_BIAS_BIT_ATI 0x00000008 +typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range); +typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void); +typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void); +typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle); +typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range); +GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id); +GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id); +GLAPI void APIENTRY glBeginFragmentShaderATI (void); +GLAPI void APIENTRY glEndFragmentShaderATI (void); +GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle); +GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle); +GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod); +GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod); +GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod); +GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value); +#endif +#endif /* GL_ATI_fragment_shader */ + +#ifndef GL_ATI_map_object_buffer +#define GL_ATI_map_object_buffer 1 +typedef void *(APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void *APIENTRY glMapObjectBufferATI (GLuint buffer); +GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer); +#endif +#endif /* GL_ATI_map_object_buffer */ + +#ifndef GL_ATI_meminfo +#define GL_ATI_meminfo 1 +#define GL_VBO_FREE_MEMORY_ATI 0x87FB +#define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC +#define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD +#endif /* GL_ATI_meminfo */ + +#ifndef GL_ATI_pixel_format_float +#define GL_ATI_pixel_format_float 1 +#define GL_RGBA_FLOAT_MODE_ATI 0x8820 +#define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835 +#endif /* GL_ATI_pixel_format_float */ + +#ifndef GL_ATI_pn_triangles +#define GL_ATI_pn_triangles 1 +#define GL_PN_TRIANGLES_ATI 0x87F0 +#define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1 +#define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2 +#define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3 +#define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4 +#define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5 +#define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6 +#define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7 +#define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8 +typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param); +GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param); +#endif +#endif /* GL_ATI_pn_triangles */ + +#ifndef GL_ATI_separate_stencil +#define GL_ATI_separate_stencil 1 +#define GL_STENCIL_BACK_FUNC_ATI 0x8800 +#define GL_STENCIL_BACK_FAIL_ATI 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803 +typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); +GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask); +#endif +#endif /* GL_ATI_separate_stencil */ + +#ifndef GL_ATI_text_fragment_shader +#define GL_ATI_text_fragment_shader 1 +#define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200 +#endif /* GL_ATI_text_fragment_shader */ + +#ifndef GL_ATI_texture_env_combine3 +#define GL_ATI_texture_env_combine3 1 +#define GL_MODULATE_ADD_ATI 0x8744 +#define GL_MODULATE_SIGNED_ADD_ATI 0x8745 +#define GL_MODULATE_SUBTRACT_ATI 0x8746 +#endif /* GL_ATI_texture_env_combine3 */ + +#ifndef GL_ATI_texture_float +#define GL_ATI_texture_float 1 +#define GL_RGBA_FLOAT32_ATI 0x8814 +#define GL_RGB_FLOAT32_ATI 0x8815 +#define GL_ALPHA_FLOAT32_ATI 0x8816 +#define GL_INTENSITY_FLOAT32_ATI 0x8817 +#define GL_LUMINANCE_FLOAT32_ATI 0x8818 +#define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819 +#define GL_RGBA_FLOAT16_ATI 0x881A +#define GL_RGB_FLOAT16_ATI 0x881B +#define GL_ALPHA_FLOAT16_ATI 0x881C +#define GL_INTENSITY_FLOAT16_ATI 0x881D +#define GL_LUMINANCE_FLOAT16_ATI 0x881E +#define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F +#endif /* GL_ATI_texture_float */ + +#ifndef GL_ATI_texture_mirror_once +#define GL_ATI_texture_mirror_once 1 +#define GL_MIRROR_CLAMP_ATI 0x8742 +#define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743 +#endif /* GL_ATI_texture_mirror_once */ + +#ifndef GL_ATI_vertex_array_object +#define GL_ATI_vertex_array_object 1 +#define GL_STATIC_ATI 0x8760 +#define GL_DYNAMIC_ATI 0x8761 +#define GL_PRESERVE_ATI 0x8762 +#define GL_DISCARD_ATI 0x8763 +#define GL_OBJECT_BUFFER_SIZE_ATI 0x8764 +#define GL_OBJECT_BUFFER_USAGE_ATI 0x8765 +#define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766 +#define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767 +typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void *pointer, GLenum usage); +typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve); +typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const void *pointer, GLenum usage); +GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer); +GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const void *pointer, GLenum preserve); +GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer); +GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params); +GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset); +GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params); +#endif +#endif /* GL_ATI_vertex_array_object */ + +#ifndef GL_ATI_vertex_attrib_array_object +#define GL_ATI_vertex_attrib_array_object 1 +typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset); +GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params); +#endif +#endif /* GL_ATI_vertex_attrib_array_object */ + +#ifndef GL_ATI_vertex_streams +#define GL_ATI_vertex_streams 1 +#define GL_MAX_VERTEX_STREAMS_ATI 0x876B +#define GL_VERTEX_STREAM0_ATI 0x876C +#define GL_VERTEX_STREAM1_ATI 0x876D +#define GL_VERTEX_STREAM2_ATI 0x876E +#define GL_VERTEX_STREAM3_ATI 0x876F +#define GL_VERTEX_STREAM4_ATI 0x8770 +#define GL_VERTEX_STREAM5_ATI 0x8771 +#define GL_VERTEX_STREAM6_ATI 0x8772 +#define GL_VERTEX_STREAM7_ATI 0x8773 +#define GL_VERTEX_SOURCE_ATI 0x8774 +typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords); +typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); +typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords); +typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream); +typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x); +GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords); +GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x); +GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords); +GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x); +GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords); +GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x); +GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords); +GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y); +GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords); +GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y); +GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords); +GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y); +GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords); +GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords); +GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords); +GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z); +GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords); +GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords); +GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords); +GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords); +GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords); +GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords); +GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords); +GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz); +GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords); +GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz); +GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords); +GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz); +GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords); +GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz); +GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords); +GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz); +GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords); +GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream); +GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param); +GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param); +#endif +#endif /* GL_ATI_vertex_streams */ + +#ifndef GL_EXT_422_pixels +#define GL_EXT_422_pixels 1 +#define GL_422_EXT 0x80CC +#define GL_422_REV_EXT 0x80CD +#define GL_422_AVERAGE_EXT 0x80CE +#define GL_422_REV_AVERAGE_EXT 0x80CF +#endif /* GL_EXT_422_pixels */ + +#ifndef GL_EXT_abgr +#define GL_EXT_abgr 1 +#define GL_ABGR_EXT 0x8000 +#endif /* GL_EXT_abgr */ + +#ifndef GL_EXT_bgra +#define GL_EXT_bgra 1 +#define GL_BGR_EXT 0x80E0 +#define GL_BGRA_EXT 0x80E1 +#endif /* GL_EXT_bgra */ + +#ifndef GL_EXT_bindable_uniform +#define GL_EXT_bindable_uniform 1 +#define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2 +#define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3 +#define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4 +#define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED +#define GL_UNIFORM_BUFFER_EXT 0x8DEE +#define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF +typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer); +typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location); +typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer); +GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location); +GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location); +#endif +#endif /* GL_EXT_bindable_uniform */ + +#ifndef GL_EXT_blend_color +#define GL_EXT_blend_color 1 +#define GL_CONSTANT_COLOR_EXT 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002 +#define GL_CONSTANT_ALPHA_EXT 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004 +#define GL_BLEND_COLOR_EXT 0x8005 +typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); +#endif +#endif /* GL_EXT_blend_color */ + +#ifndef GL_EXT_blend_equation_separate +#define GL_EXT_blend_equation_separate 1 +#define GL_BLEND_EQUATION_RGB_EXT 0x8009 +#define GL_BLEND_EQUATION_ALPHA_EXT 0x883D +typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha); +#endif +#endif /* GL_EXT_blend_equation_separate */ + +#ifndef GL_EXT_blend_func_separate +#define GL_EXT_blend_func_separate 1 +#define GL_BLEND_DST_RGB_EXT 0x80C8 +#define GL_BLEND_SRC_RGB_EXT 0x80C9 +#define GL_BLEND_DST_ALPHA_EXT 0x80CA +#define GL_BLEND_SRC_ALPHA_EXT 0x80CB +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#endif +#endif /* GL_EXT_blend_func_separate */ + +#ifndef GL_EXT_blend_logic_op +#define GL_EXT_blend_logic_op 1 +#endif /* GL_EXT_blend_logic_op */ + +#ifndef GL_EXT_blend_minmax +#define GL_EXT_blend_minmax 1 +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#define GL_FUNC_ADD_EXT 0x8006 +#define GL_BLEND_EQUATION_EXT 0x8009 +typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendEquationEXT (GLenum mode); +#endif +#endif /* GL_EXT_blend_minmax */ + +#ifndef GL_EXT_blend_subtract +#define GL_EXT_blend_subtract 1 +#define GL_FUNC_SUBTRACT_EXT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B +#endif /* GL_EXT_blend_subtract */ + +#ifndef GL_EXT_clip_volume_hint +#define GL_EXT_clip_volume_hint 1 +#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0 +#endif /* GL_EXT_clip_volume_hint */ + +#ifndef GL_EXT_cmyka +#define GL_EXT_cmyka 1 +#define GL_CMYK_EXT 0x800C +#define GL_CMYKA_EXT 0x800D +#define GL_PACK_CMYK_HINT_EXT 0x800E +#define GL_UNPACK_CMYK_HINT_EXT 0x800F +#endif /* GL_EXT_cmyka */ + +#ifndef GL_EXT_color_subtable +#define GL_EXT_color_subtable 1 +typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); +#endif +#endif /* GL_EXT_color_subtable */ + +#ifndef GL_EXT_compiled_vertex_array +#define GL_EXT_compiled_vertex_array 1 +#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8 +#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9 +typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count); +GLAPI void APIENTRY glUnlockArraysEXT (void); +#endif +#endif /* GL_EXT_compiled_vertex_array */ + +#ifndef GL_EXT_convolution +#define GL_EXT_convolution 1 +#define GL_CONVOLUTION_1D_EXT 0x8010 +#define GL_CONVOLUTION_2D_EXT 0x8011 +#define GL_SEPARABLE_2D_EXT 0x8012 +#define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013 +#define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014 +#define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015 +#define GL_REDUCE_EXT 0x8016 +#define GL_CONVOLUTION_FORMAT_EXT 0x8017 +#define GL_CONVOLUTION_WIDTH_EXT 0x8018 +#define GL_CONVOLUTION_HEIGHT_EXT 0x8019 +#define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A +#define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B +#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C +#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D +#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E +#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F +#define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020 +#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021 +#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022 +#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023 +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params); +typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *image); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); +typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *image); +GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *image); +GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params); +GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params); +GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, void *image); +GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, void *row, void *column, void *span); +GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *row, const void *column); +#endif +#endif /* GL_EXT_convolution */ + +#ifndef GL_EXT_coordinate_frame +#define GL_EXT_coordinate_frame 1 +#define GL_TANGENT_ARRAY_EXT 0x8439 +#define GL_BINORMAL_ARRAY_EXT 0x843A +#define GL_CURRENT_TANGENT_EXT 0x843B +#define GL_CURRENT_BINORMAL_EXT 0x843C +#define GL_TANGENT_ARRAY_TYPE_EXT 0x843E +#define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F +#define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440 +#define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441 +#define GL_TANGENT_ARRAY_POINTER_EXT 0x8442 +#define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443 +#define GL_MAP1_TANGENT_EXT 0x8444 +#define GL_MAP2_TANGENT_EXT 0x8445 +#define GL_MAP1_BINORMAL_EXT 0x8446 +#define GL_MAP2_BINORMAL_EXT 0x8447 +typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz); +typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz); +typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz); +typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz); +typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz); +typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz); +typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz); +typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz); +typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz); +typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz); +typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz); +GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v); +GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz); +GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v); +GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz); +GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v); +GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz); +GLAPI void APIENTRY glTangent3ivEXT (const GLint *v); +GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz); +GLAPI void APIENTRY glTangent3svEXT (const GLshort *v); +GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz); +GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v); +GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz); +GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v); +GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz); +GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v); +GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz); +GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v); +GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz); +GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v); +GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const void *pointer); +#endif +#endif /* GL_EXT_coordinate_frame */ + +#ifndef GL_EXT_copy_texture +#define GL_EXT_copy_texture 1 +typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +#endif +#endif /* GL_EXT_copy_texture */ + +#ifndef GL_EXT_cull_vertex +#define GL_EXT_cull_vertex 1 +#define GL_CULL_VERTEX_EXT 0x81AA +#define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB +#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC +typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params); +GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params); +#endif +#endif /* GL_EXT_cull_vertex */ + +#ifndef GL_EXT_debug_label +#define GL_EXT_debug_label 1 +#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F +#define GL_PROGRAM_OBJECT_EXT 0x8B40 +#define GL_SHADER_OBJECT_EXT 0x8B48 +#define GL_BUFFER_OBJECT_EXT 0x9151 +#define GL_QUERY_OBJECT_EXT 0x9153 +#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 +typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); +typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); +GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#endif +#endif /* GL_EXT_debug_label */ + +#ifndef GL_EXT_debug_marker +#define GL_EXT_debug_marker 1 +typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); +GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); +GLAPI void APIENTRY glPopGroupMarkerEXT (void); +#endif +#endif /* GL_EXT_debug_marker */ + +#ifndef GL_EXT_depth_bounds_test +#define GL_EXT_depth_bounds_test 1 +#define GL_DEPTH_BOUNDS_TEST_EXT 0x8890 +#define GL_DEPTH_BOUNDS_EXT 0x8891 +typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax); +#endif +#endif /* GL_EXT_depth_bounds_test */ + +#ifndef GL_EXT_direct_state_access +#define GL_EXT_direct_state_access 1 +#define GL_PROGRAM_MATRIX_EXT 0x8E2D +#define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E +#define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F +typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture); +typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); +typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); +typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data); +typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data); +typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data); +typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index); +typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data); +typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m); +typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m); +typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access); +typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); +typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params); +typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index); +typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target); +typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target); +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); +typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs); +typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); +typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); +typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array); +typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); +typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param); +typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param); +typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); +typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode); +GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glMatrixPopEXT (GLenum mode); +GLAPI void APIENTRY glMatrixPushEXT (GLenum mode); +GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask); +GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask); +GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params); +GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture); +GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param); +GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params); +GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params); +GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); +GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels); +GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params); +GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data); +GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data); +GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data); +GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index); +GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index); +GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index); +GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data); +GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data); +GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img); +GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits); +GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img); +GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m); +GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m); +GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage); +GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data); +GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access); +GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer); +GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params); +GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data); +GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); +GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); +GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); +GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); +GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); +GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); +GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); +GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); +GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer); +GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer); +GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); +GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); +GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); +GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params); +GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params); +GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params); +GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params); +GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params); +GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index); +GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params); +GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string); +GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params); +GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params); +GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params); +GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string); +GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target); +GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params); +GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target); +GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target); +GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode); +GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs); +GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode); +GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); +GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face); +GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array); +GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array); +GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index); +GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index); +GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param); +GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param); +GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param); +GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param); +GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); +GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); +GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data); +GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); +GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params); +GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x); +GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y); +GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); +GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); +GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride); +GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset); +GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); +GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); +GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); +GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); +#endif +#endif /* GL_EXT_direct_state_access */ + +#ifndef GL_EXT_draw_buffers2 +#define GL_EXT_draw_buffers2 1 +typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); +#endif +#endif /* GL_EXT_draw_buffers2 */ + +#ifndef GL_EXT_draw_instanced +#define GL_EXT_draw_instanced 1 +typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); +GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +#endif +#endif /* GL_EXT_draw_instanced */ + +#ifndef GL_EXT_draw_range_elements +#define GL_EXT_draw_range_elements 1 +#define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8 +#define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9 +typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices); +#endif +#endif /* GL_EXT_draw_range_elements */ + +#ifndef GL_EXT_fog_coord +#define GL_EXT_fog_coord 1 +#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450 +#define GL_FOG_COORDINATE_EXT 0x8451 +#define GL_FRAGMENT_DEPTH_EXT 0x8452 +#define GL_CURRENT_FOG_COORDINATE_EXT 0x8453 +#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454 +#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455 +#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456 +#define GL_FOG_COORDINATE_ARRAY_EXT 0x8457 +typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord); +typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord); +typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord); +typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord); +GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord); +GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord); +GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord); +GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const void *pointer); +#endif +#endif /* GL_EXT_fog_coord */ + +#ifndef GL_EXT_framebuffer_blit +#define GL_EXT_framebuffer_blit 1 +#define GL_READ_FRAMEBUFFER_EXT 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA +typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif +#endif /* GL_EXT_framebuffer_blit */ + +#ifndef GL_EXT_framebuffer_multisample +#define GL_EXT_framebuffer_multisample 1 +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_EXT_framebuffer_multisample */ + +#ifndef GL_EXT_framebuffer_multisample_blit_scaled +#define GL_EXT_framebuffer_multisample_blit_scaled 1 +#define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA +#define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB +#endif /* GL_EXT_framebuffer_multisample_blit_scaled */ + +#ifndef GL_EXT_framebuffer_object +#define GL_EXT_framebuffer_object 1 +#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506 +#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8 +#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6 +#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4 +#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9 +#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA +#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB +#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC +#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD +#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF +#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 +#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 +#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 +#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 +#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 +#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 +#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 +#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 +#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 +#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 +#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA +#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB +#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC +#define GL_COLOR_ATTACHMENT13_EXT 0x8CED +#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE +#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF +#define GL_DEPTH_ATTACHMENT_EXT 0x8D00 +#define GL_STENCIL_ATTACHMENT_EXT 0x8D20 +#define GL_FRAMEBUFFER_EXT 0x8D40 +#define GL_RENDERBUFFER_EXT 0x8D41 +#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42 +#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44 +#define GL_STENCIL_INDEX1_EXT 0x8D46 +#define GL_STENCIL_INDEX4_EXT 0x8D47 +#define GL_STENCIL_INDEX8_EXT 0x8D48 +#define GL_STENCIL_INDEX16_EXT 0x8D49 +#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55 +typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer); +typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers); +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer); +typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer); +typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers); +typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers); +typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer); +GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer); +GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers); +GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers); +GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer); +GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer); +GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers); +GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers); +GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target); +GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params); +GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target); +#endif +#endif /* GL_EXT_framebuffer_object */ + +#ifndef GL_EXT_framebuffer_sRGB +#define GL_EXT_framebuffer_sRGB 1 +#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 +#define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA +#endif /* GL_EXT_framebuffer_sRGB */ + +#ifndef GL_EXT_geometry_shader4 +#define GL_EXT_geometry_shader4 1 +#define GL_GEOMETRY_SHADER_EXT 0x8DD9 +#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA +#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB +#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC +#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29 +#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD +#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE +#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B +#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF +#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0 +#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1 +#define GL_LINES_ADJACENCY_EXT 0x000A +#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B +#define GL_TRIANGLES_ADJACENCY_EXT 0x000C +#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8 +#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9 +#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4 +#define GL_PROGRAM_POINT_SIZE_EXT 0x8642 +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); +#endif +#endif /* GL_EXT_geometry_shader4 */ + +#ifndef GL_EXT_gpu_program_parameters +#define GL_EXT_gpu_program_parameters 1 +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); +GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params); +#endif +#endif /* GL_EXT_gpu_program_parameters */ + +#ifndef GL_EXT_gpu_shader4 +#define GL_EXT_gpu_shader4 1 +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD +#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0 +#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1 +#define GL_SAMPLER_BUFFER_EXT 0x8DC2 +#define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3 +#define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4 +#define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5 +#define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6 +#define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7 +#define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8 +#define GL_INT_SAMPLER_1D_EXT 0x8DC9 +#define GL_INT_SAMPLER_2D_EXT 0x8DCA +#define GL_INT_SAMPLER_3D_EXT 0x8DCB +#define GL_INT_SAMPLER_CUBE_EXT 0x8DCC +#define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD +#define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE +#define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF +#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0 +#define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1 +#define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2 +#define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3 +#define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4 +#define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5 +#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6 +#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7 +#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8 +#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 +#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 +typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params); +typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name); +typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0); +typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1); +typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2); +typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); +typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params); +GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name); +GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name); +GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0); +GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1); +GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2); +GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); +GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value); +GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value); +#endif +#endif /* GL_EXT_gpu_shader4 */ + +#ifndef GL_EXT_histogram +#define GL_EXT_histogram 1 +#define GL_HISTOGRAM_EXT 0x8024 +#define GL_PROXY_HISTOGRAM_EXT 0x8025 +#define GL_HISTOGRAM_WIDTH_EXT 0x8026 +#define GL_HISTOGRAM_FORMAT_EXT 0x8027 +#define GL_HISTOGRAM_RED_SIZE_EXT 0x8028 +#define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029 +#define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A +#define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B +#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C +#define GL_HISTOGRAM_SINK_EXT 0x802D +#define GL_MINMAX_EXT 0x802E +#define GL_MINMAX_FORMAT_EXT 0x802F +#define GL_MINMAX_SINK_EXT 0x8030 +#define GL_TABLE_TOO_LARGE_EXT 0x8031 +typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink); +typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target); +typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, void *values); +GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink); +GLAPI void APIENTRY glResetHistogramEXT (GLenum target); +GLAPI void APIENTRY glResetMinmaxEXT (GLenum target); +#endif +#endif /* GL_EXT_histogram */ + +#ifndef GL_EXT_index_array_formats +#define GL_EXT_index_array_formats 1 +#define GL_IUI_V2F_EXT 0x81AD +#define GL_IUI_V3F_EXT 0x81AE +#define GL_IUI_N3F_V2F_EXT 0x81AF +#define GL_IUI_N3F_V3F_EXT 0x81B0 +#define GL_T2F_IUI_V2F_EXT 0x81B1 +#define GL_T2F_IUI_V3F_EXT 0x81B2 +#define GL_T2F_IUI_N3F_V2F_EXT 0x81B3 +#define GL_T2F_IUI_N3F_V3F_EXT 0x81B4 +#endif /* GL_EXT_index_array_formats */ + +#ifndef GL_EXT_index_func +#define GL_EXT_index_func 1 +#define GL_INDEX_TEST_EXT 0x81B5 +#define GL_INDEX_TEST_FUNC_EXT 0x81B6 +#define GL_INDEX_TEST_REF_EXT 0x81B7 +typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref); +#endif +#endif /* GL_EXT_index_func */ + +#ifndef GL_EXT_index_material +#define GL_EXT_index_material 1 +#define GL_INDEX_MATERIAL_EXT 0x81B8 +#define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9 +#define GL_INDEX_MATERIAL_FACE_EXT 0x81BA +typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode); +#endif +#endif /* GL_EXT_index_material */ + +#ifndef GL_EXT_index_texture +#define GL_EXT_index_texture 1 +#endif /* GL_EXT_index_texture */ + +#ifndef GL_EXT_light_texture +#define GL_EXT_light_texture 1 +#define GL_FRAGMENT_MATERIAL_EXT 0x8349 +#define GL_FRAGMENT_NORMAL_EXT 0x834A +#define GL_FRAGMENT_COLOR_EXT 0x834C +#define GL_ATTENUATION_EXT 0x834D +#define GL_SHADOW_ATTENUATION_EXT 0x834E +#define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F +#define GL_TEXTURE_LIGHT_EXT 0x8350 +#define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351 +#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352 +typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode); +typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname); +typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glApplyTextureEXT (GLenum mode); +GLAPI void APIENTRY glTextureLightEXT (GLenum pname); +GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode); +#endif +#endif /* GL_EXT_light_texture */ + +#ifndef GL_EXT_misc_attribute +#define GL_EXT_misc_attribute 1 +#endif /* GL_EXT_misc_attribute */ + +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); +#endif +#endif /* GL_EXT_multi_draw_arrays */ + +#ifndef GL_EXT_multisample +#define GL_EXT_multisample 1 +#define GL_MULTISAMPLE_EXT 0x809D +#define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F +#define GL_SAMPLE_MASK_EXT 0x80A0 +#define GL_1PASS_EXT 0x80A1 +#define GL_2PASS_0_EXT 0x80A2 +#define GL_2PASS_1_EXT 0x80A3 +#define GL_4PASS_0_EXT 0x80A4 +#define GL_4PASS_1_EXT 0x80A5 +#define GL_4PASS_2_EXT 0x80A6 +#define GL_4PASS_3_EXT 0x80A7 +#define GL_SAMPLE_BUFFERS_EXT 0x80A8 +#define GL_SAMPLES_EXT 0x80A9 +#define GL_SAMPLE_MASK_VALUE_EXT 0x80AA +#define GL_SAMPLE_MASK_INVERT_EXT 0x80AB +#define GL_SAMPLE_PATTERN_EXT 0x80AC +#define GL_MULTISAMPLE_BIT_EXT 0x20000000 +typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert); +GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern); +#endif +#endif /* GL_EXT_multisample */ + +#ifndef GL_EXT_packed_depth_stencil +#define GL_EXT_packed_depth_stencil 1 +#define GL_DEPTH_STENCIL_EXT 0x84F9 +#define GL_UNSIGNED_INT_24_8_EXT 0x84FA +#define GL_DEPTH24_STENCIL8_EXT 0x88F0 +#define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1 +#endif /* GL_EXT_packed_depth_stencil */ + +#ifndef GL_EXT_packed_float +#define GL_EXT_packed_float 1 +#define GL_R11F_G11F_B10F_EXT 0x8C3A +#define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B +#define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C +#endif /* GL_EXT_packed_float */ + +#ifndef GL_EXT_packed_pixels +#define GL_EXT_packed_pixels 1 +#define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032 +#define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034 +#define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035 +#define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036 +#endif /* GL_EXT_packed_pixels */ + +#ifndef GL_EXT_paletted_texture +#define GL_EXT_paletted_texture 1 +#define GL_COLOR_INDEX1_EXT 0x80E2 +#define GL_COLOR_INDEX2_EXT 0x80E3 +#define GL_COLOR_INDEX4_EXT 0x80E4 +#define GL_COLOR_INDEX8_EXT 0x80E5 +#define GL_COLOR_INDEX12_EXT 0x80E6 +#define GL_COLOR_INDEX16_EXT 0x80E7 +#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED +typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void *data); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void *table); +GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, void *data); +GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); +#endif +#endif /* GL_EXT_paletted_texture */ + +#ifndef GL_EXT_pixel_buffer_object +#define GL_EXT_pixel_buffer_object 1 +#define GL_PIXEL_PACK_BUFFER_EXT 0x88EB +#define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC +#define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED +#define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF +#endif /* GL_EXT_pixel_buffer_object */ + +#ifndef GL_EXT_pixel_transform +#define GL_EXT_pixel_transform 1 +#define GL_PIXEL_TRANSFORM_2D_EXT 0x8330 +#define GL_PIXEL_MAG_FILTER_EXT 0x8331 +#define GL_PIXEL_MIN_FILTER_EXT 0x8332 +#define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333 +#define GL_CUBIC_EXT 0x8334 +#define GL_AVERAGE_EXT 0x8335 +#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336 +#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337 +#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338 +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params); +#endif +#endif /* GL_EXT_pixel_transform */ + +#ifndef GL_EXT_pixel_transform_color_table +#define GL_EXT_pixel_transform_color_table 1 +#endif /* GL_EXT_pixel_transform_color_table */ + +#ifndef GL_EXT_point_parameters +#define GL_EXT_point_parameters 1 +#define GL_POINT_SIZE_MIN_EXT 0x8126 +#define GL_POINT_SIZE_MAX_EXT 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128 +#define GL_DISTANCE_ATTENUATION_EXT 0x8129 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params); +#endif +#endif /* GL_EXT_point_parameters */ + +#ifndef GL_EXT_polygon_offset +#define GL_EXT_polygon_offset 1 +#define GL_POLYGON_OFFSET_EXT 0x8037 +#define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038 +#define GL_POLYGON_OFFSET_BIAS_EXT 0x8039 +typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias); +#endif +#endif /* GL_EXT_polygon_offset */ + +#ifndef GL_EXT_provoking_vertex +#define GL_EXT_provoking_vertex 1 +#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C +#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D +#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E +#define GL_PROVOKING_VERTEX_EXT 0x8E4F +typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode); +#endif +#endif /* GL_EXT_provoking_vertex */ + +#ifndef GL_EXT_rescale_normal +#define GL_EXT_rescale_normal 1 +#define GL_RESCALE_NORMAL_EXT 0x803A +#endif /* GL_EXT_rescale_normal */ + +#ifndef GL_EXT_secondary_color +#define GL_EXT_secondary_color 1 +#define GL_COLOR_SUM_EXT 0x8458 +#define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459 +#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A +#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B +#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C +#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D +#define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue); +GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v); +GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue); +GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v); +GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue); +GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v); +GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue); +GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v); +GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue); +GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v); +GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue); +GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v); +GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue); +GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v); +GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue); +GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v); +GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer); +#endif +#endif /* GL_EXT_secondary_color */ + +#ifndef GL_EXT_separate_shader_objects +#define GL_EXT_separate_shader_objects 1 +#define GL_ACTIVE_PROGRAM_EXT 0x8B8D +typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program); +typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program); +typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program); +GLAPI void APIENTRY glActiveProgramEXT (GLuint program); +GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string); +#endif +#endif /* GL_EXT_separate_shader_objects */ + +#ifndef GL_EXT_separate_specular_color +#define GL_EXT_separate_specular_color 1 +#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8 +#define GL_SINGLE_COLOR_EXT 0x81F9 +#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA +#endif /* GL_EXT_separate_specular_color */ + +#ifndef GL_EXT_shader_image_load_formatted +#define GL_EXT_shader_image_load_formatted 1 +#endif /* GL_EXT_shader_image_load_formatted */ + +#ifndef GL_EXT_shader_image_load_store +#define GL_EXT_shader_image_load_store 1 +#define GL_MAX_IMAGE_UNITS_EXT 0x8F38 +#define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39 +#define GL_IMAGE_BINDING_NAME_EXT 0x8F3A +#define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B +#define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C +#define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D +#define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E +#define GL_IMAGE_1D_EXT 0x904C +#define GL_IMAGE_2D_EXT 0x904D +#define GL_IMAGE_3D_EXT 0x904E +#define GL_IMAGE_2D_RECT_EXT 0x904F +#define GL_IMAGE_CUBE_EXT 0x9050 +#define GL_IMAGE_BUFFER_EXT 0x9051 +#define GL_IMAGE_1D_ARRAY_EXT 0x9052 +#define GL_IMAGE_2D_ARRAY_EXT 0x9053 +#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054 +#define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055 +#define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056 +#define GL_INT_IMAGE_1D_EXT 0x9057 +#define GL_INT_IMAGE_2D_EXT 0x9058 +#define GL_INT_IMAGE_3D_EXT 0x9059 +#define GL_INT_IMAGE_2D_RECT_EXT 0x905A +#define GL_INT_IMAGE_CUBE_EXT 0x905B +#define GL_INT_IMAGE_BUFFER_EXT 0x905C +#define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D +#define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E +#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F +#define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060 +#define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061 +#define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062 +#define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063 +#define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064 +#define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065 +#define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066 +#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067 +#define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068 +#define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069 +#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B +#define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C +#define GL_MAX_IMAGE_SAMPLES_EXT 0x906D +#define GL_IMAGE_BINDING_FORMAT_EXT 0x906E +#define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001 +#define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002 +#define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004 +#define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008 +#define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020 +#define GL_COMMAND_BARRIER_BIT_EXT 0x00000040 +#define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080 +#define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100 +#define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200 +#define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400 +#define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800 +#define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000 +#define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF +typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); +typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format); +GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers); +#endif +#endif /* GL_EXT_shader_image_load_store */ + +#ifndef GL_EXT_shader_integer_mix +#define GL_EXT_shader_integer_mix 1 +#endif /* GL_EXT_shader_integer_mix */ + +#ifndef GL_EXT_shadow_funcs +#define GL_EXT_shadow_funcs 1 +#endif /* GL_EXT_shadow_funcs */ + +#ifndef GL_EXT_shared_texture_palette +#define GL_EXT_shared_texture_palette 1 +#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB +#endif /* GL_EXT_shared_texture_palette */ + +#ifndef GL_EXT_stencil_clear_tag +#define GL_EXT_stencil_clear_tag 1 +#define GL_STENCIL_TAG_BITS_EXT 0x88F2 +#define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3 +typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag); +#endif +#endif /* GL_EXT_stencil_clear_tag */ + +#ifndef GL_EXT_stencil_two_side +#define GL_EXT_stencil_two_side 1 +#define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910 +#define GL_ACTIVE_STENCIL_FACE_EXT 0x8911 +typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face); +#endif +#endif /* GL_EXT_stencil_two_side */ + +#ifndef GL_EXT_stencil_wrap +#define GL_EXT_stencil_wrap 1 +#define GL_INCR_WRAP_EXT 0x8507 +#define GL_DECR_WRAP_EXT 0x8508 +#endif /* GL_EXT_stencil_wrap */ + +#ifndef GL_EXT_subtexture +#define GL_EXT_subtexture 1 +typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels); +#endif +#endif /* GL_EXT_subtexture */ + +#ifndef GL_EXT_texture +#define GL_EXT_texture 1 +#define GL_ALPHA4_EXT 0x803B +#define GL_ALPHA8_EXT 0x803C +#define GL_ALPHA12_EXT 0x803D +#define GL_ALPHA16_EXT 0x803E +#define GL_LUMINANCE4_EXT 0x803F +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE12_EXT 0x8041 +#define GL_LUMINANCE16_EXT 0x8042 +#define GL_LUMINANCE4_ALPHA4_EXT 0x8043 +#define GL_LUMINANCE6_ALPHA2_EXT 0x8044 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_LUMINANCE12_ALPHA4_EXT 0x8046 +#define GL_LUMINANCE12_ALPHA12_EXT 0x8047 +#define GL_LUMINANCE16_ALPHA16_EXT 0x8048 +#define GL_INTENSITY_EXT 0x8049 +#define GL_INTENSITY4_EXT 0x804A +#define GL_INTENSITY8_EXT 0x804B +#define GL_INTENSITY12_EXT 0x804C +#define GL_INTENSITY16_EXT 0x804D +#define GL_RGB2_EXT 0x804E +#define GL_RGB4_EXT 0x804F +#define GL_RGB5_EXT 0x8050 +#define GL_RGB8_EXT 0x8051 +#define GL_RGB10_EXT 0x8052 +#define GL_RGB12_EXT 0x8053 +#define GL_RGB16_EXT 0x8054 +#define GL_RGBA2_EXT 0x8055 +#define GL_RGBA4_EXT 0x8056 +#define GL_RGB5_A1_EXT 0x8057 +#define GL_RGBA8_EXT 0x8058 +#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGBA12_EXT 0x805A +#define GL_RGBA16_EXT 0x805B +#define GL_TEXTURE_RED_SIZE_EXT 0x805C +#define GL_TEXTURE_GREEN_SIZE_EXT 0x805D +#define GL_TEXTURE_BLUE_SIZE_EXT 0x805E +#define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F +#define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060 +#define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061 +#define GL_REPLACE_EXT 0x8062 +#define GL_PROXY_TEXTURE_1D_EXT 0x8063 +#define GL_PROXY_TEXTURE_2D_EXT 0x8064 +#define GL_TEXTURE_TOO_LARGE_EXT 0x8065 +#endif /* GL_EXT_texture */ + +#ifndef GL_EXT_texture3D +#define GL_EXT_texture3D 1 +#define GL_PACK_SKIP_IMAGES_EXT 0x806B +#define GL_PACK_IMAGE_HEIGHT_EXT 0x806C +#define GL_UNPACK_SKIP_IMAGES_EXT 0x806D +#define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E +#define GL_TEXTURE_3D_EXT 0x806F +#define GL_PROXY_TEXTURE_3D_EXT 0x8070 +#define GL_TEXTURE_DEPTH_EXT 0x8071 +#define GL_TEXTURE_WRAP_R_EXT 0x8072 +#define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073 +typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); +#endif +#endif /* GL_EXT_texture3D */ + +#ifndef GL_EXT_texture_array +#define GL_EXT_texture_array 1 +#define GL_TEXTURE_1D_ARRAY_EXT 0x8C18 +#define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19 +#define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A +#define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B +#define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C +#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D +#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF +#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E +#endif /* GL_EXT_texture_array */ + +#ifndef GL_EXT_texture_buffer_object +#define GL_EXT_texture_buffer_object 1 +#define GL_TEXTURE_BUFFER_EXT 0x8C2A +#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B +#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C +#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D +#define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E +typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer); +#endif +#endif /* GL_EXT_texture_buffer_object */ + +#ifndef GL_EXT_texture_compression_latc +#define GL_EXT_texture_compression_latc 1 +#define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70 +#define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71 +#define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72 +#define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73 +#endif /* GL_EXT_texture_compression_latc */ + +#ifndef GL_EXT_texture_compression_rgtc +#define GL_EXT_texture_compression_rgtc 1 +#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB +#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC +#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD +#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE +#endif /* GL_EXT_texture_compression_rgtc */ + +#ifndef GL_EXT_texture_compression_s3tc +#define GL_EXT_texture_compression_s3tc 1 +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 +#endif /* GL_EXT_texture_compression_s3tc */ + +#ifndef GL_EXT_texture_cube_map +#define GL_EXT_texture_cube_map 1 +#define GL_NORMAL_MAP_EXT 0x8511 +#define GL_REFLECTION_MAP_EXT 0x8512 +#define GL_TEXTURE_CUBE_MAP_EXT 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A +#define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C +#endif /* GL_EXT_texture_cube_map */ + +#ifndef GL_EXT_texture_env_add +#define GL_EXT_texture_env_add 1 +#endif /* GL_EXT_texture_env_add */ + +#ifndef GL_EXT_texture_env_combine +#define GL_EXT_texture_env_combine 1 +#define GL_COMBINE_EXT 0x8570 +#define GL_COMBINE_RGB_EXT 0x8571 +#define GL_COMBINE_ALPHA_EXT 0x8572 +#define GL_RGB_SCALE_EXT 0x8573 +#define GL_ADD_SIGNED_EXT 0x8574 +#define GL_INTERPOLATE_EXT 0x8575 +#define GL_CONSTANT_EXT 0x8576 +#define GL_PRIMARY_COLOR_EXT 0x8577 +#define GL_PREVIOUS_EXT 0x8578 +#define GL_SOURCE0_RGB_EXT 0x8580 +#define GL_SOURCE1_RGB_EXT 0x8581 +#define GL_SOURCE2_RGB_EXT 0x8582 +#define GL_SOURCE0_ALPHA_EXT 0x8588 +#define GL_SOURCE1_ALPHA_EXT 0x8589 +#define GL_SOURCE2_ALPHA_EXT 0x858A +#define GL_OPERAND0_RGB_EXT 0x8590 +#define GL_OPERAND1_RGB_EXT 0x8591 +#define GL_OPERAND2_RGB_EXT 0x8592 +#define GL_OPERAND0_ALPHA_EXT 0x8598 +#define GL_OPERAND1_ALPHA_EXT 0x8599 +#define GL_OPERAND2_ALPHA_EXT 0x859A +#endif /* GL_EXT_texture_env_combine */ + +#ifndef GL_EXT_texture_env_dot3 +#define GL_EXT_texture_env_dot3 1 +#define GL_DOT3_RGB_EXT 0x8740 +#define GL_DOT3_RGBA_EXT 0x8741 +#endif /* GL_EXT_texture_env_dot3 */ + +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_EXT_texture_filter_anisotropic 1 +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif /* GL_EXT_texture_filter_anisotropic */ + +#ifndef GL_EXT_texture_integer +#define GL_EXT_texture_integer 1 +#define GL_RGBA32UI_EXT 0x8D70 +#define GL_RGB32UI_EXT 0x8D71 +#define GL_ALPHA32UI_EXT 0x8D72 +#define GL_INTENSITY32UI_EXT 0x8D73 +#define GL_LUMINANCE32UI_EXT 0x8D74 +#define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75 +#define GL_RGBA16UI_EXT 0x8D76 +#define GL_RGB16UI_EXT 0x8D77 +#define GL_ALPHA16UI_EXT 0x8D78 +#define GL_INTENSITY16UI_EXT 0x8D79 +#define GL_LUMINANCE16UI_EXT 0x8D7A +#define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B +#define GL_RGBA8UI_EXT 0x8D7C +#define GL_RGB8UI_EXT 0x8D7D +#define GL_ALPHA8UI_EXT 0x8D7E +#define GL_INTENSITY8UI_EXT 0x8D7F +#define GL_LUMINANCE8UI_EXT 0x8D80 +#define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81 +#define GL_RGBA32I_EXT 0x8D82 +#define GL_RGB32I_EXT 0x8D83 +#define GL_ALPHA32I_EXT 0x8D84 +#define GL_INTENSITY32I_EXT 0x8D85 +#define GL_LUMINANCE32I_EXT 0x8D86 +#define GL_LUMINANCE_ALPHA32I_EXT 0x8D87 +#define GL_RGBA16I_EXT 0x8D88 +#define GL_RGB16I_EXT 0x8D89 +#define GL_ALPHA16I_EXT 0x8D8A +#define GL_INTENSITY16I_EXT 0x8D8B +#define GL_LUMINANCE16I_EXT 0x8D8C +#define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D +#define GL_RGBA8I_EXT 0x8D8E +#define GL_RGB8I_EXT 0x8D8F +#define GL_ALPHA8I_EXT 0x8D90 +#define GL_INTENSITY8I_EXT 0x8D91 +#define GL_LUMINANCE8I_EXT 0x8D92 +#define GL_LUMINANCE_ALPHA8I_EXT 0x8D93 +#define GL_RED_INTEGER_EXT 0x8D94 +#define GL_GREEN_INTEGER_EXT 0x8D95 +#define GL_BLUE_INTEGER_EXT 0x8D96 +#define GL_ALPHA_INTEGER_EXT 0x8D97 +#define GL_RGB_INTEGER_EXT 0x8D98 +#define GL_RGBA_INTEGER_EXT 0x8D99 +#define GL_BGR_INTEGER_EXT 0x8D9A +#define GL_BGRA_INTEGER_EXT 0x8D9B +#define GL_LUMINANCE_INTEGER_EXT 0x8D9C +#define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D +#define GL_RGBA_INTEGER_MODE_EXT 0x8D9E +typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha); +typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params); +GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params); +GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha); +GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha); +#endif +#endif /* GL_EXT_texture_integer */ + +#ifndef GL_EXT_texture_lod_bias +#define GL_EXT_texture_lod_bias 1 +#define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD +#define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500 +#define GL_TEXTURE_LOD_BIAS_EXT 0x8501 +#endif /* GL_EXT_texture_lod_bias */ + +#ifndef GL_EXT_texture_mirror_clamp +#define GL_EXT_texture_mirror_clamp 1 +#define GL_MIRROR_CLAMP_EXT 0x8742 +#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743 +#define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912 +#endif /* GL_EXT_texture_mirror_clamp */ + +#ifndef GL_EXT_texture_object +#define GL_EXT_texture_object 1 +#define GL_TEXTURE_PRIORITY_EXT 0x8066 +#define GL_TEXTURE_RESIDENT_EXT 0x8067 +#define GL_TEXTURE_1D_BINDING_EXT 0x8068 +#define GL_TEXTURE_2D_BINDING_EXT 0x8069 +#define GL_TEXTURE_3D_BINDING_EXT 0x806A +typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences); +typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture); +typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures); +typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures); +typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture); +typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences); +GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture); +GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures); +GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures); +GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture); +GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities); +#endif +#endif /* GL_EXT_texture_object */ + +#ifndef GL_EXT_texture_perturb_normal +#define GL_EXT_texture_perturb_normal 1 +#define GL_PERTURB_EXT 0x85AE +#define GL_TEXTURE_NORMAL_EXT 0x85AF +typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); +#endif +#endif /* GL_EXT_texture_perturb_normal */ + +#ifndef GL_EXT_texture_sRGB +#define GL_EXT_texture_sRGB 1 +#define GL_SRGB_EXT 0x8C40 +#define GL_SRGB8_EXT 0x8C41 +#define GL_SRGB_ALPHA_EXT 0x8C42 +#define GL_SRGB8_ALPHA8_EXT 0x8C43 +#define GL_SLUMINANCE_ALPHA_EXT 0x8C44 +#define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45 +#define GL_SLUMINANCE_EXT 0x8C46 +#define GL_SLUMINANCE8_EXT 0x8C47 +#define GL_COMPRESSED_SRGB_EXT 0x8C48 +#define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49 +#define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A +#define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B +#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F +#endif /* GL_EXT_texture_sRGB */ + +#ifndef GL_EXT_texture_sRGB_decode +#define GL_EXT_texture_sRGB_decode 1 +#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 +#define GL_DECODE_EXT 0x8A49 +#define GL_SKIP_DECODE_EXT 0x8A4A +#endif /* GL_EXT_texture_sRGB_decode */ + +#ifndef GL_EXT_texture_shared_exponent +#define GL_EXT_texture_shared_exponent 1 +#define GL_RGB9_E5_EXT 0x8C3D +#define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E +#define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F +#endif /* GL_EXT_texture_shared_exponent */ + +#ifndef GL_EXT_texture_snorm +#define GL_EXT_texture_snorm 1 +#define GL_ALPHA_SNORM 0x9010 +#define GL_LUMINANCE_SNORM 0x9011 +#define GL_LUMINANCE_ALPHA_SNORM 0x9012 +#define GL_INTENSITY_SNORM 0x9013 +#define GL_ALPHA8_SNORM 0x9014 +#define GL_LUMINANCE8_SNORM 0x9015 +#define GL_LUMINANCE8_ALPHA8_SNORM 0x9016 +#define GL_INTENSITY8_SNORM 0x9017 +#define GL_ALPHA16_SNORM 0x9018 +#define GL_LUMINANCE16_SNORM 0x9019 +#define GL_LUMINANCE16_ALPHA16_SNORM 0x901A +#define GL_INTENSITY16_SNORM 0x901B +#define GL_RED_SNORM 0x8F90 +#define GL_RG_SNORM 0x8F91 +#define GL_RGB_SNORM 0x8F92 +#define GL_RGBA_SNORM 0x8F93 +#endif /* GL_EXT_texture_snorm */ + +#ifndef GL_EXT_texture_swizzle +#define GL_EXT_texture_swizzle 1 +#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42 +#define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43 +#define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44 +#define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45 +#define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46 +#endif /* GL_EXT_texture_swizzle */ + +#ifndef GL_EXT_timer_query +#define GL_EXT_timer_query 1 +#define GL_TIME_ELAPSED_EXT 0x88BF +typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); +typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); +GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); +#endif +#endif /* GL_EXT_timer_query */ + +#ifndef GL_EXT_transform_feedback +#define GL_EXT_transform_feedback 1 +#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85 +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F +#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C +#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D +#define GL_PRIMITIVES_GENERATED_EXT 0x8C87 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88 +#define GL_RASTERIZER_DISCARD_EXT 0x8C89 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80 +#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F +#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode); +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void); +typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); +typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode); +GLAPI void APIENTRY glEndTransformFeedbackEXT (void); +GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset); +GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer); +GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode); +GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +#endif +#endif /* GL_EXT_transform_feedback */ + +#ifndef GL_EXT_vertex_array +#define GL_EXT_vertex_array 1 +#define GL_VERTEX_ARRAY_EXT 0x8074 +#define GL_NORMAL_ARRAY_EXT 0x8075 +#define GL_COLOR_ARRAY_EXT 0x8076 +#define GL_INDEX_ARRAY_EXT 0x8077 +#define GL_TEXTURE_COORD_ARRAY_EXT 0x8078 +#define GL_EDGE_FLAG_ARRAY_EXT 0x8079 +#define GL_VERTEX_ARRAY_SIZE_EXT 0x807A +#define GL_VERTEX_ARRAY_TYPE_EXT 0x807B +#define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C +#define GL_VERTEX_ARRAY_COUNT_EXT 0x807D +#define GL_NORMAL_ARRAY_TYPE_EXT 0x807E +#define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F +#define GL_NORMAL_ARRAY_COUNT_EXT 0x8080 +#define GL_COLOR_ARRAY_SIZE_EXT 0x8081 +#define GL_COLOR_ARRAY_TYPE_EXT 0x8082 +#define GL_COLOR_ARRAY_STRIDE_EXT 0x8083 +#define GL_COLOR_ARRAY_COUNT_EXT 0x8084 +#define GL_INDEX_ARRAY_TYPE_EXT 0x8085 +#define GL_INDEX_ARRAY_STRIDE_EXT 0x8086 +#define GL_INDEX_ARRAY_COUNT_EXT 0x8087 +#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088 +#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089 +#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A +#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B +#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C +#define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D +#define GL_VERTEX_ARRAY_POINTER_EXT 0x808E +#define GL_NORMAL_ARRAY_POINTER_EXT 0x808F +#define GL_COLOR_ARRAY_POINTER_EXT 0x8090 +#define GL_INDEX_ARRAY_POINTER_EXT 0x8091 +#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092 +#define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093 +typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i); +typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count); +typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer); +typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, void **params); +typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer); +typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void *pointer); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glArrayElementEXT (GLint i); +GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count); +GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer); +GLAPI void APIENTRY glGetPointervEXT (GLenum pname, void **params); +GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer); +GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const void *pointer); +GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const void *pointer); +#endif +#endif /* GL_EXT_vertex_array */ + +#ifndef GL_EXT_vertex_array_bgra +#define GL_EXT_vertex_array_bgra 1 +#endif /* GL_EXT_vertex_array_bgra */ + +#ifndef GL_EXT_vertex_attrib_64bit +#define GL_EXT_vertex_attrib_64bit 1 +#define GL_DOUBLE_VEC2_EXT 0x8FFC +#define GL_DOUBLE_VEC3_EXT 0x8FFD +#define GL_DOUBLE_VEC4_EXT 0x8FFE +#define GL_DOUBLE_MAT2_EXT 0x8F46 +#define GL_DOUBLE_MAT3_EXT 0x8F47 +#define GL_DOUBLE_MAT4_EXT 0x8F48 +#define GL_DOUBLE_MAT2x3_EXT 0x8F49 +#define GL_DOUBLE_MAT2x4_EXT 0x8F4A +#define GL_DOUBLE_MAT3x2_EXT 0x8F4B +#define GL_DOUBLE_MAT3x4_EXT 0x8F4C +#define GL_DOUBLE_MAT4x2_EXT 0x8F4D +#define GL_DOUBLE_MAT4x3_EXT 0x8F4E +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x); +GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params); +#endif +#endif /* GL_EXT_vertex_attrib_64bit */ + +#ifndef GL_EXT_vertex_shader +#define GL_EXT_vertex_shader 1 +#define GL_VERTEX_SHADER_EXT 0x8780 +#define GL_VERTEX_SHADER_BINDING_EXT 0x8781 +#define GL_OP_INDEX_EXT 0x8782 +#define GL_OP_NEGATE_EXT 0x8783 +#define GL_OP_DOT3_EXT 0x8784 +#define GL_OP_DOT4_EXT 0x8785 +#define GL_OP_MUL_EXT 0x8786 +#define GL_OP_ADD_EXT 0x8787 +#define GL_OP_MADD_EXT 0x8788 +#define GL_OP_FRAC_EXT 0x8789 +#define GL_OP_MAX_EXT 0x878A +#define GL_OP_MIN_EXT 0x878B +#define GL_OP_SET_GE_EXT 0x878C +#define GL_OP_SET_LT_EXT 0x878D +#define GL_OP_CLAMP_EXT 0x878E +#define GL_OP_FLOOR_EXT 0x878F +#define GL_OP_ROUND_EXT 0x8790 +#define GL_OP_EXP_BASE_2_EXT 0x8791 +#define GL_OP_LOG_BASE_2_EXT 0x8792 +#define GL_OP_POWER_EXT 0x8793 +#define GL_OP_RECIP_EXT 0x8794 +#define GL_OP_RECIP_SQRT_EXT 0x8795 +#define GL_OP_SUB_EXT 0x8796 +#define GL_OP_CROSS_PRODUCT_EXT 0x8797 +#define GL_OP_MULTIPLY_MATRIX_EXT 0x8798 +#define GL_OP_MOV_EXT 0x8799 +#define GL_OUTPUT_VERTEX_EXT 0x879A +#define GL_OUTPUT_COLOR0_EXT 0x879B +#define GL_OUTPUT_COLOR1_EXT 0x879C +#define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D +#define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E +#define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F +#define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0 +#define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1 +#define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2 +#define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3 +#define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4 +#define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5 +#define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6 +#define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7 +#define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8 +#define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9 +#define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA +#define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB +#define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC +#define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD +#define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE +#define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF +#define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0 +#define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1 +#define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2 +#define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3 +#define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4 +#define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5 +#define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6 +#define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7 +#define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8 +#define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9 +#define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA +#define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB +#define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC +#define GL_OUTPUT_FOG_EXT 0x87BD +#define GL_SCALAR_EXT 0x87BE +#define GL_VECTOR_EXT 0x87BF +#define GL_MATRIX_EXT 0x87C0 +#define GL_VARIANT_EXT 0x87C1 +#define GL_INVARIANT_EXT 0x87C2 +#define GL_LOCAL_CONSTANT_EXT 0x87C3 +#define GL_LOCAL_EXT 0x87C4 +#define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5 +#define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6 +#define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7 +#define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8 +#define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9 +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD +#define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE +#define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF +#define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0 +#define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1 +#define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2 +#define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3 +#define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4 +#define GL_X_EXT 0x87D5 +#define GL_Y_EXT 0x87D6 +#define GL_Z_EXT 0x87D7 +#define GL_W_EXT 0x87D8 +#define GL_NEGATIVE_X_EXT 0x87D9 +#define GL_NEGATIVE_Y_EXT 0x87DA +#define GL_NEGATIVE_Z_EXT 0x87DB +#define GL_NEGATIVE_W_EXT 0x87DC +#define GL_ZERO_EXT 0x87DD +#define GL_ONE_EXT 0x87DE +#define GL_NEGATIVE_ONE_EXT 0x87DF +#define GL_NORMALIZED_RANGE_EXT 0x87E0 +#define GL_FULL_RANGE_EXT 0x87E1 +#define GL_CURRENT_VERTEX_EXT 0x87E2 +#define GL_MVP_MATRIX_EXT 0x87E3 +#define GL_VARIANT_VALUE_EXT 0x87E4 +#define GL_VARIANT_DATATYPE_EXT 0x87E5 +#define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6 +#define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7 +#define GL_VARIANT_ARRAY_EXT 0x87E8 +#define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9 +#define GL_INVARIANT_VALUE_EXT 0x87EA +#define GL_INVARIANT_DATATYPE_EXT 0x87EB +#define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC +#define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED +typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void); +typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void); +typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id); +typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range); +typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id); +typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1); +typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2); +typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); +typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num); +typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); +typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const void *addr); +typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const void *addr); +typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr); +typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr); +typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr); +typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr); +typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr); +typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr); +typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr); +typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr); +typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const void *addr); +typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id); +typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value); +typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value); +typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap); +typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, void **data); +typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data); +typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginVertexShaderEXT (void); +GLAPI void APIENTRY glEndVertexShaderEXT (void); +GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id); +GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range); +GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id); +GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1); +GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2); +GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3); +GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW); +GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num); +GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num); +GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components); +GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const void *addr); +GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const void *addr); +GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr); +GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr); +GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr); +GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr); +GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr); +GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr); +GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr); +GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr); +GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const void *addr); +GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id); +GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id); +GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value); +GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value); +GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value); +GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value); +GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value); +GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap); +GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); +GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data); +GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); +GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, void **data); +GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); +GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data); +GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data); +GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data); +GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data); +GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data); +#endif +#endif /* GL_EXT_vertex_shader */ + +#ifndef GL_EXT_vertex_weighting +#define GL_EXT_vertex_weighting 1 +#define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3 +#define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502 +#define GL_MODELVIEW0_MATRIX_EXT 0x0BA6 +#define GL_MODELVIEW1_MATRIX_EXT 0x8506 +#define GL_VERTEX_WEIGHTING_EXT 0x8509 +#define GL_MODELVIEW0_EXT 0x1700 +#define GL_MODELVIEW1_EXT 0x850A +#define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B +#define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C +#define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D +#define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E +#define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F +#define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510 +typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight); +GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight); +GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const void *pointer); +#endif +#endif /* GL_EXT_vertex_weighting */ + +#ifndef GL_EXT_x11_sync_object +#define GL_EXT_x11_sync_object 1 +#define GL_SYNC_X11_FENCE_EXT 0x90E1 +typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags); +#endif +#endif /* GL_EXT_x11_sync_object */ + +#ifndef GL_GREMEDY_frame_terminator +#define GL_GREMEDY_frame_terminator 1 +typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); +#endif +#endif /* GL_GREMEDY_frame_terminator */ + +#ifndef GL_GREMEDY_string_marker +#define GL_GREMEDY_string_marker 1 +typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void *string); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const void *string); +#endif +#endif /* GL_GREMEDY_string_marker */ + +#ifndef GL_HP_convolution_border_modes +#define GL_HP_convolution_border_modes 1 +#define GL_IGNORE_BORDER_HP 0x8150 +#define GL_CONSTANT_BORDER_HP 0x8151 +#define GL_REPLICATE_BORDER_HP 0x8153 +#define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154 +#endif /* GL_HP_convolution_border_modes */ + +#ifndef GL_HP_image_transform +#define GL_HP_image_transform 1 +#define GL_IMAGE_SCALE_X_HP 0x8155 +#define GL_IMAGE_SCALE_Y_HP 0x8156 +#define GL_IMAGE_TRANSLATE_X_HP 0x8157 +#define GL_IMAGE_TRANSLATE_Y_HP 0x8158 +#define GL_IMAGE_ROTATE_ANGLE_HP 0x8159 +#define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A +#define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B +#define GL_IMAGE_MAG_FILTER_HP 0x815C +#define GL_IMAGE_MIN_FILTER_HP 0x815D +#define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E +#define GL_CUBIC_HP 0x815F +#define GL_AVERAGE_HP 0x8160 +#define GL_IMAGE_TRANSFORM_2D_HP 0x8161 +#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162 +#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163 +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param); +GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param); +GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params); +#endif +#endif /* GL_HP_image_transform */ + +#ifndef GL_HP_occlusion_test +#define GL_HP_occlusion_test 1 +#define GL_OCCLUSION_TEST_HP 0x8165 +#define GL_OCCLUSION_TEST_RESULT_HP 0x8166 +#endif /* GL_HP_occlusion_test */ + +#ifndef GL_HP_texture_lighting +#define GL_HP_texture_lighting 1 +#define GL_TEXTURE_LIGHTING_MODE_HP 0x8167 +#define GL_TEXTURE_POST_SPECULAR_HP 0x8168 +#define GL_TEXTURE_PRE_SPECULAR_HP 0x8169 +#endif /* GL_HP_texture_lighting */ + +#ifndef GL_IBM_cull_vertex +#define GL_IBM_cull_vertex 1 +#define GL_CULL_VERTEX_IBM 103050 +#endif /* GL_IBM_cull_vertex */ + +#ifndef GL_IBM_multimode_draw_arrays +#define GL_IBM_multimode_draw_arrays 1 +typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); +typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride); +GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, GLint modestride); +#endif +#endif /* GL_IBM_multimode_draw_arrays */ + +#ifndef GL_IBM_rasterpos_clip +#define GL_IBM_rasterpos_clip 1 +#define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262 +#endif /* GL_IBM_rasterpos_clip */ + +#ifndef GL_IBM_static_data +#define GL_IBM_static_data 1 +#define GL_ALL_STATIC_DATA_IBM 103060 +#define GL_STATIC_VERTEX_ARRAY_IBM 103061 +typedef void (APIENTRYP PFNGLFLUSHSTATICDATAIBMPROC) (GLenum target); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFlushStaticDataIBM (GLenum target); +#endif +#endif /* GL_IBM_static_data */ + +#ifndef GL_IBM_texture_mirrored_repeat +#define GL_IBM_texture_mirrored_repeat 1 +#define GL_MIRRORED_REPEAT_IBM 0x8370 +#endif /* GL_IBM_texture_mirrored_repeat */ + +#ifndef GL_IBM_vertex_array_lists +#define GL_IBM_vertex_array_lists 1 +#define GL_VERTEX_ARRAY_LIST_IBM 103070 +#define GL_NORMAL_ARRAY_LIST_IBM 103071 +#define GL_COLOR_ARRAY_LIST_IBM 103072 +#define GL_INDEX_ARRAY_LIST_IBM 103073 +#define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074 +#define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075 +#define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076 +#define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077 +#define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080 +#define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081 +#define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082 +#define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083 +#define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084 +#define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085 +#define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086 +#define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087 +typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean **pointer, GLint ptrstride); +GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const void **pointer, GLint ptrstride); +#endif +#endif /* GL_IBM_vertex_array_lists */ + +#ifndef GL_INGR_blend_func_separate +#define GL_INGR_blend_func_separate 1 +typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); +#endif +#endif /* GL_INGR_blend_func_separate */ + +#ifndef GL_INGR_color_clamp +#define GL_INGR_color_clamp 1 +#define GL_RED_MIN_CLAMP_INGR 0x8560 +#define GL_GREEN_MIN_CLAMP_INGR 0x8561 +#define GL_BLUE_MIN_CLAMP_INGR 0x8562 +#define GL_ALPHA_MIN_CLAMP_INGR 0x8563 +#define GL_RED_MAX_CLAMP_INGR 0x8564 +#define GL_GREEN_MAX_CLAMP_INGR 0x8565 +#define GL_BLUE_MAX_CLAMP_INGR 0x8566 +#define GL_ALPHA_MAX_CLAMP_INGR 0x8567 +#endif /* GL_INGR_color_clamp */ + +#ifndef GL_INGR_interlace_read +#define GL_INGR_interlace_read 1 +#define GL_INTERLACE_READ_INGR 0x8568 +#endif /* GL_INGR_interlace_read */ + +#ifndef GL_INTEL_fragment_shader_ordering +#define GL_INTEL_fragment_shader_ordering 1 +#endif /* GL_INTEL_fragment_shader_ordering */ + +#ifndef GL_INTEL_map_texture +#define GL_INTEL_map_texture 1 +#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF +#define GL_LAYOUT_DEFAULT_INTEL 0 +#define GL_LAYOUT_LINEAR_INTEL 1 +#define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2 +typedef void (APIENTRYP PFNGLSYNCTEXTUREINTELPROC) (GLuint texture); +typedef void (APIENTRYP PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level); +typedef void *(APIENTRYP PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSyncTextureINTEL (GLuint texture); +GLAPI void APIENTRY glUnmapTexture2DINTEL (GLuint texture, GLint level); +GLAPI void *APIENTRY glMapTexture2DINTEL (GLuint texture, GLint level, GLbitfield access, GLint *stride, GLenum *layout); +#endif +#endif /* GL_INTEL_map_texture */ + +#ifndef GL_INTEL_parallel_arrays +#define GL_INTEL_parallel_arrays 1 +#define GL_PARALLEL_ARRAYS_INTEL 0x83F4 +#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5 +#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6 +#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7 +#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8 +typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); +typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void **pointer); +typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); +typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void **pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const void **pointer); +GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const void **pointer); +GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const void **pointer); +GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const void **pointer); +#endif +#endif /* GL_INTEL_parallel_arrays */ + +#ifndef GL_INTEL_performance_query +#define GL_INTEL_performance_query 1 +#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000 +#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001 +#define GL_PERFQUERY_WAIT_INTEL 0x83FB +#define GL_PERFQUERY_FLUSH_INTEL 0x83FA +#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9 +#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0 +#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1 +#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2 +#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3 +#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4 +#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5 +#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8 +#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9 +#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA +#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB +#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC +#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD +#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE +#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF +#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500 +typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle); +typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); +typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId); +typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId); +typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId); +typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle); +GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); +GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId); +GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId); +GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue); +GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten); +GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId); +GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask); +#endif +#endif /* GL_INTEL_performance_query */ + +#ifndef GL_MESAX_texture_stack +#define GL_MESAX_texture_stack 1 +#define GL_TEXTURE_1D_STACK_MESAX 0x8759 +#define GL_TEXTURE_2D_STACK_MESAX 0x875A +#define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B +#define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C +#define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D +#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E +#endif /* GL_MESAX_texture_stack */ + +#ifndef GL_MESA_pack_invert +#define GL_MESA_pack_invert 1 +#define GL_PACK_INVERT_MESA 0x8758 +#endif /* GL_MESA_pack_invert */ + +#ifndef GL_MESA_resize_buffers +#define GL_MESA_resize_buffers 1 +typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glResizeBuffersMESA (void); +#endif +#endif /* GL_MESA_resize_buffers */ + +#ifndef GL_MESA_window_pos +#define GL_MESA_window_pos 1 +typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y); +typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v); +typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y); +GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v); +GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y); +GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v); +GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y); +GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v); +GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y); +GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v); +GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v); +GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v); +GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z); +GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v); +GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v); +GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v); +GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v); +GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v); +GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v); +#endif +#endif /* GL_MESA_window_pos */ + +#ifndef GL_MESA_ycbcr_texture +#define GL_MESA_ycbcr_texture 1 +#define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB +#define GL_YCBCR_MESA 0x8757 +#endif /* GL_MESA_ycbcr_texture */ + +#ifndef GL_NVX_conditional_render +#define GL_NVX_conditional_render 1 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id); +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVXPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginConditionalRenderNVX (GLuint id); +GLAPI void APIENTRY glEndConditionalRenderNVX (void); +#endif +#endif /* GL_NVX_conditional_render */ + +#ifndef GL_NVX_gpu_memory_info +#define GL_NVX_gpu_memory_info 1 +#define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047 +#define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048 +#define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049 +#define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A +#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B +#endif /* GL_NVX_gpu_memory_info */ + +#ifndef GL_NV_bindless_multi_draw_indirect +#define GL_NV_bindless_multi_draw_indirect 1 +typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount); +#endif +#endif /* GL_NV_bindless_multi_draw_indirect */ + +#ifndef GL_NV_bindless_texture +#define GL_NV_bindless_texture 1 +typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture); +typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle); +typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access); +typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle); +typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture); +GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler); +GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle); +GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle); +GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access); +GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle); +GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value); +GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value); +GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value); +GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values); +GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle); +GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle); +#endif +#endif /* GL_NV_bindless_texture */ + +#ifndef GL_NV_blend_equation_advanced +#define GL_NV_blend_equation_advanced 1 +#define GL_BLEND_OVERLAP_NV 0x9281 +#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 +#define GL_BLUE_NV 0x1905 +#define GL_COLORBURN_NV 0x929A +#define GL_COLORDODGE_NV 0x9299 +#define GL_CONJOINT_NV 0x9284 +#define GL_CONTRAST_NV 0x92A1 +#define GL_DARKEN_NV 0x9297 +#define GL_DIFFERENCE_NV 0x929E +#define GL_DISJOINT_NV 0x9283 +#define GL_DST_ATOP_NV 0x928F +#define GL_DST_IN_NV 0x928B +#define GL_DST_NV 0x9287 +#define GL_DST_OUT_NV 0x928D +#define GL_DST_OVER_NV 0x9289 +#define GL_EXCLUSION_NV 0x92A0 +#define GL_GREEN_NV 0x1904 +#define GL_HARDLIGHT_NV 0x929B +#define GL_HARDMIX_NV 0x92A9 +#define GL_HSL_COLOR_NV 0x92AF +#define GL_HSL_HUE_NV 0x92AD +#define GL_HSL_LUMINOSITY_NV 0x92B0 +#define GL_HSL_SATURATION_NV 0x92AE +#define GL_INVERT_OVG_NV 0x92B4 +#define GL_INVERT_RGB_NV 0x92A3 +#define GL_LIGHTEN_NV 0x9298 +#define GL_LINEARBURN_NV 0x92A5 +#define GL_LINEARDODGE_NV 0x92A4 +#define GL_LINEARLIGHT_NV 0x92A7 +#define GL_MINUS_CLAMPED_NV 0x92B3 +#define GL_MINUS_NV 0x929F +#define GL_MULTIPLY_NV 0x9294 +#define GL_OVERLAY_NV 0x9296 +#define GL_PINLIGHT_NV 0x92A8 +#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 +#define GL_PLUS_CLAMPED_NV 0x92B1 +#define GL_PLUS_DARKER_NV 0x9292 +#define GL_PLUS_NV 0x9291 +#define GL_RED_NV 0x1903 +#define GL_SCREEN_NV 0x9295 +#define GL_SOFTLIGHT_NV 0x929C +#define GL_SRC_ATOP_NV 0x928E +#define GL_SRC_IN_NV 0x928A +#define GL_SRC_NV 0x9286 +#define GL_SRC_OUT_NV 0x928C +#define GL_SRC_OVER_NV 0x9288 +#define GL_UNCORRELATED_NV 0x9282 +#define GL_VIVIDLIGHT_NV 0x92A6 +#define GL_XOR_NV 0x1506 +typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value); +GLAPI void APIENTRY glBlendBarrierNV (void); +#endif +#endif /* GL_NV_blend_equation_advanced */ + +#ifndef GL_NV_blend_equation_advanced_coherent +#define GL_NV_blend_equation_advanced_coherent 1 +#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 +#endif /* GL_NV_blend_equation_advanced_coherent */ + +#ifndef GL_NV_blend_square +#define GL_NV_blend_square 1 +#endif /* GL_NV_blend_square */ + +#ifndef GL_NV_compute_program5 +#define GL_NV_compute_program5 1 +#define GL_COMPUTE_PROGRAM_NV 0x90FB +#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC +#endif /* GL_NV_compute_program5 */ + +#ifndef GL_NV_conditional_render +#define GL_NV_conditional_render 1 +#define GL_QUERY_WAIT_NV 0x8E13 +#define GL_QUERY_NO_WAIT_NV 0x8E14 +#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15 +#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16 +typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode); +typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode); +GLAPI void APIENTRY glEndConditionalRenderNV (void); +#endif +#endif /* GL_NV_conditional_render */ + +#ifndef GL_NV_copy_depth_to_color +#define GL_NV_copy_depth_to_color 1 +#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E +#define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F +#endif /* GL_NV_copy_depth_to_color */ + +#ifndef GL_NV_copy_image +#define GL_NV_copy_image 1 +typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCopyImageSubDataNV (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); +#endif +#endif /* GL_NV_copy_image */ + +#ifndef GL_NV_deep_texture3D +#define GL_NV_deep_texture3D 1 +#define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0 +#define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1 +#endif /* GL_NV_deep_texture3D */ + +#ifndef GL_NV_depth_buffer_float +#define GL_NV_depth_buffer_float 1 +#define GL_DEPTH_COMPONENT32F_NV 0x8DAB +#define GL_DEPTH32F_STENCIL8_NV 0x8DAC +#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD +#define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF +typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar); +typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth); +typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar); +GLAPI void APIENTRY glClearDepthdNV (GLdouble depth); +GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax); +#endif +#endif /* GL_NV_depth_buffer_float */ + +#ifndef GL_NV_depth_clamp +#define GL_NV_depth_clamp 1 +#define GL_DEPTH_CLAMP_NV 0x864F +#endif /* GL_NV_depth_clamp */ + +#ifndef GL_NV_draw_texture +#define GL_NV_draw_texture 1 +typedef void (APIENTRYP PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1); +#endif +#endif /* GL_NV_draw_texture */ + +#ifndef GL_NV_evaluators +#define GL_NV_evaluators 1 +#define GL_EVAL_2D_NV 0x86C0 +#define GL_EVAL_TRIANGULAR_2D_NV 0x86C1 +#define GL_MAP_TESSELLATION_NV 0x86C2 +#define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3 +#define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4 +#define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5 +#define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6 +#define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7 +#define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8 +#define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9 +#define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA +#define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB +#define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC +#define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD +#define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE +#define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF +#define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0 +#define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1 +#define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2 +#define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3 +#define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4 +#define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5 +#define GL_MAX_MAP_TESSELLATION_NV 0x86D6 +#define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7 +typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points); +typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points); +typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void *points); +GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void *points); +GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode); +#endif +#endif /* GL_NV_evaluators */ + +#ifndef GL_NV_explicit_multisample +#define GL_NV_explicit_multisample 1 +#define GL_SAMPLE_POSITION_NV 0x8E50 +#define GL_SAMPLE_MASK_NV 0x8E51 +#define GL_SAMPLE_MASK_VALUE_NV 0x8E52 +#define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53 +#define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54 +#define GL_TEXTURE_RENDERBUFFER_NV 0x8E55 +#define GL_SAMPLER_RENDERBUFFER_NV 0x8E56 +#define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57 +#define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58 +#define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59 +typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val); +typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask); +typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val); +GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask); +GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer); +#endif +#endif /* GL_NV_explicit_multisample */ + +#ifndef GL_NV_fence +#define GL_NV_fence 1 +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 +typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); +typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); +typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); +typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); +typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); +GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); +GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence); +GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence); +GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); +GLAPI void APIENTRY glFinishFenceNV (GLuint fence); +GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition); +#endif +#endif /* GL_NV_fence */ + +#ifndef GL_NV_float_buffer +#define GL_NV_float_buffer 1 +#define GL_FLOAT_R_NV 0x8880 +#define GL_FLOAT_RG_NV 0x8881 +#define GL_FLOAT_RGB_NV 0x8882 +#define GL_FLOAT_RGBA_NV 0x8883 +#define GL_FLOAT_R16_NV 0x8884 +#define GL_FLOAT_R32_NV 0x8885 +#define GL_FLOAT_RG16_NV 0x8886 +#define GL_FLOAT_RG32_NV 0x8887 +#define GL_FLOAT_RGB16_NV 0x8888 +#define GL_FLOAT_RGB32_NV 0x8889 +#define GL_FLOAT_RGBA16_NV 0x888A +#define GL_FLOAT_RGBA32_NV 0x888B +#define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C +#define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D +#define GL_FLOAT_RGBA_MODE_NV 0x888E +#endif /* GL_NV_float_buffer */ + +#ifndef GL_NV_fog_distance +#define GL_NV_fog_distance 1 +#define GL_FOG_DISTANCE_MODE_NV 0x855A +#define GL_EYE_RADIAL_NV 0x855B +#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C +#endif /* GL_NV_fog_distance */ + +#ifndef GL_NV_fragment_program +#define GL_NV_fragment_program 1 +#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868 +#define GL_FRAGMENT_PROGRAM_NV 0x8870 +#define GL_MAX_TEXTURE_COORDS_NV 0x8871 +#define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872 +#define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873 +#define GL_PROGRAM_ERROR_STRING_NV 0x8874 +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); +typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v); +GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v); +GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params); +GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params); +#endif +#endif /* GL_NV_fragment_program */ + +#ifndef GL_NV_fragment_program2 +#define GL_NV_fragment_program2 1 +#define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4 +#define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5 +#define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6 +#define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7 +#define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8 +#endif /* GL_NV_fragment_program2 */ + +#ifndef GL_NV_fragment_program4 +#define GL_NV_fragment_program4 1 +#endif /* GL_NV_fragment_program4 */ + +#ifndef GL_NV_fragment_program_option +#define GL_NV_fragment_program_option 1 +#endif /* GL_NV_fragment_program_option */ + +#ifndef GL_NV_framebuffer_multisample_coverage +#define GL_NV_framebuffer_multisample_coverage 1 +#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB +#define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10 +#define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11 +#define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12 +typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +#endif /* GL_NV_framebuffer_multisample_coverage */ + +#ifndef GL_NV_geometry_program4 +#define GL_NV_geometry_program4 1 +#define GL_GEOMETRY_PROGRAM_NV 0x8C26 +#define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27 +#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28 +typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit); +GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level); +GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); +GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face); +#endif +#endif /* GL_NV_geometry_program4 */ + +#ifndef GL_NV_geometry_shader4 +#define GL_NV_geometry_shader4 1 +#endif /* GL_NV_geometry_shader4 */ + +#ifndef GL_NV_gpu_program4 +#define GL_NV_gpu_program4 1 +#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904 +#define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905 +#define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906 +#define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907 +#define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908 +#define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909 +#define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5 +#define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6 +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); +typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params); +typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params); +GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); +GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); +GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); +GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params); +GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params); +GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params); +GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params); +GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params); +GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params); +GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params); +GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params); +#endif +#endif /* GL_NV_gpu_program4 */ + +#ifndef GL_NV_gpu_program5 +#define GL_NV_gpu_program5 1 +#define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A +#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B +#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C +#define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D +#define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E +#define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F +#define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44 +#define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45 +typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params); +GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param); +#endif +#endif /* GL_NV_gpu_program5 */ + +#ifndef GL_NV_gpu_program5_mem_extended +#define GL_NV_gpu_program5_mem_extended 1 +#endif /* GL_NV_gpu_program5_mem_extended */ + +#ifndef GL_NV_gpu_shader5 +#define GL_NV_gpu_shader5 1 +#endif /* GL_NV_gpu_shader5 */ + +#ifndef GL_NV_half_float +#define GL_NV_half_float 1 +typedef unsigned short GLhalfNV; +#define GL_HALF_FLOAT_NV 0x140B +typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y); +typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z); +typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); +typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); +typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s); +typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t); +typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r); +typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s); +typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t); +typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); +typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog); +typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight); +typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y); +GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z); +GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz); +GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha); +GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s); +GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t); +GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r); +GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s); +GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v); +GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t); +GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v); +GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r); +GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v); +GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q); +GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v); +GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog); +GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog); +GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue); +GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v); +GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight); +GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight); +GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x); +GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y); +GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z); +GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w); +GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v); +GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v); +#endif +#endif /* GL_NV_half_float */ + +#ifndef GL_NV_light_max_exponent +#define GL_NV_light_max_exponent 1 +#define GL_MAX_SHININESS_NV 0x8504 +#define GL_MAX_SPOT_EXPONENT_NV 0x8505 +#endif /* GL_NV_light_max_exponent */ + +#ifndef GL_NV_multisample_coverage +#define GL_NV_multisample_coverage 1 +#define GL_COLOR_SAMPLES_NV 0x8E20 +#endif /* GL_NV_multisample_coverage */ + +#ifndef GL_NV_multisample_filter_hint +#define GL_NV_multisample_filter_hint 1 +#define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534 +#endif /* GL_NV_multisample_filter_hint */ + +#ifndef GL_NV_occlusion_query +#define GL_NV_occlusion_query 1 +#define GL_PIXEL_COUNTER_BITS_NV 0x8864 +#define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865 +#define GL_PIXEL_COUNT_NV 0x8866 +#define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867 +typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids); +typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void); +typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids); +GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids); +GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id); +GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id); +GLAPI void APIENTRY glEndOcclusionQueryNV (void); +GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params); +#endif +#endif /* GL_NV_occlusion_query */ + +#ifndef GL_NV_packed_depth_stencil +#define GL_NV_packed_depth_stencil 1 +#define GL_DEPTH_STENCIL_NV 0x84F9 +#define GL_UNSIGNED_INT_24_8_NV 0x84FA +#endif /* GL_NV_packed_depth_stencil */ + +#ifndef GL_NV_parameter_buffer_object +#define GL_NV_parameter_buffer_object 1 +#define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0 +#define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1 +#define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2 +#define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3 +#define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4 +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params); +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params); +typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLfloat *params); +GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLint *params); +GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindingIndex, GLuint wordIndex, GLsizei count, const GLuint *params); +#endif +#endif /* GL_NV_parameter_buffer_object */ + +#ifndef GL_NV_parameter_buffer_object2 +#define GL_NV_parameter_buffer_object2 1 +#endif /* GL_NV_parameter_buffer_object2 */ + +#ifndef GL_NV_path_rendering +#define GL_NV_path_rendering 1 +#define GL_PATH_FORMAT_SVG_NV 0x9070 +#define GL_PATH_FORMAT_PS_NV 0x9071 +#define GL_STANDARD_FONT_NAME_NV 0x9072 +#define GL_SYSTEM_FONT_NAME_NV 0x9073 +#define GL_FILE_NAME_NV 0x9074 +#define GL_PATH_STROKE_WIDTH_NV 0x9075 +#define GL_PATH_END_CAPS_NV 0x9076 +#define GL_PATH_INITIAL_END_CAP_NV 0x9077 +#define GL_PATH_TERMINAL_END_CAP_NV 0x9078 +#define GL_PATH_JOIN_STYLE_NV 0x9079 +#define GL_PATH_MITER_LIMIT_NV 0x907A +#define GL_PATH_DASH_CAPS_NV 0x907B +#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C +#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D +#define GL_PATH_DASH_OFFSET_NV 0x907E +#define GL_PATH_CLIENT_LENGTH_NV 0x907F +#define GL_PATH_FILL_MODE_NV 0x9080 +#define GL_PATH_FILL_MASK_NV 0x9081 +#define GL_PATH_FILL_COVER_MODE_NV 0x9082 +#define GL_PATH_STROKE_COVER_MODE_NV 0x9083 +#define GL_PATH_STROKE_MASK_NV 0x9084 +#define GL_COUNT_UP_NV 0x9088 +#define GL_COUNT_DOWN_NV 0x9089 +#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A +#define GL_CONVEX_HULL_NV 0x908B +#define GL_BOUNDING_BOX_NV 0x908D +#define GL_TRANSLATE_X_NV 0x908E +#define GL_TRANSLATE_Y_NV 0x908F +#define GL_TRANSLATE_2D_NV 0x9090 +#define GL_TRANSLATE_3D_NV 0x9091 +#define GL_AFFINE_2D_NV 0x9092 +#define GL_AFFINE_3D_NV 0x9094 +#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096 +#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098 +#define GL_UTF8_NV 0x909A +#define GL_UTF16_NV 0x909B +#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C +#define GL_PATH_COMMAND_COUNT_NV 0x909D +#define GL_PATH_COORD_COUNT_NV 0x909E +#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F +#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0 +#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1 +#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2 +#define GL_SQUARE_NV 0x90A3 +#define GL_ROUND_NV 0x90A4 +#define GL_TRIANGULAR_NV 0x90A5 +#define GL_BEVEL_NV 0x90A6 +#define GL_MITER_REVERT_NV 0x90A7 +#define GL_MITER_TRUNCATE_NV 0x90A8 +#define GL_SKIP_MISSING_GLYPH_NV 0x90A9 +#define GL_USE_MISSING_GLYPH_NV 0x90AA +#define GL_PATH_ERROR_POSITION_NV 0x90AB +#define GL_PATH_FOG_GEN_MODE_NV 0x90AC +#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD +#define GL_ADJACENT_PAIRS_NV 0x90AE +#define GL_FIRST_TO_REST_NV 0x90AF +#define GL_PATH_GEN_MODE_NV 0x90B0 +#define GL_PATH_GEN_COEFF_NV 0x90B1 +#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2 +#define GL_PATH_GEN_COMPONENTS_NV 0x90B3 +#define GL_PATH_STENCIL_FUNC_NV 0x90B7 +#define GL_PATH_STENCIL_REF_NV 0x90B8 +#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9 +#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD +#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE +#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF +#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4 +#define GL_MOVE_TO_RESETS_NV 0x90B5 +#define GL_MOVE_TO_CONTINUES_NV 0x90B6 +#define GL_CLOSE_PATH_NV 0x00 +#define GL_MOVE_TO_NV 0x02 +#define GL_RELATIVE_MOVE_TO_NV 0x03 +#define GL_LINE_TO_NV 0x04 +#define GL_RELATIVE_LINE_TO_NV 0x05 +#define GL_HORIZONTAL_LINE_TO_NV 0x06 +#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07 +#define GL_VERTICAL_LINE_TO_NV 0x08 +#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09 +#define GL_QUADRATIC_CURVE_TO_NV 0x0A +#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B +#define GL_CUBIC_CURVE_TO_NV 0x0C +#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D +#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E +#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F +#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10 +#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11 +#define GL_SMALL_CCW_ARC_TO_NV 0x12 +#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13 +#define GL_SMALL_CW_ARC_TO_NV 0x14 +#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15 +#define GL_LARGE_CCW_ARC_TO_NV 0x16 +#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17 +#define GL_LARGE_CW_ARC_TO_NV 0x18 +#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19 +#define GL_RESTART_PATH_NV 0xF0 +#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2 +#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4 +#define GL_RECT_NV 0xF6 +#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8 +#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA +#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC +#define GL_ARC_TO_NV 0xFE +#define GL_RELATIVE_ARC_TO_NV 0xFF +#define GL_BOLD_BIT_NV 0x01 +#define GL_ITALIC_BIT_NV 0x02 +#define GL_GLYPH_WIDTH_BIT_NV 0x01 +#define GL_GLYPH_HEIGHT_BIT_NV 0x02 +#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04 +#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08 +#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10 +#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20 +#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40 +#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80 +#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100 +#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000 +#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000 +#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000 +#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000 +#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000 +#define GL_FONT_ASCENDER_BIT_NV 0x00200000 +#define GL_FONT_DESCENDER_BIT_NV 0x00400000 +#define GL_FONT_HEIGHT_BIT_NV 0x00800000 +#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000 +#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000 +#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000 +#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000 +#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000 +#define GL_PRIMARY_COLOR_NV 0x852C +#define GL_SECONDARY_COLOR_NV 0x852D +typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range); +typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range); +typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path); +typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); +typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString); +typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); +typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath); +typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); +typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value); +typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value); +typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value); +typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value); +typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray); +typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask); +typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units); +typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask); +typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func); +typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); +typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); +typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode); +typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode); +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode); +typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value); +typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value); +typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands); +typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords); +typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray); +typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); +typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); +typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); +typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value); +typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value); +typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value); +typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value); +typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y); +typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y); +typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments); +typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range); +GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range); +GLAPI GLboolean APIENTRY glIsPathNV (GLuint path); +GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords); +GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString); +GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale); +GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights); +GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath); +GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight); +GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value); +GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value); +GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value); +GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value); +GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray); +GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask); +GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units); +GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask); +GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask); +GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func); +GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs); +GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs); +GLAPI void APIENTRY glPathFogGenNV (GLenum genMode); +GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode); +GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode); +GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues); +GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value); +GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value); +GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands); +GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords); +GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); +GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics); +GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics); +GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing); +GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value); +GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value); +GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value); +GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value); +GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y); +GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y); +GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments); +GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY); +#endif +#endif /* GL_NV_path_rendering */ + +#ifndef GL_NV_pixel_data_range +#define GL_NV_pixel_data_range 1 +#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878 +#define GL_READ_PIXEL_DATA_RANGE_NV 0x8879 +#define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A +#define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B +#define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C +#define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D +typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const void *pointer); +typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const void *pointer); +GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target); +#endif +#endif /* GL_NV_pixel_data_range */ + +#ifndef GL_NV_point_sprite +#define GL_NV_point_sprite 1 +#define GL_POINT_SPRITE_NV 0x8861 +#define GL_COORD_REPLACE_NV 0x8862 +#define GL_POINT_SPRITE_R_MODE_NV 0x8863 +typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param); +GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params); +#endif +#endif /* GL_NV_point_sprite */ + +#ifndef GL_NV_present_video +#define GL_NV_present_video 1 +#define GL_FRAME_NV 0x8E26 +#define GL_FIELDS_NV 0x8E27 +#define GL_CURRENT_TIME_NV 0x8E28 +#define GL_NUM_FILL_STREAMS_NV 0x8E29 +#define GL_PRESENT_TIME_NV 0x8E2A +#define GL_PRESENT_DURATION_NV 0x8E2B +typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); +typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); +typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params); +typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params); +typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1); +GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3); +GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params); +GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params); +GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params); +#endif +#endif /* GL_NV_present_video */ + +#ifndef GL_NV_primitive_restart +#define GL_NV_primitive_restart 1 +#define GL_PRIMITIVE_RESTART_NV 0x8558 +#define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559 +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void); +typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPrimitiveRestartNV (void); +GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index); +#endif +#endif /* GL_NV_primitive_restart */ + +#ifndef GL_NV_register_combiners +#define GL_NV_register_combiners 1 +#define GL_REGISTER_COMBINERS_NV 0x8522 +#define GL_VARIABLE_A_NV 0x8523 +#define GL_VARIABLE_B_NV 0x8524 +#define GL_VARIABLE_C_NV 0x8525 +#define GL_VARIABLE_D_NV 0x8526 +#define GL_VARIABLE_E_NV 0x8527 +#define GL_VARIABLE_F_NV 0x8528 +#define GL_VARIABLE_G_NV 0x8529 +#define GL_CONSTANT_COLOR0_NV 0x852A +#define GL_CONSTANT_COLOR1_NV 0x852B +#define GL_SPARE0_NV 0x852E +#define GL_SPARE1_NV 0x852F +#define GL_DISCARD_NV 0x8530 +#define GL_E_TIMES_F_NV 0x8531 +#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532 +#define GL_UNSIGNED_IDENTITY_NV 0x8536 +#define GL_UNSIGNED_INVERT_NV 0x8537 +#define GL_EXPAND_NORMAL_NV 0x8538 +#define GL_EXPAND_NEGATE_NV 0x8539 +#define GL_HALF_BIAS_NORMAL_NV 0x853A +#define GL_HALF_BIAS_NEGATE_NV 0x853B +#define GL_SIGNED_IDENTITY_NV 0x853C +#define GL_SIGNED_NEGATE_NV 0x853D +#define GL_SCALE_BY_TWO_NV 0x853E +#define GL_SCALE_BY_FOUR_NV 0x853F +#define GL_SCALE_BY_ONE_HALF_NV 0x8540 +#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541 +#define GL_COMBINER_INPUT_NV 0x8542 +#define GL_COMBINER_MAPPING_NV 0x8543 +#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544 +#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545 +#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546 +#define GL_COMBINER_MUX_SUM_NV 0x8547 +#define GL_COMBINER_SCALE_NV 0x8548 +#define GL_COMBINER_BIAS_NV 0x8549 +#define GL_COMBINER_AB_OUTPUT_NV 0x854A +#define GL_COMBINER_CD_OUTPUT_NV 0x854B +#define GL_COMBINER_SUM_OUTPUT_NV 0x854C +#define GL_MAX_GENERAL_COMBINERS_NV 0x854D +#define GL_NUM_GENERAL_COMBINERS_NV 0x854E +#define GL_COLOR_SUM_CLAMP_NV 0x854F +#define GL_COMBINER0_NV 0x8550 +#define GL_COMBINER1_NV 0x8551 +#define GL_COMBINER2_NV 0x8552 +#define GL_COMBINER3_NV 0x8553 +#define GL_COMBINER4_NV 0x8554 +#define GL_COMBINER5_NV 0x8555 +#define GL_COMBINER6_NV 0x8556 +#define GL_COMBINER7_NV 0x8557 +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param); +GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params); +GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param); +GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum); +GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage); +GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params); +#endif +#endif /* GL_NV_register_combiners */ + +#ifndef GL_NV_register_combiners2 +#define GL_NV_register_combiners2 1 +#define GL_PER_STAGE_CONSTANTS_NV 0x8535 +typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params); +#endif +#endif /* GL_NV_register_combiners2 */ + +#ifndef GL_NV_shader_atomic_counters +#define GL_NV_shader_atomic_counters 1 +#endif /* GL_NV_shader_atomic_counters */ + +#ifndef GL_NV_shader_atomic_float +#define GL_NV_shader_atomic_float 1 +#endif /* GL_NV_shader_atomic_float */ + +#ifndef GL_NV_shader_buffer_load +#define GL_NV_shader_buffer_load 1 +#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D +#define GL_GPU_ADDRESS_NV 0x8F34 +#define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35 +typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access); +typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target); +typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target); +typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access); +typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer); +typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer); +typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result); +typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value); +typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value); +typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access); +GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target); +GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target); +GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access); +GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer); +GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer); +GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result); +GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value); +GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value); +GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value); +GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value); +#endif +#endif /* GL_NV_shader_buffer_load */ + +#ifndef GL_NV_shader_buffer_store +#define GL_NV_shader_buffer_store 1 +#define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010 +#endif /* GL_NV_shader_buffer_store */ + +#ifndef GL_NV_shader_storage_buffer_object +#define GL_NV_shader_storage_buffer_object 1 +#endif /* GL_NV_shader_storage_buffer_object */ + +#ifndef GL_NV_shader_thread_group +#define GL_NV_shader_thread_group 1 +#define GL_WARP_SIZE_NV 0x9339 +#define GL_WARPS_PER_SM_NV 0x933A +#define GL_SM_COUNT_NV 0x933B +#endif /* GL_NV_shader_thread_group */ + +#ifndef GL_NV_shader_thread_shuffle +#define GL_NV_shader_thread_shuffle 1 +#endif /* GL_NV_shader_thread_shuffle */ + +#ifndef GL_NV_tessellation_program5 +#define GL_NV_tessellation_program5 1 +#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8 +#define GL_TESS_CONTROL_PROGRAM_NV 0x891E +#define GL_TESS_EVALUATION_PROGRAM_NV 0x891F +#define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74 +#define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75 +#endif /* GL_NV_tessellation_program5 */ + +#ifndef GL_NV_texgen_emboss +#define GL_NV_texgen_emboss 1 +#define GL_EMBOSS_LIGHT_NV 0x855D +#define GL_EMBOSS_CONSTANT_NV 0x855E +#define GL_EMBOSS_MAP_NV 0x855F +#endif /* GL_NV_texgen_emboss */ + +#ifndef GL_NV_texgen_reflection +#define GL_NV_texgen_reflection 1 +#define GL_NORMAL_MAP_NV 0x8511 +#define GL_REFLECTION_MAP_NV 0x8512 +#endif /* GL_NV_texgen_reflection */ + +#ifndef GL_NV_texture_barrier +#define GL_NV_texture_barrier 1 +typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureBarrierNV (void); +#endif +#endif /* GL_NV_texture_barrier */ + +#ifndef GL_NV_texture_compression_vtc +#define GL_NV_texture_compression_vtc 1 +#endif /* GL_NV_texture_compression_vtc */ + +#ifndef GL_NV_texture_env_combine4 +#define GL_NV_texture_env_combine4 1 +#define GL_COMBINE4_NV 0x8503 +#define GL_SOURCE3_RGB_NV 0x8583 +#define GL_SOURCE3_ALPHA_NV 0x858B +#define GL_OPERAND3_RGB_NV 0x8593 +#define GL_OPERAND3_ALPHA_NV 0x859B +#endif /* GL_NV_texture_env_combine4 */ + +#ifndef GL_NV_texture_expand_normal +#define GL_NV_texture_expand_normal 1 +#define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F +#endif /* GL_NV_texture_expand_normal */ + +#ifndef GL_NV_texture_multisample +#define GL_NV_texture_multisample 1 +#define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045 +#define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046 +typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations); +GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations); +#endif +#endif /* GL_NV_texture_multisample */ + +#ifndef GL_NV_texture_rectangle +#define GL_NV_texture_rectangle 1 +#define GL_TEXTURE_RECTANGLE_NV 0x84F5 +#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6 +#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7 +#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8 +#endif /* GL_NV_texture_rectangle */ + +#ifndef GL_NV_texture_shader +#define GL_NV_texture_shader 1 +#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C +#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D +#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E +#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9 +#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA +#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB +#define GL_DSDT_MAG_INTENSITY_NV 0x86DC +#define GL_SHADER_CONSISTENT_NV 0x86DD +#define GL_TEXTURE_SHADER_NV 0x86DE +#define GL_SHADER_OPERATION_NV 0x86DF +#define GL_CULL_MODES_NV 0x86E0 +#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1 +#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2 +#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3 +#define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1 +#define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2 +#define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3 +#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4 +#define GL_CONST_EYE_NV 0x86E5 +#define GL_PASS_THROUGH_NV 0x86E6 +#define GL_CULL_FRAGMENT_NV 0x86E7 +#define GL_OFFSET_TEXTURE_2D_NV 0x86E8 +#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9 +#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA +#define GL_DOT_PRODUCT_NV 0x86EC +#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED +#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE +#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0 +#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1 +#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2 +#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3 +#define GL_HILO_NV 0x86F4 +#define GL_DSDT_NV 0x86F5 +#define GL_DSDT_MAG_NV 0x86F6 +#define GL_DSDT_MAG_VIB_NV 0x86F7 +#define GL_HILO16_NV 0x86F8 +#define GL_SIGNED_HILO_NV 0x86F9 +#define GL_SIGNED_HILO16_NV 0x86FA +#define GL_SIGNED_RGBA_NV 0x86FB +#define GL_SIGNED_RGBA8_NV 0x86FC +#define GL_SIGNED_RGB_NV 0x86FE +#define GL_SIGNED_RGB8_NV 0x86FF +#define GL_SIGNED_LUMINANCE_NV 0x8701 +#define GL_SIGNED_LUMINANCE8_NV 0x8702 +#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703 +#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704 +#define GL_SIGNED_ALPHA_NV 0x8705 +#define GL_SIGNED_ALPHA8_NV 0x8706 +#define GL_SIGNED_INTENSITY_NV 0x8707 +#define GL_SIGNED_INTENSITY8_NV 0x8708 +#define GL_DSDT8_NV 0x8709 +#define GL_DSDT8_MAG8_NV 0x870A +#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B +#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C +#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D +#define GL_HI_SCALE_NV 0x870E +#define GL_LO_SCALE_NV 0x870F +#define GL_DS_SCALE_NV 0x8710 +#define GL_DT_SCALE_NV 0x8711 +#define GL_MAGNITUDE_SCALE_NV 0x8712 +#define GL_VIBRANCE_SCALE_NV 0x8713 +#define GL_HI_BIAS_NV 0x8714 +#define GL_LO_BIAS_NV 0x8715 +#define GL_DS_BIAS_NV 0x8716 +#define GL_DT_BIAS_NV 0x8717 +#define GL_MAGNITUDE_BIAS_NV 0x8718 +#define GL_VIBRANCE_BIAS_NV 0x8719 +#define GL_TEXTURE_BORDER_VALUES_NV 0x871A +#define GL_TEXTURE_HI_SIZE_NV 0x871B +#define GL_TEXTURE_LO_SIZE_NV 0x871C +#define GL_TEXTURE_DS_SIZE_NV 0x871D +#define GL_TEXTURE_DT_SIZE_NV 0x871E +#define GL_TEXTURE_MAG_SIZE_NV 0x871F +#endif /* GL_NV_texture_shader */ + +#ifndef GL_NV_texture_shader2 +#define GL_NV_texture_shader2 1 +#define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF +#endif /* GL_NV_texture_shader2 */ + +#ifndef GL_NV_texture_shader3 +#define GL_NV_texture_shader3 1 +#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850 +#define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851 +#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852 +#define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853 +#define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854 +#define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855 +#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856 +#define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857 +#define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858 +#define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859 +#define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A +#define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B +#define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C +#define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D +#define GL_HILO8_NV 0x885E +#define GL_SIGNED_HILO8_NV 0x885F +#define GL_FORCE_BLUE_TO_ONE_NV 0x8860 +#endif /* GL_NV_texture_shader3 */ + +#ifndef GL_NV_transform_feedback +#define GL_NV_transform_feedback 1 +#define GL_BACK_PRIMARY_COLOR_NV 0x8C77 +#define GL_BACK_SECONDARY_COLOR_NV 0x8C78 +#define GL_TEXTURE_COORD_NV 0x8C79 +#define GL_CLIP_DISTANCE_NV 0x8C7A +#define GL_VERTEX_ID_NV 0x8C7B +#define GL_PRIMITIVE_ID_NV 0x8C7C +#define GL_GENERIC_ATTRIB_NV 0x8C7D +#define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E +#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80 +#define GL_ACTIVE_VARYINGS_NV 0x8C81 +#define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82 +#define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83 +#define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84 +#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85 +#define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86 +#define GL_PRIMITIVES_GENERATED_NV 0x8C87 +#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88 +#define GL_RASTERIZER_DISCARD_NV 0x8C89 +#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A +#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B +#define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C +#define GL_SEPARATE_ATTRIBS_NV 0x8C8D +#define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E +#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F +#define GL_LAYER_NV 0x8DAA +#define GL_NEXT_BUFFER_NV -2 +#define GL_SKIP_COMPONENTS4_NV -3 +#define GL_SKIP_COMPONENTS3_NV -4 +#define GL_SKIP_COMPONENTS2_NV -5 +#define GL_SKIP_COMPONENTS1_NV -6 +typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode); +typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void); +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode); +typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset); +typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer); +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); +typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name); +typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name); +typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location); +typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode); +GLAPI void APIENTRY glEndTransformFeedbackNV (void); +GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode); +GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); +GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset); +GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer); +GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode); +GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name); +GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name); +GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); +GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location); +GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode); +#endif +#endif /* GL_NV_transform_feedback */ + +#ifndef GL_NV_transform_feedback2 +#define GL_NV_transform_feedback2 1 +#define GL_TRANSFORM_FEEDBACK_NV 0x8E22 +#define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23 +#define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24 +#define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25 +typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids); +typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids); +typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void); +typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void); +typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id); +GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids); +GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids); +GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id); +GLAPI void APIENTRY glPauseTransformFeedbackNV (void); +GLAPI void APIENTRY glResumeTransformFeedbackNV (void); +GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id); +#endif +#endif /* GL_NV_transform_feedback2 */ + +#ifndef GL_NV_vdpau_interop +#define GL_NV_vdpau_interop 1 +typedef GLintptr GLvdpauSurfaceNV; +#define GL_SURFACE_STATE_NV 0x86EB +#define GL_SURFACE_REGISTERED_NV 0x86FD +#define GL_SURFACE_MAPPED_NV 0x8700 +#define GL_WRITE_DISCARD_NV 0x88BE +typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const void *vdpDevice, const void *getProcAddress); +typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void); +typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); +typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); +typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface); +typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface); +typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access); +typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); +typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVDPAUInitNV (const void *vdpDevice, const void *getProcAddress); +GLAPI void APIENTRY glVDPAUFiniNV (void); +GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); +GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames); +GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface); +GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface); +GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access); +GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces); +GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces); +#endif +#endif /* GL_NV_vdpau_interop */ + +#ifndef GL_NV_vertex_array_range +#define GL_NV_vertex_array_range 1 +#define GL_VERTEX_ARRAY_RANGE_NV 0x851D +#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E +#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F +#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520 +#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521 +typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void); +typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const void *pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFlushVertexArrayRangeNV (void); +GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const void *pointer); +#endif +#endif /* GL_NV_vertex_array_range */ + +#ifndef GL_NV_vertex_array_range2 +#define GL_NV_vertex_array_range2 1 +#define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533 +#endif /* GL_NV_vertex_array_range2 */ + +#ifndef GL_NV_vertex_attrib_integer_64bit +#define GL_NV_vertex_attrib_integer_64bit 1 +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params); +typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x); +GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y); +GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z); +GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w); +GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v); +GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x); +GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y); +GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z); +GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w); +GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v); +GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params); +GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params); +GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); +#endif +#endif /* GL_NV_vertex_attrib_integer_64bit */ + +#ifndef GL_NV_vertex_buffer_unified_memory +#define GL_NV_vertex_buffer_unified_memory 1 +#define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E +#define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F +#define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20 +#define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21 +#define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22 +#define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23 +#define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24 +#define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25 +#define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26 +#define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27 +#define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28 +#define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29 +#define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A +#define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B +#define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C +#define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D +#define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E +#define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F +#define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30 +#define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31 +#define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32 +#define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33 +#define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40 +#define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41 +#define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42 +typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); +typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride); +typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); +typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride); +typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length); +GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride); +GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride); +GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride); +GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride); +GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result); +#endif +#endif /* GL_NV_vertex_buffer_unified_memory */ + +#ifndef GL_NV_vertex_program +#define GL_NV_vertex_program 1 +#define GL_VERTEX_PROGRAM_NV 0x8620 +#define GL_VERTEX_STATE_PROGRAM_NV 0x8621 +#define GL_ATTRIB_ARRAY_SIZE_NV 0x8623 +#define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624 +#define GL_ATTRIB_ARRAY_TYPE_NV 0x8625 +#define GL_CURRENT_ATTRIB_NV 0x8626 +#define GL_PROGRAM_LENGTH_NV 0x8627 +#define GL_PROGRAM_STRING_NV 0x8628 +#define GL_MODELVIEW_PROJECTION_NV 0x8629 +#define GL_IDENTITY_NV 0x862A +#define GL_INVERSE_NV 0x862B +#define GL_TRANSPOSE_NV 0x862C +#define GL_INVERSE_TRANSPOSE_NV 0x862D +#define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E +#define GL_MAX_TRACK_MATRICES_NV 0x862F +#define GL_MATRIX0_NV 0x8630 +#define GL_MATRIX1_NV 0x8631 +#define GL_MATRIX2_NV 0x8632 +#define GL_MATRIX3_NV 0x8633 +#define GL_MATRIX4_NV 0x8634 +#define GL_MATRIX5_NV 0x8635 +#define GL_MATRIX6_NV 0x8636 +#define GL_MATRIX7_NV 0x8637 +#define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640 +#define GL_CURRENT_MATRIX_NV 0x8641 +#define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642 +#define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643 +#define GL_PROGRAM_PARAMETER_NV 0x8644 +#define GL_ATTRIB_ARRAY_POINTER_NV 0x8645 +#define GL_PROGRAM_TARGET_NV 0x8646 +#define GL_PROGRAM_RESIDENT_NV 0x8647 +#define GL_TRACK_MATRIX_NV 0x8648 +#define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649 +#define GL_VERTEX_PROGRAM_BINDING_NV 0x864A +#define GL_PROGRAM_ERROR_POSITION_NV 0x864B +#define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650 +#define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651 +#define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652 +#define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653 +#define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654 +#define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655 +#define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656 +#define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657 +#define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658 +#define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659 +#define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A +#define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B +#define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C +#define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D +#define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E +#define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F +#define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660 +#define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661 +#define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662 +#define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663 +#define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664 +#define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665 +#define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666 +#define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667 +#define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668 +#define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669 +#define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A +#define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B +#define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C +#define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D +#define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E +#define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F +#define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670 +#define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671 +#define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672 +#define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673 +#define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674 +#define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675 +#define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676 +#define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677 +#define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678 +#define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679 +#define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A +#define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B +#define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C +#define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D +#define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E +#define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F +typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences); +typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id); +typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params); +typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs); +typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program); +typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, void **pointer); +typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id); +typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs); +typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform); +typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x); +typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y); +typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z); +typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences); +GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id); +GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs); +GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params); +GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs); +GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program); +GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params); +GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, void **pointer); +GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id); +GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program); +GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v); +GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v); +GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs); +GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform); +GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x); +GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x); +GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x); +GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y); +GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y); +GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y); +GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z); +GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z); +GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); +GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v); +GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v); +GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); +GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); +GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v); +GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v); +GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v); +GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v); +GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v); +GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v); +GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v); +#endif +#endif /* GL_NV_vertex_program */ + +#ifndef GL_NV_vertex_program1_1 +#define GL_NV_vertex_program1_1 1 +#endif /* GL_NV_vertex_program1_1 */ + +#ifndef GL_NV_vertex_program2 +#define GL_NV_vertex_program2 1 +#endif /* GL_NV_vertex_program2 */ + +#ifndef GL_NV_vertex_program2_option +#define GL_NV_vertex_program2_option 1 +#endif /* GL_NV_vertex_program2_option */ + +#ifndef GL_NV_vertex_program3 +#define GL_NV_vertex_program3 1 +#endif /* GL_NV_vertex_program3 */ + +#ifndef GL_NV_vertex_program4 +#define GL_NV_vertex_program4 1 +#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v); +typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x); +GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y); +GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z); +GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w); +GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x); +GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y); +GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z); +GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); +GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v); +GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v); +GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v); +GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v); +GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v); +GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v); +GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer); +GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params); +#endif +#endif /* GL_NV_vertex_program4 */ + +#ifndef GL_NV_video_capture +#define GL_NV_video_capture 1 +#define GL_VIDEO_BUFFER_NV 0x9020 +#define GL_VIDEO_BUFFER_BINDING_NV 0x9021 +#define GL_FIELD_UPPER_NV 0x9022 +#define GL_FIELD_LOWER_NV 0x9023 +#define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024 +#define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025 +#define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026 +#define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027 +#define GL_VIDEO_BUFFER_PITCH_NV 0x9028 +#define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029 +#define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A +#define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B +#define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C +#define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D +#define GL_PARTIAL_SUCCESS_NV 0x902E +#define GL_SUCCESS_NV 0x902F +#define GL_FAILURE_NV 0x9030 +#define GL_YCBYCR8_422_NV 0x9031 +#define GL_YCBAYCR8A_4224_NV 0x9032 +#define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033 +#define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034 +#define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035 +#define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036 +#define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037 +#define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038 +#define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039 +#define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A +#define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B +#define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C +typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot); +typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); +typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); +typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot); +typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); +typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); +typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot); +GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset); +GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture); +GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot); +GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params); +GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time); +GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params); +GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params); +#endif +#endif /* GL_NV_video_capture */ + +#ifndef GL_OML_interlace +#define GL_OML_interlace 1 +#define GL_INTERLACE_OML 0x8980 +#define GL_INTERLACE_READ_OML 0x8981 +#endif /* GL_OML_interlace */ + +#ifndef GL_OML_resample +#define GL_OML_resample 1 +#define GL_PACK_RESAMPLE_OML 0x8984 +#define GL_UNPACK_RESAMPLE_OML 0x8985 +#define GL_RESAMPLE_REPLICATE_OML 0x8986 +#define GL_RESAMPLE_ZERO_FILL_OML 0x8987 +#define GL_RESAMPLE_AVERAGE_OML 0x8988 +#define GL_RESAMPLE_DECIMATE_OML 0x8989 +#endif /* GL_OML_resample */ + +#ifndef GL_OML_subsample +#define GL_OML_subsample 1 +#define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982 +#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983 +#endif /* GL_OML_subsample */ + +#ifndef GL_PGI_misc_hints +#define GL_PGI_misc_hints 1 +#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8 +#define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD +#define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE +#define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202 +#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203 +#define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204 +#define GL_ALWAYS_FAST_HINT_PGI 0x1A20C +#define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D +#define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E +#define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F +#define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210 +#define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211 +#define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216 +#define GL_STRICT_LIGHTING_HINT_PGI 0x1A217 +#define GL_STRICT_SCISSOR_HINT_PGI 0x1A218 +#define GL_FULL_STIPPLE_HINT_PGI 0x1A219 +#define GL_CLIP_NEAR_HINT_PGI 0x1A220 +#define GL_CLIP_FAR_HINT_PGI 0x1A221 +#define GL_WIDE_LINE_HINT_PGI 0x1A222 +#define GL_BACK_NORMALS_HINT_PGI 0x1A223 +typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode); +#endif +#endif /* GL_PGI_misc_hints */ + +#ifndef GL_PGI_vertex_hints +#define GL_PGI_vertex_hints 1 +#define GL_VERTEX_DATA_HINT_PGI 0x1A22A +#define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B +#define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C +#define GL_MAX_VERTEX_HINT_PGI 0x1A22D +#define GL_COLOR3_BIT_PGI 0x00010000 +#define GL_COLOR4_BIT_PGI 0x00020000 +#define GL_EDGEFLAG_BIT_PGI 0x00040000 +#define GL_INDEX_BIT_PGI 0x00080000 +#define GL_MAT_AMBIENT_BIT_PGI 0x00100000 +#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000 +#define GL_MAT_DIFFUSE_BIT_PGI 0x00400000 +#define GL_MAT_EMISSION_BIT_PGI 0x00800000 +#define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000 +#define GL_MAT_SHININESS_BIT_PGI 0x02000000 +#define GL_MAT_SPECULAR_BIT_PGI 0x04000000 +#define GL_NORMAL_BIT_PGI 0x08000000 +#define GL_TEXCOORD1_BIT_PGI 0x10000000 +#define GL_TEXCOORD2_BIT_PGI 0x20000000 +#define GL_TEXCOORD3_BIT_PGI 0x40000000 +#define GL_TEXCOORD4_BIT_PGI 0x80000000 +#define GL_VERTEX23_BIT_PGI 0x00000004 +#define GL_VERTEX4_BIT_PGI 0x00000008 +#endif /* GL_PGI_vertex_hints */ + +#ifndef GL_REND_screen_coordinates +#define GL_REND_screen_coordinates 1 +#define GL_SCREEN_COORDINATES_REND 0x8490 +#define GL_INVERTED_SCREEN_W_REND 0x8491 +#endif /* GL_REND_screen_coordinates */ + +#ifndef GL_S3_s3tc +#define GL_S3_s3tc 1 +#define GL_RGB_S3TC 0x83A0 +#define GL_RGB4_S3TC 0x83A1 +#define GL_RGBA_S3TC 0x83A2 +#define GL_RGBA4_S3TC 0x83A3 +#define GL_RGBA_DXT5_S3TC 0x83A4 +#define GL_RGBA4_DXT5_S3TC 0x83A5 +#endif /* GL_S3_s3tc */ + +#ifndef GL_SGIS_detail_texture +#define GL_SGIS_detail_texture 1 +#define GL_DETAIL_TEXTURE_2D_SGIS 0x8095 +#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096 +#define GL_LINEAR_DETAIL_SGIS 0x8097 +#define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098 +#define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099 +#define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A +#define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B +#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C +typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); +GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points); +#endif +#endif /* GL_SGIS_detail_texture */ + +#ifndef GL_SGIS_fog_function +#define GL_SGIS_fog_function 1 +#define GL_FOG_FUNC_SGIS 0x812A +#define GL_FOG_FUNC_POINTS_SGIS 0x812B +#define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C +typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points); +GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points); +#endif +#endif /* GL_SGIS_fog_function */ + +#ifndef GL_SGIS_generate_mipmap +#define GL_SGIS_generate_mipmap 1 +#define GL_GENERATE_MIPMAP_SGIS 0x8191 +#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192 +#endif /* GL_SGIS_generate_mipmap */ + +#ifndef GL_SGIS_multisample +#define GL_SGIS_multisample 1 +#define GL_MULTISAMPLE_SGIS 0x809D +#define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E +#define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F +#define GL_SAMPLE_MASK_SGIS 0x80A0 +#define GL_1PASS_SGIS 0x80A1 +#define GL_2PASS_0_SGIS 0x80A2 +#define GL_2PASS_1_SGIS 0x80A3 +#define GL_4PASS_0_SGIS 0x80A4 +#define GL_4PASS_1_SGIS 0x80A5 +#define GL_4PASS_2_SGIS 0x80A6 +#define GL_4PASS_3_SGIS 0x80A7 +#define GL_SAMPLE_BUFFERS_SGIS 0x80A8 +#define GL_SAMPLES_SGIS 0x80A9 +#define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA +#define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB +#define GL_SAMPLE_PATTERN_SGIS 0x80AC +typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert); +typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert); +GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern); +#endif +#endif /* GL_SGIS_multisample */ + +#ifndef GL_SGIS_pixel_texture +#define GL_SGIS_pixel_texture 1 +#define GL_PIXEL_TEXTURE_SGIS 0x8353 +#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354 +#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355 +#define GL_PIXEL_GROUP_COLOR_SGIS 0x8356 +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param); +GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params); +GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params); +GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params); +#endif +#endif /* GL_SGIS_pixel_texture */ + +#ifndef GL_SGIS_point_line_texgen +#define GL_SGIS_point_line_texgen 1 +#define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0 +#define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1 +#define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2 +#define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3 +#define GL_EYE_POINT_SGIS 0x81F4 +#define GL_OBJECT_POINT_SGIS 0x81F5 +#define GL_EYE_LINE_SGIS 0x81F6 +#define GL_OBJECT_LINE_SGIS 0x81F7 +#endif /* GL_SGIS_point_line_texgen */ + +#ifndef GL_SGIS_point_parameters +#define GL_SGIS_point_parameters 1 +#define GL_POINT_SIZE_MIN_SGIS 0x8126 +#define GL_POINT_SIZE_MAX_SGIS 0x8127 +#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128 +#define GL_DISTANCE_ATTENUATION_SGIS 0x8129 +typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param); +GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params); +#endif +#endif /* GL_SGIS_point_parameters */ + +#ifndef GL_SGIS_sharpen_texture +#define GL_SGIS_sharpen_texture 1 +#define GL_LINEAR_SHARPEN_SGIS 0x80AD +#define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE +#define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF +#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0 +typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points); +typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points); +GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points); +#endif +#endif /* GL_SGIS_sharpen_texture */ + +#ifndef GL_SGIS_texture4D +#define GL_SGIS_texture4D 1 +#define GL_PACK_SKIP_VOLUMES_SGIS 0x8130 +#define GL_PACK_IMAGE_DEPTH_SGIS 0x8131 +#define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132 +#define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133 +#define GL_TEXTURE_4D_SGIS 0x8134 +#define GL_PROXY_TEXTURE_4D_SGIS 0x8135 +#define GL_TEXTURE_4DSIZE_SGIS 0x8136 +#define GL_TEXTURE_WRAP_Q_SGIS 0x8137 +#define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138 +#define GL_TEXTURE_4D_BINDING_SGIS 0x814F +typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels); +typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const void *pixels); +GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const void *pixels); +#endif +#endif /* GL_SGIS_texture4D */ + +#ifndef GL_SGIS_texture_border_clamp +#define GL_SGIS_texture_border_clamp 1 +#define GL_CLAMP_TO_BORDER_SGIS 0x812D +#endif /* GL_SGIS_texture_border_clamp */ + +#ifndef GL_SGIS_texture_color_mask +#define GL_SGIS_texture_color_mask 1 +#define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF +typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +#endif +#endif /* GL_SGIS_texture_color_mask */ + +#ifndef GL_SGIS_texture_edge_clamp +#define GL_SGIS_texture_edge_clamp 1 +#define GL_CLAMP_TO_EDGE_SGIS 0x812F +#endif /* GL_SGIS_texture_edge_clamp */ + +#ifndef GL_SGIS_texture_filter4 +#define GL_SGIS_texture_filter4 1 +#define GL_FILTER4_SGIS 0x8146 +#define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147 +typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights); +typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights); +GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights); +#endif +#endif /* GL_SGIS_texture_filter4 */ + +#ifndef GL_SGIS_texture_lod +#define GL_SGIS_texture_lod 1 +#define GL_TEXTURE_MIN_LOD_SGIS 0x813A +#define GL_TEXTURE_MAX_LOD_SGIS 0x813B +#define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C +#define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D +#endif /* GL_SGIS_texture_lod */ + +#ifndef GL_SGIS_texture_select +#define GL_SGIS_texture_select 1 +#define GL_DUAL_ALPHA4_SGIS 0x8110 +#define GL_DUAL_ALPHA8_SGIS 0x8111 +#define GL_DUAL_ALPHA12_SGIS 0x8112 +#define GL_DUAL_ALPHA16_SGIS 0x8113 +#define GL_DUAL_LUMINANCE4_SGIS 0x8114 +#define GL_DUAL_LUMINANCE8_SGIS 0x8115 +#define GL_DUAL_LUMINANCE12_SGIS 0x8116 +#define GL_DUAL_LUMINANCE16_SGIS 0x8117 +#define GL_DUAL_INTENSITY4_SGIS 0x8118 +#define GL_DUAL_INTENSITY8_SGIS 0x8119 +#define GL_DUAL_INTENSITY12_SGIS 0x811A +#define GL_DUAL_INTENSITY16_SGIS 0x811B +#define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C +#define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D +#define GL_QUAD_ALPHA4_SGIS 0x811E +#define GL_QUAD_ALPHA8_SGIS 0x811F +#define GL_QUAD_LUMINANCE4_SGIS 0x8120 +#define GL_QUAD_LUMINANCE8_SGIS 0x8121 +#define GL_QUAD_INTENSITY4_SGIS 0x8122 +#define GL_QUAD_INTENSITY8_SGIS 0x8123 +#define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124 +#define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125 +#endif /* GL_SGIS_texture_select */ + +#ifndef GL_SGIX_async +#define GL_SGIX_async 1 +#define GL_ASYNC_MARKER_SGIX 0x8329 +typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker); +typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp); +typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp); +typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range); +typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range); +typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker); +GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp); +GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp); +GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range); +GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range); +GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker); +#endif +#endif /* GL_SGIX_async */ + +#ifndef GL_SGIX_async_histogram +#define GL_SGIX_async_histogram 1 +#define GL_ASYNC_HISTOGRAM_SGIX 0x832C +#define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D +#endif /* GL_SGIX_async_histogram */ + +#ifndef GL_SGIX_async_pixel +#define GL_SGIX_async_pixel 1 +#define GL_ASYNC_TEX_IMAGE_SGIX 0x835C +#define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D +#define GL_ASYNC_READ_PIXELS_SGIX 0x835E +#define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F +#define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360 +#define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361 +#endif /* GL_SGIX_async_pixel */ + +#ifndef GL_SGIX_blend_alpha_minmax +#define GL_SGIX_blend_alpha_minmax 1 +#define GL_ALPHA_MIN_SGIX 0x8320 +#define GL_ALPHA_MAX_SGIX 0x8321 +#endif /* GL_SGIX_blend_alpha_minmax */ + +#ifndef GL_SGIX_calligraphic_fragment +#define GL_SGIX_calligraphic_fragment 1 +#define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183 +#endif /* GL_SGIX_calligraphic_fragment */ + +#ifndef GL_SGIX_clipmap +#define GL_SGIX_clipmap 1 +#define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170 +#define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171 +#define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172 +#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173 +#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174 +#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175 +#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176 +#define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177 +#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178 +#define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D +#define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E +#define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F +#endif /* GL_SGIX_clipmap */ + +#ifndef GL_SGIX_convolution_accuracy +#define GL_SGIX_convolution_accuracy 1 +#define GL_CONVOLUTION_HINT_SGIX 0x8316 +#endif /* GL_SGIX_convolution_accuracy */ + +#ifndef GL_SGIX_depth_pass_instrument +#define GL_SGIX_depth_pass_instrument 1 +#endif /* GL_SGIX_depth_pass_instrument */ + +#ifndef GL_SGIX_depth_texture +#define GL_SGIX_depth_texture 1 +#define GL_DEPTH_COMPONENT16_SGIX 0x81A5 +#define GL_DEPTH_COMPONENT24_SGIX 0x81A6 +#define GL_DEPTH_COMPONENT32_SGIX 0x81A7 +#endif /* GL_SGIX_depth_texture */ + +#ifndef GL_SGIX_flush_raster +#define GL_SGIX_flush_raster 1 +typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFlushRasterSGIX (void); +#endif +#endif /* GL_SGIX_flush_raster */ + +#ifndef GL_SGIX_fog_offset +#define GL_SGIX_fog_offset 1 +#define GL_FOG_OFFSET_SGIX 0x8198 +#define GL_FOG_OFFSET_VALUE_SGIX 0x8199 +#endif /* GL_SGIX_fog_offset */ + +#ifndef GL_SGIX_fragment_lighting +#define GL_SGIX_fragment_lighting 1 +#define GL_FRAGMENT_LIGHTING_SGIX 0x8400 +#define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401 +#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402 +#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403 +#define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404 +#define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405 +#define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406 +#define GL_LIGHT_ENV_MODE_SGIX 0x8407 +#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408 +#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409 +#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A +#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B +#define GL_FRAGMENT_LIGHT0_SGIX 0x840C +#define GL_FRAGMENT_LIGHT1_SGIX 0x840D +#define GL_FRAGMENT_LIGHT2_SGIX 0x840E +#define GL_FRAGMENT_LIGHT3_SGIX 0x840F +#define GL_FRAGMENT_LIGHT4_SGIX 0x8410 +#define GL_FRAGMENT_LIGHT5_SGIX 0x8411 +#define GL_FRAGMENT_LIGHT6_SGIX 0x8412 +#define GL_FRAGMENT_LIGHT7_SGIX 0x8413 +typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode); +GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params); +GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params); +GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param); +GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param); +GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params); +GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params); +GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params); +GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param); +#endif +#endif /* GL_SGIX_fragment_lighting */ + +#ifndef GL_SGIX_framezoom +#define GL_SGIX_framezoom 1 +#define GL_FRAMEZOOM_SGIX 0x818B +#define GL_FRAMEZOOM_FACTOR_SGIX 0x818C +#define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D +typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFrameZoomSGIX (GLint factor); +#endif +#endif /* GL_SGIX_framezoom */ + +#ifndef GL_SGIX_igloo_interface +#define GL_SGIX_igloo_interface 1 +typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const void *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const void *params); +#endif +#endif /* GL_SGIX_igloo_interface */ + +#ifndef GL_SGIX_instruments +#define GL_SGIX_instruments 1 +#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180 +#define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181 +typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer); +typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p); +typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker); +typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void); +typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI GLint APIENTRY glGetInstrumentsSGIX (void); +GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer); +GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p); +GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker); +GLAPI void APIENTRY glStartInstrumentsSGIX (void); +GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker); +#endif +#endif /* GL_SGIX_instruments */ + +#ifndef GL_SGIX_interlace +#define GL_SGIX_interlace 1 +#define GL_INTERLACE_SGIX 0x8094 +#endif /* GL_SGIX_interlace */ + +#ifndef GL_SGIX_ir_instrument1 +#define GL_SGIX_ir_instrument1 1 +#define GL_IR_INSTRUMENT1_SGIX 0x817F +#endif /* GL_SGIX_ir_instrument1 */ + +#ifndef GL_SGIX_list_priority +#define GL_SGIX_list_priority 1 +#define GL_LIST_PRIORITY_SGIX 0x8182 +typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params); +typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params); +GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param); +GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param); +GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params); +#endif +#endif /* GL_SGIX_list_priority */ + +#ifndef GL_SGIX_pixel_texture +#define GL_SGIX_pixel_texture 1 +#define GL_PIXEL_TEX_GEN_SGIX 0x8139 +#define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B +typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode); +#endif +#endif /* GL_SGIX_pixel_texture */ + +#ifndef GL_SGIX_pixel_tiles +#define GL_SGIX_pixel_tiles 1 +#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E +#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F +#define GL_PIXEL_TILE_WIDTH_SGIX 0x8140 +#define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141 +#define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142 +#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143 +#define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144 +#define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145 +#endif /* GL_SGIX_pixel_tiles */ + +#ifndef GL_SGIX_polynomial_ffd +#define GL_SGIX_polynomial_ffd 1 +#define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001 +#define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002 +#define GL_GEOMETRY_DEFORMATION_SGIX 0x8194 +#define GL_TEXTURE_DEFORMATION_SGIX 0x8195 +#define GL_DEFORMATIONS_MASK_SGIX 0x8196 +#define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197 +typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); +typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); +typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask); +typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points); +GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points); +GLAPI void APIENTRY glDeformSGIX (GLbitfield mask); +GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask); +#endif +#endif /* GL_SGIX_polynomial_ffd */ + +#ifndef GL_SGIX_reference_plane +#define GL_SGIX_reference_plane 1 +#define GL_REFERENCE_PLANE_SGIX 0x817D +#define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E +typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation); +#endif +#endif /* GL_SGIX_reference_plane */ + +#ifndef GL_SGIX_resample +#define GL_SGIX_resample 1 +#define GL_PACK_RESAMPLE_SGIX 0x842C +#define GL_UNPACK_RESAMPLE_SGIX 0x842D +#define GL_RESAMPLE_REPLICATE_SGIX 0x842E +#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F +#define GL_RESAMPLE_DECIMATE_SGIX 0x8430 +#endif /* GL_SGIX_resample */ + +#ifndef GL_SGIX_scalebias_hint +#define GL_SGIX_scalebias_hint 1 +#define GL_SCALEBIAS_HINT_SGIX 0x8322 +#endif /* GL_SGIX_scalebias_hint */ + +#ifndef GL_SGIX_shadow +#define GL_SGIX_shadow 1 +#define GL_TEXTURE_COMPARE_SGIX 0x819A +#define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B +#define GL_TEXTURE_LEQUAL_R_SGIX 0x819C +#define GL_TEXTURE_GEQUAL_R_SGIX 0x819D +#endif /* GL_SGIX_shadow */ + +#ifndef GL_SGIX_shadow_ambient +#define GL_SGIX_shadow_ambient 1 +#define GL_SHADOW_AMBIENT_SGIX 0x80BF +#endif /* GL_SGIX_shadow_ambient */ + +#ifndef GL_SGIX_sprite +#define GL_SGIX_sprite 1 +#define GL_SPRITE_SGIX 0x8148 +#define GL_SPRITE_MODE_SGIX 0x8149 +#define GL_SPRITE_AXIS_SGIX 0x814A +#define GL_SPRITE_TRANSLATION_SGIX 0x814B +#define GL_SPRITE_AXIAL_SGIX 0x814C +#define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D +#define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E +typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param); +typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param); +GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param); +GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params); +#endif +#endif /* GL_SGIX_sprite */ + +#ifndef GL_SGIX_subsample +#define GL_SGIX_subsample 1 +#define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0 +#define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1 +#define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2 +#define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3 +#define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4 +#endif /* GL_SGIX_subsample */ + +#ifndef GL_SGIX_tag_sample_buffer +#define GL_SGIX_tag_sample_buffer 1 +typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glTagSampleBufferSGIX (void); +#endif +#endif /* GL_SGIX_tag_sample_buffer */ + +#ifndef GL_SGIX_texture_add_env +#define GL_SGIX_texture_add_env 1 +#define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE +#endif /* GL_SGIX_texture_add_env */ + +#ifndef GL_SGIX_texture_coordinate_clamp +#define GL_SGIX_texture_coordinate_clamp 1 +#define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369 +#define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A +#define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B +#endif /* GL_SGIX_texture_coordinate_clamp */ + +#ifndef GL_SGIX_texture_lod_bias +#define GL_SGIX_texture_lod_bias 1 +#define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E +#define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F +#define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190 +#endif /* GL_SGIX_texture_lod_bias */ + +#ifndef GL_SGIX_texture_multi_buffer +#define GL_SGIX_texture_multi_buffer 1 +#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E +#endif /* GL_SGIX_texture_multi_buffer */ + +#ifndef GL_SGIX_texture_scale_bias +#define GL_SGIX_texture_scale_bias 1 +#define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179 +#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A +#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B +#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C +#endif /* GL_SGIX_texture_scale_bias */ + +#ifndef GL_SGIX_vertex_preclip +#define GL_SGIX_vertex_preclip 1 +#define GL_VERTEX_PRECLIP_SGIX 0x83EE +#define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF +#endif /* GL_SGIX_vertex_preclip */ + +#ifndef GL_SGIX_ycrcb +#define GL_SGIX_ycrcb 1 +#define GL_YCRCB_422_SGIX 0x81BB +#define GL_YCRCB_444_SGIX 0x81BC +#endif /* GL_SGIX_ycrcb */ + +#ifndef GL_SGIX_ycrcb_subsample +#define GL_SGIX_ycrcb_subsample 1 +#endif /* GL_SGIX_ycrcb_subsample */ + +#ifndef GL_SGIX_ycrcba +#define GL_SGIX_ycrcba 1 +#define GL_YCRCB_SGIX 0x8318 +#define GL_YCRCBA_SGIX 0x8319 +#endif /* GL_SGIX_ycrcba */ + +#ifndef GL_SGI_color_matrix +#define GL_SGI_color_matrix 1 +#define GL_COLOR_MATRIX_SGI 0x80B1 +#define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2 +#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3 +#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4 +#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5 +#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6 +#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7 +#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8 +#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9 +#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA +#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB +#endif /* GL_SGI_color_matrix */ + +#ifndef GL_SGI_color_table +#define GL_SGI_color_table 1 +#define GL_COLOR_TABLE_SGI 0x80D0 +#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1 +#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2 +#define GL_PROXY_COLOR_TABLE_SGI 0x80D3 +#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4 +#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5 +#define GL_COLOR_TABLE_SCALE_SGI 0x80D6 +#define GL_COLOR_TABLE_BIAS_SGI 0x80D7 +#define GL_COLOR_TABLE_FORMAT_SGI 0x80D8 +#define GL_COLOR_TABLE_WIDTH_SGI 0x80D9 +#define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA +#define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB +#define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC +#define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD +#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE +#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF +typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params); +typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params); +typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void *table); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params); +typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void *table); +GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params); +GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params); +GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); +GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, void *table); +GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params); +GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params); +#endif +#endif /* GL_SGI_color_table */ + +#ifndef GL_SGI_texture_color_table +#define GL_SGI_texture_color_table 1 +#define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC +#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD +#endif /* GL_SGI_texture_color_table */ + +#ifndef GL_SUNX_constant_data +#define GL_SUNX_constant_data 1 +#define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5 +#define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6 +typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glFinishTextureSUNX (void); +#endif +#endif /* GL_SUNX_constant_data */ + +#ifndef GL_SUN_convolution_border_modes +#define GL_SUN_convolution_border_modes 1 +#define GL_WRAP_BORDER_SUN 0x81D4 +#endif /* GL_SUN_convolution_border_modes */ + +#ifndef GL_SUN_global_alpha +#define GL_SUN_global_alpha 1 +#define GL_GLOBAL_ALPHA_SUN 0x81D9 +#define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor); +typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor); +GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor); +GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor); +GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor); +GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor); +GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor); +GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor); +GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor); +#endif +#endif /* GL_SUN_global_alpha */ + +#ifndef GL_SUN_mesh_array +#define GL_SUN_mesh_array 1 +#define GL_QUAD_MESH_SUN 0x8614 +#define GL_TRIANGLE_MESH_SUN 0x8615 +typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width); +#endif +#endif /* GL_SUN_mesh_array */ + +#ifndef GL_SUN_slice_accum +#define GL_SUN_slice_accum 1 +#define GL_SLICE_ACCUM_SUN 0x85CC +#endif /* GL_SUN_slice_accum */ + +#ifndef GL_SUN_triangle_list +#define GL_SUN_triangle_list 1 +#define GL_RESTART_SUN 0x0001 +#define GL_REPLACE_MIDDLE_SUN 0x0002 +#define GL_REPLACE_OLDEST_SUN 0x0003 +#define GL_TRIANGLE_LIST_SUN 0x81D7 +#define GL_REPLACEMENT_CODE_SUN 0x81D8 +#define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0 +#define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1 +#define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2 +#define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3 +#define GL_R1UI_V3F_SUN 0x85C4 +#define GL_R1UI_C4UB_V3F_SUN 0x85C5 +#define GL_R1UI_C3F_V3F_SUN 0x85C6 +#define GL_R1UI_N3F_V3F_SUN 0x85C7 +#define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8 +#define GL_R1UI_T2F_V3F_SUN 0x85C9 +#define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA +#define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void **pointer); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code); +GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code); +GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code); +GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code); +GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code); +GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code); +GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const void **pointer); +#endif +#endif /* GL_SUN_triangle_list */ + +#ifndef GL_SUN_vertex +#define GL_SUN_vertex 1 +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +#ifdef GL_GLEXT_PROTOTYPES +GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y); +GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z); +GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v); +#endif +#endif /* GL_SUN_vertex */ + +#ifndef GL_WIN_phong_shading +#define GL_WIN_phong_shading 1 +#define GL_PHONG_WIN 0x80EA +#define GL_PHONG_HINT_WIN 0x80EB +#endif /* GL_WIN_phong_shading */ + +#ifndef GL_WIN_specular_fog +#define GL_WIN_specular_fog 1 +#define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC +#endif /* GL_WIN_specular_fog */ + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles.h new file mode 100644 index 000000000..800c59307 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles.h @@ -0,0 +1,39 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_opengles.h + * + * This is a simple file to encapsulate the OpenGL ES 1.X API headers. + */ +#include "SDL_config.h" + +#ifdef __IPHONEOS__ +#include +#include +#else +#include +#include +#endif + +#ifndef APIENTRY +#define APIENTRY +#endif diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2.h new file mode 100644 index 000000000..102f2f3fa --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2.h @@ -0,0 +1,52 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_opengles2.h + * + * This is a simple file to encapsulate the OpenGL ES 2.0 API headers. + */ +#include "SDL_config.h" + +#ifndef _MSC_VER + +#ifdef __IPHONEOS__ +#include +#include +#else +#include +#include +#include +#endif + +#else /* _MSC_VER */ + +/* OpenGL ES2 headers for Visual Studio */ +#include "SDL_opengles2_khrplatform.h" +#include "SDL_opengles2_gl2platform.h" +#include "SDL_opengles2_gl2.h" +#include "SDL_opengles2_gl2ext.h" + +#endif /* _MSC_VER */ + +#ifndef APIENTRY +#define APIENTRY GL_APIENTRY +#endif diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h new file mode 100644 index 000000000..c62fb0a54 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h @@ -0,0 +1,621 @@ +#ifndef __gl2_h_ +#define __gl2_h_ + +/* $Revision: 20555 $ on $Date:: 2013-02-12 14:32:47 -0800 #$ */ + +/*#include */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ + +/*------------------------------------------------------------------------- + * Data type definitions + *-----------------------------------------------------------------------*/ + +typedef void GLvoid; +typedef char GLchar; +typedef unsigned int GLenum; +typedef unsigned char GLboolean; +typedef unsigned int GLbitfield; +typedef khronos_int8_t GLbyte; +typedef short GLshort; +typedef int GLint; +typedef int GLsizei; +typedef khronos_uint8_t GLubyte; +typedef unsigned short GLushort; +typedef unsigned int GLuint; +typedef khronos_float_t GLfloat; +typedef khronos_float_t GLclampf; +typedef khronos_int32_t GLfixed; + +/* GL types for handling large vertex buffer objects */ +typedef khronos_intptr_t GLintptr; +typedef khronos_ssize_t GLsizeiptr; + +/* OpenGL ES core versions */ +#define GL_ES_VERSION_2_0 1 + +/* ClearBufferMask */ +#define GL_DEPTH_BUFFER_BIT 0x00000100 +#define GL_STENCIL_BUFFER_BIT 0x00000400 +#define GL_COLOR_BUFFER_BIT 0x00004000 + +/* Boolean */ +#define GL_FALSE 0 +#define GL_TRUE 1 + +/* BeginMode */ +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 + +/* AlphaFunction (not supported in ES20) */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* BlendingFactorDest */ +#define GL_ZERO 0 +#define GL_ONE 1 +#define GL_SRC_COLOR 0x0300 +#define GL_ONE_MINUS_SRC_COLOR 0x0301 +#define GL_SRC_ALPHA 0x0302 +#define GL_ONE_MINUS_SRC_ALPHA 0x0303 +#define GL_DST_ALPHA 0x0304 +#define GL_ONE_MINUS_DST_ALPHA 0x0305 + +/* BlendingFactorSrc */ +/* GL_ZERO */ +/* GL_ONE */ +#define GL_DST_COLOR 0x0306 +#define GL_ONE_MINUS_DST_COLOR 0x0307 +#define GL_SRC_ALPHA_SATURATE 0x0308 +/* GL_SRC_ALPHA */ +/* GL_ONE_MINUS_SRC_ALPHA */ +/* GL_DST_ALPHA */ +/* GL_ONE_MINUS_DST_ALPHA */ + +/* BlendEquationSeparate */ +#define GL_FUNC_ADD 0x8006 +#define GL_BLEND_EQUATION 0x8009 +#define GL_BLEND_EQUATION_RGB 0x8009 /* same as BLEND_EQUATION */ +#define GL_BLEND_EQUATION_ALPHA 0x883D + +/* BlendSubtract */ +#define GL_FUNC_SUBTRACT 0x800A +#define GL_FUNC_REVERSE_SUBTRACT 0x800B + +/* Separate Blend Functions */ +#define GL_BLEND_DST_RGB 0x80C8 +#define GL_BLEND_SRC_RGB 0x80C9 +#define GL_BLEND_DST_ALPHA 0x80CA +#define GL_BLEND_SRC_ALPHA 0x80CB +#define GL_CONSTANT_COLOR 0x8001 +#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 +#define GL_CONSTANT_ALPHA 0x8003 +#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 +#define GL_BLEND_COLOR 0x8005 + +/* Buffer Objects */ +#define GL_ARRAY_BUFFER 0x8892 +#define GL_ELEMENT_ARRAY_BUFFER 0x8893 +#define GL_ARRAY_BUFFER_BINDING 0x8894 +#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895 + +#define GL_STREAM_DRAW 0x88E0 +#define GL_STATIC_DRAW 0x88E4 +#define GL_DYNAMIC_DRAW 0x88E8 + +#define GL_BUFFER_SIZE 0x8764 +#define GL_BUFFER_USAGE 0x8765 + +#define GL_CURRENT_VERTEX_ATTRIB 0x8626 + +/* CullFaceMode */ +#define GL_FRONT 0x0404 +#define GL_BACK 0x0405 +#define GL_FRONT_AND_BACK 0x0408 + +/* DepthFunction */ +/* GL_NEVER */ +/* GL_LESS */ +/* GL_EQUAL */ +/* GL_LEQUAL */ +/* GL_GREATER */ +/* GL_NOTEQUAL */ +/* GL_GEQUAL */ +/* GL_ALWAYS */ + +/* EnableCap */ +#define GL_TEXTURE_2D 0x0DE1 +#define GL_CULL_FACE 0x0B44 +#define GL_BLEND 0x0BE2 +#define GL_DITHER 0x0BD0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_DEPTH_TEST 0x0B71 +#define GL_SCISSOR_TEST 0x0C11 +#define GL_POLYGON_OFFSET_FILL 0x8037 +#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E +#define GL_SAMPLE_COVERAGE 0x80A0 + +/* ErrorCode */ +#define GL_NO_ERROR 0 +#define GL_INVALID_ENUM 0x0500 +#define GL_INVALID_VALUE 0x0501 +#define GL_INVALID_OPERATION 0x0502 +#define GL_OUT_OF_MEMORY 0x0505 + +/* FrontFaceDirection */ +#define GL_CW 0x0900 +#define GL_CCW 0x0901 + +/* GetPName */ +#define GL_LINE_WIDTH 0x0B21 +#define GL_ALIASED_POINT_SIZE_RANGE 0x846D +#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E +#define GL_CULL_FACE_MODE 0x0B45 +#define GL_FRONT_FACE 0x0B46 +#define GL_DEPTH_RANGE 0x0B70 +#define GL_DEPTH_WRITEMASK 0x0B72 +#define GL_DEPTH_CLEAR_VALUE 0x0B73 +#define GL_DEPTH_FUNC 0x0B74 +#define GL_STENCIL_CLEAR_VALUE 0x0B91 +#define GL_STENCIL_FUNC 0x0B92 +#define GL_STENCIL_FAIL 0x0B94 +#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 +#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 +#define GL_STENCIL_REF 0x0B97 +#define GL_STENCIL_VALUE_MASK 0x0B93 +#define GL_STENCIL_WRITEMASK 0x0B98 +#define GL_STENCIL_BACK_FUNC 0x8800 +#define GL_STENCIL_BACK_FAIL 0x8801 +#define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802 +#define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803 +#define GL_STENCIL_BACK_REF 0x8CA3 +#define GL_STENCIL_BACK_VALUE_MASK 0x8CA4 +#define GL_STENCIL_BACK_WRITEMASK 0x8CA5 +#define GL_VIEWPORT 0x0BA2 +#define GL_SCISSOR_BOX 0x0C10 +/* GL_SCISSOR_TEST */ +#define GL_COLOR_CLEAR_VALUE 0x0C22 +#define GL_COLOR_WRITEMASK 0x0C23 +#define GL_UNPACK_ALIGNMENT 0x0CF5 +#define GL_PACK_ALIGNMENT 0x0D05 +#define GL_MAX_TEXTURE_SIZE 0x0D33 +#define GL_MAX_VIEWPORT_DIMS 0x0D3A +#define GL_SUBPIXEL_BITS 0x0D50 +#define GL_RED_BITS 0x0D52 +#define GL_GREEN_BITS 0x0D53 +#define GL_BLUE_BITS 0x0D54 +#define GL_ALPHA_BITS 0x0D55 +#define GL_DEPTH_BITS 0x0D56 +#define GL_STENCIL_BITS 0x0D57 +#define GL_POLYGON_OFFSET_UNITS 0x2A00 +/* GL_POLYGON_OFFSET_FILL */ +#define GL_POLYGON_OFFSET_FACTOR 0x8038 +#define GL_TEXTURE_BINDING_2D 0x8069 +#define GL_SAMPLE_BUFFERS 0x80A8 +#define GL_SAMPLES 0x80A9 +#define GL_SAMPLE_COVERAGE_VALUE 0x80AA +#define GL_SAMPLE_COVERAGE_INVERT 0x80AB + +/* GetTextureParameter */ +/* GL_TEXTURE_MAG_FILTER */ +/* GL_TEXTURE_MIN_FILTER */ +/* GL_TEXTURE_WRAP_S */ +/* GL_TEXTURE_WRAP_T */ + +#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 +#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 + +/* HintMode */ +#define GL_DONT_CARE 0x1100 +#define GL_FASTEST 0x1101 +#define GL_NICEST 0x1102 + +/* HintTarget */ +#define GL_GENERATE_MIPMAP_HINT 0x8192 + +/* DataType */ +#define GL_BYTE 0x1400 +#define GL_UNSIGNED_BYTE 0x1401 +#define GL_SHORT 0x1402 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_INT 0x1404 +#define GL_UNSIGNED_INT 0x1405 +#define GL_FLOAT 0x1406 +#define GL_FIXED 0x140C + +/* PixelFormat */ +#define GL_DEPTH_COMPONENT 0x1902 +#define GL_ALPHA 0x1906 +#define GL_RGB 0x1907 +#define GL_RGBA 0x1908 +#define GL_LUMINANCE 0x1909 +#define GL_LUMINANCE_ALPHA 0x190A + +/* PixelType */ +/* GL_UNSIGNED_BYTE */ +#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 +#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 +#define GL_UNSIGNED_SHORT_5_6_5 0x8363 + +/* Shaders */ +#define GL_FRAGMENT_SHADER 0x8B30 +#define GL_VERTEX_SHADER 0x8B31 +#define GL_MAX_VERTEX_ATTRIBS 0x8869 +#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB +#define GL_MAX_VARYING_VECTORS 0x8DFC +#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D +#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C +#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872 +#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD +#define GL_SHADER_TYPE 0x8B4F +#define GL_DELETE_STATUS 0x8B80 +#define GL_LINK_STATUS 0x8B82 +#define GL_VALIDATE_STATUS 0x8B83 +#define GL_ATTACHED_SHADERS 0x8B85 +#define GL_ACTIVE_UNIFORMS 0x8B86 +#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87 +#define GL_ACTIVE_ATTRIBUTES 0x8B89 +#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A +#define GL_SHADING_LANGUAGE_VERSION 0x8B8C +#define GL_CURRENT_PROGRAM 0x8B8D + +/* StencilFunction */ +#define GL_NEVER 0x0200 +#define GL_LESS 0x0201 +#define GL_EQUAL 0x0202 +#define GL_LEQUAL 0x0203 +#define GL_GREATER 0x0204 +#define GL_NOTEQUAL 0x0205 +#define GL_GEQUAL 0x0206 +#define GL_ALWAYS 0x0207 + +/* StencilOp */ +/* GL_ZERO */ +#define GL_KEEP 0x1E00 +#define GL_REPLACE 0x1E01 +#define GL_INCR 0x1E02 +#define GL_DECR 0x1E03 +#define GL_INVERT 0x150A +#define GL_INCR_WRAP 0x8507 +#define GL_DECR_WRAP 0x8508 + +/* StringName */ +#define GL_VENDOR 0x1F00 +#define GL_RENDERER 0x1F01 +#define GL_VERSION 0x1F02 +#define GL_EXTENSIONS 0x1F03 + +/* TextureMagFilter */ +#define GL_NEAREST 0x2600 +#define GL_LINEAR 0x2601 + +/* TextureMinFilter */ +/* GL_NEAREST */ +/* GL_LINEAR */ +#define GL_NEAREST_MIPMAP_NEAREST 0x2700 +#define GL_LINEAR_MIPMAP_NEAREST 0x2701 +#define GL_NEAREST_MIPMAP_LINEAR 0x2702 +#define GL_LINEAR_MIPMAP_LINEAR 0x2703 + +/* TextureParameterName */ +#define GL_TEXTURE_MAG_FILTER 0x2800 +#define GL_TEXTURE_MIN_FILTER 0x2801 +#define GL_TEXTURE_WRAP_S 0x2802 +#define GL_TEXTURE_WRAP_T 0x2803 + +/* TextureTarget */ +/* GL_TEXTURE_2D */ +#define GL_TEXTURE 0x1702 + +#define GL_TEXTURE_CUBE_MAP 0x8513 +#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 +#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 +#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A +#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C + +/* TextureUnit */ +#define GL_TEXTURE0 0x84C0 +#define GL_TEXTURE1 0x84C1 +#define GL_TEXTURE2 0x84C2 +#define GL_TEXTURE3 0x84C3 +#define GL_TEXTURE4 0x84C4 +#define GL_TEXTURE5 0x84C5 +#define GL_TEXTURE6 0x84C6 +#define GL_TEXTURE7 0x84C7 +#define GL_TEXTURE8 0x84C8 +#define GL_TEXTURE9 0x84C9 +#define GL_TEXTURE10 0x84CA +#define GL_TEXTURE11 0x84CB +#define GL_TEXTURE12 0x84CC +#define GL_TEXTURE13 0x84CD +#define GL_TEXTURE14 0x84CE +#define GL_TEXTURE15 0x84CF +#define GL_TEXTURE16 0x84D0 +#define GL_TEXTURE17 0x84D1 +#define GL_TEXTURE18 0x84D2 +#define GL_TEXTURE19 0x84D3 +#define GL_TEXTURE20 0x84D4 +#define GL_TEXTURE21 0x84D5 +#define GL_TEXTURE22 0x84D6 +#define GL_TEXTURE23 0x84D7 +#define GL_TEXTURE24 0x84D8 +#define GL_TEXTURE25 0x84D9 +#define GL_TEXTURE26 0x84DA +#define GL_TEXTURE27 0x84DB +#define GL_TEXTURE28 0x84DC +#define GL_TEXTURE29 0x84DD +#define GL_TEXTURE30 0x84DE +#define GL_TEXTURE31 0x84DF +#define GL_ACTIVE_TEXTURE 0x84E0 + +/* TextureWrapMode */ +#define GL_REPEAT 0x2901 +#define GL_CLAMP_TO_EDGE 0x812F +#define GL_MIRRORED_REPEAT 0x8370 + +/* Uniform Types */ +#define GL_FLOAT_VEC2 0x8B50 +#define GL_FLOAT_VEC3 0x8B51 +#define GL_FLOAT_VEC4 0x8B52 +#define GL_INT_VEC2 0x8B53 +#define GL_INT_VEC3 0x8B54 +#define GL_INT_VEC4 0x8B55 +#define GL_BOOL 0x8B56 +#define GL_BOOL_VEC2 0x8B57 +#define GL_BOOL_VEC3 0x8B58 +#define GL_BOOL_VEC4 0x8B59 +#define GL_FLOAT_MAT2 0x8B5A +#define GL_FLOAT_MAT3 0x8B5B +#define GL_FLOAT_MAT4 0x8B5C +#define GL_SAMPLER_2D 0x8B5E +#define GL_SAMPLER_CUBE 0x8B60 + +/* Vertex Arrays */ +#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622 +#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623 +#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624 +#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625 +#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A +#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645 +#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F + +/* Read Format */ +#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A +#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B + +/* Shader Source */ +#define GL_COMPILE_STATUS 0x8B81 +#define GL_INFO_LOG_LENGTH 0x8B84 +#define GL_SHADER_SOURCE_LENGTH 0x8B88 +#define GL_SHADER_COMPILER 0x8DFA + +/* Shader Binary */ +#define GL_SHADER_BINARY_FORMATS 0x8DF8 +#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9 + +/* Shader Precision-Specified Types */ +#define GL_LOW_FLOAT 0x8DF0 +#define GL_MEDIUM_FLOAT 0x8DF1 +#define GL_HIGH_FLOAT 0x8DF2 +#define GL_LOW_INT 0x8DF3 +#define GL_MEDIUM_INT 0x8DF4 +#define GL_HIGH_INT 0x8DF5 + +/* Framebuffer Object. */ +#define GL_FRAMEBUFFER 0x8D40 +#define GL_RENDERBUFFER 0x8D41 + +#define GL_RGBA4 0x8056 +#define GL_RGB5_A1 0x8057 +#define GL_RGB565 0x8D62 +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_STENCIL_INDEX8 0x8D48 + +#define GL_RENDERBUFFER_WIDTH 0x8D42 +#define GL_RENDERBUFFER_HEIGHT 0x8D43 +#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44 +#define GL_RENDERBUFFER_RED_SIZE 0x8D50 +#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51 +#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52 +#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53 +#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54 +#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55 + +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0 +#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2 +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3 + +#define GL_COLOR_ATTACHMENT0 0x8CE0 +#define GL_DEPTH_ATTACHMENT 0x8D00 +#define GL_STENCIL_ATTACHMENT 0x8D20 + +#define GL_NONE 0 + +#define GL_FRAMEBUFFER_COMPLETE 0x8CD5 +#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 +#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 +#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 +#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD + +#define GL_FRAMEBUFFER_BINDING 0x8CA6 +#define GL_RENDERBUFFER_BINDING 0x8CA7 +#define GL_MAX_RENDERBUFFER_SIZE 0x84E8 + +#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506 + +/*------------------------------------------------------------------------- + * GL core functions. + *-----------------------------------------------------------------------*/ + +GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture); +GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name); +GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer); +GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer); +GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture); +GL_APICALL void GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +GL_APICALL void GL_APIENTRY glBlendEquation ( GLenum mode ); +GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha); +GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor); +GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); +GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage); +GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data); +GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target); +GL_APICALL void GL_APIENTRY glClear (GLbitfield mask); +GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); +GL_APICALL void GL_APIENTRY glClearDepthf (GLclampf depth); +GL_APICALL void GL_APIENTRY glClearStencil (GLint s); +GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); +GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader); +GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data); +GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); +GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL GLuint GL_APIENTRY glCreateProgram (void); +GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type); +GL_APICALL void GL_APIENTRY glCullFace (GLenum mode); +GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers); +GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers); +GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); +GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers); +GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader); +GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures); +GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func); +GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag); +GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar); +GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); +GL_APICALL void GL_APIENTRY glDisable (GLenum cap); +GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); +GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); +GL_APICALL void GL_APIENTRY glEnable (GLenum cap); +GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index); +GL_APICALL void GL_APIENTRY glFinish (void); +GL_APICALL void GL_APIENTRY glFlush (void); +GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); +GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); +GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode); +GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers); +GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target); +GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers); +GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers); +GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures); +GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name); +GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); +GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name); +GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params); +GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params); +GL_APICALL GLenum GL_APIENTRY glGetError (void); +GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params); +GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); +GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog); +GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision); +GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source); +GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name); +GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params); +GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params); +GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params); +GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name); +GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params); +GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params); +GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer); +GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode); +GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer); +GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap); +GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer); +GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program); +GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer); +GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader); +GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture); +GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width); +GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program); +GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units); +GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels); +GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void); +GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert); +GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length); +GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length); +GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask); +GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask); +GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass); +GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param); +GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params); +GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params); +GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels); +GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x); +GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v); +GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x); +GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v); +GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v); +GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y); +GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v); +GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v); +GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z); +GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v); +GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v); +GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w); +GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v); +GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value); +GL_APICALL void GL_APIENTRY glUseProgram (GLuint program); +GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program); +GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x); +GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values); +GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values); +GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values); +GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values); +GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr); +GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height); + +#ifdef __cplusplus +} +#endif + +#endif /* __gl2_h_ */ + diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h new file mode 100644 index 000000000..e8ca8b13f --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h @@ -0,0 +1,2050 @@ +#ifndef __gl2ext_h_ +#define __gl2ext_h_ + +/* $Revision: 22801 $ on $Date:: 2013-08-21 03:20:48 -0700 #$ */ + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ + +#ifndef GL_APIENTRYP +# define GL_APIENTRYP GL_APIENTRY* +#endif + +/* New types shared by several extensions */ + +#ifndef __gl3_h_ +/* These are defined with respect to in the + * Apple extension spec, but they are also used by non-APPLE + * extensions, and in the Khronos header we use the Khronos + * portable types in khrplatform.h, which must be defined. + */ +typedef khronos_int64_t GLint64; +typedef khronos_uint64_t GLuint64; +typedef struct __GLsync *GLsync; +#endif + + +/*------------------------------------------------------------------------* + * OES extension tokens + *------------------------------------------------------------------------*/ + +/* GL_OES_compressed_ETC1_RGB8_texture */ +#ifndef GL_OES_compressed_ETC1_RGB8_texture +#define GL_ETC1_RGB8_OES 0x8D64 +#endif + +/* GL_OES_compressed_paletted_texture */ +#ifndef GL_OES_compressed_paletted_texture +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif + +/* GL_OES_depth24 */ +#ifndef GL_OES_depth24 +#define GL_DEPTH_COMPONENT24_OES 0x81A6 +#endif + +/* GL_OES_depth32 */ +#ifndef GL_OES_depth32 +#define GL_DEPTH_COMPONENT32_OES 0x81A7 +#endif + +/* GL_OES_depth_texture */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_EGL_image */ +#ifndef GL_OES_EGL_image +typedef void* GLeglImageOES; +#endif + +/* GL_OES_EGL_image_external */ +#ifndef GL_OES_EGL_image_external +/* GLeglImageOES defined in GL_OES_EGL_image already. */ +#define GL_TEXTURE_EXTERNAL_OES 0x8D65 +#define GL_SAMPLER_EXTERNAL_OES 0x8D66 +#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 +#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 +#endif + +/* GL_OES_element_index_uint */ +#ifndef GL_OES_element_index_uint +#define GL_UNSIGNED_INT 0x1405 +#endif + +/* GL_OES_get_program_binary */ +#ifndef GL_OES_get_program_binary +#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 +#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE +#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF +#endif + +/* GL_OES_mapbuffer */ +#ifndef GL_OES_mapbuffer +#define GL_WRITE_ONLY_OES 0x88B9 +#define GL_BUFFER_ACCESS_OES 0x88BB +#define GL_BUFFER_MAPPED_OES 0x88BC +#define GL_BUFFER_MAP_POINTER_OES 0x88BD +#endif + +/* GL_OES_packed_depth_stencil */ +#ifndef GL_OES_packed_depth_stencil +#define GL_DEPTH_STENCIL_OES 0x84F9 +#define GL_UNSIGNED_INT_24_8_OES 0x84FA +#define GL_DEPTH24_STENCIL8_OES 0x88F0 +#endif + +/* GL_OES_required_internalformat */ +#ifndef GL_OES_required_internalformat +#define GL_ALPHA8_OES 0x803C +#define GL_DEPTH_COMPONENT16_OES 0x81A5 +/* reuse GL_DEPTH_COMPONENT24_OES */ +/* reuse GL_DEPTH24_STENCIL8_OES */ +/* reuse GL_DEPTH_COMPONENT32_OES */ +#define GL_LUMINANCE4_ALPHA4_OES 0x8043 +#define GL_LUMINANCE8_ALPHA8_OES 0x8045 +#define GL_LUMINANCE8_OES 0x8040 +#define GL_RGBA4_OES 0x8056 +#define GL_RGB5_A1_OES 0x8057 +#define GL_RGB565_OES 0x8D62 +/* reuse GL_RGB8_OES */ +/* reuse GL_RGBA8_OES */ +/* reuse GL_RGB10_EXT */ +/* reuse GL_RGB10_A2_EXT */ +#endif + +/* GL_OES_rgb8_rgba8 */ +#ifndef GL_OES_rgb8_rgba8 +#define GL_RGB8_OES 0x8051 +#define GL_RGBA8_OES 0x8058 +#endif + +/* GL_OES_standard_derivatives */ +#ifndef GL_OES_standard_derivatives +#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B +#endif + +/* GL_OES_stencil1 */ +#ifndef GL_OES_stencil1 +#define GL_STENCIL_INDEX1_OES 0x8D46 +#endif + +/* GL_OES_stencil4 */ +#ifndef GL_OES_stencil4 +#define GL_STENCIL_INDEX4_OES 0x8D47 +#endif + +#ifndef GL_OES_surfaceless_context +#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 +#endif + +/* GL_OES_texture_3D */ +#ifndef GL_OES_texture_3D +#define GL_TEXTURE_WRAP_R_OES 0x8072 +#define GL_TEXTURE_3D_OES 0x806F +#define GL_TEXTURE_BINDING_3D_OES 0x806A +#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 +#define GL_SAMPLER_3D_OES 0x8B5F +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 +#endif + +/* GL_OES_texture_float */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_texture_float_linear */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_texture_half_float */ +#ifndef GL_OES_texture_half_float +#define GL_HALF_FLOAT_OES 0x8D61 +#endif + +/* GL_OES_texture_half_float_linear */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_texture_npot */ +/* No new tokens introduced by this extension. */ + +/* GL_OES_vertex_array_object */ +#ifndef GL_OES_vertex_array_object +#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 +#endif + +/* GL_OES_vertex_half_float */ +/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ + +/* GL_OES_vertex_type_10_10_10_2 */ +#ifndef GL_OES_vertex_type_10_10_10_2 +#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 +#define GL_INT_10_10_10_2_OES 0x8DF7 +#endif + +/*------------------------------------------------------------------------* + * KHR extension tokens + *------------------------------------------------------------------------*/ + +#ifndef GL_KHR_debug +typedef void (GL_APIENTRYP GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); +#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 +#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 +#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 +#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 +#define GL_DEBUG_SOURCE_API_KHR 0x8246 +#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 +#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 +#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 +#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A +#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B +#define GL_DEBUG_TYPE_ERROR_KHR 0x824C +#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D +#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E +#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F +#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 +#define GL_DEBUG_TYPE_OTHER_KHR 0x8251 +#define GL_DEBUG_TYPE_MARKER_KHR 0x8268 +#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 +#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A +#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B +#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C +#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D +#define GL_BUFFER_KHR 0x82E0 +#define GL_SHADER_KHR 0x82E1 +#define GL_PROGRAM_KHR 0x82E2 +#define GL_QUERY_KHR 0x82E3 +/* PROGRAM_PIPELINE only in GL */ +#define GL_SAMPLER_KHR 0x82E6 +/* DISPLAY_LIST only in GL */ +#define GL_MAX_LABEL_LENGTH_KHR 0x82E8 +#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 +#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 +#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 +#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 +#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 +#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 +#define GL_DEBUG_OUTPUT_KHR 0x92E0 +#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 +#define GL_STACK_OVERFLOW_KHR 0x0503 +#define GL_STACK_UNDERFLOW_KHR 0x0504 +#endif + +#ifndef GL_KHR_texture_compression_astc_ldr +#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 +#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 +#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 +#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 +#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 +#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 +#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 +#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 +#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 +#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 +#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA +#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB +#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC +#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC +#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD +#endif + +/*------------------------------------------------------------------------* + * AMD extension tokens + *------------------------------------------------------------------------*/ + +/* GL_AMD_compressed_3DC_texture */ +#ifndef GL_AMD_compressed_3DC_texture +#define GL_3DC_X_AMD 0x87F9 +#define GL_3DC_XY_AMD 0x87FA +#endif + +/* GL_AMD_compressed_ATC_texture */ +#ifndef GL_AMD_compressed_ATC_texture +#define GL_ATC_RGB_AMD 0x8C92 +#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 +#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE +#endif + +/* GL_AMD_performance_monitor */ +#ifndef GL_AMD_performance_monitor +#define GL_COUNTER_TYPE_AMD 0x8BC0 +#define GL_COUNTER_RANGE_AMD 0x8BC1 +#define GL_UNSIGNED_INT64_AMD 0x8BC2 +#define GL_PERCENTAGE_AMD 0x8BC3 +#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 +#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 +#define GL_PERFMON_RESULT_AMD 0x8BC6 +#endif + +/* GL_AMD_program_binary_Z400 */ +#ifndef GL_AMD_program_binary_Z400 +#define GL_Z400_BINARY_AMD 0x8740 +#endif + +/*------------------------------------------------------------------------* + * ANGLE extension tokens + *------------------------------------------------------------------------*/ + +/* GL_ANGLE_depth_texture */ +#ifndef GL_ANGLE_depth_texture +#define GL_DEPTH_COMPONENT 0x1902 +#define GL_DEPTH_STENCIL_OES 0x84F9 +#define GL_UNSIGNED_SHORT 0x1403 +#define GL_UNSIGNED_INT 0x1405 +#define GL_UNSIGNED_INT_24_8_OES 0x84FA +#define GL_DEPTH_COMPONENT16 0x81A5 +#define GL_DEPTH_COMPONENT32_OES 0x81A7 +#define GL_DEPTH24_STENCIL8_OES 0x88F0 +#endif + +/* GL_ANGLE_framebuffer_blit */ +#ifndef GL_ANGLE_framebuffer_blit +#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA +#endif + +/* GL_ANGLE_framebuffer_multisample */ +#ifndef GL_ANGLE_framebuffer_multisample +#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 +#define GL_MAX_SAMPLES_ANGLE 0x8D57 +#endif + +/* GL_ANGLE_instanced_arrays */ +#ifndef GL_ANGLE_instanced_arrays +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE +#endif + +/* GL_ANGLE_pack_reverse_row_order */ +#ifndef GL_ANGLE_pack_reverse_row_order +#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 +#endif + +/* GL_ANGLE_program_binary */ +#ifndef GL_ANGLE_program_binary +#define GL_PROGRAM_BINARY_ANGLE 0x93A6 +#endif + +/* GL_ANGLE_texture_compression_dxt3 */ +#ifndef GL_ANGLE_texture_compression_dxt3 +#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 +#endif + +/* GL_ANGLE_texture_compression_dxt5 */ +#ifndef GL_ANGLE_texture_compression_dxt5 +#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 +#endif + +/* GL_ANGLE_texture_usage */ +#ifndef GL_ANGLE_texture_usage +#define GL_TEXTURE_USAGE_ANGLE 0x93A2 +#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 +#endif + +/* GL_ANGLE_translated_shader_source */ +#ifndef GL_ANGLE_translated_shader_source +#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 +#endif + +/*------------------------------------------------------------------------* + * APPLE extension tokens + *------------------------------------------------------------------------*/ + +/* GL_APPLE_copy_texture_levels */ +/* No new tokens introduced by this extension. */ + +/* GL_APPLE_framebuffer_multisample */ +#ifndef GL_APPLE_framebuffer_multisample +#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 +#define GL_MAX_SAMPLES_APPLE 0x8D57 +#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA +#endif + +/* GL_APPLE_rgb_422 */ +#ifndef GL_APPLE_rgb_422 +#define GL_RGB_422_APPLE 0x8A1F +#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA +#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB +#endif + +/* GL_APPLE_sync */ +#ifndef GL_APPLE_sync + +#define GL_SYNC_OBJECT_APPLE 0x8A53 +#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 +#define GL_OBJECT_TYPE_APPLE 0x9112 +#define GL_SYNC_CONDITION_APPLE 0x9113 +#define GL_SYNC_STATUS_APPLE 0x9114 +#define GL_SYNC_FLAGS_APPLE 0x9115 +#define GL_SYNC_FENCE_APPLE 0x9116 +#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 +#define GL_UNSIGNALED_APPLE 0x9118 +#define GL_SIGNALED_APPLE 0x9119 +#define GL_ALREADY_SIGNALED_APPLE 0x911A +#define GL_TIMEOUT_EXPIRED_APPLE 0x911B +#define GL_CONDITION_SATISFIED_APPLE 0x911C +#define GL_WAIT_FAILED_APPLE 0x911D +#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 +#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull +#endif + +/* GL_APPLE_texture_format_BGRA8888 */ +#ifndef GL_APPLE_texture_format_BGRA8888 +#define GL_BGRA_EXT 0x80E1 +#endif + +/* GL_APPLE_texture_max_level */ +#ifndef GL_APPLE_texture_max_level +#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D +#endif + +/*------------------------------------------------------------------------* + * ARM extension tokens + *------------------------------------------------------------------------*/ + +/* GL_ARM_mali_program_binary */ +#ifndef GL_ARM_mali_program_binary +#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 +#endif + +/* GL_ARM_mali_shader_binary */ +#ifndef GL_ARM_mali_shader_binary +#define GL_MALI_SHADER_BINARY_ARM 0x8F60 +#endif + +/* GL_ARM_rgba8 */ +/* No new tokens introduced by this extension. */ + +/*------------------------------------------------------------------------* + * EXT extension tokens + *------------------------------------------------------------------------*/ + +/* GL_EXT_blend_minmax */ +#ifndef GL_EXT_blend_minmax +#define GL_MIN_EXT 0x8007 +#define GL_MAX_EXT 0x8008 +#endif + +/* GL_EXT_color_buffer_half_float */ +#ifndef GL_EXT_color_buffer_half_float +#define GL_RGBA16F_EXT 0x881A +#define GL_RGB16F_EXT 0x881B +#define GL_RG16F_EXT 0x822F +#define GL_R16F_EXT 0x822D +#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 +#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 +#endif + +/* GL_EXT_debug_label */ +#ifndef GL_EXT_debug_label +#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F +#define GL_PROGRAM_OBJECT_EXT 0x8B40 +#define GL_SHADER_OBJECT_EXT 0x8B48 +#define GL_BUFFER_OBJECT_EXT 0x9151 +#define GL_QUERY_OBJECT_EXT 0x9153 +#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 +#endif + +/* GL_EXT_debug_marker */ +/* No new tokens introduced by this extension. */ + +/* GL_EXT_discard_framebuffer */ +#ifndef GL_EXT_discard_framebuffer +#define GL_COLOR_EXT 0x1800 +#define GL_DEPTH_EXT 0x1801 +#define GL_STENCIL_EXT 0x1802 +#endif + +#ifndef GL_EXT_disjoint_timer_query +#define GL_QUERY_COUNTER_BITS_EXT 0x8864 +#define GL_CURRENT_QUERY_EXT 0x8865 +#define GL_QUERY_RESULT_EXT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 +#define GL_TIME_ELAPSED_EXT 0x88BF +#define GL_TIMESTAMP_EXT 0x8E28 +#define GL_GPU_DISJOINT_EXT 0x8FBB +#endif + +#ifndef GL_EXT_draw_buffers +#define GL_EXT_draw_buffers 1 +#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF +#define GL_MAX_DRAW_BUFFERS_EXT 0x8824 +#define GL_DRAW_BUFFER0_EXT 0x8825 +#define GL_DRAW_BUFFER1_EXT 0x8826 +#define GL_DRAW_BUFFER2_EXT 0x8827 +#define GL_DRAW_BUFFER3_EXT 0x8828 +#define GL_DRAW_BUFFER4_EXT 0x8829 +#define GL_DRAW_BUFFER5_EXT 0x882A +#define GL_DRAW_BUFFER6_EXT 0x882B +#define GL_DRAW_BUFFER7_EXT 0x882C +#define GL_DRAW_BUFFER8_EXT 0x882D +#define GL_DRAW_BUFFER9_EXT 0x882E +#define GL_DRAW_BUFFER10_EXT 0x882F +#define GL_DRAW_BUFFER11_EXT 0x8830 +#define GL_DRAW_BUFFER12_EXT 0x8831 +#define GL_DRAW_BUFFER13_EXT 0x8832 +#define GL_DRAW_BUFFER14_EXT 0x8833 +#define GL_DRAW_BUFFER15_EXT 0x8834 +#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 +#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 +#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 +#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 +#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 +#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 +#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 +#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 +#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 +#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 +#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA +#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB +#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC +#define GL_COLOR_ATTACHMENT13_EXT 0x8CED +#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE +#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF +#endif + +/* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_map_buffer_range +#define GL_MAP_READ_BIT_EXT 0x0001 +#define GL_MAP_WRITE_BIT_EXT 0x0002 +#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 +#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 +#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 +#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 +#endif + +/* GL_EXT_multisampled_render_to_texture */ +#ifndef GL_EXT_multisampled_render_to_texture +#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C +/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */ +#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 +#define GL_MAX_SAMPLES_EXT 0x8D57 +#endif + +/* GL_EXT_multiview_draw_buffers */ +#ifndef GL_EXT_multiview_draw_buffers +#define GL_COLOR_ATTACHMENT_EXT 0x90F0 +#define GL_MULTIVIEW_EXT 0x90F1 +#define GL_DRAW_BUFFER_EXT 0x0C01 +#define GL_READ_BUFFER_EXT 0x0C02 +#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 +#endif + +/* GL_EXT_multi_draw_arrays */ +/* No new tokens introduced by this extension. */ + +/* GL_EXT_occlusion_query_boolean */ +#ifndef GL_EXT_occlusion_query_boolean +#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F +#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A +#define GL_CURRENT_QUERY_EXT 0x8865 +#define GL_QUERY_RESULT_EXT 0x8866 +#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 +#endif + +/* GL_EXT_read_format_bgra */ +#ifndef GL_EXT_read_format_bgra +#define GL_BGRA_EXT 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 +#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 +#endif + +/* GL_EXT_robustness */ +#ifndef GL_EXT_robustness +/* reuse GL_NO_ERROR */ +#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 +#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 +#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 +#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 +#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 +#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 +#define GL_NO_RESET_NOTIFICATION_EXT 0x8261 +#endif + +/* GL_EXT_separate_shader_objects */ +#ifndef GL_EXT_separate_shader_objects +#define GL_VERTEX_SHADER_BIT_EXT 0x00000001 +#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 +#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF +#define GL_PROGRAM_SEPARABLE_EXT 0x8258 +#define GL_ACTIVE_PROGRAM_EXT 0x8259 +#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A +#endif + +/* GL_EXT_shader_framebuffer_fetch */ +#ifndef GL_EXT_shader_framebuffer_fetch +#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 +#endif + +/* GL_EXT_shader_texture_lod */ +/* No new tokens introduced by this extension. */ + +/* GL_EXT_shadow_samplers */ +#ifndef GL_EXT_shadow_samplers +#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C +#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D +#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E +#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 +#endif + +/* GL_EXT_sRGB */ +#ifndef GL_EXT_sRGB +#define GL_SRGB_EXT 0x8C40 +#define GL_SRGB_ALPHA_EXT 0x8C42 +#define GL_SRGB8_ALPHA8_EXT 0x8C43 +#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 +#endif + +/* GL_EXT_sRGB_write_control */ +#ifndef GL_EXT_sRGB_write_control +#define GL_EXT_sRGB_write_control 1 +#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 +#endif + +/* GL_EXT_texture_compression_dxt1 */ +#ifndef GL_EXT_texture_compression_dxt1 +#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 +#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 +#endif + +/* GL_EXT_texture_filter_anisotropic */ +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE +#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF +#endif + +/* GL_EXT_texture_format_BGRA8888 */ +#ifndef GL_EXT_texture_format_BGRA8888 +#define GL_BGRA_EXT 0x80E1 +#endif + +/* GL_EXT_texture_rg */ +#ifndef GL_EXT_texture_rg +#define GL_RED_EXT 0x1903 +#define GL_RG_EXT 0x8227 +#define GL_R8_EXT 0x8229 +#define GL_RG8_EXT 0x822B +#endif + +/* GL_EXT_texture_sRGB_decode */ +#ifndef GL_EXT_texture_sRGB_decode +#define GL_EXT_texture_sRGB_decode 1 +#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 +#define GL_DECODE_EXT 0x8A49 +#define GL_SKIP_DECODE_EXT 0x8A4A +#endif + +/* GL_EXT_texture_storage */ +#ifndef GL_EXT_texture_storage +#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F +#define GL_ALPHA8_EXT 0x803C +#define GL_LUMINANCE8_EXT 0x8040 +#define GL_LUMINANCE8_ALPHA8_EXT 0x8045 +#define GL_RGBA32F_EXT 0x8814 +#define GL_RGB32F_EXT 0x8815 +#define GL_ALPHA32F_EXT 0x8816 +#define GL_LUMINANCE32F_EXT 0x8818 +#define GL_LUMINANCE_ALPHA32F_EXT 0x8819 +/* reuse GL_RGBA16F_EXT */ +/* reuse GL_RGB16F_EXT */ +#define GL_ALPHA16F_EXT 0x881C +#define GL_LUMINANCE16F_EXT 0x881E +#define GL_LUMINANCE_ALPHA16F_EXT 0x881F +#define GL_RGB10_A2_EXT 0x8059 +#define GL_RGB10_EXT 0x8052 +#define GL_BGRA8_EXT 0x93A1 +#define GL_R8_EXT 0x8229 +#define GL_RG8_EXT 0x822B +#define GL_R32F_EXT 0x822E +#define GL_RG32F_EXT 0x8230 +#define GL_R16F_EXT 0x822D +#define GL_RG16F_EXT 0x822F +#endif + +/* GL_EXT_texture_type_2_10_10_10_REV */ +#ifndef GL_EXT_texture_type_2_10_10_10_REV +#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 +#endif + +/* GL_EXT_unpack_subimage */ +#ifndef GL_EXT_unpack_subimage +#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 +#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 +#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 +#endif + +/*------------------------------------------------------------------------* + * DMP extension tokens + *------------------------------------------------------------------------*/ + +/* GL_DMP_shader_binary */ +#ifndef GL_DMP_shader_binary +#define GL_SHADER_BINARY_DMP 0x9250 +#endif + +/*------------------------------------------------------------------------* + * FJ extension tokens + *------------------------------------------------------------------------*/ + +/* GL_FJ_shader_binary_GCCSO */ +#ifndef GL_FJ_shader_binary_GCCSO +#define GL_GCCSO_SHADER_BINARY_FJ 0x9260 +#endif + +/*------------------------------------------------------------------------* + * IMG extension tokens + *------------------------------------------------------------------------*/ + +/* GL_IMG_program_binary */ +#ifndef GL_IMG_program_binary +#define GL_SGX_PROGRAM_BINARY_IMG 0x9130 +#endif + +/* GL_IMG_read_format */ +#ifndef GL_IMG_read_format +#define GL_BGRA_IMG 0x80E1 +#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 +#endif + +/* GL_IMG_shader_binary */ +#ifndef GL_IMG_shader_binary +#define GL_SGX_BINARY_IMG 0x8C0A +#endif + +/* GL_IMG_texture_compression_pvrtc */ +#ifndef GL_IMG_texture_compression_pvrtc +#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 +#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 +#endif + +/* GL_IMG_texture_compression_pvrtc2 */ +#ifndef GL_IMG_texture_compression_pvrtc2 +#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 +#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 +#endif + +/* GL_IMG_multisampled_render_to_texture */ +#ifndef GL_IMG_multisampled_render_to_texture +#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 +#define GL_MAX_SAMPLES_IMG 0x9135 +#define GL_TEXTURE_SAMPLES_IMG 0x9136 +#endif + +/*------------------------------------------------------------------------* + * NV extension tokens + *------------------------------------------------------------------------*/ + +/* GL_NV_coverage_sample */ +#ifndef GL_NV_coverage_sample +#define GL_COVERAGE_COMPONENT_NV 0x8ED0 +#define GL_COVERAGE_COMPONENT4_NV 0x8ED1 +#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 +#define GL_COVERAGE_BUFFERS_NV 0x8ED3 +#define GL_COVERAGE_SAMPLES_NV 0x8ED4 +#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 +#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 +#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 +#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 +#endif + +/* GL_NV_depth_nonlinear */ +#ifndef GL_NV_depth_nonlinear +#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C +#endif + +/* GL_NV_draw_buffers */ +#ifndef GL_NV_draw_buffers +#define GL_MAX_DRAW_BUFFERS_NV 0x8824 +#define GL_DRAW_BUFFER0_NV 0x8825 +#define GL_DRAW_BUFFER1_NV 0x8826 +#define GL_DRAW_BUFFER2_NV 0x8827 +#define GL_DRAW_BUFFER3_NV 0x8828 +#define GL_DRAW_BUFFER4_NV 0x8829 +#define GL_DRAW_BUFFER5_NV 0x882A +#define GL_DRAW_BUFFER6_NV 0x882B +#define GL_DRAW_BUFFER7_NV 0x882C +#define GL_DRAW_BUFFER8_NV 0x882D +#define GL_DRAW_BUFFER9_NV 0x882E +#define GL_DRAW_BUFFER10_NV 0x882F +#define GL_DRAW_BUFFER11_NV 0x8830 +#define GL_DRAW_BUFFER12_NV 0x8831 +#define GL_DRAW_BUFFER13_NV 0x8832 +#define GL_DRAW_BUFFER14_NV 0x8833 +#define GL_DRAW_BUFFER15_NV 0x8834 +#define GL_COLOR_ATTACHMENT0_NV 0x8CE0 +#define GL_COLOR_ATTACHMENT1_NV 0x8CE1 +#define GL_COLOR_ATTACHMENT2_NV 0x8CE2 +#define GL_COLOR_ATTACHMENT3_NV 0x8CE3 +#define GL_COLOR_ATTACHMENT4_NV 0x8CE4 +#define GL_COLOR_ATTACHMENT5_NV 0x8CE5 +#define GL_COLOR_ATTACHMENT6_NV 0x8CE6 +#define GL_COLOR_ATTACHMENT7_NV 0x8CE7 +#define GL_COLOR_ATTACHMENT8_NV 0x8CE8 +#define GL_COLOR_ATTACHMENT9_NV 0x8CE9 +#define GL_COLOR_ATTACHMENT10_NV 0x8CEA +#define GL_COLOR_ATTACHMENT11_NV 0x8CEB +#define GL_COLOR_ATTACHMENT12_NV 0x8CEC +#define GL_COLOR_ATTACHMENT13_NV 0x8CED +#define GL_COLOR_ATTACHMENT14_NV 0x8CEE +#define GL_COLOR_ATTACHMENT15_NV 0x8CEF +#endif + +/* GL_NV_draw_instanced */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_fbo_color_attachments */ +#ifndef GL_NV_fbo_color_attachments +#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF +/* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */ +#endif + +/* GL_NV_fence */ +#ifndef GL_NV_fence +#define GL_ALL_COMPLETED_NV 0x84F2 +#define GL_FENCE_STATUS_NV 0x84F3 +#define GL_FENCE_CONDITION_NV 0x84F4 +#endif + +/* GL_NV_framebuffer_blit */ +#ifndef GL_NV_framebuffer_blit +#define GL_READ_FRAMEBUFFER_NV 0x8CA8 +#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 +#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 +#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA +#endif + +/* GL_NV_framebuffer_multisample */ +#ifndef GL_NV_framebuffer_multisample +#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB +#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 +#define GL_MAX_SAMPLES_NV 0x8D57 +#endif + +/* GL_NV_generate_mipmap_sRGB */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_instanced_arrays */ +#ifndef GL_NV_instanced_arrays +#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE +#endif + +/* GL_NV_read_buffer */ +#ifndef GL_NV_read_buffer +#define GL_READ_BUFFER_NV 0x0C02 +#endif + +/* GL_NV_read_buffer_front */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_read_depth */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_read_depth_stencil */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_read_stencil */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_shadow_samplers_array */ +#ifndef GL_NV_shadow_samplers_array +#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 +#endif + +/* GL_NV_shadow_samplers_cube */ +#ifndef GL_NV_shadow_samplers_cube +#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 +#endif + +/* GL_NV_sRGB_formats */ +#ifndef GL_NV_sRGB_formats +#define GL_SLUMINANCE_NV 0x8C46 +#define GL_SLUMINANCE_ALPHA_NV 0x8C44 +#define GL_SRGB8_NV 0x8C41 +#define GL_SLUMINANCE8_NV 0x8C47 +#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 +#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E +#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F +#define GL_ETC1_SRGB8_NV 0x88EE +#endif + +/* GL_NV_texture_border_clamp */ +#ifndef GL_NV_texture_border_clamp +#define GL_TEXTURE_BORDER_COLOR_NV 0x1004 +#define GL_CLAMP_TO_BORDER_NV 0x812D +#endif + +/* GL_NV_texture_compression_s3tc_update */ +/* No new tokens introduced by this extension. */ + +/* GL_NV_texture_npot_2D_mipmap */ +/* No new tokens introduced by this extension. */ + +/*------------------------------------------------------------------------* + * QCOM extension tokens + *------------------------------------------------------------------------*/ + +/* GL_QCOM_alpha_test */ +#ifndef GL_QCOM_alpha_test +#define GL_ALPHA_TEST_QCOM 0x0BC0 +#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 +#define GL_ALPHA_TEST_REF_QCOM 0x0BC2 +#endif + +/* GL_QCOM_binning_control */ +#ifndef GL_QCOM_binning_control +#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 +#define GL_CPU_OPTIMIZED_QCOM 0x8FB1 +#define GL_GPU_OPTIMIZED_QCOM 0x8FB2 +#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 +#endif + +/* GL_QCOM_driver_control */ +/* No new tokens introduced by this extension. */ + +/* GL_QCOM_extended_get */ +#ifndef GL_QCOM_extended_get +#define GL_TEXTURE_WIDTH_QCOM 0x8BD2 +#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 +#define GL_TEXTURE_DEPTH_QCOM 0x8BD4 +#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 +#define GL_TEXTURE_FORMAT_QCOM 0x8BD6 +#define GL_TEXTURE_TYPE_QCOM 0x8BD7 +#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 +#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 +#define GL_TEXTURE_TARGET_QCOM 0x8BDA +#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB +#define GL_STATE_RESTORE 0x8BDC +#endif + +/* GL_QCOM_extended_get2 */ +/* No new tokens introduced by this extension. */ + +/* GL_QCOM_perfmon_global_mode */ +#ifndef GL_QCOM_perfmon_global_mode +#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 +#endif + +/* GL_QCOM_writeonly_rendering */ +#ifndef GL_QCOM_writeonly_rendering +#define GL_WRITEONLY_RENDERING_QCOM 0x8823 +#endif + +/* GL_QCOM_tiled_rendering */ +#ifndef GL_QCOM_tiled_rendering +#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 +#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 +#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 +#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 +#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 +#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 +#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 +#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 +#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 +#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 +#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 +#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 +#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 +#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 +#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 +#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 +#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 +#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 +#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 +#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 +#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 +#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 +#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 +#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 +#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 +#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 +#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 +#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 +#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 +#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 +#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 +#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 +#endif + +/*------------------------------------------------------------------------* + * VIV extension tokens + *------------------------------------------------------------------------*/ + +/* GL_VIV_shader_binary */ +#ifndef GL_VIV_shader_binary +#define GL_SHADER_BINARY_VIV 0x8FC4 +#endif + +/*------------------------------------------------------------------------* + * End of extension tokens, start of corresponding extension functions + *------------------------------------------------------------------------*/ + +/*------------------------------------------------------------------------* + * OES extension functions + *------------------------------------------------------------------------*/ + +/* GL_OES_compressed_ETC1_RGB8_texture */ +#ifndef GL_OES_compressed_ETC1_RGB8_texture +#define GL_OES_compressed_ETC1_RGB8_texture 1 +#endif + +/* GL_OES_compressed_paletted_texture */ +#ifndef GL_OES_compressed_paletted_texture +#define GL_OES_compressed_paletted_texture 1 +#endif + +/* GL_OES_depth24 */ +#ifndef GL_OES_depth24 +#define GL_OES_depth24 1 +#endif + +/* GL_OES_depth32 */ +#ifndef GL_OES_depth32 +#define GL_OES_depth32 1 +#endif + +/* GL_OES_depth_texture */ +#ifndef GL_OES_depth_texture +#define GL_OES_depth_texture 1 +#endif + +/* GL_OES_EGL_image */ +#ifndef GL_OES_EGL_image +#define GL_OES_EGL_image 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); +GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); +#endif +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); +typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); +#endif + +/* GL_OES_EGL_image_external */ +#ifndef GL_OES_EGL_image_external +#define GL_OES_EGL_image_external 1 +/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */ +#endif + +/* GL_OES_element_index_uint */ +#ifndef GL_OES_element_index_uint +#define GL_OES_element_index_uint 1 +#endif + +/* GL_OES_fbo_render_mipmap */ +#ifndef GL_OES_fbo_render_mipmap +#define GL_OES_fbo_render_mipmap 1 +#endif + +/* GL_OES_fragment_precision_high */ +#ifndef GL_OES_fragment_precision_high +#define GL_OES_fragment_precision_high 1 +#endif + +/* GL_OES_get_program_binary */ +#ifndef GL_OES_get_program_binary +#define GL_OES_get_program_binary 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); +GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); +#endif +typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); +typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length); +#endif + +/* GL_OES_mapbuffer */ +#ifndef GL_OES_mapbuffer +#define GL_OES_mapbuffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); +GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); +GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid **params); +#endif +typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); +typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid **params); +#endif + +/* GL_OES_packed_depth_stencil */ +#ifndef GL_OES_packed_depth_stencil +#define GL_OES_packed_depth_stencil 1 +#endif + +/* GL_OES_required_internalformat */ +#ifndef GL_OES_required_internalformat +#define GL_OES_required_internalformat 1 +#endif + +/* GL_OES_rgb8_rgba8 */ +#ifndef GL_OES_rgb8_rgba8 +#define GL_OES_rgb8_rgba8 1 +#endif + +/* GL_OES_standard_derivatives */ +#ifndef GL_OES_standard_derivatives +#define GL_OES_standard_derivatives 1 +#endif + +/* GL_OES_stencil1 */ +#ifndef GL_OES_stencil1 +#define GL_OES_stencil1 1 +#endif + +/* GL_OES_stencil4 */ +#ifndef GL_OES_stencil4 +#define GL_OES_stencil4 1 +#endif + +#ifndef GL_OES_surfaceless_context +#define GL_OES_surfaceless_context 1 +#endif + +/* GL_OES_texture_3D */ +#ifndef GL_OES_texture_3D +#define GL_OES_texture_3D 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); +GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); +GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +#endif +typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid* pixels); +typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid* pixels); +typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data); +typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); +#endif + +/* GL_OES_texture_float */ +#ifndef GL_OES_texture_float +#define GL_OES_texture_float 1 +#endif + +/* GL_OES_texture_float_linear */ +#ifndef GL_OES_texture_float_linear +#define GL_OES_texture_float_linear 1 +#endif + +/* GL_OES_texture_half_float */ +#ifndef GL_OES_texture_half_float +#define GL_OES_texture_half_float 1 +#endif + +/* GL_OES_texture_half_float_linear */ +#ifndef GL_OES_texture_half_float_linear +#define GL_OES_texture_half_float_linear 1 +#endif + +/* GL_OES_texture_npot */ +#ifndef GL_OES_texture_npot +#define GL_OES_texture_npot 1 +#endif + +/* GL_OES_vertex_array_object */ +#ifndef GL_OES_vertex_array_object +#define GL_OES_vertex_array_object 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); +GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); +GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); +GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); +#endif +typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); +typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); +typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); +typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); +#endif + +/* GL_OES_vertex_half_float */ +#ifndef GL_OES_vertex_half_float +#define GL_OES_vertex_half_float 1 +#endif + +/* GL_OES_vertex_type_10_10_10_2 */ +#ifndef GL_OES_vertex_type_10_10_10_2 +#define GL_OES_vertex_type_10_10_10_2 1 +#endif + +/*------------------------------------------------------------------------* + * KHR extension functions + *------------------------------------------------------------------------*/ + +#ifndef GL_KHR_debug +#define GL_KHR_debug 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); +GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); +GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); +GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, GLvoid **params); +#endif +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); +typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); +typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); +typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); +typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, GLvoid **params); +#endif + +#ifndef GL_KHR_texture_compression_astc_ldr +#define GL_KHR_texture_compression_astc_ldr 1 +#endif + + +/*------------------------------------------------------------------------* + * AMD extension functions + *------------------------------------------------------------------------*/ + +/* GL_AMD_compressed_3DC_texture */ +#ifndef GL_AMD_compressed_3DC_texture +#define GL_AMD_compressed_3DC_texture 1 +#endif + +/* GL_AMD_compressed_ATC_texture */ +#ifndef GL_AMD_compressed_ATC_texture +#define GL_AMD_compressed_ATC_texture 1 +#endif + +/* AMD_performance_monitor */ +#ifndef GL_AMD_performance_monitor +#define GL_AMD_performance_monitor 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data); +GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); +GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); +GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); +GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); +GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); +GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#endif +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data); +typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); +typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); +typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); +typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); +typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); +#endif + +/* GL_AMD_program_binary_Z400 */ +#ifndef GL_AMD_program_binary_Z400 +#define GL_AMD_program_binary_Z400 1 +#endif + +/*------------------------------------------------------------------------* + * ANGLE extension functions + *------------------------------------------------------------------------*/ + +/* GL_ANGLE_depth_texture */ +#ifndef GL_ANGLE_depth_texture +#define GL_ANGLE_depth_texture 1 +#endif + +/* GL_ANGLE_framebuffer_blit */ +#ifndef GL_ANGLE_framebuffer_blit +#define GL_ANGLE_framebuffer_blit 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif + +/* GL_ANGLE_framebuffer_multisample */ +#ifndef GL_ANGLE_framebuffer_multisample +#define GL_ANGLE_framebuffer_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif + +#ifndef GL_ANGLE_instanced_arrays +#define GL_ANGLE_instanced_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); +#endif +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); +#endif + +/* GL_ANGLE_pack_reverse_row_order */ +#ifndef GL_ANGLE_pack_reverse_row_order +#define GL_ANGLE_pack_reverse_row_order 1 +#endif + +/* GL_ANGLE_program_binary */ +#ifndef GL_ANGLE_program_binary +#define GL_ANGLE_program_binary 1 +#endif + +/* GL_ANGLE_texture_compression_dxt3 */ +#ifndef GL_ANGLE_texture_compression_dxt3 +#define GL_ANGLE_texture_compression_dxt3 1 +#endif + +/* GL_ANGLE_texture_compression_dxt5 */ +#ifndef GL_ANGLE_texture_compression_dxt5 +#define GL_ANGLE_texture_compression_dxt5 1 +#endif + +/* GL_ANGLE_texture_usage */ +#ifndef GL_ANGLE_texture_usage +#define GL_ANGLE_texture_usage 1 +#endif + +#ifndef GL_ANGLE_translated_shader_source +#define GL_ANGLE_translated_shader_source 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +#endif +typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); +#endif + +/*------------------------------------------------------------------------* + * APPLE extension functions + *------------------------------------------------------------------------*/ + +/* GL_APPLE_copy_texture_levels */ +#ifndef GL_APPLE_copy_texture_levels +#define GL_APPLE_copy_texture_levels 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); +#endif +typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); +#endif + +/* GL_APPLE_framebuffer_multisample */ +#ifndef GL_APPLE_framebuffer_multisample +#define GL_APPLE_framebuffer_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); +#endif + +/* GL_APPLE_rgb_422 */ +#ifndef GL_APPLE_rgb_422 +#define GL_APPLE_rgb_422 1 +#endif + +/* GL_APPLE_sync */ +#ifndef GL_APPLE_sync +#define GL_APPLE_sync 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); +GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); +GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); +GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); +GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#endif +typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); +typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); +typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); +typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); +typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); +#endif + +/* GL_APPLE_texture_format_BGRA8888 */ +#ifndef GL_APPLE_texture_format_BGRA8888 +#define GL_APPLE_texture_format_BGRA8888 1 +#endif + +/* GL_APPLE_texture_max_level */ +#ifndef GL_APPLE_texture_max_level +#define GL_APPLE_texture_max_level 1 +#endif + +/*------------------------------------------------------------------------* + * ARM extension functions + *------------------------------------------------------------------------*/ + +/* GL_ARM_mali_program_binary */ +#ifndef GL_ARM_mali_program_binary +#define GL_ARM_mali_program_binary 1 +#endif + +/* GL_ARM_mali_shader_binary */ +#ifndef GL_ARM_mali_shader_binary +#define GL_ARM_mali_shader_binary 1 +#endif + +/* GL_ARM_rgba8 */ +#ifndef GL_ARM_rgba8 +#define GL_ARM_rgba8 1 +#endif + +/*------------------------------------------------------------------------* + * EXT extension functions + *------------------------------------------------------------------------*/ + +/* GL_EXT_blend_minmax */ +#ifndef GL_EXT_blend_minmax +#define GL_EXT_blend_minmax 1 +#endif + +/* GL_EXT_color_buffer_half_float */ +#ifndef GL_EXT_color_buffer_half_float +#define GL_EXT_color_buffer_half_float 1 +#endif + +/* GL_EXT_debug_label */ +#ifndef GL_EXT_debug_label +#define GL_EXT_debug_label 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); +GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#endif +typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); +typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); +#endif + +/* GL_EXT_debug_marker */ +#ifndef GL_EXT_debug_marker +#define GL_EXT_debug_marker 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); +GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); +GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); +#endif +typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); +typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); +#endif + +/* GL_EXT_discard_framebuffer */ +#ifndef GL_EXT_discard_framebuffer +#define GL_EXT_discard_framebuffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); +#endif +typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); +#endif + +#ifndef GL_EXT_disjoint_timer_query +#define GL_EXT_disjoint_timer_query 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); +GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); +GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); +GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); +GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); +GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); +GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); +GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); +GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); +#endif +typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); +typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); +typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); +typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); +typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); +typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); +typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); +typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); +#endif /* GL_EXT_disjoint_timer_query */ + +#ifndef GL_EXT_draw_buffers +#define GL_EXT_draw_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); +#endif +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); +#endif /* GL_EXT_draw_buffers */ + +/* GL_EXT_map_buffer_range */ +#ifndef GL_EXT_map_buffer_range +#define GL_EXT_map_buffer_range 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void* GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); +#endif +typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); +typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); +#endif + +/* GL_EXT_multisampled_render_to_texture */ +#ifndef GL_EXT_multisampled_render_to_texture +#define GL_EXT_multisampled_render_to_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif + +/* GL_EXT_multiview_draw_buffers */ +#ifndef GL_EXT_multiview_draw_buffers +#define GL_EXT_multiview_draw_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); +GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); +GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); +#endif +typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); +typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); +#endif + +#ifndef GL_EXT_multi_draw_arrays +#define GL_EXT_multi_draw_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); +#endif /* GL_GLEXT_PROTOTYPES */ +typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount); +#endif + +/* GL_EXT_occlusion_query_boolean */ +#ifndef GL_EXT_occlusion_query_boolean +#define GL_EXT_occlusion_query_boolean 1 +/* All entry points also exist in GL_EXT_disjoint_timer_query */ +#endif + +/* GL_EXT_read_format_bgra */ +#ifndef GL_EXT_read_format_bgra +#define GL_EXT_read_format_bgra 1 +#endif + +/* GL_EXT_robustness */ +#ifndef GL_EXT_robustness +#define GL_EXT_robustness 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); +GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data); +GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); +#endif +typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); +typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); +typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); +#endif + +/* GL_EXT_separate_shader_objects */ +#ifndef GL_EXT_separate_shader_objects +#define GL_EXT_separate_shader_objects 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); +GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); +GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); +GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); +GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); +GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); +GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); +GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); +GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint x); +GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint x, GLint y); +GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z); +GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); +GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x); +GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y); +GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); +GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); +GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); +GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +#endif +typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); +typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); +typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); +typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); +typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); +typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint x, GLint y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); +typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); +typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); +#endif + +/* GL_EXT_shader_framebuffer_fetch */ +#ifndef GL_EXT_shader_framebuffer_fetch +#define GL_EXT_shader_framebuffer_fetch 1 +#endif + +/* GL_EXT_shader_texture_lod */ +#ifndef GL_EXT_shader_texture_lod +#define GL_EXT_shader_texture_lod 1 +#endif + +/* GL_EXT_shadow_samplers */ +#ifndef GL_EXT_shadow_samplers +#define GL_EXT_shadow_samplers 1 +#endif + +/* GL_EXT_sRGB */ +#ifndef GL_EXT_sRGB +#define GL_EXT_sRGB 1 +#endif + +/* GL_EXT_texture_compression_dxt1 */ +#ifndef GL_EXT_texture_compression_dxt1 +#define GL_EXT_texture_compression_dxt1 1 +#endif + +/* GL_EXT_texture_filter_anisotropic */ +#ifndef GL_EXT_texture_filter_anisotropic +#define GL_EXT_texture_filter_anisotropic 1 +#endif + +/* GL_EXT_texture_format_BGRA8888 */ +#ifndef GL_EXT_texture_format_BGRA8888 +#define GL_EXT_texture_format_BGRA8888 1 +#endif + +/* GL_EXT_texture_rg */ +#ifndef GL_EXT_texture_rg +#define GL_EXT_texture_rg 1 +#endif + +/* GL_EXT_texture_storage */ +#ifndef GL_EXT_texture_storage +#define GL_EXT_texture_storage 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +#endif +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); +#endif + +/* GL_EXT_texture_type_2_10_10_10_REV */ +#ifndef GL_EXT_texture_type_2_10_10_10_REV +#define GL_EXT_texture_type_2_10_10_10_REV 1 +#endif + +/* GL_EXT_unpack_subimage */ +#ifndef GL_EXT_unpack_subimage +#define GL_EXT_unpack_subimage 1 +#endif + +/*------------------------------------------------------------------------* + * DMP extension functions + *------------------------------------------------------------------------*/ + +/* GL_DMP_shader_binary */ +#ifndef GL_DMP_shader_binary +#define GL_DMP_shader_binary 1 +#endif + +/*------------------------------------------------------------------------* + * FJ extension functions + *------------------------------------------------------------------------*/ + +/* GL_FJ_shader_binary_GCCSO */ +#ifndef GL_FJ_shader_binary_GCCSO +#define GL_FJ_shader_binary_GCCSO 1 +#endif + +/*------------------------------------------------------------------------* + * IMG extension functions + *------------------------------------------------------------------------*/ + +/* GL_IMG_program_binary */ +#ifndef GL_IMG_program_binary +#define GL_IMG_program_binary 1 +#endif + +/* GL_IMG_read_format */ +#ifndef GL_IMG_read_format +#define GL_IMG_read_format 1 +#endif + +/* GL_IMG_shader_binary */ +#ifndef GL_IMG_shader_binary +#define GL_IMG_shader_binary 1 +#endif + +/* GL_IMG_texture_compression_pvrtc */ +#ifndef GL_IMG_texture_compression_pvrtc +#define GL_IMG_texture_compression_pvrtc 1 +#endif + +/* GL_IMG_texture_compression_pvrtc2 */ +#ifndef GL_IMG_texture_compression_pvrtc2 +#define GL_IMG_texture_compression_pvrtc2 1 +#endif + +/* GL_IMG_multisampled_render_to_texture */ +#ifndef GL_IMG_multisampled_render_to_texture +#define GL_IMG_multisampled_render_to_texture 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); +#endif + +/*------------------------------------------------------------------------* + * NV extension functions + *------------------------------------------------------------------------*/ + +/* GL_NV_coverage_sample */ +#ifndef GL_NV_coverage_sample +#define GL_NV_coverage_sample 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); +GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); +#endif +typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); +typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); +#endif + +/* GL_NV_depth_nonlinear */ +#ifndef GL_NV_depth_nonlinear +#define GL_NV_depth_nonlinear 1 +#endif + +/* GL_NV_draw_buffers */ +#ifndef GL_NV_draw_buffers +#define GL_NV_draw_buffers 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); +#endif +typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); +#endif + +/* GL_NV_draw_instanced */ +#ifndef GL_NV_draw_instanced +#define GL_NV_draw_instanced 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); +#endif +typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); +typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount); +#endif + +/* GL_NV_fbo_color_attachments */ +#ifndef GL_NV_fbo_color_attachments +#define GL_NV_fbo_color_attachments 1 +#endif + +/* GL_NV_fence */ +#ifndef GL_NV_fence +#define GL_NV_fence 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); +GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); +GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); +GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); +GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); +GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); +#endif +typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); +typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); +typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); +typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); +typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); +typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); +#endif + +/* GL_NV_framebuffer_blit */ +#ifndef GL_NV_framebuffer_blit +#define GL_NV_framebuffer_blit 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif +typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); +#endif + +/* GL_NV_framebuffer_multisample */ +#ifndef GL_NV_framebuffer_multisample +#define GL_NV_framebuffer_multisample 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif +typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); +#endif + +/* GL_NV_generate_mipmap_sRGB */ +#ifndef GL_NV_generate_mipmap_sRGB +#define GL_NV_generate_mipmap_sRGB 1 +#endif + +/* GL_NV_instanced_arrays */ +#ifndef GL_NV_instanced_arrays +#define GL_NV_instanced_arrays 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); +#endif +typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); +#endif + +/* GL_NV_read_buffer */ +#ifndef GL_NV_read_buffer +#define GL_NV_read_buffer 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); +#endif +typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); +#endif + +/* GL_NV_read_buffer_front */ +#ifndef GL_NV_read_buffer_front +#define GL_NV_read_buffer_front 1 +#endif + +/* GL_NV_read_depth */ +#ifndef GL_NV_read_depth +#define GL_NV_read_depth 1 +#endif + +/* GL_NV_read_depth_stencil */ +#ifndef GL_NV_read_depth_stencil +#define GL_NV_read_depth_stencil 1 +#endif + +/* GL_NV_read_stencil */ +#ifndef GL_NV_read_stencil +#define GL_NV_read_stencil 1 +#endif + +/* GL_NV_shadow_samplers_array */ +#ifndef GL_NV_shadow_samplers_array +#define GL_NV_shadow_samplers_array 1 +#endif + +/* GL_NV_shadow_samplers_cube */ +#ifndef GL_NV_shadow_samplers_cube +#define GL_NV_shadow_samplers_cube 1 +#endif + +/* GL_NV_sRGB_formats */ +#ifndef GL_NV_sRGB_formats +#define GL_NV_sRGB_formats 1 +#endif + +/* GL_NV_texture_border_clamp */ +#ifndef GL_NV_texture_border_clamp +#define GL_NV_texture_border_clamp 1 +#endif + +/* GL_NV_texture_compression_s3tc_update */ +#ifndef GL_NV_texture_compression_s3tc_update +#define GL_NV_texture_compression_s3tc_update 1 +#endif + +/* GL_NV_texture_npot_2D_mipmap */ +#ifndef GL_NV_texture_npot_2D_mipmap +#define GL_NV_texture_npot_2D_mipmap 1 +#endif + +/*------------------------------------------------------------------------* + * QCOM extension functions + *------------------------------------------------------------------------*/ + +/* GL_QCOM_alpha_test */ +#ifndef GL_QCOM_alpha_test +#define GL_QCOM_alpha_test 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); +#endif +typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); +#endif + +/* GL_QCOM_binning_control */ +#ifndef GL_QCOM_binning_control +#define GL_QCOM_binning_control 1 +#endif + +/* GL_QCOM_driver_control */ +#ifndef GL_QCOM_driver_control +#define GL_QCOM_driver_control 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); +GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); +GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); +GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); +#endif +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); +typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); +typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); +typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); +#endif + +/* GL_QCOM_extended_get */ +#ifndef GL_QCOM_extended_get +#define GL_QCOM_extended_get 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); +GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); +GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); +GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); +GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); +GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); +GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); +GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params); +#endif +typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); +typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); +typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); +typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params); +#endif + +/* GL_QCOM_extended_get2 */ +#ifndef GL_QCOM_extended_get2 +#define GL_QCOM_extended_get2 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); +GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); +GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); +GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); +#endif +typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); +typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); +typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); +#endif + +/* GL_QCOM_perfmon_global_mode */ +#ifndef GL_QCOM_perfmon_global_mode +#define GL_QCOM_perfmon_global_mode 1 +#endif + +/* GL_QCOM_writeonly_rendering */ +#ifndef GL_QCOM_writeonly_rendering +#define GL_QCOM_writeonly_rendering 1 +#endif + +/* GL_QCOM_tiled_rendering */ +#ifndef GL_QCOM_tiled_rendering +#define GL_QCOM_tiled_rendering 1 +#ifdef GL_GLEXT_PROTOTYPES +GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); +GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); +#endif +typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); +typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); +#endif + +/*------------------------------------------------------------------------* + * VIV extension tokens + *------------------------------------------------------------------------*/ + +/* GL_VIV_shader_binary */ +#ifndef GL_VIV_shader_binary +#define GL_VIV_shader_binary 1 +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* __gl2ext_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h new file mode 100644 index 000000000..c325686f0 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h @@ -0,0 +1,30 @@ +#ifndef __gl2platform_h_ +#define __gl2platform_h_ + +/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ + +/* + * This document is licensed under the SGI Free Software B License Version + * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . + */ + +/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h + * + * Adopters may modify khrplatform.h and this file to suit their platform. + * You are encouraged to submit all modifications to the Khronos group so that + * they can be included in future versions of this file. Please submit changes + * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) + * by filing a bug against product "OpenGL-ES" component "Registry". + */ + +/*#include */ + +#ifndef GL_APICALL +#define GL_APICALL KHRONOS_APICALL +#endif + +#ifndef GL_APIENTRY +#define GL_APIENTRY KHRONOS_APIENTRY +#endif + +#endif /* __gl2platform_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h new file mode 100644 index 000000000..c9e6f17d3 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h @@ -0,0 +1,282 @@ +#ifndef __khrplatform_h_ +#define __khrplatform_h_ + +/* +** Copyright (c) 2008-2009 The Khronos Group Inc. +** +** Permission is hereby granted, free of charge, to any person obtaining a +** copy of this software and/or associated documentation files (the +** "Materials"), to deal in the Materials without restriction, including +** without limitation the rights to use, copy, modify, merge, publish, +** distribute, sublicense, and/or sell copies of the Materials, and to +** permit persons to whom the Materials are furnished to do so, subject to +** the following conditions: +** +** The above copyright notice and this permission notice shall be included +** in all copies or substantial portions of the Materials. +** +** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. +*/ + +/* Khronos platform-specific types and definitions. + * + * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $ + * + * Adopters may modify this file to suit their platform. Adopters are + * encouraged to submit platform specific modifications to the Khronos + * group so that they can be included in future versions of this file. + * Please submit changes by sending them to the public Khronos Bugzilla + * (http://khronos.org/bugzilla) by filing a bug against product + * "Khronos (general)" component "Registry". + * + * A predefined template which fills in some of the bug fields can be + * reached using http://tinyurl.com/khrplatform-h-bugreport, but you + * must create a Bugzilla login first. + * + * + * See the Implementer's Guidelines for information about where this file + * should be located on your system and for more details of its use: + * http://www.khronos.org/registry/implementers_guide.pdf + * + * This file should be included as + * #include + * by Khronos client API header files that use its types and defines. + * + * The types in khrplatform.h should only be used to define API-specific types. + * + * Types defined in khrplatform.h: + * khronos_int8_t signed 8 bit + * khronos_uint8_t unsigned 8 bit + * khronos_int16_t signed 16 bit + * khronos_uint16_t unsigned 16 bit + * khronos_int32_t signed 32 bit + * khronos_uint32_t unsigned 32 bit + * khronos_int64_t signed 64 bit + * khronos_uint64_t unsigned 64 bit + * khronos_intptr_t signed same number of bits as a pointer + * khronos_uintptr_t unsigned same number of bits as a pointer + * khronos_ssize_t signed size + * khronos_usize_t unsigned size + * khronos_float_t signed 32 bit floating point + * khronos_time_ns_t unsigned 64 bit time in nanoseconds + * khronos_utime_nanoseconds_t unsigned time interval or absolute time in + * nanoseconds + * khronos_stime_nanoseconds_t signed time interval in nanoseconds + * khronos_boolean_enum_t enumerated boolean type. This should + * only be used as a base type when a client API's boolean type is + * an enum. Client APIs which use an integer or other type for + * booleans cannot use this as the base type for their boolean. + * + * Tokens defined in khrplatform.h: + * + * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values. + * + * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0. + * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0. + * + * Calling convention macros defined in this file: + * KHRONOS_APICALL + * KHRONOS_APIENTRY + * KHRONOS_APIATTRIBUTES + * + * These may be used in function prototypes as: + * + * KHRONOS_APICALL void KHRONOS_APIENTRY funcname( + * int arg1, + * int arg2) KHRONOS_APIATTRIBUTES; + */ + +/*------------------------------------------------------------------------- + * Definition of KHRONOS_APICALL + *------------------------------------------------------------------------- + * This precedes the return type of the function in the function prototype. + */ +#if defined(_WIN32) && !defined(__SCITECH_SNAP__) +# define KHRONOS_APICALL __declspec(dllimport) +#elif defined (__SYMBIAN32__) +# define KHRONOS_APICALL IMPORT_C +#else +# define KHRONOS_APICALL +#endif + +/*------------------------------------------------------------------------- + * Definition of KHRONOS_APIENTRY + *------------------------------------------------------------------------- + * This follows the return type of the function and precedes the function + * name in the function prototype. + */ +#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__) + /* Win32 but not WinCE */ +# define KHRONOS_APIENTRY __stdcall +#else +# define KHRONOS_APIENTRY +#endif + +/*------------------------------------------------------------------------- + * Definition of KHRONOS_APIATTRIBUTES + *------------------------------------------------------------------------- + * This follows the closing parenthesis of the function prototype arguments. + */ +#if defined (__ARMCC_2__) +#define KHRONOS_APIATTRIBUTES __softfp +#else +#define KHRONOS_APIATTRIBUTES +#endif + +/*------------------------------------------------------------------------- + * basic type definitions + *-----------------------------------------------------------------------*/ +#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__) + + +/* + * Using + */ +#include +typedef int32_t khronos_int32_t; +typedef uint32_t khronos_uint32_t; +typedef int64_t khronos_int64_t; +typedef uint64_t khronos_uint64_t; +#define KHRONOS_SUPPORT_INT64 1 +#define KHRONOS_SUPPORT_FLOAT 1 + +#elif defined(__VMS ) || defined(__sgi) + +/* + * Using + */ +#include +typedef int32_t khronos_int32_t; +typedef uint32_t khronos_uint32_t; +typedef int64_t khronos_int64_t; +typedef uint64_t khronos_uint64_t; +#define KHRONOS_SUPPORT_INT64 1 +#define KHRONOS_SUPPORT_FLOAT 1 + +#elif defined(_WIN32) && !defined(__SCITECH_SNAP__) + +/* + * Win32 + */ +typedef __int32 khronos_int32_t; +typedef unsigned __int32 khronos_uint32_t; +typedef __int64 khronos_int64_t; +typedef unsigned __int64 khronos_uint64_t; +#define KHRONOS_SUPPORT_INT64 1 +#define KHRONOS_SUPPORT_FLOAT 1 + +#elif defined(__sun__) || defined(__digital__) + +/* + * Sun or Digital + */ +typedef int khronos_int32_t; +typedef unsigned int khronos_uint32_t; +#if defined(__arch64__) || defined(_LP64) +typedef long int khronos_int64_t; +typedef unsigned long int khronos_uint64_t; +#else +typedef long long int khronos_int64_t; +typedef unsigned long long int khronos_uint64_t; +#endif /* __arch64__ */ +#define KHRONOS_SUPPORT_INT64 1 +#define KHRONOS_SUPPORT_FLOAT 1 + +#elif 0 + +/* + * Hypothetical platform with no float or int64 support + */ +typedef int khronos_int32_t; +typedef unsigned int khronos_uint32_t; +#define KHRONOS_SUPPORT_INT64 0 +#define KHRONOS_SUPPORT_FLOAT 0 + +#else + +/* + * Generic fallback + */ +#include +typedef int32_t khronos_int32_t; +typedef uint32_t khronos_uint32_t; +typedef int64_t khronos_int64_t; +typedef uint64_t khronos_uint64_t; +#define KHRONOS_SUPPORT_INT64 1 +#define KHRONOS_SUPPORT_FLOAT 1 + +#endif + + +/* + * Types that are (so far) the same on all platforms + */ +typedef signed char khronos_int8_t; +typedef unsigned char khronos_uint8_t; +typedef signed short int khronos_int16_t; +typedef unsigned short int khronos_uint16_t; + +/* + * Types that differ between LLP64 and LP64 architectures - in LLP64, + * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears + * to be the only LLP64 architecture in current use. + */ +#ifdef _WIN64 +typedef signed long long int khronos_intptr_t; +typedef unsigned long long int khronos_uintptr_t; +typedef signed long long int khronos_ssize_t; +typedef unsigned long long int khronos_usize_t; +#else +typedef signed long int khronos_intptr_t; +typedef unsigned long int khronos_uintptr_t; +typedef signed long int khronos_ssize_t; +typedef unsigned long int khronos_usize_t; +#endif + +#if KHRONOS_SUPPORT_FLOAT +/* + * Float type + */ +typedef float khronos_float_t; +#endif + +#if KHRONOS_SUPPORT_INT64 +/* Time types + * + * These types can be used to represent a time interval in nanoseconds or + * an absolute Unadjusted System Time. Unadjusted System Time is the number + * of nanoseconds since some arbitrary system event (e.g. since the last + * time the system booted). The Unadjusted System Time is an unsigned + * 64 bit value that wraps back to 0 every 584 years. Time intervals + * may be either signed or unsigned. + */ +typedef khronos_uint64_t khronos_utime_nanoseconds_t; +typedef khronos_int64_t khronos_stime_nanoseconds_t; +#endif + +/* + * Dummy value used to pad enum types to 32 bits. + */ +#ifndef KHRONOS_MAX_ENUM +#define KHRONOS_MAX_ENUM 0x7FFFFFFF +#endif + +/* + * Enumerated boolean type + * + * Values other than zero should be considered to be true. Therefore + * comparisons should not be made against KHRONOS_TRUE. + */ +typedef enum { + KHRONOS_FALSE = 0, + KHRONOS_TRUE = 1, + KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM +} khronos_boolean_enum_t; + +#endif /* __khrplatform_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_pixels.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_pixels.h new file mode 100644 index 000000000..04246689f --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_pixels.h @@ -0,0 +1,468 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_pixels.h + * + * Header for the enumerated pixel format definitions. + */ + +#ifndef SDL_pixels_h_ +#define SDL_pixels_h_ + +#include "SDL_stdinc.h" +#include "SDL_endian.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \name Transparency definitions + * + * These define alpha as the opacity of a surface. + */ +/* @{ */ +#define SDL_ALPHA_OPAQUE 255 +#define SDL_ALPHA_TRANSPARENT 0 +/* @} */ + +/** Pixel type. */ +enum +{ + SDL_PIXELTYPE_UNKNOWN, + SDL_PIXELTYPE_INDEX1, + SDL_PIXELTYPE_INDEX4, + SDL_PIXELTYPE_INDEX8, + SDL_PIXELTYPE_PACKED8, + SDL_PIXELTYPE_PACKED16, + SDL_PIXELTYPE_PACKED32, + SDL_PIXELTYPE_ARRAYU8, + SDL_PIXELTYPE_ARRAYU16, + SDL_PIXELTYPE_ARRAYU32, + SDL_PIXELTYPE_ARRAYF16, + SDL_PIXELTYPE_ARRAYF32 +}; + +/** Bitmap pixel order, high bit -> low bit. */ +enum +{ + SDL_BITMAPORDER_NONE, + SDL_BITMAPORDER_4321, + SDL_BITMAPORDER_1234 +}; + +/** Packed component order, high bit -> low bit. */ +enum +{ + SDL_PACKEDORDER_NONE, + SDL_PACKEDORDER_XRGB, + SDL_PACKEDORDER_RGBX, + SDL_PACKEDORDER_ARGB, + SDL_PACKEDORDER_RGBA, + SDL_PACKEDORDER_XBGR, + SDL_PACKEDORDER_BGRX, + SDL_PACKEDORDER_ABGR, + SDL_PACKEDORDER_BGRA +}; + +/** Array component order, low byte -> high byte. */ +/* !!! FIXME: in 2.1, make these not overlap differently with + !!! FIXME: SDL_PACKEDORDER_*, so we can simplify SDL_ISPIXELFORMAT_ALPHA */ +enum +{ + SDL_ARRAYORDER_NONE, + SDL_ARRAYORDER_RGB, + SDL_ARRAYORDER_RGBA, + SDL_ARRAYORDER_ARGB, + SDL_ARRAYORDER_BGR, + SDL_ARRAYORDER_BGRA, + SDL_ARRAYORDER_ABGR +}; + +/** Packed component layout. */ +enum +{ + SDL_PACKEDLAYOUT_NONE, + SDL_PACKEDLAYOUT_332, + SDL_PACKEDLAYOUT_4444, + SDL_PACKEDLAYOUT_1555, + SDL_PACKEDLAYOUT_5551, + SDL_PACKEDLAYOUT_565, + SDL_PACKEDLAYOUT_8888, + SDL_PACKEDLAYOUT_2101010, + SDL_PACKEDLAYOUT_1010102 +}; + +#define SDL_DEFINE_PIXELFOURCC(A, B, C, D) SDL_FOURCC(A, B, C, D) + +#define SDL_DEFINE_PIXELFORMAT(type, order, layout, bits, bytes) \ + ((1 << 28) | ((type) << 24) | ((order) << 20) | ((layout) << 16) | \ + ((bits) << 8) | ((bytes) << 0)) + +#define SDL_PIXELFLAG(X) (((X) >> 28) & 0x0F) +#define SDL_PIXELTYPE(X) (((X) >> 24) & 0x0F) +#define SDL_PIXELORDER(X) (((X) >> 20) & 0x0F) +#define SDL_PIXELLAYOUT(X) (((X) >> 16) & 0x0F) +#define SDL_BITSPERPIXEL(X) (((X) >> 8) & 0xFF) +#define SDL_BYTESPERPIXEL(X) \ + (SDL_ISPIXELFORMAT_FOURCC(X) ? \ + ((((X) == SDL_PIXELFORMAT_YUY2) || \ + ((X) == SDL_PIXELFORMAT_UYVY) || \ + ((X) == SDL_PIXELFORMAT_YVYU)) ? 2 : 1) : (((X) >> 0) & 0xFF)) + +#define SDL_ISPIXELFORMAT_INDEXED(format) \ + (!SDL_ISPIXELFORMAT_FOURCC(format) && \ + ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX1) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX4) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_INDEX8))) + +#define SDL_ISPIXELFORMAT_PACKED(format) \ + (!SDL_ISPIXELFORMAT_FOURCC(format) && \ + ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED8) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED16) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_PACKED32))) + +#define SDL_ISPIXELFORMAT_ARRAY(format) \ + (!SDL_ISPIXELFORMAT_FOURCC(format) && \ + ((SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU8) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU16) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYU32) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF16) || \ + (SDL_PIXELTYPE(format) == SDL_PIXELTYPE_ARRAYF32))) + +#define SDL_ISPIXELFORMAT_ALPHA(format) \ + ((SDL_ISPIXELFORMAT_PACKED(format) && \ + ((SDL_PIXELORDER(format) == SDL_PACKEDORDER_ARGB) || \ + (SDL_PIXELORDER(format) == SDL_PACKEDORDER_RGBA) || \ + (SDL_PIXELORDER(format) == SDL_PACKEDORDER_ABGR) || \ + (SDL_PIXELORDER(format) == SDL_PACKEDORDER_BGRA))) || \ + (SDL_ISPIXELFORMAT_ARRAY(format) && \ + ((SDL_PIXELORDER(format) == SDL_ARRAYORDER_ARGB) || \ + (SDL_PIXELORDER(format) == SDL_ARRAYORDER_RGBA) || \ + (SDL_PIXELORDER(format) == SDL_ARRAYORDER_ABGR) || \ + (SDL_PIXELORDER(format) == SDL_ARRAYORDER_BGRA)))) + +/* The flag is set to 1 because 0x1? is not in the printable ASCII range */ +#define SDL_ISPIXELFORMAT_FOURCC(format) \ + ((format) && (SDL_PIXELFLAG(format) != 1)) + +/* Note: If you modify this list, update SDL_GetPixelFormatName() */ +enum +{ + SDL_PIXELFORMAT_UNKNOWN, + SDL_PIXELFORMAT_INDEX1LSB = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_4321, 0, + 1, 0), + SDL_PIXELFORMAT_INDEX1MSB = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX1, SDL_BITMAPORDER_1234, 0, + 1, 0), + SDL_PIXELFORMAT_INDEX4LSB = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_4321, 0, + 4, 0), + SDL_PIXELFORMAT_INDEX4MSB = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX4, SDL_BITMAPORDER_1234, 0, + 4, 0), + SDL_PIXELFORMAT_INDEX8 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_INDEX8, 0, 0, 8, 1), + SDL_PIXELFORMAT_RGB332 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED8, SDL_PACKEDORDER_XRGB, + SDL_PACKEDLAYOUT_332, 8, 1), + SDL_PIXELFORMAT_RGB444 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, + SDL_PACKEDLAYOUT_4444, 12, 2), + SDL_PIXELFORMAT_RGB555 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, + SDL_PACKEDLAYOUT_1555, 15, 2), + SDL_PIXELFORMAT_BGR555 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR, + SDL_PACKEDLAYOUT_1555, 15, 2), + SDL_PIXELFORMAT_ARGB4444 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB, + SDL_PACKEDLAYOUT_4444, 16, 2), + SDL_PIXELFORMAT_RGBA4444 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA, + SDL_PACKEDLAYOUT_4444, 16, 2), + SDL_PIXELFORMAT_ABGR4444 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR, + SDL_PACKEDLAYOUT_4444, 16, 2), + SDL_PIXELFORMAT_BGRA4444 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA, + SDL_PACKEDLAYOUT_4444, 16, 2), + SDL_PIXELFORMAT_ARGB1555 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ARGB, + SDL_PACKEDLAYOUT_1555, 16, 2), + SDL_PIXELFORMAT_RGBA5551 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_RGBA, + SDL_PACKEDLAYOUT_5551, 16, 2), + SDL_PIXELFORMAT_ABGR1555 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_ABGR, + SDL_PACKEDLAYOUT_1555, 16, 2), + SDL_PIXELFORMAT_BGRA5551 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_BGRA, + SDL_PACKEDLAYOUT_5551, 16, 2), + SDL_PIXELFORMAT_RGB565 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XRGB, + SDL_PACKEDLAYOUT_565, 16, 2), + SDL_PIXELFORMAT_BGR565 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED16, SDL_PACKEDORDER_XBGR, + SDL_PACKEDLAYOUT_565, 16, 2), + SDL_PIXELFORMAT_RGB24 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_RGB, 0, + 24, 3), + SDL_PIXELFORMAT_BGR24 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_ARRAYU8, SDL_ARRAYORDER_BGR, 0, + 24, 3), + SDL_PIXELFORMAT_RGB888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XRGB, + SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_RGBX8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBX, + SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_BGR888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_XBGR, + SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_BGRX8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRX, + SDL_PACKEDLAYOUT_8888, 24, 4), + SDL_PIXELFORMAT_ARGB8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB, + SDL_PACKEDLAYOUT_8888, 32, 4), + SDL_PIXELFORMAT_RGBA8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_RGBA, + SDL_PACKEDLAYOUT_8888, 32, 4), + SDL_PIXELFORMAT_ABGR8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ABGR, + SDL_PACKEDLAYOUT_8888, 32, 4), + SDL_PIXELFORMAT_BGRA8888 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_BGRA, + SDL_PACKEDLAYOUT_8888, 32, 4), + SDL_PIXELFORMAT_ARGB2101010 = + SDL_DEFINE_PIXELFORMAT(SDL_PIXELTYPE_PACKED32, SDL_PACKEDORDER_ARGB, + SDL_PACKEDLAYOUT_2101010, 32, 4), + + /* Aliases for RGBA byte arrays of color data, for the current platform */ +#if SDL_BYTEORDER == SDL_BIG_ENDIAN + SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_RGBA8888, + SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_ARGB8888, + SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_BGRA8888, + SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_ABGR8888, +#else + SDL_PIXELFORMAT_RGBA32 = SDL_PIXELFORMAT_ABGR8888, + SDL_PIXELFORMAT_ARGB32 = SDL_PIXELFORMAT_BGRA8888, + SDL_PIXELFORMAT_BGRA32 = SDL_PIXELFORMAT_ARGB8888, + SDL_PIXELFORMAT_ABGR32 = SDL_PIXELFORMAT_RGBA8888, +#endif + + SDL_PIXELFORMAT_YV12 = /**< Planar mode: Y + V + U (3 planes) */ + SDL_DEFINE_PIXELFOURCC('Y', 'V', '1', '2'), + SDL_PIXELFORMAT_IYUV = /**< Planar mode: Y + U + V (3 planes) */ + SDL_DEFINE_PIXELFOURCC('I', 'Y', 'U', 'V'), + SDL_PIXELFORMAT_YUY2 = /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */ + SDL_DEFINE_PIXELFOURCC('Y', 'U', 'Y', '2'), + SDL_PIXELFORMAT_UYVY = /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */ + SDL_DEFINE_PIXELFOURCC('U', 'Y', 'V', 'Y'), + SDL_PIXELFORMAT_YVYU = /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */ + SDL_DEFINE_PIXELFOURCC('Y', 'V', 'Y', 'U'), + SDL_PIXELFORMAT_NV12 = /**< Planar mode: Y + U/V interleaved (2 planes) */ + SDL_DEFINE_PIXELFOURCC('N', 'V', '1', '2'), + SDL_PIXELFORMAT_NV21 = /**< Planar mode: Y + V/U interleaved (2 planes) */ + SDL_DEFINE_PIXELFOURCC('N', 'V', '2', '1') +}; + +typedef struct SDL_Color +{ + Uint8 r; + Uint8 g; + Uint8 b; + Uint8 a; +} SDL_Color; +#define SDL_Colour SDL_Color + +typedef struct SDL_Palette +{ + int ncolors; + SDL_Color *colors; + Uint32 version; + int refcount; +} SDL_Palette; + +/** + * \note Everything in the pixel format structure is read-only. + */ +typedef struct SDL_PixelFormat +{ + Uint32 format; + SDL_Palette *palette; + Uint8 BitsPerPixel; + Uint8 BytesPerPixel; + Uint8 padding[2]; + Uint32 Rmask; + Uint32 Gmask; + Uint32 Bmask; + Uint32 Amask; + Uint8 Rloss; + Uint8 Gloss; + Uint8 Bloss; + Uint8 Aloss; + Uint8 Rshift; + Uint8 Gshift; + Uint8 Bshift; + Uint8 Ashift; + int refcount; + struct SDL_PixelFormat *next; +} SDL_PixelFormat; + +/** + * \brief Get the human readable name of a pixel format + */ +extern DECLSPEC const char* SDLCALL SDL_GetPixelFormatName(Uint32 format); + +/** + * \brief Convert one of the enumerated pixel formats to a bpp and RGBA masks. + * + * \return SDL_TRUE, or SDL_FALSE if the conversion wasn't possible. + * + * \sa SDL_MasksToPixelFormatEnum() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_PixelFormatEnumToMasks(Uint32 format, + int *bpp, + Uint32 * Rmask, + Uint32 * Gmask, + Uint32 * Bmask, + Uint32 * Amask); + +/** + * \brief Convert a bpp and RGBA masks to an enumerated pixel format. + * + * \return The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion + * wasn't possible. + * + * \sa SDL_PixelFormatEnumToMasks() + */ +extern DECLSPEC Uint32 SDLCALL SDL_MasksToPixelFormatEnum(int bpp, + Uint32 Rmask, + Uint32 Gmask, + Uint32 Bmask, + Uint32 Amask); + +/** + * \brief Create an SDL_PixelFormat structure from a pixel format enum. + */ +extern DECLSPEC SDL_PixelFormat * SDLCALL SDL_AllocFormat(Uint32 pixel_format); + +/** + * \brief Free an SDL_PixelFormat structure. + */ +extern DECLSPEC void SDLCALL SDL_FreeFormat(SDL_PixelFormat *format); + +/** + * \brief Create a palette structure with the specified number of color + * entries. + * + * \return A new palette, or NULL if there wasn't enough memory. + * + * \note The palette entries are initialized to white. + * + * \sa SDL_FreePalette() + */ +extern DECLSPEC SDL_Palette *SDLCALL SDL_AllocPalette(int ncolors); + +/** + * \brief Set the palette for a pixel format structure. + */ +extern DECLSPEC int SDLCALL SDL_SetPixelFormatPalette(SDL_PixelFormat * format, + SDL_Palette *palette); + +/** + * \brief Set a range of colors in a palette. + * + * \param palette The palette to modify. + * \param colors An array of colors to copy into the palette. + * \param firstcolor The index of the first palette entry to modify. + * \param ncolors The number of entries to modify. + * + * \return 0 on success, or -1 if not all of the colors could be set. + */ +extern DECLSPEC int SDLCALL SDL_SetPaletteColors(SDL_Palette * palette, + const SDL_Color * colors, + int firstcolor, int ncolors); + +/** + * \brief Free a palette created with SDL_AllocPalette(). + * + * \sa SDL_AllocPalette() + */ +extern DECLSPEC void SDLCALL SDL_FreePalette(SDL_Palette * palette); + +/** + * \brief Maps an RGB triple to an opaque pixel value for a given pixel format. + * + * \sa SDL_MapRGBA + */ +extern DECLSPEC Uint32 SDLCALL SDL_MapRGB(const SDL_PixelFormat * format, + Uint8 r, Uint8 g, Uint8 b); + +/** + * \brief Maps an RGBA quadruple to a pixel value for a given pixel format. + * + * \sa SDL_MapRGB + */ +extern DECLSPEC Uint32 SDLCALL SDL_MapRGBA(const SDL_PixelFormat * format, + Uint8 r, Uint8 g, Uint8 b, + Uint8 a); + +/** + * \brief Get the RGB components from a pixel of the specified format. + * + * \sa SDL_GetRGBA + */ +extern DECLSPEC void SDLCALL SDL_GetRGB(Uint32 pixel, + const SDL_PixelFormat * format, + Uint8 * r, Uint8 * g, Uint8 * b); + +/** + * \brief Get the RGBA components from a pixel of the specified format. + * + * \sa SDL_GetRGB + */ +extern DECLSPEC void SDLCALL SDL_GetRGBA(Uint32 pixel, + const SDL_PixelFormat * format, + Uint8 * r, Uint8 * g, Uint8 * b, + Uint8 * a); + +/** + * \brief Calculate a 256 entry gamma ramp for a gamma value. + */ +extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_pixels_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_platform.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_platform.h new file mode 100644 index 000000000..9dde385fa --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_platform.h @@ -0,0 +1,193 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_platform.h + * + * Try to get a standard set of platform defines. + */ + +#ifndef SDL_platform_h_ +#define SDL_platform_h_ + +#if defined(_AIX) +#undef __AIX__ +#define __AIX__ 1 +#endif +#if defined(__HAIKU__) +#undef __HAIKU__ +#define __HAIKU__ 1 +#endif +#if defined(bsdi) || defined(__bsdi) || defined(__bsdi__) +#undef __BSDI__ +#define __BSDI__ 1 +#endif +#if defined(_arch_dreamcast) +#undef __DREAMCAST__ +#define __DREAMCAST__ 1 +#endif +#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__) +#undef __FREEBSD__ +#define __FREEBSD__ 1 +#endif +#if defined(hpux) || defined(__hpux) || defined(__hpux__) +#undef __HPUX__ +#define __HPUX__ 1 +#endif +#if defined(sgi) || defined(__sgi) || defined(__sgi__) || defined(_SGI_SOURCE) +#undef __IRIX__ +#define __IRIX__ 1 +#endif +#if (defined(linux) || defined(__linux) || defined(__linux__)) +#undef __LINUX__ +#define __LINUX__ 1 +#endif +#if defined(ANDROID) || defined(__ANDROID__) +#undef __ANDROID__ +#undef __LINUX__ /* do we need to do this? */ +#define __ANDROID__ 1 +#endif + +#if defined(__APPLE__) +/* lets us know what version of Mac OS X we're compiling on */ +#include "AvailabilityMacros.h" +#include "TargetConditionals.h" +#if TARGET_OS_TV +#undef __TVOS__ +#define __TVOS__ 1 +#endif +#if TARGET_OS_IPHONE +/* if compiling for iOS */ +#undef __IPHONEOS__ +#define __IPHONEOS__ 1 +#undef __MACOSX__ +#else +/* if not compiling for iOS */ +#undef __MACOSX__ +#define __MACOSX__ 1 +#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060 +# error SDL for Mac OS X only supports deploying on 10.6 and above. +#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */ +#endif /* TARGET_OS_IPHONE */ +#endif /* defined(__APPLE__) */ + +#if defined(__NetBSD__) +#undef __NETBSD__ +#define __NETBSD__ 1 +#endif +#if defined(__OpenBSD__) +#undef __OPENBSD__ +#define __OPENBSD__ 1 +#endif +#if defined(__OS2__) || defined(__EMX__) +#undef __OS2__ +#define __OS2__ 1 +#endif +#if defined(osf) || defined(__osf) || defined(__osf__) || defined(_OSF_SOURCE) +#undef __OSF__ +#define __OSF__ 1 +#endif +#if defined(__QNXNTO__) +#undef __QNXNTO__ +#define __QNXNTO__ 1 +#endif +#if defined(riscos) || defined(__riscos) || defined(__riscos__) +#undef __RISCOS__ +#define __RISCOS__ 1 +#endif +#if defined(__sun) && defined(__SVR4) +#undef __SOLARIS__ +#define __SOLARIS__ 1 +#endif + +#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__) +/* Try to find out if we're compiling for WinRT or non-WinRT */ +#if defined(_MSC_VER) && defined(__has_include) +#define HAVE_WINAPIFAMILY_H __has_include() +/* If _USING_V110_SDK71_ is defined it means we are using the Windows XP toolset. */ +#elif defined(_MSC_VER) && (_MSC_VER >= 1700 && !_USING_V110_SDK71_) /* _MSC_VER == 1700 for Visual Studio 2012 */ +#define HAVE_WINAPIFAMILY_H 1 +#else +#define HAVE_WINAPIFAMILY_H 0 +#endif + +#if HAVE_WINAPIFAMILY_H +#include +#define WINAPI_FAMILY_WINRT (!WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) && WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)) +#else +#define WINAPI_FAMILY_WINRT 0 +#endif /* HAVE_WINAPIFAMILY_H */ + +#if WINAPI_FAMILY_WINRT +#undef __WINRT__ +#define __WINRT__ 1 +#else +#undef __WINDOWS__ +#define __WINDOWS__ 1 +#endif +#endif /* defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) */ + +#if defined(__WINDOWS__) +#undef __WIN32__ +#define __WIN32__ 1 +#endif +#if defined(__PSP__) +#undef __PSP__ +#define __PSP__ 1 +#endif + +/* The NACL compiler defines __native_client__ and __pnacl__ + * Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi + */ +#if defined(__native_client__) +#undef __LINUX__ +#undef __NACL__ +#define __NACL__ 1 +#endif +#if defined(__pnacl__) +#undef __LINUX__ +#undef __PNACL__ +#define __PNACL__ 1 +/* PNACL with newlib supports static linking only */ +#define __SDL_NOGETPROCADDR__ +#endif + + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Gets the name of the platform. + */ +extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_platform_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_power.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_power.h new file mode 100644 index 000000000..d48e8a379 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_power.h @@ -0,0 +1,75 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_power_h_ +#define SDL_power_h_ + +/** + * \file SDL_power.h + * + * Header for the SDL power management routines. + */ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief The basic state for the system's power supply. + */ +typedef enum +{ + SDL_POWERSTATE_UNKNOWN, /**< cannot determine power status */ + SDL_POWERSTATE_ON_BATTERY, /**< Not plugged in, running on the battery */ + SDL_POWERSTATE_NO_BATTERY, /**< Plugged in, no battery available */ + SDL_POWERSTATE_CHARGING, /**< Plugged in, charging battery */ + SDL_POWERSTATE_CHARGED /**< Plugged in, battery charged */ +} SDL_PowerState; + + +/** + * \brief Get the current power supply details. + * + * \param secs Seconds of battery life left. You can pass a NULL here if + * you don't care. Will return -1 if we can't determine a + * value, or we're not running on a battery. + * + * \param pct Percentage of battery life left, between 0 and 100. You can + * pass a NULL here if you don't care. Will return -1 if we + * can't determine a value, or we're not running on a battery. + * + * \return The state of the battery (if any). + */ +extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_power_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_quit.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_quit.h new file mode 100644 index 000000000..9283c3810 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_quit.h @@ -0,0 +1,58 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_quit.h + * + * Include file for SDL quit event handling. + */ + +#ifndef SDL_quit_h_ +#define SDL_quit_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +/** + * \file SDL_quit.h + * + * An ::SDL_QUIT event is generated when the user tries to close the application + * window. If it is ignored or filtered out, the window will remain open. + * If it is not ignored or filtered, it is queued normally and the window + * is allowed to close. When the window is closed, screen updates will + * complete, but have no effect. + * + * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) + * and SIGTERM (system termination request), if handlers do not already + * exist, that generate ::SDL_QUIT events as well. There is no way + * to determine the cause of an ::SDL_QUIT event, but setting a signal + * handler in your application will override the default generation of + * quit events for that signal. + * + * \sa SDL_Quit() + */ + +/* There are no functions directly affecting the quit event */ + +#define SDL_QuitRequested() \ + (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) + +#endif /* SDL_quit_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rect.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rect.h new file mode 100644 index 000000000..c4f6d74b3 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rect.h @@ -0,0 +1,148 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_rect.h + * + * Header file for SDL_rect definition and management functions. + */ + +#ifndef SDL_rect_h_ +#define SDL_rect_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_pixels.h" +#include "SDL_rwops.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief The structure that defines a point + * + * \sa SDL_EnclosePoints + * \sa SDL_PointInRect + */ +typedef struct SDL_Point +{ + int x; + int y; +} SDL_Point; + +/** + * \brief A rectangle, with the origin at the upper left. + * + * \sa SDL_RectEmpty + * \sa SDL_RectEquals + * \sa SDL_HasIntersection + * \sa SDL_IntersectRect + * \sa SDL_UnionRect + * \sa SDL_EnclosePoints + */ +typedef struct SDL_Rect +{ + int x, y; + int w, h; +} SDL_Rect; + +/** + * \brief Returns true if point resides inside a rectangle. + */ +SDL_FORCE_INLINE SDL_bool SDL_PointInRect(const SDL_Point *p, const SDL_Rect *r) +{ + return ( (p->x >= r->x) && (p->x < (r->x + r->w)) && + (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE; +} + +/** + * \brief Returns true if the rectangle has no area. + */ +SDL_FORCE_INLINE SDL_bool SDL_RectEmpty(const SDL_Rect *r) +{ + return ((!r) || (r->w <= 0) || (r->h <= 0)) ? SDL_TRUE : SDL_FALSE; +} + +/** + * \brief Returns true if the two rectangles are equal. + */ +SDL_FORCE_INLINE SDL_bool SDL_RectEquals(const SDL_Rect *a, const SDL_Rect *b) +{ + return (a && b && (a->x == b->x) && (a->y == b->y) && + (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE; +} + +/** + * \brief Determine whether two rectangles intersect. + * + * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersection(const SDL_Rect * A, + const SDL_Rect * B); + +/** + * \brief Calculate the intersection of two rectangles. + * + * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRect(const SDL_Rect * A, + const SDL_Rect * B, + SDL_Rect * result); + +/** + * \brief Calculate the union of two rectangles. + */ +extern DECLSPEC void SDLCALL SDL_UnionRect(const SDL_Rect * A, + const SDL_Rect * B, + SDL_Rect * result); + +/** + * \brief Calculate a minimal rectangle enclosing a set of points + * + * \return SDL_TRUE if any points were within the clipping rect + */ +extern DECLSPEC SDL_bool SDLCALL SDL_EnclosePoints(const SDL_Point * points, + int count, + const SDL_Rect * clip, + SDL_Rect * result); + +/** + * \brief Calculate the intersection of a rectangle and line segment. + * + * \return SDL_TRUE if there is an intersection, SDL_FALSE otherwise. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect * + rect, int *X1, + int *Y1, int *X2, + int *Y2); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_rect_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_render.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_render.h new file mode 100644 index 000000000..ea6ef9ff6 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_render.h @@ -0,0 +1,910 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_render.h + * + * Header file for SDL 2D rendering functions. + * + * This API supports the following features: + * * single pixel points + * * single pixel lines + * * filled rectangles + * * texture images + * + * The primitives may be drawn in opaque, blended, or additive modes. + * + * The texture images may be drawn in opaque, blended, or additive modes. + * They can have an additional color tint or alpha modulation applied to + * them, and may also be stretched with linear interpolation. + * + * This API is designed to accelerate simple 2D operations. You may + * want more functionality such as polygons and particle effects and + * in that case you should use SDL's OpenGL/Direct3D support or one + * of the many good 3D engines. + * + * These functions must be called from the main thread. + * See this bug for details: http://bugzilla.libsdl.org/show_bug.cgi?id=1995 + */ + +#ifndef SDL_render_h_ +#define SDL_render_h_ + +#include "SDL_stdinc.h" +#include "SDL_rect.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Flags used when creating a rendering context + */ +typedef enum +{ + SDL_RENDERER_SOFTWARE = 0x00000001, /**< The renderer is a software fallback */ + SDL_RENDERER_ACCELERATED = 0x00000002, /**< The renderer uses hardware + acceleration */ + SDL_RENDERER_PRESENTVSYNC = 0x00000004, /**< Present is synchronized + with the refresh rate */ + SDL_RENDERER_TARGETTEXTURE = 0x00000008 /**< The renderer supports + rendering to texture */ +} SDL_RendererFlags; + +/** + * \brief Information on the capabilities of a render driver or context. + */ +typedef struct SDL_RendererInfo +{ + const char *name; /**< The name of the renderer */ + Uint32 flags; /**< Supported ::SDL_RendererFlags */ + Uint32 num_texture_formats; /**< The number of available texture formats */ + Uint32 texture_formats[16]; /**< The available texture formats */ + int max_texture_width; /**< The maximum texture width */ + int max_texture_height; /**< The maximum texture height */ +} SDL_RendererInfo; + +/** + * \brief The access pattern allowed for a texture. + */ +typedef enum +{ + SDL_TEXTUREACCESS_STATIC, /**< Changes rarely, not lockable */ + SDL_TEXTUREACCESS_STREAMING, /**< Changes frequently, lockable */ + SDL_TEXTUREACCESS_TARGET /**< Texture can be used as a render target */ +} SDL_TextureAccess; + +/** + * \brief The texture channel modulation used in SDL_RenderCopy(). + */ +typedef enum +{ + SDL_TEXTUREMODULATE_NONE = 0x00000000, /**< No modulation */ + SDL_TEXTUREMODULATE_COLOR = 0x00000001, /**< srcC = srcC * color */ + SDL_TEXTUREMODULATE_ALPHA = 0x00000002 /**< srcA = srcA * alpha */ +} SDL_TextureModulate; + +/** + * \brief Flip constants for SDL_RenderCopyEx + */ +typedef enum +{ + SDL_FLIP_NONE = 0x00000000, /**< Do not flip */ + SDL_FLIP_HORIZONTAL = 0x00000001, /**< flip horizontally */ + SDL_FLIP_VERTICAL = 0x00000002 /**< flip vertically */ +} SDL_RendererFlip; + +/** + * \brief A structure representing rendering state + */ +struct SDL_Renderer; +typedef struct SDL_Renderer SDL_Renderer; + +/** + * \brief An efficient driver-specific representation of pixel data + */ +struct SDL_Texture; +typedef struct SDL_Texture SDL_Texture; + + +/* Function prototypes */ + +/** + * \brief Get the number of 2D rendering drivers available for the current + * display. + * + * A render driver is a set of code that handles rendering and texture + * management on a particular display. Normally there is only one, but + * some drivers may have several available with different capabilities. + * + * \sa SDL_GetRenderDriverInfo() + * \sa SDL_CreateRenderer() + */ +extern DECLSPEC int SDLCALL SDL_GetNumRenderDrivers(void); + +/** + * \brief Get information about a specific 2D rendering driver for the current + * display. + * + * \param index The index of the driver to query information about. + * \param info A pointer to an SDL_RendererInfo struct to be filled with + * information on the rendering driver. + * + * \return 0 on success, -1 if the index was out of range. + * + * \sa SDL_CreateRenderer() + */ +extern DECLSPEC int SDLCALL SDL_GetRenderDriverInfo(int index, + SDL_RendererInfo * info); + +/** + * \brief Create a window and default renderer + * + * \param width The width of the window + * \param height The height of the window + * \param window_flags The flags used to create the window + * \param window A pointer filled with the window, or NULL on error + * \param renderer A pointer filled with the renderer, or NULL on error + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_CreateWindowAndRenderer( + int width, int height, Uint32 window_flags, + SDL_Window **window, SDL_Renderer **renderer); + + +/** + * \brief Create a 2D rendering context for a window. + * + * \param window The window where rendering is displayed. + * \param index The index of the rendering driver to initialize, or -1 to + * initialize the first one supporting the requested flags. + * \param flags ::SDL_RendererFlags. + * + * \return A valid rendering context or NULL if there was an error. + * + * \sa SDL_CreateSoftwareRenderer() + * \sa SDL_GetRendererInfo() + * \sa SDL_DestroyRenderer() + */ +extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateRenderer(SDL_Window * window, + int index, Uint32 flags); + +/** + * \brief Create a 2D software rendering context for a surface. + * + * \param surface The surface where rendering is done. + * + * \return A valid rendering context or NULL if there was an error. + * + * \sa SDL_CreateRenderer() + * \sa SDL_DestroyRenderer() + */ +extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * surface); + +/** + * \brief Get the renderer associated with a window. + */ +extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window); + +/** + * \brief Get information about a rendering context. + */ +extern DECLSPEC int SDLCALL SDL_GetRendererInfo(SDL_Renderer * renderer, + SDL_RendererInfo * info); + +/** + * \brief Get the output size in pixels of a rendering context. + */ +extern DECLSPEC int SDLCALL SDL_GetRendererOutputSize(SDL_Renderer * renderer, + int *w, int *h); + +/** + * \brief Create a texture for a rendering context. + * + * \param renderer The renderer. + * \param format The format of the texture. + * \param access One of the enumerated values in ::SDL_TextureAccess. + * \param w The width of the texture in pixels. + * \param h The height of the texture in pixels. + * + * \return The created texture is returned, or NULL if no rendering context was + * active, the format was unsupported, or the width or height were out + * of range. + * + * \note The contents of the texture are not defined at creation. + * + * \sa SDL_QueryTexture() + * \sa SDL_UpdateTexture() + * \sa SDL_DestroyTexture() + */ +extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTexture(SDL_Renderer * renderer, + Uint32 format, + int access, int w, + int h); + +/** + * \brief Create a texture from an existing surface. + * + * \param renderer The renderer. + * \param surface The surface containing pixel data used to fill the texture. + * + * \return The created texture is returned, or NULL on error. + * + * \note The surface is not modified or freed by this function. + * + * \sa SDL_QueryTexture() + * \sa SDL_DestroyTexture() + */ +extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer * renderer, SDL_Surface * surface); + +/** + * \brief Query the attributes of a texture + * + * \param texture A texture to be queried. + * \param format A pointer filled in with the raw format of the texture. The + * actual format may differ, but pixel transfers will use this + * format. + * \param access A pointer filled in with the actual access to the texture. + * \param w A pointer filled in with the width of the texture in pixels. + * \param h A pointer filled in with the height of the texture in pixels. + * + * \return 0 on success, or -1 if the texture is not valid. + */ +extern DECLSPEC int SDLCALL SDL_QueryTexture(SDL_Texture * texture, + Uint32 * format, int *access, + int *w, int *h); + +/** + * \brief Set an additional color value used in render copy operations. + * + * \param texture The texture to update. + * \param r The red color value multiplied into copy operations. + * \param g The green color value multiplied into copy operations. + * \param b The blue color value multiplied into copy operations. + * + * \return 0 on success, or -1 if the texture is not valid or color modulation + * is not supported. + * + * \sa SDL_GetTextureColorMod() + */ +extern DECLSPEC int SDLCALL SDL_SetTextureColorMod(SDL_Texture * texture, + Uint8 r, Uint8 g, Uint8 b); + + +/** + * \brief Get the additional color value used in render copy operations. + * + * \param texture The texture to query. + * \param r A pointer filled in with the current red color value. + * \param g A pointer filled in with the current green color value. + * \param b A pointer filled in with the current blue color value. + * + * \return 0 on success, or -1 if the texture is not valid. + * + * \sa SDL_SetTextureColorMod() + */ +extern DECLSPEC int SDLCALL SDL_GetTextureColorMod(SDL_Texture * texture, + Uint8 * r, Uint8 * g, + Uint8 * b); + +/** + * \brief Set an additional alpha value used in render copy operations. + * + * \param texture The texture to update. + * \param alpha The alpha value multiplied into copy operations. + * + * \return 0 on success, or -1 if the texture is not valid or alpha modulation + * is not supported. + * + * \sa SDL_GetTextureAlphaMod() + */ +extern DECLSPEC int SDLCALL SDL_SetTextureAlphaMod(SDL_Texture * texture, + Uint8 alpha); + +/** + * \brief Get the additional alpha value used in render copy operations. + * + * \param texture The texture to query. + * \param alpha A pointer filled in with the current alpha value. + * + * \return 0 on success, or -1 if the texture is not valid. + * + * \sa SDL_SetTextureAlphaMod() + */ +extern DECLSPEC int SDLCALL SDL_GetTextureAlphaMod(SDL_Texture * texture, + Uint8 * alpha); + +/** + * \brief Set the blend mode used for texture copy operations. + * + * \param texture The texture to update. + * \param blendMode ::SDL_BlendMode to use for texture blending. + * + * \return 0 on success, or -1 if the texture is not valid or the blend mode is + * not supported. + * + * \note If the blend mode is not supported, the closest supported mode is + * chosen. + * + * \sa SDL_GetTextureBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_SetTextureBlendMode(SDL_Texture * texture, + SDL_BlendMode blendMode); + +/** + * \brief Get the blend mode used for texture copy operations. + * + * \param texture The texture to query. + * \param blendMode A pointer filled in with the current blend mode. + * + * \return 0 on success, or -1 if the texture is not valid. + * + * \sa SDL_SetTextureBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_GetTextureBlendMode(SDL_Texture * texture, + SDL_BlendMode *blendMode); + +/** + * \brief Update the given texture rectangle with new pixel data. + * + * \param texture The texture to update + * \param rect A pointer to the rectangle of pixels to update, or NULL to + * update the entire texture. + * \param pixels The raw pixel data in the format of the texture. + * \param pitch The number of bytes in a row of pixel data, including padding between lines. + * + * The pixel data must be in the format of the texture. The pixel format can be + * queried with SDL_QueryTexture. + * + * \return 0 on success, or -1 if the texture is not valid. + * + * \note This is a fairly slow function. + */ +extern DECLSPEC int SDLCALL SDL_UpdateTexture(SDL_Texture * texture, + const SDL_Rect * rect, + const void *pixels, int pitch); + +/** + * \brief Update a rectangle within a planar YV12 or IYUV texture with new pixel data. + * + * \param texture The texture to update + * \param rect A pointer to the rectangle of pixels to update, or NULL to + * update the entire texture. + * \param Yplane The raw pixel data for the Y plane. + * \param Ypitch The number of bytes between rows of pixel data for the Y plane. + * \param Uplane The raw pixel data for the U plane. + * \param Upitch The number of bytes between rows of pixel data for the U plane. + * \param Vplane The raw pixel data for the V plane. + * \param Vpitch The number of bytes between rows of pixel data for the V plane. + * + * \return 0 on success, or -1 if the texture is not valid. + * + * \note You can use SDL_UpdateTexture() as long as your pixel data is + * a contiguous block of Y and U/V planes in the proper order, but + * this function is available if your pixel data is not contiguous. + */ +extern DECLSPEC int SDLCALL SDL_UpdateYUVTexture(SDL_Texture * texture, + const SDL_Rect * rect, + const Uint8 *Yplane, int Ypitch, + const Uint8 *Uplane, int Upitch, + const Uint8 *Vplane, int Vpitch); + +/** + * \brief Lock a portion of the texture for write-only pixel access. + * + * \param texture The texture to lock for access, which was created with + * ::SDL_TEXTUREACCESS_STREAMING. + * \param rect A pointer to the rectangle to lock for access. If the rect + * is NULL, the entire texture will be locked. + * \param pixels This is filled in with a pointer to the locked pixels, + * appropriately offset by the locked area. + * \param pitch This is filled in with the pitch of the locked pixels. + * + * \return 0 on success, or -1 if the texture is not valid or was not created with ::SDL_TEXTUREACCESS_STREAMING. + * + * \sa SDL_UnlockTexture() + */ +extern DECLSPEC int SDLCALL SDL_LockTexture(SDL_Texture * texture, + const SDL_Rect * rect, + void **pixels, int *pitch); + +/** + * \brief Unlock a texture, uploading the changes to video memory, if needed. + * + * \sa SDL_LockTexture() + */ +extern DECLSPEC void SDLCALL SDL_UnlockTexture(SDL_Texture * texture); + +/** + * \brief Determines whether a window supports the use of render targets + * + * \param renderer The renderer that will be checked + * + * \return SDL_TRUE if supported, SDL_FALSE if not. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_RenderTargetSupported(SDL_Renderer *renderer); + +/** + * \brief Set a texture as the current rendering target. + * + * \param renderer The renderer. + * \param texture The targeted texture, which must be created with the SDL_TEXTUREACCESS_TARGET flag, or NULL for the default render target + * + * \return 0 on success, or -1 on error + * + * \sa SDL_GetRenderTarget() + */ +extern DECLSPEC int SDLCALL SDL_SetRenderTarget(SDL_Renderer *renderer, + SDL_Texture *texture); + +/** + * \brief Get the current render target or NULL for the default render target. + * + * \return The current render target + * + * \sa SDL_SetRenderTarget() + */ +extern DECLSPEC SDL_Texture * SDLCALL SDL_GetRenderTarget(SDL_Renderer *renderer); + +/** + * \brief Set device independent resolution for rendering + * + * \param renderer The renderer for which resolution should be set. + * \param w The width of the logical resolution + * \param h The height of the logical resolution + * + * This function uses the viewport and scaling functionality to allow a fixed logical + * resolution for rendering, regardless of the actual output resolution. If the actual + * output resolution doesn't have the same aspect ratio the output rendering will be + * centered within the output display. + * + * If the output display is a window, mouse events in the window will be filtered + * and scaled so they seem to arrive within the logical resolution. + * + * \note If this function results in scaling or subpixel drawing by the + * rendering backend, it will be handled using the appropriate + * quality hints. + * + * \sa SDL_RenderGetLogicalSize() + * \sa SDL_RenderSetScale() + * \sa SDL_RenderSetViewport() + */ +extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, int w, int h); + +/** + * \brief Get device independent resolution for rendering + * + * \param renderer The renderer from which resolution should be queried. + * \param w A pointer filled with the width of the logical resolution + * \param h A pointer filled with the height of the logical resolution + * + * \sa SDL_RenderSetLogicalSize() + */ +extern DECLSPEC void SDLCALL SDL_RenderGetLogicalSize(SDL_Renderer * renderer, int *w, int *h); + +/** + * \brief Set whether to force integer scales for resolution-independent rendering + * + * \param renderer The renderer for which integer scaling should be set. + * \param enable Enable or disable integer scaling + * + * This function restricts the logical viewport to integer values - that is, when + * a resolution is between two multiples of a logical size, the viewport size is + * rounded down to the lower multiple. + * + * \sa SDL_RenderSetLogicalSize() + */ +extern DECLSPEC int SDLCALL SDL_RenderSetIntegerScale(SDL_Renderer * renderer, + SDL_bool enable); + +/** + * \brief Get whether integer scales are forced for resolution-independent rendering + * + * \param renderer The renderer from which integer scaling should be queried. + * + * \sa SDL_RenderSetIntegerScale() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_RenderGetIntegerScale(SDL_Renderer * renderer); + +/** + * \brief Set the drawing area for rendering on the current target. + * + * \param renderer The renderer for which the drawing area should be set. + * \param rect The rectangle representing the drawing area, or NULL to set the viewport to the entire target. + * + * The x,y of the viewport rect represents the origin for rendering. + * + * \return 0 on success, or -1 on error + * + * \note If the window associated with the renderer is resized, the viewport is automatically reset. + * + * \sa SDL_RenderGetViewport() + * \sa SDL_RenderSetLogicalSize() + */ +extern DECLSPEC int SDLCALL SDL_RenderSetViewport(SDL_Renderer * renderer, + const SDL_Rect * rect); + +/** + * \brief Get the drawing area for the current target. + * + * \sa SDL_RenderSetViewport() + */ +extern DECLSPEC void SDLCALL SDL_RenderGetViewport(SDL_Renderer * renderer, + SDL_Rect * rect); + +/** + * \brief Set the clip rectangle for the current target. + * + * \param renderer The renderer for which clip rectangle should be set. + * \param rect A pointer to the rectangle to set as the clip rectangle, or + * NULL to disable clipping. + * + * \return 0 on success, or -1 on error + * + * \sa SDL_RenderGetClipRect() + */ +extern DECLSPEC int SDLCALL SDL_RenderSetClipRect(SDL_Renderer * renderer, + const SDL_Rect * rect); + +/** + * \brief Get the clip rectangle for the current target. + * + * \param renderer The renderer from which clip rectangle should be queried. + * \param rect A pointer filled in with the current clip rectangle, or + * an empty rectangle if clipping is disabled. + * + * \sa SDL_RenderSetClipRect() + */ +extern DECLSPEC void SDLCALL SDL_RenderGetClipRect(SDL_Renderer * renderer, + SDL_Rect * rect); + +/** + * \brief Get whether clipping is enabled on the given renderer. + * + * \param renderer The renderer from which clip state should be queried. + * + * \sa SDL_RenderGetClipRect() + */ +extern DECLSPEC SDL_bool SDLCALL SDL_RenderIsClipEnabled(SDL_Renderer * renderer); + + +/** + * \brief Set the drawing scale for rendering on the current target. + * + * \param renderer The renderer for which the drawing scale should be set. + * \param scaleX The horizontal scaling factor + * \param scaleY The vertical scaling factor + * + * The drawing coordinates are scaled by the x/y scaling factors + * before they are used by the renderer. This allows resolution + * independent drawing with a single coordinate system. + * + * \note If this results in scaling or subpixel drawing by the + * rendering backend, it will be handled using the appropriate + * quality hints. For best results use integer scaling factors. + * + * \sa SDL_RenderGetScale() + * \sa SDL_RenderSetLogicalSize() + */ +extern DECLSPEC int SDLCALL SDL_RenderSetScale(SDL_Renderer * renderer, + float scaleX, float scaleY); + +/** + * \brief Get the drawing scale for the current target. + * + * \param renderer The renderer from which drawing scale should be queried. + * \param scaleX A pointer filled in with the horizontal scaling factor + * \param scaleY A pointer filled in with the vertical scaling factor + * + * \sa SDL_RenderSetScale() + */ +extern DECLSPEC void SDLCALL SDL_RenderGetScale(SDL_Renderer * renderer, + float *scaleX, float *scaleY); + +/** + * \brief Set the color used for drawing operations (Rect, Line and Clear). + * + * \param renderer The renderer for which drawing color should be set. + * \param r The red value used to draw on the rendering target. + * \param g The green value used to draw on the rendering target. + * \param b The blue value used to draw on the rendering target. + * \param a The alpha value used to draw on the rendering target, usually + * ::SDL_ALPHA_OPAQUE (255). + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_SetRenderDrawColor(SDL_Renderer * renderer, + Uint8 r, Uint8 g, Uint8 b, + Uint8 a); + +/** + * \brief Get the color used for drawing operations (Rect, Line and Clear). + * + * \param renderer The renderer from which drawing color should be queried. + * \param r A pointer to the red value used to draw on the rendering target. + * \param g A pointer to the green value used to draw on the rendering target. + * \param b A pointer to the blue value used to draw on the rendering target. + * \param a A pointer to the alpha value used to draw on the rendering target, + * usually ::SDL_ALPHA_OPAQUE (255). + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_GetRenderDrawColor(SDL_Renderer * renderer, + Uint8 * r, Uint8 * g, Uint8 * b, + Uint8 * a); + +/** + * \brief Set the blend mode used for drawing operations (Fill and Line). + * + * \param renderer The renderer for which blend mode should be set. + * \param blendMode ::SDL_BlendMode to use for blending. + * + * \return 0 on success, or -1 on error + * + * \note If the blend mode is not supported, the closest supported mode is + * chosen. + * + * \sa SDL_GetRenderDrawBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_SetRenderDrawBlendMode(SDL_Renderer * renderer, + SDL_BlendMode blendMode); + +/** + * \brief Get the blend mode used for drawing operations. + * + * \param renderer The renderer from which blend mode should be queried. + * \param blendMode A pointer filled in with the current blend mode. + * + * \return 0 on success, or -1 on error + * + * \sa SDL_SetRenderDrawBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_GetRenderDrawBlendMode(SDL_Renderer * renderer, + SDL_BlendMode *blendMode); + +/** + * \brief Clear the current rendering target with the drawing color + * + * This function clears the entire rendering target, ignoring the viewport and + * the clip rectangle. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderClear(SDL_Renderer * renderer); + +/** + * \brief Draw a point on the current rendering target. + * + * \param renderer The renderer which should draw a point. + * \param x The x coordinate of the point. + * \param y The y coordinate of the point. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawPoint(SDL_Renderer * renderer, + int x, int y); + +/** + * \brief Draw multiple points on the current rendering target. + * + * \param renderer The renderer which should draw multiple points. + * \param points The points to draw + * \param count The number of points to draw + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawPoints(SDL_Renderer * renderer, + const SDL_Point * points, + int count); + +/** + * \brief Draw a line on the current rendering target. + * + * \param renderer The renderer which should draw a line. + * \param x1 The x coordinate of the start point. + * \param y1 The y coordinate of the start point. + * \param x2 The x coordinate of the end point. + * \param y2 The y coordinate of the end point. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawLine(SDL_Renderer * renderer, + int x1, int y1, int x2, int y2); + +/** + * \brief Draw a series of connected lines on the current rendering target. + * + * \param renderer The renderer which should draw multiple lines. + * \param points The points along the lines + * \param count The number of points, drawing count-1 lines + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawLines(SDL_Renderer * renderer, + const SDL_Point * points, + int count); + +/** + * \brief Draw a rectangle on the current rendering target. + * + * \param renderer The renderer which should draw a rectangle. + * \param rect A pointer to the destination rectangle, or NULL to outline the entire rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawRect(SDL_Renderer * renderer, + const SDL_Rect * rect); + +/** + * \brief Draw some number of rectangles on the current rendering target. + * + * \param renderer The renderer which should draw multiple rectangles. + * \param rects A pointer to an array of destination rectangles. + * \param count The number of rectangles. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderDrawRects(SDL_Renderer * renderer, + const SDL_Rect * rects, + int count); + +/** + * \brief Fill a rectangle on the current rendering target with the drawing color. + * + * \param renderer The renderer which should fill a rectangle. + * \param rect A pointer to the destination rectangle, or NULL for the entire + * rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderFillRect(SDL_Renderer * renderer, + const SDL_Rect * rect); + +/** + * \brief Fill some number of rectangles on the current rendering target with the drawing color. + * + * \param renderer The renderer which should fill multiple rectangles. + * \param rects A pointer to an array of destination rectangles. + * \param count The number of rectangles. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderFillRects(SDL_Renderer * renderer, + const SDL_Rect * rects, + int count); + +/** + * \brief Copy a portion of the texture to the current rendering target. + * + * \param renderer The renderer which should copy parts of a texture. + * \param texture The source texture. + * \param srcrect A pointer to the source rectangle, or NULL for the entire + * texture. + * \param dstrect A pointer to the destination rectangle, or NULL for the + * entire rendering target. + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderCopy(SDL_Renderer * renderer, + SDL_Texture * texture, + const SDL_Rect * srcrect, + const SDL_Rect * dstrect); + +/** + * \brief Copy a portion of the source texture to the current rendering target, rotating it by angle around the given center + * + * \param renderer The renderer which should copy parts of a texture. + * \param texture The source texture. + * \param srcrect A pointer to the source rectangle, or NULL for the entire + * texture. + * \param dstrect A pointer to the destination rectangle, or NULL for the + * entire rendering target. + * \param angle An angle in degrees that indicates the rotation that will be applied to dstrect, rotating it in a clockwise direction + * \param center A pointer to a point indicating the point around which dstrect will be rotated (if NULL, rotation will be done around dstrect.w/2, dstrect.h/2). + * \param flip An SDL_RendererFlip value stating which flipping actions should be performed on the texture + * + * \return 0 on success, or -1 on error + */ +extern DECLSPEC int SDLCALL SDL_RenderCopyEx(SDL_Renderer * renderer, + SDL_Texture * texture, + const SDL_Rect * srcrect, + const SDL_Rect * dstrect, + const double angle, + const SDL_Point *center, + const SDL_RendererFlip flip); + +/** + * \brief Read pixels from the current rendering target. + * + * \param renderer The renderer from which pixels should be read. + * \param rect A pointer to the rectangle to read, or NULL for the entire + * render target. + * \param format The desired format of the pixel data, or 0 to use the format + * of the rendering target + * \param pixels A pointer to be filled in with the pixel data + * \param pitch The pitch of the pixels parameter. + * + * \return 0 on success, or -1 if pixel reading is not supported. + * + * \warning This is a very slow operation, and should not be used frequently. + */ +extern DECLSPEC int SDLCALL SDL_RenderReadPixels(SDL_Renderer * renderer, + const SDL_Rect * rect, + Uint32 format, + void *pixels, int pitch); + +/** + * \brief Update the screen with rendering performed. + */ +extern DECLSPEC void SDLCALL SDL_RenderPresent(SDL_Renderer * renderer); + +/** + * \brief Destroy the specified texture. + * + * \sa SDL_CreateTexture() + * \sa SDL_CreateTextureFromSurface() + */ +extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture); + +/** + * \brief Destroy the rendering context for a window and free associated + * textures. + * + * \sa SDL_CreateRenderer() + */ +extern DECLSPEC void SDLCALL SDL_DestroyRenderer(SDL_Renderer * renderer); + + +/** + * \brief Bind the texture to the current OpenGL/ES/ES2 context for use with + * OpenGL instructions. + * + * \param texture The SDL texture to bind + * \param texw A pointer to a float that will be filled with the texture width + * \param texh A pointer to a float that will be filled with the texture height + * + * \return 0 on success, or -1 if the operation is not supported + */ +extern DECLSPEC int SDLCALL SDL_GL_BindTexture(SDL_Texture *texture, float *texw, float *texh); + +/** + * \brief Unbind a texture from the current OpenGL/ES/ES2 context. + * + * \param texture The SDL texture to unbind + * + * \return 0 on success, or -1 if the operation is not supported + */ +extern DECLSPEC int SDLCALL SDL_GL_UnbindTexture(SDL_Texture *texture); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_render_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_revision.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_revision.h new file mode 100644 index 000000000..9376093ee --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_revision.h @@ -0,0 +1,2 @@ +#define SDL_REVISION "hg-11645:2088cd828335" +#define SDL_REVISION_NUMBER 11645 diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rwops.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rwops.h new file mode 100644 index 000000000..7f0cbdfd5 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_rwops.h @@ -0,0 +1,254 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_rwops.h + * + * This file provides a general interface for SDL to read and write + * data streams. It can easily be extended to files, memory, etc. + */ + +#ifndef SDL_rwops_h_ +#define SDL_rwops_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* RWops Types */ +#define SDL_RWOPS_UNKNOWN 0U /**< Unknown stream type */ +#define SDL_RWOPS_WINFILE 1U /**< Win32 file */ +#define SDL_RWOPS_STDFILE 2U /**< Stdio file */ +#define SDL_RWOPS_JNIFILE 3U /**< Android asset */ +#define SDL_RWOPS_MEMORY 4U /**< Memory stream */ +#define SDL_RWOPS_MEMORY_RO 5U /**< Read-Only memory stream */ + +/** + * This is the read/write operation structure -- very basic. + */ +typedef struct SDL_RWops +{ + /** + * Return the size of the file in this rwops, or -1 if unknown + */ + Sint64 (SDLCALL * size) (struct SDL_RWops * context); + + /** + * Seek to \c offset relative to \c whence, one of stdio's whence values: + * RW_SEEK_SET, RW_SEEK_CUR, RW_SEEK_END + * + * \return the final offset in the data stream, or -1 on error. + */ + Sint64 (SDLCALL * seek) (struct SDL_RWops * context, Sint64 offset, + int whence); + + /** + * Read up to \c maxnum objects each of size \c size from the data + * stream to the area pointed at by \c ptr. + * + * \return the number of objects read, or 0 at error or end of file. + */ + size_t (SDLCALL * read) (struct SDL_RWops * context, void *ptr, + size_t size, size_t maxnum); + + /** + * Write exactly \c num objects each of size \c size from the area + * pointed at by \c ptr to data stream. + * + * \return the number of objects written, or 0 at error or end of file. + */ + size_t (SDLCALL * write) (struct SDL_RWops * context, const void *ptr, + size_t size, size_t num); + + /** + * Close and free an allocated SDL_RWops structure. + * + * \return 0 if successful or -1 on write error when flushing data. + */ + int (SDLCALL * close) (struct SDL_RWops * context); + + Uint32 type; + union + { +#if defined(__ANDROID__) + struct + { + void *fileNameRef; + void *inputStreamRef; + void *readableByteChannelRef; + void *readMethod; + void *assetFileDescriptorRef; + long position; + long size; + long offset; + int fd; + } androidio; +#elif defined(__WIN32__) + struct + { + SDL_bool append; + void *h; + struct + { + void *data; + size_t size; + size_t left; + } buffer; + } windowsio; +#endif + +#ifdef HAVE_STDIO_H + struct + { + SDL_bool autoclose; + FILE *fp; + } stdio; +#endif + struct + { + Uint8 *base; + Uint8 *here; + Uint8 *stop; + } mem; + struct + { + void *data1; + void *data2; + } unknown; + } hidden; + +} SDL_RWops; + + +/** + * \name RWFrom functions + * + * Functions to create SDL_RWops structures from various data streams. + */ +/* @{ */ + +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file, + const char *mode); + +#ifdef HAVE_STDIO_H +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(FILE * fp, + SDL_bool autoclose); +#else +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFP(void * fp, + SDL_bool autoclose); +#endif + +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromMem(void *mem, int size); +extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem, + int size); + +/* @} *//* RWFrom functions */ + + +extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void); +extern DECLSPEC void SDLCALL SDL_FreeRW(SDL_RWops * area); + +#define RW_SEEK_SET 0 /**< Seek from the beginning of data */ +#define RW_SEEK_CUR 1 /**< Seek relative to current read point */ +#define RW_SEEK_END 2 /**< Seek relative to the end of data */ + +/** + * \name Read/write macros + * + * Macros to easily read and write from an SDL_RWops structure. + */ +/* @{ */ +#define SDL_RWsize(ctx) (ctx)->size(ctx) +#define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence) +#define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR) +#define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) +#define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n) +#define SDL_RWclose(ctx) (ctx)->close(ctx) +/* @} *//* Read/write macros */ + + +/** + * Load all the data from an SDL data stream. + * + * The data is allocated with a zero byte at the end (null terminated) + * + * If \c datasize is not NULL, it is filled with the size of the data read. + * + * If \c freesrc is non-zero, the stream will be closed after being read. + * + * The data should be freed with SDL_free(). + * + * \return the data, or NULL if there was an error. + */ +extern DECLSPEC void *SDLCALL SDL_LoadFile_RW(SDL_RWops * src, size_t *datasize, + int freesrc); + +/** + * Load an entire file. + * + * Convenience macro. + */ +#define SDL_LoadFile(file, datasize) SDL_LoadFile_RW(SDL_RWFromFile(file, "rb"), datasize, 1) + +/** + * \name Read endian functions + * + * Read an item of the specified endianness and return in native format. + */ +/* @{ */ +extern DECLSPEC Uint8 SDLCALL SDL_ReadU8(SDL_RWops * src); +extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src); +extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src); +extern DECLSPEC Uint32 SDLCALL SDL_ReadLE32(SDL_RWops * src); +extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src); +extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src); +extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src); +/* @} *//* Read endian functions */ + +/** + * \name Write endian functions + * + * Write an item of native format to the specified endianness. + */ +/* @{ */ +extern DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops * dst, Uint8 value); +extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value); +extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value); +extern DECLSPEC size_t SDLCALL SDL_WriteLE32(SDL_RWops * dst, Uint32 value); +extern DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value); +extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value); +extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value); +/* @} *//* Write endian functions */ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_rwops_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_scancode.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_scancode.h new file mode 100644 index 000000000..1d5521204 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_scancode.h @@ -0,0 +1,413 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_scancode.h + * + * Defines keyboard scancodes. + */ + +#ifndef SDL_scancode_h_ +#define SDL_scancode_h_ + +#include "SDL_stdinc.h" + +/** + * \brief The SDL keyboard scancode representation. + * + * Values of this type are used to represent keyboard keys, among other places + * in the \link SDL_Keysym::scancode key.keysym.scancode \endlink field of the + * SDL_Event structure. + * + * The values in this enumeration are based on the USB usage page standard: + * http://www.usb.org/developers/hidpage/Hut1_12v2.pdf + */ +typedef enum +{ + SDL_SCANCODE_UNKNOWN = 0, + + /** + * \name Usage page 0x07 + * + * These values are from usage page 0x07 (USB keyboard page). + */ + /* @{ */ + + SDL_SCANCODE_A = 4, + SDL_SCANCODE_B = 5, + SDL_SCANCODE_C = 6, + SDL_SCANCODE_D = 7, + SDL_SCANCODE_E = 8, + SDL_SCANCODE_F = 9, + SDL_SCANCODE_G = 10, + SDL_SCANCODE_H = 11, + SDL_SCANCODE_I = 12, + SDL_SCANCODE_J = 13, + SDL_SCANCODE_K = 14, + SDL_SCANCODE_L = 15, + SDL_SCANCODE_M = 16, + SDL_SCANCODE_N = 17, + SDL_SCANCODE_O = 18, + SDL_SCANCODE_P = 19, + SDL_SCANCODE_Q = 20, + SDL_SCANCODE_R = 21, + SDL_SCANCODE_S = 22, + SDL_SCANCODE_T = 23, + SDL_SCANCODE_U = 24, + SDL_SCANCODE_V = 25, + SDL_SCANCODE_W = 26, + SDL_SCANCODE_X = 27, + SDL_SCANCODE_Y = 28, + SDL_SCANCODE_Z = 29, + + SDL_SCANCODE_1 = 30, + SDL_SCANCODE_2 = 31, + SDL_SCANCODE_3 = 32, + SDL_SCANCODE_4 = 33, + SDL_SCANCODE_5 = 34, + SDL_SCANCODE_6 = 35, + SDL_SCANCODE_7 = 36, + SDL_SCANCODE_8 = 37, + SDL_SCANCODE_9 = 38, + SDL_SCANCODE_0 = 39, + + SDL_SCANCODE_RETURN = 40, + SDL_SCANCODE_ESCAPE = 41, + SDL_SCANCODE_BACKSPACE = 42, + SDL_SCANCODE_TAB = 43, + SDL_SCANCODE_SPACE = 44, + + SDL_SCANCODE_MINUS = 45, + SDL_SCANCODE_EQUALS = 46, + SDL_SCANCODE_LEFTBRACKET = 47, + SDL_SCANCODE_RIGHTBRACKET = 48, + SDL_SCANCODE_BACKSLASH = 49, /**< Located at the lower left of the return + * key on ISO keyboards and at the right end + * of the QWERTY row on ANSI keyboards. + * Produces REVERSE SOLIDUS (backslash) and + * VERTICAL LINE in a US layout, REVERSE + * SOLIDUS and VERTICAL LINE in a UK Mac + * layout, NUMBER SIGN and TILDE in a UK + * Windows layout, DOLLAR SIGN and POUND SIGN + * in a Swiss German layout, NUMBER SIGN and + * APOSTROPHE in a German layout, GRAVE + * ACCENT and POUND SIGN in a French Mac + * layout, and ASTERISK and MICRO SIGN in a + * French Windows layout. + */ + SDL_SCANCODE_NONUSHASH = 50, /**< ISO USB keyboards actually use this code + * instead of 49 for the same key, but all + * OSes I've seen treat the two codes + * identically. So, as an implementor, unless + * your keyboard generates both of those + * codes and your OS treats them differently, + * you should generate SDL_SCANCODE_BACKSLASH + * instead of this code. As a user, you + * should not rely on this code because SDL + * will never generate it with most (all?) + * keyboards. + */ + SDL_SCANCODE_SEMICOLON = 51, + SDL_SCANCODE_APOSTROPHE = 52, + SDL_SCANCODE_GRAVE = 53, /**< Located in the top left corner (on both ANSI + * and ISO keyboards). Produces GRAVE ACCENT and + * TILDE in a US Windows layout and in US and UK + * Mac layouts on ANSI keyboards, GRAVE ACCENT + * and NOT SIGN in a UK Windows layout, SECTION + * SIGN and PLUS-MINUS SIGN in US and UK Mac + * layouts on ISO keyboards, SECTION SIGN and + * DEGREE SIGN in a Swiss German layout (Mac: + * only on ISO keyboards), CIRCUMFLEX ACCENT and + * DEGREE SIGN in a German layout (Mac: only on + * ISO keyboards), SUPERSCRIPT TWO and TILDE in a + * French Windows layout, COMMERCIAL AT and + * NUMBER SIGN in a French Mac layout on ISO + * keyboards, and LESS-THAN SIGN and GREATER-THAN + * SIGN in a Swiss German, German, or French Mac + * layout on ANSI keyboards. + */ + SDL_SCANCODE_COMMA = 54, + SDL_SCANCODE_PERIOD = 55, + SDL_SCANCODE_SLASH = 56, + + SDL_SCANCODE_CAPSLOCK = 57, + + SDL_SCANCODE_F1 = 58, + SDL_SCANCODE_F2 = 59, + SDL_SCANCODE_F3 = 60, + SDL_SCANCODE_F4 = 61, + SDL_SCANCODE_F5 = 62, + SDL_SCANCODE_F6 = 63, + SDL_SCANCODE_F7 = 64, + SDL_SCANCODE_F8 = 65, + SDL_SCANCODE_F9 = 66, + SDL_SCANCODE_F10 = 67, + SDL_SCANCODE_F11 = 68, + SDL_SCANCODE_F12 = 69, + + SDL_SCANCODE_PRINTSCREEN = 70, + SDL_SCANCODE_SCROLLLOCK = 71, + SDL_SCANCODE_PAUSE = 72, + SDL_SCANCODE_INSERT = 73, /**< insert on PC, help on some Mac keyboards (but + does send code 73, not 117) */ + SDL_SCANCODE_HOME = 74, + SDL_SCANCODE_PAGEUP = 75, + SDL_SCANCODE_DELETE = 76, + SDL_SCANCODE_END = 77, + SDL_SCANCODE_PAGEDOWN = 78, + SDL_SCANCODE_RIGHT = 79, + SDL_SCANCODE_LEFT = 80, + SDL_SCANCODE_DOWN = 81, + SDL_SCANCODE_UP = 82, + + SDL_SCANCODE_NUMLOCKCLEAR = 83, /**< num lock on PC, clear on Mac keyboards + */ + SDL_SCANCODE_KP_DIVIDE = 84, + SDL_SCANCODE_KP_MULTIPLY = 85, + SDL_SCANCODE_KP_MINUS = 86, + SDL_SCANCODE_KP_PLUS = 87, + SDL_SCANCODE_KP_ENTER = 88, + SDL_SCANCODE_KP_1 = 89, + SDL_SCANCODE_KP_2 = 90, + SDL_SCANCODE_KP_3 = 91, + SDL_SCANCODE_KP_4 = 92, + SDL_SCANCODE_KP_5 = 93, + SDL_SCANCODE_KP_6 = 94, + SDL_SCANCODE_KP_7 = 95, + SDL_SCANCODE_KP_8 = 96, + SDL_SCANCODE_KP_9 = 97, + SDL_SCANCODE_KP_0 = 98, + SDL_SCANCODE_KP_PERIOD = 99, + + SDL_SCANCODE_NONUSBACKSLASH = 100, /**< This is the additional key that ISO + * keyboards have over ANSI ones, + * located between left shift and Y. + * Produces GRAVE ACCENT and TILDE in a + * US or UK Mac layout, REVERSE SOLIDUS + * (backslash) and VERTICAL LINE in a + * US or UK Windows layout, and + * LESS-THAN SIGN and GREATER-THAN SIGN + * in a Swiss German, German, or French + * layout. */ + SDL_SCANCODE_APPLICATION = 101, /**< windows contextual menu, compose */ + SDL_SCANCODE_POWER = 102, /**< The USB document says this is a status flag, + * not a physical key - but some Mac keyboards + * do have a power key. */ + SDL_SCANCODE_KP_EQUALS = 103, + SDL_SCANCODE_F13 = 104, + SDL_SCANCODE_F14 = 105, + SDL_SCANCODE_F15 = 106, + SDL_SCANCODE_F16 = 107, + SDL_SCANCODE_F17 = 108, + SDL_SCANCODE_F18 = 109, + SDL_SCANCODE_F19 = 110, + SDL_SCANCODE_F20 = 111, + SDL_SCANCODE_F21 = 112, + SDL_SCANCODE_F22 = 113, + SDL_SCANCODE_F23 = 114, + SDL_SCANCODE_F24 = 115, + SDL_SCANCODE_EXECUTE = 116, + SDL_SCANCODE_HELP = 117, + SDL_SCANCODE_MENU = 118, + SDL_SCANCODE_SELECT = 119, + SDL_SCANCODE_STOP = 120, + SDL_SCANCODE_AGAIN = 121, /**< redo */ + SDL_SCANCODE_UNDO = 122, + SDL_SCANCODE_CUT = 123, + SDL_SCANCODE_COPY = 124, + SDL_SCANCODE_PASTE = 125, + SDL_SCANCODE_FIND = 126, + SDL_SCANCODE_MUTE = 127, + SDL_SCANCODE_VOLUMEUP = 128, + SDL_SCANCODE_VOLUMEDOWN = 129, +/* not sure whether there's a reason to enable these */ +/* SDL_SCANCODE_LOCKINGCAPSLOCK = 130, */ +/* SDL_SCANCODE_LOCKINGNUMLOCK = 131, */ +/* SDL_SCANCODE_LOCKINGSCROLLLOCK = 132, */ + SDL_SCANCODE_KP_COMMA = 133, + SDL_SCANCODE_KP_EQUALSAS400 = 134, + + SDL_SCANCODE_INTERNATIONAL1 = 135, /**< used on Asian keyboards, see + footnotes in USB doc */ + SDL_SCANCODE_INTERNATIONAL2 = 136, + SDL_SCANCODE_INTERNATIONAL3 = 137, /**< Yen */ + SDL_SCANCODE_INTERNATIONAL4 = 138, + SDL_SCANCODE_INTERNATIONAL5 = 139, + SDL_SCANCODE_INTERNATIONAL6 = 140, + SDL_SCANCODE_INTERNATIONAL7 = 141, + SDL_SCANCODE_INTERNATIONAL8 = 142, + SDL_SCANCODE_INTERNATIONAL9 = 143, + SDL_SCANCODE_LANG1 = 144, /**< Hangul/English toggle */ + SDL_SCANCODE_LANG2 = 145, /**< Hanja conversion */ + SDL_SCANCODE_LANG3 = 146, /**< Katakana */ + SDL_SCANCODE_LANG4 = 147, /**< Hiragana */ + SDL_SCANCODE_LANG5 = 148, /**< Zenkaku/Hankaku */ + SDL_SCANCODE_LANG6 = 149, /**< reserved */ + SDL_SCANCODE_LANG7 = 150, /**< reserved */ + SDL_SCANCODE_LANG8 = 151, /**< reserved */ + SDL_SCANCODE_LANG9 = 152, /**< reserved */ + + SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */ + SDL_SCANCODE_SYSREQ = 154, + SDL_SCANCODE_CANCEL = 155, + SDL_SCANCODE_CLEAR = 156, + SDL_SCANCODE_PRIOR = 157, + SDL_SCANCODE_RETURN2 = 158, + SDL_SCANCODE_SEPARATOR = 159, + SDL_SCANCODE_OUT = 160, + SDL_SCANCODE_OPER = 161, + SDL_SCANCODE_CLEARAGAIN = 162, + SDL_SCANCODE_CRSEL = 163, + SDL_SCANCODE_EXSEL = 164, + + SDL_SCANCODE_KP_00 = 176, + SDL_SCANCODE_KP_000 = 177, + SDL_SCANCODE_THOUSANDSSEPARATOR = 178, + SDL_SCANCODE_DECIMALSEPARATOR = 179, + SDL_SCANCODE_CURRENCYUNIT = 180, + SDL_SCANCODE_CURRENCYSUBUNIT = 181, + SDL_SCANCODE_KP_LEFTPAREN = 182, + SDL_SCANCODE_KP_RIGHTPAREN = 183, + SDL_SCANCODE_KP_LEFTBRACE = 184, + SDL_SCANCODE_KP_RIGHTBRACE = 185, + SDL_SCANCODE_KP_TAB = 186, + SDL_SCANCODE_KP_BACKSPACE = 187, + SDL_SCANCODE_KP_A = 188, + SDL_SCANCODE_KP_B = 189, + SDL_SCANCODE_KP_C = 190, + SDL_SCANCODE_KP_D = 191, + SDL_SCANCODE_KP_E = 192, + SDL_SCANCODE_KP_F = 193, + SDL_SCANCODE_KP_XOR = 194, + SDL_SCANCODE_KP_POWER = 195, + SDL_SCANCODE_KP_PERCENT = 196, + SDL_SCANCODE_KP_LESS = 197, + SDL_SCANCODE_KP_GREATER = 198, + SDL_SCANCODE_KP_AMPERSAND = 199, + SDL_SCANCODE_KP_DBLAMPERSAND = 200, + SDL_SCANCODE_KP_VERTICALBAR = 201, + SDL_SCANCODE_KP_DBLVERTICALBAR = 202, + SDL_SCANCODE_KP_COLON = 203, + SDL_SCANCODE_KP_HASH = 204, + SDL_SCANCODE_KP_SPACE = 205, + SDL_SCANCODE_KP_AT = 206, + SDL_SCANCODE_KP_EXCLAM = 207, + SDL_SCANCODE_KP_MEMSTORE = 208, + SDL_SCANCODE_KP_MEMRECALL = 209, + SDL_SCANCODE_KP_MEMCLEAR = 210, + SDL_SCANCODE_KP_MEMADD = 211, + SDL_SCANCODE_KP_MEMSUBTRACT = 212, + SDL_SCANCODE_KP_MEMMULTIPLY = 213, + SDL_SCANCODE_KP_MEMDIVIDE = 214, + SDL_SCANCODE_KP_PLUSMINUS = 215, + SDL_SCANCODE_KP_CLEAR = 216, + SDL_SCANCODE_KP_CLEARENTRY = 217, + SDL_SCANCODE_KP_BINARY = 218, + SDL_SCANCODE_KP_OCTAL = 219, + SDL_SCANCODE_KP_DECIMAL = 220, + SDL_SCANCODE_KP_HEXADECIMAL = 221, + + SDL_SCANCODE_LCTRL = 224, + SDL_SCANCODE_LSHIFT = 225, + SDL_SCANCODE_LALT = 226, /**< alt, option */ + SDL_SCANCODE_LGUI = 227, /**< windows, command (apple), meta */ + SDL_SCANCODE_RCTRL = 228, + SDL_SCANCODE_RSHIFT = 229, + SDL_SCANCODE_RALT = 230, /**< alt gr, option */ + SDL_SCANCODE_RGUI = 231, /**< windows, command (apple), meta */ + + SDL_SCANCODE_MODE = 257, /**< I'm not sure if this is really not covered + * by any of the above, but since there's a + * special KMOD_MODE for it I'm adding it here + */ + + /* @} *//* Usage page 0x07 */ + + /** + * \name Usage page 0x0C + * + * These values are mapped from usage page 0x0C (USB consumer page). + */ + /* @{ */ + + SDL_SCANCODE_AUDIONEXT = 258, + SDL_SCANCODE_AUDIOPREV = 259, + SDL_SCANCODE_AUDIOSTOP = 260, + SDL_SCANCODE_AUDIOPLAY = 261, + SDL_SCANCODE_AUDIOMUTE = 262, + SDL_SCANCODE_MEDIASELECT = 263, + SDL_SCANCODE_WWW = 264, + SDL_SCANCODE_MAIL = 265, + SDL_SCANCODE_CALCULATOR = 266, + SDL_SCANCODE_COMPUTER = 267, + SDL_SCANCODE_AC_SEARCH = 268, + SDL_SCANCODE_AC_HOME = 269, + SDL_SCANCODE_AC_BACK = 270, + SDL_SCANCODE_AC_FORWARD = 271, + SDL_SCANCODE_AC_STOP = 272, + SDL_SCANCODE_AC_REFRESH = 273, + SDL_SCANCODE_AC_BOOKMARKS = 274, + + /* @} *//* Usage page 0x0C */ + + /** + * \name Walther keys + * + * These are values that Christian Walther added (for mac keyboard?). + */ + /* @{ */ + + SDL_SCANCODE_BRIGHTNESSDOWN = 275, + SDL_SCANCODE_BRIGHTNESSUP = 276, + SDL_SCANCODE_DISPLAYSWITCH = 277, /**< display mirroring/dual display + switch, video mode switch */ + SDL_SCANCODE_KBDILLUMTOGGLE = 278, + SDL_SCANCODE_KBDILLUMDOWN = 279, + SDL_SCANCODE_KBDILLUMUP = 280, + SDL_SCANCODE_EJECT = 281, + SDL_SCANCODE_SLEEP = 282, + + SDL_SCANCODE_APP1 = 283, + SDL_SCANCODE_APP2 = 284, + + /* @} *//* Walther keys */ + + /** + * \name Usage page 0x0C (additional media keys) + * + * These values are mapped from usage page 0x0C (USB consumer page). + */ + /* @{ */ + + SDL_SCANCODE_AUDIOREWIND = 285, + SDL_SCANCODE_AUDIOFASTFORWARD = 286, + + /* @} *//* Usage page 0x0C (additional media keys) */ + + /* Add any other keys here. */ + + SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes + for array bounds */ +} SDL_Scancode; + +#endif /* SDL_scancode_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_shape.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_shape.h new file mode 100644 index 000000000..9e492d93a --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_shape.h @@ -0,0 +1,144 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_shape_h_ +#define SDL_shape_h_ + +#include "SDL_stdinc.h" +#include "SDL_pixels.h" +#include "SDL_rect.h" +#include "SDL_surface.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** \file SDL_shape.h + * + * Header file for the shaped window API. + */ + +#define SDL_NONSHAPEABLE_WINDOW -1 +#define SDL_INVALID_SHAPE_ARGUMENT -2 +#define SDL_WINDOW_LACKS_SHAPE -3 + +/** + * \brief Create a window that can be shaped with the specified position, dimensions, and flags. + * + * \param title The title of the window, in UTF-8 encoding. + * \param x The x position of the window, ::SDL_WINDOWPOS_CENTERED, or + * ::SDL_WINDOWPOS_UNDEFINED. + * \param y The y position of the window, ::SDL_WINDOWPOS_CENTERED, or + * ::SDL_WINDOWPOS_UNDEFINED. + * \param w The width of the window. + * \param h The height of the window. + * \param flags The flags for the window, a mask of SDL_WINDOW_BORDERLESS with any of the following: + * ::SDL_WINDOW_OPENGL, ::SDL_WINDOW_INPUT_GRABBED, + * ::SDL_WINDOW_HIDDEN, ::SDL_WINDOW_RESIZABLE, + * ::SDL_WINDOW_MAXIMIZED, ::SDL_WINDOW_MINIMIZED, + * ::SDL_WINDOW_BORDERLESS is always set, and ::SDL_WINDOW_FULLSCREEN is always unset. + * + * \return The window created, or NULL if window creation failed. + * + * \sa SDL_DestroyWindow() + */ +extern DECLSPEC SDL_Window * SDLCALL SDL_CreateShapedWindow(const char *title,unsigned int x,unsigned int y,unsigned int w,unsigned int h,Uint32 flags); + +/** + * \brief Return whether the given window is a shaped window. + * + * \param window The window to query for being shaped. + * + * \return SDL_TRUE if the window is a window that can be shaped, SDL_FALSE if the window is unshaped or NULL. + * + * \sa SDL_CreateShapedWindow + */ +extern DECLSPEC SDL_bool SDLCALL SDL_IsShapedWindow(const SDL_Window *window); + +/** \brief An enum denoting the specific type of contents present in an SDL_WindowShapeParams union. */ +typedef enum { + /** \brief The default mode, a binarized alpha cutoff of 1. */ + ShapeModeDefault, + /** \brief A binarized alpha cutoff with a given integer value. */ + ShapeModeBinarizeAlpha, + /** \brief A binarized alpha cutoff with a given integer value, but with the opposite comparison. */ + ShapeModeReverseBinarizeAlpha, + /** \brief A color key is applied. */ + ShapeModeColorKey +} WindowShapeMode; + +#define SDL_SHAPEMODEALPHA(mode) (mode == ShapeModeDefault || mode == ShapeModeBinarizeAlpha || mode == ShapeModeReverseBinarizeAlpha) + +/** \brief A union containing parameters for shaped windows. */ +typedef union { + /** \brief A cutoff alpha value for binarization of the window shape's alpha channel. */ + Uint8 binarizationCutoff; + SDL_Color colorKey; +} SDL_WindowShapeParams; + +/** \brief A struct that tags the SDL_WindowShapeParams union with an enum describing the type of its contents. */ +typedef struct SDL_WindowShapeMode { + /** \brief The mode of these window-shape parameters. */ + WindowShapeMode mode; + /** \brief Window-shape parameters. */ + SDL_WindowShapeParams parameters; +} SDL_WindowShapeMode; + +/** + * \brief Set the shape and parameters of a shaped window. + * + * \param window The shaped window whose parameters should be set. + * \param shape A surface encoding the desired shape for the window. + * \param shape_mode The parameters to set for the shaped window. + * + * \return 0 on success, SDL_INVALID_SHAPE_ARGUMENT on an invalid shape argument, or SDL_NONSHAPEABLE_WINDOW + * if the SDL_Window given does not reference a valid shaped window. + * + * \sa SDL_WindowShapeMode + * \sa SDL_GetShapedWindowMode. + */ +extern DECLSPEC int SDLCALL SDL_SetWindowShape(SDL_Window *window,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode); + +/** + * \brief Get the shape parameters of a shaped window. + * + * \param window The shaped window whose parameters should be retrieved. + * \param shape_mode An empty shape-mode structure to fill, or NULL to check whether the window has a shape. + * + * \return 0 if the window has a shape and, provided shape_mode was not NULL, shape_mode has been filled with the mode + * data, SDL_NONSHAPEABLE_WINDOW if the SDL_Window given is not a shaped window, or SDL_WINDOW_LACKS_SHAPE if + * the SDL_Window given is a shapeable window currently lacking a shape. + * + * \sa SDL_WindowShapeMode + * \sa SDL_SetWindowShape + */ +extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_WindowShapeMode *shape_mode); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_shape_h_ */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_stdinc.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_stdinc.h new file mode 100644 index 000000000..72402299f --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_stdinc.h @@ -0,0 +1,590 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_stdinc.h + * + * This is a general header that includes C language support. + */ + +#ifndef SDL_stdinc_h_ +#define SDL_stdinc_h_ + +#include "SDL_config.h" + +#ifdef HAVE_SYS_TYPES_H +#include +#endif +#ifdef HAVE_STDIO_H +#include +#endif +#if defined(STDC_HEADERS) +# include +# include +# include +#else +# if defined(HAVE_STDLIB_H) +# include +# elif defined(HAVE_MALLOC_H) +# include +# endif +# if defined(HAVE_STDDEF_H) +# include +# endif +# if defined(HAVE_STDARG_H) +# include +# endif +#endif +#ifdef HAVE_STRING_H +# if !defined(STDC_HEADERS) && defined(HAVE_MEMORY_H) +# include +# endif +# include +#endif +#ifdef HAVE_STRINGS_H +# include +#endif +#ifdef HAVE_WCHAR_H +# include +#endif +#if defined(HAVE_INTTYPES_H) +# include +#elif defined(HAVE_STDINT_H) +# include +#endif +#ifdef HAVE_CTYPE_H +# include +#endif +#ifdef HAVE_MATH_H +# if defined(__WINRT__) +/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on + WinRT. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx + for more information. +*/ +# define _USE_MATH_DEFINES +# endif +# include +#endif +#ifdef HAVE_FLOAT_H +# include +#endif + +/** + * The number of elements in an array. + */ +#define SDL_arraysize(array) (sizeof(array)/sizeof(array[0])) +#define SDL_TABLESIZE(table) SDL_arraysize(table) + +/** + * Macro useful for building other macros with strings in them + * + * e.g. #define LOG_ERROR(X) OutputDebugString(SDL_STRINGIFY_ARG(__FUNCTION__) ": " X "\n") + */ +#define SDL_STRINGIFY_ARG(arg) #arg + +/** + * \name Cast operators + * + * Use proper C++ casts when compiled as C++ to be compatible with the option + * -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above). + */ +/* @{ */ +#ifdef __cplusplus +#define SDL_reinterpret_cast(type, expression) reinterpret_cast(expression) +#define SDL_static_cast(type, expression) static_cast(expression) +#define SDL_const_cast(type, expression) const_cast(expression) +#else +#define SDL_reinterpret_cast(type, expression) ((type)(expression)) +#define SDL_static_cast(type, expression) ((type)(expression)) +#define SDL_const_cast(type, expression) ((type)(expression)) +#endif +/* @} *//* Cast operators */ + +/* Define a four character code as a Uint32 */ +#define SDL_FOURCC(A, B, C, D) \ + ((SDL_static_cast(Uint32, SDL_static_cast(Uint8, (A))) << 0) | \ + (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (B))) << 8) | \ + (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (C))) << 16) | \ + (SDL_static_cast(Uint32, SDL_static_cast(Uint8, (D))) << 24)) + +/** + * \name Basic data types + */ +/* @{ */ + +#ifdef __CC_ARM +/* ARM's compiler throws warnings if we use an enum: like "SDL_bool x = a < b;" */ +#define SDL_FALSE 0 +#define SDL_TRUE 1 +typedef int SDL_bool; +#else +typedef enum +{ + SDL_FALSE = 0, + SDL_TRUE = 1 +} SDL_bool; +#endif + +/** + * \brief A signed 8-bit integer type. + */ +#define SDL_MAX_SINT8 ((Sint8)0x7F) /* 127 */ +#define SDL_MIN_SINT8 ((Sint8)(~0x7F)) /* -128 */ +typedef int8_t Sint8; +/** + * \brief An unsigned 8-bit integer type. + */ +#define SDL_MAX_UINT8 ((Uint8)0xFF) /* 255 */ +#define SDL_MIN_UINT8 ((Uint8)0x00) /* 0 */ +typedef uint8_t Uint8; +/** + * \brief A signed 16-bit integer type. + */ +#define SDL_MAX_SINT16 ((Sint16)0x7FFF) /* 32767 */ +#define SDL_MIN_SINT16 ((Sint16)(~0x7FFF)) /* -32768 */ +typedef int16_t Sint16; +/** + * \brief An unsigned 16-bit integer type. + */ +#define SDL_MAX_UINT16 ((Uint16)0xFFFF) /* 65535 */ +#define SDL_MIN_UINT16 ((Uint16)0x0000) /* 0 */ +typedef uint16_t Uint16; +/** + * \brief A signed 32-bit integer type. + */ +#define SDL_MAX_SINT32 ((Sint32)0x7FFFFFFF) /* 2147483647 */ +#define SDL_MIN_SINT32 ((Sint32)(~0x7FFFFFFF)) /* -2147483648 */ +typedef int32_t Sint32; +/** + * \brief An unsigned 32-bit integer type. + */ +#define SDL_MAX_UINT32 ((Uint32)0xFFFFFFFFu) /* 4294967295 */ +#define SDL_MIN_UINT32 ((Uint32)0x00000000) /* 0 */ +typedef uint32_t Uint32; + +/** + * \brief A signed 64-bit integer type. + */ +#define SDL_MAX_SINT64 ((Sint64)0x7FFFFFFFFFFFFFFFll) /* 9223372036854775807 */ +#define SDL_MIN_SINT64 ((Sint64)(~0x7FFFFFFFFFFFFFFFll)) /* -9223372036854775808 */ +typedef int64_t Sint64; +/** + * \brief An unsigned 64-bit integer type. + */ +#define SDL_MAX_UINT64 ((Uint64)0xFFFFFFFFFFFFFFFFull) /* 18446744073709551615 */ +#define SDL_MIN_UINT64 ((Uint64)(0x0000000000000000ull)) /* 0 */ +typedef uint64_t Uint64; + +/* @} *//* Basic data types */ + +/* Make sure we have macros for printing 64 bit values. + * should define these but this is not true all platforms. + * (for example win32) */ +#ifndef SDL_PRIs64 +#ifdef PRIs64 +#define SDL_PRIs64 PRIs64 +#elif defined(__WIN32__) +#define SDL_PRIs64 "I64d" +#elif defined(__LINUX__) && defined(__LP64__) +#define SDL_PRIs64 "ld" +#else +#define SDL_PRIs64 "lld" +#endif +#endif +#ifndef SDL_PRIu64 +#ifdef PRIu64 +#define SDL_PRIu64 PRIu64 +#elif defined(__WIN32__) +#define SDL_PRIu64 "I64u" +#elif defined(__LINUX__) && defined(__LP64__) +#define SDL_PRIu64 "lu" +#else +#define SDL_PRIu64 "llu" +#endif +#endif +#ifndef SDL_PRIx64 +#ifdef PRIx64 +#define SDL_PRIx64 PRIx64 +#elif defined(__WIN32__) +#define SDL_PRIx64 "I64x" +#elif defined(__LINUX__) && defined(__LP64__) +#define SDL_PRIx64 "lx" +#else +#define SDL_PRIx64 "llx" +#endif +#endif +#ifndef SDL_PRIX64 +#ifdef PRIX64 +#define SDL_PRIX64 PRIX64 +#elif defined(__WIN32__) +#define SDL_PRIX64 "I64X" +#elif defined(__LINUX__) && defined(__LP64__) +#define SDL_PRIX64 "lX" +#else +#define SDL_PRIX64 "llX" +#endif +#endif + +/* Annotations to help code analysis tools */ +#ifdef SDL_DISABLE_ANALYZE_MACROS +#define SDL_IN_BYTECAP(x) +#define SDL_INOUT_Z_CAP(x) +#define SDL_OUT_Z_CAP(x) +#define SDL_OUT_CAP(x) +#define SDL_OUT_BYTECAP(x) +#define SDL_OUT_Z_BYTECAP(x) +#define SDL_PRINTF_FORMAT_STRING +#define SDL_SCANF_FORMAT_STRING +#define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) +#define SDL_SCANF_VARARG_FUNC( fmtargnumber ) +#else +#if defined(_MSC_VER) && (_MSC_VER >= 1600) /* VS 2010 and above */ +#include + +#define SDL_IN_BYTECAP(x) _In_bytecount_(x) +#define SDL_INOUT_Z_CAP(x) _Inout_z_cap_(x) +#define SDL_OUT_Z_CAP(x) _Out_z_cap_(x) +#define SDL_OUT_CAP(x) _Out_cap_(x) +#define SDL_OUT_BYTECAP(x) _Out_bytecap_(x) +#define SDL_OUT_Z_BYTECAP(x) _Out_z_bytecap_(x) + +#define SDL_PRINTF_FORMAT_STRING _Printf_format_string_ +#define SDL_SCANF_FORMAT_STRING _Scanf_format_string_impl_ +#else +#define SDL_IN_BYTECAP(x) +#define SDL_INOUT_Z_CAP(x) +#define SDL_OUT_Z_CAP(x) +#define SDL_OUT_CAP(x) +#define SDL_OUT_BYTECAP(x) +#define SDL_OUT_Z_BYTECAP(x) +#define SDL_PRINTF_FORMAT_STRING +#define SDL_SCANF_FORMAT_STRING +#endif +#if defined(__GNUC__) +#define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __printf__, fmtargnumber, fmtargnumber+1 ))) +#define SDL_SCANF_VARARG_FUNC( fmtargnumber ) __attribute__ (( format( __scanf__, fmtargnumber, fmtargnumber+1 ))) +#else +#define SDL_PRINTF_VARARG_FUNC( fmtargnumber ) +#define SDL_SCANF_VARARG_FUNC( fmtargnumber ) +#endif +#endif /* SDL_DISABLE_ANALYZE_MACROS */ + +#define SDL_COMPILE_TIME_ASSERT(name, x) \ + typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1] +/** \cond */ +#ifndef DOXYGEN_SHOULD_IGNORE_THIS +SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1); +SDL_COMPILE_TIME_ASSERT(sint8, sizeof(Sint8) == 1); +SDL_COMPILE_TIME_ASSERT(uint16, sizeof(Uint16) == 2); +SDL_COMPILE_TIME_ASSERT(sint16, sizeof(Sint16) == 2); +SDL_COMPILE_TIME_ASSERT(uint32, sizeof(Uint32) == 4); +SDL_COMPILE_TIME_ASSERT(sint32, sizeof(Sint32) == 4); +SDL_COMPILE_TIME_ASSERT(uint64, sizeof(Uint64) == 8); +SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); +#endif /* DOXYGEN_SHOULD_IGNORE_THIS */ +/** \endcond */ + +/* Check to make sure enums are the size of ints, for structure packing. + For both Watcom C/C++ and Borland C/C++ the compiler option that makes + enums having the size of an int must be enabled. + This is "-b" for Borland C/C++ and "-ei" for Watcom C/C++ (v11). +*/ + +/** \cond */ +#ifndef DOXYGEN_SHOULD_IGNORE_THIS +#if !defined(__ANDROID__) + /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */ +typedef enum +{ + DUMMY_ENUM_VALUE +} SDL_DUMMY_ENUM; + +SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int)); +#endif +#endif /* DOXYGEN_SHOULD_IGNORE_THIS */ +/** \endcond */ + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +#if defined(HAVE_ALLOCA) && !defined(alloca) +# if defined(HAVE_ALLOCA_H) +# include +# elif defined(__GNUC__) +# define alloca __builtin_alloca +# elif defined(_MSC_VER) +# include +# define alloca _alloca +# elif defined(__WATCOMC__) +# include +# elif defined(__BORLANDC__) +# include +# elif defined(__DMC__) +# include +# elif defined(__AIX__) +#pragma alloca +# elif defined(__MRC__) +void *alloca(unsigned); +# else +char *alloca(); +# endif +#endif +#ifdef HAVE_ALLOCA +#define SDL_stack_alloc(type, count) (type*)alloca(sizeof(type)*(count)) +#define SDL_stack_free(data) +#else +#define SDL_stack_alloc(type, count) (type*)SDL_malloc(sizeof(type)*(count)) +#define SDL_stack_free(data) SDL_free(data) +#endif + +extern DECLSPEC void *SDLCALL SDL_malloc(size_t size); +extern DECLSPEC void *SDLCALL SDL_calloc(size_t nmemb, size_t size); +extern DECLSPEC void *SDLCALL SDL_realloc(void *mem, size_t size); +extern DECLSPEC void SDLCALL SDL_free(void *mem); + +typedef void *(SDLCALL *SDL_malloc_func)(size_t size); +typedef void *(SDLCALL *SDL_calloc_func)(size_t nmemb, size_t size); +typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size); +typedef void (SDLCALL *SDL_free_func)(void *mem); + +/** + * \brief Get the current set of SDL memory functions + */ +extern DECLSPEC void SDLCALL SDL_GetMemoryFunctions(SDL_malloc_func *malloc_func, + SDL_calloc_func *calloc_func, + SDL_realloc_func *realloc_func, + SDL_free_func *free_func); + +/** + * \brief Replace SDL's memory allocation functions with a custom set + * + * \note If you are replacing SDL's memory functions, you should call + * SDL_GetNumAllocations() and be very careful if it returns non-zero. + * That means that your free function will be called with memory + * allocated by the previous memory allocation functions. + */ +extern DECLSPEC int SDLCALL SDL_SetMemoryFunctions(SDL_malloc_func malloc_func, + SDL_calloc_func calloc_func, + SDL_realloc_func realloc_func, + SDL_free_func free_func); + +/** + * \brief Get the number of outstanding (unfreed) allocations + */ +extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void); + +extern DECLSPEC char *SDLCALL SDL_getenv(const char *name); +extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite); + +extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *)); + +extern DECLSPEC int SDLCALL SDL_abs(int x); + +/* !!! FIXME: these have side effects. You probably shouldn't use them. */ +/* !!! FIXME: Maybe we do forceinline functions of SDL_mini, SDL_minf, etc? */ +#define SDL_min(x, y) (((x) < (y)) ? (x) : (y)) +#define SDL_max(x, y) (((x) > (y)) ? (x) : (y)) + +extern DECLSPEC int SDLCALL SDL_isdigit(int x); +extern DECLSPEC int SDLCALL SDL_isspace(int x); +extern DECLSPEC int SDLCALL SDL_toupper(int x); +extern DECLSPEC int SDLCALL SDL_tolower(int x); + +extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len); + +#define SDL_zero(x) SDL_memset(&(x), 0, sizeof((x))) +#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x))) + +/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */ +SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords) +{ +#if defined(__GNUC__) && defined(i386) + int u0, u1, u2; + __asm__ __volatile__ ( + "cld \n\t" + "rep ; stosl \n\t" + : "=&D" (u0), "=&a" (u1), "=&c" (u2) + : "0" (dst), "1" (val), "2" (SDL_static_cast(Uint32, dwords)) + : "memory" + ); +#else + size_t _n = (dwords + 3) / 4; + Uint32 *_p = SDL_static_cast(Uint32 *, dst); + Uint32 _val = (val); + if (dwords == 0) + return; + switch (dwords % 4) + { + case 0: do { *_p++ = _val; /* fallthrough */ + case 3: *_p++ = _val; /* fallthrough */ + case 2: *_p++ = _val; /* fallthrough */ + case 1: *_p++ = _val; /* fallthrough */ + } while ( --_n ); + } +#endif +} + + +extern DECLSPEC void *SDLCALL SDL_memcpy(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len); + +extern DECLSPEC void *SDLCALL SDL_memmove(SDL_OUT_BYTECAP(len) void *dst, SDL_IN_BYTECAP(len) const void *src, size_t len); +extern DECLSPEC int SDLCALL SDL_memcmp(const void *s1, const void *s2, size_t len); + +extern DECLSPEC size_t SDLCALL SDL_wcslen(const wchar_t *wstr); +extern DECLSPEC size_t SDLCALL SDL_wcslcpy(SDL_OUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); +extern DECLSPEC size_t SDLCALL SDL_wcslcat(SDL_INOUT_Z_CAP(maxlen) wchar_t *dst, const wchar_t *src, size_t maxlen); +extern DECLSPEC int SDLCALL SDL_wcscmp(const wchar_t *str1, const wchar_t *str2); + +extern DECLSPEC size_t SDLCALL SDL_strlen(const char *str); +extern DECLSPEC size_t SDLCALL SDL_strlcpy(SDL_OUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen); +extern DECLSPEC size_t SDLCALL SDL_utf8strlcpy(SDL_OUT_Z_CAP(dst_bytes) char *dst, const char *src, size_t dst_bytes); +extern DECLSPEC size_t SDLCALL SDL_strlcat(SDL_INOUT_Z_CAP(maxlen) char *dst, const char *src, size_t maxlen); +extern DECLSPEC char *SDLCALL SDL_strdup(const char *str); +extern DECLSPEC char *SDLCALL SDL_strrev(char *str); +extern DECLSPEC char *SDLCALL SDL_strupr(char *str); +extern DECLSPEC char *SDLCALL SDL_strlwr(char *str); +extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c); +extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c); +extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle); +extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str); + +extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix); +extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix); +extern DECLSPEC char *SDLCALL SDL_ltoa(long value, char *str, int radix); +extern DECLSPEC char *SDLCALL SDL_ultoa(unsigned long value, char *str, int radix); +extern DECLSPEC char *SDLCALL SDL_lltoa(Sint64 value, char *str, int radix); +extern DECLSPEC char *SDLCALL SDL_ulltoa(Uint64 value, char *str, int radix); + +extern DECLSPEC int SDLCALL SDL_atoi(const char *str); +extern DECLSPEC double SDLCALL SDL_atof(const char *str); +extern DECLSPEC long SDLCALL SDL_strtol(const char *str, char **endp, int base); +extern DECLSPEC unsigned long SDLCALL SDL_strtoul(const char *str, char **endp, int base); +extern DECLSPEC Sint64 SDLCALL SDL_strtoll(const char *str, char **endp, int base); +extern DECLSPEC Uint64 SDLCALL SDL_strtoull(const char *str, char **endp, int base); +extern DECLSPEC double SDLCALL SDL_strtod(const char *str, char **endp); + +extern DECLSPEC int SDLCALL SDL_strcmp(const char *str1, const char *str2); +extern DECLSPEC int SDLCALL SDL_strncmp(const char *str1, const char *str2, size_t maxlen); +extern DECLSPEC int SDLCALL SDL_strcasecmp(const char *str1, const char *str2); +extern DECLSPEC int SDLCALL SDL_strncasecmp(const char *str1, const char *str2, size_t len); + +extern DECLSPEC int SDLCALL SDL_sscanf(const char *text, SDL_SCANF_FORMAT_STRING const char *fmt, ...) SDL_SCANF_VARARG_FUNC(2); +extern DECLSPEC int SDLCALL SDL_vsscanf(const char *text, const char *fmt, va_list ap); +extern DECLSPEC int SDLCALL SDL_snprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, SDL_PRINTF_FORMAT_STRING const char *fmt, ... ) SDL_PRINTF_VARARG_FUNC(3); +extern DECLSPEC int SDLCALL SDL_vsnprintf(SDL_OUT_Z_CAP(maxlen) char *text, size_t maxlen, const char *fmt, va_list ap); + +#ifndef HAVE_M_PI +#ifndef M_PI +#define M_PI 3.14159265358979323846264338327950288 /**< pi */ +#endif +#endif + +extern DECLSPEC double SDLCALL SDL_acos(double x); +extern DECLSPEC double SDLCALL SDL_asin(double x); +extern DECLSPEC double SDLCALL SDL_atan(double x); +extern DECLSPEC double SDLCALL SDL_atan2(double x, double y); +extern DECLSPEC double SDLCALL SDL_ceil(double x); +extern DECLSPEC double SDLCALL SDL_copysign(double x, double y); +extern DECLSPEC double SDLCALL SDL_cos(double x); +extern DECLSPEC float SDLCALL SDL_cosf(float x); +extern DECLSPEC double SDLCALL SDL_fabs(double x); +extern DECLSPEC double SDLCALL SDL_floor(double x); +extern DECLSPEC double SDLCALL SDL_log(double x); +extern DECLSPEC double SDLCALL SDL_pow(double x, double y); +extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n); +extern DECLSPEC double SDLCALL SDL_sin(double x); +extern DECLSPEC float SDLCALL SDL_sinf(float x); +extern DECLSPEC double SDLCALL SDL_sqrt(double x); +extern DECLSPEC float SDLCALL SDL_sqrtf(float x); +extern DECLSPEC double SDLCALL SDL_tan(double x); +extern DECLSPEC float SDLCALL SDL_tanf(float x); + +/* The SDL implementation of iconv() returns these error codes */ +#define SDL_ICONV_ERROR (size_t)-1 +#define SDL_ICONV_E2BIG (size_t)-2 +#define SDL_ICONV_EILSEQ (size_t)-3 +#define SDL_ICONV_EINVAL (size_t)-4 + +/* SDL_iconv_* are now always real symbols/types, not macros or inlined. */ +typedef struct _SDL_iconv_t *SDL_iconv_t; +extern DECLSPEC SDL_iconv_t SDLCALL SDL_iconv_open(const char *tocode, + const char *fromcode); +extern DECLSPEC int SDLCALL SDL_iconv_close(SDL_iconv_t cd); +extern DECLSPEC size_t SDLCALL SDL_iconv(SDL_iconv_t cd, const char **inbuf, + size_t * inbytesleft, char **outbuf, + size_t * outbytesleft); +/** + * This function converts a string between encodings in one pass, returning a + * string that must be freed with SDL_free() or NULL on error. + */ +extern DECLSPEC char *SDLCALL SDL_iconv_string(const char *tocode, + const char *fromcode, + const char *inbuf, + size_t inbytesleft); +#define SDL_iconv_utf8_locale(S) SDL_iconv_string("", "UTF-8", S, SDL_strlen(S)+1) +#define SDL_iconv_utf8_ucs2(S) (Uint16 *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) +#define SDL_iconv_utf8_ucs4(S) (Uint32 *)SDL_iconv_string("UCS-4-INTERNAL", "UTF-8", S, SDL_strlen(S)+1) + +/* force builds using Clang's static analysis tools to use literal C runtime + here, since there are possibly tests that are ineffective otherwise. */ +#if defined(__clang_analyzer__) && !defined(SDL_DISABLE_ANALYZE_MACROS) +#define SDL_malloc malloc +#define SDL_calloc calloc +#define SDL_realloc realloc +#define SDL_free free +#define SDL_memset memset +#define SDL_memcpy memcpy +#define SDL_memmove memmove +#define SDL_memcmp memcmp +#define SDL_strlen strlen +#define SDL_strlcpy strlcpy +#define SDL_strlcat strlcat +#define SDL_strdup strdup +#define SDL_strchr strchr +#define SDL_strrchr strrchr +#define SDL_strstr strstr +#define SDL_strcmp strcmp +#define SDL_strncmp strncmp +#define SDL_strcasecmp strcasecmp +#define SDL_strncasecmp strncasecmp +#define SDL_sscanf sscanf +#define SDL_vsscanf vsscanf +#define SDL_snprintf snprintf +#define SDL_vsnprintf vsnprintf +#endif + +SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, SDL_IN_BYTECAP(dwords*4) const void *src, size_t dwords) +{ + return SDL_memcpy(dst, src, dwords * 4); +} + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_stdinc_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_surface.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_surface.h new file mode 100644 index 000000000..510690c9c --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_surface.h @@ -0,0 +1,521 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_surface.h + * + * Header file for ::SDL_Surface definition and management functions. + */ + +#ifndef SDL_surface_h_ +#define SDL_surface_h_ + +#include "SDL_stdinc.h" +#include "SDL_pixels.h" +#include "SDL_rect.h" +#include "SDL_blendmode.h" +#include "SDL_rwops.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \name Surface flags + * + * These are the currently supported flags for the ::SDL_Surface. + * + * \internal + * Used internally (read-only). + */ +/* @{ */ +#define SDL_SWSURFACE 0 /**< Just here for compatibility */ +#define SDL_PREALLOC 0x00000001 /**< Surface uses preallocated memory */ +#define SDL_RLEACCEL 0x00000002 /**< Surface is RLE encoded */ +#define SDL_DONTFREE 0x00000004 /**< Surface is referenced internally */ +/* @} *//* Surface flags */ + +/** + * Evaluates to true if the surface needs to be locked before access. + */ +#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0) + +/** + * \brief A collection of pixels used in software blitting. + * + * \note This structure should be treated as read-only, except for \c pixels, + * which, if not NULL, contains the raw pixel data for the surface. + */ +typedef struct SDL_Surface +{ + Uint32 flags; /**< Read-only */ + SDL_PixelFormat *format; /**< Read-only */ + int w, h; /**< Read-only */ + int pitch; /**< Read-only */ + void *pixels; /**< Read-write */ + + /** Application data associated with the surface */ + void *userdata; /**< Read-write */ + + /** information needed for surfaces requiring locks */ + int locked; /**< Read-only */ + void *lock_data; /**< Read-only */ + + /** clipping information */ + SDL_Rect clip_rect; /**< Read-only */ + + /** info for fast blit mapping to other surfaces */ + struct SDL_BlitMap *map; /**< Private */ + + /** Reference count -- used when freeing surface */ + int refcount; /**< Read-mostly */ +} SDL_Surface; + +/** + * \brief The type of function used for surface blitting functions. + */ +typedef int (SDLCALL *SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect, + struct SDL_Surface * dst, SDL_Rect * dstrect); + +/** + * Allocate and free an RGB surface. + * + * If the depth is 4 or 8 bits, an empty palette is allocated for the surface. + * If the depth is greater than 8 bits, the pixel format is set using the + * flags '[RGB]mask'. + * + * If the function runs out of memory, it will return NULL. + * + * \param flags The \c flags are obsolete and should be set to 0. + * \param width The width in pixels of the surface to create. + * \param height The height in pixels of the surface to create. + * \param depth The depth in bits of the surface to create. + * \param Rmask The red mask of the surface to create. + * \param Gmask The green mask of the surface to create. + * \param Bmask The blue mask of the surface to create. + * \param Amask The alpha mask of the surface to create. + */ +extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurface + (Uint32 flags, int width, int height, int depth, + Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask); + +/* !!! FIXME for 2.1: why does this ask for depth? Format provides that. */ +extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormat + (Uint32 flags, int width, int height, int depth, Uint32 format); + +extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceFrom(void *pixels, + int width, + int height, + int depth, + int pitch, + Uint32 Rmask, + Uint32 Gmask, + Uint32 Bmask, + Uint32 Amask); +extern DECLSPEC SDL_Surface *SDLCALL SDL_CreateRGBSurfaceWithFormatFrom + (void *pixels, int width, int height, int depth, int pitch, Uint32 format); +extern DECLSPEC void SDLCALL SDL_FreeSurface(SDL_Surface * surface); + +/** + * \brief Set the palette used by a surface. + * + * \return 0, or -1 if the surface format doesn't use a palette. + * + * \note A single palette can be shared with many surfaces. + */ +extern DECLSPEC int SDLCALL SDL_SetSurfacePalette(SDL_Surface * surface, + SDL_Palette * palette); + +/** + * \brief Sets up a surface for directly accessing the pixels. + * + * Between calls to SDL_LockSurface() / SDL_UnlockSurface(), you can write + * to and read from \c surface->pixels, using the pixel format stored in + * \c surface->format. Once you are done accessing the surface, you should + * use SDL_UnlockSurface() to release it. + * + * Not all surfaces require locking. If SDL_MUSTLOCK(surface) evaluates + * to 0, then you can read and write to the surface at any time, and the + * pixel format of the surface will not change. + * + * No operating system or library calls should be made between lock/unlock + * pairs, as critical system locks may be held during this time. + * + * SDL_LockSurface() returns 0, or -1 if the surface couldn't be locked. + * + * \sa SDL_UnlockSurface() + */ +extern DECLSPEC int SDLCALL SDL_LockSurface(SDL_Surface * surface); +/** \sa SDL_LockSurface() */ +extern DECLSPEC void SDLCALL SDL_UnlockSurface(SDL_Surface * surface); + +/** + * Load a surface from a seekable SDL data stream (memory or file). + * + * If \c freesrc is non-zero, the stream will be closed after being read. + * + * The new surface should be freed with SDL_FreeSurface(). + * + * \return the new surface, or NULL if there was an error. + */ +extern DECLSPEC SDL_Surface *SDLCALL SDL_LoadBMP_RW(SDL_RWops * src, + int freesrc); + +/** + * Load a surface from a file. + * + * Convenience macro. + */ +#define SDL_LoadBMP(file) SDL_LoadBMP_RW(SDL_RWFromFile(file, "rb"), 1) + +/** + * Save a surface to a seekable SDL data stream (memory or file). + * + * Surfaces with a 24-bit, 32-bit and paletted 8-bit format get saved in the + * BMP directly. Other RGB formats with 8-bit or higher get converted to a + * 24-bit surface or, if they have an alpha mask or a colorkey, to a 32-bit + * surface before they are saved. YUV and paletted 1-bit and 4-bit formats are + * not supported. + * + * If \c freedst is non-zero, the stream will be closed after being written. + * + * \return 0 if successful or -1 if there was an error. + */ +extern DECLSPEC int SDLCALL SDL_SaveBMP_RW + (SDL_Surface * surface, SDL_RWops * dst, int freedst); + +/** + * Save a surface to a file. + * + * Convenience macro. + */ +#define SDL_SaveBMP(surface, file) \ + SDL_SaveBMP_RW(surface, SDL_RWFromFile(file, "wb"), 1) + +/** + * \brief Sets the RLE acceleration hint for a surface. + * + * \return 0 on success, or -1 if the surface is not valid + * + * \note If RLE is enabled, colorkey and alpha blending blits are much faster, + * but the surface must be locked before directly accessing the pixels. + */ +extern DECLSPEC int SDLCALL SDL_SetSurfaceRLE(SDL_Surface * surface, + int flag); + +/** + * \brief Sets the color key (transparent pixel) in a blittable surface. + * + * \param surface The surface to update + * \param flag Non-zero to enable colorkey and 0 to disable colorkey + * \param key The transparent pixel in the native surface format + * + * \return 0 on success, or -1 if the surface is not valid + * + * You can pass SDL_RLEACCEL to enable RLE accelerated blits. + */ +extern DECLSPEC int SDLCALL SDL_SetColorKey(SDL_Surface * surface, + int flag, Uint32 key); + +/** + * \brief Gets the color key (transparent pixel) in a blittable surface. + * + * \param surface The surface to update + * \param key A pointer filled in with the transparent pixel in the native + * surface format + * + * \return 0 on success, or -1 if the surface is not valid or colorkey is not + * enabled. + */ +extern DECLSPEC int SDLCALL SDL_GetColorKey(SDL_Surface * surface, + Uint32 * key); + +/** + * \brief Set an additional color value used in blit operations. + * + * \param surface The surface to update. + * \param r The red color value multiplied into blit operations. + * \param g The green color value multiplied into blit operations. + * \param b The blue color value multiplied into blit operations. + * + * \return 0 on success, or -1 if the surface is not valid. + * + * \sa SDL_GetSurfaceColorMod() + */ +extern DECLSPEC int SDLCALL SDL_SetSurfaceColorMod(SDL_Surface * surface, + Uint8 r, Uint8 g, Uint8 b); + + +/** + * \brief Get the additional color value used in blit operations. + * + * \param surface The surface to query. + * \param r A pointer filled in with the current red color value. + * \param g A pointer filled in with the current green color value. + * \param b A pointer filled in with the current blue color value. + * + * \return 0 on success, or -1 if the surface is not valid. + * + * \sa SDL_SetSurfaceColorMod() + */ +extern DECLSPEC int SDLCALL SDL_GetSurfaceColorMod(SDL_Surface * surface, + Uint8 * r, Uint8 * g, + Uint8 * b); + +/** + * \brief Set an additional alpha value used in blit operations. + * + * \param surface The surface to update. + * \param alpha The alpha value multiplied into blit operations. + * + * \return 0 on success, or -1 if the surface is not valid. + * + * \sa SDL_GetSurfaceAlphaMod() + */ +extern DECLSPEC int SDLCALL SDL_SetSurfaceAlphaMod(SDL_Surface * surface, + Uint8 alpha); + +/** + * \brief Get the additional alpha value used in blit operations. + * + * \param surface The surface to query. + * \param alpha A pointer filled in with the current alpha value. + * + * \return 0 on success, or -1 if the surface is not valid. + * + * \sa SDL_SetSurfaceAlphaMod() + */ +extern DECLSPEC int SDLCALL SDL_GetSurfaceAlphaMod(SDL_Surface * surface, + Uint8 * alpha); + +/** + * \brief Set the blend mode used for blit operations. + * + * \param surface The surface to update. + * \param blendMode ::SDL_BlendMode to use for blit blending. + * + * \return 0 on success, or -1 if the parameters are not valid. + * + * \sa SDL_GetSurfaceBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_SetSurfaceBlendMode(SDL_Surface * surface, + SDL_BlendMode blendMode); + +/** + * \brief Get the blend mode used for blit operations. + * + * \param surface The surface to query. + * \param blendMode A pointer filled in with the current blend mode. + * + * \return 0 on success, or -1 if the surface is not valid. + * + * \sa SDL_SetSurfaceBlendMode() + */ +extern DECLSPEC int SDLCALL SDL_GetSurfaceBlendMode(SDL_Surface * surface, + SDL_BlendMode *blendMode); + +/** + * Sets the clipping rectangle for the destination surface in a blit. + * + * If the clip rectangle is NULL, clipping will be disabled. + * + * If the clip rectangle doesn't intersect the surface, the function will + * return SDL_FALSE and blits will be completely clipped. Otherwise the + * function returns SDL_TRUE and blits to the surface will be clipped to + * the intersection of the surface area and the clipping rectangle. + * + * Note that blits are automatically clipped to the edges of the source + * and destination surfaces. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_SetClipRect(SDL_Surface * surface, + const SDL_Rect * rect); + +/** + * Gets the clipping rectangle for the destination surface in a blit. + * + * \c rect must be a pointer to a valid rectangle which will be filled + * with the correct values. + */ +extern DECLSPEC void SDLCALL SDL_GetClipRect(SDL_Surface * surface, + SDL_Rect * rect); + +/* + * Creates a new surface identical to the existing surface + */ +extern DECLSPEC SDL_Surface *SDLCALL SDL_DuplicateSurface(SDL_Surface * surface); + +/** + * Creates a new surface of the specified format, and then copies and maps + * the given surface to it so the blit of the converted surface will be as + * fast as possible. If this function fails, it returns NULL. + * + * The \c flags parameter is passed to SDL_CreateRGBSurface() and has those + * semantics. You can also pass ::SDL_RLEACCEL in the flags parameter and + * SDL will try to RLE accelerate colorkey and alpha blits in the resulting + * surface. + */ +extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurface + (SDL_Surface * src, const SDL_PixelFormat * fmt, Uint32 flags); +extern DECLSPEC SDL_Surface *SDLCALL SDL_ConvertSurfaceFormat + (SDL_Surface * src, Uint32 pixel_format, Uint32 flags); + +/** + * \brief Copy a block of pixels of one format to another format + * + * \return 0 on success, or -1 if there was an error + */ +extern DECLSPEC int SDLCALL SDL_ConvertPixels(int width, int height, + Uint32 src_format, + const void * src, int src_pitch, + Uint32 dst_format, + void * dst, int dst_pitch); + +/** + * Performs a fast fill of the given rectangle with \c color. + * + * If \c rect is NULL, the whole surface will be filled with \c color. + * + * The color should be a pixel of the format used by the surface, and + * can be generated by the SDL_MapRGB() function. + * + * \return 0 on success, or -1 on error. + */ +extern DECLSPEC int SDLCALL SDL_FillRect + (SDL_Surface * dst, const SDL_Rect * rect, Uint32 color); +extern DECLSPEC int SDLCALL SDL_FillRects + (SDL_Surface * dst, const SDL_Rect * rects, int count, Uint32 color); + +/** + * Performs a fast blit from the source surface to the destination surface. + * + * This assumes that the source and destination rectangles are + * the same size. If either \c srcrect or \c dstrect are NULL, the entire + * surface (\c src or \c dst) is copied. The final blit rectangles are saved + * in \c srcrect and \c dstrect after all clipping is performed. + * + * \return If the blit is successful, it returns 0, otherwise it returns -1. + * + * The blit function should not be called on a locked surface. + * + * The blit semantics for surfaces with and without blending and colorkey + * are defined as follows: + * \verbatim + RGBA->RGB: + Source surface blend mode set to SDL_BLENDMODE_BLEND: + alpha-blend (using the source alpha-channel and per-surface alpha) + SDL_SRCCOLORKEY ignored. + Source surface blend mode set to SDL_BLENDMODE_NONE: + copy RGB. + if SDL_SRCCOLORKEY set, only copy the pixels matching the + RGB values of the source color key, ignoring alpha in the + comparison. + + RGB->RGBA: + Source surface blend mode set to SDL_BLENDMODE_BLEND: + alpha-blend (using the source per-surface alpha) + Source surface blend mode set to SDL_BLENDMODE_NONE: + copy RGB, set destination alpha to source per-surface alpha value. + both: + if SDL_SRCCOLORKEY set, only copy the pixels matching the + source color key. + + RGBA->RGBA: + Source surface blend mode set to SDL_BLENDMODE_BLEND: + alpha-blend (using the source alpha-channel and per-surface alpha) + SDL_SRCCOLORKEY ignored. + Source surface blend mode set to SDL_BLENDMODE_NONE: + copy all of RGBA to the destination. + if SDL_SRCCOLORKEY set, only copy the pixels matching the + RGB values of the source color key, ignoring alpha in the + comparison. + + RGB->RGB: + Source surface blend mode set to SDL_BLENDMODE_BLEND: + alpha-blend (using the source per-surface alpha) + Source surface blend mode set to SDL_BLENDMODE_NONE: + copy RGB. + both: + if SDL_SRCCOLORKEY set, only copy the pixels matching the + source color key. + \endverbatim + * + * You should call SDL_BlitSurface() unless you know exactly how SDL + * blitting works internally and how to use the other blit functions. + */ +#define SDL_BlitSurface SDL_UpperBlit + +/** + * This is the public blit function, SDL_BlitSurface(), and it performs + * rectangle validation and clipping before passing it to SDL_LowerBlit() + */ +extern DECLSPEC int SDLCALL SDL_UpperBlit + (SDL_Surface * src, const SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect); + +/** + * This is a semi-private blit function and it performs low-level surface + * blitting only. + */ +extern DECLSPEC int SDLCALL SDL_LowerBlit + (SDL_Surface * src, SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect); + +/** + * \brief Perform a fast, low quality, stretch blit between two surfaces of the + * same pixel format. + * + * \note This function uses a static buffer, and is not thread-safe. + */ +extern DECLSPEC int SDLCALL SDL_SoftStretch(SDL_Surface * src, + const SDL_Rect * srcrect, + SDL_Surface * dst, + const SDL_Rect * dstrect); + +#define SDL_BlitScaled SDL_UpperBlitScaled + +/** + * This is the public scaled blit function, SDL_BlitScaled(), and it performs + * rectangle validation and clipping before passing it to SDL_LowerBlitScaled() + */ +extern DECLSPEC int SDLCALL SDL_UpperBlitScaled + (SDL_Surface * src, const SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect); + +/** + * This is a semi-private blit function and it performs low-level surface + * scaled blitting only. + */ +extern DECLSPEC int SDLCALL SDL_LowerBlitScaled + (SDL_Surface * src, SDL_Rect * srcrect, + SDL_Surface * dst, SDL_Rect * dstrect); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_surface_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_system.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_system.h new file mode 100644 index 000000000..eb069b33d --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_system.h @@ -0,0 +1,216 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_system.h + * + * Include file for platform specific SDL API functions + */ + +#ifndef SDL_system_h_ +#define SDL_system_h_ + +#include "SDL_stdinc.h" +#include "SDL_keyboard.h" +#include "SDL_render.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + + +/* Platform specific functions for Windows */ +#ifdef __WIN32__ + +/** + \brief Set a function that is called for every windows message, before TranslateMessage() +*/ +typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam); +extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata); + +/** + \brief Returns the D3D9 adapter index that matches the specified display index. + + This adapter index can be passed to IDirect3D9::CreateDevice and controls + on which monitor a full screen application will appear. +*/ +extern DECLSPEC int SDLCALL SDL_Direct3D9GetAdapterIndex( int displayIndex ); + +typedef struct IDirect3DDevice9 IDirect3DDevice9; +/** + \brief Returns the D3D device associated with a renderer, or NULL if it's not a D3D renderer. + + Once you are done using the device, you should release it to avoid a resource leak. + */ +extern DECLSPEC IDirect3DDevice9* SDLCALL SDL_RenderGetD3D9Device(SDL_Renderer * renderer); + +/** + \brief Returns the DXGI Adapter and Output indices for the specified display index. + + These can be passed to EnumAdapters and EnumOutputs respectively to get the objects + required to create a DX10 or DX11 device and swap chain. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *outputIndex ); + +#endif /* __WIN32__ */ + + +/* Platform specific functions for iOS */ +#if defined(__IPHONEOS__) && __IPHONEOS__ + +#define SDL_iOSSetAnimationCallback(window, interval, callback, callbackParam) SDL_iPhoneSetAnimationCallback(window, interval, callback, callbackParam) +extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam); + +#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled) +extern DECLSPEC void SDLCALL SDL_iPhoneSetEventPump(SDL_bool enabled); + +#endif /* __IPHONEOS__ */ + + +/* Platform specific functions for Android */ +#if defined(__ANDROID__) && __ANDROID__ + +/** + \brief Get the JNI environment for the current thread + + This returns JNIEnv*, but the prototype is void* so we don't need jni.h + */ +extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv(void); + +/** + \brief Get the SDL Activity object for the application + + This returns jobject, but the prototype is void* so we don't need jni.h + The jobject returned by SDL_AndroidGetActivity is a local reference. + It is the caller's responsibility to properly release it + (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef) + */ +extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity(void); + +/** + See the official Android developer guide for more information: + http://developer.android.com/guide/topics/data/data-storage.html +*/ +#define SDL_ANDROID_EXTERNAL_STORAGE_READ 0x01 +#define SDL_ANDROID_EXTERNAL_STORAGE_WRITE 0x02 + +/** + \brief Get the path used for internal storage for this application. + + This path is unique to your application and cannot be written to + by other applications. + */ +extern DECLSPEC const char * SDLCALL SDL_AndroidGetInternalStoragePath(void); + +/** + \brief Get the current state of external storage, a bitmask of these values: + SDL_ANDROID_EXTERNAL_STORAGE_READ + SDL_ANDROID_EXTERNAL_STORAGE_WRITE + + If external storage is currently unavailable, this will return 0. +*/ +extern DECLSPEC int SDLCALL SDL_AndroidGetExternalStorageState(void); + +/** + \brief Get the path used for external storage for this application. + + This path is unique to your application, but is public and can be + written to by other applications. + */ +extern DECLSPEC const char * SDLCALL SDL_AndroidGetExternalStoragePath(void); + +#endif /* __ANDROID__ */ + +/* Platform specific functions for WinRT */ +#if defined(__WINRT__) && __WINRT__ + +/** + * \brief WinRT / Windows Phone path types + */ +typedef enum +{ + /** \brief The installed app's root directory. + Files here are likely to be read-only. */ + SDL_WINRT_PATH_INSTALLED_LOCATION, + + /** \brief The app's local data store. Files may be written here */ + SDL_WINRT_PATH_LOCAL_FOLDER, + + /** \brief The app's roaming data store. Unsupported on Windows Phone. + Files written here may be copied to other machines via a network + connection. + */ + SDL_WINRT_PATH_ROAMING_FOLDER, + + /** \brief The app's temporary data store. Unsupported on Windows Phone. + Files written here may be deleted at any time. */ + SDL_WINRT_PATH_TEMP_FOLDER +} SDL_WinRT_Path; + + +/** + * \brief Retrieves a WinRT defined path on the local file system + * + * \note Documentation on most app-specific path types on WinRT + * can be found on MSDN, at the URL: + * http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx + * + * \param pathType The type of path to retrieve. + * \return A UCS-2 string (16-bit, wide-char) containing the path, or NULL + * if the path is not available for any reason. Not all paths are + * available on all versions of Windows. This is especially true on + * Windows Phone. Check the documentation for the given + * SDL_WinRT_Path for more information on which path types are + * supported where. + */ +extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path pathType); + +/** + * \brief Retrieves a WinRT defined path on the local file system + * + * \note Documentation on most app-specific path types on WinRT + * can be found on MSDN, at the URL: + * http://msdn.microsoft.com/en-us/library/windows/apps/hh464917.aspx + * + * \param pathType The type of path to retrieve. + * \return A UTF-8 string (8-bit, multi-byte) containing the path, or NULL + * if the path is not available for any reason. Not all paths are + * available on all versions of Windows. This is especially true on + * Windows Phone. Check the documentation for the given + * SDL_WinRT_Path for more information on which path types are + * supported where. + */ +extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType); + +#endif /* __WINRT__ */ + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_system_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_syswm.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_syswm.h new file mode 100644 index 000000000..2d18afb6c --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_syswm.h @@ -0,0 +1,324 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_syswm.h + * + * Include file for SDL custom system window manager hooks. + */ + +#ifndef SDL_syswm_h_ +#define SDL_syswm_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" +#include "SDL_version.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \file SDL_syswm.h + * + * Your application has access to a special type of event ::SDL_SYSWMEVENT, + * which contains window-manager specific information and arrives whenever + * an unhandled window event occurs. This event is ignored by default, but + * you can enable it with SDL_EventState(). + */ +#ifdef SDL_PROTOTYPES_ONLY +struct SDL_SysWMinfo; +#else + +#if defined(SDL_VIDEO_DRIVER_WINDOWS) +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif +#include +#endif + +#if defined(SDL_VIDEO_DRIVER_WINRT) +#include +#endif + +/* This is the structure for custom window manager events */ +#if defined(SDL_VIDEO_DRIVER_X11) +#if defined(__APPLE__) && defined(__MACH__) +/* conflicts with Quickdraw.h */ +#define Cursor X11Cursor +#endif + +#include +#include + +#if defined(__APPLE__) && defined(__MACH__) +/* matches the re-define above */ +#undef Cursor +#endif + +#endif /* defined(SDL_VIDEO_DRIVER_X11) */ + +#if defined(SDL_VIDEO_DRIVER_DIRECTFB) +#include +#endif + +#if defined(SDL_VIDEO_DRIVER_COCOA) +#ifdef __OBJC__ +@class NSWindow; +#else +typedef struct _NSWindow NSWindow; +#endif +#endif + +#if defined(SDL_VIDEO_DRIVER_UIKIT) +#ifdef __OBJC__ +#include +#else +typedef struct _UIWindow UIWindow; +typedef struct _UIViewController UIViewController; +#endif +typedef Uint32 GLuint; +#endif + +#if defined(SDL_VIDEO_DRIVER_ANDROID) +typedef struct ANativeWindow ANativeWindow; +typedef void *EGLSurface; +#endif + +#if defined(SDL_VIDEO_DRIVER_VIVANTE) +#include "SDL_egl.h" +#endif + +/** + * These are the various supported windowing subsystems + */ +typedef enum +{ + SDL_SYSWM_UNKNOWN, + SDL_SYSWM_WINDOWS, + SDL_SYSWM_X11, + SDL_SYSWM_DIRECTFB, + SDL_SYSWM_COCOA, + SDL_SYSWM_UIKIT, + SDL_SYSWM_WAYLAND, + SDL_SYSWM_MIR, + SDL_SYSWM_WINRT, + SDL_SYSWM_ANDROID, + SDL_SYSWM_VIVANTE, + SDL_SYSWM_OS2 +} SDL_SYSWM_TYPE; + +/** + * The custom event structure. + */ +struct SDL_SysWMmsg +{ + SDL_version version; + SDL_SYSWM_TYPE subsystem; + union + { +#if defined(SDL_VIDEO_DRIVER_WINDOWS) + struct { + HWND hwnd; /**< The window for the message */ + UINT msg; /**< The type of message */ + WPARAM wParam; /**< WORD message parameter */ + LPARAM lParam; /**< LONG message parameter */ + } win; +#endif +#if defined(SDL_VIDEO_DRIVER_X11) + struct { + XEvent event; + } x11; +#endif +#if defined(SDL_VIDEO_DRIVER_DIRECTFB) + struct { + DFBEvent event; + } dfb; +#endif +#if defined(SDL_VIDEO_DRIVER_COCOA) + struct + { + /* Latest version of Xcode clang complains about empty structs in C v. C++: + error: empty struct has size 0 in C, size 1 in C++ + */ + int dummy; + /* No Cocoa window events yet */ + } cocoa; +#endif +#if defined(SDL_VIDEO_DRIVER_UIKIT) + struct + { + int dummy; + /* No UIKit window events yet */ + } uikit; +#endif +#if defined(SDL_VIDEO_DRIVER_VIVANTE) + struct + { + int dummy; + /* No Vivante window events yet */ + } vivante; +#endif + /* Can't have an empty union */ + int dummy; + } msg; +}; + +/** + * The custom window manager information structure. + * + * When this structure is returned, it holds information about which + * low level system it is using, and will be one of SDL_SYSWM_TYPE. + */ +struct SDL_SysWMinfo +{ + SDL_version version; + SDL_SYSWM_TYPE subsystem; + union + { +#if defined(SDL_VIDEO_DRIVER_WINDOWS) + struct + { + HWND window; /**< The window handle */ + HDC hdc; /**< The window device context */ + HINSTANCE hinstance; /**< The instance handle */ + } win; +#endif +#if defined(SDL_VIDEO_DRIVER_WINRT) + struct + { + IInspectable * window; /**< The WinRT CoreWindow */ + } winrt; +#endif +#if defined(SDL_VIDEO_DRIVER_X11) + struct + { + Display *display; /**< The X11 display */ + Window window; /**< The X11 window */ + } x11; +#endif +#if defined(SDL_VIDEO_DRIVER_DIRECTFB) + struct + { + IDirectFB *dfb; /**< The directfb main interface */ + IDirectFBWindow *window; /**< The directfb window handle */ + IDirectFBSurface *surface; /**< The directfb client surface */ + } dfb; +#endif +#if defined(SDL_VIDEO_DRIVER_COCOA) + struct + { +#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc) + NSWindow __unsafe_unretained *window; /**< The Cocoa window */ +#else + NSWindow *window; /**< The Cocoa window */ +#endif + } cocoa; +#endif +#if defined(SDL_VIDEO_DRIVER_UIKIT) + struct + { +#if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc) + UIWindow __unsafe_unretained *window; /**< The UIKit window */ +#else + UIWindow *window; /**< The UIKit window */ +#endif + GLuint framebuffer; /**< The GL view's Framebuffer Object. It must be bound when rendering to the screen using GL. */ + GLuint colorbuffer; /**< The GL view's color Renderbuffer Object. It must be bound when SDL_GL_SwapWindow is called. */ + GLuint resolveFramebuffer; /**< The Framebuffer Object which holds the resolve color Renderbuffer, when MSAA is used. */ + } uikit; +#endif +#if defined(SDL_VIDEO_DRIVER_WAYLAND) + struct + { + struct wl_display *display; /**< Wayland display */ + struct wl_surface *surface; /**< Wayland surface */ + struct wl_shell_surface *shell_surface; /**< Wayland shell_surface (window manager handle) */ + } wl; +#endif +#if defined(SDL_VIDEO_DRIVER_MIR) + struct + { + struct MirConnection *connection; /**< Mir display server connection */ + struct MirSurface *surface; /**< Mir surface */ + } mir; +#endif + +#if defined(SDL_VIDEO_DRIVER_ANDROID) + struct + { + ANativeWindow *window; + EGLSurface surface; + } android; +#endif + +#if defined(SDL_VIDEO_DRIVER_VIVANTE) + struct + { + EGLNativeDisplayType display; + EGLNativeWindowType window; + } vivante; +#endif + + /* Make sure this union is always 64 bytes (8 64-bit pointers). */ + /* Be careful not to overflow this if you add a new target! */ + Uint8 dummy[64]; + } info; +}; + +#endif /* SDL_PROTOTYPES_ONLY */ + +typedef struct SDL_SysWMinfo SDL_SysWMinfo; + +/* Function prototypes */ +/** + * \brief This function allows access to driver-dependent window information. + * + * \param window The window about which information is being requested + * \param info This structure must be initialized with the SDL version, and is + * then filled in with information about the given window. + * + * \return SDL_TRUE if the function is implemented and the version member of + * the \c info struct is valid, SDL_FALSE otherwise. + * + * You typically use this function like this: + * \code + * SDL_SysWMinfo info; + * SDL_VERSION(&info.version); + * if ( SDL_GetWindowWMInfo(window, &info) ) { ... } + * \endcode + */ +extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window, + SDL_SysWMinfo * info); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_syswm_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_thread.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_thread.h new file mode 100644 index 000000000..d0f6575cd --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_thread.h @@ -0,0 +1,308 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_thread_h_ +#define SDL_thread_h_ + +/** + * \file SDL_thread.h + * + * Header for the SDL thread management routines. + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +/* Thread synchronization primitives */ +#include "SDL_atomic.h" +#include "SDL_mutex.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/* The SDL thread structure, defined in SDL_thread.c */ +struct SDL_Thread; +typedef struct SDL_Thread SDL_Thread; + +/* The SDL thread ID */ +typedef unsigned long SDL_threadID; + +/* Thread local storage ID, 0 is the invalid ID */ +typedef unsigned int SDL_TLSID; + +/** + * The SDL thread priority. + * + * \note On many systems you require special privileges to set high priority. + */ +typedef enum { + SDL_THREAD_PRIORITY_LOW, + SDL_THREAD_PRIORITY_NORMAL, + SDL_THREAD_PRIORITY_HIGH +} SDL_ThreadPriority; + +/** + * The function passed to SDL_CreateThread(). + * It is passed a void* user context parameter and returns an int. + */ +typedef int (SDLCALL * SDL_ThreadFunction) (void *data); + +#if defined(__WIN32__) && !defined(HAVE_LIBC) +/** + * \file SDL_thread.h + * + * We compile SDL into a DLL. This means, that it's the DLL which + * creates a new thread for the calling process with the SDL_CreateThread() + * API. There is a problem with this, that only the RTL of the SDL2.DLL will + * be initialized for those threads, and not the RTL of the calling + * application! + * + * To solve this, we make a little hack here. + * + * We'll always use the caller's _beginthread() and _endthread() APIs to + * start a new thread. This way, if it's the SDL2.DLL which uses this API, + * then the RTL of SDL2.DLL will be used to create the new thread, and if it's + * the application, then the RTL of the application will be used. + * + * So, in short: + * Always use the _beginthread() and _endthread() of the calling runtime + * library! + */ +#define SDL_PASSED_BEGINTHREAD_ENDTHREAD +#include /* _beginthreadex() and _endthreadex() */ + +typedef uintptr_t(__cdecl * pfnSDL_CurrentBeginThread) + (void *, unsigned, unsigned (__stdcall *func)(void *), + void * /*arg*/, unsigned, unsigned * /* threadID */); +typedef void (__cdecl * pfnSDL_CurrentEndThread) (unsigned code); + +/** + * Create a thread. + */ +extern DECLSPEC SDL_Thread *SDLCALL +SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data, + pfnSDL_CurrentBeginThread pfnBeginThread, + pfnSDL_CurrentEndThread pfnEndThread); + +/** + * Create a thread. + */ +#if defined(SDL_CreateThread) && SDL_DYNAMIC_API +#undef SDL_CreateThread +#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex) +#else +#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)_endthreadex) +#endif + +#elif defined(__OS2__) +/* + * just like the windows case above: We compile SDL2 + * into a dll with Watcom's runtime statically linked. + */ +#define SDL_PASSED_BEGINTHREAD_ENDTHREAD +#ifndef __EMX__ +#include +#else +#include +#endif +typedef int (*pfnSDL_CurrentBeginThread)(void (*func)(void *), void *, unsigned, void * /*arg*/); +typedef void (*pfnSDL_CurrentEndThread)(void); +extern DECLSPEC SDL_Thread *SDLCALL +SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data, + pfnSDL_CurrentBeginThread pfnBeginThread, + pfnSDL_CurrentEndThread pfnEndThread); +#if defined(SDL_CreateThread) && SDL_DYNAMIC_API +#undef SDL_CreateThread +#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread) +#else +#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthread, (pfnSDL_CurrentEndThread)_endthread) +#endif + +#else + +/** + * Create a thread. + * + * Thread naming is a little complicated: Most systems have very small + * limits for the string length (Haiku has 32 bytes, Linux currently has 16, + * Visual C++ 6.0 has nine!), and possibly other arbitrary rules. You'll + * have to see what happens with your system's debugger. The name should be + * UTF-8 (but using the naming limits of C identifiers is a better bet). + * There are no requirements for thread naming conventions, so long as the + * string is null-terminated UTF-8, but these guidelines are helpful in + * choosing a name: + * + * http://stackoverflow.com/questions/149932/naming-conventions-for-threads + * + * If a system imposes requirements, SDL will try to munge the string for + * it (truncate, etc), but the original string contents will be available + * from SDL_GetThreadName(). + */ +extern DECLSPEC SDL_Thread *SDLCALL +SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data); + +#endif + +/** + * Get the thread name, as it was specified in SDL_CreateThread(). + * This function returns a pointer to a UTF-8 string that names the + * specified thread, or NULL if it doesn't have a name. This is internal + * memory, not to be free()'d by the caller, and remains valid until the + * specified thread is cleaned up by SDL_WaitThread(). + */ +extern DECLSPEC const char *SDLCALL SDL_GetThreadName(SDL_Thread *thread); + +/** + * Get the thread identifier for the current thread. + */ +extern DECLSPEC SDL_threadID SDLCALL SDL_ThreadID(void); + +/** + * Get the thread identifier for the specified thread. + * + * Equivalent to SDL_ThreadID() if the specified thread is NULL. + */ +extern DECLSPEC SDL_threadID SDLCALL SDL_GetThreadID(SDL_Thread * thread); + +/** + * Set the priority for the current thread + */ +extern DECLSPEC int SDLCALL SDL_SetThreadPriority(SDL_ThreadPriority priority); + +/** + * Wait for a thread to finish. Threads that haven't been detached will + * remain (as a "zombie") until this function cleans them up. Not doing so + * is a resource leak. + * + * Once a thread has been cleaned up through this function, the SDL_Thread + * that references it becomes invalid and should not be referenced again. + * As such, only one thread may call SDL_WaitThread() on another. + * + * The return code for the thread function is placed in the area + * pointed to by \c status, if \c status is not NULL. + * + * You may not wait on a thread that has been used in a call to + * SDL_DetachThread(). Use either that function or this one, but not + * both, or behavior is undefined. + * + * It is safe to pass NULL to this function; it is a no-op. + */ +extern DECLSPEC void SDLCALL SDL_WaitThread(SDL_Thread * thread, int *status); + +/** + * A thread may be "detached" to signify that it should not remain until + * another thread has called SDL_WaitThread() on it. Detaching a thread + * is useful for long-running threads that nothing needs to synchronize + * with or further manage. When a detached thread is done, it simply + * goes away. + * + * There is no way to recover the return code of a detached thread. If you + * need this, don't detach the thread and instead use SDL_WaitThread(). + * + * Once a thread is detached, you should usually assume the SDL_Thread isn't + * safe to reference again, as it will become invalid immediately upon + * the detached thread's exit, instead of remaining until someone has called + * SDL_WaitThread() to finally clean it up. As such, don't detach the same + * thread more than once. + * + * If a thread has already exited when passed to SDL_DetachThread(), it will + * stop waiting for a call to SDL_WaitThread() and clean up immediately. + * It is not safe to detach a thread that might be used with SDL_WaitThread(). + * + * You may not call SDL_WaitThread() on a thread that has been detached. + * Use either that function or this one, but not both, or behavior is + * undefined. + * + * It is safe to pass NULL to this function; it is a no-op. + */ +extern DECLSPEC void SDLCALL SDL_DetachThread(SDL_Thread * thread); + +/** + * \brief Create an identifier that is globally visible to all threads but refers to data that is thread-specific. + * + * \return The newly created thread local storage identifier, or 0 on error + * + * \code + * static SDL_SpinLock tls_lock; + * static SDL_TLSID thread_local_storage; + * + * void SetMyThreadData(void *value) + * { + * if (!thread_local_storage) { + * SDL_AtomicLock(&tls_lock); + * if (!thread_local_storage) { + * thread_local_storage = SDL_TLSCreate(); + * } + * SDL_AtomicUnlock(&tls_lock); + * } + * SDL_TLSSet(thread_local_storage, value, 0); + * } + * + * void *GetMyThreadData(void) + * { + * return SDL_TLSGet(thread_local_storage); + * } + * \endcode + * + * \sa SDL_TLSGet() + * \sa SDL_TLSSet() + */ +extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void); + +/** + * \brief Get the value associated with a thread local storage ID for the current thread. + * + * \param id The thread local storage ID + * + * \return The value associated with the ID for the current thread, or NULL if no value has been set. + * + * \sa SDL_TLSCreate() + * \sa SDL_TLSSet() + */ +extern DECLSPEC void * SDLCALL SDL_TLSGet(SDL_TLSID id); + +/** + * \brief Set the value associated with a thread local storage ID for the current thread. + * + * \param id The thread local storage ID + * \param value The value to associate with the ID for the current thread + * \param destructor A function called when the thread exits, to free the value. + * + * \return 0 on success, -1 on error + * + * \sa SDL_TLSCreate() + * \sa SDL_TLSGet() + */ +extern DECLSPEC int SDLCALL SDL_TLSSet(SDL_TLSID id, const void *value, void (SDLCALL *destructor)(void*)); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_thread_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_timer.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_timer.h new file mode 100644 index 000000000..282625d3f --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_timer.h @@ -0,0 +1,115 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +#ifndef SDL_timer_h_ +#define SDL_timer_h_ + +/** + * \file SDL_timer.h + * + * Header for the SDL time management routines. + */ + +#include "SDL_stdinc.h" +#include "SDL_error.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Get the number of milliseconds since the SDL library initialization. + * + * \note This value wraps if the program runs for more than ~49 days. + */ +extern DECLSPEC Uint32 SDLCALL SDL_GetTicks(void); + +/** + * \brief Compare SDL ticks values, and return true if A has passed B + * + * e.g. if you want to wait 100 ms, you could do this: + * Uint32 timeout = SDL_GetTicks() + 100; + * while (!SDL_TICKS_PASSED(SDL_GetTicks(), timeout)) { + * ... do work until timeout has elapsed + * } + */ +#define SDL_TICKS_PASSED(A, B) ((Sint32)((B) - (A)) <= 0) + +/** + * \brief Get the current value of the high resolution counter + */ +extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceCounter(void); + +/** + * \brief Get the count per second of the high resolution counter + */ +extern DECLSPEC Uint64 SDLCALL SDL_GetPerformanceFrequency(void); + +/** + * \brief Wait a specified number of milliseconds before returning. + */ +extern DECLSPEC void SDLCALL SDL_Delay(Uint32 ms); + +/** + * Function prototype for the timer callback function. + * + * The callback function is passed the current timer interval and returns + * the next timer interval. If the returned value is the same as the one + * passed in, the periodic alarm continues, otherwise a new alarm is + * scheduled. If the callback returns 0, the periodic alarm is cancelled. + */ +typedef Uint32 (SDLCALL * SDL_TimerCallback) (Uint32 interval, void *param); + +/** + * Definition of the timer ID type. + */ +typedef int SDL_TimerID; + +/** + * \brief Add a new timer to the pool of timers already running. + * + * \return A timer ID, or 0 when an error occurs. + */ +extern DECLSPEC SDL_TimerID SDLCALL SDL_AddTimer(Uint32 interval, + SDL_TimerCallback callback, + void *param); + +/** + * \brief Remove a timer knowing its ID. + * + * \return A boolean value indicating success or failure. + * + * \warning It is not safe to remove a timer multiple times. + */ +extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_timer_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_touch.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_touch.h new file mode 100644 index 000000000..db9e25ebd --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_touch.h @@ -0,0 +1,86 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_touch.h + * + * Include file for SDL touch event handling. + */ + +#ifndef SDL_touch_h_ +#define SDL_touch_h_ + +#include "SDL_stdinc.h" +#include "SDL_error.h" +#include "SDL_video.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +typedef Sint64 SDL_TouchID; +typedef Sint64 SDL_FingerID; + +typedef struct SDL_Finger +{ + SDL_FingerID id; + float x; + float y; + float pressure; +} SDL_Finger; + +/* Used as the device ID for mouse events simulated with touch input */ +#define SDL_TOUCH_MOUSEID ((Uint32)-1) + + +/* Function prototypes */ + +/** + * \brief Get the number of registered touch devices. + */ +extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void); + +/** + * \brief Get the touch ID with the given index, or 0 if the index is invalid. + */ +extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index); + +/** + * \brief Get the number of active fingers for a given touch device. + */ +extern DECLSPEC int SDLCALL SDL_GetNumTouchFingers(SDL_TouchID touchID); + +/** + * \brief Get the finger object of the given touch, with the given index. + */ +extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int index); + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_touch_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_types.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_types.h new file mode 100644 index 000000000..06ee80cb3 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_types.h @@ -0,0 +1,29 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_types.h + * + * \deprecated + */ + +/* DEPRECATED */ +#include "SDL_stdinc.h" diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_version.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_version.h new file mode 100644 index 000000000..5b4c40248 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_version.h @@ -0,0 +1,162 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_version.h + * + * This header defines the current SDL version. + */ + +#ifndef SDL_version_h_ +#define SDL_version_h_ + +#include "SDL_stdinc.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief Information the version of SDL in use. + * + * Represents the library's version as three levels: major revision + * (increments with massive changes, additions, and enhancements), + * minor revision (increments with backwards-compatible changes to the + * major revision), and patchlevel (increments with fixes to the minor + * revision). + * + * \sa SDL_VERSION + * \sa SDL_GetVersion + */ +typedef struct SDL_version +{ + Uint8 major; /**< major version */ + Uint8 minor; /**< minor version */ + Uint8 patch; /**< update version */ +} SDL_version; + +/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL +*/ +#define SDL_MAJOR_VERSION 2 +#define SDL_MINOR_VERSION 0 +#define SDL_PATCHLEVEL 7 + +/** + * \brief Macro to determine SDL version program was compiled against. + * + * This macro fills in a SDL_version structure with the version of the + * library you compiled against. This is determined by what header the + * compiler uses. Note that if you dynamically linked the library, you might + * have a slightly newer or older version at runtime. That version can be + * determined with SDL_GetVersion(), which, unlike SDL_VERSION(), + * is not a macro. + * + * \param x A pointer to a SDL_version struct to initialize. + * + * \sa SDL_version + * \sa SDL_GetVersion + */ +#define SDL_VERSION(x) \ +{ \ + (x)->major = SDL_MAJOR_VERSION; \ + (x)->minor = SDL_MINOR_VERSION; \ + (x)->patch = SDL_PATCHLEVEL; \ +} + +/** + * This macro turns the version numbers into a numeric value: + * \verbatim + (1,2,3) -> (1203) + \endverbatim + * + * This assumes that there will never be more than 100 patchlevels. + */ +#define SDL_VERSIONNUM(X, Y, Z) \ + ((X)*1000 + (Y)*100 + (Z)) + +/** + * This is the version number macro for the current SDL version. + */ +#define SDL_COMPILEDVERSION \ + SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL) + +/** + * This macro will evaluate to true if compiled with SDL at least X.Y.Z. + */ +#define SDL_VERSION_ATLEAST(X, Y, Z) \ + (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z)) + +/** + * \brief Get the version of SDL that is linked against your program. + * + * If you are linking to SDL dynamically, then it is possible that the + * current version will be different than the version you compiled against. + * This function returns the current version, while SDL_VERSION() is a + * macro that tells you what version you compiled with. + * + * \code + * SDL_version compiled; + * SDL_version linked; + * + * SDL_VERSION(&compiled); + * SDL_GetVersion(&linked); + * printf("We compiled against SDL version %d.%d.%d ...\n", + * compiled.major, compiled.minor, compiled.patch); + * printf("But we linked against SDL version %d.%d.%d.\n", + * linked.major, linked.minor, linked.patch); + * \endcode + * + * This function may be called safely at any time, even before SDL_Init(). + * + * \sa SDL_VERSION + */ +extern DECLSPEC void SDLCALL SDL_GetVersion(SDL_version * ver); + +/** + * \brief Get the code revision of SDL that is linked against your program. + * + * Returns an arbitrary string (a hash value) uniquely identifying the + * exact revision of the SDL library in use, and is only useful in comparing + * against other revisions. It is NOT an incrementing number. + */ +extern DECLSPEC const char *SDLCALL SDL_GetRevision(void); + +/** + * \brief Get the revision number of SDL that is linked against your program. + * + * Returns a number uniquely identifying the exact revision of the SDL + * library in use. It is an incrementing number based on commits to + * hg.libsdl.org. + */ +extern DECLSPEC int SDLCALL SDL_GetRevisionNumber(void); + + +/* Ends C function definitions when using C++ */ +#ifdef __cplusplus +} +#endif +#include "close_code.h" + +#endif /* SDL_version_h_ */ + +/* vi: set ts=4 sw=4 expandtab: */ diff --git a/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_video.h b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_video.h new file mode 100644 index 000000000..6f6cda8b1 --- /dev/null +++ b/src/external/sdl/macos/SDL2.framework/Versions/A/Headers/SDL_video.h @@ -0,0 +1,1247 @@ +/* + Simple DirectMedia Layer + Copyright (C) 1997-2017 Sam Lantinga + + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. +*/ + +/** + * \file SDL_video.h + * + * Header file for SDL video functions. + */ + +#ifndef SDL_video_h_ +#define SDL_video_h_ + +#include "SDL_stdinc.h" +#include "SDL_pixels.h" +#include "SDL_rect.h" +#include "SDL_surface.h" + +#include "begin_code.h" +/* Set up for C function definitions, even when using C++ */ +#ifdef __cplusplus +extern "C" { +#endif + +/** + * \brief The structure that defines a display mode + * + * \sa SDL_GetNumDisplayModes() + * \sa SDL_GetDisplayMode() + * \sa SDL_GetDesktopDisplayMode() + * \sa SDL_GetCurrentDisplayMode() + * \sa SDL_GetClosestDisplayMode() + * \sa SDL_SetWindowDisplayMode() + * \sa SDL_GetWindowDisplayMode() + */ +typedef struct +{ + Uint32 format; /**< pixel format */ + int w; /**< width, in screen coordinates */ + int h; /**< height, in screen coordinates */ + int refresh_rate; /**< refresh rate (or zero for unspecified) */ + void *driverdata; /**< driver-specific data, initialize to 0 */ +} SDL_DisplayMode; + +/** + * \brief The type used to identify a window + * + * \sa SDL_CreateWindow() + * \sa SDL_CreateWindowFrom() + * \sa SDL_DestroyWindow() + * \sa SDL_GetWindowData() + * \sa SDL_GetWindowFlags() + * \sa SDL_GetWindowGrab() + * \sa SDL_GetWindowPosition() + * \sa SDL_GetWindowSize() + * \sa SDL_GetWindowTitle() + * \sa SDL_HideWindow() + * \sa SDL_MaximizeWindow() + * \sa SDL_MinimizeWindow() + * \sa SDL_RaiseWindow() + * \sa SDL_RestoreWindow() + * \sa SDL_SetWindowData() + * \sa SDL_SetWindowFullscreen() + * \sa SDL_SetWindowGrab() + * \sa SDL_SetWindowIcon() + * \sa SDL_SetWindowPosition() + * \sa SDL_SetWindowSize() + * \sa SDL_SetWindowBordered() + * \sa SDL_SetWindowResizable() + * \sa SDL_SetWindowTitle() + * \sa SDL_ShowWindow() + */ +typedef struct SDL_Window SDL_Window; + +/** + * \brief The flags on a window + * + * \sa SDL_GetWindowFlags() + */ +typedef enum +{ + /* !!! FIXME: change this to name = (1<

EAcN(73;2dEmjK}A1Jly9|Afy#4iYCh&^tjk%FVf zK$;*u;H-SmaEnL^O@r|b;;t}Ye~t>V-Qe$i%3iakdI?}6QL&L|MNFcmNTM7hLOTf# zhB2>^_TiYc2P0`uPQ^^mJQy6-_e{pXL8ZKP0lEY_SgzgLA>Xv0h)UExF81duKabjXS z@YFBsQ%Tb-kUx<%%zUt|Ymn6J^Upm{>8RI4zlHFUTL4OREjkUG?8~cBVRfzk0-HU5tx|Kh@u3_McJ)K1c??0`a2VFB zMC3XKe}f=4>3pq;bFTCkg?%lZm4_}8Juyw=!!(g|YY(!Mv9f)FWR5uepo+=CC#9MO zc#iyAlfB;tzeTXX3K&Ywegs+AS0oE$C|$&FK^)uu`za(_%V9bmgHZnAM-g1J|+m-}NeWZv1IyDC93lb9?=n~%kQ-uJJ*J0E+H+KWu@wj93 zE$Opy@y7ii42(2(Vu_>f45j97hqwG1B-rNZP^{jS6T;sdyp^aG;FGdcT+Ea1R!ee7 zE*F>z)2?ou9P)j*e9z=mjPJeVdoobUB1&Z5=s1MRasnnP0%xm&Lp;f{1w-3oYI+xT zi)Hh9-b2$d7eI1W&05xwH9~)0Vu5O=5Wg4jdb;02hypX7;eY*tUnOAO8}oYt@cE04 z`~Sny_V~}VjoFswGgiSP=W7M;9Hdaival@p4YYUh^EJ#*pNxK=Fs=P}{m^ho4qw6D zNM!M*>bq_Pzo@pGna5vn-6D#Wyo=B=pv|~pOfoK1DnwUJ$fHKHyo>$^?ApM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