Show
Ignore:
Timestamp:
07/15/07 23:12:21 (1 year ago)
Author:
JoeCoder
Message:

Updated to latest Derelict, DMD 1.018 now supported.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/derelict/opengl/extension/arb/vertex_program.d

    r32 r50  
    277277} 
    278278 
     279private const char[] Funcs = 
     280" 
     281    typedef void function(GLuint, GLdouble) pfglVertexAttrib1dARB; 
     282    typedef void function(GLuint, GLdouble*) pfglVertexAttrib1dvARB; 
     283    typedef void function(GLuint, GLfloat) pfglVertexAttrib1fARB; 
     284    typedef void function(GLuint, GLfloat*) pfglVertexAttrib1fvARB; 
     285    typedef void function(GLuint, GLshort) pfglVertexAttrib1sARB; 
     286    typedef void function(GLuint, GLshort*) pfglVertexAttrib1svARB; 
     287    typedef void function(GLuint, GLdouble, GLdouble) pfglVertexAttrib2dARB; 
     288    typedef void function(GLuint, GLdouble*) pfglVertexAttrib2dvARB; 
     289    typedef void function(GLuint, GLfloat, GLfloat) pfglVertexAttrib2fARB; 
     290    typedef void function(GLuint, GLfloat*) pfglVertexAttrib2fvARB; 
     291    typedef void function(GLuint, GLshort, GLshort) pfglVertexAttrib2sARB; 
     292    typedef void function(GLuint, GLshort*) pfglVertexAttrib2svARB; 
     293    typedef void function(GLuint, GLdouble, GLdouble, GLdouble) pfglVertexAttrib3dARB; 
     294    typedef void function(GLuint, GLdouble*) pfglVertexAttrib3dvARB; 
     295    typedef void function(GLuint, GLfloat, GLfloat, GLfloat) pfglVertexAttrib3fARB; 
     296    typedef void function(GLuint, GLfloat*) pfglVertexAttrib3fvARB; 
     297    typedef void function(GLuint, GLshort, GLshort, GLshort) pfglVertexAttrib3sARB; 
     298    typedef void function(GLuint, GLshort*) pfglVertexAttrib3svARB; 
     299    typedef void function(GLuint, GLbyte*) pfglVertexAttrib4NbvARB; 
     300    typedef void function(GLuint, GLint*) pfglVertexAttrib4NivARB; 
     301    typedef void function(GLuint, GLshort*) pfglVertexAttrib4NsvARB; 
     302    typedef void function(GLuint, GLubyte, GLubyte, GLubyte, GLubyte) pfglVertexAttrib4NubARB; 
     303    typedef void function(GLuint, GLubyte*) pfglVertexAttrib4NubvARB; 
     304    typedef void function(GLuint, GLuint*) pfglVertexAttrib4NuivARB; 
     305    typedef void function(GLuint, GLushort*) pfglVertexAttrib4NusvARB; 
     306    typedef void function(GLuint, GLbyte*) pfglVertexAttrib4bvARB; 
     307    typedef void function(GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglVertexAttrib4dARB; 
     308    typedef void function(GLuint, GLdouble*) pfglVertexAttrib4dvARB; 
     309    typedef void function(GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglVertexAttrib4fARB; 
     310    typedef void function(GLuint, GLfloat*) pfglVertexAttrib4fvARB; 
     311    typedef void function(GLuint, GLint*) pfglVertexAttrib4ivARB; 
     312    typedef void function(GLuint, GLshort, GLshort, GLshort, GLshort) pfglVertexAttrib4sARB; 
     313    typedef void function(GLuint, GLshort*) pfglVertexAttrib4svARB; 
     314    typedef void function(GLuint, GLubyte*) pfglVertexAttrib4ubvARB; 
     315    typedef void function(GLuint, GLuint*) pfglVertexAttrib4uivARB; 
     316    typedef void function(GLuint, GLushort*) pfglVertexAttrib4usvARB; 
     317    typedef void function(GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid*) pfglVertexAttribPointerARB; 
     318    typedef void function(GLuint) pfglEnableVertexAttribArrayARB; 
     319    typedef void function(GLuint) pfglDisableVertexAttribArrayARB; 
     320    typedef void function(GLenum, GLenum, GLsizei, GLvoid*) pfglProgramStringARB; 
     321    typedef void function(GLenum, GLuint) pfglBindProgramARB; 
     322    typedef void function(GLsizei, GLuint*) pfglDeleteProgramsARB; 
     323    typedef void function(GLsizei, GLuint*) pfglGenProgramsARB; 
     324    typedef void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglProgramEnvParameter4dARB; 
     325    typedef void function(GLenum, GLuint, GLdouble*) pfglProgramEnvParameter4dvARB; 
     326    typedef void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglProgramEnvParameter4fARB; 
     327    typedef void function(GLenum, GLuint, GLfloat*) pfglProgramEnvParameter4fvARB; 
     328    typedef void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglProgramLocalParameter4dARB; 
     329    typedef void function(GLenum, GLuint, GLdouble*) pfglProgramLocalParameter4dvARB; 
     330    typedef void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglProgramLocalParameter4fARB; 
     331    typedef void function(GLenum, GLuint, GLfloat*) pfglProgramLocalParameter4fvARB; 
     332    typedef void function(GLenum, GLuint, GLdouble*) pfglGetProgramEnvParameterdvARB; 
     333    typedef void function(GLenum, GLuint, GLfloat*) pfglGetProgramEnvParameterfvARB; 
     334    typedef void function(GLenum, GLuint, GLdouble*) pfglGetProgramLocalParameterdvARB; 
     335    typedef void function(GLenum, GLuint, GLfloat*) pfglGetProgramLocalParameterfvARB; 
     336    typedef void function(GLenum, GLenum, GLint*) pfglGetProgramivARB; 
     337    typedef void function(GLenum, GLenum, GLvoid*) pfglGetProgramStringARB; 
     338    typedef void function(GLuint, GLenum, GLdouble*) pfglGetVertexAttribdvARB; 
     339    typedef void function(GLuint, GLenum, GLfloat*) pfglGetVertexAttribfvARB; 
     340    typedef void function(GLuint, GLenum, GLint*) pfglGetVertexAttribivARB; 
     341    typedef void function(GLuint, GLenum, GLvoid*) pfglGetVertexAttribPointervARB; 
     342    typedef GLboolean function(GLuint) pfglIsProgramARB; 
     343"; 
     344 
    279345version(Windows) 
    280346{ 
    281     extern(Windows): 
     347    extern(Windows): mixin(Funcs); 
    282348} 
    283349else 
    284350{ 
    285     extern(C): 
    286 
    287  
    288 typedef void function(GLuint, GLdouble) pfglVertexAttrib1dARB; 
    289 typedef void function(GLuint, GLdouble*) pfglVertexAttrib1dvARB; 
    290 typedef void function(GLuint, GLfloat) pfglVertexAttrib1fARB; 
    291 typedef void function(GLuint, GLfloat*) pfglVertexAttrib1fvARB; 
    292 typedef void function(GLuint, GLshort) pfglVertexAttrib1sARB; 
    293 typedef void function(GLuint, GLshort*) pfglVertexAttrib1svARB; 
     351    extern(C): mixin(Funcs); 
     352
     353 
    294354pfglVertexAttrib1dARB               glVertexAttrib1dARB; 
    295355pfglVertexAttrib1dvARB              glVertexAttrib1dvARB; 
     
    298358pfglVertexAttrib1sARB               glVertexAttrib1sARB; 
    299359pfglVertexAttrib1svARB              glVertexAttrib1svARB; 
    300  
    301 typedef void function(GLuint, GLdouble, GLdouble) pfglVertexAttrib2dARB; 
    302 typedef void function(GLuint, GLdouble*) pfglVertexAttrib2dvARB; 
    303 typedef void function(GLuint, GLfloat, GLfloat) pfglVertexAttrib2fARB; 
    304 typedef void function(GLuint, GLfloat*) pfglVertexAttrib2fvARB; 
    305 typedef void function(GLuint, GLshort, GLshort) pfglVertexAttrib2sARB; 
    306 typedef void function(GLuint, GLshort*) pfglVertexAttrib2svARB; 
    307360pfglVertexAttrib2dARB               glVertexAttrib2dARB; 
    308361pfglVertexAttrib2dvARB              glVertexAttrib2dvARB; 
     
    311364pfglVertexAttrib2sARB               glVertexAttrib2sARB; 
    312365pfglVertexAttrib2svARB              glVertexAttrib2svARB; 
    313  
    314  
    315 typedef void function(GLuint, GLdouble, GLdouble, GLdouble) pfglVertexAttrib3dARB; 
    316 typedef void function(GLuint, GLdouble*) pfglVertexAttrib3dvARB; 
    317 typedef void function(GLuint, GLfloat, GLfloat, GLfloat) pfglVertexAttrib3fARB; 
    318 typedef void function(GLuint, GLfloat*) pfglVertexAttrib3fvARB; 
    319 typedef void function(GLuint, GLshort, GLshort, GLshort) pfglVertexAttrib3sARB; 
    320 typedef void function(GLuint, GLshort*) pfglVertexAttrib3svARB; 
    321366pfglVertexAttrib3dARB               glVertexAttrib3dARB; 
    322367pfglVertexAttrib3dvARB              glVertexAttrib3dvARB; 
     
    325370pfglVertexAttrib3sARB               glVertexAttrib3sARB; 
    326371pfglVertexAttrib3svARB              glVertexAttrib3svARB; 
    327  
    328 typedef void function(GLuint, GLbyte*) pfglVertexAttrib4NbvARB; 
    329 typedef void function(GLuint, GLint*) pfglVertexAttrib4NivARB; 
    330 typedef void function(GLuint, GLshort*) pfglVertexAttrib4NsvARB; 
    331 typedef void function(GLuint, GLubyte, GLubyte, GLubyte, GLubyte) pfglVertexAttrib4NubARB; 
    332 typedef void function(GLuint, GLubyte*) pfglVertexAttrib4NubvARB; 
    333 typedef void function(GLuint, GLuint*) pfglVertexAttrib4NuivARB; 
    334 typedef void function(GLuint, GLushort*) pfglVertexAttrib4NusvARB; 
    335 pfglVertexAttrib4NbvARB                 glVertexAttrib4NbvARB; 
    336 pfglVertexAttrib4NivARB                 glVertexAttrib4NivARB; 
    337 pfglVertexAttrib4NsvARB                 glVertexAttrib4NsvARB; 
    338 pfglVertexAttrib4NubARB                 glVertexAttrib4NubARB; 
    339 pfglVertexAttrib4NubvARB                glVertexAttrib4NubvARB; 
    340 pfglVertexAttrib4NuivARB                glVertexAttrib4NuivARB; 
    341 pfglVertexAttrib4NusvARB                glVertexAttrib4NusvARB; 
    342  
    343 typedef void function(GLuint, GLbyte*) pfglVertexAttrib4bvARB; 
    344 typedef void function(GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglVertexAttrib4dARB; 
    345 typedef void function(GLuint, GLdouble*) pfglVertexAttrib4dvARB; 
    346 typedef void function(GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglVertexAttrib4fARB; 
    347 typedef void function(GLuint, GLfloat*) pfglVertexAttrib4fvARB; 
    348 typedef void function(GLuint, GLint*) pfglVertexAttrib4ivARB; 
    349 typedef void function(GLuint, GLshort, GLshort, GLshort, GLshort) pfglVertexAttrib4sARB; 
    350 typedef void function(GLuint, GLshort*) pfglVertexAttrib4svARB; 
    351 typedef void function(GLuint, GLubyte*) pfglVertexAttrib4ubvARB; 
    352 typedef void function(GLuint, GLuint*) pfglVertexAttrib4uivARB; 
    353 typedef void function(GLuint, GLushort*) pfglVertexAttrib4usvARB; 
     372pfglVertexAttrib4NbvARB             glVertexAttrib4NbvARB; 
     373pfglVertexAttrib4NivARB             glVertexAttrib4NivARB; 
     374pfglVertexAttrib4NsvARB             glVertexAttrib4NsvARB; 
     375pfglVertexAttrib4NubARB             glVertexAttrib4NubARB; 
     376pfglVertexAttrib4NubvARB            glVertexAttrib4NubvARB; 
     377pfglVertexAttrib4NuivARB            glVertexAttrib4NuivARB; 
     378pfglVertexAttrib4NusvARB            glVertexAttrib4NusvARB; 
    354379pfglVertexAttrib4bvARB              glVertexAttrib4bvARB; 
    355380pfglVertexAttrib4dARB               glVertexAttrib4dARB; 
     
    363388pfglVertexAttrib4uivARB             glVertexAttrib4uivARB; 
    364389pfglVertexAttrib4usvARB             glVertexAttrib4usvARB; 
    365  
    366 typedef void function(GLuint, GLint, GLenum, GLboolean, GLsizei, GLvoid*) pfglVertexAttribPointerARB; 
    367 typedef void function(GLuint) pfglEnableVertexAttribArrayARB; 
    368 typedef void function(GLuint) pfglDisableVertexAttribArrayARB; 
    369 typedef void function(GLenum, GLenum, GLsizei, GLvoid*) pfglProgramStringARB; 
    370 typedef void function(GLenum, GLuint) pfglBindProgramARB; 
    371 typedef void function(GLsizei, GLuint*) pfglDeleteProgramsARB; 
    372 typedef void function(GLsizei, GLuint*) pfglGenProgramsARB; 
    373390pfglVertexAttribPointerARB          glVertexAttribPointerARB; 
    374391pfglEnableVertexAttribArrayARB      glEnableVertexAttribArrayARB; 
     
    378395pfglDeleteProgramsARB               glDeleteProgramsARB; 
    379396pfglGenProgramsARB                  glGenProgramsARB; 
    380  
    381 typedef void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglProgramEnvParameter4dARB; 
    382 typedef void function(GLenum, GLuint, GLdouble*) pfglProgramEnvParameter4dvARB; 
    383 typedef void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglProgramEnvParameter4fARB; 
    384 typedef void function(GLenum, GLuint, GLfloat*) pfglProgramEnvParameter4fvARB; 
    385 typedef void function(GLenum, GLuint, GLdouble, GLdouble, GLdouble, GLdouble) pfglProgramLocalParameter4dARB; 
    386 typedef void function(GLenum, GLuint, GLdouble*) pfglProgramLocalParameter4dvARB; 
    387 typedef void function(GLenum, GLuint, GLfloat, GLfloat, GLfloat, GLfloat) pfglProgramLocalParameter4fARB; 
    388 typedef void function(GLenum, GLuint, GLfloat*) pfglProgramLocalParameter4fvARB; 
    389 typedef void function(GLenum, GLuint, GLdouble*) pfglGetProgramEnvParameterdvARB; 
    390 typedef void function(GLenum, GLuint, GLfloat*) pfglGetProgramEnvParameterfvARB; 
    391 typedef void function(GLenum, GLuint, GLdouble*) pfglGetProgramLocalParameterdvARB; 
    392 typedef void function(GLenum, GLuint, GLfloat*) pfglGetProgramLocalParameterfvARB; 
    393397pfglProgramEnvParameter4dARB        glProgramEnvParameter4dARB; 
    394398pfglProgramEnvParameter4dvARB       glProgramEnvParameter4dvARB; 
     
    403407pfglGetProgramLocalParameterdvARB   glGetProgramLocalParameterdvARB; 
    404408pfglGetProgramLocalParameterfvARB   glGetProgramLocalParameterfvARB; 
    405  
    406 typedef void function(GLenum, GLenum, GLint*) pfglGetProgramivARB; 
    407 typedef void function(GLenum, GLenum, GLvoid*) pfglGetProgramStringARB; 
    408 typedef void function(GLuint, GLenum, GLdouble*) pfglGetVertexAttribdvARB; 
    409 typedef void function(GLuint, GLenum, GLfloat*) pfglGetVertexAttribfvARB; 
    410 typedef void function(GLuint, GLenum, GLint*) pfglGetVertexAttribivARB; 
    411 typedef void function(GLuint, GLenum, GLvoid*) pfglGetVertexAttribPointervARB; 
    412 typedef GLboolean function(GLuint) pfglIsProgramARB; 
    413409pfglGetProgramivARB                 glGetProgramivARB; 
    414410pfglGetProgramStringARB             glGetProgramStringARB;