opengl-bindings 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +16 -0
- data/README.md +20 -6
- data/lib/glfw.rb +6 -2
- data/lib/glfw30.rb +7 -3
- data/lib/opengl_es_command.rb +308 -0
- data/lib/opengl_es_enum.rb +206 -0
- data/lib/opengl_es_ext_command.rb +29 -15
- data/lib/opengl_es_ext_enum.rb +29 -23
- data/lib/opengl_ext_command.rb +418 -3
- data/lib/opengl_ext_enum.rb +69 -4
- data/sample/report_env_es.rb +9 -6
- metadata +2 -2
data/lib/opengl_es_enum.rb
CHANGED
@@ -801,5 +801,211 @@ module OpenGL
|
|
801
801
|
GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET = 0x82D9
|
802
802
|
GL_MAX_VERTEX_ATTRIB_BINDINGS = 0x82DA
|
803
803
|
GL_MAX_VERTEX_ATTRIB_STRIDE = 0x82E5
|
804
|
+
GL_MULTISAMPLE_LINE_WIDTH_RANGE = 0x9381
|
805
|
+
GL_MULTISAMPLE_LINE_WIDTH_GRANULARITY = 0x9382
|
806
|
+
GL_MULTIPLY = 0x9294
|
807
|
+
GL_SCREEN = 0x9295
|
808
|
+
GL_OVERLAY = 0x9296
|
809
|
+
GL_DARKEN = 0x9297
|
810
|
+
GL_LIGHTEN = 0x9298
|
811
|
+
GL_COLORDODGE = 0x9299
|
812
|
+
GL_COLORBURN = 0x929A
|
813
|
+
GL_HARDLIGHT = 0x929B
|
814
|
+
GL_SOFTLIGHT = 0x929C
|
815
|
+
GL_DIFFERENCE = 0x929E
|
816
|
+
GL_EXCLUSION = 0x92A0
|
817
|
+
GL_HSL_HUE = 0x92AD
|
818
|
+
GL_HSL_SATURATION = 0x92AE
|
819
|
+
GL_HSL_COLOR = 0x92AF
|
820
|
+
GL_HSL_LUMINOSITY = 0x92B0
|
821
|
+
GL_DEBUG_OUTPUT_SYNCHRONOUS = 0x8242
|
822
|
+
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH = 0x8243
|
823
|
+
GL_DEBUG_CALLBACK_FUNCTION = 0x8244
|
824
|
+
GL_DEBUG_CALLBACK_USER_PARAM = 0x8245
|
825
|
+
GL_DEBUG_SOURCE_API = 0x8246
|
826
|
+
GL_DEBUG_SOURCE_WINDOW_SYSTEM = 0x8247
|
827
|
+
GL_DEBUG_SOURCE_SHADER_COMPILER = 0x8248
|
828
|
+
GL_DEBUG_SOURCE_THIRD_PARTY = 0x8249
|
829
|
+
GL_DEBUG_SOURCE_APPLICATION = 0x824A
|
830
|
+
GL_DEBUG_SOURCE_OTHER = 0x824B
|
831
|
+
GL_DEBUG_TYPE_ERROR = 0x824C
|
832
|
+
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR = 0x824D
|
833
|
+
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR = 0x824E
|
834
|
+
GL_DEBUG_TYPE_PORTABILITY = 0x824F
|
835
|
+
GL_DEBUG_TYPE_PERFORMANCE = 0x8250
|
836
|
+
GL_DEBUG_TYPE_OTHER = 0x8251
|
837
|
+
GL_DEBUG_TYPE_MARKER = 0x8268
|
838
|
+
GL_DEBUG_TYPE_PUSH_GROUP = 0x8269
|
839
|
+
GL_DEBUG_TYPE_POP_GROUP = 0x826A
|
840
|
+
GL_DEBUG_SEVERITY_NOTIFICATION = 0x826B
|
841
|
+
GL_MAX_DEBUG_GROUP_STACK_DEPTH = 0x826C
|
842
|
+
GL_DEBUG_GROUP_STACK_DEPTH = 0x826D
|
843
|
+
GL_BUFFER = 0x82E0
|
844
|
+
GL_SHADER = 0x82E1
|
845
|
+
GL_PROGRAM = 0x82E2
|
846
|
+
GL_VERTEX_ARRAY = 0x8074
|
847
|
+
GL_QUERY = 0x82E3
|
848
|
+
GL_PROGRAM_PIPELINE = 0x82E4
|
849
|
+
GL_SAMPLER = 0x82E6
|
850
|
+
GL_MAX_LABEL_LENGTH = 0x82E8
|
851
|
+
GL_MAX_DEBUG_MESSAGE_LENGTH = 0x9143
|
852
|
+
GL_MAX_DEBUG_LOGGED_MESSAGES = 0x9144
|
853
|
+
GL_DEBUG_LOGGED_MESSAGES = 0x9145
|
854
|
+
GL_DEBUG_SEVERITY_HIGH = 0x9146
|
855
|
+
GL_DEBUG_SEVERITY_MEDIUM = 0x9147
|
856
|
+
GL_DEBUG_SEVERITY_LOW = 0x9148
|
857
|
+
GL_DEBUG_OUTPUT = 0x92E0
|
858
|
+
GL_CONTEXT_FLAG_DEBUG_BIT = 0x00000002
|
859
|
+
GL_STACK_OVERFLOW = 0x0503
|
860
|
+
GL_STACK_UNDERFLOW = 0x0504
|
861
|
+
GL_GEOMETRY_SHADER = 0x8DD9
|
862
|
+
GL_GEOMETRY_SHADER_BIT = 0x00000004
|
863
|
+
GL_GEOMETRY_VERTICES_OUT = 0x8916
|
864
|
+
GL_GEOMETRY_INPUT_TYPE = 0x8917
|
865
|
+
GL_GEOMETRY_OUTPUT_TYPE = 0x8918
|
866
|
+
GL_GEOMETRY_SHADER_INVOCATIONS = 0x887F
|
867
|
+
GL_LAYER_PROVOKING_VERTEX = 0x825E
|
868
|
+
GL_LINES_ADJACENCY = 0x000A
|
869
|
+
GL_LINE_STRIP_ADJACENCY = 0x000B
|
870
|
+
GL_TRIANGLES_ADJACENCY = 0x000C
|
871
|
+
GL_TRIANGLE_STRIP_ADJACENCY = 0x000D
|
872
|
+
GL_MAX_GEOMETRY_UNIFORM_COMPONENTS = 0x8DDF
|
873
|
+
GL_MAX_GEOMETRY_UNIFORM_BLOCKS = 0x8A2C
|
874
|
+
GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS = 0x8A32
|
875
|
+
GL_MAX_GEOMETRY_INPUT_COMPONENTS = 0x9123
|
876
|
+
GL_MAX_GEOMETRY_OUTPUT_COMPONENTS = 0x9124
|
877
|
+
GL_MAX_GEOMETRY_OUTPUT_VERTICES = 0x8DE0
|
878
|
+
GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS = 0x8DE1
|
879
|
+
GL_MAX_GEOMETRY_SHADER_INVOCATIONS = 0x8E5A
|
880
|
+
GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS = 0x8C29
|
881
|
+
GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS = 0x92CF
|
882
|
+
GL_MAX_GEOMETRY_ATOMIC_COUNTERS = 0x92D5
|
883
|
+
GL_MAX_GEOMETRY_IMAGE_UNIFORMS = 0x90CD
|
884
|
+
GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS = 0x90D7
|
885
|
+
GL_FIRST_VERTEX_CONVENTION = 0x8E4D
|
886
|
+
GL_LAST_VERTEX_CONVENTION = 0x8E4E
|
887
|
+
GL_UNDEFINED_VERTEX = 0x8260
|
888
|
+
GL_PRIMITIVES_GENERATED = 0x8C87
|
889
|
+
GL_FRAMEBUFFER_DEFAULT_LAYERS = 0x9312
|
890
|
+
GL_MAX_FRAMEBUFFER_LAYERS = 0x9317
|
891
|
+
GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS = 0x8DA8
|
892
|
+
GL_FRAMEBUFFER_ATTACHMENT_LAYERED = 0x8DA7
|
893
|
+
GL_REFERENCED_BY_GEOMETRY_SHADER = 0x9309
|
894
|
+
GL_PRIMITIVE_BOUNDING_BOX = 0x92BE
|
895
|
+
GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT = 0x00000004
|
896
|
+
GL_CONTEXT_FLAGS = 0x821E
|
897
|
+
GL_LOSE_CONTEXT_ON_RESET = 0x8252
|
898
|
+
GL_GUILTY_CONTEXT_RESET = 0x8253
|
899
|
+
GL_INNOCENT_CONTEXT_RESET = 0x8254
|
900
|
+
GL_UNKNOWN_CONTEXT_RESET = 0x8255
|
901
|
+
GL_RESET_NOTIFICATION_STRATEGY = 0x8256
|
902
|
+
GL_NO_RESET_NOTIFICATION = 0x8261
|
903
|
+
GL_CONTEXT_LOST = 0x0507
|
904
|
+
GL_SAMPLE_SHADING = 0x8C36
|
905
|
+
GL_MIN_SAMPLE_SHADING_VALUE = 0x8C37
|
906
|
+
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5B
|
907
|
+
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET = 0x8E5C
|
908
|
+
GL_FRAGMENT_INTERPOLATION_OFFSET_BITS = 0x8E5D
|
909
|
+
GL_PATCHES = 0x000E
|
910
|
+
GL_PATCH_VERTICES = 0x8E72
|
911
|
+
GL_TESS_CONTROL_OUTPUT_VERTICES = 0x8E75
|
912
|
+
GL_TESS_GEN_MODE = 0x8E76
|
913
|
+
GL_TESS_GEN_SPACING = 0x8E77
|
914
|
+
GL_TESS_GEN_VERTEX_ORDER = 0x8E78
|
915
|
+
GL_TESS_GEN_POINT_MODE = 0x8E79
|
916
|
+
GL_ISOLINES = 0x8E7A
|
917
|
+
GL_QUADS = 0x0007
|
918
|
+
GL_FRACTIONAL_ODD = 0x8E7B
|
919
|
+
GL_FRACTIONAL_EVEN = 0x8E7C
|
920
|
+
GL_MAX_PATCH_VERTICES = 0x8E7D
|
921
|
+
GL_MAX_TESS_GEN_LEVEL = 0x8E7E
|
922
|
+
GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E7F
|
923
|
+
GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E80
|
924
|
+
GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS = 0x8E81
|
925
|
+
GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS = 0x8E82
|
926
|
+
GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS = 0x8E83
|
927
|
+
GL_MAX_TESS_PATCH_COMPONENTS = 0x8E84
|
928
|
+
GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS = 0x8E85
|
929
|
+
GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS = 0x8E86
|
930
|
+
GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS = 0x8E89
|
931
|
+
GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS = 0x8E8A
|
932
|
+
GL_MAX_TESS_CONTROL_INPUT_COMPONENTS = 0x886C
|
933
|
+
GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS = 0x886D
|
934
|
+
GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS = 0x8E1E
|
935
|
+
GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS = 0x8E1F
|
936
|
+
GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS = 0x92CD
|
937
|
+
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS = 0x92CE
|
938
|
+
GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS = 0x92D3
|
939
|
+
GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS = 0x92D4
|
940
|
+
GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS = 0x90CB
|
941
|
+
GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS = 0x90CC
|
942
|
+
GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS = 0x90D8
|
943
|
+
GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS = 0x90D9
|
944
|
+
GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED = 0x8221
|
945
|
+
GL_IS_PER_PATCH = 0x92E7
|
946
|
+
GL_REFERENCED_BY_TESS_CONTROL_SHADER = 0x9307
|
947
|
+
GL_REFERENCED_BY_TESS_EVALUATION_SHADER = 0x9308
|
948
|
+
GL_TESS_CONTROL_SHADER = 0x8E88
|
949
|
+
GL_TESS_EVALUATION_SHADER = 0x8E87
|
950
|
+
GL_TESS_CONTROL_SHADER_BIT = 0x00000008
|
951
|
+
GL_TESS_EVALUATION_SHADER_BIT = 0x00000010
|
952
|
+
GL_TEXTURE_BORDER_COLOR = 0x1004
|
953
|
+
GL_CLAMP_TO_BORDER = 0x812D
|
954
|
+
GL_TEXTURE_BUFFER = 0x8C2A
|
955
|
+
GL_TEXTURE_BUFFER_BINDING = 0x8C2A
|
956
|
+
GL_MAX_TEXTURE_BUFFER_SIZE = 0x8C2B
|
957
|
+
GL_TEXTURE_BINDING_BUFFER = 0x8C2C
|
958
|
+
GL_TEXTURE_BUFFER_DATA_STORE_BINDING = 0x8C2D
|
959
|
+
GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT = 0x919F
|
960
|
+
GL_SAMPLER_BUFFER = 0x8DC2
|
961
|
+
GL_INT_SAMPLER_BUFFER = 0x8DD0
|
962
|
+
GL_UNSIGNED_INT_SAMPLER_BUFFER = 0x8DD8
|
963
|
+
GL_IMAGE_BUFFER = 0x9051
|
964
|
+
GL_INT_IMAGE_BUFFER = 0x905C
|
965
|
+
GL_UNSIGNED_INT_IMAGE_BUFFER = 0x9067
|
966
|
+
GL_TEXTURE_BUFFER_OFFSET = 0x919D
|
967
|
+
GL_TEXTURE_BUFFER_SIZE = 0x919E
|
968
|
+
GL_COMPRESSED_RGBA_ASTC_4x4 = 0x93B0
|
969
|
+
GL_COMPRESSED_RGBA_ASTC_5x4 = 0x93B1
|
970
|
+
GL_COMPRESSED_RGBA_ASTC_5x5 = 0x93B2
|
971
|
+
GL_COMPRESSED_RGBA_ASTC_6x5 = 0x93B3
|
972
|
+
GL_COMPRESSED_RGBA_ASTC_6x6 = 0x93B4
|
973
|
+
GL_COMPRESSED_RGBA_ASTC_8x5 = 0x93B5
|
974
|
+
GL_COMPRESSED_RGBA_ASTC_8x6 = 0x93B6
|
975
|
+
GL_COMPRESSED_RGBA_ASTC_8x8 = 0x93B7
|
976
|
+
GL_COMPRESSED_RGBA_ASTC_10x5 = 0x93B8
|
977
|
+
GL_COMPRESSED_RGBA_ASTC_10x6 = 0x93B9
|
978
|
+
GL_COMPRESSED_RGBA_ASTC_10x8 = 0x93BA
|
979
|
+
GL_COMPRESSED_RGBA_ASTC_10x10 = 0x93BB
|
980
|
+
GL_COMPRESSED_RGBA_ASTC_12x10 = 0x93BC
|
981
|
+
GL_COMPRESSED_RGBA_ASTC_12x12 = 0x93BD
|
982
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 = 0x93D0
|
983
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 = 0x93D1
|
984
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 = 0x93D2
|
985
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 = 0x93D3
|
986
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 = 0x93D4
|
987
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 = 0x93D5
|
988
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 = 0x93D6
|
989
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 = 0x93D7
|
990
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 = 0x93D8
|
991
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 = 0x93D9
|
992
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 = 0x93DA
|
993
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 = 0x93DB
|
994
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 = 0x93DC
|
995
|
+
GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 = 0x93DD
|
996
|
+
GL_TEXTURE_CUBE_MAP_ARRAY = 0x9009
|
997
|
+
GL_TEXTURE_BINDING_CUBE_MAP_ARRAY = 0x900A
|
998
|
+
GL_SAMPLER_CUBE_MAP_ARRAY = 0x900C
|
999
|
+
GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW = 0x900D
|
1000
|
+
GL_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900E
|
1001
|
+
GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY = 0x900F
|
1002
|
+
GL_IMAGE_CUBE_MAP_ARRAY = 0x9054
|
1003
|
+
GL_INT_IMAGE_CUBE_MAP_ARRAY = 0x905F
|
1004
|
+
GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY = 0x906A
|
1005
|
+
GL_TEXTURE_2D_MULTISAMPLE_ARRAY = 0x9102
|
1006
|
+
GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY = 0x9105
|
1007
|
+
GL_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910B
|
1008
|
+
GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910C
|
1009
|
+
GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY = 0x910D
|
804
1010
|
|
805
1011
|
end
|
@@ -336,6 +336,9 @@ module OpenGL
|
|
336
336
|
def define_ext_command_GL_DMP_shader_binary
|
337
337
|
end # define_ext_command_GL_DMP_shader_binary
|
338
338
|
|
339
|
+
def define_ext_command_GL_EXT_YUV_target
|
340
|
+
end # define_ext_command_GL_EXT_YUV_target
|
341
|
+
|
339
342
|
def define_ext_command_GL_EXT_base_instance
|
340
343
|
GL_FUNCTIONS_ARGS_MAP[:glDrawArraysInstancedBaseInstanceEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
341
344
|
GL_FUNCTIONS_RETVAL_MAP[:glDrawArraysInstancedBaseInstanceEXT] = Fiddle::TYPE_VOID
|
@@ -387,6 +390,9 @@ module OpenGL
|
|
387
390
|
SRC_GL_EXT_buffer_storage
|
388
391
|
end # define_ext_command_GL_EXT_buffer_storage
|
389
392
|
|
393
|
+
def define_ext_command_GL_EXT_color_buffer_float
|
394
|
+
end # define_ext_command_GL_EXT_color_buffer_float
|
395
|
+
|
390
396
|
def define_ext_command_GL_EXT_color_buffer_half_float
|
391
397
|
end # define_ext_command_GL_EXT_color_buffer_half_float
|
392
398
|
|
@@ -1603,15 +1609,15 @@ module OpenGL
|
|
1603
1609
|
def define_ext_command_GL_EXT_texture_rg
|
1604
1610
|
end # define_ext_command_GL_EXT_texture_rg
|
1605
1611
|
|
1606
|
-
def define_ext_command_GL_EXT_texture_sRGB_decode
|
1607
|
-
end # define_ext_command_GL_EXT_texture_sRGB_decode
|
1608
|
-
|
1609
1612
|
def define_ext_command_GL_EXT_texture_sRGB_R8
|
1610
1613
|
end # define_ext_command_GL_EXT_texture_sRGB_R8
|
1611
1614
|
|
1612
1615
|
def define_ext_command_GL_EXT_texture_sRGB_RG8
|
1613
1616
|
end # define_ext_command_GL_EXT_texture_sRGB_RG8
|
1614
1617
|
|
1618
|
+
def define_ext_command_GL_EXT_texture_sRGB_decode
|
1619
|
+
end # define_ext_command_GL_EXT_texture_sRGB_decode
|
1620
|
+
|
1615
1621
|
def define_ext_command_GL_EXT_texture_storage
|
1616
1622
|
GL_FUNCTIONS_ARGS_MAP[:glTexStorage1DEXT] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
1617
1623
|
GL_FUNCTIONS_RETVAL_MAP[:glTexStorage1DEXT] = Fiddle::TYPE_VOID
|
@@ -1685,9 +1691,6 @@ module OpenGL
|
|
1685
1691
|
def define_ext_command_GL_EXT_unpack_subimage
|
1686
1692
|
end # define_ext_command_GL_EXT_unpack_subimage
|
1687
1693
|
|
1688
|
-
def define_ext_command_GL_EXT_YUV_target
|
1689
|
-
end # define_ext_command_GL_EXT_YUV_target
|
1690
|
-
|
1691
1694
|
def define_ext_command_GL_FJ_shader_binary_GCCSO
|
1692
1695
|
end # define_ext_command_GL_FJ_shader_binary_GCCSO
|
1693
1696
|
|
@@ -1726,6 +1729,17 @@ module OpenGL
|
|
1726
1729
|
def define_ext_command_GL_IMG_texture_compression_pvrtc2
|
1727
1730
|
end # define_ext_command_GL_IMG_texture_compression_pvrtc2
|
1728
1731
|
|
1732
|
+
def define_ext_command_GL_INTEL_framebuffer_CMAA
|
1733
|
+
GL_FUNCTIONS_ARGS_MAP[:glApplyFramebufferAttachmentCMAAINTEL] = []
|
1734
|
+
GL_FUNCTIONS_RETVAL_MAP[:glApplyFramebufferAttachmentCMAAINTEL] = Fiddle::TYPE_VOID
|
1735
|
+
module_eval(<<-SRC_GL_INTEL_framebuffer_CMAA)
|
1736
|
+
def glApplyFramebufferAttachmentCMAAINTEL()
|
1737
|
+
f = OpenGL::get_command(:glApplyFramebufferAttachmentCMAAINTEL)
|
1738
|
+
f.call()
|
1739
|
+
end
|
1740
|
+
SRC_GL_INTEL_framebuffer_CMAA
|
1741
|
+
end # define_ext_command_GL_INTEL_framebuffer_CMAA
|
1742
|
+
|
1729
1743
|
def define_ext_command_GL_INTEL_performance_query
|
1730
1744
|
GL_FUNCTIONS_ARGS_MAP[:glBeginPerfQueryINTEL] = [-Fiddle::TYPE_INT]
|
1731
1745
|
GL_FUNCTIONS_RETVAL_MAP[:glBeginPerfQueryINTEL] = Fiddle::TYPE_VOID
|
@@ -3190,6 +3204,9 @@ module OpenGL
|
|
3190
3204
|
SRC_GL_NV_path_rendering
|
3191
3205
|
end # define_ext_command_GL_NV_path_rendering
|
3192
3206
|
|
3207
|
+
def define_ext_command_GL_NV_path_rendering_shared_edge
|
3208
|
+
end # define_ext_command_GL_NV_path_rendering_shared_edge
|
3209
|
+
|
3193
3210
|
def define_ext_command_GL_NV_polygon_mode
|
3194
3211
|
GL_FUNCTIONS_ARGS_MAP[:glPolygonModeNV] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT]
|
3195
3212
|
GL_FUNCTIONS_RETVAL_MAP[:glPolygonModeNV] = Fiddle::TYPE_VOID
|
@@ -3224,9 +3241,6 @@ module OpenGL
|
|
3224
3241
|
def define_ext_command_GL_NV_read_stencil
|
3225
3242
|
end # define_ext_command_GL_NV_read_stencil
|
3226
3243
|
|
3227
|
-
def define_ext_command_GL_NV_path_rendering_shared_edge
|
3228
|
-
end # define_ext_command_GL_NV_path_rendering_shared_edge
|
3229
|
-
|
3230
3244
|
def define_ext_command_GL_NV_sRGB_formats
|
3231
3245
|
end # define_ext_command_GL_NV_sRGB_formats
|
3232
3246
|
|
@@ -3569,6 +3583,9 @@ module OpenGL
|
|
3569
3583
|
def define_ext_command_GL_OES_fragment_precision_high
|
3570
3584
|
end # define_ext_command_GL_OES_fragment_precision_high
|
3571
3585
|
|
3586
|
+
def define_ext_command_GL_OES_geometry_point_size
|
3587
|
+
end # define_ext_command_GL_OES_geometry_point_size
|
3588
|
+
|
3572
3589
|
def define_ext_command_GL_OES_geometry_shader
|
3573
3590
|
GL_FUNCTIONS_ARGS_MAP[:glFramebufferTextureOES] = [-Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
3574
3591
|
GL_FUNCTIONS_RETVAL_MAP[:glFramebufferTextureOES] = Fiddle::TYPE_VOID
|
@@ -3580,9 +3597,6 @@ module OpenGL
|
|
3580
3597
|
SRC_GL_OES_geometry_shader
|
3581
3598
|
end # define_ext_command_GL_OES_geometry_shader
|
3582
3599
|
|
3583
|
-
def define_ext_command_GL_OES_geometry_point_size
|
3584
|
-
end # define_ext_command_GL_OES_geometry_point_size
|
3585
|
-
|
3586
3600
|
def define_ext_command_GL_OES_get_program_binary
|
3587
3601
|
GL_FUNCTIONS_ARGS_MAP[:glGetProgramBinaryOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]
|
3588
3602
|
GL_FUNCTIONS_RETVAL_MAP[:glGetProgramBinaryOES] = Fiddle::TYPE_VOID
|
@@ -3690,6 +3704,9 @@ module OpenGL
|
|
3690
3704
|
def define_ext_command_GL_OES_surfaceless_context
|
3691
3705
|
end # define_ext_command_GL_OES_surfaceless_context
|
3692
3706
|
|
3707
|
+
def define_ext_command_GL_OES_tessellation_point_size
|
3708
|
+
end # define_ext_command_GL_OES_tessellation_point_size
|
3709
|
+
|
3693
3710
|
def define_ext_command_GL_OES_tessellation_shader
|
3694
3711
|
GL_FUNCTIONS_ARGS_MAP[:glPatchParameteriOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT]
|
3695
3712
|
GL_FUNCTIONS_RETVAL_MAP[:glPatchParameteriOES] = Fiddle::TYPE_VOID
|
@@ -3701,9 +3718,6 @@ module OpenGL
|
|
3701
3718
|
SRC_GL_OES_tessellation_shader
|
3702
3719
|
end # define_ext_command_GL_OES_tessellation_shader
|
3703
3720
|
|
3704
|
-
def define_ext_command_GL_OES_tessellation_point_size
|
3705
|
-
end # define_ext_command_GL_OES_tessellation_point_size
|
3706
|
-
|
3707
3721
|
def define_ext_command_GL_OES_texture_3D
|
3708
3722
|
GL_FUNCTIONS_ARGS_MAP[:glTexImage3DOES] = [-Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, Fiddle::TYPE_INT, -Fiddle::TYPE_INT, -Fiddle::TYPE_INT, Fiddle::TYPE_VOIDP]
|
3709
3723
|
GL_FUNCTIONS_RETVAL_MAP[:glTexImage3DOES] = Fiddle::TYPE_VOID
|
data/lib/opengl_es_ext_enum.rb
CHANGED
@@ -186,6 +186,13 @@ module OpenGL
|
|
186
186
|
const_set('GL_SHADER_BINARY_DMP', 0x9250) unless defined?(GL_SHADER_BINARY_DMP)
|
187
187
|
end # define_ext_enum_GL_DMP_shader_binary
|
188
188
|
|
189
|
+
def define_ext_enum_GL_EXT_YUV_target
|
190
|
+
const_set('GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT', 0x8BE7) unless defined?(GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT)
|
191
|
+
const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL_TEXTURE_EXTERNAL_OES)
|
192
|
+
const_set('GL_TEXTURE_BINDING_EXTERNAL_OES', 0x8D67) unless defined?(GL_TEXTURE_BINDING_EXTERNAL_OES)
|
193
|
+
const_set('GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES', 0x8D68) unless defined?(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)
|
194
|
+
end # define_ext_enum_GL_EXT_YUV_target
|
195
|
+
|
189
196
|
def define_ext_enum_GL_EXT_base_instance
|
190
197
|
end # define_ext_enum_GL_EXT_base_instance
|
191
198
|
|
@@ -208,6 +215,9 @@ module OpenGL
|
|
208
215
|
const_set('GL_BUFFER_STORAGE_FLAGS_EXT', 0x8220) unless defined?(GL_BUFFER_STORAGE_FLAGS_EXT)
|
209
216
|
end # define_ext_enum_GL_EXT_buffer_storage
|
210
217
|
|
218
|
+
def define_ext_enum_GL_EXT_color_buffer_float
|
219
|
+
end # define_ext_enum_GL_EXT_color_buffer_float
|
220
|
+
|
211
221
|
def define_ext_enum_GL_EXT_color_buffer_half_float
|
212
222
|
const_set('GL_RGBA16F_EXT', 0x881A) unless defined?(GL_RGBA16F_EXT)
|
213
223
|
const_set('GL_RGB16F_EXT', 0x881B) unless defined?(GL_RGB16F_EXT)
|
@@ -667,12 +677,6 @@ module OpenGL
|
|
667
677
|
const_set('GL_RG8_EXT', 0x822B) unless defined?(GL_RG8_EXT)
|
668
678
|
end # define_ext_enum_GL_EXT_texture_rg
|
669
679
|
|
670
|
-
def define_ext_enum_GL_EXT_texture_sRGB_decode
|
671
|
-
const_set('GL_TEXTURE_SRGB_DECODE_EXT', 0x8A48) unless defined?(GL_TEXTURE_SRGB_DECODE_EXT)
|
672
|
-
const_set('GL_DECODE_EXT', 0x8A49) unless defined?(GL_DECODE_EXT)
|
673
|
-
const_set('GL_SKIP_DECODE_EXT', 0x8A4A) unless defined?(GL_SKIP_DECODE_EXT)
|
674
|
-
end # define_ext_enum_GL_EXT_texture_sRGB_decode
|
675
|
-
|
676
680
|
def define_ext_enum_GL_EXT_texture_sRGB_R8
|
677
681
|
const_set('GL_SR8_EXT', 0x8FBD) unless defined?(GL_SR8_EXT)
|
678
682
|
end # define_ext_enum_GL_EXT_texture_sRGB_R8
|
@@ -681,6 +685,12 @@ module OpenGL
|
|
681
685
|
const_set('GL_SRG8_EXT', 0x8FBE) unless defined?(GL_SRG8_EXT)
|
682
686
|
end # define_ext_enum_GL_EXT_texture_sRGB_RG8
|
683
687
|
|
688
|
+
def define_ext_enum_GL_EXT_texture_sRGB_decode
|
689
|
+
const_set('GL_TEXTURE_SRGB_DECODE_EXT', 0x8A48) unless defined?(GL_TEXTURE_SRGB_DECODE_EXT)
|
690
|
+
const_set('GL_DECODE_EXT', 0x8A49) unless defined?(GL_DECODE_EXT)
|
691
|
+
const_set('GL_SKIP_DECODE_EXT', 0x8A4A) unless defined?(GL_SKIP_DECODE_EXT)
|
692
|
+
end # define_ext_enum_GL_EXT_texture_sRGB_decode
|
693
|
+
|
684
694
|
def define_ext_enum_GL_EXT_texture_storage
|
685
695
|
const_set('GL_TEXTURE_IMMUTABLE_FORMAT_EXT', 0x912F) unless defined?(GL_TEXTURE_IMMUTABLE_FORMAT_EXT)
|
686
696
|
const_set('GL_ALPHA8_EXT', 0x803C) unless defined?(GL_ALPHA8_EXT)
|
@@ -725,13 +735,6 @@ module OpenGL
|
|
725
735
|
const_set('GL_UNPACK_SKIP_PIXELS_EXT', 0x0CF4) unless defined?(GL_UNPACK_SKIP_PIXELS_EXT)
|
726
736
|
end # define_ext_enum_GL_EXT_unpack_subimage
|
727
737
|
|
728
|
-
def define_ext_enum_GL_EXT_YUV_target
|
729
|
-
const_set('GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT', 0x8BE7) unless defined?(GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT)
|
730
|
-
const_set('GL_TEXTURE_EXTERNAL_OES', 0x8D65) unless defined?(GL_TEXTURE_EXTERNAL_OES)
|
731
|
-
const_set('GL_TEXTURE_BINDING_EXTERNAL_OES', 0x8D67) unless defined?(GL_TEXTURE_BINDING_EXTERNAL_OES)
|
732
|
-
const_set('GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES', 0x8D68) unless defined?(GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES)
|
733
|
-
end # define_ext_enum_GL_EXT_YUV_target
|
734
|
-
|
735
738
|
def define_ext_enum_GL_FJ_shader_binary_GCCSO
|
736
739
|
const_set('GL_GCCSO_SHADER_BINARY_FJ', 0x9260) unless defined?(GL_GCCSO_SHADER_BINARY_FJ)
|
737
740
|
end # define_ext_enum_GL_FJ_shader_binary_GCCSO
|
@@ -768,6 +771,9 @@ module OpenGL
|
|
768
771
|
const_set('GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG', 0x9138) unless defined?(GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG)
|
769
772
|
end # define_ext_enum_GL_IMG_texture_compression_pvrtc2
|
770
773
|
|
774
|
+
def define_ext_enum_GL_INTEL_framebuffer_CMAA
|
775
|
+
end # define_ext_enum_GL_INTEL_framebuffer_CMAA
|
776
|
+
|
771
777
|
def define_ext_enum_GL_INTEL_performance_query
|
772
778
|
const_set('GL_PERFQUERY_SINGLE_CONTEXT_INTEL', 0x00000000) unless defined?(GL_PERFQUERY_SINGLE_CONTEXT_INTEL)
|
773
779
|
const_set('GL_PERFQUERY_GLOBAL_CONTEXT_INTEL', 0x00000001) unless defined?(GL_PERFQUERY_GLOBAL_CONTEXT_INTEL)
|
@@ -1399,6 +1405,10 @@ module OpenGL
|
|
1399
1405
|
const_set('GL_FRAGMENT_INPUT_NV', 0x936D) unless defined?(GL_FRAGMENT_INPUT_NV)
|
1400
1406
|
end # define_ext_enum_GL_NV_path_rendering
|
1401
1407
|
|
1408
|
+
def define_ext_enum_GL_NV_path_rendering_shared_edge
|
1409
|
+
const_set('GL_SHARED_EDGE_NV', 0xC0) unless defined?(GL_SHARED_EDGE_NV)
|
1410
|
+
end # define_ext_enum_GL_NV_path_rendering_shared_edge
|
1411
|
+
|
1402
1412
|
def define_ext_enum_GL_NV_polygon_mode
|
1403
1413
|
const_set('GL_POLYGON_MODE_NV', 0x0B40) unless defined?(GL_POLYGON_MODE_NV)
|
1404
1414
|
const_set('GL_POLYGON_OFFSET_POINT_NV', 0x2A01) unless defined?(GL_POLYGON_OFFSET_POINT_NV)
|
@@ -1424,10 +1434,6 @@ module OpenGL
|
|
1424
1434
|
def define_ext_enum_GL_NV_read_stencil
|
1425
1435
|
end # define_ext_enum_GL_NV_read_stencil
|
1426
1436
|
|
1427
|
-
def define_ext_enum_GL_NV_path_rendering_shared_edge
|
1428
|
-
const_set('GL_SHARED_EDGE_NV', 0xC0) unless defined?(GL_SHARED_EDGE_NV)
|
1429
|
-
end # define_ext_enum_GL_NV_path_rendering_shared_edge
|
1430
|
-
|
1431
1437
|
def define_ext_enum_GL_NV_sRGB_formats
|
1432
1438
|
const_set('GL_SLUMINANCE_NV', 0x8C46) unless defined?(GL_SLUMINANCE_NV)
|
1433
1439
|
const_set('GL_SLUMINANCE_ALPHA_NV', 0x8C44) unless defined?(GL_SLUMINANCE_ALPHA_NV)
|
@@ -1585,6 +1591,9 @@ module OpenGL
|
|
1585
1591
|
def define_ext_enum_GL_OES_fragment_precision_high
|
1586
1592
|
end # define_ext_enum_GL_OES_fragment_precision_high
|
1587
1593
|
|
1594
|
+
def define_ext_enum_GL_OES_geometry_point_size
|
1595
|
+
end # define_ext_enum_GL_OES_geometry_point_size
|
1596
|
+
|
1588
1597
|
def define_ext_enum_GL_OES_geometry_shader
|
1589
1598
|
const_set('GL_GEOMETRY_SHADER_OES', 0x8DD9) unless defined?(GL_GEOMETRY_SHADER_OES)
|
1590
1599
|
const_set('GL_GEOMETRY_SHADER_BIT_OES', 0x00000004) unless defined?(GL_GEOMETRY_SHADER_BIT_OES)
|
@@ -1621,9 +1630,6 @@ module OpenGL
|
|
1621
1630
|
const_set('GL_REFERENCED_BY_GEOMETRY_SHADER_OES', 0x9309) unless defined?(GL_REFERENCED_BY_GEOMETRY_SHADER_OES)
|
1622
1631
|
end # define_ext_enum_GL_OES_geometry_shader
|
1623
1632
|
|
1624
|
-
def define_ext_enum_GL_OES_geometry_point_size
|
1625
|
-
end # define_ext_enum_GL_OES_geometry_point_size
|
1626
|
-
|
1627
1633
|
def define_ext_enum_GL_OES_get_program_binary
|
1628
1634
|
const_set('GL_PROGRAM_BINARY_LENGTH_OES', 0x8741) unless defined?(GL_PROGRAM_BINARY_LENGTH_OES)
|
1629
1635
|
const_set('GL_NUM_PROGRAM_BINARY_FORMATS_OES', 0x87FE) unless defined?(GL_NUM_PROGRAM_BINARY_FORMATS_OES)
|
@@ -1709,6 +1715,9 @@ module OpenGL
|
|
1709
1715
|
const_set('GL_FRAMEBUFFER_UNDEFINED_OES', 0x8219) unless defined?(GL_FRAMEBUFFER_UNDEFINED_OES)
|
1710
1716
|
end # define_ext_enum_GL_OES_surfaceless_context
|
1711
1717
|
|
1718
|
+
def define_ext_enum_GL_OES_tessellation_point_size
|
1719
|
+
end # define_ext_enum_GL_OES_tessellation_point_size
|
1720
|
+
|
1712
1721
|
def define_ext_enum_GL_OES_tessellation_shader
|
1713
1722
|
const_set('GL_PATCHES_OES', 0x000E) unless defined?(GL_PATCHES_OES)
|
1714
1723
|
const_set('GL_PATCH_VERTICES_OES', 0x8E72) unless defined?(GL_PATCH_VERTICES_OES)
|
@@ -1759,9 +1768,6 @@ module OpenGL
|
|
1759
1768
|
const_set('GL_TESS_EVALUATION_SHADER_BIT_OES', 0x00000010) unless defined?(GL_TESS_EVALUATION_SHADER_BIT_OES)
|
1760
1769
|
end # define_ext_enum_GL_OES_tessellation_shader
|
1761
1770
|
|
1762
|
-
def define_ext_enum_GL_OES_tessellation_point_size
|
1763
|
-
end # define_ext_enum_GL_OES_tessellation_point_size
|
1764
|
-
|
1765
1771
|
def define_ext_enum_GL_OES_texture_3D
|
1766
1772
|
const_set('GL_TEXTURE_WRAP_R_OES', 0x8072) unless defined?(GL_TEXTURE_WRAP_R_OES)
|
1767
1773
|
const_set('GL_TEXTURE_3D_OES', 0x806F) unless defined?(GL_TEXTURE_3D_OES)
|