History

Merge remote-tracking branch 'upstream/master'

Sigrid Solveig Haflínudóttir committed 3 years ago

Commit dfe013b2 parents f6e05c9 0ee14b8168 files · +18209 −6088Browse files

Unified · Split

168 files
  1. .gitignore +11 −12
  2. ft2-clone.entitlements +8 −0
  3. make-linux-nomidi-noflac.sh +1 −1
  4. make-linux.sh +1 −1
  5. make-macos.sh +2 −1
  6. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h +37 −36
  7. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h +6 −4
  8. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h +24 −4
  9. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h +49 −13
  10. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h +3 −3
  11. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h +6 −8
  12. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h +50 −3
  13. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h +15 −11
  14. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h +4 −7
  15. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h +42 −7
  16. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h +37 −6
  17. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h +3 −3
  18. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h +45 −14
  19. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h +8 −4
  20. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h +85 −12
  21. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h +6 −6
  22. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_guid.h +100 −0
  23. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h +5 −5
  24. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hidapi.h +3 −3
  25. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h +648 −46
  26. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h +131 −11
  27. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h +44 −7
  28. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h +8 −3
  29. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h +4 −4
  30. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_locale.h +4 −4
  31. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h +5 −5
  32. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h +45 −5
  33. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h +4 −4
  34. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_metal.h +5 −4
  35. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_misc.h +3 −3
  36. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h +17 −6
  37. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h +4 −4
  38. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h +3 −54
  39. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h +2260 −231
  40. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h +1 −1
  41. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h +5 −5
  42. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h +374 −339
  43. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h +3479 −1496
  44. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h +6 −9
  45. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h +43 −14
  46. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h +4 −4
  47. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h +34 −8
  48. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h +3 −3
  49. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h +2 −2
  50. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h +160 −8
  51. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h +51 −22
  52. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h +6 −1
  53. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h +5 −19
  54. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h +47 −22
  55. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h +28 −7
  56. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h +7 −7
  57. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h +122 −11
  58. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h +10 −8
  59. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h +72 −12
  60. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h +9 −7
  61. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h +11 −11
  62. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h +4 −4
  63. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h +13 −5
  64. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h +1 −1
  65. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h +22 −6
  66. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h +77 −15
  67. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h +3 −3
  68. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h +4 −4
  69. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/CMake/sdl2-config-version.cmake +48 −0
  70. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/CMake/sdl2-config.cmake +69 −0
  71. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist +10 −10
  72. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/ReadMe.txt +13 −1
  73. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/default.metallib +0 −0
  74. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2 +0 −0
  75. release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources +174 −133
  76. release/macos/ft2-clone-macos.app/Contents/Info.plist +2 −0
  77. release/win32/SDL2.dll +0 −0
  78. release/win64/SDL2.dll +0 −0
  79. src/ft2_audio.c +11 −30
  80. src/ft2_audio.h +16 −6
  81. src/ft2_checkboxes.c +8 −2
  82. src/ft2_checkboxes.h +3 −0
  83. src/ft2_config.c +65 −25
  84. src/ft2_config.h +3 −1
  85. src/ft2_diskop.c +7 −2
  86. src/ft2_edit.c +9 −1
  87. src/ft2_events.c +18 −51
  88. src/ft2_events.h +0 −3
  89. src/ft2_header.h +4 −7
  90. src/ft2_hpc.c +163 −0
  91. src/ft2_hpc.h +24 −0
  92. src/ft2_inst_ed.c +2 −1
  93. src/ft2_keyboard.c +2 −2
  94. src/ft2_main.c +13 −35
  95. src/ft2_mouse.c +42 −6
  96. src/ft2_mouse.h +1 −1
  97. src/ft2_pushbuttons.c +1 −1
  98. src/ft2_replayer.c +22 −5
  99. src/ft2_sample_ed.c +31 −19
  100. src/ft2_sampling.c +1 −1
  101. src/ft2_sysreqs.c +2 −2
  102. src/ft2_textboxes.c +32 −29
  103. src/ft2_video.c +125 −93
  104. src/ft2_video.h +6 −7
  105. src/ft2_wav_renderer.c +37 −30
  106. src/ft2_wav_renderer.h +1 −2
  107. src/helpdata/FT2.HLP +11 −7
  108. src/helpdata/ft2_help_data.h +542 −532
  109. src/mixer/ft2_mix_macros.h +69 −0
  110. src/mixer/ft2_windowed_sinc.c +4 −7
  111. src/mixer/ft2_windowed_sinc.h +9 −8
  112. src/modloaders/ft2_load_digi.c +1 −1
  113. src/modloaders/ft2_load_mod.c +0 −3
  114. src/scopes/ft2_scopes.c +5 −42
  115. vs2019_project/ft2-clone/SDL2.dll +0 −0
  116. vs2019_project/ft2-clone/ft2-clone.vcxproj +2 −0
  117. vs2019_project/ft2-clone/ft2-clone.vcxproj.filters +4 −0
  118. vs2019_project/ft2-clone/sdl/include/SDL2/SDL.h +1 −0
  119. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_assert.h +4 −2
  120. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_atomic.h +20 −0
  121. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_audio.h +40 −4
  122. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_blendmode.h +4 −6
  123. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_clipboard.h +47 −0
  124. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config.h +72 −46
  125. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_cpuinfo.h +39 −4
  126. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_egl.h +59 −9
  127. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_endian.h +34 −3
  128. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_events.h +32 −1
  129. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_filesystem.h +5 −1
  130. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_gamecontroller.h +78 −5
  131. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_guid.h +100 −0
  132. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_hints.h +645 −43
  133. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_joystick.h +127 −7
  134. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keyboard.h +38 −1
  135. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keycode.h +6 −1
  136. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_log.h +2 −2
  137. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_main.h +42 −2
  138. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_metal.h +2 −1
  139. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_mouse.h +12 −1
  140. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl.h +0 −51
  141. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl_glext.h +2260 −231
  142. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2.h +374 −339
  143. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2ext.h +3479 −1496
  144. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2platform.h +6 −9
  145. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_khrplatform.h +43 −14
  146. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_platform.h +32 −6
  147. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rect.h +154 −2
  148. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_render.h +46 −17
  149. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_revision.h +6 −1
  150. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rwops.h +1 −15
  151. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_scancode.h +46 −21
  152. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_sensor.h +24 −3
  153. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_stdinc.h +119 −8
  154. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_surface.h +3 −1
  155. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_system.h +66 −6
  156. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_syswm.h +2 −0
  157. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_common.h +1 −0
  158. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_font.h +90 −3
  159. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_thread.h +5 −5
  160. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_touch.h +8 −0
  161. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_version.h +19 −3
  162. vs2019_project/ft2-clone/sdl/include/SDL2/SDL_video.h +71 −9
  163. vs2019_project/ft2-clone/sdl/include/SDL2/begin_code.h +4 −4
  164. vs2019_project/ft2-clone/sdl/lib/SDL2.lib +0 −0
  165. vs2019_project/ft2-clone/sdl/lib/SDL2main.lib +0 −0
  166. vs2019_project/ft2-clone/sdl/lib64/SDL2.lib +0 −0
  167. vs2019_project/ft2-clone/sdl/lib64/SDL2main.lib +0 −0
  168. vs2019_project/x64/Debug/SDL2.dll +0 −0
.gitignore+11−12
@@ -1,25 +1,24 @@
1 1
2vs2019_project/.vs/ft2-clone/v16/.suo
3vs2019_project/ft2-clone/Release/ft2-clone.vcxproj.FileListAbsolute.txt
4vs2019_project/ft2-clone/x64/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
5vs2019_project/ft2-clone/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
6.DS_Store
7*.exe
2*.db8*.db
3*.ilk9*.ilk
4*.pdb10*.pdb
11*.obj
5*.log12*.log
6*.res13*.res
7*.tlog14*.tlog
8*.obj
9*.idb15*.idb
10*.exe
11*.enc
12*.cache16*.cache
13vs2019_project/.vs/ft2-clone/v16/.suo
14*.ipch17*.ipch
15.DS_Store
16vs2019_project/ft2-clone/Release/ft2-clone.vcxproj.FileListAbsolute.txt
17vs2019_project/ft2-clone/x64/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
18*.cod
19vs2019_project/ft2-clone/Debug/ft2-clone.vcxproj.FileListAbsolute.txt
20*.opendb18*.opendb
21*.db-shm19*.cod
22*.db-wal20*.db-wal
21*.db-shm
23*.recipe22*.recipe
24vs2019_project/ft2-clone/Release/ft2-clone-win64.iobj23*.iobj
25vs2019_project/ft2-clone/Release/ft2-clone-win32.iobj24*.enc
ft2-clone.entitlements+8−0
@@ -0,0 +1,8 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3<plist version="1.0">
4<dict>
5 <key>com.apple.security.device.audio-input</key>
6 <true/>
7</dict>
8</plist>
make-linux-nomidi-noflac.sh+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3rm release/other/ft2-clone &> /dev/null3rm release/other/ft2-clone &> /dev/null
4echo Compiling \(with no MIDI and no FLAC functionality\), please wait patiently...4echo Compiling \(with no MIDI and no FLAC functionality\), please wait patiently...
5 5
6gcc -DNDEBUG src/gfxdata/*.c src/mixer/*.c src/scopes/*.c src/modloaders/*.c src/smploaders/*.c src/*.c -lSDL2 -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -march=native -mtune=native -O3 -o release/other/ft2-clone6gcc -DNDEBUG src/gfxdata/*.c src/mixer/*.c src/scopes/*.c src/modloaders/*.c src/smploaders/*.c src/*.c -lSDL2 -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -Wno-stringop-overflow -march=native -mtune=native -O3 -o release/other/ft2-clone
7 7
8rm src/gfxdata/*.o src/*.o &> /dev/null8rm src/gfxdata/*.o src/*.o &> /dev/null
9 9
make-linux.sh+1−1
@@ -3,7 +3,7 @@ · 2 unmodified lines
3rm release/other/ft2-clone &> /dev/null3rm release/other/ft2-clone &> /dev/null
4echo Compiling, please wait patiently...4echo Compiling, please wait patiently...
5 5
6gcc -DNDEBUG -DHAS_MIDI -D__LINUX_ALSA__ -DHAS_LIBFLAC src/rtmidi/*.cpp src/gfxdata/*.c src/mixer/*.c src/scopes/*.c src/modloaders/*.c src/smploaders/*.c src/libflac/*.c src/*.c -lSDL2 -lpthread -lasound -lstdc++ -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -march=native -mtune=native -O3 -o release/other/ft2-clone6gcc -DNDEBUG -DHAS_MIDI -D__LINUX_ALSA__ -DHAS_LIBFLAC src/rtmidi/*.cpp src/gfxdata/*.c src/mixer/*.c src/scopes/*.c src/modloaders/*.c src/smploaders/*.c src/libflac/*.c src/*.c -lSDL2 -lpthread -lasound -lstdc++ -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -Wno-stringop-overflow -march=native -mtune=native -O3 -o release/other/ft2-clone
7 7
8rm src/rtmidi/*.o src/gfxdata/*.o src/*.o &> /dev/null8rm src/rtmidi/*.o src/gfxdata/*.o src/*.o &> /dev/null
9 9
make-macos.sh+2−1
@@ -41,7 +41,7 @@ function compile() { · 40 unmodified lines
41}41}
42 42
43echo Compiling x86_64 binary, please wait patiently...43echo Compiling x86_64 binary, please wait patiently...
44CFLAGS="-target x86_64-apple-macos10.7 -mmacosx-version-min=10.7 -arch x86_64 -mmmx -mfpmath=sse -msse2 -O3"44CFLAGS="-target x86_64-apple-macos10.9 -mmacosx-version-min=10.9 -arch x86_64 -mmmx -mfpmath=sse -msse2 -O3"
45LDFLAGS=45LDFLAGS=
46export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk46export SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
47compile $TARGET_X86_6447compile $TARGET_X86_64
@@ -72,6 +72,7 @@ rm $TARGET_X86_64 · 24 unmodified lines
72rm $TARGET_ARM6472rm $TARGET_ARM64
73strip $TARGET_UNIVERSAL73strip $TARGET_UNIVERSAL
74install_name_tool -change @rpath/SDL2.framework/Versions/A/SDL2 @executable_path/../Frameworks/SDL2.framework/Versions/A/SDL2 $TARGET_UNIVERSAL74install_name_tool -change @rpath/SDL2.framework/Versions/A/SDL2 @executable_path/../Frameworks/SDL2.framework/Versions/A/SDL2 $TARGET_UNIVERSAL
75codesign -s - --entitlements ft2-clone.entitlements release/macOS/ft2-clone-macos.app
75echo Done. The executable can be found in \'${RELEASE_MACOS_DIR}\' if everything went well.76echo Done. The executable can be found in \'${RELEASE_MACOS_DIR}\' if everything went well.
76 77
77#78#
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL.h+37−36
@@ -29,41 +29,42 @@ · 28 unmodified lines
29#ifndef SDL_h_29#ifndef SDL_h_
30#define SDL_h_30#define SDL_h_
31 31
32#include "SDL_main.h"32#include <SDL2/SDL_main.h>
33#include "SDL_stdinc.h"33#include <SDL2/SDL_stdinc.h>
34#include "SDL_assert.h"34#include <SDL2/SDL_assert.h>
35#include "SDL_atomic.h"35#include <SDL2/SDL_atomic.h>
36#include "SDL_audio.h"36#include <SDL2/SDL_audio.h>
37#include "SDL_clipboard.h"37#include <SDL2/SDL_clipboard.h>
38#include "SDL_cpuinfo.h"38#include <SDL2/SDL_cpuinfo.h>
39#include "SDL_endian.h"39#include <SDL2/SDL_endian.h>
40#include "SDL_error.h"40#include <SDL2/SDL_error.h>
41#include "SDL_events.h"41#include <SDL2/SDL_events.h>
42#include "SDL_filesystem.h"42#include <SDL2/SDL_filesystem.h>
43#include "SDL_gamecontroller.h"43#include <SDL2/SDL_gamecontroller.h>
44#include "SDL_haptic.h"44#include <SDL2/SDL_guid.h>
45#include "SDL_hidapi.h"45#include <SDL2/SDL_haptic.h>
46#include "SDL_hints.h"46#include <SDL2/SDL_hidapi.h>
47#include "SDL_joystick.h"47#include <SDL2/SDL_hints.h>
48#include "SDL_loadso.h"48#include <SDL2/SDL_joystick.h>
49#include "SDL_log.h"49#include <SDL2/SDL_loadso.h>
50#include "SDL_messagebox.h"50#include <SDL2/SDL_log.h>
51#include "SDL_metal.h"51#include <SDL2/SDL_messagebox.h>
52#include "SDL_mutex.h"52#include <SDL2/SDL_metal.h>
53#include "SDL_power.h"53#include <SDL2/SDL_mutex.h>
54#include "SDL_render.h"54#include <SDL2/SDL_power.h>
55#include "SDL_rwops.h"55#include <SDL2/SDL_render.h>
56#include "SDL_sensor.h"56#include <SDL2/SDL_rwops.h>
57#include "SDL_shape.h"57#include <SDL2/SDL_sensor.h>
58#include "SDL_system.h"58#include <SDL2/SDL_shape.h>
59#include "SDL_thread.h"59#include <SDL2/SDL_system.h>
60#include "SDL_timer.h"60#include <SDL2/SDL_thread.h>
61#include "SDL_version.h"61#include <SDL2/SDL_timer.h>
62#include "SDL_video.h"62#include <SDL2/SDL_version.h>
63#include "SDL_locale.h"63#include <SDL2/SDL_video.h>
64#include "SDL_misc.h"64#include <SDL2/SDL_locale.h>
65 65#include <SDL2/SDL_misc.h>
66#include "begin_code.h"66
67#include <SDL2/begin_code.h>
67/* Set up for C function definitions, even when using C++ */68/* Set up for C function definitions, even when using C++ */
68#ifdef __cplusplus69#ifdef __cplusplus
69extern "C" {70extern "C" {
@@ -225,7 +226,7 @@ extern DECLSPEC void SDLCALL SDL_Quit(void); · 155 unmodified lines
225#ifdef __cplusplus226#ifdef __cplusplus
226}227}
227#endif228#endif
228#include "close_code.h"229#include <SDL2/close_code.h>
229 230
230#endif /* SDL_h_ */231#endif /* SDL_h_ */
231 232
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_assert.h+6−4
@@ -22,9 +22,9 @@ · 21 unmodified lines
22#ifndef SDL_assert_h_22#ifndef SDL_assert_h_
23#define SDL_assert_h_23#define SDL_assert_h_
24 24
25#include "SDL_config.h"25#include <SDL2/SDL_stdinc.h>
26 26
27#include "begin_code.h"27#include <SDL2/begin_code.h>
28/* Set up for C function definitions, even when using C++ */28/* Set up for C function definitions, even when using C++ */
29#ifdef __cplusplus29#ifdef __cplusplus
30extern "C" {30extern "C" {
@@ -51,6 +51,8 @@ assert can have unique static variables associated with it. · 20 unmodified lines
51/* Don't include intrin.h here because it contains C++ code */51/* Don't include intrin.h here because it contains C++ code */
52 extern void __cdecl __debugbreak(void);52 extern void __cdecl __debugbreak(void);
53 #define SDL_TriggerBreakpoint() __debugbreak()53 #define SDL_TriggerBreakpoint() __debugbreak()
54#elif _SDL_HAS_BUILTIN(__builtin_debugtrap)
55 #define SDL_TriggerBreakpoint() __builtin_debugtrap()
54#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )56#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
55 #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )57 #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
56#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */58#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */
@@ -69,7 +71,7 @@ assert can have unique static variables associated with it. · 12 unmodified lines
69 71
70#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */72#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
71# define SDL_FUNCTION __func__73# define SDL_FUNCTION __func__
72#elif ((__GNUC__ >= 2) || defined(_MSC_VER) || defined (__WATCOMC__))74#elif ((defined(__GNUC__) && (__GNUC__ >= 2)) || defined(_MSC_VER) || defined (__WATCOMC__))
73# define SDL_FUNCTION __FUNCTION__75# define SDL_FUNCTION __FUNCTION__
74#else76#else
75# define SDL_FUNCTION "???"77# define SDL_FUNCTION "???"
@@ -317,7 +319,7 @@ extern DECLSPEC void SDLCALL SDL_ResetAssertionReport(void); · 241 unmodified lines
317#ifdef __cplusplus319#ifdef __cplusplus
318}320}
319#endif321#endif
320#include "close_code.h"322#include <SDL2/close_code.h>
321 323
322#endif /* SDL_assert_h_ */324#endif /* SDL_assert_h_ */
323 325
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_atomic.h+24−4
@@ -59,10 +59,10 @@ · 58 unmodified lines
59#ifndef SDL_atomic_h_59#ifndef SDL_atomic_h_
60#define SDL_atomic_h_60#define SDL_atomic_h_
61 61
62#include "SDL_stdinc.h"62#include <SDL2/SDL_stdinc.h>
63#include "SDL_platform.h"63#include <SDL2/SDL_platform.h>
64 64
65#include "begin_code.h"65#include <SDL2/begin_code.h>
66 66
67/* Set up for C function definitions, even when using C++ */67/* Set up for C function definitions, even when using C++ */
68#ifdef __cplusplus68#ifdef __cplusplus
@@ -237,6 +237,26 @@ typedef void (*SDL_KernelMemoryBarrierFunc)(); · 168 unmodified lines
237#endif237#endif
238#endif238#endif
239 239
240/* "REP NOP" is PAUSE, coded for tools that don't know it by that name. */
241#if (defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))
242 #define SDL_CPUPauseInstruction() __asm__ __volatile__("pause\n") /* Some assemblers can't do REP NOP, so go with PAUSE. */
243#elif (defined(__arm__) && __ARM_ARCH >= 7) || defined(__aarch64__)
244 #define SDL_CPUPauseInstruction() __asm__ __volatile__("yield" ::: "memory")
245#elif (defined(__powerpc__) || defined(__powerpc64__))
246 #define SDL_CPUPauseInstruction() __asm__ __volatile__("or 27,27,27");
247#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
248 #define SDL_CPUPauseInstruction() _mm_pause() /* this is actually "rep nop" and not a SIMD instruction. No inline asm in MSVC x86-64! */
249#elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_ARM64))
250 #define SDL_CPUPauseInstruction() __yield()
251#elif defined(__WATCOMC__) && defined(__386__)
252 /* watcom assembler rejects PAUSE if CPU < i686, and it refuses REP NOP as an invalid combination. Hardcode the bytes. */
253 extern __inline void SDL_CPUPauseInstruction(void);
254 #pragma aux SDL_CPUPauseInstruction = "db 0f3h,90h"
255#else
256 #define SDL_CPUPauseInstruction()
257#endif
258
259
240/**260/**
241 * \brief A type representing an atomic integer value. It is a struct261 * \brief A type representing an atomic integer value. It is a struct
242 * so people don't accidentally use numeric operations on it.262 * so people don't accidentally use numeric operations on it.
@@ -388,7 +408,7 @@ extern DECLSPEC void* SDLCALL SDL_AtomicGetPtr(void **a); · 145 unmodified lines
388}408}
389#endif409#endif
390 410
391#include "close_code.h"411#include <SDL2/close_code.h>
392 412
393#endif /* SDL_atomic_h_ */413#endif /* SDL_atomic_h_ */
394 414
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_audio.h+49−13
@@ -30,14 +30,14 @@ · 29 unmodified lines
30#ifndef SDL_audio_h_30#ifndef SDL_audio_h_
31#define SDL_audio_h_31#define SDL_audio_h_
32 32
33#include "SDL_stdinc.h"33#include <SDL2/SDL_stdinc.h>
34#include "SDL_error.h"34#include <SDL2/SDL_error.h>
35#include "SDL_endian.h"35#include <SDL2/SDL_endian.h>
36#include "SDL_mutex.h"36#include <SDL2/SDL_mutex.h>
37#include "SDL_thread.h"37#include <SDL2/SDL_thread.h>
38#include "SDL_rwops.h"38#include <SDL2/SDL_rwops.h>
39 39
40#include "begin_code.h"40#include <SDL2/begin_code.h>
41/* Set up for C function definitions, even when using C++ */41/* Set up for C function definitions, even when using C++ */
42#ifdef __cplusplus42#ifdef __cplusplus
43extern "C" {43extern "C" {
@@ -172,7 +172,7 @@ typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, · 128 unmodified lines
172 * 2: FL FR (stereo)172 * 2: FL FR (stereo)
173 * 3: FL FR LFE (2.1 surround)173 * 3: FL FR LFE (2.1 surround)
174 * 4: FL FR BL BR (quad)174 * 4: FL FR BL BR (quad)
175 * 5: FL FR FC BL BR (quad + center)175 * 5: FL FR LFE BL BR (4.1 surround)
176 * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR)176 * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR)
177 * 7: FL FR FC LFE BC SL SR (6.1 surround)177 * 7: FL FR FC LFE BC SL SR (6.1 surround)
178 * 8: FL FR FC LFE BL BR SL SR (7.1 surround)178 * 8: FL FR FC LFE BL BR SL SR (7.1 surround)
@@ -487,6 +487,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumAudioDevices(int iscapture); · 308 unmodified lines
487 * \since This function is available since SDL 2.0.0.487 * \since This function is available since SDL 2.0.0.
488 *488 *
489 * \sa SDL_GetNumAudioDevices489 * \sa SDL_GetNumAudioDevices
490 * \sa SDL_GetDefaultAudioInfo
490 */491 */
491extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,492extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,
492 int iscapture);493 int iscapture);
@@ -500,9 +501,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index, · 7 unmodified lines
500 * hardware.501 * hardware.
501 *502 *
502 * `spec` will be filled with the sample rate, sample format, and channel503 * `spec` will be filled with the sample rate, sample format, and channel
503 * count. All other values in the structure are filled with 0. When the504 * count.
504 * supported struct members are 0, SDL was unable to get the property from the
505 * backend.
506 *505 *
507 * \param index the index of the audio device; valid values range from 0 to506 * \param index the index of the audio device; valid values range from 0 to
508 * SDL_GetNumAudioDevices() - 1507 * SDL_GetNumAudioDevices() - 1
@@ -514,12 +513,48 @@ extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index, · 5 unmodified lines
514 * \since This function is available since SDL 2.0.16.513 * \since This function is available since SDL 2.0.16.
515 *514 *
516 * \sa SDL_GetNumAudioDevices515 * \sa SDL_GetNumAudioDevices
516 * \sa SDL_GetDefaultAudioInfo
517 */517 */
518extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,518extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,
519 int iscapture,519 int iscapture,
520 SDL_AudioSpec *spec);520 SDL_AudioSpec *spec);
521 521
522 522
523/**
524 * Get the name and preferred format of the default audio device.
525 *
526 * Some (but not all!) platforms have an isolated mechanism to get information
527 * about the "default" device. This can actually be a completely different
528 * device that's not in the list you get from SDL_GetAudioDeviceSpec(). It can
529 * even be a network address! (This is discussed in SDL_OpenAudioDevice().)
530 *
531 * As a result, this call is not guaranteed to be performant, as it can query
532 * the sound server directly every time, unlike the other query functions. You
533 * should call this function sparingly!
534 *
535 * `spec` will be filled with the sample rate, sample format, and channel
536 * count, if a default device exists on the system. If `name` is provided,
537 * will be filled with either a dynamically-allocated UTF-8 string or NULL.
538 *
539 * \param name A pointer to be filled with the name of the default device (can
540 * be NULL). Please call SDL_free() when you are done with this
541 * pointer!
542 * \param spec The SDL_AudioSpec to be initialized by this function.
543 * \param iscapture non-zero to query the default recording device, zero to
544 * query the default output device.
545 * \returns 0 on success, nonzero on error
546 *
547 * \since This function is available since SDL 2.24.0.
548 *
549 * \sa SDL_GetAudioDeviceName
550 * \sa SDL_GetAudioDeviceSpec
551 * \sa SDL_OpenAudioDevice
552 */
553extern DECLSPEC int SDLCALL SDL_GetDefaultAudioInfo(char **name,
554 SDL_AudioSpec *spec,
555 int iscapture);
556
557
523/**558/**
524 * Open a specific audio device.559 * Open a specific audio device.
525 *560 *
@@ -586,6 +621,7 @@ extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index, · 60 unmodified lines
586 * - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`621 * - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`
587 * - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`622 * - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`
588 * - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`623 * - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`
624 * - `SDL_AUDIO_ALLOW_SAMPLES_CHANGE`
589 * - `SDL_AUDIO_ALLOW_ANY_CHANGE`625 * - `SDL_AUDIO_ALLOW_ANY_CHANGE`
590 *626 *
591 * These flags specify how SDL should behave when a device cannot offer a627 * These flags specify how SDL should behave when a device cannot offer a
@@ -1457,7 +1493,7 @@ extern DECLSPEC void SDLCALL SDL_CloseAudioDevice(SDL_AudioDeviceID dev); · 865 unmodified lines
1457#ifdef __cplusplus1493#ifdef __cplusplus
1458}1494}
1459#endif1495#endif
1460#include "close_code.h"1496#include <SDL2/close_code.h>
1461 1497
1462#endif /* SDL_audio_h_ */1498#endif /* SDL_audio_h_ */
1463 1499
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_bits.h+3−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_bits_h_28#ifndef SDL_bits_h_
29#define SDL_bits_h_29#define SDL_bits_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -119,7 +119,7 @@ SDL_HasExactlyOneBitSet32(Uint32 x) · 82 unmodified lines
119#ifdef __cplusplus119#ifdef __cplusplus
120}120}
121#endif121#endif
122#include "close_code.h"122#include <SDL2/close_code.h>
123 123
124#endif /* SDL_bits_h_ */124#endif /* SDL_bits_h_ */
125 125
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_blendmode.h+6−8
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#ifndef SDL_blendmode_h_28#ifndef SDL_blendmode_h_
29#define SDL_blendmode_h_29#define SDL_blendmode_h_
30 30
31#include "begin_code.h"31#include <SDL2/begin_code.h>
32/* Set up for C function definitions, even when using C++ */32/* Set up for C function definitions, even when using C++ */
33#ifdef __cplusplus33#ifdef __cplusplus
34extern "C" {34extern "C" {
@@ -67,9 +67,8 @@ typedef enum · 32 unmodified lines
67 SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */67 SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */
68 SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */68 SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
69 SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */69 SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
70 SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D11 */70 SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D9, D3D11 */
71 SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D11 */71 SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D9, D3D11 */
72
73} SDL_BlendOperation;72} SDL_BlendOperation;
74 73
75/**74/**
@@ -87,7 +86,6 @@ typedef enum · 11 unmodified lines
87 SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */86 SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
88 SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */87 SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */
89 SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */88 SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
90
91} SDL_BlendFactor;89} SDL_BlendFactor;
92 90
93/**91/**
@@ -135,10 +133,10 @@ typedef enum · 41 unmodified lines
135 * SDL 2.0.6. All renderers support the four blend modes listed in the133 * SDL 2.0.6. All renderers support the four blend modes listed in the
136 * SDL_BlendMode enumeration.134 * SDL_BlendMode enumeration.
137 *135 *
138 * - **direct3d**: Supports `SDL_BLENDOPERATION_ADD` with all factors.136 * - **direct3d**: Supports all operations with all factors. However, some
139 * - **direct3d11**: Supports all operations with all factors. However, some
140 * factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and137 * factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and
141 * `SDL_BLENDOPERATION_MAXIMUM`.138 * `SDL_BLENDOPERATION_MAXIMUM`.
139 * - **direct3d11**: Same as Direct3D 9.
142 * - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all140 * - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all
143 * factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL141 * factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL
144 * 2.0.6.142 * 2.0.6.
@@ -193,7 +191,7 @@ extern DECLSPEC SDL_BlendMode SDLCALL SDL_ComposeCustomBlendMode(SDL_BlendFactor · 48 unmodified lines
193#ifdef __cplusplus191#ifdef __cplusplus
194}192}
195#endif193#endif
196#include "close_code.h"194#include <SDL2/close_code.h>
197 195
198#endif /* SDL_blendmode_h_ */196#endif /* SDL_blendmode_h_ */
199 197
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_clipboard.h+50−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_clipboard_h_28#ifndef SDL_clipboard_h_
29#define SDL_clipboard_h_29#define SDL_clipboard_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -82,12 +82,59 @@ extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void); · 45 unmodified lines
82 */82 */
83extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);83extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
84 84
85/**
86 * Put UTF-8 text into the primary selection.
87 *
88 * \param text the text to store in the primary selection
89 * \returns 0 on success or a negative error code on failure; call
90 * SDL_GetError() for more information.
91 *
92 * \since This function is available since SDL 2.26.0.
93 *
94 * \sa SDL_GetPrimarySelectionText
95 * \sa SDL_HasPrimarySelectionText
96 */
97extern DECLSPEC int SDLCALL SDL_SetPrimarySelectionText(const char *text);
98
99/**
100 * Get UTF-8 text from the primary selection, which must be freed with
101 * SDL_free().
102 *
103 * This functions returns empty string if there was not enough memory left for
104 * a copy of the primary selection's content.
105 *
106 * \returns the primary selection text on success or an empty string on
107 * failure; call SDL_GetError() for more information. Caller must
108 * call SDL_free() on the returned pointer when done with it (even if
109 * there was an error).
110 *
111 * \since This function is available since SDL 2.26.0.
112 *
113 * \sa SDL_HasPrimarySelectionText
114 * \sa SDL_SetPrimarySelectionText
115 */
116extern DECLSPEC char * SDLCALL SDL_GetPrimarySelectionText(void);
117
118/**
119 * Query whether the primary selection exists and contains a non-empty text
120 * string.
121 *
122 * \returns SDL_TRUE if the primary selection has text, or SDL_FALSE if it
123 * does not.
124 *
125 * \since This function is available since SDL 2.26.0.
126 *
127 * \sa SDL_GetPrimarySelectionText
128 * \sa SDL_SetPrimarySelectionText
129 */
130extern DECLSPEC SDL_bool SDLCALL SDL_HasPrimarySelectionText(void);
131
85 132
86/* Ends C function definitions when using C++ */133/* Ends C function definitions when using C++ */
87#ifdef __cplusplus134#ifdef __cplusplus
88}135}
89#endif136#endif
90#include "close_code.h"137#include <SDL2/close_code.h>
91 138
92#endif /* SDL_clipboard_h_ */139#endif /* SDL_clipboard_h_ */
93 140
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config.h+15−11
@@ -22,7 +22,7 @@ · 21 unmodified lines
22#ifndef SDL_config_h_22#ifndef SDL_config_h_
23#define SDL_config_h_23#define SDL_config_h_
24 24
25#include "SDL_platform.h"25#include <SDL2/SDL_platform.h>
26 26
27/**27/**
28 * \file SDL_config.h28 * \file SDL_config.h
@@ -30,24 +30,28 @@ · 1 unmodified line
30 30
31/* Add any platform that doesn't build using the configure system. */31/* Add any platform that doesn't build using the configure system. */
32#if defined(__WIN32__)32#if defined(__WIN32__)
33#include "SDL_config_windows.h"33#include <SDL2/SDL_config_windows.h>
34#elif defined(__WINRT__)34#elif defined(__WINRT__)
35#include "SDL_config_winrt.h"35#include <SDL2/SDL_config_winrt.h>
36#elif defined(__WINGDK__)
37#include <SDL2/SDL_config_wingdk.h>
38#elif defined(__XBOXONE__) || defined(__XBOXSERIES__)
39#include <SDL2/SDL_config_xbox.h>
36#elif defined(__MACOSX__)40#elif defined(__MACOSX__)
37#include "SDL_config_macosx.h"41#include <SDL2/SDL_config_macosx.h>
38#elif defined(__IPHONEOS__)42#elif defined(__IPHONEOS__)
39#include "SDL_config_iphoneos.h"43#include <SDL2/SDL_config_iphoneos.h>
40#elif defined(__ANDROID__)44#elif defined(__ANDROID__)
41#include "SDL_config_android.h"45#include <SDL2/SDL_config_android.h>
42#elif defined(__PSP__)
43#include "SDL_config_psp.h"
44#elif defined(__OS2__)46#elif defined(__OS2__)
45#include "SDL_config_os2.h"47#include <SDL2/SDL_config_os2.h>
46#elif defined(__EMSCRIPTEN__)48#elif defined(__EMSCRIPTEN__)
47#include "SDL_config_emscripten.h"49#include <SDL2/SDL_config_emscripten.h>
50#elif defined(__NGAGE__)
51#include <SDL2/SDL_config_ngage.h>
48#else52#else
49/* This is a minimal configuration just to get SDL running on new platforms. */53/* This is a minimal configuration just to get SDL running on new platforms. */
50#include "SDL_config_minimal.h"54#include <SDL2/SDL_config_minimal.h>
51#endif /* platform config */55#endif /* platform config */
52 56
53#ifdef USING_GENERATED_CONFIG_H57#ifdef USING_GENERATED_CONFIG_H
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_config_macosx.h+4−7
@@ -23,7 +23,7 @@ · 22 unmodified lines
23#define SDL_config_macosx_h_23#define SDL_config_macosx_h_
24#define SDL_config_h_24#define SDL_config_h_
25 25
26#include "SDL_platform.h"26#include <SDL2/SDL_platform.h>
27 27
28/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */28/* This gets us MAC_OS_X_VERSION_MIN_REQUIRED... */
29#include <AvailabilityMacros.h>29#include <AvailabilityMacros.h>
@@ -63,6 +63,7 @@ · 33 unmodified lines
63#define HAVE_PUTENV 163#define HAVE_PUTENV 1
64#define HAVE_UNSETENV 164#define HAVE_UNSETENV 1
65#define HAVE_QSORT 165#define HAVE_QSORT 1
66#define HAVE_BSEARCH 1
66#define HAVE_ABS 167#define HAVE_ABS 1
67#define HAVE_BCOPY 168#define HAVE_BCOPY 1
68#define HAVE_MEMSET 169#define HAVE_MEMSET 1
@@ -87,6 +88,7 @@ · 18 unmodified lines
87#define HAVE_STRNCMP 188#define HAVE_STRNCMP 1
88#define HAVE_STRCASECMP 189#define HAVE_STRCASECMP 1
89#define HAVE_STRNCASECMP 190#define HAVE_STRNCASECMP 1
91#define HAVE_STRCASESTR 1
90#define HAVE_VSSCANF 192#define HAVE_VSSCANF 1
91#define HAVE_VSNPRINTF 193#define HAVE_VSNPRINTF 1
92#define HAVE_M_PI 194#define HAVE_M_PI 1
@@ -120,7 +122,7 @@ · 27 unmodified lines
120#define HAVE_LROUNDF 1122#define HAVE_LROUNDF 1
121#define HAVE_POW 1123#define HAVE_POW 1
122#define HAVE_POWF 1124#define HAVE_POWF 1
123#define HAVE_ROUND 1125#define HAVE_ROUND 1
124#define HAVE_ROUNDF 1126#define HAVE_ROUNDF 1
125#define HAVE_SCALBN 1127#define HAVE_SCALBN 1
126#define HAVE_SCALBNF 1128#define HAVE_SCALBNF 1
@@ -185,17 +187,13 @@ · 58 unmodified lines
185#undef SDL_VIDEO_DRIVER_X11187#undef SDL_VIDEO_DRIVER_X11
186#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/opt/X11/lib/libX11.6.dylib"188#define SDL_VIDEO_DRIVER_X11_DYNAMIC "/opt/X11/lib/libX11.6.dylib"
187#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/opt/X11/lib/libXext.6.dylib"189#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "/opt/X11/lib/libXext.6.dylib"
188#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "/opt/X11/lib/libXinerama.1.dylib"
189#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/opt/X11/lib/libXi.6.dylib"190#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XINPUT2 "/opt/X11/lib/libXi.6.dylib"
190#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/opt/X11/lib/libXrandr.2.dylib"191#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR "/opt/X11/lib/libXrandr.2.dylib"
191#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/opt/X11/lib/libXss.1.dylib"192#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XSS "/opt/X11/lib/libXss.1.dylib"
192#define SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "/opt/X11/lib/libXxf86vm.1.dylib"
193#define SDL_VIDEO_DRIVER_X11_XDBE 1193#define SDL_VIDEO_DRIVER_X11_XDBE 1
194#define SDL_VIDEO_DRIVER_X11_XINERAMA 1
195#define SDL_VIDEO_DRIVER_X11_XRANDR 1194#define SDL_VIDEO_DRIVER_X11_XRANDR 1
196#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1195#define SDL_VIDEO_DRIVER_X11_XSCRNSAVER 1
197#define SDL_VIDEO_DRIVER_X11_XSHAPE 1196#define SDL_VIDEO_DRIVER_X11_XSHAPE 1
198#define SDL_VIDEO_DRIVER_X11_XVIDMODE 1
199#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1197#define SDL_VIDEO_DRIVER_X11_HAS_XKBKEYCODETOKEYSYM 1
200 198
201#ifdef MAC_OS_X_VERSION_10_8199#ifdef MAC_OS_X_VERSION_10_8
@@ -272,7 +270,6 @@ · 70 unmodified lines
272#define SDL_FILESYSTEM_COCOA 1270#define SDL_FILESYSTEM_COCOA 1
273 271
274/* Enable assembly routines */272/* Enable assembly routines */
275#define SDL_ASSEMBLY_ROUTINES 1
276#ifdef __ppc__273#ifdef __ppc__
277#define SDL_ALTIVEC_BLITTERS 1274#define SDL_ALTIVEC_BLITTERS 1
278#endif275#endif
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_cpuinfo.h+42−7
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#ifndef SDL_cpuinfo_h_28#ifndef SDL_cpuinfo_h_
29#define SDL_cpuinfo_h_29#define SDL_cpuinfo_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33/* Need to do this here because intrin.h has C++ code in it */33/* Need to do this here because intrin.h has C++ code in it */
34/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */34/* Visual Studio 2005 has a bug where intrin.h conflicts with winnt.h */
@@ -79,7 +79,7 @@ _m_prefetch(void *__P) · 44 unmodified lines
79#if !defined(SDL_DISABLE_ARM_NEON_H)79#if !defined(SDL_DISABLE_ARM_NEON_H)
80# if defined(__ARM_NEON)80# if defined(__ARM_NEON)
81# include <arm_neon.h>81# include <arm_neon.h>
82# elif defined(__WINDOWS__) || defined(__WINRT__)82# elif defined(__WINDOWS__) || defined(__WINRT__) || defined(__GDK__)
83/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */83/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */
84# if defined(_M_ARM)84# if defined(_M_ARM)
85# include <armintr.h>85# include <armintr.h>
@@ -90,6 +90,7 @@ _m_prefetch(void *__P) · 4 unmodified lines
90# include <arm64intr.h>90# include <arm64intr.h>
91# include <arm64_neon.h>91# include <arm64_neon.h>
92# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */92# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
93# define __ARM_ARCH 8
93# endif94# endif
94# endif95# endif
95#endif96#endif
@@ -98,6 +99,14 @@ _m_prefetch(void *__P) · 2 unmodified lines
98#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)99#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
99#include <mm3dnow.h>100#include <mm3dnow.h>
100#endif101#endif
102#if defined(__loongarch_sx) && !defined(SDL_DISABLE_LSX_H)
103#include <lsxintrin.h>
104#define __LSX__
105#endif
106#if defined(__loongarch_asx) && !defined(SDL_DISABLE_LASX_H)
107#include <lasxintrin.h>
108#define __LASX__
109#endif
101#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)110#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
102#include <immintrin.h>111#include <immintrin.h>
103#else112#else
@@ -115,7 +124,7 @@ _m_prefetch(void *__P) · 11 unmodified lines
115#endif124#endif
116#endif /* HAVE_IMMINTRIN_H */125#endif /* HAVE_IMMINTRIN_H */
117 126
118#include "begin_code.h"127#include <SDL2/begin_code.h>
119/* Set up for C function definitions, even when using C++ */128/* Set up for C function definitions, even when using C++ */
120#ifdef __cplusplus129#ifdef __cplusplus
121extern "C" {130extern "C" {
@@ -433,10 +442,36 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void); · 311 unmodified lines
433 */442 */
434extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);443extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
435 444
445/**
446 * Determine whether the CPU has LSX (LOONGARCH SIMD) features.
447 *
448 * This always returns false on CPUs that aren't using LOONGARCH instruction
449 * sets.
450 *
451 * \returns SDL_TRUE if the CPU has LOONGARCH LSX features or SDL_FALSE if
452 * not.
453 *
454 * \since This function is available since SDL 2.24.0.
455 */
456extern DECLSPEC SDL_bool SDLCALL SDL_HasLSX(void);
457
458/**
459 * Determine whether the CPU has LASX (LOONGARCH SIMD) features.
460 *
461 * This always returns false on CPUs that aren't using LOONGARCH instruction
462 * sets.
463 *
464 * \returns SDL_TRUE if the CPU has LOONGARCH LASX features or SDL_FALSE if
465 * not.
466 *
467 * \since This function is available since SDL 2.24.0.
468 */
469extern DECLSPEC SDL_bool SDLCALL SDL_HasLASX(void);
470
436/**471/**
437 * Get the amount of RAM configured in the system.472 * Get the amount of RAM configured in the system.
438 *473 *
439 * \returns the amount of RAM configured in the system in MB.474 * \returns the amount of RAM configured in the system in MiB.
440 *475 *
441 * \since This function is available since SDL 2.0.1.476 * \since This function is available since SDL 2.0.1.
442 */477 */
@@ -494,7 +529,7 @@ extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void); · 51 unmodified lines
494 *529 *
495 * \since This function is available since SDL 2.0.10.530 * \since This function is available since SDL 2.0.10.
496 *531 *
497 * \sa SDL_SIMDAlignment532 * \sa SDL_SIMDGetAlignment
498 * \sa SDL_SIMDRealloc533 * \sa SDL_SIMDRealloc
499 * \sa SDL_SIMDFree534 * \sa SDL_SIMDFree
500 */535 */
@@ -518,7 +553,7 @@ extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len); · 17 unmodified lines
518 *553 *
519 * \since This function is available since SDL 2.0.14.554 * \since This function is available since SDL 2.0.14.
520 *555 *
521 * \sa SDL_SIMDAlignment556 * \sa SDL_SIMDGetAlignment
522 * \sa SDL_SIMDAlloc557 * \sa SDL_SIMDAlloc
523 * \sa SDL_SIMDFree558 * \sa SDL_SIMDFree
524 */559 */
@@ -552,7 +587,7 @@ extern DECLSPEC void SDLCALL SDL_SIMDFree(void *ptr); · 27 unmodified lines
552#ifdef __cplusplus587#ifdef __cplusplus
553}588}
554#endif589#endif
555#include "close_code.h"590#include <SDL2/close_code.h>
556 591
557#endif /* SDL_cpuinfo_h_ */592#endif /* SDL_cpuinfo_h_ */
558 593
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_endian.h+37−6
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#ifndef SDL_endian_h_28#ifndef SDL_endian_h_
29#define SDL_endian_h_29#define SDL_endian_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#if defined(_MSC_VER) && (_MSC_VER >= 1400)33#if defined(_MSC_VER) && (_MSC_VER >= 1400)
34/* As of Clang 11, '_m_prefetchw' is conflicting with the winnt.h's version,34/* As of Clang 11, '_m_prefetchw' is conflicting with the winnt.h's version,
@@ -39,7 +39,7 @@ · 4 unmodified lines
39static __inline__ void __attribute__((__always_inline__, __nodebug__))39static __inline__ void __attribute__((__always_inline__, __nodebug__))
40_m_prefetch(void *__P)40_m_prefetch(void *__P)
41{41{
42 __builtin_prefetch (__P, 0, 3 /* _MM_HINT_T0 */);42 __builtin_prefetch(__P, 0, 3 /* _MM_HINT_T0 */);
43}43}
44#endif /* __PRFCHWINTRIN_H */44#endif /* __PRFCHWINTRIN_H */
45#endif /* __clang__ */45#endif /* __clang__ */
@@ -59,17 +59,26 @@ _m_prefetch(void *__P) · 13 unmodified lines
59#ifdef __linux__59#ifdef __linux__
60#include <endian.h>60#include <endian.h>
61#define SDL_BYTEORDER __BYTE_ORDER61#define SDL_BYTEORDER __BYTE_ORDER
62#elif defined(__OpenBSD__)62#elif defined(__OpenBSD__) || defined(__DragonFly__)
63#include <endian.h>63#include <endian.h>
64#define SDL_BYTEORDER BYTE_ORDER64#define SDL_BYTEORDER BYTE_ORDER
65#elif defined(__FreeBSD__) || defined(__NetBSD__)65#elif defined(__FreeBSD__) || defined(__NetBSD__)
66#include <sys/endian.h>66#include <sys/endian.h>
67#define SDL_BYTEORDER BYTE_ORDER67#define SDL_BYTEORDER BYTE_ORDER
68/* predefs from newer gcc and clang versions: */
69#elif defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__BYTE_ORDER__)
70#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
71#define SDL_BYTEORDER SDL_LIL_ENDIAN
72#elif (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
73#define SDL_BYTEORDER SDL_BIG_ENDIAN
74#else
75#error Unsupported endianness
76#endif /**/
68#else77#else
69#if defined(__hppa__) || \78#if defined(__hppa__) || \
70 defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \79 defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
71 (defined(__MIPS__) && defined(__MIPSEB__)) || \80 (defined(__MIPS__) && defined(__MIPSEB__)) || \
72 defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \81 defined(__ppc__) || defined(__POWERPC__) || defined(__powerpc__) || defined(__PPC__) || \
73 defined(__sparc__)82 defined(__sparc__)
74#define SDL_BYTEORDER SDL_BIG_ENDIAN83#define SDL_BYTEORDER SDL_BIG_ENDIAN
75#else84#else
@@ -78,8 +87,30 @@ _m_prefetch(void *__P) · 2 unmodified lines
78#endif /* __linux__ */87#endif /* __linux__ */
79#endif /* !SDL_BYTEORDER */88#endif /* !SDL_BYTEORDER */
80 89
90#ifndef SDL_FLOATWORDORDER /* Not defined in SDL_config.h? */
91/* predefs from newer gcc versions: */
92#if defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__FLOAT_WORD_ORDER__)
93#if (__FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__)
94#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
95#elif (__FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__)
96#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
97#else
98#error Unsupported endianness
99#endif /**/
100#elif defined(__MAVERICK__)
101/* For Maverick, float words are always little-endian. */
102#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
103#elif (defined(__arm__) || defined(__thumb__)) && !defined(__VFP_FP__) && !defined(__ARM_EABI__)
104/* For FPA, float words are always big-endian. */
105#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
106#else
107/* By default, assume that floats words follow the memory system mode. */
108#define SDL_FLOATWORDORDER SDL_BYTEORDER
109#endif /* __FLOAT_WORD_ORDER__ */
110#endif /* !SDL_FLOATWORDORDER */
111
81 112
82#include "begin_code.h"113#include <SDL2/begin_code.h>
83/* Set up for C function definitions, even when using C++ */114/* Set up for C function definitions, even when using C++ */
84#ifdef __cplusplus115#ifdef __cplusplus
85extern "C" {116extern "C" {
@@ -310,7 +341,7 @@ SDL_SwapFloat(float x) · 224 unmodified lines
310#ifdef __cplusplus341#ifdef __cplusplus
311}342}
312#endif343#endif
313#include "close_code.h"344#include <SDL2/close_code.h>
314 345
315#endif /* SDL_endian_h_ */346#endif /* SDL_endian_h_ */
316 347
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_error.h+3−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_error_h_28#ifndef SDL_error_h_
29#define SDL_error_h_29#define SDL_error_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -156,7 +156,7 @@ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code); · 119 unmodified lines
156#ifdef __cplusplus156#ifdef __cplusplus
157}157}
158#endif158#endif
159#include "close_code.h"159#include <SDL2/close_code.h>
160 160
161#endif /* SDL_error_h_ */161#endif /* SDL_error_h_ */
162 162
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_events.h+45−14
@@ -28,18 +28,18 @@ · 27 unmodified lines
28#ifndef SDL_events_h_28#ifndef SDL_events_h_
29#define SDL_events_h_29#define SDL_events_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_video.h"33#include <SDL2/SDL_video.h>
34#include "SDL_keyboard.h"34#include <SDL2/SDL_keyboard.h>
35#include "SDL_mouse.h"35#include <SDL2/SDL_mouse.h>
36#include "SDL_joystick.h"36#include <SDL2/SDL_joystick.h>
37#include "SDL_gamecontroller.h"37#include <SDL2/SDL_gamecontroller.h>
38#include "SDL_quit.h"38#include <SDL2/SDL_quit.h>
39#include "SDL_gesture.h"39#include <SDL2/SDL_gesture.h>
40#include "SDL_touch.h"40#include <SDL2/SDL_touch.h>
41 41
42#include "begin_code.h"42#include <SDL2/begin_code.h>
43/* Set up for C function definitions, even when using C++ */43/* Set up for C function definitions, even when using C++ */
44#ifdef __cplusplus44#ifdef __cplusplus
45extern "C" {45extern "C" {
@@ -102,6 +102,7 @@ typedef enum · 56 unmodified lines
102 SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an102 SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an
103 input language or keyboard layout change.103 input language or keyboard layout change.
104 */104 */
105 SDL_TEXTEDITING_EXT, /**< Extended keyboard text editing (composition) */
105 106
106 /* Mouse events */107 /* Mouse events */
107 SDL_MOUSEMOTION = 0x400, /**< Mouse moved */108 SDL_MOUSEMOTION = 0x400, /**< Mouse moved */
@@ -117,6 +118,7 @@ typedef enum · 9 unmodified lines
117 SDL_JOYBUTTONUP, /**< Joystick button released */118 SDL_JOYBUTTONUP, /**< Joystick button released */
118 SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */119 SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */
119 SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */120 SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */
121 SDL_JOYBATTERYUPDATED, /**< Joystick battery level change */
120 122
121 /* Game controller events */123 /* Game controller events */
122 SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */124 SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */
@@ -141,7 +143,7 @@ typedef enum · 18 unmodified lines
141 SDL_MULTIGESTURE,143 SDL_MULTIGESTURE,
142 144
143 /* Clipboard events */145 /* Clipboard events */
144 SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard changed */146 SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard or primary selection changed */
145 147
146 /* Drag and drop events */148 /* Drag and drop events */
147 SDL_DROPFILE = 0x1000, /**< The system requests a file open */149 SDL_DROPFILE = 0x1000, /**< The system requests a file open */
@@ -243,6 +245,19 @@ typedef struct SDL_TextEditingEvent · 95 unmodified lines
243 Sint32 length; /**< The length of selected editing text */245 Sint32 length; /**< The length of selected editing text */
244} SDL_TextEditingEvent;246} SDL_TextEditingEvent;
245 247
248/**
249 * \brief Extended keyboard text editing event structure (event.editExt.*) when text would be
250 * truncated if stored in the text buffer SDL_TextEditingEvent
251 */
252typedef struct SDL_TextEditingExtEvent
253{
254 Uint32 type; /**< ::SDL_TEXTEDITING_EXT */
255 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
256 Uint32 windowID; /**< The window with keyboard focus, if any */
257 char* text; /**< The editing text, which should be freed with SDL_free(), and will not be NULL */
258 Sint32 start; /**< The start cursor of selected editing text */
259 Sint32 length; /**< The length of selected editing text */
260} SDL_TextEditingExtEvent;
246 261
247#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)262#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
248/**263/**
@@ -303,6 +318,8 @@ typedef struct SDL_MouseWheelEvent · 54 unmodified lines
303 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 */318 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 */
304 float preciseX; /**< The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18) */319 float preciseX; /**< The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18) */
305 float preciseY; /**< The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18) */320 float preciseY; /**< The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18) */
321 Sint32 mouseX; /**< X coordinate, relative to window (added in 2.26.0) */
322 Sint32 mouseY; /**< Y coordinate, relative to window (added in 2.26.0) */
306} SDL_MouseWheelEvent;323} SDL_MouseWheelEvent;
307 324
308/**325/**
@@ -381,6 +398,16 @@ typedef struct SDL_JoyDeviceEvent · 72 unmodified lines
381 Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */398 Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
382} SDL_JoyDeviceEvent;399} SDL_JoyDeviceEvent;
383 400
401/**
402 * \brief Joysick battery level change event structure (event.jbattery.*)
403 */
404typedef struct SDL_JoyBatteryEvent
405{
406 Uint32 type; /**< ::SDL_JOYBATTERYUPDATED */
407 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
408 SDL_JoystickID which; /**< The joystick instance id */
409 SDL_JoystickPowerLevel level; /**< The joystick battery level */
410} SDL_JoyBatteryEvent;
384 411
385/**412/**
386 * \brief Game controller axis motion event structure (event.caxis.*)413 * \brief Game controller axis motion event structure (event.caxis.*)
@@ -449,6 +476,7 @@ typedef struct SDL_ControllerSensorEvent · 62 unmodified lines
449 SDL_JoystickID which; /**< The joystick instance id */476 SDL_JoystickID which; /**< The joystick instance id */
450 Sint32 sensor; /**< The type of the sensor, one of the values of ::SDL_SensorType */477 Sint32 sensor; /**< The type of the sensor, one of the values of ::SDL_SensorType */
451 float data[3]; /**< Up to 3 values from the sensor, as defined in SDL_sensor.h */478 float data[3]; /**< Up to 3 values from the sensor, as defined in SDL_sensor.h */
479 Uint64 timestamp_us; /**< The timestamp of the sensor reading in microseconds, if the hardware provides this information. */
452} SDL_ControllerSensorEvent;480} SDL_ControllerSensorEvent;
453 481
454/**482/**
@@ -540,6 +568,7 @@ typedef struct SDL_SensorEvent · 85 unmodified lines
540 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */568 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
541 Sint32 which; /**< The instance ID of the sensor */569 Sint32 which; /**< The instance ID of the sensor */
542 float data[6]; /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */570 float data[6]; /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */
571 Uint64 timestamp_us; /**< The timestamp of the sensor reading in microseconds, if the hardware provides this information. */
543} SDL_SensorEvent;572} SDL_SensorEvent;
544 573
545/**574/**
@@ -601,6 +630,7 @@ typedef union SDL_Event · 55 unmodified lines
601 SDL_WindowEvent window; /**< Window event data */630 SDL_WindowEvent window; /**< Window event data */
602 SDL_KeyboardEvent key; /**< Keyboard event data */631 SDL_KeyboardEvent key; /**< Keyboard event data */
603 SDL_TextEditingEvent edit; /**< Text editing event data */632 SDL_TextEditingEvent edit; /**< Text editing event data */
633 SDL_TextEditingExtEvent editExt; /**< Extended text editing event data */
604 SDL_TextInputEvent text; /**< Text input event data */634 SDL_TextInputEvent text; /**< Text input event data */
605 SDL_MouseMotionEvent motion; /**< Mouse motion event data */635 SDL_MouseMotionEvent motion; /**< Mouse motion event data */
606 SDL_MouseButtonEvent button; /**< Mouse button event data */636 SDL_MouseButtonEvent button; /**< Mouse button event data */
@@ -610,6 +640,7 @@ typedef union SDL_Event · 3 unmodified lines
610 SDL_JoyHatEvent jhat; /**< Joystick hat event data */640 SDL_JoyHatEvent jhat; /**< Joystick hat event data */
611 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */641 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */
612 SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */642 SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */
643 SDL_JoyBatteryEvent jbattery; /**< Joystick battery event data */
613 SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */644 SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */
614 SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */645 SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */
615 SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */646 SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */
@@ -1128,7 +1159,7 @@ extern DECLSPEC Uint32 SDLCALL SDL_RegisterEvents(int numevents); · 512 unmodified lines
1128#ifdef __cplusplus1159#ifdef __cplusplus
1129}1160}
1130#endif1161#endif
1131#include "close_code.h"1162#include <SDL2/close_code.h>
1132 1163
1133#endif /* SDL_events_h_ */1164#endif /* SDL_events_h_ */
1134 1165
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_filesystem.h+8−4
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_filesystem_h_28#ifndef SDL_filesystem_h_
29#define SDL_filesystem_h_29#define SDL_filesystem_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34 34
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
@@ -60,6 +60,10 @@ extern "C" { · 23 unmodified lines
60 * - `parent`: the containing directory of the bundle. For example:60 * - `parent`: the containing directory of the bundle. For example:
61 * `/Applications/SDLApp/`61 * `/Applications/SDLApp/`
62 *62 *
63 * **Nintendo 3DS Specific Functionality**: This function returns "romfs"
64 * directory of the application as it is uncommon to store resources outside
65 * the executable. As such it is not a writable directory.
66 *
63 * The returned path is guaranteed to end with a path separator ('\' on67 * The returned path is guaranteed to end with a path separator ('\' on
64 * Windows, '/' on most other platforms).68 * Windows, '/' on most other platforms).
65 *69 *
@@ -92,7 +96,7 @@ extern DECLSPEC char *SDLCALL SDL_GetBasePath(void); · 26 unmodified lines
92 *96 *
93 * `C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\`97 * `C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\`
94 *98 *
95 * On Linux, the string might look like"99 * On Linux, the string might look like:
96 *100 *
97 * `/home/bob/.local/share/My Program Name/`101 * `/home/bob/.local/share/My Program Name/`
98 *102 *
@@ -138,7 +142,7 @@ extern DECLSPEC char *SDLCALL SDL_GetPrefPath(const char *org, const char *app); · 39 unmodified lines
138#ifdef __cplusplus142#ifdef __cplusplus
139}143}
140#endif144#endif
141#include "close_code.h"145#include <SDL2/close_code.h>
142 146
143#endif /* SDL_filesystem_h_ */147#endif /* SDL_filesystem_h_ */
144 148
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gamecontroller.h+85−12
@@ -28,13 +28,13 @@ · 27 unmodified lines
28#ifndef SDL_gamecontroller_h_28#ifndef SDL_gamecontroller_h_
29#define SDL_gamecontroller_h_29#define SDL_gamecontroller_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_rwops.h"33#include <SDL2/SDL_rwops.h>
34#include "SDL_sensor.h"34#include <SDL2/SDL_sensor.h>
35#include "SDL_joystick.h"35#include <SDL2/SDL_joystick.h>
36 36
37#include "begin_code.h"37#include <SDL2/begin_code.h>
38/* Set up for C function definitions, even when using C++ */38/* Set up for C function definitions, even when using C++ */
39#ifdef __cplusplus39#ifdef __cplusplus
40extern "C" {40extern "C" {
@@ -69,7 +69,11 @@ typedef enum · 28 unmodified lines
69 SDL_CONTROLLER_TYPE_VIRTUAL,69 SDL_CONTROLLER_TYPE_VIRTUAL,
70 SDL_CONTROLLER_TYPE_PS5,70 SDL_CONTROLLER_TYPE_PS5,
71 SDL_CONTROLLER_TYPE_AMAZON_LUNA,71 SDL_CONTROLLER_TYPE_AMAZON_LUNA,
72 SDL_CONTROLLER_TYPE_GOOGLE_STADIA72 SDL_CONTROLLER_TYPE_GOOGLE_STADIA,
73 SDL_CONTROLLER_TYPE_NVIDIA_SHIELD,
74 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_LEFT,
75 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT,
76 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR
73} SDL_GameControllerType;77} SDL_GameControllerType;
74 78
75typedef enum79typedef enum
@@ -289,6 +293,25 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index); · 213 unmodified lines
289 */293 */
290extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);294extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
291 295
296/**
297 * Get the implementation dependent path for the game controller.
298 *
299 * This function can be called before any controllers are opened.
300 *
301 * `joystick_index` is the same as the `device_index` passed to
302 * SDL_JoystickOpen().
303 *
304 * \param joystick_index the device_index of a device, from zero to
305 * SDL_NumJoysticks()-1
306 * \returns the implementation-dependent path for the game controller, or NULL
307 * if there is no path or the index is invalid.
308 *
309 * \since This function is available since SDL 2.24.0.
310 *
311 * \sa SDL_GameControllerPath
312 */
313extern DECLSPEC const char *SDLCALL SDL_GameControllerPathForIndex(int joystick_index);
314
292/**315/**
293 * Get the type of a game controller.316 * Get the type of a game controller.
294 *317 *
@@ -386,6 +409,23 @@ extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromPlayerIndex(in · 91 unmodified lines
386 */409 */
387extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);410extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
388 411
412/**
413 * Get the implementation-dependent path for an opened game controller.
414 *
415 * This is the same path as returned by SDL_GameControllerNameForIndex(), but
416 * it takes a controller identifier instead of the (unstable) device index.
417 *
418 * \param gamecontroller a game controller identifier previously returned by
419 * SDL_GameControllerOpen()
420 * \returns the implementation dependent path for the game controller, or NULL
421 * if there is no path or the identifier passed is invalid.
422 *
423 * \since This function is available since SDL 2.24.0.
424 *
425 * \sa SDL_GameControllerPathForIndex
426 */
427extern DECLSPEC const char *SDLCALL SDL_GameControllerPath(SDL_GameController *gamecontroller);
428
389/**429/**
390 * Get the type of this currently opened controller430 * Get the type of this currently opened controller
391 *431 *
@@ -415,7 +455,8 @@ extern DECLSPEC int SDLCALL SDL_GameControllerGetPlayerIndex(SDL_GameController · 23 unmodified lines
415 * Set the player index of an opened game controller.455 * Set the player index of an opened game controller.
416 *456 *
417 * \param gamecontroller the game controller object to adjust.457 * \param gamecontroller the game controller object to adjust.
418 * \param player_index Player index to assign to this controller.458 * \param player_index Player index to assign to this controller, or -1 to
459 * clear the player index and turn off player LEDs.
419 *460 *
420 * \since This function is available since SDL 2.0.12.461 * \since This function is available since SDL 2.0.12.
421 */462 */
@@ -457,6 +498,18 @@ extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController * · 35 unmodified lines
457 */498 */
458extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);499extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);
459 500
501/**
502 * Get the firmware version of an opened controller, if available.
503 *
504 * If the firmware version isn't available this function returns 0.
505 *
506 * \param gamecontroller the game controller object to query.
507 * \return the controller firmware version, or zero if unavailable.
508 *
509 * \since This function is available since SDL 2.24.0.
510 */
511extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetFirmwareVersion(SDL_GameController *gamecontroller);
512
460/**513/**
461 * Get the serial number of an opened controller, if available.514 * Get the serial number of an opened controller, if available.
462 *515 *
@@ -701,7 +754,7 @@ extern DECLSPEC SDL_GameControllerButton SDLCALL SDL_GameControllerGetButtonFrom · 238 unmodified lines
701 * The caller should not SDL_free() the returned string.754 * The caller should not SDL_free() the returned string.
702 *755 *
703 * \param button an enum value for a given SDL_GameControllerButton756 * \param button an enum value for a given SDL_GameControllerButton
704 * \returns a string for the given button, or NULL if an invalid axis is757 * \returns a string for the given button, or NULL if an invalid button is
705 * specified. The string returned is of the format used by758 * specified. The string returned is of the format used by
706 * SDL_GameController mapping strings.759 * SDL_GameController mapping strings.
707 *760 *
@@ -842,6 +895,25 @@ extern DECLSPEC float SDLCALL SDL_GameControllerGetSensorDataRate(SDL_GameContro · 134 unmodified lines
842 */895 */
843extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController *gamecontroller, SDL_SensorType type, float *data, int num_values);896extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController *gamecontroller, SDL_SensorType type, float *data, int num_values);
844 897
898/**
899 * Get the current state of a game controller sensor with the timestamp of the
900 * last update.
901 *
902 * The number of values and interpretation of the data is sensor dependent.
903 * See SDL_sensor.h for the details for each type of sensor.
904 *
905 * \param gamecontroller The controller to query
906 * \param type The type of sensor to query
907 * \param timestamp A pointer filled with the timestamp in microseconds of the
908 * current sensor reading if available, or 0 if not
909 * \param data A pointer filled with the current sensor state
910 * \param num_values The number of values to write to data
911 * \return 0 or -1 if an error occurred.
912 *
913 * \since This function is available since SDL 2.26.0.
914 */
915extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorDataWithTimestamp(SDL_GameController *gamecontroller, SDL_SensorType type, Uint64 *timestamp, float *data, int num_values);
916
845/**917/**
846 * Start a rumble effect on a game controller.918 * Start a rumble effect on a game controller.
847 *919 *
@@ -869,8 +941,9 @@ extern DECLSPEC int SDLCALL SDL_GameControllerRumble(SDL_GameController *gamecon · 21 unmodified lines
869 * calling it with 0 intensity stops any rumbling.941 * calling it with 0 intensity stops any rumbling.
870 *942 *
871 * Note that this is rumbling of the _triggers_ and not the game controller as943 * Note that this is rumbling of the _triggers_ and not the game controller as
872 * a whole. The first controller to offer this feature was the PlayStation 5's944 * a whole. This is currently only supported on Xbox One controllers. If you
873 * DualShock 5.945 * want the (more common) whole-controller rumble, use
946 * SDL_GameControllerRumble() instead.
874 *947 *
875 * \param gamecontroller The controller to vibrate948 * \param gamecontroller The controller to vibrate
876 * \param left_rumble The intensity of the left trigger rumble motor, from 0949 * \param left_rumble The intensity of the left trigger rumble motor, from 0
@@ -994,7 +1067,7 @@ extern DECLSPEC const char* SDLCALL SDL_GameControllerGetAppleSFSymbolsNameForAx · 117 unmodified lines
994#ifdef __cplusplus1067#ifdef __cplusplus
995}1068}
996#endif1069#endif
997#include "close_code.h"1070#include <SDL2/close_code.h>
998 1071
999#endif /* SDL_gamecontroller_h_ */1072#endif /* SDL_gamecontroller_h_ */
1000 1073
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_gesture.h+6−6
@@ -28,14 +28,14 @@ · 27 unmodified lines
28#ifndef SDL_gesture_h_28#ifndef SDL_gesture_h_
29#define SDL_gesture_h_29#define SDL_gesture_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_video.h"33#include <SDL2/SDL_video.h>
34 34
35#include "SDL_touch.h"35#include <SDL2/SDL_touch.h>
36 36
37 37
38#include "begin_code.h"38#include <SDL2/begin_code.h>
39/* Set up for C function definitions, even when using C++ */39/* Set up for C function definitions, even when using C++ */
40#ifdef __cplusplus40#ifdef __cplusplus
41extern "C" {41extern "C" {
@@ -110,7 +110,7 @@ extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWo · 68 unmodified lines
110#ifdef __cplusplus110#ifdef __cplusplus
111}111}
112#endif112#endif
113#include "close_code.h"113#include <SDL2/close_code.h>
114 114
115#endif /* SDL_gesture_h_ */115#endif /* SDL_gesture_h_ */
116 116
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_guid.h+100−0
@@ -0,0 +1,100 @@
1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20*/
21
22/**
23 * \file SDL_guid.h
24 *
25 * Include file for handling ::SDL_GUID values.
26 */
27
28#ifndef SDL_guid_h_
29#define SDL_guid_h_
30
31#include <SDL2/SDL_stdinc.h>
32#include <SDL2/SDL_error.h>
33
34#include <SDL2/begin_code.h>
35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40/**
41 * An SDL_GUID is a 128-bit identifier for an input device that
42 * identifies that device across runs of SDL programs on the same
43 * platform. If the device is detached and then re-attached to a
44 * different port, or if the base system is rebooted, the device
45 * should still report the same GUID.
46 *
47 * GUIDs are as precise as possible but are not guaranteed to
48 * distinguish physically distinct but equivalent devices. For
49 * example, two game controllers from the same vendor with the same
50 * product ID and revision may have the same GUID.
51 *
52 * GUIDs may be platform-dependent (i.e., the same device may report
53 * different GUIDs on different operating systems).
54 */
55typedef struct {
56 Uint8 data[16];
57} SDL_GUID;
58
59/* Function prototypes */
60
61/**
62 * Get an ASCII string representation for a given ::SDL_GUID.
63 *
64 * You should supply at least 33 bytes for pszGUID.
65 *
66 * \param guid the ::SDL_GUID you wish to convert to string
67 * \param pszGUID buffer in which to write the ASCII string
68 * \param cbGUID the size of pszGUID
69 *
70 * \since This function is available since SDL 2.24.0.
71 *
72 * \sa SDL_GUIDFromString
73 */
74extern DECLSPEC void SDLCALL SDL_GUIDToString(SDL_GUID guid, char *pszGUID, int cbGUID);
75
76/**
77 * Convert a GUID string into a ::SDL_GUID structure.
78 *
79 * Performs no error checking. If this function is given a string containing
80 * an invalid GUID, the function will silently succeed, but the GUID generated
81 * will not be useful.
82 *
83 * \param pchGUID string containing an ASCII representation of a GUID
84 * \returns a ::SDL_GUID structure.
85 *
86 * \since This function is available since SDL 2.24.0.
87 *
88 * \sa SDL_GUIDToString
89 */
90extern DECLSPEC SDL_GUID SDLCALL SDL_GUIDFromString(const char *pchGUID);
91
92/* Ends C function definitions when using C++ */
93#ifdef __cplusplus
94}
95#endif
96#include <SDL2/close_code.h>
97
98#endif /* SDL_guid_h_ */
99
100/* vi: set ts=4 sw=4 expandtab: */
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_haptic.h+5−5
@@ -107,11 +107,11 @@ · 106 unmodified lines
107#ifndef SDL_haptic_h_107#ifndef SDL_haptic_h_
108#define SDL_haptic_h_108#define SDL_haptic_h_
109 109
110#include "SDL_stdinc.h"110#include <SDL2/SDL_stdinc.h>
111#include "SDL_error.h"111#include <SDL2/SDL_error.h>
112#include "SDL_joystick.h"112#include <SDL2/SDL_joystick.h>
113 113
114#include "begin_code.h"114#include <SDL2/begin_code.h>
115/* Set up for C function definitions, even when using C++ */115/* Set up for C function definitions, even when using C++ */
116#ifdef __cplusplus116#ifdef __cplusplus
117extern "C" {117extern "C" {
@@ -1334,7 +1334,7 @@ extern DECLSPEC int SDLCALL SDL_HapticRumbleStop(SDL_Haptic * haptic); · 1216 unmodified lines
1334#ifdef __cplusplus1334#ifdef __cplusplus
1335}1335}
1336#endif1336#endif
1337#include "close_code.h"1337#include <SDL2/close_code.h>
1338 1338
1339#endif /* SDL_haptic_h_ */1339#endif /* SDL_haptic_h_ */
1340 1340
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hidapi.h+3−3
@@ -62,9 +62,9 @@ · 61 unmodified lines
62#ifndef SDL_hidapi_h_62#ifndef SDL_hidapi_h_
63#define SDL_hidapi_h_63#define SDL_hidapi_h_
64 64
65#include "SDL_stdinc.h"65#include <SDL2/SDL_stdinc.h>
66 66
67#include "begin_code.h"67#include <SDL2/begin_code.h>
68/* Set up for C function definitions, even when using C++ */68/* Set up for C function definitions, even when using C++ */
69#ifdef __cplusplus69#ifdef __cplusplus
70extern "C" {70extern "C" {
@@ -444,7 +444,7 @@ extern DECLSPEC void SDLCALL SDL_hid_ble_scan(SDL_bool active); · 373 unmodified lines
444#ifdef __cplusplus444#ifdef __cplusplus
445}445}
446#endif446#endif
447#include "close_code.h"447#include <SDL2/close_code.h>
448 448
449#endif /* SDL_hidapi_h_ */449#endif /* SDL_hidapi_h_ */
450 450
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_hints.h+648−46
@@ -39,9 +39,9 @@ · 38 unmodified lines
39#ifndef SDL_hints_h_39#ifndef SDL_hints_h_
40#define SDL_hints_h_40#define SDL_hints_h_
41 41
42#include "SDL_stdinc.h"42#include <SDL2/SDL_stdinc.h>
43 43
44#include "begin_code.h"44#include <SDL2/begin_code.h>
45/* Set up for C function definitions, even when using C++ */45/* Set up for C function definitions, even when using C++ */
46#ifdef __cplusplus46#ifdef __cplusplus
47extern "C" {47extern "C" {
@@ -278,10 +278,7 @@ extern "C" { · 230 unmodified lines
278 * If this hint isn't specified to a valid setting, or libsamplerate isn't278 * If this hint isn't specified to a valid setting, or libsamplerate isn't
279 * available, SDL will use the default, internal resampling algorithm.279 * available, SDL will use the default, internal resampling algorithm.
280 *280 *
281 * Note that this is currently only applicable to resampling audio that is281 * As of SDL 2.26, SDL_ConvertAudio() respects this hint when libsamplerate is available.
282 * being written to a device for playback or audio being read from a device
283 * for capture. SDL_AudioCVT always uses the default resampler (although this
284 * might change for SDL 2.1).
285 *282 *
286 * This hint is currently only checked at audio subsystem initialization.283 * This hint is currently only checked at audio subsystem initialization.
287 *284 *
@@ -392,13 +389,14 @@ extern "C" { · 104 unmodified lines
392#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"389#define SDL_HINT_ENABLE_STEAM_CONTROLLERS "SDL_ENABLE_STEAM_CONTROLLERS"
393 390
394/**391/**
395 * \brief A variable controlling whether SDL logs all events pushed onto its internal queue.392 * \brief A variable controlling verbosity of the logging of SDL events pushed onto the internal queue.
396 *393 *
397 * This variable can be set to the following values:394 * This variable can be set to the following values, from least to most verbose:
398 *395 *
399 * "0" - Don't log any events (default)396 * "0" - Don't log any events (default)
400 * "1" - Log all events except mouse and finger motion, which are pretty spammy.397 * "1" - Log most events (other than the really spammy ones).
401 * "2" - Log all events.398 * "2" - Include mouse and finger motion events.
399 * "3" - Include SDL_SysWMEvent events.
402 *400 *
403 * This is generally meant to be used to debug SDL itself, but can be useful401 * This is generally meant to be used to debug SDL itself, but can be useful
404 * for application developers that need better visibility into what is going402 * for application developers that need better visibility into what is going
@@ -412,6 +410,19 @@ extern "C" { · 7 unmodified lines
412 */410 */
413#define SDL_HINT_EVENT_LOGGING "SDL_EVENT_LOGGING"411#define SDL_HINT_EVENT_LOGGING "SDL_EVENT_LOGGING"
414 412
413/**
414 * \brief A variable controlling whether raising the window should be done more forcefully
415 *
416 * This variable can be set to the following values:
417 * "0" - No forcing (the default)
418 * "1" - Extra level of forcing
419 *
420 * At present, this is only an issue under MS Windows, which makes it nearly impossible to
421 * programmatically move a window to the foreground, for "security" reasons. See
422 * http://stackoverflow.com/a/34414846 for a discussion.
423 */
424#define SDL_HINT_FORCE_RAISEWINDOW "SDL_HINT_FORCE_RAISEWINDOW"
425
415/**426/**
416 * \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.427 * \brief A variable controlling how 3D acceleration is used to accelerate the SDL screen surface.
417 *428 *
@@ -528,6 +539,14 @@ extern "C" { · 110 unmodified lines
528 */539 */
529#define SDL_HINT_GRAB_KEYBOARD "SDL_GRAB_KEYBOARD"540#define SDL_HINT_GRAB_KEYBOARD "SDL_GRAB_KEYBOARD"
530 541
542/**
543 * \brief A variable containing a list of devices to ignore in SDL_hid_enumerate()
544 *
545 * For example, to ignore the Shanwan DS3 controller and any Valve controller, you might
546 * have the string "0x2563/0x0523,0x28de/0x0000"
547 */
548#define SDL_HINT_HIDAPI_IGNORE_DEVICES "SDL_HIDAPI_IGNORE_DEVICES"
549
531/**550/**
532 * \brief A variable controlling whether the idle timer is disabled on iOS.551 * \brief A variable controlling whether the idle timer is disabled on iOS.
533 *552 *
@@ -566,6 +585,17 @@ extern "C" { · 32 unmodified lines
566 */585 */
567#define SDL_HINT_IME_SHOW_UI "SDL_IME_SHOW_UI"586#define SDL_HINT_IME_SHOW_UI "SDL_IME_SHOW_UI"
568 587
588/**
589 * \brief A variable to control if extended IME text support is enabled.
590 * If enabled then SDL_TextEditingExtEvent will be issued if the text would be truncated otherwise.
591 * Additionally SDL_TextInputEvent will be dispatched multiple times so that it is not truncated.
592 *
593 * The variable can be set to the following values:
594 * "0" - Legacy behavior. Text can be truncated, no heap allocations. (default)
595 * "1" - Modern behavior.
596 */
597#define SDL_HINT_IME_SUPPORT_EXTENDED_TEXT "SDL_IME_SUPPORT_EXTENDED_TEXT"
598
569/**599/**
570 * \brief A variable controlling whether the home indicator bar on iPhone X600 * \brief A variable controlling whether the home indicator bar on iPhone X
571 * should be hidden.601 * should be hidden.
@@ -612,18 +642,53 @@ extern "C" { · 40 unmodified lines
612 */642 */
613#define SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE "SDL_JOYSTICK_HIDAPI_GAMECUBE"643#define SDL_HINT_JOYSTICK_HIDAPI_GAMECUBE "SDL_JOYSTICK_HIDAPI_GAMECUBE"
614 644
615 /**645/**
616 * \brief A variable controlling whether Switch Joy-Cons should be treated the same as Switch Pro Controllers when using the HIDAPI driver.646 * \brief A variable controlling whether "low_frequency_rumble" and "high_frequency_rumble" is used to implement
647 * the GameCube controller's 3 rumble modes, Stop(0), Rumble(1), and StopHard(2)
648 * this is useful for applications that need full compatibility for things like ADSR envelopes.
649 * Stop is implemented by setting "low_frequency_rumble" to "0" and "high_frequency_rumble" ">0"
650 * Rumble is both at any arbitrary value,
651 * StopHard is implemented by setting both "low_frequency_rumble" and "high_frequency_rumble" to "0"
652 *
653 * This variable can be set to the following values:
654 * "0" - Normal rumble behavior is behavior is used (default)
655 * "1" - Proper GameCube controller rumble behavior is used
656 *
657 */
658#define SDL_HINT_JOYSTICK_GAMECUBE_RUMBLE_BRAKE "SDL_JOYSTICK_GAMECUBE_RUMBLE_BRAKE"
659
660/**
661 * \brief A variable controlling whether the HIDAPI driver for Nintendo Switch Joy-Cons should be used.
617 *662 *
618 * This variable can be set to the following values:663 * This variable can be set to the following values:
619 * "0" - basic Joy-Con support with no analog input (the default)664 * "0" - HIDAPI driver is not used
620 * "1" - Joy-Cons treated as half full Pro Controllers with analog inputs and sensors665 * "1" - HIDAPI driver is used
621 *666 *
622 * This does not combine Joy-Cons into a single controller. That's up to the user.667 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI
623 */668 */
624#define SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS "SDL_JOYSTICK_HIDAPI_JOY_CONS"669#define SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS "SDL_JOYSTICK_HIDAPI_JOY_CONS"
625 670
626 /**671/**
672 * \brief A variable controlling whether Nintendo Switch Joy-Con controllers will be combined into a single Pro-like controller when using the HIDAPI driver
673 *
674 * This variable can be set to the following values:
675 * "0" - Left and right Joy-Con controllers will not be combined and each will be a mini-gamepad
676 * "1" - Left and right Joy-Con controllers will be combined into a single controller (the default)
677 */
678#define SDL_HINT_JOYSTICK_HIDAPI_COMBINE_JOY_CONS "SDL_JOYSTICK_HIDAPI_COMBINE_JOY_CONS"
679
680/**
681 * \brief A variable controlling whether Nintendo Switch Joy-Con controllers will be in vertical mode when using the HIDAPI driver
682 *
683 * This variable can be set to the following values:
684 * "0" - Left and right Joy-Con controllers will not be in vertical mode (the default)
685 * "1" - Left and right Joy-Con controllers will be in vertical mode
686 *
687 * This hint must be set before calling SDL_Init(SDL_INIT_GAMECONTROLLER)
688 */
689#define SDL_HINT_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS "SDL_JOYSTICK_HIDAPI_VERTICAL_JOY_CONS"
690
691/**
627 * \brief A variable controlling whether the HIDAPI driver for Amazon Luna controllers connected via Bluetooth should be used.692 * \brief A variable controlling whether the HIDAPI driver for Amazon Luna controllers connected via Bluetooth should be used.
628 *693 *
629 * This variable can be set to the following values:694 * This variable can be set to the following values:
@@ -634,6 +699,42 @@ extern "C" { · 4 unmodified lines
634 */699 */
635#define SDL_HINT_JOYSTICK_HIDAPI_LUNA "SDL_JOYSTICK_HIDAPI_LUNA"700#define SDL_HINT_JOYSTICK_HIDAPI_LUNA "SDL_JOYSTICK_HIDAPI_LUNA"
636 701
702/**
703 * \brief A variable controlling whether the HIDAPI driver for Nintendo Online classic controllers should be used.
704 *
705 * This variable can be set to the following values:
706 * "0" - HIDAPI driver is not used
707 * "1" - HIDAPI driver is used
708 *
709 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI
710 */
711#define SDL_HINT_JOYSTICK_HIDAPI_NINTENDO_CLASSIC "SDL_JOYSTICK_HIDAPI_NINTENDO_CLASSIC"
712
713/**
714 * \brief A variable controlling whether the HIDAPI driver for NVIDIA SHIELD controllers should be used.
715 *
716 * This variable can be set to the following values:
717 * "0" - HIDAPI driver is not used
718 * "1" - HIDAPI driver is used
719 *
720 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI
721 */
722#define SDL_HINT_JOYSTICK_HIDAPI_SHIELD "SDL_JOYSTICK_HIDAPI_SHIELD"
723
724/**
725 * \brief A variable controlling whether the HIDAPI driver for PS3 controllers should be used.
726 *
727 * This variable can be set to the following values:
728 * "0" - HIDAPI driver is not used
729 * "1" - HIDAPI driver is used
730 *
731 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI on macOS, and "0" on other platforms.
732 *
733 * It is not possible to use this driver on Windows, due to limitations in the default drivers
734 * installed. See https://github.com/ViGEm/DsHidMini for an alternative driver on Windows.
735 */
736#define SDL_HINT_JOYSTICK_HIDAPI_PS3 "SDL_JOYSTICK_HIDAPI_PS3"
737
637/**738/**
638 * \brief A variable controlling whether the HIDAPI driver for PS4 controllers should be used.739 * \brief A variable controlling whether the HIDAPI driver for PS4 controllers should be used.
639 *740 *
@@ -716,7 +817,7 @@ extern "C" { · 76 unmodified lines
716#define SDL_HINT_JOYSTICK_HIDAPI_STADIA "SDL_JOYSTICK_HIDAPI_STADIA"817#define SDL_HINT_JOYSTICK_HIDAPI_STADIA "SDL_JOYSTICK_HIDAPI_STADIA"
717 818
718/**819/**
719 * \brief A variable controlling whether the HIDAPI driver for Steam Controllers should be used.820 * \brief A variable controlling whether the HIDAPI driver for Bluetooth Steam Controllers should be used.
720 *821 *
721 * This variable can be set to the following values:822 * This variable can be set to the following values:
722 * "0" - HIDAPI driver is not used823 * "0" - HIDAPI driver is not used
@@ -739,16 +840,56 @@ extern "C" { · 16 unmodified lines
739#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH "SDL_JOYSTICK_HIDAPI_SWITCH"840#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH "SDL_JOYSTICK_HIDAPI_SWITCH"
740 841
741/**842/**
742 * \brief A variable controlling whether the Home button LED should be turned on when a Nintendo Switch controller is opened843 * \brief A variable controlling whether the Home button LED should be turned on when a Nintendo Switch Pro controller is opened
743 *844 *
744 * This variable can be set to the following values:845 * This variable can be set to the following values:
745 * "0" - home button LED is turned off846 * "0" - home button LED is turned off
746 * "1" - home button LED is turned on847 * "1" - home button LED is turned on
747 *848 *
748 * By default the Home button LED state is not changed.849 * By default the Home button LED state is not changed. This hint can also be set to a floating point value between 0.0 and 1.0 which controls the brightness of the Home button LED.
749 */850 */
750#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"851#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"
751 852
853/**
854 * \brief A variable controlling whether the Home button LED should be turned on when a Nintendo Switch Joy-Con controller is opened
855 *
856 * This variable can be set to the following values:
857 * "0" - home button LED is turned off
858 * "1" - home button LED is turned on
859 *
860 * By default the Home button LED state is not changed. This hint can also be set to a floating point value between 0.0 and 1.0 which controls the brightness of the Home button LED.
861 */
862#define SDL_HINT_JOYSTICK_HIDAPI_JOYCON_HOME_LED "SDL_JOYSTICK_HIDAPI_JOYCON_HOME_LED"
863
864/**
865 * \brief A variable controlling whether the player LEDs should be lit to indicate which player is associated with a Nintendo Switch controller.
866 *
867 * This variable can be set to the following values:
868 * "0" - player LEDs are not enabled
869 * "1" - player LEDs are enabled (the default)
870 */
871#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED "SDL_JOYSTICK_HIDAPI_SWITCH_PLAYER_LED"
872
873/**
874 * \brief A variable controlling whether the HIDAPI driver for Nintendo Wii and Wii U controllers should be used.
875 *
876 * This variable can be set to the following values:
877 * "0" - HIDAPI driver is not used
878 * "1" - HIDAPI driver is used
879 *
880 * This driver doesn't work with the dolphinbar, so the default is SDL_FALSE for now.
881 */
882#define SDL_HINT_JOYSTICK_HIDAPI_WII "SDL_JOYSTICK_HIDAPI_WII"
883
884/**
885 * \brief A variable controlling whether the player LEDs should be lit to indicate which player is associated with a Wii controller.
886 *
887 * This variable can be set to the following values:
888 * "0" - player LEDs are not enabled
889 * "1" - player LEDs are enabled (the default)
890 */
891#define SDL_HINT_JOYSTICK_HIDAPI_WII_PLAYER_LED "SDL_JOYSTICK_HIDAPI_WII_PLAYER_LED"
892
752/**893/**
753 * \brief A variable controlling whether the HIDAPI driver for XBox controllers should be used.894 * \brief A variable controlling whether the HIDAPI driver for XBox controllers should be used.
754 *895 *
@@ -760,17 +901,69 @@ extern "C" { · 5 unmodified lines
760 */901 */
761#define SDL_HINT_JOYSTICK_HIDAPI_XBOX "SDL_JOYSTICK_HIDAPI_XBOX"902#define SDL_HINT_JOYSTICK_HIDAPI_XBOX "SDL_JOYSTICK_HIDAPI_XBOX"
762 903
763 /**904/**
905 * \brief A variable controlling whether the HIDAPI driver for XBox 360 controllers should be used.
906 *
907 * This variable can be set to the following values:
908 * "0" - HIDAPI driver is not used
909 * "1" - HIDAPI driver is used
910 *
911 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI_XBOX
912 */
913#define SDL_HINT_JOYSTICK_HIDAPI_XBOX_360 "SDL_JOYSTICK_HIDAPI_XBOX_360"
914
915/**
916 * \brief A variable controlling whether the player LEDs should be lit to indicate which player is associated with an Xbox 360 controller.
917 *
918 * This variable can be set to the following values:
919 * "0" - player LEDs are not enabled
920 * "1" - player LEDs are enabled (the default)
921 */
922#define SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED "SDL_JOYSTICK_HIDAPI_XBOX_360_PLAYER_LED"
923
924/**
925 * \brief A variable controlling whether the HIDAPI driver for XBox 360 wireless controllers should be used.
926 *
927 * This variable can be set to the following values:
928 * "0" - HIDAPI driver is not used
929 * "1" - HIDAPI driver is used
930 *
931 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI_XBOX_360
932 */
933#define SDL_HINT_JOYSTICK_HIDAPI_XBOX_360_WIRELESS "SDL_JOYSTICK_HIDAPI_XBOX_360_WIRELESS"
934
935/**
936 * \brief A variable controlling whether the HIDAPI driver for XBox One controllers should be used.
937 *
938 * This variable can be set to the following values:
939 * "0" - HIDAPI driver is not used
940 * "1" - HIDAPI driver is used
941 *
942 * The default is the value of SDL_HINT_JOYSTICK_HIDAPI_XBOX
943 */
944#define SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE "SDL_JOYSTICK_HIDAPI_XBOX_ONE"
945
946/**
947 * \brief A variable controlling whether the Home button LED should be turned on when an Xbox One controller is opened
948 *
949 * This variable can be set to the following values:
950 * "0" - home button LED is turned off
951 * "1" - home button LED is turned on
952 *
953 * By default the Home button LED state is not changed. This hint can also be set to a floating point value between 0.0 and 1.0 which controls the brightness of the Home button LED. The default brightness is 0.4.
954 */
955#define SDL_HINT_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED "SDL_JOYSTICK_HIDAPI_XBOX_ONE_HOME_LED"
956
957/**
764 * \brief A variable controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices.958 * \brief A variable controlling whether the RAWINPUT joystick drivers should be used for better handling XInput-capable devices.
765 *959 *
766 * This variable can be set to the following values:960 * This variable can be set to the following values:
767 * "0" - RAWINPUT drivers are not used961 * "0" - RAWINPUT drivers are not used
768 * "1" - RAWINPUT drivers are used (the default)962 * "1" - RAWINPUT drivers are used (the default)
769 *
770 */963 */
771#define SDL_HINT_JOYSTICK_RAWINPUT "SDL_JOYSTICK_RAWINPUT"964#define SDL_HINT_JOYSTICK_RAWINPUT "SDL_JOYSTICK_RAWINPUT"
772 965
773 /**966/**
774 * \brief A variable controlling whether the RAWINPUT driver should pull correlated data from XInput.967 * \brief A variable controlling whether the RAWINPUT driver should pull correlated data from XInput.
775 *968 *
776 * This variable can be set to the following values:969 * This variable can be set to the following values:
@@ -783,7 +976,16 @@ extern "C" { · 6 unmodified lines
783 */976 */
784#define SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"977#define SDL_HINT_JOYSTICK_RAWINPUT_CORRELATE_XINPUT "SDL_JOYSTICK_RAWINPUT_CORRELATE_XINPUT"
785 978
786 /**979/**
980 * \brief A variable controlling whether the ROG Chakram mice should show up as joysticks
981 *
982 * This variable can be set to the following values:
983 * "0" - ROG Chakram mice do not show up as joysticks (the default)
984 * "1" - ROG Chakram mice show up as joysticks
985 */
986#define SDL_HINT_JOYSTICK_ROG_CHAKRAM "SDL_JOYSTICK_ROG_CHAKRAM"
987
988/**
787 * \brief A variable controlling whether a separate thread should be used989 * \brief A variable controlling whether a separate thread should be used
788 * for handling joystick detection and raw input messages on Windows990 * for handling joystick detection and raw input messages on Windows
789 *991 *
@@ -817,14 +1019,32 @@ extern "C" { · 27 unmodified lines
817 */1019 */
818#define SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER "SDL_KMSDRM_REQUIRE_DRM_MASTER"1020#define SDL_HINT_KMSDRM_REQUIRE_DRM_MASTER "SDL_KMSDRM_REQUIRE_DRM_MASTER"
819 1021
820 /**1022/**
821 * \brief A comma separated list of devices to open as joysticks1023 * \brief A comma separated list of devices to open as joysticks
822 *1024 *
823 * This variable is currently only used by the Linux joystick driver.1025 * This variable is currently only used by the Linux joystick driver.
824 */1026 */
825#define SDL_HINT_JOYSTICK_DEVICE "SDL_JOYSTICK_DEVICE"1027#define SDL_HINT_JOYSTICK_DEVICE "SDL_JOYSTICK_DEVICE"
826 1028
827 /**1029/**
1030 * \brief A variable controlling whether joysticks on Linux will always treat 'hat' axis inputs (ABS_HAT0X - ABS_HAT3Y) as 8-way digital hats without checking whether they may be analog.
1031 *
1032 * This variable can be set to the following values:
1033 * "0" - Only map hat axis inputs to digital hat outputs if the input axes appear to actually be digital (the default)
1034 * "1" - Always handle the input axes numbered ABS_HAT0X to ABS_HAT3Y as digital hats
1035 */
1036#define SDL_HINT_LINUX_DIGITAL_HATS "SDL_LINUX_DIGITAL_HATS"
1037
1038/**
1039 * \brief A variable controlling whether digital hats on Linux will apply deadzones to their underlying input axes or use unfiltered values.
1040 *
1041 * This variable can be set to the following values:
1042 * "0" - Return digital hat values based on unfiltered input axis values
1043 * "1" - Return digital hat values with deadzones on the input axes taken into account (the default)
1044 */
1045#define SDL_HINT_LINUX_HAT_DEADZONES "SDL_LINUX_HAT_DEADZONES"
1046
1047/**
828 * \brief A variable controlling whether to use the classic /dev/input/js* joystick interface or the newer /dev/input/event* joystick interface on Linux1048 * \brief A variable controlling whether to use the classic /dev/input/js* joystick interface or the newer /dev/input/event* joystick interface on Linux
829 *1049 *
830 * This variable can be set to the following values:1050 * This variable can be set to the following values:
@@ -835,7 +1055,7 @@ extern "C" { · 4 unmodified lines
835 */1055 */
836#define SDL_HINT_LINUX_JOYSTICK_CLASSIC "SDL_LINUX_JOYSTICK_CLASSIC"1056#define SDL_HINT_LINUX_JOYSTICK_CLASSIC "SDL_LINUX_JOYSTICK_CLASSIC"
837 1057
838 /**1058/**
839 * \brief A variable controlling whether joysticks on Linux adhere to their HID-defined deadzones or return unfiltered values.1059 * \brief A variable controlling whether joysticks on Linux adhere to their HID-defined deadzones or return unfiltered values.
840 *1060 *
841 * This variable can be set to the following values:1061 * This variable can be set to the following values:
@@ -860,6 +1080,24 @@ extern "C" { · 18 unmodified lines
860 */1080 */
861#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"1081#define SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK "SDL_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK"
862 1082
1083/**
1084 * \brief A variable controlling whether dispatching OpenGL context updates should block the dispatching thread until the main thread finishes processing
1085 *
1086 * This variable can be set to the following values:
1087 * "0" - Dispatching OpenGL context updates will block the dispatching thread until the main thread finishes processing (default).
1088 * "1" - Dispatching OpenGL context updates will allow the dispatching thread to continue execution.
1089 *
1090 * Generally you want the default, but if you have OpenGL code in a background thread on a Mac, and the main thread
1091 * hangs because it's waiting for that background thread, but that background thread is also hanging because it's
1092 * waiting for the main thread to do an update, this might fix your issue.
1093 *
1094 * This hint only applies to macOS.
1095 *
1096 * This hint is available since SDL 2.24.0.
1097 *
1098 */
1099#define SDL_HINT_MAC_OPENGL_ASYNC_DISPATCH "SDL_MAC_OPENGL_ASYNC_DISPATCH"
1100
863/**1101/**
864 * \brief A variable setting the double click radius, in pixels.1102 * \brief A variable setting the double click radius, in pixels.
865 */1103 */
@@ -886,6 +1124,22 @@ extern "C" { · 20 unmodified lines
886 */1124 */
887#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE "SDL_MOUSE_NORMAL_SPEED_SCALE"1125#define SDL_HINT_MOUSE_NORMAL_SPEED_SCALE "SDL_MOUSE_NORMAL_SPEED_SCALE"
888 1126
1127/**
1128 * \brief A variable controlling whether relative mouse mode constrains the mouse to the center of the window
1129 *
1130 * This variable can be set to the following values:
1131 * "0" - Relative mouse mode constrains the mouse to the window
1132 * "1" - Relative mouse mode constrains the mouse to the center of the window
1133 *
1134 * Constraining to the center of the window works better for FPS games and when the
1135 * application is running over RDP. Constraining to the whole window works better
1136 * for 2D games and increases the chance that the mouse will be in the correct
1137 * position when using high DPI mice.
1138 *
1139 * By default SDL will constrain the mouse to the center of the window
1140 */
1141#define SDL_HINT_MOUSE_RELATIVE_MODE_CENTER "SDL_MOUSE_RELATIVE_MODE_CENTER"
1142
889/**1143/**
890 * \brief A variable controlling whether relative mouse mode is implemented using mouse warping1144 * \brief A variable controlling whether relative mouse mode is implemented using mouse warping
891 *1145 *
@@ -913,6 +1167,28 @@ extern "C" { · 21 unmodified lines
913 */1167 */
914#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE "SDL_MOUSE_RELATIVE_SPEED_SCALE"1168#define SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE "SDL_MOUSE_RELATIVE_SPEED_SCALE"
915 1169
1170/**
1171 * \brief A variable controlling whether the system mouse acceleration curve is used for relative mouse motion.
1172 *
1173 * This variable can be set to the following values:
1174 * "0" - Relative mouse motion will be unscaled (the default)
1175 * "1" - Relative mouse motion will be scaled using the system mouse acceleration curve.
1176 *
1177 * If SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE is set, that will override the system speed scale.
1178 */
1179#define SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE "SDL_MOUSE_RELATIVE_SYSTEM_SCALE"
1180
1181/**
1182 * \brief A variable controlling whether a motion event should be generated for mouse warping in relative mode.
1183 *
1184 * This variable can be set to the following values:
1185 * "0" - Warping the mouse will not generate a motion event in relative mode
1186 * "1" - Warping the mouse will generate a motion event in relative mode
1187 *
1188 * By default warping the mouse will not generate motion events in relative mode. This avoids the application having to filter out large relative motion due to warping.
1189 */
1190#define SDL_HINT_MOUSE_RELATIVE_WARP_MOTION "SDL_MOUSE_RELATIVE_WARP_MOTION"
1191
916/**1192/**
917 * \brief A variable controlling whether mouse events should generate synthetic touch events1193 * \brief A variable controlling whether mouse events should generate synthetic touch events
918 *1194 *
@@ -922,6 +1198,19 @@ extern "C" { · 3 unmodified lines
922 */1198 */
923#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"1199#define SDL_HINT_MOUSE_TOUCH_EVENTS "SDL_MOUSE_TOUCH_EVENTS"
924 1200
1201/**
1202 * \brief A variable controlling whether the mouse is captured while mouse buttons are pressed
1203 *
1204 * This variable can be set to the following values:
1205 * "0" - The mouse is not captured while mouse buttons are pressed
1206 * "1" - The mouse is captured while mouse buttons are pressed
1207 *
1208 * By default the mouse is captured while mouse buttons are pressed so if the mouse is dragged
1209 * outside the window, the application continues to receive mouse events until the button is
1210 * released.
1211 */
1212#define SDL_HINT_MOUSE_AUTO_CAPTURE "SDL_MOUSE_AUTO_CAPTURE"
1213
925/**1214/**
926 * \brief Tell SDL not to catch the SIGINT or SIGTERM signals.1215 * \brief Tell SDL not to catch the SIGINT or SIGTERM signals.
927 *1216 *
@@ -987,7 +1276,7 @@ extern "C" { · 59 unmodified lines
987 * When polling for events, SDL_PumpEvents is used to gather new events from devices.1276 * When polling for events, SDL_PumpEvents is used to gather new events from devices.
988 * If a device keeps producing new events between calls to SDL_PumpEvents, a poll loop will1277 * If a device keeps producing new events between calls to SDL_PumpEvents, a poll loop will
989 * become stuck until the new events stop.1278 * become stuck until the new events stop.
990 * This is most noticable when moving a high frequency mouse.1279 * This is most noticeable when moving a high frequency mouse.
991 *1280 *
992 * By default, poll sentinels are enabled.1281 * By default, poll sentinels are enabled.
993 */1282 */
@@ -1105,6 +1394,8 @@ extern "C" { · 111 unmodified lines
1105 *1394 *
1106 * This variable is case insensitive and can be set to the following values:1395 * This variable is case insensitive and can be set to the following values:
1107 * "direct3d"1396 * "direct3d"
1397 * "direct3d11"
1398 * "direct3d12"
1108 * "opengl"1399 * "opengl"
1109 * "opengles2"1400 * "opengles2"
1110 * "opengles"1401 * "opengles"
@@ -1161,7 +1452,18 @@ extern "C" { · 50 unmodified lines
1161 */1452 */
1162#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC"1453#define SDL_HINT_RENDER_VSYNC "SDL_RENDER_VSYNC"
1163 1454
1164 /**1455/**
1456 * \brief A variable controlling if VSYNC is automatically disable if doesn't reach the enough FPS
1457 *
1458 * This variable can be set to the following values:
1459 * "0" - It will be using VSYNC as defined in the main flag. Default
1460 * "1" - If VSYNC was previously enabled, then it will disable VSYNC if doesn't reach enough speed
1461 *
1462 * By default SDL does not enable the automatic VSYNC
1463 */
1464#define SDL_HINT_PS2_DYNAMIC_VSYNC "SDL_PS2_DYNAMIC_VSYNC"
1465
1466/**
1165 * \brief A variable to control whether the return key on the soft keyboard1467 * \brief A variable to control whether the return key on the soft keyboard
1166 * should hide the soft keyboard on Android and iOS.1468 * should hide the soft keyboard on Android and iOS.
1167 *1469 *
@@ -1278,6 +1580,18 @@ extern "C" { · 110 unmodified lines
1278 */1580 */
1279#define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS"1581#define SDL_HINT_TOUCH_MOUSE_EVENTS "SDL_TOUCH_MOUSE_EVENTS"
1280 1582
1583/**
1584 * \brief A variable controlling which touchpad should generate synthetic mouse events
1585 *
1586 * This variable can be set to the following values:
1587 * "0" - Only front touchpad should generate mouse events. Default
1588 * "1" - Only back touchpad should generate mouse events.
1589 * "2" - Both touchpads should generate mouse events.
1590 *
1591 * By default SDL will generate mouse events for all touch devices
1592 */
1593#define SDL_HINT_VITA_TOUCH_MOUSE_DEVICE "SDL_HINT_VITA_TOUCH_MOUSE_DEVICE"
1594
1281/**1595/**
1282 * \brief A variable controlling whether the Android / tvOS remotes1596 * \brief A variable controlling whether the Android / tvOS remotes
1283 * should be listed as joystick devices, instead of sending keyboard events.1597 * should be listed as joystick devices, instead of sending keyboard events.
@@ -1362,9 +1676,7 @@ extern "C" { · 78 unmodified lines
1362 * SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"1676 * SDL_WINDOW_RESIZABLE windows will offer the "fullscreen"
1363 * button on their titlebars).1677 * button on their titlebars).
1364 *1678 *
1365 * The default value is "1". Spaces are disabled regardless of this hint if1679 * The default value is "1". This hint must be set before any windows are created.
1366 * the OS isn't at least Mac OS X Lion (10.7). This hint must be set before
1367 * any windows are created.
1368 */1680 */
1369#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"1681#define SDL_HINT_VIDEO_MAC_FULLSCREEN_SPACES "SDL_VIDEO_MAC_FULLSCREEN_SPACES"
1370 1682
@@ -1387,6 +1699,52 @@ extern "C" { · 16 unmodified lines
1387 */1699 */
1388#define SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"1700#define SDL_HINT_VIDEO_WAYLAND_ALLOW_LIBDECOR "SDL_VIDEO_WAYLAND_ALLOW_LIBDECOR"
1389 1701
1702/**
1703 * \brief A variable controlling whether the libdecor Wayland backend is preferred over native decrations.
1704 *
1705 * When this hint is set, libdecor will be used to provide window decorations, even if xdg-decoration is
1706 * available. (Note that, by default, libdecor will use xdg-decoration itself if available).
1707 *
1708 * This variable can be set to the following values:
1709 * "0" - libdecor is enabled only if server-side decorations are unavailable.
1710 * "1" - libdecor is always enabled if available.
1711 *
1712 * libdecor is used over xdg-shell when xdg-decoration protocol is unavailable.
1713 */
1714#define SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR "SDL_VIDEO_WAYLAND_PREFER_LIBDECOR"
1715
1716/**
1717 * \brief A variable controlling whether video mode emulation is enabled under Wayland.
1718 *
1719 * When this hint is set, a standard set of emulated CVT video modes will be exposed for use by the application.
1720 * If it is disabled, the only modes exposed will be the logical desktop size and, in the case of a scaled
1721 * desktop, the native display resolution.
1722 *
1723 * This variable can be set to the following values:
1724 * "0" - Video mode emulation is disabled.
1725 * "1" - Video mode emulation is enabled.
1726 *
1727 * By default video mode emulation is enabled.
1728 */
1729#define SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION "SDL_VIDEO_WAYLAND_MODE_EMULATION"
1730
1731/**
1732 * \brief Enable or disable mouse pointer warp emulation, needed by some older games.
1733 *
1734 * When this hint is set, any SDL will emulate mouse warps using relative mouse mode.
1735 * This is required for some older games (such as Source engine games), which warp the
1736 * mouse to the centre of the screen rather than using relative mouse motion. Note that
1737 * relative mouse mode may have different mouse acceleration behaviour than pointer warps.
1738 *
1739 * This variable can be set to the following values:
1740 * "0" - All mouse warps fail, as mouse warping is not available under wayland.
1741 * "1" - Some mouse warps will be emulated by forcing relative mouse mode.
1742 *
1743 * If not set, this is automatically enabled unless an application uses relative mouse
1744 * mode directly.
1745 */
1746#define SDL_HINT_VIDEO_WAYLAND_EMULATE_MOUSE_WARP "SDL_VIDEO_WAYLAND_EMULATE_MOUSE_WARP"
1747
1390/**1748/**
1391* \brief A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").1749* \brief A variable that is the address of another SDL_Window* (as a hex string formatted with "%p").
1392* 1750*
@@ -1406,6 +1764,28 @@ extern "C" { · 13 unmodified lines
1406*/1764*/
1407#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"1765#define SDL_HINT_VIDEO_WINDOW_SHARE_PIXEL_FORMAT "SDL_VIDEO_WINDOW_SHARE_PIXEL_FORMAT"
1408 1766
1767/**
1768 * \brief When calling SDL_CreateWindowFrom(), make the window compatible with OpenGL.
1769 *
1770 * This variable can be set to the following values:
1771 * "0" - Don't add any graphics flags to the SDL_WindowFlags
1772 * "1" - Add SDL_WINDOW_OPENGL to the SDL_WindowFlags
1773 *
1774 * By default SDL will not make the foreign window compatible with OpenGL.
1775 */
1776#define SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL "SDL_VIDEO_FOREIGN_WINDOW_OPENGL"
1777
1778/**
1779 * \brief When calling SDL_CreateWindowFrom(), make the window compatible with Vulkan.
1780 *
1781 * This variable can be set to the following values:
1782 * "0" - Don't add any graphics flags to the SDL_WindowFlags
1783 * "1" - Add SDL_WINDOW_VULKAN to the SDL_WindowFlags
1784 *
1785 * By default SDL will not make the foreign window compatible with Vulkan.
1786 */
1787#define SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN "SDL_VIDEO_FOREIGN_WINDOW_VULKAN"
1788
1409/**1789/**
1410* \brief A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries1790* \brief A variable specifying which shader compiler to preload when using the Chrome ANGLE binaries
1411*1791*
@@ -1466,13 +1846,11 @@ extern "C" { · 54 unmodified lines
1466#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"1846#define SDL_HINT_VIDEO_X11_WINDOW_VISUALID "SDL_VIDEO_X11_WINDOW_VISUALID"
1467 1847
1468/**1848/**
1469 * \brief A variable controlling whether the X11 Xinerama extension should be used.1849 * \brief A no-longer-used variable controlling whether the X11 Xinerama extension should be used.
1470 *
1471 * This variable can be set to the following values:
1472 * "0" - Disable Xinerama
1473 * "1" - Enable Xinerama
1474 *1850 *
1475 * By default SDL will use Xinerama if it is available.1851 * Before SDL 2.0.24, this would let apps and users disable Xinerama support on X11.
1852 * Now SDL never uses Xinerama, and does not check for this hint at all.
1853 * The preprocessor define is left here for source compatibility.
1476 */1854 */
1477#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA"1855#define SDL_HINT_VIDEO_X11_XINERAMA "SDL_VIDEO_X11_XINERAMA"
1478 1856
@@ -1483,18 +1861,16 @@ extern "C" { · 4 unmodified lines
1483 * "0" - Disable XRandR1861 * "0" - Disable XRandR
1484 * "1" - Enable XRandR1862 * "1" - Enable XRandR
1485 *1863 *
1486 * By default SDL will not use XRandR because of window manager issues.1864 * By default SDL will use XRandR.
1487 */1865 */
1488#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"1866#define SDL_HINT_VIDEO_X11_XRANDR "SDL_VIDEO_X11_XRANDR"
1489 1867
1490/**1868/**
1491 * \brief A variable controlling whether the X11 VidMode extension should be used.1869 * \brief A no-longer-used variable controlling whether the X11 VidMode extension should be used.
1492 *
1493 * This variable can be set to the following values:
1494 * "0" - Disable XVidMode
1495 * "1" - Enable XVidMode
1496 *1870 *
1497 * By default SDL will use XVidMode if it is available.1871 * Before SDL 2.0.24, this would let apps and users disable XVidMode support on X11.
1872 * Now SDL never uses XVidMode, and does not check for this hint at all.
1873 * The preprocessor define is left here for source compatibility.
1498 */1874 */
1499#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE"1875#define SDL_HINT_VIDEO_X11_XVIDMODE "SDL_VIDEO_X11_XVIDMODE"
1500 1876
@@ -1654,6 +2030,57 @@ extern "C" { · 153 unmodified lines
1654 */2030 */
1655#define SDL_HINT_WINDOWS_USE_D3D9EX "SDL_WINDOWS_USE_D3D9EX"2031#define SDL_HINT_WINDOWS_USE_D3D9EX "SDL_WINDOWS_USE_D3D9EX"
1656 2032
2033/**
2034 * \brief Controls whether SDL will declare the process to be DPI aware.
2035 *
2036 * This hint must be set before initializing the video subsystem.
2037 *
2038 * The main purpose of declaring DPI awareness is to disable OS bitmap scaling of SDL windows on monitors with
2039 * a DPI scale factor.
2040 *
2041 * This hint is equivalent to requesting DPI awareness via external means (e.g. calling SetProcessDpiAwarenessContext)
2042 * and does not cause SDL to use a virtualized coordinate system, so it will generally give you 1 SDL coordinate = 1 pixel
2043 * even on high-DPI displays.
2044 *
2045 * For more information, see:
2046 * https://docs.microsoft.com/en-us/windows/win32/hidpi/high-dpi-desktop-application-development-on-windows
2047 *
2048 * This variable can be set to the following values:
2049 * "" - Do not change the DPI awareness (default).
2050 * "unaware" - Declare the process as DPI unaware. (Windows 8.1 and later).
2051 * "system" - Request system DPI awareness. (Vista and later).
2052 * "permonitor" - Request per-monitor DPI awareness. (Windows 8.1 and later).
2053 * "permonitorv2" - Request per-monitor V2 DPI awareness. (Windows 10, version 1607 and later).
2054 * The most visible difference from "permonitor" is that window title bar will be scaled
2055 * to the visually correct size when dragging between monitors with different scale factors.
2056 * This is the preferred DPI awareness level.
2057 *
2058 * If the requested DPI awareness is not available on the currently running OS, SDL will try to request the best
2059 * available match.
2060 */
2061#define SDL_HINT_WINDOWS_DPI_AWARENESS "SDL_WINDOWS_DPI_AWARENESS"
2062
2063/**
2064 * \brief Uses DPI-scaled points as the SDL coordinate system on Windows.
2065 *
2066 * This changes the SDL coordinate system units to be DPI-scaled points, rather than pixels everywhere.
2067 * This means windows will be appropriately sized, even when created on high-DPI displays with scaling.
2068 *
2069 * e.g. requesting a 640x480 window from SDL, on a display with 125% scaling in Windows display settings,
2070 * will create a window with an 800x600 client area (in pixels).
2071 *
2072 * Setting this to "1" implicitly requests process DPI awareness (setting SDL_WINDOWS_DPI_AWARENESS is unnecessary),
2073 * and forces SDL_WINDOW_ALLOW_HIGHDPI on all windows.
2074 *
2075 * This variable can be set to the following values:
2076 * "0" - SDL coordinates equal Windows coordinates. No automatic window resizing when dragging
2077 * between monitors with different scale factors (unless this is performed by
2078 * Windows itself, which is the case when the process is DPI unaware).
2079 * "1" - SDL coordinates are in DPI-scaled points. Automatically resize windows as needed on
2080 * displays with non-100% scale factors.
2081 */
2082#define SDL_HINT_WINDOWS_DPI_SCALING "SDL_WINDOWS_DPI_SCALING"
2083
1657/**2084/**
1658 * \brief A variable controlling whether the window frame and title bar are interactive when the cursor is hidden 2085 * \brief A variable controlling whether the window frame and title bar are interactive when the cursor is hidden
1659 *2086 *
@@ -1796,6 +2223,15 @@ extern "C" { · 136 unmodified lines
1796 */2223 */
1797#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"2224#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
1798 2225
2226 /**
2227 * \brief A variable that lets you disable the detection and use of DirectInput gamepad devices
2228 *
2229 * The variable can be set to the following values:
2230 * "0" - Disable DirectInput detection (only uses XInput)
2231 * "1" - Enable DirectInput detection (the default)
2232 */
2233#define SDL_HINT_DIRECTINPUT_ENABLED "SDL_DIRECTINPUT_ENABLED"
2234
1799/**2235/**
1800 * \brief A variable that causes SDL to use the old axis and button mapping for XInput devices.2236 * \brief A variable that causes SDL to use the old axis and button mapping for XInput devices.
1801 *2237 *
@@ -1824,6 +2260,133 @@ extern "C" { · 22 unmodified lines
1824 */2260 */
1825#define SDL_HINT_AUDIO_INCLUDE_MONITORS "SDL_AUDIO_INCLUDE_MONITORS"2261#define SDL_HINT_AUDIO_INCLUDE_MONITORS "SDL_AUDIO_INCLUDE_MONITORS"
1826 2262
2263/**
2264 * \brief A variable that forces X11 windows to create as a custom type.
2265 *
2266 * This is currently only used for X11 and ignored elsewhere.
2267 *
2268 * During SDL_CreateWindow, SDL uses the _NET_WM_WINDOW_TYPE X11 property
2269 * to report to the window manager the type of window it wants to create.
2270 * This might be set to various things if SDL_WINDOW_TOOLTIP or
2271 * SDL_WINDOW_POPUP_MENU, etc, were specified. For "normal" windows that
2272 * haven't set a specific type, this hint can be used to specify a custom
2273 * type. For example, a dock window might set this to
2274 * "_NET_WM_WINDOW_TYPE_DOCK".
2275 *
2276 * If not set or set to "", this hint is ignored. This hint must be set
2277 * before the SDL_CreateWindow() call that it is intended to affect.
2278 *
2279 * This hint is available since SDL 2.0.22.
2280 */
2281#define SDL_HINT_X11_WINDOW_TYPE "SDL_X11_WINDOW_TYPE"
2282
2283/**
2284 * \brief A variable that decides whether to send SDL_QUIT when closing the final window.
2285 *
2286 * By default, SDL sends an SDL_QUIT event when there is only one window
2287 * and it receives an SDL_WINDOWEVENT_CLOSE event, under the assumption most
2288 * apps would also take the loss of this window as a signal to terminate the
2289 * program.
2290 *
2291 * However, it's not unreasonable in some cases to have the program continue
2292 * to live on, perhaps to create new windows later.
2293 *
2294 * Changing this hint to "0" will cause SDL to not send an SDL_QUIT event
2295 * when the final window is requesting to close. Note that in this case,
2296 * there are still other legitimate reasons one might get an SDL_QUIT
2297 * event: choosing "Quit" from the macOS menu bar, sending a SIGINT (ctrl-c)
2298 * on Unix, etc.
2299 *
2300 * The default value is "1". This hint can be changed at any time.
2301 *
2302 * This hint is available since SDL 2.0.22. Before then, you always get
2303 * an SDL_QUIT event when closing the final window.
2304 */
2305#define SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE "SDL_QUIT_ON_LAST_WINDOW_CLOSE"
2306
2307
2308/**
2309 * \brief A variable that decides what video backend to use.
2310 *
2311 * By default, SDL will try all available video backends in a reasonable
2312 * order until it finds one that can work, but this hint allows the app
2313 * or user to force a specific target, such as "x11" if, say, you are
2314 * on Wayland but want to try talking to the X server instead.
2315 *
2316 * This functionality has existed since SDL 2.0.0 (indeed, before that)
2317 * but before 2.0.22 this was an environment variable only. In 2.0.22,
2318 * it was upgraded to a full SDL hint, so you can set the environment
2319 * variable as usual or programatically set the hint with SDL_SetHint,
2320 * which won't propagate to child processes.
2321 *
2322 * The default value is unset, in which case SDL will try to figure out
2323 * the best video backend on your behalf. This hint needs to be set
2324 * before SDL_Init() is called to be useful.
2325 *
2326 * This hint is available since SDL 2.0.22. Before then, you could set
2327 * the environment variable to get the same effect.
2328 */
2329#define SDL_HINT_VIDEODRIVER "SDL_VIDEODRIVER"
2330
2331/**
2332 * \brief A variable that decides what audio backend to use.
2333 *
2334 * By default, SDL will try all available audio backends in a reasonable
2335 * order until it finds one that can work, but this hint allows the app
2336 * or user to force a specific target, such as "alsa" if, say, you are
2337 * on PulseAudio but want to try talking to the lower level instead.
2338 *
2339 * This functionality has existed since SDL 2.0.0 (indeed, before that)
2340 * but before 2.0.22 this was an environment variable only. In 2.0.22,
2341 * it was upgraded to a full SDL hint, so you can set the environment
2342 * variable as usual or programatically set the hint with SDL_SetHint,
2343 * which won't propagate to child processes.
2344 *
2345 * The default value is unset, in which case SDL will try to figure out
2346 * the best audio backend on your behalf. This hint needs to be set
2347 * before SDL_Init() is called to be useful.
2348 *
2349 * This hint is available since SDL 2.0.22. Before then, you could set
2350 * the environment variable to get the same effect.
2351 */
2352#define SDL_HINT_AUDIODRIVER "SDL_AUDIODRIVER"
2353
2354/**
2355 * \brief A variable that decides what KMSDRM device to use.
2356 *
2357 * Internally, SDL might open something like "/dev/dri/cardNN" to
2358 * access KMSDRM functionality, where "NN" is a device index number.
2359 *
2360 * SDL makes a guess at the best index to use (usually zero), but the
2361 * app or user can set this hint to a number between 0 and 99 to
2362 * force selection.
2363 *
2364 * This hint is available since SDL 2.24.0.
2365 */
2366#define SDL_HINT_KMSDRM_DEVICE_INDEX "SDL_KMSDRM_DEVICE_INDEX"
2367
2368
2369/**
2370 * \brief A variable that treats trackpads as touch devices.
2371 *
2372 * On macOS (and possibly other platforms in the future), SDL will report
2373 * touches on a trackpad as mouse input, which is generally what users
2374 * expect from this device; however, these are often actually full
2375 * multitouch-capable touch devices, so it might be preferable to some apps
2376 * to treat them as such.
2377 *
2378 * Setting this hint to true will make the trackpad input report as a
2379 * multitouch device instead of a mouse. The default is false.
2380 *
2381 * Note that most platforms don't support this hint. As of 2.24.0, it
2382 * only supports MacBooks' trackpads on macOS. Others may follow later.
2383 *
2384 * This hint is checked during SDL_Init and can not be changed after.
2385 *
2386 * This hint is available since SDL 2.24.0.
2387 */
2388#define SDL_HINT_TRACKPAD_IS_TOUCH_ONLY "SDL_TRACKPAD_IS_TOUCH_ONLY"
2389
1827 2390
1828/**2391/**
1829 * \brief An enumeration of hint priorities2392 * \brief An enumeration of hint priorities
@@ -1876,6 +2439,38 @@ extern DECLSPEC SDL_bool SDLCALL SDL_SetHintWithPriority(const char *name, · 46 unmodified lines
1876extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,2439extern DECLSPEC SDL_bool SDLCALL SDL_SetHint(const char *name,
1877 const char *value);2440 const char *value);
1878 2441
2442/**
2443 * Reset a hint to the default value.
2444 *
2445 * This will reset a hint to the value of the environment variable, or NULL if
2446 * the environment isn't set. Callbacks will be called normally with this
2447 * change.
2448 *
2449 * \param name the hint to set
2450 * \returns SDL_TRUE if the hint was set, SDL_FALSE otherwise.
2451 *
2452 * \since This function is available since SDL 2.24.0.
2453 *
2454 * \sa SDL_GetHint
2455 * \sa SDL_SetHint
2456 */
2457extern DECLSPEC SDL_bool SDLCALL SDL_ResetHint(const char *name);
2458
2459/**
2460 * Reset all hints to the default values.
2461 *
2462 * This will reset all hints to the value of the associated environment
2463 * variable, or NULL if the environment isn't set. Callbacks will be called
2464 * normally with this change.
2465 *
2466 * \since This function is available since SDL 2.26.0.
2467 *
2468 * \sa SDL_GetHint
2469 * \sa SDL_SetHint
2470 * \sa SDL_ResetHint
2471 */
2472extern DECLSPEC void SDLCALL SDL_ResetHints(void);
2473
1879/**2474/**
1880 * Get the value of a hint.2475 * Get the value of a hint.
1881 *2476 *
@@ -1949,9 +2544,16 @@ extern DECLSPEC void SDLCALL SDL_DelHintCallback(const char *name, · 67 unmodified lines
1949/**2544/**
1950 * Clear all hints.2545 * Clear all hints.
1951 *2546 *
1952 * This function is automatically called during SDL_Quit().2547 * This function is automatically called during SDL_Quit(), and deletes all
2548 * callbacks without calling them and frees all memory associated with hints.
2549 * If you're calling this from application code you probably want to call
2550 * SDL_ResetHints() instead.
2551 *
2552 * This function will be removed from the API the next time we rev the ABI.
1953 *2553 *
1954 * \since This function is available since SDL 2.0.0.2554 * \since This function is available since SDL 2.0.0.
2555 *
2556 * \sa SDL_ResetHints
1955 */2557 */
1956extern DECLSPEC void SDLCALL SDL_ClearHints(void);2558extern DECLSPEC void SDLCALL SDL_ClearHints(void);
1957 2559
@@ -1960,7 +2562,7 @@ extern DECLSPEC void SDLCALL SDL_ClearHints(void); · 2 unmodified lines
1960#ifdef __cplusplus2562#ifdef __cplusplus
1961}2563}
1962#endif2564#endif
1963#include "close_code.h"2565#include <SDL2/close_code.h>
1964 2566
1965#endif /* SDL_hints_h_ */2567#endif /* SDL_hints_h_ */
1966 2568
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_joystick.h+131−11
@@ -41,10 +41,11 @@ · 40 unmodified lines
41#ifndef SDL_joystick_h_41#ifndef SDL_joystick_h_
42#define SDL_joystick_h_42#define SDL_joystick_h_
43 43
44#include "SDL_stdinc.h"44#include <SDL2/SDL_stdinc.h>
45#include "SDL_error.h"45#include <SDL2/SDL_error.h>
46#include <SDL2/SDL_guid.h>
46 47
47#include "begin_code.h"48#include <SDL2/begin_code.h>
48/* Set up for C function definitions, even when using C++ */49/* Set up for C function definitions, even when using C++ */
49#ifdef __cplusplus50#ifdef __cplusplus
50extern "C" {51extern "C" {
@@ -69,9 +70,7 @@ struct _SDL_Joystick; · 18 unmodified lines
69typedef struct _SDL_Joystick SDL_Joystick;70typedef struct _SDL_Joystick SDL_Joystick;
70 71
71/* A structure that encodes the stable unique id for a joystick device */72/* A structure that encodes the stable unique id for a joystick device */
72typedef struct {73typedef SDL_GUID SDL_JoystickGUID;
73 Uint8 data[16];
74} SDL_JoystickGUID;
75 74
76/**75/**
77 * This is a unique ID for a joystick for the time it is connected to the system,76 * This is a unique ID for a joystick for the time it is connected to the system,
@@ -125,6 +124,11 @@ typedef enum · 47 unmodified lines
125 * the API functions that take a joystick index will be valid, and joystick124 * the API functions that take a joystick index will be valid, and joystick
126 * and game controller events will not be delivered.125 * and game controller events will not be delivered.
127 *126 *
127 * As of SDL 2.26.0, you can take the joystick lock around reinitializing the
128 * joystick subsystem, to prevent other threads from seeing joysticks in an
129 * uninitialized state. However, all open joysticks will be closed and SDL
130 * functions called with them will fail.
131 *
128 * \since This function is available since SDL 2.0.7.132 * \since This function is available since SDL 2.0.7.
129 */133 */
130extern DECLSPEC void SDLCALL SDL_LockJoysticks(void);134extern DECLSPEC void SDLCALL SDL_LockJoysticks(void);
@@ -153,6 +157,7 @@ extern DECLSPEC void SDLCALL SDL_UnlockJoysticks(void); · 22 unmodified lines
153 * \since This function is available since SDL 2.0.0.157 * \since This function is available since SDL 2.0.0.
154 *158 *
155 * \sa SDL_JoystickName159 * \sa SDL_JoystickName
160 * \sa SDL_JoystickPath
156 * \sa SDL_JoystickOpen161 * \sa SDL_JoystickOpen
157 */162 */
158extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);163extern DECLSPEC int SDLCALL SDL_NumJoysticks(void);
@@ -174,6 +179,23 @@ extern DECLSPEC int SDLCALL SDL_NumJoysticks(void); · 15 unmodified lines
174 */179 */
175extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);180extern DECLSPEC const char *SDLCALL SDL_JoystickNameForIndex(int device_index);
176 181
182/**
183 * Get the implementation dependent path of a joystick.
184 *
185 * This can be called before any joysticks are opened.
186 *
187 * \param device_index the index of the joystick to query (the N'th joystick
188 * on the system)
189 * \returns the path of the selected joystick. If no path can be found, this
190 * function returns NULL; call SDL_GetError() for more information.
191 *
192 * \since This function is available since SDL 2.24.0.
193 *
194 * \sa SDL_JoystickPath
195 * \sa SDL_JoystickOpen
196 */
197extern DECLSPEC const char *SDLCALL SDL_JoystickPathForIndex(int device_index);
198
177/**199/**
178 * Get the player index of a joystick, or -1 if it's not available This can be200 * Get the player index of a joystick, or -1 if it's not available This can be
179 * called before any joysticks are opened.201 * called before any joysticks are opened.
@@ -330,6 +352,54 @@ extern DECLSPEC int SDLCALL SDL_JoystickAttachVirtual(SDL_JoystickType type, · 150 unmodified lines
330 int nbuttons,352 int nbuttons,
331 int nhats);353 int nhats);
332 354
355/**
356 * The structure that defines an extended virtual joystick description
357 *
358 * The caller must zero the structure and then initialize the version with `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` before passing it to SDL_JoystickAttachVirtualEx()
359 * All other elements of this structure are optional and can be left 0.
360 *
361 * \sa SDL_JoystickAttachVirtualEx
362 */
363typedef struct SDL_VirtualJoystickDesc
364{
365 Uint16 version; /**< `SDL_VIRTUAL_JOYSTICK_DESC_VERSION` */
366 Uint16 type; /**< `SDL_JoystickType` */
367 Uint16 naxes; /**< the number of axes on this joystick */
368 Uint16 nbuttons; /**< the number of buttons on this joystick */
369 Uint16 nhats; /**< the number of hats on this joystick */
370 Uint16 vendor_id; /**< the USB vendor ID of this joystick */
371 Uint16 product_id; /**< the USB product ID of this joystick */
372 Uint16 padding; /**< unused */
373 Uint32 button_mask; /**< A mask of which buttons are valid for this controller
374 e.g. (1 << SDL_CONTROLLER_BUTTON_A) */
375 Uint32 axis_mask; /**< A mask of which axes are valid for this controller
376 e.g. (1 << SDL_CONTROLLER_AXIS_LEFTX) */
377 const char *name; /**< the name of the joystick */
378
379 void *userdata; /**< User data pointer passed to callbacks */
380 void (SDLCALL *Update)(void *userdata); /**< Called when the joystick state should be updated */
381 void (SDLCALL *SetPlayerIndex)(void *userdata, int player_index); /**< Called when the player index is set */
382 int (SDLCALL *Rumble)(void *userdata, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble); /**< Implements SDL_JoystickRumble() */
383 int (SDLCALL *RumbleTriggers)(void *userdata, Uint16 left_rumble, Uint16 right_rumble); /**< Implements SDL_JoystickRumbleTriggers() */
384 int (SDLCALL *SetLED)(void *userdata, Uint8 red, Uint8 green, Uint8 blue); /**< Implements SDL_JoystickSetLED() */
385 int (SDLCALL *SendEffect)(void *userdata, const void *data, int size); /**< Implements SDL_JoystickSendEffect() */
386
387} SDL_VirtualJoystickDesc;
388
389/**
390 * \brief The current version of the SDL_VirtualJoystickDesc structure
391 */
392#define SDL_VIRTUAL_JOYSTICK_DESC_VERSION 1
393
394/**
395 * Attach a new virtual joystick with extended properties.
396 *
397 * \returns the joystick's device index, or -1 if an error occurred.
398 *
399 * \since This function is available since SDL 2.24.0.
400 */
401extern DECLSPEC int SDLCALL SDL_JoystickAttachVirtualEx(const SDL_VirtualJoystickDesc *desc);
402
333/**403/**
334 * Detach a virtual joystick.404 * Detach a virtual joystick.
335 *405 *
@@ -360,6 +430,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_JoystickIsVirtual(int device_index); · 24 unmodified lines
360 * the following: SDL_PollEvent, SDL_PumpEvents, SDL_WaitEventTimeout,430 * the following: SDL_PollEvent, SDL_PumpEvents, SDL_WaitEventTimeout,
361 * SDL_WaitEvent.431 * SDL_WaitEvent.
362 *432 *
433 * Note that when sending trigger axes, you should scale the value to the full
434 * range of Sint16. For example, a trigger at rest would have the value of
435 * `SDL_JOYSTICK_AXIS_MIN`.
436 *
363 * \param joystick the virtual joystick on which to set state.437 * \param joystick the virtual joystick on which to set state.
364 * \param axis the specific axis on the virtual joystick to set.438 * \param axis the specific axis on the virtual joystick to set.
365 * \param value the new value for the specified axis.439 * \param value the new value for the specified axis.
@@ -419,6 +493,19 @@ extern DECLSPEC int SDLCALL SDL_JoystickSetVirtualHat(SDL_Joystick *joystick, in · 53 unmodified lines
419 */493 */
420extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick *joystick);494extern DECLSPEC const char *SDLCALL SDL_JoystickName(SDL_Joystick *joystick);
421 495
496/**
497 * Get the implementation dependent path of a joystick.
498 *
499 * \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()
500 * \returns the path of the selected joystick. If no path can be found, this
501 * function returns NULL; call SDL_GetError() for more information.
502 *
503 * \since This function is available since SDL 2.24.0.
504 *
505 * \sa SDL_JoystickPathForIndex
506 */
507extern DECLSPEC const char *SDLCALL SDL_JoystickPath(SDL_Joystick *joystick);
508
422/**509/**
423 * Get the player index of an opened joystick.510 * Get the player index of an opened joystick.
424 *511 *
@@ -436,7 +523,8 @@ extern DECLSPEC int SDLCALL SDL_JoystickGetPlayerIndex(SDL_Joystick *joystick); · 11 unmodified lines
436 * Set the player index of an opened joystick.523 * Set the player index of an opened joystick.
437 *524 *
438 * \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()525 * \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()
439 * \param player_index the player index to set.526 * \param player_index Player index to assign to this joystick, or -1 to clear
527 * the player index and turn off player LEDs.
440 *528 *
441 * \since This function is available since SDL 2.0.12.529 * \since This function is available since SDL 2.0.12.
442 */530 */
@@ -495,6 +583,19 @@ extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProduct(SDL_Joystick *joystick); · 52 unmodified lines
495 */583 */
496extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick *joystick);584extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetProductVersion(SDL_Joystick *joystick);
497 585
586/**
587 * Get the firmware version of an opened joystick, if available.
588 *
589 * If the firmware version isn't available this function returns 0.
590 *
591 * \param joystick the SDL_Joystick obtained from SDL_JoystickOpen()
592 * \returns the firmware version of the selected joystick, or 0 if
593 * unavailable.
594 *
595 * \since This function is available since SDL 2.24.0.
596 */
597extern DECLSPEC Uint16 SDLCALL SDL_JoystickGetFirmwareVersion(SDL_Joystick *joystick);
598
498/**599/**
499 * Get the serial number of an opened joystick, if available.600 * Get the serial number of an opened joystick, if available.
500 *601 *
@@ -551,6 +652,25 @@ extern DECLSPEC void SDLCALL SDL_JoystickGetGUIDString(SDL_JoystickGUID guid, ch · 50 unmodified lines
551 */652 */
552extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);653extern DECLSPEC SDL_JoystickGUID SDLCALL SDL_JoystickGetGUIDFromString(const char *pchGUID);
553 654
655/**
656 * Get the device information encoded in a SDL_JoystickGUID structure
657 *
658 * \param guid the SDL_JoystickGUID you wish to get info about
659 * \param vendor A pointer filled in with the device VID, or 0 if not
660 * available
661 * \param product A pointer filled in with the device PID, or 0 if not
662 * available
663 * \param version A pointer filled in with the device version, or 0 if not
664 * available
665 * \param crc16 A pointer filled in with a CRC used to distinguish different
666 * products with the same VID/PID, or 0 if not available
667 *
668 * \since This function is available since SDL 2.26.0.
669 *
670 * \sa SDL_JoystickGetDeviceGUID
671 */
672extern DECLSPEC void SDLCALL SDL_GetJoystickGUIDInfo(SDL_JoystickGUID guid, Uint16 *vendor, Uint16 *product, Uint16 *version, Uint16 *crc16);
673
554/**674/**
555 * Get the status of a specified joystick.675 * Get the status of a specified joystick.
556 *676 *
@@ -829,9 +949,9 @@ extern DECLSPEC int SDLCALL SDL_JoystickRumble(SDL_Joystick *joystick, Uint16 lo · 272 unmodified lines
829 * Each call to this function cancels any previous trigger rumble effect, and949 * Each call to this function cancels any previous trigger rumble effect, and
830 * calling it with 0 intensity stops any rumbling.950 * calling it with 0 intensity stops any rumbling.
831 *951 *
832 * Note that this function is for _trigger_ rumble; the first joystick to952 * Note that this is rumbling of the _triggers_ and not the game controller as
833 * support this was the PlayStation 5's DualShock 5 controller. If you want953 * a whole. This is currently only supported on Xbox One controllers. If you
834 * the (more common) whole-controller rumble, use SDL_JoystickRumble()954 * want the (more common) whole-controller rumble, use SDL_JoystickRumble()
835 * instead.955 * instead.
836 *956 *
837 * \param joystick The joystick to vibrate957 * \param joystick The joystick to vibrate
@@ -939,7 +1059,7 @@ extern DECLSPEC SDL_JoystickPowerLevel SDLCALL SDL_JoystickCurrentPowerLevel(SDL · 101 unmodified lines
939#ifdef __cplusplus1059#ifdef __cplusplus
940}1060}
941#endif1061#endif
942#include "close_code.h"1062#include <SDL2/close_code.h>
943 1063
944#endif /* SDL_joystick_h_ */1064#endif /* SDL_joystick_h_ */
945 1065
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keyboard.h+44−7
@@ -28,12 +28,12 @@ · 27 unmodified lines
28#ifndef SDL_keyboard_h_28#ifndef SDL_keyboard_h_
29#define SDL_keyboard_h_29#define SDL_keyboard_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_keycode.h"33#include <SDL2/SDL_keycode.h>
34#include "SDL_video.h"34#include <SDL2/SDL_video.h>
35 35
36#include "begin_code.h"36#include <SDL2/begin_code.h>
37/* Set up for C function definitions, even when using C++ */37/* Set up for C function definitions, even when using C++ */
38#ifdef __cplusplus38#ifdef __cplusplus
39extern "C" {39extern "C" {
@@ -90,9 +90,21 @@ extern DECLSPEC SDL_Window * SDLCALL SDL_GetKeyboardFocus(void); · 50 unmodified lines
90 * \since This function is available since SDL 2.0.0.90 * \since This function is available since SDL 2.0.0.
91 *91 *
92 * \sa SDL_PumpEvents92 * \sa SDL_PumpEvents
93 * \sa SDL_ResetKeyboard
93 */94 */
94extern DECLSPEC const Uint8 *SDLCALL SDL_GetKeyboardState(int *numkeys);95extern DECLSPEC const Uint8 *SDLCALL SDL_GetKeyboardState(int *numkeys);
95 96
97/**
98 * Clear the state of the keyboard
99 *
100 * This function will generate key up events for all pressed keys.
101 *
102 * \since This function is available since SDL 2.24.0.
103 *
104 * \sa SDL_GetKeyboardState
105 */
106extern DECLSPEC void SDLCALL SDL_ResetKeyboard(void);
107
96/**108/**
97 * Get the current key modifier state for the keyboard.109 * Get the current key modifier state for the keyboard.
98 *110 *
@@ -268,9 +280,34 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputActive(void); · 169 unmodified lines
268 */280 */
269extern DECLSPEC void SDLCALL SDL_StopTextInput(void);281extern DECLSPEC void SDLCALL SDL_StopTextInput(void);
270 282
283/**
284 * Dismiss the composition window/IME without disabling the subsystem.
285 *
286 * \since This function is available since SDL 2.0.22.
287 *
288 * \sa SDL_StartTextInput
289 * \sa SDL_StopTextInput
290 */
291extern DECLSPEC void SDLCALL SDL_ClearComposition(void);
292
293/**
294 * Returns if an IME Composite or Candidate window is currently shown.
295 *
296 * \since This function is available since SDL 2.0.22.
297 */
298extern DECLSPEC SDL_bool SDLCALL SDL_IsTextInputShown(void);
299
271/**300/**
272 * Set the rectangle used to type Unicode text inputs.301 * Set the rectangle used to type Unicode text inputs.
273 *302 *
303 * To start text input in a given location, this function is intended to be
304 * called before SDL_StartTextInput, although some platforms support moving
305 * the rectangle even while text input (and a composition) is active.
306 *
307 * Note: If you want to use the system native IME window, try setting hint
308 * **SDL_HINT_IME_SHOW_UI** to **1**, otherwise this function won't give you
309 * any feedback.
310 *
274 * \param rect the SDL_Rect structure representing the rectangle to receive311 * \param rect the SDL_Rect structure representing the rectangle to receive
275 * text (ignored if NULL)312 * text (ignored if NULL)
276 *313 *
@@ -278,7 +315,7 @@ extern DECLSPEC void SDLCALL SDL_StopTextInput(void); · 1 unmodified line
278 *315 *
279 * \sa SDL_StartTextInput316 * \sa SDL_StartTextInput
280 */317 */
281extern DECLSPEC void SDLCALL SDL_SetTextInputRect(SDL_Rect *rect);318extern DECLSPEC void SDLCALL SDL_SetTextInputRect(const SDL_Rect *rect);
282 319
283/**320/**
284 * Check whether the platform has screen keyboard support.321 * Check whether the platform has screen keyboard support.
@@ -309,7 +346,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsScreenKeyboardShown(SDL_Window *window); · 24 unmodified lines
309#ifdef __cplusplus346#ifdef __cplusplus
310}347}
311#endif348#endif
312#include "close_code.h"349#include <SDL2/close_code.h>
313 350
314#endif /* SDL_keyboard_h_ */351#endif /* SDL_keyboard_h_ */
315 352
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_keycode.h+8−3
@@ -28,8 +28,8 @@ · 27 unmodified lines
28#ifndef SDL_keycode_h_28#ifndef SDL_keycode_h_
29#define SDL_keycode_h_29#define SDL_keycode_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_scancode.h"32#include <SDL2/SDL_scancode.h>
33 33
34/**34/**
35 * \brief The SDL virtual key representation.35 * \brief The SDL virtual key representation.
@@ -318,7 +318,12 @@ typedef enum · 282 unmodified lines
318 SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),318 SDLK_APP2 = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_APP2),
319 319
320 SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),320 SDLK_AUDIOREWIND = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOREWIND),
321 SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD)321 SDLK_AUDIOFASTFORWARD = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_AUDIOFASTFORWARD),
322
323 SDLK_SOFTLEFT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTLEFT),
324 SDLK_SOFTRIGHT = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_SOFTRIGHT),
325 SDLK_CALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_CALL),
326 SDLK_ENDCALL = SDL_SCANCODE_TO_KEYCODE(SDL_SCANCODE_ENDCALL)
322} SDL_KeyCode;327} SDL_KeyCode;
323 328
324/**329/**
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_loadso.h+4−4
@@ -41,10 +41,10 @@ · 40 unmodified lines
41#ifndef SDL_loadso_h_41#ifndef SDL_loadso_h_
42#define SDL_loadso_h_42#define SDL_loadso_h_
43 43
44#include "SDL_stdinc.h"44#include <SDL2/SDL_stdinc.h>
45#include "SDL_error.h"45#include <SDL2/SDL_error.h>
46 46
47#include "begin_code.h"47#include <SDL2/begin_code.h>
48/* Set up for C function definitions, even when using C++ */48/* Set up for C function definitions, even when using C++ */
49#ifdef __cplusplus49#ifdef __cplusplus
50extern "C" {50extern "C" {
@@ -108,7 +108,7 @@ extern DECLSPEC void SDLCALL SDL_UnloadObject(void *handle); · 57 unmodified lines
108#ifdef __cplusplus108#ifdef __cplusplus
109}109}
110#endif110#endif
111#include "close_code.h"111#include <SDL2/close_code.h>
112 112
113#endif /* SDL_loadso_h_ */113#endif /* SDL_loadso_h_ */
114 114
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_locale.h+4−4
@@ -28,10 +28,10 @@ · 27 unmodified lines
28#ifndef _SDL_locale_h28#ifndef _SDL_locale_h
29#define _SDL_locale_h29#define _SDL_locale_h
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33 33
34#include "begin_code.h"34#include <SDL2/begin_code.h>
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
37/* *INDENT-OFF* */37/* *INDENT-OFF* */
@@ -96,7 +96,7 @@ extern DECLSPEC SDL_Locale * SDLCALL SDL_GetPreferredLocales(void); · 58 unmodified lines
96}96}
97/* *INDENT-ON* */97/* *INDENT-ON* */
98#endif98#endif
99#include "close_code.h"99#include <SDL2/close_code.h>
100 100
101#endif /* _SDL_locale_h */101#endif /* _SDL_locale_h */
102 102
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_log.h+5−5
@@ -37,9 +37,9 @@ · 36 unmodified lines
37#ifndef SDL_log_h_37#ifndef SDL_log_h_
38#define SDL_log_h_38#define SDL_log_h_
39 39
40#include "SDL_stdinc.h"40#include <SDL2/SDL_stdinc.h>
41 41
42#include "begin_code.h"42#include <SDL2/begin_code.h>
43/* Set up for C function definitions, even when using C++ */43/* Set up for C function definitions, even when using C++ */
44#ifdef __cplusplus44#ifdef __cplusplus
45extern "C" {45extern "C" {
@@ -47,9 +47,9 @@ extern "C" { · 1 unmodified line
47 47
48 48
49/**49/**
50 * \brief The maximum size of a log message50 * \brief The maximum size of a log message prior to SDL 2.0.24
51 *51 *
52 * Messages longer than the maximum size will be truncated52 * As of 2.0.24 there is no limit to the length of SDL log messages.
53 */53 */
54#define SDL_MAX_LOG_MESSAGE 409654#define SDL_MAX_LOG_MESSAGE 4096
55 55
@@ -397,7 +397,7 @@ extern DECLSPEC void SDLCALL SDL_LogSetOutputFunction(SDL_LogOutputFunction call · 341 unmodified lines
397#ifdef __cplusplus397#ifdef __cplusplus
398}398}
399#endif399#endif
400#include "close_code.h"400#include <SDL2/close_code.h>
401 401
402#endif /* SDL_log_h_ */402#endif /* SDL_log_h_ */
403 403
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_main.h+45−5
@@ -22,7 +22,7 @@ · 21 unmodified lines
22#ifndef SDL_main_h_22#ifndef SDL_main_h_
23#define SDL_main_h_23#define SDL_main_h_
24 24
25#include "SDL_stdinc.h"25#include <SDL2/SDL_stdinc.h>
26 26
27/**27/**
28 * \file SDL_main.h28 * \file SDL_main.h
@@ -51,6 +51,15 @@ · 22 unmodified lines
51*/51*/
52#define SDL_MAIN_NEEDED52#define SDL_MAIN_NEEDED
53 53
54#elif defined(__GDK__)
55/* On GDK, SDL provides a main function that initializes the game runtime.
56
57 Please note that #include'ing SDL_main.h is not enough to get a main()
58 function working. You must either link against SDL2main or, if not possible,
59 call the SDL_GDKRunApp function from your entry point.
60*/
61#define SDL_MAIN_NEEDED
62
54#elif defined(__IPHONEOS__)63#elif defined(__IPHONEOS__)
55/* On iOS SDL provides a main function that creates an application delegate64/* On iOS SDL provides a main function that creates an application delegate
56 and starts the iOS application run loop.65 and starts the iOS application run loop.
@@ -92,6 +101,22 @@ · 35 unmodified lines
92 */101 */
93#define SDL_MAIN_AVAILABLE102#define SDL_MAIN_AVAILABLE
94 103
104#elif defined(__PS2__)
105#define SDL_MAIN_AVAILABLE
106
107#define SDL_PS2_SKIP_IOP_RESET() \
108 void reset_IOP(); \
109 void reset_IOP() {}
110
111#elif defined(__3DS__)
112/*
113 On N3DS, SDL provides a main function that sets up the screens
114 and storage.
115
116 If you provide this yourself, you may define SDL_MAIN_HANDLED
117*/
118#define SDL_MAIN_AVAILABLE
119
95#endif120#endif
96#endif /* SDL_MAIN_HANDLED */121#endif /* SDL_MAIN_HANDLED */
97 122
@@ -118,7 +143,7 @@ · 20 unmodified lines
118#define main SDL_main143#define main SDL_main
119#endif144#endif
120 145
121#include "begin_code.h"146#include <SDL2/begin_code.h>
122#ifdef __cplusplus147#ifdef __cplusplus
123extern "C" {148extern "C" {
124#endif149#endif
@@ -145,7 +170,7 @@ extern SDLMAIN_DECLSPEC int SDL_main(int argc, char *argv[]); · 20 unmodified lines
145 */170 */
146extern DECLSPEC void SDLCALL SDL_SetMainReady(void);171extern DECLSPEC void SDLCALL SDL_SetMainReady(void);
147 172
148#ifdef __WIN32__173#if defined(__WIN32__) || defined(__GDK__)
149 174
150/**175/**
151 * Register a win32 window class for SDL's use.176 * Register a win32 window class for SDL's use.
@@ -189,7 +214,7 @@ extern DECLSPEC int SDLCALL SDL_RegisterApp(const char *name, Uint32 style, void · 37 unmodified lines
189 */214 */
190extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);215extern DECLSPEC void SDLCALL SDL_UnregisterApp(void);
191 216
192#endif /* __WIN32__ */217#endif /* defined(__WIN32__) || defined(__GDK__) */
193 218
194 219
195#ifdef __WINRT__220#ifdef __WINRT__
@@ -224,11 +249,26 @@ extern DECLSPEC int SDLCALL SDL_UIKitRunApp(int argc, char *argv[], SDL_main_fun · 28 unmodified lines
224 249
225#endif /* __IPHONEOS__ */250#endif /* __IPHONEOS__ */
226 251
252#ifdef __GDK__
253
254/**
255 * Initialize and launch an SDL GDK application.
256 *
257 * \param mainFunction the SDL app's C-style main(), an SDL_main_func
258 * \param reserved reserved for future use; should be NULL
259 * \returns 0 on success or -1 on failure; call SDL_GetError() to retrieve
260 * more information on the failure.
261 *
262 * \since This function is available since SDL 2.24.0.
263 */
264extern DECLSPEC int SDLCALL SDL_GDKRunApp(SDL_main_func mainFunction, void *reserved);
265
266#endif /* __GDK__ */
227 267
228#ifdef __cplusplus268#ifdef __cplusplus
229}269}
230#endif270#endif
231#include "close_code.h"271#include <SDL2/close_code.h>
232 272
233#endif /* SDL_main_h_ */273#endif /* SDL_main_h_ */
234 274
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_messagebox.h+4−4
@@ -22,10 +22,10 @@ · 21 unmodified lines
22#ifndef SDL_messagebox_h_22#ifndef SDL_messagebox_h_
23#define SDL_messagebox_h_23#define SDL_messagebox_h_
24 24
25#include "SDL_stdinc.h"25#include <SDL2/SDL_stdinc.h>
26#include "SDL_video.h" /* For SDL_Window */26#include <SDL2/SDL_video.h> /* For SDL_Window */
27 27
28#include "begin_code.h"28#include <SDL2/begin_code.h>
29/* Set up for C function definitions, even when using C++ */29/* Set up for C function definitions, even when using C++ */
30#ifdef __cplusplus30#ifdef __cplusplus
31extern "C" {31extern "C" {
@@ -186,7 +186,7 @@ extern DECLSPEC int SDLCALL SDL_ShowSimpleMessageBox(Uint32 flags, const char *t · 154 unmodified lines
186#ifdef __cplusplus186#ifdef __cplusplus
187}187}
188#endif188#endif
189#include "close_code.h"189#include <SDL2/close_code.h>
190 190
191#endif /* SDL_messagebox_h_ */191#endif /* SDL_messagebox_h_ */
192 192
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_metal.h+5−4
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_metal_h_28#ifndef SDL_metal_h_
29#define SDL_metal_h_29#define SDL_metal_h_
30 30
31#include "SDL_video.h"31#include <SDL2/SDL_video.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -82,7 +82,7 @@ extern DECLSPEC void SDLCALL SDL_Metal_DestroyView(SDL_MetalView view); · 45 unmodified lines
82 *82 *
83 * \since This function is available since SDL 2.0.14.83 * \since This function is available since SDL 2.0.14.
84 *84 *
85 * \sa SDL_MetalCreateView85 * \sa SDL_Metal_CreateView
86 */86 */
87extern DECLSPEC void *SDLCALL SDL_Metal_GetLayer(SDL_MetalView view);87extern DECLSPEC void *SDLCALL SDL_Metal_GetLayer(SDL_MetalView view);
88 88
@@ -92,6 +92,7 @@ extern DECLSPEC void *SDLCALL SDL_Metal_GetLayer(SDL_MetalView view); · 3 unmodified lines
92 *92 *
93 * \param window SDL_Window from which the drawable size should be queried93 * \param window SDL_Window from which the drawable size should be queried
94 * \param w Pointer to variable for storing the width in pixels, may be NULL94 * \param w Pointer to variable for storing the width in pixels, may be NULL
95 * \param h Pointer to variable for storing the height in pixels, may be NULL
95 *96 *
96 * \since This function is available since SDL 2.0.14.97 * \since This function is available since SDL 2.0.14.
97 *98 *
@@ -107,6 +108,6 @@ extern DECLSPEC void SDLCALL SDL_Metal_GetDrawableSize(SDL_Window* window, int * · 9 unmodified lines
107#ifdef __cplusplus108#ifdef __cplusplus
108}109}
109#endif110#endif
110#include "close_code.h"111#include <SDL2/close_code.h>
111 112
112#endif /* SDL_metal_h_ */113#endif /* SDL_metal_h_ */
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_misc.h+3−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_misc_h_28#ifndef SDL_misc_h_
29#define SDL_misc_h_29#define SDL_misc_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34 34
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
@@ -72,7 +72,7 @@ extern DECLSPEC int SDLCALL SDL_OpenURL(const char *url); · 35 unmodified lines
72#ifdef __cplusplus72#ifdef __cplusplus
73}73}
74#endif74#endif
75#include "close_code.h"75#include <SDL2/close_code.h>
76 76
77#endif /* SDL_misc_h_ */77#endif /* SDL_misc_h_ */
78 78
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mouse.h+17−6
@@ -28,11 +28,11 @@ · 27 unmodified lines
28#ifndef SDL_mouse_h_28#ifndef SDL_mouse_h_
29#define SDL_mouse_h_29#define SDL_mouse_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_video.h"33#include <SDL2/SDL_video.h>
34 34
35#include "begin_code.h"35#include <SDL2/begin_code.h>
36/* Set up for C function definitions, even when using C++ */36/* Set up for C function definitions, even when using C++ */
37#ifdef __cplusplus37#ifdef __cplusplus
38extern "C" {38extern "C" {
@@ -154,7 +154,9 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetRelativeMouseState(int *x, int *y); · 115 unmodified lines
154/**154/**
155 * Move the mouse cursor to the given position within the window.155 * Move the mouse cursor to the given position within the window.
156 *156 *
157 * This function generates a mouse motion event.157 * This function generates a mouse motion event if relative mode is not
158 * enabled. If relative mode is enabled, you can force mouse events for the
159 * warp by setting the SDL_HINT_MOUSE_RELATIVE_WARP_MOTION hint.
158 *160 *
159 * Note that this function will appear to succeed, but not actually move the161 * Note that this function will appear to succeed, but not actually move the
160 * mouse when used over Microsoft Remote Desktop.162 * mouse when used over Microsoft Remote Desktop.
@@ -245,6 +247,15 @@ extern DECLSPEC int SDLCALL SDL_SetRelativeMouseMode(SDL_bool enabled); · 84 unmodified lines
245 * While capturing is enabled, the current window will have the247 * While capturing is enabled, the current window will have the
246 * `SDL_WINDOW_MOUSE_CAPTURE` flag set.248 * `SDL_WINDOW_MOUSE_CAPTURE` flag set.
247 *249 *
250 * Please note that as of SDL 2.0.22, SDL will attempt to "auto capture" the
251 * mouse while the user is pressing a button; this is to try and make mouse
252 * behavior more consistent between platforms, and deal with the common case
253 * of a user dragging the mouse outside of the window. This means that if you
254 * are calling SDL_CaptureMouse() only to deal with this situation, you no
255 * longer have to (although it is safe to do so). If this causes problems for
256 * your app, you can disable auto capture by setting the
257 * `SDL_HINT_MOUSE_AUTO_CAPTURE` hint to zero.
258 *
248 * \param enabled SDL_TRUE to enable capturing, SDL_FALSE to disable.259 * \param enabled SDL_TRUE to enable capturing, SDL_FALSE to disable.
249 * \returns 0 on success or -1 if not supported; call SDL_GetError() for more260 * \returns 0 on success or -1 if not supported; call SDL_GetError() for more
250 * information.261 * information.
@@ -447,7 +458,7 @@ extern DECLSPEC int SDLCALL SDL_ShowCursor(int toggle); · 196 unmodified lines
447#ifdef __cplusplus458#ifdef __cplusplus
448}459}
449#endif460#endif
450#include "close_code.h"461#include <SDL2/close_code.h>
451 462
452#endif /* SDL_mouse_h_ */463#endif /* SDL_mouse_h_ */
453 464
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_mutex.h+4−4
@@ -28,10 +28,10 @@ · 27 unmodified lines
28 * Functions to provide thread synchronization primitives.28 * Functions to provide thread synchronization primitives.
29 */29 */
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33 33
34#include "begin_code.h"34#include <SDL2/begin_code.h>
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
37extern "C" {37extern "C" {
@@ -464,7 +464,7 @@ extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond, · 426 unmodified lines
464#ifdef __cplusplus464#ifdef __cplusplus
465}465}
466#endif466#endif
467#include "close_code.h"467#include <SDL2/close_code.h>
468 468
469#endif /* SDL_mutex_h_ */469#endif /* SDL_mutex_h_ */
470 470
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl.h+3−54
@@ -35,7 +35,7 @@ · 34 unmodified lines
35#ifndef SDL_opengl_h_35#ifndef SDL_opengl_h_
36#define SDL_opengl_h_36#define SDL_opengl_h_
37 37
38#include "SDL_config.h"38#include <SDL2/SDL_config.h>
39 39
40#ifndef __IPHONEOS__ /* No OpenGL on iOS. */40#ifndef __IPHONEOS__ /* No OpenGL on iOS. */
41 41
@@ -69,7 +69,7 @@ · 27 unmodified lines
69#define __gl_h_69#define __gl_h_
70 70
71#if defined(USE_MGL_NAMESPACE)71#if defined(USE_MGL_NAMESPACE)
72#include "gl_mangle.h"72#include <SDL2/gl_mangle.h>
73#endif73#endif
74 74
75 75
@@ -2102,62 +2102,11 @@ typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLsh · 2026 unmodified lines
2102 * defined in gl.h). Otherwise, extensions will be included from glext.h.2102 * defined in gl.h). Otherwise, extensions will be included from glext.h.
2103 */2103 */
2104#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)2104#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
2105#include "SDL_opengl_glext.h"2105#include <SDL2/SDL_opengl_glext.h>
2106#endif /* GL_GLEXT_LEGACY */2106#endif /* GL_GLEXT_LEGACY */
2107 2107
2108 2108
2109 2109
2110/*
2111 * ???. GL_MESA_packed_depth_stencil
2112 * XXX obsolete
2113 */
2114#ifndef GL_MESA_packed_depth_stencil
2115#define GL_MESA_packed_depth_stencil 1
2116
2117#define GL_DEPTH_STENCIL_MESA 0x8750
2118#define GL_UNSIGNED_INT_24_8_MESA 0x8751
2119#define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752
2120#define GL_UNSIGNED_SHORT_15_1_MESA 0x8753
2121#define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754
2122
2123#endif /* GL_MESA_packed_depth_stencil */
2124
2125
2126#ifndef GL_ATI_blend_equation_separate
2127#define GL_ATI_blend_equation_separate 1
2128
2129#define GL_ALPHA_BLEND_EQUATION_ATI 0x883D
2130
2131GLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA );
2132typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA);
2133
2134#endif /* GL_ATI_blend_equation_separate */
2135
2136
2137/* GL_OES_EGL_image */
2138#ifndef GL_OES_EGL_image
2139typedef void* GLeglImageOES;
2140#endif
2141
2142#ifndef GL_OES_EGL_image
2143#define GL_OES_EGL_image 1
2144#ifdef GL_GLEXT_PROTOTYPES
2145GLAPI void APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
2146GLAPI void APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
2147#endif
2148typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
2149typedef void (APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
2150#endif
2151
2152
2153/**
2154 ** NOTE!!!!! If you add new functions to this file, or update
2155 ** glext.h be sure to regenerate the gl_mangle.h file. See comments
2156 ** in that file for details.
2157 **/
2158
2159
2160
2161/**********************************************************************2110/**********************************************************************
2162 * Begin system-specific stuff2111 * Begin system-specific stuff
2163 */2112 */
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengl_glext.h+2260−231
@@ -1,12 +1,45 @@
1#ifndef __glext_h_1#ifndef __gl_glext_h_
2#define __glext_h_ 12#define __gl_glext_h_ 1
3 3
4#ifdef __cplusplus4#ifdef __cplusplus
5extern "C" {5extern "C" {
6#endif6#endif
7 7
8/*8/*
9** Copyright (c) 2013-2014 The Khronos Group Inc.9** Copyright 2013-2020 The Khronos Group Inc.
10** SPDX-License-Identifier: MIT
11**
12** This header is generated from the Khronos OpenGL / OpenGL ES XML
13** API Registry. The current version of the Registry, generator scripts
14** used to make the header, and the header can be found at
15** https://github.com/KhronosGroup/OpenGL-Registry
16*/
17
18#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
19#ifndef WIN32_LEAN_AND_MEAN
20#define WIN32_LEAN_AND_MEAN 1
21#endif
22#include <windows.h>
23#endif
24
25#ifndef APIENTRY
26#define APIENTRY
27#endif
28#ifndef APIENTRYP
29#define APIENTRYP APIENTRY *
30#endif
31#ifndef GLAPI
32#define GLAPI extern
33#endif
34
35#define GL_GLEXT_VERSION 20220530
36
37/*#include <KHR/khrplatform.h>*/
38#ifndef __khrplatform_h_
39#define __khrplatform_h_
40
41/*
42** Copyright (c) 2008-2018 The Khronos Group Inc.
10**43**
11** Permission is hereby granted, free of charge, to any person obtaining a44** Permission is hereby granted, free of charge, to any person obtaining a
12** copy of this software and/or associated documentation files (the45** copy of this software and/or associated documentation files (the
@@ -27,36 +60,292 @@ extern "C" { · 14 unmodified lines
27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE60** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.61** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29*/62*/
30/*
31** This header is generated from the Khronos OpenGL / OpenGL ES XML
32** API Registry. The current version of the Registry, generator scripts
33** used to make the header, and the header can be found at
34** http://www.opengl.org/registry/
35**
36** Khronos $Revision: 26745 $ on $Date: 2014-05-21 03:12:26 -0700 (Wed, 21 May 2014) $
37*/
38 63
39#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)64/* Khronos platform-specific types and definitions.
40#ifndef WIN32_LEAN_AND_MEAN65 *
41#define WIN32_LEAN_AND_MEAN 166 * The master copy of khrplatform.h is maintained in the Khronos EGL
67 * Registry repository at https://github.com/KhronosGroup/EGL-Registry
68 * The last semantic modification to khrplatform.h was at commit ID:
69 * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
70 *
71 * Adopters may modify this file to suit their platform. Adopters are
72 * encouraged to submit platform specific modifications to the Khronos
73 * group so that they can be included in future versions of this file.
74 * Please submit changes by filing pull requests or issues on
75 * the EGL Registry repository linked above.
76 *
77 *
78 * See the Implementer's Guidelines for information about where this file
79 * should be located on your system and for more details of its use:
80 * http://www.khronos.org/registry/implementers_guide.pdf
81 *
82 * This file should be included as
83 * #include <KHR/khrplatform.h>
84 * by Khronos client API header files that use its types and defines.
85 *
86 * The types in khrplatform.h should only be used to define API-specific types.
87 *
88 * Types defined in khrplatform.h:
89 * khronos_int8_t signed 8 bit
90 * khronos_uint8_t unsigned 8 bit
91 * khronos_int16_t signed 16 bit
92 * khronos_uint16_t unsigned 16 bit
93 * khronos_int32_t signed 32 bit
94 * khronos_uint32_t unsigned 32 bit
95 * khronos_int64_t signed 64 bit
96 * khronos_uint64_t unsigned 64 bit
97 * khronos_intptr_t signed same number of bits as a pointer
98 * khronos_uintptr_t unsigned same number of bits as a pointer
99 * khronos_ssize_t signed size
100 * khronos_usize_t unsigned size
101 * khronos_float_t signed 32 bit floating point
102 * khronos_time_ns_t unsigned 64 bit time in nanoseconds
103 * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
104 * nanoseconds
105 * khronos_stime_nanoseconds_t signed time interval in nanoseconds
106 * khronos_boolean_enum_t enumerated boolean type. This should
107 * only be used as a base type when a client API's boolean type is
108 * an enum. Client APIs which use an integer or other type for
109 * booleans cannot use this as the base type for their boolean.
110 *
111 * Tokens defined in khrplatform.h:
112 *
113 * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
114 *
115 * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
116 * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
117 *
118 * Calling convention macros defined in this file:
119 * KHRONOS_APICALL
120 * KHRONOS_APIENTRY
121 * KHRONOS_APIATTRIBUTES
122 *
123 * These may be used in function prototypes as:
124 *
125 * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
126 * int arg1,
127 * int arg2) KHRONOS_APIATTRIBUTES;
128 */
129
130#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
131# define KHRONOS_STATIC 1
42#endif132#endif
43#ifndef NOMINMAX /* don't define min() and max(). */133
44#define NOMINMAX134/*-------------------------------------------------------------------------
135 * Definition of KHRONOS_APICALL
136 *-------------------------------------------------------------------------
137 * This precedes the return type of the function in the function prototype.
138 */
139#if defined(KHRONOS_STATIC)
140 /* If the preprocessor constant KHRONOS_STATIC is defined, make the
141 * header compatible with static linking. */
142# define KHRONOS_APICALL
143#elif defined(_WIN32)
144# define KHRONOS_APICALL __declspec(dllimport)
145#elif defined (__SYMBIAN32__)
146# define KHRONOS_APICALL IMPORT_C
147#elif defined(__ANDROID__)
148# define KHRONOS_APICALL __attribute__((visibility("default")))
149#else
150# define KHRONOS_APICALL
45#endif151#endif
46#include <windows.h>152
153/*-------------------------------------------------------------------------
154 * Definition of KHRONOS_APIENTRY
155 *-------------------------------------------------------------------------
156 * This follows the return type of the function and precedes the function
157 * name in the function prototype.
158 */
159#if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
160 /* Win32 but not WinCE */
161# define KHRONOS_APIENTRY __stdcall
162#else
163# define KHRONOS_APIENTRY
47#endif164#endif
48 165
49#ifndef APIENTRY166/*-------------------------------------------------------------------------
50#define APIENTRY167 * Definition of KHRONOS_APIATTRIBUTES
168 *-------------------------------------------------------------------------
169 * This follows the closing parenthesis of the function prototype arguments.
170 */
171#if defined (__ARMCC_2__)
172#define KHRONOS_APIATTRIBUTES __softfp
173#else
174#define KHRONOS_APIATTRIBUTES
51#endif175#endif
52#ifndef APIENTRYP176
53#define APIENTRYP APIENTRY *177/*-------------------------------------------------------------------------
178 * basic type definitions
179 *-----------------------------------------------------------------------*/
180#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
181
182
183/*
184 * Using <stdint.h>
185 */
186#include <stdint.h>
187typedef int32_t khronos_int32_t;
188typedef uint32_t khronos_uint32_t;
189typedef int64_t khronos_int64_t;
190typedef uint64_t khronos_uint64_t;
191#define KHRONOS_SUPPORT_INT64 1
192#define KHRONOS_SUPPORT_FLOAT 1
193/*
194 * To support platform where unsigned long cannot be used interchangeably with
195 * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
196 * Ideally, we could just use (u)intptr_t everywhere, but this could result in
197 * ABI breakage if khronos_uintptr_t is changed from unsigned long to
198 * unsigned long long or similar (this results in different C++ name mangling).
199 * To avoid changes for existing platforms, we restrict usage of intptr_t to
200 * platforms where the size of a pointer is larger than the size of long.
201 */
202#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
203#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
204#define KHRONOS_USE_INTPTR_T
54#endif205#endif
55#ifndef GLAPI
56#define GLAPI extern
57#endif206#endif
58 207
59#define GL_GLEXT_VERSION 20140521208#elif defined(__VMS ) || defined(__sgi)
209
210/*
211 * Using <inttypes.h>
212 */
213#include <inttypes.h>
214typedef int32_t khronos_int32_t;
215typedef uint32_t khronos_uint32_t;
216typedef int64_t khronos_int64_t;
217typedef uint64_t khronos_uint64_t;
218#define KHRONOS_SUPPORT_INT64 1
219#define KHRONOS_SUPPORT_FLOAT 1
220
221#elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
222
223/*
224 * Win32
225 */
226typedef __int32 khronos_int32_t;
227typedef unsigned __int32 khronos_uint32_t;
228typedef __int64 khronos_int64_t;
229typedef unsigned __int64 khronos_uint64_t;
230#define KHRONOS_SUPPORT_INT64 1
231#define KHRONOS_SUPPORT_FLOAT 1
232
233#elif defined(__sun__) || defined(__digital__)
234
235/*
236 * Sun or Digital
237 */
238typedef int khronos_int32_t;
239typedef unsigned int khronos_uint32_t;
240#if defined(__arch64__) || defined(_LP64)
241typedef long int khronos_int64_t;
242typedef unsigned long int khronos_uint64_t;
243#else
244typedef long long int khronos_int64_t;
245typedef unsigned long long int khronos_uint64_t;
246#endif /* __arch64__ */
247#define KHRONOS_SUPPORT_INT64 1
248#define KHRONOS_SUPPORT_FLOAT 1
249
250#elif 0
251
252/*
253 * Hypothetical platform with no float or int64 support
254 */
255typedef int khronos_int32_t;
256typedef unsigned int khronos_uint32_t;
257#define KHRONOS_SUPPORT_INT64 0
258#define KHRONOS_SUPPORT_FLOAT 0
259
260#else
261
262/*
263 * Generic fallback
264 */
265#include <stdint.h>
266typedef int32_t khronos_int32_t;
267typedef uint32_t khronos_uint32_t;
268typedef int64_t khronos_int64_t;
269typedef uint64_t khronos_uint64_t;
270#define KHRONOS_SUPPORT_INT64 1
271#define KHRONOS_SUPPORT_FLOAT 1
272
273#endif
274
275
276/*
277 * Types that are (so far) the same on all platforms
278 */
279typedef signed char khronos_int8_t;
280typedef unsigned char khronos_uint8_t;
281typedef signed short int khronos_int16_t;
282typedef unsigned short int khronos_uint16_t;
283
284/*
285 * Types that differ between LLP64 and LP64 architectures - in LLP64,
286 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
287 * to be the only LLP64 architecture in current use.
288 */
289#ifdef KHRONOS_USE_INTPTR_T
290typedef intptr_t khronos_intptr_t;
291typedef uintptr_t khronos_uintptr_t;
292#elif defined(_WIN64)
293typedef signed long long int khronos_intptr_t;
294typedef unsigned long long int khronos_uintptr_t;
295#else
296typedef signed long int khronos_intptr_t;
297typedef unsigned long int khronos_uintptr_t;
298#endif
299
300#if defined(_WIN64)
301typedef signed long long int khronos_ssize_t;
302typedef unsigned long long int khronos_usize_t;
303#else
304typedef signed long int khronos_ssize_t;
305typedef unsigned long int khronos_usize_t;
306#endif
307
308#if KHRONOS_SUPPORT_FLOAT
309/*
310 * Float type
311 */
312typedef float khronos_float_t;
313#endif
314
315#if KHRONOS_SUPPORT_INT64
316/* Time types
317 *
318 * These types can be used to represent a time interval in nanoseconds or
319 * an absolute Unadjusted System Time. Unadjusted System Time is the number
320 * of nanoseconds since some arbitrary system event (e.g. since the last
321 * time the system booted). The Unadjusted System Time is an unsigned
322 * 64 bit value that wraps back to 0 every 584 years. Time intervals
323 * may be either signed or unsigned.
324 */
325typedef khronos_uint64_t khronos_utime_nanoseconds_t;
326typedef khronos_int64_t khronos_stime_nanoseconds_t;
327#endif
328
329/*
330 * Dummy value used to pad enum types to 32 bits.
331 */
332#ifndef KHRONOS_MAX_ENUM
333#define KHRONOS_MAX_ENUM 0x7FFFFFFF
334#endif
335
336/*
337 * Enumerated boolean type
338 *
339 * Values other than zero should be considered to be true. Therefore
340 * comparisons should not be made against KHRONOS_TRUE.
341 */
342typedef enum {
343 KHRONOS_FALSE = 0,
344 KHRONOS_TRUE = 1,
345 KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
346} khronos_boolean_enum_t;
347
348#endif /* __khrplatform_h_ */
60 349
61/* Generated C header for:350/* Generated C header for:
62 * API: gl351 * API: gl
@@ -358,15 +647,17 @@ GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m); · 295 unmodified lines
358#define GL_TEXTURE_FILTER_CONTROL 0x8500647#define GL_TEXTURE_FILTER_CONTROL 0x8500
359#define GL_DEPTH_TEXTURE_MODE 0x884B648#define GL_DEPTH_TEXTURE_MODE 0x884B
360#define GL_COMPARE_R_TO_TEXTURE 0x884E649#define GL_COMPARE_R_TO_TEXTURE 0x884E
361#define GL_FUNC_ADD 0x8006650#define GL_BLEND_COLOR 0x8005
362#define GL_FUNC_SUBTRACT 0x800A651#define GL_BLEND_EQUATION 0x8009
363#define GL_FUNC_REVERSE_SUBTRACT 0x800B
364#define GL_MIN 0x8007
365#define GL_MAX 0x8008
366#define GL_CONSTANT_COLOR 0x8001652#define GL_CONSTANT_COLOR 0x8001
367#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002653#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
368#define GL_CONSTANT_ALPHA 0x8003654#define GL_CONSTANT_ALPHA 0x8003
369#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004655#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
656#define GL_FUNC_ADD 0x8006
657#define GL_FUNC_REVERSE_SUBTRACT 0x800B
658#define GL_FUNC_SUBTRACT 0x800A
659#define GL_MIN 0x8007
660#define GL_MAX 0x8008
370typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);661typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
371typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);662typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
372typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);663typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
@@ -467,14 +758,8 @@ GLAPI void APIENTRY glBlendEquation (GLenum mode); · 94 unmodified lines
467 758
468#ifndef GL_VERSION_1_5759#ifndef GL_VERSION_1_5
469#define GL_VERSION_1_5 1760#define GL_VERSION_1_5 1
470#include <stddef.h>761typedef khronos_ssize_t GLsizeiptr;
471#ifdef __MACOSX__762typedef khronos_intptr_t GLintptr;
472typedef long GLsizeiptr;
473typedef long GLintptr;
474#else
475typedef ptrdiff_t GLsizeiptr;
476typedef ptrdiff_t GLintptr;
477#endif
478#define GL_BUFFER_SIZE 0x8764763#define GL_BUFFER_SIZE 0x8764
479#define GL_BUFFER_USAGE 0x8765764#define GL_BUFFER_USAGE 0x8765
480#define GL_QUERY_COUNTER_BITS 0x8864765#define GL_QUERY_COUNTER_BITS 0x8864
@@ -887,7 +1172,7 @@ GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboole · 406 unmodified lines
887 1172
888#ifndef GL_VERSION_3_01173#ifndef GL_VERSION_3_0
889#define GL_VERSION_3_0 11174#define GL_VERSION_3_0 1
890typedef unsigned short GLhalf;1175typedef khronos_uint16_t GLhalf;
891#define GL_COMPARE_REF_TO_TEXTURE 0x884E1176#define GL_COMPARE_REF_TO_TEXTURE 0x884E
892#define GL_CLIP_DISTANCE0 0x30001177#define GL_CLIP_DISTANCE0 0x3000
893#define GL_CLIP_DISTANCE1 0x30011178#define GL_CLIP_DISTANCE1 0x3001
@@ -1049,6 +1334,22 @@ typedef unsigned short GLhalf; · 155 unmodified lines
1049#define GL_COLOR_ATTACHMENT13 0x8CED1334#define GL_COLOR_ATTACHMENT13 0x8CED
1050#define GL_COLOR_ATTACHMENT14 0x8CEE1335#define GL_COLOR_ATTACHMENT14 0x8CEE
1051#define GL_COLOR_ATTACHMENT15 0x8CEF1336#define GL_COLOR_ATTACHMENT15 0x8CEF
1337#define GL_COLOR_ATTACHMENT16 0x8CF0
1338#define GL_COLOR_ATTACHMENT17 0x8CF1
1339#define GL_COLOR_ATTACHMENT18 0x8CF2
1340#define GL_COLOR_ATTACHMENT19 0x8CF3
1341#define GL_COLOR_ATTACHMENT20 0x8CF4
1342#define GL_COLOR_ATTACHMENT21 0x8CF5
1343#define GL_COLOR_ATTACHMENT22 0x8CF6
1344#define GL_COLOR_ATTACHMENT23 0x8CF7
1345#define GL_COLOR_ATTACHMENT24 0x8CF8
1346#define GL_COLOR_ATTACHMENT25 0x8CF9
1347#define GL_COLOR_ATTACHMENT26 0x8CFA
1348#define GL_COLOR_ATTACHMENT27 0x8CFB
1349#define GL_COLOR_ATTACHMENT28 0x8CFC
1350#define GL_COLOR_ATTACHMENT29 0x8CFD
1351#define GL_COLOR_ATTACHMENT30 0x8CFE
1352#define GL_COLOR_ATTACHMENT31 0x8CFF
1052#define GL_DEPTH_ATTACHMENT 0x8D001353#define GL_DEPTH_ATTACHMENT 0x8D00
1053#define GL_STENCIL_ATTACHMENT 0x8D201354#define GL_STENCIL_ATTACHMENT 0x8D20
1054#define GL_FRAMEBUFFER 0x8D401355#define GL_FRAMEBUFFER 0x8D40
@@ -1316,11 +1617,13 @@ GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); · 261 unmodified lines
1316#define GL_UNIFORM_BUFFER_START 0x8A291617#define GL_UNIFORM_BUFFER_START 0x8A29
1317#define GL_UNIFORM_BUFFER_SIZE 0x8A2A1618#define GL_UNIFORM_BUFFER_SIZE 0x8A2A
1318#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B1619#define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
1620#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
1319#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D1621#define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
1320#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E1622#define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
1321#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F1623#define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
1322#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A301624#define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
1323#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A311625#define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
1626#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
1324#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A331627#define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
1325#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A341628#define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
1326#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A351629#define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
@@ -1339,6 +1642,7 @@ GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array); · 12 unmodified lines
1339#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A421642#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
1340#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A431643#define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
1341#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A441644#define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
1645#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
1342#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A461646#define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
1343#define GL_INVALID_INDEX 0xFFFFFFFFu1647#define GL_INVALID_INDEX 0xFFFFFFFFu
1344typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);1648typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
@@ -1372,45 +1676,8 @@ GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIn · 27 unmodified lines
1372#ifndef GL_VERSION_3_21676#ifndef GL_VERSION_3_2
1373#define GL_VERSION_3_2 11677#define GL_VERSION_3_2 1
1374typedef struct __GLsync *GLsync;1678typedef struct __GLsync *GLsync;
1375#ifndef GLEXT_64_TYPES_DEFINED1679typedef khronos_uint64_t GLuint64;
1376/* This code block is duplicated in glxext.h, so must be protected */1680typedef khronos_int64_t GLint64;
1377#define GLEXT_64_TYPES_DEFINED
1378/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
1379/* (as used in the GL_EXT_timer_query extension). */
1380#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
1381#include <inttypes.h>
1382#elif defined(__sun__) || defined(__digital__)
1383#include <inttypes.h>
1384#if defined(__STDC__)
1385#if defined(__arch64__) || defined(_LP64)
1386typedef long int int64_t;
1387typedef unsigned long int uint64_t;
1388#else
1389typedef long long int int64_t;
1390typedef unsigned long long int uint64_t;
1391#endif /* __arch64__ */
1392#endif /* __STDC__ */
1393#elif defined( __VMS ) || defined(__sgi)
1394#include <inttypes.h>
1395#elif defined(__SCO__) || defined(__USLC__)
1396#include <stdint.h>
1397#elif defined(__UNIXOS2__) || defined(__SOL64__)
1398typedef long int int32_t;
1399typedef long long int int64_t;
1400typedef unsigned long long int uint64_t;
1401#elif defined(_WIN32) && defined(__GNUC__)
1402#include <stdint.h>
1403#elif defined(_WIN32)
1404typedef __int32 int32_t;
1405typedef __int64 int64_t;
1406typedef unsigned __int64 uint64_t;
1407#else
1408/* Fallback if nothing above works */
1409#include <inttypes.h>
1410#endif
1411#endif
1412typedef uint64_t GLuint64;
1413typedef int64_t GLint64;
1414#define GL_CONTEXT_CORE_PROFILE_BIT 0x000000011681#define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
1415#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x000000021682#define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
1416#define GL_LINES_ADJACENCY 0x000A1683#define GL_LINES_ADJACENCY 0x000A
@@ -1486,7 +1753,7 @@ typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync); · 69 unmodified lines
1486typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);1753typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1487typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);1754typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1488typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);1755typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
1489typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);1756typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1490typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);1757typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
1491typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);1758typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
1492typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);1759typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
@@ -1506,7 +1773,7 @@ GLAPI void APIENTRY glDeleteSync (GLsync sync); · 13 unmodified lines
1506GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);1773GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1507GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);1774GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
1508GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);1775GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
1509GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);1776GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1510GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);1777GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
1511GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);1778GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
1512GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);1779GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
@@ -1762,8 +2029,8 @@ typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, · 249 unmodified lines
1762typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);2029typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1763typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);2030typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
1764typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);2031typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1765typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);2032typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1766typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);2033typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1767typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);2034typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
1768typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);2035typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
1769typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);2036typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
@@ -1809,8 +2076,8 @@ GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *pa · 39 unmodified lines
1809GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);2076GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
1810GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);2077GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
1811GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);2078GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
1812GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);2079GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1813GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);2080GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
1814GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);2081GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
1815GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);2082GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
1816GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);2083GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
@@ -1868,7 +2135,7 @@ GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pna · 51 unmodified lines
1868#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F2135#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
1869#define GL_UNDEFINED_VERTEX 0x82602136#define GL_UNDEFINED_VERTEX 0x8260
1870typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);2137typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
1871typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);2138typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1872typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);2139typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1873typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);2140typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
1874typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);2141typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
@@ -1957,7 +2224,7 @@ typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfl · 82 unmodified lines
1957typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);2224typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
1958#ifdef GL_GLEXT_PROTOTYPES2225#ifdef GL_GLEXT_PROTOTYPES
1959GLAPI void APIENTRY glReleaseShaderCompiler (void);2226GLAPI void APIENTRY glReleaseShaderCompiler (void);
1960GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);2227GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
1961GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);2228GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
1962GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);2229GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
1963GLAPI void APIENTRY glClearDepthf (GLfloat d);2230GLAPI void APIENTRY glClearDepthf (GLfloat d);
@@ -2049,6 +2316,10 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data) · 85 unmodified lines
2049 2316
2050#ifndef GL_VERSION_4_22317#ifndef GL_VERSION_4_2
2051#define GL_VERSION_4_2 12318#define GL_VERSION_4_2 1
2319#define GL_COPY_READ_BUFFER_BINDING 0x8F36
2320#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2321#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
2322#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
2052#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x91272323#define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
2053#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x91282324#define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
2054#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x91292325#define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
@@ -2160,7 +2431,7 @@ GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data) · 105 unmodified lines
2160typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);2431typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2161typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);2432typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2162typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);2433typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2163typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);2434typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2164typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);2435typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2165typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);2436typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2166typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);2437typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
@@ -2173,7 +2444,7 @@ typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum m · 6 unmodified lines
2173GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);2444GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
2174GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);2445GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
2175GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);2446GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
2176GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);2447GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint *params);
2177GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);2448GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
2178GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);2449GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2179GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);2450GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
@@ -2220,6 +2491,7 @@ typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum · 40 unmodified lines
2220#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED2491#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
2221#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE2492#define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
2222#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF2493#define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
2494#define GL_COMPUTE_SHADER_BIT 0x00000020
2223#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x82422495#define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
2224#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x82432496#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
2225#define GL_DEBUG_CALLBACK_FUNCTION 0x82442497#define GL_DEBUG_CALLBACK_FUNCTION 0x8244
@@ -2453,7 +2725,7 @@ typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect); · 227 unmodified lines
2453typedef 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);2725typedef 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);
2454typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);2726typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
2455typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);2727typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
2456typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);2728typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2457typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);2729typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2458typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);2730typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
2459typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);2731typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
@@ -2465,7 +2737,7 @@ typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum · 5 unmodified lines
2465typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);2737typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2466typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);2738typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2467typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);2739typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2468typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);2740typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2469typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);2741typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2470typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);2742typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
2471typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);2743typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
@@ -2497,7 +2769,7 @@ GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect); · 25 unmodified lines
2497GLAPI 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);2769GLAPI 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);
2498GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);2770GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
2499GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);2771GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
2500GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);2772GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei count, GLint64 *params);
2501GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);2773GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
2502GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);2774GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
2503GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);2775GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
@@ -2509,7 +2781,7 @@ GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const · 5 unmodified lines
2509GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);2781GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
2510GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);2782GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
2511GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);2783GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
2512GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);2784GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLint *params);
2513GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);2785GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
2514GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);2786GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
2515GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);2787GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
@@ -2579,10 +2851,345 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui · 63 unmodified lines
2579#endif2851#endif
2580#endif /* GL_VERSION_4_4 */2852#endif /* GL_VERSION_4_4 */
2581 2853
2854#ifndef GL_VERSION_4_5
2855#define GL_VERSION_4_5 1
2856#define GL_CONTEXT_LOST 0x0507
2857#define GL_NEGATIVE_ONE_TO_ONE 0x935E
2858#define GL_ZERO_TO_ONE 0x935F
2859#define GL_CLIP_ORIGIN 0x935C
2860#define GL_CLIP_DEPTH_MODE 0x935D
2861#define GL_QUERY_WAIT_INVERTED 0x8E17
2862#define GL_QUERY_NO_WAIT_INVERTED 0x8E18
2863#define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
2864#define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
2865#define GL_MAX_CULL_DISTANCES 0x82F9
2866#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
2867#define GL_TEXTURE_TARGET 0x1006
2868#define GL_QUERY_TARGET 0x82EA
2869#define GL_GUILTY_CONTEXT_RESET 0x8253
2870#define GL_INNOCENT_CONTEXT_RESET 0x8254
2871#define GL_UNKNOWN_CONTEXT_RESET 0x8255
2872#define GL_RESET_NOTIFICATION_STRATEGY 0x8256
2873#define GL_LOSE_CONTEXT_ON_RESET 0x8252
2874#define GL_NO_RESET_NOTIFICATION 0x8261
2875#define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
2876#define GL_COLOR_TABLE 0x80D0
2877#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
2878#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
2879#define GL_PROXY_COLOR_TABLE 0x80D3
2880#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
2881#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
2882#define GL_CONVOLUTION_1D 0x8010
2883#define GL_CONVOLUTION_2D 0x8011
2884#define GL_SEPARABLE_2D 0x8012
2885#define GL_HISTOGRAM 0x8024
2886#define GL_PROXY_HISTOGRAM 0x8025
2887#define GL_MINMAX 0x802E
2888#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2889#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2890typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
2891typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
2892typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
2893typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
2894typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
2895typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
2896typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
2897typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
2898typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
2899typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
2900typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
2901typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2902typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
2903typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
2904typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
2905typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
2906typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
2907typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
2908typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
2909typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
2910typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
2911typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
2912typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
2913typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
2914typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
2915typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
2916typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
2917typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2918typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
2919typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
2920typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
2921typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
2922typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
2923typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
2924typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
2925typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
2926typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
2927typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
2928typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
2929typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
2930typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
2931typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
2932typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2933typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
2934typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
2935typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
2936typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2937typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
2938typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2939typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2940typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
2941typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
2942typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
2943typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
2944typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
2945typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
2946typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
2947typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
2948typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
2949typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2950typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
2951typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
2952typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
2953typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
2954typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
2955typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
2956typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
2957typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
2958typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
2959typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2960typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
2961typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
2962typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
2963typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
2964typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
2965typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
2966typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
2967typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
2968typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2969typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
2970typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
2971typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
2972typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
2973typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
2974typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
2975typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2976typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
2977typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
2978typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
2979typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
2980typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
2981typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
2982typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
2983typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
2984typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2985typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2986typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2987typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
2988typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
2989typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2990typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
2991typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
2992typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
2993typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
2994typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
2995typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
2996typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
2997typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
2998typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
2999typedef void (APIENTRYP PFNGLGETNMAPDVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3000typedef void (APIENTRYP PFNGLGETNMAPFVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3001typedef void (APIENTRYP PFNGLGETNMAPIVPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3002typedef void (APIENTRYP PFNGLGETNPIXELMAPFVPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
3003typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVPROC) (GLenum map, GLsizei bufSize, GLuint *values);
3004typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVPROC) (GLenum map, GLsizei bufSize, GLushort *values);
3005typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEPROC) (GLsizei bufSize, GLubyte *pattern);
3006typedef void (APIENTRYP PFNGLGETNCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3007typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3008typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3009typedef void (APIENTRYP PFNGLGETNHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3010typedef void (APIENTRYP PFNGLGETNMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3011typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
3012#ifdef GL_GLEXT_PROTOTYPES
3013GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
3014GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
3015GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
3016GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
3017GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
3018GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
3019GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
3020GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
3021GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
3022GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
3023GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
3024GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
3025GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
3026GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
3027GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
3028GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
3029GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
3030GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
3031GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
3032GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
3033GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
3034GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
3035GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
3036GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
3037GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
3038GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
3039GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
3040GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
3041GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
3042GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
3043GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
3044GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
3045GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
3046GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
3047GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
3048GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
3049GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
3050GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
3051GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
3052GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
3053GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
3054GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
3055GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
3056GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
3057GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
3058GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
3059GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
3060GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
3061GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
3062GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
3063GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
3064GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
3065GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
3066GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
3067GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
3068GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
3069GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
3070GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
3071GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
3072GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3073GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
3074GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
3075GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
3076GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
3077GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
3078GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
3079GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
3080GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
3081GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
3082GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
3083GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
3084GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
3085GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
3086GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
3087GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
3088GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
3089GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
3090GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
3091GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
3092GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
3093GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
3094GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
3095GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
3096GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
3097GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
3098GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
3099GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
3100GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
3101GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
3102GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
3103GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
3104GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
3105GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
3106GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
3107GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3108GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3109GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3110GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
3111GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
3112GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
3113GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
3114GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
3115GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
3116GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
3117GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
3118GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
3119GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
3120GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
3121GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
3122GLAPI void APIENTRY glGetnMapdv (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
3123GLAPI void APIENTRY glGetnMapfv (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
3124GLAPI void APIENTRY glGetnMapiv (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
3125GLAPI void APIENTRY glGetnPixelMapfv (GLenum map, GLsizei bufSize, GLfloat *values);
3126GLAPI void APIENTRY glGetnPixelMapuiv (GLenum map, GLsizei bufSize, GLuint *values);
3127GLAPI void APIENTRY glGetnPixelMapusv (GLenum map, GLsizei bufSize, GLushort *values);
3128GLAPI void APIENTRY glGetnPolygonStipple (GLsizei bufSize, GLubyte *pattern);
3129GLAPI void APIENTRY glGetnColorTable (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *table);
3130GLAPI void APIENTRY glGetnConvolutionFilter (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void *image);
3131GLAPI void APIENTRY glGetnSeparableFilter (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void *row, GLsizei columnBufSize, void *column, void *span);
3132GLAPI void APIENTRY glGetnHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3133GLAPI void APIENTRY glGetnMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void *values);
3134GLAPI void APIENTRY glTextureBarrier (void);
3135#endif
3136#endif /* GL_VERSION_4_5 */
3137
3138#ifndef GL_VERSION_4_6
3139#define GL_VERSION_4_6 1
3140#define GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
3141#define GL_SPIR_V_BINARY 0x9552
3142#define GL_PARAMETER_BUFFER 0x80EE
3143#define GL_PARAMETER_BUFFER_BINDING 0x80EF
3144#define GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
3145#define GL_VERTICES_SUBMITTED 0x82EE
3146#define GL_PRIMITIVES_SUBMITTED 0x82EF
3147#define GL_VERTEX_SHADER_INVOCATIONS 0x82F0
3148#define GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
3149#define GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
3150#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
3151#define GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
3152#define GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
3153#define GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
3154#define GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
3155#define GL_POLYGON_OFFSET_CLAMP 0x8E1B
3156#define GL_SPIR_V_EXTENSIONS 0x9553
3157#define GL_NUM_SPIR_V_EXTENSIONS 0x9554
3158#define GL_TEXTURE_MAX_ANISOTROPY 0x84FE
3159#define GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
3160#define GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
3161#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
3162typedef void (APIENTRYP PFNGLSPECIALIZESHADERPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3163typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3164typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3165typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
3166#ifdef GL_GLEXT_PROTOTYPES
3167GLAPI void APIENTRY glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3168GLAPI void APIENTRY glMultiDrawArraysIndirectCount (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3169GLAPI void APIENTRY glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3170GLAPI void APIENTRY glPolygonOffsetClamp (GLfloat factor, GLfloat units, GLfloat clamp);
3171#endif
3172#endif /* GL_VERSION_4_6 */
3173
2582#ifndef GL_ARB_ES2_compatibility3174#ifndef GL_ARB_ES2_compatibility
2583#define GL_ARB_ES2_compatibility 13175#define GL_ARB_ES2_compatibility 1
2584#endif /* GL_ARB_ES2_compatibility */3176#endif /* GL_ARB_ES2_compatibility */
2585 3177
3178#ifndef GL_ARB_ES3_1_compatibility
3179#define GL_ARB_ES3_1_compatibility 1
3180#endif /* GL_ARB_ES3_1_compatibility */
3181
3182#ifndef GL_ARB_ES3_2_compatibility
3183#define GL_ARB_ES3_2_compatibility 1
3184#define GL_PRIMITIVE_BOUNDING_BOX_ARB 0x92BE
3185#define GL_MULTISAMPLE_LINE_WIDTH_RANGE_ARB 0x9381
3186#define GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY_ARB 0x9382
3187typedef void (APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXARBPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
3188#ifdef GL_GLEXT_PROTOTYPES
3189GLAPI void APIENTRY glPrimitiveBoundingBoxARB (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
3190#endif
3191#endif /* GL_ARB_ES3_2_compatibility */
3192
2586#ifndef GL_ARB_ES3_compatibility3193#ifndef GL_ARB_ES3_compatibility
2587#define GL_ARB_ES3_compatibility 13194#define GL_ARB_ES3_compatibility 1
2588#endif /* GL_ARB_ES3_compatibility */3195#endif /* GL_ARB_ES3_compatibility */
@@ -2597,7 +3204,7 @@ GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLui · 8 unmodified lines
2597 3204
2598#ifndef GL_ARB_bindless_texture3205#ifndef GL_ARB_bindless_texture
2599#define GL_ARB_bindless_texture 13206#define GL_ARB_bindless_texture 1
2600typedef uint64_t GLuint64EXT;3207typedef khronos_uint64_t GLuint64EXT;
2601#define GL_UNSIGNED_INT64_ARB 0x140F3208#define GL_UNSIGNED_INT64_ARB 0x140F
2602typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);3209typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
2603typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);3210typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
@@ -2663,6 +3270,10 @@ GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, s · 59 unmodified lines
2663#define GL_ARB_clear_texture 13270#define GL_ARB_clear_texture 1
2664#endif /* GL_ARB_clear_texture */3271#endif /* GL_ARB_clear_texture */
2665 3272
3273#ifndef GL_ARB_clip_control
3274#define GL_ARB_clip_control 1
3275#endif /* GL_ARB_clip_control */
3276
2666#ifndef GL_ARB_color_buffer_float3277#ifndef GL_ARB_color_buffer_float
2667#define GL_ARB_color_buffer_float 13278#define GL_ARB_color_buffer_float 1
2668#define GL_RGBA_FLOAT_MODE_ARB 0x88203279#define GL_RGBA_FLOAT_MODE_ARB 0x8820
@@ -2686,7 +3297,6 @@ GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp); · 17 unmodified lines
2686 3297
2687#ifndef GL_ARB_compute_shader3298#ifndef GL_ARB_compute_shader
2688#define GL_ARB_compute_shader 13299#define GL_ARB_compute_shader 1
2689#define GL_COMPUTE_SHADER_BIT 0x00000020
2690#endif /* GL_ARB_compute_shader */3300#endif /* GL_ARB_compute_shader */
2691 3301
2692#ifndef GL_ARB_compute_variable_group_size3302#ifndef GL_ARB_compute_variable_group_size
@@ -2701,20 +3311,26 @@ GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint n · 8 unmodified lines
2701#endif3311#endif
2702#endif /* GL_ARB_compute_variable_group_size */3312#endif /* GL_ARB_compute_variable_group_size */
2703 3313
3314#ifndef GL_ARB_conditional_render_inverted
3315#define GL_ARB_conditional_render_inverted 1
3316#endif /* GL_ARB_conditional_render_inverted */
3317
2704#ifndef GL_ARB_conservative_depth3318#ifndef GL_ARB_conservative_depth
2705#define GL_ARB_conservative_depth 13319#define GL_ARB_conservative_depth 1
2706#endif /* GL_ARB_conservative_depth */3320#endif /* GL_ARB_conservative_depth */
2707 3321
2708#ifndef GL_ARB_copy_buffer3322#ifndef GL_ARB_copy_buffer
2709#define GL_ARB_copy_buffer 13323#define GL_ARB_copy_buffer 1
2710#define GL_COPY_READ_BUFFER_BINDING 0x8F36
2711#define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
2712#endif /* GL_ARB_copy_buffer */3324#endif /* GL_ARB_copy_buffer */
2713 3325
2714#ifndef GL_ARB_copy_image3326#ifndef GL_ARB_copy_image
2715#define GL_ARB_copy_image 13327#define GL_ARB_copy_image 1
2716#endif /* GL_ARB_copy_image */3328#endif /* GL_ARB_copy_image */
2717 3329
3330#ifndef GL_ARB_cull_distance
3331#define GL_ARB_cull_distance 1
3332#endif /* GL_ARB_cull_distance */
3333
2718#ifndef GL_ARB_debug_output3334#ifndef GL_ARB_debug_output
2719#define GL_ARB_debug_output 13335#define GL_ARB_debug_output 1
2720typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);3336typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
@@ -2769,6 +3385,14 @@ GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GL · 48 unmodified lines
2769#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B3385#define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
2770#endif /* GL_ARB_depth_texture */3386#endif /* GL_ARB_depth_texture */
2771 3387
3388#ifndef GL_ARB_derivative_control
3389#define GL_ARB_derivative_control 1
3390#endif /* GL_ARB_derivative_control */
3391
3392#ifndef GL_ARB_direct_state_access
3393#define GL_ARB_direct_state_access 1
3394#endif /* GL_ARB_direct_state_access */
3395
2772#ifndef GL_ARB_draw_buffers3396#ifndef GL_ARB_draw_buffers
2773#define GL_ARB_draw_buffers 13397#define GL_ARB_draw_buffers 1
2774#define GL_MAX_DRAW_BUFFERS_ARB 0x88243398#define GL_MAX_DRAW_BUFFERS_ARB 0x8824
@@ -2979,6 +3603,10 @@ GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program); · 204 unmodified lines
2979#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B3603#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
2980#endif /* GL_ARB_fragment_shader */3604#endif /* GL_ARB_fragment_shader */
2981 3605
3606#ifndef GL_ARB_fragment_shader_interlock
3607#define GL_ARB_fragment_shader_interlock 1
3608#endif /* GL_ARB_fragment_shader_interlock */
3609
2982#ifndef GL_ARB_framebuffer_no_attachments3610#ifndef GL_ARB_framebuffer_no_attachments
2983#define GL_ARB_framebuffer_no_attachments 13611#define GL_ARB_framebuffer_no_attachments 1
2984#endif /* GL_ARB_framebuffer_no_attachments */3612#endif /* GL_ARB_framebuffer_no_attachments */
@@ -2991,11 +3619,6 @@ GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program); · 6 unmodified lines
2991#define GL_ARB_framebuffer_sRGB 13619#define GL_ARB_framebuffer_sRGB 1
2992#endif /* GL_ARB_framebuffer_sRGB */3620#endif /* GL_ARB_framebuffer_sRGB */
2993 3621
2994#ifndef GL_KHR_context_flush_control
2995#define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
2996#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
2997#endif /* GL_KHR_context_flush_control */
2998
2999#ifndef GL_ARB_geometry_shader43622#ifndef GL_ARB_geometry_shader4
3000#define GL_ARB_geometry_shader4 13623#define GL_ARB_geometry_shader4 1
3001#define GL_LINES_ADJACENCY_ARB 0x000A3624#define GL_LINES_ADJACENCY_ARB 0x000A
@@ -3032,6 +3655,20 @@ GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachmen · 30 unmodified lines
3032#define GL_ARB_get_program_binary 13655#define GL_ARB_get_program_binary 1
3033#endif /* GL_ARB_get_program_binary */3656#endif /* GL_ARB_get_program_binary */
3034 3657
3658#ifndef GL_ARB_get_texture_sub_image
3659#define GL_ARB_get_texture_sub_image 1
3660#endif /* GL_ARB_get_texture_sub_image */
3661
3662#ifndef GL_ARB_gl_spirv
3663#define GL_ARB_gl_spirv 1
3664#define GL_SHADER_BINARY_FORMAT_SPIR_V_ARB 0x9551
3665#define GL_SPIR_V_BINARY_ARB 0x9552
3666typedef void (APIENTRYP PFNGLSPECIALIZESHADERARBPROC) (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3667#ifdef GL_GLEXT_PROTOTYPES
3668GLAPI void APIENTRY glSpecializeShaderARB (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue);
3669#endif
3670#endif /* GL_ARB_gl_spirv */
3671
3035#ifndef GL_ARB_gpu_shader53672#ifndef GL_ARB_gpu_shader5
3036#define GL_ARB_gpu_shader5 13673#define GL_ARB_gpu_shader5 1
3037#endif /* GL_ARB_gpu_shader5 */3674#endif /* GL_ARB_gpu_shader5 */
@@ -3040,9 +3677,94 @@ GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachmen · 2 unmodified lines
3040#define GL_ARB_gpu_shader_fp64 13677#define GL_ARB_gpu_shader_fp64 1
3041#endif /* GL_ARB_gpu_shader_fp64 */3678#endif /* GL_ARB_gpu_shader_fp64 */
3042 3679
3680#ifndef GL_ARB_gpu_shader_int64
3681#define GL_ARB_gpu_shader_int64 1
3682#define GL_INT64_ARB 0x140E
3683#define GL_INT64_VEC2_ARB 0x8FE9
3684#define GL_INT64_VEC3_ARB 0x8FEA
3685#define GL_INT64_VEC4_ARB 0x8FEB
3686#define GL_UNSIGNED_INT64_VEC2_ARB 0x8FF5
3687#define GL_UNSIGNED_INT64_VEC3_ARB 0x8FF6
3688#define GL_UNSIGNED_INT64_VEC4_ARB 0x8FF7
3689typedef void (APIENTRYP PFNGLUNIFORM1I64ARBPROC) (GLint location, GLint64 x);
3690typedef void (APIENTRYP PFNGLUNIFORM2I64ARBPROC) (GLint location, GLint64 x, GLint64 y);
3691typedef void (APIENTRYP PFNGLUNIFORM3I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z);
3692typedef void (APIENTRYP PFNGLUNIFORM4I64ARBPROC) (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3693typedef void (APIENTRYP PFNGLUNIFORM1I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3694typedef void (APIENTRYP PFNGLUNIFORM2I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3695typedef void (APIENTRYP PFNGLUNIFORM3I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3696typedef void (APIENTRYP PFNGLUNIFORM4I64VARBPROC) (GLint location, GLsizei count, const GLint64 *value);
3697typedef void (APIENTRYP PFNGLUNIFORM1UI64ARBPROC) (GLint location, GLuint64 x);
3698typedef void (APIENTRYP PFNGLUNIFORM2UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y);
3699typedef void (APIENTRYP PFNGLUNIFORM3UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3700typedef void (APIENTRYP PFNGLUNIFORM4UI64ARBPROC) (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3701typedef void (APIENTRYP PFNGLUNIFORM1UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3702typedef void (APIENTRYP PFNGLUNIFORM2UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3703typedef void (APIENTRYP PFNGLUNIFORM3UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3704typedef void (APIENTRYP PFNGLUNIFORM4UI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
3705typedef void (APIENTRYP PFNGLGETUNIFORMI64VARBPROC) (GLuint program, GLint location, GLint64 *params);
3706typedef void (APIENTRYP PFNGLGETUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLuint64 *params);
3707typedef void (APIENTRYP PFNGLGETNUNIFORMI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3708typedef void (APIENTRYP PFNGLGETNUNIFORMUI64VARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3709typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64ARBPROC) (GLuint program, GLint location, GLint64 x);
3710typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y);
3711typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3712typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64ARBPROC) (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3713typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3714typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3715typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3716typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3717typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64ARBPROC) (GLuint program, GLint location, GLuint64 x);
3718typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3719typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3720typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64ARBPROC) (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3721typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3722typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3723typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3724typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3725#ifdef GL_GLEXT_PROTOTYPES
3726GLAPI void APIENTRY glUniform1i64ARB (GLint location, GLint64 x);
3727GLAPI void APIENTRY glUniform2i64ARB (GLint location, GLint64 x, GLint64 y);
3728GLAPI void APIENTRY glUniform3i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z);
3729GLAPI void APIENTRY glUniform4i64ARB (GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3730GLAPI void APIENTRY glUniform1i64vARB (GLint location, GLsizei count, const GLint64 *value);
3731GLAPI void APIENTRY glUniform2i64vARB (GLint location, GLsizei count, const GLint64 *value);
3732GLAPI void APIENTRY glUniform3i64vARB (GLint location, GLsizei count, const GLint64 *value);
3733GLAPI void APIENTRY glUniform4i64vARB (GLint location, GLsizei count, const GLint64 *value);
3734GLAPI void APIENTRY glUniform1ui64ARB (GLint location, GLuint64 x);
3735GLAPI void APIENTRY glUniform2ui64ARB (GLint location, GLuint64 x, GLuint64 y);
3736GLAPI void APIENTRY glUniform3ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3737GLAPI void APIENTRY glUniform4ui64ARB (GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3738GLAPI void APIENTRY glUniform1ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3739GLAPI void APIENTRY glUniform2ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3740GLAPI void APIENTRY glUniform3ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3741GLAPI void APIENTRY glUniform4ui64vARB (GLint location, GLsizei count, const GLuint64 *value);
3742GLAPI void APIENTRY glGetUniformi64vARB (GLuint program, GLint location, GLint64 *params);
3743GLAPI void APIENTRY glGetUniformui64vARB (GLuint program, GLint location, GLuint64 *params);
3744GLAPI void APIENTRY glGetnUniformi64vARB (GLuint program, GLint location, GLsizei bufSize, GLint64 *params);
3745GLAPI void APIENTRY glGetnUniformui64vARB (GLuint program, GLint location, GLsizei bufSize, GLuint64 *params);
3746GLAPI void APIENTRY glProgramUniform1i64ARB (GLuint program, GLint location, GLint64 x);
3747GLAPI void APIENTRY glProgramUniform2i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y);
3748GLAPI void APIENTRY glProgramUniform3i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z);
3749GLAPI void APIENTRY glProgramUniform4i64ARB (GLuint program, GLint location, GLint64 x, GLint64 y, GLint64 z, GLint64 w);
3750GLAPI void APIENTRY glProgramUniform1i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3751GLAPI void APIENTRY glProgramUniform2i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3752GLAPI void APIENTRY glProgramUniform3i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3753GLAPI void APIENTRY glProgramUniform4i64vARB (GLuint program, GLint location, GLsizei count, const GLint64 *value);
3754GLAPI void APIENTRY glProgramUniform1ui64ARB (GLuint program, GLint location, GLuint64 x);
3755GLAPI void APIENTRY glProgramUniform2ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y);
3756GLAPI void APIENTRY glProgramUniform3ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z);
3757GLAPI void APIENTRY glProgramUniform4ui64ARB (GLuint program, GLint location, GLuint64 x, GLuint64 y, GLuint64 z, GLuint64 w);
3758GLAPI void APIENTRY glProgramUniform1ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3759GLAPI void APIENTRY glProgramUniform2ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3760GLAPI void APIENTRY glProgramUniform3ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3761GLAPI void APIENTRY glProgramUniform4ui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *value);
3762#endif
3763#endif /* GL_ARB_gpu_shader_int64 */
3764
3043#ifndef GL_ARB_half_float_pixel3765#ifndef GL_ARB_half_float_pixel
3044#define GL_ARB_half_float_pixel 13766#define GL_ARB_half_float_pixel 1
3045typedef unsigned short GLhalfARB;3767typedef khronos_uint16_t GLhalfARB;
3046#define GL_HALF_FLOAT_ARB 0x140B3768#define GL_HALF_FLOAT_ARB 0x140B
3047#endif /* GL_ARB_half_float_pixel */3769#endif /* GL_ARB_half_float_pixel */
3048 3770
@@ -3052,11 +3774,6 @@ typedef unsigned short GLhalfARB; · 3 unmodified lines
3052 3774
3053#ifndef GL_ARB_imaging3775#ifndef GL_ARB_imaging
3054#define GL_ARB_imaging 13776#define GL_ARB_imaging 1
3055#define GL_BLEND_COLOR 0x8005
3056#define GL_BLEND_EQUATION 0x8009
3057#define GL_CONVOLUTION_1D 0x8010
3058#define GL_CONVOLUTION_2D 0x8011
3059#define GL_SEPARABLE_2D 0x8012
3060#define GL_CONVOLUTION_BORDER_MODE 0x80133777#define GL_CONVOLUTION_BORDER_MODE 0x8013
3061#define GL_CONVOLUTION_FILTER_SCALE 0x80143778#define GL_CONVOLUTION_FILTER_SCALE 0x8014
3062#define GL_CONVOLUTION_FILTER_BIAS 0x80153779#define GL_CONVOLUTION_FILTER_BIAS 0x8015
@@ -3074,8 +3791,6 @@ typedef unsigned short GLhalfARB; · 11 unmodified lines
3074#define GL_POST_CONVOLUTION_GREEN_BIAS 0x80213791#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
3075#define GL_POST_CONVOLUTION_BLUE_BIAS 0x80223792#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
3076#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x80233793#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
3077#define GL_HISTOGRAM 0x8024
3078#define GL_PROXY_HISTOGRAM 0x8025
3079#define GL_HISTOGRAM_WIDTH 0x80263794#define GL_HISTOGRAM_WIDTH 0x8026
3080#define GL_HISTOGRAM_FORMAT 0x80273795#define GL_HISTOGRAM_FORMAT 0x8027
3081#define GL_HISTOGRAM_RED_SIZE 0x80283796#define GL_HISTOGRAM_RED_SIZE 0x8028
@@ -3084,7 +3799,6 @@ typedef unsigned short GLhalfARB; · 2 unmodified lines
3084#define GL_HISTOGRAM_ALPHA_SIZE 0x802B3799#define GL_HISTOGRAM_ALPHA_SIZE 0x802B
3085#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C3800#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
3086#define GL_HISTOGRAM_SINK 0x802D3801#define GL_HISTOGRAM_SINK 0x802D
3087#define GL_MINMAX 0x802E
3088#define GL_MINMAX_FORMAT 0x802F3802#define GL_MINMAX_FORMAT 0x802F
3089#define GL_MINMAX_SINK 0x80303803#define GL_MINMAX_SINK 0x8030
3090#define GL_TABLE_TOO_LARGE 0x80313804#define GL_TABLE_TOO_LARGE 0x8031
@@ -3099,12 +3813,6 @@ typedef unsigned short GLhalfARB; · 8 unmodified lines
3099#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B93813#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
3100#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA3814#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
3101#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB3815#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
3102#define GL_COLOR_TABLE 0x80D0
3103#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
3104#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
3105#define GL_PROXY_COLOR_TABLE 0x80D3
3106#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
3107#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
3108#define GL_COLOR_TABLE_SCALE 0x80D63816#define GL_COLOR_TABLE_SCALE 0x80D6
3109#define GL_COLOR_TABLE_BIAS 0x80D73817#define GL_COLOR_TABLE_BIAS 0x80D7
3110#define GL_COLOR_TABLE_FORMAT 0x80D83818#define GL_COLOR_TABLE_FORMAT 0x80D8
@@ -3190,11 +3898,11 @@ GLAPI void APIENTRY glResetMinmax (GLenum target); · 79 unmodified lines
3190#define GL_ARB_indirect_parameters 13898#define GL_ARB_indirect_parameters 1
3191#define GL_PARAMETER_BUFFER_ARB 0x80EE3899#define GL_PARAMETER_BUFFER_ARB 0x80EE
3192#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF3900#define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
3193typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);3901typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3194typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);3902typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3195#ifdef GL_GLEXT_PROTOTYPES3903#ifdef GL_GLEXT_PROTOTYPES
3196GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);3904GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3197GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);3905GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, const void *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3198#endif3906#endif
3199#endif /* GL_ARB_indirect_parameters */3907#endif /* GL_ARB_indirect_parameters */
3200 3908
@@ -3214,6 +3922,25 @@ GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor); · 13 unmodified lines
3214#ifndef GL_ARB_internalformat_query23922#ifndef GL_ARB_internalformat_query2
3215#define GL_ARB_internalformat_query2 13923#define GL_ARB_internalformat_query2 1
3216#define GL_SRGB_DECODE_ARB 0x82993924#define GL_SRGB_DECODE_ARB 0x8299
3925#define GL_VIEW_CLASS_EAC_R11 0x9383
3926#define GL_VIEW_CLASS_EAC_RG11 0x9384
3927#define GL_VIEW_CLASS_ETC2_RGB 0x9385
3928#define GL_VIEW_CLASS_ETC2_RGBA 0x9386
3929#define GL_VIEW_CLASS_ETC2_EAC_RGBA 0x9387
3930#define GL_VIEW_CLASS_ASTC_4x4_RGBA 0x9388
3931#define GL_VIEW_CLASS_ASTC_5x4_RGBA 0x9389
3932#define GL_VIEW_CLASS_ASTC_5x5_RGBA 0x938A
3933#define GL_VIEW_CLASS_ASTC_6x5_RGBA 0x938B
3934#define GL_VIEW_CLASS_ASTC_6x6_RGBA 0x938C
3935#define GL_VIEW_CLASS_ASTC_8x5_RGBA 0x938D
3936#define GL_VIEW_CLASS_ASTC_8x6_RGBA 0x938E
3937#define GL_VIEW_CLASS_ASTC_8x8_RGBA 0x938F
3938#define GL_VIEW_CLASS_ASTC_10x5_RGBA 0x9390
3939#define GL_VIEW_CLASS_ASTC_10x6_RGBA 0x9391
3940#define GL_VIEW_CLASS_ASTC_10x8_RGBA 0x9392
3941#define GL_VIEW_CLASS_ASTC_10x10_RGBA 0x9393
3942#define GL_VIEW_CLASS_ASTC_12x10_RGBA 0x9394
3943#define GL_VIEW_CLASS_ASTC_12x12_RGBA 0x9395
3217#endif /* GL_ARB_internalformat_query2 */3944#endif /* GL_ARB_internalformat_query2 */
3218 3945
3219#ifndef GL_ARB_invalidate_subdata3946#ifndef GL_ARB_invalidate_subdata
@@ -3419,6 +4146,30 @@ GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *par · 199 unmodified lines
3419#define GL_ARB_occlusion_query2 14146#define GL_ARB_occlusion_query2 1
3420#endif /* GL_ARB_occlusion_query2 */4147#endif /* GL_ARB_occlusion_query2 */
3421 4148
4149#ifndef GL_ARB_parallel_shader_compile
4150#define GL_ARB_parallel_shader_compile 1
4151#define GL_MAX_SHADER_COMPILER_THREADS_ARB 0x91B0
4152#define GL_COMPLETION_STATUS_ARB 0x91B1
4153typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSARBPROC) (GLuint count);
4154#ifdef GL_GLEXT_PROTOTYPES
4155GLAPI void APIENTRY glMaxShaderCompilerThreadsARB (GLuint count);
4156#endif
4157#endif /* GL_ARB_parallel_shader_compile */
4158
4159#ifndef GL_ARB_pipeline_statistics_query
4160#define GL_ARB_pipeline_statistics_query 1
4161#define GL_VERTICES_SUBMITTED_ARB 0x82EE
4162#define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
4163#define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
4164#define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
4165#define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
4166#define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
4167#define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
4168#define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
4169#define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
4170#define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
4171#endif /* GL_ARB_pipeline_statistics_query */
4172
3422#ifndef GL_ARB_pixel_buffer_object4173#ifndef GL_ARB_pixel_buffer_object
3423#define GL_ARB_pixel_buffer_object 14174#define GL_ARB_pixel_buffer_object 1
3424#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB4175#define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
@@ -3447,6 +4198,14 @@ GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params); · 22 unmodified lines
3447#define GL_COORD_REPLACE_ARB 0x88624198#define GL_COORD_REPLACE_ARB 0x8862
3448#endif /* GL_ARB_point_sprite */4199#endif /* GL_ARB_point_sprite */
3449 4200
4201#ifndef GL_ARB_polygon_offset_clamp
4202#define GL_ARB_polygon_offset_clamp 1
4203#endif /* GL_ARB_polygon_offset_clamp */
4204
4205#ifndef GL_ARB_post_depth_coverage
4206#define GL_ARB_post_depth_coverage 1
4207#endif /* GL_ARB_post_depth_coverage */
4208
3450#ifndef GL_ARB_program_interface_query4209#ifndef GL_ARB_program_interface_query
3451#define GL_ARB_program_interface_query 14210#define GL_ARB_program_interface_query 1
3452#endif /* GL_ARB_program_interface_query */4211#endif /* GL_ARB_program_interface_query */
@@ -3520,6 +4279,26 @@ GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum form · 67 unmodified lines
3520#define GL_ARB_robustness_isolation 14279#define GL_ARB_robustness_isolation 1
3521#endif /* GL_ARB_robustness_isolation */4280#endif /* GL_ARB_robustness_isolation */
3522 4281
4282#ifndef GL_ARB_sample_locations
4283#define GL_ARB_sample_locations 1
4284#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_ARB 0x933D
4285#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_ARB 0x933E
4286#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_ARB 0x933F
4287#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_ARB 0x9340
4288#define GL_SAMPLE_LOCATION_ARB 0x8E50
4289#define GL_PROGRAMMABLE_SAMPLE_LOCATION_ARB 0x9341
4290#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_ARB 0x9342
4291#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_ARB 0x9343
4292typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4293typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4294typedef void (APIENTRYP PFNGLEVALUATEDEPTHVALUESARBPROC) (void);
4295#ifdef GL_GLEXT_PROTOTYPES
4296GLAPI void APIENTRY glFramebufferSampleLocationsfvARB (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
4297GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvARB (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
4298GLAPI void APIENTRY glEvaluateDepthValuesARB (void);
4299#endif
4300#endif /* GL_ARB_sample_locations */
4301
3523#ifndef GL_ARB_sample_shading4302#ifndef GL_ARB_sample_shading
3524#define GL_ARB_sample_shading 14303#define GL_ARB_sample_shading 1
3525#define GL_SAMPLE_SHADING_ARB 0x8C364304#define GL_SAMPLE_SHADING_ARB 0x8C36
@@ -3546,14 +4325,26 @@ GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value); · 20 unmodified lines
3546#define GL_ARB_separate_shader_objects 14325#define GL_ARB_separate_shader_objects 1
3547#endif /* GL_ARB_separate_shader_objects */4326#endif /* GL_ARB_separate_shader_objects */
3548 4327
4328#ifndef GL_ARB_shader_atomic_counter_ops
4329#define GL_ARB_shader_atomic_counter_ops 1
4330#endif /* GL_ARB_shader_atomic_counter_ops */
4331
3549#ifndef GL_ARB_shader_atomic_counters4332#ifndef GL_ARB_shader_atomic_counters
3550#define GL_ARB_shader_atomic_counters 14333#define GL_ARB_shader_atomic_counters 1
3551#endif /* GL_ARB_shader_atomic_counters */4334#endif /* GL_ARB_shader_atomic_counters */
3552 4335
4336#ifndef GL_ARB_shader_ballot
4337#define GL_ARB_shader_ballot 1
4338#endif /* GL_ARB_shader_ballot */
4339
3553#ifndef GL_ARB_shader_bit_encoding4340#ifndef GL_ARB_shader_bit_encoding
3554#define GL_ARB_shader_bit_encoding 14341#define GL_ARB_shader_bit_encoding 1
3555#endif /* GL_ARB_shader_bit_encoding */4342#endif /* GL_ARB_shader_bit_encoding */
3556 4343
4344#ifndef GL_ARB_shader_clock
4345#define GL_ARB_shader_clock 1
4346#endif /* GL_ARB_shader_clock */
4347
3557#ifndef GL_ARB_shader_draw_parameters4348#ifndef GL_ARB_shader_draw_parameters
3558#define GL_ARB_shader_draw_parameters 14349#define GL_ARB_shader_draw_parameters 1
3559#endif /* GL_ARB_shader_draw_parameters */4350#endif /* GL_ARB_shader_draw_parameters */
@@ -3710,10 +4501,18 @@ GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GL · 150 unmodified lines
3710#define GL_ARB_shader_subroutine 14501#define GL_ARB_shader_subroutine 1
3711#endif /* GL_ARB_shader_subroutine */4502#endif /* GL_ARB_shader_subroutine */
3712 4503
4504#ifndef GL_ARB_shader_texture_image_samples
4505#define GL_ARB_shader_texture_image_samples 1
4506#endif /* GL_ARB_shader_texture_image_samples */
4507
3713#ifndef GL_ARB_shader_texture_lod4508#ifndef GL_ARB_shader_texture_lod
3714#define GL_ARB_shader_texture_lod 14509#define GL_ARB_shader_texture_lod 1
3715#endif /* GL_ARB_shader_texture_lod */4510#endif /* GL_ARB_shader_texture_lod */
3716 4511
4512#ifndef GL_ARB_shader_viewport_layer_array
4513#define GL_ARB_shader_viewport_layer_array 1
4514#endif /* GL_ARB_shader_viewport_layer_array */
4515
3717#ifndef GL_ARB_shading_language_1004516#ifndef GL_ARB_shading_language_100
3718#define GL_ARB_shading_language_100 14517#define GL_ARB_shading_language_100 1
3719#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C4518#define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
@@ -3760,11 +4559,25 @@ GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GL · 40 unmodified lines
3760#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF4559#define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
3761#endif /* GL_ARB_shadow_ambient */4560#endif /* GL_ARB_shadow_ambient */
3762 4561
4562#ifndef GL_ARB_sparse_buffer
4563#define GL_ARB_sparse_buffer 1
4564#define GL_SPARSE_STORAGE_BIT_ARB 0x0400
4565#define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
4566typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4567typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4568typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4569#ifdef GL_GLEXT_PROTOTYPES
4570GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
4571GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4572GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
4573#endif
4574#endif /* GL_ARB_sparse_buffer */
4575
3763#ifndef GL_ARB_sparse_texture4576#ifndef GL_ARB_sparse_texture
3764#define GL_ARB_sparse_texture 14577#define GL_ARB_sparse_texture 1
3765#define GL_TEXTURE_SPARSE_ARB 0x91A64578#define GL_TEXTURE_SPARSE_ARB 0x91A6
3766#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A74579#define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
3767#define GL_MIN_SPARSE_LEVEL_ARB 0x919B4580#define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
3768#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A84581#define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
3769#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x91954582#define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
3770#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x91964583#define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
@@ -3773,12 +4586,24 @@ GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GL · 2 unmodified lines
3773#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x91994586#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
3774#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A4587#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
3775#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A94588#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
3776typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);4589typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
3777#ifdef GL_GLEXT_PROTOTYPES4590#ifdef GL_GLEXT_PROTOTYPES
3778GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);4591GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
3779#endif4592#endif
3780#endif /* GL_ARB_sparse_texture */4593#endif /* GL_ARB_sparse_texture */
3781 4594
4595#ifndef GL_ARB_sparse_texture2
4596#define GL_ARB_sparse_texture2 1
4597#endif /* GL_ARB_sparse_texture2 */
4598
4599#ifndef GL_ARB_sparse_texture_clamp
4600#define GL_ARB_sparse_texture_clamp 1
4601#endif /* GL_ARB_sparse_texture_clamp */
4602
4603#ifndef GL_ARB_spirv_extensions
4604#define GL_ARB_spirv_extensions 1
4605#endif /* GL_ARB_spirv_extensions */
4606
3782#ifndef GL_ARB_stencil_texturing4607#ifndef GL_ARB_stencil_texturing
3783#define GL_ARB_stencil_texturing 14608#define GL_ARB_stencil_texturing 1
3784#endif /* GL_ARB_stencil_texturing */4609#endif /* GL_ARB_stencil_texturing */
@@ -3791,6 +4616,10 @@ GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xo · 6 unmodified lines
3791#define GL_ARB_tessellation_shader 14616#define GL_ARB_tessellation_shader 1
3792#endif /* GL_ARB_tessellation_shader */4617#endif /* GL_ARB_tessellation_shader */
3793 4618
4619#ifndef GL_ARB_texture_barrier
4620#define GL_ARB_texture_barrier 1
4621#endif /* GL_ARB_texture_barrier */
4622
3794#ifndef GL_ARB_texture_border_clamp4623#ifndef GL_ARB_texture_border_clamp
3795#define GL_ARB_texture_border_clamp 14624#define GL_ARB_texture_border_clamp 1
3796#define GL_CLAMP_TO_BORDER_ARB 0x812D4625#define GL_CLAMP_TO_BORDER_ARB 0x812D
@@ -3927,6 +4756,16 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void · 130 unmodified lines
3927#define GL_DOT3_RGBA_ARB 0x86AF4756#define GL_DOT3_RGBA_ARB 0x86AF
3928#endif /* GL_ARB_texture_env_dot3 */4757#endif /* GL_ARB_texture_env_dot3 */
3929 4758
4759#ifndef GL_ARB_texture_filter_anisotropic
4760#define GL_ARB_texture_filter_anisotropic 1
4761#endif /* GL_ARB_texture_filter_anisotropic */
4762
4763#ifndef GL_ARB_texture_filter_minmax
4764#define GL_ARB_texture_filter_minmax 1
4765#define GL_TEXTURE_REDUCTION_MODE_ARB 0x9366
4766#define GL_WEIGHTED_AVERAGE_ARB 0x9367
4767#endif /* GL_ARB_texture_filter_minmax */
4768
3930#ifndef GL_ARB_texture_float4769#ifndef GL_ARB_texture_float
3931#define GL_ARB_texture_float 14770#define GL_ARB_texture_float 1
3932#define GL_TEXTURE_RED_TYPE_ARB 0x8C104771#define GL_TEXTURE_RED_TYPE_ARB 0x8C10
@@ -4025,8 +4864,6 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void · 92 unmodified lines
4025 4864
4026#ifndef GL_ARB_transform_feedback24865#ifndef GL_ARB_transform_feedback2
4027#define GL_ARB_transform_feedback2 14866#define GL_ARB_transform_feedback2 1
4028#define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
4029#define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
4030#endif /* GL_ARB_transform_feedback2 */4867#endif /* GL_ARB_transform_feedback2 */
4031 4868
4032#ifndef GL_ARB_transform_feedback34869#ifndef GL_ARB_transform_feedback3
@@ -4037,6 +4874,12 @@ GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, void · 4 unmodified lines
4037#define GL_ARB_transform_feedback_instanced 14874#define GL_ARB_transform_feedback_instanced 1
4038#endif /* GL_ARB_transform_feedback_instanced */4875#endif /* GL_ARB_transform_feedback_instanced */
4039 4876
4877#ifndef GL_ARB_transform_feedback_overflow_query
4878#define GL_ARB_transform_feedback_overflow_query 1
4879#define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
4880#define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
4881#endif /* GL_ARB_transform_feedback_overflow_query */
4882
4040#ifndef GL_ARB_transpose_matrix4883#ifndef GL_ARB_transpose_matrix
4041#define GL_ARB_transpose_matrix 14884#define GL_ARB_transpose_matrix 1
4042#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E34885#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
@@ -4057,9 +4900,6 @@ GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m); · 14 unmodified lines
4057 4900
4058#ifndef GL_ARB_uniform_buffer_object4901#ifndef GL_ARB_uniform_buffer_object
4059#define GL_ARB_uniform_buffer_object 14902#define GL_ARB_uniform_buffer_object 1
4060#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
4061#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
4062#define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
4063#endif /* GL_ARB_uniform_buffer_object */4903#endif /* GL_ARB_uniform_buffer_object */
4064 4904
4065#ifndef GL_ARB_vertex_array_bgra4905#ifndef GL_ARB_vertex_array_bgra
@@ -4148,13 +4988,8 @@ GLAPI void APIENTRY glVertexBlendARB (GLint count); · 82 unmodified lines
4148 4988
4149#ifndef GL_ARB_vertex_buffer_object4989#ifndef GL_ARB_vertex_buffer_object
4150#define GL_ARB_vertex_buffer_object 14990#define GL_ARB_vertex_buffer_object 1
4151#ifdef __MACOSX__ /* The OS X headers haven't caught up with Khronos yet */4991typedef khronos_ssize_t GLsizeiptrARB;
4152typedef long GLsizeiptrARB;4992typedef khronos_intptr_t GLintptrARB;
4153typedef long GLintptrARB;
4154#else
4155typedef ptrdiff_t GLsizeiptrARB;
4156typedef ptrdiff_t GLintptrARB;
4157#endif
4158#define GL_BUFFER_SIZE_ARB 0x87644993#define GL_BUFFER_SIZE_ARB 0x8764
4159#define GL_BUFFER_USAGE_ARB 0x87654994#define GL_BUFFER_USAGE_ARB 0x8765
4160#define GL_ARRAY_BUFFER_ARB 0x88924995#define GL_ARRAY_BUFFER_ARB 0x8892
@@ -4349,6 +5184,12 @@ GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcha · 188 unmodified lines
4349 5184
4350#ifndef GL_ARB_viewport_array5185#ifndef GL_ARB_viewport_array
4351#define GL_ARB_viewport_array 15186#define GL_ARB_viewport_array 1
5187typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYDVNVPROC) (GLuint first, GLsizei count, const GLdouble *v);
5188typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDDNVPROC) (GLuint index, GLdouble n, GLdouble f);
5189#ifdef GL_GLEXT_PROTOTYPES
5190GLAPI void APIENTRY glDepthRangeArraydvNV (GLuint first, GLsizei count, const GLdouble *v);
5191GLAPI void APIENTRY glDepthRangeIndexeddNV (GLuint index, GLdouble n, GLdouble f);
5192#endif
4352#endif /* GL_ARB_viewport_array */5193#endif /* GL_ARB_viewport_array */
4353 5194
4354#ifndef GL_ARB_window_pos5195#ifndef GL_ARB_window_pos
@@ -4389,10 +5230,82 @@ GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v); · 34 unmodified lines
4389#endif5230#endif
4390#endif /* GL_ARB_window_pos */5231#endif /* GL_ARB_window_pos */
4391 5232
5233#ifndef GL_KHR_blend_equation_advanced
5234#define GL_KHR_blend_equation_advanced 1
5235#define GL_MULTIPLY_KHR 0x9294
5236#define GL_SCREEN_KHR 0x9295
5237#define GL_OVERLAY_KHR 0x9296
5238#define GL_DARKEN_KHR 0x9297
5239#define GL_LIGHTEN_KHR 0x9298
5240#define GL_COLORDODGE_KHR 0x9299
5241#define GL_COLORBURN_KHR 0x929A
5242#define GL_HARDLIGHT_KHR 0x929B
5243#define GL_SOFTLIGHT_KHR 0x929C
5244#define GL_DIFFERENCE_KHR 0x929E
5245#define GL_EXCLUSION_KHR 0x92A0
5246#define GL_HSL_HUE_KHR 0x92AD
5247#define GL_HSL_SATURATION_KHR 0x92AE
5248#define GL_HSL_COLOR_KHR 0x92AF
5249#define GL_HSL_LUMINOSITY_KHR 0x92B0
5250typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
5251#ifdef GL_GLEXT_PROTOTYPES
5252GLAPI void APIENTRY glBlendBarrierKHR (void);
5253#endif
5254#endif /* GL_KHR_blend_equation_advanced */
5255
5256#ifndef GL_KHR_blend_equation_advanced_coherent
5257#define GL_KHR_blend_equation_advanced_coherent 1
5258#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
5259#endif /* GL_KHR_blend_equation_advanced_coherent */
5260
5261#ifndef GL_KHR_context_flush_control
5262#define GL_KHR_context_flush_control 1
5263#endif /* GL_KHR_context_flush_control */
5264
4392#ifndef GL_KHR_debug5265#ifndef GL_KHR_debug
4393#define GL_KHR_debug 15266#define GL_KHR_debug 1
4394#endif /* GL_KHR_debug */5267#endif /* GL_KHR_debug */
4395 5268
5269#ifndef GL_KHR_no_error
5270#define GL_KHR_no_error 1
5271#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
5272#endif /* GL_KHR_no_error */
5273
5274#ifndef GL_KHR_parallel_shader_compile
5275#define GL_KHR_parallel_shader_compile 1
5276#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
5277#define GL_COMPLETION_STATUS_KHR 0x91B1
5278typedef void (APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
5279#ifdef GL_GLEXT_PROTOTYPES
5280GLAPI void APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
5281#endif
5282#endif /* GL_KHR_parallel_shader_compile */
5283
5284#ifndef GL_KHR_robust_buffer_access_behavior
5285#define GL_KHR_robust_buffer_access_behavior 1
5286#endif /* GL_KHR_robust_buffer_access_behavior */
5287
5288#ifndef GL_KHR_robustness
5289#define GL_KHR_robustness 1
5290#define GL_CONTEXT_ROBUST_ACCESS 0x90F3
5291#endif /* GL_KHR_robustness */
5292
5293#ifndef GL_KHR_shader_subgroup
5294#define GL_KHR_shader_subgroup 1
5295#define GL_SUBGROUP_SIZE_KHR 0x9532
5296#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
5297#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
5298#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
5299#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
5300#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
5301#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
5302#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
5303#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
5304#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
5305#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
5306#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
5307#endif /* GL_KHR_shader_subgroup */
5308
4396#ifndef GL_KHR_texture_compression_astc_hdr5309#ifndef GL_KHR_texture_compression_astc_hdr
4397#define GL_KHR_texture_compression_astc_hdr 15310#define GL_KHR_texture_compression_astc_hdr 1
4398#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B05311#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
@@ -4429,6 +5342,10 @@ GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v); · 30 unmodified lines
4429#define GL_KHR_texture_compression_astc_ldr 15342#define GL_KHR_texture_compression_astc_ldr 1
4430#endif /* GL_KHR_texture_compression_astc_ldr */5343#endif /* GL_KHR_texture_compression_astc_ldr */
4431 5344
5345#ifndef GL_KHR_texture_compression_astc_sliced_3d
5346#define GL_KHR_texture_compression_astc_sliced_3d 1
5347#endif /* GL_KHR_texture_compression_astc_sliced_3d */
5348
4432#ifndef GL_OES_byte_coordinates5349#ifndef GL_OES_byte_coordinates
4433#define GL_OES_byte_coordinates 15350#define GL_OES_byte_coordinates 1
4434typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);5351typedef void (APIENTRYP PFNGLMULTITEXCOORD1BOESPROC) (GLenum texture, GLbyte s);
@@ -4447,11 +5364,11 @@ typedef void (APIENTRYP PFNGLTEXCOORD3BOESPROC) (GLbyte s, GLbyte t, GLbyte r); · 12 unmodified lines
4447typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);5364typedef void (APIENTRYP PFNGLTEXCOORD3BVOESPROC) (const GLbyte *coords);
4448typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);5365typedef void (APIENTRYP PFNGLTEXCOORD4BOESPROC) (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4449typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);5366typedef void (APIENTRYP PFNGLTEXCOORD4BVOESPROC) (const GLbyte *coords);
4450typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x);5367typedef void (APIENTRYP PFNGLVERTEX2BOESPROC) (GLbyte x, GLbyte y);
4451typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);5368typedef void (APIENTRYP PFNGLVERTEX2BVOESPROC) (const GLbyte *coords);
4452typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y);5369typedef void (APIENTRYP PFNGLVERTEX3BOESPROC) (GLbyte x, GLbyte y, GLbyte z);
4453typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);5370typedef void (APIENTRYP PFNGLVERTEX3BVOESPROC) (const GLbyte *coords);
4454typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z);5371typedef void (APIENTRYP PFNGLVERTEX4BOESPROC) (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4455typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);5372typedef void (APIENTRYP PFNGLVERTEX4BVOESPROC) (const GLbyte *coords);
4456#ifdef GL_GLEXT_PROTOTYPES5373#ifdef GL_GLEXT_PROTOTYPES
4457GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);5374GLAPI void APIENTRY glMultiTexCoord1bOES (GLenum texture, GLbyte s);
@@ -4470,11 +5387,11 @@ GLAPI void APIENTRY glTexCoord3bOES (GLbyte s, GLbyte t, GLbyte r); · 12 unmodified lines
4470GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);5387GLAPI void APIENTRY glTexCoord3bvOES (const GLbyte *coords);
4471GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);5388GLAPI void APIENTRY glTexCoord4bOES (GLbyte s, GLbyte t, GLbyte r, GLbyte q);
4472GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);5389GLAPI void APIENTRY glTexCoord4bvOES (const GLbyte *coords);
4473GLAPI void APIENTRY glVertex2bOES (GLbyte x);5390GLAPI void APIENTRY glVertex2bOES (GLbyte x, GLbyte y);
4474GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);5391GLAPI void APIENTRY glVertex2bvOES (const GLbyte *coords);
4475GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y);5392GLAPI void APIENTRY glVertex3bOES (GLbyte x, GLbyte y, GLbyte z);
4476GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);5393GLAPI void APIENTRY glVertex3bvOES (const GLbyte *coords);
4477GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z);5394GLAPI void APIENTRY glVertex4bOES (GLbyte x, GLbyte y, GLbyte z, GLbyte w);
4478GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);5395GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords);
4479#endif5396#endif
4480#endif /* GL_OES_byte_coordinates */5397#endif /* GL_OES_byte_coordinates */
@@ -4495,7 +5412,7 @@ GLAPI void APIENTRY glVertex4bvOES (const GLbyte *coords); · 14 unmodified lines
4495 5412
4496#ifndef GL_OES_fixed_point5413#ifndef GL_OES_fixed_point
4497#define GL_OES_fixed_point 15414#define GL_OES_fixed_point 1
4498typedef GLint GLfixed;5415typedef khronos_int32_t GLfixed;
4499#define GL_FIXED_OES 0x140C5416#define GL_FIXED_OES 0x140C
4500typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);5417typedef void (APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
4501typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);5418typedef void (APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
@@ -4526,7 +5443,6 @@ typedef void (APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfix · 24 unmodified lines
4526typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);5443typedef void (APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
4527typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);5444typedef void (APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
4528typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);5445typedef void (APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4529typedef void (APIENTRYP PFNGLSAMPLECOVERAGEOESPROC) (GLfixed value, GLboolean invert);
4530typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);5446typedef void (APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
4531typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);5447typedef void (APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
4532typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);5448typedef void (APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
@@ -4631,7 +5547,6 @@ GLAPI void APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params); · 98 unmodified lines
4631GLAPI void APIENTRY glPointSizexOES (GLfixed size);5547GLAPI void APIENTRY glPointSizexOES (GLfixed size);
4632GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);5548GLAPI void APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
4633GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);5549GLAPI void APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
4634GLAPI void APIENTRY glSampleCoverageOES (GLfixed value, GLboolean invert);
4635GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);5550GLAPI void APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
4636GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);5551GLAPI void APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
4637GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);5552GLAPI void APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
@@ -4793,12 +5708,12 @@ typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severi · 155 unmodified lines
4793typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);5708typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4794typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);5709typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4795typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);5710typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void *userParam);
4796typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);5711typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4797#ifdef GL_GLEXT_PROTOTYPES5712#ifdef GL_GLEXT_PROTOTYPES
4798GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);5713GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
4799GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);5714GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
4800GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);5715GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void *userParam);
4801GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);5716GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufSize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
4802#endif5717#endif
4803#endif /* GL_AMD_debug_output */5718#endif /* GL_AMD_debug_output */
4804 5719
@@ -4822,13 +5737,68 @@ GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRG · 17 unmodified lines
4822#endif5737#endif
4823#endif /* GL_AMD_draw_buffers_blend */5738#endif /* GL_AMD_draw_buffers_blend */
4824 5739
5740#ifndef GL_AMD_framebuffer_multisample_advanced
5741#define GL_AMD_framebuffer_multisample_advanced 1
5742#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
5743#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
5744#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
5745#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
5746#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
5747#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
5748typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5749typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5750#ifdef GL_GLEXT_PROTOTYPES
5751GLAPI void APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5752GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
5753#endif
5754#endif /* GL_AMD_framebuffer_multisample_advanced */
5755
5756#ifndef GL_AMD_framebuffer_sample_positions
5757#define GL_AMD_framebuffer_sample_positions 1
5758#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5759#define GL_PIXELS_PER_SAMPLE_PATTERN_X_AMD 0x91AE
5760#define GL_PIXELS_PER_SAMPLE_PATTERN_Y_AMD 0x91AF
5761#define GL_ALL_PIXELS_AMD 0xFFFFFFFF
5762typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5763typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC) (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5764typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC) (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5765typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC) (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5766#ifdef GL_GLEXT_PROTOTYPES
5767GLAPI void APIENTRY glFramebufferSamplePositionsfvAMD (GLenum target, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5768GLAPI void APIENTRY glNamedFramebufferSamplePositionsfvAMD (GLuint framebuffer, GLuint numsamples, GLuint pixelindex, const GLfloat *values);
5769GLAPI void APIENTRY glGetFramebufferParameterfvAMD (GLenum target, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5770GLAPI void APIENTRY glGetNamedFramebufferParameterfvAMD (GLuint framebuffer, GLenum pname, GLuint numsamples, GLuint pixelindex, GLsizei size, GLfloat *values);
5771#endif
5772#endif /* GL_AMD_framebuffer_sample_positions */
5773
4825#ifndef GL_AMD_gcn_shader5774#ifndef GL_AMD_gcn_shader
4826#define GL_AMD_gcn_shader 15775#define GL_AMD_gcn_shader 1
4827#endif /* GL_AMD_gcn_shader */5776#endif /* GL_AMD_gcn_shader */
4828 5777
5778#ifndef GL_AMD_gpu_shader_half_float
5779#define GL_AMD_gpu_shader_half_float 1
5780#define GL_FLOAT16_NV 0x8FF8
5781#define GL_FLOAT16_VEC2_NV 0x8FF9
5782#define GL_FLOAT16_VEC3_NV 0x8FFA
5783#define GL_FLOAT16_VEC4_NV 0x8FFB
5784#define GL_FLOAT16_MAT2_AMD 0x91C5
5785#define GL_FLOAT16_MAT3_AMD 0x91C6
5786#define GL_FLOAT16_MAT4_AMD 0x91C7
5787#define GL_FLOAT16_MAT2x3_AMD 0x91C8
5788#define GL_FLOAT16_MAT2x4_AMD 0x91C9
5789#define GL_FLOAT16_MAT3x2_AMD 0x91CA
5790#define GL_FLOAT16_MAT3x4_AMD 0x91CB
5791#define GL_FLOAT16_MAT4x2_AMD 0x91CC
5792#define GL_FLOAT16_MAT4x3_AMD 0x91CD
5793#endif /* GL_AMD_gpu_shader_half_float */
5794
5795#ifndef GL_AMD_gpu_shader_int16
5796#define GL_AMD_gpu_shader_int16 1
5797#endif /* GL_AMD_gpu_shader_int16 */
5798
4829#ifndef GL_AMD_gpu_shader_int645799#ifndef GL_AMD_gpu_shader_int64
4830#define GL_AMD_gpu_shader_int64 15800#define GL_AMD_gpu_shader_int64 1
4831typedef int64_t GLint64EXT;5801typedef khronos_int64_t GLint64EXT;
4832#define GL_INT64_NV 0x140E5802#define GL_INT64_NV 0x140E
4833#define GL_UNSIGNED_INT64_NV 0x140F5803#define GL_UNSIGNED_INT64_NV 0x140F
4834#define GL_INT8_NV 0x8FE05804#define GL_INT8_NV 0x8FE0
@@ -4853,10 +5823,6 @@ typedef int64_t GLint64EXT; · 18 unmodified lines
4853#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF55823#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
4854#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF65824#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
4855#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF75825#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
4856#define GL_FLOAT16_NV 0x8FF8
4857#define GL_FLOAT16_VEC2_NV 0x8FF9
4858#define GL_FLOAT16_VEC3_NV 0x8FFA
4859#define GL_FLOAT16_VEC4_NV 0x8FFB
4860typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);5826typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
4861typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);5827typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
4862typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);5828typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
@@ -5029,7 +5995,6 @@ GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname · 166 unmodified lines
5029 5995
5030#ifndef GL_AMD_sample_positions5996#ifndef GL_AMD_sample_positions
5031#define GL_AMD_sample_positions 15997#define GL_AMD_sample_positions 1
5032#define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
5033typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);5998typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
5034#ifdef GL_GLEXT_PROTOTYPES5999#ifdef GL_GLEXT_PROTOTYPES
5035GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);6000GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
@@ -5044,6 +6009,22 @@ GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLf · 8 unmodified lines
5044#define GL_AMD_shader_atomic_counter_ops 16009#define GL_AMD_shader_atomic_counter_ops 1
5045#endif /* GL_AMD_shader_atomic_counter_ops */6010#endif /* GL_AMD_shader_atomic_counter_ops */
5046 6011
6012#ifndef GL_AMD_shader_ballot
6013#define GL_AMD_shader_ballot 1
6014#endif /* GL_AMD_shader_ballot */
6015
6016#ifndef GL_AMD_shader_explicit_vertex_parameter
6017#define GL_AMD_shader_explicit_vertex_parameter 1
6018#endif /* GL_AMD_shader_explicit_vertex_parameter */
6019
6020#ifndef GL_AMD_shader_gpu_shader_half_float_fetch
6021#define GL_AMD_shader_gpu_shader_half_float_fetch 1
6022#endif /* GL_AMD_shader_gpu_shader_half_float_fetch */
6023
6024#ifndef GL_AMD_shader_image_load_store_lod
6025#define GL_AMD_shader_image_load_store_lod 1
6026#endif /* GL_AMD_shader_image_load_store_lod */
6027
5047#ifndef GL_AMD_shader_stencil_export6028#ifndef GL_AMD_shader_stencil_export
5048#define GL_AMD_shader_stencil_export 16029#define GL_AMD_shader_stencil_export 1
5049#endif /* GL_AMD_shader_stencil_export */6030#endif /* GL_AMD_shader_stencil_export */
@@ -5083,6 +6064,10 @@ GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); · 33 unmodified lines
5083#endif6064#endif
5084#endif /* GL_AMD_stencil_operation_extended */6065#endif /* GL_AMD_stencil_operation_extended */
5085 6066
6067#ifndef GL_AMD_texture_gather_bias_lod
6068#define GL_AMD_texture_gather_bias_lod 1
6069#endif /* GL_AMD_texture_gather_bias_lod */
6070
5086#ifndef GL_AMD_texture_texture46071#ifndef GL_AMD_texture_texture4
5087#define GL_AMD_texture_texture4 16072#define GL_AMD_texture_texture4 1
5088#endif /* GL_AMD_texture_texture4 */6073#endif /* GL_AMD_texture_texture4 */
@@ -5783,6 +6768,21 @@ GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param); · 694 unmodified lines
5783#define GL_422_REV_AVERAGE_EXT 0x80CF6768#define GL_422_REV_AVERAGE_EXT 0x80CF
5784#endif /* GL_EXT_422_pixels */6769#endif /* GL_EXT_422_pixels */
5785 6770
6771#ifndef GL_EXT_EGL_image_storage
6772#define GL_EXT_EGL_image_storage 1
6773typedef void *GLeglImageOES;
6774typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6775typedef void (APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6776#ifdef GL_GLEXT_PROTOTYPES
6777GLAPI void APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
6778GLAPI void APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
6779#endif
6780#endif /* GL_EXT_EGL_image_storage */
6781
6782#ifndef GL_EXT_EGL_sync
6783#define GL_EXT_EGL_sync 1
6784#endif /* GL_EXT_EGL_sync */
6785
5786#ifndef GL_EXT_abgr6786#ifndef GL_EXT_abgr
5787#define GL_EXT_abgr 16787#define GL_EXT_abgr 1
5788#define GL_ABGR_EXT 0x80006788#define GL_ABGR_EXT 0x8000
@@ -6345,7 +7345,7 @@ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaob · 556 unmodified lines
6345typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);7345typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6346typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);7346typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6347typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);7347typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6348typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);7348typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
6349typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);7349typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
6350#ifdef GL_GLEXT_PROTOTYPES7350#ifdef GL_GLEXT_PROTOTYPES
6351GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);7351GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
@@ -6601,7 +7601,7 @@ GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint at · 249 unmodified lines
6601GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);7601GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
6602GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);7602GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
6603GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);7603GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
6604GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident);7604GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
6605GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);7605GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
6606#endif7606#endif
6607#endif /* GL_EXT_direct_state_access */7607#endif /* GL_EXT_direct_state_access */
@@ -6634,6 +7634,17 @@ GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint en · 26 unmodified lines
6634#endif7634#endif
6635#endif /* GL_EXT_draw_range_elements */7635#endif /* GL_EXT_draw_range_elements */
6636 7636
7637#ifndef GL_EXT_external_buffer
7638#define GL_EXT_external_buffer 1
7639typedef void *GLeglClientBufferEXT;
7640typedef void (APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7641typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7642#ifdef GL_GLEXT_PROTOTYPES
7643GLAPI void APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7644GLAPI void APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
7645#endif
7646#endif /* GL_EXT_external_buffer */
7647
6637#ifndef GL_EXT_fog_coord7648#ifndef GL_EXT_fog_coord
6638#define GL_EXT_fog_coord 17649#define GL_EXT_fog_coord 1
6639#define GL_FOG_COORDINATE_SOURCE_EXT 0x84507650#define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
@@ -6824,7 +7835,6 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, · 184 unmodified lines
6824 7835
6825#ifndef GL_EXT_gpu_shader47836#ifndef GL_EXT_gpu_shader4
6826#define GL_EXT_gpu_shader4 17837#define GL_EXT_gpu_shader4 1
6827#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
6828#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC07838#define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
6829#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC17839#define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
6830#define GL_SAMPLER_BUFFER_EXT 0x8DC27840#define GL_SAMPLER_BUFFER_EXT 0x8DC2
@@ -6852,6 +7862,7 @@ GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, · 21 unmodified lines
6852#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD87862#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
6853#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x89047863#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904
6854#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x89057864#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905
7865#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
6855typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);7866typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
6856typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);7867typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
6857typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);7868typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
@@ -6863,6 +7874,29 @@ typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, · 5 unmodified lines
6863typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);7874typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6864typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);7875typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
6865typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);7876typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
7877typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
7878typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
7879typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
7880typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
7881typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
7882typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
7883typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
7884typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7885typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
7886typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
7887typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
7888typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
7889typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
7890typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
7891typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
7892typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
7893typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
7894typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
7895typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
7896typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
7897typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7898typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
7899typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
6866#ifdef GL_GLEXT_PROTOTYPES7900#ifdef GL_GLEXT_PROTOTYPES
6867GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);7901GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
6868GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);7902GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
@@ -6875,6 +7909,29 @@ GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuin · 6 unmodified lines
6875GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);7909GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
6876GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);7910GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
6877GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);7911GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
7912GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
7913GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
7914GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
7915GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
7916GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
7917GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
7918GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
7919GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
7920GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
7921GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
7922GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
7923GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
7924GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
7925GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
7926GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
7927GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
7928GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
7929GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
7930GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
7931GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
7932GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
7933GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
7934GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
6878#endif7935#endif
6879#endif /* GL_EXT_gpu_shader4 */7936#endif /* GL_EXT_gpu_shader4 */
6880 7937
@@ -6977,6 +8034,89 @@ GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode); · 96 unmodified lines
6977#endif8034#endif
6978#endif /* GL_EXT_light_texture */8035#endif /* GL_EXT_light_texture */
6979 8036
8037#ifndef GL_EXT_memory_object
8038#define GL_EXT_memory_object 1
8039#define GL_TEXTURE_TILING_EXT 0x9580
8040#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
8041#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
8042#define GL_NUM_TILING_TYPES_EXT 0x9582
8043#define GL_TILING_TYPES_EXT 0x9583
8044#define GL_OPTIMAL_TILING_EXT 0x9584
8045#define GL_LINEAR_TILING_EXT 0x9585
8046#define GL_NUM_DEVICE_UUIDS_EXT 0x9596
8047#define GL_DEVICE_UUID_EXT 0x9597
8048#define GL_DRIVER_UUID_EXT 0x9598
8049#define GL_UUID_SIZE_EXT 16
8050typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
8051typedef void (APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
8052typedef void (APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
8053typedef GLboolean (APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
8054typedef void (APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
8055typedef void (APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
8056typedef void (APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
8057typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8058typedef void (APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8059typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8060typedef void (APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8061typedef void (APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
8062typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8063typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8064typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8065typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8066typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
8067typedef void (APIENTRYP PFNGLTEXSTORAGEMEM1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8068typedef void (APIENTRYP PFNGLTEXTURESTORAGEMEM1DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8069#ifdef GL_GLEXT_PROTOTYPES
8070GLAPI void APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
8071GLAPI void APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
8072GLAPI void APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
8073GLAPI GLboolean APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
8074GLAPI void APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
8075GLAPI void APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
8076GLAPI void APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
8077GLAPI void APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8078GLAPI void APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8079GLAPI void APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8080GLAPI void APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8081GLAPI void APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
8082GLAPI void APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
8083GLAPI void APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8084GLAPI void APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
8085GLAPI void APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
8086GLAPI void APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
8087GLAPI void APIENTRY glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8088GLAPI void APIENTRY glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset);
8089#endif
8090#endif /* GL_EXT_memory_object */
8091
8092#ifndef GL_EXT_memory_object_fd
8093#define GL_EXT_memory_object_fd 1
8094#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
8095typedef void (APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
8096#ifdef GL_GLEXT_PROTOTYPES
8097GLAPI void APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
8098#endif
8099#endif /* GL_EXT_memory_object_fd */
8100
8101#ifndef GL_EXT_memory_object_win32
8102#define GL_EXT_memory_object_win32 1
8103#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
8104#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
8105#define GL_DEVICE_LUID_EXT 0x9599
8106#define GL_DEVICE_NODE_MASK_EXT 0x959A
8107#define GL_LUID_SIZE_EXT 8
8108#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
8109#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
8110#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
8111#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
8112typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
8113typedef void (APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
8114#ifdef GL_GLEXT_PROTOTYPES
8115GLAPI void APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
8116GLAPI void APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
8117#endif
8118#endif /* GL_EXT_memory_object_win32 */
8119
6980#ifndef GL_EXT_misc_attribute8120#ifndef GL_EXT_misc_attribute
6981#define GL_EXT_misc_attribute 18121#define GL_EXT_misc_attribute 1
6982#endif /* GL_EXT_misc_attribute */8122#endif /* GL_EXT_misc_attribute */
@@ -7018,6 +8158,18 @@ GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern); · 35 unmodified lines
7018#endif8158#endif
7019#endif /* GL_EXT_multisample */8159#endif /* GL_EXT_multisample */
7020 8160
8161#ifndef GL_EXT_multiview_tessellation_geometry_shader
8162#define GL_EXT_multiview_tessellation_geometry_shader 1
8163#endif /* GL_EXT_multiview_tessellation_geometry_shader */
8164
8165#ifndef GL_EXT_multiview_texture_multisample
8166#define GL_EXT_multiview_texture_multisample 1
8167#endif /* GL_EXT_multiview_texture_multisample */
8168
8169#ifndef GL_EXT_multiview_timer_query
8170#define GL_EXT_multiview_timer_query 1
8171#endif /* GL_EXT_multiview_timer_query */
8172
7021#ifndef GL_EXT_packed_depth_stencil8173#ifndef GL_EXT_packed_depth_stencil
7022#define GL_EXT_packed_depth_stencil 18174#define GL_EXT_packed_depth_stencil 1
7023#define GL_DEPTH_STENCIL_EXT 0x84F98175#define GL_DEPTH_STENCIL_EXT 0x84F9
@@ -7127,6 +8279,19 @@ GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias); · 103 unmodified lines
7127#endif8279#endif
7128#endif /* GL_EXT_polygon_offset */8280#endif /* GL_EXT_polygon_offset */
7129 8281
8282#ifndef GL_EXT_polygon_offset_clamp
8283#define GL_EXT_polygon_offset_clamp 1
8284#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
8285typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
8286#ifdef GL_GLEXT_PROTOTYPES
8287GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
8288#endif
8289#endif /* GL_EXT_polygon_offset_clamp */
8290
8291#ifndef GL_EXT_post_depth_coverage
8292#define GL_EXT_post_depth_coverage 1
8293#endif /* GL_EXT_post_depth_coverage */
8294
7130#ifndef GL_EXT_provoking_vertex8295#ifndef GL_EXT_provoking_vertex
7131#define GL_EXT_provoking_vertex 18296#define GL_EXT_provoking_vertex 1
7132#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C8297#define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
@@ -7139,6 +8304,20 @@ GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode); · 6 unmodified lines
7139#endif8304#endif
7140#endif /* GL_EXT_provoking_vertex */8305#endif /* GL_EXT_provoking_vertex */
7141 8306
8307#ifndef GL_EXT_raster_multisample
8308#define GL_EXT_raster_multisample 1
8309#define GL_RASTER_MULTISAMPLE_EXT 0x9327
8310#define GL_RASTER_SAMPLES_EXT 0x9328
8311#define GL_MAX_RASTER_SAMPLES_EXT 0x9329
8312#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
8313#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
8314#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
8315typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
8316#ifdef GL_GLEXT_PROTOTYPES
8317GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
8318#endif
8319#endif /* GL_EXT_raster_multisample */
8320
7142#ifndef GL_EXT_rescale_normal8321#ifndef GL_EXT_rescale_normal
7143#define GL_EXT_rescale_normal 18322#define GL_EXT_rescale_normal 1
7144#define GL_RESCALE_NORMAL_EXT 0x803A8323#define GL_RESCALE_NORMAL_EXT 0x803A
@@ -7191,6 +8370,55 @@ GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei · 46 unmodified lines
7191#endif8370#endif
7192#endif /* GL_EXT_secondary_color */8371#endif /* GL_EXT_secondary_color */
7193 8372
8373#ifndef GL_EXT_semaphore
8374#define GL_EXT_semaphore 1
8375#define GL_LAYOUT_GENERAL_EXT 0x958D
8376#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
8377#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
8378#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
8379#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
8380#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
8381#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
8382#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
8383#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
8384typedef void (APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
8385typedef void (APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
8386typedef GLboolean (APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
8387typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
8388typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
8389typedef void (APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8390typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8391#ifdef GL_GLEXT_PROTOTYPES
8392GLAPI void APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
8393GLAPI void APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
8394GLAPI GLboolean APIENTRY glIsSemaphoreEXT (GLuint semaphore);
8395GLAPI void APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
8396GLAPI void APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
8397GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
8398GLAPI void APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
8399#endif
8400#endif /* GL_EXT_semaphore */
8401
8402#ifndef GL_EXT_semaphore_fd
8403#define GL_EXT_semaphore_fd 1
8404typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
8405#ifdef GL_GLEXT_PROTOTYPES
8406GLAPI void APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
8407#endif
8408#endif /* GL_EXT_semaphore_fd */
8409
8410#ifndef GL_EXT_semaphore_win32
8411#define GL_EXT_semaphore_win32 1
8412#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
8413#define GL_D3D12_FENCE_VALUE_EXT 0x9595
8414typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
8415typedef void (APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
8416#ifdef GL_GLEXT_PROTOTYPES
8417GLAPI void APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
8418GLAPI void APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
8419#endif
8420#endif /* GL_EXT_semaphore_win32 */
8421
7194#ifndef GL_EXT_separate_shader_objects8422#ifndef GL_EXT_separate_shader_objects
7195#define GL_EXT_separate_shader_objects 18423#define GL_EXT_separate_shader_objects 1
7196#define GL_ACTIVE_PROGRAM_EXT 0x8B8D8424#define GL_ACTIVE_PROGRAM_EXT 0x8B8D
@@ -7211,6 +8439,19 @@ GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *strin · 14 unmodified lines
7211#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA8439#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
7212#endif /* GL_EXT_separate_specular_color */8440#endif /* GL_EXT_separate_specular_color */
7213 8441
8442#ifndef GL_EXT_shader_framebuffer_fetch
8443#define GL_EXT_shader_framebuffer_fetch 1
8444#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
8445#endif /* GL_EXT_shader_framebuffer_fetch */
8446
8447#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
8448#define GL_EXT_shader_framebuffer_fetch_non_coherent 1
8449typedef void (APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
8450#ifdef GL_GLEXT_PROTOTYPES
8451GLAPI void APIENTRY glFramebufferFetchBarrierEXT (void);
8452#endif
8453#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
8454
7214#ifndef GL_EXT_shader_image_load_formatted8455#ifndef GL_EXT_shader_image_load_formatted
7215#define GL_EXT_shader_image_load_formatted 18456#define GL_EXT_shader_image_load_formatted 1
7216#endif /* GL_EXT_shader_image_load_formatted */8457#endif /* GL_EXT_shader_image_load_formatted */
@@ -7284,6 +8525,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers); · 67 unmodified lines
7284#define GL_EXT_shader_integer_mix 18525#define GL_EXT_shader_integer_mix 1
7285#endif /* GL_EXT_shader_integer_mix */8526#endif /* GL_EXT_shader_integer_mix */
7286 8527
8528#ifndef GL_EXT_shader_samples_identical
8529#define GL_EXT_shader_samples_identical 1
8530#endif /* GL_EXT_shader_samples_identical */
8531
7287#ifndef GL_EXT_shadow_funcs8532#ifndef GL_EXT_shadow_funcs
7288#define GL_EXT_shadow_funcs 18533#define GL_EXT_shadow_funcs 1
7289#endif /* GL_EXT_shadow_funcs */8534#endif /* GL_EXT_shadow_funcs */
@@ -7293,6 +8538,10 @@ GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers); · 3 unmodified lines
7293#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB8538#define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
7294#endif /* GL_EXT_shared_texture_palette */8539#endif /* GL_EXT_shared_texture_palette */
7295 8540
8541#ifndef GL_EXT_sparse_texture2
8542#define GL_EXT_sparse_texture2 1
8543#endif /* GL_EXT_sparse_texture2 */
8544
7296#ifndef GL_EXT_stencil_clear_tag8545#ifndef GL_EXT_stencil_clear_tag
7297#define GL_EXT_stencil_clear_tag 18546#define GL_EXT_stencil_clear_tag 1
7298#define GL_STENCIL_TAG_BITS_EXT 0x88F28547#define GL_STENCIL_TAG_BITS_EXT 0x88F2
@@ -7405,6 +8654,10 @@ GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffse · 106 unmodified lines
7405#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D8654#define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
7406#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF8655#define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
7407#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E8656#define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
8657typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8658#ifdef GL_GLEXT_PROTOTYPES
8659GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8660#endif
7408#endif /* GL_EXT_texture_array */8661#endif /* GL_EXT_texture_array */
7409 8662
7410#ifndef GL_EXT_texture_buffer_object8663#ifndef GL_EXT_texture_buffer_object
@@ -7501,6 +8754,12 @@ GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint · 90 unmodified lines
7501#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF8754#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
7502#endif /* GL_EXT_texture_filter_anisotropic */8755#endif /* GL_EXT_texture_filter_anisotropic */
7503 8756
8757#ifndef GL_EXT_texture_filter_minmax
8758#define GL_EXT_texture_filter_minmax 1
8759#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
8760#define GL_WEIGHTED_AVERAGE_EXT 0x9367
8761#endif /* GL_EXT_texture_filter_minmax */
8762
7504#ifndef GL_EXT_texture_integer8763#ifndef GL_EXT_texture_integer
7505#define GL_EXT_texture_integer 18764#define GL_EXT_texture_integer 1
7506#define GL_RGBA32UI_EXT 0x8D708765#define GL_RGBA32UI_EXT 0x8D70
@@ -7633,6 +8892,16 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); · 126 unmodified lines
7633#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F8892#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
7634#endif /* GL_EXT_texture_sRGB */8893#endif /* GL_EXT_texture_sRGB */
7635 8894
8895#ifndef GL_EXT_texture_sRGB_R8
8896#define GL_EXT_texture_sRGB_R8 1
8897#define GL_SR8_EXT 0x8FBD
8898#endif /* GL_EXT_texture_sRGB_R8 */
8899
8900#ifndef GL_EXT_texture_sRGB_RG8
8901#define GL_EXT_texture_sRGB_RG8 1
8902#define GL_SRG8_EXT 0x8FBE
8903#endif /* GL_EXT_texture_sRGB_RG8 */
8904
7636#ifndef GL_EXT_texture_sRGB_decode8905#ifndef GL_EXT_texture_sRGB_decode
7637#define GL_EXT_texture_sRGB_decode 18906#define GL_EXT_texture_sRGB_decode 1
7638#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A488907#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
@@ -7640,6 +8909,10 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); · 1 unmodified line
7640#define GL_SKIP_DECODE_EXT 0x8A4A8909#define GL_SKIP_DECODE_EXT 0x8A4A
7641#endif /* GL_EXT_texture_sRGB_decode */8910#endif /* GL_EXT_texture_sRGB_decode */
7642 8911
8912#ifndef GL_EXT_texture_shadow_lod
8913#define GL_EXT_texture_shadow_lod 1
8914#endif /* GL_EXT_texture_shadow_lod */
8915
7643#ifndef GL_EXT_texture_shared_exponent8916#ifndef GL_EXT_texture_shared_exponent
7644#define GL_EXT_texture_shared_exponent 18917#define GL_EXT_texture_shared_exponent 1
7645#define GL_RGB9_E5_EXT 0x8C3D8918#define GL_RGB9_E5_EXT 0x8C3D
@@ -7667,6 +8940,36 @@ GLAPI void APIENTRY glTextureNormalEXT (GLenum mode); · 21 unmodified lines
7667#define GL_RGBA_SNORM 0x8F938940#define GL_RGBA_SNORM 0x8F93
7668#endif /* GL_EXT_texture_snorm */8941#endif /* GL_EXT_texture_snorm */
7669 8942
8943#ifndef GL_EXT_texture_storage
8944#define GL_EXT_texture_storage 1
8945#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
8946#define GL_RGBA32F_EXT 0x8814
8947#define GL_RGB32F_EXT 0x8815
8948#define GL_ALPHA32F_EXT 0x8816
8949#define GL_LUMINANCE32F_EXT 0x8818
8950#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
8951#define GL_RGBA16F_EXT 0x881A
8952#define GL_RGB16F_EXT 0x881B
8953#define GL_ALPHA16F_EXT 0x881C
8954#define GL_LUMINANCE16F_EXT 0x881E
8955#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
8956#define GL_BGRA8_EXT 0x93A1
8957#define GL_R8_EXT 0x8229
8958#define GL_RG8_EXT 0x822B
8959#define GL_R32F_EXT 0x822E
8960#define GL_RG32F_EXT 0x8230
8961#define GL_R16F_EXT 0x822D
8962#define GL_RG16F_EXT 0x822F
8963typedef void (APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8964typedef void (APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8965typedef void (APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8966#ifdef GL_GLEXT_PROTOTYPES
8967GLAPI void APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
8968GLAPI void APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
8969GLAPI void APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
8970#endif
8971#endif /* GL_EXT_texture_storage */
8972
7670#ifndef GL_EXT_texture_swizzle8973#ifndef GL_EXT_texture_swizzle
7671#define GL_EXT_texture_swizzle 18974#define GL_EXT_texture_swizzle 1
7672#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E428975#define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
@@ -8045,6 +9348,30 @@ GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei s · 372 unmodified lines
8045#endif9348#endif
8046#endif /* GL_EXT_vertex_weighting */9349#endif /* GL_EXT_vertex_weighting */
8047 9350
9351#ifndef GL_EXT_win32_keyed_mutex
9352#define GL_EXT_win32_keyed_mutex 1
9353typedef GLboolean (APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
9354typedef GLboolean (APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
9355#ifdef GL_GLEXT_PROTOTYPES
9356GLAPI GLboolean APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
9357GLAPI GLboolean APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
9358#endif
9359#endif /* GL_EXT_win32_keyed_mutex */
9360
9361#ifndef GL_EXT_window_rectangles
9362#define GL_EXT_window_rectangles 1
9363#define GL_INCLUSIVE_EXT 0x8F10
9364#define GL_EXCLUSIVE_EXT 0x8F11
9365#define GL_WINDOW_RECTANGLE_EXT 0x8F12
9366#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
9367#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
9368#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
9369typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
9370#ifdef GL_GLEXT_PROTOTYPES
9371GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
9372#endif
9373#endif /* GL_EXT_window_rectangles */
9374
8048#ifndef GL_EXT_x11_sync_object9375#ifndef GL_EXT_x11_sync_object
8049#define GL_EXT_x11_sync_object 19376#define GL_EXT_x11_sync_object 1
8050#define GL_SYNC_X11_FENCE_EXT 0x90E19377#define GL_SYNC_X11_FENCE_EXT 0x90E1
@@ -8222,10 +9549,28 @@ GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRG · 171 unmodified lines
8222#define GL_INTERLACE_READ_INGR 0x85689549#define GL_INTERLACE_READ_INGR 0x8568
8223#endif /* GL_INGR_interlace_read */9550#endif /* GL_INGR_interlace_read */
8224 9551
9552#ifndef GL_INTEL_blackhole_render
9553#define GL_INTEL_blackhole_render 1
9554#define GL_BLACKHOLE_RENDER_INTEL 0x83FC
9555#endif /* GL_INTEL_blackhole_render */
9556
9557#ifndef GL_INTEL_conservative_rasterization
9558#define GL_INTEL_conservative_rasterization 1
9559#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
9560#endif /* GL_INTEL_conservative_rasterization */
9561
8225#ifndef GL_INTEL_fragment_shader_ordering9562#ifndef GL_INTEL_fragment_shader_ordering
8226#define GL_INTEL_fragment_shader_ordering 19563#define GL_INTEL_fragment_shader_ordering 1
8227#endif /* GL_INTEL_fragment_shader_ordering */9564#endif /* GL_INTEL_fragment_shader_ordering */
8228 9565
9566#ifndef GL_INTEL_framebuffer_CMAA
9567#define GL_INTEL_framebuffer_CMAA 1
9568typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
9569#ifdef GL_GLEXT_PROTOTYPES
9570GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
9571#endif
9572#endif /* GL_INTEL_framebuffer_CMAA */
9573
8229#ifndef GL_INTEL_map_texture9574#ifndef GL_INTEL_map_texture
8230#define GL_INTEL_map_texture 19575#define GL_INTEL_map_texture 1
8231#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF9576#define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
@@ -8290,7 +9635,7 @@ typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle); · 58 unmodified lines
8290typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);9635typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
8291typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);9636typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
8292typedef 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);9637typedef 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);
8293typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);9638typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
8294typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);9639typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
8295typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);9640typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8296#ifdef GL_GLEXT_PROTOTYPES9641#ifdef GL_GLEXT_PROTOTYPES
@@ -8301,7 +9646,7 @@ GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle); · 4 unmodified lines
8301GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);9646GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
8302GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);9647GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
8303GLAPI 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);9648GLAPI 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);
8304GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);9649GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
8305GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);9650GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
8306GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);9651GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
8307#endif9652#endif
@@ -8317,11 +9662,37 @@ GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLen · 9 unmodified lines
8317#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E9662#define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
8318#endif /* GL_MESAX_texture_stack */9663#endif /* GL_MESAX_texture_stack */
8319 9664
9665#ifndef GL_MESA_framebuffer_flip_x
9666#define GL_MESA_framebuffer_flip_x 1
9667#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
9668#endif /* GL_MESA_framebuffer_flip_x */
9669
9670#ifndef GL_MESA_framebuffer_flip_y
9671#define GL_MESA_framebuffer_flip_y 1
9672#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
9673typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
9674typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
9675#ifdef GL_GLEXT_PROTOTYPES
9676GLAPI void APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
9677GLAPI void APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
9678#endif
9679#endif /* GL_MESA_framebuffer_flip_y */
9680
9681#ifndef GL_MESA_framebuffer_swap_xy
9682#define GL_MESA_framebuffer_swap_xy 1
9683#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
9684#endif /* GL_MESA_framebuffer_swap_xy */
9685
8320#ifndef GL_MESA_pack_invert9686#ifndef GL_MESA_pack_invert
8321#define GL_MESA_pack_invert 19687#define GL_MESA_pack_invert 1
8322#define GL_PACK_INVERT_MESA 0x87589688#define GL_PACK_INVERT_MESA 0x8758
8323#endif /* GL_MESA_pack_invert */9689#endif /* GL_MESA_pack_invert */
8324 9690
9691#ifndef GL_MESA_program_binary_formats
9692#define GL_MESA_program_binary_formats 1
9693#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
9694#endif /* GL_MESA_program_binary_formats */
9695
8325#ifndef GL_MESA_resize_buffers9696#ifndef GL_MESA_resize_buffers
8326#define GL_MESA_resize_buffers 19697#define GL_MESA_resize_buffers 1
8327typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);9698typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
@@ -8330,6 +9701,17 @@ GLAPI void APIENTRY glResizeBuffersMESA (void); · 2 unmodified lines
8330#endif9701#endif
8331#endif /* GL_MESA_resize_buffers */9702#endif /* GL_MESA_resize_buffers */
8332 9703
9704#ifndef GL_MESA_shader_integer_functions
9705#define GL_MESA_shader_integer_functions 1
9706#endif /* GL_MESA_shader_integer_functions */
9707
9708#ifndef GL_MESA_tile_raster_order
9709#define GL_MESA_tile_raster_order 1
9710#define GL_TILE_RASTER_ORDER_FIXED_MESA 0x8BB8
9711#define GL_TILE_RASTER_ORDER_INCREASING_X_MESA 0x8BB9
9712#define GL_TILE_RASTER_ORDER_INCREASING_Y_MESA 0x8BBA
9713#endif /* GL_MESA_tile_raster_order */
9714
8333#ifndef GL_MESA_window_pos9715#ifndef GL_MESA_window_pos
8334#define GL_MESA_window_pos 19716#define GL_MESA_window_pos 1
8335typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);9717typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
@@ -8391,6 +9773,10 @@ GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v); · 55 unmodified lines
8391#define GL_YCBCR_MESA 0x87579773#define GL_YCBCR_MESA 0x8757
8392#endif /* GL_MESA_ycbcr_texture */9774#endif /* GL_MESA_ycbcr_texture */
8393 9775
9776#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
9777#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
9778#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
9779
8394#ifndef GL_NVX_conditional_render9780#ifndef GL_NVX_conditional_render
8395#define GL_NVX_conditional_render 19781#define GL_NVX_conditional_render 1
8396typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);9782typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
@@ -8410,6 +9796,65 @@ GLAPI void APIENTRY glEndConditionalRenderNVX (void); · 13 unmodified lines
8410#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B9796#define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
8411#endif /* GL_NVX_gpu_memory_info */9797#endif /* GL_NVX_gpu_memory_info */
8412 9798
9799#ifndef GL_NVX_gpu_multicast2
9800#define GL_NVX_gpu_multicast2 1
9801#define GL_UPLOAD_GPU_MASK_NVX 0x954A
9802typedef void (APIENTRYP PFNGLUPLOADGPUMASKNVXPROC) (GLbitfield mask);
9803typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9804typedef void (APIENTRYP PFNGLMULTICASTVIEWPORTPOSITIONWSCALENVXPROC) (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9805typedef void (APIENTRYP PFNGLMULTICASTSCISSORARRAYVNVXPROC) (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9806typedef GLuint (APIENTRYP PFNGLASYNCCOPYBUFFERSUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9807typedef GLuint (APIENTRYP PFNGLASYNCCOPYIMAGESUBDATANVXPROC) (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9808#ifdef GL_GLEXT_PROTOTYPES
9809GLAPI void APIENTRY glUploadGpuMaskNVX (GLbitfield mask);
9810GLAPI void APIENTRY glMulticastViewportArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLfloat *v);
9811GLAPI void APIENTRY glMulticastViewportPositionWScaleNVX (GLuint gpu, GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9812GLAPI void APIENTRY glMulticastScissorArrayvNVX (GLuint gpu, GLuint first, GLsizei count, const GLint *v);
9813GLAPI GLuint APIENTRY glAsyncCopyBufferSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *fenceValueArray, GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9814GLAPI GLuint APIENTRY glAsyncCopyImageSubDataNVX (GLsizei waitSemaphoreCount, const GLuint *waitSemaphoreArray, const GLuint64 *waitValueArray, GLuint srcGpu, GLbitfield dstGpuMask, 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, GLsizei signalSemaphoreCount, const GLuint *signalSemaphoreArray, const GLuint64 *signalValueArray);
9815#endif
9816#endif /* GL_NVX_gpu_multicast2 */
9817
9818#ifndef GL_NVX_linked_gpu_multicast
9819#define GL_NVX_linked_gpu_multicast 1
9820#define GL_LGPU_SEPARATE_STORAGE_BIT_NVX 0x0800
9821#define GL_MAX_LGPU_GPUS_NVX 0x92BA
9822typedef void (APIENTRYP PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9823typedef void (APIENTRYP PFNGLLGPUCOPYIMAGESUBDATANVXPROC) (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9824typedef void (APIENTRYP PFNGLLGPUINTERLOCKNVXPROC) (void);
9825#ifdef GL_GLEXT_PROTOTYPES
9826GLAPI void APIENTRY glLGPUNamedBufferSubDataNVX (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
9827GLAPI void APIENTRY glLGPUCopyImageSubDataNVX (GLuint sourceGpu, GLbitfield destinationGpuMask, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srxY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
9828GLAPI void APIENTRY glLGPUInterlockNVX (void);
9829#endif
9830#endif /* GL_NVX_linked_gpu_multicast */
9831
9832#ifndef GL_NVX_progress_fence
9833#define GL_NVX_progress_fence 1
9834typedef GLuint (APIENTRYP PFNGLCREATEPROGRESSFENCENVXPROC) (void);
9835typedef void (APIENTRYP PFNGLSIGNALSEMAPHOREUI64NVXPROC) (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9836typedef void (APIENTRYP PFNGLWAITSEMAPHOREUI64NVXPROC) (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9837typedef void (APIENTRYP PFNGLCLIENTWAITSEMAPHOREUI64NVXPROC) (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9838#ifdef GL_GLEXT_PROTOTYPES
9839GLAPI GLuint APIENTRY glCreateProgressFenceNVX (void);
9840GLAPI void APIENTRY glSignalSemaphoreui64NVX (GLuint signalGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9841GLAPI void APIENTRY glWaitSemaphoreui64NVX (GLuint waitGpu, GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9842GLAPI void APIENTRY glClientWaitSemaphoreui64NVX (GLsizei fenceObjectCount, const GLuint *semaphoreArray, const GLuint64 *fenceValueArray);
9843#endif
9844#endif /* GL_NVX_progress_fence */
9845
9846#ifndef GL_NV_alpha_to_coverage_dither_control
9847#define GL_NV_alpha_to_coverage_dither_control 1
9848#define GL_ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV 0x934D
9849#define GL_ALPHA_TO_COVERAGE_DITHER_ENABLE_NV 0x934E
9850#define GL_ALPHA_TO_COVERAGE_DITHER_DISABLE_NV 0x934F
9851#define GL_ALPHA_TO_COVERAGE_DITHER_MODE_NV 0x92BF
9852typedef void (APIENTRYP PFNGLALPHATOCOVERAGEDITHERCONTROLNVPROC) (GLenum mode);
9853#ifdef GL_GLEXT_PROTOTYPES
9854GLAPI void APIENTRY glAlphaToCoverageDitherControlNV (GLenum mode);
9855#endif
9856#endif /* GL_NV_alpha_to_coverage_dither_control */
9857
8413#ifndef GL_NV_bindless_multi_draw_indirect9858#ifndef GL_NV_bindless_multi_draw_indirect
8414#define GL_NV_bindless_multi_draw_indirect 19859#define GL_NV_bindless_multi_draw_indirect 1
8415typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);9860typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei stride, GLint vertexBufferCount);
@@ -8420,6 +9865,16 @@ GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessNV (GLenum mode, GLenum t · 4 unmodified lines
8420#endif9865#endif
8421#endif /* GL_NV_bindless_multi_draw_indirect */9866#endif /* GL_NV_bindless_multi_draw_indirect */
8422 9867
9868#ifndef GL_NV_bindless_multi_draw_indirect_count
9869#define GL_NV_bindless_multi_draw_indirect_count 1
9870typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9871typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9872#ifdef GL_GLEXT_PROTOTYPES
9873GLAPI void APIENTRY glMultiDrawArraysIndirectBindlessCountNV (GLenum mode, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9874GLAPI void APIENTRY glMultiDrawElementsIndirectBindlessCountNV (GLenum mode, GLenum type, const void *indirect, GLsizei drawCount, GLsizei maxDrawCount, GLsizei stride, GLint vertexBufferCount);
9875#endif
9876#endif /* GL_NV_bindless_multi_draw_indirect_count */
9877
8423#ifndef GL_NV_bindless_texture9878#ifndef GL_NV_bindless_texture
8424#define GL_NV_bindless_texture 19879#define GL_NV_bindless_texture 1
8425typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);9880typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
@@ -8516,16 +9971,94 @@ GLAPI void APIENTRY glBlendBarrierNV (void); · 90 unmodified lines
8516#define GL_BLEND_ADVANCED_COHERENT_NV 0x92859971#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
8517#endif /* GL_NV_blend_equation_advanced_coherent */9972#endif /* GL_NV_blend_equation_advanced_coherent */
8518 9973
9974#ifndef GL_NV_blend_minmax_factor
9975#define GL_NV_blend_minmax_factor 1
9976#endif /* GL_NV_blend_minmax_factor */
9977
8519#ifndef GL_NV_blend_square9978#ifndef GL_NV_blend_square
8520#define GL_NV_blend_square 19979#define GL_NV_blend_square 1
8521#endif /* GL_NV_blend_square */9980#endif /* GL_NV_blend_square */
8522 9981
9982#ifndef GL_NV_clip_space_w_scaling
9983#define GL_NV_clip_space_w_scaling 1
9984#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
9985#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
9986#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
9987typedef void (APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9988#ifdef GL_GLEXT_PROTOTYPES
9989GLAPI void APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
9990#endif
9991#endif /* GL_NV_clip_space_w_scaling */
9992
9993#ifndef GL_NV_command_list
9994#define GL_NV_command_list 1
9995#define GL_TERMINATE_SEQUENCE_COMMAND_NV 0x0000
9996#define GL_NOP_COMMAND_NV 0x0001
9997#define GL_DRAW_ELEMENTS_COMMAND_NV 0x0002
9998#define GL_DRAW_ARRAYS_COMMAND_NV 0x0003
9999#define GL_DRAW_ELEMENTS_STRIP_COMMAND_NV 0x0004
10000#define GL_DRAW_ARRAYS_STRIP_COMMAND_NV 0x0005
10001#define GL_DRAW_ELEMENTS_INSTANCED_COMMAND_NV 0x0006
10002#define GL_DRAW_ARRAYS_INSTANCED_COMMAND_NV 0x0007
10003#define GL_ELEMENT_ADDRESS_COMMAND_NV 0x0008
10004#define GL_ATTRIBUTE_ADDRESS_COMMAND_NV 0x0009
10005#define GL_UNIFORM_ADDRESS_COMMAND_NV 0x000A
10006#define GL_BLEND_COLOR_COMMAND_NV 0x000B
10007#define GL_STENCIL_REF_COMMAND_NV 0x000C
10008#define GL_LINE_WIDTH_COMMAND_NV 0x000D
10009#define GL_POLYGON_OFFSET_COMMAND_NV 0x000E
10010#define GL_ALPHA_REF_COMMAND_NV 0x000F
10011#define GL_VIEWPORT_COMMAND_NV 0x0010
10012#define GL_SCISSOR_COMMAND_NV 0x0011
10013#define GL_FRONT_FACE_COMMAND_NV 0x0012
10014typedef void (APIENTRYP PFNGLCREATESTATESNVPROC) (GLsizei n, GLuint *states);
10015typedef void (APIENTRYP PFNGLDELETESTATESNVPROC) (GLsizei n, const GLuint *states);
10016typedef GLboolean (APIENTRYP PFNGLISSTATENVPROC) (GLuint state);
10017typedef void (APIENTRYP PFNGLSTATECAPTURENVPROC) (GLuint state, GLenum mode);
10018typedef GLuint (APIENTRYP PFNGLGETCOMMANDHEADERNVPROC) (GLenum tokenID, GLuint size);
10019typedef GLushort (APIENTRYP PFNGLGETSTAGEINDEXNVPROC) (GLenum shadertype);
10020typedef void (APIENTRYP PFNGLDRAWCOMMANDSNVPROC) (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
10021typedef void (APIENTRYP PFNGLDRAWCOMMANDSADDRESSNVPROC) (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
10022typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESNVPROC) (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10023typedef void (APIENTRYP PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC) (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10024typedef void (APIENTRYP PFNGLCREATECOMMANDLISTSNVPROC) (GLsizei n, GLuint *lists);
10025typedef void (APIENTRYP PFNGLDELETECOMMANDLISTSNVPROC) (GLsizei n, const GLuint *lists);
10026typedef GLboolean (APIENTRYP PFNGLISCOMMANDLISTNVPROC) (GLuint list);
10027typedef void (APIENTRYP PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC) (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10028typedef void (APIENTRYP PFNGLCOMMANDLISTSEGMENTSNVPROC) (GLuint list, GLuint segments);
10029typedef void (APIENTRYP PFNGLCOMPILECOMMANDLISTNVPROC) (GLuint list);
10030typedef void (APIENTRYP PFNGLCALLCOMMANDLISTNVPROC) (GLuint list);
10031#ifdef GL_GLEXT_PROTOTYPES
10032GLAPI void APIENTRY glCreateStatesNV (GLsizei n, GLuint *states);
10033GLAPI void APIENTRY glDeleteStatesNV (GLsizei n, const GLuint *states);
10034GLAPI GLboolean APIENTRY glIsStateNV (GLuint state);
10035GLAPI void APIENTRY glStateCaptureNV (GLuint state, GLenum mode);
10036GLAPI GLuint APIENTRY glGetCommandHeaderNV (GLenum tokenID, GLuint size);
10037GLAPI GLushort APIENTRY glGetStageIndexNV (GLenum shadertype);
10038GLAPI void APIENTRY glDrawCommandsNV (GLenum primitiveMode, GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, GLuint count);
10039GLAPI void APIENTRY glDrawCommandsAddressNV (GLenum primitiveMode, const GLuint64 *indirects, const GLsizei *sizes, GLuint count);
10040GLAPI void APIENTRY glDrawCommandsStatesNV (GLuint buffer, const GLintptr *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10041GLAPI void APIENTRY glDrawCommandsStatesAddressNV (const GLuint64 *indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10042GLAPI void APIENTRY glCreateCommandListsNV (GLsizei n, GLuint *lists);
10043GLAPI void APIENTRY glDeleteCommandListsNV (GLsizei n, const GLuint *lists);
10044GLAPI GLboolean APIENTRY glIsCommandListNV (GLuint list);
10045GLAPI void APIENTRY glListDrawCommandsStatesClientNV (GLuint list, GLuint segment, const void **indirects, const GLsizei *sizes, const GLuint *states, const GLuint *fbos, GLuint count);
10046GLAPI void APIENTRY glCommandListSegmentsNV (GLuint list, GLuint segments);
10047GLAPI void APIENTRY glCompileCommandListNV (GLuint list);
10048GLAPI void APIENTRY glCallCommandListNV (GLuint list);
10049#endif
10050#endif /* GL_NV_command_list */
10051
8523#ifndef GL_NV_compute_program510052#ifndef GL_NV_compute_program5
8524#define GL_NV_compute_program5 110053#define GL_NV_compute_program5 1
8525#define GL_COMPUTE_PROGRAM_NV 0x90FB10054#define GL_COMPUTE_PROGRAM_NV 0x90FB
8526#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC10055#define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
8527#endif /* GL_NV_compute_program5 */10056#endif /* GL_NV_compute_program5 */
8528 10057
10058#ifndef GL_NV_compute_shader_derivatives
10059#define GL_NV_compute_shader_derivatives 1
10060#endif /* GL_NV_compute_shader_derivatives */
10061
8529#ifndef GL_NV_conditional_render10062#ifndef GL_NV_conditional_render
8530#define GL_NV_conditional_render 110063#define GL_NV_conditional_render 1
8531#define GL_QUERY_WAIT_NV 0x8E1310064#define GL_QUERY_WAIT_NV 0x8E13
@@ -8540,6 +10073,49 @@ GLAPI void APIENTRY glEndConditionalRenderNV (void); · 8 unmodified lines
8540#endif10073#endif
8541#endif /* GL_NV_conditional_render */10074#endif /* GL_NV_conditional_render */
8542 10075
10076#ifndef GL_NV_conservative_raster
10077#define GL_NV_conservative_raster 1
10078#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
10079#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
10080#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
10081#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
10082typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
10083#ifdef GL_GLEXT_PROTOTYPES
10084GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
10085#endif
10086#endif /* GL_NV_conservative_raster */
10087
10088#ifndef GL_NV_conservative_raster_dilate
10089#define GL_NV_conservative_raster_dilate 1
10090#define GL_CONSERVATIVE_RASTER_DILATE_NV 0x9379
10091#define GL_CONSERVATIVE_RASTER_DILATE_RANGE_NV 0x937A
10092#define GL_CONSERVATIVE_RASTER_DILATE_GRANULARITY_NV 0x937B
10093typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERFNVPROC) (GLenum pname, GLfloat value);
10094#ifdef GL_GLEXT_PROTOTYPES
10095GLAPI void APIENTRY glConservativeRasterParameterfNV (GLenum pname, GLfloat value);
10096#endif
10097#endif /* GL_NV_conservative_raster_dilate */
10098
10099#ifndef GL_NV_conservative_raster_pre_snap
10100#define GL_NV_conservative_raster_pre_snap 1
10101#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
10102#endif /* GL_NV_conservative_raster_pre_snap */
10103
10104#ifndef GL_NV_conservative_raster_pre_snap_triangles
10105#define GL_NV_conservative_raster_pre_snap_triangles 1
10106#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
10107#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
10108#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
10109typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
10110#ifdef GL_GLEXT_PROTOTYPES
10111GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
10112#endif
10113#endif /* GL_NV_conservative_raster_pre_snap_triangles */
10114
10115#ifndef GL_NV_conservative_raster_underestimation
10116#define GL_NV_conservative_raster_underestimation 1
10117#endif /* GL_NV_conservative_raster_underestimation */
10118
8543#ifndef GL_NV_copy_depth_to_color10119#ifndef GL_NV_copy_depth_to_color
8544#define GL_NV_copy_depth_to_color 110120#define GL_NV_copy_depth_to_color 1
8545#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E10121#define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
@@ -8589,6 +10165,23 @@ GLAPI void APIENTRY glDrawTextureNV (GLuint texture, GLuint sampler, GLfloat x0, · 43 unmodified lines
8589#endif10165#endif
8590#endif /* GL_NV_draw_texture */10166#endif /* GL_NV_draw_texture */
8591 10167
10168#ifndef GL_NV_draw_vulkan_image
10169#define GL_NV_draw_vulkan_image 1
10170typedef void (APIENTRY *GLVULKANPROCNV)(void);
10171typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
10172typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
10173typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
10174typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
10175typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
10176#ifdef GL_GLEXT_PROTOTYPES
10177GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
10178GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
10179GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
10180GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
10181GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
10182#endif
10183#endif /* GL_NV_draw_vulkan_image */
10184
8592#ifndef GL_NV_evaluators10185#ifndef GL_NV_evaluators
8593#define GL_NV_evaluators 110186#define GL_NV_evaluators 1
8594#define GL_EVAL_2D_NV 0x86C010187#define GL_EVAL_2D_NV 0x86C0
@@ -8682,6 +10275,11 @@ GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition); · 87 unmodified lines
8682#endif10275#endif
8683#endif /* GL_NV_fence */10276#endif /* GL_NV_fence */
8684 10277
10278#ifndef GL_NV_fill_rectangle
10279#define GL_NV_fill_rectangle 1
10280#define GL_FILL_RECTANGLE_NV 0x933C
10281#endif /* GL_NV_fill_rectangle */
10282
8685#ifndef GL_NV_float_buffer10283#ifndef GL_NV_float_buffer
8686#define GL_NV_float_buffer 110284#define GL_NV_float_buffer 1
8687#define GL_FLOAT_R_NV 0x888010285#define GL_FLOAT_R_NV 0x8880
@@ -8708,6 +10306,16 @@ GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition); · 20 unmodified lines
8708#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C10306#define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
8709#endif /* GL_NV_fog_distance */10307#endif /* GL_NV_fog_distance */
8710 10308
10309#ifndef GL_NV_fragment_coverage_to_color
10310#define GL_NV_fragment_coverage_to_color 1
10311#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
10312#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
10313typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
10314#ifdef GL_GLEXT_PROTOTYPES
10315GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
10316#endif
10317#endif /* GL_NV_fragment_coverage_to_color */
10318
8711#ifndef GL_NV_fragment_program10319#ifndef GL_NV_fragment_program
8712#define GL_NV_fragment_program 110320#define GL_NV_fragment_program 1
8713#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x886810321#define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
@@ -8749,6 +10357,34 @@ GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, cons · 35 unmodified lines
8749#define GL_NV_fragment_program_option 110357#define GL_NV_fragment_program_option 1
8750#endif /* GL_NV_fragment_program_option */10358#endif /* GL_NV_fragment_program_option */
8751 10359
10360#ifndef GL_NV_fragment_shader_barycentric
10361#define GL_NV_fragment_shader_barycentric 1
10362#endif /* GL_NV_fragment_shader_barycentric */
10363
10364#ifndef GL_NV_fragment_shader_interlock
10365#define GL_NV_fragment_shader_interlock 1
10366#endif /* GL_NV_fragment_shader_interlock */
10367
10368#ifndef GL_NV_framebuffer_mixed_samples
10369#define GL_NV_framebuffer_mixed_samples 1
10370#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
10371#define GL_COLOR_SAMPLES_NV 0x8E20
10372#define GL_DEPTH_SAMPLES_NV 0x932D
10373#define GL_STENCIL_SAMPLES_NV 0x932E
10374#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
10375#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
10376#define GL_COVERAGE_MODULATION_NV 0x9332
10377#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
10378typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
10379typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
10380typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
10381#ifdef GL_GLEXT_PROTOTYPES
10382GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
10383GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
10384GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
10385#endif
10386#endif /* GL_NV_framebuffer_mixed_samples */
10387
8752#ifndef GL_NV_framebuffer_multisample_coverage10388#ifndef GL_NV_framebuffer_multisample_coverage
8753#define GL_NV_framebuffer_multisample_coverage 110389#define GL_NV_framebuffer_multisample_coverage 1
8754#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB10390#define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
@@ -8768,12 +10404,10 @@ GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, G · 13 unmodified lines
8768#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C2810404#define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
8769typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);10405typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
8770typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);10406typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
8771typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8772typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);10407typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8773#ifdef GL_GLEXT_PROTOTYPES10408#ifdef GL_GLEXT_PROTOTYPES
8774GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);10409GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
8775GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);10410GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
8776GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
8777GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);10411GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
8778#endif10412#endif
8779#endif /* GL_NV_geometry_program4 */10413#endif /* GL_NV_geometry_program4 */
@@ -8782,6 +10416,45 @@ GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachmen · 2 unmodified lines
8782#define GL_NV_geometry_shader4 110416#define GL_NV_geometry_shader4 1
8783#endif /* GL_NV_geometry_shader4 */10417#endif /* GL_NV_geometry_shader4 */
8784 10418
10419#ifndef GL_NV_geometry_shader_passthrough
10420#define GL_NV_geometry_shader_passthrough 1
10421#endif /* GL_NV_geometry_shader_passthrough */
10422
10423#ifndef GL_NV_gpu_multicast
10424#define GL_NV_gpu_multicast 1
10425#define GL_PER_GPU_STORAGE_BIT_NV 0x0800
10426#define GL_MULTICAST_GPUS_NV 0x92BA
10427#define GL_RENDER_GPU_MASK_NV 0x9558
10428#define GL_PER_GPU_STORAGE_NV 0x9548
10429#define GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9549
10430typedef void (APIENTRYP PFNGLRENDERGPUMASKNVPROC) (GLbitfield mask);
10431typedef void (APIENTRYP PFNGLMULTICASTBUFFERSUBDATANVPROC) (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10432typedef void (APIENTRYP PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC) (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10433typedef void (APIENTRYP PFNGLMULTICASTCOPYIMAGESUBDATANVPROC) (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10434typedef void (APIENTRYP PFNGLMULTICASTBLITFRAMEBUFFERNVPROC) (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10435typedef void (APIENTRYP PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10436typedef void (APIENTRYP PFNGLMULTICASTBARRIERNVPROC) (void);
10437typedef void (APIENTRYP PFNGLMULTICASTWAITSYNCNVPROC) (GLuint signalGpu, GLbitfield waitGpuMask);
10438typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10439typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10440typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10441typedef void (APIENTRYP PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC) (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10442#ifdef GL_GLEXT_PROTOTYPES
10443GLAPI void APIENTRY glRenderGpuMaskNV (GLbitfield mask);
10444GLAPI void APIENTRY glMulticastBufferSubDataNV (GLbitfield gpuMask, GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
10445GLAPI void APIENTRY glMulticastCopyBufferSubDataNV (GLuint readGpu, GLbitfield writeGpuMask, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
10446GLAPI void APIENTRY glMulticastCopyImageSubDataNV (GLuint srcGpu, GLbitfield dstGpuMask, 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);
10447GLAPI void APIENTRY glMulticastBlitFramebufferNV (GLuint srcGpu, GLuint dstGpu, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
10448GLAPI void APIENTRY glMulticastFramebufferSampleLocationsfvNV (GLuint gpu, GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
10449GLAPI void APIENTRY glMulticastBarrierNV (void);
10450GLAPI void APIENTRY glMulticastWaitSyncNV (GLuint signalGpu, GLbitfield waitGpuMask);
10451GLAPI void APIENTRY glMulticastGetQueryObjectivNV (GLuint gpu, GLuint id, GLenum pname, GLint *params);
10452GLAPI void APIENTRY glMulticastGetQueryObjectuivNV (GLuint gpu, GLuint id, GLenum pname, GLuint *params);
10453GLAPI void APIENTRY glMulticastGetQueryObjecti64vNV (GLuint gpu, GLuint id, GLenum pname, GLint64 *params);
10454GLAPI void APIENTRY glMulticastGetQueryObjectui64vNV (GLuint gpu, GLuint id, GLenum pname, GLuint64 *params);
10455#endif
10456#endif /* GL_NV_gpu_multicast */
10457
8785#ifndef GL_NV_gpu_program410458#ifndef GL_NV_gpu_program4
8786#define GL_NV_gpu_program4 110459#define GL_NV_gpu_program4 1
8787#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x890410460#define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
@@ -8954,15 +10627,130 @@ GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfN · 166 unmodified lines
8954#endif10627#endif
8955#endif /* GL_NV_half_float */10628#endif /* GL_NV_half_float */
8956 10629
10630#ifndef GL_NV_internalformat_sample_query
10631#define GL_NV_internalformat_sample_query 1
10632#define GL_MULTISAMPLES_NV 0x9371
10633#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
10634#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
10635#define GL_CONFORMANT_NV 0x9374
10636typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10637#ifdef GL_GLEXT_PROTOTYPES
10638GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
10639#endif
10640#endif /* GL_NV_internalformat_sample_query */
10641
8957#ifndef GL_NV_light_max_exponent10642#ifndef GL_NV_light_max_exponent
8958#define GL_NV_light_max_exponent 110643#define GL_NV_light_max_exponent 1
8959#define GL_MAX_SHININESS_NV 0x850410644#define GL_MAX_SHININESS_NV 0x8504
8960#define GL_MAX_SPOT_EXPONENT_NV 0x850510645#define GL_MAX_SPOT_EXPONENT_NV 0x8505
8961#endif /* GL_NV_light_max_exponent */10646#endif /* GL_NV_light_max_exponent */
8962 10647
10648#ifndef GL_NV_memory_attachment
10649#define GL_NV_memory_attachment 1
10650#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
10651#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
10652#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
10653#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
10654#define GL_MEMORY_ATTACHABLE_NV 0x95A8
10655#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
10656#define GL_DETACHED_TEXTURES_NV 0x95AA
10657#define GL_DETACHED_BUFFERS_NV 0x95AB
10658#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
10659#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
10660typedef void (APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10661typedef void (APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
10662typedef void (APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10663typedef void (APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
10664typedef void (APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
10665typedef void (APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
10666#ifdef GL_GLEXT_PROTOTYPES
10667GLAPI void APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
10668GLAPI void APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
10669GLAPI void APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10670GLAPI void APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
10671GLAPI void APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
10672GLAPI void APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
10673#endif
10674#endif /* GL_NV_memory_attachment */
10675
10676#ifndef GL_NV_memory_object_sparse
10677#define GL_NV_memory_object_sparse 1
10678typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10679typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10680typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10681typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10682#ifdef GL_GLEXT_PROTOTYPES
10683GLAPI void APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10684GLAPI void APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10685GLAPI void APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
10686GLAPI void APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
10687#endif
10688#endif /* GL_NV_memory_object_sparse */
10689
10690#ifndef GL_NV_mesh_shader
10691#define GL_NV_mesh_shader 1
10692#define GL_MESH_SHADER_NV 0x9559
10693#define GL_TASK_SHADER_NV 0x955A
10694#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
10695#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
10696#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
10697#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
10698#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
10699#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
10700#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
10701#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
10702#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
10703#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
10704#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
10705#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
10706#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
10707#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
10708#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
10709#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
10710#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
10711#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
10712#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
10713#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
10714#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
10715#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
10716#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
10717#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
10718#define GL_MAX_MESH_VIEWS_NV 0x9557
10719#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
10720#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
10721#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
10722#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
10723#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
10724#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
10725#define GL_MESH_VERTICES_OUT_NV 0x9579
10726#define GL_MESH_PRIMITIVES_OUT_NV 0x957A
10727#define GL_MESH_OUTPUT_TYPE_NV 0x957B
10728#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
10729#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
10730#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
10731#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
10732#define GL_MESH_SHADER_BIT_NV 0x00000040
10733#define GL_TASK_SHADER_BIT_NV 0x00000080
10734#define GL_MESH_SUBROUTINE_NV 0x957C
10735#define GL_TASK_SUBROUTINE_NV 0x957D
10736#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
10737#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
10738#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
10739#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
10740typedef void (APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
10741typedef void (APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
10742typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10743typedef void (APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10744#ifdef GL_GLEXT_PROTOTYPES
10745GLAPI void APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
10746GLAPI void APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
10747GLAPI void APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
10748GLAPI void APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
10749#endif
10750#endif /* GL_NV_mesh_shader */
10751
8963#ifndef GL_NV_multisample_coverage10752#ifndef GL_NV_multisample_coverage
8964#define GL_NV_multisample_coverage 110753#define GL_NV_multisample_coverage 1
8965#define GL_COLOR_SAMPLES_NV 0x8E20
8966#endif /* GL_NV_multisample_coverage */10754#endif /* GL_NV_multisample_coverage */
8967 10755
8968#ifndef GL_NV_multisample_filter_hint10756#ifndef GL_NV_multisample_filter_hint
@@ -9075,13 +10863,11 @@ GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindi · 106 unmodified lines
9075#define GL_SKIP_MISSING_GLYPH_NV 0x90A910863#define GL_SKIP_MISSING_GLYPH_NV 0x90A9
9076#define GL_USE_MISSING_GLYPH_NV 0x90AA10864#define GL_USE_MISSING_GLYPH_NV 0x90AA
9077#define GL_PATH_ERROR_POSITION_NV 0x90AB10865#define GL_PATH_ERROR_POSITION_NV 0x90AB
9078#define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9079#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD10866#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
9080#define GL_ADJACENT_PAIRS_NV 0x90AE10867#define GL_ADJACENT_PAIRS_NV 0x90AE
9081#define GL_FIRST_TO_REST_NV 0x90AF10868#define GL_FIRST_TO_REST_NV 0x90AF
9082#define GL_PATH_GEN_MODE_NV 0x90B010869#define GL_PATH_GEN_MODE_NV 0x90B0
9083#define GL_PATH_GEN_COEFF_NV 0x90B110870#define GL_PATH_GEN_COEFF_NV 0x90B1
9084#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
9085#define GL_PATH_GEN_COMPONENTS_NV 0x90B310871#define GL_PATH_GEN_COMPONENTS_NV 0x90B3
9086#define GL_PATH_STENCIL_FUNC_NV 0x90B710872#define GL_PATH_STENCIL_FUNC_NV 0x90B7
9087#define GL_PATH_STENCIL_REF_NV 0x90B810873#define GL_PATH_STENCIL_REF_NV 0x90B8
@@ -9150,8 +10936,44 @@ GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint bindi · 62 unmodified lines
9150#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x0400000010936#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
9151#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x0800000010937#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
9152#define GL_FONT_HAS_KERNING_BIT_NV 0x1000000010938#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
10939#define GL_ROUNDED_RECT_NV 0xE8
10940#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
10941#define GL_ROUNDED_RECT2_NV 0xEA
10942#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
10943#define GL_ROUNDED_RECT4_NV 0xEC
10944#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
10945#define GL_ROUNDED_RECT8_NV 0xEE
10946#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
10947#define GL_RELATIVE_RECT_NV 0xF7
10948#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
10949#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
10950#define GL_FONT_UNAVAILABLE_NV 0x936A
10951#define GL_FONT_UNINTELLIGIBLE_NV 0x936B
10952#define GL_CONIC_CURVE_TO_NV 0x1A
10953#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
10954#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
10955#define GL_STANDARD_FONT_FORMAT_NV 0x936C
10956#define GL_2_BYTES_NV 0x1407
10957#define GL_3_BYTES_NV 0x1408
10958#define GL_4_BYTES_NV 0x1409
10959#define GL_EYE_LINEAR_NV 0x2400
10960#define GL_OBJECT_LINEAR_NV 0x2401
10961#define GL_CONSTANT_NV 0x8576
10962#define GL_PATH_FOG_GEN_MODE_NV 0x90AC
9153#define GL_PRIMARY_COLOR_NV 0x852C10963#define GL_PRIMARY_COLOR_NV 0x852C
9154#define GL_SECONDARY_COLOR_NV 0x852D10964#define GL_SECONDARY_COLOR_NV 0x852D
10965#define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
10966#define GL_PATH_PROJECTION_NV 0x1701
10967#define GL_PATH_MODELVIEW_NV 0x1700
10968#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
10969#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
10970#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
10971#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
10972#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
10973#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
10974#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
10975#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
10976#define GL_FRAGMENT_INPUT_NV 0x936D
9155typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);10977typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
9156typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);10978typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
9157typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);10979typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
@@ -9178,9 +11000,6 @@ typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint refere · 20 unmodified lines
9178typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);11000typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9179typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);11001typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9180typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);11002typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
9181typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9182typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9183typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
9184typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);11003typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
9185typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);11004typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
9186typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);11005typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9193,14 +11012,32 @@ typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dash · 6 unmodified lines
9193typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);11012typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9194typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);11013typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9195typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);11014typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9196typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
9197typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
9198typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
9199typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9200typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);11015typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9201typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);11016typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
9202typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);11017typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
9203typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);11018typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
11019typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
11020typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11021typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11022typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
11023typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11024typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
11025typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
11026typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
11027typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11028typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11029typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
11030typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11031typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11032typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
11033typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
11034typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
11035typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
11036typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
11037typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
11038typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
11039typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
11040typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
9204#ifdef GL_GLEXT_PROTOTYPES11041#ifdef GL_GLEXT_PROTOTYPES
9205GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);11042GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
9206GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);11043GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
@@ -9228,9 +11065,6 @@ GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint · 21 unmodified lines
9228GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);11065GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9229GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);11066GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
9230GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);11067GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
9231GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
9232GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
9233GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
9234GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);11068GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
9235GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);11069GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
9236GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);11070GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
@@ -9243,17 +11077,40 @@ GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray); · 6 unmodified lines
9243GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);11077GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
9244GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);11078GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
9245GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);11079GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
9246GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
9247GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
9248GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
9249GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9250GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);11080GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
9251GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);11081GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
9252GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);11082GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
9253GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);11083GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
11084GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
11085GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
11086GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
11087GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
11088GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
11089GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
11090GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
11091GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
11092GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11093GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
11094GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
11095GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11096GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
11097GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
11098GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
11099GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
11100GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
11101GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
11102GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
11103GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
11104GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
11105GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
9254#endif11106#endif
9255#endif /* GL_NV_path_rendering */11107#endif /* GL_NV_path_rendering */
9256 11108
11109#ifndef GL_NV_path_rendering_shared_edge
11110#define GL_NV_path_rendering_shared_edge 1
11111#define GL_SHARED_EDGE_NV 0xC0
11112#endif /* GL_NV_path_rendering_shared_edge */
11113
9257#ifndef GL_NV_pixel_data_range11114#ifndef GL_NV_pixel_data_range
9258#define GL_NV_pixel_data_range 111115#define GL_NV_pixel_data_range 1
9259#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x887811116#define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
@@ -9319,6 +11176,38 @@ GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index); · 59 unmodified lines
9319#endif11176#endif
9320#endif /* GL_NV_primitive_restart */11177#endif /* GL_NV_primitive_restart */
9321 11178
11179#ifndef GL_NV_primitive_shading_rate
11180#define GL_NV_primitive_shading_rate 1
11181#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
11182#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
11183#endif /* GL_NV_primitive_shading_rate */
11184
11185#ifndef GL_NV_query_resource
11186#define GL_NV_query_resource 1
11187#define GL_QUERY_RESOURCE_TYPE_VIDMEM_ALLOC_NV 0x9540
11188#define GL_QUERY_RESOURCE_MEMTYPE_VIDMEM_NV 0x9542
11189#define GL_QUERY_RESOURCE_SYS_RESERVED_NV 0x9544
11190#define GL_QUERY_RESOURCE_TEXTURE_NV 0x9545
11191#define GL_QUERY_RESOURCE_RENDERBUFFER_NV 0x9546
11192#define GL_QUERY_RESOURCE_BUFFEROBJECT_NV 0x9547
11193typedef GLint (APIENTRYP PFNGLQUERYRESOURCENVPROC) (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
11194#ifdef GL_GLEXT_PROTOTYPES
11195GLAPI GLint APIENTRY glQueryResourceNV (GLenum queryType, GLint tagId, GLuint count, GLint *buffer);
11196#endif
11197#endif /* GL_NV_query_resource */
11198
11199#ifndef GL_NV_query_resource_tag
11200#define GL_NV_query_resource_tag 1
11201typedef void (APIENTRYP PFNGLGENQUERYRESOURCETAGNVPROC) (GLsizei n, GLint *tagIds);
11202typedef void (APIENTRYP PFNGLDELETEQUERYRESOURCETAGNVPROC) (GLsizei n, const GLint *tagIds);
11203typedef void (APIENTRYP PFNGLQUERYRESOURCETAGNVPROC) (GLint tagId, const GLchar *tagString);
11204#ifdef GL_GLEXT_PROTOTYPES
11205GLAPI void APIENTRY glGenQueryResourceTagNV (GLsizei n, GLint *tagIds);
11206GLAPI void APIENTRY glDeleteQueryResourceTagNV (GLsizei n, const GLint *tagIds);
11207GLAPI void APIENTRY glQueryResourceTagNV (GLint tagId, const GLchar *tagString);
11208#endif
11209#endif /* GL_NV_query_resource_tag */
11210
9322#ifndef GL_NV_register_combiners11211#ifndef GL_NV_register_combiners
9323#define GL_NV_register_combiners 111212#define GL_NV_register_combiners 1
9324#define GL_REGISTER_COMBINERS_NV 0x852211213#define GL_REGISTER_COMBINERS_NV 0x8522
@@ -9411,6 +11300,52 @@ GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, · 86 unmodified lines
9411#endif11300#endif
9412#endif /* GL_NV_register_combiners2 */11301#endif /* GL_NV_register_combiners2 */
9413 11302
11303#ifndef GL_NV_representative_fragment_test
11304#define GL_NV_representative_fragment_test 1
11305#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
11306#endif /* GL_NV_representative_fragment_test */
11307
11308#ifndef GL_NV_robustness_video_memory_purge
11309#define GL_NV_robustness_video_memory_purge 1
11310#define GL_PURGED_CONTEXT_RESET_NV 0x92BB
11311#endif /* GL_NV_robustness_video_memory_purge */
11312
11313#ifndef GL_NV_sample_locations
11314#define GL_NV_sample_locations 1
11315#define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
11316#define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
11317#define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
11318#define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
11319#define GL_SAMPLE_LOCATION_NV 0x8E50
11320#define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
11321#define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
11322#define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
11323typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11324typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11325typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
11326#ifdef GL_GLEXT_PROTOTYPES
11327GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
11328GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
11329GLAPI void APIENTRY glResolveDepthValuesNV (void);
11330#endif
11331#endif /* GL_NV_sample_locations */
11332
11333#ifndef GL_NV_sample_mask_override_coverage
11334#define GL_NV_sample_mask_override_coverage 1
11335#endif /* GL_NV_sample_mask_override_coverage */
11336
11337#ifndef GL_NV_scissor_exclusive
11338#define GL_NV_scissor_exclusive 1
11339#define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
11340#define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
11341typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
11342typedef void (APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
11343#ifdef GL_GLEXT_PROTOTYPES
11344GLAPI void APIENTRY glScissorExclusiveNV (GLint x, GLint y, GLsizei width, GLsizei height);
11345GLAPI void APIENTRY glScissorExclusiveArrayvNV (GLuint first, GLsizei count, const GLint *v);
11346#endif
11347#endif /* GL_NV_scissor_exclusive */
11348
9414#ifndef GL_NV_shader_atomic_counters11349#ifndef GL_NV_shader_atomic_counters
9415#define GL_NV_shader_atomic_counters 111350#define GL_NV_shader_atomic_counters 1
9416#endif /* GL_NV_shader_atomic_counters */11351#endif /* GL_NV_shader_atomic_counters */
@@ -9419,6 +11354,18 @@ GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, · 2 unmodified lines
9419#define GL_NV_shader_atomic_float 111354#define GL_NV_shader_atomic_float 1
9420#endif /* GL_NV_shader_atomic_float */11355#endif /* GL_NV_shader_atomic_float */
9421 11356
11357#ifndef GL_NV_shader_atomic_float64
11358#define GL_NV_shader_atomic_float64 1
11359#endif /* GL_NV_shader_atomic_float64 */
11360
11361#ifndef GL_NV_shader_atomic_fp16_vector
11362#define GL_NV_shader_atomic_fp16_vector 1
11363#endif /* GL_NV_shader_atomic_fp16_vector */
11364
11365#ifndef GL_NV_shader_atomic_int64
11366#define GL_NV_shader_atomic_int64 1
11367#endif /* GL_NV_shader_atomic_int64 */
11368
9422#ifndef GL_NV_shader_buffer_load11369#ifndef GL_NV_shader_buffer_load
9423#define GL_NV_shader_buffer_load 111370#define GL_NV_shader_buffer_load 1
9424#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D11371#define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
@@ -9463,6 +11410,15 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs · 38 unmodified lines
9463#define GL_NV_shader_storage_buffer_object 111410#define GL_NV_shader_storage_buffer_object 1
9464#endif /* GL_NV_shader_storage_buffer_object */11411#endif /* GL_NV_shader_storage_buffer_object */
9465 11412
11413#ifndef GL_NV_shader_subgroup_partitioned
11414#define GL_NV_shader_subgroup_partitioned 1
11415#define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
11416#endif /* GL_NV_shader_subgroup_partitioned */
11417
11418#ifndef GL_NV_shader_texture_footprint
11419#define GL_NV_shader_texture_footprint 1
11420#endif /* GL_NV_shader_texture_footprint */
11421
9466#ifndef GL_NV_shader_thread_group11422#ifndef GL_NV_shader_thread_group
9467#define GL_NV_shader_thread_group 111423#define GL_NV_shader_thread_group 1
9468#define GL_WARP_SIZE_NV 0x933911424#define GL_WARP_SIZE_NV 0x9339
@@ -9474,6 +11430,51 @@ GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLs · 5 unmodified lines
9474#define GL_NV_shader_thread_shuffle 111430#define GL_NV_shader_thread_shuffle 1
9475#endif /* GL_NV_shader_thread_shuffle */11431#endif /* GL_NV_shader_thread_shuffle */
9476 11432
11433#ifndef GL_NV_shading_rate_image
11434#define GL_NV_shading_rate_image 1
11435#define GL_SHADING_RATE_IMAGE_NV 0x9563
11436#define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
11437#define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
11438#define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
11439#define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
11440#define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
11441#define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
11442#define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
11443#define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
11444#define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
11445#define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
11446#define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
11447#define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
11448#define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
11449#define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
11450#define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
11451#define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
11452#define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
11453#define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
11454#define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
11455#define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
11456typedef void (APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC) (GLuint texture);
11457typedef void (APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint entry, GLenum *rate);
11458typedef void (APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC) (GLenum rate, GLuint samples, GLuint index, GLint *location);
11459typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC) (GLboolean synchronize);
11460typedef void (APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC) (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11461typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC) (GLenum order);
11462typedef void (APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC) (GLenum rate, GLuint samples, const GLint *locations);
11463#ifdef GL_GLEXT_PROTOTYPES
11464GLAPI void APIENTRY glBindShadingRateImageNV (GLuint texture);
11465GLAPI void APIENTRY glGetShadingRateImagePaletteNV (GLuint viewport, GLuint entry, GLenum *rate);
11466GLAPI void APIENTRY glGetShadingRateSampleLocationivNV (GLenum rate, GLuint samples, GLuint index, GLint *location);
11467GLAPI void APIENTRY glShadingRateImageBarrierNV (GLboolean synchronize);
11468GLAPI void APIENTRY glShadingRateImagePaletteNV (GLuint viewport, GLuint first, GLsizei count, const GLenum *rates);
11469GLAPI void APIENTRY glShadingRateSampleOrderNV (GLenum order);
11470GLAPI void APIENTRY glShadingRateSampleOrderCustomNV (GLenum rate, GLuint samples, const GLint *locations);
11471#endif
11472#endif /* GL_NV_shading_rate_image */
11473
11474#ifndef GL_NV_stereo_view_rendering
11475#define GL_NV_stereo_view_rendering 1
11476#endif /* GL_NV_stereo_view_rendering */
11477
9477#ifndef GL_NV_tessellation_program511478#ifndef GL_NV_tessellation_program5
9478#define GL_NV_tessellation_program5 111479#define GL_NV_tessellation_program5 1
9479#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D811480#define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
@@ -9550,6 +11551,10 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu · 70 unmodified lines
9550#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F811551#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
9551#endif /* GL_NV_texture_rectangle */11552#endif /* GL_NV_texture_rectangle */
9552 11553
11554#ifndef GL_NV_texture_rectangle_compressed
11555#define GL_NV_texture_rectangle_compressed 1
11556#endif /* GL_NV_texture_rectangle_compressed */
11557
9553#ifndef GL_NV_texture_shader11558#ifndef GL_NV_texture_shader
9554#define GL_NV_texture_shader 111559#define GL_NV_texture_shader 1
9555#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C11560#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
@@ -9653,6 +11658,23 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu · 97 unmodified lines
9653#define GL_FORCE_BLUE_TO_ONE_NV 0x886011658#define GL_FORCE_BLUE_TO_ONE_NV 0x8860
9654#endif /* GL_NV_texture_shader3 */11659#endif /* GL_NV_texture_shader3 */
9655 11660
11661#ifndef GL_NV_timeline_semaphore
11662#define GL_NV_timeline_semaphore 1
11663#define GL_TIMELINE_SEMAPHORE_VALUE_NV 0x9595
11664#define GL_SEMAPHORE_TYPE_NV 0x95B3
11665#define GL_SEMAPHORE_TYPE_BINARY_NV 0x95B4
11666#define GL_SEMAPHORE_TYPE_TIMELINE_NV 0x95B5
11667#define GL_MAX_TIMELINE_SEMAPHORE_VALUE_DIFFERENCE_NV 0x95B6
11668typedef void (APIENTRYP PFNGLCREATESEMAPHORESNVPROC) (GLsizei n, GLuint *semaphores);
11669typedef void (APIENTRYP PFNGLSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, const GLint *params);
11670typedef void (APIENTRYP PFNGLGETSEMAPHOREPARAMETERIVNVPROC) (GLuint semaphore, GLenum pname, GLint *params);
11671#ifdef GL_GLEXT_PROTOTYPES
11672GLAPI void APIENTRY glCreateSemaphoresNV (GLsizei n, GLuint *semaphores);
11673GLAPI void APIENTRY glSemaphoreParameterivNV (GLuint semaphore, GLenum pname, const GLint *params);
11674GLAPI void APIENTRY glGetSemaphoreParameterivNV (GLuint semaphore, GLenum pname, GLint *params);
11675#endif
11676#endif /* GL_NV_timeline_semaphore */
11677
9656#ifndef GL_NV_transform_feedback11678#ifndef GL_NV_transform_feedback
9657#define GL_NV_transform_feedback 111679#define GL_NV_transform_feedback 1
9658#define GL_BACK_PRIMARY_COLOR_NV 0x8C7711680#define GL_BACK_PRIMARY_COLOR_NV 0x8C77
@@ -9688,7 +11710,7 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu · 29 unmodified lines
9688#define GL_SKIP_COMPONENTS1_NV -611710#define GL_SKIP_COMPONENTS1_NV -6
9689typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);11711typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
9690typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);11712typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
9691typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);11713typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLenum bufferMode);
9692typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);11714typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9693typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);11715typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9694typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);11716typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
@@ -9701,7 +11723,7 @@ typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei coun · 6 unmodified lines
9701#ifdef GL_GLEXT_PROTOTYPES11723#ifdef GL_GLEXT_PROTOTYPES
9702GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);11724GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
9703GLAPI void APIENTRY glEndTransformFeedbackNV (void);11725GLAPI void APIENTRY glEndTransformFeedbackNV (void);
9704GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);11726GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLsizei count, const GLint *attribs, GLenum bufferMode);
9705GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);11727GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
9706GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);11728GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
9707GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);11729GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
@@ -9738,6 +11760,13 @@ GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id); · 30 unmodified lines
9738#endif11760#endif
9739#endif /* GL_NV_transform_feedback2 */11761#endif /* GL_NV_transform_feedback2 */
9740 11762
11763#ifndef GL_NV_uniform_buffer_unified_memory
11764#define GL_NV_uniform_buffer_unified_memory 1
11765#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
11766#define GL_UNIFORM_BUFFER_ADDRESS_NV 0x936F
11767#define GL_UNIFORM_BUFFER_LENGTH_NV 0x9370
11768#endif /* GL_NV_uniform_buffer_unified_memory */
11769
9741#ifndef GL_NV_vdpau_interop11770#ifndef GL_NV_vdpau_interop
9742#define GL_NV_vdpau_interop 111771#define GL_NV_vdpau_interop 1
9743typedef GLintptr GLvdpauSurfaceNV;11772typedef GLintptr GLvdpauSurfaceNV;
@@ -9751,7 +11780,7 @@ typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const · 7 unmodified lines
9751typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);11780typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9752typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);11781typedef GLboolean (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
9753typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);11782typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
9754typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);11783typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
9755typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);11784typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
9756typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);11785typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9757typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);11786typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
@@ -9762,13 +11791,21 @@ GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const void *vdpSu · 4 unmodified lines
9762GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);11791GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
9763GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);11792GLAPI GLboolean APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
9764GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);11793GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
9765GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);11794GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
9766GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);11795GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
9767GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);11796GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
9768GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);11797GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
9769#endif11798#endif
9770#endif /* GL_NV_vdpau_interop */11799#endif /* GL_NV_vdpau_interop */
9771 11800
11801#ifndef GL_NV_vdpau_interop2
11802#define GL_NV_vdpau_interop2 1
11803typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACEWITHPICTURESTRUCTURENVPROC) (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11804#ifdef GL_GLEXT_PROTOTYPES
11805GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceWithPictureStructureNV (const void *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames, GLboolean isFrameStructure);
11806#endif
11807#endif /* GL_NV_vdpau_interop2 */
11808
9772#ifndef GL_NV_vertex_array_range11809#ifndef GL_NV_vertex_array_range
9773#define GL_NV_vertex_array_range 111810#define GL_NV_vertex_array_range 1
9774#define GL_VERTEX_ARRAY_RANGE_NV 0x851D11811#define GL_VERTEX_ARRAY_RANGE_NV 0x851D
@@ -10124,54 +12161,6 @@ GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GL · 349 unmodified lines
10124#ifndef GL_NV_vertex_program412161#ifndef GL_NV_vertex_program4
10125#define GL_NV_vertex_program4 112162#define GL_NV_vertex_program4 1
10126#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD12163#define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
10127typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
10128typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
10129typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
10130typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
10131typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
10132typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
10133typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
10134typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10135typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
10136typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
10137typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
10138typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
10139typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
10140typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
10141typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
10142typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
10143typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
10144typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
10145typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
10146typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
10147typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10148typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
10149typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
10150#ifdef GL_GLEXT_PROTOTYPES
10151GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
10152GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
10153GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
10154GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
10155GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
10156GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
10157GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
10158GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
10159GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
10160GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
10161GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
10162GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
10163GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
10164GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
10165GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
10166GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
10167GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
10168GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
10169GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
10170GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
10171GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
10172GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
10173GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
10174#endif
10175#endif /* GL_NV_vertex_program4 */12164#endif /* GL_NV_vertex_program4 */
10176 12165
10177#ifndef GL_NV_video_capture12166#ifndef GL_NV_video_capture
@@ -10233,6 +12222,30 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot · 55 unmodified lines
10233#endif12222#endif
10234#endif /* GL_NV_video_capture */12223#endif /* GL_NV_video_capture */
10235 12224
12225#ifndef GL_NV_viewport_array2
12226#define GL_NV_viewport_array2 1
12227#endif /* GL_NV_viewport_array2 */
12228
12229#ifndef GL_NV_viewport_swizzle
12230#define GL_NV_viewport_swizzle 1
12231#define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
12232#define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
12233#define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
12234#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
12235#define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
12236#define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
12237#define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
12238#define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
12239#define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
12240#define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
12241#define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
12242#define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
12243typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
12244#ifdef GL_GLEXT_PROTOTYPES
12245GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
12246#endif
12247#endif /* GL_NV_viewport_swizzle */
12248
10236#ifndef GL_OML_interlace12249#ifndef GL_OML_interlace
10237#define GL_OML_interlace 112250#define GL_OML_interlace 1
10238#define GL_INTERLACE_OML 0x898012251#define GL_INTERLACE_OML 0x8980
@@ -10255,6 +12268,22 @@ GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot · 16 unmodified lines
10255#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x898312268#define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
10256#endif /* GL_OML_subsample */12269#endif /* GL_OML_subsample */
10257 12270
12271#ifndef GL_OVR_multiview
12272#define GL_OVR_multiview 1
12273#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
12274#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
12275#define GL_MAX_VIEWS_OVR 0x9631
12276#define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
12277typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
12278#ifdef GL_GLEXT_PROTOTYPES
12279GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
12280#endif
12281#endif /* GL_OVR_multiview */
12282
12283#ifndef GL_OVR_multiview2
12284#define GL_OVR_multiview2 1
12285#endif /* GL_OVR_multiview2 */
12286
10258#ifndef GL_PGI_misc_hints12287#ifndef GL_PGI_misc_hints
10259#define GL_PGI_misc_hints 112288#define GL_PGI_misc_hints 1
10260#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F812289#define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
@@ -10811,10 +12840,10 @@ GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation); · 550 unmodified lines
10811 12840
10812#ifndef GL_SGIX_resample12841#ifndef GL_SGIX_resample
10813#define GL_SGIX_resample 112842#define GL_SGIX_resample 1
10814#define GL_PACK_RESAMPLE_SGIX 0x842C12843#define GL_PACK_RESAMPLE_SGIX 0x842E
10815#define GL_UNPACK_RESAMPLE_SGIX 0x842D12844#define GL_UNPACK_RESAMPLE_SGIX 0x842F
10816#define GL_RESAMPLE_REPLICATE_SGIX 0x842E12845#define GL_RESAMPLE_REPLICATE_SGIX 0x8433
10817#define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F12846#define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
10818#define GL_RESAMPLE_DECIMATE_SGIX 0x843012847#define GL_RESAMPLE_DECIMATE_SGIX 0x8430
10819#endif /* GL_SGIX_resample */12848#endif /* GL_SGIX_resample */
10820 12849
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles.h+1−1
@@ -24,7 +24,7 @@ · 23 unmodified lines
24 *24 *
25 * This is a simple file to encapsulate the OpenGL ES 1.X API headers.25 * This is a simple file to encapsulate the OpenGL ES 1.X API headers.
26 */26 */
27#include "SDL_config.h"27#include <SDL2/SDL_config.h>
28 28
29#ifdef __IPHONEOS__29#ifdef __IPHONEOS__
30#include <OpenGLES/ES1/gl.h>30#include <OpenGLES/ES1/gl.h>
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2.h+5−5
@@ -24,7 +24,7 @@ · 23 unmodified lines
24 *24 *
25 * This is a simple file to encapsulate the OpenGL ES 2.0 API headers.25 * This is a simple file to encapsulate the OpenGL ES 2.0 API headers.
26 */26 */
27#include "SDL_config.h"27#include <SDL2/SDL_config.h>
28 28
29#if !defined(_MSC_VER) && !defined(SDL_USE_BUILTIN_OPENGL_DEFINITIONS)29#if !defined(_MSC_VER) && !defined(SDL_USE_BUILTIN_OPENGL_DEFINITIONS)
30 30
@@ -40,10 +40,10 @@ · 9 unmodified lines
40#else /* _MSC_VER */40#else /* _MSC_VER */
41 41
42/* OpenGL ES2 headers for Visual Studio */42/* OpenGL ES2 headers for Visual Studio */
43#include "SDL_opengles2_khrplatform.h"43#include <SDL2/SDL_opengles2_khrplatform.h>
44#include "SDL_opengles2_gl2platform.h"44#include <SDL2/SDL_opengles2_gl2platform.h>
45#include "SDL_opengles2_gl2.h"45#include <SDL2/SDL_opengles2_gl2.h>
46#include "SDL_opengles2_gl2ext.h"46#include <SDL2/SDL_opengles2_gl2ext.h>
47 47
48#endif /* _MSC_VER */48#endif /* _MSC_VER */
49 49
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2.h+374−339
@@ -1,56 +1,70 @@
1#ifndef __gl2_h_1#ifndef __gles2_gl2_h_
2#define __gl2_h_2#define __gles2_gl2_h_ 1
3
4/* $Revision: 20555 $ on $Date:: 2013-02-12 14:32:47 -0800 #$ */
5
6/*#include <GLES2/gl2platform.h>*/
7 3
8#ifdef __cplusplus4#ifdef __cplusplus
9extern "C" {5extern "C" {
10#endif6#endif
11 7
12/*8/*
13 * This document is licensed under the SGI Free Software B License Version9** Copyright 2013-2020 The Khronos Group Inc.
14 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .10** SPDX-License-Identifier: MIT
15 */11**
12** This header is generated from the Khronos OpenGL / OpenGL ES XML
13** API Registry. The current version of the Registry, generator scripts
14** used to make the header, and the header can be found at
15** https://github.com/KhronosGroup/OpenGL-Registry
16*/
16 17
17/*-------------------------------------------------------------------------18/*#include <GLES2/gl2platform.h>*/
18 * Data type definitions
19 *-----------------------------------------------------------------------*/
20 19
21typedef void GLvoid;20#ifndef GL_APIENTRYP
22typedef char GLchar;21#define GL_APIENTRYP GL_APIENTRY*
23typedef unsigned int GLenum;22#endif
24typedef unsigned char GLboolean;
25typedef unsigned int GLbitfield;
26typedef khronos_int8_t GLbyte;
27typedef short GLshort;
28typedef int GLint;
29typedef int GLsizei;
30typedef khronos_uint8_t GLubyte;
31typedef unsigned short GLushort;
32typedef unsigned int GLuint;
33typedef khronos_float_t GLfloat;
34typedef khronos_float_t GLclampf;
35typedef khronos_int32_t GLfixed;
36 23
37/* GL types for handling large vertex buffer objects */24#ifndef GL_GLES_PROTOTYPES
38typedef khronos_intptr_t GLintptr;25#define GL_GLES_PROTOTYPES 1
39typedef khronos_ssize_t GLsizeiptr;26#endif
40 27
41/* OpenGL ES core versions */28/* Generated on date 20220530 */
42#define GL_ES_VERSION_2_0 1
43 29
44/* ClearBufferMask */30/* Generated C header for:
31 * API: gles2
32 * Profile: common
33 * Versions considered: 2\.[0-9]
34 * Versions emitted: .*
35 * Default extensions included: None
36 * Additional extensions included: _nomatch_^
37 * Extensions removed: _nomatch_^
38 */
39
40#ifndef GL_ES_VERSION_2_0
41#define GL_ES_VERSION_2_0 1
42/*#include <KHR/khrplatform.h>*/
43typedef khronos_int8_t GLbyte;
44typedef khronos_float_t GLclampf;
45typedef khronos_int32_t GLfixed;
46typedef khronos_int16_t GLshort;
47typedef khronos_uint16_t GLushort;
48typedef void GLvoid;
49typedef struct __GLsync *GLsync;
50typedef khronos_int64_t GLint64;
51typedef khronos_uint64_t GLuint64;
52typedef unsigned int GLenum;
53typedef unsigned int GLuint;
54typedef char GLchar;
55typedef khronos_float_t GLfloat;
56typedef khronos_ssize_t GLsizeiptr;
57typedef khronos_intptr_t GLintptr;
58typedef unsigned int GLbitfield;
59typedef int GLint;
60typedef unsigned char GLboolean;
61typedef int GLsizei;
62typedef khronos_uint8_t GLubyte;
45#define GL_DEPTH_BUFFER_BIT 0x0000010063#define GL_DEPTH_BUFFER_BIT 0x00000100
46#define GL_STENCIL_BUFFER_BIT 0x0000040064#define GL_STENCIL_BUFFER_BIT 0x00000400
47#define GL_COLOR_BUFFER_BIT 0x0000400065#define GL_COLOR_BUFFER_BIT 0x00004000
48
49/* Boolean */
50#define GL_FALSE 066#define GL_FALSE 0
51#define GL_TRUE 167#define GL_TRUE 1
52
53/* BeginMode */
54#define GL_POINTS 0x000068#define GL_POINTS 0x0000
55#define GL_LINES 0x000169#define GL_LINES 0x0001
56#define GL_LINE_LOOP 0x000270#define GL_LINE_LOOP 0x0002
@@ -58,18 +72,6 @@ typedef khronos_ssize_t GLsizeiptr; · 1 unmodified line
58#define GL_TRIANGLES 0x000472#define GL_TRIANGLES 0x0004
59#define GL_TRIANGLE_STRIP 0x000573#define GL_TRIANGLE_STRIP 0x0005
60#define GL_TRIANGLE_FAN 0x000674#define GL_TRIANGLE_FAN 0x0006
61
62/* AlphaFunction (not supported in ES20) */
63/* GL_NEVER */
64/* GL_LESS */
65/* GL_EQUAL */
66/* GL_LEQUAL */
67/* GL_GREATER */
68/* GL_NOTEQUAL */
69/* GL_GEQUAL */
70/* GL_ALWAYS */
71
72/* BlendingFactorDest */
73#define GL_ZERO 075#define GL_ZERO 0
74#define GL_ONE 176#define GL_ONE 1
75#define GL_SRC_COLOR 0x030077#define GL_SRC_COLOR 0x0300
@@ -78,29 +80,15 @@ typedef khronos_ssize_t GLsizeiptr; · 2 unmodified lines
78#define GL_ONE_MINUS_SRC_ALPHA 0x030380#define GL_ONE_MINUS_SRC_ALPHA 0x0303
79#define GL_DST_ALPHA 0x030481#define GL_DST_ALPHA 0x0304
80#define GL_ONE_MINUS_DST_ALPHA 0x030582#define GL_ONE_MINUS_DST_ALPHA 0x0305
81
82/* BlendingFactorSrc */
83/* GL_ZERO */
84/* GL_ONE */
85#define GL_DST_COLOR 0x030683#define GL_DST_COLOR 0x0306
86#define GL_ONE_MINUS_DST_COLOR 0x030784#define GL_ONE_MINUS_DST_COLOR 0x0307
87#define GL_SRC_ALPHA_SATURATE 0x030885#define GL_SRC_ALPHA_SATURATE 0x0308
88/* GL_SRC_ALPHA */
89/* GL_ONE_MINUS_SRC_ALPHA */
90/* GL_DST_ALPHA */
91/* GL_ONE_MINUS_DST_ALPHA */
92
93/* BlendEquationSeparate */
94#define GL_FUNC_ADD 0x800686#define GL_FUNC_ADD 0x8006
95#define GL_BLEND_EQUATION 0x800987#define GL_BLEND_EQUATION 0x8009
96#define GL_BLEND_EQUATION_RGB 0x8009 /* same as BLEND_EQUATION */88#define GL_BLEND_EQUATION_RGB 0x8009
97#define GL_BLEND_EQUATION_ALPHA 0x883D89#define GL_BLEND_EQUATION_ALPHA 0x883D
98
99/* BlendSubtract */
100#define GL_FUNC_SUBTRACT 0x800A90#define GL_FUNC_SUBTRACT 0x800A
101#define GL_FUNC_REVERSE_SUBTRACT 0x800B91#define GL_FUNC_REVERSE_SUBTRACT 0x800B
102
103/* Separate Blend Functions */
104#define GL_BLEND_DST_RGB 0x80C892#define GL_BLEND_DST_RGB 0x80C8
105#define GL_BLEND_SRC_RGB 0x80C993#define GL_BLEND_SRC_RGB 0x80C9
106#define GL_BLEND_DST_ALPHA 0x80CA94#define GL_BLEND_DST_ALPHA 0x80CA
@@ -110,38 +98,19 @@ typedef khronos_ssize_t GLsizeiptr; · 3 unmodified lines
110#define GL_CONSTANT_ALPHA 0x800398#define GL_CONSTANT_ALPHA 0x8003
111#define GL_ONE_MINUS_CONSTANT_ALPHA 0x800499#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
112#define GL_BLEND_COLOR 0x8005100#define GL_BLEND_COLOR 0x8005
113
114/* Buffer Objects */
115#define GL_ARRAY_BUFFER 0x8892101#define GL_ARRAY_BUFFER 0x8892
116#define GL_ELEMENT_ARRAY_BUFFER 0x8893102#define GL_ELEMENT_ARRAY_BUFFER 0x8893
117#define GL_ARRAY_BUFFER_BINDING 0x8894103#define GL_ARRAY_BUFFER_BINDING 0x8894
118#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895104#define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
119
120#define GL_STREAM_DRAW 0x88E0105#define GL_STREAM_DRAW 0x88E0
121#define GL_STATIC_DRAW 0x88E4106#define GL_STATIC_DRAW 0x88E4
122#define GL_DYNAMIC_DRAW 0x88E8107#define GL_DYNAMIC_DRAW 0x88E8
123
124#define GL_BUFFER_SIZE 0x8764108#define GL_BUFFER_SIZE 0x8764
125#define GL_BUFFER_USAGE 0x8765109#define GL_BUFFER_USAGE 0x8765
126
127#define GL_CURRENT_VERTEX_ATTRIB 0x8626110#define GL_CURRENT_VERTEX_ATTRIB 0x8626
128
129/* CullFaceMode */
130#define GL_FRONT 0x0404111#define GL_FRONT 0x0404
131#define GL_BACK 0x0405112#define GL_BACK 0x0405
132#define GL_FRONT_AND_BACK 0x0408113#define GL_FRONT_AND_BACK 0x0408
133
134/* DepthFunction */
135/* GL_NEVER */
136/* GL_LESS */
137/* GL_EQUAL */
138/* GL_LEQUAL */
139/* GL_GREATER */
140/* GL_NOTEQUAL */
141/* GL_GEQUAL */
142/* GL_ALWAYS */
143
144/* EnableCap */
145#define GL_TEXTURE_2D 0x0DE1114#define GL_TEXTURE_2D 0x0DE1
146#define GL_CULL_FACE 0x0B44115#define GL_CULL_FACE 0x0B44
147#define GL_BLEND 0x0BE2116#define GL_BLEND 0x0BE2
@@ -152,19 +121,13 @@ typedef khronos_ssize_t GLsizeiptr; · 4 unmodified lines
152#define GL_POLYGON_OFFSET_FILL 0x8037121#define GL_POLYGON_OFFSET_FILL 0x8037
153#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E122#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
154#define GL_SAMPLE_COVERAGE 0x80A0123#define GL_SAMPLE_COVERAGE 0x80A0
155
156/* ErrorCode */
157#define GL_NO_ERROR 0124#define GL_NO_ERROR 0
158#define GL_INVALID_ENUM 0x0500125#define GL_INVALID_ENUM 0x0500
159#define GL_INVALID_VALUE 0x0501126#define GL_INVALID_VALUE 0x0501
160#define GL_INVALID_OPERATION 0x0502127#define GL_INVALID_OPERATION 0x0502
161#define GL_OUT_OF_MEMORY 0x0505128#define GL_OUT_OF_MEMORY 0x0505
162
163/* FrontFaceDirection */
164#define GL_CW 0x0900129#define GL_CW 0x0900
165#define GL_CCW 0x0901130#define GL_CCW 0x0901
166
167/* GetPName */
168#define GL_LINE_WIDTH 0x0B21131#define GL_LINE_WIDTH 0x0B21
169#define GL_ALIASED_POINT_SIZE_RANGE 0x846D132#define GL_ALIASED_POINT_SIZE_RANGE 0x846D
170#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E133#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
@@ -191,7 +154,6 @@ typedef khronos_ssize_t GLsizeiptr; · 20 unmodified lines
191#define GL_STENCIL_BACK_WRITEMASK 0x8CA5154#define GL_STENCIL_BACK_WRITEMASK 0x8CA5
192#define GL_VIEWPORT 0x0BA2155#define GL_VIEWPORT 0x0BA2
193#define GL_SCISSOR_BOX 0x0C10156#define GL_SCISSOR_BOX 0x0C10
194/* GL_SCISSOR_TEST */
195#define GL_COLOR_CLEAR_VALUE 0x0C22157#define GL_COLOR_CLEAR_VALUE 0x0C22
196#define GL_COLOR_WRITEMASK 0x0C23158#define GL_COLOR_WRITEMASK 0x0C23
197#define GL_UNPACK_ALIGNMENT 0x0CF5159#define GL_UNPACK_ALIGNMENT 0x0CF5
@@ -206,32 +168,18 @@ typedef khronos_ssize_t GLsizeiptr; · 8 unmodified lines
206#define GL_DEPTH_BITS 0x0D56168#define GL_DEPTH_BITS 0x0D56
207#define GL_STENCIL_BITS 0x0D57169#define GL_STENCIL_BITS 0x0D57
208#define GL_POLYGON_OFFSET_UNITS 0x2A00170#define GL_POLYGON_OFFSET_UNITS 0x2A00
209/* GL_POLYGON_OFFSET_FILL */
210#define GL_POLYGON_OFFSET_FACTOR 0x8038171#define GL_POLYGON_OFFSET_FACTOR 0x8038
211#define GL_TEXTURE_BINDING_2D 0x8069172#define GL_TEXTURE_BINDING_2D 0x8069
212#define GL_SAMPLE_BUFFERS 0x80A8173#define GL_SAMPLE_BUFFERS 0x80A8
213#define GL_SAMPLES 0x80A9174#define GL_SAMPLES 0x80A9
214#define GL_SAMPLE_COVERAGE_VALUE 0x80AA175#define GL_SAMPLE_COVERAGE_VALUE 0x80AA
215#define GL_SAMPLE_COVERAGE_INVERT 0x80AB176#define GL_SAMPLE_COVERAGE_INVERT 0x80AB
216
217/* GetTextureParameter */
218/* GL_TEXTURE_MAG_FILTER */
219/* GL_TEXTURE_MIN_FILTER */
220/* GL_TEXTURE_WRAP_S */
221/* GL_TEXTURE_WRAP_T */
222
223#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2177#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
224#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3178#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
225
226/* HintMode */
227#define GL_DONT_CARE 0x1100179#define GL_DONT_CARE 0x1100
228#define GL_FASTEST 0x1101180#define GL_FASTEST 0x1101
229#define GL_NICEST 0x1102181#define GL_NICEST 0x1102
230 182#define GL_GENERATE_MIPMAP_HINT 0x8192
231/* HintTarget */
232#define GL_GENERATE_MIPMAP_HINT 0x8192
233
234/* DataType */
235#define GL_BYTE 0x1400183#define GL_BYTE 0x1400
236#define GL_UNSIGNED_BYTE 0x1401184#define GL_UNSIGNED_BYTE 0x1401
237#define GL_SHORT 0x1402185#define GL_SHORT 0x1402
@@ -240,44 +188,35 @@ typedef khronos_ssize_t GLsizeiptr; · 2 unmodified lines
240#define GL_UNSIGNED_INT 0x1405188#define GL_UNSIGNED_INT 0x1405
241#define GL_FLOAT 0x1406189#define GL_FLOAT 0x1406
242#define GL_FIXED 0x140C190#define GL_FIXED 0x140C
243
244/* PixelFormat */
245#define GL_DEPTH_COMPONENT 0x1902191#define GL_DEPTH_COMPONENT 0x1902
246#define GL_ALPHA 0x1906192#define GL_ALPHA 0x1906
247#define GL_RGB 0x1907193#define GL_RGB 0x1907
248#define GL_RGBA 0x1908194#define GL_RGBA 0x1908
249#define GL_LUMINANCE 0x1909195#define GL_LUMINANCE 0x1909
250#define GL_LUMINANCE_ALPHA 0x190A196#define GL_LUMINANCE_ALPHA 0x190A
251
252/* PixelType */
253/* GL_UNSIGNED_BYTE */
254#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033197#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
255#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034198#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
256#define GL_UNSIGNED_SHORT_5_6_5 0x8363199#define GL_UNSIGNED_SHORT_5_6_5 0x8363
257 200#define GL_FRAGMENT_SHADER 0x8B30
258/* Shaders */201#define GL_VERTEX_SHADER 0x8B31
259#define GL_FRAGMENT_SHADER 0x8B30202#define GL_MAX_VERTEX_ATTRIBS 0x8869
260#define GL_VERTEX_SHADER 0x8B31203#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
261#define GL_MAX_VERTEX_ATTRIBS 0x8869204#define GL_MAX_VARYING_VECTORS 0x8DFC
262#define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
263#define GL_MAX_VARYING_VECTORS 0x8DFC
264#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D205#define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
265#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C206#define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
266#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872207#define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
267#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD208#define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
268#define GL_SHADER_TYPE 0x8B4F209#define GL_SHADER_TYPE 0x8B4F
269#define GL_DELETE_STATUS 0x8B80210#define GL_DELETE_STATUS 0x8B80
270#define GL_LINK_STATUS 0x8B82211#define GL_LINK_STATUS 0x8B82
271#define GL_VALIDATE_STATUS 0x8B83212#define GL_VALIDATE_STATUS 0x8B83
272#define GL_ATTACHED_SHADERS 0x8B85213#define GL_ATTACHED_SHADERS 0x8B85
273#define GL_ACTIVE_UNIFORMS 0x8B86214#define GL_ACTIVE_UNIFORMS 0x8B86
274#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87215#define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
275#define GL_ACTIVE_ATTRIBUTES 0x8B89216#define GL_ACTIVE_ATTRIBUTES 0x8B89
276#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A217#define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
277#define GL_SHADING_LANGUAGE_VERSION 0x8B8C218#define GL_SHADING_LANGUAGE_VERSION 0x8B8C
278#define GL_CURRENT_PROGRAM 0x8B8D219#define GL_CURRENT_PROGRAM 0x8B8D
279
280/* StencilFunction */
281#define GL_NEVER 0x0200220#define GL_NEVER 0x0200
282#define GL_LESS 0x0201221#define GL_LESS 0x0201
283#define GL_EQUAL 0x0202222#define GL_EQUAL 0x0202
@@ -286,9 +225,6 @@ typedef khronos_ssize_t GLsizeiptr; · 2 unmodified lines
286#define GL_NOTEQUAL 0x0205225#define GL_NOTEQUAL 0x0205
287#define GL_GEQUAL 0x0206226#define GL_GEQUAL 0x0206
288#define GL_ALWAYS 0x0207227#define GL_ALWAYS 0x0207
289
290/* StencilOp */
291/* GL_ZERO */
292#define GL_KEEP 0x1E00228#define GL_KEEP 0x1E00
293#define GL_REPLACE 0x1E01229#define GL_REPLACE 0x1E01
294#define GL_INCR 0x1E02230#define GL_INCR 0x1E02
@@ -296,35 +232,21 @@ typedef khronos_ssize_t GLsizeiptr; · 1 unmodified line
296#define GL_INVERT 0x150A232#define GL_INVERT 0x150A
297#define GL_INCR_WRAP 0x8507233#define GL_INCR_WRAP 0x8507
298#define GL_DECR_WRAP 0x8508234#define GL_DECR_WRAP 0x8508
299
300/* StringName */
301#define GL_VENDOR 0x1F00235#define GL_VENDOR 0x1F00
302#define GL_RENDERER 0x1F01236#define GL_RENDERER 0x1F01
303#define GL_VERSION 0x1F02237#define GL_VERSION 0x1F02
304#define GL_EXTENSIONS 0x1F03238#define GL_EXTENSIONS 0x1F03
305
306/* TextureMagFilter */
307#define GL_NEAREST 0x2600239#define GL_NEAREST 0x2600
308#define GL_LINEAR 0x2601240#define GL_LINEAR 0x2601
309
310/* TextureMinFilter */
311/* GL_NEAREST */
312/* GL_LINEAR */
313#define GL_NEAREST_MIPMAP_NEAREST 0x2700241#define GL_NEAREST_MIPMAP_NEAREST 0x2700
314#define GL_LINEAR_MIPMAP_NEAREST 0x2701242#define GL_LINEAR_MIPMAP_NEAREST 0x2701
315#define GL_NEAREST_MIPMAP_LINEAR 0x2702243#define GL_NEAREST_MIPMAP_LINEAR 0x2702
316#define GL_LINEAR_MIPMAP_LINEAR 0x2703244#define GL_LINEAR_MIPMAP_LINEAR 0x2703
317
318/* TextureParameterName */
319#define GL_TEXTURE_MAG_FILTER 0x2800245#define GL_TEXTURE_MAG_FILTER 0x2800
320#define GL_TEXTURE_MIN_FILTER 0x2801246#define GL_TEXTURE_MIN_FILTER 0x2801
321#define GL_TEXTURE_WRAP_S 0x2802247#define GL_TEXTURE_WRAP_S 0x2802
322#define GL_TEXTURE_WRAP_T 0x2803248#define GL_TEXTURE_WRAP_T 0x2803
323
324/* TextureTarget */
325/* GL_TEXTURE_2D */
326#define GL_TEXTURE 0x1702249#define GL_TEXTURE 0x1702
327
328#define GL_TEXTURE_CUBE_MAP 0x8513250#define GL_TEXTURE_CUBE_MAP 0x8513
329#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514251#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
330#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515252#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
@@ -334,8 +256,6 @@ typedef khronos_ssize_t GLsizeiptr; · 3 unmodified lines
334#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519256#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
335#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A257#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
336#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C258#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
337
338/* TextureUnit */
339#define GL_TEXTURE0 0x84C0259#define GL_TEXTURE0 0x84C0
340#define GL_TEXTURE1 0x84C1260#define GL_TEXTURE1 0x84C1
341#define GL_TEXTURE2 0x84C2261#define GL_TEXTURE2 0x84C2
@@ -369,13 +289,9 @@ typedef khronos_ssize_t GLsizeiptr; · 27 unmodified lines
369#define GL_TEXTURE30 0x84DE289#define GL_TEXTURE30 0x84DE
370#define GL_TEXTURE31 0x84DF290#define GL_TEXTURE31 0x84DF
371#define GL_ACTIVE_TEXTURE 0x84E0291#define GL_ACTIVE_TEXTURE 0x84E0
372
373/* TextureWrapMode */
374#define GL_REPEAT 0x2901292#define GL_REPEAT 0x2901
375#define GL_CLAMP_TO_EDGE 0x812F293#define GL_CLAMP_TO_EDGE 0x812F
376#define GL_MIRRORED_REPEAT 0x8370294#define GL_MIRRORED_REPEAT 0x8370
377
378/* Uniform Types */
379#define GL_FLOAT_VEC2 0x8B50295#define GL_FLOAT_VEC2 0x8B50
380#define GL_FLOAT_VEC3 0x8B51296#define GL_FLOAT_VEC3 0x8B51
381#define GL_FLOAT_VEC4 0x8B52297#define GL_FLOAT_VEC4 0x8B52
@@ -391,48 +307,34 @@ typedef khronos_ssize_t GLsizeiptr; · 9 unmodified lines
391#define GL_FLOAT_MAT4 0x8B5C307#define GL_FLOAT_MAT4 0x8B5C
392#define GL_SAMPLER_2D 0x8B5E308#define GL_SAMPLER_2D 0x8B5E
393#define GL_SAMPLER_CUBE 0x8B60309#define GL_SAMPLER_CUBE 0x8B60
394 310#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
395/* Vertex Arrays */311#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
396#define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622312#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
397#define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623313#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
398#define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624314#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
399#define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625315#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
400#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
401#define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
402#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F316#define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
403 317#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
404/* Read Format */
405#define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
406#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B318#define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
407
408/* Shader Source */
409#define GL_COMPILE_STATUS 0x8B81319#define GL_COMPILE_STATUS 0x8B81
410#define GL_INFO_LOG_LENGTH 0x8B84320#define GL_INFO_LOG_LENGTH 0x8B84
411#define GL_SHADER_SOURCE_LENGTH 0x8B88321#define GL_SHADER_SOURCE_LENGTH 0x8B88
412#define GL_SHADER_COMPILER 0x8DFA322#define GL_SHADER_COMPILER 0x8DFA
413
414/* Shader Binary */
415#define GL_SHADER_BINARY_FORMATS 0x8DF8323#define GL_SHADER_BINARY_FORMATS 0x8DF8
416#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9324#define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
417
418/* Shader Precision-Specified Types */
419#define GL_LOW_FLOAT 0x8DF0325#define GL_LOW_FLOAT 0x8DF0
420#define GL_MEDIUM_FLOAT 0x8DF1326#define GL_MEDIUM_FLOAT 0x8DF1
421#define GL_HIGH_FLOAT 0x8DF2327#define GL_HIGH_FLOAT 0x8DF2
422#define GL_LOW_INT 0x8DF3328#define GL_LOW_INT 0x8DF3
423#define GL_MEDIUM_INT 0x8DF4329#define GL_MEDIUM_INT 0x8DF4
424#define GL_HIGH_INT 0x8DF5330#define GL_HIGH_INT 0x8DF5
425
426/* Framebuffer Object. */
427#define GL_FRAMEBUFFER 0x8D40331#define GL_FRAMEBUFFER 0x8D40
428#define GL_RENDERBUFFER 0x8D41332#define GL_RENDERBUFFER 0x8D41
429
430#define GL_RGBA4 0x8056333#define GL_RGBA4 0x8056
431#define GL_RGB5_A1 0x8057334#define GL_RGB5_A1 0x8057
432#define GL_RGB565 0x8D62335#define GL_RGB565 0x8D62
433#define GL_DEPTH_COMPONENT16 0x81A5336#define GL_DEPTH_COMPONENT16 0x81A5
434#define GL_STENCIL_INDEX8 0x8D48337#define GL_STENCIL_INDEX8 0x8D48
435
436#define GL_RENDERBUFFER_WIDTH 0x8D42338#define GL_RENDERBUFFER_WIDTH 0x8D42
437#define GL_RENDERBUFFER_HEIGHT 0x8D43339#define GL_RENDERBUFFER_HEIGHT 0x8D43
438#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44340#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
@@ -442,180 +344,313 @@ typedef khronos_ssize_t GLsizeiptr; · 3 unmodified lines
442#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53344#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
443#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54345#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
444#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55346#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
445 347#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
446#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0348#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
447#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1349#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
448#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
449#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3350#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
450
451#define GL_COLOR_ATTACHMENT0 0x8CE0351#define GL_COLOR_ATTACHMENT0 0x8CE0
452#define GL_DEPTH_ATTACHMENT 0x8D00352#define GL_DEPTH_ATTACHMENT 0x8D00
453#define GL_STENCIL_ATTACHMENT 0x8D20353#define GL_STENCIL_ATTACHMENT 0x8D20
454
455#define GL_NONE 0354#define GL_NONE 0
456 355#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
457#define GL_FRAMEBUFFER_COMPLETE 0x8CD5356#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
458#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
459#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7357#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
460#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9358#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
461#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD359#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
462
463#define GL_FRAMEBUFFER_BINDING 0x8CA6360#define GL_FRAMEBUFFER_BINDING 0x8CA6
464#define GL_RENDERBUFFER_BINDING 0x8CA7361#define GL_RENDERBUFFER_BINDING 0x8CA7
465#define GL_MAX_RENDERBUFFER_SIZE 0x84E8362#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
466
467#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506363#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
468 364typedef void (GL_APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
469/*-------------------------------------------------------------------------365typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
470 * GL core functions.366typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
471 *-----------------------------------------------------------------------*/367typedef void (GL_APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
472 368typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
473GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);369typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
474GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);370typedef void (GL_APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
475GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name);371typedef void (GL_APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
476GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);372typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
477GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);373typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
478GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);374typedef void (GL_APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
479GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);375typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
480GL_APICALL void GL_APIENTRY glBlendColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);376typedef void (GL_APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
481GL_APICALL void GL_APIENTRY glBlendEquation ( GLenum mode );377typedef void (GL_APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
482GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);378typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
483GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);379typedef void (GL_APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
484GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);380typedef void (GL_APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
485GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);381typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
486GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);382typedef void (GL_APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
487GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target);383typedef void (GL_APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
488GL_APICALL void GL_APIENTRY glClear (GLbitfield mask);384typedef void (GL_APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
489GL_APICALL void GL_APIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);385typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
490GL_APICALL void GL_APIENTRY glClearDepthf (GLclampf depth);386typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
491GL_APICALL void GL_APIENTRY glClearStencil (GLint s);387typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
492GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);388typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
493GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);389typedef GLuint (GL_APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
494GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid* data);390typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
495GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid* data);391typedef void (GL_APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
496GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);392typedef void (GL_APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
497GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);393typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
498GL_APICALL GLuint GL_APIENTRY glCreateProgram (void);394typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
499GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type);395typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
500GL_APICALL void GL_APIENTRY glCullFace (GLenum mode);396typedef void (GL_APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
501GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint* buffers);397typedef void (GL_APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
502GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint* framebuffers);398typedef void (GL_APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
503GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program);399typedef void (GL_APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
504GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint* renderbuffers);400typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
505GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);401typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
506GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint* textures);402typedef void (GL_APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
507GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func);403typedef void (GL_APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
508GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag);404typedef void (GL_APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
509GL_APICALL void GL_APIENTRY glDepthRangef (GLclampf zNear, GLclampf zFar);405typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
510GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);406typedef void (GL_APIENTRYP PFNGLENABLEPROC) (GLenum cap);
511GL_APICALL void GL_APIENTRY glDisable (GLenum cap);407typedef void (GL_APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
512GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index);408typedef void (GL_APIENTRYP PFNGLFINISHPROC) (void);
513GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);409typedef void (GL_APIENTRYP PFNGLFLUSHPROC) (void);
514GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);410typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
515GL_APICALL void GL_APIENTRY glEnable (GLenum cap);411typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
516GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index);412typedef void (GL_APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
517GL_APICALL void GL_APIENTRY glFinish (void);413typedef void (GL_APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
518GL_APICALL void GL_APIENTRY glFlush (void);414typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
519GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);415typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
520GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);416typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
521GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode);417typedef void (GL_APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
522GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint* buffers);418typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
523GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target);419typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
524GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint* framebuffers);420typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
525GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint* renderbuffers);421typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
526GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint* textures);422typedef void (GL_APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data);
527GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);423typedef void (GL_APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
528GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);424typedef GLenum (GL_APIENTRYP PFNGLGETERRORPROC) (void);
529GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);425typedef void (GL_APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
530GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name);426typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
531GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean* params);427typedef void (GL_APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data);
532GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint* params);428typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
533GL_APICALL GLenum GL_APIENTRY glGetError (void);429typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
534GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat* params);430typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
535GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint* params);431typedef void (GL_APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
536GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint* params);432typedef void (GL_APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
537GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params);433typedef void (GL_APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
538GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog);434typedef void (GL_APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
539GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint* params);435typedef const GLubyte *(GL_APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
540GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint* params);436typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
541GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* infolog);437typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
542GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint* precision);438typedef void (GL_APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
543GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufsize, GLsizei* length, GLchar* source);439typedef void (GL_APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
544GL_APICALL const GLubyte* GL_APIENTRY glGetString (GLenum name);440typedef GLint (GL_APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
545GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat* params);441typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
546GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint* params);442typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
547GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat* params);443typedef void (GL_APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
548GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint* params);444typedef void (GL_APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
549GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar* name);445typedef GLboolean (GL_APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
550GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat* params);446typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
551GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint* params);447typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
552GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid** pointer);448typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
553GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode);449typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
554GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);450typedef GLboolean (GL_APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
555GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);451typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
556GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer);452typedef void (GL_APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
557GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program);453typedef void (GL_APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
558GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer);454typedef void (GL_APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param);
559GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);455typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
560GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);456typedef void (GL_APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
561GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);457typedef void (GL_APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
562GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program);458typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
563GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);459typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
564GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);460typedef void (GL_APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
565GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);461typedef void (GL_APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
566GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void);462typedef void (GL_APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
567GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);463typedef void (GL_APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
568GL_APICALL void GL_APIENTRY glSampleCoverage (GLclampf value, GLboolean invert);464typedef void (GL_APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
569GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);465typedef void (GL_APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask);
570GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei n, const GLuint* shaders, GLenum binaryformat, const GLvoid* binary, GLsizei length);466typedef void (GL_APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
571GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length);467typedef void (GL_APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass);
572GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);468typedef void (GL_APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
573GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);469typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
574GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask);470typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param);
575GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);471typedef void (GL_APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
576GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);472typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
577GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum fail, GLenum zfail, GLenum zpass);473typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
578GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);474typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
579GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);475typedef void (GL_APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
580GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat* params);476typedef void (GL_APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
581GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);477typedef void (GL_APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
582GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint* params);478typedef void (GL_APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
583GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);479typedef void (GL_APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
584GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat x);480typedef void (GL_APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
585GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat* v);481typedef void (GL_APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
586GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint x);482typedef void (GL_APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
587GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint* v);483typedef void (GL_APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
588GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat x, GLfloat y);484typedef void (GL_APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
589GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat* v);485typedef void (GL_APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
590GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint x, GLint y);486typedef void (GL_APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
591GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint* v);487typedef void (GL_APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
592GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat x, GLfloat y, GLfloat z);488typedef void (GL_APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
593GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat* v);489typedef void (GL_APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
594GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint x, GLint y, GLint z);490typedef void (GL_APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
595GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint* v);491typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
596GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);492typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
597GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat* v);493typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
598GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint x, GLint y, GLint z, GLint w);494typedef void (GL_APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
599GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint* v);495typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
600GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);496typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
601GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);497typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
602GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);498typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
603GL_APICALL void GL_APIENTRY glUseProgram (GLuint program);499typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
604GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program);500typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
605GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint indx, GLfloat x);501typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
606GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint indx, const GLfloat* values);502typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
607GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y);503typedef void (GL_APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
608GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint indx, const GLfloat* values);504typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
609GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z);505typedef void (GL_APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
610GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint indx, const GLfloat* values);506#if GL_GLES_PROTOTYPES
611GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);507GL_APICALL void GL_APIENTRY glActiveTexture (GLenum texture);
612GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint indx, const GLfloat* values);508GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
613GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* ptr);509GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
614GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);510GL_APICALL void GL_APIENTRY glBindBuffer (GLenum target, GLuint buffer);
511GL_APICALL void GL_APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
512GL_APICALL void GL_APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
513GL_APICALL void GL_APIENTRY glBindTexture (GLenum target, GLuint texture);
514GL_APICALL void GL_APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
515GL_APICALL void GL_APIENTRY glBlendEquation (GLenum mode);
516GL_APICALL void GL_APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
517GL_APICALL void GL_APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
518GL_APICALL void GL_APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
519GL_APICALL void GL_APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
520GL_APICALL void GL_APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
521GL_APICALL GLenum GL_APIENTRY glCheckFramebufferStatus (GLenum target);
522GL_APICALL void GL_APIENTRY glClear (GLbitfield mask);
523GL_APICALL void GL_APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
524GL_APICALL void GL_APIENTRY glClearDepthf (GLfloat d);
525GL_APICALL void GL_APIENTRY glClearStencil (GLint s);
526GL_APICALL void GL_APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
527GL_APICALL void GL_APIENTRY glCompileShader (GLuint shader);
528GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
529GL_APICALL void GL_APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
530GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
531GL_APICALL void GL_APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
532GL_APICALL GLuint GL_APIENTRY glCreateProgram (void);
533GL_APICALL GLuint GL_APIENTRY glCreateShader (GLenum type);
534GL_APICALL void GL_APIENTRY glCullFace (GLenum mode);
535GL_APICALL void GL_APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
536GL_APICALL void GL_APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
537GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program);
538GL_APICALL void GL_APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
539GL_APICALL void GL_APIENTRY glDeleteShader (GLuint shader);
540GL_APICALL void GL_APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
541GL_APICALL void GL_APIENTRY glDepthFunc (GLenum func);
542GL_APICALL void GL_APIENTRY glDepthMask (GLboolean flag);
543GL_APICALL void GL_APIENTRY glDepthRangef (GLfloat n, GLfloat f);
544GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader);
545GL_APICALL void GL_APIENTRY glDisable (GLenum cap);
546GL_APICALL void GL_APIENTRY glDisableVertexAttribArray (GLuint index);
547GL_APICALL void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
548GL_APICALL void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
549GL_APICALL void GL_APIENTRY glEnable (GLenum cap);
550GL_APICALL void GL_APIENTRY glEnableVertexAttribArray (GLuint index);
551GL_APICALL void GL_APIENTRY glFinish (void);
552GL_APICALL void GL_APIENTRY glFlush (void);
553GL_APICALL void GL_APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
554GL_APICALL void GL_APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
555GL_APICALL void GL_APIENTRY glFrontFace (GLenum mode);
556GL_APICALL void GL_APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
557GL_APICALL void GL_APIENTRY glGenerateMipmap (GLenum target);
558GL_APICALL void GL_APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
559GL_APICALL void GL_APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
560GL_APICALL void GL_APIENTRY glGenTextures (GLsizei n, GLuint *textures);
561GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
562GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
563GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
564GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
565GL_APICALL void GL_APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
566GL_APICALL void GL_APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
567GL_APICALL GLenum GL_APIENTRY glGetError (void);
568GL_APICALL void GL_APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
569GL_APICALL void GL_APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
570GL_APICALL void GL_APIENTRY glGetIntegerv (GLenum pname, GLint *data);
571GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
572GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
573GL_APICALL void GL_APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
574GL_APICALL void GL_APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
575GL_APICALL void GL_APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
576GL_APICALL void GL_APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
577GL_APICALL void GL_APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
578GL_APICALL const GLubyte *GL_APIENTRY glGetString (GLenum name);
579GL_APICALL void GL_APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
580GL_APICALL void GL_APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
581GL_APICALL void GL_APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
582GL_APICALL void GL_APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
583GL_APICALL GLint GL_APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
584GL_APICALL void GL_APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
585GL_APICALL void GL_APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
586GL_APICALL void GL_APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
587GL_APICALL void GL_APIENTRY glHint (GLenum target, GLenum mode);
588GL_APICALL GLboolean GL_APIENTRY glIsBuffer (GLuint buffer);
589GL_APICALL GLboolean GL_APIENTRY glIsEnabled (GLenum cap);
590GL_APICALL GLboolean GL_APIENTRY glIsFramebuffer (GLuint framebuffer);
591GL_APICALL GLboolean GL_APIENTRY glIsProgram (GLuint program);
592GL_APICALL GLboolean GL_APIENTRY glIsRenderbuffer (GLuint renderbuffer);
593GL_APICALL GLboolean GL_APIENTRY glIsShader (GLuint shader);
594GL_APICALL GLboolean GL_APIENTRY glIsTexture (GLuint texture);
595GL_APICALL void GL_APIENTRY glLineWidth (GLfloat width);
596GL_APICALL void GL_APIENTRY glLinkProgram (GLuint program);
597GL_APICALL void GL_APIENTRY glPixelStorei (GLenum pname, GLint param);
598GL_APICALL void GL_APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
599GL_APICALL void GL_APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
600GL_APICALL void GL_APIENTRY glReleaseShaderCompiler (void);
601GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
602GL_APICALL void GL_APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
603GL_APICALL void GL_APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
604GL_APICALL void GL_APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryFormat, const void *binary, GLsizei length);
605GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
606GL_APICALL void GL_APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
607GL_APICALL void GL_APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
608GL_APICALL void GL_APIENTRY glStencilMask (GLuint mask);
609GL_APICALL void GL_APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
610GL_APICALL void GL_APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
611GL_APICALL void GL_APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
612GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
613GL_APICALL void GL_APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
614GL_APICALL void GL_APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
615GL_APICALL void GL_APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
616GL_APICALL void GL_APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
617GL_APICALL void GL_APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
618GL_APICALL void GL_APIENTRY glUniform1f (GLint location, GLfloat v0);
619GL_APICALL void GL_APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
620GL_APICALL void GL_APIENTRY glUniform1i (GLint location, GLint v0);
621GL_APICALL void GL_APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
622GL_APICALL void GL_APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
623GL_APICALL void GL_APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
624GL_APICALL void GL_APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
625GL_APICALL void GL_APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
626GL_APICALL void GL_APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
627GL_APICALL void GL_APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
628GL_APICALL void GL_APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
629GL_APICALL void GL_APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
630GL_APICALL void GL_APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
631GL_APICALL void GL_APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
632GL_APICALL void GL_APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
633GL_APICALL void GL_APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
634GL_APICALL void GL_APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
635GL_APICALL void GL_APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
636GL_APICALL void GL_APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
637GL_APICALL void GL_APIENTRY glUseProgram (GLuint program);
638GL_APICALL void GL_APIENTRY glValidateProgram (GLuint program);
639GL_APICALL void GL_APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
640GL_APICALL void GL_APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
641GL_APICALL void GL_APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
642GL_APICALL void GL_APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
643GL_APICALL void GL_APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
644GL_APICALL void GL_APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
645GL_APICALL void GL_APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
646GL_APICALL void GL_APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
647GL_APICALL void GL_APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
648GL_APICALL void GL_APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
649#endif
650#endif /* GL_ES_VERSION_2_0 */
615 651
616#ifdef __cplusplus652#ifdef __cplusplus
617}653}
618#endif654#endif
619 655
620#endif /* __gl2_h_ */656#endif
621
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2ext.h+3479−1496
@@ -1,1395 +1,1013 @@
1#ifndef __gl2ext_h_1#ifndef __gles2_gl2ext_h_
2#define __gl2ext_h_2#define __gles2_gl2ext_h_ 1
3
4/* $Revision: 22801 $ on $Date:: 2013-08-21 03:20:48 -0700 #$ */
5 3
6#ifdef __cplusplus4#ifdef __cplusplus
7extern "C" {5extern "C" {
8#endif6#endif
9 7
10/*8/*
11 * This document is licensed under the SGI Free Software B License Version9** Copyright 2013-2020 The Khronos Group Inc.
12 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .10** SPDX-License-Identifier: MIT
13 */11**
12** This header is generated from the Khronos OpenGL / OpenGL ES XML
13** API Registry. The current version of the Registry, generator scripts
14** used to make the header, and the header can be found at
15** https://github.com/KhronosGroup/OpenGL-Registry
16*/
14 17
15#ifndef GL_APIENTRYP18#ifndef GL_APIENTRYP
16# define GL_APIENTRYP GL_APIENTRY*19#define GL_APIENTRYP GL_APIENTRY*
17#endif20#endif
18 21
19/* New types shared by several extensions */22/* Generated on date 20220530 */
20 23
21#ifndef __gl3_h_24/* Generated C header for:
22/* These are defined with respect to <inttypes.h> in the25 * API: gles2
23 * Apple extension spec, but they are also used by non-APPLE26 * Profile: common
24 * extensions, and in the Khronos header we use the Khronos27 * Versions considered: 2\.[0-9]
25 * portable types in khrplatform.h, which must be defined.28 * Versions emitted: _nomatch_^
29 * Default extensions included: gles2
30 * Additional extensions included: _nomatch_^
31 * Extensions removed: _nomatch_^
26 */32 */
27typedef khronos_int64_t GLint64;
28typedef khronos_uint64_t GLuint64;
29typedef struct __GLsync *GLsync;
30#endif
31
32
33/*------------------------------------------------------------------------*
34 * OES extension tokens
35 *------------------------------------------------------------------------*/
36
37/* GL_OES_compressed_ETC1_RGB8_texture */
38#ifndef GL_OES_compressed_ETC1_RGB8_texture
39#define GL_ETC1_RGB8_OES 0x8D64
40#endif
41
42/* GL_OES_compressed_paletted_texture */
43#ifndef GL_OES_compressed_paletted_texture
44#define GL_PALETTE4_RGB8_OES 0x8B90
45#define GL_PALETTE4_RGBA8_OES 0x8B91
46#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
47#define GL_PALETTE4_RGBA4_OES 0x8B93
48#define GL_PALETTE4_RGB5_A1_OES 0x8B94
49#define GL_PALETTE8_RGB8_OES 0x8B95
50#define GL_PALETTE8_RGBA8_OES 0x8B96
51#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
52#define GL_PALETTE8_RGBA4_OES 0x8B98
53#define GL_PALETTE8_RGB5_A1_OES 0x8B99
54#endif
55
56/* GL_OES_depth24 */
57#ifndef GL_OES_depth24
58#define GL_DEPTH_COMPONENT24_OES 0x81A6
59#endif
60
61/* GL_OES_depth32 */
62#ifndef GL_OES_depth32
63#define GL_DEPTH_COMPONENT32_OES 0x81A7
64#endif
65
66/* GL_OES_depth_texture */
67/* No new tokens introduced by this extension. */
68
69/* GL_OES_EGL_image */
70#ifndef GL_OES_EGL_image
71typedef void* GLeglImageOES;
72#endif
73
74/* GL_OES_EGL_image_external */
75#ifndef GL_OES_EGL_image_external
76/* GLeglImageOES defined in GL_OES_EGL_image already. */
77#define GL_TEXTURE_EXTERNAL_OES 0x8D65
78#define GL_SAMPLER_EXTERNAL_OES 0x8D66
79#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
80#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
81#endif
82
83/* GL_OES_element_index_uint */
84#ifndef GL_OES_element_index_uint
85#define GL_UNSIGNED_INT 0x1405
86#endif
87
88/* GL_OES_get_program_binary */
89#ifndef GL_OES_get_program_binary
90#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
91#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
92#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
93#endif
94
95/* GL_OES_mapbuffer */
96#ifndef GL_OES_mapbuffer
97#define GL_WRITE_ONLY_OES 0x88B9
98#define GL_BUFFER_ACCESS_OES 0x88BB
99#define GL_BUFFER_MAPPED_OES 0x88BC
100#define GL_BUFFER_MAP_POINTER_OES 0x88BD
101#endif
102
103/* GL_OES_packed_depth_stencil */
104#ifndef GL_OES_packed_depth_stencil
105#define GL_DEPTH_STENCIL_OES 0x84F9
106#define GL_UNSIGNED_INT_24_8_OES 0x84FA
107#define GL_DEPTH24_STENCIL8_OES 0x88F0
108#endif
109
110/* GL_OES_required_internalformat */
111#ifndef GL_OES_required_internalformat
112#define GL_ALPHA8_OES 0x803C
113#define GL_DEPTH_COMPONENT16_OES 0x81A5
114/* reuse GL_DEPTH_COMPONENT24_OES */
115/* reuse GL_DEPTH24_STENCIL8_OES */
116/* reuse GL_DEPTH_COMPONENT32_OES */
117#define GL_LUMINANCE4_ALPHA4_OES 0x8043
118#define GL_LUMINANCE8_ALPHA8_OES 0x8045
119#define GL_LUMINANCE8_OES 0x8040
120#define GL_RGBA4_OES 0x8056
121#define GL_RGB5_A1_OES 0x8057
122#define GL_RGB565_OES 0x8D62
123/* reuse GL_RGB8_OES */
124/* reuse GL_RGBA8_OES */
125/* reuse GL_RGB10_EXT */
126/* reuse GL_RGB10_A2_EXT */
127#endif
128
129/* GL_OES_rgb8_rgba8 */
130#ifndef GL_OES_rgb8_rgba8
131#define GL_RGB8_OES 0x8051
132#define GL_RGBA8_OES 0x8058
133#endif
134
135/* GL_OES_standard_derivatives */
136#ifndef GL_OES_standard_derivatives
137#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
138#endif
139
140/* GL_OES_stencil1 */
141#ifndef GL_OES_stencil1
142#define GL_STENCIL_INDEX1_OES 0x8D46
143#endif
144
145/* GL_OES_stencil4 */
146#ifndef GL_OES_stencil4
147#define GL_STENCIL_INDEX4_OES 0x8D47
148#endif
149
150#ifndef GL_OES_surfaceless_context
151#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
152#endif
153
154/* GL_OES_texture_3D */
155#ifndef GL_OES_texture_3D
156#define GL_TEXTURE_WRAP_R_OES 0x8072
157#define GL_TEXTURE_3D_OES 0x806F
158#define GL_TEXTURE_BINDING_3D_OES 0x806A
159#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
160#define GL_SAMPLER_3D_OES 0x8B5F
161#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
162#endif
163
164/* GL_OES_texture_float */
165/* No new tokens introduced by this extension. */
166 33
167/* GL_OES_texture_float_linear */34#ifndef GL_KHR_blend_equation_advanced
168/* No new tokens introduced by this extension. */35#define GL_KHR_blend_equation_advanced 1
169 36#define GL_MULTIPLY_KHR 0x9294
170/* GL_OES_texture_half_float */37#define GL_SCREEN_KHR 0x9295
171#ifndef GL_OES_texture_half_float38#define GL_OVERLAY_KHR 0x9296
172#define GL_HALF_FLOAT_OES 0x8D6139#define GL_DARKEN_KHR 0x9297
173#endif40#define GL_LIGHTEN_KHR 0x9298
174 41#define GL_COLORDODGE_KHR 0x9299
175/* GL_OES_texture_half_float_linear */42#define GL_COLORBURN_KHR 0x929A
176/* No new tokens introduced by this extension. */43#define GL_HARDLIGHT_KHR 0x929B
177 44#define GL_SOFTLIGHT_KHR 0x929C
178/* GL_OES_texture_npot */45#define GL_DIFFERENCE_KHR 0x929E
179/* No new tokens introduced by this extension. */46#define GL_EXCLUSION_KHR 0x92A0
180 47#define GL_HSL_HUE_KHR 0x92AD
181/* GL_OES_vertex_array_object */48#define GL_HSL_SATURATION_KHR 0x92AE
182#ifndef GL_OES_vertex_array_object49#define GL_HSL_COLOR_KHR 0x92AF
183#define GL_VERTEX_ARRAY_BINDING_OES 0x85B550#define GL_HSL_LUMINOSITY_KHR 0x92B0
51typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
52#ifdef GL_GLEXT_PROTOTYPES
53GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
184#endif54#endif
55#endif /* GL_KHR_blend_equation_advanced */
185 56
186/* GL_OES_vertex_half_float */57#ifndef GL_KHR_blend_equation_advanced_coherent
187/* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */58#define GL_KHR_blend_equation_advanced_coherent 1
188 59#define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
189/* GL_OES_vertex_type_10_10_10_2 */60#endif /* GL_KHR_blend_equation_advanced_coherent */
190#ifndef GL_OES_vertex_type_10_10_10_2
191#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
192#define GL_INT_10_10_10_2_OES 0x8DF7
193#endif
194 61
195/*------------------------------------------------------------------------*62#ifndef GL_KHR_context_flush_control
196 * KHR extension tokens63#define GL_KHR_context_flush_control 1
197 *------------------------------------------------------------------------*/64#define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
65#define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
66#endif /* GL_KHR_context_flush_control */
198 67
199#ifndef GL_KHR_debug68#ifndef GL_KHR_debug
200typedef void (GL_APIENTRYP GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);69#define GL_KHR_debug 1
201#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x824270typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
202#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x824371#define GL_SAMPLER 0x82E6
203#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x824472#define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
204#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x824573#define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
205#define GL_DEBUG_SOURCE_API_KHR 0x824674#define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
206#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x824775#define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
207#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x824876#define GL_DEBUG_SOURCE_API_KHR 0x8246
208#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x824977#define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
209#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A78#define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
210#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B79#define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
211#define GL_DEBUG_TYPE_ERROR_KHR 0x824C80#define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
212#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D81#define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
213#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E82#define GL_DEBUG_TYPE_ERROR_KHR 0x824C
214#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F83#define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
215#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x825084#define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
216#define GL_DEBUG_TYPE_OTHER_KHR 0x825185#define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
217#define GL_DEBUG_TYPE_MARKER_KHR 0x826886#define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
218#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x826987#define GL_DEBUG_TYPE_OTHER_KHR 0x8251
219#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A88#define GL_DEBUG_TYPE_MARKER_KHR 0x8268
220#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B89#define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
221#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C90#define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
222#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D91#define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
223#define GL_BUFFER_KHR 0x82E092#define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
224#define GL_SHADER_KHR 0x82E193#define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
225#define GL_PROGRAM_KHR 0x82E294#define GL_BUFFER_KHR 0x82E0
226#define GL_QUERY_KHR 0x82E395#define GL_SHADER_KHR 0x82E1
227/* PROGRAM_PIPELINE only in GL */96#define GL_PROGRAM_KHR 0x82E2
228#define GL_SAMPLER_KHR 0x82E697#define GL_VERTEX_ARRAY_KHR 0x8074
229/* DISPLAY_LIST only in GL */98#define GL_QUERY_KHR 0x82E3
230#define GL_MAX_LABEL_LENGTH_KHR 0x82E899#define GL_PROGRAM_PIPELINE_KHR 0x82E4
231#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143100#define GL_SAMPLER_KHR 0x82E6
232#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144101#define GL_MAX_LABEL_LENGTH_KHR 0x82E8
233#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145102#define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
234#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146103#define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
235#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147104#define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
236#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148105#define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
237#define GL_DEBUG_OUTPUT_KHR 0x92E0106#define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
238#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002107#define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
239#define GL_STACK_OVERFLOW_KHR 0x0503108#define GL_DEBUG_OUTPUT_KHR 0x92E0
240#define GL_STACK_UNDERFLOW_KHR 0x0504109#define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
241#endif110#define GL_STACK_OVERFLOW_KHR 0x0503
242 111#define GL_STACK_UNDERFLOW_KHR 0x0504
243#ifndef GL_KHR_texture_compression_astc_ldr112typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
244#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0113typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
245#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1114typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
246#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2115typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
247#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3116typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
248#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4117typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
249#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5118typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
250#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6119typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
251#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7120typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
252#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8121typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
253#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9122typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
254#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA123#ifdef GL_GLEXT_PROTOTYPES
255#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB124GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
256#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC125GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
257#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD126GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
258#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0127GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
259#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1128GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
260#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2129GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
261#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3130GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
262#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4131GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
263#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5132GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
264#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6133GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
265#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7134GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
266#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
267#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
268#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
269#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
270#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
271#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
272#endif
273
274/*------------------------------------------------------------------------*
275 * AMD extension tokens
276 *------------------------------------------------------------------------*/
277
278/* GL_AMD_compressed_3DC_texture */
279#ifndef GL_AMD_compressed_3DC_texture
280#define GL_3DC_X_AMD 0x87F9
281#define GL_3DC_XY_AMD 0x87FA
282#endif
283
284/* GL_AMD_compressed_ATC_texture */
285#ifndef GL_AMD_compressed_ATC_texture
286#define GL_ATC_RGB_AMD 0x8C92
287#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
288#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
289#endif
290
291/* GL_AMD_performance_monitor */
292#ifndef GL_AMD_performance_monitor
293#define GL_COUNTER_TYPE_AMD 0x8BC0
294#define GL_COUNTER_RANGE_AMD 0x8BC1
295#define GL_UNSIGNED_INT64_AMD 0x8BC2
296#define GL_PERCENTAGE_AMD 0x8BC3
297#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
298#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
299#define GL_PERFMON_RESULT_AMD 0x8BC6
300#endif
301
302/* GL_AMD_program_binary_Z400 */
303#ifndef GL_AMD_program_binary_Z400
304#define GL_Z400_BINARY_AMD 0x8740
305#endif
306
307/*------------------------------------------------------------------------*
308 * ANGLE extension tokens
309 *------------------------------------------------------------------------*/
310
311/* GL_ANGLE_depth_texture */
312#ifndef GL_ANGLE_depth_texture
313#define GL_DEPTH_COMPONENT 0x1902
314#define GL_DEPTH_STENCIL_OES 0x84F9
315#define GL_UNSIGNED_SHORT 0x1403
316#define GL_UNSIGNED_INT 0x1405
317#define GL_UNSIGNED_INT_24_8_OES 0x84FA
318#define GL_DEPTH_COMPONENT16 0x81A5
319#define GL_DEPTH_COMPONENT32_OES 0x81A7
320#define GL_DEPTH24_STENCIL8_OES 0x88F0
321#endif
322
323/* GL_ANGLE_framebuffer_blit */
324#ifndef GL_ANGLE_framebuffer_blit
325#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
326#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
327#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
328#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
329#endif
330
331/* GL_ANGLE_framebuffer_multisample */
332#ifndef GL_ANGLE_framebuffer_multisample
333#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
334#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
335#define GL_MAX_SAMPLES_ANGLE 0x8D57
336#endif
337
338/* GL_ANGLE_instanced_arrays */
339#ifndef GL_ANGLE_instanced_arrays
340#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
341#endif
342
343/* GL_ANGLE_pack_reverse_row_order */
344#ifndef GL_ANGLE_pack_reverse_row_order
345#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
346#endif
347
348/* GL_ANGLE_program_binary */
349#ifndef GL_ANGLE_program_binary
350#define GL_PROGRAM_BINARY_ANGLE 0x93A6
351#endif
352
353/* GL_ANGLE_texture_compression_dxt3 */
354#ifndef GL_ANGLE_texture_compression_dxt3
355#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
356#endif
357
358/* GL_ANGLE_texture_compression_dxt5 */
359#ifndef GL_ANGLE_texture_compression_dxt5
360#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
361#endif
362
363/* GL_ANGLE_texture_usage */
364#ifndef GL_ANGLE_texture_usage
365#define GL_TEXTURE_USAGE_ANGLE 0x93A2
366#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
367#endif
368
369/* GL_ANGLE_translated_shader_source */
370#ifndef GL_ANGLE_translated_shader_source
371#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
372#endif
373
374/*------------------------------------------------------------------------*
375 * APPLE extension tokens
376 *------------------------------------------------------------------------*/
377
378/* GL_APPLE_copy_texture_levels */
379/* No new tokens introduced by this extension. */
380
381/* GL_APPLE_framebuffer_multisample */
382#ifndef GL_APPLE_framebuffer_multisample
383#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
384#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
385#define GL_MAX_SAMPLES_APPLE 0x8D57
386#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
387#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
388#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
389#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
390#endif
391
392/* GL_APPLE_rgb_422 */
393#ifndef GL_APPLE_rgb_422
394#define GL_RGB_422_APPLE 0x8A1F
395#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
396#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
397#endif
398
399/* GL_APPLE_sync */
400#ifndef GL_APPLE_sync
401
402#define GL_SYNC_OBJECT_APPLE 0x8A53
403#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
404#define GL_OBJECT_TYPE_APPLE 0x9112
405#define GL_SYNC_CONDITION_APPLE 0x9113
406#define GL_SYNC_STATUS_APPLE 0x9114
407#define GL_SYNC_FLAGS_APPLE 0x9115
408#define GL_SYNC_FENCE_APPLE 0x9116
409#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
410#define GL_UNSIGNALED_APPLE 0x9118
411#define GL_SIGNALED_APPLE 0x9119
412#define GL_ALREADY_SIGNALED_APPLE 0x911A
413#define GL_TIMEOUT_EXPIRED_APPLE 0x911B
414#define GL_CONDITION_SATISFIED_APPLE 0x911C
415#define GL_WAIT_FAILED_APPLE 0x911D
416#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
417#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
418#endif
419
420/* GL_APPLE_texture_format_BGRA8888 */
421#ifndef GL_APPLE_texture_format_BGRA8888
422#define GL_BGRA_EXT 0x80E1
423#endif
424
425/* GL_APPLE_texture_max_level */
426#ifndef GL_APPLE_texture_max_level
427#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
428#endif
429
430/*------------------------------------------------------------------------*
431 * ARM extension tokens
432 *------------------------------------------------------------------------*/
433
434/* GL_ARM_mali_program_binary */
435#ifndef GL_ARM_mali_program_binary
436#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
437#endif
438
439/* GL_ARM_mali_shader_binary */
440#ifndef GL_ARM_mali_shader_binary
441#define GL_MALI_SHADER_BINARY_ARM 0x8F60
442#endif
443
444/* GL_ARM_rgba8 */
445/* No new tokens introduced by this extension. */
446
447/*------------------------------------------------------------------------*
448 * EXT extension tokens
449 *------------------------------------------------------------------------*/
450
451/* GL_EXT_blend_minmax */
452#ifndef GL_EXT_blend_minmax
453#define GL_MIN_EXT 0x8007
454#define GL_MAX_EXT 0x8008
455#endif
456
457/* GL_EXT_color_buffer_half_float */
458#ifndef GL_EXT_color_buffer_half_float
459#define GL_RGBA16F_EXT 0x881A
460#define GL_RGB16F_EXT 0x881B
461#define GL_RG16F_EXT 0x822F
462#define GL_R16F_EXT 0x822D
463#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
464#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
465#endif
466
467/* GL_EXT_debug_label */
468#ifndef GL_EXT_debug_label
469#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
470#define GL_PROGRAM_OBJECT_EXT 0x8B40
471#define GL_SHADER_OBJECT_EXT 0x8B48
472#define GL_BUFFER_OBJECT_EXT 0x9151
473#define GL_QUERY_OBJECT_EXT 0x9153
474#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
475#endif
476
477/* GL_EXT_debug_marker */
478/* No new tokens introduced by this extension. */
479
480/* GL_EXT_discard_framebuffer */
481#ifndef GL_EXT_discard_framebuffer
482#define GL_COLOR_EXT 0x1800
483#define GL_DEPTH_EXT 0x1801
484#define GL_STENCIL_EXT 0x1802
485#endif
486
487#ifndef GL_EXT_disjoint_timer_query
488#define GL_QUERY_COUNTER_BITS_EXT 0x8864
489#define GL_CURRENT_QUERY_EXT 0x8865
490#define GL_QUERY_RESULT_EXT 0x8866
491#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
492#define GL_TIME_ELAPSED_EXT 0x88BF
493#define GL_TIMESTAMP_EXT 0x8E28
494#define GL_GPU_DISJOINT_EXT 0x8FBB
495#endif
496
497#ifndef GL_EXT_draw_buffers
498#define GL_EXT_draw_buffers 1
499#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
500#define GL_MAX_DRAW_BUFFERS_EXT 0x8824
501#define GL_DRAW_BUFFER0_EXT 0x8825
502#define GL_DRAW_BUFFER1_EXT 0x8826
503#define GL_DRAW_BUFFER2_EXT 0x8827
504#define GL_DRAW_BUFFER3_EXT 0x8828
505#define GL_DRAW_BUFFER4_EXT 0x8829
506#define GL_DRAW_BUFFER5_EXT 0x882A
507#define GL_DRAW_BUFFER6_EXT 0x882B
508#define GL_DRAW_BUFFER7_EXT 0x882C
509#define GL_DRAW_BUFFER8_EXT 0x882D
510#define GL_DRAW_BUFFER9_EXT 0x882E
511#define GL_DRAW_BUFFER10_EXT 0x882F
512#define GL_DRAW_BUFFER11_EXT 0x8830
513#define GL_DRAW_BUFFER12_EXT 0x8831
514#define GL_DRAW_BUFFER13_EXT 0x8832
515#define GL_DRAW_BUFFER14_EXT 0x8833
516#define GL_DRAW_BUFFER15_EXT 0x8834
517#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
518#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
519#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
520#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
521#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
522#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
523#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
524#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
525#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
526#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
527#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
528#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
529#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
530#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
531#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
532#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
533#endif
534
535/* GL_EXT_map_buffer_range */
536#ifndef GL_EXT_map_buffer_range
537#define GL_MAP_READ_BIT_EXT 0x0001
538#define GL_MAP_WRITE_BIT_EXT 0x0002
539#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
540#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
541#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
542#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
543#endif
544
545/* GL_EXT_multisampled_render_to_texture */
546#ifndef GL_EXT_multisampled_render_to_texture
547#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
548/* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */
549#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
550#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
551#define GL_MAX_SAMPLES_EXT 0x8D57
552#endif
553
554/* GL_EXT_multiview_draw_buffers */
555#ifndef GL_EXT_multiview_draw_buffers
556#define GL_COLOR_ATTACHMENT_EXT 0x90F0
557#define GL_MULTIVIEW_EXT 0x90F1
558#define GL_DRAW_BUFFER_EXT 0x0C01
559#define GL_READ_BUFFER_EXT 0x0C02
560#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
561#endif
562
563/* GL_EXT_multi_draw_arrays */
564/* No new tokens introduced by this extension. */
565
566/* GL_EXT_occlusion_query_boolean */
567#ifndef GL_EXT_occlusion_query_boolean
568#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
569#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
570#define GL_CURRENT_QUERY_EXT 0x8865
571#define GL_QUERY_RESULT_EXT 0x8866
572#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
573#endif
574
575/* GL_EXT_read_format_bgra */
576#ifndef GL_EXT_read_format_bgra
577#define GL_BGRA_EXT 0x80E1
578#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
579#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
580#endif
581
582/* GL_EXT_robustness */
583#ifndef GL_EXT_robustness
584/* reuse GL_NO_ERROR */
585#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
586#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
587#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
588#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
589#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
590#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
591#define GL_NO_RESET_NOTIFICATION_EXT 0x8261
592#endif
593
594/* GL_EXT_separate_shader_objects */
595#ifndef GL_EXT_separate_shader_objects
596#define GL_VERTEX_SHADER_BIT_EXT 0x00000001
597#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
598#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
599#define GL_PROGRAM_SEPARABLE_EXT 0x8258
600#define GL_ACTIVE_PROGRAM_EXT 0x8259
601#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
602#endif
603
604/* GL_EXT_shader_framebuffer_fetch */
605#ifndef GL_EXT_shader_framebuffer_fetch
606#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
607#endif
608
609/* GL_EXT_shader_texture_lod */
610/* No new tokens introduced by this extension. */
611
612/* GL_EXT_shadow_samplers */
613#ifndef GL_EXT_shadow_samplers
614#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
615#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
616#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
617#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
618#endif
619
620/* GL_EXT_sRGB */
621#ifndef GL_EXT_sRGB
622#define GL_SRGB_EXT 0x8C40
623#define GL_SRGB_ALPHA_EXT 0x8C42
624#define GL_SRGB8_ALPHA8_EXT 0x8C43
625#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
626#endif
627
628/* GL_EXT_sRGB_write_control */
629#ifndef GL_EXT_sRGB_write_control
630#define GL_EXT_sRGB_write_control 1
631#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
632#endif
633
634/* GL_EXT_texture_compression_dxt1 */
635#ifndef GL_EXT_texture_compression_dxt1
636#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
637#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
638#endif
639
640/* GL_EXT_texture_filter_anisotropic */
641#ifndef GL_EXT_texture_filter_anisotropic
642#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
643#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
644#endif
645
646/* GL_EXT_texture_format_BGRA8888 */
647#ifndef GL_EXT_texture_format_BGRA8888
648#define GL_BGRA_EXT 0x80E1
649#endif
650
651/* GL_EXT_texture_rg */
652#ifndef GL_EXT_texture_rg
653#define GL_RED_EXT 0x1903
654#define GL_RG_EXT 0x8227
655#define GL_R8_EXT 0x8229
656#define GL_RG8_EXT 0x822B
657#endif
658
659/* GL_EXT_texture_sRGB_decode */
660#ifndef GL_EXT_texture_sRGB_decode
661#define GL_EXT_texture_sRGB_decode 1
662#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
663#define GL_DECODE_EXT 0x8A49
664#define GL_SKIP_DECODE_EXT 0x8A4A
665#endif
666
667/* GL_EXT_texture_storage */
668#ifndef GL_EXT_texture_storage
669#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
670#define GL_ALPHA8_EXT 0x803C
671#define GL_LUMINANCE8_EXT 0x8040
672#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
673#define GL_RGBA32F_EXT 0x8814
674#define GL_RGB32F_EXT 0x8815
675#define GL_ALPHA32F_EXT 0x8816
676#define GL_LUMINANCE32F_EXT 0x8818
677#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
678/* reuse GL_RGBA16F_EXT */
679/* reuse GL_RGB16F_EXT */
680#define GL_ALPHA16F_EXT 0x881C
681#define GL_LUMINANCE16F_EXT 0x881E
682#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
683#define GL_RGB10_A2_EXT 0x8059
684#define GL_RGB10_EXT 0x8052
685#define GL_BGRA8_EXT 0x93A1
686#define GL_R8_EXT 0x8229
687#define GL_RG8_EXT 0x822B
688#define GL_R32F_EXT 0x822E
689#define GL_RG32F_EXT 0x8230
690#define GL_R16F_EXT 0x822D
691#define GL_RG16F_EXT 0x822F
692#endif
693
694/* GL_EXT_texture_type_2_10_10_10_REV */
695#ifndef GL_EXT_texture_type_2_10_10_10_REV
696#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
697#endif
698
699/* GL_EXT_unpack_subimage */
700#ifndef GL_EXT_unpack_subimage
701#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
702#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
703#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
704#endif
705
706/*------------------------------------------------------------------------*
707 * DMP extension tokens
708 *------------------------------------------------------------------------*/
709
710/* GL_DMP_shader_binary */
711#ifndef GL_DMP_shader_binary
712#define GL_SHADER_BINARY_DMP 0x9250
713#endif
714
715/*------------------------------------------------------------------------*
716 * FJ extension tokens
717 *------------------------------------------------------------------------*/
718
719/* GL_FJ_shader_binary_GCCSO */
720#ifndef GL_FJ_shader_binary_GCCSO
721#define GL_GCCSO_SHADER_BINARY_FJ 0x9260
722#endif
723
724/*------------------------------------------------------------------------*
725 * IMG extension tokens
726 *------------------------------------------------------------------------*/
727
728/* GL_IMG_program_binary */
729#ifndef GL_IMG_program_binary
730#define GL_SGX_PROGRAM_BINARY_IMG 0x9130
731#endif
732
733/* GL_IMG_read_format */
734#ifndef GL_IMG_read_format
735#define GL_BGRA_IMG 0x80E1
736#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
737#endif
738
739/* GL_IMG_shader_binary */
740#ifndef GL_IMG_shader_binary
741#define GL_SGX_BINARY_IMG 0x8C0A
742#endif
743
744/* GL_IMG_texture_compression_pvrtc */
745#ifndef GL_IMG_texture_compression_pvrtc
746#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
747#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
748#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
749#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
750#endif
751
752/* GL_IMG_texture_compression_pvrtc2 */
753#ifndef GL_IMG_texture_compression_pvrtc2
754#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
755#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
756#endif
757
758/* GL_IMG_multisampled_render_to_texture */
759#ifndef GL_IMG_multisampled_render_to_texture
760#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
761#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
762#define GL_MAX_SAMPLES_IMG 0x9135
763#define GL_TEXTURE_SAMPLES_IMG 0x9136
764#endif
765
766/*------------------------------------------------------------------------*
767 * NV extension tokens
768 *------------------------------------------------------------------------*/
769
770/* GL_NV_coverage_sample */
771#ifndef GL_NV_coverage_sample
772#define GL_COVERAGE_COMPONENT_NV 0x8ED0
773#define GL_COVERAGE_COMPONENT4_NV 0x8ED1
774#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
775#define GL_COVERAGE_BUFFERS_NV 0x8ED3
776#define GL_COVERAGE_SAMPLES_NV 0x8ED4
777#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
778#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
779#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
780#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
781#endif
782
783/* GL_NV_depth_nonlinear */
784#ifndef GL_NV_depth_nonlinear
785#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
786#endif
787
788/* GL_NV_draw_buffers */
789#ifndef GL_NV_draw_buffers
790#define GL_MAX_DRAW_BUFFERS_NV 0x8824
791#define GL_DRAW_BUFFER0_NV 0x8825
792#define GL_DRAW_BUFFER1_NV 0x8826
793#define GL_DRAW_BUFFER2_NV 0x8827
794#define GL_DRAW_BUFFER3_NV 0x8828
795#define GL_DRAW_BUFFER4_NV 0x8829
796#define GL_DRAW_BUFFER5_NV 0x882A
797#define GL_DRAW_BUFFER6_NV 0x882B
798#define GL_DRAW_BUFFER7_NV 0x882C
799#define GL_DRAW_BUFFER8_NV 0x882D
800#define GL_DRAW_BUFFER9_NV 0x882E
801#define GL_DRAW_BUFFER10_NV 0x882F
802#define GL_DRAW_BUFFER11_NV 0x8830
803#define GL_DRAW_BUFFER12_NV 0x8831
804#define GL_DRAW_BUFFER13_NV 0x8832
805#define GL_DRAW_BUFFER14_NV 0x8833
806#define GL_DRAW_BUFFER15_NV 0x8834
807#define GL_COLOR_ATTACHMENT0_NV 0x8CE0
808#define GL_COLOR_ATTACHMENT1_NV 0x8CE1
809#define GL_COLOR_ATTACHMENT2_NV 0x8CE2
810#define GL_COLOR_ATTACHMENT3_NV 0x8CE3
811#define GL_COLOR_ATTACHMENT4_NV 0x8CE4
812#define GL_COLOR_ATTACHMENT5_NV 0x8CE5
813#define GL_COLOR_ATTACHMENT6_NV 0x8CE6
814#define GL_COLOR_ATTACHMENT7_NV 0x8CE7
815#define GL_COLOR_ATTACHMENT8_NV 0x8CE8
816#define GL_COLOR_ATTACHMENT9_NV 0x8CE9
817#define GL_COLOR_ATTACHMENT10_NV 0x8CEA
818#define GL_COLOR_ATTACHMENT11_NV 0x8CEB
819#define GL_COLOR_ATTACHMENT12_NV 0x8CEC
820#define GL_COLOR_ATTACHMENT13_NV 0x8CED
821#define GL_COLOR_ATTACHMENT14_NV 0x8CEE
822#define GL_COLOR_ATTACHMENT15_NV 0x8CEF
823#endif
824
825/* GL_NV_draw_instanced */
826/* No new tokens introduced by this extension. */
827
828/* GL_NV_fbo_color_attachments */
829#ifndef GL_NV_fbo_color_attachments
830#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
831/* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */
832#endif
833
834/* GL_NV_fence */
835#ifndef GL_NV_fence
836#define GL_ALL_COMPLETED_NV 0x84F2
837#define GL_FENCE_STATUS_NV 0x84F3
838#define GL_FENCE_CONDITION_NV 0x84F4
839#endif
840
841/* GL_NV_framebuffer_blit */
842#ifndef GL_NV_framebuffer_blit
843#define GL_READ_FRAMEBUFFER_NV 0x8CA8
844#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
845#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
846#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
847#endif
848
849/* GL_NV_framebuffer_multisample */
850#ifndef GL_NV_framebuffer_multisample
851#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
852#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
853#define GL_MAX_SAMPLES_NV 0x8D57
854#endif
855
856/* GL_NV_generate_mipmap_sRGB */
857/* No new tokens introduced by this extension. */
858
859/* GL_NV_instanced_arrays */
860#ifndef GL_NV_instanced_arrays
861#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
862#endif
863
864/* GL_NV_read_buffer */
865#ifndef GL_NV_read_buffer
866#define GL_READ_BUFFER_NV 0x0C02
867#endif
868
869/* GL_NV_read_buffer_front */
870/* No new tokens introduced by this extension. */
871
872/* GL_NV_read_depth */
873/* No new tokens introduced by this extension. */
874
875/* GL_NV_read_depth_stencil */
876/* No new tokens introduced by this extension. */
877
878/* GL_NV_read_stencil */
879/* No new tokens introduced by this extension. */
880
881/* GL_NV_shadow_samplers_array */
882#ifndef GL_NV_shadow_samplers_array
883#define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
884#endif
885
886/* GL_NV_shadow_samplers_cube */
887#ifndef GL_NV_shadow_samplers_cube
888#define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
889#endif
890
891/* GL_NV_sRGB_formats */
892#ifndef GL_NV_sRGB_formats
893#define GL_SLUMINANCE_NV 0x8C46
894#define GL_SLUMINANCE_ALPHA_NV 0x8C44
895#define GL_SRGB8_NV 0x8C41
896#define GL_SLUMINANCE8_NV 0x8C47
897#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
898#define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
899#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
900#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
901#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
902#define GL_ETC1_SRGB8_NV 0x88EE
903#endif
904
905/* GL_NV_texture_border_clamp */
906#ifndef GL_NV_texture_border_clamp
907#define GL_TEXTURE_BORDER_COLOR_NV 0x1004
908#define GL_CLAMP_TO_BORDER_NV 0x812D
909#endif135#endif
136#endif /* GL_KHR_debug */
910 137
911/* GL_NV_texture_compression_s3tc_update */138#ifndef GL_KHR_no_error
912/* No new tokens introduced by this extension. */139#define GL_KHR_no_error 1
913 140#define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
914/* GL_NV_texture_npot_2D_mipmap */141#endif /* GL_KHR_no_error */
915/* No new tokens introduced by this extension. */
916 142
917/*------------------------------------------------------------------------*143#ifndef GL_KHR_parallel_shader_compile
918 * QCOM extension tokens144#define GL_KHR_parallel_shader_compile 1
919 *------------------------------------------------------------------------*/145#define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
920 146#define GL_COMPLETION_STATUS_KHR 0x91B1
921/* GL_QCOM_alpha_test */147typedef void (GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC) (GLuint count);
922#ifndef GL_QCOM_alpha_test148#ifdef GL_GLEXT_PROTOTYPES
923#define GL_ALPHA_TEST_QCOM 0x0BC0149GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR (GLuint count);
924#define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1150#endif
925#define GL_ALPHA_TEST_REF_QCOM 0x0BC2151#endif /* GL_KHR_parallel_shader_compile */
926#endif152
153#ifndef GL_KHR_robust_buffer_access_behavior
154#define GL_KHR_robust_buffer_access_behavior 1
155#endif /* GL_KHR_robust_buffer_access_behavior */
156
157#ifndef GL_KHR_robustness
158#define GL_KHR_robustness 1
159#define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
160#define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
161#define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
162#define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
163#define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
164#define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
165#define GL_NO_RESET_NOTIFICATION_KHR 0x8261
166#define GL_CONTEXT_LOST_KHR 0x0507
167typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
168typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
169typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
170typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
171typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
172#ifdef GL_GLEXT_PROTOTYPES
173GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
174GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
175GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
176GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
177GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
178#endif
179#endif /* GL_KHR_robustness */
180
181#ifndef GL_KHR_shader_subgroup
182#define GL_KHR_shader_subgroup 1
183#define GL_SUBGROUP_SIZE_KHR 0x9532
184#define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
185#define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
186#define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
187#define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
188#define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
189#define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
190#define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
191#define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
192#define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
193#define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
194#define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
195#endif /* GL_KHR_shader_subgroup */
196
197#ifndef GL_KHR_texture_compression_astc_hdr
198#define GL_KHR_texture_compression_astc_hdr 1
199#define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
200#define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
201#define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
202#define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
203#define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
204#define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
205#define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
206#define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
207#define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
208#define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
209#define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
210#define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
211#define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
212#define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
213#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
214#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
215#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
216#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
217#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
218#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
219#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
220#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
221#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
222#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
223#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
224#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
225#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
226#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
227#endif /* GL_KHR_texture_compression_astc_hdr */
927 228
928/* GL_QCOM_binning_control */229#ifndef GL_KHR_texture_compression_astc_ldr
929#ifndef GL_QCOM_binning_control230#define GL_KHR_texture_compression_astc_ldr 1
930#define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0231#endif /* GL_KHR_texture_compression_astc_ldr */
931#define GL_CPU_OPTIMIZED_QCOM 0x8FB1
932#define GL_GPU_OPTIMIZED_QCOM 0x8FB2
933#define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
934#endif
935 232
936/* GL_QCOM_driver_control */233#ifndef GL_KHR_texture_compression_astc_sliced_3d
937/* No new tokens introduced by this extension. */234#define GL_KHR_texture_compression_astc_sliced_3d 1
235#endif /* GL_KHR_texture_compression_astc_sliced_3d */
938 236
939/* GL_QCOM_extended_get */237#ifndef GL_OES_EGL_image
940#ifndef GL_QCOM_extended_get238#define GL_OES_EGL_image 1
941#define GL_TEXTURE_WIDTH_QCOM 0x8BD2239typedef void *GLeglImageOES;
942#define GL_TEXTURE_HEIGHT_QCOM 0x8BD3240typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
943#define GL_TEXTURE_DEPTH_QCOM 0x8BD4241typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
944#define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5242#ifdef GL_GLEXT_PROTOTYPES
945#define GL_TEXTURE_FORMAT_QCOM 0x8BD6243GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
946#define GL_TEXTURE_TYPE_QCOM 0x8BD7244GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
947#define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
948#define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
949#define GL_TEXTURE_TARGET_QCOM 0x8BDA
950#define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
951#define GL_STATE_RESTORE 0x8BDC
952#endif
953
954/* GL_QCOM_extended_get2 */
955/* No new tokens introduced by this extension. */
956
957/* GL_QCOM_perfmon_global_mode */
958#ifndef GL_QCOM_perfmon_global_mode
959#define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
960#endif
961
962/* GL_QCOM_writeonly_rendering */
963#ifndef GL_QCOM_writeonly_rendering
964#define GL_WRITEONLY_RENDERING_QCOM 0x8823
965#endif245#endif
246#endif /* GL_OES_EGL_image */
966 247
967/* GL_QCOM_tiled_rendering */248#ifndef GL_OES_EGL_image_external
968#ifndef GL_QCOM_tiled_rendering249#define GL_OES_EGL_image_external 1
969#define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001250#define GL_TEXTURE_EXTERNAL_OES 0x8D65
970#define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002251#define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
971#define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004252#define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
972#define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008253#define GL_SAMPLER_EXTERNAL_OES 0x8D66
973#define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010254#endif /* GL_OES_EGL_image_external */
974#define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
975#define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
976#define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
977#define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
978#define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
979#define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
980#define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
981#define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
982#define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
983#define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
984#define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
985#define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
986#define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
987#define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
988#define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
989#define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
990#define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
991#define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
992#define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
993#define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
994#define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
995#define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
996#define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
997#define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
998#define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
999#define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
1000#define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
1001#endif
1002
1003/*------------------------------------------------------------------------*
1004 * VIV extension tokens
1005 *------------------------------------------------------------------------*/
1006
1007/* GL_VIV_shader_binary */
1008#ifndef GL_VIV_shader_binary
1009#define GL_SHADER_BINARY_VIV 0x8FC4
1010#endif
1011 255
1012/*------------------------------------------------------------------------*256#ifndef GL_OES_EGL_image_external_essl3
1013 * End of extension tokens, start of corresponding extension functions257#define GL_OES_EGL_image_external_essl3 1
1014 *------------------------------------------------------------------------*/258#endif /* GL_OES_EGL_image_external_essl3 */
1015 259
1016/*------------------------------------------------------------------------*260#ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
1017 * OES extension functions261#define GL_OES_compressed_ETC1_RGB8_sub_texture 1
1018 *------------------------------------------------------------------------*/262#endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
1019 263
1020/* GL_OES_compressed_ETC1_RGB8_texture */
1021#ifndef GL_OES_compressed_ETC1_RGB8_texture264#ifndef GL_OES_compressed_ETC1_RGB8_texture
1022#define GL_OES_compressed_ETC1_RGB8_texture 1265#define GL_OES_compressed_ETC1_RGB8_texture 1
1023#endif266#define GL_ETC1_RGB8_OES 0x8D64
267#endif /* GL_OES_compressed_ETC1_RGB8_texture */
1024 268
1025/* GL_OES_compressed_paletted_texture */
1026#ifndef GL_OES_compressed_paletted_texture269#ifndef GL_OES_compressed_paletted_texture
1027#define GL_OES_compressed_paletted_texture 1270#define GL_OES_compressed_paletted_texture 1
271#define GL_PALETTE4_RGB8_OES 0x8B90
272#define GL_PALETTE4_RGBA8_OES 0x8B91
273#define GL_PALETTE4_R5_G6_B5_OES 0x8B92
274#define GL_PALETTE4_RGBA4_OES 0x8B93
275#define GL_PALETTE4_RGB5_A1_OES 0x8B94
276#define GL_PALETTE8_RGB8_OES 0x8B95
277#define GL_PALETTE8_RGBA8_OES 0x8B96
278#define GL_PALETTE8_R5_G6_B5_OES 0x8B97
279#define GL_PALETTE8_RGBA4_OES 0x8B98
280#define GL_PALETTE8_RGB5_A1_OES 0x8B99
281#endif /* GL_OES_compressed_paletted_texture */
282
283#ifndef GL_OES_copy_image
284#define GL_OES_copy_image 1
285typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (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);
286#ifdef GL_GLEXT_PROTOTYPES
287GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (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);
1028#endif288#endif
289#endif /* GL_OES_copy_image */
1029 290
1030/* GL_OES_depth24 */
1031#ifndef GL_OES_depth24291#ifndef GL_OES_depth24
1032#define GL_OES_depth24 1292#define GL_OES_depth24 1
1033#endif293#define GL_DEPTH_COMPONENT24_OES 0x81A6
294#endif /* GL_OES_depth24 */
1034 295
1035/* GL_OES_depth32 */
1036#ifndef GL_OES_depth32296#ifndef GL_OES_depth32
1037#define GL_OES_depth32 1297#define GL_OES_depth32 1
1038#endif298#define GL_DEPTH_COMPONENT32_OES 0x81A7
299#endif /* GL_OES_depth32 */
1039 300
1040/* GL_OES_depth_texture */
1041#ifndef GL_OES_depth_texture301#ifndef GL_OES_depth_texture
1042#define GL_OES_depth_texture 1302#define GL_OES_depth_texture 1
1043#endif303#endif /* GL_OES_depth_texture */
1044 304
1045/* GL_OES_EGL_image */305#ifndef GL_OES_draw_buffers_indexed
1046#ifndef GL_OES_EGL_image306#define GL_OES_draw_buffers_indexed 1
1047#define GL_OES_EGL_image 1307#define GL_MIN 0x8007
308#define GL_MAX 0x8008
309typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
310typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
311typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
312typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
313typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
314typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
315typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
316typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
1048#ifdef GL_GLEXT_PROTOTYPES317#ifdef GL_GLEXT_PROTOTYPES
1049GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);318GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
1050GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);319GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
1051#endif320GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
1052typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);321GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1053typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);322GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
1054#endif323GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1055 324GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1056/* GL_OES_EGL_image_external */325GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
1057#ifndef GL_OES_EGL_image_external326#endif
1058#define GL_OES_EGL_image_external 1327#endif /* GL_OES_draw_buffers_indexed */
1059/* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */328
329#ifndef GL_OES_draw_elements_base_vertex
330#define GL_OES_draw_elements_base_vertex 1
331typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
332typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
333typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
334typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
335#ifdef GL_GLEXT_PROTOTYPES
336GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
337GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
338GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
339GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
1060#endif340#endif
341#endif /* GL_OES_draw_elements_base_vertex */
1061 342
1062/* GL_OES_element_index_uint */
1063#ifndef GL_OES_element_index_uint343#ifndef GL_OES_element_index_uint
1064#define GL_OES_element_index_uint 1344#define GL_OES_element_index_uint 1
1065#endif345#endif /* GL_OES_element_index_uint */
1066 346
1067/* GL_OES_fbo_render_mipmap */
1068#ifndef GL_OES_fbo_render_mipmap347#ifndef GL_OES_fbo_render_mipmap
1069#define GL_OES_fbo_render_mipmap 1348#define GL_OES_fbo_render_mipmap 1
1070#endif349#endif /* GL_OES_fbo_render_mipmap */
1071 350
1072/* GL_OES_fragment_precision_high */
1073#ifndef GL_OES_fragment_precision_high351#ifndef GL_OES_fragment_precision_high
1074#define GL_OES_fragment_precision_high 1352#define GL_OES_fragment_precision_high 1
353#endif /* GL_OES_fragment_precision_high */
354
355#ifndef GL_OES_geometry_point_size
356#define GL_OES_geometry_point_size 1
357#endif /* GL_OES_geometry_point_size */
358
359#ifndef GL_OES_geometry_shader
360#define GL_OES_geometry_shader 1
361#define GL_GEOMETRY_SHADER_OES 0x8DD9
362#define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
363#define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
364#define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
365#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
366#define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
367#define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
368#define GL_LINES_ADJACENCY_OES 0x000A
369#define GL_LINE_STRIP_ADJACENCY_OES 0x000B
370#define GL_TRIANGLES_ADJACENCY_OES 0x000C
371#define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
372#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
373#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
374#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
375#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
376#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
377#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
378#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
379#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
380#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
381#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
382#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
383#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
384#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
385#define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
386#define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
387#define GL_UNDEFINED_VERTEX_OES 0x8260
388#define GL_PRIMITIVES_GENERATED_OES 0x8C87
389#define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
390#define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
391#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
392#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
393#define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
394typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
395#ifdef GL_GLEXT_PROTOTYPES
396GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
1075#endif397#endif
398#endif /* GL_OES_geometry_shader */
1076 399
1077/* GL_OES_get_program_binary */
1078#ifndef GL_OES_get_program_binary400#ifndef GL_OES_get_program_binary
1079#define GL_OES_get_program_binary 1401#define GL_OES_get_program_binary 1
402#define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
403#define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
404#define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
405typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
406typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
1080#ifdef GL_GLEXT_PROTOTYPES407#ifdef GL_GLEXT_PROTOTYPES
1081GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);408GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
1082GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);409GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
1083#endif
1084typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
1085typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length);
1086#endif410#endif
411#endif /* GL_OES_get_program_binary */
412
413#ifndef GL_OES_gpu_shader5
414#define GL_OES_gpu_shader5 1
415#endif /* GL_OES_gpu_shader5 */
1087 416
1088/* GL_OES_mapbuffer */
1089#ifndef GL_OES_mapbuffer417#ifndef GL_OES_mapbuffer
1090#define GL_OES_mapbuffer 1418#define GL_OES_mapbuffer 1
419#define GL_WRITE_ONLY_OES 0x88B9
420#define GL_BUFFER_ACCESS_OES 0x88BB
421#define GL_BUFFER_MAPPED_OES 0x88BC
422#define GL_BUFFER_MAP_POINTER_OES 0x88BD
423typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
424typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
425typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
1091#ifdef GL_GLEXT_PROTOTYPES426#ifdef GL_GLEXT_PROTOTYPES
1092GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);427GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
1093GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);428GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
1094GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid **params);429GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
1095#endif
1096typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
1097typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
1098typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid **params);
1099#endif430#endif
431#endif /* GL_OES_mapbuffer */
1100 432
1101/* GL_OES_packed_depth_stencil */
1102#ifndef GL_OES_packed_depth_stencil433#ifndef GL_OES_packed_depth_stencil
1103#define GL_OES_packed_depth_stencil 1434#define GL_OES_packed_depth_stencil 1
435#define GL_DEPTH_STENCIL_OES 0x84F9
436#define GL_UNSIGNED_INT_24_8_OES 0x84FA
437#define GL_DEPTH24_STENCIL8_OES 0x88F0
438#endif /* GL_OES_packed_depth_stencil */
439
440#ifndef GL_OES_primitive_bounding_box
441#define GL_OES_primitive_bounding_box 1
442#define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
443typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
444#ifdef GL_GLEXT_PROTOTYPES
445GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1104#endif446#endif
447#endif /* GL_OES_primitive_bounding_box */
1105 448
1106/* GL_OES_required_internalformat */
1107#ifndef GL_OES_required_internalformat449#ifndef GL_OES_required_internalformat
1108#define GL_OES_required_internalformat 1450#define GL_OES_required_internalformat 1
1109#endif451#define GL_ALPHA8_OES 0x803C
452#define GL_DEPTH_COMPONENT16_OES 0x81A5
453#define GL_LUMINANCE4_ALPHA4_OES 0x8043
454#define GL_LUMINANCE8_ALPHA8_OES 0x8045
455#define GL_LUMINANCE8_OES 0x8040
456#define GL_RGBA4_OES 0x8056
457#define GL_RGB5_A1_OES 0x8057
458#define GL_RGB565_OES 0x8D62
459#define GL_RGB8_OES 0x8051
460#define GL_RGBA8_OES 0x8058
461#define GL_RGB10_EXT 0x8052
462#define GL_RGB10_A2_EXT 0x8059
463#endif /* GL_OES_required_internalformat */
1110 464
1111/* GL_OES_rgb8_rgba8 */
1112#ifndef GL_OES_rgb8_rgba8465#ifndef GL_OES_rgb8_rgba8
1113#define GL_OES_rgb8_rgba8 1466#define GL_OES_rgb8_rgba8 1
467#endif /* GL_OES_rgb8_rgba8 */
468
469#ifndef GL_OES_sample_shading
470#define GL_OES_sample_shading 1
471#define GL_SAMPLE_SHADING_OES 0x8C36
472#define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
473typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
474#ifdef GL_GLEXT_PROTOTYPES
475GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
1114#endif476#endif
477#endif /* GL_OES_sample_shading */
478
479#ifndef GL_OES_sample_variables
480#define GL_OES_sample_variables 1
481#endif /* GL_OES_sample_variables */
482
483#ifndef GL_OES_shader_image_atomic
484#define GL_OES_shader_image_atomic 1
485#endif /* GL_OES_shader_image_atomic */
486
487#ifndef GL_OES_shader_io_blocks
488#define GL_OES_shader_io_blocks 1
489#endif /* GL_OES_shader_io_blocks */
490
491#ifndef GL_OES_shader_multisample_interpolation
492#define GL_OES_shader_multisample_interpolation 1
493#define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
494#define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
495#define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
496#endif /* GL_OES_shader_multisample_interpolation */
1115 497
1116/* GL_OES_standard_derivatives */
1117#ifndef GL_OES_standard_derivatives498#ifndef GL_OES_standard_derivatives
1118#define GL_OES_standard_derivatives 1499#define GL_OES_standard_derivatives 1
1119#endif500#define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
501#endif /* GL_OES_standard_derivatives */
1120 502
1121/* GL_OES_stencil1 */
1122#ifndef GL_OES_stencil1503#ifndef GL_OES_stencil1
1123#define GL_OES_stencil1 1504#define GL_OES_stencil1 1
1124#endif505#define GL_STENCIL_INDEX1_OES 0x8D46
506#endif /* GL_OES_stencil1 */
1125 507
1126/* GL_OES_stencil4 */
1127#ifndef GL_OES_stencil4508#ifndef GL_OES_stencil4
1128#define GL_OES_stencil4 1509#define GL_OES_stencil4 1
1129#endif510#define GL_STENCIL_INDEX4_OES 0x8D47
511#endif /* GL_OES_stencil4 */
1130 512
1131#ifndef GL_OES_surfaceless_context513#ifndef GL_OES_surfaceless_context
1132#define GL_OES_surfaceless_context 1514#define GL_OES_surfaceless_context 1
515#define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
516#endif /* GL_OES_surfaceless_context */
517
518#ifndef GL_OES_tessellation_point_size
519#define GL_OES_tessellation_point_size 1
520#endif /* GL_OES_tessellation_point_size */
521
522#ifndef GL_OES_tessellation_shader
523#define GL_OES_tessellation_shader 1
524#define GL_PATCHES_OES 0x000E
525#define GL_PATCH_VERTICES_OES 0x8E72
526#define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
527#define GL_TESS_GEN_MODE_OES 0x8E76
528#define GL_TESS_GEN_SPACING_OES 0x8E77
529#define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
530#define GL_TESS_GEN_POINT_MODE_OES 0x8E79
531#define GL_ISOLINES_OES 0x8E7A
532#define GL_QUADS_OES 0x0007
533#define GL_FRACTIONAL_ODD_OES 0x8E7B
534#define GL_FRACTIONAL_EVEN_OES 0x8E7C
535#define GL_MAX_PATCH_VERTICES_OES 0x8E7D
536#define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
537#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
538#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
539#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
540#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
541#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
542#define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
543#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
544#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
545#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
546#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
547#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
548#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
549#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
550#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
551#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
552#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
553#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
554#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
555#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
556#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
557#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
558#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
559#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
560#define GL_IS_PER_PATCH_OES 0x92E7
561#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
562#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
563#define GL_TESS_CONTROL_SHADER_OES 0x8E88
564#define GL_TESS_EVALUATION_SHADER_OES 0x8E87
565#define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
566#define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
567typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
568#ifdef GL_GLEXT_PROTOTYPES
569GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
1133#endif570#endif
571#endif /* GL_OES_tessellation_shader */
1134 572
1135/* GL_OES_texture_3D */
1136#ifndef GL_OES_texture_3D573#ifndef GL_OES_texture_3D
1137#define GL_OES_texture_3D 1574#define GL_OES_texture_3D 1
575#define GL_TEXTURE_WRAP_R_OES 0x8072
576#define GL_TEXTURE_3D_OES 0x806F
577#define GL_TEXTURE_BINDING_3D_OES 0x806A
578#define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
579#define GL_SAMPLER_3D_OES 0x8B5F
580#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
581typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
582typedef 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 void *pixels);
583typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
584typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
585typedef 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 void *data);
586typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1138#ifdef GL_GLEXT_PROTOTYPES587#ifdef GL_GLEXT_PROTOTYPES
1139GL_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);588GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
1140GL_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);589GL_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 void *pixels);
1141GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);590GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
1142GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);591GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
1143GL_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);592GL_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 void *data);
1144GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);593GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
1145#endif594#endif
1146typedef 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);595#endif /* GL_OES_texture_3D */
1147typedef 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);596
1148typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);597#ifndef GL_OES_texture_border_clamp
1149typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid* data);598#define GL_OES_texture_border_clamp 1
1150typedef 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);599#define GL_TEXTURE_BORDER_COLOR_OES 0x1004
1151typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);600#define GL_CLAMP_TO_BORDER_OES 0x812D
1152#endif601typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
602typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
603typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
604typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
605typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
606typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
607typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
608typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
609#ifdef GL_GLEXT_PROTOTYPES
610GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
611GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
612GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
613GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
614GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
615GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
616GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
617GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
618#endif
619#endif /* GL_OES_texture_border_clamp */
620
621#ifndef GL_OES_texture_buffer
622#define GL_OES_texture_buffer 1
623#define GL_TEXTURE_BUFFER_OES 0x8C2A
624#define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
625#define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
626#define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
627#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
628#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
629#define GL_SAMPLER_BUFFER_OES 0x8DC2
630#define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
631#define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
632#define GL_IMAGE_BUFFER_OES 0x9051
633#define GL_INT_IMAGE_BUFFER_OES 0x905C
634#define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
635#define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
636#define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
637typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
638typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
639#ifdef GL_GLEXT_PROTOTYPES
640GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
641GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
642#endif
643#endif /* GL_OES_texture_buffer */
644
645#ifndef GL_OES_texture_compression_astc
646#define GL_OES_texture_compression_astc 1
647#define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
648#define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
649#define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
650#define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
651#define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
652#define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
653#define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
654#define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
655#define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
656#define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
657#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
658#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
659#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
660#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
661#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
662#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
663#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
664#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
665#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
666#define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
667#endif /* GL_OES_texture_compression_astc */
668
669#ifndef GL_OES_texture_cube_map_array
670#define GL_OES_texture_cube_map_array 1
671#define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
672#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
673#define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
674#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
675#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
676#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
677#define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
678#define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
679#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
680#endif /* GL_OES_texture_cube_map_array */
1153 681
1154/* GL_OES_texture_float */
1155#ifndef GL_OES_texture_float682#ifndef GL_OES_texture_float
1156#define GL_OES_texture_float 1683#define GL_OES_texture_float 1
1157#endif684#endif /* GL_OES_texture_float */
1158 685
1159/* GL_OES_texture_float_linear */
1160#ifndef GL_OES_texture_float_linear686#ifndef GL_OES_texture_float_linear
1161#define GL_OES_texture_float_linear 1687#define GL_OES_texture_float_linear 1
1162#endif688#endif /* GL_OES_texture_float_linear */
1163 689
1164/* GL_OES_texture_half_float */690#ifndef GL_OES_texture_half_float
1165#ifndef GL_OES_texture_half_float691#define GL_OES_texture_half_float 1
1166#define GL_OES_texture_half_float 1692#define GL_HALF_FLOAT_OES 0x8D61
1167#endif693#endif /* GL_OES_texture_half_float */
1168 694
1169/* GL_OES_texture_half_float_linear */695#ifndef GL_OES_texture_half_float_linear
1170#ifndef GL_OES_texture_half_float_linear696#define GL_OES_texture_half_float_linear 1
1171#define GL_OES_texture_half_float_linear 1697#endif /* GL_OES_texture_half_float_linear */
1172#endif698
1173 699#ifndef GL_OES_texture_npot
1174/* GL_OES_texture_npot */700#define GL_OES_texture_npot 1
1175#ifndef GL_OES_texture_npot701#endif /* GL_OES_texture_npot */
1176#define GL_OES_texture_npot 1702
1177#endif703#ifndef GL_OES_texture_stencil8
1178 704#define GL_OES_texture_stencil8 1
1179/* GL_OES_vertex_array_object */705#define GL_STENCIL_INDEX_OES 0x1901
1180#ifndef GL_OES_vertex_array_object706#define GL_STENCIL_INDEX8_OES 0x8D48
1181#define GL_OES_vertex_array_object 1707#endif /* GL_OES_texture_stencil8 */
1182#ifdef GL_GLEXT_PROTOTYPES708
1183GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);709#ifndef GL_OES_texture_storage_multisample_2d_array
1184GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);710#define GL_OES_texture_storage_multisample_2d_array 1
1185GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);711#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
1186GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);712#define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
1187#endif713#define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
1188typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);714#define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
1189typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);715#define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
1190typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);716typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1191typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);717#ifdef GL_GLEXT_PROTOTYPES
1192#endif718GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
1193 719#endif
1194/* GL_OES_vertex_half_float */720#endif /* GL_OES_texture_storage_multisample_2d_array */
1195#ifndef GL_OES_vertex_half_float721
1196#define GL_OES_vertex_half_float 1722#ifndef GL_OES_texture_view
1197#endif723#define GL_OES_texture_view 1
1198 724#define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
1199/* GL_OES_vertex_type_10_10_10_2 */725#define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
1200#ifndef GL_OES_vertex_type_10_10_10_2726#define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
1201#define GL_OES_vertex_type_10_10_10_2 1727#define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
1202#endif728#define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
1203 729typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
1204/*------------------------------------------------------------------------*730#ifdef GL_GLEXT_PROTOTYPES
1205 * KHR extension functions731GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
1206 *------------------------------------------------------------------------*/
1207
1208#ifndef GL_KHR_debug
1209#define GL_KHR_debug 1
1210#ifdef GL_GLEXT_PROTOTYPES
1211GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
1212GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
1213GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
1214GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
1215GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
1216GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
1217GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
1218GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
1219GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
1220GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
1221GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, GLvoid **params);
1222#endif
1223typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
1224typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
1225typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
1226typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
1227typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
1228typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
1229typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
1230typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
1231typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
1232typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
1233typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, GLvoid **params);
1234#endif732#endif
733#endif /* GL_OES_texture_view */
1235 734
1236#ifndef GL_KHR_texture_compression_astc_ldr735#ifndef GL_OES_vertex_array_object
1237#define GL_KHR_texture_compression_astc_ldr 1736#define GL_OES_vertex_array_object 1
737#define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
738typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
739typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
740typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
741typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
742#ifdef GL_GLEXT_PROTOTYPES
743GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
744GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
745GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
746GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
1238#endif747#endif
748#endif /* GL_OES_vertex_array_object */
1239 749
750#ifndef GL_OES_vertex_half_float
751#define GL_OES_vertex_half_float 1
752#endif /* GL_OES_vertex_half_float */
1240 753
1241/*------------------------------------------------------------------------*754#ifndef GL_OES_vertex_type_10_10_10_2
1242 * AMD extension functions755#define GL_OES_vertex_type_10_10_10_2 1
1243 *------------------------------------------------------------------------*/756#define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
757#define GL_INT_10_10_10_2_OES 0x8DF7
758#endif /* GL_OES_vertex_type_10_10_10_2 */
759
760#ifndef GL_OES_viewport_array
761#define GL_OES_viewport_array 1
762#define GL_MAX_VIEWPORTS_OES 0x825B
763#define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C
764#define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D
765#define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F
766typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
767typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
768typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v);
769typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v);
770typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
771typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v);
772typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
773typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f);
774typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data);
775#ifdef GL_GLEXT_PROTOTYPES
776GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v);
777GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
778GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v);
779GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v);
780GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
781GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v);
782GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v);
783GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f);
784GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data);
785#endif
786#endif /* GL_OES_viewport_array */
1244 787
1245/* GL_AMD_compressed_3DC_texture */
1246#ifndef GL_AMD_compressed_3DC_texture788#ifndef GL_AMD_compressed_3DC_texture
1247#define GL_AMD_compressed_3DC_texture 1789#define GL_AMD_compressed_3DC_texture 1
1248#endif790#define GL_3DC_X_AMD 0x87F9
791#define GL_3DC_XY_AMD 0x87FA
792#endif /* GL_AMD_compressed_3DC_texture */
1249 793
1250/* GL_AMD_compressed_ATC_texture */
1251#ifndef GL_AMD_compressed_ATC_texture794#ifndef GL_AMD_compressed_ATC_texture
1252#define GL_AMD_compressed_ATC_texture 1795#define GL_AMD_compressed_ATC_texture 1
796#define GL_ATC_RGB_AMD 0x8C92
797#define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
798#define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
799#endif /* GL_AMD_compressed_ATC_texture */
800
801#ifndef GL_AMD_framebuffer_multisample_advanced
802#define GL_AMD_framebuffer_multisample_advanced 1
803#define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
804#define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
805#define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
806#define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
807#define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
808#define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
809typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
810typedef void (GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC) (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
811#ifdef GL_GLEXT_PROTOTYPES
812GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAdvancedAMD (GLenum target, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
813GL_APICALL void GL_APIENTRY glNamedRenderbufferStorageMultisampleAdvancedAMD (GLuint renderbuffer, GLsizei samples, GLsizei storageSamples, GLenum internalformat, GLsizei width, GLsizei height);
1253#endif814#endif
815#endif /* GL_AMD_framebuffer_multisample_advanced */
1254 816
1255/* AMD_performance_monitor */
1256#ifndef GL_AMD_performance_monitor817#ifndef GL_AMD_performance_monitor
1257#define GL_AMD_performance_monitor 1818#define GL_AMD_performance_monitor 1
819#define GL_COUNTER_TYPE_AMD 0x8BC0
820#define GL_COUNTER_RANGE_AMD 0x8BC1
821#define GL_UNSIGNED_INT64_AMD 0x8BC2
822#define GL_PERCENTAGE_AMD 0x8BC3
823#define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
824#define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
825#define GL_PERFMON_RESULT_AMD 0x8BC6
826typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
827typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
828typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
829typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
830typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
831typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
832typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
833typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
834typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
835typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
836typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
1258#ifdef GL_GLEXT_PROTOTYPES837#ifdef GL_GLEXT_PROTOTYPES
1259GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);838GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
1260GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);839GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
1261GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);840GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
1262GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);841GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
1263GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);842GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
1264GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);843GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
1265GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);844GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
1266GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);845GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
1267GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);846GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
1268GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);847GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
1269GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);848GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
1270#endif849#endif
1271typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);850#endif /* GL_AMD_performance_monitor */
1272typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
1273typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
1274typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
1275typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
1276typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
1277typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
1278typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList);
1279typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
1280typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
1281typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
1282#endif
1283 851
1284/* GL_AMD_program_binary_Z400 */
1285#ifndef GL_AMD_program_binary_Z400852#ifndef GL_AMD_program_binary_Z400
1286#define GL_AMD_program_binary_Z400 1853#define GL_AMD_program_binary_Z400 1
1287#endif854#define GL_Z400_BINARY_AMD 0x8740
855#endif /* GL_AMD_program_binary_Z400 */
1288 856
1289/*------------------------------------------------------------------------*857#ifndef GL_ANDROID_extension_pack_es31a
1290 * ANGLE extension functions858#define GL_ANDROID_extension_pack_es31a 1
1291 *------------------------------------------------------------------------*/859#endif /* GL_ANDROID_extension_pack_es31a */
1292 860
1293/* GL_ANGLE_depth_texture */
1294#ifndef GL_ANGLE_depth_texture861#ifndef GL_ANGLE_depth_texture
1295#define GL_ANGLE_depth_texture 1862#define GL_ANGLE_depth_texture 1
1296#endif863#endif /* GL_ANGLE_depth_texture */
1297 864
1298/* GL_ANGLE_framebuffer_blit */
1299#ifndef GL_ANGLE_framebuffer_blit865#ifndef GL_ANGLE_framebuffer_blit
1300#define GL_ANGLE_framebuffer_blit 1866#define GL_ANGLE_framebuffer_blit 1
867#define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
868#define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
869#define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
870#define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
871typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1301#ifdef GL_GLEXT_PROTOTYPES872#ifdef GL_GLEXT_PROTOTYPES
1302GL_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);873GL_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);
1303#endif874#endif
1304typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);875#endif /* GL_ANGLE_framebuffer_blit */
1305#endif
1306 876
1307/* GL_ANGLE_framebuffer_multisample */
1308#ifndef GL_ANGLE_framebuffer_multisample877#ifndef GL_ANGLE_framebuffer_multisample
1309#define GL_ANGLE_framebuffer_multisample 1878#define GL_ANGLE_framebuffer_multisample 1
879#define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
880#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
881#define GL_MAX_SAMPLES_ANGLE 0x8D57
882typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1310#ifdef GL_GLEXT_PROTOTYPES883#ifdef GL_GLEXT_PROTOTYPES
1311GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);884GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1312#endif885#endif
1313typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);886#endif /* GL_ANGLE_framebuffer_multisample */
1314#endif
1315 887
1316#ifndef GL_ANGLE_instanced_arrays888#ifndef GL_ANGLE_instanced_arrays
1317#define GL_ANGLE_instanced_arrays 1889#define GL_ANGLE_instanced_arrays 1
890#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
891typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
892typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
893typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
1318#ifdef GL_GLEXT_PROTOTYPES894#ifdef GL_GLEXT_PROTOTYPES
1319GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);895GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1320GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);896GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1321GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);897GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
1322#endif898#endif
1323typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);899#endif /* GL_ANGLE_instanced_arrays */
1324typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1325typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
1326#endif
1327 900
1328/* GL_ANGLE_pack_reverse_row_order */
1329#ifndef GL_ANGLE_pack_reverse_row_order901#ifndef GL_ANGLE_pack_reverse_row_order
1330#define GL_ANGLE_pack_reverse_row_order 1902#define GL_ANGLE_pack_reverse_row_order 1
1331#endif903#define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
904#endif /* GL_ANGLE_pack_reverse_row_order */
1332 905
1333/* GL_ANGLE_program_binary */
1334#ifndef GL_ANGLE_program_binary906#ifndef GL_ANGLE_program_binary
1335#define GL_ANGLE_program_binary 1907#define GL_ANGLE_program_binary 1
1336#endif908#define GL_PROGRAM_BINARY_ANGLE 0x93A6
909#endif /* GL_ANGLE_program_binary */
1337 910
1338/* GL_ANGLE_texture_compression_dxt3 */
1339#ifndef GL_ANGLE_texture_compression_dxt3911#ifndef GL_ANGLE_texture_compression_dxt3
1340#define GL_ANGLE_texture_compression_dxt3 1912#define GL_ANGLE_texture_compression_dxt3 1
1341#endif913#define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
914#endif /* GL_ANGLE_texture_compression_dxt3 */
1342 915
1343/* GL_ANGLE_texture_compression_dxt5 */
1344#ifndef GL_ANGLE_texture_compression_dxt5916#ifndef GL_ANGLE_texture_compression_dxt5
1345#define GL_ANGLE_texture_compression_dxt5 1917#define GL_ANGLE_texture_compression_dxt5 1
1346#endif918#define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
919#endif /* GL_ANGLE_texture_compression_dxt5 */
1347 920
1348/* GL_ANGLE_texture_usage */
1349#ifndef GL_ANGLE_texture_usage921#ifndef GL_ANGLE_texture_usage
1350#define GL_ANGLE_texture_usage 1922#define GL_ANGLE_texture_usage 1
1351#endif923#define GL_TEXTURE_USAGE_ANGLE 0x93A2
924#define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
925#endif /* GL_ANGLE_texture_usage */
1352 926
1353#ifndef GL_ANGLE_translated_shader_source927#ifndef GL_ANGLE_translated_shader_source
1354#define GL_ANGLE_translated_shader_source 1928#define GL_ANGLE_translated_shader_source 1
929#define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
930typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
1355#ifdef GL_GLEXT_PROTOTYPES931#ifdef GL_GLEXT_PROTOTYPES
1356GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);932GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
1357#endif933#endif
1358typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);934#endif /* GL_ANGLE_translated_shader_source */
1359#endif935
1360 936#ifndef GL_APPLE_clip_distance
1361/*------------------------------------------------------------------------*937#define GL_APPLE_clip_distance 1
1362 * APPLE extension functions938#define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
1363 *------------------------------------------------------------------------*/939#define GL_CLIP_DISTANCE0_APPLE 0x3000
940#define GL_CLIP_DISTANCE1_APPLE 0x3001
941#define GL_CLIP_DISTANCE2_APPLE 0x3002
942#define GL_CLIP_DISTANCE3_APPLE 0x3003
943#define GL_CLIP_DISTANCE4_APPLE 0x3004
944#define GL_CLIP_DISTANCE5_APPLE 0x3005
945#define GL_CLIP_DISTANCE6_APPLE 0x3006
946#define GL_CLIP_DISTANCE7_APPLE 0x3007
947#endif /* GL_APPLE_clip_distance */
948
949#ifndef GL_APPLE_color_buffer_packed_float
950#define GL_APPLE_color_buffer_packed_float 1
951#endif /* GL_APPLE_color_buffer_packed_float */
1364 952
1365/* GL_APPLE_copy_texture_levels */
1366#ifndef GL_APPLE_copy_texture_levels953#ifndef GL_APPLE_copy_texture_levels
1367#define GL_APPLE_copy_texture_levels 1954#define GL_APPLE_copy_texture_levels 1
955typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
1368#ifdef GL_GLEXT_PROTOTYPES956#ifdef GL_GLEXT_PROTOTYPES
1369GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);957GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
1370#endif958#endif
1371typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);959#endif /* GL_APPLE_copy_texture_levels */
1372#endif
1373 960
1374/* GL_APPLE_framebuffer_multisample */
1375#ifndef GL_APPLE_framebuffer_multisample961#ifndef GL_APPLE_framebuffer_multisample
1376#define GL_APPLE_framebuffer_multisample 1962#define GL_APPLE_framebuffer_multisample 1
963#define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
964#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
965#define GL_MAX_SAMPLES_APPLE 0x8D57
966#define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
967#define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
968#define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
969#define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
970typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
971typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
1377#ifdef GL_GLEXT_PROTOTYPES972#ifdef GL_GLEXT_PROTOTYPES
1378GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);973GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1379GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);974GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
1380#endif /* GL_GLEXT_PROTOTYPES */
1381typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1382typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
1383#endif975#endif
976#endif /* GL_APPLE_framebuffer_multisample */
1384 977
1385/* GL_APPLE_rgb_422 */
1386#ifndef GL_APPLE_rgb_422978#ifndef GL_APPLE_rgb_422
1387#define GL_APPLE_rgb_422 1979#define GL_APPLE_rgb_422 1
1388#endif980#define GL_RGB_422_APPLE 0x8A1F
981#define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
982#define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
983#define GL_RGB_RAW_422_APPLE 0x8A51
984#endif /* GL_APPLE_rgb_422 */
1389 985
1390/* GL_APPLE_sync */
1391#ifndef GL_APPLE_sync986#ifndef GL_APPLE_sync
1392#define GL_APPLE_sync 1987#define GL_APPLE_sync 1
988#define GL_SYNC_OBJECT_APPLE 0x8A53
989#define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
990#define GL_OBJECT_TYPE_APPLE 0x9112
991#define GL_SYNC_CONDITION_APPLE 0x9113
992#define GL_SYNC_STATUS_APPLE 0x9114
993#define GL_SYNC_FLAGS_APPLE 0x9115
994#define GL_SYNC_FENCE_APPLE 0x9116
995#define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
996#define GL_UNSIGNALED_APPLE 0x9118
997#define GL_SIGNALED_APPLE 0x9119
998#define GL_ALREADY_SIGNALED_APPLE 0x911A
999#define GL_TIMEOUT_EXPIRED_APPLE 0x911B
1000#define GL_CONDITION_SATISFIED_APPLE 0x911C
1001#define GL_WAIT_FAILED_APPLE 0x911D
1002#define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
1003#define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
1004typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
1005typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
1006typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
1007typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1008typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1009typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
1010typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1393#ifdef GL_GLEXT_PROTOTYPES1011#ifdef GL_GLEXT_PROTOTYPES
1394GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);1012GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
1395GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);1013GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
@@ -1397,95 +1015,283 @@ GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); · 1 unmodified line
1397GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);1015GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1398GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);1016GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
1399GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);1017GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
1400GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);1018GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei count, GLsizei *length, GLint *values);
1401#endif
1402typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
1403typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
1404typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
1405typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1406typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
1407typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
1408typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
1409#endif1019#endif
1020#endif /* GL_APPLE_sync */
1410 1021
1411/* GL_APPLE_texture_format_BGRA8888 */
1412#ifndef GL_APPLE_texture_format_BGRA88881022#ifndef GL_APPLE_texture_format_BGRA8888
1413#define GL_APPLE_texture_format_BGRA8888 11023#define GL_APPLE_texture_format_BGRA8888 1
1414#endif1024#define GL_BGRA_EXT 0x80E1
1025#define GL_BGRA8_EXT 0x93A1
1026#endif /* GL_APPLE_texture_format_BGRA8888 */
1415 1027
1416/* GL_APPLE_texture_max_level */
1417#ifndef GL_APPLE_texture_max_level1028#ifndef GL_APPLE_texture_max_level
1418#define GL_APPLE_texture_max_level 11029#define GL_APPLE_texture_max_level 1
1419#endif1030#define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
1031#endif /* GL_APPLE_texture_max_level */
1420 1032
1421/*------------------------------------------------------------------------*1033#ifndef GL_APPLE_texture_packed_float
1422 * ARM extension functions1034#define GL_APPLE_texture_packed_float 1
1423 *------------------------------------------------------------------------*/1035#define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
1036#define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
1037#define GL_R11F_G11F_B10F_APPLE 0x8C3A
1038#define GL_RGB9_E5_APPLE 0x8C3D
1039#endif /* GL_APPLE_texture_packed_float */
1424 1040
1425/* GL_ARM_mali_program_binary */
1426#ifndef GL_ARM_mali_program_binary1041#ifndef GL_ARM_mali_program_binary
1427#define GL_ARM_mali_program_binary 11042#define GL_ARM_mali_program_binary 1
1428#endif1043#define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
1044#endif /* GL_ARM_mali_program_binary */
1429 1045
1430/* GL_ARM_mali_shader_binary */
1431#ifndef GL_ARM_mali_shader_binary1046#ifndef GL_ARM_mali_shader_binary
1432#define GL_ARM_mali_shader_binary 11047#define GL_ARM_mali_shader_binary 1
1433#endif1048#define GL_MALI_SHADER_BINARY_ARM 0x8F60
1049#endif /* GL_ARM_mali_shader_binary */
1434 1050
1435/* GL_ARM_rgba8 */
1436#ifndef GL_ARM_rgba81051#ifndef GL_ARM_rgba8
1437#define GL_ARM_rgba8 11052#define GL_ARM_rgba8 1
1438#endif1053#endif /* GL_ARM_rgba8 */
1054
1055#ifndef GL_ARM_shader_framebuffer_fetch
1056#define GL_ARM_shader_framebuffer_fetch 1
1057#define GL_FETCH_PER_SAMPLE_ARM 0x8F65
1058#define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
1059#endif /* GL_ARM_shader_framebuffer_fetch */
1060
1061#ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
1062#define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
1063#endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
1064
1065#ifndef GL_ARM_texture_unnormalized_coordinates
1066#define GL_ARM_texture_unnormalized_coordinates 1
1067#define GL_TEXTURE_UNNORMALIZED_COORDINATES_ARM 0x8F6A
1068#endif /* GL_ARM_texture_unnormalized_coordinates */
1069
1070#ifndef GL_DMP_program_binary
1071#define GL_DMP_program_binary 1
1072#define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
1073#define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
1074#define GL_DMP_PROGRAM_BINARY_DMP 0x9253
1075#endif /* GL_DMP_program_binary */
1076
1077#ifndef GL_DMP_shader_binary
1078#define GL_DMP_shader_binary 1
1079#define GL_SHADER_BINARY_DMP 0x9250
1080#endif /* GL_DMP_shader_binary */
1081
1082#ifndef GL_EXT_EGL_image_array
1083#define GL_EXT_EGL_image_array 1
1084#endif /* GL_EXT_EGL_image_array */
1439 1085
1440/*------------------------------------------------------------------------*1086#ifndef GL_EXT_EGL_image_storage
1441 * EXT extension functions1087#define GL_EXT_EGL_image_storage 1
1442 *------------------------------------------------------------------------*/1088typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC) (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1089typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC) (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1090#ifdef GL_GLEXT_PROTOTYPES
1091GL_APICALL void GL_APIENTRY glEGLImageTargetTexStorageEXT (GLenum target, GLeglImageOES image, const GLint* attrib_list);
1092GL_APICALL void GL_APIENTRY glEGLImageTargetTextureStorageEXT (GLuint texture, GLeglImageOES image, const GLint* attrib_list);
1093#endif
1094#endif /* GL_EXT_EGL_image_storage */
1095
1096#ifndef GL_EXT_EGL_image_storage_compression
1097#define GL_EXT_EGL_image_storage_compression 1
1098#define GL_SURFACE_COMPRESSION_EXT 0x96C0
1099#define GL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT 0x96C1
1100#define GL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT 0x96C2
1101#endif /* GL_EXT_EGL_image_storage_compression */
1102
1103#ifndef GL_EXT_YUV_target
1104#define GL_EXT_YUV_target 1
1105#define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
1106#endif /* GL_EXT_YUV_target */
1107
1108#ifndef GL_EXT_base_instance
1109#define GL_EXT_base_instance 1
1110typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1111typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1112typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1113#ifdef GL_GLEXT_PROTOTYPES
1114GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
1115GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
1116GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
1117#endif
1118#endif /* GL_EXT_base_instance */
1119
1120#ifndef GL_EXT_blend_func_extended
1121#define GL_EXT_blend_func_extended 1
1122#define GL_SRC1_COLOR_EXT 0x88F9
1123#define GL_SRC1_ALPHA_EXT 0x8589
1124#define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
1125#define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
1126#define GL_SRC_ALPHA_SATURATE_EXT 0x0308
1127#define GL_LOCATION_INDEX_EXT 0x930F
1128#define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
1129typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1130typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
1131typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
1132typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
1133#ifdef GL_GLEXT_PROTOTYPES
1134GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
1135GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
1136GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
1137GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
1138#endif
1139#endif /* GL_EXT_blend_func_extended */
1443 1140
1444/* GL_EXT_blend_minmax */
1445#ifndef GL_EXT_blend_minmax1141#ifndef GL_EXT_blend_minmax
1446#define GL_EXT_blend_minmax 11142#define GL_EXT_blend_minmax 1
1143#define GL_MIN_EXT 0x8007
1144#define GL_MAX_EXT 0x8008
1145#endif /* GL_EXT_blend_minmax */
1146
1147#ifndef GL_EXT_buffer_storage
1148#define GL_EXT_buffer_storage 1
1149#define GL_MAP_READ_BIT 0x0001
1150#define GL_MAP_WRITE_BIT 0x0002
1151#define GL_MAP_PERSISTENT_BIT_EXT 0x0040
1152#define GL_MAP_COHERENT_BIT_EXT 0x0080
1153#define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
1154#define GL_CLIENT_STORAGE_BIT_EXT 0x0200
1155#define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
1156#define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
1157#define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
1158typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1159#ifdef GL_GLEXT_PROTOTYPES
1160GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
1447#endif1161#endif
1162#endif /* GL_EXT_buffer_storage */
1163
1164#ifndef GL_EXT_clear_texture
1165#define GL_EXT_clear_texture 1
1166typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1167typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1168#ifdef GL_GLEXT_PROTOTYPES
1169GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
1170GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
1171#endif
1172#endif /* GL_EXT_clear_texture */
1173
1174#ifndef GL_EXT_clip_control
1175#define GL_EXT_clip_control 1
1176#define GL_LOWER_LEFT_EXT 0x8CA1
1177#define GL_UPPER_LEFT_EXT 0x8CA2
1178#define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
1179#define GL_ZERO_TO_ONE_EXT 0x935F
1180#define GL_CLIP_ORIGIN_EXT 0x935C
1181#define GL_CLIP_DEPTH_MODE_EXT 0x935D
1182typedef void (GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC) (GLenum origin, GLenum depth);
1183#ifdef GL_GLEXT_PROTOTYPES
1184GL_APICALL void GL_APIENTRY glClipControlEXT (GLenum origin, GLenum depth);
1185#endif
1186#endif /* GL_EXT_clip_control */
1187
1188#ifndef GL_EXT_clip_cull_distance
1189#define GL_EXT_clip_cull_distance 1
1190#define GL_MAX_CLIP_DISTANCES_EXT 0x0D32
1191#define GL_MAX_CULL_DISTANCES_EXT 0x82F9
1192#define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA
1193#define GL_CLIP_DISTANCE0_EXT 0x3000
1194#define GL_CLIP_DISTANCE1_EXT 0x3001
1195#define GL_CLIP_DISTANCE2_EXT 0x3002
1196#define GL_CLIP_DISTANCE3_EXT 0x3003
1197#define GL_CLIP_DISTANCE4_EXT 0x3004
1198#define GL_CLIP_DISTANCE5_EXT 0x3005
1199#define GL_CLIP_DISTANCE6_EXT 0x3006
1200#define GL_CLIP_DISTANCE7_EXT 0x3007
1201#endif /* GL_EXT_clip_cull_distance */
1202
1203#ifndef GL_EXT_color_buffer_float
1204#define GL_EXT_color_buffer_float 1
1205#endif /* GL_EXT_color_buffer_float */
1448 1206
1449/* GL_EXT_color_buffer_half_float */
1450#ifndef GL_EXT_color_buffer_half_float1207#ifndef GL_EXT_color_buffer_half_float
1451#define GL_EXT_color_buffer_half_float 11208#define GL_EXT_color_buffer_half_float 1
1209#define GL_RGBA16F_EXT 0x881A
1210#define GL_RGB16F_EXT 0x881B
1211#define GL_RG16F_EXT 0x822F
1212#define GL_R16F_EXT 0x822D
1213#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
1214#define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
1215#endif /* GL_EXT_color_buffer_half_float */
1216
1217#ifndef GL_EXT_conservative_depth
1218#define GL_EXT_conservative_depth 1
1219#endif /* GL_EXT_conservative_depth */
1220
1221#ifndef GL_EXT_copy_image
1222#define GL_EXT_copy_image 1
1223typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (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);
1224#ifdef GL_GLEXT_PROTOTYPES
1225GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (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);
1452#endif1226#endif
1227#endif /* GL_EXT_copy_image */
1453 1228
1454/* GL_EXT_debug_label */
1455#ifndef GL_EXT_debug_label1229#ifndef GL_EXT_debug_label
1456#define GL_EXT_debug_label 11230#define GL_EXT_debug_label 1
1231#define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
1232#define GL_PROGRAM_OBJECT_EXT 0x8B40
1233#define GL_SHADER_OBJECT_EXT 0x8B48
1234#define GL_BUFFER_OBJECT_EXT 0x9151
1235#define GL_QUERY_OBJECT_EXT 0x9153
1236#define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
1237#define GL_TRANSFORM_FEEDBACK 0x8E22
1238typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1239typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1457#ifdef GL_GLEXT_PROTOTYPES1240#ifdef GL_GLEXT_PROTOTYPES
1458GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);1241GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
1459GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);1242GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1460#endif1243#endif
1461typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);1244#endif /* GL_EXT_debug_label */
1462typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
1463#endif
1464 1245
1465/* GL_EXT_debug_marker */
1466#ifndef GL_EXT_debug_marker1246#ifndef GL_EXT_debug_marker
1467#define GL_EXT_debug_marker 11247#define GL_EXT_debug_marker 1
1248typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1249typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1250typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
1468#ifdef GL_GLEXT_PROTOTYPES1251#ifdef GL_GLEXT_PROTOTYPES
1469GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);1252GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1470GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);1253GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
1471GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);1254GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
1472#endif1255#endif
1473typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);1256#endif /* GL_EXT_debug_marker */
1474typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);1257
1475typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);1258#ifndef GL_EXT_depth_clamp
1476#endif1259#define GL_EXT_depth_clamp 1
1260#define GL_DEPTH_CLAMP_EXT 0x864F
1261#endif /* GL_EXT_depth_clamp */
1477 1262
1478/* GL_EXT_discard_framebuffer */
1479#ifndef GL_EXT_discard_framebuffer1263#ifndef GL_EXT_discard_framebuffer
1480#define GL_EXT_discard_framebuffer 11264#define GL_EXT_discard_framebuffer 1
1265#define GL_COLOR_EXT 0x1800
1266#define GL_DEPTH_EXT 0x1801
1267#define GL_STENCIL_EXT 0x1802
1268typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1481#ifdef GL_GLEXT_PROTOTYPES1269#ifdef GL_GLEXT_PROTOTYPES
1482GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);1270GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
1483#endif1271#endif
1484typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);1272#endif /* GL_EXT_discard_framebuffer */
1485#endif
1486 1273
1487#ifndef GL_EXT_disjoint_timer_query1274#ifndef GL_EXT_disjoint_timer_query
1488#define GL_EXT_disjoint_timer_query 11275#define GL_EXT_disjoint_timer_query 1
1276#define GL_QUERY_COUNTER_BITS_EXT 0x8864
1277#define GL_CURRENT_QUERY_EXT 0x8865
1278#define GL_QUERY_RESULT_EXT 0x8866
1279#define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
1280#define GL_TIME_ELAPSED_EXT 0x88BF
1281#define GL_TIMESTAMP_EXT 0x8E28
1282#define GL_GPU_DISJOINT_EXT 0x8FBB
1283typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1284typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
1285typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1286typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1287typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1288typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1289typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1290typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
1291typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
1292typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
1293typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
1294typedef void (GL_APIENTRYP PFNGLGETINTEGER64VEXTPROC) (GLenum pname, GLint64 *data);
1489#ifdef GL_GLEXT_PROTOTYPES1295#ifdef GL_GLEXT_PROTOTYPES
1490GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);1296GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
1491GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);1297GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
@@ -1498,209 +1304,991 @@ GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLin · 6 unmodified lines
1498GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);1304GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
1499GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);1305GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
1500GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);1306GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
1307GL_APICALL void GL_APIENTRY glGetInteger64vEXT (GLenum pname, GLint64 *data);
1501#endif1308#endif
1502typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
1503typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
1504typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
1505typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
1506typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
1507typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
1508typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
1509typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
1510typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
1511typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
1512typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
1513#endif /* GL_EXT_disjoint_timer_query */1309#endif /* GL_EXT_disjoint_timer_query */
1514 1310
1515#ifndef GL_EXT_draw_buffers1311#ifndef GL_EXT_draw_buffers
1516#define GL_EXT_draw_buffers 11312#define GL_EXT_draw_buffers 1
1313#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1314#define GL_MAX_DRAW_BUFFERS_EXT 0x8824
1315#define GL_DRAW_BUFFER0_EXT 0x8825
1316#define GL_DRAW_BUFFER1_EXT 0x8826
1317#define GL_DRAW_BUFFER2_EXT 0x8827
1318#define GL_DRAW_BUFFER3_EXT 0x8828
1319#define GL_DRAW_BUFFER4_EXT 0x8829
1320#define GL_DRAW_BUFFER5_EXT 0x882A
1321#define GL_DRAW_BUFFER6_EXT 0x882B
1322#define GL_DRAW_BUFFER7_EXT 0x882C
1323#define GL_DRAW_BUFFER8_EXT 0x882D
1324#define GL_DRAW_BUFFER9_EXT 0x882E
1325#define GL_DRAW_BUFFER10_EXT 0x882F
1326#define GL_DRAW_BUFFER11_EXT 0x8830
1327#define GL_DRAW_BUFFER12_EXT 0x8831
1328#define GL_DRAW_BUFFER13_EXT 0x8832
1329#define GL_DRAW_BUFFER14_EXT 0x8833
1330#define GL_DRAW_BUFFER15_EXT 0x8834
1331#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1332#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1333#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1334#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1335#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1336#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1337#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1338#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1339#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1340#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1341#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1342#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1343#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1344#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1345#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1346#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1347typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1517#ifdef GL_GLEXT_PROTOTYPES1348#ifdef GL_GLEXT_PROTOTYPES
1518GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);1349GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
1519#endif1350#endif
1520typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
1521#endif /* GL_EXT_draw_buffers */1351#endif /* GL_EXT_draw_buffers */
1522 1352
1523/* GL_EXT_map_buffer_range */1353#ifndef GL_EXT_draw_buffers_indexed
1354#define GL_EXT_draw_buffers_indexed 1
1355typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
1356typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
1357typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
1358typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1359typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
1360typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1361typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1362typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
1363#ifdef GL_GLEXT_PROTOTYPES
1364GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
1365GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
1366GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
1367GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
1368GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
1369GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
1370GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
1371GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
1372#endif
1373#endif /* GL_EXT_draw_buffers_indexed */
1374
1375#ifndef GL_EXT_draw_elements_base_vertex
1376#define GL_EXT_draw_elements_base_vertex 1
1377typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1378typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1379typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1380#ifdef GL_GLEXT_PROTOTYPES
1381GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1382GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
1383GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
1384#endif
1385#endif /* GL_EXT_draw_elements_base_vertex */
1386
1387#ifndef GL_EXT_draw_instanced
1388#define GL_EXT_draw_instanced 1
1389typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1390typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1391#ifdef GL_GLEXT_PROTOTYPES
1392GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
1393GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1394#endif
1395#endif /* GL_EXT_draw_instanced */
1396
1397#ifndef GL_EXT_draw_transform_feedback
1398#define GL_EXT_draw_transform_feedback 1
1399typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id);
1400typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount);
1401#ifdef GL_GLEXT_PROTOTYPES
1402GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id);
1403GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount);
1404#endif
1405#endif /* GL_EXT_draw_transform_feedback */
1406
1407#ifndef GL_EXT_external_buffer
1408#define GL_EXT_external_buffer 1
1409typedef void *GLeglClientBufferEXT;
1410typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1411typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1412#ifdef GL_GLEXT_PROTOTYPES
1413GL_APICALL void GL_APIENTRY glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1414GL_APICALL void GL_APIENTRY glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags);
1415#endif
1416#endif /* GL_EXT_external_buffer */
1417
1418#ifndef GL_EXT_float_blend
1419#define GL_EXT_float_blend 1
1420#endif /* GL_EXT_float_blend */
1421
1422#ifndef GL_EXT_fragment_shading_rate
1423#define GL_EXT_fragment_shading_rate 1
1424#define GL_SHADING_RATE_1X1_PIXELS_EXT 0x96A6
1425#define GL_SHADING_RATE_1X2_PIXELS_EXT 0x96A7
1426#define GL_SHADING_RATE_2X1_PIXELS_EXT 0x96A8
1427#define GL_SHADING_RATE_2X2_PIXELS_EXT 0x96A9
1428#define GL_SHADING_RATE_1X4_PIXELS_EXT 0x96AA
1429#define GL_SHADING_RATE_4X1_PIXELS_EXT 0x96AB
1430#define GL_SHADING_RATE_4X2_PIXELS_EXT 0x96AC
1431#define GL_SHADING_RATE_2X4_PIXELS_EXT 0x96AD
1432#define GL_SHADING_RATE_4X4_PIXELS_EXT 0x96AE
1433#define GL_SHADING_RATE_EXT 0x96D0
1434#define GL_SHADING_RATE_ATTACHMENT_EXT 0x96D1
1435#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_KEEP_EXT 0x96D2
1436#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_REPLACE_EXT 0x96D3
1437#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MIN_EXT 0x96D4
1438#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MAX_EXT 0x96D5
1439#define GL_FRAGMENT_SHADING_RATE_COMBINER_OP_MUL_EXT 0x96D6
1440#define GL_MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT 0x96D7
1441#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_WIDTH_EXT 0x96D8
1442#define GL_MIN_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT 0x96D9
1443#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_HEIGHT_EXT 0x96DA
1444#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_TEXEL_ASPECT_RATIO_EXT 0x96DB
1445#define GL_MAX_FRAGMENT_SHADING_RATE_ATTACHMENT_LAYERS_EXT 0x96DC
1446#define GL_FRAGMENT_SHADING_RATE_WITH_SHADER_DEPTH_STENCIL_WRITES_SUPPORTED_EXT 0x96DD
1447#define GL_FRAGMENT_SHADING_RATE_WITH_SAMPLE_MASK_SUPPORTED_EXT 0x96DE
1448#define GL_FRAGMENT_SHADING_RATE_ATTACHMENT_WITH_DEFAULT_FRAMEBUFFER_SUPPORTED_EXT 0x96DF
1449#define GL_FRAGMENT_SHADING_RATE_NON_TRIVIAL_COMBINERS_SUPPORTED_EXT 0x8F6F
1450typedef void (GL_APIENTRYP PFNGLGETFRAGMENTSHADINGRATESEXTPROC) (GLsizei samples, GLsizei maxCount, GLsizei *count, GLenum *shadingRates);
1451typedef void (GL_APIENTRYP PFNGLSHADINGRATEEXTPROC) (GLenum rate);
1452typedef void (GL_APIENTRYP PFNGLSHADINGRATECOMBINEROPSEXTPROC) (GLenum combinerOp0, GLenum combinerOp1);
1453typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSHADINGRATEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint baseLayer, GLsizei numLayers, GLsizei texelWidth, GLsizei texelHeight);
1454#ifdef GL_GLEXT_PROTOTYPES
1455GL_APICALL void GL_APIENTRY glGetFragmentShadingRatesEXT (GLsizei samples, GLsizei maxCount, GLsizei *count, GLenum *shadingRates);
1456GL_APICALL void GL_APIENTRY glShadingRateEXT (GLenum rate);
1457GL_APICALL void GL_APIENTRY glShadingRateCombinerOpsEXT (GLenum combinerOp0, GLenum combinerOp1);
1458GL_APICALL void GL_APIENTRY glFramebufferShadingRateEXT (GLenum target, GLenum attachment, GLuint texture, GLint baseLayer, GLsizei numLayers, GLsizei texelWidth, GLsizei texelHeight);
1459#endif
1460#endif /* GL_EXT_fragment_shading_rate */
1461
1462#ifndef GL_EXT_geometry_point_size
1463#define GL_EXT_geometry_point_size 1
1464#endif /* GL_EXT_geometry_point_size */
1465
1466#ifndef GL_EXT_geometry_shader
1467#define GL_EXT_geometry_shader 1
1468#define GL_GEOMETRY_SHADER_EXT 0x8DD9
1469#define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
1470#define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
1471#define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
1472#define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
1473#define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
1474#define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
1475#define GL_LINES_ADJACENCY_EXT 0x000A
1476#define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
1477#define GL_TRIANGLES_ADJACENCY_EXT 0x000C
1478#define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
1479#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1480#define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
1481#define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
1482#define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
1483#define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
1484#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1485#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1486#define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
1487#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1488#define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
1489#define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
1490#define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
1491#define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
1492#define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
1493#define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
1494#define GL_UNDEFINED_VERTEX_EXT 0x8260
1495#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
1496#define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
1497#define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
1498#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
1499#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
1500#define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
1501typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
1502#ifdef GL_GLEXT_PROTOTYPES
1503GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
1504#endif
1505#endif /* GL_EXT_geometry_shader */
1506
1507#ifndef GL_EXT_gpu_shader5
1508#define GL_EXT_gpu_shader5 1
1509#endif /* GL_EXT_gpu_shader5 */
1510
1511#ifndef GL_EXT_instanced_arrays
1512#define GL_EXT_instanced_arrays 1
1513#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
1514typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
1515#ifdef GL_GLEXT_PROTOTYPES
1516GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
1517#endif
1518#endif /* GL_EXT_instanced_arrays */
1519
1524#ifndef GL_EXT_map_buffer_range1520#ifndef GL_EXT_map_buffer_range
1525#define GL_EXT_map_buffer_range 11521#define GL_EXT_map_buffer_range 1
1522#define GL_MAP_READ_BIT_EXT 0x0001
1523#define GL_MAP_WRITE_BIT_EXT 0x0002
1524#define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
1525#define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
1526#define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
1527#define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
1528typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1529typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
1526#ifdef GL_GLEXT_PROTOTYPES1530#ifdef GL_GLEXT_PROTOTYPES
1527GL_APICALL void* GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);1531GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
1528GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);1532GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
1529#endif1533#endif
1530typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);1534#endif /* GL_EXT_map_buffer_range */
1531typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);1535
1536#ifndef GL_EXT_memory_object
1537#define GL_EXT_memory_object 1
1538#define GL_TEXTURE_TILING_EXT 0x9580
1539#define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
1540#define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
1541#define GL_NUM_TILING_TYPES_EXT 0x9582
1542#define GL_TILING_TYPES_EXT 0x9583
1543#define GL_OPTIMAL_TILING_EXT 0x9584
1544#define GL_LINEAR_TILING_EXT 0x9585
1545#define GL_NUM_DEVICE_UUIDS_EXT 0x9596
1546#define GL_DEVICE_UUID_EXT 0x9597
1547#define GL_DRIVER_UUID_EXT 0x9598
1548#define GL_UUID_SIZE_EXT 16
1549typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC) (GLenum pname, GLubyte *data);
1550typedef void (GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC) (GLenum target, GLuint index, GLubyte *data);
1551typedef void (GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC) (GLsizei n, const GLuint *memoryObjects);
1552typedef GLboolean (GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC) (GLuint memoryObject);
1553typedef void (GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC) (GLsizei n, GLuint *memoryObjects);
1554typedef void (GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, const GLint *params);
1555typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC) (GLuint memoryObject, GLenum pname, GLint *params);
1556typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1557typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1558typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1559typedef void (GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1560typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC) (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1561typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1562typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1563typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC) (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1564typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC) (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1565typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC) (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1566#ifdef GL_GLEXT_PROTOTYPES
1567GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT (GLenum pname, GLubyte *data);
1568GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte *data);
1569GL_APICALL void GL_APIENTRY glDeleteMemoryObjectsEXT (GLsizei n, const GLuint *memoryObjects);
1570GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT (GLuint memoryObject);
1571GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT (GLsizei n, GLuint *memoryObjects);
1572GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint *params);
1573GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint *params);
1574GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1575GL_APICALL void GL_APIENTRY glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1576GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1577GL_APICALL void GL_APIENTRY glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1578GL_APICALL void GL_APIENTRY glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset);
1579GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset);
1580GL_APICALL void GL_APIENTRY glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1581GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset);
1582GL_APICALL void GL_APIENTRY glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset);
1583GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset);
1584#endif
1585#endif /* GL_EXT_memory_object */
1586
1587#ifndef GL_EXT_memory_object_fd
1588#define GL_EXT_memory_object_fd 1
1589#define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
1590typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1591#ifdef GL_GLEXT_PROTOTYPES
1592GL_APICALL void GL_APIENTRY glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd);
1593#endif
1594#endif /* GL_EXT_memory_object_fd */
1595
1596#ifndef GL_EXT_memory_object_win32
1597#define GL_EXT_memory_object_win32 1
1598#define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
1599#define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
1600#define GL_DEVICE_LUID_EXT 0x9599
1601#define GL_DEVICE_NODE_MASK_EXT 0x959A
1602#define GL_LUID_SIZE_EXT 8
1603#define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
1604#define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
1605#define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
1606#define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
1607typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1608typedef void (GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC) (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1609#ifdef GL_GLEXT_PROTOTYPES
1610GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle);
1611GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name);
1532#endif1612#endif
1613#endif /* GL_EXT_memory_object_win32 */
1533 1614
1534/* GL_EXT_multisampled_render_to_texture */1615#ifndef GL_EXT_multi_draw_arrays
1535#ifndef GL_EXT_multisampled_render_to_texture1616#define GL_EXT_multi_draw_arrays 1
1536#define GL_EXT_multisampled_render_to_texture 11617typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1618typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1537#ifdef GL_GLEXT_PROTOTYPES1619#ifdef GL_GLEXT_PROTOTYPES
1538GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); 1620GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
1539GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);1621GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
1540#endif1622#endif
1623#endif /* GL_EXT_multi_draw_arrays */
1624
1625#ifndef GL_EXT_multi_draw_indirect
1626#define GL_EXT_multi_draw_indirect 1
1627typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1628typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1629#ifdef GL_GLEXT_PROTOTYPES
1630GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
1631GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
1632#endif
1633#endif /* GL_EXT_multi_draw_indirect */
1634
1635#ifndef GL_EXT_multisampled_compatibility
1636#define GL_EXT_multisampled_compatibility 1
1637#define GL_MULTISAMPLE_EXT 0x809D
1638#define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
1639#endif /* GL_EXT_multisampled_compatibility */
1640
1641#ifndef GL_EXT_multisampled_render_to_texture
1642#define GL_EXT_multisampled_render_to_texture 1
1643#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
1644#define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
1645#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
1646#define GL_MAX_SAMPLES_EXT 0x8D57
1541typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);1647typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1542typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);1648typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1649#ifdef GL_GLEXT_PROTOTYPES
1650GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1651GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1543#endif1652#endif
1653#endif /* GL_EXT_multisampled_render_to_texture */
1654
1655#ifndef GL_EXT_multisampled_render_to_texture2
1656#define GL_EXT_multisampled_render_to_texture2 1
1657#endif /* GL_EXT_multisampled_render_to_texture2 */
1544 1658
1545/* GL_EXT_multiview_draw_buffers */
1546#ifndef GL_EXT_multiview_draw_buffers1659#ifndef GL_EXT_multiview_draw_buffers
1547#define GL_EXT_multiview_draw_buffers 11660#define GL_EXT_multiview_draw_buffers 1
1661#define GL_COLOR_ATTACHMENT_EXT 0x90F0
1662#define GL_MULTIVIEW_EXT 0x90F1
1663#define GL_DRAW_BUFFER_EXT 0x0C01
1664#define GL_READ_BUFFER_EXT 0x0C02
1665#define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
1666typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
1667typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1668typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
1548#ifdef GL_GLEXT_PROTOTYPES1669#ifdef GL_GLEXT_PROTOTYPES
1549GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);1670GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
1550GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);1671GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
1551GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);1672GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
1552#endif1673#endif
1553typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);1674#endif /* GL_EXT_multiview_draw_buffers */
1554typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
1555typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
1556#endif
1557 1675
1558#ifndef GL_EXT_multi_draw_arrays1676#ifndef GL_EXT_multiview_tessellation_geometry_shader
1559#define GL_EXT_multi_draw_arrays 11677#define GL_EXT_multiview_tessellation_geometry_shader 1
1560#ifdef GL_GLEXT_PROTOTYPES1678#endif /* GL_EXT_multiview_tessellation_geometry_shader */
1561GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);1679
1562GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);1680#ifndef GL_EXT_multiview_texture_multisample
1563#endif /* GL_GLEXT_PROTOTYPES */1681#define GL_EXT_multiview_texture_multisample 1
1564typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);1682#endif /* GL_EXT_multiview_texture_multisample */
1565typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);1683
1566#endif1684#ifndef GL_EXT_multiview_timer_query
1685#define GL_EXT_multiview_timer_query 1
1686#endif /* GL_EXT_multiview_timer_query */
1567 1687
1568/* GL_EXT_occlusion_query_boolean */
1569#ifndef GL_EXT_occlusion_query_boolean1688#ifndef GL_EXT_occlusion_query_boolean
1570#define GL_EXT_occlusion_query_boolean 11689#define GL_EXT_occlusion_query_boolean 1
1571/* All entry points also exist in GL_EXT_disjoint_timer_query */1690#define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
1691#define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
1692#endif /* GL_EXT_occlusion_query_boolean */
1693
1694#ifndef GL_EXT_polygon_offset_clamp
1695#define GL_EXT_polygon_offset_clamp 1
1696#define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
1697typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
1698#ifdef GL_GLEXT_PROTOTYPES
1699GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
1700#endif
1701#endif /* GL_EXT_polygon_offset_clamp */
1702
1703#ifndef GL_EXT_post_depth_coverage
1704#define GL_EXT_post_depth_coverage 1
1705#endif /* GL_EXT_post_depth_coverage */
1706
1707#ifndef GL_EXT_primitive_bounding_box
1708#define GL_EXT_primitive_bounding_box 1
1709#define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
1710typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1711#ifdef GL_GLEXT_PROTOTYPES
1712GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
1713#endif
1714#endif /* GL_EXT_primitive_bounding_box */
1715
1716#ifndef GL_EXT_protected_textures
1717#define GL_EXT_protected_textures 1
1718#define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010
1719#define GL_TEXTURE_PROTECTED_EXT 0x8BFA
1720#endif /* GL_EXT_protected_textures */
1721
1722#ifndef GL_EXT_pvrtc_sRGB
1723#define GL_EXT_pvrtc_sRGB 1
1724#define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
1725#define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
1726#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
1727#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
1728#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
1729#define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
1730#endif /* GL_EXT_pvrtc_sRGB */
1731
1732#ifndef GL_EXT_raster_multisample
1733#define GL_EXT_raster_multisample 1
1734#define GL_RASTER_MULTISAMPLE_EXT 0x9327
1735#define GL_RASTER_SAMPLES_EXT 0x9328
1736#define GL_MAX_RASTER_SAMPLES_EXT 0x9329
1737#define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
1738#define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
1739#define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
1740typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
1741#ifdef GL_GLEXT_PROTOTYPES
1742GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
1572#endif1743#endif
1744#endif /* GL_EXT_raster_multisample */
1573 1745
1574/* GL_EXT_read_format_bgra */
1575#ifndef GL_EXT_read_format_bgra1746#ifndef GL_EXT_read_format_bgra
1576#define GL_EXT_read_format_bgra 11747#define GL_EXT_read_format_bgra 1
1577#endif1748#define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
1749#define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
1750#endif /* GL_EXT_read_format_bgra */
1751
1752#ifndef GL_EXT_render_snorm
1753#define GL_EXT_render_snorm 1
1754#define GL_R8_SNORM 0x8F94
1755#define GL_RG8_SNORM 0x8F95
1756#define GL_RGBA8_SNORM 0x8F97
1757#define GL_R16_SNORM_EXT 0x8F98
1758#define GL_RG16_SNORM_EXT 0x8F99
1759#define GL_RGBA16_SNORM_EXT 0x8F9B
1760#endif /* GL_EXT_render_snorm */
1578 1761
1579/* GL_EXT_robustness */
1580#ifndef GL_EXT_robustness1762#ifndef GL_EXT_robustness
1581#define GL_EXT_robustness 11763#define GL_EXT_robustness 1
1764#define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
1765#define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
1766#define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
1767#define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
1768#define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
1769#define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
1770#define GL_NO_RESET_NOTIFICATION_EXT 0x8261
1771typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
1772typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1773typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1774typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1582#ifdef GL_GLEXT_PROTOTYPES1775#ifdef GL_GLEXT_PROTOTYPES
1583GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);1776GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
1584GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);1777GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
1585GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);1778GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
1586GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);1779GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
1587#endif1780#endif
1588typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);1781#endif /* GL_EXT_robustness */
1589typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);1782
1590typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);1783#ifndef GL_EXT_sRGB
1591typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);1784#define GL_EXT_sRGB 1
1785#define GL_SRGB_EXT 0x8C40
1786#define GL_SRGB_ALPHA_EXT 0x8C42
1787#define GL_SRGB8_ALPHA8_EXT 0x8C43
1788#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
1789#endif /* GL_EXT_sRGB */
1790
1791#ifndef GL_EXT_sRGB_write_control
1792#define GL_EXT_sRGB_write_control 1
1793#define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
1794#endif /* GL_EXT_sRGB_write_control */
1795
1796#ifndef GL_EXT_semaphore
1797#define GL_EXT_semaphore 1
1798#define GL_LAYOUT_GENERAL_EXT 0x958D
1799#define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
1800#define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
1801#define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
1802#define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
1803#define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
1804#define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
1805#define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
1806#define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
1807typedef void (GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC) (GLsizei n, GLuint *semaphores);
1808typedef void (GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC) (GLsizei n, const GLuint *semaphores);
1809typedef GLboolean (GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC) (GLuint semaphore);
1810typedef void (GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, const GLuint64 *params);
1811typedef void (GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC) (GLuint semaphore, GLenum pname, GLuint64 *params);
1812typedef void (GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1813typedef void (GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC) (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1814#ifdef GL_GLEXT_PROTOTYPES
1815GL_APICALL void GL_APIENTRY glGenSemaphoresEXT (GLsizei n, GLuint *semaphores);
1816GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT (GLsizei n, const GLuint *semaphores);
1817GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT (GLuint semaphore);
1818GL_APICALL void GL_APIENTRY glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64 *params);
1819GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64 *params);
1820GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts);
1821GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts);
1822#endif
1823#endif /* GL_EXT_semaphore */
1824
1825#ifndef GL_EXT_semaphore_fd
1826#define GL_EXT_semaphore_fd 1
1827typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC) (GLuint semaphore, GLenum handleType, GLint fd);
1828#ifdef GL_GLEXT_PROTOTYPES
1829GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd);
1830#endif
1831#endif /* GL_EXT_semaphore_fd */
1832
1833#ifndef GL_EXT_semaphore_win32
1834#define GL_EXT_semaphore_win32 1
1835#define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
1836#define GL_D3D12_FENCE_VALUE_EXT 0x9595
1837typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC) (GLuint semaphore, GLenum handleType, void *handle);
1838typedef void (GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC) (GLuint semaphore, GLenum handleType, const void *name);
1839#ifdef GL_GLEXT_PROTOTYPES
1840GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle);
1841GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name);
1592#endif1842#endif
1843#endif /* GL_EXT_semaphore_win32 */
1844
1845#ifndef GL_EXT_separate_depth_stencil
1846#define GL_EXT_separate_depth_stencil 1
1847#endif /* GL_EXT_separate_depth_stencil */
1593 1848
1594/* GL_EXT_separate_shader_objects */
1595#ifndef GL_EXT_separate_shader_objects1849#ifndef GL_EXT_separate_shader_objects
1596#define GL_EXT_separate_shader_objects 11850#define GL_EXT_separate_shader_objects 1
1851#define GL_ACTIVE_PROGRAM_EXT 0x8259
1852#define GL_VERTEX_SHADER_BIT_EXT 0x00000001
1853#define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
1854#define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
1855#define GL_PROGRAM_SEPARABLE_EXT 0x8258
1856#define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
1857typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
1858typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1859typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
1860typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
1861typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
1862typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1863typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
1864typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1865typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
1866typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
1867typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1868typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
1869typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1870typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1871typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1872typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
1873typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1874typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1875typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1876typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1877typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1878typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1879typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1880typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1881typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1882typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1883typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1884typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1885typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
1886typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1887typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
1888typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
1889typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1890typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1891typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1892typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1893typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1894typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
1895typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1896typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1897typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1898typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1899typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1900typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1597#ifdef GL_GLEXT_PROTOTYPES1901#ifdef GL_GLEXT_PROTOTYPES
1598GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
1599GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);1902GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
1600GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
1601GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);1903GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
1904GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
1602GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);1905GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
1603GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);1906GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
1907GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1908GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
1604GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);1909GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
1605GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);1910GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
1606GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);1911GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
1607GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint x);
1608GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint x, GLint y);
1609GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z);
1610GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
1611GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat x);
1612GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat x, GLfloat y);
1613GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
1614GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1615GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1616GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1617GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1618GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1619GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);1912GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1913GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
1914GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1915GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
1620GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);1916GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1917GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
1918GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1919GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
1621GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);1920GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1921GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
1922GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1923GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
1622GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);1924GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1925GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
1926GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
1623GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);1927GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1624GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);1928GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1625GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);1929GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1930GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
1626GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);1931GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
1627GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);1932GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
1628#endif1933GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
1629typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);1934GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
1630typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);1935GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
1631typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);1936GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1632typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);1937GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1633typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);1938GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1634typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);1939GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
1635typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);1940GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1636typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);1941GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1637typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);1942GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1638typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint x);1943GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1639typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint x, GLint y);1944GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1640typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);1945GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1641typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);1946#endif
1642typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat x);1947#endif /* GL_EXT_separate_shader_objects */
1643typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
1644typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
1645typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
1646typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1647typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1648typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1649typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
1650typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1651typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1652typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1653typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
1654typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1655typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1656typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
1657typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
1658typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
1659#endif
1660 1948
1661/* GL_EXT_shader_framebuffer_fetch */
1662#ifndef GL_EXT_shader_framebuffer_fetch1949#ifndef GL_EXT_shader_framebuffer_fetch
1663#define GL_EXT_shader_framebuffer_fetch 11950#define GL_EXT_shader_framebuffer_fetch 1
1951#define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
1952#endif /* GL_EXT_shader_framebuffer_fetch */
1953
1954#ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
1955#define GL_EXT_shader_framebuffer_fetch_non_coherent 1
1956typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC) (void);
1957#ifdef GL_GLEXT_PROTOTYPES
1958GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT (void);
1959#endif
1960#endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
1961
1962#ifndef GL_EXT_shader_group_vote
1963#define GL_EXT_shader_group_vote 1
1964#endif /* GL_EXT_shader_group_vote */
1965
1966#ifndef GL_EXT_shader_implicit_conversions
1967#define GL_EXT_shader_implicit_conversions 1
1968#endif /* GL_EXT_shader_implicit_conversions */
1969
1970#ifndef GL_EXT_shader_integer_mix
1971#define GL_EXT_shader_integer_mix 1
1972#endif /* GL_EXT_shader_integer_mix */
1973
1974#ifndef GL_EXT_shader_io_blocks
1975#define GL_EXT_shader_io_blocks 1
1976#endif /* GL_EXT_shader_io_blocks */
1977
1978#ifndef GL_EXT_shader_non_constant_global_initializers
1979#define GL_EXT_shader_non_constant_global_initializers 1
1980#endif /* GL_EXT_shader_non_constant_global_initializers */
1981
1982#ifndef GL_EXT_shader_pixel_local_storage
1983#define GL_EXT_shader_pixel_local_storage 1
1984#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
1985#define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
1986#define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
1987#endif /* GL_EXT_shader_pixel_local_storage */
1988
1989#ifndef GL_EXT_shader_pixel_local_storage2
1990#define GL_EXT_shader_pixel_local_storage2 1
1991#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
1992#define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
1993#define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
1994typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size);
1995typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target);
1996typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values);
1997#ifdef GL_GLEXT_PROTOTYPES
1998GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size);
1999GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target);
2000GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values);
1664#endif2001#endif
2002#endif /* GL_EXT_shader_pixel_local_storage2 */
2003
2004#ifndef GL_EXT_shader_samples_identical
2005#define GL_EXT_shader_samples_identical 1
2006#endif /* GL_EXT_shader_samples_identical */
1665 2007
1666/* GL_EXT_shader_texture_lod */
1667#ifndef GL_EXT_shader_texture_lod2008#ifndef GL_EXT_shader_texture_lod
1668#define GL_EXT_shader_texture_lod 12009#define GL_EXT_shader_texture_lod 1
1669#endif2010#endif /* GL_EXT_shader_texture_lod */
1670 2011
1671/* GL_EXT_shadow_samplers */
1672#ifndef GL_EXT_shadow_samplers2012#ifndef GL_EXT_shadow_samplers
1673#define GL_EXT_shadow_samplers 12013#define GL_EXT_shadow_samplers 1
2014#define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
2015#define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
2016#define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
2017#define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
2018#endif /* GL_EXT_shadow_samplers */
2019
2020#ifndef GL_EXT_sparse_texture
2021#define GL_EXT_sparse_texture 1
2022#define GL_TEXTURE_SPARSE_EXT 0x91A6
2023#define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
2024#define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
2025#define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
2026#define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
2027#define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
2028#define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
2029#define GL_TEXTURE_2D_ARRAY 0x8C1A
2030#define GL_TEXTURE_3D 0x806F
2031#define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
2032#define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
2033#define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
2034#define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
2035typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
2036#ifdef GL_GLEXT_PROTOTYPES
2037GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
2038#endif
2039#endif /* GL_EXT_sparse_texture */
2040
2041#ifndef GL_EXT_sparse_texture2
2042#define GL_EXT_sparse_texture2 1
2043#endif /* GL_EXT_sparse_texture2 */
2044
2045#ifndef GL_EXT_tessellation_point_size
2046#define GL_EXT_tessellation_point_size 1
2047#endif /* GL_EXT_tessellation_point_size */
2048
2049#ifndef GL_EXT_tessellation_shader
2050#define GL_EXT_tessellation_shader 1
2051#define GL_PATCHES_EXT 0x000E
2052#define GL_PATCH_VERTICES_EXT 0x8E72
2053#define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
2054#define GL_TESS_GEN_MODE_EXT 0x8E76
2055#define GL_TESS_GEN_SPACING_EXT 0x8E77
2056#define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
2057#define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
2058#define GL_ISOLINES_EXT 0x8E7A
2059#define GL_QUADS_EXT 0x0007
2060#define GL_FRACTIONAL_ODD_EXT 0x8E7B
2061#define GL_FRACTIONAL_EVEN_EXT 0x8E7C
2062#define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
2063#define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
2064#define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
2065#define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
2066#define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
2067#define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
2068#define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
2069#define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
2070#define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
2071#define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
2072#define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
2073#define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
2074#define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
2075#define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
2076#define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
2077#define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
2078#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
2079#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
2080#define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
2081#define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
2082#define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
2083#define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
2084#define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
2085#define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
2086#define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
2087#define GL_IS_PER_PATCH_EXT 0x92E7
2088#define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
2089#define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
2090#define GL_TESS_CONTROL_SHADER_EXT 0x8E88
2091#define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
2092#define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
2093#define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
2094typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
2095#ifdef GL_GLEXT_PROTOTYPES
2096GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
2097#endif
2098#endif /* GL_EXT_tessellation_shader */
2099
2100#ifndef GL_EXT_texture_border_clamp
2101#define GL_EXT_texture_border_clamp 1
2102#define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
2103#define GL_CLAMP_TO_BORDER_EXT 0x812D
2104typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
2105typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
2106typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
2107typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
2108typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
2109typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
2110typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
2111typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
2112#ifdef GL_GLEXT_PROTOTYPES
2113GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
2114GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
2115GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
2116GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
2117GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
2118GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
2119GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
2120GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
2121#endif
2122#endif /* GL_EXT_texture_border_clamp */
2123
2124#ifndef GL_EXT_texture_buffer
2125#define GL_EXT_texture_buffer 1
2126#define GL_TEXTURE_BUFFER_EXT 0x8C2A
2127#define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
2128#define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
2129#define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
2130#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
2131#define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
2132#define GL_SAMPLER_BUFFER_EXT 0x8DC2
2133#define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
2134#define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
2135#define GL_IMAGE_BUFFER_EXT 0x9051
2136#define GL_INT_IMAGE_BUFFER_EXT 0x905C
2137#define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
2138#define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
2139#define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
2140typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
2141typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
2142#ifdef GL_GLEXT_PROTOTYPES
2143GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
2144GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
1674#endif2145#endif
2146#endif /* GL_EXT_texture_buffer */
1675 2147
1676/* GL_EXT_sRGB */2148#ifndef GL_EXT_texture_compression_astc_decode_mode
1677#ifndef GL_EXT_sRGB2149#define GL_EXT_texture_compression_astc_decode_mode 1
1678#define GL_EXT_sRGB 12150#define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69
1679#endif2151#endif /* GL_EXT_texture_compression_astc_decode_mode */
2152
2153#ifndef GL_EXT_texture_compression_bptc
2154#define GL_EXT_texture_compression_bptc 1
2155#define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C
2156#define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D
2157#define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E
2158#define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F
2159#endif /* GL_EXT_texture_compression_bptc */
1680 2160
1681/* GL_EXT_texture_compression_dxt1 */
1682#ifndef GL_EXT_texture_compression_dxt12161#ifndef GL_EXT_texture_compression_dxt1
1683#define GL_EXT_texture_compression_dxt1 12162#define GL_EXT_texture_compression_dxt1 1
1684#endif2163#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
2164#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
2165#endif /* GL_EXT_texture_compression_dxt1 */
2166
2167#ifndef GL_EXT_texture_compression_rgtc
2168#define GL_EXT_texture_compression_rgtc 1
2169#define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
2170#define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
2171#define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
2172#define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
2173#endif /* GL_EXT_texture_compression_rgtc */
2174
2175#ifndef GL_EXT_texture_compression_s3tc
2176#define GL_EXT_texture_compression_s3tc 1
2177#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
2178#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
2179#endif /* GL_EXT_texture_compression_s3tc */
2180
2181#ifndef GL_EXT_texture_compression_s3tc_srgb
2182#define GL_EXT_texture_compression_s3tc_srgb 1
2183#define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
2184#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
2185#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
2186#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
2187#endif /* GL_EXT_texture_compression_s3tc_srgb */
2188
2189#ifndef GL_EXT_texture_cube_map_array
2190#define GL_EXT_texture_cube_map_array 1
2191#define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
2192#define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
2193#define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
2194#define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
2195#define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
2196#define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
2197#define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
2198#define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
2199#define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
2200#endif /* GL_EXT_texture_cube_map_array */
1685 2201
1686/* GL_EXT_texture_filter_anisotropic */
1687#ifndef GL_EXT_texture_filter_anisotropic2202#ifndef GL_EXT_texture_filter_anisotropic
1688#define GL_EXT_texture_filter_anisotropic 12203#define GL_EXT_texture_filter_anisotropic 1
1689#endif2204#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
2205#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
2206#endif /* GL_EXT_texture_filter_anisotropic */
2207
2208#ifndef GL_EXT_texture_filter_minmax
2209#define GL_EXT_texture_filter_minmax 1
2210#define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
2211#define GL_WEIGHTED_AVERAGE_EXT 0x9367
2212#endif /* GL_EXT_texture_filter_minmax */
1690 2213
1691/* GL_EXT_texture_format_BGRA8888 */
1692#ifndef GL_EXT_texture_format_BGRA88882214#ifndef GL_EXT_texture_format_BGRA8888
1693#define GL_EXT_texture_format_BGRA8888 12215#define GL_EXT_texture_format_BGRA8888 1
1694#endif2216#endif /* GL_EXT_texture_format_BGRA8888 */
2217
2218#ifndef GL_EXT_texture_format_sRGB_override
2219#define GL_EXT_texture_format_sRGB_override 1
2220#define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF
2221#endif /* GL_EXT_texture_format_sRGB_override */
2222
2223#ifndef GL_EXT_texture_mirror_clamp_to_edge
2224#define GL_EXT_texture_mirror_clamp_to_edge 1
2225#define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
2226#endif /* GL_EXT_texture_mirror_clamp_to_edge */
2227
2228#ifndef GL_EXT_texture_norm16
2229#define GL_EXT_texture_norm16 1
2230#define GL_R16_EXT 0x822A
2231#define GL_RG16_EXT 0x822C
2232#define GL_RGBA16_EXT 0x805B
2233#define GL_RGB16_EXT 0x8054
2234#define GL_RGB16_SNORM_EXT 0x8F9A
2235#endif /* GL_EXT_texture_norm16 */
2236
2237#ifndef GL_EXT_texture_query_lod
2238#define GL_EXT_texture_query_lod 1
2239#endif /* GL_EXT_texture_query_lod */
1695 2240
1696/* GL_EXT_texture_rg */
1697#ifndef GL_EXT_texture_rg2241#ifndef GL_EXT_texture_rg
1698#define GL_EXT_texture_rg 12242#define GL_EXT_texture_rg 1
1699#endif2243#define GL_RED_EXT 0x1903
2244#define GL_RG_EXT 0x8227
2245#define GL_R8_EXT 0x8229
2246#define GL_RG8_EXT 0x822B
2247#endif /* GL_EXT_texture_rg */
2248
2249#ifndef GL_EXT_texture_sRGB_R8
2250#define GL_EXT_texture_sRGB_R8 1
2251#define GL_SR8_EXT 0x8FBD
2252#endif /* GL_EXT_texture_sRGB_R8 */
2253
2254#ifndef GL_EXT_texture_sRGB_RG8
2255#define GL_EXT_texture_sRGB_RG8 1
2256#define GL_SRG8_EXT 0x8FBE
2257#endif /* GL_EXT_texture_sRGB_RG8 */
2258
2259#ifndef GL_EXT_texture_sRGB_decode
2260#define GL_EXT_texture_sRGB_decode 1
2261#define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
2262#define GL_DECODE_EXT 0x8A49
2263#define GL_SKIP_DECODE_EXT 0x8A4A
2264#endif /* GL_EXT_texture_sRGB_decode */
2265
2266#ifndef GL_EXT_texture_shadow_lod
2267#define GL_EXT_texture_shadow_lod 1
2268#endif /* GL_EXT_texture_shadow_lod */
1700 2269
1701/* GL_EXT_texture_storage */
1702#ifndef GL_EXT_texture_storage2270#ifndef GL_EXT_texture_storage
1703#define GL_EXT_texture_storage 12271#define GL_EXT_texture_storage 1
2272#define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
2273#define GL_ALPHA8_EXT 0x803C
2274#define GL_LUMINANCE8_EXT 0x8040
2275#define GL_LUMINANCE8_ALPHA8_EXT 0x8045
2276#define GL_RGBA32F_EXT 0x8814
2277#define GL_RGB32F_EXT 0x8815
2278#define GL_ALPHA32F_EXT 0x8816
2279#define GL_LUMINANCE32F_EXT 0x8818
2280#define GL_LUMINANCE_ALPHA32F_EXT 0x8819
2281#define GL_ALPHA16F_EXT 0x881C
2282#define GL_LUMINANCE16F_EXT 0x881E
2283#define GL_LUMINANCE_ALPHA16F_EXT 0x881F
2284#define GL_R32F_EXT 0x822E
2285#define GL_RG32F_EXT 0x8230
2286typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2287typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2288typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
2289typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
2290typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
2291typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1704#ifdef GL_GLEXT_PROTOTYPES2292#ifdef GL_GLEXT_PROTOTYPES
1705GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);2293GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1706GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);2294GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
@@ -1709,130 +2297,552 @@ GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target · 2 unmodified lines
1709GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);2297GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1710GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);2298GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1711#endif2299#endif
1712typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);2300#endif /* GL_EXT_texture_storage */
1713typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);2301
1714typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);2302#ifndef GL_EXT_texture_storage_compression
1715typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);2303#define GL_EXT_texture_storage_compression 1
1716typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);2304#define GL_NUM_SURFACE_COMPRESSION_FIXED_RATES_EXT 0x8F6E
1717typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);2305#define GL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT 0x96C4
2306#define GL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT 0x96C5
2307#define GL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT 0x96C6
2308#define GL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT 0x96C7
2309#define GL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT 0x96C8
2310#define GL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT 0x96C9
2311#define GL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT 0x96CA
2312#define GL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT 0x96CB
2313#define GL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT 0x96CC
2314#define GL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT 0x96CD
2315#define GL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT 0x96CE
2316#define GL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT 0x96CF
2317typedef void (GL_APIENTRYP PFNGLTEXSTORAGEATTRIBS2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, const GLint* attrib_list);
2318typedef void (GL_APIENTRYP PFNGLTEXSTORAGEATTRIBS3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const GLint* attrib_list);
2319#ifdef GL_GLEXT_PROTOTYPES
2320GL_APICALL void GL_APIENTRY glTexStorageAttribs2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, const GLint* attrib_list);
2321GL_APICALL void GL_APIENTRY glTexStorageAttribs3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, const GLint* attrib_list);
1718#endif2322#endif
2323#endif /* GL_EXT_texture_storage_compression */
1719 2324
1720/* GL_EXT_texture_type_2_10_10_10_REV */
1721#ifndef GL_EXT_texture_type_2_10_10_10_REV2325#ifndef GL_EXT_texture_type_2_10_10_10_REV
1722#define GL_EXT_texture_type_2_10_10_10_REV 12326#define GL_EXT_texture_type_2_10_10_10_REV 1
2327#define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
2328#endif /* GL_EXT_texture_type_2_10_10_10_REV */
2329
2330#ifndef GL_EXT_texture_view
2331#define GL_EXT_texture_view 1
2332#define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
2333#define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
2334#define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
2335#define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
2336typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
2337#ifdef GL_GLEXT_PROTOTYPES
2338GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
1723#endif2339#endif
2340#endif /* GL_EXT_texture_view */
1724 2341
1725/* GL_EXT_unpack_subimage */
1726#ifndef GL_EXT_unpack_subimage2342#ifndef GL_EXT_unpack_subimage
1727#define GL_EXT_unpack_subimage 12343#define GL_EXT_unpack_subimage 1
2344#define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
2345#define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
2346#define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
2347#endif /* GL_EXT_unpack_subimage */
2348
2349#ifndef GL_EXT_win32_keyed_mutex
2350#define GL_EXT_win32_keyed_mutex 1
2351typedef GLboolean (GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key, GLuint timeout);
2352typedef GLboolean (GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC) (GLuint memory, GLuint64 key);
2353#ifdef GL_GLEXT_PROTOTYPES
2354GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT (GLuint memory, GLuint64 key, GLuint timeout);
2355GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT (GLuint memory, GLuint64 key);
2356#endif
2357#endif /* GL_EXT_win32_keyed_mutex */
2358
2359#ifndef GL_EXT_window_rectangles
2360#define GL_EXT_window_rectangles 1
2361#define GL_INCLUSIVE_EXT 0x8F10
2362#define GL_EXCLUSIVE_EXT 0x8F11
2363#define GL_WINDOW_RECTANGLE_EXT 0x8F12
2364#define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
2365#define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
2366#define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
2367typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
2368#ifdef GL_GLEXT_PROTOTYPES
2369GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
1728#endif2370#endif
2371#endif /* GL_EXT_window_rectangles */
1729 2372
1730/*------------------------------------------------------------------------*
1731 * DMP extension functions
1732 *------------------------------------------------------------------------*/
1733
1734/* GL_DMP_shader_binary */
1735#ifndef GL_DMP_shader_binary
1736#define GL_DMP_shader_binary 1
1737#endif
1738
1739/*------------------------------------------------------------------------*
1740 * FJ extension functions
1741 *------------------------------------------------------------------------*/
1742
1743/* GL_FJ_shader_binary_GCCSO */
1744#ifndef GL_FJ_shader_binary_GCCSO2373#ifndef GL_FJ_shader_binary_GCCSO
1745#define GL_FJ_shader_binary_GCCSO 12374#define GL_FJ_shader_binary_GCCSO 1
2375#define GL_GCCSO_SHADER_BINARY_FJ 0x9260
2376#endif /* GL_FJ_shader_binary_GCCSO */
2377
2378#ifndef GL_IMG_bindless_texture
2379#define GL_IMG_bindless_texture 1
2380typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture);
2381typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler);
2382typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value);
2383typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value);
2384typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value);
2385typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2386#ifdef GL_GLEXT_PROTOTYPES
2387GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture);
2388GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler);
2389GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value);
2390GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value);
2391GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value);
2392GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2393#endif
2394#endif /* GL_IMG_bindless_texture */
2395
2396#ifndef GL_IMG_framebuffer_downsample
2397#define GL_IMG_framebuffer_downsample 1
2398#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
2399#define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
2400#define GL_DOWNSAMPLE_SCALES_IMG 0x913E
2401#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
2402typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2403typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
2404#ifdef GL_GLEXT_PROTOTYPES
2405GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
2406GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
1746#endif2407#endif
2408#endif /* GL_IMG_framebuffer_downsample */
1747 2409
1748/*------------------------------------------------------------------------*2410#ifndef GL_IMG_multisampled_render_to_texture
1749 * IMG extension functions2411#define GL_IMG_multisampled_render_to_texture 1
1750 *------------------------------------------------------------------------*/2412#define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
2413#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
2414#define GL_MAX_SAMPLES_IMG 0x9135
2415#define GL_TEXTURE_SAMPLES_IMG 0x9136
2416typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2417typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2418#ifdef GL_GLEXT_PROTOTYPES
2419GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
2420GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
2421#endif
2422#endif /* GL_IMG_multisampled_render_to_texture */
1751 2423
1752/* GL_IMG_program_binary */
1753#ifndef GL_IMG_program_binary2424#ifndef GL_IMG_program_binary
1754#define GL_IMG_program_binary 12425#define GL_IMG_program_binary 1
1755#endif2426#define GL_SGX_PROGRAM_BINARY_IMG 0x9130
2427#endif /* GL_IMG_program_binary */
1756 2428
1757/* GL_IMG_read_format */
1758#ifndef GL_IMG_read_format2429#ifndef GL_IMG_read_format
1759#define GL_IMG_read_format 12430#define GL_IMG_read_format 1
1760#endif2431#define GL_BGRA_IMG 0x80E1
2432#define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
2433#endif /* GL_IMG_read_format */
1761 2434
1762/* GL_IMG_shader_binary */
1763#ifndef GL_IMG_shader_binary2435#ifndef GL_IMG_shader_binary
1764#define GL_IMG_shader_binary 12436#define GL_IMG_shader_binary 1
1765#endif2437#define GL_SGX_BINARY_IMG 0x8C0A
2438#endif /* GL_IMG_shader_binary */
1766 2439
1767/* GL_IMG_texture_compression_pvrtc */
1768#ifndef GL_IMG_texture_compression_pvrtc2440#ifndef GL_IMG_texture_compression_pvrtc
1769#define GL_IMG_texture_compression_pvrtc 12441#define GL_IMG_texture_compression_pvrtc 1
1770#endif2442#define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
2443#define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
2444#define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
2445#define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
2446#endif /* GL_IMG_texture_compression_pvrtc */
1771 2447
1772/* GL_IMG_texture_compression_pvrtc2 */
1773#ifndef GL_IMG_texture_compression_pvrtc22448#ifndef GL_IMG_texture_compression_pvrtc2
1774#define GL_IMG_texture_compression_pvrtc2 12449#define GL_IMG_texture_compression_pvrtc2 1
2450#define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
2451#define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
2452#endif /* GL_IMG_texture_compression_pvrtc2 */
2453
2454#ifndef GL_IMG_texture_filter_cubic
2455#define GL_IMG_texture_filter_cubic 1
2456#define GL_CUBIC_IMG 0x9139
2457#define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
2458#define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
2459#endif /* GL_IMG_texture_filter_cubic */
2460
2461#ifndef GL_INTEL_blackhole_render
2462#define GL_INTEL_blackhole_render 1
2463#define GL_BLACKHOLE_RENDER_INTEL 0x83FC
2464#endif /* GL_INTEL_blackhole_render */
2465
2466#ifndef GL_INTEL_conservative_rasterization
2467#define GL_INTEL_conservative_rasterization 1
2468#define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
2469#endif /* GL_INTEL_conservative_rasterization */
2470
2471#ifndef GL_INTEL_framebuffer_CMAA
2472#define GL_INTEL_framebuffer_CMAA 1
2473typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
2474#ifdef GL_GLEXT_PROTOTYPES
2475GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
2476#endif
2477#endif /* GL_INTEL_framebuffer_CMAA */
2478
2479#ifndef GL_INTEL_performance_query
2480#define GL_INTEL_performance_query 1
2481#define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
2482#define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
2483#define GL_PERFQUERY_WAIT_INTEL 0x83FB
2484#define GL_PERFQUERY_FLUSH_INTEL 0x83FA
2485#define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
2486#define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
2487#define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
2488#define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
2489#define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
2490#define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
2491#define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
2492#define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
2493#define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
2494#define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
2495#define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
2496#define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
2497#define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
2498#define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
2499#define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
2500#define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
2501typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
2502typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
2503typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
2504typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
2505typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
2506typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
2507typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2508typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2509typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
2510typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2511#ifdef GL_GLEXT_PROTOTYPES
2512GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
2513GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
2514GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
2515GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
2516GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
2517GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
2518GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
2519GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, void *data, GLuint *bytesWritten);
2520GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
2521GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
2522#endif
2523#endif /* GL_INTEL_performance_query */
2524
2525#ifndef GL_MESA_bgra
2526#define GL_MESA_bgra 1
2527#define GL_BGR_EXT 0x80E0
2528#endif /* GL_MESA_bgra */
2529
2530#ifndef GL_MESA_framebuffer_flip_x
2531#define GL_MESA_framebuffer_flip_x 1
2532#define GL_FRAMEBUFFER_FLIP_X_MESA 0x8BBC
2533#endif /* GL_MESA_framebuffer_flip_x */
2534
2535#ifndef GL_MESA_framebuffer_flip_y
2536#define GL_MESA_framebuffer_flip_y 1
2537#define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
2538typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC) (GLenum target, GLenum pname, GLint param);
2539typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC) (GLenum target, GLenum pname, GLint *params);
2540#ifdef GL_GLEXT_PROTOTYPES
2541GL_APICALL void GL_APIENTRY glFramebufferParameteriMESA (GLenum target, GLenum pname, GLint param);
2542GL_APICALL void GL_APIENTRY glGetFramebufferParameterivMESA (GLenum target, GLenum pname, GLint *params);
2543#endif
2544#endif /* GL_MESA_framebuffer_flip_y */
2545
2546#ifndef GL_MESA_framebuffer_swap_xy
2547#define GL_MESA_framebuffer_swap_xy 1
2548#define GL_FRAMEBUFFER_SWAP_XY_MESA 0x8BBD
2549#endif /* GL_MESA_framebuffer_swap_xy */
2550
2551#ifndef GL_MESA_program_binary_formats
2552#define GL_MESA_program_binary_formats 1
2553#define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
2554#endif /* GL_MESA_program_binary_formats */
2555
2556#ifndef GL_MESA_shader_integer_functions
2557#define GL_MESA_shader_integer_functions 1
2558#endif /* GL_MESA_shader_integer_functions */
2559
2560#ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
2561#define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
2562#endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
2563
2564#ifndef GL_NV_bindless_texture
2565#define GL_NV_bindless_texture 1
2566typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
2567typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
2568typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2569typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2570typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2571typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
2572typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
2573typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
2574typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
2575typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
2576typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2577typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
2578typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
2579#ifdef GL_GLEXT_PROTOTYPES
2580GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture);
2581GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
2582GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
2583GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
2584GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
2585GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
2586GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
2587GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
2588GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
2589GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
2590GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
2591GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
2592GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
2593#endif
2594#endif /* GL_NV_bindless_texture */
2595
2596#ifndef GL_NV_blend_equation_advanced
2597#define GL_NV_blend_equation_advanced 1
2598#define GL_BLEND_OVERLAP_NV 0x9281
2599#define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
2600#define GL_BLUE_NV 0x1905
2601#define GL_COLORBURN_NV 0x929A
2602#define GL_COLORDODGE_NV 0x9299
2603#define GL_CONJOINT_NV 0x9284
2604#define GL_CONTRAST_NV 0x92A1
2605#define GL_DARKEN_NV 0x9297
2606#define GL_DIFFERENCE_NV 0x929E
2607#define GL_DISJOINT_NV 0x9283
2608#define GL_DST_ATOP_NV 0x928F
2609#define GL_DST_IN_NV 0x928B
2610#define GL_DST_NV 0x9287
2611#define GL_DST_OUT_NV 0x928D
2612#define GL_DST_OVER_NV 0x9289
2613#define GL_EXCLUSION_NV 0x92A0
2614#define GL_GREEN_NV 0x1904
2615#define GL_HARDLIGHT_NV 0x929B
2616#define GL_HARDMIX_NV 0x92A9
2617#define GL_HSL_COLOR_NV 0x92AF
2618#define GL_HSL_HUE_NV 0x92AD
2619#define GL_HSL_LUMINOSITY_NV 0x92B0
2620#define GL_HSL_SATURATION_NV 0x92AE
2621#define GL_INVERT_OVG_NV 0x92B4
2622#define GL_INVERT_RGB_NV 0x92A3
2623#define GL_LIGHTEN_NV 0x9298
2624#define GL_LINEARBURN_NV 0x92A5
2625#define GL_LINEARDODGE_NV 0x92A4
2626#define GL_LINEARLIGHT_NV 0x92A7
2627#define GL_MINUS_CLAMPED_NV 0x92B3
2628#define GL_MINUS_NV 0x929F
2629#define GL_MULTIPLY_NV 0x9294
2630#define GL_OVERLAY_NV 0x9296
2631#define GL_PINLIGHT_NV 0x92A8
2632#define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
2633#define GL_PLUS_CLAMPED_NV 0x92B1
2634#define GL_PLUS_DARKER_NV 0x9292
2635#define GL_PLUS_NV 0x9291
2636#define GL_RED_NV 0x1903
2637#define GL_SCREEN_NV 0x9295
2638#define GL_SOFTLIGHT_NV 0x929C
2639#define GL_SRC_ATOP_NV 0x928E
2640#define GL_SRC_IN_NV 0x928A
2641#define GL_SRC_NV 0x9286
2642#define GL_SRC_OUT_NV 0x928C
2643#define GL_SRC_OVER_NV 0x9288
2644#define GL_UNCORRELATED_NV 0x9282
2645#define GL_VIVIDLIGHT_NV 0x92A6
2646#define GL_XOR_NV 0x1506
2647typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
2648typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
2649#ifdef GL_GLEXT_PROTOTYPES
2650GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
2651GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
2652#endif
2653#endif /* GL_NV_blend_equation_advanced */
2654
2655#ifndef GL_NV_blend_equation_advanced_coherent
2656#define GL_NV_blend_equation_advanced_coherent 1
2657#define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
2658#endif /* GL_NV_blend_equation_advanced_coherent */
2659
2660#ifndef GL_NV_blend_minmax_factor
2661#define GL_NV_blend_minmax_factor 1
2662#define GL_FACTOR_MIN_AMD 0x901C
2663#define GL_FACTOR_MAX_AMD 0x901D
2664#endif /* GL_NV_blend_minmax_factor */
2665
2666#ifndef GL_NV_clip_space_w_scaling
2667#define GL_NV_clip_space_w_scaling 1
2668#define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
2669#define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
2670#define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
2671typedef void (GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC) (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2672#ifdef GL_GLEXT_PROTOTYPES
2673GL_APICALL void GL_APIENTRY glViewportPositionWScaleNV (GLuint index, GLfloat xcoeff, GLfloat ycoeff);
2674#endif
2675#endif /* GL_NV_clip_space_w_scaling */
2676
2677#ifndef GL_NV_compute_shader_derivatives
2678#define GL_NV_compute_shader_derivatives 1
2679#endif /* GL_NV_compute_shader_derivatives */
2680
2681#ifndef GL_NV_conditional_render
2682#define GL_NV_conditional_render 1
2683#define GL_QUERY_WAIT_NV 0x8E13
2684#define GL_QUERY_NO_WAIT_NV 0x8E14
2685#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
2686#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
2687typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
2688typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
2689#ifdef GL_GLEXT_PROTOTYPES
2690GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
2691GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
2692#endif
2693#endif /* GL_NV_conditional_render */
2694
2695#ifndef GL_NV_conservative_raster
2696#define GL_NV_conservative_raster 1
2697#define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
2698#define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
2699#define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
2700#define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
2701typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
2702#ifdef GL_GLEXT_PROTOTYPES
2703GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
1775#endif2704#endif
2705#endif /* GL_NV_conservative_raster */
1776 2706
1777/* GL_IMG_multisampled_render_to_texture */2707#ifndef GL_NV_conservative_raster_pre_snap
1778#ifndef GL_IMG_multisampled_render_to_texture2708#define GL_NV_conservative_raster_pre_snap 1
1779#define GL_IMG_multisampled_render_to_texture 12709#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
2710#endif /* GL_NV_conservative_raster_pre_snap */
2711
2712#ifndef GL_NV_conservative_raster_pre_snap_triangles
2713#define GL_NV_conservative_raster_pre_snap_triangles 1
2714#define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
2715#define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
2716#define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
2717typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
1780#ifdef GL_GLEXT_PROTOTYPES2718#ifdef GL_GLEXT_PROTOTYPES
1781GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);2719GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
1782GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1783#endif
1784typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1785typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1786#endif2720#endif
2721#endif /* GL_NV_conservative_raster_pre_snap_triangles */
1787 2722
1788/*------------------------------------------------------------------------*2723#ifndef GL_NV_copy_buffer
1789 * NV extension functions2724#define GL_NV_copy_buffer 1
1790 *------------------------------------------------------------------------*/2725#define GL_COPY_READ_BUFFER_NV 0x8F36
2726#define GL_COPY_WRITE_BUFFER_NV 0x8F37
2727typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2728#ifdef GL_GLEXT_PROTOTYPES
2729GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
2730#endif
2731#endif /* GL_NV_copy_buffer */
1791 2732
1792/* GL_NV_coverage_sample */
1793#ifndef GL_NV_coverage_sample2733#ifndef GL_NV_coverage_sample
1794#define GL_NV_coverage_sample 12734#define GL_NV_coverage_sample 1
2735#define GL_COVERAGE_COMPONENT_NV 0x8ED0
2736#define GL_COVERAGE_COMPONENT4_NV 0x8ED1
2737#define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
2738#define GL_COVERAGE_BUFFERS_NV 0x8ED3
2739#define GL_COVERAGE_SAMPLES_NV 0x8ED4
2740#define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
2741#define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
2742#define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
2743#define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
2744typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
2745typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
1795#ifdef GL_GLEXT_PROTOTYPES2746#ifdef GL_GLEXT_PROTOTYPES
1796GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);2747GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
1797GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);2748GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
1798#endif2749#endif
1799typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);2750#endif /* GL_NV_coverage_sample */
1800typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
1801#endif
1802 2751
1803/* GL_NV_depth_nonlinear */
1804#ifndef GL_NV_depth_nonlinear2752#ifndef GL_NV_depth_nonlinear
1805#define GL_NV_depth_nonlinear 12753#define GL_NV_depth_nonlinear 1
1806#endif2754#define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
2755#endif /* GL_NV_depth_nonlinear */
1807 2756
1808/* GL_NV_draw_buffers */
1809#ifndef GL_NV_draw_buffers2757#ifndef GL_NV_draw_buffers
1810#define GL_NV_draw_buffers 12758#define GL_NV_draw_buffers 1
2759#define GL_MAX_DRAW_BUFFERS_NV 0x8824
2760#define GL_DRAW_BUFFER0_NV 0x8825
2761#define GL_DRAW_BUFFER1_NV 0x8826
2762#define GL_DRAW_BUFFER2_NV 0x8827
2763#define GL_DRAW_BUFFER3_NV 0x8828
2764#define GL_DRAW_BUFFER4_NV 0x8829
2765#define GL_DRAW_BUFFER5_NV 0x882A
2766#define GL_DRAW_BUFFER6_NV 0x882B
2767#define GL_DRAW_BUFFER7_NV 0x882C
2768#define GL_DRAW_BUFFER8_NV 0x882D
2769#define GL_DRAW_BUFFER9_NV 0x882E
2770#define GL_DRAW_BUFFER10_NV 0x882F
2771#define GL_DRAW_BUFFER11_NV 0x8830
2772#define GL_DRAW_BUFFER12_NV 0x8831
2773#define GL_DRAW_BUFFER13_NV 0x8832
2774#define GL_DRAW_BUFFER14_NV 0x8833
2775#define GL_DRAW_BUFFER15_NV 0x8834
2776#define GL_COLOR_ATTACHMENT0_NV 0x8CE0
2777#define GL_COLOR_ATTACHMENT1_NV 0x8CE1
2778#define GL_COLOR_ATTACHMENT2_NV 0x8CE2
2779#define GL_COLOR_ATTACHMENT3_NV 0x8CE3
2780#define GL_COLOR_ATTACHMENT4_NV 0x8CE4
2781#define GL_COLOR_ATTACHMENT5_NV 0x8CE5
2782#define GL_COLOR_ATTACHMENT6_NV 0x8CE6
2783#define GL_COLOR_ATTACHMENT7_NV 0x8CE7
2784#define GL_COLOR_ATTACHMENT8_NV 0x8CE8
2785#define GL_COLOR_ATTACHMENT9_NV 0x8CE9
2786#define GL_COLOR_ATTACHMENT10_NV 0x8CEA
2787#define GL_COLOR_ATTACHMENT11_NV 0x8CEB
2788#define GL_COLOR_ATTACHMENT12_NV 0x8CEC
2789#define GL_COLOR_ATTACHMENT13_NV 0x8CED
2790#define GL_COLOR_ATTACHMENT14_NV 0x8CEE
2791#define GL_COLOR_ATTACHMENT15_NV 0x8CEF
2792typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
1811#ifdef GL_GLEXT_PROTOTYPES2793#ifdef GL_GLEXT_PROTOTYPES
1812GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);2794GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
1813#endif2795#endif
1814typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);2796#endif /* GL_NV_draw_buffers */
1815#endif
1816 2797
1817/* GL_NV_draw_instanced */
1818#ifndef GL_NV_draw_instanced2798#ifndef GL_NV_draw_instanced
1819#define GL_NV_draw_instanced 12799#define GL_NV_draw_instanced 1
2800typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
2801typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1820#ifdef GL_GLEXT_PROTOTYPES2802#ifdef GL_GLEXT_PROTOTYPES
1821GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);2803GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
1822GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);2804GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
1823#endif2805#endif
1824typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);2806#endif /* GL_NV_draw_instanced */
1825typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);2807
2808#ifndef GL_NV_draw_vulkan_image
2809#define GL_NV_draw_vulkan_image 1
2810typedef void (GL_APIENTRY *GLVULKANPROCNV)(void);
2811typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2812typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
2813typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2814typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
2815typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
2816#ifdef GL_GLEXT_PROTOTYPES
2817GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
2818GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name);
2819GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
2820GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
2821GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
1826#endif2822#endif
2823#endif /* GL_NV_draw_vulkan_image */
2824
2825#ifndef GL_NV_explicit_attrib_location
2826#define GL_NV_explicit_attrib_location 1
2827#endif /* GL_NV_explicit_attrib_location */
1827 2828
1828/* GL_NV_fbo_color_attachments */
1829#ifndef GL_NV_fbo_color_attachments2829#ifndef GL_NV_fbo_color_attachments
1830#define GL_NV_fbo_color_attachments 12830#define GL_NV_fbo_color_attachments 1
1831#endif2831#define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
2832#endif /* GL_NV_fbo_color_attachments */
1832 2833
1833/* GL_NV_fence */
1834#ifndef GL_NV_fence2834#ifndef GL_NV_fence
1835#define GL_NV_fence 12835#define GL_NV_fence 1
2836#define GL_ALL_COMPLETED_NV 0x84F2
2837#define GL_FENCE_STATUS_NV 0x84F3
2838#define GL_FENCE_CONDITION_NV 0x84F4
2839typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
2840typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
2841typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
2842typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
2843typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
2844typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
2845typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
1836#ifdef GL_GLEXT_PROTOTYPES2846#ifdef GL_GLEXT_PROTOTYPES
1837GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);2847GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
1838GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);2848GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
@@ -1842,142 +2852,1008 @@ GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *p · 3 unmodified lines
1842GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);2852GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
1843GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);2853GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
1844#endif2854#endif
1845typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);2855#endif /* GL_NV_fence */
1846typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);2856
1847typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);2857#ifndef GL_NV_fill_rectangle
1848typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);2858#define GL_NV_fill_rectangle 1
1849typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);2859#define GL_FILL_RECTANGLE_NV 0x933C
1850typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);2860#endif /* GL_NV_fill_rectangle */
1851typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);2861
2862#ifndef GL_NV_fragment_coverage_to_color
2863#define GL_NV_fragment_coverage_to_color 1
2864#define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
2865#define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
2866typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
2867#ifdef GL_GLEXT_PROTOTYPES
2868GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color);
1852#endif2869#endif
2870#endif /* GL_NV_fragment_coverage_to_color */
2871
2872#ifndef GL_NV_fragment_shader_barycentric
2873#define GL_NV_fragment_shader_barycentric 1
2874#endif /* GL_NV_fragment_shader_barycentric */
2875
2876#ifndef GL_NV_fragment_shader_interlock
2877#define GL_NV_fragment_shader_interlock 1
2878#endif /* GL_NV_fragment_shader_interlock */
1853 2879
1854/* GL_NV_framebuffer_blit */
1855#ifndef GL_NV_framebuffer_blit2880#ifndef GL_NV_framebuffer_blit
1856#define GL_NV_framebuffer_blit 12881#define GL_NV_framebuffer_blit 1
2882#define GL_READ_FRAMEBUFFER_NV 0x8CA8
2883#define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
2884#define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
2885#define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
2886typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
1857#ifdef GL_GLEXT_PROTOTYPES2887#ifdef GL_GLEXT_PROTOTYPES
1858GL_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);2888GL_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);
1859#endif2889#endif
1860typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);2890#endif /* GL_NV_framebuffer_blit */
2891
2892#ifndef GL_NV_framebuffer_mixed_samples
2893#define GL_NV_framebuffer_mixed_samples 1
2894#define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
2895#define GL_COLOR_SAMPLES_NV 0x8E20
2896#define GL_DEPTH_SAMPLES_NV 0x932D
2897#define GL_STENCIL_SAMPLES_NV 0x932E
2898#define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
2899#define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
2900#define GL_COVERAGE_MODULATION_NV 0x9332
2901#define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
2902typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
2903typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufSize, GLfloat *v);
2904typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
2905#ifdef GL_GLEXT_PROTOTYPES
2906GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
2907GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufSize, GLfloat *v);
2908GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components);
1861#endif2909#endif
2910#endif /* GL_NV_framebuffer_mixed_samples */
1862 2911
1863/* GL_NV_framebuffer_multisample */
1864#ifndef GL_NV_framebuffer_multisample2912#ifndef GL_NV_framebuffer_multisample
1865#define GL_NV_framebuffer_multisample 12913#define GL_NV_framebuffer_multisample 1
2914#define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
2915#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
2916#define GL_MAX_SAMPLES_NV 0x8D57
2917typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1866#ifdef GL_GLEXT_PROTOTYPES2918#ifdef GL_GLEXT_PROTOTYPES
1867GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);2919GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1868#endif
1869typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1870#endif2920#endif
2921#endif /* GL_NV_framebuffer_multisample */
1871 2922
1872/* GL_NV_generate_mipmap_sRGB */
1873#ifndef GL_NV_generate_mipmap_sRGB2923#ifndef GL_NV_generate_mipmap_sRGB
1874#define GL_NV_generate_mipmap_sRGB 12924#define GL_NV_generate_mipmap_sRGB 1
1875#endif2925#endif /* GL_NV_generate_mipmap_sRGB */
2926
2927#ifndef GL_NV_geometry_shader_passthrough
2928#define GL_NV_geometry_shader_passthrough 1
2929#endif /* GL_NV_geometry_shader_passthrough */
2930
2931#ifndef GL_NV_gpu_shader5
2932#define GL_NV_gpu_shader5 1
2933typedef khronos_int64_t GLint64EXT;
2934typedef khronos_uint64_t GLuint64EXT;
2935#define GL_INT64_NV 0x140E
2936#define GL_UNSIGNED_INT64_NV 0x140F
2937#define GL_INT8_NV 0x8FE0
2938#define GL_INT8_VEC2_NV 0x8FE1
2939#define GL_INT8_VEC3_NV 0x8FE2
2940#define GL_INT8_VEC4_NV 0x8FE3
2941#define GL_INT16_NV 0x8FE4
2942#define GL_INT16_VEC2_NV 0x8FE5
2943#define GL_INT16_VEC3_NV 0x8FE6
2944#define GL_INT16_VEC4_NV 0x8FE7
2945#define GL_INT64_VEC2_NV 0x8FE9
2946#define GL_INT64_VEC3_NV 0x8FEA
2947#define GL_INT64_VEC4_NV 0x8FEB
2948#define GL_UNSIGNED_INT8_NV 0x8FEC
2949#define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
2950#define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
2951#define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
2952#define GL_UNSIGNED_INT16_NV 0x8FF0
2953#define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
2954#define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
2955#define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
2956#define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
2957#define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
2958#define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
2959#define GL_FLOAT16_NV 0x8FF8
2960#define GL_FLOAT16_VEC2_NV 0x8FF9
2961#define GL_FLOAT16_VEC3_NV 0x8FFA
2962#define GL_FLOAT16_VEC4_NV 0x8FFB
2963#define GL_PATCHES 0x000E
2964typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
2965typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
2966typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2967typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2968typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2969typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2970typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2971typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
2972typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
2973typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
2974typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2975typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2976typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2977typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2978typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2979typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
2980typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
2981typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
2982typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
2983typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
2984typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
2985typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2986typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2987typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2988typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
2989typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
2990typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
2991typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
2992typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
2993typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2994typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2995typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2996typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
2997#ifdef GL_GLEXT_PROTOTYPES
2998GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
2999GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
3000GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
3001GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
3002GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
3003GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
3004GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
3005GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
3006GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
3007GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
3008GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
3009GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
3010GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
3011GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
3012GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
3013GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
3014GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
3015GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
3016GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
3017GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
3018GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
3019GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
3020GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
3021GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
3022GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
3023GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
3024GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
3025GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
3026GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
3027GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
3028GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
3029GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
3030GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
3031#endif
3032#endif /* GL_NV_gpu_shader5 */
3033
3034#ifndef GL_NV_image_formats
3035#define GL_NV_image_formats 1
3036#endif /* GL_NV_image_formats */
1876 3037
1877/* GL_NV_instanced_arrays */
1878#ifndef GL_NV_instanced_arrays3038#ifndef GL_NV_instanced_arrays
1879#define GL_NV_instanced_arrays 13039#define GL_NV_instanced_arrays 1
3040#define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
3041typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
1880#ifdef GL_GLEXT_PROTOTYPES3042#ifdef GL_GLEXT_PROTOTYPES
1881GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);3043GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
1882#endif3044#endif
1883typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);3045#endif /* GL_NV_instanced_arrays */
3046
3047#ifndef GL_NV_internalformat_sample_query
3048#define GL_NV_internalformat_sample_query 1
3049#define GL_TEXTURE_2D_MULTISAMPLE 0x9100
3050#define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
3051#define GL_MULTISAMPLES_NV 0x9371
3052#define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
3053#define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
3054#define GL_CONFORMANT_NV 0x9374
3055typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
3056#ifdef GL_GLEXT_PROTOTYPES
3057GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei count, GLint *params);
3058#endif
3059#endif /* GL_NV_internalformat_sample_query */
3060
3061#ifndef GL_NV_memory_attachment
3062#define GL_NV_memory_attachment 1
3063#define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
3064#define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
3065#define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
3066#define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
3067#define GL_MEMORY_ATTACHABLE_NV 0x95A8
3068#define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
3069#define GL_DETACHED_TEXTURES_NV 0x95AA
3070#define GL_DETACHED_BUFFERS_NV 0x95AB
3071#define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
3072#define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
3073typedef void (GL_APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC) (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
3074typedef void (GL_APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC) (GLuint memory, GLenum pname);
3075typedef void (GL_APIENTRYP PFNGLTEXATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
3076typedef void (GL_APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC) (GLenum target, GLuint memory, GLuint64 offset);
3077typedef void (GL_APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC) (GLuint texture, GLuint memory, GLuint64 offset);
3078typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC) (GLuint buffer, GLuint memory, GLuint64 offset);
3079#ifdef GL_GLEXT_PROTOTYPES
3080GL_APICALL void GL_APIENTRY glGetMemoryObjectDetachedResourcesuivNV (GLuint memory, GLenum pname, GLint first, GLsizei count, GLuint *params);
3081GL_APICALL void GL_APIENTRY glResetMemoryObjectParameterNV (GLuint memory, GLenum pname);
3082GL_APICALL void GL_APIENTRY glTexAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
3083GL_APICALL void GL_APIENTRY glBufferAttachMemoryNV (GLenum target, GLuint memory, GLuint64 offset);
3084GL_APICALL void GL_APIENTRY glTextureAttachMemoryNV (GLuint texture, GLuint memory, GLuint64 offset);
3085GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV (GLuint buffer, GLuint memory, GLuint64 offset);
3086#endif
3087#endif /* GL_NV_memory_attachment */
3088
3089#ifndef GL_NV_memory_object_sparse
3090#define GL_NV_memory_object_sparse 1
3091typedef void (GL_APIENTRYP PFNGLBUFFERPAGECOMMITMENTMEMNVPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3092typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTMEMNVPROC) (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
3093typedef void (GL_APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTMEMNVPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3094typedef void (GL_APIENTRYP PFNGLTEXTUREPAGECOMMITMENTMEMNVPROC) (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
3095#ifdef GL_GLEXT_PROTOTYPES
3096GL_APICALL void GL_APIENTRY glBufferPageCommitmentMemNV (GLenum target, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3097GL_APICALL void GL_APIENTRY glTexPageCommitmentMemNV (GLenum target, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
3098GL_APICALL void GL_APIENTRY glNamedBufferPageCommitmentMemNV (GLuint buffer, GLintptr offset, GLsizeiptr size, GLuint memory, GLuint64 memOffset, GLboolean commit);
3099GL_APICALL void GL_APIENTRY glTexturePageCommitmentMemNV (GLuint texture, GLint layer, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset, GLboolean commit);
3100#endif
3101#endif /* GL_NV_memory_object_sparse */
3102
3103#ifndef GL_NV_mesh_shader
3104#define GL_NV_mesh_shader 1
3105#define GL_MESH_SHADER_NV 0x9559
3106#define GL_TASK_SHADER_NV 0x955A
3107#define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
3108#define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
3109#define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
3110#define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
3111#define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
3112#define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
3113#define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
3114#define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
3115#define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
3116#define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
3117#define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
3118#define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
3119#define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
3120#define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
3121#define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
3122#define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
3123#define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
3124#define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
3125#define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
3126#define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
3127#define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
3128#define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
3129#define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
3130#define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
3131#define GL_MAX_MESH_VIEWS_NV 0x9557
3132#define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
3133#define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
3134#define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
3135#define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
3136#define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
3137#define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
3138#define GL_MESH_VERTICES_OUT_NV 0x9579
3139#define GL_MESH_PRIMITIVES_OUT_NV 0x957A
3140#define GL_MESH_OUTPUT_TYPE_NV 0x957B
3141#define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
3142#define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
3143#define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
3144#define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
3145#define GL_MESH_SHADER_BIT_NV 0x00000040
3146#define GL_TASK_SHADER_BIT_NV 0x00000080
3147#define GL_MESH_SUBROUTINE_NV 0x957C
3148#define GL_TASK_SUBROUTINE_NV 0x957D
3149#define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
3150#define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
3151#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
3152#define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
3153typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSNVPROC) (GLuint first, GLuint count);
3154typedef void (GL_APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect);
3155typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC) (GLintptr indirect, GLsizei drawcount, GLsizei stride);
3156typedef void (GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC) (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3157#ifdef GL_GLEXT_PROTOTYPES
3158GL_APICALL void GL_APIENTRY glDrawMeshTasksNV (GLuint first, GLuint count);
3159GL_APICALL void GL_APIENTRY glDrawMeshTasksIndirectNV (GLintptr indirect);
3160GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV (GLintptr indirect, GLsizei drawcount, GLsizei stride);
3161GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectCountNV (GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
3162#endif
3163#endif /* GL_NV_mesh_shader */
3164
3165#ifndef GL_NV_non_square_matrices
3166#define GL_NV_non_square_matrices 1
3167#define GL_FLOAT_MAT2x3_NV 0x8B65
3168#define GL_FLOAT_MAT2x4_NV 0x8B66
3169#define GL_FLOAT_MAT3x2_NV 0x8B67
3170#define GL_FLOAT_MAT3x4_NV 0x8B68
3171#define GL_FLOAT_MAT4x2_NV 0x8B69
3172#define GL_FLOAT_MAT4x3_NV 0x8B6A
3173typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3174typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3175typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3176typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3177typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3178typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3179#ifdef GL_GLEXT_PROTOTYPES
3180GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3181GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3182GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3183GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3184GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3185GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
3186#endif
3187#endif /* GL_NV_non_square_matrices */
3188
3189#ifndef GL_NV_path_rendering
3190#define GL_NV_path_rendering 1
3191typedef double GLdouble;
3192#define GL_PATH_FORMAT_SVG_NV 0x9070
3193#define GL_PATH_FORMAT_PS_NV 0x9071
3194#define GL_STANDARD_FONT_NAME_NV 0x9072
3195#define GL_SYSTEM_FONT_NAME_NV 0x9073
3196#define GL_FILE_NAME_NV 0x9074
3197#define GL_PATH_STROKE_WIDTH_NV 0x9075
3198#define GL_PATH_END_CAPS_NV 0x9076
3199#define GL_PATH_INITIAL_END_CAP_NV 0x9077
3200#define GL_PATH_TERMINAL_END_CAP_NV 0x9078
3201#define GL_PATH_JOIN_STYLE_NV 0x9079
3202#define GL_PATH_MITER_LIMIT_NV 0x907A
3203#define GL_PATH_DASH_CAPS_NV 0x907B
3204#define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
3205#define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
3206#define GL_PATH_DASH_OFFSET_NV 0x907E
3207#define GL_PATH_CLIENT_LENGTH_NV 0x907F
3208#define GL_PATH_FILL_MODE_NV 0x9080
3209#define GL_PATH_FILL_MASK_NV 0x9081
3210#define GL_PATH_FILL_COVER_MODE_NV 0x9082
3211#define GL_PATH_STROKE_COVER_MODE_NV 0x9083
3212#define GL_PATH_STROKE_MASK_NV 0x9084
3213#define GL_COUNT_UP_NV 0x9088
3214#define GL_COUNT_DOWN_NV 0x9089
3215#define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
3216#define GL_CONVEX_HULL_NV 0x908B
3217#define GL_BOUNDING_BOX_NV 0x908D
3218#define GL_TRANSLATE_X_NV 0x908E
3219#define GL_TRANSLATE_Y_NV 0x908F
3220#define GL_TRANSLATE_2D_NV 0x9090
3221#define GL_TRANSLATE_3D_NV 0x9091
3222#define GL_AFFINE_2D_NV 0x9092
3223#define GL_AFFINE_3D_NV 0x9094
3224#define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
3225#define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
3226#define GL_UTF8_NV 0x909A
3227#define GL_UTF16_NV 0x909B
3228#define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
3229#define GL_PATH_COMMAND_COUNT_NV 0x909D
3230#define GL_PATH_COORD_COUNT_NV 0x909E
3231#define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
3232#define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
3233#define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
3234#define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
3235#define GL_SQUARE_NV 0x90A3
3236#define GL_ROUND_NV 0x90A4
3237#define GL_TRIANGULAR_NV 0x90A5
3238#define GL_BEVEL_NV 0x90A6
3239#define GL_MITER_REVERT_NV 0x90A7
3240#define GL_MITER_TRUNCATE_NV 0x90A8
3241#define GL_SKIP_MISSING_GLYPH_NV 0x90A9
3242#define GL_USE_MISSING_GLYPH_NV 0x90AA
3243#define GL_PATH_ERROR_POSITION_NV 0x90AB
3244#define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
3245#define GL_ADJACENT_PAIRS_NV 0x90AE
3246#define GL_FIRST_TO_REST_NV 0x90AF
3247#define GL_PATH_GEN_MODE_NV 0x90B0
3248#define GL_PATH_GEN_COEFF_NV 0x90B1
3249#define GL_PATH_GEN_COMPONENTS_NV 0x90B3
3250#define GL_PATH_STENCIL_FUNC_NV 0x90B7
3251#define GL_PATH_STENCIL_REF_NV 0x90B8
3252#define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
3253#define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
3254#define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
3255#define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
3256#define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
3257#define GL_MOVE_TO_RESETS_NV 0x90B5
3258#define GL_MOVE_TO_CONTINUES_NV 0x90B6
3259#define GL_CLOSE_PATH_NV 0x00
3260#define GL_MOVE_TO_NV 0x02
3261#define GL_RELATIVE_MOVE_TO_NV 0x03
3262#define GL_LINE_TO_NV 0x04
3263#define GL_RELATIVE_LINE_TO_NV 0x05
3264#define GL_HORIZONTAL_LINE_TO_NV 0x06
3265#define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
3266#define GL_VERTICAL_LINE_TO_NV 0x08
3267#define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
3268#define GL_QUADRATIC_CURVE_TO_NV 0x0A
3269#define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
3270#define GL_CUBIC_CURVE_TO_NV 0x0C
3271#define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
3272#define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
3273#define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
3274#define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
3275#define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
3276#define GL_SMALL_CCW_ARC_TO_NV 0x12
3277#define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
3278#define GL_SMALL_CW_ARC_TO_NV 0x14
3279#define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
3280#define GL_LARGE_CCW_ARC_TO_NV 0x16
3281#define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
3282#define GL_LARGE_CW_ARC_TO_NV 0x18
3283#define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
3284#define GL_RESTART_PATH_NV 0xF0
3285#define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
3286#define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
3287#define GL_RECT_NV 0xF6
3288#define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
3289#define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
3290#define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
3291#define GL_ARC_TO_NV 0xFE
3292#define GL_RELATIVE_ARC_TO_NV 0xFF
3293#define GL_BOLD_BIT_NV 0x01
3294#define GL_ITALIC_BIT_NV 0x02
3295#define GL_GLYPH_WIDTH_BIT_NV 0x01
3296#define GL_GLYPH_HEIGHT_BIT_NV 0x02
3297#define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
3298#define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
3299#define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
3300#define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
3301#define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
3302#define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
3303#define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
3304#define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
3305#define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
3306#define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
3307#define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
3308#define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
3309#define GL_FONT_ASCENDER_BIT_NV 0x00200000
3310#define GL_FONT_DESCENDER_BIT_NV 0x00400000
3311#define GL_FONT_HEIGHT_BIT_NV 0x00800000
3312#define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
3313#define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
3314#define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
3315#define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
3316#define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
3317#define GL_ROUNDED_RECT_NV 0xE8
3318#define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
3319#define GL_ROUNDED_RECT2_NV 0xEA
3320#define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
3321#define GL_ROUNDED_RECT4_NV 0xEC
3322#define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
3323#define GL_ROUNDED_RECT8_NV 0xEE
3324#define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
3325#define GL_RELATIVE_RECT_NV 0xF7
3326#define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
3327#define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
3328#define GL_FONT_UNAVAILABLE_NV 0x936A
3329#define GL_FONT_UNINTELLIGIBLE_NV 0x936B
3330#define GL_CONIC_CURVE_TO_NV 0x1A
3331#define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
3332#define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
3333#define GL_STANDARD_FONT_FORMAT_NV 0x936C
3334#define GL_PATH_PROJECTION_NV 0x1701
3335#define GL_PATH_MODELVIEW_NV 0x1700
3336#define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
3337#define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
3338#define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
3339#define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
3340#define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
3341#define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
3342#define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
3343#define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
3344#define GL_FRAGMENT_INPUT_NV 0x936D
3345typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
3346typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
3347typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
3348typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3349typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
3350typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3351typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
3352typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
3353typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3354typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3355typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
3356typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
3357typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
3358typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
3359typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
3360typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
3361typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
3362typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
3363typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
3364typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
3365typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
3366typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
3367typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
3368typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3369typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3370typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
3371typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
3372typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
3373typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3374typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3375typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
3376typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
3377typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
3378typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
3379typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
3380typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
3381typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
3382typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
3383typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
3384typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
3385typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
3386typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
3387typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
3388typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3389typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3390typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
3391typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3392typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
3393typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
3394typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
3395typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3396typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3397typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
3398typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3399typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3400typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
3401typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
3402typedef void (GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3403typedef void (GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
3404typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
3405typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
3406typedef void (GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
3407typedef void (GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
3408typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
3409typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
3410typedef void (GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
3411typedef void (GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
3412typedef void (GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3413typedef void (GL_APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
3414typedef void (GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
3415typedef void (GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
3416typedef void (GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
3417typedef void (GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3418typedef void (GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3419typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3420typedef void (GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3421#ifdef GL_GLEXT_PROTOTYPES
3422GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range);
3423GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
3424GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path);
3425GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3426GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
3427GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
3428GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
3429GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
3430GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3431GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3432GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
3433GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
3434GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
3435GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
3436GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
3437GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
3438GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
3439GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
3440GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
3441GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
3442GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
3443GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
3444GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
3445GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3446GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
3447GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func);
3448GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
3449GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
3450GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3451GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3452GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
3453GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
3454GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
3455GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
3456GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
3457GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
3458GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
3459GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
3460GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
3461GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
3462GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
3463GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
3464GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
3465GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
3466GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
3467GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
3468GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
3469GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
3470GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
3471GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
3472GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3473GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
3474GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint *baseAndCount);
3475GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3476GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
3477GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
3478GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei count, GLsizei *length, GLfloat *params);
3479GL_APICALL void GL_APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3480GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
3481GL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
3482GL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
3483GL_APICALL void GL_APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
3484GL_APICALL void GL_APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
3485GL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
3486GL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
3487GL_APICALL void GL_APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
3488GL_APICALL void GL_APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
3489GL_APICALL void GL_APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
3490GL_APICALL void GL_APIENTRY glMatrixPopEXT (GLenum mode);
3491GL_APICALL void GL_APIENTRY glMatrixPushEXT (GLenum mode);
3492GL_APICALL void GL_APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
3493GL_APICALL void GL_APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
3494GL_APICALL void GL_APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3495GL_APICALL void GL_APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3496GL_APICALL void GL_APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
3497GL_APICALL void GL_APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
3498#endif
3499#endif /* GL_NV_path_rendering */
3500
3501#ifndef GL_NV_path_rendering_shared_edge
3502#define GL_NV_path_rendering_shared_edge 1
3503#define GL_SHARED_EDGE_NV 0xC0
3504#endif /* GL_NV_path_rendering_shared_edge */
3505
3506#ifndef GL_NV_pixel_buffer_object
3507#define GL_NV_pixel_buffer_object 1
3508#define GL_PIXEL_PACK_BUFFER_NV 0x88EB
3509#define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC
3510#define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED
3511#define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF
3512#endif /* GL_NV_pixel_buffer_object */
3513
3514#ifndef GL_NV_polygon_mode
3515#define GL_NV_polygon_mode 1
3516#define GL_POLYGON_MODE_NV 0x0B40
3517#define GL_POLYGON_OFFSET_POINT_NV 0x2A01
3518#define GL_POLYGON_OFFSET_LINE_NV 0x2A02
3519#define GL_POINT_NV 0x1B00
3520#define GL_LINE_NV 0x1B01
3521#define GL_FILL_NV 0x1B02
3522typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode);
3523#ifdef GL_GLEXT_PROTOTYPES
3524GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
1884#endif3525#endif
3526#endif /* GL_NV_polygon_mode */
3527
3528#ifndef GL_NV_primitive_shading_rate
3529#define GL_NV_primitive_shading_rate 1
3530#define GL_SHADING_RATE_IMAGE_PER_PRIMITIVE_NV 0x95B1
3531#define GL_SHADING_RATE_IMAGE_PALETTE_COUNT_NV 0x95B2
3532#endif /* GL_NV_primitive_shading_rate */
1885 3533
1886/* GL_NV_read_buffer */
1887#ifndef GL_NV_read_buffer3534#ifndef GL_NV_read_buffer
1888#define GL_NV_read_buffer 13535#define GL_NV_read_buffer 1
3536#define GL_READ_BUFFER_NV 0x0C02
3537typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
1889#ifdef GL_GLEXT_PROTOTYPES3538#ifdef GL_GLEXT_PROTOTYPES
1890GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);3539GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
1891#endif3540#endif
1892typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);3541#endif /* GL_NV_read_buffer */
1893#endif
1894 3542
1895/* GL_NV_read_buffer_front */
1896#ifndef GL_NV_read_buffer_front3543#ifndef GL_NV_read_buffer_front
1897#define GL_NV_read_buffer_front 13544#define GL_NV_read_buffer_front 1
1898#endif3545#endif /* GL_NV_read_buffer_front */
1899 3546
1900/* GL_NV_read_depth */
1901#ifndef GL_NV_read_depth3547#ifndef GL_NV_read_depth
1902#define GL_NV_read_depth 13548#define GL_NV_read_depth 1
1903#endif3549#endif /* GL_NV_read_depth */
1904 3550
1905/* GL_NV_read_depth_stencil */
1906#ifndef GL_NV_read_depth_stencil3551#ifndef GL_NV_read_depth_stencil
1907#define GL_NV_read_depth_stencil 13552#define GL_NV_read_depth_stencil 1
1908#endif3553#endif /* GL_NV_read_depth_stencil */
1909 3554
1910/* GL_NV_read_stencil */
1911#ifndef GL_NV_read_stencil3555#ifndef GL_NV_read_stencil
1912#define GL_NV_read_stencil 13556#define GL_NV_read_stencil 1
3557#endif /* GL_NV_read_stencil */
3558
3559#ifndef GL_NV_representative_fragment_test
3560#define GL_NV_representative_fragment_test 1
3561#define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
3562#endif /* GL_NV_representative_fragment_test */
3563
3564#ifndef GL_NV_sRGB_formats
3565#define GL_NV_sRGB_formats 1
3566#define GL_SLUMINANCE_NV 0x8C46
3567#define GL_SLUMINANCE_ALPHA_NV 0x8C44
3568#define GL_SRGB8_NV 0x8C41
3569#define GL_SLUMINANCE8_NV 0x8C47
3570#define GL_SLUMINANCE8_ALPHA8_NV 0x8C45

522 more lines aren’t shown here.

release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h+6−9
@@ -1,20 +1,17 @@
1#ifndef __gl2platform_h_1#ifndef __gl2platform_h_
2#define __gl2platform_h_2#define __gl2platform_h_
3 3
4/* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */
5
6/*4/*
7 * This document is licensed under the SGI Free Software B License Version5** Copyright 2017-2020 The Khronos Group Inc.
8 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .6** SPDX-License-Identifier: Apache-2.0
9 */7*/
10 8
11/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h9/* Platform-specific types and definitions for OpenGL ES 2.X gl2.h
12 *10 *
13 * Adopters may modify khrplatform.h and this file to suit their platform.11 * Adopters may modify khrplatform.h and this file to suit their platform.
14 * You are encouraged to submit all modifications to the Khronos group so that12 * Please contribute modifications back to Khronos as pull requests on the
15 * they can be included in future versions of this file. Please submit changes13 * public github repository:
16 * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla)14 * https://github.com/KhronosGroup/OpenGL-Registry
17 * by filing a bug against product "OpenGL-ES" component "Registry".
18 */15 */
19 16
20/*#include <KHR/khrplatform.h>*/17/*#include <KHR/khrplatform.h>*/
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_opengles2_khrplatform.h+43−14
@@ -2,7 +2,7 @@ · 1 unmodified line
2#define __khrplatform_h_2#define __khrplatform_h_
3 3
4/*4/*
5** Copyright (c) 2008-2009 The Khronos Group Inc.5** Copyright (c) 2008-2018 The Khronos Group Inc.
6**6**
7** Permission is hereby granted, free of charge, to any person obtaining a7** Permission is hereby granted, free of charge, to any person obtaining a
8** copy of this software and/or associated documentation files (the8** copy of this software and/or associated documentation files (the
@@ -26,18 +26,16 @@ · 17 unmodified lines
26 26
27/* Khronos platform-specific types and definitions.27/* Khronos platform-specific types and definitions.
28 *28 *
29 * $Revision: 23298 $ on $Date: 2013-09-30 17:07:13 -0700 (Mon, 30 Sep 2013) $29 * The master copy of khrplatform.h is maintained in the Khronos EGL
30 * Registry repository at https://github.com/KhronosGroup/EGL-Registry
31 * The last semantic modification to khrplatform.h was at commit ID:
32 * 67a3e0864c2d75ea5287b9f3d2eb74a745936692
30 *33 *
31 * Adopters may modify this file to suit their platform. Adopters are34 * Adopters may modify this file to suit their platform. Adopters are
32 * encouraged to submit platform specific modifications to the Khronos35 * encouraged to submit platform specific modifications to the Khronos
33 * group so that they can be included in future versions of this file.36 * group so that they can be included in future versions of this file.
34 * Please submit changes by sending them to the public Khronos Bugzilla37 * Please submit changes by filing pull requests or issues on
35 * (http://khronos.org/bugzilla) by filing a bug against product38 * the EGL Registry repository linked above.
36 * "Khronos (general)" component "Registry".
37 *
38 * A predefined template which fills in some of the bug fields can be
39 * reached using http://tinyurl.com/khrplatform-h-bugreport, but you
40 * must create a Bugzilla login first.
41 *39 *
42 *40 *
43 * See the Implementer's Guidelines for information about where this file41 * See the Implementer's Guidelines for information about where this file
@@ -92,15 +90,25 @@ · 48 unmodified lines
92 * int arg2) KHRONOS_APIATTRIBUTES;90 * int arg2) KHRONOS_APIATTRIBUTES;
93 */91 */
94 92
93#if defined(__SCITECH_SNAP__) && !defined(KHRONOS_STATIC)
94# define KHRONOS_STATIC 1
95#endif
96
95/*-------------------------------------------------------------------------97/*-------------------------------------------------------------------------
96 * Definition of KHRONOS_APICALL98 * Definition of KHRONOS_APICALL
97 *-------------------------------------------------------------------------99 *-------------------------------------------------------------------------
98 * This precedes the return type of the function in the function prototype.100 * This precedes the return type of the function in the function prototype.
99 */101 */
100#if defined(_WIN32) && !defined(__SCITECH_SNAP__)102#if defined(KHRONOS_STATIC)
103 /* If the preprocessor constant KHRONOS_STATIC is defined, make the
104 * header compatible with static linking. */
105# define KHRONOS_APICALL
106#elif defined(_WIN32)
101# define KHRONOS_APICALL __declspec(dllimport)107# define KHRONOS_APICALL __declspec(dllimport)
102#elif defined (__SYMBIAN32__)108#elif defined (__SYMBIAN32__)
103# define KHRONOS_APICALL IMPORT_C109# define KHRONOS_APICALL IMPORT_C
110#elif defined(__ANDROID__)
111# define KHRONOS_APICALL __attribute__((visibility("default")))
104#else112#else
105# define KHRONOS_APICALL113# define KHRONOS_APICALL
106#endif114#endif
@@ -145,6 +153,20 @@ typedef int64_t khronos_int64_t; · 38 unmodified lines
145typedef uint64_t khronos_uint64_t;153typedef uint64_t khronos_uint64_t;
146#define KHRONOS_SUPPORT_INT64 1154#define KHRONOS_SUPPORT_INT64 1
147#define KHRONOS_SUPPORT_FLOAT 1155#define KHRONOS_SUPPORT_FLOAT 1
156/*
157 * To support platform where unsigned long cannot be used interchangeably with
158 * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
159 * Ideally, we could just use (u)intptr_t everywhere, but this could result in
160 * ABI breakage if khronos_uintptr_t is changed from unsigned long to
161 * unsigned long long or similar (this results in different C++ name mangling).
162 * To avoid changes for existing platforms, we restrict usage of intptr_t to
163 * platforms where the size of a pointer is larger than the size of long.
164 */
165#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
166#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
167#define KHRONOS_USE_INTPTR_T
168#endif
169#endif
148 170
149#elif defined(__VMS ) || defined(__sgi)171#elif defined(__VMS ) || defined(__sgi)
150 172
@@ -223,18 +245,25 @@ typedef signed short int khronos_int16_t; · 72 unmodified lines
223typedef unsigned short int khronos_uint16_t;245typedef unsigned short int khronos_uint16_t;
224 246
225/*247/*
226 * Types that differ between LLP64 and LP64 architectures - in LLP64, 248 * Types that differ between LLP64 and LP64 architectures - in LLP64,
227 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears249 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
228 * to be the only LLP64 architecture in current use.250 * to be the only LLP64 architecture in current use.
229 */251 */
230#ifdef _WIN64252#ifdef KHRONOS_USE_INTPTR_T
253typedef intptr_t khronos_intptr_t;
254typedef uintptr_t khronos_uintptr_t;
255#elif defined(_WIN64)
231typedef signed long long int khronos_intptr_t;256typedef signed long long int khronos_intptr_t;
232typedef unsigned long long int khronos_uintptr_t;257typedef unsigned long long int khronos_uintptr_t;
233typedef signed long long int khronos_ssize_t;
234typedef unsigned long long int khronos_usize_t;
235#else258#else
236typedef signed long int khronos_intptr_t;259typedef signed long int khronos_intptr_t;
237typedef unsigned long int khronos_uintptr_t;260typedef unsigned long int khronos_uintptr_t;
261#endif
262
263#if defined(_WIN64)
264typedef signed long long int khronos_ssize_t;
265typedef unsigned long long int khronos_usize_t;
266#else
238typedef signed long int khronos_ssize_t;267typedef signed long int khronos_ssize_t;
239typedef unsigned long int khronos_usize_t;268typedef unsigned long int khronos_usize_t;
240#endif269#endif
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_pixels.h+4−4
@@ -28,10 +28,10 @@ · 27 unmodified lines
28#ifndef SDL_pixels_h_28#ifndef SDL_pixels_h_
29#define SDL_pixels_h_29#define SDL_pixels_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_endian.h"32#include <SDL2/SDL_endian.h>
33 33
34#include "begin_code.h"34#include <SDL2/begin_code.h>
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
37extern "C" {37extern "C" {
@@ -637,7 +637,7 @@ extern DECLSPEC void SDLCALL SDL_CalculateGammaRamp(float gamma, Uint16 * ramp); · 599 unmodified lines
637#ifdef __cplusplus637#ifdef __cplusplus
638}638}
639#endif639#endif
640#include "close_code.h"640#include <SDL2/close_code.h>
641 641
642#endif /* SDL_pixels_h_ */642#endif /* SDL_pixels_h_ */
643 643
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_platform.h+34−8
@@ -65,11 +65,15 @@ · 64 unmodified lines
65#undef __LINUX__ /* do we need to do this? */65#undef __LINUX__ /* do we need to do this? */
66#define __ANDROID__ 166#define __ANDROID__ 1
67#endif67#endif
68#if defined(__NGAGE__)
69#undef __NGAGE__
70#define __NGAGE__ 1
71#endif
68 72
69#if defined(__APPLE__)73#if defined(__APPLE__)
70/* lets us know what version of Mac OS X we're compiling on */74/* lets us know what version of Mac OS X we're compiling on */
71#include "AvailabilityMacros.h"75#include <AvailabilityMacros.h>
72#include "TargetConditionals.h"76#include <TargetConditionals.h>
73 77
74/* Fix building with older SDKs that don't define these78/* Fix building with older SDKs that don't define these
75 See this for more information:79 See this for more information:
@@ -104,9 +108,9 @@ · 28 unmodified lines
104/* if not compiling for iOS */108/* if not compiling for iOS */
105#undef __MACOSX__109#undef __MACOSX__
106#define __MACOSX__ 1110#define __MACOSX__ 1
107#if MAC_OS_X_VERSION_MIN_REQUIRED < 1060111#if MAC_OS_X_VERSION_MIN_REQUIRED < 1070
108# error SDL for Mac OS X only supports deploying on 10.6 and above.112# error SDL for Mac OS X only supports deploying on 10.7 and above.
109#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1060 */113#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < 1070 */
110#endif /* TARGET_OS_IPHONE */114#endif /* TARGET_OS_IPHONE */
111#endif /* defined(__APPLE__) */115#endif /* defined(__APPLE__) */
112 116
@@ -140,7 +144,7 @@ · 27 unmodified lines
140#endif144#endif
141 145
142#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)146#if defined(WIN32) || defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
143/* Try to find out if we're compiling for WinRT or non-WinRT */147/* Try to find out if we're compiling for WinRT, GDK or non-WinRT/GDK */
144#if defined(_MSC_VER) && defined(__has_include)148#if defined(_MSC_VER) && defined(__has_include)
145#if __has_include(<winapifamily.h>)149#if __has_include(<winapifamily.h>)
146#define HAVE_WINAPIFAMILY_H 1150#define HAVE_WINAPIFAMILY_H 1
@@ -165,6 +169,15 @@ · 18 unmodified lines
165#if WINAPI_FAMILY_WINRT169#if WINAPI_FAMILY_WINRT
166#undef __WINRT__170#undef __WINRT__
167#define __WINRT__ 1171#define __WINRT__ 1
172#elif defined(_GAMING_DESKTOP) /* GDK project configuration always defines _GAMING_XXX */
173#undef __WINGDK__
174#define __WINGDK__ 1
175#elif defined(_GAMING_XBOX_XBOXONE)
176#undef __XBOXONE__
177#define __XBOXONE__ 1
178#elif defined(_GAMING_XBOX_SCARLETT)
179#undef __XBOXSERIES__
180#define __XBOXSERIES__ 1
168#else181#else
169#undef __WINDOWS__182#undef __WINDOWS__
170#define __WINDOWS__ 1183#define __WINDOWS__ 1
@@ -175,10 +188,18 @@ · 4 unmodified lines
175#undef __WIN32__188#undef __WIN32__
176#define __WIN32__ 1189#define __WIN32__ 1
177#endif190#endif
191/* This is to support generic "any GDK" separate from a platform-specific GDK */
192#if defined(__WINGDK__) || defined(__XBOXONE__) || defined(__XBOXSERIES__)
193#undef __GDK__
194#define __GDK__ 1
195#endif
178#if defined(__PSP__)196#if defined(__PSP__)
179#undef __PSP__197#undef __PSP__
180#define __PSP__ 1198#define __PSP__ 1
181#endif199#endif
200#if defined(PS2)
201#define __PS2__ 1
202#endif
182 203
183/* The NACL compiler defines __native_client__ and __pnacl__204/* The NACL compiler defines __native_client__ and __pnacl__
184 * Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi205 * Ref: http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
@@ -200,7 +221,12 @@ · 15 unmodified lines
200#define __VITA__ 1221#define __VITA__ 1
201#endif222#endif
202 223
203#include "begin_code.h"224#if defined(__3DS__)
225#undef __3DS__
226#define __3DS__ 1
227#endif
228
229#include <SDL2/begin_code.h>
204/* Set up for C function definitions, even when using C++ */230/* Set up for C function definitions, even when using C++ */
205#ifdef __cplusplus231#ifdef __cplusplus
206extern "C" {232extern "C" {
@@ -228,7 +254,7 @@ extern DECLSPEC const char * SDLCALL SDL_GetPlatform (void); · 21 unmodified lines
228#ifdef __cplusplus254#ifdef __cplusplus
229}255}
230#endif256#endif
231#include "close_code.h"257#include <SDL2/close_code.h>
232 258
233#endif /* SDL_platform_h_ */259#endif /* SDL_platform_h_ */
234 260
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_power.h+3−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28 * Header for the SDL power management routines.28 * Header for the SDL power management routines.
29 */29 */
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -81,7 +81,7 @@ extern DECLSPEC SDL_PowerState SDLCALL SDL_GetPowerInfo(int *secs, int *pct); · 44 unmodified lines
81#ifdef __cplusplus81#ifdef __cplusplus
82}82}
83#endif83#endif
84#include "close_code.h"84#include <SDL2/close_code.h>
85 85
86#endif /* SDL_power_h_ */86#endif /* SDL_power_h_ */
87 87
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_quit.h+2−2
@@ -28,8 +28,8 @@ · 27 unmodified lines
28#ifndef SDL_quit_h_28#ifndef SDL_quit_h_
29#define SDL_quit_h_29#define SDL_quit_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33 33
34/**34/**
35 * \file SDL_quit.h35 * \file SDL_quit.h
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rect.h+160−8
@@ -28,12 +28,12 @@ · 27 unmodified lines
28#ifndef SDL_rect_h_28#ifndef SDL_rect_h_
29#define SDL_rect_h_29#define SDL_rect_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_pixels.h"33#include <SDL2/SDL_pixels.h>
34#include "SDL_rwops.h"34#include <SDL2/SDL_rwops.h>
35 35
36#include "begin_code.h"36#include <SDL2/begin_code.h>
37/* Set up for C function definitions, even when using C++ */37/* Set up for C function definitions, even when using C++ */
38#ifdef __cplusplus38#ifdef __cplusplus
39extern "C" {39extern "C" {
@@ -54,8 +54,8 @@ typedef struct SDL_Point · 14 unmodified lines
54/**54/**
55 * The structure that defines a point (floating point)55 * The structure that defines a point (floating point)
56 *56 *
57 * \sa SDL_EnclosePoints57 * \sa SDL_EncloseFPoints
58 * \sa SDL_PointInRect58 * \sa SDL_PointInFRect
59 */59 */
60typedef struct SDL_FPoint60typedef struct SDL_FPoint
61{61{
@@ -71,6 +71,7 @@ typedef struct SDL_FPoint · 9 unmodified lines
71 * \sa SDL_RectEquals71 * \sa SDL_RectEquals
72 * \sa SDL_HasIntersection72 * \sa SDL_HasIntersection
73 * \sa SDL_IntersectRect73 * \sa SDL_IntersectRect
74 * \sa SDL_IntersectRectAndLine
74 * \sa SDL_UnionRect75 * \sa SDL_UnionRect
75 * \sa SDL_EnclosePoints76 * \sa SDL_EnclosePoints
76 */77 */
@@ -83,6 +84,16 @@ typedef struct SDL_Rect · 6 unmodified lines
83 84
84/**85/**
85 * A rectangle, with the origin at the upper left (floating point).86 * A rectangle, with the origin at the upper left (floating point).
87 *
88 * \sa SDL_FRectEmpty
89 * \sa SDL_FRectEquals
90 * \sa SDL_FRectEqualsEpsilon
91 * \sa SDL_HasIntersectionF
92 * \sa SDL_IntersectFRect
93 * \sa SDL_IntersectFRectAndLine
94 * \sa SDL_UnionFRect
95 * \sa SDL_EncloseFPoints
96 * \sa SDL_PointInFRect
86 */97 */
87typedef struct SDL_FRect98typedef struct SDL_FRect
88{99{
@@ -213,11 +224,152 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IntersectRectAndLine(const SDL_Rect * · 124 unmodified lines
213 int *Y1, int *X2,224 int *Y1, int *X2,
214 int *Y2);225 int *Y2);
215 226
227
228/* SDL_FRect versions... */
229
230/**
231 * Returns true if point resides inside a rectangle.
232 */
233SDL_FORCE_INLINE SDL_bool SDL_PointInFRect(const SDL_FPoint *p, const SDL_FRect *r)
234{
235 return ( (p->x >= r->x) && (p->x < (r->x + r->w)) &&
236 (p->y >= r->y) && (p->y < (r->y + r->h)) ) ? SDL_TRUE : SDL_FALSE;
237}
238
239/**
240 * Returns true if the rectangle has no area.
241 */
242SDL_FORCE_INLINE SDL_bool SDL_FRectEmpty(const SDL_FRect *r)
243{
244 return ((!r) || (r->w <= 0.0f) || (r->h <= 0.0f)) ? SDL_TRUE : SDL_FALSE;
245}
246
247/**
248 * Returns true if the two rectangles are equal, within some given epsilon.
249 *
250 * \since This function is available since SDL 2.0.22.
251 */
252SDL_FORCE_INLINE SDL_bool SDL_FRectEqualsEpsilon(const SDL_FRect *a, const SDL_FRect *b, const float epsilon)
253{
254 return (a && b && ((a == b) ||
255 ((SDL_fabsf(a->x - b->x) <= epsilon) &&
256 (SDL_fabsf(a->y - b->y) <= epsilon) &&
257 (SDL_fabsf(a->w - b->w) <= epsilon) &&
258 (SDL_fabsf(a->h - b->h) <= epsilon))))
259 ? SDL_TRUE : SDL_FALSE;
260}
261
262/**
263 * Returns true if the two rectangles are equal, using a default epsilon.
264 *
265 * \since This function is available since SDL 2.0.22.
266 */
267SDL_FORCE_INLINE SDL_bool SDL_FRectEquals(const SDL_FRect *a, const SDL_FRect *b)
268{
269 return SDL_FRectEqualsEpsilon(a, b, SDL_FLT_EPSILON);
270}
271
272/**
273 * Determine whether two rectangles intersect with float precision.
274 *
275 * If either pointer is NULL the function will return SDL_FALSE.
276 *
277 * \param A an SDL_FRect structure representing the first rectangle
278 * \param B an SDL_FRect structure representing the second rectangle
279 * \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
280 *
281 * \since This function is available since SDL 2.0.22.
282 *
283 * \sa SDL_IntersectRect
284 */
285extern DECLSPEC SDL_bool SDLCALL SDL_HasIntersectionF(const SDL_FRect * A,
286 const SDL_FRect * B);
287
288/**
289 * Calculate the intersection of two rectangles with float precision.
290 *
291 * If `result` is NULL then this function will return SDL_FALSE.
292 *
293 * \param A an SDL_FRect structure representing the first rectangle
294 * \param B an SDL_FRect structure representing the second rectangle
295 * \param result an SDL_FRect structure filled in with the intersection of
296 * rectangles `A` and `B`
297 * \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
298 *
299 * \since This function is available since SDL 2.0.22.
300 *
301 * \sa SDL_HasIntersectionF
302 */
303extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRect(const SDL_FRect * A,
304 const SDL_FRect * B,
305 SDL_FRect * result);
306
307/**
308 * Calculate the union of two rectangles with float precision.
309 *
310 * \param A an SDL_FRect structure representing the first rectangle
311 * \param B an SDL_FRect structure representing the second rectangle
312 * \param result an SDL_FRect structure filled in with the union of rectangles
313 * `A` and `B`
314 *
315 * \since This function is available since SDL 2.0.22.
316 */
317extern DECLSPEC void SDLCALL SDL_UnionFRect(const SDL_FRect * A,
318 const SDL_FRect * B,
319 SDL_FRect * result);
320
321/**
322 * Calculate a minimal rectangle enclosing a set of points with float
323 * precision.
324 *
325 * If `clip` is not NULL then only points inside of the clipping rectangle are
326 * considered.
327 *
328 * \param points an array of SDL_FPoint structures representing points to be
329 * enclosed
330 * \param count the number of structures in the `points` array
331 * \param clip an SDL_FRect used for clipping or NULL to enclose all points
332 * \param result an SDL_FRect structure filled in with the minimal enclosing
333 * rectangle
334 * \returns SDL_TRUE if any points were enclosed or SDL_FALSE if all the
335 * points were outside of the clipping rectangle.
336 *
337 * \since This function is available since SDL 2.0.22.
338 */
339extern DECLSPEC SDL_bool SDLCALL SDL_EncloseFPoints(const SDL_FPoint * points,
340 int count,
341 const SDL_FRect * clip,
342 SDL_FRect * result);
343
344/**
345 * Calculate the intersection of a rectangle and line segment with float
346 * precision.
347 *
348 * This function is used to clip a line segment to a rectangle. A line segment
349 * contained entirely within the rectangle or that does not intersect will
350 * remain unchanged. A line segment that crosses the rectangle at either or
351 * both ends will be clipped to the boundary of the rectangle and the new
352 * coordinates saved in `X1`, `Y1`, `X2`, and/or `Y2` as necessary.
353 *
354 * \param rect an SDL_FRect structure representing the rectangle to intersect
355 * \param X1 a pointer to the starting X-coordinate of the line
356 * \param Y1 a pointer to the starting Y-coordinate of the line
357 * \param X2 a pointer to the ending X-coordinate of the line
358 * \param Y2 a pointer to the ending Y-coordinate of the line
359 * \returns SDL_TRUE if there is an intersection, SDL_FALSE otherwise.
360 *
361 * \since This function is available since SDL 2.0.22.
362 */
363extern DECLSPEC SDL_bool SDLCALL SDL_IntersectFRectAndLine(const SDL_FRect *
364 rect, float *X1,
365 float *Y1, float *X2,
366 float *Y2);
367
216/* Ends C function definitions when using C++ */368/* Ends C function definitions when using C++ */
217#ifdef __cplusplus369#ifdef __cplusplus
218}370}
219#endif371#endif
220#include "close_code.h"372#include <SDL2/close_code.h>
221 373
222#endif /* SDL_rect_h_ */374#endif /* SDL_rect_h_ */
223 375
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_render.h+51−22
@@ -48,11 +48,11 @@ · 47 unmodified lines
48#ifndef SDL_render_h_48#ifndef SDL_render_h_
49#define SDL_render_h_49#define SDL_render_h_
50 50
51#include "SDL_stdinc.h"51#include <SDL2/SDL_stdinc.h>
52#include "SDL_rect.h"52#include <SDL2/SDL_rect.h>
53#include "SDL_video.h"53#include <SDL2/SDL_video.h>
54 54
55#include "begin_code.h"55#include <SDL2/begin_code.h>
56/* Set up for C function definitions, even when using C++ */56/* Set up for C function definitions, even when using C++ */
57#ifdef __cplusplus57#ifdef __cplusplus
58extern "C" {58extern "C" {
@@ -261,6 +261,17 @@ extern DECLSPEC SDL_Renderer * SDLCALL SDL_CreateSoftwareRenderer(SDL_Surface * · 202 unmodified lines
261 */261 */
262extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);262extern DECLSPEC SDL_Renderer * SDLCALL SDL_GetRenderer(SDL_Window * window);
263 263
264/**
265 * Get the window associated with a renderer.
266 *
267 * \param renderer the renderer to query
268 * \returns the window on success or NULL on failure; call SDL_GetError() for
269 * more information.
270 *
271 * \since This function is available since SDL 2.0.22.
272 */
273extern DECLSPEC SDL_Window * SDLCALL SDL_RenderGetWindow(SDL_Renderer *renderer);
274
264/**275/**
265 * Get information about a rendering context.276 * Get information about a rendering context.
266 *277 *
@@ -356,11 +367,15 @@ extern DECLSPEC SDL_Texture * SDLCALL SDL_CreateTextureFromSurface(SDL_Renderer · 89 unmodified lines
356 * \param texture the texture to query367 * \param texture the texture to query
357 * \param format a pointer filled in with the raw format of the texture; the368 * \param format a pointer filled in with the raw format of the texture; the
358 * actual format may differ, but pixel transfers will use this369 * actual format may differ, but pixel transfers will use this
359 * format (one of the SDL_PixelFormatEnum values)370 * format (one of the SDL_PixelFormatEnum values). This argument
371 * can be NULL if you don't need this information.
360 * \param access a pointer filled in with the actual access to the texture372 * \param access a pointer filled in with the actual access to the texture
361 * (one of the SDL_TextureAccess values)373 * (one of the SDL_TextureAccess values). This argument can be
362 * \param w a pointer filled in with the width of the texture in pixels374 * NULL if you don't need this information.
363 * \param h a pointer filled in with the height of the texture in pixels375 * \param w a pointer filled in with the width of the texture in pixels. This
376 * argument can be NULL if you don't need this information.
377 * \param h a pointer filled in with the height of the texture in pixels. This
378 * argument can be NULL if you don't need this information.
364 * \returns 0 on success or a negative error code on failure; call379 * \returns 0 on success or a negative error code on failure; call
365 * SDL_GetError() for more information.380 * SDL_GetError() for more information.
366 *381 *
@@ -810,9 +825,13 @@ extern DECLSPEC int SDLCALL SDL_RenderSetLogicalSize(SDL_Renderer * renderer, in · 443 unmodified lines
810/**825/**
811 * Get device independent resolution for rendering.826 * Get device independent resolution for rendering.
812 *827 *
813 * This may return 0 for `w` and `h` if the SDL_Renderer has never had its828 * When using the main rendering target (eg no target texture is set): this
814 * logical size set by SDL_RenderSetLogicalSize() and never had a render829 * may return 0 for `w` and `h` if the SDL_Renderer has never had its logical
815 * target set.830 * size set by SDL_RenderSetLogicalSize(). Otherwise it returns the logical
831 * width and height.
832 *
833 * When using a target texture: Never return 0 for `w` and `h` at first. Then
834 * it returns the logical width and height that are set.
816 *835 *
817 * \param renderer a rendering context836 * \param renderer a rendering context
818 * \param w an int to be filled with the width837 * \param w an int to be filled with the width
@@ -985,7 +1004,7 @@ extern DECLSPEC void SDLCALL SDL_RenderGetScale(SDL_Renderer * renderer, · 166 unmodified lines
985 * and logical renderer size set1004 * and logical renderer size set
986 *1005 *
987 * \param renderer the renderer from which the logical coordinates should be1006 * \param renderer the renderer from which the logical coordinates should be
988 * calcualted1007 * calculated
989 * \param windowX the real X coordinate in the window1008 * \param windowX the real X coordinate in the window
990 * \param windowY the real Y coordinate in the window1009 * \param windowY the real Y coordinate in the window
991 * \param logicalX the pointer filled with the logical x coordinate1010 * \param logicalX the pointer filled with the logical x coordinate
@@ -1002,19 +1021,23 @@ extern DECLSPEC void SDLCALL SDL_RenderWindowToLogical(SDL_Renderer * renderer, · 10 unmodified lines
1002 int windowX, int windowY, 1021 int windowX, int windowY,
1003 float *logicalX, float *logicalY);1022 float *logicalX, float *logicalY);
1004 1023
1005 /**1024
1006 * Get real coordinates of point in window when given logical coordinates of point in renderer.1025/**
1007 * Logical coordinates will differ from real coordinates when render is scaled and logical renderer size set1026 * Get real coordinates of point in window when given logical coordinates of
1008 * 1027 * point in renderer.
1009 * \param renderer the renderer from which the window coordinates should be calculated1028 *
1029 * Logical coordinates will differ from real coordinates when render is scaled
1030 * and logical renderer size set
1031 *
1032 * \param renderer the renderer from which the window coordinates should be
1033 * calculated
1010 * \param logicalX the logical x coordinate1034 * \param logicalX the logical x coordinate
1011 * \param logicalY the logical y coordinate1035 * \param logicalY the logical y coordinate
1012 * \param windowX the pointer filled with the real X coordinate in the window1036 * \param windowX the pointer filled with the real X coordinate in the window
1013 * \param windowY the pointer filled with the real Y coordinate in the window1037 * \param windowY the pointer filled with the real Y coordinate in the window
1014 1038 *
1015 *
1016 * \since This function is available since SDL 2.0.18.1039 * \since This function is available since SDL 2.0.18.
1017 * 1040 *
1018 * \sa SDL_RenderGetScale1041 * \sa SDL_RenderGetScale
1019 * \sa SDL_RenderSetScale1042 * \sa SDL_RenderSetScale
1020 * \sa SDL_RenderGetLogicalSize1043 * \sa SDL_RenderGetLogicalSize
@@ -1603,6 +1626,7 @@ extern DECLSPEC int SDLCALL SDL_RenderCopyExF(SDL_Renderer * renderer, · 582 unmodified lines
1603 * vertex array Color and alpha modulation is done per vertex1626 * vertex array Color and alpha modulation is done per vertex
1604 * (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).1627 * (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
1605 *1628 *
1629 * \param renderer The rendering context.
1606 * \param texture (optional) The SDL texture to use.1630 * \param texture (optional) The SDL texture to use.
1607 * \param vertices Vertices.1631 * \param vertices Vertices.
1608 * \param num_vertices Number of vertices.1632 * \param num_vertices Number of vertices.
@@ -1627,6 +1651,7 @@ extern DECLSPEC int SDLCALL SDL_RenderGeometry(SDL_Renderer *renderer, · 18 unmodified lines
1627 * vertex arrays Color and alpha modulation is done per vertex1651 * vertex arrays Color and alpha modulation is done per vertex
1628 * (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).1652 * (SDL_SetTextureColorMod and SDL_SetTextureAlphaMod are ignored).
1629 *1653 *
1654 * \param renderer The rendering context.
1630 * \param texture (optional) The SDL texture to use.1655 * \param texture (optional) The SDL texture to use.
1631 * \param xy Vertex positions1656 * \param xy Vertex positions
1632 * \param xy_stride Byte size to move from one element to the next element1657 * \param xy_stride Byte size to move from one element to the next element
@@ -1658,7 +1683,8 @@ extern DECLSPEC int SDLCALL SDL_RenderGeometryRaw(SDL_Renderer *renderer, · 25 unmodified lines
1658 * Read pixels from the current rendering target to an array of pixels.1683 * Read pixels from the current rendering target to an array of pixels.
1659 *1684 *
1660 * **WARNING**: This is a very slow operation, and should not be used1685 * **WARNING**: This is a very slow operation, and should not be used
1661 * frequently.1686 * frequently. If you're using this on the main rendering target, it should be
1687 * called after rendering and before SDL_RenderPresent().
1662 *1688 *
1663 * `pitch` specifies the number of bytes between rows in the destination1689 * `pitch` specifies the number of bytes between rows in the destination
1664 * `pixels` data. This allows you to write to a subrectangle or have padded1690 * `pixels` data. This allows you to write to a subrectangle or have padded
@@ -1739,6 +1765,9 @@ extern DECLSPEC void SDLCALL SDL_DestroyTexture(SDL_Texture * texture); · 74 unmodified lines
1739/**1765/**
1740 * Destroy the rendering context for a window and free associated textures.1766 * Destroy the rendering context for a window and free associated textures.
1741 *1767 *
1768 * If `renderer` is NULL, this function will return immediately after setting
1769 * the SDL error message to "Invalid renderer". See SDL_GetError().
1770 *
1742 * \param renderer the rendering context1771 * \param renderer the rendering context
1743 *1772 *
1744 * \since This function is available since SDL 2.0.0.1773 * \since This function is available since SDL 2.0.0.
@@ -1883,7 +1912,7 @@ extern DECLSPEC int SDLCALL SDL_RenderSetVSync(SDL_Renderer* renderer, int vsync · 138 unmodified lines
1883#ifdef __cplusplus1912#ifdef __cplusplus
1884}1913}
1885#endif1914#endif
1886#include "close_code.h"1915#include <SDL2/close_code.h>
1887 1916
1888#endif /* SDL_render_h_ */1917#endif /* SDL_render_h_ */
1889 1918
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_revision.h+6−1
@@ -1,2 +1,7 @@
1#define SDL_REVISION "https://github.com/libsdl-org/SDL.git@b424665e0899769b200231ba943353a5fee1b6b6"1/* Generated by updaterev.sh, do not edit */
2#ifdef SDL_VENDOR_INFO
3#define SDL_REVISION "SDL-release-2.26.2-0-gf070c83a6 (" SDL_VENDOR_INFO ")"
4#else
5#define SDL_REVISION "SDL-release-2.26.2-0-gf070c83a6"
6#endif
2#define SDL_REVISION_NUMBER 07#define SDL_REVISION_NUMBER 0
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_rwops.h+5−19
@@ -29,10 +29,10 @@ · 28 unmodified lines
29#ifndef SDL_rwops_h_29#ifndef SDL_rwops_h_
30#define SDL_rwops_h_30#define SDL_rwops_h_
31 31
32#include "SDL_stdinc.h"32#include <SDL2/SDL_stdinc.h>
33#include "SDL_error.h"33#include <SDL2/SDL_error.h>
34 34
35#include "begin_code.h"35#include <SDL2/begin_code.h>
36/* Set up for C function definitions, even when using C++ */36/* Set up for C function definitions, even when using C++ */
37#ifdef __cplusplus37#ifdef __cplusplus
38extern "C" {38extern "C" {
@@ -45,9 +45,6 @@ extern "C" { · 6 unmodified lines
45#define SDL_RWOPS_JNIFILE 3U /**< Android asset */45#define SDL_RWOPS_JNIFILE 3U /**< Android asset */
46#define SDL_RWOPS_MEMORY 4U /**< Memory stream */46#define SDL_RWOPS_MEMORY 4U /**< Memory stream */
47#define SDL_RWOPS_MEMORY_RO 5U /**< Read-Only memory stream */47#define SDL_RWOPS_MEMORY_RO 5U /**< Read-Only memory stream */
48#if defined(__VITA__)
49#define SDL_RWOPS_VITAFILE 6U /**< Vita file */
50#endif
51 48
52/**49/**
53 * This is the read/write operation structure -- very basic.50 * This is the read/write operation structure -- very basic.
@@ -101,7 +98,7 @@ typedef struct SDL_RWops · 47 unmodified lines
101 {98 {
102 void *asset;99 void *asset;
103 } androidio;100 } androidio;
104#elif defined(__WIN32__)101#elif defined(__WIN32__) || defined(__GDK__)
105 struct102 struct
106 {103 {
107 SDL_bool append;104 SDL_bool append;
@@ -113,17 +110,6 @@ typedef struct SDL_RWops · 5 unmodified lines
113 size_t left;110 size_t left;
114 } buffer;111 } buffer;
115 } windowsio;112 } windowsio;
116#elif defined(__VITA__)
117 struct
118 {
119 int h;
120 struct
121 {
122 void *data;
123 size_t size;
124 size_t left;
125 } buffer;
126 } vitaio;
127#endif113#endif
128 114
129#ifdef HAVE_STDIO_H115#ifdef HAVE_STDIO_H
@@ -848,7 +834,7 @@ extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value); · 718 unmodified lines
848#ifdef __cplusplus834#ifdef __cplusplus
849}835}
850#endif836#endif
851#include "close_code.h"837#include <SDL2/close_code.h>
852 838
853#endif /* SDL_rwops_h_ */839#endif /* SDL_rwops_h_ */
854 840
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_scancode.h+47−22
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#ifndef SDL_scancode_h_28#ifndef SDL_scancode_h_
29#define SDL_scancode_h_29#define SDL_scancode_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33/**33/**
34 * \brief The SDL keyboard scancode representation.34 * \brief The SDL keyboard scancode representation.
@@ -225,16 +225,16 @@ typedef enum · 190 unmodified lines
225 SDL_SCANCODE_F23 = 114,225 SDL_SCANCODE_F23 = 114,
226 SDL_SCANCODE_F24 = 115,226 SDL_SCANCODE_F24 = 115,
227 SDL_SCANCODE_EXECUTE = 116,227 SDL_SCANCODE_EXECUTE = 116,
228 SDL_SCANCODE_HELP = 117,228 SDL_SCANCODE_HELP = 117, /**< AL Integrated Help Center */
229 SDL_SCANCODE_MENU = 118,229 SDL_SCANCODE_MENU = 118, /**< Menu (show menu) */
230 SDL_SCANCODE_SELECT = 119,230 SDL_SCANCODE_SELECT = 119,
231 SDL_SCANCODE_STOP = 120,231 SDL_SCANCODE_STOP = 120, /**< AC Stop */
232 SDL_SCANCODE_AGAIN = 121, /**< redo */232 SDL_SCANCODE_AGAIN = 121, /**< AC Redo/Repeat */
233 SDL_SCANCODE_UNDO = 122,233 SDL_SCANCODE_UNDO = 122, /**< AC Undo */
234 SDL_SCANCODE_CUT = 123,234 SDL_SCANCODE_CUT = 123, /**< AC Cut */
235 SDL_SCANCODE_COPY = 124,235 SDL_SCANCODE_COPY = 124, /**< AC Copy */
236 SDL_SCANCODE_PASTE = 125,236 SDL_SCANCODE_PASTE = 125, /**< AC Paste */
237 SDL_SCANCODE_FIND = 126,237 SDL_SCANCODE_FIND = 126, /**< AC Find */
238 SDL_SCANCODE_MUTE = 127,238 SDL_SCANCODE_MUTE = 127,
239 SDL_SCANCODE_VOLUMEUP = 128,239 SDL_SCANCODE_VOLUMEUP = 128,
240 SDL_SCANCODE_VOLUMEDOWN = 129,240 SDL_SCANCODE_VOLUMEDOWN = 129,
@@ -265,9 +265,9 @@ typedef enum · 24 unmodified lines
265 SDL_SCANCODE_LANG8 = 151, /**< reserved */265 SDL_SCANCODE_LANG8 = 151, /**< reserved */
266 SDL_SCANCODE_LANG9 = 152, /**< reserved */266 SDL_SCANCODE_LANG9 = 152, /**< reserved */
267 267
268 SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */268 SDL_SCANCODE_ALTERASE = 153, /**< Erase-Eaze */
269 SDL_SCANCODE_SYSREQ = 154,269 SDL_SCANCODE_SYSREQ = 154,
270 SDL_SCANCODE_CANCEL = 155,270 SDL_SCANCODE_CANCEL = 155, /**< AC Cancel */
271 SDL_SCANCODE_CLEAR = 156,271 SDL_SCANCODE_CLEAR = 156,
272 SDL_SCANCODE_PRIOR = 157,272 SDL_SCANCODE_PRIOR = 157,
273 SDL_SCANCODE_RETURN2 = 158,273 SDL_SCANCODE_RETURN2 = 158,
@@ -345,6 +345,11 @@ typedef enum · 71 unmodified lines
345 * \name Usage page 0x0C345 * \name Usage page 0x0C
346 *346 *
347 * These values are mapped from usage page 0x0C (USB consumer page).347 * These values are mapped from usage page 0x0C (USB consumer page).
348 * See https://usb.org/sites/default/files/hut1_2.pdf
349 *
350 * There are way more keys in the spec than we can represent in the
351 * current scancode range, so pick the ones that commonly come up in
352 * real world usage.
348 */353 */
349 /* @{ */354 /* @{ */
350 355
@@ -354,17 +359,17 @@ typedef enum · 3 unmodified lines
354 SDL_SCANCODE_AUDIOPLAY = 261,359 SDL_SCANCODE_AUDIOPLAY = 261,
355 SDL_SCANCODE_AUDIOMUTE = 262,360 SDL_SCANCODE_AUDIOMUTE = 262,
356 SDL_SCANCODE_MEDIASELECT = 263,361 SDL_SCANCODE_MEDIASELECT = 263,
357 SDL_SCANCODE_WWW = 264,362 SDL_SCANCODE_WWW = 264, /**< AL Internet Browser */
358 SDL_SCANCODE_MAIL = 265,363 SDL_SCANCODE_MAIL = 265,
359 SDL_SCANCODE_CALCULATOR = 266,364 SDL_SCANCODE_CALCULATOR = 266, /**< AL Calculator */
360 SDL_SCANCODE_COMPUTER = 267,365 SDL_SCANCODE_COMPUTER = 267,
361 SDL_SCANCODE_AC_SEARCH = 268,366 SDL_SCANCODE_AC_SEARCH = 268, /**< AC Search */
362 SDL_SCANCODE_AC_HOME = 269,367 SDL_SCANCODE_AC_HOME = 269, /**< AC Home */
363 SDL_SCANCODE_AC_BACK = 270,368 SDL_SCANCODE_AC_BACK = 270, /**< AC Back */
364 SDL_SCANCODE_AC_FORWARD = 271,369 SDL_SCANCODE_AC_FORWARD = 271, /**< AC Forward */
365 SDL_SCANCODE_AC_STOP = 272,370 SDL_SCANCODE_AC_STOP = 272, /**< AC Stop */
366 SDL_SCANCODE_AC_REFRESH = 273,371 SDL_SCANCODE_AC_REFRESH = 273, /**< AC Refresh */
367 SDL_SCANCODE_AC_BOOKMARKS = 274,372 SDL_SCANCODE_AC_BOOKMARKS = 274, /**< AC Bookmarks */
368 373
369 /* @} *//* Usage page 0x0C */374 /* @} *//* Usage page 0x0C */
370 375
@@ -383,7 +388,7 @@ typedef enum · 12 unmodified lines
383 SDL_SCANCODE_KBDILLUMDOWN = 279,388 SDL_SCANCODE_KBDILLUMDOWN = 279,
384 SDL_SCANCODE_KBDILLUMUP = 280,389 SDL_SCANCODE_KBDILLUMUP = 280,
385 SDL_SCANCODE_EJECT = 281,390 SDL_SCANCODE_EJECT = 281,
386 SDL_SCANCODE_SLEEP = 282,391 SDL_SCANCODE_SLEEP = 282, /**< SC System Sleep */
387 392
388 SDL_SCANCODE_APP1 = 283,393 SDL_SCANCODE_APP1 = 283,
389 SDL_SCANCODE_APP2 = 284,394 SDL_SCANCODE_APP2 = 284,
@@ -402,6 +407,26 @@ typedef enum · 12 unmodified lines
402 407
403 /* @} *//* Usage page 0x0C (additional media keys) */408 /* @} *//* Usage page 0x0C (additional media keys) */
404 409
410 /**
411 * \name Mobile keys
412 *
413 * These are values that are often used on mobile phones.
414 */
415 /* @{ */
416
417 SDL_SCANCODE_SOFTLEFT = 287, /**< Usually situated below the display on phones and
418 used as a multi-function feature key for selecting
419 a software defined function shown on the bottom left
420 of the display. */
421 SDL_SCANCODE_SOFTRIGHT = 288, /**< Usually situated below the display on phones and
422 used as a multi-function feature key for selecting
423 a software defined function shown on the bottom right
424 of the display. */
425 SDL_SCANCODE_CALL = 289, /**< Used for accepting phone calls. */
426 SDL_SCANCODE_ENDCALL = 290, /**< Used for rejecting phone calls. */
427
428 /* @} *//* Mobile keys */
429
405 /* Add any other keys here. */430 /* Add any other keys here. */
406 431
407 SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes432 SDL_NUM_SCANCODES = 512 /**< not a key, just marks the number of scancodes
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_sensor.h+28−7
@@ -29,10 +29,10 @@ · 28 unmodified lines
29#ifndef SDL_sensor_h_29#ifndef SDL_sensor_h_
30#define SDL_sensor_h_30#define SDL_sensor_h_
31 31
32#include "SDL_stdinc.h"32#include <SDL2/SDL_stdinc.h>
33#include "SDL_error.h"33#include <SDL2/SDL_error.h>
34 34
35#include "begin_code.h"35#include <SDL2/begin_code.h>
36/* Set up for C function definitions, even when using C++ */36/* Set up for C function definitions, even when using C++ */
37#ifdef __cplusplus37#ifdef __cplusplus
38/* *INDENT-OFF* */38/* *INDENT-OFF* */
@@ -71,7 +71,11 @@ typedef enum · 32 unmodified lines
71 SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */71 SDL_SENSOR_INVALID = -1, /**< Returned for an invalid sensor */
72 SDL_SENSOR_UNKNOWN, /**< Unknown sensor type */72 SDL_SENSOR_UNKNOWN, /**< Unknown sensor type */
73 SDL_SENSOR_ACCEL, /**< Accelerometer */73 SDL_SENSOR_ACCEL, /**< Accelerometer */
74 SDL_SENSOR_GYRO /**< Gyroscope */74 SDL_SENSOR_GYRO, /**< Gyroscope */
75 SDL_SENSOR_ACCEL_L, /**< Accelerometer for left Joy-Con controller and Wii nunchuk */
76 SDL_SENSOR_GYRO_L, /**< Gyroscope for left Joy-Con controller */
77 SDL_SENSOR_ACCEL_R, /**< Accelerometer for right Joy-Con controller */
78 SDL_SENSOR_GYRO_R /**< Gyroscope for right Joy-Con controller */
75} SDL_SensorType;79} SDL_SensorType;
76 80
77/**81/**
@@ -263,7 +267,24 @@ extern DECLSPEC SDL_SensorID SDLCALL SDL_SensorGetInstanceID(SDL_Sensor *sensor) · 185 unmodified lines
263 *267 *
264 * \since This function is available since SDL 2.0.9.268 * \since This function is available since SDL 2.0.9.
265 */269 */
266extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor * sensor, float *data, int num_values);270extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor *sensor, float *data, int num_values);
271
272/**
273 * Get the current state of an opened sensor with the timestamp of the last
274 * update.
275 *
276 * The number of values and interpretation of the data is sensor dependent.
277 *
278 * \param sensor The SDL_Sensor object to query
279 * \param timestamp A pointer filled with the timestamp in microseconds of the
280 * current sensor reading if available, or 0 if not
281 * \param data A pointer filled with the current sensor state
282 * \param num_values The number of values to write to data
283 * \returns 0 or -1 if an error occurred.
284 *
285 * \since This function is available since SDL 2.26.0.
286 */
287extern DECLSPEC int SDLCALL SDL_SensorGetDataWithTimestamp(SDL_Sensor *sensor, Uint64 *timestamp, float *data, int num_values);
267 288
268/**289/**
269 * Close a sensor previously opened with SDL_SensorOpen().290 * Close a sensor previously opened with SDL_SensorOpen().
@@ -272,7 +293,7 @@ extern DECLSPEC int SDLCALL SDL_SensorGetData(SDL_Sensor * sensor, float *data, · 2 unmodified lines
272 *293 *
273 * \since This function is available since SDL 2.0.9.294 * \since This function is available since SDL 2.0.9.
274 */295 */
275extern DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor * sensor);296extern DECLSPEC void SDLCALL SDL_SensorClose(SDL_Sensor *sensor);
276 297
277/**298/**
278 * Update the current state of the open sensors.299 * Update the current state of the open sensors.
@@ -294,7 +315,7 @@ extern DECLSPEC void SDLCALL SDL_SensorUpdate(void); · 15 unmodified lines
294}315}
295/* *INDENT-ON* */316/* *INDENT-ON* */
296#endif317#endif
297#include "close_code.h"318#include <SDL2/close_code.h>
298 319
299#endif /* SDL_sensor_h_ */320#endif /* SDL_sensor_h_ */
300 321
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_shape.h+7−7
@@ -22,13 +22,13 @@ · 21 unmodified lines
22#ifndef SDL_shape_h_22#ifndef SDL_shape_h_
23#define SDL_shape_h_23#define SDL_shape_h_
24 24
25#include "SDL_stdinc.h"25#include <SDL2/SDL_stdinc.h>
26#include "SDL_pixels.h"26#include <SDL2/SDL_pixels.h>
27#include "SDL_rect.h"27#include <SDL2/SDL_rect.h>
28#include "SDL_surface.h"28#include <SDL2/SDL_surface.h>
29#include "SDL_video.h"29#include <SDL2/SDL_video.h>
30 30
31#include "begin_code.h"31#include <SDL2/begin_code.h>
32/* Set up for C function definitions, even when using C++ */32/* Set up for C function definitions, even when using C++ */
33#ifdef __cplusplus33#ifdef __cplusplus
34extern "C" {34extern "C" {
@@ -150,6 +150,6 @@ extern DECLSPEC int SDLCALL SDL_GetShapedWindowMode(SDL_Window *window,SDL_Windo · 115 unmodified lines
150#ifdef __cplusplus150#ifdef __cplusplus
151}151}
152#endif152#endif
153#include "close_code.h"153#include <SDL2/close_code.h>
154 154
155#endif /* SDL_shape_h_ */155#endif /* SDL_shape_h_ */
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_stdinc.h+122−11
@@ -28,7 +28,7 @@ · 27 unmodified lines
28#ifndef SDL_stdinc_h_28#ifndef SDL_stdinc_h_
29#define SDL_stdinc_h_29#define SDL_stdinc_h_
30 30
31#include "SDL_config.h"31#include <SDL2/SDL_config.h>
32 32
33#ifdef __APPLE__33#ifdef __APPLE__
34#ifndef _DARWIN_C_SOURCE34#ifndef _DARWIN_C_SOURCE
@@ -80,9 +80,9 @@ · 45 unmodified lines
80# include <ctype.h>80# include <ctype.h>
81#endif81#endif
82#ifdef HAVE_MATH_H82#ifdef HAVE_MATH_H
83# if defined(__WINRT__)83# if defined(_MSC_VER)
84/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on84/* Defining _USE_MATH_DEFINES is required to get M_PI to be defined on
85 WinRT. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx85 Visual Studio. See http://msdn.microsoft.com/en-us/library/4hwaceh6.aspx
86 for more information.86 for more information.
87*/87*/
88# define _USE_MATH_DEFINES88# define _USE_MATH_DEFINES
@@ -115,6 +115,12 @@ char *alloca(); · 26 unmodified lines
115# endif115# endif
116#endif116#endif
117 117
118#ifdef SIZE_MAX
119# define SDL_SIZE_MAX SIZE_MAX
120#else
121# define SDL_SIZE_MAX ((size_t) -1)
122#endif
123
118/**124/**
119 * Check if the compiler supports a given builtin.125 * Check if the compiler supports a given builtin.
120 * Supported by virtually all clang versions and recent gcc. Use this126 * Supported by virtually all clang versions and recent gcc. Use this
@@ -234,13 +240,26 @@ typedef uint64_t Uint64; · 113 unmodified lines
234 240
235/* @} *//* Basic data types */241/* @} *//* Basic data types */
236 242
243/**
244 * \name Floating-point constants
245 */
246/* @{ */
247
248#ifdef FLT_EPSILON
249#define SDL_FLT_EPSILON FLT_EPSILON
250#else
251#define SDL_FLT_EPSILON 1.1920928955078125e-07F /* 0x0.000002p0 */
252#endif
253
254/* @} *//* Floating-point constants */
255
237/* Make sure we have macros for printing width-based integers.256/* Make sure we have macros for printing width-based integers.
238 * <stdint.h> should define these but this is not true all platforms.257 * <stdint.h> should define these but this is not true all platforms.
239 * (for example win32) */258 * (for example win32) */
240#ifndef SDL_PRIs64259#ifndef SDL_PRIs64
241#ifdef PRIs64260#ifdef PRIs64
242#define SDL_PRIs64 PRIs64261#define SDL_PRIs64 PRIs64
243#elif defined(__WIN32__)262#elif defined(__WIN32__) || defined(__GDK__)
244#define SDL_PRIs64 "I64d"263#define SDL_PRIs64 "I64d"
245#elif defined(__LINUX__) && defined(__LP64__)264#elif defined(__LINUX__) && defined(__LP64__)
246#define SDL_PRIs64 "ld"265#define SDL_PRIs64 "ld"
@@ -251,7 +270,7 @@ typedef uint64_t Uint64; · 4 unmodified lines
251#ifndef SDL_PRIu64270#ifndef SDL_PRIu64
252#ifdef PRIu64271#ifdef PRIu64
253#define SDL_PRIu64 PRIu64272#define SDL_PRIu64 PRIu64
254#elif defined(__WIN32__)273#elif defined(__WIN32__) || defined(__GDK__)
255#define SDL_PRIu64 "I64u"274#define SDL_PRIu64 "I64u"
256#elif defined(__LINUX__) && defined(__LP64__)275#elif defined(__LINUX__) && defined(__LP64__)
257#define SDL_PRIu64 "lu"276#define SDL_PRIu64 "lu"
@@ -262,7 +281,7 @@ typedef uint64_t Uint64; · 4 unmodified lines
262#ifndef SDL_PRIx64281#ifndef SDL_PRIx64
263#ifdef PRIx64282#ifdef PRIx64
264#define SDL_PRIx64 PRIx64283#define SDL_PRIx64 PRIx64
265#elif defined(__WIN32__)284#elif defined(__WIN32__) || defined(__GDK__)
266#define SDL_PRIx64 "I64x"285#define SDL_PRIx64 "I64x"
267#elif defined(__LINUX__) && defined(__LP64__)286#elif defined(__LINUX__) && defined(__LP64__)
268#define SDL_PRIx64 "lx"287#define SDL_PRIx64 "lx"
@@ -273,7 +292,7 @@ typedef uint64_t Uint64; · 4 unmodified lines
273#ifndef SDL_PRIX64292#ifndef SDL_PRIX64
274#ifdef PRIX64293#ifdef PRIX64
275#define SDL_PRIX64 PRIX64294#define SDL_PRIX64 PRIX64
276#elif defined(__WIN32__)295#elif defined(__WIN32__) || defined(__GDK__)
277#define SDL_PRIX64 "I64X"296#define SDL_PRIX64 "I64X"
278#elif defined(__LINUX__) && defined(__LP64__)297#elif defined(__LINUX__) && defined(__LP64__)
279#define SDL_PRIX64 "lX"298#define SDL_PRIX64 "lX"
@@ -354,8 +373,22 @@ typedef uint64_t Uint64; · 74 unmodified lines
354#endif373#endif
355#endif /* SDL_DISABLE_ANALYZE_MACROS */374#endif /* SDL_DISABLE_ANALYZE_MACROS */
356 375
376#ifndef SDL_COMPILE_TIME_ASSERT
377#if defined(__cplusplus)
378#if (__cplusplus >= 201103L)
379#define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x)
380#endif
381#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
382#define SDL_COMPILE_TIME_ASSERT(name, x) _Static_assert(x, #x)
383#endif
384#endif /* !SDL_COMPILE_TIME_ASSERT */
385
386#ifndef SDL_COMPILE_TIME_ASSERT
387/* universal, but may trigger -Wunused-local-typedefs */
357#define SDL_COMPILE_TIME_ASSERT(name, x) \388#define SDL_COMPILE_TIME_ASSERT(name, x) \
358 typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1]389 typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1]
390#endif
391
359/** \cond */392/** \cond */
360#ifndef DOXYGEN_SHOULD_IGNORE_THIS393#ifndef DOXYGEN_SHOULD_IGNORE_THIS
361SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);394SDL_COMPILE_TIME_ASSERT(uint8, sizeof(Uint8) == 1);
@@ -377,7 +410,7 @@ SDL_COMPILE_TIME_ASSERT(sint64, sizeof(Sint64) == 8); · 15 unmodified lines
377 410
378/** \cond */411/** \cond */
379#ifndef DOXYGEN_SHOULD_IGNORE_THIS412#ifndef DOXYGEN_SHOULD_IGNORE_THIS
380#if !defined(__ANDROID__) && !defined(__VITA__)413#if !defined(__ANDROID__) && !defined(__VITA__) && !defined(__3DS__)
381 /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */414 /* TODO: include/SDL_stdinc.h:174: error: size of array 'SDL_dummy_enum' is negative */
382typedef enum415typedef enum
383{416{
@@ -389,7 +422,7 @@ SDL_COMPILE_TIME_ASSERT(enum, sizeof(SDL_DUMMY_ENUM) == sizeof(int)); · 5 unmodified lines
389#endif /* DOXYGEN_SHOULD_IGNORE_THIS */422#endif /* DOXYGEN_SHOULD_IGNORE_THIS */
390/** \endcond */423/** \endcond */
391 424
392#include "begin_code.h"425#include <SDL2/begin_code.h>
393/* Set up for C function definitions, even when using C++ */426/* Set up for C function definitions, even when using C++ */
394#ifdef __cplusplus427#ifdef __cplusplus
395extern "C" {428extern "C" {
@@ -413,6 +446,16 @@ typedef void *(SDLCALL *SDL_calloc_func)(size_t nmemb, size_t size); · 17 unmodified lines
413typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size);446typedef void *(SDLCALL *SDL_realloc_func)(void *mem, size_t size);
414typedef void (SDLCALL *SDL_free_func)(void *mem);447typedef void (SDLCALL *SDL_free_func)(void *mem);
415 448
449/**
450 * Get the original set of SDL memory functions
451 *
452 * \since This function is available since SDL 2.24.0.
453 */
454extern DECLSPEC void SDLCALL SDL_GetOriginalMemoryFunctions(SDL_malloc_func *malloc_func,
455 SDL_calloc_func *calloc_func,
456 SDL_realloc_func *realloc_func,
457 SDL_free_func *free_func);
458
416/**459/**
417 * Get the current set of SDL memory functions460 * Get the current set of SDL memory functions
418 *461 *
@@ -443,7 +486,8 @@ extern DECLSPEC int SDLCALL SDL_GetNumAllocations(void); · 24 unmodified lines
443extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);486extern DECLSPEC char *SDLCALL SDL_getenv(const char *name);
444extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);487extern DECLSPEC int SDLCALL SDL_setenv(const char *name, const char *value, int overwrite);
445 488
446extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (*compare) (const void *, const void *));489extern DECLSPEC void SDLCALL SDL_qsort(void *base, size_t nmemb, size_t size, int (SDLCALL *compare) (const void *, const void *));
490extern DECLSPEC void * SDLCALL SDL_bsearch(const void *key, const void *base, size_t nmemb, size_t size, int (SDLCALL *compare) (const void *, const void *));
447 491
448extern DECLSPEC int SDLCALL SDL_abs(int x);492extern DECLSPEC int SDLCALL SDL_abs(int x);
449 493
@@ -467,6 +511,7 @@ extern DECLSPEC int SDLCALL SDL_isgraph(int x); · 17 unmodified lines
467extern DECLSPEC int SDLCALL SDL_toupper(int x);511extern DECLSPEC int SDLCALL SDL_toupper(int x);
468extern DECLSPEC int SDLCALL SDL_tolower(int x);512extern DECLSPEC int SDLCALL SDL_tolower(int x);
469 513
514extern DECLSPEC Uint16 SDLCALL SDL_crc16(Uint16 crc, const void *data, size_t len);
470extern DECLSPEC Uint32 SDLCALL SDL_crc32(Uint32 crc, const void *data, size_t len);515extern DECLSPEC Uint32 SDLCALL SDL_crc32(Uint32 crc, const void *data, size_t len);
471 516
472extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);517extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, size_t len);
@@ -475,6 +520,11 @@ extern DECLSPEC void *SDLCALL SDL_memset(SDL_OUT_BYTECAP(len) void *dst, int c, · 2 unmodified lines
475#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))520#define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x)))
476#define SDL_zeroa(x) SDL_memset((x), 0, sizeof((x)))521#define SDL_zeroa(x) SDL_memset((x), 0, sizeof((x)))
477 522
523#define SDL_copyp(dst, src) \
524 { SDL_COMPILE_TIME_ASSERT(SDL_copyp, sizeof (*(dst)) == sizeof (*(src))); } \
525 SDL_memcpy((dst), (src), sizeof (*(src)))
526
527
478/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */528/* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */
479SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)529SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords)
480{530{
@@ -533,8 +583,10 @@ extern DECLSPEC char *SDLCALL SDL_strlwr(char *str); · 52 unmodified lines
533extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c);583extern DECLSPEC char *SDLCALL SDL_strchr(const char *str, int c);
534extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c);584extern DECLSPEC char *SDLCALL SDL_strrchr(const char *str, int c);
535extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle);585extern DECLSPEC char *SDLCALL SDL_strstr(const char *haystack, const char *needle);
586extern DECLSPEC char *SDLCALL SDL_strcasestr(const char *haystack, const char *needle);
536extern DECLSPEC char *SDLCALL SDL_strtokr(char *s1, const char *s2, char **saveptr);587extern DECLSPEC char *SDLCALL SDL_strtokr(char *s1, const char *s2, char **saveptr);
537extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str);588extern DECLSPEC size_t SDLCALL SDL_utf8strlen(const char *str);
589extern DECLSPEC size_t SDLCALL SDL_utf8strnlen(const char *str, size_t bytes);
538 590
539extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix);591extern DECLSPEC char *SDLCALL SDL_itoa(int value, char *str, int radix);
540extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix);592extern DECLSPEC char *SDLCALL SDL_uitoa(unsigned int value, char *str, int radix);
@@ -708,11 +760,70 @@ SDL_FORCE_INLINE void *SDL_memcpy4(SDL_OUT_BYTECAP(dwords*4) void *dst, SDL_IN_B · 167 unmodified lines
708 return SDL_memcpy(dst, src, dwords * 4);760 return SDL_memcpy(dst, src, dwords * 4);
709}761}
710 762
763/**
764 * If a * b would overflow, return -1. Otherwise store a * b via ret
765 * and return 0.
766 *
767 * \since This function is available since SDL 2.24.0.
768 */
769SDL_FORCE_INLINE int SDL_size_mul_overflow (size_t a,
770 size_t b,
771 size_t *ret)
772{
773 if (a != 0 && b > SDL_SIZE_MAX / a) {
774 return -1;
775 }
776 *ret = a * b;
777 return 0;
778}
779
780#if _SDL_HAS_BUILTIN(__builtin_mul_overflow)
781/* This needs to be wrapped in an inline rather than being a direct #define,
782 * because __builtin_mul_overflow() is type-generic, but we want to be
783 * consistent about interpreting a and b as size_t. */
784SDL_FORCE_INLINE int _SDL_size_mul_overflow_builtin (size_t a,
785 size_t b,
786 size_t *ret)
787{
788 return __builtin_mul_overflow(a, b, ret) == 0 ? 0 : -1;
789}
790#define SDL_size_mul_overflow(a, b, ret) (_SDL_size_mul_overflow_builtin(a, b, ret))
791#endif
792
793/**
794 * If a + b would overflow, return -1. Otherwise store a + b via ret
795 * and return 0.
796 *
797 * \since This function is available since SDL 2.24.0.
798 */
799SDL_FORCE_INLINE int SDL_size_add_overflow (size_t a,
800 size_t b,
801 size_t *ret)
802{
803 if (b > SDL_SIZE_MAX - a) {
804 return -1;
805 }
806 *ret = a + b;
807 return 0;
808}
809
810#if _SDL_HAS_BUILTIN(__builtin_add_overflow)
811/* This needs to be wrapped in an inline rather than being a direct #define,
812 * the same as the call to __builtin_mul_overflow() above. */
813SDL_FORCE_INLINE int _SDL_size_add_overflow_builtin (size_t a,
814 size_t b,
815 size_t *ret)
816{
817 return __builtin_add_overflow(a, b, ret) == 0 ? 0 : -1;
818}
819#define SDL_size_add_overflow(a, b, ret) (_SDL_size_add_overflow_builtin(a, b, ret))
820#endif
821
711/* Ends C function definitions when using C++ */822/* Ends C function definitions when using C++ */
712#ifdef __cplusplus823#ifdef __cplusplus
713}824}
714#endif825#endif
715#include "close_code.h"826#include <SDL2/close_code.h>
716 827
717#endif /* SDL_stdinc_h_ */828#endif /* SDL_stdinc_h_ */
718 829
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_surface.h+10−8
@@ -28,13 +28,13 @@ · 27 unmodified lines
28#ifndef SDL_surface_h_28#ifndef SDL_surface_h_
29#define SDL_surface_h_29#define SDL_surface_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_pixels.h"32#include <SDL2/SDL_pixels.h>
33#include "SDL_rect.h"33#include <SDL2/SDL_rect.h>
34#include "SDL_blendmode.h"34#include <SDL2/SDL_blendmode.h>
35#include "SDL_rwops.h"35#include <SDL2/SDL_rwops.h>
36 36
37#include "begin_code.h"37#include <SDL2/begin_code.h>
38/* Set up for C function definitions, even when using C++ */38/* Set up for C function definitions, even when using C++ */
39#ifdef __cplusplus39#ifdef __cplusplus
40extern "C" {40extern "C" {
@@ -61,6 +61,8 @@ extern "C" { · 20 unmodified lines
61 */61 */
62#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0)62#define SDL_MUSTLOCK(S) (((S)->flags & SDL_RLEACCEL) != 0)
63 63
64typedef struct SDL_BlitMap SDL_BlitMap; /* this is an opaque type. */
65
64/**66/**
65 * \brief A collection of pixels used in software blitting.67 * \brief A collection of pixels used in software blitting.
66 *68 *
@@ -88,7 +90,7 @@ typedef struct SDL_Surface · 21 unmodified lines
88 SDL_Rect clip_rect; /**< Read-only */90 SDL_Rect clip_rect; /**< Read-only */
89 91
90 /** info for fast blit mapping to other surfaces */92 /** info for fast blit mapping to other surfaces */
91 struct SDL_BlitMap *map; /**< Private */93 SDL_BlitMap *map; /**< Private */
92 94
93 /** Reference count -- used when freeing surface */95 /** Reference count -- used when freeing surface */
94 int refcount; /**< Read-mostly */96 int refcount; /**< Read-mostly */
@@ -988,7 +990,7 @@ extern DECLSPEC SDL_YUV_CONVERSION_MODE SDLCALL SDL_GetYUVConversionModeForResol · 893 unmodified lines
988#ifdef __cplusplus990#ifdef __cplusplus
989}991}
990#endif992#endif
991#include "close_code.h"993#include <SDL2/close_code.h>
992 994
993#endif /* SDL_surface_h_ */995#endif /* SDL_surface_h_ */
994 996
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_system.h+72−12
@@ -28,12 +28,12 @@ · 27 unmodified lines
28#ifndef SDL_system_h_28#ifndef SDL_system_h_
29#define SDL_system_h_29#define SDL_system_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_keyboard.h"32#include <SDL2/SDL_keyboard.h>
33#include "SDL_render.h"33#include <SDL2/SDL_render.h>
34#include "SDL_video.h"34#include <SDL2/SDL_video.h>
35 35
36#include "begin_code.h"36#include <SDL2/begin_code.h>
37/* Set up for C function definitions, even when using C++ */37/* Set up for C function definitions, even when using C++ */
38#ifdef __cplusplus38#ifdef __cplusplus
39extern "C" {39extern "C" {
@@ -41,7 +41,7 @@ extern "C" { · 1 unmodified line
41 41
42 42
43/* Platform specific functions for Windows */43/* Platform specific functions for Windows */
44#ifdef __WIN32__44#if defined(__WIN32__) || defined(__GDK__)
45 45
46typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);46typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsigned int message, Uint64 wParam, Sint64 lParam);
47 47
@@ -55,6 +55,10 @@ typedef void (SDLCALL * SDL_WindowsMessageHook)(void *userdata, void *hWnd, unsi · 7 unmodified lines
55 */55 */
56extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata);56extern DECLSPEC void SDLCALL SDL_SetWindowsMessageHook(SDL_WindowsMessageHook callback, void *userdata);
57 57
58#endif /* defined(__WIN32__) || defined(__GDK__) */
59
60#if defined(__WIN32__) || defined(__WINGDK__)
61
58/**62/**
59 * Get the D3D9 adapter index that matches the specified display index.63 * Get the D3D9 adapter index that matches the specified display index.
60 *64 *
@@ -102,6 +106,30 @@ typedef struct ID3D11Device ID3D11Device; · 41 unmodified lines
102 */106 */
103extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * renderer);107extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * renderer);
104 108
109#endif /* defined(__WIN32__) || defined(__WINGDK__) */
110
111#if defined(__WIN32__) || defined(__GDK__)
112
113typedef struct ID3D12Device ID3D12Device;
114
115/**
116 * Get the D3D12 device associated with a renderer.
117 *
118 * Once you are done using the device, you should release it to avoid a
119 * resource leak.
120 *
121 * \param renderer the renderer from which to get the associated D3D12 device
122 * \returns the D3D12 device associated with given renderer or NULL if it is
123 * not a D3D12 renderer; call SDL_GetError() for more information.
124 *
125 * \since This function is available since SDL 2.24.0.
126 */
127extern DECLSPEC ID3D12Device* SDLCALL SDL_RenderGetD3D12Device(SDL_Renderer* renderer);
128
129#endif /* defined(__WIN32__) || defined(__GDK__) */
130
131#if defined(__WIN32__) || defined(__WINGDK__)
132
105/**133/**
106 * Get the DXGI Adapter and Output indices for the specified display index.134 * Get the DXGI Adapter and Output indices for the specified display index.
107 *135 *
@@ -122,8 +150,7 @@ extern DECLSPEC ID3D11Device* SDLCALL SDL_RenderGetD3D11Device(SDL_Renderer * re · 14 unmodified lines
122 */150 */
123extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *outputIndex );151extern DECLSPEC SDL_bool SDLCALL SDL_DXGIGetOutputInfo( int displayIndex, int *adapterIndex, int *outputIndex );
124 152
125#endif /* __WIN32__ */153#endif /* defined(__WIN32__) || defined(__WINGDK__) */
126
127 154
128/* Platform specific functions for Linux */155/* Platform specific functions for Linux */
129#ifdef __LINUX__156#ifdef __LINUX__
@@ -178,7 +205,7 @@ extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(Sint64 threadID, · 48 unmodified lines
178 * This function is only available on Apple iOS.205 * This function is only available on Apple iOS.
179 *206 *
180 * For more information see:207 * For more information see:
181 * [README-ios.md](https://hg.libsdl.org/SDL/file/default/docs/README-ios.md)208 * https://github.com/libsdl-org/SDL/blob/main/docs/README-ios.md
182 *209 *
183 * This functions is also accessible using the macro210 * This functions is also accessible using the macro
184 * SDL_iOSSetAnimationCallback() since SDL 2.0.4.211 * SDL_iOSSetAnimationCallback() since SDL 2.0.4.
@@ -195,7 +222,7 @@ extern DECLSPEC int SDLCALL SDL_LinuxSetThreadPriorityAndPolicy(Sint64 threadID, · 10 unmodified lines
195 *222 *
196 * \sa SDL_iPhoneSetEventPump223 * \sa SDL_iPhoneSetEventPump
197 */224 */
198extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (*callback)(void*), void *callbackParam);225extern DECLSPEC int SDLCALL SDL_iPhoneSetAnimationCallback(SDL_Window * window, int interval, void (SDLCALL *callback)(void*), void *callbackParam);
199 226
200#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)227#define SDL_iOSSetEventPump(enabled) SDL_iPhoneSetEventPump(enabled)
201 228
@@ -425,6 +452,18 @@ extern DECLSPEC SDL_bool SDLCALL SDL_AndroidRequestPermission(const char *permis · 223 unmodified lines
425 */452 */
426extern DECLSPEC int SDLCALL SDL_AndroidShowToast(const char* message, int duration, int gravity, int xoffset, int yoffset);453extern DECLSPEC int SDLCALL SDL_AndroidShowToast(const char* message, int duration, int gravity, int xoffset, int yoffset);
427 454
455/**
456 * Send a user command to SDLActivity.
457 *
458 * Override "boolean onUnhandledMessage(Message msg)" to handle the message.
459 *
460 * \param command user command that must be greater or equal to 0x8000
461 * \param param user parameter
462 *
463 * \since This function is available since SDL 2.0.22.
464 */
465extern DECLSPEC int SDLCALL SDL_AndroidSendMessage(Uint32 command, int param);
466
428#endif /* __ANDROID__ */467#endif /* __ANDROID__ */
429 468
430/* Platform specific functions for WinRT */469/* Platform specific functions for WinRT */
@@ -520,7 +559,7 @@ extern DECLSPEC const wchar_t * SDLCALL SDL_WinRTGetFSPathUNICODE(SDL_WinRT_Path · 89 unmodified lines
520extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);559extern DECLSPEC const char * SDLCALL SDL_WinRTGetFSPathUTF8(SDL_WinRT_Path pathType);
521 560
522/**561/**
523 * Detects the device family of WinRT plattform at runtime.562 * Detects the device family of WinRT platform at runtime.
524 *563 *
525 * \returns a value from the SDL_WinRT_DeviceFamily enum.564 * \returns a value from the SDL_WinRT_DeviceFamily enum.
526 *565 *
@@ -552,11 +591,32 @@ extern DECLSPEC void SDLCALL SDL_OnApplicationDidBecomeActive(void); · 25 unmodified lines
552extern DECLSPEC void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(void);591extern DECLSPEC void SDLCALL SDL_OnApplicationDidChangeStatusBarOrientation(void);
553#endif592#endif
554 593
594/* Functions used only by GDK */
595#if defined(__GDK__)
596typedef struct XTaskQueueObject * XTaskQueueHandle;
597
598/**
599 * Gets a reference to the global async task queue handle for GDK,
600 * initializing if needed.
601 *
602 * Once you are done with the task queue, you should call
603 * XTaskQueueCloseHandle to reduce the reference count to avoid a resource
604 * leak.
605 *
606 * \param outTaskQueue a pointer to be filled in with task queue handle.
607 * \returns 0 if success, -1 if any error occurs.
608 *
609 * \since This function is available since SDL 2.24.0.
610 */
611extern DECLSPEC int SDLCALL SDL_GDKGetTaskQueue(XTaskQueueHandle * outTaskQueue);
612
613#endif
614
555/* Ends C function definitions when using C++ */615/* Ends C function definitions when using C++ */
556#ifdef __cplusplus616#ifdef __cplusplus
557}617}
558#endif618#endif
559#include "close_code.h"619#include <SDL2/close_code.h>
560 620
561#endif /* SDL_system_h_ */621#endif /* SDL_system_h_ */
562 622
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_syswm.h+9−7
@@ -28,10 +28,10 @@ · 27 unmodified lines
28#ifndef SDL_syswm_h_28#ifndef SDL_syswm_h_
29#define SDL_syswm_h_29#define SDL_syswm_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_video.h"33#include <SDL2/SDL_video.h>
34#include "SDL_version.h"34#include <SDL2/SDL_version.h>
35 35
36/**36/**
37 * \brief SDL_syswm.h37 * \brief SDL_syswm.h
@@ -108,7 +108,7 @@ typedef void *EGLSurface; · 70 unmodified lines
108#endif108#endif
109 109
110#if defined(SDL_VIDEO_DRIVER_VIVANTE)110#if defined(SDL_VIDEO_DRIVER_VIVANTE)
111#include "SDL_egl.h"111#include <SDL2/SDL_egl.h>
112#endif112#endif
113 113
114#if defined(SDL_VIDEO_DRIVER_OS2)114#if defined(SDL_VIDEO_DRIVER_OS2)
@@ -122,7 +122,7 @@ struct gbm_device; · 7 unmodified lines
122#endif122#endif
123 123
124 124
125#include "begin_code.h"125#include <SDL2/begin_code.h>
126/* Set up for C function definitions, even when using C++ */126/* Set up for C function definitions, even when using C++ */
127#ifdef __cplusplus127#ifdef __cplusplus
128extern "C" {128extern "C" {
@@ -298,6 +298,8 @@ struct SDL_SysWMinfo · 169 unmodified lines
298 struct wl_egl_window *egl_window; /**< Wayland EGL window (native window) */298 struct wl_egl_window *egl_window; /**< Wayland EGL window (native window) */
299 struct xdg_surface *xdg_surface; /**< Wayland xdg surface (window manager handle) */299 struct xdg_surface *xdg_surface; /**< Wayland xdg surface (window manager handle) */
300 struct xdg_toplevel *xdg_toplevel; /**< Wayland xdg toplevel role */300 struct xdg_toplevel *xdg_toplevel; /**< Wayland xdg toplevel role */
301 struct xdg_popup *xdg_popup; /**< Wayland xdg popup role */
302 struct xdg_positioner *xdg_positioner; /**< Wayland xdg positioner, for popup */
301 } wl;303 } wl;
302#endif304#endif
303#if defined(SDL_VIDEO_DRIVER_MIR) /* no longer available, left for API/ABI compatibility. Remove in 2.1! */305#if defined(SDL_VIDEO_DRIVER_MIR) /* no longer available, left for API/ABI compatibility. Remove in 2.1! */
@@ -377,7 +379,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_GetWindowWMInfo(SDL_Window * window, · 73 unmodified lines
377#ifdef __cplusplus379#ifdef __cplusplus
378}380}
379#endif381#endif
380#include "close_code.h"382#include <SDL2/close_code.h>
381 383
382#endif /* SDL_syswm_h_ */384#endif /* SDL_syswm_h_ */
383 385
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_thread.h+11−11
@@ -28,14 +28,14 @@ · 27 unmodified lines
28 * Header for the SDL thread management routines.28 * Header for the SDL thread management routines.
29 */29 */
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33 33
34/* Thread synchronization primitives */34/* Thread synchronization primitives */
35#include "SDL_atomic.h"35#include <SDL2/SDL_atomic.h>
36#include "SDL_mutex.h"36#include <SDL2/SDL_mutex.h>
37 37
38#if defined(__WIN32__)38#if defined(__WIN32__) || defined(__GDK__)
39#include <process.h> /* _beginthreadex() and _endthreadex() */39#include <process.h> /* _beginthreadex() and _endthreadex() */
40#endif40#endif
41#if defined(__OS2__) /* for _beginthread() and _endthread() */41#if defined(__OS2__) /* for _beginthread() and _endthread() */
@@ -46,7 +46,7 @@ · 4 unmodified lines
46#endif46#endif
47#endif47#endif
48 48
49#include "begin_code.h"49#include <SDL2/begin_code.h>
50/* Set up for C function definitions, even when using C++ */50/* Set up for C function definitions, even when using C++ */
51#ifdef __cplusplus51#ifdef __cplusplus
52extern "C" {52extern "C" {
@@ -88,7 +88,7 @@ typedef enum { · 35 unmodified lines
88typedef int (SDLCALL * SDL_ThreadFunction) (void *data);88typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
89 89
90 90
91#if defined(__WIN32__)91#if defined(__WIN32__) || defined(__GDK__)
92/**92/**
93 * \file SDL_thread.h93 * \file SDL_thread.h
94 *94 *
@@ -129,7 +129,7 @@ SDL_CreateThread(SDL_ThreadFunction fn, const char *name, void *data, · 34 unmodified lines
129 pfnSDL_CurrentEndThread pfnEndThread);129 pfnSDL_CurrentEndThread pfnEndThread);
130 130
131extern DECLSPEC SDL_Thread *SDLCALL131extern DECLSPEC SDL_Thread *SDLCALL
132SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *),132SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn,
133 const char *name, const size_t stacksize, void *data,133 const char *name, const size_t stacksize, void *data,
134 pfnSDL_CurrentBeginThread pfnBeginThread,134 pfnSDL_CurrentBeginThread pfnBeginThread,
135 pfnSDL_CurrentEndThread pfnEndThread);135 pfnSDL_CurrentEndThread pfnEndThread);
@@ -142,7 +142,7 @@ SDL_CreateThreadWithStackSize(int (SDLCALL * fn) (void *), · 6 unmodified lines
142#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)142#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
143#else143#else
144#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)144#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
145#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, data, (pfnSDL_CurrentBeginThread)_beginthreadex, (pfnSDL_CurrentEndThread)SDL_endthread)145#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
146#endif146#endif
147 147
148#elif defined(__OS2__)148#elif defined(__OS2__)
@@ -175,7 +175,7 @@ SDL_CreateThreadWithStackSize(SDL_ThreadFunction fn, const char *name, const siz · 26 unmodified lines
175#undef SDL_CreateThread175#undef SDL_CreateThread
176#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)176#define SDL_CreateThread(fn, name, data) SDL_CreateThread_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
177#undef SDL_CreateThreadWithStackSize177#undef SDL_CreateThreadWithStackSize
178#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)178#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize_REAL(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
179#else179#else
180#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)180#define SDL_CreateThread(fn, name, data) SDL_CreateThread(fn, name, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
181#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)181#define SDL_CreateThreadWithStackSize(fn, name, stacksize, data) SDL_CreateThreadWithStackSize(fn, name, stacksize, data, (pfnSDL_CurrentBeginThread)SDL_beginthread, (pfnSDL_CurrentEndThread)SDL_endthread)
@@ -457,7 +457,7 @@ extern DECLSPEC void SDLCALL SDL_TLSCleanup(void); · 275 unmodified lines
457#ifdef __cplusplus457#ifdef __cplusplus
458}458}
459#endif459#endif
460#include "close_code.h"460#include <SDL2/close_code.h>
461 461
462#endif /* SDL_thread_h_ */462#endif /* SDL_thread_h_ */
463 463
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_timer.h+4−4
@@ -28,10 +28,10 @@ · 27 unmodified lines
28 * Header for the SDL time management routines.28 * Header for the SDL time management routines.
29 */29 */
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33 33
34#include "begin_code.h"34#include <SDL2/begin_code.h>
35/* Set up for C function definitions, even when using C++ */35/* Set up for C function definitions, even when using C++ */
36#ifdef __cplusplus36#ifdef __cplusplus
37extern "C" {37extern "C" {
@@ -215,7 +215,7 @@ extern DECLSPEC SDL_bool SDLCALL SDL_RemoveTimer(SDL_TimerID id); · 177 unmodified lines
215#ifdef __cplusplus215#ifdef __cplusplus
216}216}
217#endif217#endif
218#include "close_code.h"218#include <SDL2/close_code.h>
219 219
220#endif /* SDL_timer_h_ */220#endif /* SDL_timer_h_ */
221 221
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_touch.h+13−5
@@ -28,11 +28,11 @@ · 27 unmodified lines
28#ifndef SDL_touch_h_28#ifndef SDL_touch_h_
29#define SDL_touch_h_29#define SDL_touch_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_error.h"32#include <SDL2/SDL_error.h>
33#include "SDL_video.h"33#include <SDL2/SDL_video.h>
34 34
35#include "begin_code.h"35#include <SDL2/begin_code.h>
36/* Set up for C function definitions, even when using C++ */36/* Set up for C function definitions, even when using C++ */
37#ifdef __cplusplus37#ifdef __cplusplus
38extern "C" {38extern "C" {
@@ -95,6 +95,14 @@ extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void); · 56 unmodified lines
95 */95 */
96extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index);96extern DECLSPEC SDL_TouchID SDLCALL SDL_GetTouchDevice(int index);
97 97
98/**
99 * Get the touch device name as reported from the driver or NULL if the index
100 * is invalid.
101 *
102 * \since This function is available since SDL 2.0.22.
103 */
104extern DECLSPEC const char* SDLCALL SDL_GetTouchName(int index);
105
98/**106/**
99 * Get the type of the given touch device.107 * Get the type of the given touch device.
100 *108 *
@@ -135,7 +143,7 @@ extern DECLSPEC SDL_Finger * SDLCALL SDL_GetTouchFinger(SDL_TouchID touchID, int · 34 unmodified lines
135#ifdef __cplusplus143#ifdef __cplusplus
136}144}
137#endif145#endif
138#include "close_code.h"146#include <SDL2/close_code.h>
139 147
140#endif /* SDL_touch_h_ */148#endif /* SDL_touch_h_ */
141 149
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_types.h+1−1
@@ -26,4 +26,4 @@ · 25 unmodified lines
26 */26 */
27 27
28/* DEPRECATED */28/* DEPRECATED */
29#include "SDL_stdinc.h"29#include <SDL2/SDL_stdinc.h>
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_version.h+22−6
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_version_h_28#ifndef SDL_version_h_
29#define SDL_version_h_29#define SDL_version_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -58,8 +58,8 @@ typedef struct SDL_version · 21 unmodified lines
58/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL58/* Printable format: "%d.%d.%d", MAJOR, MINOR, PATCHLEVEL
59*/59*/
60#define SDL_MAJOR_VERSION 260#define SDL_MAJOR_VERSION 2
61#define SDL_MINOR_VERSION 061#define SDL_MINOR_VERSION 26
62#define SDL_PATCHLEVEL 2062#define SDL_PATCHLEVEL 2
63 63
64/**64/**
65 * Macro to determine SDL version program was compiled against.65 * Macro to determine SDL version program was compiled against.
@@ -83,6 +83,8 @@ typedef struct SDL_version · 17 unmodified lines
83 (x)->patch = SDL_PATCHLEVEL; \83 (x)->patch = SDL_PATCHLEVEL; \
84}84}
85 85
86/* TODO: Remove this whole block in SDL 3 */
87#if SDL_MAJOR_VERSION < 3
86/**88/**
87 * This macro turns the version numbers into a numeric value:89 * This macro turns the version numbers into a numeric value:
88 * \verbatim90 * \verbatim
@@ -90,21 +92,35 @@ typedef struct SDL_version · 1 unmodified line
90 \endverbatim92 \endverbatim
91 *93 *
92 * This assumes that there will never be more than 100 patchlevels.94 * This assumes that there will never be more than 100 patchlevels.
95 *
96 * In versions higher than 2.9.0, the minor version overflows into
97 * the thousands digit: for example, 2.23.0 is encoded as 4300,
98 * and 2.255.99 would be encoded as 25799.
99 * This macro will not be available in SDL 3.x.
93 */100 */
94#define SDL_VERSIONNUM(X, Y, Z) \101#define SDL_VERSIONNUM(X, Y, Z) \
95 ((X)*1000 + (Y)*100 + (Z))102 ((X)*1000 + (Y)*100 + (Z))
96 103
97/**104/**
98 * This is the version number macro for the current SDL version.105 * This is the version number macro for the current SDL version.
106 *
107 * In versions higher than 2.9.0, the minor version overflows into
108 * the thousands digit: for example, 2.23.0 is encoded as 4300.
109 * This macro will not be available in SDL 3.x.
110 *
111 * Deprecated, use SDL_VERSION_ATLEAST or SDL_VERSION instead.
99 */112 */
100#define SDL_COMPILEDVERSION \113#define SDL_COMPILEDVERSION \
101 SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL)114 SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL)
115#endif /* SDL_MAJOR_VERSION < 3 */
102 116
103/**117/**
104 * This macro will evaluate to true if compiled with SDL at least X.Y.Z.118 * This macro will evaluate to true if compiled with SDL at least X.Y.Z.
105 */119 */
106#define SDL_VERSION_ATLEAST(X, Y, Z) \120#define SDL_VERSION_ATLEAST(X, Y, Z) \
107 (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))121 ((SDL_MAJOR_VERSION >= X) && \
122 (SDL_MAJOR_VERSION > X || SDL_MINOR_VERSION >= Y) && \
123 (SDL_MAJOR_VERSION > X || SDL_MINOR_VERSION > Y || SDL_PATCHLEVEL >= Z))
108 124
109/**125/**
110 * Get the version of SDL that is linked against your program.126 * Get the version of SDL that is linked against your program.
@@ -181,7 +197,7 @@ extern SDL_DEPRECATED DECLSPEC int SDLCALL SDL_GetRevisionNumber(void); · 70 unmodified lines
181#ifdef __cplusplus197#ifdef __cplusplus
182}198}
183#endif199#endif
184#include "close_code.h"200#include <SDL2/close_code.h>
185 201
186#endif /* SDL_version_h_ */202#endif /* SDL_version_h_ */
187 203
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_video.h+77−15
@@ -28,12 +28,12 @@ · 27 unmodified lines
28#ifndef SDL_video_h_28#ifndef SDL_video_h_
29#define SDL_video_h_29#define SDL_video_h_
30 30
31#include "SDL_stdinc.h"31#include <SDL2/SDL_stdinc.h>
32#include "SDL_pixels.h"32#include <SDL2/SDL_pixels.h>
33#include "SDL_rect.h"33#include <SDL2/SDL_rect.h>
34#include "SDL_surface.h"34#include <SDL2/SDL_surface.h>
35 35
36#include "begin_code.h"36#include <SDL2/begin_code.h>
37/* Set up for C function definitions, even when using C++ */37/* Set up for C function definitions, even when using C++ */
38#ifdef __cplusplus38#ifdef __cplusplus
39extern "C" {39extern "C" {
@@ -248,7 +248,8 @@ typedef enum · 208 unmodified lines
248 SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,248 SDL_GL_FRAMEBUFFER_SRGB_CAPABLE,
249 SDL_GL_CONTEXT_RELEASE_BEHAVIOR,249 SDL_GL_CONTEXT_RELEASE_BEHAVIOR,
250 SDL_GL_CONTEXT_RESET_NOTIFICATION,250 SDL_GL_CONTEXT_RESET_NOTIFICATION,
251 SDL_GL_CONTEXT_NO_ERROR251 SDL_GL_CONTEXT_NO_ERROR,
252 SDL_GL_FLOATBUFFERS
252} SDL_GLattr;253} SDL_GLattr;
253 254
254typedef enum255typedef enum
@@ -444,6 +445,15 @@ extern DECLSPEC int SDLCALL SDL_GetDisplayUsableBounds(int displayIndex, SDL_Rec · 189 unmodified lines
444 * A failure of this function usually means that either no DPI information is445 * A failure of this function usually means that either no DPI information is
445 * available or the `displayIndex` is out of range.446 * available or the `displayIndex` is out of range.
446 *447 *
448 * **WARNING**: This reports the DPI that the hardware reports, and it is not
449 * always reliable! It is almost always better to use SDL_GetWindowSize() to
450 * find the window size, which might be in logical points instead of pixels,
451 * and then SDL_GL_GetDrawableSize(), SDL_Vulkan_GetDrawableSize(),
452 * SDL_Metal_GetDrawableSize(), or SDL_GetRendererOutputSize(), and compare
453 * the two values to get an actual scaling value between the two. We will be
454 * rethinking how high-dpi details should be managed in SDL3 to make things
455 * more consistent, reliable, and clear.
456 *
447 * \param displayIndex the index of the display from which DPI information457 * \param displayIndex the index of the display from which DPI information
448 * should be queried458 * should be queried
449 * \param ddpi a pointer filled in with the diagonal DPI of the display; may459 * \param ddpi a pointer filled in with the diagonal DPI of the display; may
@@ -587,6 +597,35 @@ extern DECLSPEC int SDLCALL SDL_GetCurrentDisplayMode(int displayIndex, SDL_Disp · 137 unmodified lines
587 */597 */
588extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);598extern DECLSPEC SDL_DisplayMode * SDLCALL SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);
589 599
600/**
601 * Get the index of the display containing a point
602 *
603 * \param point the point to query
604 * \returns the index of the display containing the point or a negative error
605 * code on failure; call SDL_GetError() for more information.
606 *
607 * \since This function is available since SDL 2.24.0.
608 *
609 * \sa SDL_GetDisplayBounds
610 * \sa SDL_GetNumVideoDisplays
611 */
612extern DECLSPEC int SDLCALL SDL_GetPointDisplayIndex(const SDL_Point * point);
613
614/**
615 * Get the index of the display primarily containing a rect
616 *
617 * \param rect the rect to query
618 * \returns the index of the display entirely containing the rect or closest
619 * to the center of the rect on success or a negative error code on
620 * failure; call SDL_GetError() for more information.
621 *
622 * \since This function is available since SDL 2.24.0.
623 *
624 * \sa SDL_GetDisplayBounds
625 * \sa SDL_GetNumVideoDisplays
626 */
627extern DECLSPEC int SDLCALL SDL_GetRectDisplayIndex(const SDL_Rect * rect);
628
590/**629/**
591 * Get the index of the display associated with a window.630 * Get the index of the display associated with a window.
592 *631 *
@@ -697,7 +736,10 @@ extern DECLSPEC Uint32 SDLCALL SDL_GetWindowPixelFormat(SDL_Window * window); · 104 unmodified lines
697 * in pixels may differ from its size in screen coordinates on platforms with736 * in pixels may differ from its size in screen coordinates on platforms with
698 * high-DPI support (e.g. iOS and macOS). Use SDL_GetWindowSize() to query the737 * high-DPI support (e.g. iOS and macOS). Use SDL_GetWindowSize() to query the
699 * client area's size in screen coordinates, and SDL_GL_GetDrawableSize() or738 * client area's size in screen coordinates, and SDL_GL_GetDrawableSize() or
700 * SDL_GetRendererOutputSize() to query the drawable size in pixels.739 * SDL_GetRendererOutputSize() to query the drawable size in pixels. Note that
740 * when this flag is set, the drawable size can vary after the window is
741 * created and should be queried after major window events such as when the
742 * window is resized or moved between displays.
701 *743 *
702 * If the window is set fullscreen, the width and height parameters `w` and744 * If the window is set fullscreen, the width and height parameters `w` and
703 * `h` will not be used. However, invalid size parameters (e.g. too large) may745 * `h` will not be used. However, invalid size parameters (e.g. too large) may
@@ -1004,6 +1046,27 @@ extern DECLSPEC int SDLCALL SDL_GetWindowBordersSize(SDL_Window * window, · 300 unmodified lines
1004 int *top, int *left,1046 int *top, int *left,
1005 int *bottom, int *right);1047 int *bottom, int *right);
1006 1048
1049/**
1050 * Get the size of a window in pixels.
1051 *
1052 * This may differ from SDL_GetWindowSize() if we're rendering to a high-DPI
1053 * drawable, i.e. the window was created with `SDL_WINDOW_ALLOW_HIGHDPI` on a
1054 * platform with high-DPI support (Apple calls this "Retina"), and not
1055 * disabled by the `SDL_HINT_VIDEO_HIGHDPI_DISABLED` hint.
1056 *
1057 * \param window the window from which the drawable size should be queried
1058 * \param w a pointer to variable for storing the width in pixels, may be NULL
1059 * \param h a pointer to variable for storing the height in pixels, may be
1060 * NULL
1061 *
1062 * \since This function is available since SDL 2.26.0.
1063 *
1064 * \sa SDL_CreateWindow
1065 * \sa SDL_GetWindowSize
1066 */
1067extern DECLSPEC void SDLCALL SDL_GetWindowSizeInPixels(SDL_Window * window,
1068 int *w, int *h);
1069
1007/**1070/**
1008 * Set the minimum size of a window's client area.1071 * Set the minimum size of a window's client area.
1009 *1072 *
@@ -1337,6 +1400,7 @@ extern DECLSPEC void SDLCALL SDL_SetWindowKeyboardGrab(SDL_Window * window, · 327 unmodified lines
1337 * Mouse grab confines the mouse cursor to the window.1400 * Mouse grab confines the mouse cursor to the window.
1338 *1401 *
1339 * \param window The window for which the mouse grab mode should be set.1402 * \param window The window for which the mouse grab mode should be set.
1403 * \param grabbed This is SDL_TRUE to grab mouse, and SDL_FALSE to release.
1340 *1404 *
1341 * \since This function is available since SDL 2.0.16.1405 * \since This function is available since SDL 2.0.16.
1342 *1406 *
@@ -1747,6 +1811,9 @@ extern DECLSPEC void SDLCALL SDL_EnableScreenSaver(void); · 404 unmodified lines
1747 * If you disable the screensaver, it is automatically re-enabled when SDL1811 * If you disable the screensaver, it is automatically re-enabled when SDL
1748 * quits.1812 * quits.
1749 *1813 *
1814 * The screensaver is disabled by default since SDL 2.0.2. Before SDL 2.0.2
1815 * the screensaver was enabled by default.
1816 *
1750 * \since This function is available since SDL 2.0.0.1817 * \since This function is available since SDL 2.0.0.
1751 *1818 *
1752 * \sa SDL_EnableScreenSaver1819 * \sa SDL_EnableScreenSaver
@@ -2008,13 +2075,8 @@ extern DECLSPEC void SDLCALL SDL_GL_GetDrawableSize(SDL_Window * window, int *w, · 255 unmodified lines
2008 * retry the call with 1 for the interval.2075 * retry the call with 1 for the interval.
2009 *2076 *
2010 * Adaptive vsync is implemented for some glX drivers with2077 * Adaptive vsync is implemented for some glX drivers with
2011 * GLX_EXT_swap_control_tear:2078 * GLX_EXT_swap_control_tear, and for some Windows drivers with
2012 *2079 * WGL_EXT_swap_control_tear.
2013 * https://www.opengl.org/registry/specs/EXT/glx_swap_control_tear.txt
2014 *
2015 * and for some Windows drivers with WGL_EXT_swap_control_tear:
2016 *
2017 * https://www.opengl.org/registry/specs/EXT/wgl_swap_control_tear.txt
2018 *2080 *
2019 * Read more on the Khronos wiki:2081 * Read more on the Khronos wiki:
2020 * https://www.khronos.org/opengl/wiki/Swap_Interval#Adaptive_Vsync2082 * https://www.khronos.org/opengl/wiki/Swap_Interval#Adaptive_Vsync
@@ -2081,7 +2143,7 @@ extern DECLSPEC void SDLCALL SDL_GL_DeleteContext(SDL_GLContext context); · 60 unmodified lines
2081#ifdef __cplusplus2143#ifdef __cplusplus
2082}2144}
2083#endif2145#endif
2084#include "close_code.h"2146#include <SDL2/close_code.h>
2085 2147
2086#endif /* SDL_video_h_ */2148#endif /* SDL_video_h_ */
2087 2149
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/SDL_vulkan.h+3−3
@@ -28,9 +28,9 @@ · 27 unmodified lines
28#ifndef SDL_vulkan_h_28#ifndef SDL_vulkan_h_
29#define SDL_vulkan_h_29#define SDL_vulkan_h_
30 30
31#include "SDL_video.h"31#include <SDL2/SDL_video.h>
32 32
33#include "begin_code.h"33#include <SDL2/begin_code.h>
34/* Set up for C function definitions, even when using C++ */34/* Set up for C function definitions, even when using C++ */
35#ifdef __cplusplus35#ifdef __cplusplus
36extern "C" {36extern "C" {
@@ -210,6 +210,6 @@ extern DECLSPEC void SDLCALL SDL_Vulkan_GetDrawableSize(SDL_Window * window, · 173 unmodified lines
210#ifdef __cplusplus210#ifdef __cplusplus
211}211}
212#endif212#endif
213#include "close_code.h"213#include <SDL2/close_code.h>
214 214
215#endif /* SDL_vulkan_h_ */215#endif /* SDL_vulkan_h_ */
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Headers/begin_code.h+4−4
@@ -34,7 +34,7 @@ · 33 unmodified lines
34#define _begin_code_h34#define _begin_code_h
35 35
36#ifndef SDL_DEPRECATED36#ifndef SDL_DEPRECATED
37# if (__GNUC__ >= 4) /* technically, this arrived in gcc 3.1, but oh well. */37# if defined(__GNUC__) && (__GNUC__ >= 4) /* technically, this arrived in gcc 3.1, but oh well. */
38# define SDL_DEPRECATED __attribute__((deprecated))38# define SDL_DEPRECATED __attribute__((deprecated))
39# else39# else
40# define SDL_DEPRECATED40# define SDL_DEPRECATED
@@ -51,7 +51,7 @@ · 10 unmodified lines
51 51
52/* Some compilers use a special export keyword */52/* Some compilers use a special export keyword */
53#ifndef DECLSPEC53#ifndef DECLSPEC
54# if defined(__WIN32__) || defined(__WINRT__) || defined(__CYGWIN__)54# if defined(__WIN32__) || defined(__WINRT__) || defined(__CYGWIN__) || defined(__GDK__)
55# ifdef DLL_EXPORT55# ifdef DLL_EXPORT
56# define DECLSPEC __declspec(dllexport)56# define DECLSPEC __declspec(dllexport)
57# else57# else
@@ -74,7 +74,7 @@ · 16 unmodified lines
74 74
75/* By default SDL uses the C calling convention */75/* By default SDL uses the C calling convention */
76#ifndef SDLCALL76#ifndef SDLCALL
77#if (defined(__WIN32__) || defined(__WINRT__)) && !defined(__GNUC__)77#if (defined(__WIN32__) || defined(__WINRT__) || defined(__GDK__)) && !defined(__GNUC__)
78#define SDLCALL __cdecl78#define SDLCALL __cdecl
79#elif defined(__OS2__) || defined(__EMX__)79#elif defined(__OS2__) || defined(__EMX__)
80#define SDLCALL _System80#define SDLCALL _System
@@ -107,7 +107,7 @@ · 26 unmodified lines
107#ifdef __BORLANDC__107#ifdef __BORLANDC__
108#pragma nopackwarning108#pragma nopackwarning
109#endif109#endif
110#ifdef _M_X64110#ifdef _WIN64
111/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */111/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
112#pragma pack(push,8)112#pragma pack(push,8)
113#else113#else
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/CMake/sdl2-config-version.cmake+48−0
@@ -0,0 +1,48 @@
1# based on the files generated by CMake's write_basic_package_version_file
2
3# SDL2 CMake version configuration file:
4# This file is meant to be placed in Resources/CMake of a SDL2 framework
5
6if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../../Headers/SDL_version.h")
7 message(AUTHOR_WARNING "Could not find SDL_version.h. This script is meant to be placed in the Resources/CMake directory of SDL2.framework")
8 return()
9endif()
10
11file(READ "${CMAKE_CURRENT_LIST_DIR}/../../Headers/SDL_version.h" _sdl_version_h)
12string(REGEX MATCH "#define[ \t]+SDL_MAJOR_VERSION[ \t]+([0-9]+)" _sdl_major_re "${_sdl_version_h}")
13set(_sdl_major "${CMAKE_MATCH_1}")
14string(REGEX MATCH "#define[ \t]+SDL_MINOR_VERSION[ \t]+([0-9]+)" _sdl_minor_re "${_sdl_version_h}")
15set(_sdl_minor "${CMAKE_MATCH_1}")
16string(REGEX MATCH "#define[ \t]+SDL_PATCHLEVEL[ \t]+([0-9]+)" _sdl_patch_re "${_sdl_version_h}")
17set(_sdl_patch "${CMAKE_MATCH_1}")
18if(_sdl_major_re AND _sdl_minor_re AND _sdl_patch_re)
19 set(PACKAGE_VERSION "${_sdl_major}.${_sdl_minor}.${_sdl_patch}")
20else()
21 message(AUTHOR_WARNING "Could not extract version from SDL_version.h.")
22 return()
23endif()
24
25if(PACKAGE_FIND_VERSION_RANGE)
26 # Package version must be in the requested version range
27 if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
28 OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
29 OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
30 set(PACKAGE_VERSION_COMPATIBLE FALSE)
31 else()
32 set(PACKAGE_VERSION_COMPATIBLE TRUE)
33 endif()
34else()
35 if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
36 set(PACKAGE_VERSION_COMPATIBLE FALSE)
37 else()
38 set(PACKAGE_VERSION_COMPATIBLE TRUE)
39 if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
40 set(PACKAGE_VERSION_EXACT TRUE)
41 endif()
42 endif()
43endif()
44
45# if the using project doesn't have CMAKE_SIZEOF_VOID_P set, fail.
46if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "")
47 set(PACKAGE_VERSION_UNSUITABLE TRUE)
48endif()
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/CMake/sdl2-config.cmake+69−0
@@ -0,0 +1,69 @@
1# SDL2 CMake configuration file:
2# This file is meant to be placed in Resources/CMake of a SDL2 framework
3
4# INTERFACE_LINK_OPTIONS needs CMake 3.12
5cmake_minimum_required(VERSION 3.12)
6
7include(FeatureSummary)
8set_package_properties(SDL2 PROPERTIES
9 URL "https://www.libsdl.org/"
10 DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
11)
12
13# Copied from `configure_package_config_file`
14macro(set_and_check _var _file)
15 set(${_var} "${_file}")
16 if(NOT EXISTS "${_file}")
17 message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
18 endif()
19endmacro()
20
21# Copied from `configure_package_config_file`
22macro(check_required_components _NAME)
23 foreach(comp ${${_NAME}_FIND_COMPONENTS})
24 if(NOT ${_NAME}_${comp}_FOUND)
25 if(${_NAME}_FIND_REQUIRED_${comp})
26 set(${_NAME}_FOUND FALSE)
27 endif()
28 endif()
29 endforeach()
30endmacro()
31
32set(SDL2_FOUND TRUE)
33
34string(REGEX REPLACE "SDL2\\.framework.*" "SDL2.framework" SDL2_FRAMEWORK_PATH "${CMAKE_CURRENT_LIST_DIR}")
35string(REGEX REPLACE "SDL2\\.framework.*" "" SDL2_FRAMEWORK_PARENT_PATH "${CMAKE_CURRENT_LIST_DIR}")
36
37# For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables.
38
39set_and_check(SDL2_PREFIX "${SDL2_FRAMEWORK_PATH}")
40set_and_check(SDL2_EXEC_PREFIX "${SDL2_FRAMEWORK_PATH}")
41set_and_check(SDL2_INCLUDE_DIR "${SDL2_FRAMEWORK_PATH}/Headers")
42set(SDL2_INCLUDE_DIRS "${SDL2_INCLUDE_DIR};${SDL2_FRAMEWORK_PATH}")
43set_and_check(SDL2_BINDIR "${SDL2_FRAMEWORK_PATH}")
44set_and_check(SDL2_LIBDIR "${SDL2_FRAMEWORK_PATH}")
45
46set(SDL2_LIBRARIES "SDL2::SDL2")
47
48# All targets are created, even when some might not be requested though COMPONENTS.
49# This is done for compatibility with CMake generated SDL2-target.cmake files.
50
51if(NOT TARGET SDL2::SDL2)
52 add_library(SDL2::SDL2 INTERFACE IMPORTED)
53 set_target_properties(SDL2::SDL2
54 PROPERTIES
55 INTERFACE_COMPILE_OPTIONS "SHELL:-F \"${SDL2_FRAMEWORK_PARENT_PATH}\""
56 INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}"
57 INTERFACE_LINK_OPTIONS "SHELL:-F \"${SDL2_FRAMEWORK_PARENT_PATH}\";SHELL:-framework SDL2"
58 COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
59 INTERFACE_SDL2_SHARED "ON"
60 )
61endif()
62set(SDL2_SDL2_FOUND TRUE)
63
64if(NOT TARGET SDL2::SDL2main)
65 add_library(SDL2::SDL2main INTERFACE IMPORTED)
66endif()
67set(SDL2_SDL2main_FOUND TRUE)
68
69check_required_components(SDL2)
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/Info.plist+10−10
@@ -3,7 +3,7 @@ · 2 unmodified lines
3<plist version="1.0">3<plist version="1.0">
4<dict>4<dict>
5 <key>BuildMachineOSBuild</key>5 <key>BuildMachineOSBuild</key>
6 <string>20G165</string>6 <string>22A400</string>
7 <key>CFBundleDevelopmentRegion</key>7 <key>CFBundleDevelopmentRegion</key>
8 <string>English</string>8 <string>English</string>
9 <key>CFBundleExecutable</key>9 <key>CFBundleExecutable</key>
@@ -19,7 +19,7 @@ · 9 unmodified lines
19 <key>CFBundlePackageType</key>19 <key>CFBundlePackageType</key>
20 <string>FMWK</string>20 <string>FMWK</string>
21 <key>CFBundleShortVersionString</key>21 <key>CFBundleShortVersionString</key>
22 <string>2.0.20</string>22 <string>2.26.2</string>
23 <key>CFBundleSignature</key>23 <key>CFBundleSignature</key>
24 <string>SDLX</string>24 <string>SDLX</string>
25 <key>CFBundleSupportedPlatforms</key>25 <key>CFBundleSupportedPlatforms</key>
@@ -27,24 +27,24 @@ · 1 unmodified line
27 <string>MacOSX</string>27 <string>MacOSX</string>
28 </array>28 </array>
29 <key>CFBundleVersion</key>29 <key>CFBundleVersion</key>
30 <string>2.0.20</string>30 <string>2.26.2</string>
31 <key>DTCompiler</key>31 <key>DTCompiler</key>
32 <string>com.apple.compilers.llvm.clang.1_0</string>32 <string>com.apple.compilers.llvm.clang.1_0</string>
33 <key>DTPlatformBuild</key>33 <key>DTPlatformBuild</key>
34 <string>13C100</string>34 <string>14B47b</string>
35 <key>DTPlatformName</key>35 <key>DTPlatformName</key>
36 <string>macosx</string>36 <string>macosx</string>
37 <key>DTPlatformVersion</key>37 <key>DTPlatformVersion</key>
38 <string>12.1</string>38 <string>13.0</string>
39 <key>DTSDKBuild</key>39 <key>DTSDKBuild</key>
40 <string>21C46</string>40 <string>22A372</string>
41 <key>DTSDKName</key>41 <key>DTSDKName</key>
42 <string>macosx12.1</string>42 <string>macosx13.0</string>
43 <key>DTXcode</key>43 <key>DTXcode</key>
44 <string>1321</string>44 <string>1410</string>
45 <key>DTXcodeBuild</key>45 <key>DTXcodeBuild</key>
46 <string>13C100</string>46 <string>14B47b</string>
47 <key>LSMinimumSystemVersion</key>47 <key>LSMinimumSystemVersion</key>
48 <string>10.6</string>48 <string>10.9</string>
49</dict>49</dict>
50</plist>50</plist>
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/ReadMe.txt+13−1
@@ -18,7 +18,19 @@ To Install: · 17 unmodified lines
18Copy the SDL2.framework to /Library/Frameworks18Copy the SDL2.framework to /Library/Frameworks
19 19
20You may alternatively install it in <Your home directory>/Library/Frameworks 20You may alternatively install it in <Your home directory>/Library/Frameworks
21if your access privileges are not high enough. 21if your access privileges are not high enough.
22
23
24Use in CMake projects:
25SDL2.framework can be used in CMake projects using the following pattern:
26```
27find_package(SDL2 REQUIRED COMPONENTS SDL2)
28add_executable(my_game ${MY_SOURCES})
29target_link_libraries(my_game PRIVATE SDL2::SDL2)
30```
31If SDL2.framework is installed in a non-standard location,
32please refer to the following link for ways to configure CMake:
33https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
22 34
23 35
24Additional References:36Additional References:
release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/Resources/default.metallib+0−0

Binary file not shown.

release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/SDL2+0−0

Binary file not shown.

release/macos/ft2-clone-macos.app/Contents/Frameworks/SDL2.framework/Versions/A/_CodeSignature/CodeResources+174−133
@@ -4,9 +4,17 @@ · 3 unmodified lines
4<dict>4<dict>
5 <key>files</key>5 <key>files</key>
6 <dict>6 <dict>
7 <key>Resources/CMake/sdl2-config-version.cmake</key>
8 <data>
9 GOmfPsl6+zUzjRroR1OeRUu1Do0=
10 </data>
11 <key>Resources/CMake/sdl2-config.cmake</key>
12 <data>
13 aottfZnkkRrcejRrYqK2L/49GIU=
14 </data>
7 <key>Resources/Info.plist</key>15 <key>Resources/Info.plist</key>
8 <data>16 <data>
9 WA5ECtp9JdaZLsWF+EWo7CT3rrk=17 0srrtdsGkAsDsNfVa8G4uQTmX18=
10 </data>18 </data>
11 <key>Resources/License.txt</key>19 <key>Resources/License.txt</key>
12 <data>20 <data>
@@ -14,11 +22,11 @@ · 1 unmodified line
14 </data>22 </data>
15 <key>Resources/ReadMe.txt</key>23 <key>Resources/ReadMe.txt</key>
16 <data>24 <data>
17 JbxWZUxpvG/D7Yb/DvLh6Aunla0=25 04Gl3MPa3Etx4qtkaftLHaPqBVU=
18 </data>26 </data>
19 <key>Resources/default.metallib</key>27 <key>Resources/default.metallib</key>
20 <data>28 <data>
21 9r12z/bRcfzLTZHZq/lX6aEe2XQ=29 IJbnxEB8M5Bm2m634ZoP3yyZ7hc=
22 </data>30 </data>
23 </dict>31 </dict>
24 <key>files2</key>32 <key>files2</key>
@@ -27,99 +35,99 @@ · 2 unmodified lines
27 <dict>35 <dict>
28 <key>hash</key>36 <key>hash</key>
29 <data>37 <data>
30 aTrG+5Kp2RqNz3APjcnTl3w2C4w=38 AglD0HQ7wpywki02o+5BHIzEnL0=
31 </data>39 </data>
32 <key>hash2</key>40 <key>hash2</key>
33 <data>41 <data>
34 9NawzRgLDm4UI/rDFKG++T8PnU8hiR5JbYyd6V3Mx7k=42 rEJ7JEx5CQypooSpXSwzBg0rnDQ0Y7Ctkcgr6WARMso=
35 </data>43 </data>
36 </dict>44 </dict>
37 <key>Headers/SDL_assert.h</key>45 <key>Headers/SDL_assert.h</key>
38 <dict>46 <dict>
39 <key>hash</key>47 <key>hash</key>
40 <data>48 <data>
41 uEY4hdTMrMozRTKHUFPLDb509Sg=49 B9H6Q9JU0i9oid03T1/Ca86gZUU=
42 </data>50 </data>
43 <key>hash2</key>51 <key>hash2</key>
44 <data>52 <data>
45 U3NT+iYQLyMuyL8C9sROyGEfnWZ5SGDnW2zvPxfWAKE=53 uqj30tfXL8YY+MVK9XMh/XKClSKrCsikaNhPIt2HSYM=
46 </data>54 </data>
47 </dict>55 </dict>
48 <key>Headers/SDL_atomic.h</key>56 <key>Headers/SDL_atomic.h</key>
49 <dict>57 <dict>
50 <key>hash</key>58 <key>hash</key>
51 <data>59 <data>
52 D60+kC9hIWIjMdqJJ6YFVv8aOb0=60 S7vGRTzBHVXKyXwYhhvUpfME4bs=
53 </data>61 </data>
54 <key>hash2</key>62 <key>hash2</key>
55 <data>63 <data>
56 2fZn1kBYHhoKRoWwNUHlCWEDYp1KHMSJpCfmEqj415M=64 yyqMgvtuNLSklwq2qM62TTuiLks55E6BNKOB08e6EzQ=
57 </data>65 </data>
58 </dict>66 </dict>
59 <key>Headers/SDL_audio.h</key>67 <key>Headers/SDL_audio.h</key>
60 <dict>68 <dict>
61 <key>hash</key>69 <key>hash</key>
62 <data>70 <data>
63 93MqcH4EqdPWPnTMGXxL+EOJ1xo=71 y0WyGUpd2J2rVMxjUi3zQZoj9ok=
64 </data>72 </data>
65 <key>hash2</key>73 <key>hash2</key>
66 <data>74 <data>
67 wLgXQ8c4VznJaqNYA0zPDOFM1QPEild7ge3OCZp3Gxw=75 UYQL32SIkpxyWOGt7YsCsrwbchOvuBsgcFhTnyFcC/I=
68 </data>76 </data>
69 </dict>77 </dict>
70 <key>Headers/SDL_bits.h</key>78 <key>Headers/SDL_bits.h</key>
71 <dict>79 <dict>
72 <key>hash</key>80 <key>hash</key>
73 <data>81 <data>
74 mxLXvUwNKaUNhzM4fR4Y8QlzvLU=82 6MCXzkSXZ4Ba7/9ksdUPcPxqpLc=
75 </data>83 </data>
76 <key>hash2</key>84 <key>hash2</key>
77 <data>85 <data>
78 E7lG+cfFwP0OtULzcOnUsdgz/uauYrGflxSD53S4pU8=86 moRKyE7GpCyBzoyt2Eib7jqJ/ZMO1vTCWSjtHxP3Few=
79 </data>87 </data>
80 </dict>88 </dict>
81 <key>Headers/SDL_blendmode.h</key>89 <key>Headers/SDL_blendmode.h</key>
82 <dict>90 <dict>
83 <key>hash</key>91 <key>hash</key>
84 <data>92 <data>
85 9bKJAWfPT5IMRUv3P60r38Qlk5E=93 R0DC+lE1tBOALESAuGbbBcDXF24=
86 </data>94 </data>
87 <key>hash2</key>95 <key>hash2</key>
88 <data>96 <data>
89 zxdtTSgsjgosnZmtk6KOYkLixD/aYeMdq8XobZSrhvM=97 RenGdg0rma2j6y9cRvHsTayslInVYfxWvAS3fGUv+Aw=
90 </data>98 </data>
91 </dict>99 </dict>
92 <key>Headers/SDL_clipboard.h</key>100 <key>Headers/SDL_clipboard.h</key>
93 <dict>101 <dict>
94 <key>hash</key>102 <key>hash</key>
95 <data>103 <data>
96 xjb4xlgQVYsfmVMNWFBEnGFShaU=104 ceGtYOxEwS1RedUOwdih3hKfH+A=
97 </data>105 </data>
98 <key>hash2</key>106 <key>hash2</key>
99 <data>107 <data>
100 9jLWKNeHEqSrI9kVnhwtxekbH8eEwa64WdJ+rc4wROY=108 a8VSyIYIzoTtxU9DbVNg5BVixZOBXKcUC5fEd1tx6CI=
101 </data>109 </data>
102 </dict>110 </dict>
103 <key>Headers/SDL_config.h</key>111 <key>Headers/SDL_config.h</key>
104 <dict>112 <dict>
105 <key>hash</key>113 <key>hash</key>
106 <data>114 <data>
107 LlONHAQS/oc0Y+ZJDfwuWh4emOw=115 6XTkjBo2D+0gCdBLcSva+glQ00M=
108 </data>116 </data>
109 <key>hash2</key>117 <key>hash2</key>
110 <data>118 <data>
111 eq/Osz5nEFVx550YlyQeJY0oEfTXsSpRxtL+NnKKs80=119 VIvoehwuIKTef6WBop2Nd0NS05vrTj3rIQMzU50wCuo=
112 </data>120 </data>
113 </dict>121 </dict>
114 <key>Headers/SDL_config_macosx.h</key>122 <key>Headers/SDL_config_macosx.h</key>
115 <dict>123 <dict>
116 <key>hash</key>124 <key>hash</key>
117 <data>125 <data>
118 7Q5qbaae3QXLwQU6Jn3CSRazYk4=126 /stAi8zarCwB82aVod/XjUMQ+iA=
119 </data>127 </data>
120 <key>hash2</key>128 <key>hash2</key>
121 <data>129 <data>
122 trVZMzZEKJS6fxOXwpzcplE8cTK6acnbtwd4xZBkkd4=130 m9snGVWdu+ENVdM/pHMcW3pAamzZLd6luJ4XG9xnysM=
123 </data>131 </data>
124 </dict>132 </dict>
125 <key>Headers/SDL_copying.h</key>133 <key>Headers/SDL_copying.h</key>
@@ -137,242 +145,253 @@ · 11 unmodified lines
137 <dict>145 <dict>
138 <key>hash</key>146 <key>hash</key>
139 <data>147 <data>
140 AiFK26oC3vrUqQcTktLi2pyL/KQ=148 nVyTcSRv2DDGuZGjPqBHG5K4zL4=
141 </data>149 </data>
142 <key>hash2</key>150 <key>hash2</key>
143 <data>151 <data>
144 Oo1qVxCq+dkxk9lEf0v0qwPmjbCeLATLH4VxG2ybMQg=152 AXd36RR4RyCehVoWL5YrmtyPjhYxnzEe0OROTFQNheE=
145 </data>153 </data>
146 </dict>154 </dict>
147 <key>Headers/SDL_endian.h</key>155 <key>Headers/SDL_endian.h</key>
148 <dict>156 <dict>
149 <key>hash</key>157 <key>hash</key>
150 <data>158 <data>
151 jWZza0FD6WVvHt50mdtGSzr7isA=159 3SKom++C+iyjKSaAzELahcbZb9w=
152 </data>160 </data>
153 <key>hash2</key>161 <key>hash2</key>
154 <data>162 <data>
155 kj4Zvh0L+Op9C8lCCVXaWHDZ76yXbnGcE2NxytgYkNs=163 itvFDymfM/B7KSiRLqeXPtmP1Pae7Hr6PKV536yb19k=
156 </data>164 </data>
157 </dict>165 </dict>
158 <key>Headers/SDL_error.h</key>166 <key>Headers/SDL_error.h</key>
159 <dict>167 <dict>
160 <key>hash</key>168 <key>hash</key>
161 <data>169 <data>
162 HMOGfdi3z3S5yWDfup5j0fB2Whg=170 49T3z69eEOBmcFSD+a3fLxkRZOI=
163 </data>171 </data>
164 <key>hash2</key>172 <key>hash2</key>
165 <data>173 <data>
166 Rw8EpFYjBZZtdwW3dMHoX7bp6M5ME28mab1Mwsxski8=174 opYHpNi3KkdFqGsd3UAYaRbjKh6kPnu16gD/ZZQ/jt8=
167 </data>175 </data>
168 </dict>176 </dict>
169 <key>Headers/SDL_events.h</key>177 <key>Headers/SDL_events.h</key>
170 <dict>178 <dict>
171 <key>hash</key>179 <key>hash</key>
172 <data>180 <data>
173 8GlTQ8wp6CpiRx2dUU/pPaDkm7I=181 K0YDSorL3ZvxUfH/7EH3fBfzKLc=
174 </data>182 </data>
175 <key>hash2</key>183 <key>hash2</key>
176 <data>184 <data>
177 jrDXrLEV2gCPcOpeLQDmQ3r9ViGgpqCsffX5azFIvl8=185 I5uNKrvrtaO88Gr7+QFZQjkDkbQNNWcBW22I09tejrM=
178 </data>186 </data>
179 </dict>187 </dict>
180 <key>Headers/SDL_filesystem.h</key>188 <key>Headers/SDL_filesystem.h</key>
181 <dict>189 <dict>
182 <key>hash</key>190 <key>hash</key>
183 <data>191 <data>
184 npTjrmVuSB1Irv4s1UpopzGfftY=192 dle2+b1LyoxJP6xuUUP52U8bqdY=
185 </data>193 </data>
186 <key>hash2</key>194 <key>hash2</key>
187 <data>195 <data>
188 eUiPHMpZBPqmnG3+uO/o9jYN7Y7uED8WEbp+m6zfz+0=196 mcXsf10CuoR8UoMDC9syqfGvRSyI2Auu+ugBHNEC2ug=
189 </data>197 </data>
190 </dict>198 </dict>
191 <key>Headers/SDL_gamecontroller.h</key>199 <key>Headers/SDL_gamecontroller.h</key>
192 <dict>200 <dict>
193 <key>hash</key>201 <key>hash</key>
194 <data>202 <data>
195 0Ice9FmYeLxpoh9gLatmirvExlE=203 H0C0bgSTULk4TImchHfrYnmns7I=
196 </data>204 </data>
197 <key>hash2</key>205 <key>hash2</key>
198 <data>206 <data>
199 x0koRreR719P+hObP+Nd0Fn35y/nRSXj01ndA6lJi+8=207 1qemfRSfK6FrKGSL+1bTrustEUjrWDCedKTdrDYSfcs=
200 </data>208 </data>
201 </dict>209 </dict>
202 <key>Headers/SDL_gesture.h</key>210 <key>Headers/SDL_gesture.h</key>
203 <dict>211 <dict>
204 <key>hash</key>212 <key>hash</key>
205 <data>213 <data>
206 krxPa6d/MfEO9u2sdU+IH+kYjlA=214 eOm09gklTuHk4CAnY8+N+AOWU1w=
215 </data>
216 <key>hash2</key>
217 <data>
218 3Jzx8qKPiLBEeimWYGEMjqACvDfAm8j8qVyKZPyot6o=
219 </data>
220 </dict>
221 <key>Headers/SDL_guid.h</key>
222 <dict>
223 <key>hash</key>
224 <data>
225 crNLOtYvZUPZiAe8ZhVvIlKHL1k=
207 </data>226 </data>
208 <key>hash2</key>227 <key>hash2</key>
209 <data>228 <data>
210 n8WGIrwBlLDWdm6lb+MttHwLGZ81sAfjcNHQqIASrPg=229 8faGizimrTUdyyQeGyHX3YXB92lt5jgs6kJpGEpBoKY=
211 </data>230 </data>
212 </dict>231 </dict>
213 <key>Headers/SDL_haptic.h</key>232 <key>Headers/SDL_haptic.h</key>
214 <dict>233 <dict>
215 <key>hash</key>234 <key>hash</key>
216 <data>235 <data>
217 CMynNInlayPz9QbCwUNg5CX2yuA=236 2P/RhAx7yVVau0ImN4IRu0PKJwM=
218 </data>237 </data>
219 <key>hash2</key>238 <key>hash2</key>
220 <data>239 <data>
221 rlNd/QPn0tUkNZZd5utc0gAVf9chIA7MOkAbDOwPZa0=240 Irx+pJE/K0azzSlTpm9Rst1n2EmNLTpbLY3kmpEinJ0=
222 </data>241 </data>
223 </dict>242 </dict>
224 <key>Headers/SDL_hidapi.h</key>243 <key>Headers/SDL_hidapi.h</key>
225 <dict>244 <dict>
226 <key>hash</key>245 <key>hash</key>
227 <data>246 <data>
228 /AZ5o6pLOz6tNDzNR3sjxOUtNM8=247 gerk57ttnkfcx6wYtwW4C8Utt60=
229 </data>248 </data>
230 <key>hash2</key>249 <key>hash2</key>
231 <data>250 <data>
232 8T9nnGMMORDWOYLT/0SpqwsXiS2iqTz8Khv5PWWnscQ=251 KYySNLgkVh6cIAiPYvDk/Yk2SvQafFytdHZOKvxzZOw=
233 </data>252 </data>
234 </dict>253 </dict>
235 <key>Headers/SDL_hints.h</key>254 <key>Headers/SDL_hints.h</key>
236 <dict>255 <dict>
237 <key>hash</key>256 <key>hash</key>
238 <data>257 <data>
239 +DUCuUk2GfTq2X1tMaaSrLvmjr0=258 JvGUtUGDdOD/IR6T8E+i/mJrG3w=
240 </data>259 </data>
241 <key>hash2</key>260 <key>hash2</key>
242 <data>261 <data>
243 CI6QVSuYJy1vlfo8Z4/uC+Fwfmma0vpTKE5QKbiJRNY=262 DewV5qVFqCCDp3whs2d4873EyxDB/EU/7/0WCVf/KJ8=
244 </data>263 </data>
245 </dict>264 </dict>
246 <key>Headers/SDL_joystick.h</key>265 <key>Headers/SDL_joystick.h</key>
247 <dict>266 <dict>
248 <key>hash</key>267 <key>hash</key>
249 <data>268 <data>
250 +pGWLidV41K8JtmZSGJnjhNpE6w=269 ZAJQHBdcuYDS3gUN2eAuQCr64Hs=
251 </data>270 </data>
252 <key>hash2</key>271 <key>hash2</key>
253 <data>272 <data>
254 91nzPYffummTrOqALonMzOv69/YYnTdwCdi/YEwdyqo=273 YBrgL7qhSrwv7dy9AvltBQDYnEiKnkouVo351bFvJ5Y=
255 </data>274 </data>
256 </dict>275 </dict>
257 <key>Headers/SDL_keyboard.h</key>276 <key>Headers/SDL_keyboard.h</key>
258 <dict>277 <dict>
259 <key>hash</key>278 <key>hash</key>
260 <data>279 <data>
261 8UqudJ780aDNjRiVZaB8teHgHN0=280 daaK2d9/FS98QIeRbwHDjK6MbM4=
262 </data>281 </data>
263 <key>hash2</key>282 <key>hash2</key>
264 <data>283 <data>
265 IgEc96O1dBg5fQpphYGdagTz2OTE4V7rCwiW4rnM5gk=284 BOPhdmyBg4iHctggySFsXHD+2dk0qPQ1glPpc56gEoI=
266 </data>285 </data>
267 </dict>286 </dict>
268 <key>Headers/SDL_keycode.h</key>287 <key>Headers/SDL_keycode.h</key>
269 <dict>288 <dict>
270 <key>hash</key>289 <key>hash</key>
271 <data>290 <data>
272 k6pi1TtFgDy8Fev/sx+9HPBIVo8=291 L6VgO8ptH7uIWMYxqiYDitWP2+0=
273 </data>292 </data>
274 <key>hash2</key>293 <key>hash2</key>
275 <data>294 <data>
276 bpTuOCjY6lRQciH9AMwuUxb613Ui0GfKiNPTaOfiECM=295 o+cvRpzlGHktvrWgdp69oT8gP310gr6qMuoz/bkvsJU=
277 </data>296 </data>
278 </dict>297 </dict>
279 <key>Headers/SDL_loadso.h</key>298 <key>Headers/SDL_loadso.h</key>
280 <dict>299 <dict>
281 <key>hash</key>300 <key>hash</key>
282 <data>301 <data>
283 AghElM6gDnY4Dnlbot+vyYnJSrA=302 BnfRn8au8VfS8nOYd+Og6CqxQtQ=
284 </data>303 </data>
285 <key>hash2</key>304 <key>hash2</key>
286 <data>305 <data>
287 jk0DV61sgGnNfeaCAXNgZVAKjHsjhOf9ZdTuTRYAkcs=306 ViHwtMagclIe0iTK9fUbYuesvQ1nv8rC+9675X5dk3Y=
288 </data>307 </data>
289 </dict>308 </dict>
290 <key>Headers/SDL_locale.h</key>309 <key>Headers/SDL_locale.h</key>
291 <dict>310 <dict>
292 <key>hash</key>311 <key>hash</key>
293 <data>312 <data>
294 YT2d/us0oU2vhka1X8YrQQ+ugZA=313 B7JrCP37jV9Gs+1YoxkyXgaA3/0=
295 </data>314 </data>
296 <key>hash2</key>315 <key>hash2</key>
297 <data>316 <data>
298 mRms4gf60gOySskWyStSn3QIjtFMeXdgoy4Ft2xgWOw=317 NfBH1vQU0RfPYtW0AzShJFmv8MulTUzc/kAQZ9C6ygw=
299 </data>318 </data>
300 </dict>319 </dict>
301 <key>Headers/SDL_log.h</key>320 <key>Headers/SDL_log.h</key>
302 <dict>321 <dict>
303 <key>hash</key>322 <key>hash</key>
304 <data>323 <data>
305 PT7enVGL1sm/zYmzZW0KPjl6+DY=324 aaLQi9U7ijhEeR6nQB97Eb5kLcY=
306 </data>325 </data>
307 <key>hash2</key>326 <key>hash2</key>
308 <data>327 <data>
309 WxgnkpwyPN/S59ykRY+yhtPTnwS9K04cIAVnuniO+1g=328 HiRdEa7+l/wQ6D1HrCHHIIWuTmbSu/TDzwJZPE4T414=
310 </data>329 </data>
311 </dict>330 </dict>
312 <key>Headers/SDL_main.h</key>331 <key>Headers/SDL_main.h</key>
313 <dict>332 <dict>
314 <key>hash</key>333 <key>hash</key>
315 <data>334 <data>
316 7wE/XJU9i7D8dE38GunD5LHSxR8=335 emJAoBEVFAWXHbDxAd6xuMN3B9E=
317 </data>336 </data>
318 <key>hash2</key>337 <key>hash2</key>
319 <data>338 <data>
320 A12oFUcYcvrjD7x99eknjooVxZW7nku1C9CvlG7dAGw=339 VLGRF5preUhSrfraafaOj7fNn5NobRQZaHw4Un/7tfQ=
321 </data>340 </data>
322 </dict>341 </dict>
323 <key>Headers/SDL_messagebox.h</key>342 <key>Headers/SDL_messagebox.h</key>
324 <dict>343 <dict>
325 <key>hash</key>344 <key>hash</key>
326 <data>345 <data>
327 lnOIwfBGqyynpECAR37S2IEV/ng=346 Jyd+Z0oJkOyu7GqxrGoj92kX33E=
328 </data>347 </data>
329 <key>hash2</key>348 <key>hash2</key>
330 <data>349 <data>
331 n44B79BylebQ9O8zUL0hetppllkcICK3+RY/v9/mfu8=350 b/2BVaUV14/zSF4P4vqsBKHdmHO39bcQh+Iw5cIjiUs=
332 </data>351 </data>
333 </dict>352 </dict>
334 <key>Headers/SDL_metal.h</key>353 <key>Headers/SDL_metal.h</key>
335 <dict>354 <dict>
336 <key>hash</key>355 <key>hash</key>
337 <data>356 <data>
338 t6A+bvPeDhyPMiw/h1jzLrFvNYU=357 tLVDtVwn6Vghxf+0jMCFWUhlFKM=
339 </data>358 </data>
340 <key>hash2</key>359 <key>hash2</key>
341 <data>360 <data>
342 HFdR1njmTz8V3sFiDEt2YbN+vnQ5np2VPfgYa/oaQmk=361 FJtCkZuzke2ER0mLBojAKoC0o6omQ3VOpuZJFnNnEPI=
343 </data>362 </data>
344 </dict>363 </dict>
345 <key>Headers/SDL_misc.h</key>364 <key>Headers/SDL_misc.h</key>
346 <dict>365 <dict>
347 <key>hash</key>366 <key>hash</key>
348 <data>367 <data>
349 a4ATMtgjBBMX7Mj07UyVQIq/c8A=368 GDQyA6cRKZi3FJ3qPXMgIG19Xic=
350 </data>369 </data>
351 <key>hash2</key>370 <key>hash2</key>
352 <data>371 <data>
353 7mlsKhE10BEM5snv4NZ/mp6OxAD28AwrUyR5lRk/luw=372 ouIje4tauHjysbz3ObtyFzAB6lTCyhdwb4ndhQ3Z9n4=
354 </data>373 </data>
355 </dict>374 </dict>
356 <key>Headers/SDL_mouse.h</key>375 <key>Headers/SDL_mouse.h</key>
357 <dict>376 <dict>
358 <key>hash</key>377 <key>hash</key>
359 <data>378 <data>
360 1tRjTl1mdjS6QZOVNwEmzcQAnZY=379 nrOK2z4t0YZ5ivxuTWB+9cXUf68=
361 </data>380 </data>
362 <key>hash2</key>381 <key>hash2</key>
363 <data>382 <data>
364 loX9Ql/ErNSvCCSGK1aUnrgpPEQTn26IM6jhsEV/96M=383 a1uWINzkYwydY2X/EhrWYcmHb2VG1Jy3C5nU6xOJAnk=
365 </data>384 </data>
366 </dict>385 </dict>
367 <key>Headers/SDL_mutex.h</key>386 <key>Headers/SDL_mutex.h</key>
368 <dict>387 <dict>
369 <key>hash</key>388 <key>hash</key>
370 <data>389 <data>
371 xfNSAwUg5y/cL1N2vmcaKCPCb/o=390 aG58/w/wU0G8N8tgCdD8ecbbbe4=
372 </data>391 </data>
373 <key>hash2</key>392 <key>hash2</key>
374 <data>393 <data>
375 OmVrUzuXpVJ6ifz7twnDcCT37Sk9lCpqP5zgaCc/QtA=394 XUDMtaFm4qzh0iFhMP4Gnl9H7BDRtZnfFZx6UVvw6uQ=
376 </data>395 </data>
377 </dict>396 </dict>
378 <key>Headers/SDL_name.h</key>397 <key>Headers/SDL_name.h</key>
@@ -390,341 +409,341 @@ · 11 unmodified lines
390 <dict>409 <dict>
391 <key>hash</key>410 <key>hash</key>
392 <data>411 <data>
393 SUV9OqGz7Dq4k0jSR2gus91fNec=412 dND0TDSXp8qXiMvjDaExf8CcXPE=
394 </data>413 </data>
395 <key>hash2</key>414 <key>hash2</key>
396 <data>415 <data>
397 RX5C4ZnVnU5EkxhGic4alEb4pCx6bBavRT0swlytQCo=416 B7dxqoi7VAFjjBzltB+JD02GXld/vb8xR+ugbv0XoK4=
398 </data>417 </data>
399 </dict>418 </dict>
400 <key>Headers/SDL_opengl_glext.h</key>419 <key>Headers/SDL_opengl_glext.h</key>
401 <dict>420 <dict>
402 <key>hash</key>421 <key>hash</key>
403 <data>422 <data>
404 R1nHUIy7DpXf2BZyzO+VT33j3bE=423 z3QoX44hLSqeS5sCphMCc8TAxno=
405 </data>424 </data>
406 <key>hash2</key>425 <key>hash2</key>
407 <data>426 <data>
408 RwZcYEr740srGsvbe4jQhHYTTNwp+e05VGDjqyNkYr4=427 B2j/0LKCjlQl51aWvbslDd3Qc3C2JhJHMPu6C+u3CSs=
409 </data>428 </data>
410 </dict>429 </dict>
411 <key>Headers/SDL_opengles.h</key>430 <key>Headers/SDL_opengles.h</key>
412 <dict>431 <dict>
413 <key>hash</key>432 <key>hash</key>
414 <data>433 <data>
415 mM8fr98GwoT5B7v9Wxp1GdDiBts=434 gNgYlz+/uLgvjec6r0AW7Be2DJI=
416 </data>435 </data>
417 <key>hash2</key>436 <key>hash2</key>
418 <data>437 <data>
419 RuQLSak6d50GlBLg+BjoESrSI1/knMjN2q3KrmLEawA=438 gpV8CPolshDeFDmSwWdoE1szEa7jY6uW06q61w+0g8k=
420 </data>439 </data>
421 </dict>440 </dict>
422 <key>Headers/SDL_opengles2.h</key>441 <key>Headers/SDL_opengles2.h</key>
423 <dict>442 <dict>
424 <key>hash</key>443 <key>hash</key>
425 <data>444 <data>
426 gKfjFA77n02Jf43mivhqK0Ujy8s=445 JAC+taTpU61KVFADpZvYguHPY/A=
427 </data>446 </data>
428 <key>hash2</key>447 <key>hash2</key>
429 <data>448 <data>
430 OP4GffL10Z5RCHQ+Aj9v8dKnAlpyWHoukZxeQAbq6kA=449 4VPaduWoVpL5jy0A9S+tAoRXm0of4K+lqTZ2HRlDNT8=
431 </data>450 </data>
432 </dict>451 </dict>
433 <key>Headers/SDL_opengles2_gl2.h</key>452 <key>Headers/SDL_opengles2_gl2.h</key>
434 <dict>453 <dict>
435 <key>hash</key>454 <key>hash</key>
436 <data>455 <data>
437 g4y04zPFy1H/qujSNGRd0vB7ClQ=456 GbD4M9ZIR9sxgLX4G8T/ojLVQJk=
438 </data>457 </data>
439 <key>hash2</key>458 <key>hash2</key>
440 <data>459 <data>
441 9GAwK0cg8YPrZHWVqMGpyVwKFz3Ay9VHiyz70jzWltA=460 1uxEsdc/OvzjogrGl223+z2sZWxRkPC1Y+TOkNeaFao=
442 </data>461 </data>
443 </dict>462 </dict>
444 <key>Headers/SDL_opengles2_gl2ext.h</key>463 <key>Headers/SDL_opengles2_gl2ext.h</key>
445 <dict>464 <dict>
446 <key>hash</key>465 <key>hash</key>
447 <data>466 <data>
448 bTlnL+42kbi+n/gH//X2p0pqeuM=467 frTvd+EfShO/uonAvnnsnPkqc80=
449 </data>468 </data>
450 <key>hash2</key>469 <key>hash2</key>
451 <data>470 <data>
452 5404JOHXH4pGO60gR/uLhz9zW6fKy9jvdMw5i1WTcpo=471 T8WwA03N6cElki4+cNAUiaazNQdoVu5mApThpjBaNxk=
453 </data>472 </data>
454 </dict>473 </dict>
455 <key>Headers/SDL_opengles2_gl2platform.h</key>474 <key>Headers/SDL_opengles2_gl2platform.h</key>
456 <dict>475 <dict>
457 <key>hash</key>476 <key>hash</key>
458 <data>477 <data>
459 ByFMXJFtjcRglS/e0+DujyjC3dM=478 JO1DB28zz7TCz/P5YCSvV1PaqWg=
460 </data>479 </data>
461 <key>hash2</key>480 <key>hash2</key>
462 <data>481 <data>
463 wlKRTsmTMrnniYqSvQklJfb9VF07J0MDpqzYOcfiDDY=482 R3m+mZrNGQRFgjjwnIaYO3lgrEDmEuBdstuX22FfHg8=
464 </data>483 </data>
465 </dict>484 </dict>
466 <key>Headers/SDL_opengles2_khrplatform.h</key>485 <key>Headers/SDL_opengles2_khrplatform.h</key>
467 <dict>486 <dict>
468 <key>hash</key>487 <key>hash</key>
469 <data>488 <data>
470 NLpJq9uBqjOpWhXISOQHPnTp/XQ=489 mBjqEs+5bGC9u1ED2M93VNzONPQ=
471 </data>490 </data>
472 <key>hash2</key>491 <key>hash2</key>
473 <data>492 <data>
474 djHeDyzmR0e/2JNIbqpBqgi56MXlxlAbgcBFxuvwSyo=493 ex4Bqqetj2/DS1x733nr9RibsJ4sTS55/F01BiPRHoM=
475 </data>494 </data>
476 </dict>495 </dict>
477 <key>Headers/SDL_pixels.h</key>496 <key>Headers/SDL_pixels.h</key>
478 <dict>497 <dict>
479 <key>hash</key>498 <key>hash</key>
480 <data>499 <data>
481 LRzcADu41sQrKf10qqp2LWW3XeA=500 APvnWU71OTgg8nF2ZBdVu+N0OGo=
482 </data>501 </data>
483 <key>hash2</key>502 <key>hash2</key>
484 <data>503 <data>
485 seo4cKvPIVhKUg5BzcoOMtlXuHwK+4za+sld2oDhgQw=504 6VtEW9W48E5QT0eLhrzHm6TM2ZuskMlgjcaAwsilSlY=
486 </data>505 </data>
487 </dict>506 </dict>
488 <key>Headers/SDL_platform.h</key>507 <key>Headers/SDL_platform.h</key>
489 <dict>508 <dict>
490 <key>hash</key>509 <key>hash</key>
491 <data>510 <data>
492 5galYZ+iWxBC3tUY+85l/rodb7o=511 xmppb22E9NRaDsdV/+utqvl2WLA=
493 </data>512 </data>
494 <key>hash2</key>513 <key>hash2</key>
495 <data>514 <data>
496 2HaGAlD+jfbrSQUbdh2ikhMJIIgaSyZYY4Hj8Qw8nK8=515 Y47cCReGiXXhqbPUw+8afBULSs6C1ywdEmYFPe3GSj8=
497 </data>516 </data>
498 </dict>517 </dict>
499 <key>Headers/SDL_power.h</key>518 <key>Headers/SDL_power.h</key>
500 <dict>519 <dict>
501 <key>hash</key>520 <key>hash</key>
502 <data>521 <data>
503 eUUuz7NJwdtXoPz4TwWD/t3t/hY=522 CZt1YqOCoPff+ZX5nsgeLs2abiM=
504 </data>523 </data>
505 <key>hash2</key>524 <key>hash2</key>
506 <data>525 <data>
507 k64vrXeP8FelgvSUDMg4ZLSZGurq61yU87ww6/5mM+8=526 WuENeZEjbiPGXwmzKPi9End4ZRDqxD7gCGDnrgDjgJc=
508 </data>527 </data>
509 </dict>528 </dict>
510 <key>Headers/SDL_quit.h</key>529 <key>Headers/SDL_quit.h</key>
511 <dict>530 <dict>
512 <key>hash</key>531 <key>hash</key>
513 <data>532 <data>
514 Iid+EH+i3+DPXxFt3ai7nkYXpdA=533 tPbozXmJ7atsNAXI2sOnYySxxE0=
515 </data>534 </data>
516 <key>hash2</key>535 <key>hash2</key>
517 <data>536 <data>
518 ov2UI4cI1IsyYq8qk7//RwrmY5ObAhp7KkRT0cp8XVM=537 2OKt3rHgSNG9eTiP7SP0r7oy3zP+xN2i4s6r9i2FLOg=
519 </data>538 </data>
520 </dict>539 </dict>
521 <key>Headers/SDL_rect.h</key>540 <key>Headers/SDL_rect.h</key>
522 <dict>541 <dict>
523 <key>hash</key>542 <key>hash</key>
524 <data>543 <data>
525 ATy0MGYXziJznQOi3bEHDzfNfKg=544 iHOu4GrnG9wq51NGY+KM2d+2M0g=
526 </data>545 </data>
527 <key>hash2</key>546 <key>hash2</key>
528 <data>547 <data>
529 30RDjz60gfkKo6cqSJWv+XlDT0+PRdSVrSVaYmXJMcw=548 Tntu1hV6+rDYjtkylyY+L1sksaom8tHOa/2CWh+sgtg=
530 </data>549 </data>
531 </dict>550 </dict>
532 <key>Headers/SDL_render.h</key>551 <key>Headers/SDL_render.h</key>
533 <dict>552 <dict>
534 <key>hash</key>553 <key>hash</key>
535 <data>554 <data>
536 148BmNO8l0zLrNJ6X3o++c7l2bo=555 r+PPy63R1+ody+tZP2dbPGfmw6k=
537 </data>556 </data>
538 <key>hash2</key>557 <key>hash2</key>
539 <data>558 <data>
540 5lY1TQ1WnE4gup38mgR5Z5z4373ZLneb867zxcsJ5JA=559 xW+/PQfQdyngWTar5nwag9GAO381W0WHFlh4lXmL/Nc=
541 </data>560 </data>
542 </dict>561 </dict>
543 <key>Headers/SDL_revision.h</key>562 <key>Headers/SDL_revision.h</key>
544 <dict>563 <dict>
545 <key>hash</key>564 <key>hash</key>
546 <data>565 <data>
547 UskX0ujjAV97IfpqB3vbgGoCiyw=566 UPmbb5qt2EuGr24iZ1eyLvlBdiE=
548 </data>567 </data>
549 <key>hash2</key>568 <key>hash2</key>
550 <data>569 <data>
551 J1T25bDD9+ytTzaTYfEkuTsh8pnlPdB4RJFo+BqJax0=570 iKXWp49rXQJuyDY9YmtbDqMGLR13eoyKE5GYpgrQ8wc=
552 </data>571 </data>
553 </dict>572 </dict>
554 <key>Headers/SDL_rwops.h</key>573 <key>Headers/SDL_rwops.h</key>
555 <dict>574 <dict>
556 <key>hash</key>575 <key>hash</key>
557 <data>576 <data>
558 0UYLGZe0oyql92rwo5sk2Mv5JVo=577 L/Twsg6Wmiwo1H5Qs8STE8WIR24=
559 </data>578 </data>
560 <key>hash2</key>579 <key>hash2</key>
561 <data>580 <data>
562 P4RMdCXF/9K953m6Q+eqVXRCkVzVAV+hXbOoe3e4A6M=581 km34IYEvTAj4qaziyAtJzgUinazvYYMTaAF2iFAKo9w=
563 </data>582 </data>
564 </dict>583 </dict>
565 <key>Headers/SDL_scancode.h</key>584 <key>Headers/SDL_scancode.h</key>
566 <dict>585 <dict>
567 <key>hash</key>586 <key>hash</key>
568 <data>587 <data>
569 sx6YjImUkAdRAX7V1DIAuwxkh/c=588 8jfEeSeObKCo0FSuBdhCcOhGJY0=
570 </data>589 </data>
571 <key>hash2</key>590 <key>hash2</key>
572 <data>591 <data>
573 OL3RNQD2X96+kxsU0yRH4apSx/tKhi3BxRl52OFAYSk=592 ea3lLDAd+NprFdQG6SDrWrbe+Eqk2deHZKcR4UYyqoo=
574 </data>593 </data>
575 </dict>594 </dict>
576 <key>Headers/SDL_sensor.h</key>595 <key>Headers/SDL_sensor.h</key>
577 <dict>596 <dict>
578 <key>hash</key>597 <key>hash</key>
579 <data>598 <data>
580 61q6aLU6n7+kNN09SObFJeO/9wA=599 Wh0+8q+dAxu+zZXO1RTF/DO3iTs=
581 </data>600 </data>
582 <key>hash2</key>601 <key>hash2</key>
583 <data>602 <data>
584 XmYmMVG61fzgJfj77mGROTywuMWsNgRLG597bhz+peY=603 9KGbZIyc+S3T17HB/5k6xyDNONycVPbYpf5isAvhmCo=
585 </data>604 </data>
586 </dict>605 </dict>
587 <key>Headers/SDL_shape.h</key>606 <key>Headers/SDL_shape.h</key>
588 <dict>607 <dict>
589 <key>hash</key>608 <key>hash</key>
590 <data>609 <data>
591 qj0IUzY/c0BL/X9SgIT0fF3jLkE=610 UWs6SO78LJYdrBlGs1tY10DrJUI=
592 </data>611 </data>
593 <key>hash2</key>612 <key>hash2</key>
594 <data>613 <data>
595 HTVFVnU5fT3NJ77xPGLsTExAsiEcJ9WJryO/zLZJL6c=614 CFJEICmokjpIcOYx1hTgGJ8fqLjaj+k9VuxREOUDJaA=
596 </data>615 </data>
597 </dict>616 </dict>
598 <key>Headers/SDL_stdinc.h</key>617 <key>Headers/SDL_stdinc.h</key>
599 <dict>618 <dict>
600 <key>hash</key>619 <key>hash</key>
601 <data>620 <data>
602 Ow6oKGveLDE2aT0KxfSJs8/24UI=621 vd3+T3ZYbYucuC3PVrlzpjJK02I=
603 </data>622 </data>
604 <key>hash2</key>623 <key>hash2</key>
605 <data>624 <data>
606 FcemYG+UGgvQJHVx/0aFkPxuDa99LnzzfyUvSM5AMAE=625 IjvC4HnVYMawfQP4Gu8y0Y2oOUqct7p+z6lxIDDGKZ8=
607 </data>626 </data>
608 </dict>627 </dict>
609 <key>Headers/SDL_surface.h</key>628 <key>Headers/SDL_surface.h</key>
610 <dict>629 <dict>
611 <key>hash</key>630 <key>hash</key>
612 <data>631 <data>
613 RdyyRQbhpIDBkrNOPDJ290MEc18=632 bc5QzhwXbUo4XnD7q4NOSWOuTxs=
614 </data>633 </data>
615 <key>hash2</key>634 <key>hash2</key>
616 <data>635 <data>
617 k58BNGZc93dbvyP4oyMEHL7LTMCncEHSm7EdcR878w4=636 xouGGI808iRhAh/0XTNJv2QTIUi3LPrZW5oHvGDm/7E=
618 </data>637 </data>
619 </dict>638 </dict>
620 <key>Headers/SDL_system.h</key>639 <key>Headers/SDL_system.h</key>
621 <dict>640 <dict>
622 <key>hash</key>641 <key>hash</key>
623 <data>642 <data>
624 ujlKZfzP309kUTXstQg359cq3dk=643 s6lznhqSlL+KFtBJSEELBCTTp1U=
625 </data>644 </data>
626 <key>hash2</key>645 <key>hash2</key>
627 <data>646 <data>
628 sMxQ9hx1mtMaJNUhOuygfDpQ3E+18X7QSVlQZigFXQk=647 AlgtfPI6N0Jukp6N7fmTnNV3AzBzEBj5HZREFJSkMmY=
629 </data>648 </data>
630 </dict>649 </dict>
631 <key>Headers/SDL_syswm.h</key>650 <key>Headers/SDL_syswm.h</key>
632 <dict>651 <dict>
633 <key>hash</key>652 <key>hash</key>
634 <data>653 <data>
635 7YVFoB7fS5l7PdqmxsrhPziQj84=654 oxVccR9E/ARZqqPl+BjVMKNdDNw=
636 </data>655 </data>
637 <key>hash2</key>656 <key>hash2</key>
638 <data>657 <data>
639 fv7rkrGfIa4wRfnVvTZNfPtI6ZXg5LiD63A1Bw3LOsg=658 LRcM/Fhcqwv6Qf3YhgaLGkkEuFqXFTvl6pWfaQCNw9g=
640 </data>659 </data>
641 </dict>660 </dict>
642 <key>Headers/SDL_thread.h</key>661 <key>Headers/SDL_thread.h</key>
643 <dict>662 <dict>
644 <key>hash</key>663 <key>hash</key>
645 <data>664 <data>
646 9IQdMCX5R/BYopjk3MQIKacM0zg=665 dn5FB3QZEtYrriL/kUTOyAj9jwE=
647 </data>666 </data>
648 <key>hash2</key>667 <key>hash2</key>
649 <data>668 <data>
650 eZr1S4adstfHOatN7ohlUl+LnVN+hXUn7ezBiX2acpQ=669 xEW2ytplQOQ2uIOG2QNBUsTI8kSuUC18NfQ8BnenZYI=
651 </data>670 </data>
652 </dict>671 </dict>
653 <key>Headers/SDL_timer.h</key>672 <key>Headers/SDL_timer.h</key>
654 <dict>673 <dict>
655 <key>hash</key>674 <key>hash</key>
656 <data>675 <data>
657 hqlDXe01g/p0GJqAIyCnovQfuv0=676 Ltnz4OrvTc2eABw8uX/0L/nuca4=
658 </data>677 </data>
659 <key>hash2</key>678 <key>hash2</key>
660 <data>679 <data>
661 GQrzt2L9IDziXBftqfsx1pi9dZV/WdTOfMIWceiiQDo=680 W+hRt3f94ZHPIpQ4xN7D/U0OVtTTZBAA9Nphtq8fgeg=
662 </data>681 </data>
663 </dict>682 </dict>
664 <key>Headers/SDL_touch.h</key>683 <key>Headers/SDL_touch.h</key>
665 <dict>684 <dict>
666 <key>hash</key>685 <key>hash</key>
667 <data>686 <data>
668 ogBfxSNahOEzOjz+IHqs2haPd20=687 rwC4gDU7l5kY0ZZEIhd7RT3axUU=
669 </data>688 </data>
670 <key>hash2</key>689 <key>hash2</key>
671 <data>690 <data>
672 dHHrHfFgrQ+QTEuntgNsluAqNykwwr+3y3mW+ahc/ao=691 DVFA8C77fiVhyFFtqV/lglia5PShpk967pt+huaItwo=
673 </data>692 </data>
674 </dict>693 </dict>
675 <key>Headers/SDL_types.h</key>694 <key>Headers/SDL_types.h</key>
676 <dict>695 <dict>
677 <key>hash</key>696 <key>hash</key>
678 <data>697 <data>
679 JL3QiRD2vzD7eFr8QljR1v7v8lU=698 ARZgD/WKM8LbXYcplBCyws5jmmo=
680 </data>699 </data>
681 <key>hash2</key>700 <key>hash2</key>
682 <data>701 <data>
683 kIAt1eckF9O/iA04SnvC8H5cGzOldVcPrteXVyGB3wo=702 vvFj+McRdgHRX9HrooW/E7jX5C74rxEwVv18wMyvSC0=
684 </data>703 </data>
685 </dict>704 </dict>
686 <key>Headers/SDL_version.h</key>705 <key>Headers/SDL_version.h</key>
687 <dict>706 <dict>
688 <key>hash</key>707 <key>hash</key>
689 <data>708 <data>
690 w50K/1c33V+ibF9et7A/PeNjKpg=709 LblCHIN3YDAC5u7sKKVT9KXuhhQ=
691 </data>710 </data>
692 <key>hash2</key>711 <key>hash2</key>
693 <data>712 <data>
694 +Aw5Y41y8rkDqZGz/BMzCeAVDRUOVdlX5dEHIBxNNLg=713 m2YnnxZ3NFLyWa40RPyHe4X7MfV68puUdm1SdheubMY=
695 </data>714 </data>
696 </dict>715 </dict>
697 <key>Headers/SDL_video.h</key>716 <key>Headers/SDL_video.h</key>
698 <dict>717 <dict>
699 <key>hash</key>718 <key>hash</key>
700 <data>719 <data>
701 q0CoxPrnkRWpMWS/pIHyPhbSMCM=720 4jGRWrhQFyHkch8stq/9q4W1Ojs=
702 </data>721 </data>
703 <key>hash2</key>722 <key>hash2</key>
704 <data>723 <data>
705 DPvCDsIQY0QTiPeSMSbLRcQOWsT0oKupircD3OyJR3I=724 K3iiENHlz4P96m4GXYFrijlVAWWUeCWFdFm78pPl4Nk=
706 </data>725 </data>
707 </dict>726 </dict>
708 <key>Headers/SDL_vulkan.h</key>727 <key>Headers/SDL_vulkan.h</key>
709 <dict>728 <dict>
710 <key>hash</key>729 <key>hash</key>
711 <data>730 <data>
712 YzU8hEv6jByapIvIAasOdqkAyQU=731 k22upiGXgz0TzSKkWtDwaKrV2fw=
713 </data>732 </data>
714 <key>hash2</key>733 <key>hash2</key>
715 <data>734 <data>
716 PqC117S9gbnKmKCBf991rQDJ7N2ak+47yGX/gEdOG8c=735 kg2f48mMRh4+Ev5cnsEDDyQqf6YbP7YqWNhykRYzgDo=
717 </data>736 </data>
718 </dict>737 </dict>
719 <key>Headers/begin_code.h</key>738 <key>Headers/begin_code.h</key>
720 <dict>739 <dict>
721 <key>hash</key>740 <key>hash</key>
722 <data>741 <data>
723 h8hZ7hTZOrnc0cFWYRvvTyUhGOU=742 u4PDdbvfemkyR1H1QsODd6pLFRA=
724 </data>743 </data>
725 <key>hash2</key>744 <key>hash2</key>
726 <data>745 <data>
727 qDNWZktosRzVPtpK9+6MkP+OIGQNUrIIpu7WU11cI7g=746 mOMdpMYdVHyciBhBNbcuPQFKemkQLlxtdYNQI3z2snE=
728 </data>747 </data>
729 </dict>748 </dict>
730 <key>Headers/close_code.h</key>749 <key>Headers/close_code.h</key>
@@ -738,15 +757,37 @@ · 7 unmodified lines
738 9JEAM14hpDRV6tDnQvfIFtBJQXHOEJSONje5q/PKlTo=757 9JEAM14hpDRV6tDnQvfIFtBJQXHOEJSONje5q/PKlTo=
739 </data>758 </data>
740 </dict>759 </dict>
760 <key>Resources/CMake/sdl2-config-version.cmake</key>
761 <dict>
762 <key>hash</key>
763 <data>
764 GOmfPsl6+zUzjRroR1OeRUu1Do0=
765 </data>
766 <key>hash2</key>
767 <data>
768 YeQ8SoXGqMam3mk/39htvQ5fF5Twd16X5JPfl7/hSuk=
769 </data>
770 </dict>
771 <key>Resources/CMake/sdl2-config.cmake</key>
772 <dict>
773 <key>hash</key>
774 <data>
775 aottfZnkkRrcejRrYqK2L/49GIU=
776 </data>
777 <key>hash2</key>
778 <data>
779 NtAgweQRe487Cy32/RioObq+KAq6SXdUsRtQZaAvT6U=
780 </data>
781 </dict>
741 <key>Resources/Info.plist</key>782 <key>Resources/Info.plist</key>
742 <dict>783 <dict>
743 <key>hash</key>784 <key>hash</key>
744 <data>785 <data>
745 WA5ECtp9JdaZLsWF+EWo7CT3rrk=786 0srrtdsGkAsDsNfVa8G4uQTmX18=
746 </data>787 </data>
747 <key>hash2</key>788 <key>hash2</key>
748 <data>789 <data>
749 ui83Z8gNUOjU063vj/ucfMrkooeLR2eRAT4bCQscyyE=790 dsUxoQk9XWlOiWXn9Ywz3s9X2VDH0jsvImZxBCRK3ck=
750 </data>791 </data>
751 </dict>792 </dict>
752 <key>Resources/License.txt</key>793 <key>Resources/License.txt</key>
@@ -764,22 +805,22 @@ · 11 unmodified lines
764 <dict>805 <dict>
765 <key>hash</key>806 <key>hash</key>
766 <data>807 <data>
767 JbxWZUxpvG/D7Yb/DvLh6Aunla0=808 04Gl3MPa3Etx4qtkaftLHaPqBVU=
768 </data>809 </data>
769 <key>hash2</key>810 <key>hash2</key>
770 <data>811 <data>
771 pOpMHiFjj3pIWQqZ5KDvYNyp0twU7vCZmLwAQJLVkT4=812 OjTqSEaeNJpJyrrZIzKimvTn011CW6ucNulPPxUwgL0=
772 </data>813 </data>
773 </dict>814 </dict>
774 <key>Resources/default.metallib</key>815 <key>Resources/default.metallib</key>
775 <dict>816 <dict>
776 <key>hash</key>817 <key>hash</key>
777 <data>818 <data>
778 9r12z/bRcfzLTZHZq/lX6aEe2XQ=819 IJbnxEB8M5Bm2m634ZoP3yyZ7hc=
779 </data>820 </data>
780 <key>hash2</key>821 <key>hash2</key>
781 <data>822 <data>
782 wLvh//hzxtz/3NO439f1+KwR8WlN6SmtrhisJLt1J48=823 jER7vdakln2mbSKeyf0qvxSSq/5YH3yog8/x0a3iGGw=
783 </data>824 </data>
784 </dict>825 </dict>
785 </dict>826 </dict>
release/macos/ft2-clone-macos.app/Contents/Info.plist+2−0
@@ -129,5 +129,7 @@ https://16-bits.org</string> · 128 unmodified lines
129 <true/>129 <true/>
130 <key>NSHighResolutionCapable</key>130 <key>NSHighResolutionCapable</key>
131 <true/>131 <true/>
132 <key>NSMicrophoneUsageDescription</key>
133 <string>This program needs access to your audio device.</string>
132</dict>134</dict>
133</plist>135</plist>
release/win32/SDL2.dll+0−0

Binary file not shown.

release/win64/SDL2.dll+0−0

Binary file not shown.

src/ft2_audio.c+11−30
@@ -107,8 +107,6 @@ bool setNewAudioSettings(void) // only call this from the main input/video threa · 106 unmodified lines
107 107
108 resumeAudio();108 resumeAudio();
109 109
110 setWavRenderFrequency(audio.freq);
111 setWavRenderBitDepth((config.specialFlags & BITDEPTH_32) ? 32 : 16);
112 return true;110 return true;
113}111}
114 112
@@ -272,8 +270,7 @@ static void voiceUpdateVolumes(int32_t i, uint8_t status) · 157 unmodified lines
272 // if destination volume and current volume is the same (and we have no sample trigger), don't do ramp270 // if destination volume and current volume is the same (and we have no sample trigger), don't do ramp
273 if (fVolumeL == v->fVolumeL && fVolumeR == v->fVolumeR && !(status & IS_Trigger))271 if (fVolumeL == v->fVolumeL && fVolumeR == v->fVolumeR && !(status & IS_Trigger))
274 {272 {
275 // there is no volume change273 v->volumeRampLength = 0; // there is no volume change
276 v->volumeRampLength = 0;
277 }274 }
278 else275 else
279 {276 {
@@ -889,7 +886,7 @@ static void fillVisualsSyncBuffer(void) · 609 unmodified lines
889 pattSyncData.row = song.curReplayerRow;886 pattSyncData.row = song.curReplayerRow;
890 pattSyncData.pattNum = song.curReplayerPattNum;887 pattSyncData.pattNum = song.curReplayerPattNum;
891 pattSyncData.songPos = song.curReplayerSongPos;888 pattSyncData.songPos = song.curReplayerSongPos;
892 pattSyncData.BPM = song.BPM;889 pattSyncData.BPM = (uint8_t)song.BPM;
893 pattSyncData.speed = (uint8_t)song.speed;890 pattSyncData.speed = (uint8_t)song.speed;
894 pattSyncData.globalVolume = (uint8_t)song.globalVolume;891 pattSyncData.globalVolume = (uint8_t)song.globalVolume;
895 pattSyncData.timestamp = audio.tickTime64;892 pattSyncData.timestamp = audio.tickTime64;
@@ -985,41 +982,28 @@ static void SDLCALL audioCallback(void *userdata, Uint8 *stream, int len) · 89 unmodified lines
985 982
986static bool setupAudioBuffers(void)983static bool setupAudioBuffers(void)
987{984{
988 const uint32_t sampleSize = sizeof (float);985 audio.fMixBufferL = (float *)calloc(MAX_WAV_RENDER_SAMPLES_PER_TICK, sizeof (float));
989 986 audio.fMixBufferR = (float *)calloc(MAX_WAV_RENDER_SAMPLES_PER_TICK, sizeof (float));
990 audio.fMixBufferLUnaligned = (float *)MALLOC_PAD(MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize, 256);
991 audio.fMixBufferRUnaligned = (float *)MALLOC_PAD(MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize, 256);
992 987
993 if (audio.fMixBufferLUnaligned == NULL || audio.fMixBufferRUnaligned == NULL)988 if (audio.fMixBufferL == NULL || audio.fMixBufferR == NULL)
994 return false;989 return false;
995 990
996 // make aligned main pointers
997 audio.fMixBufferL = (float *)ALIGN_PTR(audio.fMixBufferLUnaligned, 256);
998 audio.fMixBufferR = (float *)ALIGN_PTR(audio.fMixBufferRUnaligned, 256);
999
1000 // clear buffers
1001 memset(audio.fMixBufferL, 0, MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize);
1002 memset(audio.fMixBufferR, 0, MAX_WAV_RENDER_SAMPLES_PER_TICK * sampleSize);
1003
1004 return true;991 return true;
1005}992}
1006 993
1007static void freeAudioBuffers(void)994static void freeAudioBuffers(void)
1008{995{
1009 if (audio.fMixBufferLUnaligned != NULL)996 if (audio.fMixBufferL != NULL)
1010 {997 {
1011 free(audio.fMixBufferLUnaligned);998 free(audio.fMixBufferL);
1012 audio.fMixBufferLUnaligned = NULL;999 audio.fMixBufferL = NULL;
1013 }1000 }
1014 1001
1015 if (audio.fMixBufferRUnaligned != NULL)1002 if (audio.fMixBufferR != NULL)
1016 {1003 {
1017 free(audio.fMixBufferRUnaligned);1004 free(audio.fMixBufferR);
1018 audio.fMixBufferRUnaligned = NULL;1005 audio.fMixBufferR = NULL;
1019 }1006 }
1020
1021 audio.fMixBufferL = NULL;
1022 audio.fMixBufferR = NULL;
1023}1007}
1024 1008
1025void updateSendAudSamplesRoutine(bool lockMixer)1009void updateSendAudSamplesRoutine(bool lockMixer)
@@ -1214,9 +1198,6 @@ bool setupAudio(bool showErrorMsg) · 188 unmodified lines
1214 updateSendAudSamplesRoutine(false);1198 updateSendAudSamplesRoutine(false);
1215 audio.resetSyncTickTimeFlag = true;1199 audio.resetSyncTickTimeFlag = true;
1216 1200
1217 setWavRenderFrequency(audio.freq);
1218 setWavRenderBitDepth((config.specialFlags & BITDEPTH_32) ? 32 : 16);
1219
1220 return true;1201 return true;
1221}1202}
1222 1203
src/ft2_audio.h+16−6
@@ -40,7 +40,7 @@ typedef struct audio_t · 39 unmodified lines
40 uint32_t freq, audLatencyPerfValInt, audLatencyPerfValFrac, samplesPerTick, samplesPerTickFrac, musicTimeSpeedVal;40 uint32_t freq, audLatencyPerfValInt, audLatencyPerfValFrac, samplesPerTick, samplesPerTickFrac, musicTimeSpeedVal;
41 uint64_t tickTime64, tickTime64Frac;41 uint64_t tickTime64, tickTime64Frac;
42 float fRampQuickVolMul, fRampTickMul, fRampTickMulTab[(MAX_BPM-MIN_BPM)+1];42 float fRampQuickVolMul, fRampTickMul, fRampTickMulTab[(MAX_BPM-MIN_BPM)+1];
43 float *fMixBufferL, *fMixBufferR, *fMixBufferLUnaligned, *fMixBufferRUnaligned;43 float *fMixBufferL, *fMixBufferR;
44 double dHz2MixDeltaMul, dAudioLatencyMs;44 double dHz2MixDeltaMul, dAudioLatencyMs;
45 45
46 SDL_AudioDeviceID dev;46 SDL_AudioDeviceID dev;
@@ -57,7 +57,7 @@ typedef struct · 10 unmodified lines
57 uint32_t volumeRampLength;57 uint32_t volumeRampLength;
58 58
59 uintCPUWord_t positionFrac, delta, oldDelta, scopeDelta;59 uintCPUWord_t positionFrac, delta, oldDelta, scopeDelta;
60#60
61 // if (loopEnabled && hasLooped && samplingPos <= loopStart+SINC_LEFT_TAPS) readFixedTapsFromThisPointer();61 // if (loopEnabled && hasLooped && samplingPos <= loopStart+SINC_LEFT_TAPS) readFixedTapsFromThisPointer();
62 const int8_t *leftEdgeTaps8;62 const int8_t *leftEdgeTaps8;
63 const int16_t *leftEdgeTaps16;63 const int16_t *leftEdgeTaps16;
@@ -66,12 +66,22 @@ typedef struct · 2 unmodified lines
66 float fVolume, fVolumeL, fVolumeR, fVolumeLDelta, fVolumeRDelta, fVolumeLTarget, fVolumeRTarget;66 float fVolume, fVolumeL, fVolumeR, fVolumeLDelta, fVolumeRDelta, fVolumeLTarget, fVolumeRTarget;
67} voice_t;67} voice_t;
68 68
69typedef struct pattSyncData_t69#ifdef _MSC_VER
70#pragma pack(push)
71#pragma pack(1)
72#endif
73typedef struct pattSyncData_t // used for audio/video sync queue (pack to save RAM)
70{74{
71 uint8_t pattNum, globalVolume, songPos, tick, speed, row;75 uint8_t pattNum, globalVolume, songPos, tick, speed, row, BPM;
72 uint16_t BPM;
73 uint64_t timestamp;76 uint64_t timestamp;
74} pattSyncData_t;77}
78#ifdef __GNUC__
79__attribute__ ((packed))
80#endif
81pattSyncData_t;
82#ifdef _MSC_VER
83#pragma pack(pop)
84#endif
75 85
76typedef struct pattSync_t86typedef struct pattSync_t
77{87{
src/ft2_checkboxes.c+8−2
@@ -14,6 +14,7 @@ · 13 unmodified lines
14#include "ft2_mouse.h"14#include "ft2_mouse.h"
15#include "ft2_edit.h"15#include "ft2_edit.h"
16#include "ft2_bmp.h"16#include "ft2_bmp.h"
17#include "ft2_wav_renderer.h"
17#include "ft2_structs.h"18#include "ft2_structs.h"
18 19
19checkBox_t checkBoxes[NUM_CHECKBOXES] =20checkBox_t checkBoxes[NUM_CHECKBOXES] =
@@ -90,6 +91,7 @@ checkBox_t checkBoxes[NUM_CHECKBOXES] = · 70 unmodified lines
90 { 113, 79, 128, 12, cbConfigLineColors },91 { 113, 79, 128, 12, cbConfigLineColors },
91 { 113, 92, 126, 12, cbConfigChanNums },92 { 113, 92, 126, 12, cbConfigChanNums },
92 { 255, 14, 136, 12, cbConfigShowVolCol },93 { 255, 14, 136, 12, cbConfigShowVolCol },
94 { 237, 108, 13, 12, cbEnableCustomPointer },
93 { 255, 158, 111, 12, cbSoftwareMouse },95 { 255, 158, 111, 12, cbSoftwareMouse },
94 // ---------------------------------96 // ---------------------------------
95 { 212, 2, 150, 12, cbSampCutToBuff },97 { 212, 2, 150, 12, cbSampCutToBuff },
@@ -108,10 +110,14 @@ checkBox_t checkBoxes[NUM_CHECKBOXES] = · 12 unmodified lines
108 { 411, 119, 121, 12, cbMIDIRecTransp },110 { 411, 119, 121, 12, cbMIDIRecTransp },
109 { 411, 132, 109, 12, cbMIDIRecVelocity },111 { 411, 132, 109, 12, cbMIDIRecVelocity },
110 { 411, 145, 124, 12, cbMIDIRecAftert },112 { 411, 145, 124, 12, cbMIDIRecAftert },
111 { 113, 115, 74, 12, cbVsyncOff },113 { 113, 115, 75, 12, cbVsyncOff },
112 { 113, 128, 78, 12, cbFullScreen },114 { 113, 128, 78, 12, cbFullScreen },
113 { 113, 141, 75, 12, cbStretchImage },115 { 113, 141, 75, 12, cbStretchImage },
114 { 113, 154, 78, 12, cbPixelFilter }116 { 113, 154, 78, 12, cbPixelFilter },
117
118 // WAV RENDERER BPM MODE
119 //x, y, w, h, funcOnUp
120 { 3, 112, 71, 24, cbToggleWavRenderBPMMode }
115};121};
116 122
117void drawCheckBox(uint16_t checkBoxID)123void drawCheckBox(uint16_t checkBoxID)
src/ft2_checkboxes.h+3−0
@@ -65,6 +65,7 @@ enum // CHECKBOXES · 64 unmodified lines
65 CB_CONF_LINECOLORS,65 CB_CONF_LINECOLORS,
66 CB_CONF_CHANNUMS,66 CB_CONF_CHANNUMS,
67 CB_CONF_SHOW_VOLCOL,67 CB_CONF_SHOW_VOLCOL,
68 CB_CONF_ENABLE_CUSTOM_POINTER,
68 CB_CONF_SOFTWARE_MOUSE,69 CB_CONF_SOFTWARE_MOUSE,
69 70
70 // CONFIG MISCELLANEOUS71 // CONFIG MISCELLANEOUS
@@ -89,6 +90,8 @@ enum // CHECKBOXES · 18 unmodified lines
89 CB_CONF_STRETCH_IMAGE,90 CB_CONF_STRETCH_IMAGE,
90 CB_CONF_PIXEL_FILTER,91 CB_CONF_PIXEL_FILTER,
91 92
93 CB_WAV_BPM_MODE,
94
92 NUM_CHECKBOXES95 NUM_CHECKBOXES
93};96};
94 97
src/ft2_config.c+65−25
@@ -210,12 +210,40 @@ static void setDefaultConfigSettings(void) · 209 unmodified lines
210 loadConfigFromBuffer(true);210 loadConfigFromBuffer(true);
211}211}
212 212
213static void updateImageStretchAndPixelFilter(uint8_t oldWindowFlags, uint8_t oldSpecialFlags2)
214{
215 bool didFullscreenUpdate = false;
216
217 // handle pixel filter change
218 if ((oldWindowFlags & PIXEL_FILTER) != (config.windowFlags & PIXEL_FILTER))
219 {
220 recreateTexture();
221 if (video.fullscreen) // force an update if in fullscreen mode
222 {
223 leaveFullscreen();
224 enterFullscreen();
225 didFullscreenUpdate = true;
226 }
227 }
228
229 // handle image stretch change
230 if ((oldSpecialFlags2 & STRETCH_IMAGE) != (config.specialFlags2 & STRETCH_IMAGE))
231 {
232 if (video.fullscreen && !didFullscreenUpdate) // force an update if in fullscreen mode
233 {
234 leaveFullscreen();
235 enterFullscreen();
236 }
237 }
238}
239
213void resetConfig(void)240void resetConfig(void)
214{241{
215 if (okBox(2, "System request", "Are you sure you want to reset your FT2 configuration?") != 1)242 if (okBox(2, "System request", "Are you sure you want to reset your FT2 configuration?") != 1)
216 return;243 return;
217 244
218 const uint8_t oldWindowFlags = config.windowFlags;245 const uint8_t oldWindowFlags = config.windowFlags;
246 const uint8_t oldSpecialFlags2 = config.specialFlags2;
219 247
220 setDefaultConfigSettings();248 setDefaultConfigSettings();
221 setToDefaultAudioOutputDevice();249 setToDefaultAudioOutputDevice();
@@ -228,17 +256,7 @@ void resetConfig(void) · 6 unmodified lines
228 showBottomScreen();256 showBottomScreen();
229 257
230 setWindowSizeFromConfig(true);258 setWindowSizeFromConfig(true);
231 259 updateImageStretchAndPixelFilter(oldWindowFlags, oldSpecialFlags2);
232 // handle pixel filter change
233 if ((oldWindowFlags & PIXEL_FILTER) != (config.windowFlags & PIXEL_FILTER))
234 {
235 recreateTexture();
236 if (video.fullscreen)
237 {
238 leaveFullScreen();
239 enterFullscreen();
240 }
241 }
242 260
243 if (config.specialFlags2 & HARDWARE_MOUSE)261 if (config.specialFlags2 & HARDWARE_MOUSE)
244 SDL_ShowCursor(SDL_TRUE);262 SDL_ShowCursor(SDL_TRUE);
@@ -339,6 +357,7 @@ bool loadConfig(bool showErrorFlag) · 94 unmodified lines
339void loadConfig2(void) // called by "Load config" button357void loadConfig2(void) // called by "Load config" button
340{358{
341 const uint8_t oldWindowFlags = config.windowFlags;359 const uint8_t oldWindowFlags = config.windowFlags;
360 const uint8_t oldSpecialFlags2 = config.specialFlags2;
342 361
343 loadConfig(CONFIG_SHOW_ERRORS);362 loadConfig(CONFIG_SHOW_ERRORS);
344 363
@@ -346,16 +365,8 @@ void loadConfig2(void) // called by "Load config" button · 1 unmodified line
346 showTopScreen(false);365 showTopScreen(false);
347 showBottomScreen();366 showBottomScreen();
348 367
349 // handle pixel filter change368 setWindowSizeFromConfig(true);
350 if ((oldWindowFlags & PIXEL_FILTER) != (config.windowFlags & PIXEL_FILTER))369 updateImageStretchAndPixelFilter(oldWindowFlags, oldSpecialFlags2);
351 {
352 recreateTexture();
353 if (video.fullscreen)
354 {
355 leaveFullScreen();
356 enterFullscreen();
357 }
358 }
359 370
360 if (config.specialFlags2 & HARDWARE_MOUSE)371 if (config.specialFlags2 & HARDWARE_MOUSE)
361 SDL_ShowCursor(SDL_TRUE);372 SDL_ShowCursor(SDL_TRUE);
@@ -872,6 +883,7 @@ static void setConfigLayoutCheckButtonStates(void) · 510 unmodified lines
872 checkBoxes[CB_CONF_LINECOLORS].checked = config.ptnLineLight;883 checkBoxes[CB_CONF_LINECOLORS].checked = config.ptnLineLight;
873 checkBoxes[CB_CONF_CHANNUMS].checked = config.ptnChnNumbers;884 checkBoxes[CB_CONF_CHANNUMS].checked = config.ptnChnNumbers;
874 checkBoxes[CB_CONF_SHOW_VOLCOL].checked = config.ptnShowVolColumn;885 checkBoxes[CB_CONF_SHOW_VOLCOL].checked = config.ptnShowVolColumn;
886 checkBoxes[CB_CONF_ENABLE_CUSTOM_POINTER].checked = (config.specialFlags2 & USE_OS_MOUSE_POINTER) ? false : true;
875 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = (config.specialFlags2 & HARDWARE_MOUSE) ? false : true;887 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = (config.specialFlags2 & HARDWARE_MOUSE) ? false : true;
876 888
877 showCheckBox(CB_CONF_PATTSTRETCH);889 showCheckBox(CB_CONF_PATTSTRETCH);
@@ -882,6 +894,7 @@ static void setConfigLayoutCheckButtonStates(void) · 4 unmodified lines
882 showCheckBox(CB_CONF_LINECOLORS);894 showCheckBox(CB_CONF_LINECOLORS);
883 showCheckBox(CB_CONF_CHANNUMS);895 showCheckBox(CB_CONF_CHANNUMS);
884 showCheckBox(CB_CONF_SHOW_VOLCOL);896 showCheckBox(CB_CONF_SHOW_VOLCOL);
897 showCheckBox(CB_CONF_ENABLE_CUSTOM_POINTER);
885 showCheckBox(CB_CONF_SOFTWARE_MOUSE);898 showCheckBox(CB_CONF_SOFTWARE_MOUSE);
886}899}
887 900
@@ -1429,6 +1442,7 @@ void hideConfigScreen(void) · 541 unmodified lines
1429 hideCheckBox(CB_CONF_LINECOLORS);1442 hideCheckBox(CB_CONF_LINECOLORS);
1430 hideCheckBox(CB_CONF_CHANNUMS);1443 hideCheckBox(CB_CONF_CHANNUMS);
1431 hideCheckBox(CB_CONF_SHOW_VOLCOL);1444 hideCheckBox(CB_CONF_SHOW_VOLCOL);
1445 hideCheckBox(CB_CONF_ENABLE_CUSTOM_POINTER);
1432 hideCheckBox(CB_CONF_SOFTWARE_MOUSE);1446 hideCheckBox(CB_CONF_SOFTWARE_MOUSE);
1433 hidePushButton(PB_CONFIG_PAL_R_DOWN);1447 hidePushButton(PB_CONFIG_PAL_R_DOWN);
1434 hidePushButton(PB_CONFIG_PAL_R_UP);1448 hidePushButton(PB_CONFIG_PAL_R_UP);
@@ -1737,6 +1751,29 @@ void cbConfigShowVolCol(void) · 302 unmodified lines
1737 redrawPatternEditor();1751 redrawPatternEditor();
1738}1752}
1739 1753
1754void cbEnableCustomPointer(void)
1755{
1756 config.specialFlags2 ^= USE_OS_MOUSE_POINTER;
1757
1758 if (config.specialFlags2 & USE_OS_MOUSE_POINTER)
1759 {
1760 checkBoxes[CB_CONF_ENABLE_CUSTOM_POINTER].checked = false;
1761 drawCheckBox(CB_CONF_ENABLE_CUSTOM_POINTER);
1762 }
1763 else
1764 {
1765 checkBoxes[CB_CONF_ENABLE_CUSTOM_POINTER].checked = true;
1766 drawCheckBox(CB_CONF_ENABLE_CUSTOM_POINTER);
1767 }
1768
1769 if (config.specialFlags2 & HARDWARE_MOUSE)
1770 SDL_ShowCursor(SDL_TRUE);
1771 else
1772 SDL_ShowCursor(SDL_FALSE);
1773
1774 createMouseCursors();
1775}
1776
1740void cbSoftwareMouse(void)1777void cbSoftwareMouse(void)
1741{1778{
1742 config.specialFlags2 ^= HARDWARE_MOUSE;1779 config.specialFlags2 ^= HARDWARE_MOUSE;
@@ -1747,14 +1784,17 @@ void cbSoftwareMouse(void) · 4 unmodified lines
1747 {1784 {
1748 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = false;1785 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = false;
1749 drawCheckBox(CB_CONF_SOFTWARE_MOUSE);1786 drawCheckBox(CB_CONF_SOFTWARE_MOUSE);
1750 SDL_ShowCursor(SDL_TRUE);
1751 }1787 }
1752 else1788 else
1753 {1789 {
1754 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = true;1790 checkBoxes[CB_CONF_SOFTWARE_MOUSE].checked = true;
1755 drawCheckBox(CB_CONF_SOFTWARE_MOUSE);1791 drawCheckBox(CB_CONF_SOFTWARE_MOUSE);
1756 SDL_ShowCursor(SDL_FALSE);
1757 }1792 }
1793
1794 if (config.specialFlags2 & HARDWARE_MOUSE)
1795 SDL_ShowCursor(SDL_TRUE);
1796 else
1797 SDL_ShowCursor(SDL_FALSE);
1758}1798}
1759 1799
1760void rbConfigMouseNice(void)1800void rbConfigMouseNice(void)
@@ -2081,7 +2121,7 @@ void cbPixelFilter(void) · 320 unmodified lines
2081 recreateTexture();2121 recreateTexture();
2082 if (video.fullscreen)2122 if (video.fullscreen)
2083 {2123 {
2084 leaveFullScreen();2124 leaveFullscreen();
2085 enterFullscreen();2125 enterFullscreen();
2086 }2126 }
2087}2127}
@@ -2092,7 +2132,7 @@ void cbStretchImage(void) · 4 unmodified lines
2092 2132
2093 if (video.fullscreen)2133 if (video.fullscreen)
2094 {2134 {
2095 leaveFullScreen();2135 leaveFullscreen();
2096 enterFullscreen();2136 enterFullscreen();
2097 }2137 }
2098}2138}
src/ft2_config.h+3−1
@@ -80,9 +80,10 @@ enum · 79 unmodified lines
80 LINED_SCOPES = 128,80 LINED_SCOPES = 128,
81 81
82 // specialFlags282 // specialFlags2
83 DITHERED_AUDIO = 1, /* DEPRECATED */83 DITHERED_AUDIO = 1, /* DEPRECATED (but don't use it for anything else!) */
84 HARDWARE_MOUSE = 2,84 HARDWARE_MOUSE = 2,
85 STRETCH_IMAGE = 4,85 STRETCH_IMAGE = 4,
86 USE_OS_MOUSE_POINTER = 8,
86 87
87 // windowFlags88 // windowFlags
88 WINSIZE_AUTO = 1,89 WINSIZE_AUTO = 1,
@@ -260,6 +261,7 @@ void cbConfigFramework(void); · 171 unmodified lines
260void cbConfigLineColors(void);261void cbConfigLineColors(void);
261void cbConfigChanNums(void);262void cbConfigChanNums(void);
262void cbConfigShowVolCol(void);263void cbConfigShowVolCol(void);
264void cbEnableCustomPointer(void);
263void cbSoftwareMouse(void);265void cbSoftwareMouse(void);
264void cbSampCutToBuff(void);266void cbSampCutToBuff(void);
265void cbPattCutToBuff(void);267void cbPattCutToBuff(void);
src/ft2_diskop.c+7−2
@@ -2251,13 +2251,18 @@ void showDiskOpScreen(void) · 2250 unmodified lines
2251 // first test if we can change the dir to the one stored in the config (if present)2251 // first test if we can change the dir to the one stored in the config (if present)
2252 if (FReq_ModCurPathU[0] == '\0' || UNICHAR_CHDIR(FReq_ModCurPathU) != 0)2252 if (FReq_ModCurPathU[0] == '\0' || UNICHAR_CHDIR(FReq_ModCurPathU) != 0)
2253 {2253 {
2254 // nope, couldn't do that, set Disk Op. path to user/home directory2254 // nope, couldn't do that, set Disk Op. path to the user's desktop directory
2255#ifdef _WIN322255#ifdef _WIN32
2256 SHGetFolderPathW(NULL, CSIDL_PROFILE, NULL, 0, FReq_ModCurPathU);2256 SHGetFolderPathW(NULL, CSIDL_DESKTOPDIRECTORY, NULL, 0, FReq_ModCurPathU);
2257#else2257#else
2258 char *home = getenv("HOME");2258 char *home = getenv("HOME");
2259 if (home != NULL)2259 if (home != NULL)
2260 {
2261 UNICHAR_CHDIR(home);
2260 UNICHAR_STRCPY(FReq_ModCurPathU, home);2262 UNICHAR_STRCPY(FReq_ModCurPathU, home);
2263
2264 UNICHAR_STRCAT(FReq_ModCurPathU, "/Desktop");
2265 }
2261#endif2266#endif
2262 UNICHAR_CHDIR(FReq_ModCurPathU);2267 UNICHAR_CHDIR(FReq_ModCurPathU);
2263 }2268 }
src/ft2_edit.c+9−1
@@ -118,7 +118,15 @@ static bool testEditKeys(SDL_Scancode scancode, SDL_Keycode keycode) · 117 unmodified lines
118 }118 }
119 119
120 if (i == KEY2VOL_ENTRIES)120 if (i == KEY2VOL_ENTRIES)
121 i = -1; // invalid key for slot121 {
122 // volume column key not found, let's try a hack for '-' and '+' keys first
123 if (scancode == SDL_SCANCODE_MINUS)
124 i = 5;
125 else if (scancode == SDL_SCANCODE_EQUALS)
126 i = 6;
127 else
128 i = -1; // invalid key for slot
129 }
122 }130 }
123 else if (cursor.object == CURSOR_EFX0)131 else if (cursor.object == CURSOR_EFX0)
124 {132 {
src/ft2_events.c+18−51
@@ -38,7 +38,7 @@ · 37 unmodified lines
38 "Try to mention what you did before the crash happened.\n" \38 "Try to mention what you did before the crash happened.\n" \
39 "My email can be found at the bottom of www.16-bits.org."39 "My email can be found at the bottom of www.16-bits.org."
40 40
41static bool backupMadeAfterCrash;41static bool backupMadeAfterCrash, didDropFile;
42 42
43#ifdef _WIN3243#ifdef _WIN32
44#define SYSMSG_FILE_ARG (WM_USER+1)44#define SYSMSG_FILE_ARG (WM_USER+1)
@@ -48,52 +48,16 @@ static bool backupMadeAfterCrash; · 3 unmodified lines
48static HWND hWnd;48static HWND hWnd;
49static HANDLE oneInstHandle, hMapFile;49static HANDLE oneInstHandle, hMapFile;
50static LPCTSTR sharedMemBuf;50static LPCTSTR sharedMemBuf;
51
52// used for Windows usleep() implementation
53static NTSTATUS (__stdcall *NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterval);
54#endif51#endif
55 52
56static void handleInput(void);53static void handleSDLEvents(void);
57
58// usleep() implementation for Windows (Warning: This might not be future-safe!)
59#ifdef _WIN32
60void usleep(uint32_t usec)
61{
62 LARGE_INTEGER lpDueTime;
63
64 if (NtDelayExecution == NULL)
65 {
66 // NtDelayExecution() is not available (shouldn't happen), use regular sleep()
67 Sleep(usec / 1000);
68 }
69 else
70 {
71 // this prevents a 64-bit MUL (will not overflow with the ranges we use anyway)
72 lpDueTime.HighPart = UINT32_MAX;
73 lpDueTime.LowPart = (DWORD)(-10 * (int32_t)usec);
74
75 NtDelayExecution(false, &lpDueTime);
76 }
77}
78
79void setupWin32Usleep(void)
80{
81 NtDelayExecution = (NTSTATUS (__stdcall *)(BOOL, PLARGE_INTEGER))GetProcAddress(GetModuleHandle("ntdll.dll"), "NtDelayExecution");
82 timeBeginPeriod(0); // enter highest timer resolution
83}
84
85void freeWin32Usleep(void)
86{
87 timeEndPeriod(0); // exit highest timer resolution
88}
89#endif
90 54
91void readInput(void)55void readInput(void)
92{56{
93 readMouseXY();57 readMouseXY();
94 readKeyModifiers();58 readKeyModifiers();
95 setSyncedReplayerVars();59 setSyncedReplayerVars();
96 handleInput();60 handleSDLEvents();
97}61}
98 62
99void handleThreadEvents(void)63void handleThreadEvents(void)
@@ -402,21 +366,13 @@ void handleWaitVblQuirk(SDL_Event *event) · 302 unmodified lines
402 else if (event->window.event == SDL_WINDOWEVENT_SHOWN)366 else if (event->window.event == SDL_WINDOWEVENT_SHOWN)
403 video.windowHidden = false;367 video.windowHidden = false;
404 368
405 if (video.vsync60HzPresent)369 // reset vblank end time if we minimize window
406 {370 if (event->window.event == SDL_WINDOWEVENT_MINIMIZED || event->window.event == SDL_WINDOWEVENT_FOCUS_LOST)
407 /* If we minimize the window and vsync is present, vsync is temporarily turned off.371 hpc_ResetCounters(&video.vblankHpc);
408 ** recalc waitVBL() vars so that it can sleep properly in said mode.
409 */
410 if (event->window.event == SDL_WINDOWEVENT_MINIMIZED ||
411 event->window.event == SDL_WINDOWEVENT_FOCUS_LOST)
412 {
413 setupWaitVBL();
414 }
415 }
416 }372 }
417}373}
418 374
419static void handleInput(void)375static void handleSDLEvents(void)
420{376{
421 SDL_Event event;377 SDL_Event event;
422 378
@@ -492,6 +448,10 @@ static void handleInput(void) · 69 unmodified lines
492 editor.autoPlayOnDrop = false;448 editor.autoPlayOnDrop = false;
493 loadDroppedFile(event.drop.file, true);449 loadDroppedFile(event.drop.file, true);
494 SDL_free(event.drop.file);450 SDL_free(event.drop.file);
451
452 // kludge: allow focus-clickthrough after drag-n-drop
453 SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "1");
454 didDropFile = true;
495 }455 }
496 else if (event.type == SDL_QUIT)456 else if (event.type == SDL_QUIT)
497 {457 {
@@ -529,6 +489,13 @@ static void handleInput(void) · 31 unmodified lines
529 else if (event.type == SDL_MOUSEBUTTONUP)489 else if (event.type == SDL_MOUSEBUTTONUP)
530 {490 {
531 mouseButtonUpHandler(event.button.button);491 mouseButtonUpHandler(event.button.button);
492
493 // kludge: we drag-n-dropped a file before this mouse click release, restore focus-clickthrough mode
494 if (didDropFile)
495 {
496 didDropFile = false;
497 SDL_SetHint(SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH, "0");
498 }
532 }499 }
533 else if (event.type == SDL_MOUSEBUTTONDOWN)500 else if (event.type == SDL_MOUSEBUTTONDOWN)
534 {501 {
src/ft2_events.h+0−3
@@ -20,7 +20,4 @@ void handleWaitVblQuirk(SDL_Event *event); · 19 unmodified lines
20#ifdef _WIN3220#ifdef _WIN32
21bool handleSingleInstancing(int32_t argc, char **argv);21bool handleSingleInstancing(int32_t argc, char **argv);
22void closeSingleInstancing(void);22void closeSingleInstancing(void);
23void usleep(uint32_t usec);
24void setupWin32Usleep(void);
25void freeWin32Usleep(void);
26#endif23#endif
src/ft2_header.h+4−7
@@ -12,11 +12,11 @@ · 11 unmodified lines
12#endif12#endif
13#include "ft2_replayer.h"13#include "ft2_replayer.h"
14 14
15#define PROG_VER_STR "1.51"15#define PROG_VER_STR "1.63"
16 16
17// do NOT change these! It will only mess things up...17// do NOT change these! It will only mess things up...
18 18
19#define FT2_VBLANK_HZ 7019#define FT2_VBLANK_HZ 70.086302895323 /* nominal, 640x400 @ 70Hz */
20#define SCREEN_W 63220#define SCREEN_W 632
21#define SCREEN_H 40021#define SCREEN_H 400
22 22
@@ -37,8 +37,8 @@ · 14 unmodified lines
37** branchless in the inner channel mixer loop.37** branchless in the inner channel mixer loop.
38** Warning: Do not change this!38** Warning: Do not change this!
39*/39*/
40#define SMP_DAT_OFFSET 3240#define SMP_DAT_OFFSET ((SINC_LEFT_TAPS*2)+1)
41#define SAMPLE_PAD_LENGTH (SMP_DAT_OFFSET+32)41#define SAMPLE_PAD_LENGTH (SMP_DAT_OFFSET+(SINC_RIGHT_TAPS*2))
42 42
43#ifndef _WIN3243#ifndef _WIN32
44#define _stricmp strcasecmp44#define _stricmp strcasecmp
@@ -69,9 +69,6 @@ · 24 unmodified lines
69// fast 32-bit -> 16-bit clamp69// fast 32-bit -> 16-bit clamp
70#define CLAMP16(i) if ((int16_t)(i) != i) i = 0x7FFF ^ (i >> 31)70#define CLAMP16(i) if ((int16_t)(i) != i) i = 0x7FFF ^ (i >> 31)
71 71
72#define ALIGN_PTR(p, x) (((uintptr_t)(p) + ((x)-1)) & ~((x)-1))
73#define MALLOC_PAD(size, pad) (malloc((size) + (pad)))
74
75#define SWAP16(x) \72#define SWAP16(x) \
76( \73( \
77 (((uint16_t)((x) & 0x00FF)) << 8) | \74 (((uint16_t)((x) & 0x00FF)) << 8) | \
src/ft2_hpc.c+163−0
@@ -0,0 +1,163 @@
1/*
2** Hardware Performance Counter delay routines
3*/
4
5#ifdef _WIN32
6#define WIN32_MEAN_AND_LEAN
7#include <windows.h>
8#else
9#include <unistd.h>
10#endif
11#include <SDL2/SDL.h>
12#include <stdint.h>
13#include <stdbool.h>
14#include "ft2_hpc.h"
15
16#define FRAC_BITS 63
17#define FRAC_SCALE (1ULL << FRAC_BITS)
18#define FRAC_MASK (FRAC_SCALE-1)
19
20hpcFreq_t hpcFreq;
21
22#ifdef _WIN32 // Windows usleep() implementation
23
24#define STATUS_SUCCESS 0
25
26static bool canAdjustTimerResolution;
27
28static NTSTATUS (__stdcall *NtDelayExecution)(BOOL Alertable, PLARGE_INTEGER DelayInterval);
29static NTSTATUS (__stdcall *NtQueryTimerResolution)(PULONG MinimumResolution, PULONG MaximumResolution, PULONG ActualResolution);
30static NTSTATUS (__stdcall *NtSetTimerResolution)(ULONG DesiredResolution, BOOLEAN SetResolution, PULONG CurrentResolution);
31
32static void (*usleep)(int32_t usec);
33
34static void usleepGood(int32_t usec)
35{
36 LARGE_INTEGER delayInterval;
37
38 // NtDelayExecution() delays in 100ns-units, and a negative value means to delay from current time
39 usec *= -10;
40
41 delayInterval.HighPart = 0xFFFFFFFF; // negative 64-bit value, we only set the lower dword
42 delayInterval.LowPart = usec;
43 NtDelayExecution(false, &delayInterval);
44}
45
46static void usleepPoor(int32_t usec) // fallback if no NtDelayExecution()
47{
48 Sleep((usec + 500) / 1000);
49}
50
51static void windowsSetupUsleep(void)
52{
53 NtDelayExecution = (NTSTATUS (__stdcall *)(BOOL, PLARGE_INTEGER))GetProcAddress(GetModuleHandle("ntdll.dll"), "NtDelayExecution");
54 usleep = (NtDelayExecution != NULL) ? usleepGood : usleepPoor;
55
56 NtQueryTimerResolution = (NTSTATUS (__stdcall *)(PULONG, PULONG, PULONG))GetProcAddress(GetModuleHandle("ntdll.dll"), "NtQueryTimerResolution");
57 NtSetTimerResolution = (NTSTATUS (__stdcall *)(ULONG, BOOLEAN, PULONG))GetProcAddress(GetModuleHandle("ntdll.dll"), "NtSetTimerResolution");
58 canAdjustTimerResolution = (NtQueryTimerResolution != NULL && NtSetTimerResolution != NULL);
59}
60#endif
61
62void hpc_Init(void)
63{
64#ifdef _WIN32
65 windowsSetupUsleep();
66#endif
67 hpcFreq.freq64 = SDL_GetPerformanceFrequency();
68
69 double dFreq = (double)hpcFreq.freq64;
70
71 hpcFreq.dFreqMulMs = 1000.0 / dFreq;
72 hpcFreq.dFreqMulMicro = (1000.0 * 1000.0) / dFreq;
73}
74
75// returns 64-bit fractional part of u64 divided by u32
76static uint64_t getFrac64FromU64DivU32(uint64_t dividend, uint32_t divisor)
77{
78 if (dividend == 0 || divisor == 0 || divisor >= dividend)
79 return 0;
80
81 dividend %= divisor;
82
83 if (dividend == 0)
84 return 0;
85
86 const uint32_t quotient = (uint32_t)((dividend << 32) / divisor);
87 const uint32_t remainder = (uint32_t)((dividend << 32) % divisor);
88
89 const uint32_t resultHi = quotient;
90 const uint32_t resultLo = (uint32_t)(((uint64_t)remainder << 32) / divisor);
91
92 return ((uint64_t)resultHi << 32) | resultLo;
93}
94
95void hpc_SetDurationInHz(hpc_t *hpc, uint32_t hz)
96{
97 // set 64:63fp value
98 hpc->durationInt = hpcFreq.freq64 / hz;
99 hpc->durationFrac = getFrac64FromU64DivU32(hpcFreq.freq64, hz) >> 1;
100
101 hpc->resetFrame = hz * 3600; // reset counters every hour
102}
103
104void hpc_ResetCounters(hpc_t *hpc)
105{
106 hpc->endTimeInt = SDL_GetPerformanceCounter() + hpc->durationInt;
107 hpc->endTimeFrac = hpc->durationFrac;
108}
109
110void hpc_Wait(hpc_t *hpc)
111{
112#ifdef _WIN32
113 /* Make sure resolution is set to 0.5ms (safest minimum) - this is confirmed to improve
114 ** NtDelayExecution() and Sleep(). This will only be changed when needed, not per frame.
115 */
116 ULONG curRes, minRes, maxRes, junk;
117 if (canAdjustTimerResolution && NtQueryTimerResolution(&minRes, &maxRes, &curRes) == STATUS_SUCCESS)
118 {
119 if (curRes != 5000 && maxRes <= 5000)
120 NtSetTimerResolution(5000, TRUE, &junk); // 0.5ms
121 }
122#endif
123
124 const uint64_t currTime64 = SDL_GetPerformanceCounter();
125 if (currTime64 < hpc->endTimeInt)
126 {
127 uint64_t timeLeft64 = hpc->endTimeInt - currTime64;
128
129 // convert to int32_t for fast SSE2 SIMD usage lateron
130 if (timeLeft64 > INT32_MAX)
131 timeLeft64 = INT32_MAX;
132
133 const int32_t timeLeft32 = (int32_t)timeLeft64;
134
135 int32_t microSecsLeft = (int32_t)((timeLeft32 * hpcFreq.dFreqMulMicro) + 0.5); // rounded
136 if (microSecsLeft > 0)
137 usleep(microSecsLeft);
138 }
139
140 // set next end time
141
142 hpc->endTimeInt += hpc->durationInt;
143
144 // handle fractional part
145 hpc->endTimeFrac += hpc->durationFrac;
146 if (hpc->endTimeFrac >= FRAC_SCALE)
147 {
148 hpc->endTimeFrac &= FRAC_MASK;
149 hpc->endTimeInt++;
150 }
151
152 /* The counter ("endTimeInt") can accumulate major errors after a couple of hours,
153 ** since each frame is not happening at perfect intervals.
154 ** To fix this, reset the counter's int & frac once every hour. We should only get
155 ** up to one frame of stutter while they are resetting, then it's back to normal.
156 */
157 hpc->frameCounter++;
158 if (hpc->frameCounter >= hpc->resetFrame)
159 {
160 hpc->frameCounter = 0;
161 hpc_ResetCounters(hpc);
162 }
163}
src/ft2_hpc.h+24−0
@@ -0,0 +1,24 @@
1#pragma once
2
3#include <stdint.h>
4#include <stdbool.h>
5
6typedef struct
7{
8 uint64_t freq64;
9 double dFreqMulMicro, dFreqMulMs;
10} hpcFreq_t;
11
12typedef struct
13{
14 uint64_t durationInt, durationFrac;
15 uint64_t endTimeInt, endTimeFrac;
16 uint64_t frameCounter, resetFrame;
17} hpc_t;
18
19extern hpcFreq_t hpcFreq;
20
21void hpc_Init(void);
22void hpc_SetDurationInHz(hpc_t *hpc, uint32_t dHz);
23void hpc_ResetCounters(hpc_t *hpc);
24void hpc_Wait(hpc_t *hpc);
src/ft2_inst_ed.c+2−1
@@ -175,9 +175,10 @@ static int32_t SDLCALL copyInstrThread(void *ptr) · 174 unmodified lines
175 pauseAudio();175 pauseAudio();
176 freeInstr(dstIns);176 freeInstr(dstIns);
177 177
178 bool error = true;178 bool error = false;
179 if (instr[srcIns] != NULL)179 if (instr[srcIns] != NULL)
180 {180 {
181 error = true;
181 if (allocateInstr(dstIns))182 if (allocateInstr(dstIns))
182 {183 {
183 int16_t i;184 int16_t i;
src/ft2_keyboard.c+2−2
@@ -703,7 +703,7 @@ static bool checkModifiedKeys(SDL_Keycode keycode) · 702 unmodified lines
703 {703 {
704 if (keyb.leftAltPressed)704 if (keyb.leftAltPressed)
705 {705 {
706 toggleFullScreen();706 toggleFullscreen();
707 707
708 // prevent fullscreen toggle from firing twice on certain SDL2 Linux ports708 // prevent fullscreen toggle from firing twice on certain SDL2 Linux ports
709#ifdef __unix__709#ifdef __unix__
@@ -896,7 +896,7 @@ static bool checkModifiedKeys(SDL_Keycode keycode) · 186 unmodified lines
896#ifdef __APPLE__896#ifdef __APPLE__
897 if (keyb.leftCommandPressed && keyb.leftCtrlPressed)897 if (keyb.leftCommandPressed && keyb.leftCtrlPressed)
898 {898 {
899 toggleFullScreen();899 toggleFullscreen();
900 return true;900 return true;
901 }901 }
902 else902 else
src/ft2_main.c+13−35
@@ -33,12 +33,12 @@ · 32 unmodified lines
33#include "ft2_events.h"33#include "ft2_events.h"
34#include "ft2_bmp.h"34#include "ft2_bmp.h"
35#include "ft2_structs.h"35#include "ft2_structs.h"
36#include "ft2_hpc.h"
36 37
37#ifdef HAS_MIDI38#ifdef HAS_MIDI
38static SDL_Thread *initMidiThread;39static SDL_Thread *initMidiThread;
39#endif40#endif
40 41
41static void setupPerfFreq(void);
42static void initializeVars(void);42static void initializeVars(void);
43static void cleanUpAndExit(void); // never call this inside the main loop43static void cleanUpAndExit(void); // never call this inside the main loop
44#ifdef __APPLE__44#ifdef __APPLE__
@@ -60,7 +60,7 @@ int main(int argc, char *argv[]) · 15 unmodified lines
60 _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);60 _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
61#endif61#endif
62 62
63#if SDL_PATCHLEVEL < 563#if SDL_MAJOR_VERSION == 2 && SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL < 5
64#pragma message("WARNING: The SDL2 dev lib is older than ver 2.0.5. You'll get fullscreen mode issues and no audio input sampling.")64#pragma message("WARNING: The SDL2 dev lib is older than ver 2.0.5. You'll get fullscreen mode issues and no audio input sampling.")
65#pragma message("At least version 2.0.7 is recommended.")65#pragma message("At least version 2.0.7 is recommended.")
66#endif66#endif
@@ -93,12 +93,13 @@ int main(int argc, char *argv[]) · 26 unmodified lines
93 }93 }
94#endif94#endif
95 95
96#if SDL_PATCHLEVEL >= 4 // SDL 2.0.4 or later96#ifdef _WIN32
97 SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1"); // windows only - prevent ALT+F4 from exiting (FT2 uses ALT+F4)97
98 // ALT+F4 is used in FT2, but is "close program" in Windows...
99#if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 4)
100 SDL_SetHint(SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4, "1");
98#endif101#endif
99 102
100#ifdef _WIN32
101
102#ifndef _MSC_VER103#ifndef _MSC_VER
103 SetProcessDPIAware();104 SetProcessDPIAware();
104#endif105#endif
@@ -117,7 +118,6 @@ int main(int argc, char *argv[]) · 12 unmodified lines
117 return 0;118 return 0;
118 }119 }
119 120
120 setupWin32Usleep();
121 disableWasapi(); // disable problematic WASAPI SDL2 audio driver on Windows (causes clicks/pops sometimes...)121 disableWasapi(); // disable problematic WASAPI SDL2 audio driver on Windows (causes clicks/pops sometimes...)
122 // 13.03.2020: This is still needed with SDL 2.0.12...122 // 13.03.2020: This is still needed with SDL 2.0.12...
123#endif123#endif
@@ -127,7 +127,7 @@ int main(int argc, char *argv[]) · 3 unmodified lines
127 ** reinitialized in Windows and what not.127 ** reinitialized in Windows and what not.
128 ** Ref.: https://bugzilla.libsdl.org/show_bug.cgi?id=4391128 ** Ref.: https://bugzilla.libsdl.org/show_bug.cgi?id=4391
129 */129 */
130#if defined _WIN32 && SDL_PATCHLEVEL == 9130#if defined _WIN32 && SDL_MAJOR_VERSION == 2 && SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL == 9
131 if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) != 0)131 if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO | SDL_INIT_JOYSTICK) != 0)
132#else132#else
133 if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) != 0)133 if (SDL_Init(SDL_INIT_AUDIO | SDL_INIT_VIDEO) != 0)
@@ -144,6 +144,9 @@ int main(int argc, char *argv[]) · 10 unmodified lines
144 */144 */
145 SDL_StopTextInput();145 SDL_StopTextInput();
146 146
147 hpc_Init();
148 hpc_SetDurationInHz(&video.vblankHpc, VBLANK_HZ);
149
147#ifdef __APPLE__150#ifdef __APPLE__
148 osxSetDirToProgramDirFromArgs(argv);151 osxSetDirToProgramDirFromArgs(argv);
149#endif152#endif
@@ -178,8 +181,6 @@ int main(int argc, char *argv[]) · 28 unmodified lines
178 audio.currOutputDevice = getAudioOutputDeviceFromConfig();181 audio.currOutputDevice = getAudioOutputDeviceFromConfig();
179 audio.currInputDevice = getAudioInputDeviceFromConfig();182 audio.currInputDevice = getAudioInputDeviceFromConfig();
180 183
181 setupPerfFreq();
182
183 if (!setupAudio(CONFIG_HIDE_ERRORS)) // can we open the audio device?184 if (!setupAudio(CONFIG_HIDE_ERRORS)) // can we open the audio device?
184 {185 {
185 // nope, try with the default audio device186 // nope, try with the default audio device
@@ -232,11 +233,11 @@ int main(int argc, char *argv[]) · 46 unmodified lines
232 SDL_DetachThread(initMidiThread); // don't wait for this thread, let it clean up when done233 SDL_DetachThread(initMidiThread); // don't wait for this thread, let it clean up when done
233#endif234#endif
234 235
235 setupWaitVBL(); // this is needed for potential okBox() calls in handleModuleLoadFromArg()236 hpc_ResetCounters(&video.vblankHpc); // quirk: this is needed for potential okBox() calls in handleModuleLoadFromArg()
236 handleModuleLoadFromArg(argc, argv);237 handleModuleLoadFromArg(argc, argv);
237 238
238 editor.mainLoopOngoing = true;239 editor.mainLoopOngoing = true;
239 setupWaitVBL(); // this must be the very last thing done before entering the main loop240 hpc_ResetCounters(&video.vblankHpc); // this must be the last thing we do before entering the main loop
240 241
241 while (editor.programRunning)242 while (editor.programRunning)
242 {243 {
@@ -377,7 +378,6 @@ static void cleanUpAndExit(void) // never call this inside the main loop! · 134 unmodified lines
377 }378 }
378 379
379#ifdef _WIN32380#ifdef _WIN32
380 freeWin32Usleep();
381 closeSingleInstancing();381 closeSingleInstancing();
382#endif382#endif
383 383
@@ -417,28 +417,6 @@ static void osxSetDirToProgramDirFromArgs(char **argv) · 33 unmodified lines
417}417}
418#endif418#endif
419 419
420static void setupPerfFreq(void)
421{
422 double dInt;
423
424 const uint64_t perfFreq64 = SDL_GetPerformanceFrequency();
425 assert(perfFreq64 != 0);
426
427 editor.dPerfFreq = (double)perfFreq64;
428 editor.dPerfFreqMulMicro = 1000000.0 / editor.dPerfFreq;
429 editor.dPerfFreqMulMs = 1.0 / (editor.dPerfFreq / 1000.0);
430
431 // calculate vblank time for performance counters and split into int/frac
432 double dFrac = modf(editor.dPerfFreq / VBLANK_HZ, &dInt);
433
434 // integer part
435 video.vblankTimeLen = (int32_t)dInt;
436
437 // fractional part scaled to 0..2^32-1
438 dFrac *= UINT32_MAX+1.0;
439 video.vblankTimeLenFrac = (uint32_t)dFrac;
440}
441
442#ifdef _WIN32420#ifdef _WIN32
443static void disableWasapi(void)421static void disableWasapi(void)
444{422{
src/ft2_mouse.c+42−6
@@ -32,6 +32,12 @@ static SDL_Cursor *cursors[NUM_CURSORS]; · 31 unmodified lines
32 32
33static bool setSystemCursor(SDL_Cursor *cur)33static bool setSystemCursor(SDL_Cursor *cur)
34{34{
35 if (config.specialFlags2 & USE_OS_MOUSE_POINTER)
36 {
37 SDL_SetCursor(SDL_GetDefaultCursor());
38 return true;
39 }
40
35 if (cur == NULL)41 if (cur == NULL)
36 {42 {
37 SDL_SetCursor(SDL_GetDefaultCursor());43 SDL_SetCursor(SDL_GetDefaultCursor());
@@ -77,8 +83,18 @@ bool createMouseCursors(void) // creates scaled SDL surfaces for current mouse p · 39 unmodified lines
77 if (surface == NULL)83 if (surface == NULL)
78 {84 {
79 freeMouseCursors();85 freeMouseCursors();
80 config.specialFlags2 &= ~HARDWARE_MOUSE; // enable software mouse86
81 SDL_ShowCursor(SDL_FALSE);87 if (config.specialFlags2 & USE_OS_MOUSE_POINTER)
88 {
89 SDL_ShowCursor(SDL_TRUE);
90 }
91 else
92 {
93 // enable software mouse
94 config.specialFlags2 &= ~HARDWARE_MOUSE;
95 SDL_ShowCursor(SDL_FALSE);
96 }
97
82 return false;98 return false;
83 }99 }
84 100
@@ -148,8 +164,18 @@ bool createMouseCursors(void) // creates scaled SDL surfaces for current mouse p · 63 unmodified lines
148 {164 {
149 SDL_FreeSurface(surface);165 SDL_FreeSurface(surface);
150 freeMouseCursors();166 freeMouseCursors();
151 config.specialFlags2 &= ~HARDWARE_MOUSE; // enable software mouse167
152 SDL_ShowCursor(SDL_FALSE);168 if (config.specialFlags2 & USE_OS_MOUSE_POINTER)
169 {
170 SDL_ShowCursor(SDL_TRUE);
171 }
172 else
173 {
174 // enable software mouse
175 config.specialFlags2 &= ~HARDWARE_MOUSE;
176 SDL_ShowCursor(SDL_FALSE);
177 }
178
153 return false;179 return false;
154 }180 }
155 181
@@ -658,8 +684,8 @@ void mouseButtonDownHandler(uint8_t mouseButton) · 502 unmodified lines
658 return;684 return;
659 }685 }
660 686
661 // mouse 0,0 = open exit dialog687 // mouse 0,0 = open exit dialog (also make sure the test always works in fullscreen mode)
662 if (mouse.x == 0 && mouse.y == 0)688 if ((mouse.x == 0 && mouse.y == 0) || (video.fullscreen && (video.renderX > 0 || video.renderY > 0) && (mouse.rawX == 0 && mouse.rawY == 0)))
663 {689 {
664 if (quitBox(false) == 1)690 if (quitBox(false) == 1)
665 editor.throwExit = true;691 editor.throwExit = true;
@@ -808,8 +834,12 @@ void readMouseXY(void) · 142 unmodified lines
808 {834 {
809 mouse.buttonState = SDL_GetGlobalMouseState(&mx, &my);835 mouse.buttonState = SDL_GetGlobalMouseState(&mx, &my);
810 836
837 mouse.absX = mx;
838 mouse.absY = my;
839
811 // convert desktop coords to window coords840 // convert desktop coords to window coords
812 SDL_GetWindowPosition(video.window, &windowX, &windowY);841 SDL_GetWindowPosition(video.window, &windowX, &windowY);
842
813 mx -= windowX;843 mx -= windowX;
814 my -= windowY;844 my -= windowY;
815 }845 }
@@ -817,8 +847,14 @@ void readMouseXY(void) · 1 unmodified line
817 {847 {
818 // special mode for KMSDRM (XXX: Confirm that this still works...)848 // special mode for KMSDRM (XXX: Confirm that this still works...)
819 mouse.buttonState = SDL_GetMouseState(&mx, &my);849 mouse.buttonState = SDL_GetMouseState(&mx, &my);
850
851 mouse.absX = mx;
852 mouse.absY = my;
820 }853 }
821 854
855 mouse.rawX = mx;
856 mouse.rawY = my;
857
822 if (video.fullscreen)858 if (video.fullscreen)
823 {859 {
824 // centered fullscreen mode (not stretched) needs further coord translation860 // centered fullscreen mode (not stretched) needs further coord translation
src/ft2_mouse.h+1−1
@@ -20,7 +20,7 @@ typedef struct mouse_t · 19 unmodified lines
20 bool firstTimePressingButton, mouseOverTextBox;20 bool firstTimePressingButton, mouseOverTextBox;
21 int8_t buttonCounter, mode;21 int8_t buttonCounter, mode;
22 int16_t lastUsedObjectID, lastUsedObjectType, lastEditBox;22 int16_t lastUsedObjectID, lastUsedObjectType, lastEditBox;
23 int32_t x, y, lastX, lastY, xBias, yBias, setPosX, setPosY;23 int32_t absX, absY, rawX, rawY, x, y, lastX, lastY, xBias, yBias, setPosX, setPosY;
24 int32_t lastScrollX, lastScrollXTmp, lastScrollY, saveMouseX, saveMouseY;24 int32_t lastScrollX, lastScrollXTmp, lastScrollY, saveMouseX, saveMouseY;
25 uint32_t buttonState;25 uint32_t buttonState;
26} mouse_t;26} mouse_t;
src/ft2_pushbuttons.c+1−1
@@ -382,7 +382,7 @@ pushButton_t pushButtons[NUM_PUSHBUTTONS] = · 381 unmodified lines
382 382
383 // ------ WAV RENDERER PUSHBUTTONS ------383 // ------ WAV RENDERER PUSHBUTTONS ------
384 //x, y, w, h, p, d, text #1, text #2, funcOnDown, funcOnUp384 //x, y, w, h, p, d, text #1, text #2, funcOnDown, funcOnUp
385 { 3, 111, 73, 43, 0, 0, "Export", NULL, NULL, pbWavRender },385 { 3, 138, 73, 16, 0, 0, "Export", NULL, NULL, pbWavRender },
386 { 3, 155, 73, 16, 0, 0, "Exit", NULL, NULL, pbWavExit },386 { 3, 155, 73, 16, 0, 0, "Exit", NULL, NULL, pbWavExit },
387 { 253, 114, 18, 13, 1, 6, ARROW_UP_STRING, NULL, pbWavFreqUp, NULL },387 { 253, 114, 18, 13, 1, 6, ARROW_UP_STRING, NULL, pbWavFreqUp, NULL },
388 { 270, 114, 18, 13, 1, 6, ARROW_DOWN_STRING, NULL, pbWavFreqDown, NULL },388 { 270, 114, 18, 13, 1, 6, ARROW_DOWN_STRING, NULL, pbWavFreqDown, NULL },
src/ft2_replayer.c+22−5
@@ -311,7 +311,7 @@ void setFrequencyTable(bool linearPeriodsFlag) · 310 unmodified lines
311 if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)311 if (ui.configScreenShown && editor.currConfigScreen == CONFIG_SCREEN_IO_DEVICES)
312 {312 {
313 // update "frequency table" radiobutton, if it's shown313 // update "frequency table" radiobutton, if it's shown
314 setConfigIORadioButtonStates(); 314 setConfigIORadioButtonStates();
315 315
316 // update mid-C freq. in instr. editor (it can slightly differ between Amiga/linear)316 // update mid-C freq. in instr. editor (it can slightly differ between Amiga/linear)
317 if (ui.instEditorShown)317 if (ui.instEditorShown)
@@ -404,7 +404,7 @@ void calcReplayerLogTab(void) // for linear period -> hz calculation · 86 unmodified lines
404 dExp2MulTab[i] = 1.0 / exp2(i); // 1/(2^i)404 dExp2MulTab[i] = 1.0 / exp2(i); // 1/(2^i)
405 405
406 for (int32_t i = 0; i < 4*12*16; i++)406 for (int32_t i = 0; i < 4*12*16; i++)
407 dLogTab[i] = 8363.0 * exp2(i / 768.0) * 256.0;407 dLogTab[i] = (8363.0 * 256.0) * exp2(i / (4.0 * 12.0 * 16.0));
408}408}
409 409
410void calcReplayerVars(int32_t audioFreq)410void calcReplayerVars(int32_t audioFreq)
@@ -839,7 +839,7 @@ static void setEnvelopePos(channel_t *ch, uint8_t param) · 428 unmodified lines
839 }839 }
840 840
841 // *** PANNING ENVELOPE ***841 // *** PANNING ENVELOPE ***
842 if (ins->volEnvFlags & ENV_SUSTAIN) // What..? An FT2 bug!?842 if (ins->volEnvFlags & ENV_SUSTAIN) // FT2 PLAYER BUG: Should've been ins->panEnvFlags
843 {843 {
844 ch->panEnvTick = param-1;844 ch->panEnvTick = param-1;
845 845
@@ -2215,6 +2215,15 @@ static void getNextPos(void) · 1369 unmodified lines
2215 song.pattNum = song.orders[song.songPos & 0xFF];2215 song.pattNum = song.orders[song.songPos & 0xFF];
2216 song.currNumRows = patternNumRows[song.pattNum & 0xFF];2216 song.currNumRows = patternNumRows[song.pattNum & 0xFF];
2217 }2217 }
2218
2219 /*
2220 ** Because of a bug in FT2, pattern loop commands will manipulate
2221 ** the row the next pattern will begin at (should be 0).
2222 ** However, this can overflow the number of rows (length) for that
2223 ** pattern and cause out-of-bounds reads. Set to row 0 in this case.
2224 */
2225 if (song.row >= song.currNumRows)
2226 song.row = 0;
2218 }2227 }
2219}2228}
2220 2229
@@ -2229,7 +2238,6 @@ void resumeMusic(void) // starts reading pattern data · 8 unmodified lines
2229 musicPaused = false;2238 musicPaused = false;
2230}2239}
2231 2240
2232
2233void tickReplayer(void) // periodically called from audio callback2241void tickReplayer(void) // periodically called from audio callback
2234{2242{
2235 int32_t i;2243 int32_t i;
@@ -3127,11 +3135,20 @@ void resetReplayerState(void) · 891 unmodified lines
3127 song.pBreakPos = 0;3135 song.pBreakPos = 0;
3128 song.pBreakFlag = false;3136 song.pBreakFlag = false;
3129 3137
3138 // reset pattern loops (E6x)
3139 channel_t *ch = channel;
3140 for (int32_t i = 0; i < song.numChannels; i++, ch++)
3141 {
3142 ch->jumpToRow = 0;
3143 ch->patLoopCounter = 0;
3144 }
3145
3146 // reset global volume (if song was playing)
3130 if (songPlaying)3147 if (songPlaying)
3131 {3148 {
3132 song.globalVolume = 64;3149 song.globalVolume = 64;
3133 3150
3134 channel_t *ch = channel;3151 ch = channel;
3135 for (int32_t i = 0; i < song.numChannels; i++, ch++)3152 for (int32_t i = 0; i < song.numChannels; i++, ch++)
3136 ch->status |= IS_Vol;3153 ch->status |= IS_Vol;
3137 }3154 }
src/ft2_sample_ed.c+31−19
@@ -153,26 +153,34 @@ bool cloneSample(sample_t *src, sample_t *dst) · 152 unmodified lines
153 smpPtr_t sp;153 smpPtr_t sp;
154 154
155 freeSmpData(dst);155 freeSmpData(dst);
156 memcpy(dst, src, sizeof (sample_t));
157 156
158 // zero out stuff that wasn't supposed to be cloned157 if (src == NULL)
159 dst->origDataPtr = dst->dataPtr = NULL;
160 dst->isFixed = false;
161 dst->fixedPos = 0;
162
163 // if source sample isn't empty, allocate room and copy it over (and fix it)
164 if (src->length > 0 && src->dataPtr != NULL)
165 {158 {
166 bool sample16Bit = !!(src->flags & SAMPLE_16BIT);159 memset(dst, 0, sizeof (sample_t));
167 if (!allocateSmpDataPtr(&sp, src->length, sample16Bit))160 }
161 else
162 {
163 memcpy(dst, src, sizeof (sample_t));
164
165 // zero out stuff that wasn't supposed to be cloned
166 dst->origDataPtr = dst->dataPtr = NULL;
167 dst->isFixed = false;
168 dst->fixedPos = 0;
169
170 // if source sample isn't empty, allocate room and copy it over (and fix it)
171 if (src->length > 0 && src->dataPtr != NULL)
168 {172 {
169 dst->length = 0;173 bool sample16Bit = !!(src->flags & SAMPLE_16BIT);
170 return false;174 if (!allocateSmpDataPtr(&sp, src->length, sample16Bit))
171 }175 {
176 dst->length = 0;
177 return false;
178 }
172 179
173 setSmpDataPtr(dst, &sp);180 setSmpDataPtr(dst, &sp);
174 memcpy(dst->dataPtr, src->dataPtr, src->length << sample16Bit);181 memcpy(dst->dataPtr, src->dataPtr, src->length << sample16Bit);
175 fixSample(dst);182 fixSample(dst);
183 }
176 }184 }
177 185
178 return true;186 return true;
@@ -695,14 +703,18 @@ static bool getCopyBuffer(int32_t size, bool sample16Bit) · 516 unmodified lines
695 703
696static int32_t SDLCALL copySampleThread(void *ptr)704static int32_t SDLCALL copySampleThread(void *ptr)
697{705{
698 sample_t *src = &instr[editor.srcInstr]->smp[editor.srcSmp];
699 sample_t *dst = &instr[editor.curInstr]->smp[editor.curSmp];
700
701 pauseAudio();706 pauseAudio();
702 707
708 sample_t *src;
709 if (instr[editor.srcInstr] == NULL)
710 src = NULL;
711 else
712 src = &instr[editor.srcInstr]->smp[editor.srcSmp];
713
703 if (instr[editor.curInstr] == NULL && !allocateInstr(editor.curInstr))714 if (instr[editor.curInstr] == NULL && !allocateInstr(editor.curInstr))
704 goto error;715 goto error;
705 716
717 sample_t *dst = &instr[editor.curInstr]->smp[editor.curSmp];
706 if (!cloneSample(src, dst))718 if (!cloneSample(src, dst))
707 goto error;719 goto error;
708 720
src/ft2_sampling.c+1−1
@@ -325,7 +325,7 @@ void handleSamplingUpdates(void) · 324 unmodified lines
325 325
326void startSampling(void)326void startSampling(void)
327{327{
328#if SDL_PATCHLEVEL < 5328#if SDL_MAJOR_VERSION == 2 && SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL < 5
329 okBox(0, "System message", "This program needs to be compiled with SDL 2.0.5 or later to support audio sampling.");329 okBox(0, "System message", "This program needs to be compiled with SDL 2.0.5 or later to support audio sampling.");
330 return;330 return;
331#else331#else
src/ft2_sysreqs.c+2−2
@@ -637,7 +637,7 @@ int16_t okBoxThreadSafe(int16_t type, const char *headline, const char *text) · 636 unmodified lines
637 637
638 // block multiple calls before they are completed (for safety)638 // block multiple calls before they are completed (for safety)
639 while (okBoxData.active)639 while (okBoxData.active)
640 SDL_Delay(1000 / VBLANK_HZ);640 SDL_Delay(1000 / VBLANK_HZ); // accuracy is not important here
641 641
642 okBoxData.type = type;642 okBoxData.type = type;
643 okBoxData.headline = headline;643 okBoxData.headline = headline;
@@ -645,7 +645,7 @@ int16_t okBoxThreadSafe(int16_t type, const char *headline, const char *text) · 1 unmodified line
645 okBoxData.active = true;645 okBoxData.active = true;
646 646
647 while (okBoxData.active)647 while (okBoxData.active)
648 SDL_Delay(1000 / VBLANK_HZ);648 SDL_Delay(1000 / VBLANK_HZ); // accuracy is not important here
649 649
650 return okBoxData.returnData;650 return okBoxData.returnData;
651}651}
src/ft2_textboxes.c+32−29
@@ -515,45 +515,48 @@ void drawTextBox(uint16_t textBoxID) · 514 unmodified lines
515 if (t->textPtr == NULL)515 if (t->textPtr == NULL)
516 return;516 return;
517 517
518 // draw text mark background518 // draw text mark background (if this is the textbox we last interacted with)
519 if (textIsMarked())519 if (mouse.lastEditBox == textBoxID)
520 {520 {
521 hideSprite(SPRITE_TEXT_CURSOR);521 if (textIsMarked())
522 {
523 hideSprite(SPRITE_TEXT_CURSOR);
522 524
523 int32_t start = getTextMarkStart();525 int32_t start = getTextMarkStart();
524 int32_t end = getTextMarkEnd();526 int32_t end = getTextMarkEnd();
525 527
526 assert(start < t->maxChars && end <= t->maxChars);528 assert(start < t->maxChars && end <= t->maxChars);
527 529
528 // find pixel start/length from markX1 and markX2530 // find pixel start/length from markX1 and markX2
529 531
530 int32_t x1 = 0;532 int32_t x1 = 0;
531 int32_t x2 = 0;533 int32_t x2 = 0;
532 534
533 for (int32_t i = 0; i < end; i++)535 for (int32_t i = 0; i < end; i++)
534 {536 {
535 const char ch = t->textPtr[i];537 const char ch = t->textPtr[i];
536 if (ch == '\0')538 if (ch == '\0')
537 break;539 break;
538 540
539 cw = charWidth(ch);541 cw = charWidth(ch);
540 if (i < start)542 if (i < start)
541 x1 += cw;543 x1 += cw;
542 544
543 x2 += cw;545 x2 += cw;
544 }546 }
545 547
546 // render text mark background548 // render text mark background
547 if (x1 != x2)549 if (x1 != x2)
548 {550 {
549 start = x1;551 start = x1;
550 const int32_t length = x2 - x1;552 const int32_t length = x2 - x1;
551 553
552 assert(start+length <= t->renderBufW);554 assert(start+length <= t->renderBufW);
553 555
554 uint8_t *ptr32 = &t->renderBuf[start];556 uint8_t *ptr32 = &t->renderBuf[start];
555 for (uint16_t y = 0; y < t->renderBufH; y++, ptr32 += t->renderBufW)557 for (uint16_t y = 0; y < t->renderBufH; y++, ptr32 += t->renderBufW)
556 memset(ptr32, PAL_TEXTMRK, length);558 memset(ptr32, PAL_TEXTMRK, length);
559 }
557 }560 }
558 }561 }
559 562
@@ -893,7 +896,7 @@ void handleTextEditControl(SDL_Keycode keycode) · 333 unmodified lines
893 {896 {
894 // ALT+ENTER = toggle fullscreen, even while text editing897 // ALT+ENTER = toggle fullscreen, even while text editing
895 if (keyb.leftAltPressed)898 if (keyb.leftAltPressed)
896 toggleFullScreen();899 toggleFullscreen();
897 else900 else
898 exitTextEditing();901 exitTextEditing();
899 }902 }
src/ft2_video.c+125−93
@@ -48,19 +48,19 @@ video_t video; // globalized · 47 unmodified lines
48 48
49static bool songIsModified;49static bool songIsModified;
50static char wndTitle[256];50static char wndTitle[256];
51static uint64_t timeNext64, timeNext64Frac;
52static sprite_t sprites[SPRITE_NUM];51static sprite_t sprites[SPRITE_NUM];
53 52
54// for FPS counter53// for FPS counter
54#define FPS_LINES 15
55#define FPS_SCAN_FRAMES 6055#define FPS_SCAN_FRAMES 60
56#define FPS_RENDER_W 28556#define FPS_RENDER_W 285
57#define FPS_RENDER_H (((FONT1_CHAR_H + 1) * 8) + 1)57#define FPS_RENDER_H (((FONT1_CHAR_H + 1) * FPS_LINES) + 1)
58#define FPS_RENDER_X 258#define FPS_RENDER_X 2
59#define FPS_RENDER_Y 259#define FPS_RENDER_Y 2
60 60
61static char fpsTextBuf[1024];61static char fpsTextBuf[1024];
62static uint64_t frameStartTime;62static uint64_t frameStartTime;
63static double dRunningFPS, dFrameTime, dAvgFPS;63static double dRunningFrameDuration, dAvgFPS;
64// ------------------64// ------------------
65 65
66static void drawReplayerData(void);66static void drawReplayerData(void);
@@ -69,8 +69,7 @@ void resetFPSCounter(void) · 2 unmodified lines
69{69{
70 editor.framesPassed = 0;70 editor.framesPassed = 0;
71 fpsTextBuf[0] = '\0';71 fpsTextBuf[0] = '\0';
72 dRunningFPS = VBLANK_HZ;72 dRunningFrameDuration = 1000.0 / VBLANK_HZ;
73 dFrameTime = 1000.0 / VBLANK_HZ;
74}73}
75 74
76void beginFPSCounter(void)75void beginFPSCounter(void)
@@ -81,13 +80,17 @@ void beginFPSCounter(void) · 4 unmodified lines
81 80
82static void drawFPSCounter(void)81static void drawFPSCounter(void)
83{82{
83 SDL_version SDLVer;
84
85 SDL_GetVersion(&SDLVer);
86
84 if (editor.framesPassed >= FPS_SCAN_FRAMES && (editor.framesPassed % FPS_SCAN_FRAMES) == 0)87 if (editor.framesPassed >= FPS_SCAN_FRAMES && (editor.framesPassed % FPS_SCAN_FRAMES) == 0)
85 {88 {
86 dAvgFPS = dRunningFPS * (1.0 / FPS_SCAN_FRAMES);89 dAvgFPS = 1000.0 / (dRunningFrameDuration / FPS_SCAN_FRAMES);
87 if (dAvgFPS < 0.0 || dAvgFPS > 99999999.9999)90 if (dAvgFPS < 0.0 || dAvgFPS > 99999999.9999)
88 dAvgFPS = 99999999.9999; // prevent number from overflowing text box91 dAvgFPS = 99999999.9999; // prevent number from overflowing text box
89 92
90 dRunningFPS = 0.0;93 dRunningFrameDuration = 0.0;
91 }94 }
92 95
93 clearRect(FPS_RENDER_X+2, FPS_RENDER_Y+2, FPS_RENDER_W, FPS_RENDER_H);96 clearRect(FPS_RENDER_X+2, FPS_RENDER_Y+2, FPS_RENDER_W, FPS_RENDER_H);
@@ -96,10 +99,12 @@ static void drawFPSCounter(void) · 2 unmodified lines
96 hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y, FPS_RENDER_W, PAL_FORGRND);99 hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y, FPS_RENDER_W, PAL_FORGRND);
97 hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y+FPS_RENDER_H+2, FPS_RENDER_W, PAL_FORGRND);100 hLineDouble(FPS_RENDER_X+1, FPS_RENDER_Y+FPS_RENDER_H+2, FPS_RENDER_W, PAL_FORGRND);
98 101
99 // test if enough data is collected yet102 // if enough frame data isn't collected yet, show a message
100 if (editor.framesPassed < FPS_SCAN_FRAMES)103 if (editor.framesPassed < FPS_SCAN_FRAMES)
101 {104 {
102 textOut(FPS_RENDER_X+53, FPS_RENDER_Y+39, PAL_FORGRND, "Collecting frame information...");105 const char *text = "Gathering frame information...";
106 const uint16_t textW = textWidth(text);
107 textOut(FPS_RENDER_X+((FPS_RENDER_W/2)-(textW/2)), FPS_RENDER_Y+((FPS_RENDER_H/2)-(FONT1_CHAR_H/2)), PAL_FORGRND, text);
103 return;108 return;
104 }109 }
105 110
@@ -111,20 +116,36 @@ static void drawFPSCounter(void) · 5 unmodified lines
111 if (dAudLatency < 0.0 || dAudLatency > 999999999.9999)116 if (dAudLatency < 0.0 || dAudLatency > 999999999.9999)
112 dAudLatency = 999999999.9999; // prevent number from overflowing text box117 dAudLatency = 999999999.9999; // prevent number from overflowing text box
113 118
114 sprintf(fpsTextBuf, "Frames per second: %.4f\n" \119 sprintf(fpsTextBuf,
120 "SDL version: %u.%u.%u\n" \
121 "Frames per second: %.3f\n" \
115 "Monitor refresh rate: %.1fHz (+/-)\n" \122 "Monitor refresh rate: %.1fHz (+/-)\n" \
116 "59..61Hz GPU VSync used: %s\n" \123 "59..61Hz GPU VSync used: %s\n" \
117 "Audio frequency: %.1fkHz (expected %.1fkHz)\n" \124 "Audio frequency: %.1fkHz (expected %.1fkHz)\n" \
118 "Audio buffer samples: %d (expected %d)\n" \125 "Audio buffer samples: %d (expected %d)\n" \
119 "Audio channels: %d (expected %d)\n" \126 "Audio channels: %d (expected %d)\n" \
120 "Audio latency: %.1fms (expected %.1fms)\n" \127 "Audio latency: %.1fms (expected %.1fms)\n" \
128 "Render size: %dx%d (offset %d,%d)\n" \
129 "Disp. size: %dx%d (window: %dx%d)\n" \
130 "Render scaling: x=%.2f, y=%.2f\n" \
131 "Mouse to render space muls: x=%.2f, y=%.2f\n" \
132 "Relative mouse coords: %d,%d\n" \
133 "Absolute mouse coords: %d,%d\n" \
121 "Press CTRL+SHIFT+F to close this box.\n",134 "Press CTRL+SHIFT+F to close this box.\n",
122 dAvgFPS, dRefreshRate,135 SDLVer.major, SDLVer.minor, SDLVer.patch,
136 dAvgFPS,
137 dRefreshRate,
123 video.vsync60HzPresent ? "yes" : "no",138 video.vsync60HzPresent ? "yes" : "no",
124 audio.haveFreq * (1.0 / 1000.0), audio.wantFreq * (1.0 / 1000.0),139 audio.haveFreq * (1.0 / 1000.0), audio.wantFreq * (1.0 / 1000.0),
125 audio.haveSamples, audio.wantSamples,140 audio.haveSamples, audio.wantSamples,
126 audio.haveChannels, audio.wantChannels,141 audio.haveChannels, audio.wantChannels,
127 dAudLatency, ((audio.wantSamples * 1000.0) / audio.wantFreq));142 dAudLatency, ((audio.wantSamples * 1000.0) / audio.wantFreq),
143 video.renderW, video.renderH, video.renderX, video.renderY,
144 video.displayW, video.displayH, video.windowW, video.windowH,
145 video.renderW / (float)SCREEN_W, video.renderH / (float)SCREEN_H,
146 video.fMouseXMul, video.fMouseYMul,
147 mouse.x, mouse.y,
148 mouse.absX, mouse.absY);
128 149
129 // draw text150 // draw text
130 151
@@ -138,22 +159,35 @@ static void drawFPSCounter(void) · 7 unmodified lines
138 if (ch == '\n')159 if (ch == '\n')
139 {160 {
140 yPos += FONT1_CHAR_H+1;161 yPos += FONT1_CHAR_H+1;
141 xPos = FPS_RENDER_X + 3;162 xPos = FPS_RENDER_X+3;
142 continue;163 continue;
143 }164 }
144 165
145 charOut(xPos, yPos, PAL_FORGRND, ch);166 charOut(xPos, yPos, PAL_FORGRND, ch);
146 xPos += charWidth(ch);167 xPos += charWidth(ch);
147 }168 }
169
170 // draw framerate tester symbol
171
172 const uint16_t symbolEnd = 115;
173
174 // ping-pong movement
175 uint16_t x = editor.framesPassed % (symbolEnd * 2);
176 if (x >= symbolEnd)
177 x = (symbolEnd * 2) - x;
178
179 charOut(164 + x, 16, PAL_FORGRND, '*');
148}180}
149 181
150void endFPSCounter(void)182void endFPSCounter(void)
151{183{
152 if (video.showFPSCounter && frameStartTime > 0)184 if (video.showFPSCounter && frameStartTime > 0)
153 {185 {
154 const uint64_t frameTimeDiff = SDL_GetPerformanceCounter() - frameStartTime;186 uint64_t frameTimeDiff64 = SDL_GetPerformanceCounter() - frameStartTime;
155 const double dHz = 1000.0 / (frameTimeDiff * editor.dPerfFreqMulMs);187 if (frameTimeDiff64 > INT32_MAX)
156 dRunningFPS += dHz;188 frameTimeDiff64 = INT32_MAX;
189
190 dRunningFrameDuration += (int32_t)frameTimeDiff64 * hpcFreq.dFreqMulMs;
157 }191 }
158}192}
159 193
@@ -180,7 +214,8 @@ void flipFrame(void) · 20 unmodified lines
180 214
181 if (!video.vsync60HzPresent)215 if (!video.vsync60HzPresent)
182 {216 {
183 waitVBL(); // we have no VSync, do crude thread sleeping to sync to ~60Hz217 // we have no VSync, do crude thread sleeping to sync to ~60Hz
218 hpc_Wait(&video.vblankHpc);
184 }219 }
185 else220 else
186 {221 {
@@ -190,14 +225,14 @@ void flipFrame(void) · 3 unmodified lines
190#ifdef __APPLE__225#ifdef __APPLE__
191 // macOS: VSync gets disabled if the window is 100% covered by another window. Let's add a (crude) fix:226 // macOS: VSync gets disabled if the window is 100% covered by another window. Let's add a (crude) fix:
192 if (minimized || !(windowFlags & SDL_WINDOW_INPUT_FOCUS))227 if (minimized || !(windowFlags & SDL_WINDOW_INPUT_FOCUS))
193 waitVBL();228 hpc_Wait(&video.vblankHpc);
194#elif __unix__229#elif __unix__
195 // *NIX: VSync gets disabled in fullscreen mode (at least on some distros/systems). Let's add a fix:230 // *NIX: VSync gets disabled in fullscreen mode (at least on some distros/systems). Let's add a fix:
196 if (minimized || video.fullscreen)231 if (minimized || video.fullscreen)
197 waitVBL();232 hpc_Wait(&video.vblankHpc);
198#else233#else
199 if (minimized)234 if (minimized)
200 waitVBL();235 hpc_Wait(&video.vblankHpc);
201#endif236#endif
202 }237 }
203 238
@@ -238,6 +273,8 @@ static void updateRenderSizeVars(void) · 34 unmodified lines
238 SDL_GetWindowSize(video.window, &video.displayW, &video.displayH);273 SDL_GetWindowSize(video.window, &video.displayW, &video.displayH);
239 }274 }
240 275
276 SDL_GetWindowSize(video.window, &video.windowW, &video.windowH);
277
241 if (video.fullscreen)278 if (video.fullscreen)
242 {279 {
243 if (config.specialFlags2 & STRETCH_IMAGE)280 if (config.specialFlags2 & STRETCH_IMAGE)
@@ -271,8 +308,8 @@ static void updateRenderSizeVars(void) · 27 unmodified lines
271 if (dXUpscale != 0.0) video.renderW = (int32_t)(video.renderW / dXUpscale);308 if (dXUpscale != 0.0) video.renderW = (int32_t)(video.renderW / dXUpscale);
272 if (dYUpscale != 0.0) video.renderH = (int32_t)(video.renderH / dYUpscale);309 if (dYUpscale != 0.0) video.renderH = (int32_t)(video.renderH / dYUpscale);
273 310
274 video.renderX = (video.displayW - video.renderW) >> 1;311 video.renderX = (video.displayW - video.renderW) / 2;
275 video.renderY = (video.displayH - video.renderH) >> 1;312 video.renderY = (video.displayH - video.renderH) / 2;
276 }313 }
277 }314 }
278 else315 else
@@ -284,19 +321,26 @@ static void updateRenderSizeVars(void) · 5 unmodified lines
284 }321 }
285 322
286 // for mouse cursor creation323 // for mouse cursor creation
287 video.xScale = (uint32_t)round(video.renderW * (1.0 / SCREEN_W));324 video.xScale = (uint32_t)round(video.renderW / (double)SCREEN_W);
288 video.yScale = (uint32_t)round(video.renderH * (1.0 / SCREEN_H));325 video.yScale = (uint32_t)round(video.renderH / (double)SCREEN_H);
289 326
290 createMouseCursors();327 createMouseCursors();
291}328}
292 329
293void enterFullscreen(void)330void enterFullscreen(void)
294{331{
295 SDL_DisplayMode dm;332 SDL_SetWindowFullscreen(video.window, SDL_WINDOW_FULLSCREEN_DESKTOP);
296 333
297 if (config.specialFlags2 & STRETCH_IMAGE)334 if (config.specialFlags2 & STRETCH_IMAGE)
298 {335 {
299 SDL_GetDesktopDisplayMode(0, &dm);336 SDL_DisplayMode dm;
337
338 int32_t di = SDL_GetWindowDisplayIndex(video.window);
339 if (di < 0)
340 di = 0; // return display index 0 (default) on error
341
342 SDL_GetDesktopDisplayMode(di, &dm);
343
300 SDL_RenderSetLogicalSize(video.renderer, dm.w, dm.h);344 SDL_RenderSetLogicalSize(video.renderer, dm.w, dm.h);
301 }345 }
302 else346 else
@@ -305,15 +349,17 @@ void enterFullscreen(void) · 2 unmodified lines
305 }349 }
306 350
307 SDL_SetWindowSize(video.window, SCREEN_W, SCREEN_H);351 SDL_SetWindowSize(video.window, SCREEN_W, SCREEN_H);
308 SDL_SetWindowFullscreen(video.window, SDL_WINDOW_FULLSCREEN_DESKTOP);352
353#ifndef __unix__ // can be severely buggy on Linux... (at least when used like this)
309 SDL_SetWindowGrab(video.window, SDL_TRUE);354 SDL_SetWindowGrab(video.window, SDL_TRUE);
355#endif
310 356
311 updateRenderSizeVars();357 updateRenderSizeVars();
312 updateMouseScaling();358 updateMouseScaling();
313 setMousePosToCenter();359 setMousePosToCenter();
314}360}
315 361
316void leaveFullScreen(void)362void leaveFullscreen(void)
317{363{
318 SDL_SetWindowFullscreen(video.window, 0);364 SDL_SetWindowFullscreen(video.window, 0);
319 SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);365 SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);
@@ -321,21 +367,28 @@ void leaveFullScreen(void) · 1 unmodified line
321 setWindowSizeFromConfig(false);367 setWindowSizeFromConfig(false);
322 368
323 SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor);369 SDL_SetWindowSize(video.window, SCREEN_W * video.upscaleFactor, SCREEN_H * video.upscaleFactor);
370
371#ifndef __unix__
324 SDL_SetWindowGrab(video.window, SDL_FALSE);372 SDL_SetWindowGrab(video.window, SDL_FALSE);
373#endif
325 374
326 updateRenderSizeVars();375 updateRenderSizeVars();
327 updateMouseScaling();376 updateMouseScaling();
328 setMousePosToCenter();377 setMousePosToCenter();
378
379#ifdef __unix__ // can be required on Linux... (or else the window keeps moving down every time you leave fullscreen)
380 SDL_SetWindowPosition(video.window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED);
381#endif
329}382}
330 383
331void toggleFullScreen(void)384void toggleFullscreen(void)
332{385{
333 video.fullscreen ^= 1;386 video.fullscreen ^= 1;
334 387
335 if (video.fullscreen)388 if (video.fullscreen)
336 enterFullscreen();389 enterFullscreen();
337 else390 else
338 leaveFullScreen();391 leaveFullscreen();
339}392}
340 393
341bool setupSprites(void)394bool setupSprites(void)
@@ -722,44 +775,6 @@ void renderLoopPins(void) · 380 unmodified lines
722 }775 }
723}776}
724 777
725void setupWaitVBL(void)
726{
727 // set next frame time
728 timeNext64 = SDL_GetPerformanceCounter() + video.vblankTimeLen;
729 timeNext64Frac = video.vblankTimeLenFrac;
730}
731
732void waitVBL(void)
733{
734 // this routine almost never delays if we have 60Hz vsync, but it's still needed in some occasions
735
736 uint64_t time64 = SDL_GetPerformanceCounter();
737 if (time64 < timeNext64)
738 {
739 time64 = timeNext64 - time64;
740 if (time64 > INT32_MAX)
741 time64 = INT32_MAX;
742
743 const int32_t diff32 = (int32_t)time64;
744
745 // convert and round to microseconds
746 const int32_t time32 = (int32_t)((diff32 * editor.dPerfFreqMulMicro) + 0.5);
747
748 // delay until we have reached the next frame
749 if (time32 > 0)
750 usleep(time32);
751 }
752
753 // update next frame time
754 timeNext64 += video.vblankTimeLen;
755 timeNext64Frac += video.vblankTimeLenFrac;
756 if (timeNext64Frac > UINT32_MAX)
757 {
758 timeNext64Frac &= UINT32_MAX;
759 timeNext64++;
760 }
761}
762
763void closeVideo(void)778void closeVideo(void)
764{779{
765 if (video.texture != NULL)780 if (video.texture != NULL)
@@ -780,13 +795,11 @@ void closeVideo(void) · 14 unmodified lines
780 video.window = NULL;795 video.window = NULL;
781 }796 }
782 797
783 if (video.frameBufferUnaligned != NULL)798 if (video.frameBuffer != NULL)
784 {799 {
785 free(video.frameBufferUnaligned);800 free(video.frameBuffer);
786 video.frameBufferUnaligned = NULL;801 video.frameBuffer = NULL;
787 }802 }
788
789 video.frameBuffer = NULL;
790}803}
791 804
792void setWindowSizeFromConfig(bool updateRenderer)805void setWindowSizeFromConfig(bool updateRenderer)
@@ -811,8 +824,12 @@ void setWindowSizeFromConfig(bool updateRenderer) · 18 unmodified lines
811 uint8_t oldUpscaleFactor = video.upscaleFactor;824 uint8_t oldUpscaleFactor = video.upscaleFactor;
812 if (config.windowFlags & WINSIZE_AUTO)825 if (config.windowFlags & WINSIZE_AUTO)
813 {826 {
827 int32_t di = SDL_GetWindowDisplayIndex(video.window);
828 if (di < 0)
829 di = 0; // return display index 0 (default) on error
830
814 // find out which upscaling factor is the biggest to fit on screen831 // find out which upscaling factor is the biggest to fit on screen
815 if (SDL_GetDesktopDisplayMode(0, &dm) == 0)832 if (SDL_GetDesktopDisplayMode(di, &dm) == 0)
816 {833 {
817 for (i = MAX_UPSCALE_FACTOR; i >= 1; i--)834 for (i = MAX_UPSCALE_FACTOR; i >= 1; i--)
818 {835 {
@@ -869,17 +886,31 @@ void updateWindowTitle(bool forceUpdate) · 50 unmodified lines
869 strncpy(songTitleTrunc, songTitle, sizeof (songTitleTrunc)-1);886 strncpy(songTitleTrunc, songTitle, sizeof (songTitleTrunc)-1);
870 songTitleTrunc[sizeof (songTitleTrunc)-1] = '\0';887 songTitleTrunc[sizeof (songTitleTrunc)-1] = '\0';
871 888
872 if (song.isModified)889#if CPU_BITS==32
873 sprintf(wndTitle, "Fasttracker II clone v%s (%d-bit) - \"%s\" (unsaved)", PROG_VER_STR, CPU_BITS, songTitleTrunc);890 if (song.isModified)
874 else891 sprintf(wndTitle, "Fasttracker II clone v%s (32-bit) - \"%s\" (unsaved)", PROG_VER_STR, songTitleTrunc);
875 sprintf(wndTitle, "Fasttracker II clone v%s (%d-bit) - \"%s\"", PROG_VER_STR, CPU_BITS, songTitleTrunc);892 else
893 sprintf(wndTitle, "Fasttracker II clone v%s (32-bit) - \"%s\"", PROG_VER_STR, songTitleTrunc);
894#else
895 if (song.isModified)
896 sprintf(wndTitle, "Fasttracker II clone v%s - \"%s\" (unsaved)", PROG_VER_STR, songTitleTrunc);
897 else
898 sprintf(wndTitle, "Fasttracker II clone v%s - \"%s\"", PROG_VER_STR, songTitleTrunc);
899#endif
876 }900 }
877 else901 else
878 {902 {
903#if CPU_BITS==32
879 if (song.isModified)904 if (song.isModified)
880 sprintf(wndTitle, "Fasttracker II clone v%s (%d-bit) - \"untitled\" (unsaved)", PROG_VER_STR, CPU_BITS);905 sprintf(wndTitle, "Fasttracker II clone v%s (32-bit) - \"untitled\" (unsaved)", PROG_VER_STR);
881 else906 else
882 sprintf(wndTitle, "Fasttracker II clone v%s (%d-bit) - \"untitled\"", PROG_VER_STR, CPU_BITS);907 sprintf(wndTitle, "Fasttracker II clone v%s (32-bit) - \"untitled\"", PROG_VER_STR);
908#else
909 if (song.isModified)
910 sprintf(wndTitle, "Fasttracker II clone v%s - \"untitled\" (unsaved)", PROG_VER_STR);
911 else
912 sprintf(wndTitle, "Fasttracker II clone v%s - \"untitled\"", PROG_VER_STR);
913#endif
883 }914 }
884 915
885 SDL_SetWindowTitle(video.window, wndTitle);916 SDL_SetWindowTitle(video.window, wndTitle);
@@ -923,7 +954,11 @@ bool setupWindow(void) · 37 unmodified lines
923 954
924 setWindowSizeFromConfig(false);955 setWindowSizeFromConfig(false);
925 956
926 SDL_GetDesktopDisplayMode(0, &dm);957 int32_t di = SDL_GetWindowDisplayIndex(video.window);
958 if (di < 0)
959 di = 0; // return display index 0 (default) on error
960
961 SDL_GetDesktopDisplayMode(di, &dm);
927 video.dMonitorRefreshRate = (double)dm.refresh_rate;962 video.dMonitorRefreshRate = (double)dm.refresh_rate;
928 963
929 if (dm.refresh_rate >= 59 && dm.refresh_rate <= 61)964 if (dm.refresh_rate >= 59 && dm.refresh_rate <= 61)
@@ -979,7 +1014,7 @@ bool setupRenderer(void) · 49 unmodified lines
979 1014
980 SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);1015 SDL_RenderSetLogicalSize(video.renderer, SCREEN_W, SCREEN_H);
981 1016
982#if SDL_PATCHLEVEL >= 51017#if SDL_MINOR_VERSION >= 24 || (SDL_MINOR_VERSION == 0 && SDL_PATCHLEVEL >= 5)
983 SDL_RenderSetIntegerScale(video.renderer, SDL_TRUE);1018 SDL_RenderSetIntegerScale(video.renderer, SDL_TRUE);
984#endif1019#endif
985 1020
@@ -993,19 +1028,22 @@ bool setupRenderer(void) · 7 unmodified lines
993 }1028 }
994 1029
995 // framebuffer used by SDL (for texture)1030 // framebuffer used by SDL (for texture)
996 video.frameBufferUnaligned = (uint32_t *)MALLOC_PAD(SCREEN_W * SCREEN_H * sizeof (int32_t), 256);1031 video.frameBuffer = (uint32_t *)malloc(SCREEN_W * SCREEN_H * sizeof (int32_t));
997 if (video.frameBufferUnaligned == NULL)1032 if (video.frameBuffer == NULL)
998 {1033 {
999 showErrorMsgBox("Not enough memory!");1034 showErrorMsgBox("Not enough memory!");
1000 return false;1035 return false;
1001 }1036 }
1002 1037
1003 // we want an aligned pointer
1004 video.frameBuffer = (uint32_t *)ALIGN_PTR(video.frameBufferUnaligned, 256);
1005
1006 if (!setupSprites())1038 if (!setupSprites())
1007 return false;1039 return false;
1008 1040
1041 // Workaround: SDL_GetGlobalMouseState() doesn't work with KMSDRM/Wayland
1042 video.useDesktopMouseCoords = true;
1043 const char *videoDriver = SDL_GetCurrentVideoDriver();
1044 if (videoDriver != NULL && (strcmp("KMSDRM", videoDriver) == 0 || strcmp("wayland", videoDriver) == 0))
1045 video.useDesktopMouseCoords = false;
1046
1009 updateRenderSizeVars();1047 updateRenderSizeVars();
1010 updateMouseScaling();1048 updateMouseScaling();
1011 1049
@@ -1014,12 +1052,6 @@ bool setupRenderer(void) · 2 unmodified lines
1014 else1052 else
1015 SDL_ShowCursor(SDL_FALSE);1053 SDL_ShowCursor(SDL_FALSE);
1016 1054
1017 // Workaround: SDL_GetGlobalMouseState() doesn't work with KMSDRM/Wayland
1018 video.useDesktopMouseCoords = true;
1019 const char *videoDriver = SDL_GetCurrentVideoDriver();
1020 if (videoDriver != NULL && (strcmp("KMSDRM", videoDriver) == 0 || strcmp("wayland", videoDriver) == 0))
1021 video.useDesktopMouseCoords = false;
1022
1023 SDL_SetRenderDrawColor(video.renderer, 0, 0, 0, SDL_ALPHA_OPAQUE);1055 SDL_SetRenderDrawColor(video.renderer, 0, 0, 0, SDL_ALPHA_OPAQUE);
1024 return true;1056 return true;
1025}1057}
src/ft2_video.h+6−7
@@ -5,6 +5,7 @@ · 4 unmodified lines
5#include "ft2_header.h"5#include "ft2_header.h"
6#include "ft2_palette.h"6#include "ft2_palette.h"
7#include "ft2_audio.h"7#include "ft2_audio.h"
8#include "ft2_hpc.h"
8 9
9enum10enum
10{11{
@@ -20,17 +21,17 @@ typedef struct video_t · 9 unmodified lines
20{21{
21 bool fullscreen, showFPSCounter, useDesktopMouseCoords;22 bool fullscreen, showFPSCounter, useDesktopMouseCoords;
22 uint32_t xScale, yScale;23 uint32_t xScale, yScale;
23 uint32_t *frameBuffer, palette[PAL_NUM], vblankTimeLen, vblankTimeLenFrac;24 uint32_t *frameBuffer, palette[PAL_NUM];
24#ifdef _WIN3225#ifdef _WIN32
25 HWND hWnd;26 HWND hWnd;
26#endif27#endif
28 hpc_t vblankHpc;
27 SDL_Window *window;29 SDL_Window *window;
28 double dMonitorRefreshRate;30 double dMonitorRefreshRate;
29 float fMouseXMul, fMouseYMul;31 float fMouseXMul, fMouseYMul;
30 uint8_t upscaleFactor;32 uint8_t upscaleFactor;
31 bool vsync60HzPresent, windowHidden;33 bool vsync60HzPresent, windowHidden;
32 int32_t renderX, renderY, renderW, renderH, displayW, displayH;34 int32_t renderX, renderY, renderW, renderH, displayW, displayH, windowW, windowH;
33 uint32_t *frameBufferUnaligned;
34 SDL_Renderer *renderer;35 SDL_Renderer *renderer;
35 SDL_Texture *texture;36 SDL_Texture *texture;
36 SDL_Surface *iconSurface;37 SDL_Surface *iconSurface;
@@ -70,9 +71,7 @@ void changeSpriteData(int32_t sprite, const uint8_t *data); · 33 unmodified lines
70void hideSprite(int32_t sprite);71void hideSprite(int32_t sprite);
71void handleRedrawing(void);72void handleRedrawing(void);
72void enterFullscreen(void);73void enterFullscreen(void);
73void leaveFullScreen(void);74void leaveFullscreen(void);
74void setWindowSizeFromConfig(bool updateRenderer);75void setWindowSizeFromConfig(bool updateRenderer);
75bool recreateTexture(void);76bool recreateTexture(void);
76void toggleFullScreen(void);77void toggleFullscreen(void);
77void setupWaitVBL(void);
78void waitVBL(void);
src/ft2_wav_renderer.c+37−30
@@ -20,6 +20,7 @@ · 19 unmodified lines
20#include "ft2_wav_renderer.h"20#include "ft2_wav_renderer.h"
21#include "ft2_structs.h"21#include "ft2_structs.h"
22 22
23#define UPDATE_VISUALS_AT_TICK 4
23#define TICKS_PER_RENDER_CHUNK 6424#define TICKS_PER_RENDER_CHUNK 64
24 25
25enum26enum
@@ -37,9 +38,10 @@ typedef struct wavHeader_t · 11 unmodified lines
37 uint32_t subchunk2ID, subchunk2Size;38 uint32_t subchunk2ID, subchunk2Size;
38} wavHeader_t;39} wavHeader_t;
39 40
41static bool useLegacyBPM = false;
40static uint8_t WDBitDepth = 16, WDStartPos, WDStopPos, *wavRenderBuffer;42static uint8_t WDBitDepth = 16, WDStartPos, WDStopPos, *wavRenderBuffer;
41static int16_t WDAmp;43static int16_t WDAmp;
42static uint32_t WDFrequency = DEFAULT_AUDIO_FREQ;44static uint32_t WDFrequency = 44100;
43static SDL_Thread *thread;45static SDL_Thread *thread;
44 46
45static void updateWavRenderer(void)47static void updateWavRenderer(void)
@@ -58,22 +60,9 @@ static void updateWavRenderer(void) · 12 unmodified lines
58 hexOut(237, 158, PAL_FORGRND, WDStopPos, 2);60 hexOut(237, 158, PAL_FORGRND, WDStopPos, 2);
59}61}
60 62
61void setWavRenderFrequency(int32_t freq)63void cbToggleWavRenderBPMMode(void)
62{64{
63 WDFrequency = CLAMP(freq, MIN_WAV_RENDER_FREQ, MAX_WAV_RENDER_FREQ);65 useLegacyBPM ^= 1;
64 if (ui.wavRendererShown)
65 updateWavRenderer();
66}
67
68void setWavRenderBitDepth(uint8_t bitDepth)
69{
70 if (bitDepth == 16)
71 WDBitDepth = 16;
72 else if (bitDepth == 32)
73 WDBitDepth = 32;
74
75 if (ui.wavRendererShown)
76 updateWavRenderer();
77}66}
78 67
79void updateWavRendererSettings(void) // called when changing config.boostLevel68void updateWavRendererSettings(void) // called when changing config.boostLevel
@@ -91,6 +80,9 @@ void drawWavRenderer(void) · 11 unmodified lines
91 textOutShadow(156, 96, PAL_FORGRND, PAL_DSKTOP2, "16-bit");80 textOutShadow(156, 96, PAL_FORGRND, PAL_DSKTOP2, "16-bit");
92 textOutShadow(221, 96, PAL_FORGRND, PAL_DSKTOP2, "32-bit float");81 textOutShadow(221, 96, PAL_FORGRND, PAL_DSKTOP2, "32-bit float");
93 82
83 textOutShadow(19, 114, PAL_FORGRND, PAL_DSKTOP2, "Imprecise");
84 textOutShadow(4, 127, PAL_FORGRND, PAL_DSKTOP2, "BPM (FT2)");
85
94 textOutShadow(85, 116, PAL_FORGRND, PAL_DSKTOP2, "Frequency");86 textOutShadow(85, 116, PAL_FORGRND, PAL_DSKTOP2, "Frequency");
95 textOutShadow(85, 130, PAL_FORGRND, PAL_DSKTOP2, "Amplification");87 textOutShadow(85, 130, PAL_FORGRND, PAL_DSKTOP2, "Amplification");
96 textOutShadow(85, 144, PAL_FORGRND, PAL_DSKTOP2, "Start song position");88 textOutShadow(85, 144, PAL_FORGRND, PAL_DSKTOP2, "Start song position");
@@ -107,6 +99,8 @@ void drawWavRenderer(void) · 10 unmodified lines
107 showPushButton(PB_WAV_END_UP);99 showPushButton(PB_WAV_END_UP);
108 showPushButton(PB_WAV_END_DOWN);100 showPushButton(PB_WAV_END_DOWN);
109 101
102 showCheckBox(CB_WAV_BPM_MODE);
103
110 // bitdepth radiobuttons104 // bitdepth radiobuttons
111 105
112 radioButtons[RB_WAV_RENDER_BITDEPTH16].state = RADIOBUTTON_UNCHECKED;106 radioButtons[RB_WAV_RENDER_BITDEPTH16].state = RADIOBUTTON_UNCHECKED;
@@ -162,6 +156,7 @@ void hideWavRenderer(void) · 49 unmodified lines
162 hidePushButton(PB_WAV_START_DOWN);156 hidePushButton(PB_WAV_START_DOWN);
163 hidePushButton(PB_WAV_END_UP);157 hidePushButton(PB_WAV_END_UP);
164 hidePushButton(PB_WAV_END_DOWN);158 hidePushButton(PB_WAV_END_DOWN);
159 hideCheckBox(CB_WAV_BPM_MODE);
165 hideRadioButtonGroup(RB_GROUP_WAV_RENDER_BITDEPTH);160 hideRadioButtonGroup(RB_GROUP_WAV_RENDER_BITDEPTH);
166 161
167 ui.scopesShown = true;162 ui.scopesShown = true;
@@ -325,7 +320,7 @@ static int32_t SDLCALL renderWavThread(void *ptr) · 157 unmodified lines
325 320
326 uint32_t sampleCounter = 0;321 uint32_t sampleCounter = 0;
327 bool overflow = false, renderDone = false;322 bool overflow = false, renderDone = false;
328 uint8_t tickCounter = 4;323 uint8_t tickCounter = UPDATE_VISUALS_AT_TICK;
329 int64_t tickSampleCounter64 = 0;324 int64_t tickSampleCounter64 = 0;
330 325
331 uint64_t bytesInFile = sizeof (wavHeader_t);326 uint64_t bytesInFile = sizeof (wavHeader_t);
@@ -345,31 +340,43 @@ static int32_t SDLCALL renderWavThread(void *ptr) · 13 unmodified lines
345 break;340 break;
346 }341 }
347 342
348 if (tickSampleCounter64 <= 0) // new replayer tick343 int32_t tickSamples;
344
345 if (useLegacyBPM)
349 {346 {
350 dump_TickReplayer();347 dump_TickReplayer();
351 tickSampleCounter64 += audio.samplesPerTick64;348 tickSamples = audio.samplesPerTick64 >> 32; // truncate
349 }
350 else
351 {
352 if (tickSampleCounter64 <= 0) // new replayer tick
353 {
354 dump_TickReplayer();
355 tickSampleCounter64 += audio.samplesPerTick64;
356 }
357
358 tickSamples = (tickSampleCounter64 + UINT32_MAX) >> 32; // ceil (rounded upwards)
352 }359 }
353 360
354 int32_t remainingTick = (tickSampleCounter64 + UINT32_MAX) >> 32; // ceil (rounded upwards)361 mixReplayerTickToBuffer(tickSamples, ptr8, WDBitDepth);
355 362
356 mixReplayerTickToBuffer(remainingTick, ptr8, WDBitDepth);363 if (!useLegacyBPM)
357 tickSampleCounter64 -= (int64_t)remainingTick << 32;364 tickSampleCounter64 -= (int64_t)tickSamples << 32;
358 365
359 remainingTick *= 2; // stereo366 tickSamples *= 2; // stereo
360 samplesInChunk += remainingTick;367 samplesInChunk += tickSamples;
361 sampleCounter += remainingTick;368 sampleCounter += tickSamples;
362 369
363 // increase buffer pointer370 // increase buffer pointer
364 if (WDBitDepth == 16)371 if (WDBitDepth == 16)
365 {372 {
366 ptr8 += remainingTick * sizeof (int16_t);373 ptr8 += tickSamples * sizeof (int16_t);
367 bytesInFile += remainingTick * sizeof (int16_t);374 bytesInFile += tickSamples * sizeof (int16_t);
368 }375 }
369 else376 else
370 {377 {
371 ptr8 += remainingTick * sizeof (float);378 ptr8 += tickSamples * sizeof (float);
372 bytesInFile += remainingTick * sizeof (float);379 bytesInFile += tickSamples * sizeof (float);
373 }380 }
374 381
375 if (bytesInFile >= INT32_MAX)382 if (bytesInFile >= INT32_MAX)
@@ -379,7 +386,7 @@ static int32_t SDLCALL renderWavThread(void *ptr) · 3 unmodified lines
379 break;386 break;
380 }387 }
381 388
382 if (++tickCounter >= 4)389 if (++tickCounter >= UPDATE_VISUALS_AT_TICK)
383 {390 {
384 tickCounter = 0;391 tickCounter = 0;
385 updateVisuals();392 updateVisuals();
src/ft2_wav_renderer.h+1−2
@@ -14,8 +14,7 @@ · 13 unmodified lines
14 14
15#define MAX_WAV_RENDER_SAMPLES_PER_TICK (((MAX_WAV_RENDER_FREQ * 5) / 2) / MIN_BPM)15#define MAX_WAV_RENDER_SAMPLES_PER_TICK (((MAX_WAV_RENDER_FREQ * 5) / 2) / MIN_BPM)
16 16
17void setWavRenderFrequency(int32_t freq);17void cbToggleWavRenderBPMMode(void);
18void setWavRenderBitDepth(uint8_t bitDepth);
19void updateWavRendererSettings(void);18void updateWavRendererSettings(void);
20void drawWavRenderer(void);19void drawWavRenderer(void);
21void showWavRenderer(void);20void showWavRenderer(void);
src/helpdata/FT2.HLP+11−7
@@ -782,6 +782,15 @@ changed with respect to the resampling rate. · 781 unmodified lines
782By pressing the right mouse button in the sample window, you can782By pressing the right mouse button in the sample window, you can
783draw your waveforms manually.783draw your waveforms manually.
784 784
785@X020@C001WAV export:
786>
787>@X040@C001Imprecise BPM (FT2):
788>@X060@C002
789The BPM precision in original FT2 is not exact. Tick this box to use
790the same (poor) BPM precision that original FT2 uses. It will be
791a fraction off, but the WAV output will be the same length as from FT2.
792This settings only affects WAV export, and not tracker playback.
793
785@X020@C001Configuration:794@X020@C001Configuration:
786>795>
787>@X040@C001Auto save:796>@X040@C001Auto save:
@@ -922,11 +931,6 @@ END · 134 unmodified lines
922;***************************************************************************931;***************************************************************************
923@LKnown bugs932@LKnown bugs
924>933>
925>@X010@C001Sample recording on Mac:
926>
927>@X010@C002- Sample recording doesn't work on macOS Mojave and later, because of an
928>@X021issue in SDL2 where it doesn't ask for permission to use the audio input device.
929>
930>@X010@C001WAV exporting (rendering song to WAV):934>@X010@C001WAV exporting (rendering song to WAV):
931>935>
932>@X010@C002- Songs that jump back to a previous pattern will render forever and ever,936>@X010@C002- Songs that jump back to a previous pattern will render forever and ever,
@@ -936,7 +940,7 @@ END · 3 unmodified lines
936>@X010@C001Video:940>@X010@C001Video:
937>@C002941>@C002
938>@X010- Fullscreen mode can be unbearably slow on a Raspberry Pi (even on RPi 4)942>@X010- Fullscreen mode can be unbearably slow on a Raspberry Pi (even on RPi 4)
939>@X010- Not a bug, but if your monitor's refresh rate is not set to 60Hz (or 59Hz)943>@X010- Fullscreen mode can have several problems on multi-monitor systems
940>@X021you may experience visual stuttering because VSync will not be used.944>@X010- Fullscreen mode can have several problems on some Linux systems
941 945
942END946END
src/helpdata/ft2_help_data.h+542−532
@@ -3,9 +3,9 @@ · 2 unmodified lines
3 3
4#include <stdint.h>4#include <stdint.h>
5 5
6#define HELP_DATA_LEN 277666#define HELP_DATA_LEN 27884
7 7
8const uint8_t helpData[27766] =8const uint8_t helpData[27884] =
9{9{
10 0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,10 0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
11 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,11 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
@@ -1789,538 +1789,548 @@ const uint8_t helpData[27766] = · 1777 unmodified lines
1789 0x2C,0x20,0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,0x1D,0x64,0x72,1789 0x2C,0x20,0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,0x1D,0x64,0x72,
1790 0x61,0x77,0x20,0x79,0x6F,0x75,0x72,0x20,0x77,0x61,0x76,0x65,1790 0x61,0x77,0x20,0x79,0x6F,0x75,0x72,0x20,0x77,0x61,0x76,0x65,
1791 0x66,0x6F,0x72,0x6D,0x73,0x20,0x6D,0x61,0x6E,0x75,0x61,0x6C,1791 0x66,0x6F,0x72,0x6D,0x73,0x20,0x6D,0x61,0x6E,0x75,0x61,0x6C,
1792 0x6C,0x79,0x2E,0x00,0x18,0x40,0x58,0x30,0x32,0x30,0x40,0x43,1792 0x6C,0x79,0x2E,0x00,0x15,0x40,0x58,0x30,0x32,0x30,0x40,0x43,
1793 0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,1793 0x30,0x30,0x31,0x57,0x41,0x56,0x20,0x65,0x78,0x70,0x6F,0x72,
1794 0x74,0x69,0x6F,0x6E,0x3A,0x01,0x3E,0x15,0x3E,0x40,0x58,0x30,1794 0x74,0x3A,0x01,0x3E,0x1F,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
1795 0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x41,0x75,0x74,0x6F,0x20,1795 0x43,0x30,0x30,0x31,0x49,0x6D,0x70,0x72,0x65,0x63,0x69,0x73,
1796 0x73,0x61,0x76,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,1796 0x65,0x20,0x42,0x50,0x4D,0x20,0x28,0x46,0x54,0x32,0x29,0x3A,
1797 0x40,0x43,0x30,0x30,0x32,0x43,0x49,0x66,0x20,0x74,0x68,0x65,
1798 0x20,0x61,0x75,0x74,0x6F,0x20,0x73,0x61,0x76,0x65,0x20,0x69,
1799 0x73,0x20,0x6F,0x6E,0x2C,0x20,0x46,0x54,0x32,0x20,0x77,0x69,
1800 0x6C,0x6C,0x20,0x75,0x70,0x64,0x61,0x74,0x65,0x20,0x74,0x68,
1801 0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,
1802 0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x77,0x68,0x65,
1803 0x6E,0x15,0x79,0x6F,0x75,0x20,0x65,0x78,0x69,0x74,0x20,0x74,
1804 0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x2E,0x00,
1805 0x25,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x43,
1806 0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,
1807 0x2C,0x20,0x49,0x2F,0x4F,0x20,0x64,0x65,0x76,0x69,0x63,0x65,
1808 0x73,0x3A,0x01,0x3E,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,
1809 0x43,0x30,0x30,0x31,0x49,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,
1810 0x61,0x74,0x69,0x6F,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,
1811 0x30,0x40,0x43,0x30,0x30,0x32,0x35,0x53,0x65,0x6C,0x65,0x63,
1812 0x74,0x73,0x20,0x77,0x68,0x61,0x74,0x20,0x74,0x79,0x70,0x65,
1813 0x20,0x6F,0x66,0x20,0x72,0x65,0x73,0x61,0x6D,0x70,0x6C,0x69,
1814 0x6E,0x67,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,
1815 0x74,0x69,0x6F,0x6E,0x20,0x74,0x6F,0x20,0x75,0x73,0x65,0x2E,
1816 0x45,0x22,0x4E,0x6F,0x6E,0x65,0x22,0x20,0x75,0x73,0x65,0x73,
1817 0x20,0x6E,0x6F,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,
1818 0x61,0x74,0x69,0x6F,0x6E,0x20,0x28,0x6E,0x65,0x61,0x72,0x65,
1819 0x73,0x74,0x20,0x6E,0x65,0x69,0x67,0x68,0x62,0x6F,0x72,0x29,
1820 0x2C,0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x77,0x69,0x6C,0x6C,
1821 0x20,0x72,0x65,0x73,0x75,0x6C,0x74,0x20,0x69,0x6E,0x49,0x61,
1822 0x6C,0x69,0x61,0x73,0x69,0x6E,0x67,0x20,0x28,0x6E,0x6F,0x69,
1823 0x73,0x65,0x29,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x73,
1824 0x6F,0x75,0x6E,0x64,0x2E,0x20,0x22,0x4C,0x69,0x6E,0x65,0x61,
1825 0x72,0x22,0x20,0x69,0x73,0x20,0x77,0x68,0x61,0x74,0x20,0x72,
1826 0x65,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x75,0x73,0x65,0x73,
1827 0x2C,0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x69,0x73,0x20,0x61,
1828 0x47,0x6D,0x65,0x64,0x69,0x6F,0x63,0x72,0x65,0x20,0x69,0x6E,
1829 0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,
1830 0x74,0x79,0x70,0x65,0x2E,0x20,0x22,0x57,0x69,0x6E,0x64,0x6F,
1831 0x77,0x65,0x64,0x2D,0x73,0x69,0x6E,0x63,0x22,0x20,0x69,0x73,
1832 0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x63,0x6F,0x6D,0x6D,0x65,
1833 0x6E,0x64,0x65,0x64,0x20,0x73,0x65,0x74,0x74,0x69,0x6E,0x67,
1834 0x48,0x66,0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x62,0x65,0x73,
1835 0x74,0x20,0x61,0x75,0x64,0x69,0x6F,0x20,0x71,0x75,0x61,0x6C,
1836 0x69,0x74,0x79,0x2C,0x20,0x61,0x6C,0x74,0x68,0x6F,0x75,0x67,
1837 0x68,0x20,0x69,0x74,0x20,0x6D,0x61,0x79,0x20,0x73,0x6F,0x6D,
1838 0x65,0x74,0x69,0x6D,0x65,0x73,0x20,0x73,0x6F,0x75,0x6E,0x64,
1839 0x20,0x74,0x6F,0x6F,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,0x65,
1840 0x64,0x2A,0x6F,0x6E,0x20,0x6C,0x6F,0x77,0x2D,0x71,0x75,0x61,
1841 0x6C,0x69,0x74,0x79,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x73,
1842 0x20,0x28,0x66,0x2E,0x65,0x78,0x2E,0x20,0x41,0x6D,0x69,0x67,
1843 0x61,0x20,0x4D,0x4F,0x44,0x73,0x29,0x2E,0x00,0x1A,0x3E,0x40,
1844 0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x6F,0x6C,
1845 0x75,0x6D,0x65,0x20,0x72,0x61,0x6D,0x70,0x69,0x6E,0x67,0x3A,
1846 0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,1797 0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
1847 0x3B,0x45,0x6E,0x61,0x62,0x6C,0x65,0x73,0x20,0x74,0x68,0x65,1798 0x44,0x54,0x68,0x65,0x20,0x42,0x50,0x4D,0x20,0x70,0x72,0x65,
1848 0x20,0x61,0x6E,0x74,0x69,0x2D,0x63,0x6C,0x69,0x63,0x6B,0x20,1799 0x63,0x69,0x73,0x69,0x6F,0x6E,0x20,0x69,0x6E,0x20,0x6F,0x72,
1849 0x73,0x79,0x73,0x74,0x65,0x6D,0x20,0x69,0x6E,0x20,0x74,0x68,1800 0x69,0x67,0x69,0x6E,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x69,
1850 0x65,0x20,0x61,0x75,0x64,0x69,0x6F,0x20,0x6D,0x69,0x78,0x65,1801 0x73,0x20,0x6E,0x6F,0x74,0x20,0x65,0x78,0x61,0x63,0x74,0x2E,
1851 0x72,0x20,0x28,0x46,0x54,0x32,0x2E,0x30,0x38,0x2B,0x29,0x2E,1802 0x20,0x54,0x69,0x63,0x6B,0x20,0x74,0x68,0x69,0x73,0x20,0x62,
1852 0x3B,0x50,0x6C,0x65,0x61,0x73,0x65,0x20,0x6E,0x6F,0x74,0x65,1803 0x6F,0x78,0x20,0x74,0x6F,0x20,0x75,0x73,0x65,0x40,0x74,0x68,
1853 0x20,0x74,0x68,0x61,0x74,0x20,0x6F,0x72,0x69,0x67,0x69,0x6E,1804 0x65,0x20,0x73,0x61,0x6D,0x65,0x20,0x28,0x70,0x6F,0x6F,0x72,
1854 0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x63,0x61,0x6E,0x27,0x74,1805 0x29,0x20,0x42,0x50,0x4D,0x20,0x70,0x72,0x65,0x63,0x69,0x73,
1855 0x20,0x6C,0x6F,0x61,0x64,0x20,0x74,0x68,0x69,0x73,0x20,0x63,1806 0x69,0x6F,0x6E,0x20,0x74,0x68,0x61,0x74,0x20,0x6F,0x72,0x69,
1856 0x6F,0x6E,0x66,0x69,0x67,0x20,0x65,0x6E,0x74,0x72,0x79,0x2C,1807 0x67,0x69,0x6E,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x75,0x73,
1857 0x0B,0x63,0x6C,0x6F,0x6E,0x65,0x20,0x6F,0x6E,0x6C,0x79,0x2E,1808 0x65,0x73,0x2E,0x20,0x49,0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,
1858 0x00,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,1809 0x62,0x65,0x47,0x61,0x20,0x66,0x72,0x61,0x63,0x74,0x69,0x6F,
1859 0x31,0x41,0x6D,0x70,0x6C,0x69,0x66,0x69,0x63,0x61,0x74,0x69,1810 0x6E,0x20,0x6F,0x66,0x66,0x2C,0x20,0x62,0x75,0x74,0x20,0x74,
1860 0x6F,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,1811 0x68,0x65,0x20,0x57,0x41,0x56,0x20,0x6F,0x75,0x74,0x70,0x75,
1861 0x30,0x30,0x32,0x46,0x41,0x6D,0x70,0x6C,0x69,0x66,0x69,0x65,1812 0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x74,0x68,
1862 0x73,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,0x6C,0x75,0x6D,0x65,1813 0x65,0x20,0x73,0x61,0x6D,0x65,0x20,0x6C,0x65,0x6E,0x67,0x74,
1863 0x20,0x77,0x68,0x65,0x6E,0x20,0x6D,0x69,0x78,0x69,0x6E,0x67,1814 0x68,0x20,0x61,0x73,0x20,0x66,0x72,0x6F,0x6D,0x20,0x46,0x54,
1864 0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x73,0x65,0x74,1815 0x32,0x2E,0x40,0x54,0x68,0x69,0x73,0x20,0x73,0x65,0x74,0x74,
1865 0x20,0x74,0x68,0x69,0x73,0x20,0x6F,0x6E,0x65,0x20,0x74,0x6F,1816 0x69,0x6E,0x67,0x73,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x61,0x66,
1866 0x6F,0x20,0x68,0x69,0x67,0x68,0x2C,0x20,0x79,0x6F,0x75,0x27,1817 0x66,0x65,0x63,0x74,0x73,0x20,0x57,0x41,0x56,0x20,0x65,0x78,
1867 0x6C,0x6C,0x3A,0x67,0x65,0x74,0x20,0x64,0x69,0x73,0x74,0x6F,1818 0x70,0x6F,0x72,0x74,0x2C,0x20,0x61,0x6E,0x64,0x20,0x6E,0x6F,
1868 0x72,0x74,0x69,0x6F,0x6E,0x2E,0x20,0x33,0x32,0x58,0x20,0x65,1819 0x74,0x20,0x74,0x72,0x61,0x63,0x6B,0x65,0x72,0x20,0x70,0x6C,
1869 0x71,0x75,0x61,0x6C,0x73,0x20,0x66,0x75,0x6C,0x6C,0x20,0x61,1820 0x61,0x79,0x62,0x61,0x63,0x6B,0x2E,0x00,0x18,0x40,0x58,0x30,
1870 0x6D,0x70,0x6C,0x69,0x74,0x75,0x64,0x65,0x20,0x66,0x6F,0x72,1821 0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,
1871 0x20,0x6F,0x6E,0x65,0x20,0x63,0x68,0x61,0x6E,0x6E,0x65,0x6C,1822 0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x3A,0x01,0x3E,0x15,
1872 0x2E,0x00,0x1B,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,1823 0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x41,
1873 0x30,0x31,0x46,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x20,1824 0x75,0x74,0x6F,0x20,0x73,0x61,0x76,0x65,0x3A,0x0B,0x3E,0x40,
1874 0x74,0x61,0x62,0x6C,0x65,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,1825 0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x43,0x49,0x66,
1875 0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x54,0x68,0x65,0x20,0x6C,1826 0x20,0x74,0x68,0x65,0x20,0x61,0x75,0x74,0x6F,0x20,0x73,0x61,
1876 0x69,0x6E,0x65,0x61,0x72,0x20,0x66,0x72,0x65,0x71,0x75,0x65,1827 0x76,0x65,0x20,0x69,0x73,0x20,0x6F,0x6E,0x2C,0x20,0x46,0x54,
1877 0x6E,0x63,0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x20,0x6D,0x61,1828 0x32,0x20,0x77,0x69,0x6C,0x6C,0x20,0x75,0x70,0x64,0x61,0x74,
1878 0x6B,0x65,0x73,0x20,0x61,0x6C,0x6C,0x20,0x70,0x69,0x74,0x63,1829 0x65,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,
1879 0x68,0x20,0x62,0x65,0x6E,0x64,0x73,0x20,0x72,0x75,0x6E,0x20,1830 0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,
1880 0x69,0x6E,0x20,0x63,0x6F,0x6E,0x73,0x74,0x61,0x6E,0x74,0x3F,1831 0x20,0x77,0x68,0x65,0x6E,0x15,0x79,0x6F,0x75,0x20,0x65,0x78,
1881 0x73,0x70,0x65,0x65,0x64,0x2C,0x20,0x69,0x6E,0x64,0x65,0x70,1832 0x69,0x74,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,
1882 0x65,0x6E,0x64,0x65,0x6E,0x74,0x20,0x6F,0x66,0x20,0x74,0x68,1833 0x61,0x6D,0x2E,0x00,0x25,0x40,0x58,0x30,0x32,0x30,0x40,0x43,
1883 0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,0x74,0x20,0x66,0x72,
1884 0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x2E,0x20,0x49,0x66,0x20,
1885 0x79,0x6F,0x75,0x20,0x73,0x77,0x69,0x74,0x63,0x68,0x20,0x74,
1886 0x68,0x69,0x73,0x41,0x6F,0x6E,0x65,0x2C,0x20,0x6F,0x6E,0x20,
1887 0x61,0x20,0x66,0x69,0x6E,0x69,0x73,0x68,0x65,0x64,0x20,0x73,
1888 0x6F,0x6E,0x67,0x2C,0x20,0x69,0x74,0x20,0x6D,0x69,0x67,0x68,
1889 0x74,0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,0x73,0x74,0x72,0x61,
1890 0x6E,0x67,0x65,0x20,0x69,0x66,0x20,0x74,0x68,0x65,0x20,0x73,
1891 0x6F,0x75,0x6E,0x64,0x20,0x75,0x73,0x65,0x73,0x0D,0x70,0x6F,
1892 0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,0x65,0x73,0x2E,0x00,
1893 0x20,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x43,
1894 0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,
1895 0x2C,0x20,0x4C,0x61,0x79,0x6F,0x75,0x74,0x3A,0x01,0x3E,0x29,
1896 0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,
1897 0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6C,0x61,0x79,0x6F,0x75,
1898 0x74,0x2C,0x20,0x68,0x65,0x78,0x20,0x6E,0x75,0x6D,0x62,0x65,
1899 0x72,0x69,0x6E,0x67,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
1900 0x40,0x43,0x30,0x30,0x32,0x41,0x49,0x66,0x20,0x79,0x6F,0x75,
1901 0x20,0x75,0x73,0x65,0x20,0x70,0x61,0x74,0x74,0x65,0x72,0x6E,
1902 0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x61,0x72,0x65,0x20,0x6C,
1903 0x6F,0x6E,0x67,0x65,0x72,0x20,0x74,0x68,0x61,0x6E,0x20,0x39,
1904 0x39,0x20,0x6C,0x69,0x6E,0x65,0x73,0x2C,0x20,0x79,0x6F,0x75,
1905 0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x75,0x73,0x65,0x45,
1906 0x68,0x65,0x78,0x20,0x63,0x6F,0x75,0x6E,0x74,0x69,0x6E,0x67,
1907 0x20,0x73,0x69,0x6E,0x63,0x65,0x20,0x74,0x68,0x65,0x72,0x65,
1908 0x20,0x61,0x72,0x65,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x32,0x20,
1909 0x64,0x69,0x67,0x69,0x74,0x73,0x20,0x69,0x6E,0x20,0x74,0x68,
1910 0x65,0x20,0x6C,0x69,0x6E,0x65,0x20,0x6E,0x75,0x6D,0x62,0x65,
1911 0x72,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x2E,0x00,0x12,0x3E,
1912 0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x63,
1913 0x6F,0x70,0x65,0x73,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,
1914 0x40,0x43,0x30,0x30,0x32,0x43,0x22,0x53,0x74,0x64,0x2E,0x22,
1915 0x20,0x28,0x73,0x74,0x61,0x6E,0x64,0x61,0x72,0x64,0x29,0x20,
1916 0x77,0x69,0x6C,0x6C,0x20,0x73,0x68,0x6F,0x77,0x20,0x74,0x68,
1917 0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x70,0x6F,0x69,
1918 0x6E,0x74,0x73,0x20,0x61,0x73,0x20,0x70,0x69,0x78,0x65,0x6C,
1919 0x73,0x20,0x28,0x6C,0x69,0x6B,0x65,0x20,0x46,0x54,0x32,0x29,
1920 0x2E,0x3D,0x22,0x4C,0x69,0x6E,0x65,0x64,0x22,0x20,0x77,0x69,
1921 0x6C,0x6C,0x20,0x64,0x72,0x61,0x77,0x20,0x69,0x6E,0x74,0x65,
1922 0x72,0x70,0x6F,0x6C,0x61,0x74,0x65,0x64,0x20,0x73,0x61,0x6D,
1923 0x70,0x6C,0x65,0x73,0x20,0x28,0x6C,0x69,0x6E,0x65,0x61,0x72,
1924 0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,0x74,0x69,
1925 0x6F,0x6E,0x2E,0x00,0x27,0x40,0x58,0x30,0x32,0x30,0x40,0x43,
1926 0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,1834 0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,
1927 0x74,0x69,0x6F,0x6E,0x2C,0x20,0x4D,0x69,0x73,0x63,0x65,0x6C,1835 0x74,0x69,0x6F,0x6E,0x2C,0x20,0x49,0x2F,0x4F,0x20,0x64,0x65,
1928 0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,0x3A,0x01,0x3E,0x15,0x3E,1836 0x76,0x69,0x63,0x65,0x73,0x3A,0x01,0x3E,0x19,0x3E,0x40,0x58,
1929 0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x56,0x53,1837 0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x49,0x6E,0x74,0x65,
1930 0x79,0x6E,0x63,0x20,0x6F,0x66,0x66,0x3A,0x0B,0x3E,0x40,0x58,1838 0x72,0x70,0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x3A,0x0B,0x3E,
1931 0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x3F,0x54,0x65,0x6C,1839 0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x35,0x53,
1932 0x6C,0x73,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,1840 0x65,0x6C,0x65,0x63,0x74,0x73,0x20,0x77,0x68,0x61,0x74,0x20,
1933 0x61,0x6D,0x20,0x74,0x6F,0x20,0x6E,0x6F,0x74,0x20,0x75,0x73,1841 0x74,0x79,0x70,0x65,0x20,0x6F,0x66,0x20,0x72,0x65,0x73,0x61,
1934 0x65,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,0x66,0x6F,0x72,0x20,1842 0x6D,0x70,0x6C,0x69,0x6E,0x67,0x20,0x69,0x6E,0x74,0x65,0x72,
1935 0x76,0x69,0x64,0x65,0x6F,0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,1843 0x70,0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,0x74,0x6F,0x20,
1936 0x75,0x72,0x20,0x6D,0x6F,0x6E,0x69,0x74,0x6F,0x72,0x27,0x73,1844 0x75,0x73,0x65,0x2E,0x45,0x22,0x4E,0x6F,0x6E,0x65,0x22,0x20,
1937 0x40,0x72,0x65,0x66,0x72,0x65,0x73,0x68,0x20,0x72,0x61,0x74,1845 0x75,0x73,0x65,0x73,0x20,0x6E,0x6F,0x20,0x69,0x6E,0x74,0x65,
1938 0x65,0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,0x20,0x36,0x30,0x48,1846 0x72,0x70,0x6F,0x6C,0x61,0x74,0x69,0x6F,0x6E,0x20,0x28,0x6E,
1939 0x7A,0x20,0x28,0x6F,0x72,0x20,0x35,0x39,0x48,0x7A,0x29,0x2C,1847 0x65,0x61,0x72,0x65,0x73,0x74,0x20,0x6E,0x65,0x69,0x67,0x68,
1940 0x20,0x74,0x68,0x65,0x6E,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,1848 0x62,0x6F,0x72,0x29,0x2C,0x20,0x77,0x68,0x69,0x63,0x68,0x20,
1941 0x69,0x73,0x20,0x61,0x6C,0x77,0x61,0x79,0x73,0x20,0x6F,0x66,1849 0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x73,0x75,0x6C,0x74,0x20,
1942 0x66,0x20,0x66,0x6F,0x72,0x45,0x74,0x68,0x69,0x73,0x20,0x70,1850 0x69,0x6E,0x49,0x61,0x6C,0x69,0x61,0x73,0x69,0x6E,0x67,0x20,
1943 0x72,0x6F,0x67,0x72,0x61,0x6D,0x2E,0x20,0x4E,0x6F,0x74,0x20,1851 0x28,0x6E,0x6F,0x69,0x73,0x65,0x29,0x20,0x69,0x6E,0x20,0x74,
1944 0x68,0x61,0x76,0x69,0x6E,0x67,0x20,0x56,0x53,0x79,0x6E,0x63,1852 0x68,0x65,0x20,0x73,0x6F,0x75,0x6E,0x64,0x2E,0x20,0x22,0x4C,
1945 0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x73,0x75,0x6C,0x74,1853 0x69,0x6E,0x65,0x61,0x72,0x22,0x20,0x69,0x73,0x20,0x77,0x68,
1946 0x20,0x69,0x6E,0x20,0x6C,0x65,0x73,0x73,0x20,0x69,0x6E,0x70,1854 0x61,0x74,0x20,0x72,0x65,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,
1947 0x75,0x74,0x2F,0x76,0x69,0x64,0x65,0x6F,0x20,0x64,0x65,0x6C,1855 0x75,0x73,0x65,0x73,0x2C,0x20,0x77,0x68,0x69,0x63,0x68,0x20,
1948 0x61,0x79,0x2C,0x1E,0x62,0x75,0x74,0x20,0x61,0x6C,0x73,0x6F,1856 0x69,0x73,0x20,0x61,0x47,0x6D,0x65,0x64,0x69,0x6F,0x63,0x72,
1949 0x20,0x70,0x6F,0x74,0x65,0x6E,0x74,0x69,0x61,0x6C,0x20,0x73,1857 0x65,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,0x74,
1950 0x74,0x75,0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x2E,0x00,0x15,1858 0x69,0x6F,0x6E,0x20,0x74,0x79,0x70,0x65,0x2E,0x20,0x22,0x57,
1951 0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x53,1859 0x69,0x6E,0x64,0x6F,0x77,0x65,0x64,0x2D,0x73,0x69,0x6E,0x63,
1952 0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,0x3A,0x0B,0x3E,0x40,1860 0x22,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x63,
1953 0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x4A,0x4D,0x61,1861 0x6F,0x6D,0x6D,0x65,0x6E,0x64,0x65,0x64,0x20,0x73,0x65,0x74,
1954 0x6B,0x65,0x73,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,1862 0x74,0x69,0x6E,0x67,0x48,0x66,0x6F,0x72,0x20,0x74,0x68,0x65,
1955 0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,0x20,0x63,0x6F,0x6D,0x70,1863 0x20,0x62,0x65,0x73,0x74,0x20,0x61,0x75,0x64,0x69,0x6F,0x20,
1956 0x6C,0x65,0x74,0x65,0x6C,0x79,0x20,0x73,0x74,0x72,0x65,0x74,1864 0x71,0x75,0x61,0x6C,0x69,0x74,0x79,0x2C,0x20,0x61,0x6C,0x74,
1957 0x63,0x68,0x20,0x6F,0x75,0x74,0x20,0x74,0x68,0x65,0x20,0x69,1865 0x68,0x6F,0x75,0x67,0x68,0x20,0x69,0x74,0x20,0x6D,0x61,0x79,
1958 0x6D,0x61,0x67,0x65,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,0x63,1866 0x20,0x73,0x6F,0x6D,0x65,0x74,0x69,0x6D,0x65,0x73,0x20,0x73,
1959 0x61,0x6E,0x20,0x72,0x65,0x73,0x75,0x6C,0x74,0x20,0x69,0x6E,1867 0x6F,0x75,0x6E,0x64,0x20,0x74,0x6F,0x6F,0x20,0x66,0x69,0x6C,
1960 0x4E,0x61,0x6C,0x69,0x61,0x73,0x69,0x6E,0x67,0x20,0x28,0x75,1868 0x74,0x65,0x72,0x65,0x64,0x2A,0x6F,0x6E,0x20,0x6C,0x6F,0x77,
1961 0x6E,0x65,0x76,0x65,0x6E,0x20,0x70,0x69,0x78,0x65,0x6C,0x20,1869 0x2D,0x71,0x75,0x61,0x6C,0x69,0x74,0x79,0x20,0x73,0x61,0x6D,
1962 0x77,0x69,0x64,0x74,0x68,0x73,0x29,0x20,0x69,0x66,0x20,0x74,1870 0x70,0x6C,0x65,0x73,0x20,0x28,0x66,0x2E,0x65,0x78,0x2E,0x20,
1963 0x68,0x65,0x20,0x61,0x73,0x70,0x65,0x63,0x74,0x20,0x72,0x61,1871 0x41,0x6D,0x69,0x67,0x61,0x20,0x4D,0x4F,0x44,0x73,0x29,0x2E,
1964 0x74,0x69,0x6F,0x20,0x6F,0x66,0x20,0x74,0x68,0x65,0x20,0x73,1872 0x00,0x1A,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,
1965 0x63,0x72,0x65,0x65,0x6E,0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,1873 0x31,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x20,0x72,0x61,0x6D,0x70,
1966 0x20,0x31,0x36,0x3A,0x31,0x30,0x2E,0x52,0x54,0x68,0x65,0x20,1874 0x69,0x6E,0x67,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,
1967 0x22,0x50,0x69,0x78,0x65,0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,1875 0x43,0x30,0x30,0x32,0x3B,0x45,0x6E,0x61,0x62,0x6C,0x65,0x73,
1968 0x72,0x22,0x20,0x73,0x65,0x74,0x74,0x69,0x6E,0x67,0x20,0x63,1876 0x20,0x74,0x68,0x65,0x20,0x61,0x6E,0x74,0x69,0x2D,0x63,0x6C,
1969 0x61,0x6E,0x20,0x68,0x65,0x6C,0x70,0x20,0x77,0x69,0x74,0x68,1877 0x69,0x63,0x6B,0x20,0x73,0x79,0x73,0x74,0x65,0x6D,0x20,0x69,
1970 0x20,0x74,0x68,0x69,0x73,0x2C,0x20,0x62,0x75,0x74,0x20,0x69,1878 0x6E,0x20,0x74,0x68,0x65,0x20,0x61,0x75,0x64,0x69,0x6F,0x20,
1971 0x74,0x20,0x6D,0x61,0x6B,0x65,0x73,0x20,0x74,0x68,0x65,0x20,1879 0x6D,0x69,0x78,0x65,0x72,0x20,0x28,0x46,0x54,0x32,0x2E,0x30,
1972 0x69,0x6D,0x61,0x67,0x65,0x20,0x6C,0x6F,0x6F,0x6B,0x20,0x62,1880 0x38,0x2B,0x29,0x2E,0x3B,0x50,0x6C,0x65,0x61,0x73,0x65,0x20,
1973 0x6C,0x75,0x72,0x72,0x79,0x2E,0x01,0x20,0x18,0x3E,0x40,0x58,1881 0x6E,0x6F,0x74,0x65,0x20,0x74,0x68,0x61,0x74,0x20,0x6F,0x72,
1974 0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x50,0x69,0x78,0x65,1882 0x69,0x67,0x69,0x6E,0x61,0x6C,0x20,0x46,0x54,0x32,0x20,0x63,
1975 0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,0x3A,0x0B,0x3E,0x40,1883 0x61,0x6E,0x27,0x74,0x20,0x6C,0x6F,0x61,0x64,0x20,0x74,0x68,
1976 0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x52,0x41,0x70,1884 0x69,0x73,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x20,0x65,0x6E,
1977 0x70,0x6C,0x69,0x65,0x73,0x20,0x61,0x6E,0x20,0x61,0x6E,0x74,1885 0x74,0x72,0x79,0x2C,0x0B,0x63,0x6C,0x6F,0x6E,0x65,0x20,0x6F,
1978 0x69,0x2D,0x61,0x6C,0x69,0x61,0x73,0x69,0x6E,0x67,0x20,0x73,1886 0x6E,0x6C,0x79,0x2E,0x00,0x19,0x3E,0x40,0x58,0x30,0x34,0x30,
1979 0x75,0x62,0x70,0x69,0x78,0x65,0x6C,0x20,0x66,0x69,0x6C,0x74,1887 0x40,0x43,0x30,0x30,0x31,0x41,0x6D,0x70,0x6C,0x69,0x66,0x69,
1980 0x65,0x72,0x20,0x74,0x68,0x61,0x74,0x20,0x69,0x73,0x20,0x75,1888 0x63,0x61,0x74,0x69,0x6F,0x6E,0x3A,0x0B,0x3E,0x40,0x58,0x30,
1981 0x73,0x65,0x64,0x20,0x77,0x68,0x65,0x6E,0x20,0x74,0x68,0x65,1889 0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x46,0x41,0x6D,0x70,0x6C,
1982 0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x20,0x69,0x73,0x20,0x75,1890 0x69,0x66,0x69,0x65,0x73,0x20,0x74,0x68,0x65,0x20,0x76,0x6F,
1983 0x70,0x73,0x63,0x61,0x6C,0x65,0x64,0x2E,0x3B,0x50,0x6C,0x65,1891 0x6C,0x75,0x6D,0x65,0x20,0x77,0x68,0x65,0x6E,0x20,0x6D,0x69,
1984 0x61,0x73,0x65,0x20,0x6B,0x65,0x65,0x70,0x20,0x69,0x6E,0x20,1892 0x78,0x69,0x6E,0x67,0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,0x75,
1985 0x6D,0x69,0x6E,0x64,0x20,0x74,0x68,0x61,0x74,0x20,0x74,0x68,1893 0x20,0x73,0x65,0x74,0x20,0x74,0x68,0x69,0x73,0x20,0x6F,0x6E,
1986 0x69,0x73,0x20,0x77,0x69,0x6C,0x6C,0x20,0x6D,0x61,0x6B,0x65,1894 0x65,0x20,0x74,0x6F,0x6F,0x20,0x68,0x69,0x67,0x68,0x2C,0x20,
1987 0x20,0x70,0x69,0x78,0x65,0x6C,0x73,0x20,0x6C,0x6F,0x6F,0x6B,1895 0x79,0x6F,0x75,0x27,0x6C,0x6C,0x3A,0x67,0x65,0x74,0x20,0x64,
1988 0x20,0x62,0x6C,0x75,0x72,0x72,0x79,0x2E,0x00,0x23,0x40,0x58,1896 0x69,0x73,0x74,0x6F,0x72,0x74,0x69,0x6F,0x6E,0x2E,0x20,0x33,
1989 0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x41,0x64,0x76,0x61,1897 0x32,0x58,0x20,0x65,0x71,0x75,0x61,0x6C,0x73,0x20,0x66,0x75,
1990 0x6E,0x63,0x65,0x64,0x20,0x65,0x64,0x69,0x74,0x20,0x66,0x75,1898 0x6C,0x6C,0x20,0x61,0x6D,0x70,0x6C,0x69,0x74,0x75,0x64,0x65,
1991 0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x3A,0x20,0x01,0x3E,0x1E,1899 0x20,0x66,0x6F,0x72,0x20,0x6F,0x6E,0x65,0x20,0x63,0x68,0x61,
1992 0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,0x43,1900 0x6E,0x6E,0x65,0x6C,0x2E,0x00,0x1B,0x3E,0x40,0x58,0x30,0x34,
1993 0x6F,0x70,0x79,0x2F,0x50,0x61,0x73,0x74,0x65,0x20,0x6D,0x61,1901 0x30,0x40,0x43,0x30,0x30,0x31,0x46,0x72,0x65,0x71,0x75,0x65,
1994 0x73,0x6B,0x69,0x6E,0x67,0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,1902 0x6E,0x63,0x79,0x20,0x74,0x61,0x62,0x6C,0x65,0x3A,0x0B,0x3E,
1995 0x30,0x40,0x43,0x30,0x30,0x32,0x37,0x54,0x68,0x65,0x20,0x6D,1903 0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x40,0x54,
1996 0x61,0x73,0x6B,0x69,0x6E,0x67,0x20,0x69,0x73,0x20,0x75,0x73,1904 0x68,0x65,0x20,0x6C,0x69,0x6E,0x65,0x61,0x72,0x20,0x66,0x72,
1997 0x65,0x64,0x20,0x66,0x6F,0x72,0x20,0x63,0x6F,0x70,0x79,0x69,1905 0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x20,0x74,0x61,0x62,0x6C,
1998 0x6E,0x67,0x2F,0x70,0x61,0x73,0x74,0x69,0x6E,0x67,0x20,0x6F,1906 0x65,0x20,0x6D,0x61,0x6B,0x65,0x73,0x20,0x61,0x6C,0x6C,0x20,
1999 0x6E,0x6C,0x79,0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x6F,0x66,1907 0x70,0x69,0x74,0x63,0x68,0x20,0x62,0x65,0x6E,0x64,0x73,0x20,
2000 0x20,0x61,0x46,0x22,0x6E,0x6F,0x74,0x65,0x2D,0x63,0x65,0x6C,1908 0x72,0x75,0x6E,0x20,0x69,0x6E,0x20,0x63,0x6F,0x6E,0x73,0x74,
2001 0x6C,0x22,0x2E,0x20,0x54,0x68,0x65,0x20,0x64,0x69,0x66,0x66,1909 0x61,0x6E,0x74,0x3F,0x73,0x70,0x65,0x65,0x64,0x2C,0x20,0x69,
2002 0x65,0x72,0x65,0x6E,0x74,0x20,0x70,0x61,0x72,0x74,0x73,0x20,1910 0x6E,0x64,0x65,0x70,0x65,0x6E,0x64,0x65,0x6E,0x74,0x20,0x6F,
2003 0x6F,0x66,0x20,0x61,0x20,0x22,0x6E,0x6F,0x74,0x65,0x2D,0x63,1911 0x66,0x20,0x74,0x68,0x65,0x20,0x63,0x75,0x72,0x72,0x65,0x6E,
2004 0x65,0x6C,0x6C,0x22,0x20,0x69,0x73,0x20,0x4E,0x6F,0x74,0x65,1912 0x74,0x20,0x66,0x72,0x65,0x71,0x75,0x65,0x6E,0x63,0x79,0x2E,
2005 0x2C,0x20,0x49,0x6E,0x73,0x74,0x72,0x2E,0x20,0x6E,0x72,0x2E,1913 0x20,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x73,0x77,0x69,0x74,
2006 0x2C,0x20,0x56,0x6F,0x6C,0x75,0x6D,0x65,0x2C,0x20,0x45,0x66,1914 0x63,0x68,0x20,0x74,0x68,0x69,0x73,0x41,0x6F,0x6E,0x65,0x2C,
2007 0x66,0x65,0x63,0x74,0x20,0x6E,0x72,0x20,0x26,0x20,0x45,0x66,1915 0x20,0x6F,0x6E,0x20,0x61,0x20,0x66,0x69,0x6E,0x69,0x73,0x68,
2008 0x66,0x65,0x63,0x74,0x20,0x64,0x61,0x74,0x61,0x2E,0x34,0x3E,1916 0x65,0x64,0x20,0x73,0x6F,0x6E,0x67,0x2C,0x20,0x69,0x74,0x20,
2009 0x41,0x73,0x20,0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,0x20,0x73,1917 0x6D,0x69,0x67,0x68,0x74,0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,
2010 0x65,0x65,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x77,0x69,1918 0x73,0x74,0x72,0x61,0x6E,0x67,0x65,0x20,0x69,0x66,0x20,0x74,
2011 0x6E,0x64,0x6F,0x77,0x20,0x74,0x68,0x65,0x72,0x65,0x20,0x61,1919 0x68,0x65,0x20,0x73,0x6F,0x75,0x6E,0x64,0x20,0x75,0x73,0x65,
2012 0x72,0x65,0x20,0x33,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x73,1920 0x73,0x0D,0x70,0x6F,0x72,0x74,0x61,0x6D,0x65,0x6E,0x74,0x6F,
2013 0x20,0x6F,0x66,0x3D,0x22,0x65,0x6E,0x61,0x62,0x6C,0x65,0x2F,1921 0x65,0x73,0x2E,0x00,0x20,0x40,0x58,0x30,0x32,0x30,0x40,0x43,
2014 0x64,0x69,0x73,0x61,0x62,0x6C,0x65,0x20,0x62,0x75,0x74,0x74,1922 0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,
2015 0x6F,0x6E,0x73,0x22,0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x68,1923 0x74,0x69,0x6F,0x6E,0x2C,0x20,0x4C,0x61,0x79,0x6F,0x75,0x74,
2016 0x61,0x73,0x20,0x74,0x68,0x65,0x20,0x6C,0x65,0x74,0x74,0x65,1924 0x3A,0x01,0x3E,0x29,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
2017 0x72,0x73,0x20,0x43,0x2C,0x50,0x20,0x26,0x20,0x54,0x20,0x61,1925 0x30,0x30,0x31,0x50,0x61,0x74,0x74,0x65,0x72,0x6E,0x20,0x6C,
2018 0x62,0x6F,0x76,0x65,0x2E,0x45,0x3E,0x43,0x20,0x6D,0x65,0x61,1926 0x61,0x79,0x6F,0x75,0x74,0x2C,0x20,0x68,0x65,0x78,0x20,0x6E,
2019 0x6E,0x73,0x20,0x63,0x6F,0x70,0x79,0x2C,0x20,0x69,0x74,0x20,1927 0x75,0x6D,0x62,0x65,0x72,0x69,0x6E,0x67,0x3A,0x0B,0x3E,0x40,
2020 0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,0x20,0x77,0x68,0x69,1928 0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x41,0x49,0x66,
2021 0x63,0x68,0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x74,0x68,0x61,1929 0x20,0x79,0x6F,0x75,0x20,0x75,0x73,0x65,0x20,0x70,0x61,0x74,
2022 0x74,0x20,0x67,0x6F,0x65,0x73,0x20,0x69,0x6E,0x74,0x6F,0x20,1930 0x74,0x65,0x72,0x6E,0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x61,
2023 0x74,0x68,0x65,0x20,0x63,0x6F,0x70,0x79,0x62,0x75,0x66,0x66,1931 0x72,0x65,0x20,0x6C,0x6F,0x6E,0x67,0x65,0x72,0x20,0x74,0x68,
2024 0x65,0x72,0x2E,0x3E,0x3E,0x50,0x20,0x6D,0x65,0x61,0x6E,0x73,1932 0x61,0x6E,0x20,0x39,0x39,0x20,0x6C,0x69,0x6E,0x65,0x73,0x2C,
2025 0x20,0x70,0x61,0x73,0x74,0x65,0x20,0x61,0x6E,0x64,0x20,0x63,1933 0x20,0x79,0x6F,0x75,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,
2026 0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,0x20,0x77,0x68,0x69,0x63,1934 0x75,0x73,0x65,0x45,0x68,0x65,0x78,0x20,0x63,0x6F,0x75,0x6E,
2027 0x68,0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x74,0x68,0x61,0x74,1935 0x74,0x69,0x6E,0x67,0x20,0x73,0x69,0x6E,0x63,0x65,0x20,0x74,
2028 0x20,0x67,0x6F,0x65,0x73,0x20,0x6F,0x75,0x74,0x20,0x66,0x72,1936 0x68,0x65,0x72,0x65,0x20,0x61,0x72,0x65,0x20,0x6F,0x6E,0x6C,
2029 0x6F,0x6D,0x20,0x74,0x68,0x65,0x0B,0x63,0x6F,0x70,0x79,0x62,1937 0x79,0x20,0x32,0x20,0x64,0x69,0x67,0x69,0x74,0x73,0x20,0x69,
2030 0x75,0x66,0x66,0x65,0x72,0x2E,0x45,0x3E,0x54,0x20,0x6D,0x65,1938 0x6E,0x20,0x74,0x68,0x65,0x20,0x6C,0x69,0x6E,0x65,0x20,0x6E,
2031 0x61,0x6E,0x73,0x20,0x74,0x72,0x61,0x6E,0x73,0x70,0x61,0x72,1939 0x75,0x6D,0x62,0x65,0x72,0x20,0x63,0x6F,0x6C,0x75,0x6D,0x6E,
2032 0x65,0x6E,0x63,0x79,0x2E,0x20,0x49,0x66,0x20,0x69,0x74,0x27,1940 0x2E,0x00,0x12,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
2033 0x73,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,0x64,0x2C,0x20,0x74,1941 0x30,0x31,0x53,0x63,0x6F,0x70,0x65,0x73,0x3A,0x0B,0x3E,0x40,
2034 0x68,0x65,0x20,0x70,0x61,0x73,0x74,0x69,0x6E,0x67,0x20,0x64,1942 0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x43,0x22,0x53,
2035 0x6F,0x65,0x73,0x6E,0x27,0x74,0x20,0x6F,0x76,0x65,0x72,0x77,1943 0x74,0x64,0x2E,0x22,0x20,0x28,0x73,0x74,0x61,0x6E,0x64,0x61,
2036 0x72,0x69,0x74,0x65,0x3D,0x64,0x61,0x74,0x61,0x20,0x77,0x69,1944 0x72,0x64,0x29,0x20,0x77,0x69,0x6C,0x6C,0x20,0x73,0x68,0x6F,
2037 0x74,0x68,0x20,0x6E,0x69,0x6C,0x2D,0x69,0x6E,0x66,0x6F,0x72,1945 0x77,0x20,0x74,0x68,0x65,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,
2038 0x6D,0x61,0x74,0x69,0x6F,0x6E,0x2C,0x20,0x6F,0x6E,0x6C,0x79,1946 0x20,0x70,0x6F,0x69,0x6E,0x74,0x73,0x20,0x61,0x73,0x20,0x70,
2039 0x20,0x77,0x69,0x74,0x68,0x20,0x61,0x20,0x6E,0x6F,0x74,0x65,1947 0x69,0x78,0x65,0x6C,0x73,0x20,0x28,0x6C,0x69,0x6B,0x65,0x20,
2040 0x20,0x6F,0x72,0x20,0x61,0x20,0x6E,0x75,0x6D,0x62,0x65,0x72,1948 0x46,0x54,0x32,0x29,0x2E,0x3D,0x22,0x4C,0x69,0x6E,0x65,0x64,
2041 0x20,0x3C,0x3E,0x20,0x30,0x2E,0x01,0x3E,0x40,0x3E,0x54,0x68,1949 0x22,0x20,0x77,0x69,0x6C,0x6C,0x20,0x64,0x72,0x61,0x77,0x20,
2042 0x65,0x20,0x63,0x75,0x74,0x20,0x66,0x75,0x6E,0x63,0x74,0x69,1950 0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,0x6C,0x61,0x74,0x65,0x64,
2043 0x6F,0x6E,0x73,0x20,0x77,0x6F,0x72,0x6B,0x73,0x20,0x6C,0x69,1951 0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x73,0x20,0x28,0x6C,0x69,
2044 0x6B,0x65,0x20,0x70,0x61,0x73,0x74,0x69,0x6E,0x67,0x20,0x77,1952 0x6E,0x65,0x61,0x72,0x20,0x69,0x6E,0x74,0x65,0x72,0x70,0x6F,
2045 0x69,0x74,0x68,0x20,0x7A,0x65,0x72,0x6F,0x2D,0x64,0x61,0x74,1953 0x6C,0x61,0x74,0x69,0x6F,0x6E,0x2E,0x00,0x27,0x40,0x58,0x30,
2046 0x61,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,0x6D,0x65,0x61,0x6E,1954 0x32,0x30,0x40,0x43,0x30,0x30,0x31,0x43,0x6F,0x6E,0x66,0x69,
2047 0x73,0x3B,0x74,0x68,0x61,0x74,0x20,0x74,0x68,0x65,0x20,0x63,1955 0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,0x2C,0x20,0x4D,0x69,
2048 0x75,0x74,0x74,0x69,0x6E,0x67,0x20,0x69,0x73,0x20,0x63,0x6F,1956 0x73,0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,0x3A,
2049 0x6E,0x74,0x72,0x6F,0x6C,0x6C,0x65,0x64,0x20,0x77,0x69,0x74,1957 0x01,0x3E,0x15,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,
2050 0x68,0x20,0x50,0x2D,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x20,0x28,1958 0x30,0x31,0x56,0x53,0x79,0x6E,0x63,0x20,0x6F,0x66,0x66,0x3A,
2051 0x6F,0x72,0x20,0x54,0x2D,0x63,0x6F,0x6C,0x75,0x6D,0x6E,0x29,1959 0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,
2052 0x2E,0x3C,0x3E,0x57,0x68,0x65,0x6E,0x20,0x79,0x6F,0x75,0x20,1960 0x3F,0x54,0x65,0x6C,0x6C,0x73,0x20,0x74,0x68,0x65,0x20,0x70,
2053 0x63,0x6F,0x70,0x79,0x20,0x64,0x61,0x74,0x61,0x20,0x77,0x69,1961 0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,0x74,0x6F,0x20,0x6E,0x6F,
2054 0x74,0x68,0x20,0x6D,0x61,0x73,0x6B,0x69,0x6E,0x67,0x2C,0x20,1962 0x74,0x20,0x75,0x73,0x65,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,
2055 0x74,0x68,0x65,0x20,0x64,0x69,0x73,0x61,0x62,0x6C,0x65,0x64,1963 0x66,0x6F,0x72,0x20,0x76,0x69,0x64,0x65,0x6F,0x2E,0x20,0x49,
2056 0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x61,0x72,0x65,0x20,0x6E,1964 0x66,0x20,0x79,0x6F,0x75,0x72,0x20,0x6D,0x6F,0x6E,0x69,0x74,
2057 0x6F,0x74,0x43,0x63,0x6C,0x65,0x61,0x72,0x65,0x64,0x20,0x69,1965 0x6F,0x72,0x27,0x73,0x40,0x72,0x65,0x66,0x72,0x65,0x73,0x68,
2058 0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x70,0x79,0x62,0x75,1966 0x20,0x72,0x61,0x74,0x65,0x20,0x69,0x73,0x20,0x6E,0x6F,0x74,
2059 0x66,0x66,0x65,0x72,0x2E,0x20,0x28,0x4D,0x61,0x6B,0x69,0x6E,1967 0x20,0x36,0x30,0x48,0x7A,0x20,0x28,0x6F,0x72,0x20,0x35,0x39,
2060 0x67,0x20,0x69,0x74,0x20,0x70,0x6F,0x73,0x73,0x69,0x62,0x6C,1968 0x48,0x7A,0x29,0x2C,0x20,0x74,0x68,0x65,0x6E,0x20,0x56,0x53,
2061 0x65,0x20,0x74,0x6F,0x20,0x63,0x6F,0x6C,0x6C,0x65,0x63,0x74,1969 0x79,0x6E,0x63,0x20,0x69,0x73,0x20,0x61,0x6C,0x77,0x61,0x79,
2062 0x20,0x64,0x61,0x74,0x61,0x20,0x66,0x72,0x6F,0x6D,0x27,0x73,1970 0x73,0x20,0x6F,0x66,0x66,0x20,0x66,0x6F,0x72,0x45,0x74,0x68,
2063 0x65,0x76,0x65,0x72,0x61,0x6C,0x20,0x6C,0x6F,0x63,0x61,0x74,1971 0x69,0x73,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x2E,0x20,
2064 0x69,0x6F,0x6E,0x73,0x20,0x69,0x6E,0x74,0x6F,0x20,0x74,0x68,1972 0x4E,0x6F,0x74,0x20,0x68,0x61,0x76,0x69,0x6E,0x67,0x20,0x56,
2065 0x65,0x20,0x63,0x6F,0x70,0x79,0x62,0x75,0x66,0x66,0x65,0x72,1973 0x53,0x79,0x6E,0x63,0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,
2066 0x2E,0x29,0x00,0x03,0x45,0x4E,0x44,0x4C,0x3B,0x2A,0x2A,0x2A,1974 0x73,0x75,0x6C,0x74,0x20,0x69,0x6E,0x20,0x6C,0x65,0x73,0x73,
2067 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1975 0x20,0x69,0x6E,0x70,0x75,0x74,0x2F,0x76,0x69,0x64,0x65,0x6F,
2068 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1976 0x20,0x64,0x65,0x6C,0x61,0x79,0x2C,0x1E,0x62,0x75,0x74,0x20,
2069 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1977 0x61,0x6C,0x73,0x6F,0x20,0x70,0x6F,0x74,0x65,0x6E,0x74,0x69,
2070 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1978 0x61,0x6C,0x20,0x73,0x74,0x75,0x74,0x74,0x65,0x72,0x69,0x6E,
2071 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1979 0x67,0x2E,0x00,0x15,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
2072 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1980 0x30,0x30,0x31,0x53,0x74,0x72,0x65,0x74,0x63,0x68,0x65,0x64,
2073 0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1981 0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
2074 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1982 0x32,0x4A,0x4D,0x61,0x6B,0x65,0x73,0x20,0x66,0x75,0x6C,0x6C,
2075 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1983 0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,0x20,
2076 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1984 0x63,0x6F,0x6D,0x70,0x6C,0x65,0x74,0x65,0x6C,0x79,0x20,0x73,
2077 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1985 0x74,0x72,0x65,0x74,0x63,0x68,0x20,0x6F,0x75,0x74,0x20,0x74,
2078 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,1986 0x68,0x65,0x20,0x69,0x6D,0x61,0x67,0x65,0x2E,0x20,0x54,0x68,
2079 0x2A,0x2A,0x2A,0x2A,0x2A,0x0E,0x40,0x4C,0x50,0x72,0x6F,0x62,1987 0x69,0x73,0x20,0x63,0x61,0x6E,0x20,0x72,0x65,0x73,0x75,0x6C,
2080 0x6C,0x65,0x6D,0x73,0x2F,0x46,0x41,0x51,0x06,0x3E,0x40,0x58,1988 0x74,0x20,0x69,0x6E,0x4E,0x61,0x6C,0x69,0x61,0x73,0x69,0x6E,
2081 0x30,0x32,0x30,0x2A,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,1989 0x67,0x20,0x28,0x75,0x6E,0x65,0x76,0x65,0x6E,0x20,0x70,0x69,
2082 0x20,0x48,0x6F,0x77,0x20,0x63,0x61,0x6E,0x20,0x49,0x20,0x74,1990 0x78,0x65,0x6C,0x20,0x77,0x69,0x64,0x74,0x68,0x73,0x29,0x20,
2083 0x6F,0x67,0x67,0x6C,0x65,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,1991 0x69,0x66,0x20,0x74,0x68,0x65,0x20,0x61,0x73,0x70,0x65,0x63,
2084 0x72,0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,0x3F,0x37,0x3E,1992 0x74,0x20,0x72,0x61,0x74,0x69,0x6F,0x20,0x6F,0x66,0x20,0x74,
2085 0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x50,0x72,0x65,0x73,1993 0x68,0x65,0x20,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x69,0x73,
2086 0x73,0x20,0x41,0x6C,0x74,0x2B,0x45,0x6E,0x74,0x65,0x72,0x20,1994 0x20,0x6E,0x6F,0x74,0x20,0x31,0x36,0x3A,0x31,0x30,0x2E,0x52,
2087 0x28,0x43,0x74,0x72,0x6C,0x2B,0x43,0x6D,0x64,0x2B,0x46,0x20,1995 0x54,0x68,0x65,0x20,0x22,0x50,0x69,0x78,0x65,0x6C,0x20,0x66,
2088 0x61,0x6C,0x73,0x6F,0x20,0x77,0x6F,0x72,0x6B,0x73,0x20,0x6F,1996 0x69,0x6C,0x74,0x65,0x72,0x22,0x20,0x73,0x65,0x74,0x74,0x69,
2089 0x6E,0x20,0x4D,0x61,0x63,0x29,0x06,0x3E,0x40,0x58,0x30,0x32,1997 0x6E,0x67,0x20,0x63,0x61,0x6E,0x20,0x68,0x65,0x6C,0x70,0x20,
2090 0x30,0x45,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x48,1998 0x77,0x69,0x74,0x68,0x20,0x74,0x68,0x69,0x73,0x2C,0x20,0x62,
2091 0x6F,0x77,0x20,0x63,0x61,0x6E,0x20,0x49,0x20,0x6D,0x61,0x6B,1999 0x75,0x74,0x20,0x69,0x74,0x20,0x6D,0x61,0x6B,0x65,0x73,0x20,
2092 0x65,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,2000 0x74,0x68,0x65,0x20,0x69,0x6D,0x61,0x67,0x65,0x20,0x6C,0x6F,
2093 0x20,0x6D,0x6F,0x64,0x65,0x20,0x73,0x74,0x72,0x65,0x74,0x63,2001 0x6F,0x6B,0x20,0x62,0x6C,0x75,0x72,0x72,0x79,0x2E,0x01,0x20,
2094 0x68,0x20,0x6F,0x75,0x74,0x20,0x74,0x68,0x65,0x20,0x77,0x68,2002 0x18,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,0x30,0x30,0x31,
2095 0x6F,0x6C,0x65,0x20,0x73,0x63,0x72,0x65,0x65,0x6E,0x3F,0x37,2003 0x50,0x69,0x78,0x65,0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,
2096 0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x45,0x6E,0x61,2004 0x3A,0x0B,0x3E,0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,
2097 0x62,0x6C,0x65,0x20,0x22,0x53,0x74,0x72,0x65,0x74,0x63,0x68,2005 0x32,0x52,0x41,0x70,0x70,0x6C,0x69,0x65,0x73,0x20,0x61,0x6E,
2098 0x65,0x64,0x22,0x20,0x69,0x6E,0x20,0x43,0x6F,0x6E,0x66,0x69,2006 0x20,0x61,0x6E,0x74,0x69,0x2D,0x61,0x6C,0x69,0x61,0x73,0x69,
2099 0x67,0x20,0x2D,0x3E,0x20,0x4D,0x69,0x73,0x63,0x65,0x6C,0x6C,2007 0x6E,0x67,0x20,0x73,0x75,0x62,0x70,0x69,0x78,0x65,0x6C,0x20,
2100 0x61,0x6E,0x65,0x6F,0x75,0x73,0x2E,0x4E,0x3E,0x40,0x58,0x30,2008 0x66,0x69,0x6C,0x74,0x65,0x72,0x20,0x74,0x68,0x61,0x74,0x20,
2101 0x33,0x35,0x54,0x68,0x69,0x73,0x20,0x77,0x69,0x6C,0x6C,0x20,2009 0x69,0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x77,0x68,0x65,0x6E,
2102 0x72,0x65,0x73,0x75,0x6C,0x74,0x20,0x69,0x6E,0x20,0x75,0x6E,2010 0x20,0x74,0x68,0x65,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x20,
2103 0x65,0x76,0x65,0x6E,0x20,0x70,0x69,0x78,0x65,0x6C,0x20,0x77,2011 0x69,0x73,0x20,0x75,0x70,0x73,0x63,0x61,0x6C,0x65,0x64,0x2E,
2104 0x69,0x64,0x74,0x68,0x73,0x2E,0x20,0x49,0x66,0x20,0x79,0x6F,2012 0x3B,0x50,0x6C,0x65,0x61,0x73,0x65,0x20,0x6B,0x65,0x65,0x70,
2105 0x75,0x20,0x77,0x61,0x6E,0x74,0x20,0x74,0x6F,0x20,0x66,0x69,2013 0x20,0x69,0x6E,0x20,0x6D,0x69,0x6E,0x64,0x20,0x74,0x68,0x61,
2106 0x78,0x20,0x74,0x68,0x69,0x73,0x2C,0x20,0x65,0x6E,0x61,0x62,2014 0x74,0x20,0x74,0x68,0x69,0x73,0x20,0x77,0x69,0x6C,0x6C,0x20,
2107 0x6C,0x65,0x3D,0x22,0x50,0x69,0x78,0x65,0x6C,0x20,0x66,0x69,2015 0x6D,0x61,0x6B,0x65,0x20,0x70,0x69,0x78,0x65,0x6C,0x73,0x20,
2108 0x6C,0x74,0x65,0x72,0x22,0x20,0x28,0x74,0x68,0x6F,0x75,0x67,2016 0x6C,0x6F,0x6F,0x6B,0x20,0x62,0x6C,0x75,0x72,0x72,0x79,0x2E,
2109 0x68,0x20,0x74,0x68,0x69,0x73,0x20,0x77,0x69,0x6C,0x6C,0x20,2017 0x00,0x23,0x40,0x58,0x30,0x32,0x30,0x40,0x43,0x30,0x30,0x31,
2110 0x6D,0x61,0x6B,0x65,0x20,0x74,0x68,0x65,0x20,0x69,0x6D,0x61,2018 0x41,0x64,0x76,0x61,0x6E,0x63,0x65,0x64,0x20,0x65,0x64,0x69,
2111 0x67,0x65,0x20,0x6C,0x6F,0x6F,0x6B,0x20,0x62,0x6C,0x75,0x72,2019 0x74,0x20,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x3A,
2112 0x72,0x79,0x29,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x27,2020 0x20,0x01,0x3E,0x1E,0x3E,0x40,0x58,0x30,0x34,0x30,0x40,0x43,
2113 0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x49,0x20,0x63,2021 0x30,0x30,0x31,0x43,0x6F,0x70,0x79,0x2F,0x50,0x61,0x73,0x74,
2114 0x61,0x6E,0x27,0x74,0x20,0x75,0x73,0x65,0x20,0x41,0x6C,0x74,2022 0x65,0x20,0x6D,0x61,0x73,0x6B,0x69,0x6E,0x67,0x3A,0x0B,0x3E,
2115 0x2B,0x46,0x34,0x20,0x61,0x6E,0x64,0x20,0x41,0x6C,0x74,0x2B,2023 0x40,0x58,0x30,0x36,0x30,0x40,0x43,0x30,0x30,0x32,0x37,0x54,
2116 0x46,0x35,0x21,0x4E,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,2024 0x68,0x65,0x20,0x6D,0x61,0x73,0x6B,0x69,0x6E,0x67,0x20,0x69,
2117 0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x3A,0x20,0x49,0x66,2025 0x73,0x20,0x75,0x73,0x65,0x64,0x20,0x66,0x6F,0x72,0x20,0x63,
2118 0x20,0x79,0x6F,0x75,0x20,0x68,0x61,0x76,0x65,0x20,0x47,0x65,2026 0x6F,0x70,0x79,0x69,0x6E,0x67,0x2F,0x70,0x61,0x73,0x74,0x69,
2119 0x46,0x6F,0x72,0x63,0x65,0x20,0x45,0x78,0x70,0x65,0x72,0x69,2027 0x6E,0x67,0x20,0x6F,0x6E,0x6C,0x79,0x20,0x70,0x61,0x72,0x74,
2120 0x65,0x6E,0x63,0x65,0x20,0x69,0x6E,0x73,0x74,0x61,0x6C,0x6C,2028 0x73,0x20,0x6F,0x66,0x20,0x61,0x46,0x22,0x6E,0x6F,0x74,0x65,
2121 0x65,0x64,0x2C,0x20,0x79,0x6F,0x75,0x20,0x6E,0x65,0x65,0x64,2029 0x2D,0x63,0x65,0x6C,0x6C,0x22,0x2E,0x20,0x54,0x68,0x65,0x20,
2122 0x20,0x74,0x6F,0x20,0x63,0x68,0x61,0x6E,0x67,0x65,0x2B,0x3E,2030 0x64,0x69,0x66,0x66,0x65,0x72,0x65,0x6E,0x74,0x20,0x70,0x61,
2123 0x40,0x58,0x30,0x33,0x35,0x74,0x68,0x65,0x20,0x6B,0x65,0x79,2031 0x72,0x74,0x73,0x20,0x6F,0x66,0x20,0x61,0x20,0x22,0x6E,0x6F,
2124 0x62,0x69,0x6E,0x64,0x69,0x6E,0x67,0x73,0x20,0x69,0x6E,0x20,2032 0x74,0x65,0x2D,0x63,0x65,0x6C,0x6C,0x22,0x20,0x69,0x73,0x20,
2125 0x69,0x74,0x73,0x20,0x73,0x65,0x74,0x74,0x69,0x6E,0x67,0x73,2033 0x4E,0x6F,0x74,0x65,0x2C,0x20,0x49,0x6E,0x73,0x74,0x72,0x2E,
2126 0x20,0x70,0x61,0x67,0x65,0x2E,0x57,0x3E,0x6D,0x61,0x63,0x4F,2034 0x20,0x6E,0x72,0x2E,0x2C,0x20,0x56,0x6F,0x6C,0x75,0x6D,0x65,
2127 0x53,0x2F,0x4F,0x53,0x20,0x58,0x3A,0x20,0x43,0x68,0x61,0x6E,2035 0x2C,0x20,0x45,0x66,0x66,0x65,0x63,0x74,0x20,0x6E,0x72,0x20,
2128 0x67,0x65,0x20,0x41,0x6C,0x74,0x2B,0x46,0x34,0x2F,0x41,0x6C,2036 0x26,0x20,0x45,0x66,0x66,0x65,0x63,0x74,0x20,0x64,0x61,0x74,
2129 0x74,0x2B,0x46,0x35,0x20,0x6B,0x65,0x79,0x73,0x20,0x69,0x6E,2037 0x61,0x2E,0x34,0x3E,0x41,0x73,0x20,0x79,0x6F,0x75,0x20,0x63,
2130 0x20,0x74,0x68,0x65,0x20,0x4F,0x53,0x20,0x74,0x6F,0x20,0x73,2038 0x61,0x6E,0x20,0x73,0x65,0x65,0x20,0x69,0x6E,0x20,0x74,0x68,
2131 0x6F,0x6D,0x65,0x74,0x68,0x69,0x6E,0x67,0x20,0x65,0x6C,0x73,2039 0x65,0x20,0x77,0x69,0x6E,0x64,0x6F,0x77,0x20,0x74,0x68,0x65,
2132 0x65,0x2E,0x20,0x41,0x6C,0x73,0x6F,0x20,0x66,0x6F,0x72,0x20,2040 0x72,0x65,0x20,0x61,0x72,0x65,0x20,0x33,0x20,0x63,0x6F,0x6C,
2133 0x47,0x4E,0x55,0x2F,0x4C,0x69,0x6E,0x75,0x78,0x2E,0x06,0x3E,2041 0x75,0x6D,0x6E,0x73,0x20,0x6F,0x66,0x3D,0x22,0x65,0x6E,0x61,
2134 0x40,0x58,0x30,0x32,0x30,0x2B,0x3E,0x40,0x43,0x30,0x30,0x31,2042 0x62,0x6C,0x65,0x2F,0x64,0x69,0x73,0x61,0x62,0x6C,0x65,0x20,
2135 0x51,0x3A,0x20,0x54,0x68,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,2043 0x62,0x75,0x74,0x74,0x6F,0x6E,0x73,0x22,0x20,0x77,0x68,0x69,
2136 0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x20,0x69,0x73,0x20,0x64,2044 0x63,0x68,0x20,0x68,0x61,0x73,0x20,0x74,0x68,0x65,0x20,0x6C,
2137 0x65,0x6C,0x61,0x79,0x65,0x64,0x2F,0x6C,0x61,0x67,0x67,0x79,2045 0x65,0x74,0x74,0x65,0x72,0x73,0x20,0x43,0x2C,0x50,0x20,0x26,
2138 0x21,0x44,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x4D,2046 0x20,0x54,0x20,0x61,0x62,0x6F,0x76,0x65,0x2E,0x45,0x3E,0x43,
2139 0x61,0x6B,0x65,0x20,0x73,0x75,0x72,0x65,0x20,0x22,0x53,0x6F,2047 0x20,0x6D,0x65,0x61,0x6E,0x73,0x20,0x63,0x6F,0x70,0x79,0x2C,
2140 0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x6D,0x6F,0x75,0x73,0x65,2048 0x20,0x69,0x74,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,
2141 0x22,0x20,0x69,0x73,0x20,0x64,0x69,0x73,0x61,0x62,0x6C,0x65,2049 0x20,0x77,0x68,0x69,0x63,0x68,0x20,0x70,0x61,0x72,0x74,0x73,
2142 0x64,0x20,0x69,0x6E,0x20,0x43,0x6F,0x6E,0x66,0x69,0x67,0x20,2050 0x20,0x74,0x68,0x61,0x74,0x20,0x67,0x6F,0x65,0x73,0x20,0x69,
2143 0x2D,0x3E,0x20,0x4C,0x61,0x79,0x6F,0x75,0x74,0x2E,0x4B,0x3E,2051 0x6E,0x74,0x6F,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x70,0x79,
2144 0x40,0x58,0x30,0x33,0x35,0x41,0x6C,0x74,0x65,0x72,0x6E,0x61,2052 0x62,0x75,0x66,0x66,0x65,0x72,0x2E,0x3E,0x3E,0x50,0x20,0x6D,
2145 0x74,0x69,0x76,0x65,0x6C,0x79,0x2C,0x20,0x79,0x6F,0x75,0x20,2053 0x65,0x61,0x6E,0x73,0x20,0x70,0x61,0x73,0x74,0x65,0x20,0x61,
2146 0x63,0x61,0x6E,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,0x20,0x22,2054 0x6E,0x64,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x73,0x20,
2147 0x56,0x53,0x79,0x6E,0x63,0x20,0x6F,0x66,0x66,0x22,0x20,0x69,2055 0x77,0x68,0x69,0x63,0x68,0x20,0x70,0x61,0x72,0x74,0x73,0x20,
2148 0x6E,0x20,0x43,0x6F,0x6E,0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,2056 0x74,0x68,0x61,0x74,0x20,0x67,0x6F,0x65,0x73,0x20,0x6F,0x75,
2149 0x4D,0x69,0x73,0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,2057 0x74,0x20,0x66,0x72,0x6F,0x6D,0x20,0x74,0x68,0x65,0x0B,0x63,
2150 0x73,0x2E,0x46,0x3E,0x54,0x68,0x69,0x73,0x20,0x68,0x6F,0x77,2058 0x6F,0x70,0x79,0x62,0x75,0x66,0x66,0x65,0x72,0x2E,0x45,0x3E,
2151 0x65,0x76,0x65,0x72,0x2C,0x20,0x77,0x69,0x6C,0x6C,0x20,0x69,2059 0x54,0x20,0x6D,0x65,0x61,0x6E,0x73,0x20,0x74,0x72,0x61,0x6E,
2152 0x6E,0x74,0x72,0x6F,0x64,0x75,0x63,0x65,0x20,0x73,0x74,0x75,2060 0x73,0x70,0x61,0x72,0x65,0x6E,0x63,0x79,0x2E,0x20,0x49,0x66,
2153 0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x20,0x62,0x65,0x63,0x61,2061 0x20,0x69,0x74,0x27,0x73,0x20,0x65,0x6E,0x61,0x62,0x6C,0x65,
2154 0x75,0x73,0x65,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x6E,0x64,2062 0x64,0x2C,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x73,0x74,0x69,
2155 0x65,0x72,0x69,0x6E,0x67,0x20,0x72,0x61,0x74,0x65,0x20,0x69,2063 0x6E,0x67,0x20,0x64,0x6F,0x65,0x73,0x6E,0x27,0x74,0x20,0x6F,
2156 0x73,0x22,0x3E,0x6E,0x6F,0x74,0x20,0x65,0x78,0x61,0x63,0x74,2064 0x76,0x65,0x72,0x77,0x72,0x69,0x74,0x65,0x3D,0x64,0x61,0x74,
2157 0x20,0x74,0x6F,0x20,0x79,0x6F,0x75,0x72,0x20,0x6D,0x6F,0x6E,2065 0x61,0x20,0x77,0x69,0x74,0x68,0x20,0x6E,0x69,0x6C,0x2D,0x69,
2158 0x69,0x74,0x6F,0x72,0x27,0x73,0x20,0x72,0x61,0x74,0x65,0x2E,2066 0x6E,0x66,0x6F,0x72,0x6D,0x61,0x74,0x69,0x6F,0x6E,0x2C,0x20,
2159 0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x33,0x3E,0x40,0x43,0x30,2067 0x6F,0x6E,0x6C,0x79,0x20,0x77,0x69,0x74,0x68,0x20,0x61,0x20,
2160 0x30,0x31,0x51,0x3A,0x20,0x57,0x69,0x6C,0x6C,0x20,0x79,0x6F,2068 0x6E,0x6F,0x74,0x65,0x20,0x6F,0x72,0x20,0x61,0x20,0x6E,0x75,
2161 0x75,0x20,0x69,0x6D,0x70,0x6C,0x65,0x6D,0x65,0x6E,0x74,0x20,2069 0x6D,0x62,0x65,0x72,0x20,0x3C,0x3E,0x20,0x30,0x2E,0x01,0x3E,
2162 0x4D,0x49,0x44,0x49,0x20,0x6F,0x75,0x74,0x20,0x66,0x75,0x6E,2070 0x40,0x3E,0x54,0x68,0x65,0x20,0x63,0x75,0x74,0x20,0x66,0x75,
2163 0x63,0x74,0x69,0x6F,0x6E,0x61,0x6C,0x69,0x74,0x79,0x3F,0x4D,2071 0x6E,0x63,0x74,0x69,0x6F,0x6E,0x73,0x20,0x77,0x6F,0x72,0x6B,
2164 0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x4E,0x6F,0x2C,2072 0x73,0x20,0x6C,0x69,0x6B,0x65,0x20,0x70,0x61,0x73,0x74,0x69,
2165 0x20,0x73,0x6F,0x72,0x72,0x79,0x2E,0x20,0x54,0x68,0x69,0x73,2073 0x6E,0x67,0x20,0x77,0x69,0x74,0x68,0x20,0x7A,0x65,0x72,0x6F,
2166 0x20,0x69,0x73,0x20,0x76,0x65,0x72,0x79,0x20,0x64,0x69,0x66,2074 0x2D,0x64,0x61,0x74,0x61,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,
2167 0x66,0x69,0x63,0x75,0x6C,0x74,0x20,0x74,0x6F,0x20,0x69,0x6D,2075 0x6D,0x65,0x61,0x6E,0x73,0x3B,0x74,0x68,0x61,0x74,0x20,0x74,
2168 0x70,0x6C,0x65,0x6D,0x65,0x6E,0x74,0x20,0x63,0x6F,0x72,0x72,2076 0x68,0x65,0x20,0x63,0x75,0x74,0x74,0x69,0x6E,0x67,0x20,0x69,
2169 0x65,0x63,0x74,0x6C,0x79,0x20,0x77,0x68,0x65,0x6E,0x20,0x68,2077 0x73,0x20,0x63,0x6F,0x6E,0x74,0x72,0x6F,0x6C,0x6C,0x65,0x64,
2170 0x61,0x76,0x69,0x6E,0x67,0x3C,0x3E,0x40,0x58,0x30,0x33,0x35,2078 0x20,0x77,0x69,0x74,0x68,0x20,0x50,0x2D,0x63,0x6F,0x6C,0x75,
2171 0x68,0x69,0x67,0x68,0x65,0x72,0x20,0x61,0x75,0x64,0x69,0x6F,2079 0x6D,0x6E,0x20,0x28,0x6F,0x72,0x20,0x54,0x2D,0x63,0x6F,0x6C,
2172 0x20,0x62,0x75,0x66,0x66,0x65,0x72,0x20,0x73,0x69,0x7A,0x65,2080 0x75,0x6D,0x6E,0x29,0x2E,0x3C,0x3E,0x57,0x68,0x65,0x6E,0x20,
2173 0x73,0x20,0x28,0x62,0x75,0x66,0x66,0x65,0x72,0x65,0x64,0x20,2081 0x79,0x6F,0x75,0x20,0x63,0x6F,0x70,0x79,0x20,0x64,0x61,0x74,
2174 0x72,0x65,0x70,0x6C,0x61,0x79,0x65,0x72,0x20,0x74,0x69,0x63,2082 0x61,0x20,0x77,0x69,0x74,0x68,0x20,0x6D,0x61,0x73,0x6B,0x69,
2175 0x6B,0x73,0x29,0x2E,0x2E,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,2083 0x6E,0x67,0x2C,0x20,0x74,0x68,0x65,0x20,0x64,0x69,0x73,0x61,
2176 0x30,0x30,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x57,2084 0x62,0x6C,0x65,0x64,0x20,0x70,0x61,0x72,0x74,0x73,0x20,0x61,
2177 0x68,0x65,0x72,0x65,0x20,0x69,0x73,0x20,0x74,0x68,0x65,0x20,2085 0x72,0x65,0x20,0x6E,0x6F,0x74,0x43,0x63,0x6C,0x65,0x61,0x72,
2178 0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,2086 0x65,0x64,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,
2179 0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x73,0x74,0x6F,0x72,0x65,2087 0x70,0x79,0x62,0x75,0x66,0x66,0x65,0x72,0x2E,0x20,0x28,0x4D,
2180 0x64,0x3F,0x3F,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,2088 0x61,0x6B,0x69,0x6E,0x67,0x20,0x69,0x74,0x20,0x70,0x6F,0x73,
2181 0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x3A,0x20,0x5C,0x55,0x73,2089 0x73,0x69,0x62,0x6C,0x65,0x20,0x74,0x6F,0x20,0x63,0x6F,0x6C,
2182 0x65,0x72,0x73,0x5C,0x55,0x53,0x45,0x52,0x5C,0x41,0x70,0x70,2090 0x6C,0x65,0x63,0x74,0x20,0x64,0x61,0x74,0x61,0x20,0x66,0x72,
2183 0x44,0x61,0x74,0x61,0x5C,0x52,0x6F,0x61,0x6D,0x69,0x6E,0x67,2091 0x6F,0x6D,0x27,0x73,0x65,0x76,0x65,0x72,0x61,0x6C,0x20,0x6C,
2184 0x5C,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x5C,0x46,2092 0x6F,0x63,0x61,0x74,0x69,0x6F,0x6E,0x73,0x20,0x69,0x6E,0x74,
2185 0x54,0x32,0x2E,0x43,0x46,0x47,0x45,0x3E,0x40,0x58,0x30,0x33,2093 0x6F,0x20,0x74,0x68,0x65,0x20,0x63,0x6F,0x70,0x79,0x62,0x75,
2186 0x35,0x4F,0x53,0x20,0x58,0x3A,0x20,0x2F,0x55,0x73,0x65,0x72,2094 0x66,0x66,0x65,0x72,0x2E,0x29,0x00,0x03,0x45,0x4E,0x44,0x4C,
2187 0x73,0x2F,0x55,0x53,0x45,0x52,0x2F,0x4C,0x69,0x62,0x72,0x61,2095 0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2188 0x72,0x79,0x2F,0x41,0x70,0x70,0x6C,0x69,0x63,0x61,0x74,0x69,2096 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2189 0x6F,0x6E,0x20,0x53,0x75,0x70,0x70,0x6F,0x72,0x74,0x2F,0x46,2097 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2190 0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x2F,0x46,0x54,0x32,2098 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2191 0x2E,0x43,0x46,0x47,0x2F,0x47,0x4E,0x55,0x2F,0x4C,0x69,0x6E,2099 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2192 0x75,0x78,0x3A,0x20,0x2F,0x68,0x6F,0x6D,0x65,0x2F,0x55,0x53,2100 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2193 0x45,0x52,0x2F,0x2E,0x63,0x6F,0x6E,0x66,0x69,0x67,0x2F,0x46,2101 0x2A,0x2A,0x2A,0x2A,0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2194 0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x2F,0x46,0x54,0x32,2102 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2195 0x2E,0x43,0x46,0x47,0x01,0x3E,0x48,0x49,0x74,0x20,0x77,0x69,2103 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2196 0x6C,0x6C,0x20,0x62,0x65,0x20,0x73,0x74,0x6F,0x72,0x65,0x64,2104 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2197 0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,2105 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2198 0x72,0x61,0x6D,0x20,0x64,0x69,0x72,0x65,0x63,0x74,0x6F,0x72,2106 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2199 0x79,0x20,0x69,0x66,0x20,0x74,0x68,0x65,0x20,0x70,0x61,0x74,2107 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0E,0x40,0x4C,
2200 0x68,0x20,0x63,0x6F,0x75,0x6C,0x64,0x6E,0x27,0x74,0x20,0x62,2108 0x50,0x72,0x6F,0x62,0x6C,0x65,0x6D,0x73,0x2F,0x46,0x41,0x51,
2201 0x65,0x20,0x75,0x73,0x65,0x64,0x2E,0x4D,0x49,0x66,0x20,0x79,2109 0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x2A,0x3E,0x40,0x43,0x30,
2202 0x6F,0x75,0x20,0x70,0x75,0x74,0x20,0x74,0x68,0x65,0x20,0x63,2110 0x30,0x31,0x51,0x3A,0x20,0x48,0x6F,0x77,0x20,0x63,0x61,0x6E,
2203 0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,0x74,0x69,0x6F,0x6E,2111 0x20,0x49,0x20,0x74,0x6F,0x67,0x67,0x6C,0x65,0x20,0x66,0x75,
2204 0x20,0x66,0x69,0x6C,0x65,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,2112 0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,
2205 0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,0x64,0x69,0x72,2113 0x65,0x3F,0x37,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,
2206 0x65,0x63,0x74,0x6F,0x72,0x79,0x2C,0x20,0x69,0x74,0x20,0x77,2114 0x50,0x72,0x65,0x73,0x73,0x20,0x41,0x6C,0x74,0x2B,0x45,0x6E,
2207 0x69,0x6C,0x6C,0x20,0x72,0x65,0x61,0x64,0x20,0x74,0x68,0x61,2115 0x74,0x65,0x72,0x20,0x28,0x43,0x74,0x72,0x6C,0x2B,0x43,0x6D,
2208 0x74,0x4A,0x6F,0x6E,0x65,0x20,0x61,0x6E,0x64,0x20,0x6E,0x6F,2116 0x64,0x2B,0x46,0x20,0x61,0x6C,0x73,0x6F,0x20,0x77,0x6F,0x72,
2209 0x74,0x20,0x61,0x74,0x74,0x65,0x6D,0x70,0x74,0x20,0x74,0x6F,2117 0x6B,0x73,0x20,0x6F,0x6E,0x20,0x4D,0x61,0x63,0x29,0x06,0x3E,
2210 0x20,0x63,0x72,0x65,0x61,0x74,0x65,0x20,0x63,0x6F,0x6E,0x66,2118 0x40,0x58,0x30,0x32,0x30,0x45,0x3E,0x40,0x43,0x30,0x30,0x31,
2211 0x69,0x67,0x20,0x64,0x69,0x72,0x73,0x20,0x66,0x6F,0x72,0x20,2119 0x51,0x3A,0x20,0x48,0x6F,0x77,0x20,0x63,0x61,0x6E,0x20,0x49,
2212 0x74,0x68,0x65,0x20,0x4F,0x53,0x20,0x75,0x73,0x65,0x72,0x2E,2120 0x20,0x6D,0x61,0x6B,0x65,0x20,0x66,0x75,0x6C,0x6C,0x73,0x63,
2213 0x20,0x28,0x70,0x6F,0x72,0x74,0x61,0x62,0x6C,0x65,0x20,0x6D,2121 0x72,0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,0x20,0x73,0x74,
2214 0x6F,0x64,0x65,0x29,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x42,2122 0x72,0x65,0x74,0x63,0x68,0x20,0x6F,0x75,0x74,0x20,0x74,0x68,
2215 0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x43,0x61,0x6E,2123 0x65,0x20,0x77,0x68,0x6F,0x6C,0x65,0x20,0x73,0x63,0x72,0x65,
2216 0x20,0x74,0x68,0x65,0x20,0x63,0x6C,0x6F,0x6E,0x65,0x20,0x72,2124 0x65,0x6E,0x3F,0x37,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,
2217 0x65,0x61,0x64,0x20,0x46,0x54,0x32,0x2E,0x43,0x46,0x47,0x20,2125 0x20,0x45,0x6E,0x61,0x62,0x6C,0x65,0x20,0x22,0x53,0x74,0x72,
2218 0x66,0x72,0x6F,0x6D,0x20,0x72,0x65,0x61,0x6C,0x20,0x46,0x54,2126 0x65,0x74,0x63,0x68,0x65,0x64,0x22,0x20,0x69,0x6E,0x20,0x43,
2219 0x32,0x2C,0x20,0x61,0x6E,0x64,0x20,0x76,0x69,0x63,0x65,0x20,2127 0x6F,0x6E,0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,0x4D,0x69,0x73,
2220 0x76,0x65,0x72,0x73,0x61,0x3F,0x4C,0x3E,0x40,0x43,0x30,0x30,2128 0x63,0x65,0x6C,0x6C,0x61,0x6E,0x65,0x6F,0x75,0x73,0x2E,0x4E,
2221 0x32,0x41,0x3A,0x20,0x59,0x65,0x73,0x2C,0x20,0x69,0x74,0x20,2129 0x3E,0x40,0x58,0x30,0x33,0x35,0x54,0x68,0x69,0x73,0x20,0x77,
2222 0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x77,0x6F,0x72,0x6B,0x20,2130 0x69,0x6C,0x6C,0x20,0x72,0x65,0x73,0x75,0x6C,0x74,0x20,0x69,
2223 0x6A,0x75,0x73,0x74,0x20,0x66,0x69,0x6E,0x65,0x2E,0x20,0x50,2131 0x6E,0x20,0x75,0x6E,0x65,0x76,0x65,0x6E,0x20,0x70,0x69,0x78,
2224 0x75,0x74,0x20,0x69,0x74,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,2132 0x65,0x6C,0x20,0x77,0x69,0x64,0x74,0x68,0x73,0x2E,0x20,0x49,
2225 0x20,0x64,0x69,0x72,0x65,0x63,0x74,0x6F,0x72,0x79,0x20,0x73,2133 0x66,0x20,0x79,0x6F,0x75,0x20,0x77,0x61,0x6E,0x74,0x20,0x74,
2226 0x68,0x6F,0x77,0x6E,0x20,0x61,0x62,0x6F,0x76,0x65,0x2E,0x06,2134 0x6F,0x20,0x66,0x69,0x78,0x20,0x74,0x68,0x69,0x73,0x2C,0x20,
2227 0x3E,0x40,0x58,0x30,0x32,0x30,0x51,0x3E,0x40,0x43,0x30,0x30,2135 0x65,0x6E,0x61,0x62,0x6C,0x65,0x3D,0x22,0x50,0x69,0x78,0x65,
2228 0x31,0x51,0x3A,0x20,0x53,0x6D,0x70,0x2E,0x20,0x45,0x64,0x2E,2136 0x6C,0x20,0x66,0x69,0x6C,0x74,0x65,0x72,0x22,0x20,0x28,0x74,
2229 0x3A,0x20,0x57,0x68,0x69,0x6C,0x65,0x20,0x7A,0x6F,0x6F,0x6D,2137 0x68,0x6F,0x75,0x67,0x68,0x20,0x74,0x68,0x69,0x73,0x20,0x77,
2230 0x65,0x64,0x20,0x69,0x6E,0x2C,0x20,0x49,0x20,0x73,0x6F,0x6D,2138 0x69,0x6C,0x6C,0x20,0x6D,0x61,0x6B,0x65,0x20,0x74,0x68,0x65,
2231 0x65,0x74,0x69,0x6D,0x65,0x73,0x20,0x63,0x61,0x6E,0x27,0x74,2139 0x20,0x69,0x6D,0x61,0x67,0x65,0x20,0x6C,0x6F,0x6F,0x6B,0x20,
2232 0x20,0x6D,0x61,0x72,0x6B,0x20,0x74,0x68,0x65,0x20,0x6C,0x61,2140 0x62,0x6C,0x75,0x72,0x72,0x79,0x29,0x2E,0x06,0x3E,0x40,0x58,
2233 0x73,0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,0x65,0x20,0x70,0x6F,2141 0x30,0x32,0x30,0x27,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,
2234 0x69,0x6E,0x74,0x21,0x47,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,2142 0x20,0x49,0x20,0x63,0x61,0x6E,0x27,0x74,0x20,0x75,0x73,0x65,
2235 0x3A,0x20,0x54,0x68,0x69,0x73,0x20,0x69,0x73,0x20,0x6E,0x6F,2143 0x20,0x41,0x6C,0x74,0x2B,0x46,0x34,0x20,0x61,0x6E,0x64,0x20,
2236 0x72,0x6D,0x61,0x6C,0x2E,0x20,0x54,0x68,0x69,0x73,0x20,0x69,2144 0x41,0x6C,0x74,0x2B,0x46,0x35,0x21,0x4E,0x3E,0x40,0x43,0x30,
2237 0x73,0x20,0x61,0x20,0x6C,0x69,0x6D,0x69,0x74,0x61,0x74,0x69,2145 0x30,0x32,0x41,0x3A,0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,
2238 0x6F,0x6E,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x6E,0x61,2146 0x3A,0x20,0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x68,0x61,0x76,
2239 0x74,0x75,0x72,0x65,0x20,0x6F,0x66,0x20,0x73,0x63,0x61,0x6C,2147 0x65,0x20,0x47,0x65,0x46,0x6F,0x72,0x63,0x65,0x20,0x45,0x78,
2240 0x69,0x6E,0x67,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x17,2148 0x70,0x65,0x72,0x69,0x65,0x6E,0x63,0x65,0x20,0x69,0x6E,0x73,
2241 0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x49,0x20,0x66,2149 0x74,0x61,0x6C,0x6C,0x65,0x64,0x2C,0x20,0x79,0x6F,0x75,0x20,
2242 0x6F,0x75,0x6E,0x64,0x20,0x61,0x20,0x62,0x75,0x67,0x21,0x4C,2150 0x6E,0x65,0x65,0x64,0x20,0x74,0x6F,0x20,0x63,0x68,0x61,0x6E,
2243 0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x50,0x6C,0x65,2151 0x67,0x65,0x2B,0x3E,0x40,0x58,0x30,0x33,0x35,0x74,0x68,0x65,
2244 0x61,0x73,0x65,0x20,0x73,0x65,0x6E,0x64,0x20,0x6D,0x65,0x20,2152 0x20,0x6B,0x65,0x79,0x62,0x69,0x6E,0x64,0x69,0x6E,0x67,0x73,
2245 0x61,0x20,0x6D,0x61,0x69,0x6C,0x20,0x28,0x66,0x6F,0x75,0x6E,2153 0x20,0x69,0x6E,0x20,0x69,0x74,0x73,0x20,0x73,0x65,0x74,0x74,
2246 0x64,0x20,0x61,0x74,0x20,0x31,0x36,0x2D,0x62,0x69,0x74,0x73,2154 0x69,0x6E,0x67,0x73,0x20,0x70,0x61,0x67,0x65,0x2E,0x57,0x3E,
2247 0x2E,0x6F,0x72,0x67,0x29,0x20,0x61,0x6E,0x64,0x20,0x74,0x72,2155 0x6D,0x61,0x63,0x4F,0x53,0x2F,0x4F,0x53,0x20,0x58,0x3A,0x20,
2248 0x79,0x20,0x74,0x6F,0x20,0x65,0x78,0x70,0x6C,0x61,0x69,0x6E,2156 0x43,0x68,0x61,0x6E,0x67,0x65,0x20,0x41,0x6C,0x74,0x2B,0x46,
2249 0x20,0x69,0x74,0x2E,0x00,0x03,0x45,0x4E,0x44,0x4C,0x3B,0x2A,2157 0x34,0x2F,0x41,0x6C,0x74,0x2B,0x46,0x35,0x20,0x6B,0x65,0x79,
2250 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2158 0x73,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,0x4F,0x53,0x20,
2251 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2159 0x74,0x6F,0x20,0x73,0x6F,0x6D,0x65,0x74,0x68,0x69,0x6E,0x67,
2252 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2160 0x20,0x65,0x6C,0x73,0x65,0x2E,0x20,0x41,0x6C,0x73,0x6F,0x20,
2253 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2161 0x66,0x6F,0x72,0x20,0x47,0x4E,0x55,0x2F,0x4C,0x69,0x6E,0x75,
2254 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2162 0x78,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x2B,0x3E,0x40,
2255 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2163 0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x54,0x68,0x65,0x20,0x6D,
2256 0x2A,0x2A,0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2164 0x6F,0x75,0x73,0x65,0x20,0x63,0x75,0x72,0x73,0x6F,0x72,0x20,
2257 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2165 0x69,0x73,0x20,0x64,0x65,0x6C,0x61,0x79,0x65,0x64,0x2F,0x6C,
2258 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2166 0x61,0x67,0x67,0x79,0x21,0x44,0x3E,0x40,0x43,0x30,0x30,0x32,
2259 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2167 0x41,0x3A,0x20,0x4D,0x61,0x6B,0x65,0x20,0x73,0x75,0x72,0x65,
2260 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2168 0x20,0x22,0x53,0x6F,0x66,0x74,0x77,0x61,0x72,0x65,0x20,0x6D,
2261 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,2169 0x6F,0x75,0x73,0x65,0x22,0x20,0x69,0x73,0x20,0x64,0x69,0x73,
2262 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0C,0x40,0x4C,0x4B,0x6E,2170 0x61,0x62,0x6C,0x65,0x64,0x20,0x69,0x6E,0x20,0x43,0x6F,0x6E,
2263 0x6F,0x77,0x6E,0x20,0x62,0x75,0x67,0x73,0x01,0x3E,0x23,0x3E,2171 0x66,0x69,0x67,0x20,0x2D,0x3E,0x20,0x4C,0x61,0x79,0x6F,0x75,
2264 0x40,0x58,0x30,0x31,0x30,0x40,0x43,0x30,0x30,0x31,0x53,0x61,2172 0x74,0x2E,0x4B,0x3E,0x40,0x58,0x30,0x33,0x35,0x41,0x6C,0x74,
2265 0x6D,0x70,0x6C,0x65,0x20,0x72,0x65,0x63,0x6F,0x72,0x64,0x69,2173 0x65,0x72,0x6E,0x61,0x74,0x69,0x76,0x65,0x6C,0x79,0x2C,0x20,
2266 0x6E,0x67,0x20,0x6F,0x6E,0x20,0x4D,0x61,0x63,0x3A,0x01,0x3E,2174 0x79,0x6F,0x75,0x20,0x63,0x61,0x6E,0x20,0x65,0x6E,0x61,0x62,
2267 0x53,0x3E,0x40,0x58,0x30,0x31,0x30,0x40,0x43,0x30,0x30,0x32,2175 0x6C,0x65,0x20,0x22,0x56,0x53,0x79,0x6E,0x63,0x20,0x6F,0x66,
2268 0x2D,0x20,0x53,0x61,0x6D,0x70,0x6C,0x65,0x20,0x72,0x65,0x63,2176 0x66,0x22,0x20,0x69,0x6E,0x20,0x43,0x6F,0x6E,0x66,0x69,0x67,
2269 0x6F,0x72,0x64,0x69,0x6E,0x67,0x20,0x64,0x6F,0x65,0x73,0x6E,2177 0x20,0x2D,0x3E,0x20,0x4D,0x69,0x73,0x63,0x65,0x6C,0x6C,0x61,
2270 0x27,0x74,0x20,0x77,0x6F,0x72,0x6B,0x20,0x6F,0x6E,0x20,0x6D,2178 0x6E,0x65,0x6F,0x75,0x73,0x2E,0x46,0x3E,0x54,0x68,0x69,0x73,
2271 0x61,0x63,0x4F,0x53,0x20,0x4D,0x6F,0x6A,0x61,0x76,0x65,0x20,2179 0x20,0x68,0x6F,0x77,0x65,0x76,0x65,0x72,0x2C,0x20,0x77,0x69,
2272 0x61,0x6E,0x64,0x20,0x6C,0x61,0x74,0x65,0x72,0x2C,0x20,0x62,2180 0x6C,0x6C,0x20,0x69,0x6E,0x74,0x72,0x6F,0x64,0x75,0x63,0x65,
2273 0x65,0x63,0x61,0x75,0x73,0x65,0x20,0x6F,0x66,0x20,0x61,0x6E,2181 0x20,0x73,0x74,0x75,0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x20,
2274 0x56,0x3E,0x40,0x58,0x30,0x32,0x31,0x69,0x73,0x73,0x75,0x65,2182 0x62,0x65,0x63,0x61,0x75,0x73,0x65,0x20,0x74,0x68,0x65,0x20,
2275 0x20,0x69,0x6E,0x20,0x53,0x44,0x4C,0x32,0x20,0x77,0x68,0x65,2183 0x72,0x65,0x6E,0x64,0x65,0x72,0x69,0x6E,0x67,0x20,0x72,0x61,
2276 0x72,0x65,0x20,0x69,0x74,0x20,0x64,0x6F,0x65,0x73,0x6E,0x27,2184 0x74,0x65,0x20,0x69,0x73,0x22,0x3E,0x6E,0x6F,0x74,0x20,0x65,
2277 0x74,0x20,0x61,0x73,0x6B,0x20,0x66,0x6F,0x72,0x20,0x70,0x65,2185 0x78,0x61,0x63,0x74,0x20,0x74,0x6F,0x20,0x79,0x6F,0x75,0x72,
2278 0x72,0x6D,0x69,0x73,0x73,0x69,0x6F,0x6E,0x20,0x74,0x6F,0x20,2186 0x20,0x6D,0x6F,0x6E,0x69,0x74,0x6F,0x72,0x27,0x73,0x20,0x72,
2279 0x75,0x73,0x65,0x20,0x74,0x68,0x65,0x20,0x61,0x75,0x64,0x69,2187 0x61,0x74,0x65,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x33,
2280 0x6F,0x20,0x69,0x6E,0x70,0x75,0x74,0x20,0x64,0x65,0x76,0x69,2188 0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x57,0x69,0x6C,
2281 0x63,0x65,0x2E,0x01,0x3E,0x31,0x3E,0x40,0x58,0x30,0x31,0x30,2189 0x6C,0x20,0x79,0x6F,0x75,0x20,0x69,0x6D,0x70,0x6C,0x65,0x6D,
2282 0x40,0x43,0x30,0x30,0x31,0x57,0x41,0x56,0x20,0x65,0x78,0x70,2190 0x65,0x6E,0x74,0x20,0x4D,0x49,0x44,0x49,0x20,0x6F,0x75,0x74,
2283 0x6F,0x72,0x74,0x69,0x6E,0x67,0x20,0x28,0x72,0x65,0x6E,0x64,2191 0x20,0x66,0x75,0x6E,0x63,0x74,0x69,0x6F,0x6E,0x61,0x6C,0x69,
2284 0x65,0x72,0x69,0x6E,0x67,0x20,0x73,0x6F,0x6E,0x67,0x20,0x74,2192 0x74,0x79,0x3F,0x4D,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,
2285 0x6F,0x20,0x57,0x41,0x56,0x29,0x3A,0x01,0x3E,0x55,0x3E,0x40,2193 0x20,0x4E,0x6F,0x2C,0x20,0x73,0x6F,0x72,0x72,0x79,0x2E,0x20,
2286 0x58,0x30,0x31,0x30,0x40,0x43,0x30,0x30,0x32,0x2D,0x20,0x53,2194 0x54,0x68,0x69,0x73,0x20,0x69,0x73,0x20,0x76,0x65,0x72,0x79,
2287 0x6F,0x6E,0x67,0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x6A,0x75,2195 0x20,0x64,0x69,0x66,0x66,0x69,0x63,0x75,0x6C,0x74,0x20,0x74,
2288 0x6D,0x70,0x20,0x62,0x61,0x63,0x6B,0x20,0x74,0x6F,0x20,0x61,2196 0x6F,0x20,0x69,0x6D,0x70,0x6C,0x65,0x6D,0x65,0x6E,0x74,0x20,
2289 0x20,0x70,0x72,0x65,0x76,0x69,0x6F,0x75,0x73,0x20,0x70,0x61,2197 0x63,0x6F,0x72,0x72,0x65,0x63,0x74,0x6C,0x79,0x20,0x77,0x68,
2290 0x74,0x74,0x65,0x72,0x6E,0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,2198 0x65,0x6E,0x20,0x68,0x61,0x76,0x69,0x6E,0x67,0x3C,0x3E,0x40,
2291 0x65,0x6E,0x64,0x65,0x72,0x20,0x66,0x6F,0x72,0x65,0x76,0x65,2199 0x58,0x30,0x33,0x35,0x68,0x69,0x67,0x68,0x65,0x72,0x20,0x61,
2292 0x72,0x20,0x61,0x6E,0x64,0x20,0x65,0x76,0x65,0x72,0x2C,0x4D,2200 0x75,0x64,0x69,0x6F,0x20,0x62,0x75,0x66,0x66,0x65,0x72,0x20,
2293 0x3E,0x40,0x58,0x30,0x32,0x31,0x61,0x6E,0x64,0x20,0x79,0x6F,2201 0x73,0x69,0x7A,0x65,0x73,0x20,0x28,0x62,0x75,0x66,0x66,0x65,
2294 0x75,0x20,0x6E,0x65,0x65,0x64,0x20,0x74,0x6F,0x20,0x70,0x72,2202 0x72,0x65,0x64,0x20,0x72,0x65,0x70,0x6C,0x61,0x79,0x65,0x72,
2295 0x65,0x73,0x73,0x20,0x61,0x20,0x6B,0x65,0x79,0x20,0x6F,0x72,2203 0x20,0x74,0x69,0x63,0x6B,0x73,0x29,0x2E,0x2E,0x2E,0x06,0x3E,
2296 0x20,0x63,0x6C,0x69,0x63,0x6B,0x20,0x74,0x68,0x65,0x20,0x6D,2204 0x40,0x58,0x30,0x32,0x30,0x30,0x3E,0x40,0x43,0x30,0x30,0x31,
2297 0x6F,0x75,0x73,0x65,0x20,0x74,0x6F,0x20,0x61,0x62,0x6F,0x72,2205 0x51,0x3A,0x20,0x57,0x68,0x65,0x72,0x65,0x20,0x69,0x73,0x20,
2298 0x74,0x20,0x74,0x68,0x65,0x20,0x72,0x65,0x6E,0x64,0x65,0x72,2206 0x74,0x68,0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,
2299 0x20,0x77,0x68,0x65,0x6E,0x15,0x3E,0x40,0x58,0x30,0x32,0x31,2207 0x61,0x74,0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x73,
2300 0x79,0x6F,0x75,0x20,0x77,0x61,0x6E,0x74,0x20,0x69,0x74,0x20,2208 0x74,0x6F,0x72,0x65,0x64,0x3F,0x3F,0x3E,0x40,0x43,0x30,0x30,
2301 0x74,0x6F,0x2E,0x01,0x3E,0x11,0x3E,0x40,0x58,0x30,0x31,0x30,2209 0x32,0x41,0x3A,0x20,0x57,0x69,0x6E,0x64,0x6F,0x77,0x73,0x3A,
2302 0x40,0x43,0x30,0x30,0x31,0x56,0x69,0x64,0x65,0x6F,0x3A,0x06,2210 0x20,0x5C,0x55,0x73,0x65,0x72,0x73,0x5C,0x55,0x53,0x45,0x52,
2303 0x3E,0x40,0x43,0x30,0x30,0x32,0x50,0x3E,0x40,0x58,0x30,0x31,2211 0x5C,0x41,0x70,0x70,0x44,0x61,0x74,0x61,0x5C,0x52,0x6F,0x61,
2304 0x30,0x2D,0x20,0x46,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,2212 0x6D,0x69,0x6E,0x67,0x5C,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,
2305 0x6E,0x20,0x6D,0x6F,0x64,0x65,0x20,0x63,0x61,0x6E,0x20,0x62,2213 0x6E,0x65,0x5C,0x46,0x54,0x32,0x2E,0x43,0x46,0x47,0x45,0x3E,
2306 0x65,0x20,0x75,0x6E,0x62,0x65,0x61,0x72,0x61,0x62,0x6C,0x79,2214 0x40,0x58,0x30,0x33,0x35,0x4F,0x53,0x20,0x58,0x3A,0x20,0x2F,
2307 0x20,0x73,0x6C,0x6F,0x77,0x20,0x6F,0x6E,0x20,0x61,0x20,0x52,2215 0x55,0x73,0x65,0x72,0x73,0x2F,0x55,0x53,0x45,0x52,0x2F,0x4C,
2308 0x61,0x73,0x70,0x62,0x65,0x72,0x72,0x79,0x20,0x50,0x69,0x20,2216 0x69,0x62,0x72,0x61,0x72,0x79,0x2F,0x41,0x70,0x70,0x6C,0x69,
2309 0x28,0x65,0x76,0x65,0x6E,0x20,0x6F,0x6E,0x20,0x52,0x50,0x69,2217 0x63,0x61,0x74,0x69,0x6F,0x6E,0x20,0x53,0x75,0x70,0x70,0x6F,
2310 0x20,0x34,0x29,0x52,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,0x20,2218 0x72,0x74,0x2F,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,
2311 0x4E,0x6F,0x74,0x20,0x61,0x20,0x62,0x75,0x67,0x2C,0x20,0x62,2219 0x2F,0x46,0x54,0x32,0x2E,0x43,0x46,0x47,0x2F,0x47,0x4E,0x55,
2312 0x75,0x74,0x20,0x69,0x66,0x20,0x79,0x6F,0x75,0x72,0x20,0x6D,2220 0x2F,0x4C,0x69,0x6E,0x75,0x78,0x3A,0x20,0x2F,0x68,0x6F,0x6D,
2313 0x6F,0x6E,0x69,0x74,0x6F,0x72,0x27,0x73,0x20,0x72,0x65,0x66,2221 0x65,0x2F,0x55,0x53,0x45,0x52,0x2F,0x2E,0x63,0x6F,0x6E,0x66,
2314 0x72,0x65,0x73,0x68,0x20,0x72,0x61,0x74,0x65,0x20,0x69,0x73,2222 0x69,0x67,0x2F,0x46,0x54,0x32,0x20,0x63,0x6C,0x6F,0x6E,0x65,
2315 0x20,0x6E,0x6F,0x74,0x20,0x73,0x65,0x74,0x20,0x74,0x6F,0x20,2223 0x2F,0x46,0x54,0x32,0x2E,0x43,0x46,0x47,0x01,0x3E,0x48,0x49,
2316 0x36,0x30,0x48,0x7A,0x20,0x28,0x6F,0x72,0x20,0x35,0x39,0x48,2224 0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,0x62,0x65,0x20,0x73,0x74,
2317 0x7A,0x29,0x4A,0x3E,0x40,0x58,0x30,0x32,0x31,0x79,0x6F,0x75,2225 0x6F,0x72,0x65,0x64,0x20,0x69,0x6E,0x20,0x74,0x68,0x65,0x20,
2318 0x20,0x6D,0x61,0x79,0x20,0x65,0x78,0x70,0x65,0x72,0x69,0x65,2226 0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,0x64,0x69,0x72,0x65,
2319 0x6E,0x63,0x65,0x20,0x76,0x69,0x73,0x75,0x61,0x6C,0x20,0x73,2227 0x63,0x74,0x6F,0x72,0x79,0x20,0x69,0x66,0x20,0x74,0x68,0x65,
2320 0x74,0x75,0x74,0x74,0x65,0x72,0x69,0x6E,0x67,0x20,0x62,0x65,2228 0x20,0x70,0x61,0x74,0x68,0x20,0x63,0x6F,0x75,0x6C,0x64,0x6E,
2321 0x63,0x61,0x75,0x73,0x65,0x20,0x56,0x53,0x79,0x6E,0x63,0x20,2229 0x27,0x74,0x20,0x62,0x65,0x20,0x75,0x73,0x65,0x64,0x2E,0x4D,
2322 0x77,0x69,0x6C,0x6C,0x20,0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,2230 0x49,0x66,0x20,0x79,0x6F,0x75,0x20,0x70,0x75,0x74,0x20,0x74,
2323 0x75,0x73,0x65,0x64,0x2E,0x00,0x03,0x45,0x4E,0x442231 0x68,0x65,0x20,0x63,0x6F,0x6E,0x66,0x69,0x67,0x75,0x72,0x61,
2232 0x74,0x69,0x6F,0x6E,0x20,0x66,0x69,0x6C,0x65,0x20,0x69,0x6E,
2233 0x20,0x74,0x68,0x65,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,
2234 0x20,0x64,0x69,0x72,0x65,0x63,0x74,0x6F,0x72,0x79,0x2C,0x20,
2235 0x69,0x74,0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x61,0x64,
2236 0x20,0x74,0x68,0x61,0x74,0x4A,0x6F,0x6E,0x65,0x20,0x61,0x6E,
2237 0x64,0x20,0x6E,0x6F,0x74,0x20,0x61,0x74,0x74,0x65,0x6D,0x70,
2238 0x74,0x20,0x74,0x6F,0x20,0x63,0x72,0x65,0x61,0x74,0x65,0x20,
2239 0x63,0x6F,0x6E,0x66,0x69,0x67,0x20,0x64,0x69,0x72,0x73,0x20,
2240 0x66,0x6F,0x72,0x20,0x74,0x68,0x65,0x20,0x4F,0x53,0x20,0x75,
2241 0x73,0x65,0x72,0x2E,0x20,0x28,0x70,0x6F,0x72,0x74,0x61,0x62,
2242 0x6C,0x65,0x20,0x6D,0x6F,0x64,0x65,0x29,0x06,0x3E,0x40,0x58,
2243 0x30,0x32,0x30,0x42,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,
2244 0x20,0x43,0x61,0x6E,0x20,0x74,0x68,0x65,0x20,0x63,0x6C,0x6F,
2245 0x6E,0x65,0x20,0x72,0x65,0x61,0x64,0x20,0x46,0x54,0x32,0x2E,
2246 0x43,0x46,0x47,0x20,0x66,0x72,0x6F,0x6D,0x20,0x72,0x65,0x61,
2247 0x6C,0x20,0x46,0x54,0x32,0x2C,0x20,0x61,0x6E,0x64,0x20,0x76,
2248 0x69,0x63,0x65,0x20,0x76,0x65,0x72,0x73,0x61,0x3F,0x4C,0x3E,
2249 0x40,0x43,0x30,0x30,0x32,0x41,0x3A,0x20,0x59,0x65,0x73,0x2C,
2250 0x20,0x69,0x74,0x20,0x73,0x68,0x6F,0x75,0x6C,0x64,0x20,0x77,
2251 0x6F,0x72,0x6B,0x20,0x6A,0x75,0x73,0x74,0x20,0x66,0x69,0x6E,
2252 0x65,0x2E,0x20,0x50,0x75,0x74,0x20,0x69,0x74,0x20,0x69,0x6E,
2253 0x20,0x74,0x68,0x65,0x20,0x64,0x69,0x72,0x65,0x63,0x74,0x6F,
2254 0x72,0x79,0x20,0x73,0x68,0x6F,0x77,0x6E,0x20,0x61,0x62,0x6F,
2255 0x76,0x65,0x2E,0x06,0x3E,0x40,0x58,0x30,0x32,0x30,0x51,0x3E,
2256 0x40,0x43,0x30,0x30,0x31,0x51,0x3A,0x20,0x53,0x6D,0x70,0x2E,
2257 0x20,0x45,0x64,0x2E,0x3A,0x20,0x57,0x68,0x69,0x6C,0x65,0x20,
2258 0x7A,0x6F,0x6F,0x6D,0x65,0x64,0x20,0x69,0x6E,0x2C,0x20,0x49,
2259 0x20,0x73,0x6F,0x6D,0x65,0x74,0x69,0x6D,0x65,0x73,0x20,0x63,
2260 0x61,0x6E,0x27,0x74,0x20,0x6D,0x61,0x72,0x6B,0x20,0x74,0x68,
2261 0x65,0x20,0x6C,0x61,0x73,0x74,0x20,0x73,0x61,0x6D,0x70,0x6C,
2262 0x65,0x20,0x70,0x6F,0x69,0x6E,0x74,0x21,0x47,0x3E,0x40,0x43,
2263 0x30,0x30,0x32,0x41,0x3A,0x20,0x54,0x68,0x69,0x73,0x20,0x69,
2264 0x73,0x20,0x6E,0x6F,0x72,0x6D,0x61,0x6C,0x2E,0x20,0x54,0x68,
2265 0x69,0x73,0x20,0x69,0x73,0x20,0x61,0x20,0x6C,0x69,0x6D,0x69,
2266 0x74,0x61,0x74,0x69,0x6F,0x6E,0x20,0x69,0x6E,0x20,0x74,0x68,
2267 0x65,0x20,0x6E,0x61,0x74,0x75,0x72,0x65,0x20,0x6F,0x66,0x20,
2268 0x73,0x63,0x61,0x6C,0x69,0x6E,0x67,0x2E,0x06,0x3E,0x40,0x58,
2269 0x30,0x32,0x30,0x17,0x3E,0x40,0x43,0x30,0x30,0x31,0x51,0x3A,
2270 0x20,0x49,0x20,0x66,0x6F,0x75,0x6E,0x64,0x20,0x61,0x20,0x62,
2271 0x75,0x67,0x21,0x4C,0x3E,0x40,0x43,0x30,0x30,0x32,0x41,0x3A,
2272 0x20,0x50,0x6C,0x65,0x61,0x73,0x65,0x20,0x73,0x65,0x6E,0x64,
2273 0x20,0x6D,0x65,0x20,0x61,0x20,0x6D,0x61,0x69,0x6C,0x20,0x28,
2274 0x66,0x6F,0x75,0x6E,0x64,0x20,0x61,0x74,0x20,0x31,0x36,0x2D,
2275 0x62,0x69,0x74,0x73,0x2E,0x6F,0x72,0x67,0x29,0x20,0x61,0x6E,
2276 0x64,0x20,0x74,0x72,0x79,0x20,0x74,0x6F,0x20,0x65,0x78,0x70,
2277 0x6C,0x61,0x69,0x6E,0x20,0x69,0x74,0x2E,0x00,0x03,0x45,0x4E,
2278 0x44,0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2279 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2280 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2281 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2282 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2283 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2284 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x4C,0x3B,0x2A,0x2A,0x2A,0x2A,
2285 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2286 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2287 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2288 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2289 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,
2290 0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x2A,0x0C,
2291 0x40,0x4C,0x4B,0x6E,0x6F,0x77,0x6E,0x20,0x62,0x75,0x67,0x73,
2292 0x01,0x3E,0x31,0x3E,0x40,0x58,0x30,0x31,0x30,0x40,0x43,0x30,
2293 0x30,0x31,0x57,0x41,0x56,0x20,0x65,0x78,0x70,0x6F,0x72,0x74,
2294 0x69,0x6E,0x67,0x20,0x28,0x72,0x65,0x6E,0x64,0x65,0x72,0x69,
2295 0x6E,0x67,0x20,0x73,0x6F,0x6E,0x67,0x20,0x74,0x6F,0x20,0x57,
2296 0x41,0x56,0x29,0x3A,0x01,0x3E,0x55,0x3E,0x40,0x58,0x30,0x31,
2297 0x30,0x40,0x43,0x30,0x30,0x32,0x2D,0x20,0x53,0x6F,0x6E,0x67,
2298 0x73,0x20,0x74,0x68,0x61,0x74,0x20,0x6A,0x75,0x6D,0x70,0x20,
2299 0x62,0x61,0x63,0x6B,0x20,0x74,0x6F,0x20,0x61,0x20,0x70,0x72,
2300 0x65,0x76,0x69,0x6F,0x75,0x73,0x20,0x70,0x61,0x74,0x74,0x65,
2301 0x72,0x6E,0x20,0x77,0x69,0x6C,0x6C,0x20,0x72,0x65,0x6E,0x64,
2302 0x65,0x72,0x20,0x66,0x6F,0x72,0x65,0x76,0x65,0x72,0x20,0x61,
2303 0x6E,0x64,0x20,0x65,0x76,0x65,0x72,0x2C,0x4D,0x3E,0x40,0x58,
2304 0x30,0x32,0x31,0x61,0x6E,0x64,0x20,0x79,0x6F,0x75,0x20,0x6E,
2305 0x65,0x65,0x64,0x20,0x74,0x6F,0x20,0x70,0x72,0x65,0x73,0x73,
2306 0x20,0x61,0x20,0x6B,0x65,0x79,0x20,0x6F,0x72,0x20,0x63,0x6C,
2307 0x69,0x63,0x6B,0x20,0x74,0x68,0x65,0x20,0x6D,0x6F,0x75,0x73,
2308 0x65,0x20,0x74,0x6F,0x20,0x61,0x62,0x6F,0x72,0x74,0x20,0x74,
2309 0x68,0x65,0x20,0x72,0x65,0x6E,0x64,0x65,0x72,0x20,0x77,0x68,
2310 0x65,0x6E,0x15,0x3E,0x40,0x58,0x30,0x32,0x31,0x79,0x6F,0x75,
2311 0x20,0x77,0x61,0x6E,0x74,0x20,0x69,0x74,0x20,0x74,0x6F,0x2E,
2312 0x01,0x3E,0x11,0x3E,0x40,0x58,0x30,0x31,0x30,0x40,0x43,0x30,
2313 0x30,0x31,0x56,0x69,0x64,0x65,0x6F,0x3A,0x06,0x3E,0x40,0x43,
2314 0x30,0x30,0x32,0x50,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,0x20,
2315 0x46,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x6D,
2316 0x6F,0x64,0x65,0x20,0x63,0x61,0x6E,0x20,0x62,0x65,0x20,0x75,
2317 0x6E,0x62,0x65,0x61,0x72,0x61,0x62,0x6C,0x79,0x20,0x73,0x6C,
2318 0x6F,0x77,0x20,0x6F,0x6E,0x20,0x61,0x20,0x52,0x61,0x73,0x70,
2319 0x62,0x65,0x72,0x72,0x79,0x20,0x50,0x69,0x20,0x28,0x65,0x76,
2320 0x65,0x6E,0x20,0x6F,0x6E,0x20,0x52,0x50,0x69,0x20,0x34,0x29,
2321 0x4A,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,0x20,0x46,0x75,0x6C,
2322 0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x6D,0x6F,0x64,0x65,
2323 0x20,0x63,0x61,0x6E,0x20,0x68,0x61,0x76,0x65,0x20,0x73,0x65,
2324 0x76,0x65,0x72,0x61,0x6C,0x20,0x70,0x72,0x6F,0x62,0x6C,0x65,
2325 0x6D,0x73,0x20,0x6F,0x6E,0x20,0x6D,0x75,0x6C,0x74,0x69,0x2D,
2326 0x6D,0x6F,0x6E,0x69,0x74,0x6F,0x72,0x20,0x73,0x79,0x73,0x74,
2327 0x65,0x6D,0x73,0x47,0x3E,0x40,0x58,0x30,0x31,0x30,0x2D,0x20,
2328 0x46,0x75,0x6C,0x6C,0x73,0x63,0x72,0x65,0x65,0x6E,0x20,0x6D,
2329 0x6F,0x64,0x65,0x20,0x63,0x61,0x6E,0x20,0x68,0x61,0x76,0x65,
2330 0x20,0x73,0x65,0x76,0x65,0x72,0x61,0x6C,0x20,0x70,0x72,0x6F,
2331 0x62,0x6C,0x65,0x6D,0x73,0x20,0x6F,0x6E,0x20,0x73,0x6F,0x6D,
2332 0x65,0x20,0x4C,0x69,0x6E,0x75,0x78,0x20,0x73,0x79,0x73,0x74,
2333 0x65,0x6D,0x73,0x00,0x03,0x45,0x4E,0x44
2324};2334};
2325 2335
2326#endif2336#endif
src/mixer/ft2_mix_macros.h+69−0
@@ -168,6 +168,9 @@ · 167 unmodified lines
168**168**
169*/169*/
170 170
171#if SINC_TAPS==8
172
173#if SINC_FSHIFT>=0
171#define WINDOWED_SINC_INTERPOLATION(s, f, scale) \174#define WINDOWED_SINC_INTERPOLATION(s, f, scale) \
172{ \175{ \
173 const float *t = v->fSincLUT + (((uint32_t)(f) >> SINC_FSHIFT) & SINC_FMASK); \176 const float *t = v->fSincLUT + (((uint32_t)(f) >> SINC_FSHIFT) & SINC_FMASK); \
@@ -180,6 +183,72 @@ · 6 unmodified lines
180 ( s[3] * t[6]) + \183 ( s[3] * t[6]) + \
181 ( s[4] * t[7])) * (1.0f / scale); \184 ( s[4] * t[7])) * (1.0f / scale); \
182}185}
186#else
187#define WINDOWED_SINC_INTERPOLATION(s, f, scale) \
188{ \
189 const float *t = v->fSincLUT + (((uint32_t)(f) << -SINC_FSHIFT) & SINC_FMASK); \
190 fSample = ((s[-3] * t[0]) + \
191 (s[-2] * t[1]) + \
192 (s[-1] * t[2]) + \
193 ( s[0] * t[3]) + \
194 ( s[1] * t[4]) + \
195 ( s[2] * t[5]) + \
196 ( s[3] * t[6]) + \
197 ( s[4] * t[7])) * (1.0f / scale); \
198}
199#endif
200
201#elif SINC_TAPS==16
202
203#if SINC_FSHIFT>=0
204#define WINDOWED_SINC_INTERPOLATION(s, f, scale) \
205{ \
206 const float *t = v->fSincLUT + (((uint32_t)(f) >> SINC_FSHIFT) & SINC_FMASK); \
207 fSample = ((s[-7] * t[0]) + \
208 (s[-6] * t[1]) + \
209 (s[-5] * t[2]) + \
210 (s[-4] * t[3]) + \
211 (s[-3] * t[4]) + \
212 (s[-2] * t[5]) + \
213 (s[-1] * t[6]) + \
214 ( s[0] * t[7]) + \
215 ( s[1] * t[8]) + \
216 ( s[2] * t[9]) + \
217 ( s[3] * t[10]) + \
218 ( s[4] * t[11]) + \
219 ( s[5] * t[12]) + \
220 ( s[6] * t[13]) + \
221 ( s[7] * t[14]) + \
222 ( s[8] * t[15])) * (1.0f / scale); \
223}
224#else
225#define WINDOWED_SINC_INTERPOLATION(s, f, scale) \
226{ \
227 const float *t = v->fSincLUT + (((uint32_t)(f) << -SINC_FSHIFT) & SINC_FMASK); \
228 fSample = ((s[-7] * t[0]) + \
229 (s[-6] * t[1]) + \
230 (s[-5] * t[2]) + \
231 (s[-4] * t[3]) + \
232 (s[-3] * t[4]) + \
233 (s[-2] * t[5]) + \
234 (s[-1] * t[6]) + \
235 ( s[0] * t[7]) + \
236 ( s[1] * t[8]) + \
237 ( s[2] * t[9]) + \
238 ( s[3] * t[10]) + \
239 ( s[4] * t[11]) + \
240 ( s[5] * t[12]) + \
241 ( s[6] * t[13]) + \
242 ( s[7] * t[14]) + \
243 ( s[8] * t[15])) * (1.0f / scale); \
244}
245#endif
246
247#else
248
249#error mixer/ft2_mix_macros.h: The SINC_TAPS definition is invalid! Valid values: 8 or 16
250
251#endif
183 252
184#define RENDER_8BIT_SMP_SINTRP \253#define RENDER_8BIT_SMP_SINTRP \
185 WINDOWED_SINC_INTERPOLATION(smpPtr, positionFrac, 128) \254 WINDOWED_SINC_INTERPOLATION(smpPtr, positionFrac, 128) \
src/mixer/ft2_windowed_sinc.c+4−7
@@ -1,5 +1,5 @@
1/* Code taken from the OpenMPT project, which has a BSD1/* Code taken from the OpenMPT project, which has a BSD license which is
2** license which is compatible with this project.2** compatible with this project.
3**3**
4** The code has been slightly modified.4** The code has been slightly modified.
5*/5*/
@@ -10,10 +10,7 @@ · 4 unmodified lines
10#include <math.h>10#include <math.h>
11#include "ft2_windowed_sinc.h"11#include "ft2_windowed_sinc.h"
12 12
13// globalized13float *fKaiserSinc = NULL, *fDownSample1 = NULL, *fDownSample2 = NULL; // globalized
14float *fKaiserSinc = NULL;
15float *fDownSample1 = NULL;
16float *fDownSample2 = NULL;
17 14
18static double Izero(double y) // Compute Bessel function Izero(y) using a series approximation15static double Izero(double y) // Compute Bessel function Izero(y) using a series approximation
19{16{
@@ -71,7 +68,7 @@ bool calcWindowedSincTables(void) · 51 unmodified lines
71 68
72 getSinc(fKaiserSinc, 9.6377, 0.97);69 getSinc(fKaiserSinc, 9.6377, 0.97);
73 getSinc(fDownSample1, 8.5, 0.5);70 getSinc(fDownSample1, 8.5, 0.5);
74 getSinc(fDownSample2, 2.7625, 0.425);71 getSinc(fDownSample2, 7.3, 0.425);
75 72
76 return true;73 return true;
77}74}
src/mixer/ft2_windowed_sinc.h+9−8
@@ -4,14 +4,17 @@ · 3 unmodified lines
4#include <stdbool.h>4#include <stdbool.h>
5#include "ft2_mix.h"5#include "ft2_mix.h"
6 6
7// if you change this, also change SINC_PHASES_BITS (>8192 gives very little improvement)7// 8 or 16. 8 allows more unwanted frequencies, which may be preferred for lo-fi samples
8#define SINC_TAPS 8
9
10// log2(SINC_TAPS)
11#define SINC_TAPS_BITS 3
12
8#define SINC_PHASES 819213#define SINC_PHASES 8192
9#define SINC_PHASES_BITS 13 /* log2(SINC_PHASES) */
10 14
11// don't change these!15// log2(SINC_PHASES)
16#define SINC_PHASES_BITS 13
12 17
13#define SINC_TAPS 8
14#define SINC_TAPS_BITS 3
15#define SINC_LUT_LEN (SINC_TAPS * SINC_PHASES)18#define SINC_LUT_LEN (SINC_TAPS * SINC_PHASES)
16#define SINC_FSHIFT (MIXER_FRAC_BITS-(SINC_PHASES_BITS+SINC_TAPS_BITS))19#define SINC_FSHIFT (MIXER_FRAC_BITS-(SINC_PHASES_BITS+SINC_TAPS_BITS))
17#define SINC_FMASK ((SINC_TAPS*SINC_PHASES)-SINC_TAPS)20#define SINC_FMASK ((SINC_TAPS*SINC_PHASES)-SINC_TAPS)
@@ -23,9 +26,7 @@ · 5 unmodified lines
23// for LUT calculation26// for LUT calculation
24#define SINC_MID_TAP ((SINC_TAPS/2)*SINC_PHASES)27#define SINC_MID_TAP ((SINC_TAPS/2)*SINC_PHASES)
25 28
26extern float *fKaiserSinc;29extern float *fKaiserSinc, *fDownSample1, *fDownSample2;
27extern float *fDownSample1;
28extern float *fDownSample2;
29 30
30bool calcWindowedSincTables(void);31bool calcWindowedSincTables(void);
31void freeWindowedSincTables(void);32void freeWindowedSincTables(void);
src/modloaders/ft2_load_digi.c+1−1
@@ -83,7 +83,7 @@ bool loadDIGI(FILE *f, uint32_t filesize) · 82 unmodified lines
83 }83 }
84 84
85 memcpy(songTmp.orders, hdr.orders, 128);85 memcpy(songTmp.orders, hdr.orders, 128);
86 86 memcpy(songTmp.name, hdr.name, 20);
87 songTmp.numChannels = hdr.numChannels;87 songTmp.numChannels = hdr.numChannels;
88 songTmp.songLength = hdr.numOrders;88 songTmp.songLength = hdr.numOrders;
89 songTmp.BPM = 125;89 songTmp.BPM = 125;
src/modloaders/ft2_load_mod.c+0−3
@@ -314,9 +314,6 @@ bool loadMOD(FILE *f, uint32_t filesize) · 313 unmodified lines
314 s->loopStart = 2 * SWAP16(hdr.smp[a].loopStart);314 s->loopStart = 2 * SWAP16(hdr.smp[a].loopStart);
315 s->loopLength = 2 * SWAP16(hdr.smp[a].loopLength);315 s->loopLength = 2 * SWAP16(hdr.smp[a].loopLength);
316 316
317 if (s->loopLength < 2)
318 s->loopLength = 2;
319
320 // fix for poorly converted STK (< v2.5) -> PT/NT modules317 // fix for poorly converted STK (< v2.5) -> PT/NT modules
321 if (s->loopLength > 2 && s->loopStart+s->loopLength > s->length)318 if (s->loopLength > 2 && s->loopStart+s->loopLength > s->length)
322 {319 {
src/scopes/ft2_scopes.c+5−42
@@ -20,12 +20,12 @@ · 19 unmodified lines
20#include "../ft2_video.h"20#include "../ft2_video.h"
21#include "../ft2_tables.h"21#include "../ft2_tables.h"
22#include "../ft2_structs.h"22#include "../ft2_structs.h"
23#include "../ft2_hpc.h"
23#include "ft2_scopes.h"24#include "ft2_scopes.h"
24#include "ft2_scopedraw.h"25#include "ft2_scopedraw.h"
25 26
26static volatile bool scopesUpdatingFlag, scopesDisplayingFlag;27static volatile bool scopesUpdatingFlag, scopesDisplayingFlag;
27static uint32_t scopeTimeLen, scopeTimeLenFrac;28static hpc_t scopeHpc;
28static uint64_t timeNext64, timeNext64Frac;
29static volatile scope_t scope[MAX_CHANNELS];29static volatile scope_t scope[MAX_CHANNELS];
30static SDL_Thread *scopeThread;30static SDL_Thread *scopeThread;
31 31
@@ -520,9 +520,8 @@ static int32_t SDLCALL scopeThreadFunc(void *ptr) · 488 unmodified lines
520 // this is needed for scope stability (confirmed)520 // this is needed for scope stability (confirmed)
521 SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);521 SDL_SetThreadPriority(SDL_THREAD_PRIORITY_HIGH);
522 522
523 // set next frame time523 hpc_SetDurationInHz(&scopeHpc, SCOPE_HZ);
524 timeNext64 = SDL_GetPerformanceCounter() + scopeTimeLen;524 hpc_ResetCounters(&scopeHpc);
525 timeNext64Frac = scopeTimeLenFrac;
526 525
527 while (editor.programRunning)526 while (editor.programRunning)
528 {527 {
@@ -530,31 +529,7 @@ static int32_t SDLCALL scopeThreadFunc(void *ptr) · 1 unmodified line
530 updateScopes();529 updateScopes();
531 editor.scopeThreadBusy = false;530 editor.scopeThreadBusy = false;
532 531
533 uint64_t time64 = SDL_GetPerformanceCounter();532 hpc_Wait(&scopeHpc);
534 if (time64 < timeNext64)
535 {
536 time64 = timeNext64 - time64;
537 if (time64 > INT32_MAX)
538 time64 = INT32_MAX;
539
540 const int32_t diff32 = (int32_t)time64;
541
542 // convert and round to microseconds
543 const int32_t time32 = (int32_t)((diff32 * editor.dPerfFreqMulMicro) + 0.5);
544
545 // delay until we have reached the next frame
546 if (time32 > 0)
547 usleep(time32);
548 }
549
550 // update next tick time
551 timeNext64 += scopeTimeLen;
552 timeNext64Frac += scopeTimeLenFrac;
553 if (timeNext64Frac > UINT32_MAX)
554 {
555 timeNext64Frac &= UINT32_MAX;
556 timeNext64++;
557 }
558 }533 }
559 534
560 (void)ptr;535 (void)ptr;
@@ -563,18 +538,6 @@ static int32_t SDLCALL scopeThreadFunc(void *ptr) · 2 unmodified lines
563 538
564bool initScopes(void)539bool initScopes(void)
565{540{
566 double dInt;
567
568 // calculate scope time for performance counters and split into int/frac
569 double dFrac = modf(editor.dPerfFreq / SCOPE_HZ, &dInt);
570
571 // integer part
572 scopeTimeLen = (int32_t)dInt;
573
574 // fractional part (scaled to 0..2^32-1)
575 dFrac *= UINT32_MAX+1.0;
576 scopeTimeLenFrac = (uint32_t)dFrac;
577
578 scopeThread = SDL_CreateThread(scopeThreadFunc, NULL, NULL);541 scopeThread = SDL_CreateThread(scopeThreadFunc, NULL, NULL);
579 if (scopeThread == NULL)542 if (scopeThread == NULL)
580 {543 {
vs2019_project/ft2-clone/SDL2.dll+0−0

Binary file not shown.

vs2019_project/ft2-clone/ft2-clone.vcxproj+2−0
@@ -299,6 +299,7 @@ · 298 unmodified lines
299 <ClCompile Include="..\..\src\ft2_events.c" />299 <ClCompile Include="..\..\src\ft2_events.c" />
300 <ClCompile Include="..\..\src\ft2_gui.c" />300 <ClCompile Include="..\..\src\ft2_gui.c" />
301 <ClCompile Include="..\..\src\ft2_help.c" />301 <ClCompile Include="..\..\src\ft2_help.c" />
302 <ClCompile Include="..\..\src\ft2_hpc.c" />
302 <ClCompile Include="..\..\src\ft2_inst_ed.c" />303 <ClCompile Include="..\..\src\ft2_inst_ed.c" />
303 <ClCompile Include="..\..\src\ft2_keyboard.c" />304 <ClCompile Include="..\..\src\ft2_keyboard.c" />
304 <ClCompile Include="..\..\src\ft2_main.c" />305 <ClCompile Include="..\..\src\ft2_main.c" />
@@ -394,6 +395,7 @@ · 89 unmodified lines
394 <ClInclude Include="..\..\src\ft2_gui.h" />395 <ClInclude Include="..\..\src\ft2_gui.h" />
395 <ClInclude Include="..\..\src\ft2_header.h" />396 <ClInclude Include="..\..\src\ft2_header.h" />
396 <ClInclude Include="..\..\src\ft2_help.h" />397 <ClInclude Include="..\..\src\ft2_help.h" />
398 <ClInclude Include="..\..\src\ft2_hpc.h" />
397 <ClInclude Include="..\..\src\ft2_inst_ed.h" />399 <ClInclude Include="..\..\src\ft2_inst_ed.h" />
398 <ClInclude Include="..\..\src\ft2_keyboard.h" />400 <ClInclude Include="..\..\src\ft2_keyboard.h" />
399 <ClInclude Include="..\..\src\ft2_midi.h" />401 <ClInclude Include="..\..\src\ft2_midi.h" />
vs2019_project/ft2-clone/ft2-clone.vcxproj.filters+4−0
@@ -163,6 +163,7 @@ · 162 unmodified lines
163 <ClCompile Include="..\..\src\scopes\ft2_scopes.c">163 <ClCompile Include="..\..\src\scopes\ft2_scopes.c">
164 <Filter>scopes</Filter>164 <Filter>scopes</Filter>
165 </ClCompile>165 </ClCompile>
166 <ClCompile Include="..\..\src\ft2_hpc.c" />
166 </ItemGroup>167 </ItemGroup>
167 <ItemGroup>168 <ItemGroup>
168 <ClInclude Include="..\..\src\rtmidi\RtMidi.h">169 <ClInclude Include="..\..\src\rtmidi\RtMidi.h">
@@ -321,6 +322,9 @@ · 152 unmodified lines
321 <ClInclude Include="..\..\src\ft2_cpu.h">322 <ClInclude Include="..\..\src\ft2_cpu.h">
322 <Filter>headers</Filter>323 <Filter>headers</Filter>
323 </ClInclude>324 </ClInclude>
325 <ClInclude Include="..\..\src\ft2_hpc.h">
326 <Filter>headers</Filter>
327 </ClInclude>
324 </ItemGroup>328 </ItemGroup>
325 <ItemGroup>329 <ItemGroup>
326 <Filter Include="headers">330 <Filter Include="headers">
vs2019_project/ft2-clone/sdl/include/SDL2/SDL.h+1−0
@@ -41,6 +41,7 @@ · 40 unmodified lines
41#include "SDL_events.h"41#include "SDL_events.h"
42#include "SDL_filesystem.h"42#include "SDL_filesystem.h"
43#include "SDL_gamecontroller.h"43#include "SDL_gamecontroller.h"
44#include "SDL_guid.h"
44#include "SDL_haptic.h"45#include "SDL_haptic.h"
45#include "SDL_hidapi.h"46#include "SDL_hidapi.h"
46#include "SDL_hints.h"47#include "SDL_hints.h"
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_assert.h+4−2
@@ -22,7 +22,7 @@ · 21 unmodified lines
22#ifndef SDL_assert_h_22#ifndef SDL_assert_h_
23#define SDL_assert_h_23#define SDL_assert_h_
24 24
25#include "SDL_config.h"25#include "SDL_stdinc.h"
26 26
27#include "begin_code.h"27#include "begin_code.h"
28/* Set up for C function definitions, even when using C++ */28/* Set up for C function definitions, even when using C++ */
@@ -51,6 +51,8 @@ assert can have unique static variables associated with it. · 22 unmodified lines
51/* Don't include intrin.h here because it contains C++ code */51/* Don't include intrin.h here because it contains C++ code */
52 extern void __cdecl __debugbreak(void);52 extern void __cdecl __debugbreak(void);
53 #define SDL_TriggerBreakpoint() __debugbreak()53 #define SDL_TriggerBreakpoint() __debugbreak()
54#elif _SDL_HAS_BUILTIN(__builtin_debugtrap)
55 #define SDL_TriggerBreakpoint() __builtin_debugtrap()
54#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )56#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
55 #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )57 #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
56#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */58#elif ( defined(__APPLE__) && (defined(__arm64__) || defined(__aarch64__)) ) /* this might work on other ARM targets, but this is a known quantity... */
@@ -69,7 +71,7 @@ assert can have unique static variables associated with it. · 12 unmodified lines
69 71
70#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */72#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
71# define SDL_FUNCTION __func__73# define SDL_FUNCTION __func__
72#elif ((__GNUC__ >= 2) || defined(_MSC_VER) || defined (__WATCOMC__))74#elif ((defined(__GNUC__) && (__GNUC__ >= 2)) || defined(_MSC_VER) || defined (__WATCOMC__))
73# define SDL_FUNCTION __FUNCTION__75# define SDL_FUNCTION __FUNCTION__
74#else76#else
75# define SDL_FUNCTION "???"77# define SDL_FUNCTION "???"
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_atomic.h+20−0
@@ -237,6 +237,26 @@ typedef void (*SDL_KernelMemoryBarrierFunc)(); · 236 unmodified lines
237#endif237#endif
238#endif238#endif
239 239
240/* "REP NOP" is PAUSE, coded for tools that don't know it by that name. */
241#if (defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))
242 #define SDL_CPUPauseInstruction() __asm__ __volatile__("pause\n") /* Some assemblers can't do REP NOP, so go with PAUSE. */
243#elif (defined(__arm__) && __ARM_ARCH >= 7) || defined(__aarch64__)
244 #define SDL_CPUPauseInstruction() __asm__ __volatile__("yield" ::: "memory")
245#elif (defined(__powerpc__) || defined(__powerpc64__))
246 #define SDL_CPUPauseInstruction() __asm__ __volatile__("or 27,27,27");
247#elif defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
248 #define SDL_CPUPauseInstruction() _mm_pause() /* this is actually "rep nop" and not a SIMD instruction. No inline asm in MSVC x86-64! */
249#elif defined(_MSC_VER) && (defined(_M_ARM) || defined(_M_ARM64))
250 #define SDL_CPUPauseInstruction() __yield()
251#elif defined(__WATCOMC__) && defined(__386__)
252 /* watcom assembler rejects PAUSE if CPU < i686, and it refuses REP NOP as an invalid combination. Hardcode the bytes. */
253 extern __inline void SDL_CPUPauseInstruction(void);
254 #pragma aux SDL_CPUPauseInstruction = "db 0f3h,90h"
255#else
256 #define SDL_CPUPauseInstruction()
257#endif
258
259
240/**260/**
241 * \brief A type representing an atomic integer value. It is a struct261 * \brief A type representing an atomic integer value. It is a struct
242 * so people don't accidentally use numeric operations on it.262 * so people don't accidentally use numeric operations on it.
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_audio.h+40−4
@@ -172,7 +172,7 @@ typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, · 171 unmodified lines
172 * 2: FL FR (stereo)172 * 2: FL FR (stereo)
173 * 3: FL FR LFE (2.1 surround)173 * 3: FL FR LFE (2.1 surround)
174 * 4: FL FR BL BR (quad)174 * 4: FL FR BL BR (quad)
175 * 5: FL FR FC BL BR (quad + center)175 * 5: FL FR LFE BL BR (4.1 surround)
176 * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR)176 * 6: FL FR FC LFE SL SR (5.1 surround - last two can also be BL BR)
177 * 7: FL FR FC LFE BC SL SR (6.1 surround)177 * 7: FL FR FC LFE BC SL SR (6.1 surround)
178 * 8: FL FR FC LFE BL BR SL SR (7.1 surround)178 * 8: FL FR FC LFE BL BR SL SR (7.1 surround)
@@ -487,6 +487,7 @@ extern DECLSPEC int SDLCALL SDL_GetNumAudioDevices(int iscapture); · 308 unmodified lines
487 * \since This function is available since SDL 2.0.0.487 * \since This function is available since SDL 2.0.0.
488 *488 *
489 * \sa SDL_GetNumAudioDevices489 * \sa SDL_GetNumAudioDevices
490 * \sa SDL_GetDefaultAudioInfo
490 */491 */
491extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,492extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index,
492 int iscapture);493 int iscapture);
@@ -500,9 +501,7 @@ extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index, · 7 unmodified lines
500 * hardware.501 * hardware.
501 *502 *
502 * `spec` will be filled with the sample rate, sample format, and channel503 * `spec` will be filled with the sample rate, sample format, and channel
503 * count. All other values in the structure are filled with 0. When the504 * count.
504 * supported struct members are 0, SDL was unable to get the property from the
505 * backend.
506 *505 *
507 * \param index the index of the audio device; valid values range from 0 to506 * \param index the index of the audio device; valid values range from 0 to
508 * SDL_GetNumAudioDevices() - 1507 * SDL_GetNumAudioDevices() - 1
@@ -514,12 +513,48 @@ extern DECLSPEC const char *SDLCALL SDL_GetAudioDeviceName(int index, · 5 unmodified lines
514 * \since This function is available since SDL 2.0.16.513 * \since This function is available since SDL 2.0.16.
515 *514 *
516 * \sa SDL_GetNumAudioDevices515 * \sa SDL_GetNumAudioDevices
516 * \sa SDL_GetDefaultAudioInfo
517 */517 */
518extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,518extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index,
519 int iscapture,519 int iscapture,
520 SDL_AudioSpec *spec);520 SDL_AudioSpec *spec);
521 521
522 522
523/**
524 * Get the name and preferred format of the default audio device.
525 *
526 * Some (but not all!) platforms have an isolated mechanism to get information
527 * about the "default" device. This can actually be a completely different
528 * device that's not in the list you get from SDL_GetAudioDeviceSpec(). It can
529 * even be a network address! (This is discussed in SDL_OpenAudioDevice().)
530 *
531 * As a result, this call is not guaranteed to be performant, as it can query
532 * the sound server directly every time, unlike the other query functions. You
533 * should call this function sparingly!
534 *
535 * `spec` will be filled with the sample rate, sample format, and channel
536 * count, if a default device exists on the system. If `name` is provided,
537 * will be filled with either a dynamically-allocated UTF-8 string or NULL.
538 *
539 * \param name A pointer to be filled with the name of the default device (can
540 * be NULL). Please call SDL_free() when you are done with this
541 * pointer!
542 * \param spec The SDL_AudioSpec to be initialized by this function.
543 * \param iscapture non-zero to query the default recording device, zero to
544 * query the default output device.
545 * \returns 0 on success, nonzero on error
546 *
547 * \since This function is available since SDL 2.24.0.
548 *
549 * \sa SDL_GetAudioDeviceName
550 * \sa SDL_GetAudioDeviceSpec
551 * \sa SDL_OpenAudioDevice
552 */
553extern DECLSPEC int SDLCALL SDL_GetDefaultAudioInfo(char **name,
554 SDL_AudioSpec *spec,
555 int iscapture);
556
557
523/**558/**
524 * Open a specific audio device.559 * Open a specific audio device.
525 *560 *
@@ -586,6 +621,7 @@ extern DECLSPEC int SDLCALL SDL_GetAudioDeviceSpec(int index, · 60 unmodified lines
586 * - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`621 * - `SDL_AUDIO_ALLOW_FREQUENCY_CHANGE`
587 * - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`622 * - `SDL_AUDIO_ALLOW_FORMAT_CHANGE`
588 * - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`623 * - `SDL_AUDIO_ALLOW_CHANNELS_CHANGE`
624 * - `SDL_AUDIO_ALLOW_SAMPLES_CHANGE`
589 * - `SDL_AUDIO_ALLOW_ANY_CHANGE`625 * - `SDL_AUDIO_ALLOW_ANY_CHANGE`
590 *626 *
591 * These flags specify how SDL should behave when a device cannot offer a627 * These flags specify how SDL should behave when a device cannot offer a
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_blendmode.h+4−6
@@ -67,9 +67,8 @@ typedef enum · 66 unmodified lines
67 SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */67 SDL_BLENDOPERATION_ADD = 0x1, /**< dst + src: supported by all renderers */
68 SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */68 SDL_BLENDOPERATION_SUBTRACT = 0x2, /**< dst - src : supported by D3D9, D3D11, OpenGL, OpenGLES */
69 SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */69 SDL_BLENDOPERATION_REV_SUBTRACT = 0x3, /**< src - dst : supported by D3D9, D3D11, OpenGL, OpenGLES */
70 SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D11 */70 SDL_BLENDOPERATION_MINIMUM = 0x4, /**< min(dst, src) : supported by D3D9, D3D11 */
71 SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D11 */71 SDL_BLENDOPERATION_MAXIMUM = 0x5 /**< max(dst, src) : supported by D3D9, D3D11 */
72
73} SDL_BlendOperation;72} SDL_BlendOperation;
74 73
75/**74/**
@@ -87,7 +86,6 @@ typedef enum · 11 unmodified lines
87 SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */86 SDL_BLENDFACTOR_ONE_MINUS_DST_COLOR = 0x8, /**< 1-dstR, 1-dstG, 1-dstB, 1-dstA */
88 SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */87 SDL_BLENDFACTOR_DST_ALPHA = 0x9, /**< dstA, dstA, dstA, dstA */
89 SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */88 SDL_BLENDFACTOR_ONE_MINUS_DST_ALPHA = 0xA /**< 1-dstA, 1-dstA, 1-dstA, 1-dstA */
90
91} SDL_BlendFactor;89} SDL_BlendFactor;
92 90
93/**91/**
@@ -135,10 +133,10 @@ typedef enum · 41 unmodified lines
135 * SDL 2.0.6. All renderers support the four blend modes listed in the133 * SDL 2.0.6. All renderers support the four blend modes listed in the
136 * SDL_BlendMode enumeration.134 * SDL_BlendMode enumeration.
137 *135 *
138 * - **direct3d**: Supports `SDL_BLENDOPERATION_ADD` with all factors.136 * - **direct3d**: Supports all operations with all factors. However, some
139 * - **direct3d11**: Supports all operations with all factors. However, some
140 * factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and137 * factors produce unexpected results with `SDL_BLENDOPERATION_MINIMUM` and
141 * `SDL_BLENDOPERATION_MAXIMUM`.138 * `SDL_BLENDOPERATION_MAXIMUM`.
139 * - **direct3d11**: Same as Direct3D 9.
142 * - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all140 * - **opengl**: Supports the `SDL_BLENDOPERATION_ADD` operation with all
143 * factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL141 * factors. OpenGL versions 1.1, 1.2, and 1.3 do not work correctly with SDL
144 * 2.0.6.142 * 2.0.6.
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_clipboard.h+47−0
@@ -82,6 +82,53 @@ extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void); · 81 unmodified lines
82 */82 */
83extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);83extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void);
84 84
85/**
86 * Put UTF-8 text into the primary selection.
87 *
88 * \param text the text to store in the primary selection
89 * \returns 0 on success or a negative error code on failure; call
90 * SDL_GetError() for more information.
91 *
92 * \since This function is available since SDL 2.26.0.
93 *
94 * \sa SDL_GetPrimarySelectionText
95 * \sa SDL_HasPrimarySelectionText
96 */
97extern DECLSPEC int SDLCALL SDL_SetPrimarySelectionText(const char *text);
98
99/**
100 * Get UTF-8 text from the primary selection, which must be freed with
101 * SDL_free().
102 *
103 * This functions returns empty string if there was not enough memory left for
104 * a copy of the primary selection's content.
105 *
106 * \returns the primary selection text on success or an empty string on
107 * failure; call SDL_GetError() for more information. Caller must
108 * call SDL_free() on the returned pointer when done with it (even if
109 * there was an error).
110 *
111 * \since This function is available since SDL 2.26.0.
112 *
113 * \sa SDL_HasPrimarySelectionText
114 * \sa SDL_SetPrimarySelectionText
115 */
116extern DECLSPEC char * SDLCALL SDL_GetPrimarySelectionText(void);
117
118/**
119 * Query whether the primary selection exists and contains a non-empty text
120 * string.
121 *
122 * \returns SDL_TRUE if the primary selection has text, or SDL_FALSE if it
123 * does not.
124 *
125 * \since This function is available since SDL 2.26.0.
126 *
127 * \sa SDL_GetPrimarySelectionText
128 * \sa SDL_SetPrimarySelectionText
129 */
130extern DECLSPEC SDL_bool SDLCALL SDL_HasPrimarySelectionText(void);
131
85 132
86/* Ends C function definitions when using C++ */133/* Ends C function definitions when using C++ */
87#ifdef __cplusplus134#ifdef __cplusplus
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_config.h+72−46
@@ -38,12 +38,23 @@ · 37 unmodified lines
38#include <winsdkver.h>38#include <winsdkver.h>
39#endif39#endif
40 40
41/* sdkddkver.h defines more specific SDK version numbers. This is needed because older versions of the
42 * Windows 10 SDK have broken declarations for the C API for DirectX 12. */
43#if !defined(HAVE_SDKDDKVER_H) && defined(__has_include)
44#if __has_include(<sdkddkver.h>)
45#define HAVE_SDKDDKVER_H 1
46#endif
47#endif
48
49#ifdef HAVE_SDKDDKVER_H
50#include <sdkddkver.h>
51#endif
52
41/* This is a set of defines to configure the SDL features */53/* This is a set of defines to configure the SDL features */
42 54
43#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)55#if !defined(HAVE_STDINT_H) && !defined(_STDINT_H_)
44#if defined(__GNUC__) || defined(__DMC__) || defined(__WATCOMC__) || defined(__clang__) || defined(__BORLANDC__) || defined(__CODEGEARC__)56/* Most everything except Visual Studio 2008 and earlier has stdint.h now */
45#define HAVE_STDINT_H 157#if defined(_MSC_VER) && (_MSC_VER < 1600)
46#elif defined(_MSC_VER)
47typedef signed __int8 int8_t;58typedef signed __int8 int8_t;
48typedef unsigned __int8 uint8_t;59typedef unsigned __int8 uint8_t;
49typedef signed __int16 int16_t;60typedef signed __int16 int16_t;
@@ -60,28 +71,9 @@ typedef unsigned int uintptr_t; · 10 unmodified lines
60#endif71#endif
61#define _UINTPTR_T_DEFINED72#define _UINTPTR_T_DEFINED
62#endif73#endif
63/* Older Visual C++ headers don't have the Win64-compatible typedefs... */74#else
64#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))75#define HAVE_STDINT_H 1
65#define DWORD_PTR DWORD76#endif /* Visual Studio 2008 */
66#endif
67#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
68#define LONG_PTR LONG
69#endif
70#else /* !__GNUC__ && !_MSC_VER */
71typedef signed char int8_t;
72typedef unsigned char uint8_t;
73typedef signed short int16_t;
74typedef unsigned short uint16_t;
75typedef signed int int32_t;
76typedef unsigned int uint32_t;
77typedef signed long long int64_t;
78typedef unsigned long long uint64_t;
79#ifndef _SIZE_T_DEFINED_
80#define _SIZE_T_DEFINED_
81typedef unsigned int size_t;
82#endif
83typedef unsigned int uintptr_t;
84#endif /* __GNUC__ || _MSC_VER */
85#endif /* !_STDINT_H_ && !HAVE_STDINT_H */77#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
86 78
87#ifdef _WIN6479#ifdef _WIN64
@@ -90,9 +82,14 @@ typedef unsigned int uintptr_t; · 2 unmodified lines
90# define SIZEOF_VOIDP 482# define SIZEOF_VOIDP 4
91#endif83#endif
92 84
85#ifdef __clang__
86# define HAVE_GCC_ATOMICS 1
87#endif
88
93#define HAVE_DDRAW_H 189#define HAVE_DDRAW_H 1
94#define HAVE_DINPUT_H 190#define HAVE_DINPUT_H 1
95#define HAVE_DSOUND_H 191#define HAVE_DSOUND_H 1
92#ifndef __WATCOMC__
96#define HAVE_DXGI_H 193#define HAVE_DXGI_H 1
97#define HAVE_XINPUT_H 194#define HAVE_XINPUT_H 1
98#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */95#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0A00 /* Windows 10 SDK */
@@ -100,11 +97,19 @@ typedef unsigned int uintptr_t; · 1 unmodified line
100#endif97#endif
101#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */98#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0602 /* Windows 8 SDK */
102#define HAVE_D3D11_H 199#define HAVE_D3D11_H 1
100#define HAVE_ROAPI_H 1
101#endif
102#if defined(WDK_NTDDI_VERSION) && WDK_NTDDI_VERSION > 0x0A000008 /* 10.0.19041.0 */
103#define HAVE_D3D12_H 1
104#endif
105#if defined(_WIN32_MAXVER) && _WIN32_MAXVER >= 0x0603 /* Windows 8.1 SDK */
106#define HAVE_SHELLSCALINGAPI_H 1
103#endif107#endif
104#define HAVE_MMDEVICEAPI_H 1108#define HAVE_MMDEVICEAPI_H 1
105#define HAVE_AUDIOCLIENT_H 1109#define HAVE_AUDIOCLIENT_H 1
106#define HAVE_TPCSHRD_H 1110#define HAVE_TPCSHRD_H 1
107#define HAVE_SENSORSAPI_H 1111#define HAVE_SENSORSAPI_H 1
112#endif
108#if (defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)) && (defined(_MSC_VER) && _MSC_VER >= 1600)113#if (defined(_M_IX86) || defined(_M_X64) || defined(_M_AMD64)) && (defined(_MSC_VER) && _MSC_VER >= 1600)
109#define HAVE_IMMINTRIN_H 1114#define HAVE_IMMINTRIN_H 1
110#elif defined(__has_include) && (defined(__i386__) || defined(__x86_64))115#elif defined(__has_include) && (defined(__i386__) || defined(__x86_64))
@@ -131,7 +136,11 @@ typedef unsigned int uintptr_t; · 20 unmodified lines
131#define HAVE_REALLOC 1136#define HAVE_REALLOC 1
132#define HAVE_FREE 1137#define HAVE_FREE 1
133#define HAVE_ALLOCA 1138#define HAVE_ALLOCA 1
139/* OpenWatcom requires specific calling conventions for qsort and bsearch */
140#ifndef __WATCOMC__
134#define HAVE_QSORT 1141#define HAVE_QSORT 1
142#define HAVE_BSEARCH 1
143#endif
135#define HAVE_ABS 1144#define HAVE_ABS 1
136#define HAVE_MEMSET 1145#define HAVE_MEMSET 1
137#define HAVE_MEMCPY 1146#define HAVE_MEMCPY 1
@@ -162,37 +171,40 @@ typedef unsigned int uintptr_t; · 24 unmodified lines
162#define HAVE__WCSNICMP 1171#define HAVE__WCSNICMP 1
163#define HAVE__WCSDUP 1172#define HAVE__WCSDUP 1
164#define HAVE_ACOS 1173#define HAVE_ACOS 1
165#define HAVE_ACOSF 1
166#define HAVE_ASIN 1174#define HAVE_ASIN 1
167#define HAVE_ASINF 1
168#define HAVE_ATAN 1175#define HAVE_ATAN 1
169#define HAVE_ATANF 1
170#define HAVE_ATAN2 1176#define HAVE_ATAN2 1
177#define HAVE_CEIL 1
178#define HAVE_COS 1
179#define HAVE_EXP 1
180#define HAVE_FABS 1
181#define HAVE_FLOOR 1
182#define HAVE_FMOD 1
183#define HAVE_LOG 1
184#define HAVE_LOG10 1
185#define HAVE_POW 1
186#define HAVE_SIN 1
187#define HAVE_SQRT 1
188#define HAVE_TAN 1
189#ifndef __WATCOMC__
190#define HAVE_ACOSF 1
191#define HAVE_ASINF 1
192#define HAVE_ATANF 1
171#define HAVE_ATAN2F 1193#define HAVE_ATAN2F 1
172#define HAVE_CEILF 1194#define HAVE_CEILF 1
173#define HAVE__COPYSIGN 1195#define HAVE__COPYSIGN 1
174#define HAVE_COS 1
175#define HAVE_COSF 1196#define HAVE_COSF 1
176#define HAVE_EXP 1
177#define HAVE_EXPF 1197#define HAVE_EXPF 1
178#define HAVE_FABS 1
179#define HAVE_FABSF 1198#define HAVE_FABSF 1
180#define HAVE_FLOOR 1
181#define HAVE_FLOORF 1199#define HAVE_FLOORF 1
182#define HAVE_FMOD 1
183#define HAVE_FMODF 1200#define HAVE_FMODF 1
184#define HAVE_LOG 1
185#define HAVE_LOGF 1201#define HAVE_LOGF 1
186#define HAVE_LOG10 1
187#define HAVE_LOG10F 1202#define HAVE_LOG10F 1
188#define HAVE_POW 1
189#define HAVE_POWF 1203#define HAVE_POWF 1
190#define HAVE_SIN 1
191#define HAVE_SINF 1204#define HAVE_SINF 1
192#define HAVE_SQRT 1
193#define HAVE_SQRTF 1205#define HAVE_SQRTF 1
194#define HAVE_TAN 1
195#define HAVE_TANF 1206#define HAVE_TANF 1
207#endif
196#if defined(_MSC_VER)208#if defined(_MSC_VER)
197/* These functions were added with the VC++ 2013 C runtime library */209/* These functions were added with the VC++ 2013 C runtime library */
198#if _MSC_VER >= 1800210#if _MSC_VER >= 1800
@@ -212,8 +224,18 @@ typedef unsigned int uintptr_t; · 13 unmodified lines
212#if _MSC_VER >= 1400224#if _MSC_VER >= 1400
213#define HAVE__FSEEKI64 1225#define HAVE__FSEEKI64 1
214#endif226#endif
227#ifdef _USE_MATH_DEFINES
228#define HAVE_M_PI 1
215#endif229#endif
216#if !defined(_MSC_VER) || defined(_USE_MATH_DEFINES)230#elif defined(__WATCOMC__)
231#define HAVE__FSEEKI64 1
232#define HAVE_STRTOLL 1
233#define HAVE_STRTOULL 1
234#define HAVE_VSSCANF 1
235#define HAVE_ROUND 1
236#define HAVE_SCALBN 1
237#define HAVE_TRUNC 1
238#else
217#define HAVE_M_PI 1239#define HAVE_M_PI 1
218#endif240#endif
219#else241#else
@@ -222,7 +244,9 @@ typedef unsigned int uintptr_t; · 2 unmodified lines
222#endif244#endif
223 245
224/* Enable various audio drivers */246/* Enable various audio drivers */
247#if defined(HAVE_MMDEVICEAPI_H) && defined(HAVE_AUDIOCLIENT_H)
225#define SDL_AUDIO_DRIVER_WASAPI 1248#define SDL_AUDIO_DRIVER_WASAPI 1
249#endif
226#define SDL_AUDIO_DRIVER_DSOUND 1250#define SDL_AUDIO_DRIVER_DSOUND 1
227#define SDL_AUDIO_DRIVER_WINMM 1251#define SDL_AUDIO_DRIVER_WINMM 1
228#define SDL_AUDIO_DRIVER_DISK 1252#define SDL_AUDIO_DRIVER_DISK 1
@@ -243,7 +267,11 @@ typedef unsigned int uintptr_t; · 14 unmodified lines
243#define SDL_HAPTIC_XINPUT 1267#define SDL_HAPTIC_XINPUT 1
244 268
245/* Enable the sensor driver */269/* Enable the sensor driver */
270#ifdef HAVE_SENSORSAPI_H
246#define SDL_SENSOR_WINDOWS 1271#define SDL_SENSOR_WINDOWS 1
272#else
273#define SDL_SENSOR_DUMMY 1
274#endif
247 275
248/* Enable various shared object loading systems */276/* Enable various shared object loading systems */
249#define SDL_LOADSO_WINDOWS 1277#define SDL_LOADSO_WINDOWS 1
@@ -265,6 +293,9 @@ typedef unsigned int uintptr_t; · 15 unmodified lines
265#if !defined(SDL_VIDEO_RENDER_D3D11) && defined(HAVE_D3D11_H)293#if !defined(SDL_VIDEO_RENDER_D3D11) && defined(HAVE_D3D11_H)
266#define SDL_VIDEO_RENDER_D3D11 1294#define SDL_VIDEO_RENDER_D3D11 1
267#endif295#endif
296#if !defined(SDL_VIDEO_RENDER_D3D12) && defined(HAVE_D3D12_H)
297#define SDL_VIDEO_RENDER_D3D12 1
298#endif
268 299
269/* Enable OpenGL support */300/* Enable OpenGL support */
270#ifndef SDL_VIDEO_OPENGL301#ifndef SDL_VIDEO_OPENGL
@@ -295,11 +326,6 @@ typedef unsigned int uintptr_t; · 24 unmodified lines
295/* Enable filesystem support */326/* Enable filesystem support */
296#define SDL_FILESYSTEM_WINDOWS 1327#define SDL_FILESYSTEM_WINDOWS 1
297 328
298/* Enable assembly routines (Win64 doesn't have inline asm) */
299#ifndef _WIN64
300#define SDL_ASSEMBLY_ROUTINES 1
301#endif
302
303#endif /* SDL_config_windows_h_ */329#endif /* SDL_config_windows_h_ */
304 330
305/* vi: set ts=4 sw=4 expandtab: */331/* vi: set ts=4 sw=4 expandtab: */
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_cpuinfo.h+39−4
@@ -79,7 +79,7 @@ _m_prefetch(void *__P) · 78 unmodified lines
79#if !defined(SDL_DISABLE_ARM_NEON_H)79#if !defined(SDL_DISABLE_ARM_NEON_H)
80# if defined(__ARM_NEON)80# if defined(__ARM_NEON)
81# include <arm_neon.h>81# include <arm_neon.h>
82# elif defined(__WINDOWS__) || defined(__WINRT__)82# elif defined(__WINDOWS__) || defined(__WINRT__) || defined(__GDK__)
83/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */83/* Visual Studio doesn't define __ARM_ARCH, but _M_ARM (if set, always 7), and _M_ARM64 (if set, always 1). */
84# if defined(_M_ARM)84# if defined(_M_ARM)
85# include <armintr.h>85# include <armintr.h>
@@ -90,6 +90,7 @@ _m_prefetch(void *__P) · 4 unmodified lines
90# include <arm64intr.h>90# include <arm64intr.h>
91# include <arm64_neon.h>91# include <arm64_neon.h>
92# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */92# define __ARM_NEON 1 /* Set __ARM_NEON so that it can be used elsewhere, at compile time */
93# define __ARM_ARCH 8
93# endif94# endif
94# endif95# endif
95#endif96#endif
@@ -98,6 +99,14 @@ _m_prefetch(void *__P) · 2 unmodified lines
98#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)99#if defined(__3dNOW__) && !defined(SDL_DISABLE_MM3DNOW_H)
99#include <mm3dnow.h>100#include <mm3dnow.h>
100#endif101#endif
102#if defined(__loongarch_sx) && !defined(SDL_DISABLE_LSX_H)
103#include <lsxintrin.h>
104#define __LSX__
105#endif
106#if defined(__loongarch_asx) && !defined(SDL_DISABLE_LASX_H)
107#include <lasxintrin.h>
108#define __LASX__
109#endif
101#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)110#if defined(HAVE_IMMINTRIN_H) && !defined(SDL_DISABLE_IMMINTRIN_H)
102#include <immintrin.h>111#include <immintrin.h>
103#else112#else
@@ -433,10 +442,36 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasARMSIMD(void); · 329 unmodified lines
433 */442 */
434extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);443extern DECLSPEC SDL_bool SDLCALL SDL_HasNEON(void);
435 444
445/**
446 * Determine whether the CPU has LSX (LOONGARCH SIMD) features.
447 *
448 * This always returns false on CPUs that aren't using LOONGARCH instruction
449 * sets.
450 *
451 * \returns SDL_TRUE if the CPU has LOONGARCH LSX features or SDL_FALSE if
452 * not.
453 *
454 * \since This function is available since SDL 2.24.0.
455 */
456extern DECLSPEC SDL_bool SDLCALL SDL_HasLSX(void);
457
458/**
459 * Determine whether the CPU has LASX (LOONGARCH SIMD) features.
460 *
461 * This always returns false on CPUs that aren't using LOONGARCH instruction
462 * sets.
463 *
464 * \returns SDL_TRUE if the CPU has LOONGARCH LASX features or SDL_FALSE if
465 * not.
466 *
467 * \since This function is available since SDL 2.24.0.
468 */
469extern DECLSPEC SDL_bool SDLCALL SDL_HasLASX(void);
470
436/**471/**
437 * Get the amount of RAM configured in the system.472 * Get the amount of RAM configured in the system.
438 *473 *
439 * \returns the amount of RAM configured in the system in MB.474 * \returns the amount of RAM configured in the system in MiB.
440 *475 *
441 * \since This function is available since SDL 2.0.1.476 * \since This function is available since SDL 2.0.1.
442 */477 */
@@ -494,7 +529,7 @@ extern DECLSPEC size_t SDLCALL SDL_SIMDGetAlignment(void); · 51 unmodified lines
494 *529 *
495 * \since This function is available since SDL 2.0.10.530 * \since This function is available since SDL 2.0.10.
496 *531 *
497 * \sa SDL_SIMDAlignment532 * \sa SDL_SIMDGetAlignment
498 * \sa SDL_SIMDRealloc533 * \sa SDL_SIMDRealloc
499 * \sa SDL_SIMDFree534 * \sa SDL_SIMDFree
500 */535 */
@@ -518,7 +553,7 @@ extern DECLSPEC void * SDLCALL SDL_SIMDAlloc(const size_t len); · 17 unmodified lines
518 *553 *
519 * \since This function is available since SDL 2.0.14.554 * \since This function is available since SDL 2.0.14.
520 *555 *
521 * \sa SDL_SIMDAlignment556 * \sa SDL_SIMDGetAlignment
522 * \sa SDL_SIMDAlloc557 * \sa SDL_SIMDAlloc
523 * \sa SDL_SIMDFree558 * \sa SDL_SIMDFree
524 */559 */
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_egl.h+59−9
@@ -192,6 +192,20 @@ typedef int64_t khronos_int64_t; · 191 unmodified lines
192typedef uint64_t khronos_uint64_t;192typedef uint64_t khronos_uint64_t;
193#define KHRONOS_SUPPORT_INT64 1193#define KHRONOS_SUPPORT_INT64 1
194#define KHRONOS_SUPPORT_FLOAT 1194#define KHRONOS_SUPPORT_FLOAT 1
195/*
196 * To support platform where unsigned long cannot be used interchangeably with
197 * inptr_t (e.g. CHERI-extended ISAs), we can use the stdint.h intptr_t.
198 * Ideally, we could just use (u)intptr_t everywhere, but this could result in
199 * ABI breakage if khronos_uintptr_t is changed from unsigned long to
200 * unsigned long long or similar (this results in different C++ name mangling).
201 * To avoid changes for existing platforms, we restrict usage of intptr_t to
202 * platforms where the size of a pointer is larger than the size of long.
203 */
204#if defined(__SIZEOF_LONG__) && defined(__SIZEOF_POINTER__)
205#if __SIZEOF_POINTER__ > __SIZEOF_LONG__
206#define KHRONOS_USE_INTPTR_T
207#endif
208#endif
195 209
196#elif defined(__VMS ) || defined(__sgi)210#elif defined(__VMS ) || defined(__sgi)
197 211
@@ -274,14 +288,21 @@ typedef unsigned short int khronos_uint16_t; · 76 unmodified lines
274 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears288 * pointers are 64 bits, but 'long' is still 32 bits. Win64 appears
275 * to be the only LLP64 architecture in current use.289 * to be the only LLP64 architecture in current use.
276 */290 */
277#ifdef _WIN64291#ifdef KHRONOS_USE_INTPTR_T
292typedef intptr_t khronos_intptr_t;
293typedef uintptr_t khronos_uintptr_t;
294#elif defined(_WIN64)
278typedef signed long long int khronos_intptr_t;295typedef signed long long int khronos_intptr_t;
279typedef unsigned long long int khronos_uintptr_t;296typedef unsigned long long int khronos_uintptr_t;
280typedef signed long long int khronos_ssize_t;
281typedef unsigned long long int khronos_usize_t;
282#else297#else
283typedef signed long int khronos_intptr_t;298typedef signed long int khronos_intptr_t;
284typedef unsigned long int khronos_uintptr_t;299typedef unsigned long int khronos_uintptr_t;
300#endif
301
302#if defined(_WIN64)
303typedef signed long long int khronos_ssize_t;
304typedef unsigned long long int khronos_usize_t;
305#else
285typedef signed long int khronos_ssize_t;306typedef signed long int khronos_ssize_t;
286typedef unsigned long int khronos_usize_t;307typedef unsigned long int khronos_usize_t;
287#endif308#endif
@@ -516,7 +537,7 @@ extern "C" { · 228 unmodified lines
516** used to make the header, and the header can be found at537** used to make the header, and the header can be found at
517** http://www.khronos.org/registry/egl538** http://www.khronos.org/registry/egl
518**539**
519** Khronos $Git commit SHA1: b35e89ca9a $ on $Git commit date: 2021-09-01 09:34:00 +0530 $540** Khronos $Git commit SHA1: 6fb1daea15 $ on $Git commit date: 2022-05-25 09:41:13 -0600 $
520*/541*/
521 542
522/*#include <EGL/eglplatform.h>*/543/*#include <EGL/eglplatform.h>*/
@@ -525,7 +546,7 @@ extern "C" { · 2 unmodified lines
525#define EGL_EGL_PROTOTYPES 1546#define EGL_EGL_PROTOTYPES 1
526#endif547#endif
527 548
528/* Generated on date 20210901 */549/* Generated on date 20220525 */
529 550
530/* Generated C header for:551/* Generated C header for:
531 * API: egl552 * API: egl
@@ -860,12 +881,12 @@ extern "C" { · 328 unmodified lines
860** used to make the header, and the header can be found at881** used to make the header, and the header can be found at
861** http://www.khronos.org/registry/egl882** http://www.khronos.org/registry/egl
862**883**
863** Khronos $Git commit SHA1: b35e89ca9a $ on $Git commit date: 2021-09-01 09:34:00 +0530 $884** Khronos $Git commit SHA1: 6fb1daea15 $ on $Git commit date: 2022-05-25 09:41:13 -0600 $
864*/885*/
865 886
866/*#include <EGL/eglplatform.h>*/887/*#include <EGL/eglplatform.h>*/
867 888
868#define EGL_EGLEXT_VERSION 20210901889#define EGL_EGLEXT_VERSION 20220525
869 890
870/* Generated C header for:891/* Generated C header for:
871 * API: egl892 * API: egl
@@ -1569,6 +1590,10 @@ EGLAPI EGLBoolean EGLAPIENTRY eglQueryDeviceBinaryEXT (EGLDeviceEXT device, EGLi · 697 unmodified lines
1569#define EGL_RENDERER_EXT 0x335F1590#define EGL_RENDERER_EXT 0x335F
1570#endif /* EGL_EXT_device_query_name */1591#endif /* EGL_EXT_device_query_name */
1571 1592
1593#ifndef EGL_EXT_explicit_device
1594#define EGL_EXT_explicit_device 1
1595#endif /* EGL_EXT_explicit_device */
1596
1572#ifndef EGL_EXT_gl_colorspace_bt2020_linear1597#ifndef EGL_EXT_gl_colorspace_bt2020_linear
1573#define EGL_EXT_gl_colorspace_bt2020_linear 11598#define EGL_EXT_gl_colorspace_bt2020_linear 1
1574#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F1599#define EGL_GL_COLORSPACE_BT2020_LINEAR_EXT 0x333F
@@ -1794,6 +1819,31 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerOutputEXT (EGLDisplay dpy, EGLStr · 219 unmodified lines
1794#define EGL_METADATA_SCALING_EXT 500001819#define EGL_METADATA_SCALING_EXT 50000
1795#endif /* EGL_EXT_surface_SMPTE2086_metadata */1820#endif /* EGL_EXT_surface_SMPTE2086_metadata */
1796 1821
1822#ifndef EGL_EXT_surface_compression
1823#define EGL_EXT_surface_compression 1
1824#define EGL_SURFACE_COMPRESSION_EXT 0x34B0
1825#define EGL_SURFACE_COMPRESSION_PLANE1_EXT 0x328E
1826#define EGL_SURFACE_COMPRESSION_PLANE2_EXT 0x328F
1827#define EGL_SURFACE_COMPRESSION_FIXED_RATE_NONE_EXT 0x34B1
1828#define EGL_SURFACE_COMPRESSION_FIXED_RATE_DEFAULT_EXT 0x34B2
1829#define EGL_SURFACE_COMPRESSION_FIXED_RATE_1BPC_EXT 0x34B4
1830#define EGL_SURFACE_COMPRESSION_FIXED_RATE_2BPC_EXT 0x34B5
1831#define EGL_SURFACE_COMPRESSION_FIXED_RATE_3BPC_EXT 0x34B6
1832#define EGL_SURFACE_COMPRESSION_FIXED_RATE_4BPC_EXT 0x34B7
1833#define EGL_SURFACE_COMPRESSION_FIXED_RATE_5BPC_EXT 0x34B8
1834#define EGL_SURFACE_COMPRESSION_FIXED_RATE_6BPC_EXT 0x34B9
1835#define EGL_SURFACE_COMPRESSION_FIXED_RATE_7BPC_EXT 0x34BA
1836#define EGL_SURFACE_COMPRESSION_FIXED_RATE_8BPC_EXT 0x34BB
1837#define EGL_SURFACE_COMPRESSION_FIXED_RATE_9BPC_EXT 0x34BC
1838#define EGL_SURFACE_COMPRESSION_FIXED_RATE_10BPC_EXT 0x34BD
1839#define EGL_SURFACE_COMPRESSION_FIXED_RATE_11BPC_EXT 0x34BE
1840#define EGL_SURFACE_COMPRESSION_FIXED_RATE_12BPC_EXT 0x34BF
1841typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYSUPPORTEDCOMPRESSIONRATESEXTPROC) (EGLDisplay dpy, EGLConfig config, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
1842#ifdef EGL_EGLEXT_PROTOTYPES
1843EGLAPI EGLBoolean EGLAPIENTRY eglQuerySupportedCompressionRatesEXT (EGLDisplay dpy, EGLConfig config, const EGLAttrib *attrib_list, EGLint *rates, EGLint rate_size, EGLint *num_rates);
1844#endif
1845#endif /* EGL_EXT_surface_compression */
1846
1797#ifndef EGL_EXT_swap_buffers_with_damage1847#ifndef EGL_EXT_swap_buffers_with_damage
1798#define EGL_EXT_swap_buffers_with_damage 11848#define EGL_EXT_swap_buffers_with_damage 1
1799typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);1849typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC) (EGLDisplay dpy, EGLSurface surface, const EGLint *rects, EGLint n_rects);
@@ -2028,12 +2078,12 @@ EGLAPI EGLBoolean EGLAPIENTRY eglPostSubBufferNV (EGLDisplay dpy, EGLSurface sur · 228 unmodified lines
2028#define EGL_STREAM_IMAGE_ADD_NV 0x33742078#define EGL_STREAM_IMAGE_ADD_NV 0x3374
2029#define EGL_STREAM_IMAGE_REMOVE_NV 0x33752079#define EGL_STREAM_IMAGE_REMOVE_NV 0x3375
2030#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x33762080#define EGL_STREAM_IMAGE_AVAILABLE_NV 0x3376
2031typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list);2081typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMIMAGECONSUMERCONNECTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, const EGLuint64KHR *modifiers, const EGLAttrib *attrib_list);
2032typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);2082typedef EGLint (EGLAPIENTRYP PFNEGLQUERYSTREAMCONSUMEREVENTNVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
2033typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);2083typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMACQUIREIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
2034typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);2084typedef EGLBoolean (EGLAPIENTRYP PFNEGLSTREAMRELEASEIMAGENVPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
2035#ifdef EGL_EGLEXT_PROTOTYPES2085#ifdef EGL_EGLEXT_PROTOTYPES
2036EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, EGLuint64KHR *modifiers, EGLAttrib *attrib_list);2086EGLAPI EGLBoolean EGLAPIENTRY eglStreamImageConsumerConnectNV (EGLDisplay dpy, EGLStreamKHR stream, EGLint num_modifiers, const EGLuint64KHR *modifiers, const EGLAttrib *attrib_list);
2037EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);2087EGLAPI EGLint EGLAPIENTRY eglQueryStreamConsumerEventNV (EGLDisplay dpy, EGLStreamKHR stream, EGLTime timeout, EGLenum *event, EGLAttrib *aux);
2038EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);2088EGLAPI EGLBoolean EGLAPIENTRY eglStreamAcquireImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage *pImage, EGLSync sync);
2039EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);2089EGLAPI EGLBoolean EGLAPIENTRY eglStreamReleaseImageNV (EGLDisplay dpy, EGLStreamKHR stream, EGLImage image, EGLSync sync);
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_endian.h+34−3
@@ -39,7 +39,7 @@ · 38 unmodified lines
39static __inline__ void __attribute__((__always_inline__, __nodebug__))39static __inline__ void __attribute__((__always_inline__, __nodebug__))
40_m_prefetch(void *__P)40_m_prefetch(void *__P)
41{41{
42 __builtin_prefetch (__P, 0, 3 /* _MM_HINT_T0 */);42 __builtin_prefetch(__P, 0, 3 /* _MM_HINT_T0 */);
43}43}
44#endif /* __PRFCHWINTRIN_H */44#endif /* __PRFCHWINTRIN_H */
45#endif /* __clang__ */45#endif /* __clang__ */
@@ -59,17 +59,26 @@ _m_prefetch(void *__P) · 13 unmodified lines
59#ifdef __linux__59#ifdef __linux__
60#include <endian.h>60#include <endian.h>
61#define SDL_BYTEORDER __BYTE_ORDER61#define SDL_BYTEORDER __BYTE_ORDER
62#elif defined(__OpenBSD__)62#elif defined(__OpenBSD__) || defined(__DragonFly__)
63#include <endian.h>63#include <endian.h>
64#define SDL_BYTEORDER BYTE_ORDER64#define SDL_BYTEORDER BYTE_ORDER
65#elif defined(__FreeBSD__) || defined(__NetBSD__)65#elif defined(__FreeBSD__) || defined(__NetBSD__)
66#include <sys/endian.h>66#include <sys/endian.h>
67#define SDL_BYTEORDER BYTE_ORDER67#define SDL_BYTEORDER BYTE_ORDER
68/* predefs from newer gcc and clang versions: */
69#elif defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__BYTE_ORDER__)
70#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
71#define SDL_BYTEORDER SDL_LIL_ENDIAN
72#elif (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
73#define SDL_BYTEORDER SDL_BIG_ENDIAN
74#else
75#error Unsupported endianness
76#endif /**/
68#else77#else
69#if defined(__hppa__) || \78#if defined(__hppa__) || \
70 defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \79 defined(__m68k__) || defined(mc68000) || defined(_M_M68K) || \
71 (defined(__MIPS__) && defined(__MIPSEB__)) || \80 (defined(__MIPS__) && defined(__MIPSEB__)) || \
72 defined(__ppc__) || defined(__POWERPC__) || defined(_M_PPC) || \81 defined(__ppc__) || defined(__POWERPC__) || defined(__powerpc__) || defined(__PPC__) || \
73 defined(__sparc__)82 defined(__sparc__)
74#define SDL_BYTEORDER SDL_BIG_ENDIAN83#define SDL_BYTEORDER SDL_BIG_ENDIAN
75#else84#else
@@ -78,6 +87,28 @@ _m_prefetch(void *__P) · 2 unmodified lines
78#endif /* __linux__ */87#endif /* __linux__ */
79#endif /* !SDL_BYTEORDER */88#endif /* !SDL_BYTEORDER */
80 89
90#ifndef SDL_FLOATWORDORDER /* Not defined in SDL_config.h? */
91/* predefs from newer gcc versions: */
92#if defined(__ORDER_LITTLE_ENDIAN__) && defined(__ORDER_BIG_ENDIAN__) && defined(__FLOAT_WORD_ORDER__)
93#if (__FLOAT_WORD_ORDER__ == __ORDER_LITTLE_ENDIAN__)
94#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
95#elif (__FLOAT_WORD_ORDER__ == __ORDER_BIG_ENDIAN__)
96#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
97#else
98#error Unsupported endianness
99#endif /**/
100#elif defined(__MAVERICK__)
101/* For Maverick, float words are always little-endian. */
102#define SDL_FLOATWORDORDER SDL_LIL_ENDIAN
103#elif (defined(__arm__) || defined(__thumb__)) && !defined(__VFP_FP__) && !defined(__ARM_EABI__)
104/* For FPA, float words are always big-endian. */
105#define SDL_FLOATWORDORDER SDL_BIG_ENDIAN
106#else
107/* By default, assume that floats words follow the memory system mode. */
108#define SDL_FLOATWORDORDER SDL_BYTEORDER
109#endif /* __FLOAT_WORD_ORDER__ */
110#endif /* !SDL_FLOATWORDORDER */
111
81 112
82#include "begin_code.h"113#include "begin_code.h"
83/* Set up for C function definitions, even when using C++ */114/* Set up for C function definitions, even when using C++ */
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_events.h+32−1
@@ -102,6 +102,7 @@ typedef enum · 101 unmodified lines
102 SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an102 SDL_KEYMAPCHANGED, /**< Keymap changed due to a system event such as an
103 input language or keyboard layout change.103 input language or keyboard layout change.
104 */104 */
105 SDL_TEXTEDITING_EXT, /**< Extended keyboard text editing (composition) */
105 106
106 /* Mouse events */107 /* Mouse events */
107 SDL_MOUSEMOTION = 0x400, /**< Mouse moved */108 SDL_MOUSEMOTION = 0x400, /**< Mouse moved */
@@ -117,6 +118,7 @@ typedef enum · 9 unmodified lines
117 SDL_JOYBUTTONUP, /**< Joystick button released */118 SDL_JOYBUTTONUP, /**< Joystick button released */
118 SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */119 SDL_JOYDEVICEADDED, /**< A new joystick has been inserted into the system */
119 SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */120 SDL_JOYDEVICEREMOVED, /**< An opened joystick has been removed */
121 SDL_JOYBATTERYUPDATED, /**< Joystick battery level change */
120 122
121 /* Game controller events */123 /* Game controller events */
122 SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */124 SDL_CONTROLLERAXISMOTION = 0x650, /**< Game controller axis motion */
@@ -141,7 +143,7 @@ typedef enum · 18 unmodified lines
141 SDL_MULTIGESTURE,143 SDL_MULTIGESTURE,
142 144
143 /* Clipboard events */145 /* Clipboard events */
144 SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard changed */146 SDL_CLIPBOARDUPDATE = 0x900, /**< The clipboard or primary selection changed */
145 147
146 /* Drag and drop events */148 /* Drag and drop events */
147 SDL_DROPFILE = 0x1000, /**< The system requests a file open */149 SDL_DROPFILE = 0x1000, /**< The system requests a file open */
@@ -243,6 +245,19 @@ typedef struct SDL_TextEditingEvent · 95 unmodified lines
243 Sint32 length; /**< The length of selected editing text */245 Sint32 length; /**< The length of selected editing text */
244} SDL_TextEditingEvent;246} SDL_TextEditingEvent;
245 247
248/**
249 * \brief Extended keyboard text editing event structure (event.editExt.*) when text would be
250 * truncated if stored in the text buffer SDL_TextEditingEvent
251 */
252typedef struct SDL_TextEditingExtEvent
253{
254 Uint32 type; /**< ::SDL_TEXTEDITING_EXT */
255 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
256 Uint32 windowID; /**< The window with keyboard focus, if any */
257 char* text; /**< The editing text, which should be freed with SDL_free(), and will not be NULL */
258 Sint32 start; /**< The start cursor of selected editing text */
259 Sint32 length; /**< The length of selected editing text */
260} SDL_TextEditingExtEvent;
246 261
247#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)262#define SDL_TEXTINPUTEVENT_TEXT_SIZE (32)
248/**263/**
@@ -303,6 +318,8 @@ typedef struct SDL_MouseWheelEvent · 54 unmodified lines
303 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 */318 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 */
304 float preciseX; /**< The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18) */319 float preciseX; /**< The amount scrolled horizontally, positive to the right and negative to the left, with float precision (added in 2.0.18) */
305 float preciseY; /**< The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18) */320 float preciseY; /**< The amount scrolled vertically, positive away from the user and negative toward the user, with float precision (added in 2.0.18) */
321 Sint32 mouseX; /**< X coordinate, relative to window (added in 2.26.0) */
322 Sint32 mouseY; /**< Y coordinate, relative to window (added in 2.26.0) */
306} SDL_MouseWheelEvent;323} SDL_MouseWheelEvent;
307 324
308/**325/**
@@ -381,6 +398,16 @@ typedef struct SDL_JoyDeviceEvent · 72 unmodified lines
381 Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */398 Sint32 which; /**< The joystick device index for the ADDED event, instance id for the REMOVED event */
382} SDL_JoyDeviceEvent;399} SDL_JoyDeviceEvent;
383 400
401/**
402 * \brief Joysick battery level change event structure (event.jbattery.*)
403 */
404typedef struct SDL_JoyBatteryEvent
405{
406 Uint32 type; /**< ::SDL_JOYBATTERYUPDATED */
407 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
408 SDL_JoystickID which; /**< The joystick instance id */
409 SDL_JoystickPowerLevel level; /**< The joystick battery level */
410} SDL_JoyBatteryEvent;
384 411
385/**412/**
386 * \brief Game controller axis motion event structure (event.caxis.*)413 * \brief Game controller axis motion event structure (event.caxis.*)
@@ -449,6 +476,7 @@ typedef struct SDL_ControllerSensorEvent · 62 unmodified lines
449 SDL_JoystickID which; /**< The joystick instance id */476 SDL_JoystickID which; /**< The joystick instance id */
450 Sint32 sensor; /**< The type of the sensor, one of the values of ::SDL_SensorType */477 Sint32 sensor; /**< The type of the sensor, one of the values of ::SDL_SensorType */
451 float data[3]; /**< Up to 3 values from the sensor, as defined in SDL_sensor.h */478 float data[3]; /**< Up to 3 values from the sensor, as defined in SDL_sensor.h */
479 Uint64 timestamp_us; /**< The timestamp of the sensor reading in microseconds, if the hardware provides this information. */
452} SDL_ControllerSensorEvent;480} SDL_ControllerSensorEvent;
453 481
454/**482/**
@@ -540,6 +568,7 @@ typedef struct SDL_SensorEvent · 85 unmodified lines
540 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */568 Uint32 timestamp; /**< In milliseconds, populated using SDL_GetTicks() */
541 Sint32 which; /**< The instance ID of the sensor */569 Sint32 which; /**< The instance ID of the sensor */
542 float data[6]; /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */570 float data[6]; /**< Up to 6 values from the sensor - additional values can be queried using SDL_SensorGetData() */
571 Uint64 timestamp_us; /**< The timestamp of the sensor reading in microseconds, if the hardware provides this information. */
543} SDL_SensorEvent;572} SDL_SensorEvent;
544 573
545/**574/**
@@ -601,6 +630,7 @@ typedef union SDL_Event · 55 unmodified lines
601 SDL_WindowEvent window; /**< Window event data */630 SDL_WindowEvent window; /**< Window event data */
602 SDL_KeyboardEvent key; /**< Keyboard event data */631 SDL_KeyboardEvent key; /**< Keyboard event data */
603 SDL_TextEditingEvent edit; /**< Text editing event data */632 SDL_TextEditingEvent edit; /**< Text editing event data */
633 SDL_TextEditingExtEvent editExt; /**< Extended text editing event data */
604 SDL_TextInputEvent text; /**< Text input event data */634 SDL_TextInputEvent text; /**< Text input event data */
605 SDL_MouseMotionEvent motion; /**< Mouse motion event data */635 SDL_MouseMotionEvent motion; /**< Mouse motion event data */
606 SDL_MouseButtonEvent button; /**< Mouse button event data */636 SDL_MouseButtonEvent button; /**< Mouse button event data */
@@ -610,6 +640,7 @@ typedef union SDL_Event · 3 unmodified lines
610 SDL_JoyHatEvent jhat; /**< Joystick hat event data */640 SDL_JoyHatEvent jhat; /**< Joystick hat event data */
611 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */641 SDL_JoyButtonEvent jbutton; /**< Joystick button event data */
612 SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */642 SDL_JoyDeviceEvent jdevice; /**< Joystick device change event data */
643 SDL_JoyBatteryEvent jbattery; /**< Joystick battery event data */
613 SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */644 SDL_ControllerAxisEvent caxis; /**< Game Controller axis event data */
614 SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */645 SDL_ControllerButtonEvent cbutton; /**< Game Controller button event data */
615 SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */646 SDL_ControllerDeviceEvent cdevice; /**< Game Controller device event data */
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_filesystem.h+5−1
@@ -60,6 +60,10 @@ extern "C" { · 59 unmodified lines
60 * - `parent`: the containing directory of the bundle. For example:60 * - `parent`: the containing directory of the bundle. For example:
61 * `/Applications/SDLApp/`61 * `/Applications/SDLApp/`
62 *62 *
63 * **Nintendo 3DS Specific Functionality**: This function returns "romfs"
64 * directory of the application as it is uncommon to store resources outside
65 * the executable. As such it is not a writable directory.
66 *
63 * The returned path is guaranteed to end with a path separator ('\' on67 * The returned path is guaranteed to end with a path separator ('\' on
64 * Windows, '/' on most other platforms).68 * Windows, '/' on most other platforms).
65 *69 *
@@ -92,7 +96,7 @@ extern DECLSPEC char *SDLCALL SDL_GetBasePath(void); · 26 unmodified lines
92 *96 *
93 * `C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\`97 * `C:\\Users\\bob\\AppData\\Roaming\\My Company\\My Program Name\\`
94 *98 *
95 * On Linux, the string might look like"99 * On Linux, the string might look like:
96 *100 *
97 * `/home/bob/.local/share/My Program Name/`101 * `/home/bob/.local/share/My Program Name/`
98 *102 *
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_gamecontroller.h+78−5
@@ -69,7 +69,11 @@ typedef enum · 68 unmodified lines
69 SDL_CONTROLLER_TYPE_VIRTUAL,69 SDL_CONTROLLER_TYPE_VIRTUAL,
70 SDL_CONTROLLER_TYPE_PS5,70 SDL_CONTROLLER_TYPE_PS5,
71 SDL_CONTROLLER_TYPE_AMAZON_LUNA,71 SDL_CONTROLLER_TYPE_AMAZON_LUNA,
72 SDL_CONTROLLER_TYPE_GOOGLE_STADIA72 SDL_CONTROLLER_TYPE_GOOGLE_STADIA,
73 SDL_CONTROLLER_TYPE_NVIDIA_SHIELD,
74 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_LEFT,
75 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT,
76 SDL_CONTROLLER_TYPE_NINTENDO_SWITCH_JOYCON_PAIR
73} SDL_GameControllerType;77} SDL_GameControllerType;
74 78
75typedef enum79typedef enum
@@ -289,6 +293,25 @@ extern DECLSPEC SDL_bool SDLCALL SDL_IsGameController(int joystick_index); · 213 unmodified lines
289 */293 */
290extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);294extern DECLSPEC const char *SDLCALL SDL_GameControllerNameForIndex(int joystick_index);
291 295
296/**
297 * Get the implementation dependent path for the game controller.
298 *
299 * This function can be called before any controllers are opened.
300 *
301 * `joystick_index` is the same as the `device_index` passed to
302 * SDL_JoystickOpen().
303 *
304 * \param joystick_index the device_index of a device, from zero to
305 * SDL_NumJoysticks()-1
306 * \returns the implementation-dependent path for the game controller, or NULL
307 * if there is no path or the index is invalid.
308 *
309 * \since This function is available since SDL 2.24.0.
310 *
311 * \sa SDL_GameControllerPath
312 */
313extern DECLSPEC const char *SDLCALL SDL_GameControllerPathForIndex(int joystick_index);
314
292/**315/**
293 * Get the type of a game controller.316 * Get the type of a game controller.
294 *317 *
@@ -386,6 +409,23 @@ extern DECLSPEC SDL_GameController *SDLCALL SDL_GameControllerFromPlayerIndex(in · 91 unmodified lines
386 */409 */
387extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);410extern DECLSPEC const char *SDLCALL SDL_GameControllerName(SDL_GameController *gamecontroller);
388 411
412/**
413 * Get the implementation-dependent path for an opened game controller.
414 *
415 * This is the same path as returned by SDL_GameControllerNameForIndex(), but
416 * it takes a controller identifier instead of the (unstable) device index.
417 *
418 * \param gamecontroller a game controller identifier previously returned by
419 * SDL_GameControllerOpen()
420 * \returns the implementation dependent path for the game controller, or NULL
421 * if there is no path or the identifier passed is invalid.
422 *
423 * \since This function is available since SDL 2.24.0.
424 *
425 * \sa SDL_GameControllerPathForIndex
426 */
427extern DECLSPEC const char *SDLCALL SDL_GameControllerPath(SDL_GameController *gamecontroller);
428
389/**429/**
390 * Get the type of this currently opened controller430 * Get the type of this currently opened controller
391 *431 *
@@ -415,7 +455,8 @@ extern DECLSPEC int SDLCALL SDL_GameControllerGetPlayerIndex(SDL_GameController · 23 unmodified lines
415 * Set the player index of an opened game controller.455 * Set the player index of an opened game controller.
416 *456 *
417 * \param gamecontroller the game controller object to adjust.457 * \param gamecontroller the game controller object to adjust.
418 * \param player_index Player index to assign to this controller.458 * \param player_index Player index to assign to this controller, or -1 to
459 * clear the player index and turn off player LEDs.
419 *460 *
420 * \since This function is available since SDL 2.0.12.461 * \since This function is available since SDL 2.0.12.
421 */462 */
@@ -457,6 +498,18 @@ extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProduct(SDL_GameController * · 35 unmodified lines
457 */498 */
458extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);499extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetProductVersion(SDL_GameController *gamecontroller);
459 500
501/**
502 * Get the firmware version of an opened controller, if available.
503 *
504 * If the firmware version isn't available this function returns 0.
505 *
506 * \param gamecontroller the game controller object to query.
507 * \return the controller firmware version, or zero if unavailable.
508 *
509 * \since This function is available since SDL 2.24.0.
510 */
511extern DECLSPEC Uint16 SDLCALL SDL_GameControllerGetFirmwareVersion(SDL_GameController *gamecontroller);
512
460/**513/**
461 * Get the serial number of an opened controller, if available.514 * Get the serial number of an opened controller, if available.
462 *515 *
@@ -701,7 +754,7 @@ extern DECLSPEC SDL_GameControllerButton SDLCALL SDL_GameControllerGetButtonFrom · 238 unmodified lines
701 * The caller should not SDL_free() the returned string.754 * The caller should not SDL_free() the returned string.
702 *755 *
703 * \param button an enum value for a given SDL_GameControllerButton756 * \param button an enum value for a given SDL_GameControllerButton
704 * \returns a string for the given button, or NULL if an invalid axis is757 * \returns a string for the given button, or NULL if an invalid button is
705 * specified. The string returned is of the format used by758 * specified. The string returned is of the format used by
706 * SDL_GameController mapping strings.759 * SDL_GameController mapping strings.
707 *760 *
@@ -842,6 +895,25 @@ extern DECLSPEC float SDLCALL SDL_GameControllerGetSensorDataRate(SDL_GameContro · 134 unmodified lines
842 */895 */
843extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController *gamecontroller, SDL_SensorType type, float *data, int num_values);896extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorData(SDL_GameController *gamecontroller, SDL_SensorType type, float *data, int num_values);
844 897
898/**
899 * Get the current state of a game controller sensor with the timestamp of the
900 * last update.
901 *
902 * The number of values and interpretation of the data is sensor dependent.
903 * See SDL_sensor.h for the details for each type of sensor.
904 *
905 * \param gamecontroller The controller to query
906 * \param type The type of sensor to query
907 * \param timestamp A pointer filled with the timestamp in microseconds of the
908 * current sensor reading if available, or 0 if not
909 * \param data A pointer filled with the current sensor state
910 * \param num_values The number of values to write to data
911 * \return 0 or -1 if an error occurred.
912 *
913 * \since This function is available since SDL 2.26.0.
914 */
915extern DECLSPEC int SDLCALL SDL_GameControllerGetSensorDataWithTimestamp(SDL_GameController *gamecontroller, SDL_SensorType type, Uint64 *timestamp, float *data, int num_values);
916
845/**917/**
846 * Start a rumble effect on a game controller.918 * Start a rumble effect on a game controller.
847 *919 *
@@ -869,8 +941,9 @@ extern DECLSPEC int SDLCALL SDL_GameControllerRumble(SDL_GameController *gamecon · 21 unmodified lines
869 * calling it with 0 intensity stops any rumbling.941 * calling it with 0 intensity stops any rumbling.
870 *942 *
871 * Note that this is rumbling of the _triggers_ and not the game controller as943 * Note that this is rumbling of the _triggers_ and not the game controller as
872 * a whole. The first controller to offer this feature was the PlayStation 5's944 * a whole. This is currently only supported on Xbox One controllers. If you
873 * DualShock 5.945 * want the (more common) whole-controller rumble, use
946 * SDL_GameControllerRumble() instead.
874 *947 *
875 * \param gamecontroller The controller to vibrate948 * \param gamecontroller The controller to vibrate
876 * \param left_rumble The intensity of the left trigger rumble motor, from 0949 * \param left_rumble The intensity of the left trigger rumble motor, from 0
vs2019_project/ft2-clone/sdl/include/SDL2/SDL_guid.h+100−0
@@ -0,0 +1,100 @@
1/*
2 Simple DirectMedia Layer
3 Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
4
5 This software is provided 'as-is', without any express or implied
6 warranty. In no event will the authors be held liable for any damages
7 arising from the use of this software.
8
9 Permission is granted to anyone to use this software for any purpose,
10 including commercial applications, and to alter it and redistribute it
11 freely, subject to the following restrictions:
12
13 1. The origin of this software must not be misrepresented; you must not
14 claim that you wrote the original software. If you use this software
15 in a product, an acknowledgment in the product documentation would be
16 appreciated but is not required.
17 2. Altered source versions must be plainly marked as such, and must not be
18 misrepresented as being the original software.
19 3. This notice may not be removed or altered from any source distribution.
20*/

80 more lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_hints.h+645−43

This diff is large: its 944 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_joystick.h+127−7

This diff is large: its 218 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keyboard.h+38−1

This diff is large: its 66 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_keycode.h+6−1

This diff is large: its 14 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_log.h+2−2

This diff is large: its 12 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_main.h+42−2

This diff is large: its 79 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_metal.h+2−1

This diff is large: its 17 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_mouse.h+12−1

This diff is large: its 27 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl.h+0−51

This diff is large: its 58 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengl_glext.h+2260−231

This diff is large: its 3513 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2.h+374−339

This diff is large: its 924 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2ext.h+3479−1496

This diff is large: its 5522 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_gl2platform.h+6−9

This diff is large: its 27 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_opengles2_khrplatform.h+43−14

This diff is large: its 112 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_platform.h+32−6

This diff is large: its 87 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rect.h+154−2

This diff is large: its 184 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_render.h+46−17

This diff is large: its 132 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_revision.h+6−1

This diff is large: its 9 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_rwops.h+1−15

This diff is large: its 37 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_scancode.h+46−21

This diff is large: its 113 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_sensor.h+24−3

This diff is large: its 48 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_stdinc.h+119−8

This diff is large: its 236 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_surface.h+3−1

This diff is large: its 18 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_system.h+66−6

This diff is large: its 135 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_syswm.h+2−0

This diff is large: its 9 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_common.h+1−0

This diff is large: its 8 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_test_font.h+90−3

This diff is large: its 116 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_thread.h+5−5

This diff is large: its 45 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_touch.h+8−0

This diff is large: its 15 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_version.h+19−3

This diff is large: its 57 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/SDL_video.h+71−9

This diff is large: its 136 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/include/SDL2/begin_code.h+4−4

This diff is large: its 36 lines aren’t shown here.

vs2019_project/ft2-clone/sdl/lib/SDL2.lib+0−0

Binary file not shown.

vs2019_project/ft2-clone/sdl/lib/SDL2main.lib+0−0

Binary file not shown.

vs2019_project/ft2-clone/sdl/lib64/SDL2.lib+0−0

Binary file not shown.

vs2019_project/ft2-clone/sdl/lib64/SDL2main.lib+0−0

Binary file not shown.

vs2019_project/x64/Debug/SDL2.dll+0−0

Binary file not shown.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t