lib/ffi-opengl/gl.rb in remogatto-ffi-opengl-0.1.0 vs lib/ffi-opengl/gl.rb in remogatto-ffi-opengl-0.2.0
- old
+ new
@@ -1,5 +1,6 @@
+
module GL
extend FFI::Library
GL_VERSION_1_1 = 1
GL_VERSION_1_2 = 1
GL_VERSION_1_3 = 1
@@ -570,11 +571,11 @@
attach_function :glPopAttrib, [ ], :void
attach_function :glPushClientAttrib, [ :uint ], :void
attach_function :glPopClientAttrib, [ ], :void
attach_function :glRenderMode, [ :uint ], :int
attach_function :glGetError, [ ], :uint
- attach_function :glGetString, [ :uint ], :uchar
+ attach_function :glGetString, [ :uint ], :pointer
attach_function :glFinish, [ ], :void
attach_function :glFlush, [ ], :void
attach_function :glHint, [ :uint, :uint ], :void
attach_function :glClearDepth, [ :double ], :void
attach_function :glDepthFunc, [ :uint ], :void
@@ -1028,24 +1029,24 @@
attach_function :glSeparableFilter2D, [ :uint, :uint, :int, :int, :uint, :uint, :pointer, :pointer ], :void
attach_function :glGetSeparableFilter, [ :uint, :uint, :uint, :pointer, :pointer, :pointer ], :void
callback(:PFNGLBLENDCOLORPROC, [ :float, :float, :float, :float ], :void)
callback(:PFNGLBLENDEQUATIONPROC, [ :uint ], :void)
callback(:PFNGLCOLORTABLEPROC, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void)
- callback(:PFNGLCOLORTABLEPARAMETERFVPROC, [ :uint, :uint, :pointer ], :float)
- callback(:PFNGLCOLORTABLEPARAMETERIVPROC, [ :uint, :uint, :pointer ], :int)
+ callback(:PFNGLCOLORTABLEPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
+ callback(:PFNGLCOLORTABLEPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLCOPYCOLORTABLEPROC, [ :uint, :uint, :int, :int, :int ], :void)
callback(:PFNGLGETCOLORTABLEPROC, [ :uint, :uint, :uint, :pointer ], :void)
callback(:PFNGLGETCOLORTABLEPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLGETCOLORTABLEPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLCOLORSUBTABLEPROC, [ :uint, :int, :int, :uint, :uint, :pointer ], :void)
callback(:PFNGLCOPYCOLORSUBTABLEPROC, [ :uint, :int, :int, :int, :int ], :void)
callback(:PFNGLCONVOLUTIONFILTER1DPROC, [ :uint, :uint, :int, :uint, :uint, :pointer ], :void)
callback(:PFNGLCONVOLUTIONFILTER2DPROC, [ :uint, :uint, :int, :int, :uint, :uint, :pointer ], :void)
callback(:PFNGLCONVOLUTIONPARAMETERFPROC, [ :uint, :uint, :float ], :void)
- callback(:PFNGLCONVOLUTIONPARAMETERFVPROC, [ :uint, :uint, :pointer ], :float)
+ callback(:PFNGLCONVOLUTIONPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLCONVOLUTIONPARAMETERIPROC, [ :uint, :uint, :int ], :void)
- callback(:PFNGLCONVOLUTIONPARAMETERIVPROC, [ :uint, :uint, :pointer ], :int)
+ callback(:PFNGLCONVOLUTIONPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLCOPYCONVOLUTIONFILTER1DPROC, [ :uint, :uint, :int, :int, :int ], :void)
callback(:PFNGLCOPYCONVOLUTIONFILTER2DPROC, [ :uint, :uint, :int, :int, :int, :int ], :void)
callback(:PFNGLGETCONVOLUTIONFILTERPROC, [ :uint, :uint, :uint, :pointer ], :void)
callback(:PFNGLGETCONVOLUTIONPARAMETERFVPROC, [ :uint, :uint, :pointer ], :void)
callback(:PFNGLGETCONVOLUTIONPARAMETERIVPROC, [ :uint, :uint, :pointer ], :void)
@@ -1200,45 +1201,45 @@
attach_function :glMultiTexCoord4sv, [ :uint, :pointer ], :void
attach_function :glSampleCoverage, [ :float, :uchar ], :void
callback(:PFNGLACTIVETEXTUREPROC, [ :uint ], :void)
callback(:PFNGLCLIENTACTIVETEXTUREPROC, [ :uint ], :void)
callback(:PFNGLMULTITEXCOORD1DPROC, [ :uint, :double ], :void)
- callback(:PFNGLMULTITEXCOORD1DVPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD1DVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1FPROC, [ :uint, :float ], :void)
- callback(:PFNGLMULTITEXCOORD1FVPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD1FVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1IPROC, [ :uint, :int ], :void)
- callback(:PFNGLMULTITEXCOORD1IVPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD1IVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1SPROC, [ :uint, :short ], :void)
- callback(:PFNGLMULTITEXCOORD1SVPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD1SVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2DPROC, [ :uint, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD2DVPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD2DVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2FPROC, [ :uint, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD2FVPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD2FVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2IPROC, [ :uint, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD2IVPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD2IVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2SPROC, [ :uint, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD2SVPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD2SVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3DPROC, [ :uint, :double, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD3DVPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD3DVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3FPROC, [ :uint, :float, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD3FVPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD3FVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3IPROC, [ :uint, :int, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD3IVPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD3IVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3SPROC, [ :uint, :short, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD3SVPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD3SVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4DPROC, [ :uint, :double, :double, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD4DVPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD4DVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4FPROC, [ :uint, :float, :float, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD4FVPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD4FVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4IPROC, [ :uint, :int, :int, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD4IVPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD4IVPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4SPROC, [ :uint, :short, :short, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD4SVPROC, [ :uint, :pointer ], :short)
- callback(:PFNGLLOADTRANSPOSEMATRIXFPROC, [ :pointer ], :float)
- callback(:PFNGLLOADTRANSPOSEMATRIXDPROC, [ :pointer ], :double)
- callback(:PFNGLMULTTRANSPOSEMATRIXFPROC, [ :pointer ], :float)
- callback(:PFNGLMULTTRANSPOSEMATRIXDPROC, [ :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD4SVPROC, [ :uint, :pointer ], :void)
+ callback(:PFNGLLOADTRANSPOSEMATRIXFPROC, [ :pointer ], :void)
+ callback(:PFNGLLOADTRANSPOSEMATRIXDPROC, [ :pointer ], :void)
+ callback(:PFNGLMULTTRANSPOSEMATRIXFPROC, [ :pointer ], :void)
+ callback(:PFNGLMULTTRANSPOSEMATRIXDPROC, [ :pointer ], :void)
callback(:PFNGLSAMPLECOVERAGEPROC, [ :float, :uchar ], :void)
callback(:PFNGLCOMPRESSEDTEXIMAGE3DPROC, [ :uint, :int, :uint, :int, :int, :int, :int, :int, :pointer ], :void)
callback(:PFNGLCOMPRESSEDTEXIMAGE2DPROC, [ :uint, :int, :uint, :int, :int, :int, :int, :pointer ], :void)
callback(:PFNGLCOMPRESSEDTEXIMAGE1DPROC, [ :uint, :int, :uint, :int, :int, :int, :pointer ], :void)
callback(:PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC, [ :uint, :int, :int, :int, :int, :int, :int, :int, :uint, :int, :pointer ], :void)
@@ -1316,40 +1317,40 @@
attach_function :glMultiTexCoord4sARB, [ :uint, :short, :short, :short, :short ], :void
attach_function :glMultiTexCoord4svARB, [ :uint, :pointer ], :void
callback(:PFNGLACTIVETEXTUREARBPROC, [ :uint ], :void)
callback(:PFNGLCLIENTACTIVETEXTUREARBPROC, [ :uint ], :void)
callback(:PFNGLMULTITEXCOORD1DARBPROC, [ :uint, :double ], :void)
- callback(:PFNGLMULTITEXCOORD1DVARBPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD1DVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1FARBPROC, [ :uint, :float ], :void)
- callback(:PFNGLMULTITEXCOORD1FVARBPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD1FVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1IARBPROC, [ :uint, :int ], :void)
- callback(:PFNGLMULTITEXCOORD1IVARBPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD1IVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD1SARBPROC, [ :uint, :short ], :void)
- callback(:PFNGLMULTITEXCOORD1SVARBPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD1SVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2DARBPROC, [ :uint, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD2DVARBPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD2DVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2FARBPROC, [ :uint, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD2FVARBPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD2FVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2IARBPROC, [ :uint, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD2IVARBPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD2IVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD2SARBPROC, [ :uint, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD2SVARBPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD2SVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3DARBPROC, [ :uint, :double, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD3DVARBPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD3DVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3FARBPROC, [ :uint, :float, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD3FVARBPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD3FVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3IARBPROC, [ :uint, :int, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD3IVARBPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD3IVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD3SARBPROC, [ :uint, :short, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD3SVARBPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD3SVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4DARBPROC, [ :uint, :double, :double, :double, :double ], :void)
- callback(:PFNGLMULTITEXCOORD4DVARBPROC, [ :uint, :pointer ], :double)
+ callback(:PFNGLMULTITEXCOORD4DVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4FARBPROC, [ :uint, :float, :float, :float, :float ], :void)
- callback(:PFNGLMULTITEXCOORD4FVARBPROC, [ :uint, :pointer ], :float)
+ callback(:PFNGLMULTITEXCOORD4FVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4IARBPROC, [ :uint, :int, :int, :int, :int ], :void)
- callback(:PFNGLMULTITEXCOORD4IVARBPROC, [ :uint, :pointer ], :int)
+ callback(:PFNGLMULTITEXCOORD4IVARBPROC, [ :uint, :pointer ], :void)
callback(:PFNGLMULTITEXCOORD4SARBPROC, [ :uint, :short, :short, :short, :short ], :void)
- callback(:PFNGLMULTITEXCOORD4SVARBPROC, [ :uint, :pointer ], :short)
+ callback(:PFNGLMULTITEXCOORD4SVARBPROC, [ :uint, :pointer ], :void)
GL_MESA_packed_depth_stencil = 1
GL_DEPTH_STENCIL_MESA = 0x8750
GL_UNSIGNED_INT_24_8_MESA = 0x8751
GL_UNSIGNED_INT_8_24_REV_MESA = 0x8752
GL_UNSIGNED_SHORT_15_1_MESA = 0x8753