glext.nim 229 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674
  1. #
  2. #
  3. # Adaption of the delphi3d.net OpenGL units to FreePascal
  4. # Sebastian Guenther (sg@freepascal.org) in 2002
  5. # These units are free to use
  6. #
  7. #
  8. #*************************************************
  9. # * OpenGL extension loading library *
  10. # * Generated by MetaGLext, written by Tom Nuydens *
  11. # * (tom@delphi3d.net -- http://www.delphi3d.net *
  12. # *************************************************
  13. #*** Generated on 10/11/2002
  14. when defined(windows):
  15. {.push, callconv: stdcall.}
  16. else:
  17. {.push, callconv: cdecl.}
  18. import
  19. gl
  20. type
  21. GLcharARB* = Char
  22. TGLcharARB* = GLcharARB
  23. PGLcharARB* = ptr GLcharARB
  24. GLhandleARB* = int
  25. TGLhandleARB* = GLhandleARB
  26. PGLhandleARB* = ptr GLhandleARB
  27. GLintptr* = int
  28. TGLintptr* = GLintptr
  29. PGLintptr* = ptr GLintptr
  30. GLsizeiptr* = int
  31. TGLsizeiptr* = GLsizeiptr
  32. PGLsizeiptr* = ptr GLsizeiptr
  33. GLchar* = Char
  34. TGLchar* = GLchar
  35. PGLchar* = cstring #***** GL_version_1_2 *****//
  36. const
  37. GL_UNSIGNED_BYTE_3_3_2* = 0x00008032
  38. GL_UNSIGNED_SHORT_4_4_4_4* = 0x00008033
  39. GL_UNSIGNED_SHORT_5_5_5_1* = 0x00008034
  40. GL_UNSIGNED_INT_8_8_8_8* = 0x00008035
  41. GL_UNSIGNED_INT_10_10_10_2* = 0x00008036
  42. GL_RESCALE_NORMAL* = 0x0000803A
  43. GL_UNSIGNED_BYTE_2_3_3_REV* = 0x00008362
  44. GL_UNSIGNED_SHORT_5_6_5* = 0x00008363
  45. GL_UNSIGNED_SHORT_5_6_5_REV* = 0x00008364
  46. GL_UNSIGNED_SHORT_4_4_4_4_REV* = 0x00008365
  47. GL_UNSIGNED_SHORT_1_5_5_5_REV* = 0x00008366
  48. GL_UNSIGNED_INT_8_8_8_8_REV* = 0x00008367
  49. GL_UNSIGNED_INT_2_10_10_10_REV* = 0x00008368
  50. GL_BGR* = 0x000080E0
  51. GL_BGRA* = 0x000080E1
  52. GL_MAX_ELEMENTS_VERTICES* = 0x000080E8
  53. GL_MAX_ELEMENTS_INDICES* = 0x000080E9
  54. GL_CLAMP_TO_EDGE* = 0x0000812F
  55. GL_TEXTURE_MIN_LOD* = 0x0000813A
  56. GL_TEXTURE_MAX_LOD* = 0x0000813B
  57. GL_TEXTURE_BASE_LEVEL* = 0x0000813C
  58. GL_TEXTURE_MAX_LEVEL* = 0x0000813D
  59. GL_LIGHT_MODEL_COLOR_CONTROL* = 0x000081F8
  60. GL_SINGLE_COLOR* = 0x000081F9
  61. GL_SEPARATE_SPECULAR_COLOR* = 0x000081FA
  62. GL_SMOOTH_POINT_SIZE_RANGE* = 0x00000B12
  63. GL_SMOOTH_POINT_SIZE_GRANULARITY* = 0x00000B13
  64. GL_SMOOTH_LINE_WIDTH_RANGE* = 0x00000B22
  65. GL_SMOOTH_LINE_WIDTH_GRANULARITY* = 0x00000B23
  66. GL_ALIASED_POINT_SIZE_RANGE* = 0x0000846D
  67. GL_ALIASED_LINE_WIDTH_RANGE* = 0x0000846E
  68. GL_PACK_SKIP_IMAGES* = 0x0000806B
  69. GL_PACK_IMAGE_HEIGHT* = 0x0000806C
  70. GL_UNPACK_SKIP_IMAGES* = 0x0000806D
  71. GL_UNPACK_IMAGE_HEIGHT* = 0x0000806E
  72. GL_TEXTURE_3D* = 0x0000806F
  73. GL_PROXY_TEXTURE_3D* = 0x00008070
  74. GL_TEXTURE_DEPTH* = 0x00008071
  75. GL_TEXTURE_WRAP_R* = 0x00008072
  76. GL_MAX_3D_TEXTURE_SIZE* = 0x00008073
  77. proc glBlendColor*(red: TGLclampf, green: TGLclampf, blue: TGLclampf,
  78. alpha: TGLclampf){.dynlib: dllname, importc: "glBlendColor".}
  79. proc glBlendEquation*(mode: TGLenum){.dynlib: dllname,
  80. importc: "glBlendEquation".}
  81. proc glDrawRangeElements*(mode: TGLenum, start: TGLuint, theend: TGLuint,
  82. count: TGLsizei, thetype: TGLenum, indices: PGLvoid){.
  83. dynlib: dllname, importc: "glDrawRangeElements".}
  84. proc glColorTable*(target: TGLenum, internalformat: TGLenum, width: TGLsizei,
  85. format: TGLenum, thetype: TGLenum, table: PGLvoid){.
  86. dynlib: dllname, importc: "glColorTable".}
  87. proc glColorTableParameterfv*(target: TGLenum, pname: TGLenum, params: PGLfloat){.
  88. dynlib: dllname, importc: "glColorTableParameterfv".}
  89. proc glColorTableParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  90. dynlib: dllname, importc: "glColorTableParameteriv".}
  91. proc glCopyColorTable*(target: TGLenum, internalformat: TGLenum, x: TGLint,
  92. y: TGLint, width: TGLsizei){.dynlib: dllname,
  93. importc: "glCopyColorTable".}
  94. proc glGetColorTable*(target: TGLenum, format: TGLenum, thetype: TGLenum,
  95. table: PGLvoid){.dynlib: dllname,
  96. importc: "glGetColorTable".}
  97. proc glGetColorTableParameterfv*(target: TGLenum, pname: TGLenum,
  98. params: PGLfloat){.dynlib: dllname,
  99. importc: "glGetColorTableParameterfv".}
  100. proc glGetColorTableParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  101. dynlib: dllname, importc: "glGetColorTableParameteriv".}
  102. proc glColorSubTable*(target: TGLenum, start: TGLsizei, count: TGLsizei,
  103. format: TGLenum, thetype: TGLenum, data: PGLvoid){.
  104. dynlib: dllname, importc: "glColorSubTable".}
  105. proc glCopyColorSubTable*(target: TGLenum, start: TGLsizei, x: TGLint,
  106. y: TGLint, width: TGLsizei){.dynlib: dllname,
  107. importc: "glCopyColorSubTable".}
  108. proc glConvolutionFilter1D*(target: TGLenum, internalformat: TGLenum,
  109. width: TGLsizei, format: TGLenum, thetype: TGLenum,
  110. image: PGLvoid){.dynlib: dllname,
  111. importc: "glConvolutionFilter1D".}
  112. proc glConvolutionFilter2D*(target: TGLenum, internalformat: TGLenum,
  113. width: TGLsizei, height: TGLsizei, format: TGLenum,
  114. thetype: TGLenum, image: PGLvoid){.dynlib: dllname,
  115. importc: "glConvolutionFilter2D".}
  116. proc glConvolutionParameterf*(target: TGLenum, pname: TGLenum, params: TGLfloat){.
  117. dynlib: dllname, importc: "glConvolutionParameterf".}
  118. proc glConvolutionParameterfv*(target: TGLenum, pname: TGLenum, params: PGLfloat){.
  119. dynlib: dllname, importc: "glConvolutionParameterfv".}
  120. proc glConvolutionParameteri*(target: TGLenum, pname: TGLenum, params: TGLint){.
  121. dynlib: dllname, importc: "glConvolutionParameteri".}
  122. proc glConvolutionParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  123. dynlib: dllname, importc: "glConvolutionParameteriv".}
  124. proc glCopyConvolutionFilter1D*(target: TGLenum, internalformat: TGLenum,
  125. x: TGLint, y: TGLint, width: TGLsizei){.
  126. dynlib: dllname, importc: "glCopyConvolutionFilter1D".}
  127. proc glCopyConvolutionFilter2D*(target: TGLenum, internalformat: TGLenum,
  128. x: TGLint, y: TGLint, width: TGLsizei,
  129. height: TGLsizei){.dynlib: dllname,
  130. importc: "glCopyConvolutionFilter2D".}
  131. proc glGetConvolutionFilter*(target: TGLenum, format: TGLenum, thetype: TGLenum,
  132. image: PGLvoid){.dynlib: dllname,
  133. importc: "glGetConvolutionFilter".}
  134. proc glGetConvolutionParameterfv*(target: TGLenum, pname: TGLenum,
  135. params: PGLfloat){.dynlib: dllname,
  136. importc: "glGetConvolutionParameterfv".}
  137. proc glGetConvolutionParameteriv*(target: TGLenum, pname: TGLenum,
  138. params: PGLint){.dynlib: dllname,
  139. importc: "glGetConvolutionParameteriv".}
  140. proc glGetSeparableFilter*(target: TGLenum, format: TGLenum, thetype: TGLenum,
  141. row: PGLvoid, column: PGLvoid, span: PGLvoid){.
  142. dynlib: dllname, importc: "glGetSeparableFilter".}
  143. proc glSeparableFilter2D*(target: TGLenum, internalformat: TGLenum,
  144. width: TGLsizei, height: TGLsizei, format: TGLenum,
  145. thetype: TGLenum, row: PGLvoid, column: PGLvoid){.
  146. dynlib: dllname, importc: "glSeparableFilter2D".}
  147. proc glGetHistogram*(target: TGLenum, reset: TGLboolean, format: TGLenum,
  148. thetype: TGLenum, values: PGLvoid){.dynlib: dllname,
  149. importc: "glGetHistogram".}
  150. proc glGetHistogramParameterfv*(target: TGLenum, pname: TGLenum,
  151. params: PGLfloat){.dynlib: dllname,
  152. importc: "glGetHistogramParameterfv".}
  153. proc glGetHistogramParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  154. dynlib: dllname, importc: "glGetHistogramParameteriv".}
  155. proc glGetMinmax*(target: TGLenum, reset: TGLboolean, format: TGLenum,
  156. thetype: TGLenum, values: PGLvoid){.dynlib: dllname,
  157. importc: "glGetMinmax".}
  158. proc glGetMinmaxParameterfv*(target: TGLenum, pname: TGLenum, params: PGLfloat){.
  159. dynlib: dllname, importc: "glGetMinmaxParameterfv".}
  160. proc glGetMinmaxParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  161. dynlib: dllname, importc: "glGetMinmaxParameteriv".}
  162. proc glHistogram*(target: TGLenum, width: TGLsizei, internalformat: TGLenum,
  163. sink: TGLboolean){.dynlib: dllname, importc: "glHistogram".}
  164. proc glMinmax*(target: TGLenum, internalformat: TGLenum, sink: TGLboolean){.
  165. dynlib: dllname, importc: "glMinmax".}
  166. proc glResetHistogram*(target: TGLenum){.dynlib: dllname,
  167. importc: "glResetHistogram".}
  168. proc glResetMinmax*(target: TGLenum){.dynlib: dllname, importc: "glResetMinmax".}
  169. proc glTexImage3D*(target: TGLenum, level: TGLint, internalformat: TGLint,
  170. width: TGLsizei, height: TGLsizei, depth: TGLsizei,
  171. border: TGLint, format: TGLenum, thetype: TGLenum,
  172. pixels: PGLvoid){.dynlib: dllname, importc: "glTexImage3D".}
  173. proc glTexSubImage3D*(target: TGLenum, level: TGLint, xoffset: TGLint,
  174. yoffset: TGLint, zoffset: TGLint, width: TGLsizei,
  175. height: TGLsizei, depth: TGLsizei, format: TGLenum,
  176. thetype: TGLenum, pixels: PGLvoid){.dynlib: dllname,
  177. importc: "glTexSubImage3D".}
  178. proc glCopyTexSubImage3D*(target: TGLenum, level: TGLint, xoffset: TGLint,
  179. yoffset: TGLint, zoffset: TGLint, x: TGLint,
  180. y: TGLint, width: TGLsizei, height: TGLsizei){.
  181. dynlib: dllname, importc: "glCopyTexSubImage3D".}
  182. proc glActiveTextureARB*(texture: TGLenum){.dynlib: dllname,
  183. importc: "glActiveTextureARB".}
  184. proc glClientActiveTextureARB*(texture: TGLenum){.dynlib: dllname,
  185. importc: "glClientActiveTextureARB".}
  186. proc glMultiTexCoord1dARB*(target: TGLenum, s: TGLdouble){.dynlib: dllname,
  187. importc: "glMultiTexCoord1dARB".}
  188. proc glMultiTexCoord1dvARB*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  189. importc: "glMultiTexCoord1dvARB".}
  190. proc glMultiTexCoord1fARB*(target: TGLenum, s: TGLfloat){.dynlib: dllname,
  191. importc: "glMultiTexCoord1fARB".}
  192. proc glMultiTexCoord1fvARB*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  193. importc: "glMultiTexCoord1fvARB".}
  194. proc glMultiTexCoord1iARB*(target: TGLenum, s: TGLint){.dynlib: dllname,
  195. importc: "glMultiTexCoord1iARB".}
  196. proc glMultiTexCoord1ivARB*(target: TGLenum, v: PGLint){.dynlib: dllname,
  197. importc: "glMultiTexCoord1ivARB".}
  198. proc glMultiTexCoord1sARB*(target: TGLenum, s: TGLshort){.dynlib: dllname,
  199. importc: "glMultiTexCoord1sARB".}
  200. proc glMultiTexCoord1svARB*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  201. importc: "glMultiTexCoord1svARB".}
  202. proc glMultiTexCoord2dARB*(target: TGLenum, s: TGLdouble, t: TGLdouble){.
  203. dynlib: dllname, importc: "glMultiTexCoord2dARB".}
  204. proc glMultiTexCoord2dvARB*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  205. importc: "glMultiTexCoord2dvARB".}
  206. proc glMultiTexCoord2fARB*(target: TGLenum, s: TGLfloat, t: TGLfloat){.
  207. dynlib: dllname, importc: "glMultiTexCoord2fARB".}
  208. proc glMultiTexCoord2fvARB*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  209. importc: "glMultiTexCoord2fvARB".}
  210. proc glMultiTexCoord2iARB*(target: TGLenum, s: TGLint, t: TGLint){.
  211. dynlib: dllname, importc: "glMultiTexCoord2iARB".}
  212. proc glMultiTexCoord2ivARB*(target: TGLenum, v: PGLint){.dynlib: dllname,
  213. importc: "glMultiTexCoord2ivARB".}
  214. proc glMultiTexCoord2sARB*(target: TGLenum, s: TGLshort, t: TGLshort){.
  215. dynlib: dllname, importc: "glMultiTexCoord2sARB".}
  216. proc glMultiTexCoord2svARB*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  217. importc: "glMultiTexCoord2svARB".}
  218. proc glMultiTexCoord3dARB*(target: TGLenum, s: TGLdouble, t: TGLdouble,
  219. r: TGLdouble){.dynlib: dllname,
  220. importc: "glMultiTexCoord3dARB".}
  221. proc glMultiTexCoord3dvARB*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  222. importc: "glMultiTexCoord3dvARB".}
  223. proc glMultiTexCoord3fARB*(target: TGLenum, s: TGLfloat, t: TGLfloat,
  224. r: TGLfloat){.dynlib: dllname,
  225. importc: "glMultiTexCoord3fARB".}
  226. proc glMultiTexCoord3fvARB*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  227. importc: "glMultiTexCoord3fvARB".}
  228. proc glMultiTexCoord3iARB*(target: TGLenum, s: TGLint, t: TGLint, r: TGLint){.
  229. dynlib: dllname, importc: "glMultiTexCoord3iARB".}
  230. proc glMultiTexCoord3ivARB*(target: TGLenum, v: PGLint){.dynlib: dllname,
  231. importc: "glMultiTexCoord3ivARB".}
  232. proc glMultiTexCoord3sARB*(target: TGLenum, s: TGLshort, t: TGLshort,
  233. r: TGLshort){.dynlib: dllname,
  234. importc: "glMultiTexCoord3sARB".}
  235. proc glMultiTexCoord3svARB*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  236. importc: "glMultiTexCoord3svARB".}
  237. proc glMultiTexCoord4dARB*(target: TGLenum, s: TGLdouble, t: TGLdouble,
  238. r: TGLdouble, q: TGLdouble){.dynlib: dllname,
  239. importc: "glMultiTexCoord4dARB".}
  240. proc glMultiTexCoord4dvARB*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  241. importc: "glMultiTexCoord4dvARB".}
  242. proc glMultiTexCoord4fARB*(target: TGLenum, s: TGLfloat, t: TGLfloat,
  243. r: TGLfloat, q: TGLfloat){.dynlib: dllname,
  244. importc: "glMultiTexCoord4fARB".}
  245. proc glMultiTexCoord4fvARB*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  246. importc: "glMultiTexCoord4fvARB".}
  247. proc glMultiTexCoord4iARB*(target: TGLenum, s: TGLint, t: TGLint, r: TGLint,
  248. q: TGLint){.dynlib: dllname,
  249. importc: "glMultiTexCoord4iARB".}
  250. proc glMultiTexCoord4ivARB*(target: TGLenum, v: PGLint){.dynlib: dllname,
  251. importc: "glMultiTexCoord4ivARB".}
  252. proc glMultiTexCoord4sARB*(target: TGLenum, s: TGLshort, t: TGLshort,
  253. r: TGLshort, q: TGLshort){.dynlib: dllname,
  254. importc: "glMultiTexCoord4sARB".}
  255. proc glMultiTexCoord4svARB*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  256. importc: "glMultiTexCoord4svARB".}
  257. proc glSampleCoverageARB*(value: TGLclampf, invert: TGLboolean){.
  258. dynlib: dllname, importc: "glSampleCoverageARB".}
  259. #***** GL_ARB_texture_env_add *****//
  260. proc glWeightbvARB*(size: TGLint, weights: PGLbyte){.dynlib: dllname,
  261. importc: "glWeightbvARB".}
  262. proc glWeightsvARB*(size: TGLint, weights: PGLshort){.dynlib: dllname,
  263. importc: "glWeightsvARB".}
  264. proc glWeightivARB*(size: TGLint, weights: PGLint){.dynlib: dllname,
  265. importc: "glWeightivARB".}
  266. proc glWeightfvARB*(size: TGLint, weights: PGLfloat){.dynlib: dllname,
  267. importc: "glWeightfvARB".}
  268. proc glWeightdvARB*(size: TGLint, weights: PGLdouble){.dynlib: dllname,
  269. importc: "glWeightdvARB".}
  270. proc glWeightvARB*(size: TGLint, weights: PGLdouble){.dynlib: dllname,
  271. importc: "glWeightvARB".}
  272. proc glWeightubvARB*(size: TGLint, weights: PGLubyte){.dynlib: dllname,
  273. importc: "glWeightubvARB".}
  274. proc glWeightusvARB*(size: TGLint, weights: PGLushort){.dynlib: dllname,
  275. importc: "glWeightusvARB".}
  276. proc glWeightuivARB*(size: TGLint, weights: PGLuint){.dynlib: dllname,
  277. importc: "glWeightuivARB".}
  278. proc glWeightPointerARB*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  279. pointer: PGLvoid){.dynlib: dllname,
  280. importc: "glWeightPointerARB".}
  281. proc glVertexBlendARB*(count: TGLint){.dynlib: dllname,
  282. importc: "glVertexBlendARB".}
  283. proc glVertexAttrib1sARB*(index: TGLuint, x: TGLshort){.dynlib: dllname,
  284. importc: "glVertexAttrib1sARB".}
  285. proc glVertexAttrib1fARB*(index: TGLuint, x: TGLfloat){.dynlib: dllname,
  286. importc: "glVertexAttrib1fARB".}
  287. proc glVertexAttrib1dARB*(index: TGLuint, x: TGLdouble){.dynlib: dllname,
  288. importc: "glVertexAttrib1dARB".}
  289. proc glVertexAttrib2sARB*(index: TGLuint, x: TGLshort, y: TGLshort){.
  290. dynlib: dllname, importc: "glVertexAttrib2sARB".}
  291. proc glVertexAttrib2fARB*(index: TGLuint, x: TGLfloat, y: TGLfloat){.
  292. dynlib: dllname, importc: "glVertexAttrib2fARB".}
  293. proc glVertexAttrib2dARB*(index: TGLuint, x: TGLdouble, y: TGLdouble){.
  294. dynlib: dllname, importc: "glVertexAttrib2dARB".}
  295. proc glVertexAttrib3sARB*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort){.
  296. dynlib: dllname, importc: "glVertexAttrib3sARB".}
  297. proc glVertexAttrib3fARB*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  298. dynlib: dllname, importc: "glVertexAttrib3fARB".}
  299. proc glVertexAttrib3dARB*(index: TGLuint, x: TGLdouble, y: TGLdouble,
  300. z: TGLdouble){.dynlib: dllname,
  301. importc: "glVertexAttrib3dARB".}
  302. proc glVertexAttrib4sARB*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort,
  303. w: TGLshort){.dynlib: dllname,
  304. importc: "glVertexAttrib4sARB".}
  305. proc glVertexAttrib4fARB*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat,
  306. w: TGLfloat){.dynlib: dllname,
  307. importc: "glVertexAttrib4fARB".}
  308. proc glVertexAttrib4dARB*(index: TGLuint, x: TGLdouble, y: TGLdouble,
  309. z: TGLdouble, w: TGLdouble){.dynlib: dllname,
  310. importc: "glVertexAttrib4dARB".}
  311. proc glVertexAttrib4NubARB*(index: TGLuint, x: TGLubyte, y: TGLubyte,
  312. z: TGLubyte, w: TGLubyte){.dynlib: dllname,
  313. importc: "glVertexAttrib4NubARB".}
  314. proc glVertexAttrib1svARB*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  315. importc: "glVertexAttrib1svARB".}
  316. proc glVertexAttrib1fvARB*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  317. importc: "glVertexAttrib1fvARB".}
  318. proc glVertexAttrib1dvARB*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  319. importc: "glVertexAttrib1dvARB".}
  320. proc glVertexAttrib2svARB*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  321. importc: "glVertexAttrib2svARB".}
  322. proc glVertexAttrib2fvARB*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  323. importc: "glVertexAttrib2fvARB".}
  324. proc glVertexAttrib2dvARB*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  325. importc: "glVertexAttrib2dvARB".}
  326. proc glVertexAttrib3svARB*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  327. importc: "glVertexAttrib3svARB".}
  328. proc glVertexAttrib3fvARB*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  329. importc: "glVertexAttrib3fvARB".}
  330. proc glVertexAttrib3dvARB*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  331. importc: "glVertexAttrib3dvARB".}
  332. proc glVertexAttrib4bvARB*(index: TGLuint, v: PGLbyte){.dynlib: dllname,
  333. importc: "glVertexAttrib4bvARB".}
  334. proc glVertexAttrib4svARB*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  335. importc: "glVertexAttrib4svARB".}
  336. proc glVertexAttrib4ivARB*(index: TGLuint, v: PGLint){.dynlib: dllname,
  337. importc: "glVertexAttrib4ivARB".}
  338. proc glVertexAttrib4ubvARB*(index: TGLuint, v: PGLubyte){.dynlib: dllname,
  339. importc: "glVertexAttrib4ubvARB".}
  340. proc glVertexAttrib4usvARB*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  341. importc: "glVertexAttrib4usvARB".}
  342. proc glVertexAttrib4uivARB*(index: TGLuint, v: PGLuint){.dynlib: dllname,
  343. importc: "glVertexAttrib4uivARB".}
  344. proc glVertexAttrib4fvARB*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  345. importc: "glVertexAttrib4fvARB".}
  346. proc glVertexAttrib4dvARB*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  347. importc: "glVertexAttrib4dvARB".}
  348. proc glVertexAttrib4NbvARB*(index: TGLuint, v: PGLbyte){.dynlib: dllname,
  349. importc: "glVertexAttrib4NbvARB".}
  350. proc glVertexAttrib4NsvARB*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  351. importc: "glVertexAttrib4NsvARB".}
  352. proc glVertexAttrib4NivARB*(index: TGLuint, v: PGLint){.dynlib: dllname,
  353. importc: "glVertexAttrib4NivARB".}
  354. proc glVertexAttrib4NubvARB*(index: TGLuint, v: PGLubyte){.dynlib: dllname,
  355. importc: "glVertexAttrib4NubvARB".}
  356. proc glVertexAttrib4NusvARB*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  357. importc: "glVertexAttrib4NusvARB".}
  358. proc glVertexAttrib4NuivARB*(index: TGLuint, v: PGLuint){.dynlib: dllname,
  359. importc: "glVertexAttrib4NuivARB".}
  360. proc glVertexAttribPointerARB*(index: TGLuint, size: TGLint, thetype: TGLenum,
  361. normalized: TGLboolean, stride: TGLsizei,
  362. pointer: PGLvoid){.dynlib: dllname,
  363. importc: "glVertexAttribPointerARB".}
  364. proc glEnableVertexAttribArrayARB*(index: TGLuint){.dynlib: dllname,
  365. importc: "glEnableVertexAttribArrayARB".}
  366. proc glDisableVertexAttribArrayARB*(index: TGLuint){.dynlib: dllname,
  367. importc: "glDisableVertexAttribArrayARB".}
  368. proc glProgramStringARB*(target: TGLenum, format: TGLenum, length: TGLsizei,
  369. str: PGLvoid){.dynlib: dllname,
  370. importc: "glProgramStringARB".}
  371. proc glBindProgramARB*(target: TGLenum, theProgram: TGLuint){.dynlib: dllname,
  372. importc: "glBindProgramARB".}
  373. proc glDeleteProgramsARB*(n: TGLsizei, programs: PGLuint){.dynlib: dllname,
  374. importc: "glDeleteProgramsARB".}
  375. proc glGenProgramsARB*(n: TGLsizei, programs: PGLuint){.dynlib: dllname,
  376. importc: "glGenProgramsARB".}
  377. proc glProgramEnvParameter4dARB*(target: TGLenum, index: TGLuint, x: TGLdouble,
  378. y: TGLdouble, z: TGLdouble, w: TGLdouble){.
  379. dynlib: dllname, importc: "glProgramEnvParameter4dARB".}
  380. proc glProgramEnvParameter4dvARB*(target: TGLenum, index: TGLuint,
  381. params: PGLdouble){.dynlib: dllname,
  382. importc: "glProgramEnvParameter4dvARB".}
  383. proc glProgramEnvParameter4fARB*(target: TGLenum, index: TGLuint, x: TGLfloat,
  384. y: TGLfloat, z: TGLfloat, w: TGLfloat){.
  385. dynlib: dllname, importc: "glProgramEnvParameter4fARB".}
  386. proc glProgramEnvParameter4fvARB*(target: TGLenum, index: TGLuint,
  387. params: PGLfloat){.dynlib: dllname,
  388. importc: "glProgramEnvParameter4fvARB".}
  389. proc glProgramLocalParameter4dARB*(target: TGLenum, index: TGLuint,
  390. x: TGLdouble, y: TGLdouble, z: TGLdouble,
  391. w: TGLdouble){.dynlib: dllname,
  392. importc: "glProgramLocalParameter4dARB".}
  393. proc glProgramLocalParameter4dvARB*(target: TGLenum, index: TGLuint,
  394. params: PGLdouble){.dynlib: dllname,
  395. importc: "glProgramLocalParameter4dvARB".}
  396. proc glProgramLocalParameter4fARB*(target: TGLenum, index: TGLuint, x: TGLfloat,
  397. y: TGLfloat, z: TGLfloat, w: TGLfloat){.
  398. dynlib: dllname, importc: "glProgramLocalParameter4fARB".}
  399. proc glProgramLocalParameter4fvARB*(target: TGLenum, index: TGLuint,
  400. params: PGLfloat){.dynlib: dllname,
  401. importc: "glProgramLocalParameter4fvARB".}
  402. proc glGetProgramEnvParameterdvARB*(target: TGLenum, index: TGLuint,
  403. params: PGLdouble){.dynlib: dllname,
  404. importc: "glGetProgramEnvParameterdvARB".}
  405. proc glGetProgramEnvParameterfvARB*(target: TGLenum, index: TGLuint,
  406. params: PGLfloat){.dynlib: dllname,
  407. importc: "glGetProgramEnvParameterfvARB".}
  408. proc glGetProgramLocalParameterdvARB*(target: TGLenum, index: TGLuint,
  409. params: PGLdouble){.dynlib: dllname,
  410. importc: "glGetProgramLocalParameterdvARB".}
  411. proc glGetProgramLocalParameterfvARB*(target: TGLenum, index: TGLuint,
  412. params: PGLfloat){.dynlib: dllname,
  413. importc: "glGetProgramLocalParameterfvARB".}
  414. proc glGetProgramivARB*(target: TGLenum, pname: TGLenum, params: PGLint){.
  415. dynlib: dllname, importc: "glGetProgramivARB".}
  416. proc glGetProgramStringARB*(target: TGLenum, pname: TGLenum, str: PGLvoid){.
  417. dynlib: dllname, importc: "glGetProgramStringARB".}
  418. proc glGetVertexAttribdvARB*(index: TGLuint, pname: TGLenum, params: PGLdouble){.
  419. dynlib: dllname, importc: "glGetVertexAttribdvARB".}
  420. proc glGetVertexAttribfvARB*(index: TGLuint, pname: TGLenum, params: PGLfloat){.
  421. dynlib: dllname, importc: "glGetVertexAttribfvARB".}
  422. proc glGetVertexAttribivARB*(index: TGLuint, pname: TGLenum, params: PGLint){.
  423. dynlib: dllname, importc: "glGetVertexAttribivARB".}
  424. proc glGetVertexAttribPointervARB*(index: TGLuint, pname: TGLenum,
  425. pointer: PGLvoid){.dynlib: dllname,
  426. importc: "glGetVertexAttribPointervARB".}
  427. proc glIsProgramARB*(theProgram: TGLuint): TGLboolean{.dynlib: dllname,
  428. importc: "glIsProgramARB".}
  429. #***** GL_ARB_window_pos *****//
  430. proc glWindowPos2dARB*(x: TGLdouble, y: TGLdouble){.dynlib: dllname,
  431. importc: "glWindowPos2dARB".}
  432. proc glWindowPos2fARB*(x: TGLfloat, y: TGLfloat){.dynlib: dllname,
  433. importc: "glWindowPos2fARB".}
  434. proc glWindowPos2iARB*(x: TGLint, y: TGLint){.dynlib: dllname,
  435. importc: "glWindowPos2iARB".}
  436. proc glWindowPos2sARB*(x: TGLshort, y: TGLshort){.dynlib: dllname,
  437. importc: "glWindowPos2sARB".}
  438. proc glWindowPos2dvARB*(p: PGLdouble){.dynlib: dllname,
  439. importc: "glWindowPos2dvARB".}
  440. proc glWindowPos2fvARB*(p: PGLfloat){.dynlib: dllname,
  441. importc: "glWindowPos2fvARB".}
  442. proc glWindowPos2ivARB*(p: PGLint){.dynlib: dllname,
  443. importc: "glWindowPos2ivARB".}
  444. proc glWindowPos2svARB*(p: PGLshort){.dynlib: dllname,
  445. importc: "glWindowPos2svARB".}
  446. proc glWindowPos3dARB*(x: TGLdouble, y: TGLdouble, z: TGLdouble){.
  447. dynlib: dllname, importc: "glWindowPos3dARB".}
  448. proc glWindowPos3fARB*(x: TGLfloat, y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  449. importc: "glWindowPos3fARB".}
  450. proc glWindowPos3iARB*(x: TGLint, y: TGLint, z: TGLint){.dynlib: dllname,
  451. importc: "glWindowPos3iARB".}
  452. proc glWindowPos3sARB*(x: TGLshort, y: TGLshort, z: TGLshort){.dynlib: dllname,
  453. importc: "glWindowPos3sARB".}
  454. proc glWindowPos3dvARB*(p: PGLdouble){.dynlib: dllname,
  455. importc: "glWindowPos3dvARB".}
  456. proc glWindowPos3fvARB*(p: PGLfloat){.dynlib: dllname,
  457. importc: "glWindowPos3fvARB".}
  458. proc glWindowPos3ivARB*(p: PGLint){.dynlib: dllname,
  459. importc: "glWindowPos3ivARB".}
  460. proc glWindowPos3svARB*(p: PGLshort){.dynlib: dllname,
  461. importc: "glWindowPos3svARB".}
  462. proc glBlendEquationSeparate*(modeRGB: TGLenum, modeAlpha: TGLenum){.
  463. dynlib: dllname, importc: "glBlendEquationSeparate".}
  464. proc glDrawBuffers*(n: TGLsizei, bufs: PGLenum){.dynlib: dllname,
  465. importc: "glDrawBuffers".}
  466. proc glStencilOpSeparate*(face: TGLenum, sfail: TGLenum, dpfail: TGLenum,
  467. dppass: TGLenum){.dynlib: dllname,
  468. importc: "glStencilOpSeparate".}
  469. proc glStencilFuncSeparate*(frontfunc: TGLenum, backfunc: TGLenum,
  470. theRef: TGLint, mask: TGLuint){.dynlib: dllname,
  471. importc: "glStencilFuncSeparate".}
  472. proc glStencilMaskSeparate*(face: TGLenum, mask: TGLuint){.dynlib: dllname,
  473. importc: "glStencilMaskSeparate".}
  474. proc glAttachShader*(theProgram: TGLuint, shader: TGLuint){.dynlib: dllname,
  475. importc: "glAttachShader".}
  476. proc glBindAttribLocation*(theProgram: TGLuint, index: TGLuint, name: PGLchar){.
  477. dynlib: dllname, importc: "glBindAttribLocation".}
  478. proc glCompileShader*(shader: TGLuint){.dynlib: dllname,
  479. importc: "glCompileShader".}
  480. proc glCreateProgram*(): TGLuint{.dynlib: dllname, importc: "glCreateProgram".}
  481. proc glCreateShader*(thetype: TGLenum): TGLuint{.dynlib: dllname,
  482. importc: "glCreateShader".}
  483. proc glDeleteProgram*(theProgram: TGLuint){.dynlib: dllname,
  484. importc: "glDeleteProgram".}
  485. proc glDeleteShader*(shader: TGLuint){.dynlib: dllname,
  486. importc: "glDeleteShader".}
  487. proc glDetachShader*(theProgram: TGLuint, shader: TGLuint){.dynlib: dllname,
  488. importc: "glDetachShader".}
  489. proc glDisableVertexAttribArray*(index: TGLuint){.dynlib: dllname,
  490. importc: "glDisableVertexAttribArray".}
  491. proc glEnableVertexAttribArray*(index: TGLuint){.dynlib: dllname,
  492. importc: "glEnableVertexAttribArray".}
  493. proc glGetActiveAttrib*(theProgram: TGLuint, index: TGLuint, bufSize: TGLsizei,
  494. len: PGLsizei, size: PGLint, thetype: PGLenum,
  495. name: PGLchar){.dynlib: dllname,
  496. importc: "glGetActiveAttrib".}
  497. proc glGetActiveUniform*(theProgram: TGLuint, index: TGLuint, bufSize: TGLsizei,
  498. len: PGLsizei, size: PGLint, thetype: PGLenum,
  499. name: PGLchar){.dynlib: dllname,
  500. importc: "glGetActiveUniform".}
  501. proc glGetAttachedShaders*(theProgram: TGLuint, maxCount: TGLsizei,
  502. count: PGLsizei, obj: PGLuint){.dynlib: dllname,
  503. importc: "glGetAttachedShaders".}
  504. proc glGetAttribLocation*(theProgram: TGLuint, name: PGLchar): TGLint{.
  505. dynlib: dllname, importc: "glGetAttribLocation".}
  506. proc glGetProgramiv*(theProgram: TGLuint, pname: TGLenum, params: PGLint){.
  507. dynlib: dllname, importc: "glGetProgramiv".}
  508. proc glGetProgramInfoLog*(theProgram: TGLuint, bufSize: TGLsizei, len: PGLsizei,
  509. infoLog: PGLchar){.dynlib: dllname,
  510. importc: "glGetProgramInfoLog".}
  511. proc glGetShaderiv*(shader: TGLuint, pname: TGLenum, params: PGLint){.
  512. dynlib: dllname, importc: "glGetShaderiv".}
  513. proc glGetShaderInfoLog*(shader: TGLuint, bufSize: TGLsizei, len: PGLsizei,
  514. infoLog: PGLchar){.dynlib: dllname,
  515. importc: "glGetShaderInfoLog".}
  516. proc glGetShaderSource*(shader: TGLuint, bufSize: TGLsizei, len: PGLsizei,
  517. source: PGLchar){.dynlib: dllname,
  518. importc: "glGetShaderSource".}
  519. proc glGetUniformLocation*(theProgram: TGLuint, name: PGLchar): TGLint{.
  520. dynlib: dllname, importc: "glGetUniformLocation".}
  521. proc glGetUniformfv*(theProgram: TGLuint, location: TGLint, params: PGLfloat){.
  522. dynlib: dllname, importc: "glGetUniformfv".}
  523. proc glGetUniformiv*(theProgram: TGLuint, location: TGLint, params: PGLint){.
  524. dynlib: dllname, importc: "glGetUniformiv".}
  525. proc glGetVertexAttribdv*(index: TGLuint, pname: TGLenum, params: PGLdouble){.
  526. dynlib: dllname, importc: "glGetVertexAttribdv".}
  527. proc glGetVertexAttribfv*(index: TGLuint, pname: TGLenum, params: PGLfloat){.
  528. dynlib: dllname, importc: "glGetVertexAttribfv".}
  529. proc glGetVertexAttribiv*(index: TGLuint, pname: TGLenum, params: PGLint){.
  530. dynlib: dllname, importc: "glGetVertexAttribiv".}
  531. proc glGetVertexAttribPointerv*(index: TGLuint, pname: TGLenum, pointer: PGLvoid){.
  532. dynlib: dllname, importc: "glGetVertexAttribPointerv".}
  533. proc glIsProgram*(theProgram: TGLuint): TGLboolean{.dynlib: dllname,
  534. importc: "glIsProgram".}
  535. proc glIsShader*(shader: TGLuint): TGLboolean{.dynlib: dllname,
  536. importc: "glIsShader".}
  537. proc glLinkProgram*(theProgram: TGLuint){.dynlib: dllname,
  538. importc: "glLinkProgram".}
  539. proc glShaderSource*(shader: TGLuint, count: TGLsizei, str: PGLchar, len: PGLint){.
  540. dynlib: dllname, importc: "glShaderSource".}
  541. proc glUseProgram*(theProgram: TGLuint){.dynlib: dllname,
  542. importc: "glUseProgram".}
  543. proc glUniform1f*(location: TGLint, v0: TGLfloat){.dynlib: dllname,
  544. importc: "glUniform1f".}
  545. proc glUniform2f*(location: TGLint, v0: TGLfloat, v1: TGLfloat){.
  546. dynlib: dllname, importc: "glUniform2f".}
  547. proc glUniform3f*(location: TGLint, v0: TGLfloat, v1: TGLfloat, v2: TGLfloat){.
  548. dynlib: dllname, importc: "glUniform3f".}
  549. proc glUniform4f*(location: TGLint, v0: TGLfloat, v1: TGLfloat, v2: TGLfloat,
  550. v3: TGLfloat){.dynlib: dllname, importc: "glUniform4f".}
  551. proc glUniform1i*(location: TGLint, v0: TGLint){.dynlib: dllname,
  552. importc: "glUniform1i".}
  553. proc glUniform2i*(location: TGLint, v0: TGLint, v1: TGLint){.dynlib: dllname,
  554. importc: "glUniform2i".}
  555. proc glUniform3i*(location: TGLint, v0: TGLint, v1: TGLint, v2: TGLint){.
  556. dynlib: dllname, importc: "glUniform3i".}
  557. proc glUniform4i*(location: TGLint, v0: TGLint, v1: TGLint, v2: TGLint,
  558. v3: TGLint){.dynlib: dllname, importc: "glUniform4i".}
  559. proc glUniform1fv*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  560. dynlib: dllname, importc: "glUniform1fv".}
  561. proc glUniform2fv*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  562. dynlib: dllname, importc: "glUniform2fv".}
  563. proc glUniform3fv*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  564. dynlib: dllname, importc: "glUniform3fv".}
  565. proc glUniform4fv*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  566. dynlib: dllname, importc: "glUniform4fv".}
  567. proc glUniform1iv*(location: TGLint, count: TGLsizei, value: PGLint){.
  568. dynlib: dllname, importc: "glUniform1iv".}
  569. proc glUniform2iv*(location: TGLint, count: TGLsizei, value: PGLint){.
  570. dynlib: dllname, importc: "glUniform2iv".}
  571. proc glUniform3iv*(location: TGLint, count: TGLsizei, value: PGLint){.
  572. dynlib: dllname, importc: "glUniform3iv".}
  573. proc glUniform4iv*(location: TGLint, count: TGLsizei, value: PGLint){.
  574. dynlib: dllname, importc: "glUniform4iv".}
  575. proc glUniformMatrix2fv*(location: TGLint, count: TGLsizei,
  576. transpose: TGLboolean, value: PGLfloat){.
  577. dynlib: dllname, importc: "glUniformMatrix2fv".}
  578. proc glUniformMatrix3fv*(location: TGLint, count: TGLsizei,
  579. transpose: TGLboolean, value: PGLfloat){.
  580. dynlib: dllname, importc: "glUniformMatrix3fv".}
  581. proc glUniformMatrix4fv*(location: TGLint, count: TGLsizei,
  582. transpose: TGLboolean, value: PGLfloat){.
  583. dynlib: dllname, importc: "glUniformMatrix4fv".}
  584. proc glValidateProgram*(theProgram: TGLuint){.dynlib: dllname,
  585. importc: "glValidateProgram".}
  586. proc glVertexAttrib1d*(index: TGLuint, x: TGLdouble){.dynlib: dllname,
  587. importc: "glVertexAttrib1d".}
  588. proc glVertexAttrib1dv*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  589. importc: "glVertexAttrib1dv".}
  590. proc glVertexAttrib1f*(index: TGLuint, x: TGLfloat){.dynlib: dllname,
  591. importc: "glVertexAttrib1f".}
  592. proc glVertexAttrib1fv*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  593. importc: "glVertexAttrib1fv".}
  594. proc glVertexAttrib1s*(index: TGLuint, x: TGLshort){.dynlib: dllname,
  595. importc: "glVertexAttrib1s".}
  596. proc glVertexAttrib1sv*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  597. importc: "glVertexAttrib1sv".}
  598. proc glVertexAttrib2d*(index: TGLuint, x: TGLdouble, y: TGLdouble){.
  599. dynlib: dllname, importc: "glVertexAttrib2d".}
  600. proc glVertexAttrib2dv*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  601. importc: "glVertexAttrib2dv".}
  602. proc glVertexAttrib2f*(index: TGLuint, x: TGLfloat, y: TGLfloat){.
  603. dynlib: dllname, importc: "glVertexAttrib2f".}
  604. proc glVertexAttrib2fv*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  605. importc: "glVertexAttrib2fv".}
  606. proc glVertexAttrib2s*(index: TGLuint, x: TGLshort, y: TGLshort){.
  607. dynlib: dllname, importc: "glVertexAttrib2s".}
  608. proc glVertexAttrib2sv*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  609. importc: "glVertexAttrib2sv".}
  610. proc glVertexAttrib3d*(index: TGLuint, x: TGLdouble, y: TGLdouble, z: TGLdouble){.
  611. dynlib: dllname, importc: "glVertexAttrib3d".}
  612. proc glVertexAttrib3dv*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  613. importc: "glVertexAttrib3dv".}
  614. proc glVertexAttrib3f*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  615. dynlib: dllname, importc: "glVertexAttrib3f".}
  616. proc glVertexAttrib3fv*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  617. importc: "glVertexAttrib3fv".}
  618. proc glVertexAttrib3s*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort){.
  619. dynlib: dllname, importc: "glVertexAttrib3s".}
  620. proc glVertexAttrib3sv*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  621. importc: "glVertexAttrib3sv".}
  622. proc glVertexAttrib4Nbv*(index: TGLuint, v: PGLbyte){.dynlib: dllname,
  623. importc: "glVertexAttrib4Nbv".}
  624. proc glVertexAttrib4Niv*(index: TGLuint, v: PGLint){.dynlib: dllname,
  625. importc: "glVertexAttrib4Niv".}
  626. proc glVertexAttrib4Nsv*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  627. importc: "glVertexAttrib4Nsv".}
  628. proc glVertexAttrib4Nub*(index: TGLuint, x: TGLubyte, y: TGLubyte, z: TGLubyte,
  629. w: TGLubyte){.dynlib: dllname,
  630. importc: "glVertexAttrib4Nub".}
  631. proc glVertexAttrib4Nubv*(index: TGLuint, v: PGLubyte){.dynlib: dllname,
  632. importc: "glVertexAttrib4Nubv".}
  633. proc glVertexAttrib4Nuiv*(index: TGLuint, v: PGLuint){.dynlib: dllname,
  634. importc: "glVertexAttrib4Nuiv".}
  635. proc glVertexAttrib4Nusv*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  636. importc: "glVertexAttrib4Nusv".}
  637. proc glVertexAttrib4bv*(index: TGLuint, v: PGLbyte){.dynlib: dllname,
  638. importc: "glVertexAttrib4bv".}
  639. proc glVertexAttrib4d*(index: TGLuint, x: TGLdouble, y: TGLdouble, z: TGLdouble,
  640. w: TGLdouble){.dynlib: dllname,
  641. importc: "glVertexAttrib4d".}
  642. proc glVertexAttrib4dv*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  643. importc: "glVertexAttrib4dv".}
  644. proc glVertexAttrib4f*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat,
  645. w: TGLfloat){.dynlib: dllname,
  646. importc: "glVertexAttrib4f".}
  647. proc glVertexAttrib4fv*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  648. importc: "glVertexAttrib4fv".}
  649. proc glVertexAttrib4iv*(index: TGLuint, v: PGLint){.dynlib: dllname,
  650. importc: "glVertexAttrib4iv".}
  651. proc glVertexAttrib4s*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort,
  652. w: TGLshort){.dynlib: dllname,
  653. importc: "glVertexAttrib4s".}
  654. proc glVertexAttrib4sv*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  655. importc: "glVertexAttrib4sv".}
  656. proc glVertexAttrib4ubv*(index: TGLuint, v: PGLubyte){.dynlib: dllname,
  657. importc: "glVertexAttrib4ubv".}
  658. proc glVertexAttrib4uiv*(index: TGLuint, v: PGLuint){.dynlib: dllname,
  659. importc: "glVertexAttrib4uiv".}
  660. proc glVertexAttrib4usv*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  661. importc: "glVertexAttrib4usv".}
  662. proc glVertexAttribPointer*(index: TGLuint, size: TGLint, thetype: TGLenum,
  663. normalized: TGLboolean, stride: TGLsizei,
  664. pointer: PGLvoid){.dynlib: dllname,
  665. importc: "glVertexAttribPointer".}
  666. const
  667. GL_CONSTANT_COLOR* = 0x00008001
  668. GL_ONE_MINUS_CONSTANT_COLOR* = 0x00008002
  669. GL_CONSTANT_ALPHA* = 0x00008003
  670. GL_ONE_MINUS_CONSTANT_ALPHA* = 0x00008004
  671. constGL_BLEND_COLOR* = 0x00008005
  672. GL_FUNC_ADD* = 0x00008006
  673. GL_MIN* = 0x00008007
  674. GL_MAX* = 0x00008008
  675. constGL_BLEND_EQUATION* = 0x00008009
  676. GL_FUNC_SUBTRACT* = 0x0000800A
  677. GL_FUNC_REVERSE_SUBTRACT* = 0x0000800B
  678. GL_CONVOLUTION_1D* = 0x00008010
  679. GL_CONVOLUTION_2D* = 0x00008011
  680. GL_SEPARABLE_2D* = 0x00008012
  681. GL_CONVOLUTION_BORDER_MODE* = 0x00008013
  682. GL_CONVOLUTION_FILTER_SCALE* = 0x00008014
  683. GL_CONVOLUTION_FILTER_BIAS* = 0x00008015
  684. GL_REDUCE* = 0x00008016
  685. GL_CONVOLUTION_FORMAT* = 0x00008017
  686. GL_CONVOLUTION_WIDTH* = 0x00008018
  687. GL_CONVOLUTION_HEIGHT* = 0x00008019
  688. GL_MAX_CONVOLUTION_WIDTH* = 0x0000801A
  689. GL_MAX_CONVOLUTION_HEIGHT* = 0x0000801B
  690. GL_POST_CONVOLUTION_RED_SCALE* = 0x0000801C
  691. GL_POST_CONVOLUTION_GREEN_SCALE* = 0x0000801D
  692. GL_POST_CONVOLUTION_BLUE_SCALE* = 0x0000801E
  693. GL_POST_CONVOLUTION_ALPHA_SCALE* = 0x0000801F
  694. GL_POST_CONVOLUTION_RED_BIAS* = 0x00008020
  695. GL_POST_CONVOLUTION_GREEN_BIAS* = 0x00008021
  696. GL_POST_CONVOLUTION_BLUE_BIAS* = 0x00008022
  697. GL_POST_CONVOLUTION_ALPHA_BIAS* = 0x00008023
  698. constGL_HISTOGRAM* = 0x00008024
  699. GL_PROXY_HISTOGRAM* = 0x00008025
  700. GL_HISTOGRAM_WIDTH* = 0x00008026
  701. GL_HISTOGRAM_FORMAT* = 0x00008027
  702. GL_HISTOGRAM_RED_SIZE* = 0x00008028
  703. GL_HISTOGRAM_GREEN_SIZE* = 0x00008029
  704. GL_HISTOGRAM_BLUE_SIZE* = 0x0000802A
  705. GL_HISTOGRAM_ALPHA_SIZE* = 0x0000802B
  706. GL_HISTOGRAM_LUMINANCE_SIZE* = 0x0000802C
  707. GL_HISTOGRAM_SINK* = 0x0000802D
  708. constGL_MINMAX* = 0x0000802E
  709. GL_MINMAX_FORMAT* = 0x0000802F
  710. GL_MINMAX_SINK* = 0x00008030
  711. GL_TABLE_TOO_LARGE* = 0x00008031
  712. GL_COLOR_MATRIX* = 0x000080B1
  713. GL_COLOR_MATRIX_STACK_DEPTH* = 0x000080B2
  714. GL_MAX_COLOR_MATRIX_STACK_DEPTH* = 0x000080B3
  715. GL_POST_COLOR_MATRIX_RED_SCALE* = 0x000080B4
  716. GL_POST_COLOR_MATRIX_GREEN_SCALE* = 0x000080B5
  717. GL_POST_COLOR_MATRIX_BLUE_SCALE* = 0x000080B6
  718. GL_POST_COLOR_MATRIX_ALPHA_SCALE* = 0x000080B7
  719. GL_POST_COLOR_MATRIX_RED_BIAS* = 0x000080B8
  720. GL_POST_COLOR_MATRIX_GREEN_BIAS* = 0x000080B9
  721. GL_POST_COLOR_MATRIX_BLUE_BIAS* = 0x000080BA
  722. GL_POST_COLOR_MATIX_ALPHA_BIAS* = 0x000080BB
  723. constGL_COLOR_TABLE* = 0x000080D0
  724. GL_POST_CONVOLUTION_COLOR_TABLE* = 0x000080D1
  725. GL_POST_COLOR_MATRIX_COLOR_TABLE* = 0x000080D2
  726. GL_PROXY_COLOR_TABLE* = 0x000080D3
  727. GL_PROXY_POST_CONVOLUTION_COLOR_TABLE* = 0x000080D4
  728. GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE* = 0x000080D5
  729. GL_COLOR_TABLE_SCALE* = 0x000080D6
  730. GL_COLOR_TABLE_BIAS* = 0x000080D7
  731. GL_COLOR_TABLE_FORMAT* = 0x000080D8
  732. GL_COLOR_TABLE_WIDTH* = 0x000080D9
  733. GL_COLOR_TABLE_RED_SIZE* = 0x000080DA
  734. GL_COLOR_TABLE_GREEN_SIZE* = 0x000080DB
  735. GL_COLOR_TABLE_BLUE_SIZE* = 0x000080DC
  736. GL_COLOR_TABLE_ALPHA_SIZE* = 0x000080DD
  737. GL_COLOR_TABLE_LUMINANCE_SIZE* = 0x000080DE
  738. GL_COLOR_TABLE_INTENSITY_SIZE* = 0x000080DF
  739. GL_IGNORE_BORDER* = 0x00008150
  740. GL_CONSTANT_BORDER* = 0x00008151
  741. GL_WRAP_BORDER* = 0x00008152
  742. GL_REPLICATE_BORDER* = 0x00008153
  743. GL_CONVOLUTION_BORDER_COLOR* = 0x00008154
  744. proc glActiveTexture*(texture: TGLenum){.dynlib: dllname,
  745. importc: "glActiveTexture".}
  746. proc glClientActiveTexture*(texture: TGLenum){.dynlib: dllname,
  747. importc: "glClientActiveTexture".}
  748. proc glMultiTexCoord1d*(target: TGLenum, s: TGLdouble){.dynlib: dllname,
  749. importc: "glMultiTexCoord1d".}
  750. proc glMultiTexCoord1dv*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  751. importc: "glMultiTexCoord1dv".}
  752. proc glMultiTexCoord1f*(target: TGLenum, s: TGLfloat){.dynlib: dllname,
  753. importc: "glMultiTexCoord1f".}
  754. proc glMultiTexCoord1fv*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  755. importc: "glMultiTexCoord1fv".}
  756. proc glMultiTexCoord1i*(target: TGLenum, s: TGLint){.dynlib: dllname,
  757. importc: "glMultiTexCoord1i".}
  758. proc glMultiTexCoord1iv*(target: TGLenum, v: PGLint){.dynlib: dllname,
  759. importc: "glMultiTexCoord1iv".}
  760. proc glMultiTexCoord1s*(target: TGLenum, s: TGLshort){.dynlib: dllname,
  761. importc: "glMultiTexCoord1s".}
  762. proc glMultiTexCoord1sv*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  763. importc: "glMultiTexCoord1sv".}
  764. proc glMultiTexCoord2d*(target: TGLenum, s: TGLdouble, t: TGLdouble){.
  765. dynlib: dllname, importc: "glMultiTexCoord2d".}
  766. proc glMultiTexCoord2dv*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  767. importc: "glMultiTexCoord2dv".}
  768. proc glMultiTexCoord2f*(target: TGLenum, s: TGLfloat, t: TGLfloat){.
  769. dynlib: dllname, importc: "glMultiTexCoord2f".}
  770. proc glMultiTexCoord2fv*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  771. importc: "glMultiTexCoord2fv".}
  772. proc glMultiTexCoord2i*(target: TGLenum, s: TGLint, t: TGLint){.dynlib: dllname,
  773. importc: "glMultiTexCoord2i".}
  774. proc glMultiTexCoord2iv*(target: TGLenum, v: PGLint){.dynlib: dllname,
  775. importc: "glMultiTexCoord2iv".}
  776. proc glMultiTexCoord2s*(target: TGLenum, s: TGLshort, t: TGLshort){.
  777. dynlib: dllname, importc: "glMultiTexCoord2s".}
  778. proc glMultiTexCoord2sv*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  779. importc: "glMultiTexCoord2sv".}
  780. proc glMultiTexCoord3d*(target: TGLenum, s: TGLdouble, t: TGLdouble,
  781. r: TGLdouble){.dynlib: dllname,
  782. importc: "glMultiTexCoord3d".}
  783. proc glMultiTexCoord3dv*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  784. importc: "glMultiTexCoord3dv".}
  785. proc glMultiTexCoord3f*(target: TGLenum, s: TGLfloat, t: TGLfloat, r: TGLfloat){.
  786. dynlib: dllname, importc: "glMultiTexCoord3f".}
  787. proc glMultiTexCoord3fv*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  788. importc: "glMultiTexCoord3fv".}
  789. proc glMultiTexCoord3i*(target: TGLenum, s: TGLint, t: TGLint, r: TGLint){.
  790. dynlib: dllname, importc: "glMultiTexCoord3i".}
  791. proc glMultiTexCoord3iv*(target: TGLenum, v: PGLint){.dynlib: dllname,
  792. importc: "glMultiTexCoord3iv".}
  793. proc glMultiTexCoord3s*(target: TGLenum, s: TGLshort, t: TGLshort, r: TGLshort){.
  794. dynlib: dllname, importc: "glMultiTexCoord3s".}
  795. proc glMultiTexCoord3sv*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  796. importc: "glMultiTexCoord3sv".}
  797. proc glMultiTexCoord4d*(target: TGLenum, s: TGLdouble, t: TGLdouble,
  798. r: TGLdouble, q: TGLdouble){.dynlib: dllname,
  799. importc: "glMultiTexCoord4d".}
  800. proc glMultiTexCoord4dv*(target: TGLenum, v: PGLdouble){.dynlib: dllname,
  801. importc: "glMultiTexCoord4dv".}
  802. proc glMultiTexCoord4f*(target: TGLenum, s: TGLfloat, t: TGLfloat, r: TGLfloat,
  803. q: TGLfloat){.dynlib: dllname,
  804. importc: "glMultiTexCoord4f".}
  805. proc glMultiTexCoord4fv*(target: TGLenum, v: PGLfloat){.dynlib: dllname,
  806. importc: "glMultiTexCoord4fv".}
  807. proc glMultiTexCoord4i*(target: TGLenum, s: TGLint, t: TGLint, r: TGLint,
  808. q: TGLint){.dynlib: dllname,
  809. importc: "glMultiTexCoord4i".}
  810. proc glMultiTexCoord4iv*(target: TGLenum, v: PGLint){.dynlib: dllname,
  811. importc: "glMultiTexCoord4iv".}
  812. proc glMultiTexCoord4s*(target: TGLenum, s: TGLshort, t: TGLshort, r: TGLshort,
  813. q: TGLshort){.dynlib: dllname,
  814. importc: "glMultiTexCoord4s".}
  815. proc glMultiTexCoord4sv*(target: TGLenum, v: PGLshort){.dynlib: dllname,
  816. importc: "glMultiTexCoord4sv".}
  817. proc glLoadTransposeMatrixf*(m: PGLfloat){.dynlib: dllname,
  818. importc: "glLoadTransposeMatrixf".}
  819. proc glLoadTransposeMatrixd*(m: PGLdouble){.dynlib: dllname,
  820. importc: "glLoadTransposeMatrixd".}
  821. proc glMultTransposeMatrixf*(m: PGLfloat){.dynlib: dllname,
  822. importc: "glMultTransposeMatrixf".}
  823. proc glMultTransposeMatrixd*(m: PGLdouble){.dynlib: dllname,
  824. importc: "glMultTransposeMatrixd".}
  825. proc glSampleCoverage*(value: TGLclampf, invert: TGLboolean){.dynlib: dllname,
  826. importc: "glSampleCoverage".}
  827. proc glCompressedTexImage3D*(target: TGLenum, level: TGLint,
  828. internalformat: TGLenum, width: TGLsizei,
  829. height: TGLsizei, depth: TGLsizei, border: TGLint,
  830. imageSize: TGLsizei, data: PGLvoid){.
  831. dynlib: dllname, importc: "glCompressedTexImage3D".}
  832. proc glCompressedTexImage2D*(target: TGLenum, level: TGLint,
  833. internalformat: TGLenum, width: TGLsizei,
  834. height: TGLsizei, border: TGLint,
  835. imageSize: TGLsizei, data: PGLvoid){.
  836. dynlib: dllname, importc: "glCompressedTexImage2D".}
  837. proc glCompressedTexImage1D*(target: TGLenum, level: TGLint,
  838. internalformat: TGLenum, width: TGLsizei,
  839. border: TGLint, imageSize: TGLsizei, data: PGLvoid){.
  840. dynlib: dllname, importc: "glCompressedTexImage1D".}
  841. proc glCompressedTexSubImage3D*(target: TGLenum, level: TGLint, xoffset: TGLint,
  842. yoffset: TGLint, zoffset: TGLint,
  843. width: TGLsizei, height: TGLsizei,
  844. depth: TGLsizei, format: TGLenum,
  845. imageSize: TGLsizei, data: PGLvoid){.
  846. dynlib: dllname, importc: "glCompressedTexSubImage3D".}
  847. proc glCompressedTexSubImage2D*(target: TGLenum, level: TGLint, xoffset: TGLint,
  848. yoffset: TGLint, width: TGLsizei,
  849. height: TGLsizei, format: TGLenum,
  850. imageSize: TGLsizei, data: PGLvoid){.
  851. dynlib: dllname, importc: "glCompressedTexSubImage2D".}
  852. proc glCompressedTexSubImage1D*(target: TGLenum, level: TGLint, xoffset: TGLint,
  853. width: TGLsizei, format: TGLenum,
  854. imageSize: TGLsizei, data: PGLvoid){.
  855. dynlib: dllname, importc: "glCompressedTexSubImage1D".}
  856. proc glGetCompressedTexImage*(target: TGLenum, level: TGLint, img: PGLvoid){.
  857. dynlib: dllname, importc: "glGetCompressedTexImage".}
  858. #***** GL_version_1_3 *****//
  859. const
  860. GL_TEXTURE0* = 0x000084C0
  861. GL_TEXTURE1* = 0x000084C1
  862. GL_TEXTURE2* = 0x000084C2
  863. GL_TEXTURE3* = 0x000084C3
  864. GL_TEXTURE4* = 0x000084C4
  865. GL_TEXTURE5* = 0x000084C5
  866. GL_TEXTURE6* = 0x000084C6
  867. GL_TEXTURE7* = 0x000084C7
  868. GL_TEXTURE8* = 0x000084C8
  869. GL_TEXTURE9* = 0x000084C9
  870. GL_TEXTURE10* = 0x000084CA
  871. GL_TEXTURE11* = 0x000084CB
  872. GL_TEXTURE12* = 0x000084CC
  873. GL_TEXTURE13* = 0x000084CD
  874. GL_TEXTURE14* = 0x000084CE
  875. GL_TEXTURE15* = 0x000084CF
  876. GL_TEXTURE16* = 0x000084D0
  877. GL_TEXTURE17* = 0x000084D1
  878. GL_TEXTURE18* = 0x000084D2
  879. GL_TEXTURE19* = 0x000084D3
  880. GL_TEXTURE20* = 0x000084D4
  881. GL_TEXTURE21* = 0x000084D5
  882. GL_TEXTURE22* = 0x000084D6
  883. GL_TEXTURE23* = 0x000084D7
  884. GL_TEXTURE24* = 0x000084D8
  885. GL_TEXTURE25* = 0x000084D9
  886. GL_TEXTURE26* = 0x000084DA
  887. GL_TEXTURE27* = 0x000084DB
  888. GL_TEXTURE28* = 0x000084DC
  889. GL_TEXTURE29* = 0x000084DD
  890. GL_TEXTURE30* = 0x000084DE
  891. GL_TEXTURE31* = 0x000084DF
  892. constGL_ACTIVE_TEXTURE* = 0x000084E0
  893. constGL_CLIENT_ACTIVE_TEXTURE* = 0x000084E1
  894. GL_MAX_TEXTURE_UNITS* = 0x000084E2
  895. GL_TRANSPOSE_MODELVIEW_MATRIX* = 0x000084E3
  896. GL_TRANSPOSE_PROJECTION_MATRIX* = 0x000084E4
  897. GL_TRANSPOSE_TEXTURE_MATRIX* = 0x000084E5
  898. GL_TRANSPOSE_COLOR_MATRIX* = 0x000084E6
  899. GL_MULTISAMPLE* = 0x0000809D
  900. GL_SAMPLE_ALPHA_TO_COVERAGE* = 0x0000809E
  901. GL_SAMPLE_ALPHA_TO_ONE* = 0x0000809F
  902. constGL_SAMPLE_COVERAGE* = 0x000080A0
  903. GL_SAMPLE_BUFFERS* = 0x000080A8
  904. GL_SAMPLES* = 0x000080A9
  905. GL_SAMPLE_COVERAGE_VALUE* = 0x000080AA
  906. GL_SAMPLE_COVERAGE_INVERT* = 0x000080AB
  907. GL_MULTISAMPLE_BIT* = 0x20000000
  908. GL_NORMAL_MAP* = 0x00008511
  909. GL_REFLECTION_MAP* = 0x00008512
  910. GL_TEXTURE_CUBE_MAP* = 0x00008513
  911. GL_TEXTURE_BINDING_CUBE_MAP* = 0x00008514
  912. GL_TEXTURE_CUBE_MAP_POSITIVE_X* = 0x00008515
  913. GL_TEXTURE_CUBE_MAP_NEGATIVE_X* = 0x00008516
  914. GL_TEXTURE_CUBE_MAP_POSITIVE_Y* = 0x00008517
  915. GL_TEXTURE_CUBE_MAP_NEGATIVE_Y* = 0x00008518
  916. GL_TEXTURE_CUBE_MAP_POSITIVE_Z* = 0x00008519
  917. GL_TEXTURE_CUBE_MAP_NEGATIVE_Z* = 0x0000851A
  918. GL_PROXY_TEXTURE_CUBE_MAP* = 0x0000851B
  919. GL_MAX_CUBE_MAP_TEXTURE_SIZE* = 0x0000851C
  920. GL_COMPRESSED_ALPHA* = 0x000084E9
  921. GL_COMPRESSED_LUMINANCE* = 0x000084EA
  922. GL_COMPRESSED_LUMINANCE_ALPHA* = 0x000084EB
  923. GL_COMPRESSED_INTENSITY* = 0x000084EC
  924. GL_COMPRESSED_RGB* = 0x000084ED
  925. GL_COMPRESSED_RGBA* = 0x000084EE
  926. GL_TEXTURE_COMPRESSION_HINT* = 0x000084EF
  927. GL_TEXTURE_COMPRESSED_IMAGE_SIZE* = 0x000086A0
  928. GL_TEXTURE_COMPRESSED* = 0x000086A1
  929. GL_NUM_COMPRESSED_TEXTURE_FORMATS* = 0x000086A2
  930. GL_COMPRESSED_TEXTURE_FORMATS* = 0x000086A3
  931. GL_CLAMP_TO_BORDER* = 0x0000812D
  932. GL_CLAMP_TO_BORDER_SGIS* = 0x0000812D
  933. GL_COMBINE* = 0x00008570
  934. GL_COMBINE_RGB* = 0x00008571
  935. GL_COMBINE_ALPHA* = 0x00008572
  936. GL_SOURCE0_RGB* = 0x00008580
  937. GL_SOURCE1_RGB* = 0x00008581
  938. GL_SOURCE2_RGB* = 0x00008582
  939. GL_SOURCE0_ALPHA* = 0x00008588
  940. GL_SOURCE1_ALPHA* = 0x00008589
  941. GL_SOURCE2_ALPHA* = 0x0000858A
  942. GL_OPERAND0_RGB* = 0x00008590
  943. GL_OPERAND1_RGB* = 0x00008591
  944. GL_OPERAND2_RGB* = 0x00008592
  945. GL_OPERAND0_ALPHA* = 0x00008598
  946. GL_OPERAND1_ALPHA* = 0x00008599
  947. GL_OPERAND2_ALPHA* = 0x0000859A
  948. GL_RGB_SCALE* = 0x00008573
  949. GL_ADD_SIGNED* = 0x00008574
  950. GL_INTERPOLATE* = 0x00008575
  951. GL_SUBTRACT* = 0x000084E7
  952. GL_CONSTANT* = 0x00008576
  953. GL_PRIMARY_COLOR* = 0x00008577
  954. GL_PREVIOUS* = 0x00008578
  955. GL_DOT3_RGB* = 0x000086AE
  956. GL_DOT3_RGBA* = 0x000086AF
  957. const
  958. GL_TEXTURE0_ARB* = 0x000084C0
  959. GL_TEXTURE1_ARB* = 0x000084C1
  960. GL_TEXTURE2_ARB* = 0x000084C2
  961. GL_TEXTURE3_ARB* = 0x000084C3
  962. GL_TEXTURE4_ARB* = 0x000084C4
  963. GL_TEXTURE5_ARB* = 0x000084C5
  964. GL_TEXTURE6_ARB* = 0x000084C6
  965. GL_TEXTURE7_ARB* = 0x000084C7
  966. GL_TEXTURE8_ARB* = 0x000084C8
  967. GL_TEXTURE9_ARB* = 0x000084C9
  968. GL_TEXTURE10_ARB* = 0x000084CA
  969. GL_TEXTURE11_ARB* = 0x000084CB
  970. GL_TEXTURE12_ARB* = 0x000084CC
  971. GL_TEXTURE13_ARB* = 0x000084CD
  972. GL_TEXTURE14_ARB* = 0x000084CE
  973. GL_TEXTURE15_ARB* = 0x000084CF
  974. GL_TEXTURE16_ARB* = 0x000084D0
  975. GL_TEXTURE17_ARB* = 0x000084D1
  976. GL_TEXTURE18_ARB* = 0x000084D2
  977. GL_TEXTURE19_ARB* = 0x000084D3
  978. GL_TEXTURE20_ARB* = 0x000084D4
  979. GL_TEXTURE21_ARB* = 0x000084D5
  980. GL_TEXTURE22_ARB* = 0x000084D6
  981. GL_TEXTURE23_ARB* = 0x000084D7
  982. GL_TEXTURE24_ARB* = 0x000084D8
  983. GL_TEXTURE25_ARB* = 0x000084D9
  984. GL_TEXTURE26_ARB* = 0x000084DA
  985. GL_TEXTURE27_ARB* = 0x000084DB
  986. GL_TEXTURE28_ARB* = 0x000084DC
  987. GL_TEXTURE29_ARB* = 0x000084DD
  988. GL_TEXTURE30_ARB* = 0x000084DE
  989. GL_TEXTURE31_ARB* = 0x000084DF
  990. constGL_ACTIVE_TEXTURE_ARB* = 0x000084E0
  991. constGL_CLIENT_ACTIVE_TEXTURE_ARB* = 0x000084E1
  992. GL_MAX_TEXTURE_UNITS_ARB* = 0x000084E2
  993. #***** GL_ARB_transpose_matrix *****//
  994. const
  995. GL_TRANSPOSE_MODELVIEW_MATRIX_ARB* = 0x000084E3
  996. GL_TRANSPOSE_PROJECTION_MATRIX_ARB* = 0x000084E4
  997. GL_TRANSPOSE_TEXTURE_MATRIX_ARB* = 0x000084E5
  998. GL_TRANSPOSE_COLOR_MATRIX_ARB* = 0x000084E6
  999. proc glLoadTransposeMatrixfARB*(m: PGLfloat){.dynlib: dllname,
  1000. importc: "glLoadTransposeMatrixfARB".}
  1001. proc glLoadTransposeMatrixdARB*(m: PGLdouble){.dynlib: dllname,
  1002. importc: "glLoadTransposeMatrixdARB".}
  1003. proc glMultTransposeMatrixfARB*(m: PGLfloat){.dynlib: dllname,
  1004. importc: "glMultTransposeMatrixfARB".}
  1005. proc glMultTransposeMatrixdARB*(m: PGLdouble){.dynlib: dllname,
  1006. importc: "glMultTransposeMatrixdARB".}
  1007. const
  1008. WGL_SAMPLE_BUFFERS_ARB* = 0x00002041
  1009. WGL_SAMPLES_ARB* = 0x00002042
  1010. GL_MULTISAMPLE_ARB* = 0x0000809D
  1011. GL_SAMPLE_ALPHA_TO_COVERAGE_ARB* = 0x0000809E
  1012. GL_SAMPLE_ALPHA_TO_ONE_ARB* = 0x0000809F
  1013. constGL_SAMPLE_COVERAGE_ARB* = 0x000080A0
  1014. GL_MULTISAMPLE_BIT_ARB* = 0x20000000
  1015. GL_SAMPLE_BUFFERS_ARB* = 0x000080A8
  1016. GL_SAMPLES_ARB* = 0x000080A9
  1017. GL_SAMPLE_COVERAGE_VALUE_ARB* = 0x000080AA
  1018. GL_SAMPLE_COVERAGE_INVERT_ARB* = 0x000080AB
  1019. const
  1020. GL_NORMAL_MAP_ARB* = 0x00008511
  1021. GL_REFLECTION_MAP_ARB* = 0x00008512
  1022. GL_TEXTURE_CUBE_MAP_ARB* = 0x00008513
  1023. GL_TEXTURE_BINDING_CUBE_MAP_ARB* = 0x00008514
  1024. GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB* = 0x00008515
  1025. GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB* = 0x00008516
  1026. GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB* = 0x00008517
  1027. GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB* = 0x00008518
  1028. GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB* = 0x00008519
  1029. GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB* = 0x0000851A
  1030. GL_PROXY_TEXTURE_CUBE_MAP_ARB* = 0x0000851B
  1031. GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB* = 0x0000851C
  1032. const
  1033. GL_DEPTH_COMPONENT16_ARB* = 0x000081A5
  1034. GL_DEPTH_COMPONENT24_ARB* = 0x000081A6
  1035. GL_DEPTH_COMPONENT32_ARB* = 0x000081A7
  1036. GL_TEXTURE_DEPTH_SIZE_ARB* = 0x0000884A
  1037. GL_DEPTH_TEXTURE_MODE_ARB* = 0x0000884B
  1038. #***** GL_ARB_point_parameters *****//
  1039. const
  1040. GL_POINT_SIZE_MIN_ARB* = 0x00008126
  1041. GL_POINT_SIZE_MAX_ARB* = 0x00008127
  1042. GL_POINT_FADE_THRESHOLD_SIZE_ARB* = 0x00008128
  1043. GL_POINT_DISTANCE_ATTENUATION_ARB* = 0x00008129
  1044. proc glPointParameterfARB*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  1045. importc: "glPointParameterfARB".}
  1046. proc glPointParameterfvARB*(pname: TGLenum, params: PGLfloat){.dynlib: dllname,
  1047. importc: "glPointParameterfvARB".}
  1048. const
  1049. GL_TEXTURE_COMPARE_MODE_ARB* = 0x0000884C
  1050. GL_TEXTURE_COMPARE_FUNC_ARB* = 0x0000884D
  1051. GL_COMPARE_R_TO_TEXTURE_ARB* = 0x0000884E
  1052. const
  1053. GL_TEXTURE_COMPARE_FAIL_VALUE_ARB* = 0x000080BF
  1054. GL_CLAMP_TO_BORDER_ARB* = 0x0000812D
  1055. const
  1056. GL_COMPRESSED_ALPHA_ARB* = 0x000084E9
  1057. GL_COMPRESSED_LUMINANCE_ARB* = 0x000084EA
  1058. GL_COMPRESSED_LUMINANCE_ALPHA_ARB* = 0x000084EB
  1059. GL_COMPRESSED_INTENSITY_ARB* = 0x000084EC
  1060. GL_COMPRESSED_RGB_ARB* = 0x000084ED
  1061. GL_COMPRESSED_RGBA_ARB* = 0x000084EE
  1062. GL_TEXTURE_COMPRESSION_HINT_ARB* = 0x000084EF
  1063. GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB* = 0x000086A0
  1064. GL_TEXTURE_COMPRESSED_ARB* = 0x000086A1
  1065. GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB* = 0x000086A2
  1066. GL_COMPRESSED_TEXTURE_FORMATS_ARB* = 0x000086A3
  1067. proc glCompressedTexImage3DARB*(target: TGLenum, level: TGLint,
  1068. internalformat: TGLenum, width: TGLsizei,
  1069. height: TGLsizei, depth: TGLsizei,
  1070. border: TGLint, imageSize: TGLsizei,
  1071. data: PGLvoid){.dynlib: dllname,
  1072. importc: "glCompressedTexImage3DARB".}
  1073. proc glCompressedTexImage2DARB*(target: TGLenum, level: TGLint,
  1074. internalformat: TGLenum, width: TGLsizei,
  1075. height: TGLsizei, border: TGLint,
  1076. imageSize: TGLsizei, data: PGLvoid){.
  1077. dynlib: dllname, importc: "glCompressedTexImage2DARB".}
  1078. proc glCompressedTexImage1DARB*(target: TGLenum, level: TGLint,
  1079. internalformat: TGLenum, width: TGLsizei,
  1080. border: TGLint, imageSize: TGLsizei,
  1081. data: PGLvoid){.dynlib: dllname,
  1082. importc: "glCompressedTexImage1DARB".}
  1083. proc glCompressedTexSubImage3DARB*(target: TGLenum, level: TGLint,
  1084. xoffset: TGLint, yoffset: TGLint,
  1085. zoffset: TGLint, width: TGLsizei,
  1086. height: TGLsizei, depth: TGLsizei,
  1087. format: TGLenum, imageSize: TGLsizei,
  1088. data: PGLvoid){.dynlib: dllname,
  1089. importc: "glCompressedTexSubImage3DARB".}
  1090. proc glCompressedTexSubImage2DARB*(target: TGLenum, level: TGLint,
  1091. xoffset: TGLint, yoffset: TGLint,
  1092. width: TGLsizei, height: TGLsizei,
  1093. format: TGLenum, imageSize: TGLsizei,
  1094. data: PGLvoid){.dynlib: dllname,
  1095. importc: "glCompressedTexSubImage2DARB".}
  1096. proc glCompressedTexSubImage1DARB*(target: TGLenum, level: TGLint,
  1097. xoffset: TGLint, width: TGLsizei,
  1098. format: TGLenum, imageSize: TGLsizei,
  1099. data: PGLvoid){.dynlib: dllname,
  1100. importc: "glCompressedTexSubImage1DARB".}
  1101. proc glGetCompressedTexImageARB*(target: TGLenum, lod: TGLint, img: PGLvoid){.
  1102. dynlib: dllname, importc: "glGetCompressedTexImageARB".}
  1103. #***** GL_ARB_texture_env_combine *****//
  1104. const
  1105. GL_COMBINE_ARB* = 0x00008570
  1106. GL_COMBINE_RGB_ARB* = 0x00008571
  1107. GL_COMBINE_ALPHA_ARB* = 0x00008572
  1108. GL_SOURCE0_RGB_ARB* = 0x00008580
  1109. GL_SOURCE1_RGB_ARB* = 0x00008581
  1110. GL_SOURCE2_RGB_ARB* = 0x00008582
  1111. GL_SOURCE0_ALPHA_ARB* = 0x00008588
  1112. GL_SOURCE1_ALPHA_ARB* = 0x00008589
  1113. GL_SOURCE2_ALPHA_ARB* = 0x0000858A
  1114. GL_OPERAND0_RGB_ARB* = 0x00008590
  1115. GL_OPERAND1_RGB_ARB* = 0x00008591
  1116. GL_OPERAND2_RGB_ARB* = 0x00008592
  1117. GL_OPERAND0_ALPHA_ARB* = 0x00008598
  1118. GL_OPERAND1_ALPHA_ARB* = 0x00008599
  1119. GL_OPERAND2_ALPHA_ARB* = 0x0000859A
  1120. GL_RGB_SCALE_ARB* = 0x00008573
  1121. GL_ADD_SIGNED_ARB* = 0x00008574
  1122. GL_INTERPOLATE_ARB* = 0x00008575
  1123. GL_SUBTRACT_ARB* = 0x000084E7
  1124. GL_CONSTANT_ARB* = 0x00008576
  1125. GL_PRIMARY_COLOR_ARB* = 0x00008577
  1126. GL_PREVIOUS_ARB* = 0x00008578
  1127. #***** GL_ARB_texture_env_crossbar *****//
  1128. #***** GL_ARB_texture_env_dot3 *****//
  1129. const
  1130. GL_DOT3_RGB_ARB* = 0x000086AE
  1131. GL_DOT3_RGBA_ARB* = 0x000086AF
  1132. #***** GL_ARB_texture_mirrored_repeat *****//
  1133. const
  1134. GL_MIRRORED_REPEAT_ARB* = 0x00008370
  1135. #***** GL_ARB_vertex_blend *****//
  1136. const
  1137. GL_MAX_VERTEX_UNITS_ARB* = 0x000086A4
  1138. GL_ACTIVE_VERTEX_UNITS_ARB* = 0x000086A5
  1139. GL_WEIGHT_SUM_UNITY_ARB* = 0x000086A6
  1140. constGL_VERTEX_BLEND_ARB* = 0x000086A7
  1141. GL_MODELVIEW0_ARB* = 0x00001700
  1142. GL_MODELVIEW1_ARB* = 0x0000850A
  1143. GL_MODELVIEW2_ARB* = 0x00008722
  1144. GL_MODELVIEW3_ARB* = 0x00008723
  1145. GL_MODELVIEW4_ARB* = 0x00008724
  1146. GL_MODELVIEW5_ARB* = 0x00008725
  1147. GL_MODELVIEW6_ARB* = 0x00008726
  1148. GL_MODELVIEW7_ARB* = 0x00008727
  1149. GL_MODELVIEW8_ARB* = 0x00008728
  1150. GL_MODELVIEW9_ARB* = 0x00008729
  1151. GL_MODELVIEW10_ARB* = 0x0000872A
  1152. GL_MODELVIEW11_ARB* = 0x0000872B
  1153. GL_MODELVIEW12_ARB* = 0x0000872C
  1154. GL_MODELVIEW13_ARB* = 0x0000872D
  1155. GL_MODELVIEW14_ARB* = 0x0000872E
  1156. GL_MODELVIEW15_ARB* = 0x0000872F
  1157. GL_MODELVIEW16_ARB* = 0x00008730
  1158. GL_MODELVIEW17_ARB* = 0x00008731
  1159. GL_MODELVIEW18_ARB* = 0x00008732
  1160. GL_MODELVIEW19_ARB* = 0x00008733
  1161. GL_MODELVIEW20_ARB* = 0x00008734
  1162. GL_MODELVIEW21_ARB* = 0x00008735
  1163. GL_MODELVIEW22_ARB* = 0x00008736
  1164. GL_MODELVIEW23_ARB* = 0x00008737
  1165. GL_MODELVIEW24_ARB* = 0x00008738
  1166. GL_MODELVIEW25_ARB* = 0x00008739
  1167. GL_MODELVIEW26_ARB* = 0x0000873A
  1168. GL_MODELVIEW27_ARB* = 0x0000873B
  1169. GL_MODELVIEW28_ARB* = 0x0000873C
  1170. GL_MODELVIEW29_ARB* = 0x0000873D
  1171. GL_MODELVIEW30_ARB* = 0x0000873E
  1172. GL_MODELVIEW31_ARB* = 0x0000873F
  1173. GL_CURRENT_WEIGHT_ARB* = 0x000086A8
  1174. GL_WEIGHT_ARRAY_TYPE_ARB* = 0x000086A9
  1175. GL_WEIGHT_ARRAY_STRIDE_ARB* = 0x000086AA
  1176. GL_WEIGHT_ARRAY_SIZE_ARB* = 0x000086AB
  1177. GL_WEIGHT_ARRAY_POINTER_ARB* = 0x000086AC
  1178. GL_WEIGHT_ARRAY_ARB* = 0x000086AD
  1179. const
  1180. GL_VERTEX_PROGRAM_ARB* = 0x00008620
  1181. GL_VERTEX_PROGRAM_POINT_SIZE_ARB* = 0x00008642
  1182. GL_VERTEX_PROGRAM_TWO_SIDE_ARB* = 0x00008643
  1183. GL_COLOR_SUM_ARB* = 0x00008458
  1184. GL_PROGRAM_FORMAT_ASCII_ARB* = 0x00008875
  1185. GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB* = 0x00008622
  1186. GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB* = 0x00008623
  1187. GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB* = 0x00008624
  1188. GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB* = 0x00008625
  1189. GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB* = 0x0000886A
  1190. GL_CURRENT_VERTEX_ATTRIB_ARB* = 0x00008626
  1191. GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB* = 0x00008645
  1192. GL_PROGRAM_LENGTH_ARB* = 0x00008627
  1193. GL_PROGRAM_FORMAT_ARB* = 0x00008876
  1194. GL_PROGRAM_BINDING_ARB* = 0x00008677
  1195. GL_PROGRAM_INSTRUCTIONS_ARB* = 0x000088A0
  1196. GL_MAX_PROGRAM_INSTRUCTIONS_ARB* = 0x000088A1
  1197. GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB* = 0x000088A2
  1198. GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB* = 0x000088A3
  1199. GL_PROGRAM_TEMPORARIES_ARB* = 0x000088A4
  1200. GL_MAX_PROGRAM_TEMPORARIES_ARB* = 0x000088A5
  1201. GL_PROGRAM_NATIVE_TEMPORARIES_ARB* = 0x000088A6
  1202. GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB* = 0x000088A7
  1203. GL_PROGRAM_PARAMETERS_ARB* = 0x000088A8
  1204. GL_MAX_PROGRAM_PARAMETERS_ARB* = 0x000088A9
  1205. GL_PROGRAM_NATIVE_PARAMETERS_ARB* = 0x000088AA
  1206. GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB* = 0x000088AB
  1207. GL_PROGRAM_ATTRIBS_ARB* = 0x000088AC
  1208. GL_MAX_PROGRAM_ATTRIBS_ARB* = 0x000088AD
  1209. GL_PROGRAM_NATIVE_ATTRIBS_ARB* = 0x000088AE
  1210. GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB* = 0x000088AF
  1211. GL_PROGRAM_ADDRESS_REGISTERS_ARB* = 0x000088B0
  1212. GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB* = 0x000088B1
  1213. GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB* = 0x000088B2
  1214. GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB* = 0x000088B3
  1215. GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB* = 0x000088B4
  1216. GL_MAX_PROGRAM_ENV_PARAMETERS_ARB* = 0x000088B5
  1217. GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB* = 0x000088B6
  1218. constGL_PROGRAM_STRING_ARB* = 0x00008628
  1219. GL_PROGRAM_ERROR_POSITION_ARB* = 0x0000864B
  1220. GL_CURRENT_MATRIX_ARB* = 0x00008641
  1221. GL_TRANSPOSE_CURRENT_MATRIX_ARB* = 0x000088B7
  1222. GL_CURRENT_MATRIX_STACK_DEPTH_ARB* = 0x00008640
  1223. GL_MAX_VERTEX_ATTRIBS_ARB* = 0x00008869
  1224. GL_MAX_PROGRAM_MATRICES_ARB* = 0x0000862F
  1225. GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB* = 0x0000862E
  1226. GL_PROGRAM_ERROR_STRING_ARB* = 0x00008874
  1227. GL_MATRIX0_ARB* = 0x000088C0
  1228. GL_MATRIX1_ARB* = 0x000088C1
  1229. GL_MATRIX2_ARB* = 0x000088C2
  1230. GL_MATRIX3_ARB* = 0x000088C3
  1231. GL_MATRIX4_ARB* = 0x000088C4
  1232. GL_MATRIX5_ARB* = 0x000088C5
  1233. GL_MATRIX6_ARB* = 0x000088C6
  1234. GL_MATRIX7_ARB* = 0x000088C7
  1235. GL_MATRIX8_ARB* = 0x000088C8
  1236. GL_MATRIX9_ARB* = 0x000088C9
  1237. GL_MATRIX10_ARB* = 0x000088CA
  1238. GL_MATRIX11_ARB* = 0x000088CB
  1239. GL_MATRIX12_ARB* = 0x000088CC
  1240. GL_MATRIX13_ARB* = 0x000088CD
  1241. GL_MATRIX14_ARB* = 0x000088CE
  1242. GL_MATRIX15_ARB* = 0x000088CF
  1243. GL_MATRIX16_ARB* = 0x000088D0
  1244. GL_MATRIX17_ARB* = 0x000088D1
  1245. GL_MATRIX18_ARB* = 0x000088D2
  1246. GL_MATRIX19_ARB* = 0x000088D3
  1247. GL_MATRIX20_ARB* = 0x000088D4
  1248. GL_MATRIX21_ARB* = 0x000088D5
  1249. GL_MATRIX22_ARB* = 0x000088D6
  1250. GL_MATRIX23_ARB* = 0x000088D7
  1251. GL_MATRIX24_ARB* = 0x000088D8
  1252. GL_MATRIX25_ARB* = 0x000088D9
  1253. GL_MATRIX26_ARB* = 0x000088DA
  1254. GL_MATRIX27_ARB* = 0x000088DB
  1255. GL_MATRIX28_ARB* = 0x000088DC
  1256. GL_MATRIX29_ARB* = 0x000088DD
  1257. GL_MATRIX30_ARB* = 0x000088DE
  1258. GL_MATRIX31_ARB* = 0x000088DF
  1259. const
  1260. GL_422_EXT* = 0x000080CC
  1261. GL_422_REV_EXT* = 0x000080CD
  1262. GL_422_AVERAGE_EXT* = 0x000080CE
  1263. GL_422_REV_AVERAGE_EXT* = 0x000080CF
  1264. #***** GL_EXT_abgr *****//
  1265. const
  1266. GL_ABGR_EXT* = 0x00008000
  1267. #***** GL_EXT_bgra *****//
  1268. const
  1269. GL_BGR_EXT* = 0x000080E0
  1270. GL_BGRA_EXT* = 0x000080E1
  1271. #***** GL_EXT_blend_color *****//
  1272. const
  1273. GL_CONSTANT_COLOR_EXT* = 0x00008001
  1274. GL_ONE_MINUS_CONSTANT_COLOR_EXT* = 0x00008002
  1275. GL_CONSTANT_ALPHA_EXT* = 0x00008003
  1276. GL_ONE_MINUS_CONSTANT_ALPHA_EXT* = 0x00008004
  1277. constGL_BLEND_COLOR_EXT* = 0x00008005
  1278. proc glBlendColorEXT*(red: TGLclampf, green: TGLclampf, blue: TGLclampf,
  1279. alpha: TGLclampf){.dynlib: dllname,
  1280. importc: "glBlendColorEXT".}
  1281. #***** GL_EXT_blend_func_separate *****//
  1282. const
  1283. GL_BLEND_DST_RGB_EXT* = 0x000080C8
  1284. GL_BLEND_SRC_RGB_EXT* = 0x000080C9
  1285. GL_BLEND_DST_ALPHA_EXT* = 0x000080CA
  1286. GL_BLEND_SRC_ALPHA_EXT* = 0x000080CB
  1287. proc glBlendFuncSeparateEXT*(sfactorRGB: TGLenum, dfactorRGB: TGLenum,
  1288. sfactorAlpha: TGLenum, dfactorAlpha: TGLenum){.
  1289. dynlib: dllname, importc: "glBlendFuncSeparateEXT".}
  1290. #***** GL_EXT_blend_logic_op *****//
  1291. #***** GL_EXT_blend_minmax *****//
  1292. const
  1293. GL_FUNC_ADD_EXT* = 0x00008006
  1294. GL_MIN_EXT* = 0x00008007
  1295. GL_MAX_EXT* = 0x00008008
  1296. constGL_BLEND_EQUATION_EXT* = 0x00008009
  1297. proc glBlendEquationEXT*(mode: TGLenum){.dynlib: dllname,
  1298. importc: "glBlendEquationEXT".}
  1299. #***** GL_EXT_blend_subtract *****//
  1300. const
  1301. GL_FUNC_SUBTRACT_EXT* = 0x0000800A
  1302. GL_FUNC_REVERSE_SUBTRACT_EXT* = 0x0000800B
  1303. #***** GL_EXT_clip_volume_hint *****//
  1304. const
  1305. GL_CLIP_VOLUME_CLIPPING_HINT_EXT* = 0x000080F0
  1306. #***** GL_EXT_color_subtable *****//
  1307. proc glColorSubTableEXT*(target: TGLenum, start: TGLsizei, count: TGLsizei,
  1308. format: TGLenum, thetype: TGLenum, data: PGLvoid){.
  1309. dynlib: dllname, importc: "glColorSubTableEXT".}
  1310. proc glCopyColorSubTableEXT*(target: TGLenum, start: TGLsizei, x: TGLint,
  1311. y: TGLint, width: TGLsizei){.dynlib: dllname,
  1312. importc: "glCopyColorSubTableEXT".}
  1313. #***** GL_EXT_compiled_vertex_array *****//
  1314. const
  1315. GL_ARRAY_ELEMENT_LOCK_FIRST_EXT* = 0x000081A8
  1316. GL_ARRAY_ELEMENT_LOCK_COUNT_EXT* = 0x000081A9
  1317. proc glLockArraysEXT*(first: TGLint, count: TGLsizei){.dynlib: dllname,
  1318. importc: "glLockArraysEXT".}
  1319. proc glUnlockArraysEXT*(){.dynlib: dllname, importc: "glUnlockArraysEXT".}
  1320. #***** GL_EXT_convolution *****//
  1321. const
  1322. GL_CONVOLUTION_1D_EXT* = 0x00008010
  1323. GL_CONVOLUTION_2D_EXT* = 0x00008011
  1324. GL_SEPARABLE_2D_EXT* = 0x00008012
  1325. GL_CONVOLUTION_BORDER_MODE_EXT* = 0x00008013
  1326. GL_CONVOLUTION_FILTER_SCALE_EXT* = 0x00008014
  1327. GL_CONVOLUTION_FILTER_BIAS_EXT* = 0x00008015
  1328. GL_REDUCE_EXT* = 0x00008016
  1329. GL_CONVOLUTION_FORMAT_EXT* = 0x00008017
  1330. GL_CONVOLUTION_WIDTH_EXT* = 0x00008018
  1331. GL_CONVOLUTION_HEIGHT_EXT* = 0x00008019
  1332. GL_MAX_CONVOLUTION_WIDTH_EXT* = 0x0000801A
  1333. GL_MAX_CONVOLUTION_HEIGHT_EXT* = 0x0000801B
  1334. GL_POST_CONVOLUTION_RED_SCALE_EXT* = 0x0000801C
  1335. GL_POST_CONVOLUTION_GREEN_SCALE_EXT* = 0x0000801D
  1336. GL_POST_CONVOLUTION_BLUE_SCALE_EXT* = 0x0000801E
  1337. GL_POST_CONVOLUTION_ALPHA_SCALE_EXT* = 0x0000801F
  1338. GL_POST_CONVOLUTION_RED_BIAS_EXT* = 0x00008020
  1339. GL_POST_CONVOLUTION_GREEN_BIAS_EXT* = 0x00008021
  1340. GL_POST_CONVOLUTION_BLUE_BIAS_EXT* = 0x00008022
  1341. GL_POST_CONVOLUTION_ALPHA_BIAS_EXT* = 0x00008023
  1342. proc glConvolutionFilter1DEXT*(target: TGLenum, internalformat: TGLenum,
  1343. width: TGLsizei, format: TGLenum,
  1344. thetype: TGLenum, image: PGLvoid){.
  1345. dynlib: dllname, importc: "glConvolutionFilter1DEXT".}
  1346. proc glConvolutionFilter2DEXT*(target: TGLenum, internalformat: TGLenum,
  1347. width: TGLsizei, height: TGLsizei,
  1348. format: TGLenum, thetype: TGLenum, image: PGLvoid){.
  1349. dynlib: dllname, importc: "glConvolutionFilter2DEXT".}
  1350. proc glCopyConvolutionFilter1DEXT*(target: TGLenum, internalformat: TGLenum,
  1351. x: TGLint, y: TGLint, width: TGLsizei){.
  1352. dynlib: dllname, importc: "glCopyConvolutionFilter1DEXT".}
  1353. proc glCopyConvolutionFilter2DEXT*(target: TGLenum, internalformat: TGLenum,
  1354. x: TGLint, y: TGLint, width: TGLsizei,
  1355. height: TGLsizei){.dynlib: dllname,
  1356. importc: "glCopyConvolutionFilter2DEXT".}
  1357. proc glGetConvolutionFilterEXT*(target: TGLenum, format: TGLenum,
  1358. thetype: TGLenum, image: PGLvoid){.
  1359. dynlib: dllname, importc: "glGetConvolutionFilterEXT".}
  1360. proc glSeparableFilter2DEXT*(target: TGLenum, internalformat: TGLenum,
  1361. width: TGLsizei, height: TGLsizei, format: TGLenum,
  1362. thetype: TGLenum, row: PGLvoid, column: PGLvoid){.
  1363. dynlib: dllname, importc: "glSeparableFilter2DEXT".}
  1364. proc glGetSeparableFilterEXT*(target: TGLenum, format: TGLenum,
  1365. thetype: TGLenum, row: PGLvoid, column: PGLvoid,
  1366. span: PGLvoid){.dynlib: dllname,
  1367. importc: "glGetSeparableFilterEXT".}
  1368. proc glConvolutionParameteriEXT*(target: TGLenum, pname: TGLenum, param: TGLint){.
  1369. dynlib: dllname, importc: "glConvolutionParameteriEXT".}
  1370. proc glConvolutionParameterivEXT*(target: TGLenum, pname: TGLenum,
  1371. params: PGLint){.dynlib: dllname,
  1372. importc: "glConvolutionParameterivEXT".}
  1373. proc glConvolutionParameterfEXT*(target: TGLenum, pname: TGLenum,
  1374. param: TGLfloat){.dynlib: dllname,
  1375. importc: "glConvolutionParameterfEXT".}
  1376. proc glConvolutionParameterfvEXT*(target: TGLenum, pname: TGLenum,
  1377. params: PGLfloat){.dynlib: dllname,
  1378. importc: "glConvolutionParameterfvEXT".}
  1379. proc glGetConvolutionParameterivEXT*(target: TGLenum, pname: TGLenum,
  1380. params: PGLint){.dynlib: dllname,
  1381. importc: "glGetConvolutionParameterivEXT".}
  1382. proc glGetConvolutionParameterfvEXT*(target: TGLenum, pname: TGLenum,
  1383. params: PGLfloat){.dynlib: dllname,
  1384. importc: "glGetConvolutionParameterfvEXT".}
  1385. #***** GL_EXT_fog_coord *****//
  1386. const
  1387. GL_FOG_COORDINATE_SOURCE_EXT* = 0x00008450
  1388. GL_FOG_COORDINATE_EXT* = 0x00008451
  1389. GL_FRAGMENT_DEPTH_EXT* = 0x00008452
  1390. GL_CURRENT_FOG_COORDINATE_EXT* = 0x00008453
  1391. GL_FOG_COORDINATE_ARRAY_TYPE_EXT* = 0x00008454
  1392. GL_FOG_COORDINATE_ARRAY_STRIDE_EXT* = 0x00008455
  1393. GL_FOG_COORDINATE_ARRAY_POINTER_EXT* = 0x00008456
  1394. GL_FOG_COORDINATE_ARRAY_EXT* = 0x00008457
  1395. proc glFogCoordfEXfloat*(coord: TGLfloat){.dynlib: dllname,
  1396. importc: "glFogCoordfEXfloat".}
  1397. proc glFogCoorddEXdouble*(coord: TGLdouble){.dynlib: dllname,
  1398. importc: "glFogCoorddEXdouble".}
  1399. proc glFogCoordfvEXfloat*(coord: TGLfloat){.dynlib: dllname,
  1400. importc: "glFogCoordfvEXfloat".}
  1401. proc glFogCoorddvEXdouble*(coord: TGLdouble){.dynlib: dllname,
  1402. importc: "glFogCoorddvEXdouble".}
  1403. proc glFogCoordPointerEXT*(thetype: TGLenum, stride: TGLsizei, pointer: PGLvoid){.
  1404. dynlib: dllname, importc: "glFogCoordPointerEXT".}
  1405. #***** GL_EXT_histogram *****//
  1406. const
  1407. constGL_HISTOGRAM_EXT* = 0x00008024
  1408. GL_PROXY_HISTOGRAM_EXT* = 0x00008025
  1409. GL_HISTOGRAM_WIDTH_EXT* = 0x00008026
  1410. GL_HISTOGRAM_FORMAT_EXT* = 0x00008027
  1411. GL_HISTOGRAM_RED_SIZE_EXT* = 0x00008028
  1412. GL_HISTOGRAM_GREEN_SIZE_EXT* = 0x00008029
  1413. GL_HISTOGRAM_BLUE_SIZE_EXT* = 0x0000802A
  1414. GL_HISTOGRAM_ALPHA_SIZE_EXT* = 0x0000802B
  1415. GL_HISTOGRAM_LUMINANCE_SIZE_EXT* = 0x0000802C
  1416. GL_HISTOGRAM_SINK_EXT* = 0x0000802D
  1417. constGL_MINMAX_EXT* = 0x0000802E
  1418. GL_MINMAX_FORMAT_EXT* = 0x0000802F
  1419. GL_MINMAX_SINK_EXT* = 0x00008030
  1420. proc glHistogramEXT*(target: TGLenum, width: TGLsizei, internalformat: TGLenum,
  1421. sink: TGLboolean){.dynlib: dllname,
  1422. importc: "glHistogramEXT".}
  1423. proc glResetHistogramEXT*(target: TGLenum){.dynlib: dllname,
  1424. importc: "glResetHistogramEXT".}
  1425. proc glGetHistogramEXT*(target: TGLenum, reset: TGLboolean, format: TGLenum,
  1426. thetype: TGLenum, values: PGLvoid){.dynlib: dllname,
  1427. importc: "glGetHistogramEXT".}
  1428. proc glGetHistogramParameterivEXT*(target: TGLenum, pname: TGLenum,
  1429. params: PGLint){.dynlib: dllname,
  1430. importc: "glGetHistogramParameterivEXT".}
  1431. proc glGetHistogramParameterfvEXT*(target: TGLenum, pname: TGLenum,
  1432. params: PGLfloat){.dynlib: dllname,
  1433. importc: "glGetHistogramParameterfvEXT".}
  1434. proc glMinmaxEXT*(target: TGLenum, internalformat: TGLenum, sink: TGLboolean){.
  1435. dynlib: dllname, importc: "glMinmaxEXT".}
  1436. proc glResetMinmaxEXT*(target: TGLenum){.dynlib: dllname,
  1437. importc: "glResetMinmaxEXT".}
  1438. proc glGetMinmaxEXT*(target: TGLenum, reset: TGLboolean, format: TGLenum,
  1439. thetype: TGLenum, values: PGLvoid){.dynlib: dllname,
  1440. importc: "glGetMinmaxEXT".}
  1441. proc glGetMinmaxParameterivEXT*(target: TGLenum, pname: TGLenum, params: PGLint){.
  1442. dynlib: dllname, importc: "glGetMinmaxParameterivEXT".}
  1443. proc glGetMinmaxParameterfvEXT*(target: TGLenum, pname: TGLenum,
  1444. params: PGLfloat){.dynlib: dllname,
  1445. importc: "glGetMinmaxParameterfvEXT".}
  1446. #***** GL_EXT_multi_draw_arrays *****//
  1447. proc glMultiDrawArraysEXT*(mode: TGLenum, first: PGLint, count: PGLsizei,
  1448. primcount: TGLsizei){.dynlib: dllname,
  1449. importc: "glMultiDrawArraysEXT".}
  1450. proc glMultiDrawElementsEXT*(mode: TGLenum, count: PGLsizei, thetype: TGLenum,
  1451. indices: PGLvoid, primcount: TGLsizei){.
  1452. dynlib: dllname, importc: "glMultiDrawElementsEXT".}
  1453. #***** GL_EXT_packed_pixels *****//
  1454. const
  1455. GL_UNSIGNED_BYTE_3_3_2_EXT* = 0x00008032
  1456. GL_UNSIGNED_SHORT_4_4_4_4_EXT* = 0x00008033
  1457. GL_UNSIGNED_SHORT_5_5_5_1_EXT* = 0x00008034
  1458. GL_UNSIGNED_INT_8_8_8_8_EXT* = 0x00008035
  1459. GL_UNSIGNED_INT_10_10_10_2_EXT* = 0x00008036
  1460. #***** GL_EXT_paletted_texture *****//
  1461. const
  1462. GL_COLOR_INDEX1_EXT* = 0x000080E2
  1463. GL_COLOR_INDEX2_EXT* = 0x000080E3
  1464. GL_COLOR_INDEX4_EXT* = 0x000080E4
  1465. GL_COLOR_INDEX8_EXT* = 0x000080E5
  1466. GL_COLOR_INDEX12_EXT* = 0x000080E6
  1467. GL_COLOR_INDEX16_EXT* = 0x000080E7
  1468. GL_COLOR_TABLE_FORMAT_EXT* = 0x000080D8
  1469. GL_COLOR_TABLE_WIDTH_EXT* = 0x000080D9
  1470. GL_COLOR_TABLE_RED_SIZE_EXT* = 0x000080DA
  1471. GL_COLOR_TABLE_GREEN_SIZE_EXT* = 0x000080DB
  1472. GL_COLOR_TABLE_BLUE_SIZE_EXT* = 0x000080DC
  1473. GL_COLOR_TABLE_ALPHA_SIZE_EXT* = 0x000080DD
  1474. GL_COLOR_TABLE_LUMINANCE_SIZE_EXT* = 0x000080DE
  1475. GL_COLOR_TABLE_INTENSITY_SIZE_EXT* = 0x000080DF
  1476. GL_TEXTURE_INDEX_SIZE_EXT* = 0x000080ED
  1477. GL_TEXTURE_1D* = 0x00000DE0
  1478. GL_TEXTURE_2D* = 0x00000DE1
  1479. GL_TEXTURE_3D_EXT* = 0x0000806F # GL_TEXTURE_CUBE_MAP_ARB { already defined }
  1480. GL_PROXY_TEXTURE_1D* = 0x00008063
  1481. GL_PROXY_TEXTURE_2D* = 0x00008064
  1482. GL_PROXY_TEXTURE_3D_EXT* = 0x00008070 # GL_PROXY_TEXTURE_CUBE_MAP_ARB { already defined }
  1483. # GL_TEXTURE_1D { already defined }
  1484. # GL_TEXTURE_2D { already defined }
  1485. # GL_TEXTURE_3D_EXT { already defined }
  1486. # GL_TEXTURE_CUBE_MAP_ARB { already defined }
  1487. proc glColorTableEXT*(target: TGLenum, internalFormat: TGLenum, width: TGLsizei,
  1488. format: TGLenum, thetype: TGLenum, data: PGLvoid){.
  1489. dynlib: dllname, importc: "glColorTableEXT".}
  1490. # glColorSubTableEXT { already defined }
  1491. proc glGetColorTableEXT*(target: TGLenum, format: TGLenum, thetype: TGLenum,
  1492. data: PGLvoid){.dynlib: dllname,
  1493. importc: "glGetColorTableEXT".}
  1494. proc glGetColorTableParameterivEXT*(target: TGLenum, pname: TGLenum,
  1495. params: PGLint){.dynlib: dllname,
  1496. importc: "glGetColorTableParameterivEXT".}
  1497. proc glGetColorTableParameterfvEXT*(target: TGLenum, pname: TGLenum,
  1498. params: PGLfloat){.dynlib: dllname,
  1499. importc: "glGetColorTableParameterfvEXT".}
  1500. #***** GL_EXT_point_parameters *****//
  1501. const
  1502. GL_POINT_SIZE_MIN_EXT* = 0x00008126
  1503. GL_POINT_SIZE_MAX_EXT* = 0x00008127
  1504. GL_POINT_FADE_THRESHOLD_SIZE_EXT* = 0x00008128
  1505. GL_DISTANCE_ATTENUATION_EXT* = 0x00008129
  1506. proc glPointParameterfEXT*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  1507. importc: "glPointParameterfEXT".}
  1508. proc glPointParameterfvEXT*(pname: TGLenum, params: PGLfloat){.dynlib: dllname,
  1509. importc: "glPointParameterfvEXT".}
  1510. #***** GL_EXT_polygon_offset *****//
  1511. const
  1512. constGL_POLYGON_OFFSET_EXT* = 0x00008037
  1513. GL_POLYGON_OFFSET_FACTOR_EXT* = 0x00008038
  1514. GL_POLYGON_OFFSET_BIAS_EXT* = 0x00008039
  1515. proc glPolygonOffsetEXT*(factor: TGLfloat, bias: TGLfloat){.dynlib: dllname,
  1516. importc: "glPolygonOffsetEXT".}
  1517. #***** GL_EXT_secondary_color *****//
  1518. const
  1519. GL_COLOR_SUM_EXT* = 0x00008458
  1520. GL_CURRENT_SECONDARY_COLOR_EXT* = 0x00008459
  1521. GL_SECONDARY_COLOR_ARRAY_SIZE_EXT* = 0x0000845A
  1522. GL_SECONDARY_COLOR_ARRAY_TYPE_EXT* = 0x0000845B
  1523. GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT* = 0x0000845C
  1524. GL_SECONDARY_COLOR_ARRAY_POINTER_EXT* = 0x0000845D
  1525. GL_SECONDARY_COLOR_ARRAY_EXT* = 0x0000845E
  1526. proc glSecondaryColor3bEXT*(components: TGLbyte){.dynlib: dllname,
  1527. importc: "glSecondaryColor3bEXT".}
  1528. proc glSecondaryColor3sEXT*(components: TGLshort){.dynlib: dllname,
  1529. importc: "glSecondaryColor3sEXT".}
  1530. proc glSecondaryColor3iEXT*(components: TGLint){.dynlib: dllname,
  1531. importc: "glSecondaryColor3iEXT".}
  1532. proc glSecondaryColor3fEXT*(components: TGLfloat){.dynlib: dllname,
  1533. importc: "glSecondaryColor3fEXT".}
  1534. proc glSecondaryColor3dEXT*(components: TGLdouble){.dynlib: dllname,
  1535. importc: "glSecondaryColor3dEXT".}
  1536. proc glSecondaryColor3ubEXT*(components: TGLubyte){.dynlib: dllname,
  1537. importc: "glSecondaryColor3ubEXT".}
  1538. proc glSecondaryColor3usEXT*(components: TGLushort){.dynlib: dllname,
  1539. importc: "glSecondaryColor3usEXT".}
  1540. proc glSecondaryColor3uiEXT*(components: TGLuint){.dynlib: dllname,
  1541. importc: "glSecondaryColor3uiEXT".}
  1542. proc glSecondaryColor3bvEXT*(components: TGLbyte){.dynlib: dllname,
  1543. importc: "glSecondaryColor3bvEXT".}
  1544. proc glSecondaryColor3svEXT*(components: TGLshort){.dynlib: dllname,
  1545. importc: "glSecondaryColor3svEXT".}
  1546. proc glSecondaryColor3ivEXT*(components: TGLint){.dynlib: dllname,
  1547. importc: "glSecondaryColor3ivEXT".}
  1548. proc glSecondaryColor3fvEXT*(components: TGLfloat){.dynlib: dllname,
  1549. importc: "glSecondaryColor3fvEXT".}
  1550. proc glSecondaryColor3dvEXT*(components: TGLdouble){.dynlib: dllname,
  1551. importc: "glSecondaryColor3dvEXT".}
  1552. proc glSecondaryColor3ubvEXT*(components: TGLubyte){.dynlib: dllname,
  1553. importc: "glSecondaryColor3ubvEXT".}
  1554. proc glSecondaryColor3usvEXT*(components: TGLushort){.dynlib: dllname,
  1555. importc: "glSecondaryColor3usvEXT".}
  1556. proc glSecondaryColor3uivEXT*(components: TGLuint){.dynlib: dllname,
  1557. importc: "glSecondaryColor3uivEXT".}
  1558. proc glSecondaryColorPointerEXT*(size: TGLint, thetype: TGLenum,
  1559. stride: TGLsizei, pointer: PGLvoid){.
  1560. dynlib: dllname, importc: "glSecondaryColorPointerEXT".}
  1561. #***** GL_EXT_separate_specular_color *****//
  1562. const
  1563. GL_LIGHT_MODEL_COLOR_CONTROL_EXT* = 0x000081F8
  1564. GL_SINGLE_COLOR_EXT* = 0x000081F9
  1565. GL_SEPARATE_SPECULAR_COLOR_EXT* = 0x000081FA
  1566. #***** GL_EXT_shadow_funcs *****//
  1567. #***** GL_EXT_shared_texture_palette *****//
  1568. const
  1569. GL_SHARED_TEXTURE_PALETTE_EXT* = 0x000081FB
  1570. #***** GL_EXT_stencil_two_side *****//
  1571. const
  1572. GL_STENCIL_TEST_TWO_SIDE_EXT* = 0x00008910
  1573. constGL_ACTIVE_STENCIL_FACE_EXT* = 0x00008911
  1574. proc glActiveStencilFaceEXT*(face: TGLenum){.dynlib: dllname,
  1575. importc: "glActiveStencilFaceEXT".}
  1576. #***** GL_EXT_stencil_wrap *****//
  1577. const
  1578. GL_INCR_WRAP_EXT* = 0x00008507
  1579. GL_DECR_WRAP_EXT* = 0x00008508
  1580. #***** GL_EXT_subtexture *****//
  1581. proc glTexSubImage1DEXT*(target: TGLenum, level: TGLint, xoffset: TGLint,
  1582. width: TGLsizei, format: TGLenum, thetype: TGLenum,
  1583. pixels: PGLvoid){.dynlib: dllname,
  1584. importc: "glTexSubImage1DEXT".}
  1585. proc glTexSubImage2DEXT*(target: TGLenum, level: TGLint, xoffset: TGLint,
  1586. yoffset: TGLint, width: TGLsizei, height: TGLsizei,
  1587. format: TGLenum, thetype: TGLenum, pixels: PGLvoid){.
  1588. dynlib: dllname, importc: "glTexSubImage2DEXT".}
  1589. proc glTexSubImage3DEXT*(target: TGLenum, level: TGLint, xoffset: TGLint,
  1590. yoffset: TGLint, zoffset: TGLint, width: TGLsizei,
  1591. height: TGLsizei, depth: TGLsizei, format: TGLenum,
  1592. thetype: TGLenum, pixels: PGLvoid){.dynlib: dllname,
  1593. importc: "glTexSubImage3DEXT".}
  1594. #***** GL_EXT_texture3D *****//
  1595. const
  1596. GL_PACK_SKIP_IMAGES_EXT* = 0x0000806B
  1597. GL_PACK_IMAGE_HEIGHT_EXT* = 0x0000806C
  1598. GL_UNPACK_SKIP_IMAGES_EXT* = 0x0000806D
  1599. GL_UNPACK_IMAGE_HEIGHT_EXT* = 0x0000806E # GL_TEXTURE_3D_EXT { already defined }
  1600. # GL_PROXY_TEXTURE_3D_EXT { already defined }
  1601. GL_TEXTURE_DEPTH_EXT* = 0x00008071
  1602. GL_TEXTURE_WRAP_R_EXT* = 0x00008072
  1603. GL_MAX_3D_TEXTURE_SIZE_EXT* = 0x00008073
  1604. proc glTexImage3DEXT*(target: TGLenum, level: TGLint, internalformat: TGLenum,
  1605. width: TGLsizei, height: TGLsizei, depth: TGLsizei,
  1606. border: TGLint, format: TGLenum, thetype: TGLenum,
  1607. pixels: PGLvoid){.dynlib: dllname,
  1608. importc: "glTexImage3DEXT".}
  1609. #***** GL_EXT_texture_compression_s3tc *****//
  1610. const
  1611. GL_COMPRESSED_RGB_S3TC_DXT1_EXT* = 0x000083F0
  1612. GL_COMPRESSED_RGBA_S3TC_DXT1_EXT* = 0x000083F1
  1613. GL_COMPRESSED_RGBA_S3TC_DXT3_EXT* = 0x000083F2
  1614. GL_COMPRESSED_RGBA_S3TC_DXT5_EXT* = 0x000083F3
  1615. #***** GL_EXT_texture_env_add *****//
  1616. #***** GL_EXT_texture_env_combine *****//
  1617. const
  1618. GL_COMBINE_EXT* = 0x00008570
  1619. GL_COMBINE_RGB_EXT* = 0x00008571
  1620. GL_COMBINE_ALPHA_EXT* = 0x00008572
  1621. GL_SOURCE0_RGB_EXT* = 0x00008580
  1622. GL_SOURCE1_RGB_EXT* = 0x00008581
  1623. GL_SOURCE2_RGB_EXT* = 0x00008582
  1624. GL_SOURCE0_ALPHA_EXT* = 0x00008588
  1625. GL_SOURCE1_ALPHA_EXT* = 0x00008589
  1626. GL_SOURCE2_ALPHA_EXT* = 0x0000858A
  1627. GL_OPERAND0_RGB_EXT* = 0x00008590
  1628. GL_OPERAND1_RGB_EXT* = 0x00008591
  1629. GL_OPERAND2_RGB_EXT* = 0x00008592
  1630. GL_OPERAND0_ALPHA_EXT* = 0x00008598
  1631. GL_OPERAND1_ALPHA_EXT* = 0x00008599
  1632. GL_OPERAND2_ALPHA_EXT* = 0x0000859A
  1633. GL_RGB_SCALE_EXT* = 0x00008573
  1634. GL_ADD_SIGNED_EXT* = 0x00008574
  1635. GL_INTERPOLATE_EXT* = 0x00008575
  1636. GL_CONSTANT_EXT* = 0x00008576
  1637. GL_PRIMARY_COLOR_EXT* = 0x00008577
  1638. GL_PREVIOUS_EXT* = 0x00008578
  1639. #***** GL_EXT_texture_env_dot3 *****//
  1640. const
  1641. GL_DOT3_RGB_EXT* = 0x00008740
  1642. GL_DOT3_RGBA_EXT* = 0x00008741
  1643. #***** GL_EXT_texture_filter_anisotropic *****//
  1644. const
  1645. GL_TEXTURE_MAX_ANISOTROPY_EXT* = 0x000084FE
  1646. GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT* = 0x000084FF
  1647. #***** GL_EXT_texture_lod_bias *****//
  1648. const
  1649. GL_TEXTURE_FILTER_CONTROL_EXT* = 0x00008500
  1650. GL_TEXTURE_LOD_BIAS_EXT* = 0x00008501
  1651. GL_MAX_TEXTURE_LOD_BIAS_EXT* = 0x000084FD
  1652. #***** GL_EXT_texture_object *****//
  1653. const
  1654. GL_TEXTURE_PRIORITY_EXT* = 0x00008066
  1655. GL_TEXTURE_RESIDENT_EXT* = 0x00008067
  1656. GL_TEXTURE_1D_BINDING_EXT* = 0x00008068
  1657. GL_TEXTURE_2D_BINDING_EXT* = 0x00008069
  1658. GL_TEXTURE_3D_BINDING_EXT* = 0x0000806A
  1659. proc glGenTexturesEXT*(n: TGLsizei, textures: PGLuint){.dynlib: dllname,
  1660. importc: "glGenTexturesEXT".}
  1661. proc glDeleteTexturesEXT*(n: TGLsizei, textures: PGLuint){.dynlib: dllname,
  1662. importc: "glDeleteTexturesEXT".}
  1663. proc glBindTextureEXT*(target: TGLenum, texture: TGLuint){.dynlib: dllname,
  1664. importc: "glBindTextureEXT".}
  1665. proc glPrioritizeTexturesEXT*(n: TGLsizei, textures: PGLuint,
  1666. priorities: PGLclampf){.dynlib: dllname,
  1667. importc: "glPrioritizeTexturesEXT".}
  1668. proc glAreTexturesResidentEXT*(n: TGLsizei, textures: PGLuint,
  1669. residences: PGLboolean): TGLboolean{.
  1670. dynlib: dllname, importc: "glAreTexturesResidentEXT".}
  1671. proc glIsTextureEXT*(texture: TGLuint): TGLboolean{.dynlib: dllname,
  1672. importc: "glIsTextureEXT".}
  1673. #***** GL_EXT_vertex_array *****//
  1674. const
  1675. GL_VERTEX_ARRAY_EXT* = 0x00008074
  1676. GL_NORMAL_ARRAY_EXT* = 0x00008075
  1677. GL_COLOR_ARRAY_EXT* = 0x00008076
  1678. GL_INDEX_ARRAY_EXT* = 0x00008077
  1679. GL_TEXTURE_COORD_ARRAY_EXT* = 0x00008078
  1680. GL_EDGE_FLAG_ARRAY_EXT* = 0x00008079
  1681. GL_DOUBLE_EXT* = 0x0000140A
  1682. GL_VERTEX_ARRAY_SIZE_EXT* = 0x0000807A
  1683. GL_VERTEX_ARRAY_TYPE_EXT* = 0x0000807B
  1684. GL_VERTEX_ARRAY_STRIDE_EXT* = 0x0000807C
  1685. GL_VERTEX_ARRAY_COUNT_EXT* = 0x0000807D
  1686. GL_NORMAL_ARRAY_TYPE_EXT* = 0x0000807E
  1687. GL_NORMAL_ARRAY_STRIDE_EXT* = 0x0000807F
  1688. GL_NORMAL_ARRAY_COUNT_EXT* = 0x00008080
  1689. GL_COLOR_ARRAY_SIZE_EXT* = 0x00008081
  1690. GL_COLOR_ARRAY_TYPE_EXT* = 0x00008082
  1691. GL_COLOR_ARRAY_STRIDE_EXT* = 0x00008083
  1692. GL_COLOR_ARRAY_COUNT_EXT* = 0x00008084
  1693. GL_INDEX_ARRAY_TYPE_EXT* = 0x00008085
  1694. GL_INDEX_ARRAY_STRIDE_EXT* = 0x00008086
  1695. GL_INDEX_ARRAY_COUNT_EXT* = 0x00008087
  1696. GL_TEXTURE_COORD_ARRAY_SIZE_EXT* = 0x00008088
  1697. GL_TEXTURE_COORD_ARRAY_TYPE_EXT* = 0x00008089
  1698. GL_TEXTURE_COORD_ARRAY_STRIDE_EXT* = 0x0000808A
  1699. GL_TEXTURE_COORD_ARRAY_COUNT_EXT* = 0x0000808B
  1700. GL_EDGE_FLAG_ARRAY_STRIDE_EXT* = 0x0000808C
  1701. GL_EDGE_FLAG_ARRAY_COUNT_EXT* = 0x0000808D
  1702. GL_VERTEX_ARRAY_POINTER_EXT* = 0x0000808E
  1703. GL_NORMAL_ARRAY_POINTER_EXT* = 0x0000808F
  1704. GL_COLOR_ARRAY_POINTER_EXT* = 0x00008090
  1705. GL_INDEX_ARRAY_POINTER_EXT* = 0x00008091
  1706. GL_TEXTURE_COORD_ARRAY_POINTER_EXT* = 0x00008092
  1707. GL_EDGE_FLAG_ARRAY_POINTER_EXT* = 0x00008093
  1708. proc glArrayElementEXT*(i: TGLint){.dynlib: dllname,
  1709. importc: "glArrayElementEXT".}
  1710. proc glDrawArraysEXT*(mode: TGLenum, first: TGLint, count: TGLsizei){.
  1711. dynlib: dllname, importc: "glDrawArraysEXT".}
  1712. proc glVertexPointerEXT*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  1713. count: TGLsizei, pointer: PGLvoid){.dynlib: dllname,
  1714. importc: "glVertexPointerEXT".}
  1715. proc glNormalPointerEXT*(thetype: TGLenum, stride: TGLsizei, count: TGLsizei,
  1716. pointer: PGLvoid){.dynlib: dllname,
  1717. importc: "glNormalPointerEXT".}
  1718. proc glColorPointerEXT*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  1719. count: TGLsizei, pointer: PGLvoid){.dynlib: dllname,
  1720. importc: "glColorPointerEXT".}
  1721. proc glIndexPointerEXT*(thetype: TGLenum, stride: TGLsizei, count: TGLsizei,
  1722. pointer: PGLvoid){.dynlib: dllname,
  1723. importc: "glIndexPointerEXT".}
  1724. proc glTexCoordPointerEXT*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  1725. count: TGLsizei, pointer: PGLvoid){.dynlib: dllname,
  1726. importc: "glTexCoordPointerEXT".}
  1727. proc glEdgeFlagPointerEXT*(stride: TGLsizei, count: TGLsizei,
  1728. pointer: PGLboolean){.dynlib: dllname,
  1729. importc: "glEdgeFlagPointerEXT".}
  1730. proc glGetPointervEXT*(pname: TGLenum, params: PGLvoid){.dynlib: dllname,
  1731. importc: "glGetPointervEXT".}
  1732. #***** GL_EXT_vertex_shader *****//
  1733. const
  1734. GL_VERTEX_SHADER_EXT* = 0x00008780
  1735. GL_VARIANT_VALUE_EXT* = 0x000087E4
  1736. GL_VARIANT_DATATYPE_EXT* = 0x000087E5
  1737. GL_VARIANT_ARRAY_STRIDE_EXT* = 0x000087E6
  1738. GL_VARIANT_ARRAY_TYPE_EXT* = 0x000087E7
  1739. GL_VARIANT_ARRAY_EXT* = 0x000087E8
  1740. GL_VARIANT_ARRAY_POINTER_EXT* = 0x000087E9
  1741. GL_INVARIANT_VALUE_EXT* = 0x000087EA
  1742. GL_INVARIANT_DATATYPE_EXT* = 0x000087EB
  1743. GL_LOCAL_CONSTANT_VALUE_EXT* = 0x000087EC
  1744. GL_LOCAL_CONSTANT_DATATYPE_EXT* = 0x000087ED
  1745. GL_OP_INDEX_EXT* = 0x00008782
  1746. GL_OP_NEGATE_EXT* = 0x00008783
  1747. GL_OP_DOT3_EXT* = 0x00008784
  1748. GL_OP_DOT4_EXT* = 0x00008785
  1749. GL_OP_MUL_EXT* = 0x00008786
  1750. GL_OP_ADD_EXT* = 0x00008787
  1751. GL_OP_MADD_EXT* = 0x00008788
  1752. GL_OP_FRAC_EXT* = 0x00008789
  1753. GL_OP_MAX_EXT* = 0x0000878A
  1754. GL_OP_MIN_EXT* = 0x0000878B
  1755. GL_OP_SET_GE_EXT* = 0x0000878C
  1756. GL_OP_SET_LT_EXT* = 0x0000878D
  1757. GL_OP_CLAMP_EXT* = 0x0000878E
  1758. GL_OP_FLOOR_EXT* = 0x0000878F
  1759. GL_OP_ROUND_EXT* = 0x00008790
  1760. GL_OP_EXP_BASE_2_EXT* = 0x00008791
  1761. GL_OP_LOG_BASE_2_EXT* = 0x00008792
  1762. GL_OP_POWER_EXT* = 0x00008793
  1763. GL_OP_RECIP_EXT* = 0x00008794
  1764. GL_OP_RECIP_SQRT_EXT* = 0x00008795
  1765. GL_OP_SUB_EXT* = 0x00008796
  1766. GL_OP_CROSS_PRODUCT_EXT* = 0x00008797
  1767. GL_OP_MULTIPLY_MATRIX_EXT* = 0x00008798
  1768. GL_OP_MOV_EXT* = 0x00008799
  1769. GL_OUTPUT_VERTEX_EXT* = 0x0000879A
  1770. GL_OUTPUT_COLOR0_EXT* = 0x0000879B
  1771. GL_OUTPUT_COLOR1_EXT* = 0x0000879C
  1772. GL_OUTPUT_TEXTURE_COORD0_EXT* = 0x0000879D
  1773. GL_OUTPUT_TEXTURE_COORD1_EXT* = 0x0000879E
  1774. GL_OUTPUT_TEXTURE_COORD2_EXT* = 0x0000879F
  1775. GL_OUTPUT_TEXTURE_COORD3_EXT* = 0x000087A0
  1776. GL_OUTPUT_TEXTURE_COORD4_EXT* = 0x000087A1
  1777. GL_OUTPUT_TEXTURE_COORD5_EXT* = 0x000087A2
  1778. GL_OUTPUT_TEXTURE_COORD6_EXT* = 0x000087A3
  1779. GL_OUTPUT_TEXTURE_COORD7_EXT* = 0x000087A4
  1780. GL_OUTPUT_TEXTURE_COORD8_EXT* = 0x000087A5
  1781. GL_OUTPUT_TEXTURE_COORD9_EXT* = 0x000087A6
  1782. GL_OUTPUT_TEXTURE_COORD10_EXT* = 0x000087A7
  1783. GL_OUTPUT_TEXTURE_COORD11_EXT* = 0x000087A8
  1784. GL_OUTPUT_TEXTURE_COORD12_EXT* = 0x000087A9
  1785. GL_OUTPUT_TEXTURE_COORD13_EXT* = 0x000087AA
  1786. GL_OUTPUT_TEXTURE_COORD14_EXT* = 0x000087AB
  1787. GL_OUTPUT_TEXTURE_COORD15_EXT* = 0x000087AC
  1788. GL_OUTPUT_TEXTURE_COORD16_EXT* = 0x000087AD
  1789. GL_OUTPUT_TEXTURE_COORD17_EXT* = 0x000087AE
  1790. GL_OUTPUT_TEXTURE_COORD18_EXT* = 0x000087AF
  1791. GL_OUTPUT_TEXTURE_COORD19_EXT* = 0x000087B0
  1792. GL_OUTPUT_TEXTURE_COORD20_EXT* = 0x000087B1
  1793. GL_OUTPUT_TEXTURE_COORD21_EXT* = 0x000087B2
  1794. GL_OUTPUT_TEXTURE_COORD22_EXT* = 0x000087B3
  1795. GL_OUTPUT_TEXTURE_COORD23_EXT* = 0x000087B4
  1796. GL_OUTPUT_TEXTURE_COORD24_EXT* = 0x000087B5
  1797. GL_OUTPUT_TEXTURE_COORD25_EXT* = 0x000087B6
  1798. GL_OUTPUT_TEXTURE_COORD26_EXT* = 0x000087B7
  1799. GL_OUTPUT_TEXTURE_COORD27_EXT* = 0x000087B8
  1800. GL_OUTPUT_TEXTURE_COORD28_EXT* = 0x000087B9
  1801. GL_OUTPUT_TEXTURE_COORD29_EXT* = 0x000087BA
  1802. GL_OUTPUT_TEXTURE_COORD30_EXT* = 0x000087BB
  1803. GL_OUTPUT_TEXTURE_COORD31_EXT* = 0x000087BC
  1804. GL_OUTPUT_FOG_EXT* = 0x000087BD
  1805. GL_SCALAR_EXT* = 0x000087BE
  1806. GL_VECTOR_EXT* = 0x000087BF
  1807. GL_MATRIX_EXT* = 0x000087C0
  1808. GL_VARIANT_EXT* = 0x000087C1
  1809. GL_INVARIANT_EXT* = 0x000087C2
  1810. GL_LOCAL_CONSTANT_EXT* = 0x000087C3
  1811. GL_LOCAL_EXT* = 0x000087C4
  1812. GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT* = 0x000087C5
  1813. GL_MAX_VERTEX_SHADER_VARIANTS_EXT* = 0x000087C6
  1814. GL_MAX_VERTEX_SHADER_INVARIANTS_EXT* = 0x000087C7
  1815. GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT* = 0x000087C8
  1816. GL_MAX_VERTEX_SHADER_LOCALS_EXT* = 0x000087C9
  1817. GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT* = 0x000087CA
  1818. GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT* = 0x000087CB
  1819. GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT* = 0x000087CC
  1820. GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT* = 0x000087CD
  1821. GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT* = 0x000087CE
  1822. GL_VERTEX_SHADER_INSTRUCTIONS_EXT* = 0x000087CF
  1823. GL_VERTEX_SHADER_VARIANTS_EXT* = 0x000087D0
  1824. GL_VERTEX_SHADER_INVARIANTS_EXT* = 0x000087D1
  1825. GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT* = 0x000087D2
  1826. GL_VERTEX_SHADER_LOCALS_EXT* = 0x000087D3
  1827. GL_VERTEX_SHADER_BINDING_EXT* = 0x00008781
  1828. GL_VERTEX_SHADER_OPTIMIZED_EXT* = 0x000087D4
  1829. GL_X_EXT* = 0x000087D5
  1830. GL_Y_EXT* = 0x000087D6
  1831. GL_Z_EXT* = 0x000087D7
  1832. GL_W_EXT* = 0x000087D8
  1833. GL_NEGATIVE_X_EXT* = 0x000087D9
  1834. GL_NEGATIVE_Y_EXT* = 0x000087DA
  1835. GL_NEGATIVE_Z_EXT* = 0x000087DB
  1836. GL_NEGATIVE_W_EXT* = 0x000087DC
  1837. GL_ZERO_EXT* = 0x000087DD
  1838. GL_ONE_EXT* = 0x000087DE
  1839. GL_NEGATIVE_ONE_EXT* = 0x000087DF
  1840. GL_NORMALIZED_RANGE_EXT* = 0x000087E0
  1841. GL_FULL_RANGE_EXT* = 0x000087E1
  1842. GL_CURRENT_VERTEX_EXT* = 0x000087E2
  1843. GL_MVP_MATRIX_EXT* = 0x000087E3
  1844. proc glBeginVertexShaderEXT*(){.dynlib: dllname,
  1845. importc: "glBeginVertexShaderEXT".}
  1846. proc glEndVertexShaderEXT*(){.dynlib: dllname, importc: "glEndVertexShaderEXT".}
  1847. proc glBindVertexShaderEXT*(id: TGLuint){.dynlib: dllname,
  1848. importc: "glBindVertexShaderEXT".}
  1849. proc glGenVertexShadersEXT*(range: TGLuint): TGLuint{.dynlib: dllname,
  1850. importc: "glGenVertexShadersEXT".}
  1851. proc glDeleteVertexShaderEXT*(id: TGLuint){.dynlib: dllname,
  1852. importc: "glDeleteVertexShaderEXT".}
  1853. proc glShaderOp1EXT*(op: TGLenum, res: TGLuint, arg1: TGLuint){.dynlib: dllname,
  1854. importc: "glShaderOp1EXT".}
  1855. proc glShaderOp2EXT*(op: TGLenum, res: TGLuint, arg1: TGLuint, arg2: TGLuint){.
  1856. dynlib: dllname, importc: "glShaderOp2EXT".}
  1857. proc glShaderOp3EXT*(op: TGLenum, res: TGLuint, arg1: TGLuint, arg2: TGLuint,
  1858. arg3: TGLuint){.dynlib: dllname, importc: "glShaderOp3EXT".}
  1859. proc glSwizzleEXT*(res: TGLuint, theIn: TGLuint, outX: TGLenum, outY: TGLenum,
  1860. outZ: TGLenum, outW: TGLenum){.dynlib: dllname,
  1861. importc: "glSwizzleEXT".}
  1862. proc glWriteMaskEXT*(res: TGLuint, theIn: TGLuint, outX: TGLenum, outY: TGLenum,
  1863. outZ: TGLenum, outW: TGLenum){.dynlib: dllname,
  1864. importc: "glWriteMaskEXT".}
  1865. proc glInsertComponentEXT*(res: TGLuint, src: TGLuint, num: TGLuint){.
  1866. dynlib: dllname, importc: "glInsertComponentEXT".}
  1867. proc glExtractComponentEXT*(res: TGLuint, src: TGLuint, num: TGLuint){.
  1868. dynlib: dllname, importc: "glExtractComponentEXT".}
  1869. proc glGenSymbolsEXT*(datatype: TGLenum, storagetype: TGLenum, range: TGLenum,
  1870. components: TGLuint): TGLuint{.dynlib: dllname,
  1871. importc: "glGenSymbolsEXT".}
  1872. proc glSetInvariantEXT*(id: TGLuint, thetype: TGLenum, address: PGLvoid){.
  1873. dynlib: dllname, importc: "glSetInvariantEXT".}
  1874. proc glSetLocalConstantEXT*(id: TGLuint, thetype: TGLenum, address: PGLvoid){.
  1875. dynlib: dllname, importc: "glSetLocalConstantEXT".}
  1876. proc glVariantbvEXT*(id: TGLuint, address: PGLbyte){.dynlib: dllname,
  1877. importc: "glVariantbvEXT".}
  1878. proc glVariantsvEXT*(id: TGLuint, address: PGLshort){.dynlib: dllname,
  1879. importc: "glVariantsvEXT".}
  1880. proc glVariantivEXT*(id: TGLuint, address: PGLint){.dynlib: dllname,
  1881. importc: "glVariantivEXT".}
  1882. proc glVariantfvEXT*(id: TGLuint, address: PGLfloat){.dynlib: dllname,
  1883. importc: "glVariantfvEXT".}
  1884. proc glVariantdvEXT*(id: TGLuint, address: PGLdouble){.dynlib: dllname,
  1885. importc: "glVariantdvEXT".}
  1886. proc glVariantubvEXT*(id: TGLuint, address: PGLubyte){.dynlib: dllname,
  1887. importc: "glVariantubvEXT".}
  1888. proc glVariantusvEXT*(id: TGLuint, address: PGLushort){.dynlib: dllname,
  1889. importc: "glVariantusvEXT".}
  1890. proc glVariantuivEXT*(id: TGLuint, address: PGLuint){.dynlib: dllname,
  1891. importc: "glVariantuivEXT".}
  1892. proc glVariantPointerEXT*(id: TGLuint, thetype: TGLenum, stride: TGLuint,
  1893. address: PGLvoid){.dynlib: dllname,
  1894. importc: "glVariantPointerEXT".}
  1895. proc glEnableVariantClientStateEXT*(id: TGLuint){.dynlib: dllname,
  1896. importc: "glEnableVariantClientStateEXT".}
  1897. proc glDisableVariantClientStateEXT*(id: TGLuint){.dynlib: dllname,
  1898. importc: "glDisableVariantClientStateEXT".}
  1899. proc glBindLightParameterEXT*(light: TGLenum, value: TGLenum): TGLuint{.
  1900. dynlib: dllname, importc: "glBindLightParameterEXT".}
  1901. proc glBindMaterialParameterEXT*(face: TGLenum, value: TGLenum): TGLuint{.
  1902. dynlib: dllname, importc: "glBindMaterialParameterEXT".}
  1903. proc glBindTexGenParameterEXT*(theunit: TGLenum, coord: TGLenum, value: TGLenum): TGLuint{.
  1904. dynlib: dllname, importc: "glBindTexGenParameterEXT".}
  1905. proc glBindTextureUnitParameterEXT*(theunit: TGLenum, value: TGLenum): TGLuint{.
  1906. dynlib: dllname, importc: "glBindTextureUnitParameterEXT".}
  1907. proc glBindParameterEXT*(value: TGLenum): TGLuint{.dynlib: dllname,
  1908. importc: "glBindParameterEXT".}
  1909. proc glIsVariantEnabledEXT*(id: TGLuint, cap: TGLenum): TGLboolean{.
  1910. dynlib: dllname, importc: "glIsVariantEnabledEXT".}
  1911. proc glGetVariantBooleanvEXT*(id: TGLuint, value: TGLenum, data: PGLboolean){.
  1912. dynlib: dllname, importc: "glGetVariantBooleanvEXT".}
  1913. proc glGetVariantIntegervEXT*(id: TGLuint, value: TGLenum, data: PGLint){.
  1914. dynlib: dllname, importc: "glGetVariantIntegervEXT".}
  1915. proc glGetVariantFloatvEXT*(id: TGLuint, value: TGLenum, data: PGLfloat){.
  1916. dynlib: dllname, importc: "glGetVariantFloatvEXT".}
  1917. proc glGetVariantPointervEXT*(id: TGLuint, value: TGLenum, data: PGLvoid){.
  1918. dynlib: dllname, importc: "glGetVariantPointervEXT".}
  1919. proc glGetInvariantBooleanvEXT*(id: TGLuint, value: TGLenum, data: PGLboolean){.
  1920. dynlib: dllname, importc: "glGetInvariantBooleanvEXT".}
  1921. proc glGetInvariantIntegervEXT*(id: TGLuint, value: TGLenum, data: PGLint){.
  1922. dynlib: dllname, importc: "glGetInvariantIntegervEXT".}
  1923. proc glGetInvariantFloatvEXT*(id: TGLuint, value: TGLenum, data: PGLfloat){.
  1924. dynlib: dllname, importc: "glGetInvariantFloatvEXT".}
  1925. proc glGetLocalConstantBooleanvEXT*(id: TGLuint, value: TGLenum,
  1926. data: PGLboolean){.dynlib: dllname,
  1927. importc: "glGetLocalConstantBooleanvEXT".}
  1928. proc glGetLocalConstantIntegervEXT*(id: TGLuint, value: TGLenum, data: PGLint){.
  1929. dynlib: dllname, importc: "glGetLocalConstantIntegervEXT".}
  1930. proc glGetLocalConstantFloatvEXT*(id: TGLuint, value: TGLenum, data: PGLfloat){.
  1931. dynlib: dllname, importc: "glGetLocalConstantFloatvEXT".}
  1932. #***** GL_EXT_vertex_weighting *****//
  1933. const
  1934. GL_VERTEX_WEIGHTING_EXT* = 0x00008509
  1935. GL_MODELVIEW0_EXT* = 0x00001700
  1936. GL_MODELVIEW1_EXT* = 0x0000850A
  1937. GL_MODELVIEW0_MATRIX_EXT* = 0x00000BA6
  1938. GL_MODELVIEW1_MATRIX_EXT* = 0x00008506
  1939. GL_CURRENT_VERTEX_WEIGHT_EXT* = 0x0000850B
  1940. GL_VERTEX_WEIGHT_ARRAY_EXT* = 0x0000850C
  1941. GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT* = 0x0000850D
  1942. GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT* = 0x0000850E
  1943. GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT* = 0x0000850F
  1944. GL_MODELVIEW0_STACK_DEPTH_EXT* = 0x00000BA3
  1945. GL_MODELVIEW1_STACK_DEPTH_EXT* = 0x00008502
  1946. GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT* = 0x00008510
  1947. proc glVertexWeightfEXT*(weight: TGLfloat){.dynlib: dllname,
  1948. importc: "glVertexWeightfEXT".}
  1949. proc glVertexWeightfvEXT*(weight: PGLfloat){.dynlib: dllname,
  1950. importc: "glVertexWeightfvEXT".}
  1951. proc glVertexWeightPointerEXT*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  1952. pointer: PGLvoid){.dynlib: dllname,
  1953. importc: "glVertexWeightPointerEXT".}
  1954. #***** GL_HP_occlusion_test *****//
  1955. const
  1956. GL_OCCLUSION_TEST_HP* = 0x00008165
  1957. GL_OCCLUSION_TEST_RESULT_HP* = 0x00008166
  1958. #***** GL_NV_blend_square *****//
  1959. #***** GL_NV_copy_depth_to_color *****//
  1960. const
  1961. GL_DEPTH_STENCIL_TO_RGBA_NV* = 0x0000886E
  1962. GL_DEPTH_STENCIL_TO_BGRA_NV* = 0x0000886F
  1963. #***** GL_NV_depth_clamp *****//
  1964. const
  1965. GL_DEPTH_CLAMP_NV* = 0x0000864F
  1966. #***** GL_NV_evaluators *****//
  1967. const
  1968. GL_EVAL_2D_NV* = 0x000086C0
  1969. GL_EVAL_TRIANGULAR_2D_NV* = 0x000086C1
  1970. GL_MAP_TESSELLATION_NV* = 0x000086C2
  1971. GL_MAP_ATTRIB_U_ORDER_NV* = 0x000086C3
  1972. GL_MAP_ATTRIB_V_ORDER_NV* = 0x000086C4
  1973. GL_EVAL_FRACTIONAL_TESSELLATION_NV* = 0x000086C5
  1974. GL_EVAL_VERTEX_ATTRIB0_NV* = 0x000086C6
  1975. GL_EVAL_VERTEX_ATTRIB1_NV* = 0x000086C7
  1976. GL_EVAL_VERTEX_ATTRIB2_NV* = 0x000086C8
  1977. GL_EVAL_VERTEX_ATTRIB3_NV* = 0x000086C9
  1978. GL_EVAL_VERTEX_ATTRIB4_NV* = 0x000086CA
  1979. GL_EVAL_VERTEX_ATTRIB5_NV* = 0x000086CB
  1980. GL_EVAL_VERTEX_ATTRIB6_NV* = 0x000086CC
  1981. GL_EVAL_VERTEX_ATTRIB7_NV* = 0x000086CD
  1982. GL_EVAL_VERTEX_ATTRIB8_NV* = 0x000086CE
  1983. GL_EVAL_VERTEX_ATTRIB9_NV* = 0x000086CF
  1984. GL_EVAL_VERTEX_ATTRIB10_NV* = 0x000086D0
  1985. GL_EVAL_VERTEX_ATTRIB11_NV* = 0x000086D1
  1986. GL_EVAL_VERTEX_ATTRIB12_NV* = 0x000086D2
  1987. GL_EVAL_VERTEX_ATTRIB13_NV* = 0x000086D3
  1988. GL_EVAL_VERTEX_ATTRIB14_NV* = 0x000086D4
  1989. GL_EVAL_VERTEX_ATTRIB15_NV* = 0x000086D5
  1990. GL_MAX_MAP_TESSELLATION_NV* = 0x000086D6
  1991. GL_MAX_RATIONAL_EVAL_ORDER_NV* = 0x000086D7
  1992. proc glMapControlPointsNV*(target: TGLenum, index: TGLuint, thetype: TGLenum,
  1993. ustride: TGLsizei, vstride: TGLsizei, uorder: TGLint,
  1994. vorder: TGLint, thepacked: TGLboolean,
  1995. points: PGLvoid){.dynlib: dllname,
  1996. importc: "glMapControlPointsNV".}
  1997. proc glMapParameterivNV*(target: TGLenum, pname: TGLenum, params: PGLint){.
  1998. dynlib: dllname, importc: "glMapParameterivNV".}
  1999. proc glMapParameterfvNV*(target: TGLenum, pname: TGLenum, params: PGLfloat){.
  2000. dynlib: dllname, importc: "glMapParameterfvNV".}
  2001. proc glGetMapControlPointsNV*(target: TGLenum, index: TGLuint, thetype: TGLenum,
  2002. ustride: TGLsizei, vstride: TGLsizei,
  2003. thepacked: TGLboolean, points: PGLvoid){.
  2004. dynlib: dllname, importc: "glGetMapControlPointsNV".}
  2005. proc glGetMapParameterivNV*(target: TGLenum, pname: TGLenum, params: PGLint){.
  2006. dynlib: dllname, importc: "glGetMapParameterivNV".}
  2007. proc glGetMapParameterfvNV*(target: TGLenum, pname: TGLenum, params: PGLfloat){.
  2008. dynlib: dllname, importc: "glGetMapParameterfvNV".}
  2009. proc glGetMapAttribParameterivNV*(target: TGLenum, index: TGLuint,
  2010. pname: TGLenum, params: PGLint){.
  2011. dynlib: dllname, importc: "glGetMapAttribParameterivNV".}
  2012. proc glGetMapAttribParameterfvNV*(target: TGLenum, index: TGLuint,
  2013. pname: TGLenum, params: PGLfloat){.
  2014. dynlib: dllname, importc: "glGetMapAttribParameterfvNV".}
  2015. proc glEvalMapsNV*(target: TGLenum, mode: TGLenum){.dynlib: dllname,
  2016. importc: "glEvalMapsNV".}
  2017. #***** GL_NV_fence *****//
  2018. const
  2019. GL_ALL_COMPLETED_NV* = 0x000084F2
  2020. GL_FENCE_STATUS_NV* = 0x000084F3
  2021. GL_FENCE_CONDITION_NV* = 0x000084F4
  2022. proc glGenFencesNV*(n: TGLsizei, fences: PGLuint){.dynlib: dllname,
  2023. importc: "glGenFencesNV".}
  2024. proc glDeleteFencesNV*(n: TGLsizei, fences: PGLuint){.dynlib: dllname,
  2025. importc: "glDeleteFencesNV".}
  2026. proc glSetFenceNV*(fence: TGLuint, condition: TGLenum){.dynlib: dllname,
  2027. importc: "glSetFenceNV".}
  2028. proc glTestFenceNV*(fence: TGLuint): TGLboolean{.dynlib: dllname,
  2029. importc: "glTestFenceNV".}
  2030. proc glFinishFenceNV*(fence: TGLuint){.dynlib: dllname,
  2031. importc: "glFinishFenceNV".}
  2032. proc glIsFenceNV*(fence: TGLuint): TGLboolean{.dynlib: dllname,
  2033. importc: "glIsFenceNV".}
  2034. proc glGetFenceivNV*(fence: TGLuint, pname: TGLenum, params: PGLint){.
  2035. dynlib: dllname, importc: "glGetFenceivNV".}
  2036. #***** GL_NV_fog_distance *****//
  2037. const
  2038. GL_FOG_DISTANCE_MODE_NV* = 0x0000855A
  2039. GL_EYE_RADIAL_NV* = 0x0000855B
  2040. GL_EYE_PLANE_ABSOLUTE_NV* = 0x0000855C
  2041. #***** GL_NV_light_max_exponent *****//
  2042. const
  2043. GL_MAX_SHININESS_NV* = 0x00008504
  2044. GL_MAX_SPOT_EXPONENT_NV* = 0x00008505
  2045. #***** GL_NV_multisample_filter_hint *****//
  2046. const
  2047. GL_MULTISAMPLE_FILTER_HINT_NV* = 0x00008534
  2048. #***** GL_NV_occlusion_query *****//
  2049. # GL_OCCLUSION_TEST_HP { already defined }
  2050. # GL_OCCLUSION_TEST_RESULT_HP { already defined }
  2051. const
  2052. GL_PIXEL_COUNTER_BITS_NV* = 0x00008864
  2053. GL_CURRENT_OCCLUSION_QUERY_ID_NV* = 0x00008865
  2054. GL_PIXEL_COUNT_NV* = 0x00008866
  2055. GL_PIXEL_COUNT_AVAILABLE_NV* = 0x00008867
  2056. proc glGenOcclusionQueriesNV*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  2057. importc: "glGenOcclusionQueriesNV".}
  2058. proc glDeleteOcclusionQueriesNV*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  2059. importc: "glDeleteOcclusionQueriesNV".}
  2060. proc glIsOcclusionQueryNV*(id: TGLuint): TGLboolean{.dynlib: dllname,
  2061. importc: "glIsOcclusionQueryNV".}
  2062. proc glBeginOcclusionQueryNV*(id: TGLuint){.dynlib: dllname,
  2063. importc: "glBeginOcclusionQueryNV".}
  2064. proc glEndOcclusionQueryNV*(){.dynlib: dllname, importc: "glEndOcclusionQueryNV".}
  2065. proc glGetOcclusionQueryivNV*(id: TGLuint, pname: TGLenum, params: PGLint){.
  2066. dynlib: dllname, importc: "glGetOcclusionQueryivNV".}
  2067. proc glGetOcclusionQueryuivNV*(id: TGLuint, pname: TGLenum, params: PGLuint){.
  2068. dynlib: dllname, importc: "glGetOcclusionQueryuivNV".}
  2069. #***** GL_NV_packed_depth_stencil *****//
  2070. const
  2071. GL_DEPTH_STENCIL_NV* = 0x000084F9
  2072. GL_UNSIGNED_INT_24_8_NV* = 0x000084FA
  2073. #***** GL_NV_point_sprite *****//
  2074. const
  2075. GL_POINT_SPRITE_NV* = 0x00008861
  2076. GL_COORD_REPLACE_NV* = 0x00008862
  2077. GL_POINT_SPRITE_R_MODE_NV* = 0x00008863
  2078. proc glPointParameteriNV*(pname: TGLenum, param: TGLint){.dynlib: dllname,
  2079. importc: "glPointParameteriNV".}
  2080. proc glPointParameterivNV*(pname: TGLenum, params: PGLint){.dynlib: dllname,
  2081. importc: "glPointParameterivNV".}
  2082. #***** GL_NV_register_combiners *****//
  2083. const
  2084. GL_REGISTER_COMBINERS_NV* = 0x00008522
  2085. GL_COMBINER0_NV* = 0x00008550
  2086. GL_COMBINER1_NV* = 0x00008551
  2087. GL_COMBINER2_NV* = 0x00008552
  2088. GL_COMBINER3_NV* = 0x00008553
  2089. GL_COMBINER4_NV* = 0x00008554
  2090. GL_COMBINER5_NV* = 0x00008555
  2091. GL_COMBINER6_NV* = 0x00008556
  2092. GL_COMBINER7_NV* = 0x00008557
  2093. GL_VARIABLE_A_NV* = 0x00008523
  2094. GL_VARIABLE_B_NV* = 0x00008524
  2095. GL_VARIABLE_C_NV* = 0x00008525
  2096. GL_VARIABLE_D_NV* = 0x00008526
  2097. GL_VARIABLE_E_NV* = 0x00008527
  2098. GL_VARIABLE_F_NV* = 0x00008528
  2099. GL_VARIABLE_G_NV* = 0x00008529
  2100. GL_CONSTANT_COLOR0_NV* = 0x0000852A
  2101. GL_CONSTANT_COLOR1_NV* = 0x0000852B
  2102. GL_PRIMARY_COLOR_NV* = 0x0000852C
  2103. GL_SECONDARY_COLOR_NV* = 0x0000852D
  2104. GL_SPARE0_NV* = 0x0000852E
  2105. GL_SPARE1_NV* = 0x0000852F
  2106. GL_UNSIGNED_IDENTITY_NV* = 0x00008536
  2107. GL_UNSIGNED_INVERT_NV* = 0x00008537
  2108. GL_EXPAND_NORMAL_NV* = 0x00008538
  2109. GL_EXPAND_NEGATE_NV* = 0x00008539
  2110. GL_HALF_BIAS_NORMAL_NV* = 0x0000853A
  2111. GL_HALF_BIAS_NEGATE_NV* = 0x0000853B
  2112. GL_SIGNED_IDENTITY_NV* = 0x0000853C
  2113. GL_SIGNED_NEGATE_NV* = 0x0000853D
  2114. GL_E_TIMES_F_NV* = 0x00008531
  2115. GL_SPARE0_PLUS_SECONDARY_COLOR_NV* = 0x00008532
  2116. GL_SCALE_BY_TWO_NV* = 0x0000853E
  2117. GL_SCALE_BY_FOUR_NV* = 0x0000853F
  2118. GL_SCALE_BY_ONE_HALF_NV* = 0x00008540
  2119. GL_BIAS_BY_NEGATIVE_ONE_HALF_NV* = 0x00008541
  2120. GL_DISCARD_NV* = 0x00008530
  2121. constGL_COMBINER_INPUT_NV* = 0x00008542
  2122. GL_COMBINER_MAPPING_NV* = 0x00008543
  2123. GL_COMBINER_COMPONENT_USAGE_NV* = 0x00008544
  2124. GL_COMBINER_AB_DOT_PRODUCT_NV* = 0x00008545
  2125. GL_COMBINER_CD_DOT_PRODUCT_NV* = 0x00008546
  2126. GL_COMBINER_MUX_SUM_NV* = 0x00008547
  2127. GL_COMBINER_SCALE_NV* = 0x00008548
  2128. GL_COMBINER_BIAS_NV* = 0x00008549
  2129. GL_COMBINER_AB_OUTPUT_NV* = 0x0000854A
  2130. GL_COMBINER_CD_OUTPUT_NV* = 0x0000854B
  2131. GL_COMBINER_SUM_OUTPUT_NV* = 0x0000854C
  2132. GL_NUM_GENERAL_COMBINERS_NV* = 0x0000854E
  2133. GL_COLOR_SUM_CLAMP_NV* = 0x0000854F
  2134. GL_MAX_GENERAL_COMBINERS_NV* = 0x0000854D
  2135. proc glCombinerParameterfvNV*(pname: TGLenum, params: PGLfloat){.
  2136. dynlib: dllname, importc: "glCombinerParameterfvNV".}
  2137. proc glCombinerParameterivNV*(pname: TGLenum, params: PGLint){.dynlib: dllname,
  2138. importc: "glCombinerParameterivNV".}
  2139. proc glCombinerParameterfNV*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  2140. importc: "glCombinerParameterfNV".}
  2141. proc glCombinerParameteriNV*(pname: TGLenum, param: TGLint){.dynlib: dllname,
  2142. importc: "glCombinerParameteriNV".}
  2143. proc glCombinerInputNV*(stage: TGLenum, portion: TGLenum, variable: TGLenum,
  2144. input: TGLenum, mapping: TGLenum,
  2145. componentUsage: TGLenum){.dynlib: dllname,
  2146. importc: "glCombinerInputNV".}
  2147. proc glCombinerOutputNV*(stage: TGLenum, portion: TGLenum, abOutput: TGLenum,
  2148. cdOutput: TGLenum, sumOutput: TGLenum, scale: TGLenum,
  2149. bias: TGLenum, abDotProduct: TGLboolean,
  2150. cdDotProduct: TGLboolean, muxSum: TGLboolean){.
  2151. dynlib: dllname, importc: "glCombinerOutputNV".}
  2152. proc glFinalCombinerInputNV*(variable: TGLenum, input: TGLenum,
  2153. mapping: TGLenum, componentUsage: TGLenum){.
  2154. dynlib: dllname, importc: "glFinalCombinerInputNV".}
  2155. proc glGetCombinerInputParameterfvNV*(stage: TGLenum, portion: TGLenum,
  2156. variable: TGLenum, pname: TGLenum,
  2157. params: PGLfloat){.dynlib: dllname,
  2158. importc: "glGetCombinerInputParameterfvNV".}
  2159. proc glGetCombinerInputParameterivNV*(stage: TGLenum, portion: TGLenum,
  2160. variable: TGLenum, pname: TGLenum,
  2161. params: PGLint){.dynlib: dllname,
  2162. importc: "glGetCombinerInputParameterivNV".}
  2163. proc glGetCombinerOutputParameterfvNV*(stage: TGLenum, portion: TGLenum,
  2164. pname: TGLenum, params: PGLfloat){.
  2165. dynlib: dllname, importc: "glGetCombinerOutputParameterfvNV".}
  2166. proc glGetCombinerOutputParameterivNV*(stage: TGLenum, portion: TGLenum,
  2167. pname: TGLenum, params: PGLint){.
  2168. dynlib: dllname, importc: "glGetCombinerOutputParameterivNV".}
  2169. proc glGetFinalCombinerInputParameterfvNV*(variable: TGLenum, pname: TGLenum,
  2170. params: PGLfloat){.dynlib: dllname,
  2171. importc: "glGetFinalCombinerInputParameterfvNV".}
  2172. proc glGetFinalCombinerInputParameterivNV*(variable: TGLenum, pname: TGLenum,
  2173. params: PGLint){.dynlib: dllname,
  2174. importc: "glGetFinalCombinerInputParameterivNV".}
  2175. #***** GL_NV_register_combiners2 *****//
  2176. const
  2177. GL_PER_STAGE_CONSTANTS_NV* = 0x00008535
  2178. proc glCombinerStageParameterfvNV*(stage: TGLenum, pname: TGLenum,
  2179. params: PGLfloat){.dynlib: dllname,
  2180. importc: "glCombinerStageParameterfvNV".}
  2181. proc glGetCombinerStageParameterfvNV*(stage: TGLenum, pname: TGLenum,
  2182. params: PGLfloat){.dynlib: dllname,
  2183. importc: "glGetCombinerStageParameterfvNV".}
  2184. #***** GL_NV_texgen_emboss *****//
  2185. const
  2186. GL_EMBOSS_MAP_NV* = 0x0000855F
  2187. GL_EMBOSS_LIGHT_NV* = 0x0000855D
  2188. GL_EMBOSS_CONSTANT_NV* = 0x0000855E
  2189. #***** GL_NV_texgen_reflection *****//
  2190. const
  2191. GL_NORMAL_MAP_NV* = 0x00008511
  2192. GL_REFLECTION_MAP_NV* = 0x00008512
  2193. #***** GL_NV_texture_compression_vtc *****//
  2194. # GL_COMPRESSED_RGB_S3TC_DXT1_EXT { already defined }
  2195. # GL_COMPRESSED_RGBA_S3TC_DXT1_EXT { already defined }
  2196. # GL_COMPRESSED_RGBA_S3TC_DXT3_EXT { already defined }
  2197. # GL_COMPRESSED_RGBA_S3TC_DXT5_EXT { already defined }
  2198. #***** GL_NV_texture_env_combine4 *****//
  2199. const
  2200. GL_COMBINE4_NV* = 0x00008503
  2201. GL_SOURCE3_RGB_NV* = 0x00008583
  2202. GL_SOURCE3_ALPHA_NV* = 0x0000858B
  2203. GL_OPERAND3_RGB_NV* = 0x00008593
  2204. GL_OPERAND3_ALPHA_NV* = 0x0000859B
  2205. #***** GL_NV_texture_rectangle *****//
  2206. const
  2207. GL_TEXTURE_RECTANGLE_NV* = 0x000084F5
  2208. GL_TEXTURE_BINDING_RECTANGLE_NV* = 0x000084F6
  2209. GL_PROXY_TEXTURE_RECTANGLE_NV* = 0x000084F7
  2210. GL_MAX_RECTANGLE_TEXTURE_SIZE_NV* = 0x000084F8
  2211. #***** GL_NV_texture_shader *****//
  2212. const
  2213. GL_TEXTURE_SHADER_NV* = 0x000086DE
  2214. GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV* = 0x000086D9
  2215. GL_SHADER_OPERATION_NV* = 0x000086DF
  2216. GL_CULL_MODES_NV* = 0x000086E0
  2217. GL_OFFSET_TEXTURE_MATRIX_NV* = 0x000086E1
  2218. GL_OFFSET_TEXTURE_SCALE_NV* = 0x000086E2
  2219. GL_OFFSET_TEXTURE_BIAS_NV* = 0x000086E3
  2220. GL_PREVIOUS_TEXTURE_INPUT_NV* = 0x000086E4
  2221. GL_CONST_EYE_NV* = 0x000086E5
  2222. GL_SHADER_CONSISTENT_NV* = 0x000086DD
  2223. GL_PASS_THROUGH_NV* = 0x000086E6
  2224. GL_CULL_FRAGMENT_NV* = 0x000086E7
  2225. GL_OFFSET_TEXTURE_2D_NV* = 0x000086E8
  2226. GL_OFFSET_TEXTURE_RECTANGLE_NV* = 0x0000864C
  2227. GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV* = 0x0000864D
  2228. GL_DEPENDENT_AR_TEXTURE_2D_NV* = 0x000086E9
  2229. GL_DEPENDENT_GB_TEXTURE_2D_NV* = 0x000086EA
  2230. GL_DOT_PRODUCT_NV* = 0x000086EC
  2231. GL_DOT_PRODUCT_DEPTH_REPLACE_NV* = 0x000086ED
  2232. GL_DOT_PRODUCT_TEXTURE_2D_NV* = 0x000086EE
  2233. GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV* = 0x0000864E
  2234. GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV* = 0x000086F0
  2235. GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV* = 0x000086F1
  2236. GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV* = 0x000086F2
  2237. GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV* = 0x000086F3
  2238. GL_HILO_NV* = 0x000086F4
  2239. GL_DSDT_NV* = 0x000086F5
  2240. GL_DSDT_MAG_NV* = 0x000086F6
  2241. GL_DSDT_MAG_VIB_NV* = 0x000086F7
  2242. GL_UNSIGNED_INT_S8_S8_8_8_NV* = 0x000086DA
  2243. GL_UNSIGNED_INT_8_8_S8_S8_REV_NV* = 0x000086DB
  2244. GL_SIGNED_RGBA_NV* = 0x000086FB
  2245. GL_SIGNED_RGBA8_NV* = 0x000086FC
  2246. GL_SIGNED_RGB_NV* = 0x000086FE
  2247. GL_SIGNED_RGB8_NV* = 0x000086FF
  2248. GL_SIGNED_LUMINANCE_NV* = 0x00008701
  2249. GL_SIGNED_LUMINANCE8_NV* = 0x00008702
  2250. GL_SIGNED_LUMINANCE_ALPHA_NV* = 0x00008703
  2251. GL_SIGNED_LUMINANCE8_ALPHA8_NV* = 0x00008704
  2252. GL_SIGNED_ALPHA_NV* = 0x00008705
  2253. GL_SIGNED_ALPHA8_NV* = 0x00008706
  2254. GL_SIGNED_INTENSITY_NV* = 0x00008707
  2255. GL_SIGNED_INTENSITY8_NV* = 0x00008708
  2256. GL_SIGNED_RGB_UNSIGNED_ALPHA_NV* = 0x0000870C
  2257. GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV* = 0x0000870D
  2258. GL_HILO16_NV* = 0x000086F8
  2259. GL_SIGNED_HILO_NV* = 0x000086F9
  2260. GL_SIGNED_HILO16_NV* = 0x000086FA
  2261. GL_DSDT8_NV* = 0x00008709
  2262. GL_DSDT8_MAG8_NV* = 0x0000870A
  2263. GL_DSDT_MAG_INTENSITY_NV* = 0x000086DC
  2264. GL_DSDT8_MAG8_INTENSITY8_NV* = 0x0000870B
  2265. GL_HI_SCALE_NV* = 0x0000870E
  2266. GL_LO_SCALE_NV* = 0x0000870F
  2267. GL_DS_SCALE_NV* = 0x00008710
  2268. GL_DT_SCALE_NV* = 0x00008711
  2269. GL_MAGNITUDE_SCALE_NV* = 0x00008712
  2270. GL_VIBRANCE_SCALE_NV* = 0x00008713
  2271. GL_HI_BIAS_NV* = 0x00008714
  2272. GL_LO_BIAS_NV* = 0x00008715
  2273. GL_DS_BIAS_NV* = 0x00008716
  2274. GL_DT_BIAS_NV* = 0x00008717
  2275. GL_MAGNITUDE_BIAS_NV* = 0x00008718
  2276. GL_VIBRANCE_BIAS_NV* = 0x00008719
  2277. GL_TEXTURE_BORDER_VALUES_NV* = 0x0000871A
  2278. GL_TEXTURE_HI_SIZE_NV* = 0x0000871B
  2279. GL_TEXTURE_LO_SIZE_NV* = 0x0000871C
  2280. GL_TEXTURE_DS_SIZE_NV* = 0x0000871D
  2281. GL_TEXTURE_DT_SIZE_NV* = 0x0000871E
  2282. GL_TEXTURE_MAG_SIZE_NV* = 0x0000871F
  2283. #***** GL_NV_texture_shader2 *****//
  2284. const
  2285. GL_DOT_PRODUCT_TEXTURE_3D_NV* = 0x000086EF # GL_HILO_NV { already defined }
  2286. # GL_DSDT_NV { already defined }
  2287. # GL_DSDT_MAG_NV { already defined }
  2288. # GL_DSDT_MAG_VIB_NV { already defined }
  2289. # GL_UNSIGNED_INT_S8_S8_8_8_NV { already defined }
  2290. # GL_UNSIGNED_INT_8_8_S8_S8_REV_NV { already defined }
  2291. # GL_SIGNED_RGBA_NV { already defined }
  2292. # GL_SIGNED_RGBA8_NV { already defined }
  2293. # GL_SIGNED_RGB_NV { already defined }
  2294. # GL_SIGNED_RGB8_NV { already defined }
  2295. # GL_SIGNED_LUMINANCE_NV { already defined }
  2296. # GL_SIGNED_LUMINANCE8_NV { already defined }
  2297. # GL_SIGNED_LUMINANCE_ALPHA_NV { already defined }
  2298. # GL_SIGNED_LUMINANCE8_ALPHA8_NV { already defined }
  2299. # GL_SIGNED_ALPHA_NV { already defined }
  2300. # GL_SIGNED_ALPHA8_NV { already defined }
  2301. # GL_SIGNED_INTENSITY_NV { already defined }
  2302. # GL_SIGNED_INTENSITY8_NV { already defined }
  2303. # GL_SIGNED_RGB_UNSIGNED_ALPHA_NV { already defined }
  2304. # GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV { already defined }
  2305. # GL_HILO16_NV { already defined }
  2306. # GL_SIGNED_HILO_NV { already defined }
  2307. # GL_SIGNED_HILO16_NV { already defined }
  2308. # GL_DSDT8_NV { already defined }
  2309. # GL_DSDT8_MAG8_NV { already defined }
  2310. # GL_DSDT_MAG_INTENSITY_NV { already defined }
  2311. # GL_DSDT8_MAG8_INTENSITY8_NV { already defined }
  2312. #***** GL_NV_texture_shader3 *****//
  2313. const
  2314. GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV* = 0x00008850
  2315. GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV* = 0x00008851
  2316. GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV* = 0x00008852
  2317. GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV* = 0x00008853
  2318. GL_OFFSET_HILO_TEXTURE_2D_NV* = 0x00008854
  2319. GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV* = 0x00008855
  2320. GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV* = 0x00008856
  2321. GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV* = 0x00008857
  2322. GL_DEPENDENT_HILO_TEXTURE_2D_NV* = 0x00008858
  2323. GL_DEPENDENT_RGB_TEXTURE_3D_NV* = 0x00008859
  2324. GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV* = 0x0000885A
  2325. GL_DOT_PRODUCT_PASS_THROUGH_NV* = 0x0000885B
  2326. GL_DOT_PRODUCT_TEXTURE_1D_NV* = 0x0000885C
  2327. GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV* = 0x0000885D
  2328. GL_HILO8_NV* = 0x0000885E
  2329. GL_SIGNED_HILO8_NV* = 0x0000885F
  2330. GL_FORCE_BLUE_TO_ONE_NV* = 0x00008860
  2331. #***** GL_NV_vertex_array_range *****//
  2332. const
  2333. constGL_VERTEX_ARRAY_RANGE_NV* = 0x0000851D
  2334. GL_VERTEX_ARRAY_RANGE_LENGTH_NV* = 0x0000851E
  2335. GL_VERTEX_ARRAY_RANGE_VALID_NV* = 0x0000851F
  2336. GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV* = 0x00008520
  2337. GL_VERTEX_ARRAY_RANGE_POINTER_NV* = 0x00008521
  2338. proc glVertexArrayRangeNV*(len: TGLsizei, pointer: PGLvoid){.dynlib: dllname,
  2339. importc: "glVertexArrayRangeNV".}
  2340. proc glFlushVertexArrayRangeNV*(){.dynlib: dllname,
  2341. importc: "glFlushVertexArrayRangeNV".}
  2342. #***** GL_NV_vertex_array_range2 *****//
  2343. const
  2344. GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV* = 0x00008533
  2345. #***** GL_NV_vertex_program *****//
  2346. const
  2347. GL_VERTEX_PROGRAM_NV* = 0x00008620
  2348. GL_VERTEX_PROGRAM_POINT_SIZE_NV* = 0x00008642
  2349. GL_VERTEX_PROGRAM_TWO_SIDE_NV* = 0x00008643
  2350. GL_VERTEX_STATE_PROGRAM_NV* = 0x00008621
  2351. GL_ATTRIB_ARRAY_SIZE_NV* = 0x00008623
  2352. GL_ATTRIB_ARRAY_STRIDE_NV* = 0x00008624
  2353. GL_ATTRIB_ARRAY_TYPE_NV* = 0x00008625
  2354. GL_CURRENT_ATTRIB_NV* = 0x00008626
  2355. GL_PROGRAM_PARAMETER_NV* = 0x00008644
  2356. GL_ATTRIB_ARRAY_POINTER_NV* = 0x00008645
  2357. GL_PROGRAM_TARGET_NV* = 0x00008646
  2358. GL_PROGRAM_LENGTH_NV* = 0x00008627
  2359. GL_PROGRAM_RESIDENT_NV* = 0x00008647
  2360. GL_PROGRAM_STRING_NV* = 0x00008628
  2361. constGL_TRACK_MATRIX_NV* = 0x00008648
  2362. GL_TRACK_MATRIX_TRANSFORM_NV* = 0x00008649
  2363. GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV* = 0x0000862E
  2364. GL_MAX_TRACK_MATRICES_NV* = 0x0000862F
  2365. GL_CURRENT_MATRIX_STACK_DEPTH_NV* = 0x00008640
  2366. GL_CURRENT_MATRIX_NV* = 0x00008641
  2367. GL_VERTEX_PROGRAM_BINDING_NV* = 0x0000864A
  2368. GL_PROGRAM_ERROR_POSITION_NV* = 0x0000864B
  2369. GL_MODELVIEW_PROJECTION_NV* = 0x00008629
  2370. GL_MATRIX0_NV* = 0x00008630
  2371. GL_MATRIX1_NV* = 0x00008631
  2372. GL_MATRIX2_NV* = 0x00008632
  2373. GL_MATRIX3_NV* = 0x00008633
  2374. GL_MATRIX4_NV* = 0x00008634
  2375. GL_MATRIX5_NV* = 0x00008635
  2376. GL_MATRIX6_NV* = 0x00008636
  2377. GL_MATRIX7_NV* = 0x00008637
  2378. GL_IDENTITY_NV* = 0x0000862A
  2379. GL_INVERSE_NV* = 0x0000862B
  2380. GL_TRANSPOSE_NV* = 0x0000862C
  2381. GL_INVERSE_TRANSPOSE_NV* = 0x0000862D
  2382. GL_VERTEX_ATTRIB_ARRAY0_NV* = 0x00008650
  2383. GL_VERTEX_ATTRIB_ARRAY1_NV* = 0x00008651
  2384. GL_VERTEX_ATTRIB_ARRAY2_NV* = 0x00008652
  2385. GL_VERTEX_ATTRIB_ARRAY3_NV* = 0x00008653
  2386. GL_VERTEX_ATTRIB_ARRAY4_NV* = 0x00008654
  2387. GL_VERTEX_ATTRIB_ARRAY5_NV* = 0x00008655
  2388. GL_VERTEX_ATTRIB_ARRAY6_NV* = 0x00008656
  2389. GL_VERTEX_ATTRIB_ARRAY7_NV* = 0x00008657
  2390. GL_VERTEX_ATTRIB_ARRAY8_NV* = 0x00008658
  2391. GL_VERTEX_ATTRIB_ARRAY9_NV* = 0x00008659
  2392. GL_VERTEX_ATTRIB_ARRAY10_NV* = 0x0000865A
  2393. GL_VERTEX_ATTRIB_ARRAY11_NV* = 0x0000865B
  2394. GL_VERTEX_ATTRIB_ARRAY12_NV* = 0x0000865C
  2395. GL_VERTEX_ATTRIB_ARRAY13_NV* = 0x0000865D
  2396. GL_VERTEX_ATTRIB_ARRAY14_NV* = 0x0000865E
  2397. GL_VERTEX_ATTRIB_ARRAY15_NV* = 0x0000865F
  2398. GL_MAP1_VERTEX_ATTRIB0_4_NV* = 0x00008660
  2399. GL_MAP1_VERTEX_ATTRIB1_4_NV* = 0x00008661
  2400. GL_MAP1_VERTEX_ATTRIB2_4_NV* = 0x00008662
  2401. GL_MAP1_VERTEX_ATTRIB3_4_NV* = 0x00008663
  2402. GL_MAP1_VERTEX_ATTRIB4_4_NV* = 0x00008664
  2403. GL_MAP1_VERTEX_ATTRIB5_4_NV* = 0x00008665
  2404. GL_MAP1_VERTEX_ATTRIB6_4_NV* = 0x00008666
  2405. GL_MAP1_VERTEX_ATTRIB7_4_NV* = 0x00008667
  2406. GL_MAP1_VERTEX_ATTRIB8_4_NV* = 0x00008668
  2407. GL_MAP1_VERTEX_ATTRIB9_4_NV* = 0x00008669
  2408. GL_MAP1_VERTEX_ATTRIB10_4_NV* = 0x0000866A
  2409. GL_MAP1_VERTEX_ATTRIB11_4_NV* = 0x0000866B
  2410. GL_MAP1_VERTEX_ATTRIB12_4_NV* = 0x0000866C
  2411. GL_MAP1_VERTEX_ATTRIB13_4_NV* = 0x0000866D
  2412. GL_MAP1_VERTEX_ATTRIB14_4_NV* = 0x0000866E
  2413. GL_MAP1_VERTEX_ATTRIB15_4_NV* = 0x0000866F
  2414. GL_MAP2_VERTEX_ATTRIB0_4_NV* = 0x00008670
  2415. GL_MAP2_VERTEX_ATTRIB1_4_NV* = 0x00008671
  2416. GL_MAP2_VERTEX_ATTRIB2_4_NV* = 0x00008672
  2417. GL_MAP2_VERTEX_ATTRIB3_4_NV* = 0x00008673
  2418. GL_MAP2_VERTEX_ATTRIB4_4_NV* = 0x00008674
  2419. GL_MAP2_VERTEX_ATTRIB5_4_NV* = 0x00008675
  2420. GL_MAP2_VERTEX_ATTRIB6_4_NV* = 0x00008676
  2421. GL_MAP2_VERTEX_ATTRIB7_4_NV* = 0x00008677
  2422. GL_MAP2_VERTEX_ATTRIB8_4_NV* = 0x00008678
  2423. GL_MAP2_VERTEX_ATTRIB9_4_NV* = 0x00008679
  2424. GL_MAP2_VERTEX_ATTRIB10_4_NV* = 0x0000867A
  2425. GL_MAP2_VERTEX_ATTRIB11_4_NV* = 0x0000867B
  2426. GL_MAP2_VERTEX_ATTRIB12_4_NV* = 0x0000867C
  2427. GL_MAP2_VERTEX_ATTRIB13_4_NV* = 0x0000867D
  2428. GL_MAP2_VERTEX_ATTRIB14_4_NV* = 0x0000867E
  2429. GL_MAP2_VERTEX_ATTRIB15_4_NV* = 0x0000867F
  2430. proc glBindProgramNV*(target: TGLenum, id: TGLuint){.dynlib: dllname,
  2431. importc: "glBindProgramNV".}
  2432. proc glDeleteProgramsNV*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  2433. importc: "glDeleteProgramsNV".}
  2434. proc glExecuteProgramNV*(target: TGLenum, id: TGLuint, params: PGLfloat){.
  2435. dynlib: dllname, importc: "glExecuteProgramNV".}
  2436. proc glGenProgramsNV*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  2437. importc: "glGenProgramsNV".}
  2438. proc glAreProgramsResidentNV*(n: TGLsizei, ids: PGLuint, residences: PGLboolean): TGLboolean{.
  2439. dynlib: dllname, importc: "glAreProgramsResidentNV".}
  2440. proc glRequestResidentProgramsNV*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  2441. importc: "glRequestResidentProgramsNV".}
  2442. proc glGetProgramParameterfvNV*(target: TGLenum, index: TGLuint, pname: TGLenum,
  2443. params: PGLfloat){.dynlib: dllname,
  2444. importc: "glGetProgramParameterfvNV".}
  2445. proc glGetProgramParameterdvNV*(target: TGLenum, index: TGLuint, pname: TGLenum,
  2446. params: PGLdouble){.dynlib: dllname,
  2447. importc: "glGetProgramParameterdvNV".}
  2448. proc glGetProgramivNV*(id: TGLuint, pname: TGLenum, params: PGLint){.
  2449. dynlib: dllname, importc: "glGetProgramivNV".}
  2450. proc glGetProgramStringNV*(id: TGLuint, pname: TGLenum, theProgram: PGLubyte){.
  2451. dynlib: dllname, importc: "glGetProgramStringNV".}
  2452. proc glGetTrackMatrixivNV*(target: TGLenum, address: TGLuint, pname: TGLenum,
  2453. params: PGLint){.dynlib: dllname,
  2454. importc: "glGetTrackMatrixivNV".}
  2455. proc glGetVertexAttribdvNV*(index: TGLuint, pname: TGLenum, params: PGLdouble){.
  2456. dynlib: dllname, importc: "glGetVertexAttribdvNV".}
  2457. proc glGetVertexAttribfvNV*(index: TGLuint, pname: TGLenum, params: PGLfloat){.
  2458. dynlib: dllname, importc: "glGetVertexAttribfvNV".}
  2459. proc glGetVertexAttribivNV*(index: TGLuint, pname: TGLenum, params: PGLint){.
  2460. dynlib: dllname, importc: "glGetVertexAttribivNV".}
  2461. proc glGetVertexAttribPointervNV*(index: TGLuint, pname: TGLenum,
  2462. pointer: PGLvoid){.dynlib: dllname,
  2463. importc: "glGetVertexAttribPointervNV".}
  2464. proc glIsProgramNV*(id: TGLuint): TGLboolean{.dynlib: dllname,
  2465. importc: "glIsProgramNV".}
  2466. proc glLoadProgramNV*(target: TGLenum, id: TGLuint, length: TGLsizei,
  2467. theProgram: PGLubyte){.dynlib: dllname,
  2468. importc: "glLoadProgramNV".}
  2469. proc glProgramParameter4fNV*(target: TGLenum, index: TGLuint, x: TGLfloat,
  2470. y: TGLfloat, z: TGLfloat, w: TGLfloat){.
  2471. dynlib: dllname, importc: "glProgramParameter4fNV".}
  2472. proc glProgramParameter4fvNV*(target: TGLenum, index: TGLuint, params: PGLfloat){.
  2473. dynlib: dllname, importc: "glProgramParameter4fvNV".}
  2474. proc glProgramParameters4dvNV*(target: TGLenum, index: TGLuint, num: TGLuint,
  2475. params: PGLdouble){.dynlib: dllname,
  2476. importc: "glProgramParameters4dvNV".}
  2477. proc glProgramParameters4fvNV*(target: TGLenum, index: TGLuint, num: TGLuint,
  2478. params: PGLfloat){.dynlib: dllname,
  2479. importc: "glProgramParameters4fvNV".}
  2480. proc glTrackMatrixNV*(target: TGLenum, address: TGLuint, matrix: TGLenum,
  2481. transform: TGLenum){.dynlib: dllname,
  2482. importc: "glTrackMatrixNV".}
  2483. proc glVertexAttribPointerNV*(index: TGLuint, size: TGLint, thetype: TGLenum,
  2484. stride: TGLsizei, pointer: PGLvoid){.
  2485. dynlib: dllname, importc: "glVertexAttribPointerNV".}
  2486. proc glVertexAttrib1sNV*(index: TGLuint, x: TGLshort){.dynlib: dllname,
  2487. importc: "glVertexAttrib1sNV".}
  2488. proc glVertexAttrib1fNV*(index: TGLuint, x: TGLfloat){.dynlib: dllname,
  2489. importc: "glVertexAttrib1fNV".}
  2490. proc glVertexAttrib1dNV*(index: TGLuint, x: TGLdouble){.dynlib: dllname,
  2491. importc: "glVertexAttrib1dNV".}
  2492. proc glVertexAttrib2sNV*(index: TGLuint, x: TGLshort, y: TGLshort){.
  2493. dynlib: dllname, importc: "glVertexAttrib2sNV".}
  2494. proc glVertexAttrib2fNV*(index: TGLuint, x: TGLfloat, y: TGLfloat){.
  2495. dynlib: dllname, importc: "glVertexAttrib2fNV".}
  2496. proc glVertexAttrib2dNV*(index: TGLuint, x: TGLdouble, y: TGLdouble){.
  2497. dynlib: dllname, importc: "glVertexAttrib2dNV".}
  2498. proc glVertexAttrib3sNV*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort){.
  2499. dynlib: dllname, importc: "glVertexAttrib3sNV".}
  2500. proc glVertexAttrib3fNV*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  2501. dynlib: dllname, importc: "glVertexAttrib3fNV".}
  2502. proc glVertexAttrib3dNV*(index: TGLuint, x: TGLdouble, y: TGLdouble,
  2503. z: TGLdouble){.dynlib: dllname,
  2504. importc: "glVertexAttrib3dNV".}
  2505. proc glVertexAttrib4sNV*(index: TGLuint, x: TGLshort, y: TGLshort, z: TGLshort,
  2506. w: TGLshort){.dynlib: dllname,
  2507. importc: "glVertexAttrib4sNV".}
  2508. proc glVertexAttrib4fNV*(index: TGLuint, x: TGLfloat, y: TGLfloat, z: TGLfloat,
  2509. w: TGLfloat){.dynlib: dllname,
  2510. importc: "glVertexAttrib4fNV".}
  2511. proc glVertexAttrib4dNV*(index: TGLuint, x: TGLdouble, y: TGLdouble,
  2512. z: TGLdouble, w: TGLdouble){.dynlib: dllname,
  2513. importc: "glVertexAttrib4dNV".}
  2514. proc glVertexAttrib4ubNV*(index: TGLuint, x: TGLubyte, y: TGLubyte, z: TGLubyte,
  2515. w: TGLubyte){.dynlib: dllname,
  2516. importc: "glVertexAttrib4ubNV".}
  2517. proc glVertexAttrib1svNV*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  2518. importc: "glVertexAttrib1svNV".}
  2519. proc glVertexAttrib1fvNV*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  2520. importc: "glVertexAttrib1fvNV".}
  2521. proc glVertexAttrib1dvNV*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  2522. importc: "glVertexAttrib1dvNV".}
  2523. proc glVertexAttrib2svNV*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  2524. importc: "glVertexAttrib2svNV".}
  2525. proc glVertexAttrib2fvNV*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  2526. importc: "glVertexAttrib2fvNV".}
  2527. proc glVertexAttrib2dvNV*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  2528. importc: "glVertexAttrib2dvNV".}
  2529. proc glVertexAttrib3svNV*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  2530. importc: "glVertexAttrib3svNV".}
  2531. proc glVertexAttrib3fvNV*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  2532. importc: "glVertexAttrib3fvNV".}
  2533. proc glVertexAttrib3dvNV*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  2534. importc: "glVertexAttrib3dvNV".}
  2535. proc glVertexAttrib4svNV*(index: TGLuint, v: PGLshort){.dynlib: dllname,
  2536. importc: "glVertexAttrib4svNV".}
  2537. proc glVertexAttrib4fvNV*(index: TGLuint, v: PGLfloat){.dynlib: dllname,
  2538. importc: "glVertexAttrib4fvNV".}
  2539. proc glVertexAttrib4dvNV*(index: TGLuint, v: PGLdouble){.dynlib: dllname,
  2540. importc: "glVertexAttrib4dvNV".}
  2541. proc glVertexAttrib4ubvNV*(index: TGLuint, v: PGLubyte){.dynlib: dllname,
  2542. importc: "glVertexAttrib4ubvNV".}
  2543. proc glVertexAttribs1svNV*(index: TGLuint, n: TGLsizei, v: PGLshort){.
  2544. dynlib: dllname, importc: "glVertexAttribs1svNV".}
  2545. proc glVertexAttribs1fvNV*(index: TGLuint, n: TGLsizei, v: PGLfloat){.
  2546. dynlib: dllname, importc: "glVertexAttribs1fvNV".}
  2547. proc glVertexAttribs1dvNV*(index: TGLuint, n: TGLsizei, v: PGLdouble){.
  2548. dynlib: dllname, importc: "glVertexAttribs1dvNV".}
  2549. proc glVertexAttribs2svNV*(index: TGLuint, n: TGLsizei, v: PGLshort){.
  2550. dynlib: dllname, importc: "glVertexAttribs2svNV".}
  2551. proc glVertexAttribs2fvNV*(index: TGLuint, n: TGLsizei, v: PGLfloat){.
  2552. dynlib: dllname, importc: "glVertexAttribs2fvNV".}
  2553. proc glVertexAttribs2dvNV*(index: TGLuint, n: TGLsizei, v: PGLdouble){.
  2554. dynlib: dllname, importc: "glVertexAttribs2dvNV".}
  2555. proc glVertexAttribs3svNV*(index: TGLuint, n: TGLsizei, v: PGLshort){.
  2556. dynlib: dllname, importc: "glVertexAttribs3svNV".}
  2557. proc glVertexAttribs3fvNV*(index: TGLuint, n: TGLsizei, v: PGLfloat){.
  2558. dynlib: dllname, importc: "glVertexAttribs3fvNV".}
  2559. proc glVertexAttribs3dvNV*(index: TGLuint, n: TGLsizei, v: PGLdouble){.
  2560. dynlib: dllname, importc: "glVertexAttribs3dvNV".}
  2561. proc glVertexAttribs4svNV*(index: TGLuint, n: TGLsizei, v: PGLshort){.
  2562. dynlib: dllname, importc: "glVertexAttribs4svNV".}
  2563. proc glVertexAttribs4fvNV*(index: TGLuint, n: TGLsizei, v: PGLfloat){.
  2564. dynlib: dllname, importc: "glVertexAttribs4fvNV".}
  2565. proc glVertexAttribs4dvNV*(index: TGLuint, n: TGLsizei, v: PGLdouble){.
  2566. dynlib: dllname, importc: "glVertexAttribs4dvNV".}
  2567. proc glVertexAttribs4ubvNV*(index: TGLuint, n: TGLsizei, v: PGLubyte){.
  2568. dynlib: dllname, importc: "glVertexAttribs4ubvNV".}
  2569. #***** GL_NV_vertex_program1_1 *****//
  2570. #***** GL_ATI_element_array *****//
  2571. const
  2572. GL_ELEMENT_ARRAY_ATI* = 0x00008768
  2573. GL_ELEMENT_ARRAY_TYPE_ATI* = 0x00008769
  2574. GL_ELEMENT_ARRAY_POINTER_ATI* = 0x0000876A
  2575. proc glElementPointerATI*(thetype: TGLenum, pointer: PGLvoid){.dynlib: dllname,
  2576. importc: "glElementPointerATI".}
  2577. proc glDrawElementArrayATI*(mode: TGLenum, count: TGLsizei){.dynlib: dllname,
  2578. importc: "glDrawElementArrayATI".}
  2579. proc glDrawRangeElementArrayATI*(mode: TGLenum, start: TGLuint, theend: TGLuint,
  2580. count: TGLsizei){.dynlib: dllname,
  2581. importc: "glDrawRangeElementArrayATI".}
  2582. #***** GL_ATI_envmap_bumpmap *****//
  2583. const
  2584. GL_BUMP_ROT_MATRIX_ATI* = 0x00008775
  2585. GL_BUMP_ROT_MATRIX_SIZE_ATI* = 0x00008776
  2586. GL_BUMP_NUM_TEX_UNITS_ATI* = 0x00008777
  2587. GL_BUMP_TEX_UNITS_ATI* = 0x00008778
  2588. GL_DUDV_ATI* = 0x00008779
  2589. GL_DU8DV8_ATI* = 0x0000877A
  2590. GL_BUMP_ENVMAP_ATI* = 0x0000877B
  2591. GL_BUMP_TARGET_ATI* = 0x0000877C
  2592. proc glTexBumpParameterivATI*(pname: TGLenum, param: PGLint){.dynlib: dllname,
  2593. importc: "glTexBumpParameterivATI".}
  2594. proc glTexBumpParameterfvATI*(pname: TGLenum, param: PGLfloat){.dynlib: dllname,
  2595. importc: "glTexBumpParameterfvATI".}
  2596. proc glGetTexBumpParameterivATI*(pname: TGLenum, param: PGLint){.
  2597. dynlib: dllname, importc: "glGetTexBumpParameterivATI".}
  2598. proc glGetTexBumpParameterfvATI*(pname: TGLenum, param: PGLfloat){.
  2599. dynlib: dllname, importc: "glGetTexBumpParameterfvATI".}
  2600. #***** GL_ATI_fragment_shader *****//
  2601. const
  2602. GL_FRAGMENT_SHADER_ATI* = 0x00008920
  2603. GL_REG_0_ATI* = 0x00008921
  2604. GL_REG_1_ATI* = 0x00008922
  2605. GL_REG_2_ATI* = 0x00008923
  2606. GL_REG_3_ATI* = 0x00008924
  2607. GL_REG_4_ATI* = 0x00008925
  2608. GL_REG_5_ATI* = 0x00008926
  2609. GL_CON_0_ATI* = 0x00008941
  2610. GL_CON_1_ATI* = 0x00008942
  2611. GL_CON_2_ATI* = 0x00008943
  2612. GL_CON_3_ATI* = 0x00008944
  2613. GL_CON_4_ATI* = 0x00008945
  2614. GL_CON_5_ATI* = 0x00008946
  2615. GL_CON_6_ATI* = 0x00008947
  2616. GL_CON_7_ATI* = 0x00008948
  2617. GL_MOV_ATI* = 0x00008961
  2618. GL_ADD_ATI* = 0x00008963
  2619. GL_MUL_ATI* = 0x00008964
  2620. GL_SUB_ATI* = 0x00008965
  2621. GL_DOT3_ATI* = 0x00008966
  2622. GL_DOT4_ATI* = 0x00008967
  2623. GL_MAD_ATI* = 0x00008968
  2624. GL_LERP_ATI* = 0x00008969
  2625. GL_CND_ATI* = 0x0000896A
  2626. GL_CND0_ATI* = 0x0000896B
  2627. GL_DOT2_ADD_ATI* = 0x0000896C
  2628. GL_SECONDARY_INTERPOLATOR_ATI* = 0x0000896D
  2629. GL_SWIZZLE_STR_ATI* = 0x00008976
  2630. GL_SWIZZLE_STQ_ATI* = 0x00008977
  2631. GL_SWIZZLE_STR_DR_ATI* = 0x00008978
  2632. GL_SWIZZLE_STQ_DQ_ATI* = 0x00008979
  2633. GL_RED_BIT_ATI* = 0x00000001
  2634. GL_GREEN_BIT_ATI* = 0x00000002
  2635. GL_BLUE_BIT_ATI* = 0x00000004
  2636. GL_2X_BIT_ATI* = 0x00000001
  2637. GL_4X_BIT_ATI* = 0x00000002
  2638. GL_8X_BIT_ATI* = 0x00000004
  2639. GL_HALF_BIT_ATI* = 0x00000008
  2640. GL_QUARTER_BIT_ATI* = 0x00000010
  2641. GL_EIGHTH_BIT_ATI* = 0x00000020
  2642. GL_SATURATE_BIT_ATI* = 0x00000040 # GL_2X_BIT_ATI { already defined }
  2643. GL_COMP_BIT_ATI* = 0x00000002
  2644. GL_NEGATE_BIT_ATI* = 0x00000004
  2645. GL_BIAS_BIT_ATI* = 0x00000008
  2646. proc glGenFragmentShadersATI*(range: TGLuint): TGLuint{.dynlib: dllname,
  2647. importc: "glGenFragmentShadersATI".}
  2648. proc glBindFragmentShaderATI*(id: TGLuint){.dynlib: dllname,
  2649. importc: "glBindFragmentShaderATI".}
  2650. proc glDeleteFragmentShaderATI*(id: TGLuint){.dynlib: dllname,
  2651. importc: "glDeleteFragmentShaderATI".}
  2652. proc glBeginFragmentShaderATI*(){.dynlib: dllname,
  2653. importc: "glBeginFragmentShaderATI".}
  2654. proc glEndFragmentShaderATI*(){.dynlib: dllname,
  2655. importc: "glEndFragmentShaderATI".}
  2656. proc glPassTexCoordATI*(dst: TGLuint, coord: TGLuint, swizzle: TGLenum){.
  2657. dynlib: dllname, importc: "glPassTexCoordATI".}
  2658. proc glSampleMapATI*(dst: TGLuint, interp: TGLuint, swizzle: TGLenum){.
  2659. dynlib: dllname, importc: "glSampleMapATI".}
  2660. proc glColorFragmentOp1ATI*(op: TGLenum, dst: TGLuint, dstMask: TGLuint,
  2661. dstMod: TGLuint, arg1: TGLuint, arg1Rep: TGLuint,
  2662. arg1Mod: TGLuint){.dynlib: dllname,
  2663. importc: "glColorFragmentOp1ATI".}
  2664. proc glColorFragmentOp2ATI*(op: TGLenum, dst: TGLuint, dstMask: TGLuint,
  2665. dstMod: TGLuint, arg1: TGLuint, arg1Rep: TGLuint,
  2666. arg1Mod: TGLuint, arg2: TGLuint, arg2Rep: TGLuint,
  2667. arg2Mod: TGLuint){.dynlib: dllname,
  2668. importc: "glColorFragmentOp2ATI".}
  2669. proc glColorFragmentOp3ATI*(op: TGLenum, dst: TGLuint, dstMask: TGLuint,
  2670. dstMod: TGLuint, arg1: TGLuint, arg1Rep: TGLuint,
  2671. arg1Mod: TGLuint, arg2: TGLuint, arg2Rep: TGLuint,
  2672. arg2Mod: TGLuint, arg3: TGLuint, arg3Rep: TGLuint,
  2673. arg3Mod: TGLuint){.dynlib: dllname,
  2674. importc: "glColorFragmentOp3ATI".}
  2675. proc glAlphaFragmentOp1ATI*(op: TGLenum, dst: TGLuint, dstMod: TGLuint,
  2676. arg1: TGLuint, arg1Rep: TGLuint, arg1Mod: TGLuint){.
  2677. dynlib: dllname, importc: "glAlphaFragmentOp1ATI".}
  2678. proc glAlphaFragmentOp2ATI*(op: TGLenum, dst: TGLuint, dstMod: TGLuint,
  2679. arg1: TGLuint, arg1Rep: TGLuint, arg1Mod: TGLuint,
  2680. arg2: TGLuint, arg2Rep: TGLuint, arg2Mod: TGLuint){.
  2681. dynlib: dllname, importc: "glAlphaFragmentOp2ATI".}
  2682. proc glAlphaFragmentOp3ATI*(op: TGLenum, dst: TGLuint, dstMod: TGLuint,
  2683. arg1: TGLuint, arg1Rep: TGLuint, arg1Mod: TGLuint,
  2684. arg2: TGLuint, arg2Rep: TGLuint, arg2Mod: TGLuint,
  2685. arg3: TGLuint, arg3Rep: TGLuint, arg3Mod: TGLuint){.
  2686. dynlib: dllname, importc: "glAlphaFragmentOp3ATI".}
  2687. proc glSetFragmentShaderConstantATI*(dst: TGLuint, value: PGLfloat){.
  2688. dynlib: dllname, importc: "glSetFragmentShaderConstantATI".}
  2689. #***** GL_ATI_pn_triangles *****//
  2690. const
  2691. GL_PN_TRIANGLES_ATI* = 0x000087F0
  2692. GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI* = 0x000087F1
  2693. GL_PN_TRIANGLES_POINT_MODE_ATI* = 0x000087F2
  2694. GL_PN_TRIANGLES_NORMAL_MODE_ATI* = 0x000087F3
  2695. GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI* = 0x000087F4
  2696. GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI* = 0x000087F5
  2697. GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI* = 0x000087F6
  2698. GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI* = 0x000087F7
  2699. GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI* = 0x000087F8
  2700. proc glPNTrianglesiATI*(pname: TGLenum, param: TGLint){.dynlib: dllname,
  2701. importc: "glPNTrianglesiATI".}
  2702. proc glPNTrianglesfATI*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  2703. importc: "glPNTrianglesfATI".}
  2704. #***** GL_ATI_texture_mirror_once *****//
  2705. const
  2706. GL_MIRROR_CLAMP_ATI* = 0x00008742
  2707. GL_MIRROR_CLAMP_TO_EDGE_ATI* = 0x00008743
  2708. #***** GL_ATI_vertex_array_object *****//
  2709. const
  2710. GL_STATIC_ATI* = 0x00008760
  2711. GL_DYNAMIC_ATI* = 0x00008761
  2712. GL_PRESERVE_ATI* = 0x00008762
  2713. GL_DISCARD_ATI* = 0x00008763
  2714. GL_OBJECT_BUFFER_SIZE_ATI* = 0x00008764
  2715. GL_OBJECT_BUFFER_USAGE_ATI* = 0x00008765
  2716. GL_ARRAY_OBJECT_BUFFER_ATI* = 0x00008766
  2717. GL_ARRAY_OBJECT_OFFSET_ATI* = 0x00008767
  2718. proc glNewObjectBufferATI*(size: TGLsizei, pointer: PGLvoid, usage: TGLenum): TGLuint{.
  2719. dynlib: dllname, importc: "glNewObjectBufferATI".}
  2720. proc glIsObjectBufferATI*(buffer: TGLuint): TGLboolean{.dynlib: dllname,
  2721. importc: "glIsObjectBufferATI".}
  2722. proc glUpdateObjectBufferATI*(buffer: TGLuint, offset: TGLuint, size: TGLsizei,
  2723. pointer: PGLvoid, preserve: TGLenum){.
  2724. dynlib: dllname, importc: "glUpdateObjectBufferATI".}
  2725. proc glGetObjectBufferfvATI*(buffer: TGLuint, pname: TGLenum, params: PGLfloat){.
  2726. dynlib: dllname, importc: "glGetObjectBufferfvATI".}
  2727. proc glGetObjectBufferivATI*(buffer: TGLuint, pname: TGLenum, params: PGLint){.
  2728. dynlib: dllname, importc: "glGetObjectBufferivATI".}
  2729. proc glDeleteObjectBufferATI*(buffer: TGLuint){.dynlib: dllname,
  2730. importc: "glDeleteObjectBufferATI".}
  2731. proc glArrayObjectATI*(thearray: TGLenum, size: TGLint, thetype: TGLenum,
  2732. stride: TGLsizei, buffer: TGLuint, offset: TGLuint){.
  2733. dynlib: dllname, importc: "glArrayObjectATI".}
  2734. proc glGetArrayObjectfvATI*(thearray: TGLenum, pname: TGLenum, params: PGLfloat){.
  2735. dynlib: dllname, importc: "glGetArrayObjectfvATI".}
  2736. proc glGetArrayObjectivATI*(thearray: TGLenum, pname: TGLenum, params: PGLint){.
  2737. dynlib: dllname, importc: "glGetArrayObjectivATI".}
  2738. proc glVariantArrayObjectATI*(id: TGLuint, thetype: TGLenum, stride: TGLsizei,
  2739. buffer: TGLuint, offset: TGLuint){.
  2740. dynlib: dllname, importc: "glVariantArrayObjectATI".}
  2741. proc glGetVariantArrayObjectfvATI*(id: TGLuint, pname: TGLenum, params: PGLfloat){.
  2742. dynlib: dllname, importc: "glGetVariantArrayObjectfvATI".}
  2743. proc glGetVariantArrayObjectivATI*(id: TGLuint, pname: TGLenum, params: PGLint){.
  2744. dynlib: dllname, importc: "glGetVariantArrayObjectivATI".}
  2745. #***** GL_ATI_vertex_streams *****//
  2746. const
  2747. GL_MAX_VERTEX_STREAMS_ATI* = 0x0000876B
  2748. GL_VERTEX_STREAM0_ATI* = 0x0000876C
  2749. GL_VERTEX_STREAM1_ATI* = 0x0000876D
  2750. GL_VERTEX_STREAM2_ATI* = 0x0000876E
  2751. GL_VERTEX_STREAM3_ATI* = 0x0000876F
  2752. GL_VERTEX_STREAM4_ATI* = 0x00008770
  2753. GL_VERTEX_STREAM5_ATI* = 0x00008771
  2754. GL_VERTEX_STREAM6_ATI* = 0x00008772
  2755. GL_VERTEX_STREAM7_ATI* = 0x00008773
  2756. GL_VERTEX_SOURCE_ATI* = 0x00008774
  2757. proc glVertexStream1s*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2758. importc: "glVertexStream1s".}
  2759. proc glVertexStream1i*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2760. importc: "glVertexStream1i".}
  2761. proc glVertexStream1f*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2762. importc: "glVertexStream1f".}
  2763. proc glVertexStream1d*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2764. importc: "glVertexStream1d".}
  2765. proc glVertexStream1sv*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2766. importc: "glVertexStream1sv".}
  2767. proc glVertexStream1iv*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2768. importc: "glVertexStream1iv".}
  2769. proc glVertexStream1fv*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2770. importc: "glVertexStream1fv".}
  2771. proc glVertexStream1dv*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2772. importc: "glVertexStream1dv".}
  2773. proc glVertexStream2s*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2774. importc: "glVertexStream2s".}
  2775. proc glVertexStream2i*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2776. importc: "glVertexStream2i".}
  2777. proc glVertexStream2f*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2778. importc: "glVertexStream2f".}
  2779. proc glVertexStream2d*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2780. importc: "glVertexStream2d".}
  2781. proc glVertexStream2sv*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2782. importc: "glVertexStream2sv".}
  2783. proc glVertexStream2iv*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2784. importc: "glVertexStream2iv".}
  2785. proc glVertexStream2fv*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2786. importc: "glVertexStream2fv".}
  2787. proc glVertexStream2dv*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2788. importc: "glVertexStream2dv".}
  2789. proc glVertexStream3s*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2790. importc: "glVertexStream3s".}
  2791. proc glVertexStream3i*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2792. importc: "glVertexStream3i".}
  2793. proc glVertexStream3f*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2794. importc: "glVertexStream3f".}
  2795. proc glVertexStream3d*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2796. importc: "glVertexStream3d".}
  2797. proc glVertexStream3sv*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2798. importc: "glVertexStream3sv".}
  2799. proc glVertexStream3iv*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2800. importc: "glVertexStream3iv".}
  2801. proc glVertexStream3fv*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2802. importc: "glVertexStream3fv".}
  2803. proc glVertexStream3dv*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2804. importc: "glVertexStream3dv".}
  2805. proc glVertexStream4s*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2806. importc: "glVertexStream4s".}
  2807. proc glVertexStream4i*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2808. importc: "glVertexStream4i".}
  2809. proc glVertexStream4f*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2810. importc: "glVertexStream4f".}
  2811. proc glVertexStream4d*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2812. importc: "glVertexStream4d".}
  2813. proc glVertexStream4sv*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2814. importc: "glVertexStream4sv".}
  2815. proc glVertexStream4iv*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2816. importc: "glVertexStream4iv".}
  2817. proc glVertexStream4fv*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2818. importc: "glVertexStream4fv".}
  2819. proc glVertexStream4dv*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2820. importc: "glVertexStream4dv".}
  2821. proc glNormalStream3b*(stream: TGLenum, coords: TGLByte){.dynlib: dllname,
  2822. importc: "glNormalStream3b".}
  2823. proc glNormalStream3s*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2824. importc: "glNormalStream3s".}
  2825. proc glNormalStream3i*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2826. importc: "glNormalStream3i".}
  2827. proc glNormalStream3f*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2828. importc: "glNormalStream3f".}
  2829. proc glNormalStream3d*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2830. importc: "glNormalStream3d".}
  2831. proc glNormalStream3bv*(stream: TGLenum, coords: TGLByte){.dynlib: dllname,
  2832. importc: "glNormalStream3bv".}
  2833. proc glNormalStream3sv*(stream: TGLenum, coords: TGLshort){.dynlib: dllname,
  2834. importc: "glNormalStream3sv".}
  2835. proc glNormalStream3iv*(stream: TGLenum, coords: TGLint){.dynlib: dllname,
  2836. importc: "glNormalStream3iv".}
  2837. proc glNormalStream3fv*(stream: TGLenum, coords: TGLfloat){.dynlib: dllname,
  2838. importc: "glNormalStream3fv".}
  2839. proc glNormalStream3dv*(stream: TGLenum, coords: TGLdouble){.dynlib: dllname,
  2840. importc: "glNormalStream3dv".}
  2841. proc glClientActiveVertexStream*(stream: TGLenum){.dynlib: dllname,
  2842. importc: "glClientActiveVertexStream".}
  2843. proc glVertexBlendEnvi*(pname: TGLenum, param: TGLint){.dynlib: dllname,
  2844. importc: "glVertexBlendEnvi".}
  2845. proc glVertexBlendEnvf*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  2846. importc: "glVertexBlendEnvf".}
  2847. #***** GL_3DFX_texture_compression_FXT1 *****//
  2848. const
  2849. GL_COMPRESSED_RGB_FXT1_3DFX* = 0x000086B0
  2850. GL_COMPRESSED_RGBA_FXT1_3DFX* = 0x000086B1
  2851. #***** GL_IBM_cull_vertex *****//
  2852. const
  2853. GL_CULL_VERTEX_IBM* = 0x0001928A
  2854. #***** GL_IBM_multimode_draw_arrays *****//
  2855. proc glMultiModeDrawArraysIBM*(mode: PGLenum, first: PGLint, count: PGLsizei,
  2856. primcount: TGLsizei, modestride: TGLint){.
  2857. dynlib: dllname, importc: "glMultiModeDrawArraysIBM".}
  2858. proc glMultiModeDrawElementsIBM*(mode: PGLenum, count: PGLsizei,
  2859. thetype: TGLenum, indices: PGLvoid,
  2860. primcount: TGLsizei, modestride: TGLint){.
  2861. dynlib: dllname, importc: "glMultiModeDrawElementsIBM".}
  2862. #***** GL_IBM_raster_pos_clip *****//
  2863. const
  2864. GL_RASTER_POSITION_UNCLIPPED_IBM* = 0x00019262
  2865. #***** GL_IBM_texture_mirrored_repeat *****//
  2866. const
  2867. GL_MIRRORED_REPEAT_IBM* = 0x00008370
  2868. #***** GL_IBM_vertex_array_lists *****//
  2869. const
  2870. GL_VERTEX_ARRAY_LIST_IBM* = 0x0001929E
  2871. GL_NORMAL_ARRAY_LIST_IBM* = 0x0001929F
  2872. GL_COLOR_ARRAY_LIST_IBM* = 0x000192A0
  2873. GL_INDEX_ARRAY_LIST_IBM* = 0x000192A1
  2874. GL_TEXTURE_COORD_ARRAY_LIST_IBM* = 0x000192A2
  2875. GL_EDGE_FLAG_ARRAY_LIST_IBM* = 0x000192A3
  2876. GL_FOG_COORDINATE_ARRAY_LIST_IBM* = 0x000192A4
  2877. GL_SECONDARY_COLOR_ARRAY_LIST_IBM* = 0x000192A5
  2878. GL_VERTEX_ARRAY_LIST_STRIDE_IBM* = 0x000192A8
  2879. GL_NORMAL_ARRAY_LIST_STRIDE_IBM* = 0x000192A9
  2880. GL_COLOR_ARRAY_LIST_STRIDE_IBM* = 0x000192AA
  2881. GL_INDEX_ARRAY_LIST_STRIDE_IBM* = 0x000192AB
  2882. GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM* = 0x000192AC
  2883. GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM* = 0x000192AD
  2884. GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM* = 0x000192AE
  2885. GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM* = 0x000192AF
  2886. proc glColorPointerListIBM*(size: TGLint, thetype: TGLenum, stride: TGLint,
  2887. pointer: PGLvoid, ptrstride: TGLint){.
  2888. dynlib: dllname, importc: "glColorPointerListIBM".}
  2889. proc glSecondaryColorPointerListIBM*(size: TGLint, thetype: TGLenum,
  2890. stride: TGLint, pointer: PGLvoid,
  2891. ptrstride: TGLint){.dynlib: dllname,
  2892. importc: "glSecondaryColorPointerListIBM".}
  2893. proc glEdgeFlagPointerListIBM*(stride: TGLint, pointer: PGLboolean,
  2894. ptrstride: TGLint){.dynlib: dllname,
  2895. importc: "glEdgeFlagPointerListIBM".}
  2896. proc glFogCoordPointerListIBM*(thetype: TGLenum, stride: TGLint,
  2897. pointer: PGLvoid, ptrstride: TGLint){.
  2898. dynlib: dllname, importc: "glFogCoordPointerListIBM".}
  2899. proc glNormalPointerListIBM*(thetype: TGLenum, stride: TGLint, pointer: PGLvoid,
  2900. ptrstride: TGLint){.dynlib: dllname,
  2901. importc: "glNormalPointerListIBM".}
  2902. proc glTexCoordPointerListIBM*(size: TGLint, thetype: TGLenum, stride: TGLint,
  2903. pointer: PGLvoid, ptrstride: TGLint){.
  2904. dynlib: dllname, importc: "glTexCoordPointerListIBM".}
  2905. proc glVertexPointerListIBM*(size: TGLint, thetype: TGLenum, stride: TGLint,
  2906. pointer: PGLvoid, ptrstride: TGLint){.
  2907. dynlib: dllname, importc: "glVertexPointerListIBM".}
  2908. #***** GL_MESA_resize_buffers *****//
  2909. proc glResizeBuffersMESA*(){.dynlib: dllname, importc: "glResizeBuffersMESA".}
  2910. #***** GL_MESA_window_pos *****//
  2911. proc glWindowPos2dMESA*(x: TGLdouble, y: TGLdouble){.dynlib: dllname,
  2912. importc: "glWindowPos2dMESA".}
  2913. proc glWindowPos2fMESA*(x: TGLfloat, y: TGLfloat){.dynlib: dllname,
  2914. importc: "glWindowPos2fMESA".}
  2915. proc glWindowPos2iMESA*(x: TGLint, y: TGLint){.dynlib: dllname,
  2916. importc: "glWindowPos2iMESA".}
  2917. proc glWindowPos2sMESA*(x: TGLshort, y: TGLshort){.dynlib: dllname,
  2918. importc: "glWindowPos2sMESA".}
  2919. proc glWindowPos2ivMESA*(p: PGLint){.dynlib: dllname,
  2920. importc: "glWindowPos2ivMESA".}
  2921. proc glWindowPos2svMESA*(p: PGLshort){.dynlib: dllname,
  2922. importc: "glWindowPos2svMESA".}
  2923. proc glWindowPos2fvMESA*(p: PGLfloat){.dynlib: dllname,
  2924. importc: "glWindowPos2fvMESA".}
  2925. proc glWindowPos2dvMESA*(p: PGLdouble){.dynlib: dllname,
  2926. importc: "glWindowPos2dvMESA".}
  2927. proc glWindowPos3iMESA*(x: TGLint, y: TGLint, z: TGLint){.dynlib: dllname,
  2928. importc: "glWindowPos3iMESA".}
  2929. proc glWindowPos3sMESA*(x: TGLshort, y: TGLshort, z: TGLshort){.dynlib: dllname,
  2930. importc: "glWindowPos3sMESA".}
  2931. proc glWindowPos3fMESA*(x: TGLfloat, y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  2932. importc: "glWindowPos3fMESA".}
  2933. proc glWindowPos3dMESA*(x: TGLdouble, y: TGLdouble, z: TGLdouble){.
  2934. dynlib: dllname, importc: "glWindowPos3dMESA".}
  2935. proc glWindowPos3ivMESA*(p: PGLint){.dynlib: dllname,
  2936. importc: "glWindowPos3ivMESA".}
  2937. proc glWindowPos3svMESA*(p: PGLshort){.dynlib: dllname,
  2938. importc: "glWindowPos3svMESA".}
  2939. proc glWindowPos3fvMESA*(p: PGLfloat){.dynlib: dllname,
  2940. importc: "glWindowPos3fvMESA".}
  2941. proc glWindowPos3dvMESA*(p: PGLdouble){.dynlib: dllname,
  2942. importc: "glWindowPos3dvMESA".}
  2943. proc glWindowPos4iMESA*(x: TGLint, y: TGLint, z: TGLint, w: TGLint){.
  2944. dynlib: dllname, importc: "glWindowPos4iMESA".}
  2945. proc glWindowPos4sMESA*(x: TGLshort, y: TGLshort, z: TGLshort, w: TGLshort){.
  2946. dynlib: dllname, importc: "glWindowPos4sMESA".}
  2947. proc glWindowPos4fMESA*(x: TGLfloat, y: TGLfloat, z: TGLfloat, w: TGLfloat){.
  2948. dynlib: dllname, importc: "glWindowPos4fMESA".}
  2949. proc glWindowPos4dMESA*(x: TGLdouble, y: TGLdouble, z: TGLdouble, w: TGLdouble){.
  2950. dynlib: dllname, importc: "glWindowPos4dMESA".}
  2951. proc glWindowPos4ivMESA*(p: PGLint){.dynlib: dllname,
  2952. importc: "glWindowPos4ivMESA".}
  2953. proc glWindowPos4svMESA*(p: PGLshort){.dynlib: dllname,
  2954. importc: "glWindowPos4svMESA".}
  2955. proc glWindowPos4fvMESA*(p: PGLfloat){.dynlib: dllname,
  2956. importc: "glWindowPos4fvMESA".}
  2957. proc glWindowPos4dvMESA*(p: PGLdouble){.dynlib: dllname,
  2958. importc: "glWindowPos4dvMESA".}
  2959. #***** GL_OML_interlace *****//
  2960. const
  2961. GL_INTERLACE_OML* = 0x00008980
  2962. GL_INTERLACE_READ_OML* = 0x00008981
  2963. #***** GL_OML_resample *****//
  2964. const
  2965. GL_PACK_RESAMPLE_OML* = 0x00008984
  2966. GL_UNPACK_RESAMPLE_OML* = 0x00008985
  2967. GL_RESAMPLE_REPLICATE_OML* = 0x00008986
  2968. GL_RESAMPLE_ZERO_FILL_OML* = 0x00008987
  2969. GL_RESAMPLE_AVERAGE_OML* = 0x00008988
  2970. GL_RESAMPLE_DECIMATE_OML* = 0x00008989 # GL_RESAMPLE_AVERAGE_OML { already defined }
  2971. #***** GL_OML_subsample *****//
  2972. const
  2973. GL_FORMAT_SUBSAMPLE_24_24_OML* = 0x00008982
  2974. GL_FORMAT_SUBSAMPLE_244_244_OML* = 0x00008983
  2975. #***** GL_SGIS_generate_mipmap *****//
  2976. const
  2977. GL_GENERATE_MIPMAP_SGIS* = 0x00008191
  2978. GL_GENERATE_MIPMAP_HINT_SGIS* = 0x00008192
  2979. #***** GL_SGIS_multisample *****//
  2980. const
  2981. GLX_SAMPLE_BUFFERS_SGIS* = 0x000186A0
  2982. GLX_SAMPLES_SGIS* = 0x000186A1
  2983. GL_MULTISAMPLE_SGIS* = 0x0000809D
  2984. GL_SAMPLE_ALPHA_TO_MASK_SGIS* = 0x0000809E
  2985. GL_SAMPLE_ALPHA_TO_ONE_SGIS* = 0x0000809F
  2986. constGL_SAMPLE_MASK_SGIS* = 0x000080A0
  2987. GL_MULTISAMPLE_BIT_EXT* = 0x20000000
  2988. GL_1PASS_SGIS* = 0x000080A1
  2989. GL_2PASS_0_SGIS* = 0x000080A2
  2990. GL_2PASS_1_SGIS* = 0x000080A3
  2991. GL_4PASS_0_SGIS* = 0x000080A4
  2992. GL_4PASS_1_SGIS* = 0x000080A5
  2993. GL_4PASS_2_SGIS* = 0x000080A6
  2994. GL_4PASS_3_SGIS* = 0x000080A7
  2995. GL_SAMPLE_BUFFERS_SGIS* = 0x000080A8
  2996. GL_SAMPLES_SGIS* = 0x000080A9
  2997. GL_SAMPLE_MASK_VALUE_SGIS* = 0x000080AA
  2998. GL_SAMPLE_MASK_INVERT_SGIS* = 0x000080AB
  2999. constGL_SAMPLE_PATTERN_SGIS* = 0x000080AC
  3000. proc glSampleMaskSGIS*(value: TGLclampf, invert: TGLboolean){.dynlib: dllname,
  3001. importc: "glSampleMaskSGIS".}
  3002. proc glSamplePatternSGIS*(pattern: TGLenum){.dynlib: dllname,
  3003. importc: "glSamplePatternSGIS".}
  3004. #***** GL_SGIS_pixel_texture *****//
  3005. const
  3006. GL_PIXEL_TEXTURE_SGIS* = 0x00008353
  3007. GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS* = 0x00008354
  3008. GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS* = 0x00008355
  3009. GL_PIXEL_GROUP_COLOR_SGIS* = 0x00008356
  3010. proc glPixelTexGenParameteriSGIS*(pname: TGLenum, param: TGLint){.
  3011. dynlib: dllname, importc: "glPixelTexGenParameteriSGIS".}
  3012. proc glPixelTexGenParameterfSGIS*(pname: TGLenum, param: TGLfloat){.
  3013. dynlib: dllname, importc: "glPixelTexGenParameterfSGIS".}
  3014. proc glGetPixelTexGenParameterivSGIS*(pname: TGLenum, params: TGLint){.
  3015. dynlib: dllname, importc: "glGetPixelTexGenParameterivSGIS".}
  3016. proc glGetPixelTexGenParameterfvSGIS*(pname: TGLenum, params: TGLfloat){.
  3017. dynlib: dllname, importc: "glGetPixelTexGenParameterfvSGIS".}
  3018. #***** GL_SGIS_texture_border_clamp *****//
  3019. # GL_CLAMP_TO_BORDER_SGIS { already defined }
  3020. #***** GL_SGIS_texture_color_mask *****//
  3021. const
  3022. GL_TEXTURE_COLOR_WRITEMASK_SGIS* = 0x000081EF
  3023. proc glTextureColorMaskSGIS*(r: TGLboolean, g: TGLboolean, b: TGLboolean,
  3024. a: TGLboolean){.dynlib: dllname,
  3025. importc: "glTextureColorMaskSGIS".}
  3026. #***** GL_SGIS_texture_edge_clamp *****//
  3027. const
  3028. GL_CLAMP_TO_EDGE_SGIS* = 0x0000812F
  3029. #***** GL_SGIS_texture_lod *****//
  3030. const
  3031. GL_TEXTURE_MIN_LOD_SGIS* = 0x0000813A
  3032. GL_TEXTURE_MAX_LOD_SGIS* = 0x0000813B
  3033. GL_TEXTURE_BASE_LEVEL_SGIS* = 0x0000813C
  3034. GL_TEXTURE_MAX_LEVEL_SGIS* = 0x0000813D
  3035. #***** GL_SGIS_depth_texture *****//
  3036. const
  3037. GL_DEPTH_COMPONENT16_SGIX* = 0x000081A5
  3038. GL_DEPTH_COMPONENT24_SGIX* = 0x000081A6
  3039. GL_DEPTH_COMPONENT32_SGIX* = 0x000081A7
  3040. #***** GL_SGIX_fog_offset *****//
  3041. const
  3042. GL_FOG_OFFSET_SGIX* = 0x00008198
  3043. GL_FOG_OFFSET_VALUE_SGIX* = 0x00008199
  3044. #***** GL_SGIX_interlace *****//
  3045. const
  3046. GL_INTERLACE_SGIX* = 0x00008094
  3047. #***** GL_SGIX_shadow_ambient *****//
  3048. const
  3049. GL_SHADOW_AMBIENT_SGIX* = 0x000080BF
  3050. #***** GL_SGI_color_matrix *****//
  3051. const
  3052. GL_COLOR_MATRIX_SGI* = 0x000080B1
  3053. GL_COLOR_MATRIX_STACK_DEPTH_SGI* = 0x000080B2
  3054. GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI* = 0x000080B3
  3055. GL_POST_COLOR_MATRIX_RED_SCALE_SGI* = 0x000080B4
  3056. GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI* = 0x000080B5
  3057. GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI* = 0x000080B6
  3058. GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI* = 0x000080B7
  3059. GL_POST_COLOR_MATRIX_RED_BIAS_SGI* = 0x000080B8
  3060. GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI* = 0x000080B9
  3061. GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI* = 0x000080BA
  3062. GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI* = 0x000080BB
  3063. #***** GL_SGI_color_table *****//
  3064. const
  3065. constGL_COLOR_TABLE_SGI* = 0x000080D0
  3066. GL_POST_CONVOLUTION_COLOR_TABLE_SGI* = 0x000080D1
  3067. GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI* = 0x000080D2
  3068. GL_PROXY_COLOR_TABLE_SGI* = 0x000080D3
  3069. GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI* = 0x000080D4
  3070. GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI* = 0x000080D5
  3071. GL_COLOR_TABLE_SCALE_SGI* = 0x000080D6
  3072. GL_COLOR_TABLE_BIAS_SGI* = 0x000080D7
  3073. GL_COLOR_TABLE_FORMAT_SGI* = 0x000080D8
  3074. GL_COLOR_TABLE_WIDTH_SGI* = 0x000080D9
  3075. GL_COLOR_TABLE_RED_SIZE_SGI* = 0x000080DA
  3076. GL_COLOR_TABLE_GREEN_SIZE_SGI* = 0x000080DB
  3077. GL_COLOR_TABLE_BLUE_SIZE_SGI* = 0x000080DC
  3078. GL_COLOR_TABLE_ALPHA_SIZE_SGI* = 0x000080DD
  3079. GL_COLOR_TABLE_LUMINANCE_SIZE_SGI* = 0x000080DE
  3080. GL_COLOR_TABLE_INTENSITY_SIZE_SGI* = 0x000080DF
  3081. proc glColorTableSGI*(target: TGLenum, internalformat: TGLenum, width: TGLsizei,
  3082. format: TGLenum, thetype: TGLenum, table: PGLvoid){.
  3083. dynlib: dllname, importc: "glColorTableSGI".}
  3084. proc glCopyColorTableSGI*(target: TGLenum, internalformat: TGLenum, x: TGLint,
  3085. y: TGLint, width: TGLsizei){.dynlib: dllname,
  3086. importc: "glCopyColorTableSGI".}
  3087. proc glColorTableParameterivSGI*(target: TGLenum, pname: TGLenum, params: PGLint){.
  3088. dynlib: dllname, importc: "glColorTableParameterivSGI".}
  3089. proc glColorTableParameterfvSGI*(target: TGLenum, pname: TGLenum,
  3090. params: PGLfloat){.dynlib: dllname,
  3091. importc: "glColorTableParameterfvSGI".}
  3092. proc glGetColorTableSGI*(target: TGLenum, format: TGLenum, thetype: TGLenum,
  3093. table: PGLvoid){.dynlib: dllname,
  3094. importc: "glGetColorTableSGI".}
  3095. proc glGetColorTableParameterivSGI*(target: TGLenum, pname: TGLenum,
  3096. params: PGLint){.dynlib: dllname,
  3097. importc: "glGetColorTableParameterivSGI".}
  3098. proc glGetColorTableParameterfvSGI*(target: TGLenum, pname: TGLenum,
  3099. params: PGLfloat){.dynlib: dllname,
  3100. importc: "glGetColorTableParameterfvSGI".}
  3101. #***** GL_SGI_texture_color_table *****//
  3102. const
  3103. GL_TEXTURE_COLOR_TABLE_SGI* = 0x000080BC
  3104. GL_PROXY_TEXTURE_COLOR_TABLE_SGI* = 0x000080BD
  3105. #***** GL_SUN_vertex *****//
  3106. proc glColor4ubVertex2fSUN*(r: TGLubyte, g: TGLubyte, b: TGLubyte, a: TGLubyte,
  3107. x: TGLfloat, y: TGLfloat){.dynlib: dllname,
  3108. importc: "glColor4ubVertex2fSUN".}
  3109. proc glColor4ubVertex2fvSUN*(c: PGLubyte, v: PGLfloat){.dynlib: dllname,
  3110. importc: "glColor4ubVertex2fvSUN".}
  3111. proc glColor4ubVertex3fSUN*(r: TGLubyte, g: TGLubyte, b: TGLubyte, a: TGLubyte,
  3112. x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3113. dynlib: dllname, importc: "glColor4ubVertex3fSUN".}
  3114. proc glColor4ubVertex3fvSUN*(c: PGLubyte, v: PGLfloat){.dynlib: dllname,
  3115. importc: "glColor4ubVertex3fvSUN".}
  3116. proc glColor3fVertex3fSUN*(r: TGLfloat, g: TGLfloat, b: TGLfloat, x: TGLfloat,
  3117. y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  3118. importc: "glColor3fVertex3fSUN".}
  3119. proc glColor3fVertex3fvSUN*(c: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3120. importc: "glColor3fVertex3fvSUN".}
  3121. proc glNormal3fVertex3fSUN*(nx: TGLfloat, ny: TGLfloat, nz: TGLfloat,
  3122. x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3123. dynlib: dllname, importc: "glNormal3fVertex3fSUN".}
  3124. proc glNormal3fVertex3fvSUN*(n: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3125. importc: "glNormal3fVertex3fvSUN".}
  3126. proc glColor4fNormal3fVertex3fSUN*(r: TGLfloat, g: TGLfloat, b: TGLfloat,
  3127. a: TGLfloat, nx: TGLfloat, ny: TGLfloat,
  3128. nz: TGLfloat, x: TGLfloat, y: TGLfloat,
  3129. z: TGLfloat){.dynlib: dllname,
  3130. importc: "glColor4fNormal3fVertex3fSUN".}
  3131. proc glColor4fNormal3fVertex3fvSUN*(c: PGLfloat, n: PGLfloat, v: PGLfloat){.
  3132. dynlib: dllname, importc: "glColor4fNormal3fVertex3fvSUN".}
  3133. proc glTexCoord2fVertex3fSUN*(s: TGLfloat, t: TGLfloat, x: TGLfloat,
  3134. y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  3135. importc: "glTexCoord2fVertex3fSUN".}
  3136. proc glTexCoord2fVertex3fvSUN*(tc: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3137. importc: "glTexCoord2fVertex3fvSUN".}
  3138. proc glTexCoord4fVertex4fSUN*(s: TGLfloat, t: TGLfloat, p: TGLfloat,
  3139. q: TGLfloat, x: TGLfloat, y: TGLfloat,
  3140. z: TGLfloat, w: TGLfloat){.dynlib: dllname,
  3141. importc: "glTexCoord4fVertex4fSUN".}
  3142. proc glTexCoord4fVertex4fvSUN*(tc: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3143. importc: "glTexCoord4fVertex4fvSUN".}
  3144. proc glTexCoord2fColor4ubVertex3fSUN*(s: TGLfloat, t: TGLfloat, r: TGLubyte,
  3145. g: TGLubyte, b: TGLubyte, a: TGLubyte,
  3146. x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3147. dynlib: dllname, importc: "glTexCoord2fColor4ubVertex3fSUN".}
  3148. proc glTexCoord2fColor4ubVertex3fvSUN*(tc: PGLfloat, c: PGLubyte, v: PGLfloat){.
  3149. dynlib: dllname, importc: "glTexCoord2fColor4ubVertex3fvSUN".}
  3150. proc glTexCoord2fColor3fVertex3fSUN*(s: TGLfloat, t: TGLfloat, r: TGLfloat,
  3151. g: TGLfloat, b: TGLfloat, x: TGLfloat,
  3152. y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  3153. importc: "glTexCoord2fColor3fVertex3fSUN".}
  3154. proc glTexCoord2fColor3fVertex3fvSUN*(tc: PGLfloat, c: PGLfloat, v: PGLfloat){.
  3155. dynlib: dllname, importc: "glTexCoord2fColor3fVertex3fvSUN".}
  3156. proc glTexCoord2fNormal3fVertex3fSUN*(s: TGLfloat, t: TGLfloat, nx: TGLfloat,
  3157. ny: TGLfloat, nz: TGLfloat, x: TGLfloat,
  3158. y: TGLfloat, z: TGLfloat){.
  3159. dynlib: dllname, importc: "glTexCoord2fNormal3fVertex3fSUN".}
  3160. proc glTexCoord2fNormal3fVertex3fvSUN*(tc: PGLfloat, n: PGLfloat, v: PGLfloat){.
  3161. dynlib: dllname, importc: "glTexCoord2fNormal3fVertex3fvSUN".}
  3162. proc glTexCoord2fColor4fNormal3fVertex3fSUN*(s: TGLfloat, t: TGLfloat,
  3163. r: TGLfloat, g: TGLfloat, b: TGLfloat, a: TGLfloat, nx: TGLfloat,
  3164. ny: TGLfloat, nz: TGLfloat, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3165. dynlib: dllname, importc: "glTexCoord2fColor4fNormal3fVertex3fSUN".}
  3166. proc glTexCoord2fColor4fNormal3fVertex3fvSUN*(tc: PGLfloat, c: PGLfloat,
  3167. n: PGLfloat, v: PGLfloat){.dynlib: dllname, importc: "glTexCoord2fColor4fNormal3fVertex3fvSUN".}
  3168. proc glTexCoord4fColor4fNormal3fVertex4fSUN*(s: TGLfloat, t: TGLfloat,
  3169. p: TGLfloat, q: TGLfloat, r: TGLfloat, g: TGLfloat, b: TGLfloat,
  3170. a: TGLfloat, nx: TGLfloat, ny: TGLfloat, nz: TGLfloat, x: TGLfloat,
  3171. y: TGLfloat, z: TGLfloat, w: TGLfloat){.dynlib: dllname,
  3172. importc: "glTexCoord4fColor4fNormal3fVertex4fSUN".}
  3173. proc glTexCoord4fColor4fNormal3fVertex4fvSUN*(tc: PGLfloat, c: PGLfloat,
  3174. n: PGLfloat, v: PGLfloat){.dynlib: dllname, importc: "glTexCoord4fColor4fNormal3fVertex4fvSUN".}
  3175. proc glReplacementCodeuiVertex3fSUN*(rc: TGLuint, x: TGLfloat, y: TGLfloat,
  3176. z: TGLfloat){.dynlib: dllname,
  3177. importc: "glReplacementCodeuiVertex3fSUN".}
  3178. proc glReplacementCodeuiVertex3fvSUN*(rc: PGLuint, v: PGLfloat){.
  3179. dynlib: dllname, importc: "glReplacementCodeuiVertex3fvSUN".}
  3180. proc glReplacementCodeuiColor4ubVertex3fSUN*(rc: TGLuint, r: TGLubyte,
  3181. g: TGLubyte, b: TGLubyte, a: TGLubyte, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3182. dynlib: dllname, importc: "glReplacementCodeuiColor4ubVertex3fSUN".}
  3183. proc glReplacementCodeuiColor4ubVertex3fvSUN*(rc: PGLuint, c: PGLubyte,
  3184. v: PGLfloat){.dynlib: dllname,
  3185. importc: "glReplacementCodeuiColor4ubVertex3fvSUN".}
  3186. proc glReplacementCodeuiColor3fVertex3fSUN*(rc: TGLuint, r: TGLfloat,
  3187. g: TGLfloat, b: TGLfloat, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3188. dynlib: dllname, importc: "glReplacementCodeuiColor3fVertex3fSUN".}
  3189. proc glReplacementCodeuiColor3fVertex3fvSUN*(rc: PGLuint, c: PGLfloat,
  3190. v: PGLfloat){.dynlib: dllname,
  3191. importc: "glReplacementCodeuiColor3fVertex3fvSUN".}
  3192. proc glReplacementCodeuiNormal3fVertex3fSUN*(rc: TGLuint, nx: TGLfloat,
  3193. ny: TGLfloat, nz: TGLfloat, x: TGLfloat, y: TGLfloat, z: TGLfloat){.
  3194. dynlib: dllname, importc: "glReplacementCodeuiNormal3fVertex3fSUN".}
  3195. proc glReplacementCodeuiNormal3fVertex3fvSUN*(rc: PGLuint, n: PGLfloat,
  3196. v: PGLfloat){.dynlib: dllname,
  3197. importc: "glReplacementCodeuiNormal3fVertex3fvSUN".}
  3198. proc glReplacementCodeuiColor4fNormal3fVertex3fSUN*(rc: TGLuint, r: TGLfloat,
  3199. g: TGLfloat, b: TGLfloat, a: TGLfloat, nx: TGLfloat, ny: TGLfloat,
  3200. nz: TGLfloat, x: TGLfloat, y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  3201. importc: "glReplacementCodeuiColor4fNormal3fVertex3fSUN".}
  3202. proc glReplacementCodeuiColor4fNormal3fVertex3fvSUN*(rc: PGLuint, c: PGLfloat,
  3203. n: PGLfloat, v: PGLfloat){.dynlib: dllname, importc: "glReplacementCodeuiColor4fNormal3fVertex3fvSUN".}
  3204. proc glReplacementCodeuiTexCoord2fVertex3fSUN*(rc: TGLuint, s: TGLfloat,
  3205. t: TGLfloat, x: TGLfloat, y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  3206. importc: "glReplacementCodeuiTexCoord2fVertex3fSUN".}
  3207. proc glReplacementCodeuiTexCoord2fVertex3fvSUN*(rc: PGLuint, tc: PGLfloat,
  3208. v: PGLfloat){.dynlib: dllname,
  3209. importc: "glReplacementCodeuiTexCoord2fVertex3fvSUN".}
  3210. proc glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN*(rc: TGLuint, s: TGLfloat,
  3211. t: TGLfloat, nx: TGLfloat, ny: TGLfloat, nz: TGLfloat, x: TGLfloat,
  3212. y: TGLfloat, z: TGLfloat){.dynlib: dllname, importc: "glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN".}
  3213. proc glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN*(rc: PGLuint,
  3214. tc: PGLfloat, n: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3215. importc: "glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN".}
  3216. proc glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN*(rc: TGLuint,
  3217. s: TGLfloat, t: TGLfloat, r: TGLfloat, g: TGLfloat, b: TGLfloat,
  3218. a: TGLfloat, nx: TGLfloat, ny: TGLfloat, nz: TGLfloat, x: TGLfloat,
  3219. y: TGLfloat, z: TGLfloat){.dynlib: dllname, importc: "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN".}
  3220. proc glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN*(rc: PGLuint,
  3221. tc: PGLfloat, c: PGLfloat, n: PGLfloat, v: PGLfloat){.dynlib: dllname,
  3222. importc: "glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN".}
  3223. #***** GL_ARB_fragment_program *****//
  3224. const
  3225. GL_FRAGMENT_PROGRAM_ARB* = 0x00008804 # GL_PROGRAM_FORMAT_ASCII_ARB { already defined }
  3226. # GL_PROGRAM_LENGTH_ARB { already defined }
  3227. # GL_PROGRAM_FORMAT_ARB { already defined }
  3228. # GL_PROGRAM_BINDING_ARB { already defined }
  3229. # GL_PROGRAM_INSTRUCTIONS_ARB { already defined }
  3230. # GL_MAX_PROGRAM_INSTRUCTIONS_ARB { already defined }
  3231. # GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB { already defined }
  3232. # GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB { already defined }
  3233. # GL_PROGRAM_TEMPORARIES_ARB { already defined }
  3234. # GL_MAX_PROGRAM_TEMPORARIES_ARB { already defined }
  3235. # GL_PROGRAM_NATIVE_TEMPORARIES_ARB { already defined }
  3236. # GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB { already defined }
  3237. # GL_PROGRAM_PARAMETERS_ARB { already defined }
  3238. # GL_MAX_PROGRAM_PARAMETERS_ARB { already defined }
  3239. # GL_PROGRAM_NATIVE_PARAMETERS_ARB { already defined }
  3240. # GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB { already defined }
  3241. # GL_PROGRAM_ATTRIBS_ARB { already defined }
  3242. # GL_MAX_PROGRAM_ATTRIBS_ARB { already defined }
  3243. # GL_PROGRAM_NATIVE_ATTRIBS_ARB { already defined }
  3244. # GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB { already defined }
  3245. # GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB { already defined }
  3246. # GL_MAX_PROGRAM_ENV_PARAMETERS_ARB { already defined }
  3247. # GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB { already defined }
  3248. GL_PROGRAM_ALU_INSTRUCTIONS_ARB* = 0x00008805
  3249. GL_PROGRAM_TEX_INSTRUCTIONS_ARB* = 0x00008806
  3250. GL_PROGRAM_TEX_INDIRECTIONS_ARB* = 0x00008807
  3251. GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB* = 0x00008808
  3252. GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB* = 0x00008809
  3253. GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB* = 0x0000880A
  3254. GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB* = 0x0000880B
  3255. GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB* = 0x0000880C
  3256. GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB* = 0x0000880D
  3257. GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB* = 0x0000880E
  3258. GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB* = 0x0000880F
  3259. GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB* = 0x00008810 # GL_PROGRAM_STRING_ARB { already defined }
  3260. #
  3261. #
  3262. # GL_PROGRAM_ERROR_POSITION_ARB { already defined }
  3263. # GL_CURRENT_MATRIX_ARB { already defined }
  3264. #
  3265. #
  3266. # GL_TRANSPOSE_CURRENT_MATRIX_ARB { already defined }
  3267. #
  3268. #
  3269. # GL_CURRENT_MATRIX_STACK_DEPTH_ARB { already defined }
  3270. #
  3271. #
  3272. # GL_MAX_PROGRAM_MATRICES_ARB { already defined }
  3273. #
  3274. #
  3275. # GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB { already defined }
  3276. GL_MAX_TEXTURE_COORDS_ARB* = 0x00008871
  3277. GL_MAX_TEXTURE_IMAGE_UNITS_ARB* = 0x00008872 # GL_PROGRAM_ERROR_STRING_ARB { already defined }
  3278. # GL_MATRIX0_ARB { already defined }
  3279. # GL_MATRIX1_ARB { already defined }
  3280. # GL_MATRIX2_ARB { already defined }
  3281. # GL_MATRIX3_ARB { already defined }
  3282. # GL_MATRIX4_ARB { already defined }
  3283. # GL_MATRIX5_ARB { already defined }
  3284. # GL_MATRIX6_ARB { already defined }
  3285. # GL_MATRIX7_ARB { already defined }
  3286. # GL_MATRIX8_ARB { already defined }
  3287. # GL_MATRIX9_ARB { already defined }
  3288. # GL_MATRIX10_ARB { already defined }
  3289. # GL_MATRIX11_ARB { already defined }
  3290. # GL_MATRIX12_ARB { already defined }
  3291. # GL_MATRIX13_ARB { already defined }
  3292. # GL_MATRIX14_ARB { already defined }
  3293. # GL_MATRIX15_ARB { already defined }
  3294. # GL_MATRIX16_ARB { already defined }
  3295. # GL_MATRIX17_ARB { already defined }
  3296. # GL_MATRIX18_ARB { already defined }
  3297. # GL_MATRIX19_ARB { already defined }
  3298. # GL_MATRIX20_ARB { already defined }
  3299. # GL_MATRIX21_ARB { already defined }
  3300. # GL_MATRIX22_ARB { already defined }
  3301. # GL_MATRIX23_ARB { already defined }
  3302. # GL_MATRIX24_ARB { already defined }
  3303. # GL_MATRIX25_ARB { already defined }
  3304. # GL_MATRIX26_ARB { already defined }
  3305. # GL_MATRIX27_ARB { already defined }
  3306. # GL_MATRIX28_ARB { already defined }
  3307. # GL_MATRIX29_ARB { already defined }
  3308. # GL_MATRIX30_ARB { already defined }
  3309. # GL_MATRIX31_ARB { already defined }
  3310. # glProgramStringARB { already defined }
  3311. # glBindProgramARB { already defined }
  3312. # glDeleteProgramsARB { already defined }
  3313. # glGenProgramsARB { already defined }
  3314. # glProgramEnvParameter4dARB { already defined }
  3315. # glProgramEnvParameter4dvARB { already defined }
  3316. # glProgramEnvParameter4fARB { already defined }
  3317. # glProgramEnvParameter4fvARB { already defined }
  3318. # glProgramLocalParameter4dARB { already defined }
  3319. # glProgramLocalParameter4dvARB { already defined }
  3320. # glProgramLocalParameter4fARB { already defined }
  3321. # glProgramLocalParameter4fvARB { already defined }
  3322. # glGetProgramEnvParameterdvARB { already defined }
  3323. # glGetProgramEnvParameterfvARB { already defined }
  3324. # glGetProgramLocalParameterdvARB { already defined }
  3325. # glGetProgramLocalParameterfvARB { already defined }
  3326. # glGetProgramivARB { already defined }
  3327. # glGetProgramStringARB { already defined }
  3328. # glIsProgramARB { already defined }
  3329. #***** GL_ATI_text_fragment_shader *****
  3330. const
  3331. GL_TEXT_FRAGMENT_SHADER_ATI* = 0x00008200 #***** GL_ARB_vertex_buffer_object *****
  3332. const
  3333. GL_BUFFER_SIZE_ARB* = 0x00008764
  3334. GL_BUFFER_USAGE_ARB* = 0x00008765
  3335. GL_ARRAY_BUFFER_ARB* = 0x00008892
  3336. GL_ELEMENT_ARRAY_BUFFER_ARB* = 0x00008893
  3337. GL_ARRAY_BUFFER_BINDING_ARB* = 0x00008894
  3338. GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB* = 0x00008895
  3339. GL_VERTEX_ARRAY_BUFFER_BINDING_ARB* = 0x00008896
  3340. GL_NORMAL_ARRAY_BUFFER_BINDING_ARB* = 0x00008897
  3341. GL_COLOR_ARRAY_BUFFER_BINDING_ARB* = 0x00008898
  3342. GL_INDEX_ARRAY_BUFFER_BINDING_ARB* = 0x00008899
  3343. GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB* = 0x0000889A
  3344. GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB* = 0x0000889B
  3345. GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB* = 0x0000889C
  3346. GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB* = 0x0000889D
  3347. GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB* = 0x0000889E
  3348. GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB* = 0x0000889F
  3349. GL_READ_ONLY_ARB* = 0x000088B8
  3350. GL_WRITE_ONLY_ARB* = 0x000088B9
  3351. GL_READ_WRITE_ARB* = 0x000088BA
  3352. GL_BUFFER_ACCESS_ARB* = 0x000088BB
  3353. GL_BUFFER_MAPPED_ARB* = 0x000088BC
  3354. GL_BUFFER_MAP_POINTER_ARB* = 0x000088BD
  3355. GL_STREAM_DRAW_ARB* = 0x000088E0
  3356. GL_STREAM_READ_ARB* = 0x000088E1
  3357. GL_STREAM_COPY_ARB* = 0x000088E2
  3358. GL_STATIC_DRAW_ARB* = 0x000088E4
  3359. GL_STATIC_READ_ARB* = 0x000088E5
  3360. GL_STATIC_COPY_ARB* = 0x000088E6
  3361. GL_DYNAMIC_DRAW_ARB* = 0x000088E8
  3362. GL_DYNAMIC_READ_ARB* = 0x000088E9
  3363. GL_DYNAMIC_COPY_ARB* = 0x000088EA
  3364. proc glBindBufferARB*(target: TGLenum, buffer: TGLuint){.dynlib: dllname,
  3365. importc: "glBindBufferARB".}
  3366. proc glDeleteBuffersARB*(n: TGLsizei, buffers: PGLuint){.dynlib: dllname,
  3367. importc: "glDeleteBuffersARB".}
  3368. proc glGenBuffersARB*(n: TGLsizei, buffers: PGLuint){.dynlib: dllname,
  3369. importc: "glGenBuffersARB".}
  3370. proc glIsBufferARB*(buffer: TGLuint): TGLboolean{.dynlib: dllname,
  3371. importc: "glIsBufferARB".}
  3372. proc glBufferDataARB*(target: TGLenum, size: TGLsizei, data: PGLvoid,
  3373. usage: TGLenum){.dynlib: dllname,
  3374. importc: "glBufferDataARB".}
  3375. proc glBufferSubDataARB*(target: TGLenum, offset: TGLint, size: TGLsizei,
  3376. data: PGLvoid){.dynlib: dllname,
  3377. importc: "glBufferSubDataARB".}
  3378. proc glGetBufferSubDataARB*(target: TGLenum, offset: TGLint, size: TGLsizei,
  3379. data: PGLvoid){.dynlib: dllname,
  3380. importc: "glGetBufferSubDataARB".}
  3381. proc glMapBufferARB*(target: TGLenum, access: TGLenum): PGLvoid{.
  3382. dynlib: dllname, importc: "glMapBufferARB".}
  3383. proc glUnmapBufferARB*(target: TGLenum): TGLboolean{.dynlib: dllname,
  3384. importc: "glUnmapBufferARB".}
  3385. proc glGetBufferParameterivARB*(target: TGLenum, pname: TGLenum, params: PGLint){.
  3386. dynlib: dllname, importc: "glGetBufferParameterivARB".}
  3387. proc glGetBufferPointervARB*(target: TGLenum, pname: TGLenum, params: PPGLvoid){.
  3388. dynlib: dllname, importc: "glGetBufferPointervARB".}
  3389. #***** GL_APPLE_client_storage *****//
  3390. const
  3391. GL_UNPACK_CLIENT_STORAGE_APPLE* = 0x000085B2
  3392. #***** GL_APPLE_element_array *****//
  3393. const
  3394. GL_ELEMENT_ARRAY_APPLE* = 0x00008768
  3395. GL_ELEMENT_ARRAY_TYPE_APPLE* = 0x00008769
  3396. GL_ELEMENT_ARRAY_POINTER_APPLE* = 0x0000876A
  3397. proc glElementPointerAPPLE*(thetype: TGLenum, pointer: PGLvoid){.
  3398. dynlib: dllname, importc: "glElementPointerAPPLE".}
  3399. proc glDrawElementArrayAPPLE*(mode: TGLenum, first: TGLint, count: TGLsizei){.
  3400. dynlib: dllname, importc: "glDrawElementArrayAPPLE".}
  3401. proc glDrawRangeElementArrayAPPLE*(mode: TGLenum, start: TGLuint,
  3402. theend: TGLuint, first: TGLint,
  3403. count: TGLsizei){.dynlib: dllname,
  3404. importc: "glDrawRangeElementArrayAPPLE".}
  3405. proc glMultiDrawElementArrayAPPLE*(mode: TGLenum, first: PGLint,
  3406. count: PGLsizei, primcount: TGLsizei){.
  3407. dynlib: dllname, importc: "glMultiDrawElementArrayAPPLE".}
  3408. proc glMultiDrawRangeElementArrayAPPLE*(mode: TGLenum, start: TGLuint,
  3409. theend: TGLuint, first: PGLint,
  3410. count: PGLsizei, primcount: TGLsizei){.
  3411. dynlib: dllname, importc: "glMultiDrawRangeElementArrayAPPLE".}
  3412. #***** GL_APPLE_fence *****//
  3413. const
  3414. GL_DRAW_PIXELS_APPLE* = 0x00008A0A
  3415. GL_FENCE_APPLE* = 0x00008A0B
  3416. proc glGenFencesAPPLE*(n: TGLsizei, fences: PGLuint){.dynlib: dllname,
  3417. importc: "glGenFencesAPPLE".}
  3418. proc glDeleteFencesAPPLE*(n: TGLsizei, fences: PGLuint){.dynlib: dllname,
  3419. importc: "glDeleteFencesAPPLE".}
  3420. proc glSetFenceAPPLE*(fence: TGLuint){.dynlib: dllname,
  3421. importc: "glSetFenceAPPLE".}
  3422. proc glIsFenceAPPLE*(fence: TGLuint): TGLboolean{.dynlib: dllname,
  3423. importc: "glIsFenceAPPLE".}
  3424. proc glTestFenceAPPLE*(fence: TGLuint): TGLboolean{.dynlib: dllname,
  3425. importc: "glTestFenceAPPLE".}
  3426. proc glFinishFenceAPPLE*(fence: TGLuint){.dynlib: dllname,
  3427. importc: "glFinishFenceAPPLE".}
  3428. proc glTestObjectAPPLE*(theobject: TGLenum, name: TGLuint): TGLboolean{.
  3429. dynlib: dllname, importc: "glTestObjectAPPLE".}
  3430. proc glFinishObjectAPPLE*(theobject: TGLenum, name: TGLint){.dynlib: dllname,
  3431. importc: "glFinishObjectAPPLE".}
  3432. #***** GL_APPLE_vertex_array_object *****//
  3433. const
  3434. GL_VERTEX_ARRAY_BINDING_APPLE* = 0x000085B5
  3435. proc glBindVertexArrayAPPLE*(thearray: TGLuint){.dynlib: dllname,
  3436. importc: "glBindVertexArrayAPPLE".}
  3437. proc glDeleteVertexArraysAPPLE*(n: TGLsizei, arrays: PGLuint){.dynlib: dllname,
  3438. importc: "glDeleteVertexArraysAPPLE".}
  3439. proc glGenVertexArraysAPPLE*(n: TGLsizei, arrays: PGLuint){.dynlib: dllname,
  3440. importc: "glGenVertexArraysAPPLE".}
  3441. proc glIsVertexArrayAPPLE*(thearray: TGLuint): TGLboolean{.dynlib: dllname,
  3442. importc: "glIsVertexArrayAPPLE".}
  3443. #***** GL_APPLE_vertex_array_range *****//
  3444. const
  3445. constGL_VERTEX_ARRAY_RANGE_APPLE* = 0x0000851D
  3446. GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE* = 0x0000851E
  3447. GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE* = 0x00008520
  3448. GL_VERTEX_ARRAY_RANGE_POINTER_APPLE* = 0x00008521
  3449. GL_VERTEX_ARRAY_STORAGE_HINT_APPLE* = 0x0000851F
  3450. GL_STORAGE_CACHED_APPLE* = 0x000085BE
  3451. GL_STORAGE_SHARED_APPLE* = 0x000085BF
  3452. proc glVertexArrayRangeAPPLE*(len: TGLsizei, pointer: PGLvoid){.dynlib: dllname,
  3453. importc: "glVertexArrayRangeAPPLE".}
  3454. proc glFlushVertexArrayRangeAPPLE*(len: TGLsizei, pointer: PGLvoid){.
  3455. dynlib: dllname, importc: "glFlushVertexArrayRangeAPPLE".}
  3456. proc glVertexArrayParameteriAPPLE*(pname: TGLenum, param: TGLint){.
  3457. dynlib: dllname, importc: "glVertexArrayParameteriAPPLE".}
  3458. #***** GL_ARB_matrix_palette *****//
  3459. const
  3460. GL_MATRIX_PALETTE_ARB* = 0x00008840
  3461. GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB* = 0x00008841
  3462. GL_MAX_PALETTE_MATRICES_ARB* = 0x00008842
  3463. constGL_CURRENT_PALETTE_MATRIX_ARB* = 0x00008843
  3464. GL_MATRIX_INDEX_ARRAY_ARB* = 0x00008844
  3465. GL_CURRENT_MATRIX_INDEX_ARB* = 0x00008845
  3466. GL_MATRIX_INDEX_ARRAY_SIZE_ARB* = 0x00008846
  3467. GL_MATRIX_INDEX_ARRAY_TYPE_ARB* = 0x00008847
  3468. GL_MATRIX_INDEX_ARRAY_STRIDE_ARB* = 0x00008848
  3469. GL_MATRIX_INDEX_ARRAY_POINTER_ARB* = 0x00008849
  3470. proc glCurrentPaletteMatrixARB*(index: TGLint){.dynlib: dllname,
  3471. importc: "glCurrentPaletteMatrixARB".}
  3472. proc glMatrixIndexubvARB*(size: TGLint, indices: PGLubyte){.dynlib: dllname,
  3473. importc: "glMatrixIndexubvARB".}
  3474. proc glMatrixIndexusvARB*(size: TGLint, indices: PGLushort){.dynlib: dllname,
  3475. importc: "glMatrixIndexusvARB".}
  3476. proc glMatrixIndexuivARB*(size: TGLint, indices: PGLuint){.dynlib: dllname,
  3477. importc: "glMatrixIndexuivARB".}
  3478. proc glMatrixIndexPointerARB*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  3479. pointer: PGLvoid){.dynlib: dllname,
  3480. importc: "glMatrixIndexPointerARB".}
  3481. #***** GL_NV_element_array *****//
  3482. const
  3483. GL_ELEMENT_ARRAY_TYPE_NV* = 0x00008769
  3484. GL_ELEMENT_ARRAY_POINTER_NV* = 0x0000876A
  3485. proc glElementPointerNV*(thetype: TGLenum, pointer: PGLvoid){.dynlib: dllname,
  3486. importc: "glElementPointerNV".}
  3487. proc glDrawElementArrayNV*(mode: TGLenum, first: TGLint, count: TGLsizei){.
  3488. dynlib: dllname, importc: "glDrawElementArrayNV".}
  3489. proc glDrawRangeElementArrayNV*(mode: TGLenum, start: TGLuint, theend: TGLuint,
  3490. first: TGLint, count: TGLsizei){.
  3491. dynlib: dllname, importc: "glDrawRangeElementArrayNV".}
  3492. proc glMultiDrawElementArrayNV*(mode: TGLenum, first: PGLint, count: PGLsizei,
  3493. primcount: TGLsizei){.dynlib: dllname,
  3494. importc: "glMultiDrawElementArrayNV".}
  3495. proc glMultiDrawRangeElementArrayNV*(mode: TGLenum, start: TGLuint,
  3496. theend: TGLuint, first: PGLint,
  3497. count: PGLsizei, primcount: TGLsizei){.
  3498. dynlib: dllname, importc: "glMultiDrawRangeElementArrayNV".}
  3499. #***** GL_NV_float_buffer *****//
  3500. const
  3501. GL_FLOAT_R_NV* = 0x00008880
  3502. GL_FLOAT_RG_NV* = 0x00008881
  3503. GL_FLOAT_RGB_NV* = 0x00008882
  3504. GL_FLOAT_RGBA_NV* = 0x00008883
  3505. GL_FLOAT_R16_NV* = 0x00008884
  3506. GL_FLOAT_R32_NV* = 0x00008885
  3507. GL_FLOAT_RG16_NV* = 0x00008886
  3508. GL_FLOAT_RG32_NV* = 0x00008887
  3509. GL_FLOAT_RGB16_NV* = 0x00008888
  3510. GL_FLOAT_RGB32_NV* = 0x00008889
  3511. GL_FLOAT_RGBA16_NV* = 0x0000888A
  3512. GL_FLOAT_RGBA32_NV* = 0x0000888B
  3513. GL_TEXTURE_FLOAT_COMPONENTS_NV* = 0x0000888C
  3514. GL_FLOAT_CLEAR_COLOR_VALUE_NV* = 0x0000888D
  3515. GL_FLOAT_RGBA_MODE_NV* = 0x0000888E
  3516. #***** GL_NV_fragment_program *****//
  3517. const
  3518. GL_FRAGMENT_PROGRAM_NV* = 0x00008870
  3519. GL_MAX_TEXTURE_COORDS_NV* = 0x00008871
  3520. GL_MAX_TEXTURE_IMAGE_UNITS_NV* = 0x00008872
  3521. GL_FRAGMENT_PROGRAM_BINDING_NV* = 0x00008873
  3522. GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV* = 0x00008868
  3523. GL_PROGRAM_ERROR_STRING_NV* = 0x00008874
  3524. proc glProgramNamedParameter4fNV*(id: TGLuint, length: TGLsizei, name: PGLubyte,
  3525. x: TGLfloat, y: TGLfloat, z: TGLfloat,
  3526. w: TGLfloat){.dynlib: dllname,
  3527. importc: "glProgramNamedParameter4fNV".}
  3528. proc glProgramNamedParameter4dNV*(id: TGLuint, length: TGLsizei, name: PGLubyte,
  3529. x: TGLdouble, y: TGLdouble, z: TGLdouble,
  3530. w: TGLdouble){.dynlib: dllname,
  3531. importc: "glProgramNamedParameter4dNV".}
  3532. proc glGetProgramNamedParameterfvNV*(id: TGLuint, length: TGLsizei,
  3533. name: PGLubyte, params: PGLfloat){.
  3534. dynlib: dllname, importc: "glGetProgramNamedParameterfvNV".}
  3535. proc glGetProgramNamedParameterdvNV*(id: TGLuint, length: TGLsizei,
  3536. name: PGLubyte, params: PGLdouble){.
  3537. dynlib: dllname, importc: "glGetProgramNamedParameterdvNV".}
  3538. # glProgramLocalParameter4dARB { already defined }
  3539. # glProgramLocalParameter4dvARB { already defined }
  3540. # glProgramLocalParameter4fARB { already defined }
  3541. # glProgramLocalParameter4fvARB { already defined }
  3542. # glGetProgramLocalParameterdvARB { already defined }
  3543. # glGetProgramLocalParameterfvARB { already defined }
  3544. #***** GL_NV_primitive_restart *****//
  3545. const
  3546. constGL_PRIMITIVE_RESTART_NV* = 0x00008558
  3547. constGL_PRIMITIVE_RESTART_INDEX_NV* = 0x00008559
  3548. proc glPrimitiveRestartNV*(){.dynlib: dllname, importc: "glPrimitiveRestartNV".}
  3549. proc glPrimitiveRestartIndexNV*(index: TGLuint){.dynlib: dllname,
  3550. importc: "glPrimitiveRestartIndexNV".}
  3551. #***** GL_NV_vertex_program2 *****//
  3552. #***** GL_NV_pixel_data_range *****//
  3553. const
  3554. GL_WRITE_PIXEL_DATA_RANGE_NV* = 0x00008878
  3555. GL_READ_PIXEL_DATA_RANGE_NV* = 0x00008879
  3556. GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV* = 0x0000887A
  3557. GL_READ_PIXEL_DATA_RANGE_LENGTH_NV* = 0x0000887B
  3558. GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV* = 0x0000887C
  3559. GL_READ_PIXEL_DATA_RANGE_POINTER_NV* = 0x0000887D
  3560. proc glPixelDataRangeNV*(target: TGLenum, len: TGLsizei, pointer: PGLvoid){.
  3561. dynlib: dllname, importc: "glPixelDataRangeNV".}
  3562. proc glFlushPixelDataRangeNV*(target: TGLenum){.dynlib: dllname,
  3563. importc: "glFlushPixelDataRangeNV".}
  3564. # wglAllocateMemoryNV { already defined }
  3565. # wglFreeMemoryNV { already defined }
  3566. #***** GL_EXT_texture_rectangle *****//
  3567. const
  3568. GL_TEXTURE_RECTANGLE_EXT* = 0x000084F5
  3569. GL_TEXTURE_BINDING_RECTANGLE_EXT* = 0x000084F6
  3570. GL_PROXY_TEXTURE_RECTANGLE_EXT* = 0x000084F7
  3571. GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT* = 0x000084F8
  3572. #***** GL_S3_s3tc *****//
  3573. const
  3574. GL_RGB_S3TC* = 0x000083A0
  3575. GL_RGB4_S3TC* = 0x000083A1
  3576. GL_RGBA_S3TC* = 0x000083A2
  3577. GL_RGBA4_S3TC* = 0x000083A3
  3578. #***** GL_ATI_draw_buffers *****//
  3579. const
  3580. GL_MAX_DRAW_BUFFERS_ATI* = 0x00008824
  3581. GL_DRAW_BUFFER0_ATI* = 0x00008825
  3582. GL_DRAW_BUFFER1_ATI* = 0x00008826
  3583. GL_DRAW_BUFFER2_ATI* = 0x00008827
  3584. GL_DRAW_BUFFER3_ATI* = 0x00008828
  3585. GL_DRAW_BUFFER4_ATI* = 0x00008829
  3586. GL_DRAW_BUFFER5_ATI* = 0x0000882A
  3587. GL_DRAW_BUFFER6_ATI* = 0x0000882B
  3588. GL_DRAW_BUFFER7_ATI* = 0x0000882C
  3589. GL_DRAW_BUFFER8_ATI* = 0x0000882D
  3590. GL_DRAW_BUFFER9_ATI* = 0x0000882E
  3591. GL_DRAW_BUFFER10_ATI* = 0x0000882F
  3592. GL_DRAW_BUFFER11_ATI* = 0x00008830
  3593. GL_DRAW_BUFFER12_ATI* = 0x00008831
  3594. GL_DRAW_BUFFER13_ATI* = 0x00008832
  3595. GL_DRAW_BUFFER14_ATI* = 0x00008833
  3596. GL_DRAW_BUFFER15_ATI* = 0x00008834
  3597. proc glDrawBuffersATI*(n: TGLsizei, bufs: PGLenum){.dynlib: dllname,
  3598. importc: "glDrawBuffersATI".}
  3599. #***** GL_ATI_texture_env_combine3 *****//
  3600. const
  3601. GL_MODULATE_ADD_ATI* = 0x00008744
  3602. GL_MODULATE_SIGNED_ADD_ATI* = 0x00008745
  3603. GL_MODULATE_SUBTRACT_ATI* = 0x00008746
  3604. #***** GL_ATI_texture_float *****//
  3605. const
  3606. GL_RGBA_FLOAT32_ATI* = 0x00008814
  3607. GL_RGB_FLOAT32_ATI* = 0x00008815
  3608. GL_ALPHA_FLOAT32_ATI* = 0x00008816
  3609. GL_INTENSITY_FLOAT32_ATI* = 0x00008817
  3610. GL_LUMINANCE_FLOAT32_ATI* = 0x00008818
  3611. GL_LUMINANCE_ALPHA_FLOAT32_ATI* = 0x00008819
  3612. GL_RGBA_FLOAT16_ATI* = 0x0000881A
  3613. GL_RGB_FLOAT16_ATI* = 0x0000881B
  3614. GL_ALPHA_FLOAT16_ATI* = 0x0000881C
  3615. GL_INTENSITY_FLOAT16_ATI* = 0x0000881D
  3616. GL_LUMINANCE_FLOAT16_ATI* = 0x0000881E
  3617. GL_LUMINANCE_ALPHA_FLOAT16_ATI* = 0x0000881F
  3618. #***** GL_NV_texture_expand_normal *****//
  3619. const
  3620. GL_TEXTURE_UNSIGNED_REMAP_MODE_NV* = 0x0000888F
  3621. #***** GL_NV_half_float *****//
  3622. const
  3623. GL_HALF_FLOAT_NV* = 0x0000140B
  3624. proc glVertex2hNV*(x: TGLushort, y: TGLushort){.dynlib: dllname,
  3625. importc: "glVertex2hNV".}
  3626. proc glVertex2hvNV*(v: PGLushort){.dynlib: dllname, importc: "glVertex2hvNV".}
  3627. proc glVertex3hNV*(x: TGLushort, y: TGLushort, z: TGLushort){.dynlib: dllname,
  3628. importc: "glVertex3hNV".}
  3629. proc glVertex3hvNV*(v: PGLushort){.dynlib: dllname, importc: "glVertex3hvNV".}
  3630. proc glVertex4hNV*(x: TGLushort, y: TGLushort, z: TGLushort, w: TGLushort){.
  3631. dynlib: dllname, importc: "glVertex4hNV".}
  3632. proc glVertex4hvNV*(v: PGLushort){.dynlib: dllname, importc: "glVertex4hvNV".}
  3633. proc glNormal3hNV*(nx: TGLushort, ny: TGLushort, nz: TGLushort){.
  3634. dynlib: dllname, importc: "glNormal3hNV".}
  3635. proc glNormal3hvNV*(v: PGLushort){.dynlib: dllname, importc: "glNormal3hvNV".}
  3636. proc glColor3hNV*(red: TGLushort, green: TGLushort, blue: TGLushort){.
  3637. dynlib: dllname, importc: "glColor3hNV".}
  3638. proc glColor3hvNV*(v: PGLushort){.dynlib: dllname, importc: "glColor3hvNV".}
  3639. proc glColor4hNV*(red: TGLushort, green: TGLushort, blue: TGLushort,
  3640. alpha: TGLushort){.dynlib: dllname, importc: "glColor4hNV".}
  3641. proc glColor4hvNV*(v: PGLushort){.dynlib: dllname, importc: "glColor4hvNV".}
  3642. proc glTexCoord1hNV*(s: TGLushort){.dynlib: dllname, importc: "glTexCoord1hNV".}
  3643. proc glTexCoord1hvNV*(v: PGLushort){.dynlib: dllname, importc: "glTexCoord1hvNV".}
  3644. proc glTexCoord2hNV*(s: TGLushort, t: TGLushort){.dynlib: dllname,
  3645. importc: "glTexCoord2hNV".}
  3646. proc glTexCoord2hvNV*(v: PGLushort){.dynlib: dllname, importc: "glTexCoord2hvNV".}
  3647. proc glTexCoord3hNV*(s: TGLushort, t: TGLushort, r: TGLushort){.dynlib: dllname,
  3648. importc: "glTexCoord3hNV".}
  3649. proc glTexCoord3hvNV*(v: PGLushort){.dynlib: dllname, importc: "glTexCoord3hvNV".}
  3650. proc glTexCoord4hNV*(s: TGLushort, t: TGLushort, r: TGLushort, q: TGLushort){.
  3651. dynlib: dllname, importc: "glTexCoord4hNV".}
  3652. proc glTexCoord4hvNV*(v: PGLushort){.dynlib: dllname, importc: "glTexCoord4hvNV".}
  3653. proc glMultiTexCoord1hNV*(target: TGLenum, s: TGLushort){.dynlib: dllname,
  3654. importc: "glMultiTexCoord1hNV".}
  3655. proc glMultiTexCoord1hvNV*(target: TGLenum, v: PGLushort){.dynlib: dllname,
  3656. importc: "glMultiTexCoord1hvNV".}
  3657. proc glMultiTexCoord2hNV*(target: TGLenum, s: TGLushort, t: TGLushort){.
  3658. dynlib: dllname, importc: "glMultiTexCoord2hNV".}
  3659. proc glMultiTexCoord2hvNV*(target: TGLenum, v: PGLushort){.dynlib: dllname,
  3660. importc: "glMultiTexCoord2hvNV".}
  3661. proc glMultiTexCoord3hNV*(target: TGLenum, s: TGLushort, t: TGLushort,
  3662. r: TGLushort){.dynlib: dllname,
  3663. importc: "glMultiTexCoord3hNV".}
  3664. proc glMultiTexCoord3hvNV*(target: TGLenum, v: PGLushort){.dynlib: dllname,
  3665. importc: "glMultiTexCoord3hvNV".}
  3666. proc glMultiTexCoord4hNV*(target: TGLenum, s: TGLushort, t: TGLushort,
  3667. r: TGLushort, q: TGLushort){.dynlib: dllname,
  3668. importc: "glMultiTexCoord4hNV".}
  3669. proc glMultiTexCoord4hvNV*(target: TGLenum, v: PGLushort){.dynlib: dllname,
  3670. importc: "glMultiTexCoord4hvNV".}
  3671. proc glFogCoordhNV*(fog: TGLushort){.dynlib: dllname, importc: "glFogCoordhNV".}
  3672. proc glFogCoordhvNV*(fog: PGLushort){.dynlib: dllname, importc: "glFogCoordhvNV".}
  3673. proc glSecondaryColor3hNV*(red: TGLushort, green: TGLushort, blue: TGLushort){.
  3674. dynlib: dllname, importc: "glSecondaryColor3hNV".}
  3675. proc glSecondaryColor3hvNV*(v: PGLushort){.dynlib: dllname,
  3676. importc: "glSecondaryColor3hvNV".}
  3677. proc glVertexWeighthNV*(weight: TGLushort){.dynlib: dllname,
  3678. importc: "glVertexWeighthNV".}
  3679. proc glVertexWeighthvNV*(weight: PGLushort){.dynlib: dllname,
  3680. importc: "glVertexWeighthvNV".}
  3681. proc glVertexAttrib1hNV*(index: TGLuint, x: TGLushort){.dynlib: dllname,
  3682. importc: "glVertexAttrib1hNV".}
  3683. proc glVertexAttrib1hvNV*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  3684. importc: "glVertexAttrib1hvNV".}
  3685. proc glVertexAttrib2hNV*(index: TGLuint, x: TGLushort, y: TGLushort){.
  3686. dynlib: dllname, importc: "glVertexAttrib2hNV".}
  3687. proc glVertexAttrib2hvNV*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  3688. importc: "glVertexAttrib2hvNV".}
  3689. proc glVertexAttrib3hNV*(index: TGLuint, x: TGLushort, y: TGLushort,
  3690. z: TGLushort){.dynlib: dllname,
  3691. importc: "glVertexAttrib3hNV".}
  3692. proc glVertexAttrib3hvNV*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  3693. importc: "glVertexAttrib3hvNV".}
  3694. proc glVertexAttrib4hNV*(index: TGLuint, x: TGLushort, y: TGLushort,
  3695. z: TGLushort, w: TGLushort){.dynlib: dllname,
  3696. importc: "glVertexAttrib4hNV".}
  3697. proc glVertexAttrib4hvNV*(index: TGLuint, v: PGLushort){.dynlib: dllname,
  3698. importc: "glVertexAttrib4hvNV".}
  3699. proc glVertexAttribs1hvNV*(index: TGLuint, n: TGLsizei, v: PGLushort){.
  3700. dynlib: dllname, importc: "glVertexAttribs1hvNV".}
  3701. proc glVertexAttribs2hvNV*(index: TGLuint, n: TGLsizei, v: PGLushort){.
  3702. dynlib: dllname, importc: "glVertexAttribs2hvNV".}
  3703. proc glVertexAttribs3hvNV*(index: TGLuint, n: TGLsizei, v: PGLushort){.
  3704. dynlib: dllname, importc: "glVertexAttribs3hvNV".}
  3705. proc glVertexAttribs4hvNV*(index: TGLuint, n: TGLsizei, v: PGLushort){.
  3706. dynlib: dllname, importc: "glVertexAttribs4hvNV".}
  3707. #***** GL_ATI_map_object_buffer *****//
  3708. proc glMapObjectBufferATI*(buffer: TGLuint): PGLvoid{.dynlib: dllname,
  3709. importc: "glMapObjectBufferATI".}
  3710. proc glUnmapObjectBufferATI*(buffer: TGLuint){.dynlib: dllname,
  3711. importc: "glUnmapObjectBufferATI".}
  3712. #***** GL_ATI_separate_stencil *****//
  3713. const
  3714. GL_KEEP* = 0x00001E00
  3715. GL_ZERO* = 0x00000000
  3716. GL_REPLACE* = 0x00001E01
  3717. GL_INCR* = 0x00001E02
  3718. GL_DECR* = 0x00001E03
  3719. GL_INVERT* = 0x0000150A
  3720. GL_NEVER* = 0x00000200
  3721. GL_LESS* = 0x00000201
  3722. GL_LEQUAL* = 0x00000203
  3723. GL_GREATER* = 0x00000204
  3724. GL_GEQUAL* = 0x00000206
  3725. GL_EQUAL* = 0x00000202
  3726. GL_NOTEQUAL* = 0x00000205
  3727. GL_ALWAYS* = 0x00000207
  3728. GL_FRONT* = 0x00000404
  3729. GL_BACK* = 0x00000405
  3730. GL_FRONT_AND_BACK* = 0x00000408
  3731. GL_STENCIL_BACK_FUNC_ATI* = 0x00008800
  3732. GL_STENCIL_BACK_FAIL_ATI* = 0x00008801
  3733. GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI* = 0x00008802
  3734. GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI* = 0x00008803
  3735. proc glStencilOpSeparateATI*(face: TGLenum, sfail: TGLenum, dpfail: TGLenum,
  3736. dppass: TGLenum){.dynlib: dllname,
  3737. importc: "glStencilOpSeparateATI".}
  3738. proc glStencilFuncSeparateATI*(frontfunc: TGLenum, backfunc: TGLenum,
  3739. theRef: TGLint, mask: TGLuint){.dynlib: dllname,
  3740. importc: "glStencilFuncSeparateATI".}
  3741. #***** GL_ATI_vertex_attrib_array_object *****//
  3742. proc glVertexAttribArrayObjectATI*(index: TGLuint, size: TGLint,
  3743. thetype: TGLenum, normalized: TGLboolean,
  3744. stride: TGLsizei, buffer: TGLuint,
  3745. offset: TGLuint){.dynlib: dllname,
  3746. importc: "glVertexAttribArrayObjectATI".}
  3747. proc glGetVertexAttribArrayObjectfvATI*(index: TGLuint, pname: TGLenum,
  3748. params: PGLfloat){.dynlib: dllname,
  3749. importc: "glGetVertexAttribArrayObjectfvATI".}
  3750. proc glGetVertexAttribArrayObjectivATI*(index: TGLuint, pname: TGLenum,
  3751. params: PGLint){.dynlib: dllname,
  3752. importc: "glGetVertexAttribArrayObjectivATI".}
  3753. #***** GL_ARB_occlusion_query *****//
  3754. const
  3755. GL_SAMPLES_PASSED_ARB* = 0x00008914
  3756. GL_QUERY_COUNTER_BITS_ARB* = 0x00008864
  3757. GL_CURRENT_QUERY_ARB* = 0x00008865
  3758. GL_QUERY_RESULT_ARB* = 0x00008866
  3759. GL_QUERY_RESULT_AVAILABLE_ARB* = 0x00008867
  3760. proc glGenQueriesARB*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  3761. importc: "glGenQueriesARB".}
  3762. proc glDeleteQueriesARB*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  3763. importc: "glDeleteQueriesARB".}
  3764. proc glIsQueryARB*(id: TGLuint): TGLboolean{.dynlib: dllname,
  3765. importc: "glIsQueryARB".}
  3766. proc glBeginQueryARB*(target: TGLenum, id: TGLuint){.dynlib: dllname,
  3767. importc: "glBeginQueryARB".}
  3768. proc glEndQueryARB*(target: TGLenum){.dynlib: dllname, importc: "glEndQueryARB".}
  3769. proc glGetQueryivARB*(target: TGLenum, pname: TGLenum, params: PGLint){.
  3770. dynlib: dllname, importc: "glGetQueryivARB".}
  3771. proc glGetQueryObjectivARB*(id: TGLuint, pname: TGLenum, params: PGLint){.
  3772. dynlib: dllname, importc: "glGetQueryObjectivARB".}
  3773. proc glGetQueryObjectuivARB*(id: TGLuint, pname: TGLenum, params: PGLuint){.
  3774. dynlib: dllname, importc: "glGetQueryObjectuivARB".}
  3775. #***** GL_ARB_shader_objects *****//
  3776. const
  3777. GL_PROGRAM_OBJECT_ARB* = 0x00008B40
  3778. GL_OBJECT_TYPE_ARB* = 0x00008B4E
  3779. GL_OBJECT_SUBTYPE_ARB* = 0x00008B4F
  3780. GL_OBJECT_DELETE_STATUS_ARB* = 0x00008B80
  3781. GL_OBJECT_COMPILE_STATUS_ARB* = 0x00008B81
  3782. GL_OBJECT_LINK_STATUS_ARB* = 0x00008B82
  3783. GL_OBJECT_VALIDATE_STATUS_ARB* = 0x00008B83
  3784. GL_OBJECT_INFO_LOG_LENGTH_ARB* = 0x00008B84
  3785. GL_OBJECT_ATTACHED_OBJECTS_ARB* = 0x00008B85
  3786. GL_OBJECT_ACTIVE_UNIFORMS_ARB* = 0x00008B86
  3787. GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB* = 0x00008B87
  3788. GL_OBJECT_SHADER_SOURCE_LENGTH_ARB* = 0x00008B88
  3789. GL_SHADER_OBJECT_ARB* = 0x00008B48
  3790. GL_FLOAT* = 0x00001406
  3791. GL_FLOAT_VEC2_ARB* = 0x00008B50
  3792. GL_FLOAT_VEC3_ARB* = 0x00008B51
  3793. GL_FLOAT_VEC4_ARB* = 0x00008B52
  3794. GL_INT* = 0x00001404
  3795. GL_INT_VEC2_ARB* = 0x00008B53
  3796. GL_INT_VEC3_ARB* = 0x00008B54
  3797. GL_INT_VEC4_ARB* = 0x00008B55
  3798. GL_BOOL_ARB* = 0x00008B56
  3799. GL_BOOL_VEC2_ARB* = 0x00008B57
  3800. GL_BOOL_VEC3_ARB* = 0x00008B58
  3801. GL_BOOL_VEC4_ARB* = 0x00008B59
  3802. GL_FLOAT_MAT2_ARB* = 0x00008B5A
  3803. GL_FLOAT_MAT3_ARB* = 0x00008B5B
  3804. GL_FLOAT_MAT4_ARB* = 0x00008B5C
  3805. proc glDeleteObjectARB*(obj: GLhandleARB){.dynlib: dllname,
  3806. importc: "glDeleteObjectARB".}
  3807. proc glGetHandleARB*(pname: TGLenum): GLhandleARB{.dynlib: dllname,
  3808. importc: "glGetHandleARB".}
  3809. proc glDetachObjectARB*(containerObj: GLhandleARB, attachedObj: GLhandleARB){.
  3810. dynlib: dllname, importc: "glDetachObjectARB".}
  3811. proc glCreateShaderObjectARB*(shaderType: TGLenum): GLhandleARB{.
  3812. dynlib: dllname, importc: "glCreateShaderObjectARB".}
  3813. proc glShaderSourceARB*(shaderObj: GLhandleARB, count: TGLsizei, str: PGLvoid,
  3814. len: PGLint){.dynlib: dllname,
  3815. importc: "glShaderSourceARB".}
  3816. proc glCompileShaderARB*(shaderObj: GLhandleARB){.dynlib: dllname,
  3817. importc: "glCompileShaderARB".}
  3818. proc glCreateProgramObjectARB*(): GLhandleARB{.dynlib: dllname,
  3819. importc: "glCreateProgramObjectARB".}
  3820. proc glAttachObjectARB*(containerObj: GLhandleARB, obj: GLhandleARB){.
  3821. dynlib: dllname, importc: "glAttachObjectARB".}
  3822. proc glLinkProgramARB*(programObj: GLhandleARB){.dynlib: dllname,
  3823. importc: "glLinkProgramARB".}
  3824. proc glUseProgramObjectARB*(programObj: GLhandleARB){.dynlib: dllname,
  3825. importc: "glUseProgramObjectARB".}
  3826. proc glValidateProgramARB*(programObj: GLhandleARB){.dynlib: dllname,
  3827. importc: "glValidateProgramARB".}
  3828. proc glUniform1fARB*(location: TGLint, v0: TGLfloat){.dynlib: dllname,
  3829. importc: "glUniform1fARB".}
  3830. proc glUniform2fARB*(location: TGLint, v0: TGLfloat, v1: TGLfloat){.
  3831. dynlib: dllname, importc: "glUniform2fARB".}
  3832. proc glUniform3fARB*(location: TGLint, v0: TGLfloat, v1: TGLfloat, v2: TGLfloat){.
  3833. dynlib: dllname, importc: "glUniform3fARB".}
  3834. proc glUniform4fARB*(location: TGLint, v0: TGLfloat, v1: TGLfloat, v2: TGLfloat,
  3835. v3: TGLfloat){.dynlib: dllname, importc: "glUniform4fARB".}
  3836. proc glUniform1iARB*(location: TGLint, v0: TGLint){.dynlib: dllname,
  3837. importc: "glUniform1iARB".}
  3838. proc glUniform2iARB*(location: TGLint, v0: TGLint, v1: TGLint){.dynlib: dllname,
  3839. importc: "glUniform2iARB".}
  3840. proc glUniform3iARB*(location: TGLint, v0: TGLint, v1: TGLint, v2: TGLint){.
  3841. dynlib: dllname, importc: "glUniform3iARB".}
  3842. proc glUniform4iARB*(location: TGLint, v0: TGLint, v1: TGLint, v2: TGLint,
  3843. v3: TGLint){.dynlib: dllname, importc: "glUniform4iARB".}
  3844. proc glUniform1fvARB*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  3845. dynlib: dllname, importc: "glUniform1fvARB".}
  3846. proc glUniform2fvARB*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  3847. dynlib: dllname, importc: "glUniform2fvARB".}
  3848. proc glUniform3fvARB*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  3849. dynlib: dllname, importc: "glUniform3fvARB".}
  3850. proc glUniform4fvARB*(location: TGLint, count: TGLsizei, value: PGLfloat){.
  3851. dynlib: dllname, importc: "glUniform4fvARB".}
  3852. proc glUniform1ivARB*(location: TGLint, count: TGLsizei, value: PGLint){.
  3853. dynlib: dllname, importc: "glUniform1ivARB".}
  3854. proc glUniform2ivARB*(location: TGLint, count: TGLsizei, value: PGLint){.
  3855. dynlib: dllname, importc: "glUniform2ivARB".}
  3856. proc glUniform3ivARB*(location: TGLint, count: TGLsizei, value: PGLint){.
  3857. dynlib: dllname, importc: "glUniform3ivARB".}
  3858. proc glUniform4ivARB*(location: TGLint, count: TGLsizei, value: PGLint){.
  3859. dynlib: dllname, importc: "glUniform4ivARB".}
  3860. proc glUniformMatrix2fvARB*(location: TGLint, count: TGLsizei,
  3861. transpose: TGLboolean, value: PGLfloat){.
  3862. dynlib: dllname, importc: "glUniformMatrix2fvARB".}
  3863. proc glUniformMatrix3fvARB*(location: TGLint, count: TGLsizei,
  3864. transpose: TGLboolean, value: PGLfloat){.
  3865. dynlib: dllname, importc: "glUniformMatrix3fvARB".}
  3866. proc glUniformMatrix4fvARB*(location: TGLint, count: TGLsizei,
  3867. transpose: TGLboolean, value: PGLfloat){.
  3868. dynlib: dllname, importc: "glUniformMatrix4fvARB".}
  3869. proc glGetObjectParameterfvARB*(obj: GLhandleARB, pname: TGLenum,
  3870. params: PGLfloat){.dynlib: dllname,
  3871. importc: "glGetObjectParameterfvARB".}
  3872. proc glGetObjectParameterivARB*(obj: GLhandleARB, pname: TGLenum, params: PGLint){.
  3873. dynlib: dllname, importc: "glGetObjectParameterivARB".}
  3874. proc glGetInfoLogARB*(obj: GLhandleARB, maxLength: TGLsizei, len: PGLsizei,
  3875. infoLog: PGLcharARB){.dynlib: dllname,
  3876. importc: "glGetInfoLogARB".}
  3877. proc glGetAttachedObjectsARB*(containerObj: GLhandleARB, maxCount: TGLsizei,
  3878. count: PGLsizei, obj: PGLhandleARB){.
  3879. dynlib: dllname, importc: "glGetAttachedObjectsARB".}
  3880. proc glGetUniformLocationARB*(programObj: GLhandleARB, name: PGLcharARB): TGLint{.
  3881. dynlib: dllname, importc: "glGetUniformLocationARB".}
  3882. proc glGetActiveUniformARB*(programObj: GLhandleARB, index: TGLuint,
  3883. maxLength: TGLsizei, len: PGLsizei, size: PGLint,
  3884. thetype: PGLenum, name: PGLcharARB){.
  3885. dynlib: dllname, importc: "glGetActiveUniformARB".}
  3886. proc glGetUniformfvARB*(programObj: GLhandleARB, location: TGLint,
  3887. params: PGLfloat){.dynlib: dllname,
  3888. importc: "glGetUniformfvARB".}
  3889. proc glGetUniformivARB*(programObj: GLhandleARB, location: TGLint,
  3890. params: PGLint){.dynlib: dllname,
  3891. importc: "glGetUniformivARB".}
  3892. proc glGetShaderSourceARB*(obj: GLhandleARB, maxLength: TGLsizei, len: PGLsizei,
  3893. source: PGLcharARB){.dynlib: dllname,
  3894. importc: "glGetShaderSourceARB".}
  3895. const
  3896. GL_VERTEX_SHADER_ARB* = 0x00008B31
  3897. GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB* = 0x00008B4A
  3898. GL_MAX_VARYING_FLOATS_ARB* = 0x00008B4B # GL_MAX_VERTEX_ATTRIBS_ARB { already defined }
  3899. # GL_MAX_TEXTURE_IMAGE_UNITS_ARB { already defined }
  3900. GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB* = 0x00008B4C
  3901. GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB* = 0x00008B4D #
  3902. #
  3903. # GL_MAX_TEXTURE_COORDS_ARB { already defined }
  3904. #
  3905. #
  3906. # GL_VERTEX_PROGRAM_POINT_SIZE_ARB { already defined }
  3907. #
  3908. #
  3909. # GL_VERTEX_PROGRAM_TWO_SIDE_ARB { already defined }
  3910. # GL_OBJECT_TYPE_ARB { already defined }
  3911. # GL_OBJECT_SUBTYPE_ARB { already defined }
  3912. GL_OBJECT_ACTIVE_ATTRIBUTES_ARB* = 0x00008B89
  3913. GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB* = 0x00008B8A # GL_SHADER_OBJECT_ARB { already defined }
  3914. #
  3915. #
  3916. # GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB { already defined }
  3917. #
  3918. #
  3919. # GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB { already defined }
  3920. #
  3921. #
  3922. # GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB { already defined }
  3923. #
  3924. #
  3925. # GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB { already defined }
  3926. #
  3927. #
  3928. # GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB { already defined }
  3929. #
  3930. #
  3931. # GL_CURRENT_VERTEX_ATTRIB_ARB { already defined }
  3932. #
  3933. #
  3934. # GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB { already defined }
  3935. # GL_FLOAT { already defined }
  3936. # GL_FLOAT_VEC2_ARB { already defined }
  3937. # GL_FLOAT_VEC3_ARB { already defined }
  3938. # GL_FLOAT_VEC4_ARB { already defined }
  3939. # GL_FLOAT_MAT2_ARB { already defined }
  3940. # GL_FLOAT_MAT3_ARB { already defined }
  3941. # GL_FLOAT_MAT4_ARB { already defined }
  3942. # glVertexAttrib1fARB { already defined }
  3943. # glVertexAttrib1sARB { already defined }
  3944. # glVertexAttrib1dARB { already defined }
  3945. # glVertexAttrib2fARB { already defined }
  3946. # glVertexAttrib2sARB { already defined }
  3947. # glVertexAttrib2dARB { already defined }
  3948. # glVertexAttrib3fARB { already defined }
  3949. # glVertexAttrib3sARB { already defined }
  3950. # glVertexAttrib3dARB { already defined }
  3951. # glVertexAttrib4fARB { already defined }
  3952. # glVertexAttrib4sARB { already defined }
  3953. # glVertexAttrib4dARB { already defined }
  3954. # glVertexAttrib4NubARB { already defined }
  3955. # glVertexAttrib1fvARB { already defined }
  3956. # glVertexAttrib1svARB { already defined }
  3957. # glVertexAttrib1dvARB { already defined }
  3958. # glVertexAttrib2fvARB { already defined }
  3959. # glVertexAttrib2svARB { already defined }
  3960. # glVertexAttrib2dvARB { already defined }
  3961. # glVertexAttrib3fvARB { already defined }
  3962. # glVertexAttrib3svARB { already defined }
  3963. # glVertexAttrib3dvARB { already defined }
  3964. # glVertexAttrib4fvARB { already defined }
  3965. # glVertexAttrib4svARB { already defined }
  3966. # glVertexAttrib4dvARB { already defined }
  3967. # glVertexAttrib4ivARB { already defined }
  3968. # glVertexAttrib4bvARB { already defined }
  3969. # glVertexAttrib4ubvARB { already defined }
  3970. # glVertexAttrib4usvARB { already defined }
  3971. # glVertexAttrib4uivARB { already defined }
  3972. # glVertexAttrib4NbvARB { already defined }
  3973. # glVertexAttrib4NsvARB { already defined }
  3974. # glVertexAttrib4NivARB { already defined }
  3975. # glVertexAttrib4NubvARB { already defined }
  3976. # glVertexAttrib4NusvARB { already defined }
  3977. # glVertexAttrib4NuivARB { already defined }
  3978. #
  3979. #
  3980. # glVertexAttribPointerARB { already defined }
  3981. #
  3982. #
  3983. # glEnableVertexAttribArrayARB { already defined }
  3984. #
  3985. #
  3986. # glDisableVertexAttribArrayARB { already defined }
  3987. proc glBindAttribLocationARB*(programObj: GLhandleARB, index: TGLuint,
  3988. name: PGLcharARB){.dynlib: dllname,
  3989. importc: "glBindAttribLocationARB".}
  3990. proc glGetActiveAttribARB*(programObj: GLhandleARB, index: TGLuint,
  3991. maxLength: TGLsizei, len: PGLsizei, size: PGLint,
  3992. thetype: PGLenum, name: PGLcharARB){.dynlib: dllname,
  3993. importc: "glGetActiveAttribARB".}
  3994. proc glGetAttribLocationARB*(programObj: GLhandleARB, name: PGLcharARB): TGLint{.
  3995. dynlib: dllname, importc: "glGetAttribLocationARB".}
  3996. # glGetVertexAttribdvARB { already defined }
  3997. # glGetVertexAttribfvARB { already defined }
  3998. # glGetVertexAttribivARB { already defined }
  3999. # glGetVertexAttribPointervARB { already defined }
  4000. #***** GL_ARB_fragment_shader *****//
  4001. const
  4002. GL_FRAGMENT_SHADER_ARB* = 0x00008B30
  4003. GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB* = 0x00008B49 # GL_MAX_TEXTURE_COORDS_ARB { already defined }
  4004. #
  4005. #
  4006. # GL_MAX_TEXTURE_IMAGE_UNITS_ARB { already defined }
  4007. # GL_OBJECT_TYPE_ARB { already defined }
  4008. # GL_OBJECT_SUBTYPE_ARB { already defined }
  4009. # GL_SHADER_OBJECT_ARB { already defined }
  4010. #***** GL_ARB_shading_language_100 *****//
  4011. #***** GL_ARB_texture_non_power_of_two *****//
  4012. #***** GL_ARB_point_sprite *****//
  4013. const
  4014. GL_POINT_SPRITE_ARB* = 0x00008861
  4015. GL_COORD_REPLACE_ARB* = 0x00008862
  4016. #***** GL_EXT_depth_bounds_test *****//
  4017. const
  4018. constGL_DEPTH_BOUNDS_TEST_EXT* = 0x00008890
  4019. constGL_DEPTH_BOUNDS_EXT* = 0x00008891
  4020. proc glDepthBoundsEXT*(zmin: TGLclampd, zmax: TGLclampd){.dynlib: dllname,
  4021. importc: "glDepthBoundsEXT".}
  4022. #***** GL_EXT_texture_mirror_clamp *****//
  4023. const
  4024. GL_MIRROR_CLAMP_EXT* = 0x00008742
  4025. GL_MIRROR_CLAMP_TO_EDGE_EXT* = 0x00008743
  4026. GL_MIRROR_CLAMP_TO_BORDER_EXT* = 0x00008912
  4027. #***** GL_EXT_blend_equation_separate *****//
  4028. const
  4029. GL_BLEND_EQUATION_RGB_EXT* = 0x00008009
  4030. GL_BLEND_EQUATION_ALPHA_EXT* = 0x0000883D
  4031. proc glBlendEquationSeparateEXT*(modeRGB: TGLenum, modeAlpha: TGLenum){.
  4032. dynlib: dllname, importc: "glBlendEquationSeparateEXT".}
  4033. #***** GL_MESA_pack_invert *****//
  4034. const
  4035. GL_PACK_INVERT_MESA* = 0x00008758
  4036. #***** GL_MESA_ycbcr_texture *****//
  4037. const
  4038. GL_YCBCR_MESA* = 0x00008757
  4039. GL_UNSIGNED_SHORT_8_8_MESA* = 0x000085BA
  4040. GL_UNSIGNED_SHORT_8_8_REV_MESA* = 0x000085BB
  4041. #***** GL_ARB_fragment_program_shadow *****//
  4042. #***** GL_NV_fragment_program_option *****//
  4043. #***** GL_EXT_pixel_buffer_object *****//
  4044. const
  4045. GL_PIXEL_PACK_BUFFER_EXT* = 0x000088EB
  4046. GL_PIXEL_UNPACK_BUFFER_EXT* = 0x000088EC
  4047. GL_PIXEL_PACK_BUFFER_BINDING_EXT* = 0x000088ED
  4048. GL_PIXEL_UNPACK_BUFFER_BINDING_EXT* = 0x000088EF
  4049. #***** GL_NV_fragment_program2 *****//
  4050. const
  4051. GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV* = 0x000088F4
  4052. GL_MAX_PROGRAM_CALL_DEPTH_NV* = 0x000088F5
  4053. GL_MAX_PROGRAM_IF_DEPTH_NV* = 0x000088F6
  4054. GL_MAX_PROGRAM_LOOP_DEPTH_NV* = 0x000088F7
  4055. GL_MAX_PROGRAM_LOOP_COUNT_NV* = 0x000088F8
  4056. #***** GL_NV_vertex_program2_option *****//
  4057. # GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV { already defined }
  4058. # GL_MAX_PROGRAM_CALL_DEPTH_NV { already defined }
  4059. #***** GL_NV_vertex_program3 *****//
  4060. # GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB { already defined }
  4061. #***** GL_ARB_draw_buffers *****//
  4062. const
  4063. GL_MAX_DRAW_BUFFERS_ARB* = 0x00008824
  4064. GL_DRAW_BUFFER0_ARB* = 0x00008825
  4065. GL_DRAW_BUFFER1_ARB* = 0x00008826
  4066. GL_DRAW_BUFFER2_ARB* = 0x00008827
  4067. GL_DRAW_BUFFER3_ARB* = 0x00008828
  4068. GL_DRAW_BUFFER4_ARB* = 0x00008829
  4069. GL_DRAW_BUFFER5_ARB* = 0x0000882A
  4070. GL_DRAW_BUFFER6_ARB* = 0x0000882B
  4071. GL_DRAW_BUFFER7_ARB* = 0x0000882C
  4072. GL_DRAW_BUFFER8_ARB* = 0x0000882D
  4073. GL_DRAW_BUFFER9_ARB* = 0x0000882E
  4074. GL_DRAW_BUFFER10_ARB* = 0x0000882F
  4075. GL_DRAW_BUFFER11_ARB* = 0x00008830
  4076. GL_DRAW_BUFFER12_ARB* = 0x00008831
  4077. GL_DRAW_BUFFER13_ARB* = 0x00008832
  4078. GL_DRAW_BUFFER14_ARB* = 0x00008833
  4079. GL_DRAW_BUFFER15_ARB* = 0x00008834
  4080. proc glDrawBuffersARB*(n: TGLsizei, bufs: PGLenum){.dynlib: dllname,
  4081. importc: "glDrawBuffersARB".}
  4082. #***** GL_ARB_texture_rectangle *****//
  4083. const
  4084. GL_TEXTURE_RECTANGLE_ARB* = 0x000084F5
  4085. GL_TEXTURE_BINDING_RECTANGLE_ARB* = 0x000084F6
  4086. GL_PROXY_TEXTURE_RECTANGLE_ARB* = 0x000084F7
  4087. GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB* = 0x000084F8
  4088. #***** GL_ARB_color_buffer_float *****//
  4089. const
  4090. GL_RGBA_FLOAT_MODE_ARB* = 0x00008820
  4091. GL_CLAMP_VERTEX_COLOR_ARB* = 0x0000891A
  4092. GL_CLAMP_FRAGMENT_COLOR_ARB* = 0x0000891B
  4093. GL_CLAMP_READ_COLOR_ARB* = 0x0000891C
  4094. GL_FIXED_ONLY_ARB* = 0x0000891D
  4095. WGL_TYPE_RGBA_FLOAT_ARB* = 0x000021A0
  4096. proc glClampColorARB*(target: TGLenum, clamp: TGLenum){.dynlib: dllname,
  4097. importc: "glClampColorARB".}
  4098. #***** GL_ARB_half_float_pixel *****//
  4099. const
  4100. GL_HALF_FLOAT_ARB* = 0x0000140B
  4101. #***** GL_ARB_texture_float *****//
  4102. const
  4103. GL_TEXTURE_RED_TYPE_ARB* = 0x00008C10
  4104. GL_TEXTURE_GREEN_TYPE_ARB* = 0x00008C11
  4105. GL_TEXTURE_BLUE_TYPE_ARB* = 0x00008C12
  4106. GL_TEXTURE_ALPHA_TYPE_ARB* = 0x00008C13
  4107. GL_TEXTURE_LUMINANCE_TYPE_ARB* = 0x00008C14
  4108. GL_TEXTURE_INTENSITY_TYPE_ARB* = 0x00008C15
  4109. GL_TEXTURE_DEPTH_TYPE_ARB* = 0x00008C16
  4110. GL_UNSIGNED_NORMALIZED_ARB* = 0x00008C17
  4111. GL_RGBA32F_ARB* = 0x00008814
  4112. GL_RGB32F_ARB* = 0x00008815
  4113. GL_ALPHA32F_ARB* = 0x00008816
  4114. GL_INTENSITY32F_ARB* = 0x00008817
  4115. GL_LUMINANCE32F_ARB* = 0x00008818
  4116. GL_LUMINANCE_ALPHA32F_ARB* = 0x00008819
  4117. GL_RGBA16F_ARB* = 0x0000881A
  4118. GL_RGB16F_ARB* = 0x0000881B
  4119. GL_ALPHA16F_ARB* = 0x0000881C
  4120. GL_INTENSITY16F_ARB* = 0x0000881D
  4121. GL_LUMINANCE16F_ARB* = 0x0000881E
  4122. GL_LUMINANCE_ALPHA16F_ARB* = 0x0000881F
  4123. #***** GL_EXT_texture_compression_dxt1 *****//
  4124. # GL_COMPRESSED_RGB_S3TC_DXT1_EXT { already defined }
  4125. # GL_COMPRESSED_RGBA_S3TC_DXT1_EXT { already defined }
  4126. #***** GL_ARB_pixel_buffer_object *****//
  4127. const
  4128. GL_PIXEL_PACK_BUFFER_ARB* = 0x000088EB
  4129. GL_PIXEL_UNPACK_BUFFER_ARB* = 0x000088EC
  4130. GL_PIXEL_PACK_BUFFER_BINDING_ARB* = 0x000088ED
  4131. GL_PIXEL_UNPACK_BUFFER_BINDING_ARB* = 0x000088EF
  4132. #***** GL_EXT_framebuffer_object *****//
  4133. const
  4134. GL_FRAMEBUFFER_EXT* = 0x00008D40
  4135. GL_RENDERBUFFER_EXT* = 0x00008D41
  4136. GL_STENCIL_INDEX_EXT* = 0x00008D45
  4137. GL_STENCIL_INDEX1_EXT* = 0x00008D46
  4138. GL_STENCIL_INDEX4_EXT* = 0x00008D47
  4139. GL_STENCIL_INDEX8_EXT* = 0x00008D48
  4140. GL_STENCIL_INDEX16_EXT* = 0x00008D49
  4141. GL_RENDERBUFFER_WIDTH_EXT* = 0x00008D42
  4142. GL_RENDERBUFFER_HEIGHT_EXT* = 0x00008D43
  4143. GL_RENDERBUFFER_INTERNAL_FORMAT_EXT* = 0x00008D44
  4144. GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT* = 0x00008CD0
  4145. GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT* = 0x00008CD1
  4146. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT* = 0x00008CD2
  4147. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT* = 0x00008CD3
  4148. GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT* = 0x00008CD4
  4149. GL_COLOR_ATTACHMENT0_EXT* = 0x00008CE0
  4150. GL_COLOR_ATTACHMENT1_EXT* = 0x00008CE1
  4151. GL_COLOR_ATTACHMENT2_EXT* = 0x00008CE2
  4152. GL_COLOR_ATTACHMENT3_EXT* = 0x00008CE3
  4153. GL_COLOR_ATTACHMENT4_EXT* = 0x00008CE4
  4154. GL_COLOR_ATTACHMENT5_EXT* = 0x00008CE5
  4155. GL_COLOR_ATTACHMENT6_EXT* = 0x00008CE6
  4156. GL_COLOR_ATTACHMENT7_EXT* = 0x00008CE7
  4157. GL_COLOR_ATTACHMENT8_EXT* = 0x00008CE8
  4158. GL_COLOR_ATTACHMENT9_EXT* = 0x00008CE9
  4159. GL_COLOR_ATTACHMENT10_EXT* = 0x00008CEA
  4160. GL_COLOR_ATTACHMENT11_EXT* = 0x00008CEB
  4161. GL_COLOR_ATTACHMENT12_EXT* = 0x00008CEC
  4162. GL_COLOR_ATTACHMENT13_EXT* = 0x00008CED
  4163. GL_COLOR_ATTACHMENT14_EXT* = 0x00008CEE
  4164. GL_COLOR_ATTACHMENT15_EXT* = 0x00008CEF
  4165. GL_DEPTH_ATTACHMENT_EXT* = 0x00008D00
  4166. GL_STENCIL_ATTACHMENT_EXT* = 0x00008D20
  4167. GL_FRAMEBUFFER_COMPLETE_EXT* = 0x00008CD5
  4168. GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT* = 0x00008CD6
  4169. GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT* = 0x00008CD7
  4170. GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT* = 0x00008CD8
  4171. GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT* = 0x00008CD9
  4172. GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT* = 0x00008CDA
  4173. GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT* = 0x00008CDB
  4174. GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT* = 0x00008CDC
  4175. GL_FRAMEBUFFER_UNSUPPORTED_EXT* = 0x00008CDD
  4176. GL_FRAMEBUFFER_STATUS_ERROR_EXT* = 0x00008CDE
  4177. GL_FRAMEBUFFER_BINDING_EXT* = 0x00008CA6
  4178. GL_RENDERBUFFER_BINDING_EXT* = 0x00008CA7
  4179. GL_MAX_COLOR_ATTACHMENTS_EXT* = 0x00008CDF
  4180. GL_MAX_RENDERBUFFER_SIZE_EXT* = 0x000084E8
  4181. GL_INVALID_FRAMEBUFFER_OPERATION_EXT* = 0x00000506
  4182. proc glIsRenderbufferEXT*(renderbuffer: TGLuint): TGLboolean{.dynlib: dllname,
  4183. importc: "glIsRenderbufferEXT".}
  4184. proc glBindRenderbufferEXT*(target: TGLenum, renderbuffer: TGLuint){.
  4185. dynlib: dllname, importc: "glBindRenderbufferEXT".}
  4186. proc glDeleteRenderbuffersEXT*(n: TGLsizei, renderbuffers: PGLuint){.
  4187. dynlib: dllname, importc: "glDeleteRenderbuffersEXT".}
  4188. proc glGenRenderbuffersEXT*(n: TGLsizei, renderbuffers: PGLuint){.
  4189. dynlib: dllname, importc: "glGenRenderbuffersEXT".}
  4190. proc glRenderbufferStorageEXT*(target: TGLenum, internalformat: TGLenum,
  4191. width: TGLsizei, height: TGLsizei){.
  4192. dynlib: dllname, importc: "glRenderbufferStorageEXT".}
  4193. proc glGetRenderbufferParameterivEXT*(target: TGLenum, pname: TGLenum,
  4194. params: PGLint){.dynlib: dllname,
  4195. importc: "glGetRenderbufferParameterivEXT".}
  4196. proc glIsFramebufferEXT*(framebuffer: TGLuint): TGLboolean{.dynlib: dllname,
  4197. importc: "glIsFramebufferEXT".}
  4198. proc glBindFramebufferEXT*(target: TGLenum, framebuffer: TGLuint){.
  4199. dynlib: dllname, importc: "glBindFramebufferEXT".}
  4200. proc glDeleteFramebuffersEXT*(n: TGLsizei, framebuffers: PGLuint){.
  4201. dynlib: dllname, importc: "glDeleteFramebuffersEXT".}
  4202. proc glGenFramebuffersEXT*(n: TGLsizei, framebuffers: PGLuint){.dynlib: dllname,
  4203. importc: "glGenFramebuffersEXT".}
  4204. proc glCheckFramebufferStatusEXT*(target: TGLenum): TGLenum{.dynlib: dllname,
  4205. importc: "glCheckFramebufferStatusEXT".}
  4206. proc glFramebufferTexture1DEXT*(target: TGLenum, attachment: TGLenum,
  4207. textarget: TGLenum, texture: TGLuint,
  4208. level: TGLint){.dynlib: dllname,
  4209. importc: "glFramebufferTexture1DEXT".}
  4210. proc glFramebufferTexture2DEXT*(target: TGLenum, attachment: TGLenum,
  4211. textarget: TGLenum, texture: TGLuint,
  4212. level: TGLint){.dynlib: dllname,
  4213. importc: "glFramebufferTexture2DEXT".}
  4214. proc glFramebufferTexture3DEXT*(target: TGLenum, attachment: TGLenum,
  4215. textarget: TGLenum, texture: TGLuint,
  4216. level: TGLint, zoffset: TGLint){.
  4217. dynlib: dllname, importc: "glFramebufferTexture3DEXT".}
  4218. proc glFramebufferRenderbufferEXT*(target: TGLenum, attachment: TGLenum,
  4219. renderbuffertarget: TGLenum,
  4220. renderbuffer: TGLuint){.dynlib: dllname,
  4221. importc: "glFramebufferRenderbufferEXT".}
  4222. proc glGetFramebufferAttachmentParameterivEXT*(target: TGLenum,
  4223. attachment: TGLenum, pname: TGLenum, params: PGLint){.dynlib: dllname,
  4224. importc: "glGetFramebufferAttachmentParameterivEXT".}
  4225. proc glGenerateMipmapEXT*(target: TGLenum){.dynlib: dllname,
  4226. importc: "glGenerateMipmapEXT".}
  4227. #***** GL_version_1_4 *****//
  4228. const
  4229. GL_BLEND_DST_RGB* = 0x000080C8
  4230. GL_BLEND_SRC_RGB* = 0x000080C9
  4231. GL_BLEND_DST_ALPHA* = 0x000080CA
  4232. GL_BLEND_SRC_ALPHA* = 0x000080CB
  4233. GL_POINT_SIZE_MIN* = 0x00008126
  4234. GL_POINT_SIZE_MAX* = 0x00008127
  4235. GL_POINT_FADE_THRESHOLD_SIZE* = 0x00008128
  4236. GL_POINT_DISTANCE_ATTENUATION* = 0x00008129
  4237. GL_GENERATE_MIPMAP* = 0x00008191
  4238. GL_GENERATE_MIPMAP_HINT* = 0x00008192
  4239. GL_DEPTH_COMPONENT16* = 0x000081A5
  4240. GL_DEPTH_COMPONENT24* = 0x000081A6
  4241. GL_DEPTH_COMPONENT32* = 0x000081A7
  4242. GL_MIRRORED_REPEAT* = 0x00008370
  4243. GL_FOG_COORDINATE_SOURCE* = 0x00008450
  4244. GL_FOG_COORDINATE* = 0x00008451
  4245. GL_FRAGMENT_DEPTH* = 0x00008452
  4246. GL_CURRENT_FOG_COORDINATE* = 0x00008453
  4247. GL_FOG_COORDINATE_ARRAY_TYPE* = 0x00008454
  4248. GL_FOG_COORDINATE_ARRAY_STRIDE* = 0x00008455
  4249. GL_FOG_COORDINATE_ARRAY_POINTER* = 0x00008456
  4250. GL_FOG_COORDINATE_ARRAY* = 0x00008457
  4251. GL_COLOR_SUM* = 0x00008458
  4252. GL_CURRENT_SECONDARY_COLOR* = 0x00008459
  4253. GL_SECONDARY_COLOR_ARRAY_SIZE* = 0x0000845A
  4254. GL_SECONDARY_COLOR_ARRAY_TYPE* = 0x0000845B
  4255. GL_SECONDARY_COLOR_ARRAY_STRIDE* = 0x0000845C
  4256. GL_SECONDARY_COLOR_ARRAY_POINTER* = 0x0000845D
  4257. GL_SECONDARY_COLOR_ARRAY* = 0x0000845E
  4258. GL_MAX_TEXTURE_LOD_BIAS* = 0x000084FD
  4259. GL_TEXTURE_FILTER_CONTROL* = 0x00008500
  4260. GL_TEXTURE_LOD_BIAS* = 0x00008501
  4261. GL_INCR_WRAP* = 0x00008507
  4262. GL_DECR_WRAP* = 0x00008508
  4263. GL_TEXTURE_DEPTH_SIZE* = 0x0000884A
  4264. GL_DEPTH_TEXTURE_MODE* = 0x0000884B
  4265. GL_TEXTURE_COMPARE_MODE* = 0x0000884C
  4266. GL_TEXTURE_COMPARE_FUNC* = 0x0000884D
  4267. GL_COMPARE_R_TO_TEXTURE* = 0x0000884E
  4268. proc glBlendFuncSeparate*(sfactorRGB: TGLenum, dfactorRGB: TGLenum,
  4269. sfactorAlpha: TGLenum, dfactorAlpha: TGLenum){.
  4270. dynlib: dllname, importc: "glBlendFuncSeparate".}
  4271. proc glFogCoordf*(coord: TGLfloat){.dynlib: dllname, importc: "glFogCoordf".}
  4272. proc glFogCoordfv*(coord: PGLfloat){.dynlib: dllname, importc: "glFogCoordfv".}
  4273. proc glFogCoordd*(coord: TGLdouble){.dynlib: dllname, importc: "glFogCoordd".}
  4274. proc glFogCoorddv*(coord: PGLdouble){.dynlib: dllname, importc: "glFogCoorddv".}
  4275. proc glFogCoordPointer*(thetype: TGLenum, stride: TGLsizei, pointer: PGLvoid){.
  4276. dynlib: dllname, importc: "glFogCoordPointer".}
  4277. proc glMultiDrawArrays*(mode: TGLenum, first: PGLint, count: PGLsizei,
  4278. primcount: TGLsizei){.dynlib: dllname,
  4279. importc: "glMultiDrawArrays".}
  4280. proc glMultiDrawElements*(mode: TGLenum, count: PGLsizei, thetype: TGLenum,
  4281. indices: PGLvoid, primcount: TGLsizei){.
  4282. dynlib: dllname, importc: "glMultiDrawElements".}
  4283. proc glPointParameterf*(pname: TGLenum, param: TGLfloat){.dynlib: dllname,
  4284. importc: "glPointParameterf".}
  4285. proc glPointParameterfv*(pname: TGLenum, params: PGLfloat){.dynlib: dllname,
  4286. importc: "glPointParameterfv".}
  4287. proc glPointParameteri*(pname: TGLenum, param: TGLint){.dynlib: dllname,
  4288. importc: "glPointParameteri".}
  4289. proc glPointParameteriv*(pname: TGLenum, params: PGLint){.dynlib: dllname,
  4290. importc: "glPointParameteriv".}
  4291. proc glSecondaryColor3b*(red: TGLByte, green: TGLByte, blue: TGLByte){.
  4292. dynlib: dllname, importc: "glSecondaryColor3b".}
  4293. proc glSecondaryColor3bv*(v: PGLbyte){.dynlib: dllname,
  4294. importc: "glSecondaryColor3bv".}
  4295. proc glSecondaryColor3d*(red: TGLdouble, green: TGLdouble, blue: TGLdouble){.
  4296. dynlib: dllname, importc: "glSecondaryColor3d".}
  4297. proc glSecondaryColor3dv*(v: PGLdouble){.dynlib: dllname,
  4298. importc: "glSecondaryColor3dv".}
  4299. proc glSecondaryColor3f*(red: TGLfloat, green: TGLfloat, blue: TGLfloat){.
  4300. dynlib: dllname, importc: "glSecondaryColor3f".}
  4301. proc glSecondaryColor3fv*(v: PGLfloat){.dynlib: dllname,
  4302. importc: "glSecondaryColor3fv".}
  4303. proc glSecondaryColor3i*(red: TGLint, green: TGLint, blue: TGLint){.
  4304. dynlib: dllname, importc: "glSecondaryColor3i".}
  4305. proc glSecondaryColor3iv*(v: PGLint){.dynlib: dllname,
  4306. importc: "glSecondaryColor3iv".}
  4307. proc glSecondaryColor3s*(red: TGLshort, green: TGLshort, blue: TGLshort){.
  4308. dynlib: dllname, importc: "glSecondaryColor3s".}
  4309. proc glSecondaryColor3sv*(v: PGLshort){.dynlib: dllname,
  4310. importc: "glSecondaryColor3sv".}
  4311. proc glSecondaryColor3ub*(red: TGLubyte, green: TGLubyte, blue: TGLubyte){.
  4312. dynlib: dllname, importc: "glSecondaryColor3ub".}
  4313. proc glSecondaryColor3ubv*(v: PGLubyte){.dynlib: dllname,
  4314. importc: "glSecondaryColor3ubv".}
  4315. proc glSecondaryColor3ui*(red: TGLuint, green: TGLuint, blue: TGLuint){.
  4316. dynlib: dllname, importc: "glSecondaryColor3ui".}
  4317. proc glSecondaryColor3uiv*(v: PGLuint){.dynlib: dllname,
  4318. importc: "glSecondaryColor3uiv".}
  4319. proc glSecondaryColor3us*(red: TGLushort, green: TGLushort, blue: TGLushort){.
  4320. dynlib: dllname, importc: "glSecondaryColor3us".}
  4321. proc glSecondaryColor3usv*(v: PGLushort){.dynlib: dllname,
  4322. importc: "glSecondaryColor3usv".}
  4323. proc glSecondaryColorPointer*(size: TGLint, thetype: TGLenum, stride: TGLsizei,
  4324. pointer: PGLvoid){.dynlib: dllname,
  4325. importc: "glSecondaryColorPointer".}
  4326. proc glWindowPos2d*(x: TGLdouble, y: TGLdouble){.dynlib: dllname,
  4327. importc: "glWindowPos2d".}
  4328. proc glWindowPos2dv*(v: PGLdouble){.dynlib: dllname, importc: "glWindowPos2dv".}
  4329. proc glWindowPos2f*(x: TGLfloat, y: TGLfloat){.dynlib: dllname,
  4330. importc: "glWindowPos2f".}
  4331. proc glWindowPos2fv*(v: PGLfloat){.dynlib: dllname, importc: "glWindowPos2fv".}
  4332. proc glWindowPos2i*(x: TGLint, y: TGLint){.dynlib: dllname,
  4333. importc: "glWindowPos2i".}
  4334. proc glWindowPos2iv*(v: PGLint){.dynlib: dllname, importc: "glWindowPos2iv".}
  4335. proc glWindowPos2s*(x: TGLshort, y: TGLshort){.dynlib: dllname,
  4336. importc: "glWindowPos2s".}
  4337. proc glWindowPos2sv*(v: PGLshort){.dynlib: dllname, importc: "glWindowPos2sv".}
  4338. proc glWindowPos3d*(x: TGLdouble, y: TGLdouble, z: TGLdouble){.dynlib: dllname,
  4339. importc: "glWindowPos3d".}
  4340. proc glWindowPos3dv*(v: PGLdouble){.dynlib: dllname, importc: "glWindowPos3dv".}
  4341. proc glWindowPos3f*(x: TGLfloat, y: TGLfloat, z: TGLfloat){.dynlib: dllname,
  4342. importc: "glWindowPos3f".}
  4343. proc glWindowPos3fv*(v: PGLfloat){.dynlib: dllname, importc: "glWindowPos3fv".}
  4344. proc glWindowPos3i*(x: TGLint, y: TGLint, z: TGLint){.dynlib: dllname,
  4345. importc: "glWindowPos3i".}
  4346. proc glWindowPos3iv*(v: PGLint){.dynlib: dllname, importc: "glWindowPos3iv".}
  4347. proc glWindowPos3s*(x: TGLshort, y: TGLshort, z: TGLshort){.dynlib: dllname,
  4348. importc: "glWindowPos3s".}
  4349. proc glWindowPos3sv*(v: PGLshort){.dynlib: dllname, importc: "glWindowPos3sv".}
  4350. #***** GL_version_1_5 *****//
  4351. const
  4352. GL_BUFFER_SIZE* = 0x00008764
  4353. GL_BUFFER_USAGE* = 0x00008765
  4354. GL_QUERY_COUNTER_BITS* = 0x00008864
  4355. GL_CURRENT_QUERY* = 0x00008865
  4356. GL_QUERY_RESULT* = 0x00008866
  4357. GL_QUERY_RESULT_AVAILABLE* = 0x00008867
  4358. GL_ARRAY_BUFFER* = 0x00008892
  4359. GL_ELEMENT_ARRAY_BUFFER* = 0x00008893
  4360. GL_ARRAY_BUFFER_BINDING* = 0x00008894
  4361. GL_ELEMENT_ARRAY_BUFFER_BINDING* = 0x00008895
  4362. GL_VERTEX_ARRAY_BUFFER_BINDING* = 0x00008896
  4363. GL_NORMAL_ARRAY_BUFFER_BINDING* = 0x00008897
  4364. GL_COLOR_ARRAY_BUFFER_BINDING* = 0x00008898
  4365. GL_INDEX_ARRAY_BUFFER_BINDING* = 0x00008899
  4366. GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING* = 0x0000889A
  4367. GL_EDGE_FLAG_ARRAY_BUFFER_BINDING* = 0x0000889B
  4368. GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING* = 0x0000889C
  4369. GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING* = 0x0000889D
  4370. GL_WEIGHT_ARRAY_BUFFER_BINDING* = 0x0000889E
  4371. GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING* = 0x0000889F
  4372. GL_READ_ONLY* = 0x000088B8
  4373. GL_WRITE_ONLY* = 0x000088B9
  4374. GL_READ_WRITE* = 0x000088BA
  4375. GL_BUFFER_ACCESS* = 0x000088BB
  4376. GL_BUFFER_MAPPED* = 0x000088BC
  4377. GL_BUFFER_MAP_POINTER* = 0x000088BD
  4378. GL_STREAM_DRAW* = 0x000088E0
  4379. GL_STREAM_READ* = 0x000088E1
  4380. GL_STREAM_COPY* = 0x000088E2
  4381. GL_STATIC_DRAW* = 0x000088E4
  4382. GL_STATIC_READ* = 0x000088E5
  4383. GL_STATIC_COPY* = 0x000088E6
  4384. GL_DYNAMIC_DRAW* = 0x000088E8
  4385. GL_DYNAMIC_READ* = 0x000088E9
  4386. GL_DYNAMIC_COPY* = 0x000088EA
  4387. GL_SAMPLES_PASSED* = 0x00008914
  4388. GL_FOG_COORD_SRC* = 0x00008450
  4389. GL_FOG_COORD* = 0x00008451
  4390. GL_CURRENT_FOG_COORD* = 0x00008453
  4391. GL_FOG_COORD_ARRAY_TYPE* = 0x00008454
  4392. GL_FOG_COORD_ARRAY_STRIDE* = 0x00008455
  4393. GL_FOG_COORD_ARRAY_POINTER* = 0x00008456
  4394. GL_FOG_COORD_ARRAY* = 0x00008457
  4395. GL_FOG_COORD_ARRAY_BUFFER_BINDING* = 0x0000889D
  4396. GL_SRC0_RGB* = 0x00008580
  4397. GL_SRC1_RGB* = 0x00008581
  4398. GL_SRC2_RGB* = 0x00008582
  4399. GL_SRC0_ALPHA* = 0x00008588
  4400. GL_SRC1_ALPHA* = 0x00008589
  4401. GL_SRC2_ALPHA* = 0x0000858A
  4402. proc glGenQueries*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  4403. importc: "glGenQueries".}
  4404. proc glDeleteQueries*(n: TGLsizei, ids: PGLuint){.dynlib: dllname,
  4405. importc: "glDeleteQueries".}
  4406. proc glIsQuery*(id: TGLuint): TGLboolean{.dynlib: dllname, importc: "glIsQuery".}
  4407. proc glBeginQuery*(target: TGLenum, id: TGLuint){.dynlib: dllname,
  4408. importc: "glBeginQuery".}
  4409. proc glEndQuery*(target: TGLenum){.dynlib: dllname, importc: "glEndQuery".}
  4410. proc glGetQueryiv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  4411. dynlib: dllname, importc: "glGetQueryiv".}
  4412. proc glGetQueryObjectiv*(id: TGLuint, pname: TGLenum, params: PGLint){.
  4413. dynlib: dllname, importc: "glGetQueryObjectiv".}
  4414. proc glGetQueryObjectuiv*(id: TGLuint, pname: TGLenum, params: PGLuint){.
  4415. dynlib: dllname, importc: "glGetQueryObjectuiv".}
  4416. proc glBindBuffer*(target: TGLenum, buffer: TGLuint){.dynlib: dllname,
  4417. importc: "glBindBuffer".}
  4418. proc glDeleteBuffers*(n: TGLsizei, buffers: PGLuint){.dynlib: dllname,
  4419. importc: "glDeleteBuffers".}
  4420. proc glGenBuffers*(n: TGLsizei, buffers: PGLuint){.dynlib: dllname,
  4421. importc: "glGenBuffers".}
  4422. proc glIsBuffer*(buffer: TGLuint): TGLboolean{.dynlib: dllname,
  4423. importc: "glIsBuffer".}
  4424. proc glBufferData*(target: TGLenum, size: GLsizeiptr, data: PGLvoid,
  4425. usage: TGLenum){.dynlib: dllname, importc: "glBufferData".}
  4426. proc glBufferSubData*(target: TGLenum, offset: GLintptr, size: GLsizeiptr,
  4427. data: PGLvoid){.dynlib: dllname,
  4428. importc: "glBufferSubData".}
  4429. proc glGetBufferSubData*(target: TGLenum, offset: GLintptr, size: GLsizeiptr,
  4430. data: PGLvoid){.dynlib: dllname,
  4431. importc: "glGetBufferSubData".}
  4432. proc glMapBuffer*(target: TGLenum, access: TGLenum): PGLvoid{.dynlib: dllname,
  4433. importc: "glMapBuffer".}
  4434. proc glUnmapBuffer*(target: TGLenum): TGLboolean{.dynlib: dllname,
  4435. importc: "glUnmapBuffer".}
  4436. proc glGetBufferParameteriv*(target: TGLenum, pname: TGLenum, params: PGLint){.
  4437. dynlib: dllname, importc: "glGetBufferParameteriv".}
  4438. proc glGetBufferPointerv*(target: TGLenum, pname: TGLenum, params: PGLvoid){.
  4439. dynlib: dllname, importc: "glGetBufferPointerv".}
  4440. #***** GL_version_2_0 *****//
  4441. const
  4442. GL_BLEND_EQUATION_RGB* = 0x00008009
  4443. GL_VERTEX_ATTRIB_ARRAY_ENABLED* = 0x00008622
  4444. GL_VERTEX_ATTRIB_ARRAY_SIZE* = 0x00008623
  4445. GL_VERTEX_ATTRIB_ARRAY_STRIDE* = 0x00008624
  4446. GL_VERTEX_ATTRIB_ARRAY_TYPE* = 0x00008625
  4447. GL_CURRENT_VERTEX_ATTRIB* = 0x00008626
  4448. GL_VERTEX_PROGRAM_POINT_SIZE* = 0x00008642
  4449. GL_VERTEX_PROGRAM_TWO_SIDE* = 0x00008643
  4450. GL_VERTEX_ATTRIB_ARRAY_POINTER* = 0x00008645
  4451. GL_STENCIL_BACK_FUNC* = 0x00008800
  4452. GL_STENCIL_BACK_FAIL* = 0x00008801
  4453. GL_STENCIL_BACK_PASS_DEPTH_FAIL* = 0x00008802
  4454. GL_STENCIL_BACK_PASS_DEPTH_PASS* = 0x00008803
  4455. GL_MAX_DRAW_BUFFERS* = 0x00008824
  4456. GL_DRAW_BUFFER0* = 0x00008825
  4457. GL_DRAW_BUFFER1* = 0x00008826
  4458. GL_DRAW_BUFFER2* = 0x00008827
  4459. GL_DRAW_BUFFER3* = 0x00008828
  4460. GL_DRAW_BUFFER4* = 0x00008829
  4461. GL_DRAW_BUFFER5* = 0x0000882A
  4462. GL_DRAW_BUFFER6* = 0x0000882B
  4463. GL_DRAW_BUFFER7* = 0x0000882C
  4464. GL_DRAW_BUFFER8* = 0x0000882D
  4465. GL_DRAW_BUFFER9* = 0x0000882E
  4466. GL_DRAW_BUFFER10* = 0x0000882F
  4467. GL_DRAW_BUFFER11* = 0x00008830
  4468. GL_DRAW_BUFFER12* = 0x00008831
  4469. GL_DRAW_BUFFER13* = 0x00008832
  4470. GL_DRAW_BUFFER14* = 0x00008833
  4471. GL_DRAW_BUFFER15* = 0x00008834
  4472. GL_BLEND_EQUATION_ALPHA* = 0x0000883D
  4473. GL_POINT_SPRITE* = 0x00008861
  4474. GL_COORD_REPLACE* = 0x00008862
  4475. GL_MAX_VERTEX_ATTRIBS* = 0x00008869
  4476. GL_VERTEX_ATTRIB_ARRAY_NORMALIZED* = 0x0000886A
  4477. GL_MAX_TEXTURE_COORDS* = 0x00008871
  4478. GL_MAX_TEXTURE_IMAGE_UNITS* = 0x00008872
  4479. GL_FRAGMENT_SHADER* = 0x00008B30
  4480. GL_VERTEX_SHADER* = 0x00008B31
  4481. GL_MAX_FRAGMENT_UNIFORM_COMPONENTS* = 0x00008B49
  4482. GL_MAX_VERTEX_UNIFORM_COMPONENTS* = 0x00008B4A
  4483. GL_MAX_VARYING_FLOATS* = 0x00008B4B
  4484. GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS* = 0x00008B4C
  4485. GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS* = 0x00008B4D
  4486. GL_SHADER_TYPE* = 0x00008B4F
  4487. GL_FLOAT_VEC2* = 0x00008B50
  4488. GL_FLOAT_VEC3* = 0x00008B51
  4489. GL_FLOAT_VEC4* = 0x00008B52
  4490. GL_INT_VEC2* = 0x00008B53
  4491. GL_INT_VEC3* = 0x00008B54
  4492. GL_INT_VEC4* = 0x00008B55
  4493. GL_BOOL* = 0x00008B56
  4494. GL_BOOL_VEC2* = 0x00008B57
  4495. GL_BOOL_VEC3* = 0x00008B58
  4496. GL_BOOL_VEC4* = 0x00008B59
  4497. GL_FLOAT_MAT2* = 0x00008B5A
  4498. GL_FLOAT_MAT3* = 0x00008B5B
  4499. GL_FLOAT_MAT4* = 0x00008B5C
  4500. GL_SAMPLER_1D* = 0x00008B5D
  4501. GL_SAMPLER_2D* = 0x00008B5E
  4502. GL_SAMPLER_3D* = 0x00008B5F
  4503. GL_SAMPLER_CUBE* = 0x00008B60
  4504. GL_SAMPLER_1D_SHADOW* = 0x00008B61
  4505. GL_SAMPLER_2D_SHADOW* = 0x00008B62
  4506. GL_DELETE_STATUS* = 0x00008B80
  4507. GL_COMPILE_STATUS* = 0x00008B81
  4508. GL_LINK_STATUS* = 0x00008B82
  4509. GL_VALIDATE_STATUS* = 0x00008B83
  4510. GL_INFO_LOG_LENGTH* = 0x00008B84
  4511. GL_ATTACHED_SHADERS* = 0x00008B85
  4512. GL_ACTIVE_UNIFORMS* = 0x00008B86
  4513. GL_ACTIVE_UNIFORM_MAX_LENGTH* = 0x00008B87
  4514. GL_SHADER_SOURCE_LENGTH* = 0x00008B88
  4515. GL_ACTIVE_ATTRIBUTES* = 0x00008B89
  4516. GL_ACTIVE_ATTRIBUTE_MAX_LENGTH* = 0x00008B8A
  4517. GL_FRAGMENT_SHADER_DERIVATIVE_HINT* = 0x00008B8B
  4518. GL_SHADING_LANGUAGE_VERSION* = 0x00008B8C
  4519. GL_CURRENT_PROGRAM* = 0x00008B8D
  4520. GL_POINT_SPRITE_COORD_ORIGIN* = 0x00008CA0
  4521. GL_LOWER_LEFT* = 0x00008CA1
  4522. GL_UPPER_LEFT* = 0x00008CA2
  4523. GL_STENCIL_BACK_REF* = 0x00008CA3
  4524. GL_STENCIL_BACK_VALUE_MASK* = 0x00008CA4
  4525. GL_STENCIL_BACK_WRITEMASK* = 0x00008CA5
  4526. {.pop.}